HackerTrans
TopNewTrendsCommentsPastAskShowJobs

semanticc

no profile record

comments

semanticc
·12 ngày trước·discuss
That's not an effect. As both in the case of a dividedend and a stock buy back, the company's market cap drops by the amount of cash that's being distributed out, creating an identical re-buying situation in market cap-weighted index funds. Stock price itself is irrelevant for index fund rebalances (unlike for shareholder returns).
semanticc
·13 ngày trước·discuss
> So for my definition of “everywhere,” with the caveats mentioned above, the following features work everywhere. YMMV.

  .
  ^, $
  […], [^…]
  \*
  \w, \W, \s, \S
  \1 - \9 backreferences
  \b \B
  ? + 
  | alternation
  {n,m} for counting matches
  (...) capturing
Except that these don't work in macOS/BSD sed (even with -E flag):

- \w, \W, \s, \S - need to use POSIX classes instead: [[:alnum:]], [^[:alnum:]], [[:space:]], [^[:space:]]

- \b - need to use use [[:<:]] (word start) and [[:>:]] (word end) instead

- \B - (not a word start/end) no alternatives
semanticc
·2 tháng trước·discuss
Easy with https://karabiner-elements.pqrs.org on Mac.
semanticc
·3 tháng trước·discuss
It's not documented, but unfortunately neither of these re-signs the commits even if GPG signing is configured. They are based on `git replay`, and that doesn't sign either (at least yet).
semanticc
·3 tháng trước·discuss
How/why did it consume more tokens?
semanticc
·3 tháng trước·discuss
I think the script would be named as `#` so that it can be called via `\# mycmd` instead of `\\# mycmd`.
semanticc
·4 tháng trước·discuss
Unless you disable cursor blinking because you find it annoying (like I do).
semanticc
·4 tháng trước·discuss
Node 24+ does respect HTTP_PROXY when NODE_USE_ENV_PROXY=1 is set.
semanticc
·5 tháng trước·discuss
> GitHub’s contributor graphs use mailmap.

This is not true, .mailmap is [unfortunately] not supported by GitHub: https://github.com/orgs/community/discussions/22518
semanticc
·6 tháng trước·discuss
Do you have an example of this in mind where the known "tit for tat" strategy falls short?
semanticc
·9 tháng trước·discuss
Linux is not developed in GitHub.