HNHacker News
TopNewBestAskShowJobs

lr0

2,611 karma · joined August 11, 2023

fedi: @root@lr0.org

email: saleh@lr0.org

   -----BEGIN PGP PUBLIC KEY BLOCK-----

   mQGNBGP41qMBDADZg5Sp+qss/sWPl3B6dDLdWNUpurdtgv+/yCtrGYG4ObNhPN9Z
   MD+5SRbL3KOj+Bv9Mk+b35y+Nb7jslLA5UmwFv7M0wsTvyDpSNcI2Zsa5OnqQFX3
   48iFCoims0g7ownYx4CuW5ytgkggM/ErTRkuaNJ3QklwmL+S/YVFkO7+/IYFybbi
   MluurddFjESnM12BWp7K/TDUKNwaqXVct4MCSTUyO9PBAnFsnpNjPClsdCYFuISn
   Y21z/nBGjhDPzhgbLmg6IVVLYXSb6y8kH12Z4LB9VEBixN3IY74rwJncxuKyvIpx
   /vXBy1vzMld4jVAr3CeZ43tnfSR/aLGy8gKQO1n3vQfXyTLf7QhadPHe4C192fK6
   NJsElkxFYPTip/Uu+7/UkUmEwjcOyuhmSOw3GyqMT9WVPOFmhFJ5eGqRANRezJyl
   B71FaPpjWjBoLt62Mgd4j2hCE2pNEkXT/eGRRKNVXqpvVxgs4YxEj1FeqvWwXymI
   UzpYpQ/OYQP44V0AEQEAAbQjU2FsaWggTXVoYW1tZWQgKGxyMCkgPHJvb3RAbHIw
   Lm9yZz6JAdcEEwEIAEEWIQS3LNEm5xKV03BJTmyRsraH9LZFggUCaUYY9QIbAwUJ
   XfwPAAULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgAAKCRCRsraH9LZFgl21C/9i
   wI7yStL0DUklO12Y6r44tTUlRlT8umOHQ6is1cw088PXfk2FT8RvUvfD6njcb3Ri
   SbU21wK4eHzde4yNopMQ5qnpUZTCKu18i/bjpM5Z2ZXuxjWFqVhkv1pKEt4goKD7
   pPj2/+KHqQaMC5OD5nxlgfHa2GWMp8xCvMev07VLMcZAaariGxtPc4S1tqF2uPN7
   4LhUSGQHMVbOLnH+gsPXxT8Arl+8WRCvlBjz+2yhaI2Y9K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ZN3Tam
   G2J8jMr5WlfL+F9t02nH+ZIgQDXUvO3HMub++z34s9ldpgKnOMUFuwlSEGy9c3D+
   Kq7B0dWGikbky2m9ssp66vFzi9e4PpMAqdRYe4mARkARB1CvRA4+JJLNHji90nKS
   6PR9fs6/BGHhru1wIrO4tqJSxZfvppv6gX7932FMILoMUau2vayQ0wA3wbYM8ps8
   7McvEOAGGw+OaB7fXg2T88R1OwnkWU2aAL655MGMqCLLdc0XUuFcP5rANum74oAH
   EDdpY5uHjxhXoT4vaGSDxn0Kg5TSlMauzYIt0cg4rZ4jaDNeW9/LVKRQCWKHSSso
   A+HNmcKhSN/iym5hS5K9vIvPMUCCxxSJ6ubq+n2D
   =pJBk
   -----END PGP PUBLIC KEY BLOCK-----
submissionscomments
lr0··on Sorry we made you grind LeetCode
Well, I am happy that people are noticing that LC interviews were not the best idea, but I am sad to see that they are noticing it for the wrong reasons (LLMs will replace the need for algorithms).

> Tasks: Algorithmic questions → real work in code repositories

> Evaluation: Code correctness → AI fluency and judgment

I am never trading algorithmic knowledge for "real work", unless I am hiring for something that does not really require any kind of intellect, which would make me question why I am hiring in the first place. Same goes for code correctness. I wouldn't really like working with anyone who can't read and assess the code they are trying to ship (whether they wrote it or generated it).

That said, I really hate(d?) LeetCode. I recently passed two long interview loops at two FAANG companies, and the number of LC questions was frustrating. Some of them were problems I practically had to memorize because their solutions relied on very specific tricks that rarely come up in real engineering work (take, for example, the in-place index manipulation in First Missing Positive, the binary search trick in Median of Two Sorted Arrays, or the pivot trick in Next Permutation). There were so many of them, and yes, some came up. I did well and got offers, but part of me felt sad for those who might not have had the same opportunity simply because they weren't lucky enough to have practiced and memorized the same ad hoc problems I did.

Replacing this process with engineers prompting a CLI is not evaluating much at all. In fact, it might be even less reliable because agent behavior is not deterministic. It's possible that one candidate will simply get luckier with their agent than another.

What I have always proposed is to keep algorithmic knowledge as part of the process. At least IMO, it is a crucial part of engineering intellect, but it must be combined with other assessments: communication, problem clarification, code correctness, etc. Otherwise, HackerRank is just inventing another cult, using tokens rather than problems.

lr0··on An open-source, clean-room reimplementation of Microsoft Word in pure Rust
Has anyone of the people spamming these apps by storytold on HN actually tried any of them? I know that any new software can have bugs, but the ones here are really not acceptable for a release, let alone labeling it a 'reimplementation'. The quality of the software is just very embarrassing to anyone who might have used any of the originals, or at least can assess basic software qualities. I have tried some of them and really everything is buggy, a lot of options and buttons make the whole thing crash, the UX is very poor compared to the originals. I tried some of the clones of Adobe's apps, and they just don't work. I tried wordcraft as of writing this, it does not work and it is even more buggy than my experience with photocraft, changing a text to a headline made it just crash on my M4 MacBook, after making it VERY slow and unresponsive for 3 minutes.

It is extremely far from a working solution for someone who uses these apps for just casual non-professional use. For professional use, I borrow Wolfgang Pauli's "not even wrong" to say it is not even something to think of. People who think this is a possible replacement just don't have a clue about how big a software like Photoshop and MS Word are, and how much they actually provide their users with.

I know that "Hey I open-source'd Adobe and Microsoft" can get people some hype on TikTok and Twitter, and maybe have some media reporting about them for fun, but I am really surprised that people here are passing on these like they are really what they claim to be. Genuinely, if anything can be used as a counterargument for the promised LLMs revolution, it would be software like this.

lr0··on Github suddenly broke org-mode rendering
My package README page was also affected by this: https://github.com/larrasket/org-draw
lr0··on Bend – A language that blocks AI mistakes via proof, on CPU and GPU
How is that better than just writing tests and running them in any other language, let's say Go?
lr0··on What algorithm did Windows XP use to choose your initial user picture?
They are usually deleted, maybe this one hasn't got popular enough yet.
lr0··on browser_image.png shows different text in the image if you open it in Safari
Brief on how this works: https://lr0.org/diary/2026-09-06/

Longer: https://lr0.org/blog/p/pngchanges

lr0··on Google Workspace thinks my domain is an email provider (2025)
I had a similar experience with Google's support this year when I logged to my older Google account from a new device, and I was automatically logged out from everywhere, when I was trying to login again it asked me to provide an OTP, when I asked the form to send me the OTP, it said that I've done so many attempts.

Later, I learnt that this is actually very common problem, if you see the "Me too" count on the Google Community Help, it's about 20K (https://support.google.com/accounts/thread/52598991/my-gmail...) users, that's a huge amount of false positives that Google refuses to care enough about to make a change in their automated account process, which they keep bringing up when users complain, they say the process is automated and nothing could be done about it (well, you are a tech company, can't you like change the code or something?). Unironically I had to wait uncertainly for a week then try, which did not work (same too many attempts), then after two weeks, then after couple of months, until I just gave up and created a new account. After 4 months I was able to finally login again.

lr0··on Why I'm building a note taking app without AI
I remain very curios of how gnabgib was able to find this.
lr0··on The US ambassador had Belgian police stop our reporting
The US "obsession" with Israel is not "random" or arbitrary at all, it's quite systematic and there are so much literature on that.

https://en.wikipedia.org/wiki/The_Israel_Lobby_and_U.S._Fore...

https://www.youtube.com/watch?v=lUQ_0MubbcM [Why the US. supports Israel / Noam Chomsky]

lr0··on [dead]
Committee to Protect Journalists: https://cpj.org/2026/04/cpj-calls-for-immediate-rescue-of-le...
lr0··on Israeli strike kills infant girl in south Lebanon during father's funeral
Highly recommend: Killing Hope by William Blum, it dissects the history of the many authoritarian regimes the U.S. supported since WWII, coups the U.S. engineered, the revolutions it strangled in their infancy, governments it systematically destabilized, and the popular movements it crushed (often under the veneer of “stability” or “containment”).

https://en.wikipedia.org/wiki/Killing_Hope

lr0··on Adobe modifies hosts file to detect whether Creative Cloud is installed
this is so hilarious.
lr0··on I beg you to follow Crocker's Rules, even if you will be rude to me
> At one point you say, “Nobody reads ‘hope you had a great weekend’ and thinks better of the person who wrote it.” Who is going to read that and think that “nobody” only applies to you?

I argued why I believe this does not a good way of communication in business or professional-focused environment, because as explained, habitual padding tends to train readers to skim, because they learn that the lines often contain little of substance. For people who value directness (which, in my experience, includes many in serious professional settings) this kind of attitude is not appreciated. That said, it is simply my own rationale for preferring a more direct style of communication.

>Maybe you’d benefit from some of the mindset that leads people to write and appreciate useless greetings.

I come from a culture where elaborate politeness and social niceties are not only common but often expected, and I do practice them in the appropriate contexts. However, when the goal is to build something, solve a problem, or exchange ideas efficiently, I prefer a norm I explained, that is, directness and the substance of the message to take over.

lr0··on I beg you to follow Crocker's Rules, even if you will be rude to me
> I believe the author's intent was (or should have been) to describe how THEY wanted to receive communication, not how EVERYONE should

I thought that would be too obvious to state.

lr0··on I beg you to follow Crocker's Rules, even if you will be rude to me
I would have written a shorter letter, but I did not have the time
lr0··on Google Books removed all search functions for any books with previews
Anna's Archive or any piracy of book does not replace Google Books search functions at all. The search functions of these website just looks inside the PDF text, Google Books helped me many time to find manuscripts or old books that were not OCR'd properly. It's really a big loss.
lr0··on Show HN: Arabic Calligraphy Generator – 11 styles, free, no signup
This is not calligraphy, merely showing different typefaces, it's a low-effort vibe-coded website.
lr0··on Microsoft Office renamed to “Microsoft 365 Copilot app”
I wrote a very relevant post here couple of months ago about Microsoft's approach of (re)branding https://news.ycombinator.com/item?id=44930297
lr0··on [dead]
I'm not sure if you understand how casualty classification works. “not positively identified as combatant” is not logically equivalent to “proven civilian.” No one claims it is. What it does mean is that the IDF has no evidence those people were combatants. And in law, statistics, and every serious conflict dataset, you don’t get to assign lethal status based on vibes.

Also calling Aman “a single unit not tasked with research” is false. It’s Military Intelligence, and Israeli sources say this database is the only one they can stand behind.

If your position requires assuming thousands of unidentified dead people were combatants without evidence, then your position is not analytical rather ideological.

lr0··on [dead]
No and this is misleading. First, that’s not how civilian status is determined. Civilian vs. combatant is not decided by uniforms or post-strike assumptions but on direct participation in hostilities at the time and positive identification. Someone actively firing an RPG is a combatant at that moment but that does not justify retroactively classifying every unidentified body as militant. I'm honestly surprised that I've to explain that.

Second, the example is a hypothetical case to erase the real issue. The claim about ~80% civilian deaths is not based on “assuming everyone is civilian,” but on subtracting those Israel itself could identify as militants using intelligence-linked, name-based records. Israel’s own database explicitly excludes people it merely suspects or assumes were fighters.

Third, this logic fails at scale. Gaza’s death toll includes tens of thousands of women, children, elderly, and entire families killed in homes, shelters, hospitals, and aid lines, not people observed using RPGs. Field reports and Israeli investigations show many victims were later posthumously labeled militants without evidence, inflating numbers.

Forth, the argument flips the burden of proof. You don’t get to call people militants because you can’t identify them. If that standard were accepted, any mass-casualty air war could declare most of its victims “terrorists” by default, which is exactly why serious militaries and conflict datasets reject that logic.

lr0··on [dead]
In war, a person is civilian unless positively identified as a combatant. “Unidentified” does not mean militant. that’s true in international law, conflict research, and even the IDF’s own internal counting. The “17% identified by name” point actually supports the claim. Israel’s own intelligence database--which Israeli sources call the only authoritative militant tally--shows ~8,900 confirmed or probable militants killed out of ~53,000 total deaths at the time.

The “RPGs in their hands” is a strawman. The database does not count assumptions; it requires intelligence-linked identification. Israeli investigations and internal testimony show civilians were routinely misclassified as “terrorists” in field reports to inflate ratios

The Ukraine comparison is simply wrong. Ukraine has uniforms, unit records, POW lists, and mutual identification. Gaza is a besieged civilian population where Israel itself admits it cannot identify most victims. No serious dataset suggests 99.9% of Ukraine’s dead are civilians.

moreover, many independent investigations suggest the same. Airwars’ civilian harm analysis documented unprecedented civilian casualty patterns (large family deaths, high women/child counts), far exceeding norms seen in other 21st-century conflicts https://gaza-patterns-harm.airwars.org

Even conflict data experts (e.g., Uppsala Conflict Data Program) note that the proportion of civilians in this conflict is far higher than typical war patterns and comparable only to extreme cases like Rwanda and Mariupol https://www.aa.com.tr/en/middle-east/classified-israeli-mili...

lr0··on PNG in Chrome shows a different image than in Safari or any desktop app
It was a typo in the url, should have pointed to https://lr0.org/blog/i/2025-12-27_18-21-51_screenshot.png instead. I fixed it, thanks!
lr0··on PNG in Chrome shows a different image than in Safari or any desktop app
You can try. I'm on Safari Version 18.6 (20621.3.11.11.3) [Seqouia 15.6.1] on my Mac, unsure of the version in my iPhone and iPad, but all of them ignore the ICC profile.
lr0··on Programmers and software developers lost the plot on naming their tools
> but to claim we have "lost the plot" while holding up names like "awk" is contradictory at best

My argument is that even a name like awk is much more relevant to the people who used this software back then, of course it was not the best way to name it, but at least it held some meaning to it. Unlike modern software, awk and others were not written with the consideration of a wide user-base in mind. Regarding whether we "lost the plot" or not, I believe that we did, because as mentioned, in the 80s there was a current of people who named software conventionally, and up to the 2010s, the names still used to hold some rational even when word-played or combined with cutey names.

> It sounds more like this person just had a personal vendetta against cute sounding names, not against the names being uselessly non-descriptive.

Not at all, I find it quite fun, just unprofessional.

--

Sent by replying to an automated RSS email, via msmtp (light SMTP client, which is unlike firefox, not a consumer product and its name has to do with its function).

lr0··on Programmers and software developers lost the plot on naming their tools
https://www.postgresql.org

https://en.wikipedia.org/wiki/PostgreSQL

lr0··on Programmers and software developers lost the plot on naming their tools
Nobody says "gh:someguy/openai/llm-streaming-client" in conversation. You say "the streaming client" or "llm-stream" the same way you'd say "Pegasus." But when someone new joins or you're reading code, "llm-stream" is self-documenting. "Pegasus" requires looking it up every single time until you memorize an arbitrary mapping.
lr0··on Programmers and software developers lost the plot on naming their tools
You don't need to know what Ingres is. "PostgreSQL" still tells you it's SQL-related, which is infinitely more than "fluffnutz" tells you. And once you learn it's a database, the name reinforces that knowledge forever. Good luck remembering what "fluffnutz" does in 6 months.
lr0··on Programmers and software developers lost the plot on naming their tools
Sonic hedgehog is a terrible example this case. Researchers literally had to tell parents their children had mutations in the "sonic hedgehog gene." The scientific community recognized this was a problem and it's a widely-known controversy. It's cited as an example of bad naming in medical ethics discussions.

Boaty McBoatface? officials overrode the vote to name it after David Attenborough. The actual research submarine got the joke name. Again, this proves my point.

Fat Gary was an internal chip designation that never needed to be public-facing. Perfectly fine.

"Names are only for distinct identification" if efficiency was not at a question. Why use worse identifiers when better ones cost the same?

lr0··on Programmers and software developers lost the plot on naming their tools
[OP] Can you please doublecheck? Nothing should affect right-click behavior or scroll, if you're experiencing it, it's probably from your end.
lr0··on Programmers and software developers lost the plot on naming their tools
> Say you wanted to rename `fish` to `a-decent-shell`

You just made my argument. Renaming is hard precisely because you shipped with the wrong name. That's why you should get it right from the start.

Every cost you listed [distro packages, configs, scripts, docs, domain] exists whether you rename to something descriptive OR another random word. The migration pain is identical. "Fish" → "decent-shell" costs the same as "fish" → "zephyr." My argument was that this renaming won't be necessary if you started by picking up the proper name at the first place, and it's very unlikely to have the need to rename it. We shouldn't be optimizing to avoid renaming. That's trading a rare maintenance event for permanent cognitive overhead.

Page 1 of 4Next →