Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrchang523
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
chrchang523
4y ago
Nit: struct padding and arithmetic promotion don't support this point. In practice, C compilers provide struct-packing extensions that cover the uncommon cases where default padding wouldn't yield the layout you want. And they&#
32.
▲
by
chrchang523
4y ago
(2015)
33.
▲
by
chrchang523
4y ago
That's my usual approach, but there are clearly some programmers who don't want to always do this, and sometimes a stable-sort library function does in fact allow them to be more productive.
34.
▲
by
chrchang523
4y ago
Note that it is straightforward to modify an unstable sort algorithm into a stable one, when it’s okay to use O(n) extra memory: define an array that tracks each element’s original position, and when two elements otherwise compare equal, us
35.
▲
by
chrchang523
4y ago
Note that my advice, if followed, has the effect of giving the OP's engineers more space to develop efficient implementations than they would probably get if OP acts on their instincts. This is not a coincidence. If you look at my own
36.
▲
by
chrchang523
4y ago
As others have noted, part of the problem here is that the engineers in question are actually not yet smart enough. It usually takes substantial experience to identify simpler, more-maintainable ways to meet challenging performance goals.
37.
▲
by
chrchang523
4y ago
It addresses different bioinformatic use cases, but plink2 is an open-source tool that is widely used and makes extensive use of zstd. In particular, it accepts both gzip- and zstd-compressed text files as input, but output commands that c
38.
▲
by
chrchang523
4y ago
No, there’s at least one scene in the movie where the DNA scanner does identify Vincent, so he is registered in the system.
39.
▲
by
chrchang523
4y ago
Yes, this library is of uneven quality, and would benefit from a few hours of focused attention from a specialist. E.g. the various HighestBit functions below what you've called out also look inefficient relative to something using on
40.
▲
by
chrchang523
4y ago
I've deactivated the account that I created last month. I agree that he may still salvage the situation, and I hope to reactivate or create a new account if/when that happens. For now, though, the best thing I can do is reinforce
41.
▲
by
chrchang523
4y ago
Nit: Madoff was faster, but that's because he confessed everything to his children.
42.
▲
by
chrchang523
4y ago
We'll see. From my perspective, this could still go either way: he could be put in prison for a long time partly as a consequence of how much is on the record, or he may still be protected regardless of what is on the record.
43.
▲
by
chrchang523
4y ago
Just a personal opinion, but I'd characterize Noah Smith as "uneven", not "laughingstock". He hits enough high notes that I would be quite sad to see him go, even though I find him very unreliable.
44.
▲
by
chrchang523
4y ago
He believes that Trump should have the same broadcast rights that other political figures do, but he prefers DeSantis to Trump: https://www.nbcnews.com/politics/politics-news/elon-musk-ron...
45.
▲
by
chrchang523
4y ago
Yes, you're correct about geometric brownian motion. The model must include some mean-reverting component (implied by "short time fluctuations") for DCA to come out ahead, and such a component would violate standard no-arbit
46.
▲
by
chrchang523
4y ago
I'd probably use Highway in a new project; thanks for your work on it! In my main existing project, though, Highway-like code already exists as a side effect of supporting 16-byte vectors and AVX2 simultaneously, and I'd also hav
47.
▲
by
chrchang523
4y ago
We'll see. There's now another game in town, exemplified by Apple's switch to ARM chips for its Macs. I'll keep an eye on the AVX2 vs. AVX-512 performance gap on Zen4+, but my working hypothesis is that my SIMD-handcodi
48.
▲
by
chrchang523
4y ago
Protect our Future PAC is just one of several donations that were enormously larger than the $286k R / $283k D total direct candidate donations. Meanwhile, just because a donation is received during the primary season doesn’t mean it c
49.
▲
by
chrchang523
4y ago
You were only looking at the ~$570k assigned to specific candidates at the top. Look further down on the page: there's a $28000k donation to the Democratic "Protect our Future PAC", a $15000k donation to the Republican "
50.
▲
by
chrchang523
4y ago
Source? I agree with the "bases covered" big picture, but all the numbers I've seen so far have D > R.
51.
▲
by
chrchang523
4y ago
They've confirmed that he will still be showing up: https://twitter.com/andrewrsorkin/status/1595517635441090565
52.
▲
by
chrchang523
4y ago
Note that they aren't pulling him: https://twitter.com/andrewrsorkin/status/1595517635441090565
53.
▲
by
chrchang523
4y ago
People are not forced to treat EA as an all-or-nothing package. If some of their claims are more convincing than others, and acceptance of only the more-convincing claims leads to SBF-like behavior with much-higher-than-background probabil
54.
▲
by
chrchang523
4y ago
Yeah. I see a fork in the road here: 1. They can band together to save the EA brand by demonstrating an unusually high commitment to accountability. The simplest way I see to do this is to contribute 2x what they received from FTX (as a g
55.
▲
by
chrchang523
4y ago
Adopted an orphaned open-source project that was still widely used in the genomics community, despite no updates in ~4 years. Used SIMD instructions, careful memory management, and other strategies to speed up most operations by 1-4 orders
56.
▲
by
chrchang523
4y ago
Yeah, I feel bad for admitting this because people I know were significantly harmed, but the entertainment value of this is off the charts.
57.
▲
by
chrchang523
4y ago
This is further evidence that he was thinking of this in terms of all-or-nothing coin flips. In case you haven't seen it: COWEN: Okay, but let’s say there’s a game: 51 percent, you double the Earth out somewhere else; 49 percent, it a
58.
▲
by
chrchang523
4y ago
Wow, these guys are really lost. I used to respect them, and even during the past few days I thought this crisis was a major opportunity for them to reflect and find their way again. So I posted a comment on their forum with (i) an observ
59.
▲
by
chrchang523
4y ago
No criminal knows everything. Just because it "wouldn't even make sense" doesn't mean a criminal wouldn't try it. Caroline Ellison did delete her Tumblr accounts a few days ago. (Though if she actually wants mo
60.
▲
by
chrchang523
4y ago
Does not explain https://twitter.com/AutismCapital/status/1592344609912672256 . EDIT: suspending judgment again after seeing https://news.ycombinator.com/item?id=33605431 .
More ›