HNHacker News
TopNewBestAskShowJobs

dig1

1,918 karma · joined January 29, 2013

submissionscomments
dig1··on Your Phone Is About to Stop Being Yours: 70 Days Until Lockdown
IMHO, this is a great time to push PWAs even harder. I know they're not a fit for every use case, but most of the apps I saw and/or use would work just fine as PWAs. If Mozilla wants to do the right thing this time, they could reconsider bringing first-class PWA support back across all platforms.
dig1··on Parsing Expression Grammar vs. Regexes: Building Org Parser in Lisp, Export HTML
> Over the years, I have implemented parsers numerous times, both at work and for side projects, so writing recursive-descent parsers from scratch has become second nature. Once you understand the mechanics, writing a parser by hand is straightforward

The reason why it became second nature for you is this hand-rolling, manual work. I observed that with math - unless you manually practice problem solving (integrals, differential equations), you might know the mechanics but you'll have hard time solving them. And that knowledge of mechanics will also fade away at some point.

> LLMs have changed the equation. It used to take me 2-3 hours to write a parser for a moderately complex grammar. Now, if I hand an LLM a loosely written, BNF-ish grammar and ask for a recursive-descent parser, it finishes the job in five minutes. At this point, writing them by hand is hard to justify

So, what is the difference between LLMs generated "manual" parsers vs those with parser generators, beside that with LLM that will be done in five minutes + plus some $$ and with parser generators you'll get that for free and under a second?

> Which makes me wonder: what’s the appeal of PEGs or parser generators now? They used to make sense when hand-writing wasn't practical, but what compelling reasons are left to use them today?

The appeal is predictability - use i.e. Bison, feed it with grammar and you'll get always the same output. Not so much with LLMs.

dig1··on The Economics of Open-Weight Inference
> To be honest, I don't know any companies using OW models at a large scale for their operations (agents or chat assistants).

Perhaps they simply don’t advertise it and investors (currently) love companies that spend heavily on frontier models. That said, OW models, especially when combined with RAG, work quite well, and given the current state of the industry, they may be the only sensible way to keep inference costs under control.

dig1··on Discovery of a new OpenAI agent message board
I might be in the minority here, but I suspect all of this is intentionally orchestrated by OpenAI (either directly or through a hired third party) to leave traces online so it looks like the work of ChatGPT or hatever internal LLM they use. The same strategy for a recent HuggingFace attack.

Why? It is a great PR to build a hype, especially before the IPO, showcasing how AI is "self-aware" and dangerous, essentially resurrecting Sam Altman's talk about how only a few should hold the keys to this (opening a route to regulation, which is his ultimate goal).

Also, collusion.wiki was recently registered and it looks too vibe-coded for my taste, so let's see will that domain be alive in a year or two.

dig1··on Google Antigravity TOS: 3rd party usage can get Google account suspended
> (from Twitter) ...My Google account too valuable to risk it impacted by Antigravity usage

If your account is that valuable, it's time to consider moving to a self-hosted option. Or at the very least, start by purchasing a domain and linking it to your Google account, while keeping offline backups of all your emails and documents.

The real problem isn't that Google might accidentally ban you; it's that there's no way to get a human in the loop to review the issue. My client is an enterprise GCP user paying a hefty sum every month and getting someone knowledgeable typically means wading through Gemini or talking to (non-technical) support who just read GCP documentation back to you; and it can take months something to get resolved. Now imagine the situation for someone paying nothing or a double-digit for their gmail account or workspace.

I'm aware people will complain that self-hosting is hard, insecure, etc. but it's like a backup: an annoying process you truly appreciate when shit hits the fan.

dig1··on When I worked at Apple, I remember seeing code that was 15 years old
> The houses are better, and they go up faster...

This is highly debatable. They look better, but whenever I inspect the walls and see what is holding the house together, I just shrug and leave my contact info, because I know I’ll be called to fix the mess.

> ...and building them increasingly feels like magic.

Engineering should not feel like magic to those with a proper education. Otherwise, we are merely practicing alchemy.

dig1··on Show HN: HelixDB – A graph database built on object storage
How rankings are calculated? HelixDB has zero feature scores, unlike e.g. JanusGraph which is at #27 or Neo4j at #1.
dig1··on Morningstar values SpaceX at $780B, half its IPO target
IMHO, still too much. Someone posted this link [1] recently.

[1] https://www.youtube.com/watch?v=IHD8BDFYyGI

dig1··on Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus
> The irony is that this may be a $0 revenue user for Grafana Labs.

Why is that ironic? Since Mimir is open-source, $0 revenue users are expected. AFAIK, Grafana Labs relies heavily on go, typescript, and linux, without necessarily being their top financial contributor. They could have kept Mimir proprietary like Splunk, but whether that would have attracted the same level of adoption or community contribution is another matter.

dig1··on The future of code search is not regex – 100x faster than ripgrep
ctags, GNU Global and even "ugrep -Q" would like to have a few words with you ;)
dig1··on I traced my traffic through a home Tailscale exit node
You can also build a mesh network using standard wireguard. While manual configuration requires exchanging keys and settings between devices, many ansible playbooks can automate this process with minimal effort.
dig1··on Ten years of deploying to production
> I like to think there is no curve only fashion.

Exactly! For instance, we had pull-based monitoring 20 years ago (Zabbix et al), but we abandoned it because it scaled poorly, favoring push-based agents (for InfluxDB, KairosDB etc). Now Prometheus is all the rage, yet we’re hitting the exact same scaling walls these systems had before. In a few years, we’ll rediscover push agents and call them the best thing since sliced bread.

dig1··on The Slow Death of the Power User
> Ask a twenty-two-year-old to connect to a remote server via SSH. Ask them to explain what DNS is at a conceptual level.

Modern IT has become a ubiquitous commodity, much like the car. You don't need to know how an engine works to drive; while that knowledge might make you more efficient, it isn't strictly necessary to get from A to B. Besides, most twenty-two-year-olds ten years ago didn't know how to use ssh, either.

However, if you want to call yourself an engineer (and work in the field), you must understand the underlying mechanics. IMHO if you want to defeat a competitor today, you don’t need industrial espionage - you just have to cut their internet and/or AI subscriptions. Modern vibe engineers would struggle to function.

> The man page is dead for most users. The RFC is unread by most developers who depend on the protocols it describes.

Well, those who are accustomed to using man pages still use them today. I find them far more accurate than whatever an AI might spit out at any given moment. As for RFCs, they were always read by a small population - either those implementing the protocols or the few of us who like to brag about obscure technical details.

> You can now write complete programs without understanding what a single line of them does... until something goes wrong in production at two in the morning and you are completely without tools to respond.

I’m not worried about this. When things go south, there will still be experts who will know how to fix them. But since those experts will be fewer and farther between, they will likely charge $1k/hr, and rightfully so. If you are in that field, more power to you! :D

dig1··on Hello Worg, the Org-Mode Community
The details are here [1]; the OP should probably add a clearer explanation.

[1] https://orgmode.org/worg/worg-about.html - Worg is a collaborative knowledge database about Org (Emacs org-mode).

dig1··on PayPal discloses data breach that exposed user info for 6 months
AFAIK Stripe and Plaid support only a fraction of the countries that PayPal does. And PayPal is still a global brand - recognized by almost everyone, everywhere.
dig1··on Why I don't think AGI is imminent
Or like:

"I’m not a mechanical engineer, but I watched a five-minute YouTube video on how a diesel engine works, so I can tell you that mechanical engineering is a solved problem."

dig1··on OpenAI’s unit economics
> it assumes companies that are replacing labor with LLMs are willing to pay as much as (or at least a significant fraction of) the labor costs they are replacing.

And it’s worth reiterating that most (all) of these LLM/AI providers are currently operating at significant losses. If they aim to become even modestly profitable, prices will have to increase substantially.

dig1··on Canada's deal with China signals it is serious about shift from US
True. But the US want to remain the country everyone relies on if it wants to preserve the dollar as the world's primary trade, reserve and settlement currency.

Dollar dominance gives the US disproportionate leverage over global finance and allows it to shape the rules of the system. Absent this asymmetry, it is difficult to imagine US tariffs or financial pressure (or any kind of pressure) would carry comparable global impact.

dig1··on Mozilla appoints new CEO Anthony Enzor-Demeo
AFAIK Manifest v2 is still part of the chromium codebase, and there is an intention to continue supporting it, depending on how difficult that turns out to be.
dig1··on Mozilla appoints new CEO Anthony Enzor-Demeo
chromium-ungoogled works perfectly fine with "extensions that can do real ad blocking" ;)
dig1··on $50 PlanetScale Metal Is GA for Postgres
1 GB of RAM for Postgres is really only useful for tinkering IMHO. Even for development, you’ll quickly need more memory, so HA doesn’t provide much value here. If you go with something even remotely reasonable (4 GB RAM, 200 GB SSD, 1/2 vCPU — and that’s still on the low end), the cost jumps to about $290/month. For that price, you could easily hire someone to set up HA Postgres for you on Hetzner or OVH and once configured, HA Postgres typically requires minimal ongoing maintenance.

Also, this is a shared server, not a truly dedicated one like you’d get with bare-metal providers. So, calling it "Metal" might be misleading marketing trick, but if you want someone to always blame and don’t mind overpaying for that comfort, then the managed option might be the right thing.

dig1··on Why Startups Die
> A start-up needs to have an exit to pay back investors

It depends on the kind of investors you want to attract for your startup. Some investors are interested in building a slow-growth, long-term, stable company, while others prefer a higher-risk approach and will expect fast results. IMHO choosing the right kind of capital is just as important as focusing on the product.

dig1··on Show HN: Fresh – A new terminal editor built in Rust
> I did a quick benchmark loading a 2GB log file with ANSI color codes... Emacs: Load Time: ~10 seconds | Memory: ~2 GB

Now try opening it in Emacs with vlf [1] ;) Great work overall — looking forward to seeing further development!

[1] https://elpa.gnu.org/packages/vlf.html

dig1··on Installing Java in 2025, and Version Managers
And don’t hesitate to use a JRE (Java Runtime Environment) if all you need is to run java/jvm applications - assuming the application doesn’t already ship with its own runtime. A JDK is roughly 140 MB, while a JRE is about 60 MB (and can be further minimized). I’ve seen installations of the full OpenJDK just to run apps, which is unnecessary in most cases.
dig1··on Cloudflare outage on November 18, 2025 post mortem
> HN uses Cloudflare

From the ping output, I can see HN is using m5hosting.com. This is why HN was up yesterday, even though everything on CF was down.

> Writing high-throughput web applications is easier than ever. Hosting them on the open web is harder than ever.

Writing proper high-throughput applications was never easy and will never be. It is a little bit easier because we have highly optimized tools like nginx or nodejs so we can offset critical parts. And hosting is "harder than ever" if you complicate the matter, which is a quite common pattern these days. I saw people running monstrosities to serve some html & js in the name of redundancy. You'd be surprised how much a single bare-metal (hell, even a proper VM from DigitalOcean or Vultr) can handle.

dig1··on Blender 5.0
> it is perhaps the only open source software that managed to beat all the commercial software in its niche.

gcc? It’s hard to imagine any of the projects mentioned without a good compiler.

dig1··on Cloudflare Global Network experiencing issues
> ...does it all add up to cost savings?

IMHO it adds, but only if you are big enough. Netflix level. At that level, you go and dine with Bezos and negotiate a massive discount. For anyone else, I’d genuinely love to see the numbers that prove otherwise.

> There's zero personal responsibility

Unfortunately, this seems to be the unspoken mantra of modern IT management. Nobody wants to be directly accountable for anything, yet everyone wants to have their fingerprints on everything. A paradox of collaboration without ownership.

dig1··on Why AC is cheap, but AC repair is a luxury
a16z is heavily long on AI, so this article sounds very biased.

From the article: If you live in the United States today, and you accidentally knock a hole in your wall, it’s probably cheaper to buy a flatscreen TV and stick it in front of the hole, compared to hiring a handyman to fix your drywall.

Probably because the US has been focused on services for years rather than physical goods production. Everything else in US is focused on importing cheap(er) goods or materials.

> On the other hand, I think he wants to push the narrative that AI is seeing enormous productivity gains.

That is my impression as well. I would be thrilled to see this mythical 10x productivity. Even with 2x productivity, I would be highly pleased. This should mean developers (and everyone else) are producing 2x more quality, software (and general services) are 2x better? I see none of that, except 2x more junk. Did AWS, GCP, or anything else become 2x cheaper and 2x more stable? Maybe I'm living under a rock.

dig1··on Liquibase continues to advertise itself as "open source" despite license switch
AFAIK, AGPL is no-go for EPL/Apache-licensed projects, unless the whole project is under (A)GPL, or use some "exceptions" wording. Wrt Redis community, it's the shadow of the former itself, everyone who plans to invest in Redis long-term, moved to Valkey.
dig1··on Why is everything so scalable?
> The general setup for the largest players in that space was haproxy in front of nginx in front of several PHP servers in front of a MySQL database that had one primary r/w with one read only replica.

You'd be surprised that the most stable setups today are run this way. The problem is that this way it's hard to attract investors; they'll assume you are running on old or outdated tech. Everything should be serverless, agentic and, at least on paper, hyperscalable, because that sells further.

> Today at AWS, it is easily possible for people to spend a multiple of the cost of that hardware setup every month for far less compute power and storage.

That is actually the goal of hyperscalers: they are charging you premium for way inferior results. Also, the article stated a very cold truth: "every engineer wants a fashionable CV that will help her get the next job" and you won't definitely get a job if you said: "I moved everything from AWS and put it behind haproxy on one bare-metal box for $100/mo infra bill".

Page 1 of 14Next →