HNHacker News
TopNewBestAskShowJobs

magnio

3,331 karma · joined June 9, 2020

submissionscomments
magnio··on Erdos 281 solved with ChatGPT 5.2 Pro
Pity that HN's ability to detect sarcasm is as robust as that of a sentiment analysis model using keyword-matching.
magnio··on We rolled our own documentation site
Can vouch for Starlight and Astro in general. Don't be fooled by the fact that they are npm packages: Astro is geared for content-heavy websites and produces zero-JS bundles by default (i.e., if you just use markdowns without any script tags or JS frontend libraries, then there will be no JS in the final output at all).
magnio··on The Performance Revolution in JavaScript Tooling
You can replace eslint and prettier with Biome or Oxlint + Oxfmt. Vite and Node.js are still the modern safe choices, though if you actually want to play with new things you can replace Node.js with bun.
magnio··on Times New American: A Tale of Two Fonts
Shouldn't public documents by the government use a free and libre font? In fact, the mentioned Public Sans developed by the US federal government seems to be a great option, as it actually distinguishes the lowercase l and the uppercase I, something that, ironically, all suggested sans-serif alternatives fail to do.
magnio··on Growing up in “404 Not Found”: China's nuclear city in the Gobi Desert
China made its first computer in 1958 and its first 1 megaflop computer in 1973, so yes, their nascence of computer programming preceded the Cultural Revolution, about 10 years after the West.
magnio··on Please just try HTMX
For those wanting different colored pills, there are

https://justfuckingusereact.com

https://justfuckingusetailwind.com

https://www.justfuckinguserails.com

magnio··on Why UUIDs won't protect your secrets
UUIDv4 is much more scattered (i.e., uniformly distributed), which heavily degrades indexing performance in databases.
magnio··on AWS multiple services outage in us-east-1
npm and pnpm are badly affected as well. Many packages are returning 502 when fetched. Such a bad time...
magnio··on Show HN: Newcomer Ranking – Alternative to GitHub Trending for New Repos
> You're absolutely right

Perfect satire. Thank you.

magnio··on The App Store was always authoritarian
Same. I switched from Windows to macOS three years ago, and I tried my best to only use cross-platform softwares (or none at all, in many cases where websites suffice). Thanks to Electron many apps work on both Windows and macOS nowadays.
magnio··on Regarding the Compact
While the current climate is not comparable, I find the actions and general attitude of the current US government similar to that during the McCarthy era.

Which led me to this very interesting article from 1965: https://www.thecrimson.com/article/1965/6/17/the-university-...

In it, the author described the attacks on specific personnels and public villainification of Harvard. More tellingly though, the author wrote the article for students in the 60s, who, growing up a mere decade after, most likely considered the events "an aberration which could not have lasted", and that, "the whole [McCarthy] period has an air of unreality".

Those who did not know history are bound to repeat it. Unfortunately, no amount of textbooks and historical resources seems to be sufficient to impart lessons to subsequent generations, and we are bound to repeat it after a few cycles.

magnio··on Samsung released a 7M model that achieved 45% on ARC-AGI-1
ARC-AGI is one of the few tests on which human can complete easily while LLMs still struggle. This model scores 45% on ARC-AGI-1 and 8% on ARC-AGI-2, the latter is comparable to Claude Opus 4 and GPT-5 High, behind only Claude Sonnet 4.5 and Grok 4 Thinking, for a model about 0.001% the size of commercial models.
magnio··on Just let me select text
On Android, long press home button activates Google Assistant that can OCR the current screen and translate immediately. Unironically one of the only two features keeping me on Android until now.
magnio··on South Korea's President says US investment demands would spark financial crisis
This "pay up for trade access" is similar to the tributary system of feudal China. Every year, neighboring countries of China like Korea, Japan, Thailand, and Vietnam sent envoys to Imperial China, paying gold, women, and exotic products, in return for recognition of their sovereignty (subject to the supreme authority of Chinese emperor), military protection, and access to trade routes within China.

It is interesting to see the resurgence of such imperial practices in modern-day America. I think it worked out quite well for the Tang dynasty, but arguably that was because all East Asian feudal states were authoritarian monarchy back then. A logical next step would be for POTUS to declare himself as the supreme leader of the world, emend educational materials to propound the idea that the US is superior to other tributary states, quell all internal cries of undemocratic practices, and ban books that promote historical knowledge to avoid unnecessary dissent.

magnio··on PyPI Blog: Token Exfiltration Campaign via GitHub Actions Workflows
https://www.sonatype.com/blog/pytorch-namespace-dependency-c...

https://socket.dev/blog/pypi-package-disguised-as-instagram-...

https://socket.dev/blog/monkey-patched-pypi-packages-steal-s...

https://socket.dev/blog/malicious-pypi-package-targets-disco...

https://socket.dev/blog/typosquatting-on-pypi-malicious-pack...

magnio··on Bravo Apple! Calculator app has a memory leak
Can we get an exception to this? Twitter does not show replies (and many times, the tweet itself) if I am not logged in.
magnio··on U.S. investors, Trump close in on TikTok deal with China
Like Tiktok?
magnio··on Global Peace Index 2025
How the hell is Nepal more peaceful than China or Bolivia? Last week the country has had extremely violent protests, with widespread vandalism and arson leading to inadvertent murder of political leaders, as well as many prison breakouts.
magnio··on React is winning by default and slowing innovation
Man, I am glad I don't have to work with any developers for whom having to write "className" (which has been in the DOM standard since 2000) over "class" is a deal-breaker.
magnio··on The Expression Problem and its solutions (2016)
My first exposure to the expression problem is the book Crafting Interpreters, Section 5.3.1,[1] which is very similar to the GP comment. The subsection is a short few paragraphs, with one or two tables for illustration, and it was one of the most eureka moments of my programming career. Ever since then, I see this trade-off everywhere, and I get reminded that engineering is all about finding the best trade-off and that the holy-grail of a perfect language or design is a waste of time.

[1]: https://craftinginterpreters.com/representing-code.html#the-...

magnio··on RFC 3339 vs. ISO 8601
Not exactly computer friendly, since filenames cannot contain ":" on Windows.
magnio··on WeLib
From the blog of Anna's Archive (the most authentic shadow library / libgen frontend):

> There is a new entrant: WeLib. They appear to have mirrored most of our collection, and use a fork of our codebase. We have copied some of their user interface improvements, and are grateful for that push. Sadly, we are not seeing them share any new collections, nor share their codebase improvements. Since they haven’t shown commitment to contributing back to the ecosystem, we advise extreme caution. We recommend not using them.

https://annas-archive.org/blog/an-update-from-the-team.html

magnio··on Nokia’s legendary font makes for a great user interface font
I see some similarity to Fira Sans, which IMO is the most underrated sans serif. It is legible yet quirky, but just enough so as to not be annoying or pretentious.
magnio··on "Remove mentions of XSLT from the html spec"
I don't get the people complaining that they need it on their low-power microcontrollers yet instead of using an XSLT library they'd rather pull in Chromium.

With how bloated browsers are right now, good riddance IMO

magnio··on Good system design
I think it's a very good article. Even if you disagree with some of the individual points in it, the advice given are very concrete, pragmatic, and IMO tunable to the specifics of each project.

On state, in my current project, it is not statefulness that causes trouble, but when you need to synchronize two stateful systems. Every time there's bidirectional information flow, it's gonna be a headache. The solution is of course to maintain a single source of truth, but with UI application this is sometimes quite tricky.

magnio··on Jujutsu and Radicle
Why say yup to disagree with the premise of the article?
magnio··on F-Droid build servers can't build modern Android apps due to outdated CPUs
There are at least six Android app stores in China that have more than 100 million MAUs each: Huawei AppGallery, Tencent MyApp, Xiaomi Mi Store (or GetApps), Oppo, Vivo, and Honor stores.
magnio··on VHS, VCDs, and Laserdiscs in Southeast Asia
Funnily enough, the article spent a paragraph explaining the initialism and acronym, only to refer to VCD as an acronym later.
magnio··on Cache Benchmarks
Anyone knows how Garnet outperforms others so much in pipelining >1 tests while being written in C#?
magnio··on Alice's Adventures in a Differentiable Wonderland
This looks like a good practical companion for a more theoretical text, such as Deep Learning by Bishop.
← PreviousPage 2 of 11Next →