HNHacker News
TopNewBestAskShowJobs

chrchang523

591 karma · joined March 8, 2017

submissionscomments
chrchang523··on Go generics are not bad
I believe Lemire's point is that the compiler is still able to inline the function despite the generic definition, so at least in this somewhat narrow case generics are a zero-cost abstraction.
chrchang523··on Why is American administrative capacity in decline?
Note that "well-administered for a military, but not well-administered in absolute terms" can be a feature rather than a bug, as long as the military is able to attract and utilize better human capital in times of trouble. I agree that our military has room for improvement, but I think it's fine that our most effective generalist administrators tend to be uninterested in the military when there are no dire threats.
chrchang523··on The collapse of complex software
Note that Google's "Frequent rewrites" practice -- see section 2.11 of https://arxiv.org/pdf/1702.01715.pdf -- substantially reduces the severity of this problem (though it requires a good higher-level architecture).
chrchang523··on Dubious Ways to Compute the Zeros of a Polynomial
Yeah, I regularly link to LAPACK today and sometimes use gfortran on Ubuntu to do this. The associated learning curve could be gentler, but this is definitely not a lost art.
chrchang523··on Ask HN: Favourite open source game?
If you haven’t had enough, https://pistolshrimpgames.com/uqm2/ might be relevant…
chrchang523··on Twitter Deal Temporarily on Hold
A world where Twitter is controlled by a self-interested Musk, while Facebook is basically aligned with the US political establishment, enables better dissemination of ideas than a world where Twitter and Facebook are both aligned with the establishment. Because Musk has notably different biases than the establishment, and either platform is sufficient for the purpose of giving nationally-relevant ideas adequate distribution.

(For this reason, in a world where Musk already controlled Twitter, I would oppose anything that increased his leverage w.r.t. Facebook, because yes, you're correct that Musk's biases are not harmless.)

chrchang523··on A Simple Ratio Came to Influence Military Strategy
Yeah, I remember hearing about "190000 Russian troops" at the outbreak of this operation, and thinking that that was an awfully small number given the size of Ukraine.
chrchang523··on Master of Orion
Previous discussion: https://news.ycombinator.com/item?id=22140337
chrchang523··on My story on “worse is better” (2018)
(2018)
chrchang523··on Tech Salaries in 2022: Why the Six Figure Pay Makes Techies Feel Underpaid
Much higher than the previous official inflation rate of 2% per year, yes. But not (previously, anyway) higher than 11%.
chrchang523··on Ask HN: Is Heroku Being Sunset?
I was able to migrate to render.com this weekend.
chrchang523··on Efficiency is the enemy? (2021)
See also https://thezvi.wordpress.com/2017/09/30/slack/ , which makes the point that slack and efficiency are not opposites: "Slack prevents desperation. You can avoid bad trades and wait for better spots. You can be efficient."
chrchang523··on You say “cave dweller debugging”, I say debug logging
Yes, debug logging is a great way to encode educated guesses about where unexpected behavior will appear in the future, in a way that should save time on net when a guess is correct.

But one should be aware of its limits. Debugging often involves performing something like a binary search over a collection of suspicious assumptions. The first few well-placed debug-logging messages can save several iterations in these binary searches. But the cost of saving one more binary search iteration in this manner increases exponentially. As with so many other things in engineering, moderation is a virtue; you want good debug-logging and an ability to perform quick manual tweaks to the code to cover the "last mile" of a debugging session, when this is at all possible in your execution environment.

chrchang523··on IBM's Asshole Test
To be fair, engineers didn't all have smartphones that could take great photos in 2006.
chrchang523··on Hiring discrimination: a problem for men in female-dominated occupations
"Your margin is my opportunity."

Is this behavior significantly reducing the startup's competitiveness?

If so, this should be exploitable by a competitor. Assuming you don't have the bandwidth to directly work for or advise a competitor of this type, you might still be able to benefit as an investor.

If not... I have a hard time getting worked up about this. It's contrary to the dominant narrative, but if this female-dominated organization is actually doing a good job, I'm inclined to leave them alone and pay more attention to biases that actually harm businesses, because it's not like there's currently a shortage of those.

[additional note, in response to comments: I agree that this behavior still constitutes an injustice. However, among the numerous injustices in the world, one has to prioritize what to fight. My main point is that, as a practical matter, there are plenty of instances of biased hiring that ALSO reduce overall economic efficiency; let's fight those easier and more broadly profitable battles first.]

chrchang523··on China Is Not Russia. Taiwan Is Not Ukraine
One significant omission from this comparison: the Ukraine:Russia population ratio (~0.285) is almost TWENTY TIMES as large as the Taiwan:PRC ratio (~0.0163). The Ukraine:Russia ratio is almost as large as the ratio between the Confederacy's non-slave population and the Union's population at the time the US Civil War broke out; and I suspect that some overly optimistic Russian military planners did not properly account for this. So, although it is harder for the PRC to invade Taiwan than it is for Russia to invade Ukraine for a number of reasons, I expect it to be more difficult for Russia to keep most of Ukraine pacified even if they do achieve their primary military objectives.
chrchang523··on Plausibly deniable encryption (2020)
Closely related topic: https://en.wikipedia.org/wiki/Steganography
chrchang523··on Landing a new syscall, part 1: What is futex?
It is worth noting here that this "one assembly instruction" is not that cheap. The hardware on a multicore system does have to perform some locking under the hood to execute that instruction. But yes, it still has enough of an advantage over calling into the kernel to justify the additional usage complexity.
chrchang523··on Peter Thiel to step down from Meta’s board
Like Elon Musk, he wasn't born in the US and is therefore ineligible. (edit: "natural-born citizen" is not as well-defined as I thought, and Ted Cruz qualifies on account of having a US citizen parent at the time of his birth. But it's clear that Thiel doesn't.)
chrchang523··on The Ur-Quan Masters
Are you aware of any games made in the last 20 years with writing quality comparable to Star Control II (or Sid Meier's Alpha Centauri)?
chrchang523··on Writing maintainable code is a communication skill
Note that, if you coded these two Fibonacci functions in e.g. Python 3, the "naive" solution remains correct as n goes into triple digits, while the "fancy" one runs into floating point error and then range overflow...
chrchang523··on On the Party and the Princlings
If you look at the rest of Tanner Greer's blog, you would quickly learn that he has read a lot of other material about China, and has also spent time on the ground there.
chrchang523··on The Death and Birth of Technological Revolutions
Source for "Trust in governments is at an all-time low"? I looked at the G7 numbers for 2006-2020 at https://data.oecd.org/gga/trust-in-government.htm , and they do not seem consistent with this claim.
chrchang523··on U.S. to open program to replace Huawei equipment in U.S. networks
Counterexample: a lot of Americans, especially here at Hacker News, think highly of Snowden even though he betrayed the US government.
chrchang523··on Will Xi Move on Taiwan?
Well, Hong Kong had plenty of co-dependence with the rest of China, and everyone already expected greater integration in 2047; yet the CCP still chose to accelerate the schedule in defiance of the expectations of both a majority of HK citizens and the West.

With that said, Taiwan is both more valuable and easier to take if more Taiwanese people don't think it's much better to be associated with the US than China. I think that, if the CCP does gain control of Taiwan in the future, it's >50% likely to be no more violent than Crimea; that's not possible today because too many Taiwanese are opposed.

chrchang523··on CCP publication calls Tibet policy a template for other ethnic minority regions
This is made more difficult by the fact that Tibetans tend to have biological adaptations to life at that altitude which Han Chinese lack.
chrchang523··on Instagram launches hate-speech 'limits' to hide abuse
Not an endorsement, but you might want to take a look at the scale that human moderation is currently applied at in China.
chrchang523··on US democracy: The threat in 2024 is 'completely uncharted territory'
It is worth noting here that the 1876 election was substantially worse than recent events, and US democracy survived that.
chrchang523··on Beware of Tight Feedback Loops (2020)
Yeah, the author is using "accuracy" when he means "precision" on many occasions, and the lack of awareness of this distinction greatly lowers the blogpost's quality.
chrchang523··on The NSA Instruction (2019)
Nitpick: it's the related "count trailing zeros" operation that is useful (in combination with movemask) there, not popcount itself.
← PreviousPage 4 of 9Next →