HNHacker News
TopNewBestAskShowJobs

wahern

18,386 karma · joined July 16, 2014

submissionscomments
wahern··on A Man from the Future: Why Johnny Can't Stop Abstracting
Memorizing books is absolutely possible. A great book about it is Moonwalking with Einstein (https://en.wikipedia.org/wiki/Moonwalking_with_Einstein), written by a journalist who was a skeptic but ended becoming a competitive mnemonicist himself. Some people intuitively learn the techniques early in life, and for some of them it becomes a habit.

Same thing applies to mental arithmetic. There are techniques for doing this. IIRC, ironically there's a famous case of someone who claimed to have memorized some hundreds of thousands digits of Pi but was suspected of using mental arithmetic techniques when reciting them.

Still, your point stands. People do embellish these kinds of stories based on stereotypes. It's certainly possible, but any particular anecdote may still be suspect.

wahern··on What Is the Karakoram Anomaly?
https://en.wikipedia.org/wiki/Boston_Brahmin

EDIT: The radio show was Science Friday, October 15th episode, "Why do politicians talk like that?", https://www.wnycstudios.org/podcasts/science-friday/articles...

wahern··on Now Google says it might use your Gmail and Google Photos data to target ads
GMail has a 25-30% share of the client market.

Is it impractical to never send a message through Google? Probably, depending on the circles you communicate in. But that's not the same thing as saying it's impractical to avoid Google for most of your messages, and certainly not the same as saying you can't avoid GMail for anything.

wahern··on What Is the Karakoram Anomaly?
There was a discussion about this on NPR recently. According to the guest, the underlying phenomenon (which goes back a long way) is avoiding long-As, an aversion to sounding like snooty Boston Brahmans. It strongly correlates with political and socio-cultural affiliation, and with words that people are self-conscious about or otherwise are deemed to be more likely to signal affiliation. Iran is specifically discussed.
wahern··on Woman charged with computer fraud due to scam CashApp account being in her name
Before the advent of the modern carceral approach that's not unlike what we had. You got flogged 3 times or stood in the stocks for a day. Though at least there was process--the sentence was imposed by a judge, not a cop. The benefit there was you weren't disappeared for days or months on end, completely destroying your life.
wahern··on Woman charged with computer fraud due to scam CashApp account being in her name
The sad thing is that speed in apprehension and prosecution has been shown to be the most important element by far for deterrence. Marginal deterrence effects of harsher sentencing for most crimes is basically nil at this point. The complexity of plea deals and the incentive they create for defense attorneys to drag things out breaks the perceived cause+effect dynamic, at least for typical criminals. The system just becomes this juggernaut where both guilty and innocent people alike feel it's utterly capricious.

At least until the recent tough-on-crime regression almost everybody agreed the system is too harsh. Even conservatives were on board with lighter sentencing. But unsurprisingly that broad public support didn't persist for long because the structural incentives of the system push it toward greater dysfunction. Without structural changes lighter sentencing alone just makes it more profitable for criminals to roll the dice. The complexity of the system evolved with the harsher sentencing, but can't change back as easily as sentencing policies, so we fall back to the old equilibrium that slowly gets worse along every dimension--fairness, cost, deterrence, etc.

wahern··on Woman charged with computer fraud due to scam CashApp account being in her name
There's an argument that the cost of prosecution is one reason for the proliferation of offenses and increase in sentence lengths.

Part of that is the de facto extension of a right to jury trials for misdemeanor offenses in almost every American jurisdiction. If the defendant can force a jury trial for a misdemeanor, which is in fact quite costly for prosecutors, then the response is to raise the stakes with felony charges. Legislatures are aware of this dynamic and oblige prosecutors with more offenses and more punitive maximum penalties.

Countries like the UK and France don't have jury trials for minor offenses. (They're not as common for major offenses, either, but that's a different matter.) Sentences tend to be much shorter and it's a major reason their incarceration rate is so much lower.

I'm not against jury trials. For one thing it'd be better if juries were more local. 100+ years ago in major US cities it was more common for trials to take place within or closer to each neighborhood. Juries were often composed of people from the neighborhood. The consolidation of courts and trials in mega courthouses broke this community link; people from outside a neighborhood are systematically more harsh than they would be if judging their actual neighbors. Not because of favoritism, but because it's easier for them to appreciate the repercussions of an overly punitive system (broken families, destroyed career prospects, etc).

If you want community involvement in even minor crimes, misdemeanor jury trials can still be streamlined. You could do something similar to some European countries where a few lay judges sit alongside the professional judge, or something that used to be more common in the US where a single jury hears multiple cases each day (still a thing for indictments). But such trials would still have to dispense with alot of the procedural rigor to keep things moving along at a rapid clip.

wahern··on Quad9 (DNS Resolver) to Exit France
Japanese companies have always been heavy enforcers of IP, at least since the 1980s. For example, IIRC, they're one of the top filers of patents. Sanrio makes more money globally on their characters than Disney does. And Japan pushes for stronger international IP enforcement systems than even the US.

Japan is just quiet about it. Sony is no aberration.

wahern··on Amazon identifies Oct 17 PHP2Shell exploitation prior to public disclosure
With everybody using LLMs there are no coincidences. Popular LLM platforms are like Oracles that help you identify what other people have been working on. "Find a bug in PHP" might have been useless s few months ago, but once somebody used it to develop a full exploit the LLM will start to regurgitate that information.
wahern··on Chain of Thought for Humans
I always hated when interviewers did this. My chain of thought is often backwards, very abstract, or otherwise wildly different from how it seems most others think, and it's very difficult if not impossible for me to articulate my thinking on the spot. In school for writing assignments I would have to spend alot of time reversing or reordering how I arrived at a conclusion before even writing my first sentence. And even just arriving at a conclusion involves taking many dead-ends; the process can be seemingly instantaneous in places, or require laboriously following rabbit holes (often with throwaway code) that I know are dead ends but nonetheless help me to explore context. I need to have the entire problem in my head and able to explore it to at least some extent before even starting to formulate a linear chain of thought, let alone commit something comprehensible to code.

IOW, I can't explain in real-time how I'm working things out. I have to work them out to completion first, quietly, or at least have a good idea about what the full path looks, end-to-end, in detail and only after the fact could I ever hope to explain my thinking. Asking me to explain my thinking while I'm thinking is easily the most stressful and impossible task anyone could ask of me. I'd rather you break my fingers as part of the interview process.

I understand as an interviewer that makes for quite a dilemma. And I suppose if you find this approach reasonable then you may not like working closely with someone like me (though if you're just a manager, then it's a bias to be aware of).

Similarly, practices like pair coding just don't work for me. I'm not not a team player. I like and benefit from design and ad hoc technical discussions, just don't ask me to sit down and write code with someone else, or even with someone looking over my shoulder. All parties involved, including myself, will just end up pulling their hair out. Though I do work best with people who think similar to me. We instinctively know when and how to set our boundaries and expectations.

To interview someone like me it's probably best to focus on having the interviewee identify waypoints (both abstract and concrete) to confirm they have the experience and understanding to navigate difficult problems. Just don't ask them to actually navigate on the spot. If you want to see how they ultimately connect the dots in practice, look at code they've already written. Unlike in most other fields, software developers often have a corpus of work that is easy to share and often already published.

wahern··on When Do We Become the Person We Ought to Be?
Origen was anathematized because some people believed he taught universal salvation, i.e. everybody, regardless of belief, will ultimately be reunited with god. Whether he taught that is debatable, but certainly much of his exegesis was quite abstract, which tracks with this argument that Origen likely didn't castrate himself: https://medievalhistorygeek.wordpress.com/2014/02/09/did-ori... Likewise, he was a polarizing figure during a formative time in the development of Christianity, so it's quite believable his opponents would spread gossip about him. In the first few centuries there were some virulently anti-sex (and anti-women) Christian cults that preached that any sex, including marital sex, was dirty and demanded things like lay continence or lauded castration.[1] Despite clerical continence being normative, mainstream Christianity forcefully rejected the notion that there was anything inherently wrong with (marital) sex, so to claim Origen castrated himself would be to insinuate his beliefs aligned with radical, non-orthodox, sexually deviant (in a sense) groups.

EDIT: [1] I originally used celibacy. But celibacy and continence are distinct. Celibacy implies continence, because only only married couples are permitted to have sex, but even married couples can be continent. Therein lies the confusion about the origins of modern-day Roman Catholic clerical celibacy and its relation to early clerical practices, including practices of the apostles.

wahern··on Academics have a duty to defend open knowledge systems like Wikipedia
Unfortunately, in time both will become definitive historical reference sources, if they haven't already.

Before the collapse of Google Books, when for a brief, glorious moment Google came closest to achieving the dream of making accessible all the world's knowledge, I could much more easily trace back historical "facts" to a single popular book in whatever field, but then keep going back through older material and often find contradictory accounts and narratives.

History is messy. There's of course what actually happened, but almost immediately narratives start to branch. Then at some point, years, decades, or maybe centuries later, narratives converge back to a single "truth", typically based upon a single, popular author's gloss. There can be some subsequent divergence and reconvergence, but that first convergence really seems to be nearly as defining if not more defining than the actual event(s).

wahern··on Academics have a duty to defend open knowledge systems like Wikipedia
It's sad that papers are citing to Wikipedia. Citation 101 is to cite to primary sources if possible, secondary otherwise, at least for substantive claims. Wikipedia isn't a secondary source, or as you point out any kind of legitimate source. Even if Wikipedia were perfectly reliable and accurate, it'd at best be a tertiary source, but it'd still be better to shorten the chain (unlike a tertiary source like a dictionary, which arguably is in a sense a kind of primary or secondary source). And citing to Wikipedia only proves how lazy an author is given Wikipedia itself usually cites to primary and secondary sources, so they couldn't even be bothered to copy+paste the reference, let alone actually read and analyze it first. (Many times I've come across citations that don't support the Wikipedia claim, and sometimes even contradict it, though that's hardly unique to Wikipedia. At least with Wikipedia I can try to do something about it. But even a bad citation is valuable precisely because it can be followed and verified in context.)
wahern··on Show HN: SimCity, but with Permits
This is called as-of-right development or by-right development, which is how things (nominally) work in several states. That is, as long as a project adheres to the zoning and other regulations, approval is as-of-right or a so-called ministerial process.

It's not necessarily a black or white approach. In theory as-of-right is supposed to be the rule everywhere as Due Process guarantees mean government can't act capriciously. And there's actually pre-existing SCOTUS precedent regarding how zoning plans are supposed to be applied, and how community input processes aren't supposed to allow mobs to subvert the rule of law with a de facto but informal veto power. In practice, non-as-of-right municipalities and states basically have zoning rules and approval processes that are fuzzy and ambiguous, effectively granting regulators significant interpretive leeway and discretion.

Federal and often state courts are extremely reticent to jump into the fray and defend the rule of law. In fact, there's SCOTUS procedural jurisprudence designed to make it difficult to "make a federal case" out of zoning disputes. NIMBY battles are just too politically fraught and courts are afraid of falling into the bottomless tar pits of adjudicating public grievance, which is what politicians are supposed to be for.

California is especially bad for multiple reasons. First is CEQA, which allows literally anyone in the state to erect legal hurdles to any project (modulo some very recent carve outs). Second is home-rule principles enshrined in the state constitution, which makes it difficult for Sacramento to force municipalities to behave a certain way or even abide many mandatory state regulations--the state often has to rely on indirect means, such as contingent funding, to cajole cities. Third is California Supreme Court procedural principles that demand state courts entertain law suits in a way that allows interlopers to drag out court cases, e.g. CEQA cases, for long periods of time.

wahern··on How Quickly Can the DoD Rebuild and Recast the Munitions Industrial Base?
NYT breathlessly reported[1] that Ukraine lost $1.2 billion to corrupt or mismanaged defense procurement in 2024. But the article never once stated the total defense budget. As best I can tell, Ukraine's defense budget in 2024 was ~$65 billion. So this supposedly pervasive corruption cost about 2% of it's budget. That's a rounding error in pervasively corrupt countries, and I'd be surprised if corruption in Russia was less than 5x or maybe even 10x than in Ukraine.

I think the chatter about corruption in Ukraine is partly a function of the fact that it's democratizing. People don't really talk much about corruption in corrupt countries, not as much as they do in less corrupt countries. Everybody knows it's there; it's a given. But without transparency and a steady flow of concrete data and admitted examples, there's not much to talk about. You just assume such-and-such was a corrupt deal. Only when a country is capable of combating corruption do you see robust, public debates about it, as you see in Ukraine.

[1] https://www.nytimes.com/2026/09/06/world/europe/ukraine-war-...

wahern··on Chrome and Edge are removing XSLT: what breaks and what does not
HTML5 could have taken the extra step of defining a canonical XML or XML-compatible DOM encoding, or at least encouraged it. But the anti-XML sentiment was explicit and spiteful. Still, popular XSLT processors are built to consume and even produce HTML5, I'm just not sure how thorough those capabilities are or whether they're based on any formal or informal standards. (Maybe the W3C has/had something like that, as part of it's attempts to rollup HTML5 snapshots into versioned standards?)

I lost any enthusiasm for XML after my experience with WDDX and XML-RPC, but as a foundation for HTML it was the best thing going. And maybe still is, given the absence of cross-toolchain contenders? Ditto for XSLT, at least if disregarding the choice to make the syntax homoiconic. In fact I circled back to XSLT long after it was clear it was a dead end. A good tool is a good tool, and the fact it remains so despite the wanton neglect only proves it.

wahern··on eBay Restricts Listings of Radio Equipment, but Exempts Ham-Band-Only Gear
> Would you wanna have random voices or other sounds played over a phone call, interrupting conversation?

For the younger readers: this used to be a not uncommon thing in the POTS era, "lines crossed". And it was indeed annoying, especially if it persisted after hanging up and calling again.

wahern··on BIPM decides to stop adding leap seconds to UTC
> Sure, you could also run a relativistic simulation of the solar system

Barycentric Coordinate Time: https://en.wikipedia.org/wiki/Barycentric_Coordinate_Time

wahern··on The Four Colour Theorem: The first time machines mogged mathematicians
The context of the whole essay was more about the way we have a tendency to confuse models with reality, in particular the way we build human-like machines based on contemporary theories about how humans work, then later fall into the assumption the theories were accurate simply because the machines are indeed useful. It's a pernicious kind of self-reinforcing confirmation bias. And it applies at least as much to AI, and LLMs specifically, as any earlier example. Whether or not one believes LLMs strongly parallel certain human mental processes, or even if in fact they do, surely we must admit there's much more undiscovered complexity and phenomena, and the pursuit of discovering those phenomena is going to be hampered to some extent by our investment in understanding them in terms of these otherwise successful tools we've built.
wahern··on Ledger confirms spy chip implant behind wallet crypto thefts
RSA and the government were extremely tight lipped about it, including refusing to confirm what data had been exfiltrated. At the time news stories recited that some evidence pointed to the PRC. There may have been some followup after media attention moved on.

I'd be curious if anyone on HN could confirm whether RSA quietly reissued new keyfobs. The safe assumption was the intruders got access to the TOTP secrets, but strictly speaking that was conjecture, unless that was later confirmed directly or indirectly.

This may have been a different incident, but at some point there was chatter about a possible physical intrusion targeting a TOTP backend server for DoD or defense contract systems (Lockheed Martin?).

I think really serious incidents tend to be more vigorously suppressed, unlike humdrum PII exfiltration, for the same reason that during wartime states don't want the enemy to have unequivocal confirmation about how successful an operation was, e.g. whether the secrets exfiltrated included credentials to specific systems.

I briefly tried to keep a list of these types of hardware-based authentication systems hacks. But it's a chore, especially following up.

wahern··on The Four Colour Theorem: The first time machines mogged mathematicians
> I would like to conclude by telling a cautionary tale. Let us try and place the Antikythera Mechanism within the global context of ancient Greek thought. Firstly came the astronomers observing the motions of the heavenly bodies and collecting data. Secondly came the mathematicians inventing mathematical notation to describe the motions and fit the data. Thirdly came the technicians making mechanical models to simulate those mathematical constructions, like the Antikythera Mechanism. Fourthly came generations of students who learned their astronomy from these machines. Fifthly came scientists whose imagination had been so blinkered by generations of such learning that they actually believed that this was how the heavens worked. Sixthly came the authorities who insisted upon the received dogma. And so the human race was fooled into accepting the Ptolemaic system for a thousand years.

> Today we are in danger of making the same mistake over computers. Our present generation is able to view them with an appropriate skepticism when necessary. But our children's children may be brought up within a society dominated by computers, that they may actually believe this is how our brains work. We do not want the human race to be fooled again for another thousand years.

-- E.C. Zeeman, Gears from the Greeks, January 1986, http://zakuski.utsa.edu/~gokhman/ecz/gears_from_the_greeks.p... (https://web.archive.org/web/20250502052226/http://zakuski.ut...)

wahern··on Ledger confirms spy chip implant behind wallet crypto thefts
Not to contradict your point, but in 2011 RSA's SecurID backend servers were hacked. TOTPs require shared secrets, and their server had all the secrets to the SecurID keyfobs they managed. Security is hard.
wahern··on The United Kingdom generates less electricity per person than in the 1970s
There's a significant misanthropic sentiment on the left stemming from, among other things, the mid-century environmental movement. It creates for a maddening incoherency, but I guess that's typical of all politics at scale.

The misanthropy is infused in popular culture, and specifically in the way ecological sciences and history (for additional reasons) is taught in schools. I not infrequently have to discuss this with my kids when they recite something they've learned in school and I can hear the misanthropic cynicism in the framing and intonation.

wahern··on Vectorized CLZ and CTZ
Pretty cool that they seemed to have come up with the idea on their own, but they're definitely not the first: https://graphics.stanford.edu/~seander/bithacks.html#ZerosOn...
wahern··on C for Rust programmers
Not sure I agree with this pattern for strings, but if you're gonna multiply for an allocation like that and are concerned about consistent idioms, use calloc or [non-standard] mallocarray, which will check the multiplication for overflow.
wahern··on I would like the value of my home to rise, while my property taxes fall
Two kids from my child's parochial middle school were suspended for a day last week. I've seen many suspensions over the years, but never once an expulsion. One time several years ago (at another school, mind you) a half dozen families tried to force the expulsion of a kid for the frequent hitting that occurred. My child was one of the kids to get hit. But the principal pushed back extremely hard and took a ton of flak. She stood her ground, though in the end the family voluntarily changed schools.

Today in many liberal cities kids simply can't be suspended at all, period. In many other areas corporal punishment and suspensions continue to be used way too much. But actual results don't really track the way people assume they do one way or another.

What's the real difference between parochial schools and public schools? IMO it has little to do with policies or resources, but the fact that parochial schools demand parental engagement. It's often a prerequisite for admission. If the school knows the parent is engaged and working with the school, they'll often deal with behavioral problems that most public schools wouldn't or simply can't. By contrast, a friend of mine saw his entire public grammar school get shutdown by a self-identified radically progressive school board in Boston for failing to expel a kindergartner after a single incident (perpetrator, black boy; victim white girl; though really if anyone was paying attention the boy was arguably the victim, both by the ridiculous outrage, but also whatever was happening in his home life). This was at a school specifically created to mix rich white students with poor black students, and every family opted in to the experiment, and the school staff was simply following the gold-standard liberal policies the school was created for; policies which in this case were easily defensible, IMO. Its sad the way things went down, though the hypocrisy exposed was telling. People want to throw money at problems, virtue signal, and demand everybody else do something about these problems, only so long as they're not personally effected.

If the parent isn't engaged or can't be engaged, throwing more resources at the school won't help. If you want better outcomes, shift attention toward helping parents become more engaged. There are myriad ways to do that, and I really don't know what might help. But trying to fix the problem through school policies and resources isn't going to work. That avenue has been exhausted, though it still demands vigilance in maintaining appropriate resource distribution. Unfortunately, suggesting this kind of approach has categorically become a form of victim blaming--i.e. blaming parents for being poor.

wahern··on I would like the value of my home to rise, while my property taxes fall
Some public charter schools do the exact opposite, take in the problem kids so they can be given an environment better suited to their challenges. For example, Gateway Highschool in San Francisco. And they have better outcomes for those kids. But better is relative, and they get alot of criticism from those convinced equity demands the whole student population be perfectly shuffled across all classrooms, and who argue having such options excuses the district from providing even more resources to the average classroom. Many of those same people also work to prohibit ever removing a problem child from a classroom (see recent controversy in SF, about schools secretly doing that despite city prohibitions on suspension or even class removal), arguing instead every classroom should have 2 or 3 additional instructors, as if that would magically cease the disruptions.
wahern··on I would like the value of my home to rise, while my property taxes fall
That's true to an extent, but much less true of Catholic parochial schools. In fact, such schools will sometimes have a population with average income less than the local public schools. Of course most parochial schools won't have special education programs, so that's a huge filter, but as I pointed out doesn't account for the budget gap.

In any event, "picking your customers" is exactly the point of the previous poster(s). Money doesn't really explain what we're seeing. Once upon a time there was a very strong correlation, and people presumed causation, but now it's quite clear that the causation wasn't there. Certainly not directly, which is why throwing more money at the schools isn't helping.

wahern··on I would like the value of my home to rise, while my property taxes fall
California spends more money on low-income school districts than the average, and I think that's generally true most other places, especially since No Child Left behind (which for all it's problems by-and-large forced states to invest in poorer schools.)

Nationally, per student cost at Catholic parochial schools is roughly 1/2 of public schools. (Couldn't find California specific numbers, but it tracks what I've seen.) That's cost/spending; tuition is even less. Special education programs eat up 1/4-1/3 of public school budgets, so there's still a gap after accounting for that.

1973 was over 50 years ago. Even the poorest, most "backward" states have long ago largely remediated spending inequities. What you hear today to support claims of inequity are cherry-picked esoteric cases to drive outrage, just like every other topic today. In reality there's clearly much more going on than what advocates for this or that would ever admit.

wahern··on Yandex Takes a Second Data Center Hit in 48 Hours
Maybe the rules have changed in the US, but as of early 2023 SMRs were subject to the same "Aircraft Rule" regarding their containment structures as any other commercial reactor.
Page 1 of 34Next →