HNHacker News
TopNewBestAskShowJobs

srcreigh

2,485 karma · joined November 28, 2013

My gmail username is shaneecy, please reach out.
submissionscomments
srcreigh··on We replaced Redis with MySQL for inventory reservations and it scaled
It’s fascinating that in order to do this, they had to remove 50% of reads and 33% of transactions from the main DB.
srcreigh··on The Dark Night of Mathematics
An impressive number of things don’t make sense about this thought experiment. Whatever the genie says wouldn’t have much to do with the life you live afterwards, since your life changes after hearing the info. One persons careers worth of discovery work is not that much. A lot of work is dependent on the state of the world and can’t be moved into the past, even language changes. Someone could still do a craft or science or whatever afterwards— assuming life continues to have surprising complexity, the genie could only ever just scratch the surface.
srcreigh··on Lobste.rs is now running on SQLite
Pages (especially threads while logged in) taking seconds to load definitely happened to me pre SQLite migration.
srcreigh··on Making 768 servers look like 1
The cashapp post is actually working towards GPs point. It explains that networked storage MySQL was unreliable and expensive. They migrated to $fancytool which offers a db instance with attached local nvme.

While cashapp may actually need sharding, there are so many companies who are overpaying for shitty performing network storage databases.

Not to mention you are subject to cloud provider networking and compute allocation code. They change it. Big slow network storage DB suddenly gets even worse and you don’t have leverage to have it fixed on their end.

srcreigh··on Solving 20 Erdős Problems with 20 Codex Accounts Running in Parallel
Mathematicians will be the ones who can tell us if the computer theorems are decent or not.

Otherwise they’ll be the ones like Erdős who pose the questions in the first place.

Either way it will always be humans who decide what matters. AI is speaking our languages, not the other way around. We’re in charge. It’s impossible for us not to be, unless we can train an AI from dolphin data or other natural phenomenon.

The AIs intelligence is tuned to us and in 300 years we’ll need new training runs for the update from human zeitgeist language and the 2200 century famous mathematicians.

srcreigh··on Bootimus – A Self-Contained PXE and HTTP Boot Server
Last year I released my version of this: https://pxehost.com

Pxehost is much less featureful than Bootimus, no dashboard, and only supports netboot.xyz.

I am curious how Bootimus got udp broadcast to work via Docker on arm macOS. I could not figure that out and it’s why I released pxehost as a cross platform binary.

We need a good ISO to set up new hosts to run firecracker VMs in k3s. That would be a killer homelab tool. Tooling to make custom ISOs. And some Kairos/Talos immutable image update style tooling would be great too.

The dream is to boot via PXE once per host to setup secure k8s nodes, using just Ethernet cord, ISP router, and a windows laptop or an iPhone.

srcreigh··on My automated doubt development process
What’s your process? My experience matches yours, but then again I usually just give a few lines to codex. I imagine if I tried harder to give detailed specs as input, the agent would have a lot more room to spot flaws and kill the plan.
srcreigh··on What Is a Dickover?
Could you or someone working on this make it easier to share the original link for a small web post? It’s difficult to the point of making me think you’re trying to force me to share the Kagi version of the url.
srcreigh··on Bitburner, programming-based incremental game
There’s probably some new mechanics in there since years ago which would give some more fun.
srcreigh··on Bitburner, programming-based incremental game
Yep, the game has a fun offline idle mechanic as well as just leaving it running. However you should rarely need idle, if ever.
srcreigh··on Bitburner, programming-based incremental game
This is a fantastic game, I’ve played many hours of it. If you want a programming based video game this could be really fun for you.
srcreigh··on Investigating how prompt politeness affects LLM accuracy (2025)
It reminds me of Torvalds rants
srcreigh··on Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
Some more info from the link:

> MCP Bundles (.mcpb) are zip archives containing a local MCP server and a manifest.json that describes the server and its capabilities. The format is spiritually similar to Chrome extensions (.crx) or VS Code extensions (.vsix), enabling end users to install local MCP servers with a single click.

srcreigh··on The just-say-no engineer was a ZIRP phenomenon
There’s also section 174, which happened to end in 2022.
srcreigh··on Moving away from Tailwind, and learning to structure my CSS
Which semantic element(s) would you use to build the example from the Tailwind website?
srcreigh··on Moving away from Tailwind, and learning to structure my CSS
That site is a portal back to 2011, wow. Thanks for sharing.
srcreigh··on Why senior developers fail to communicate their expertise
I've found myself using AI rhetorical styles. Mostly in PRs. The whole "not just X, Y" pattern hooked into my brain.
srcreigh··on Google says criminal hackers used AI to find a major software flaw
> Google said in research published Monday

What research? Where is it published?

srcreigh··on Mythos Finds a Curl Vulnerability
I can't help but think that curl is, by nature, a relatively simple and well-contained tool. Compare to an operating system or web browser or database or billion dollar company codebase.

It makes some sense that Mythos/ChatGPT 5.5 might be that much better with complexities that curl just doesn't have because it's a basic tool.

Like yeah curl is obviously extremely fully featured as an "anything client" but it's orders of magnitude less complex than other software we rely on.

srcreigh··on How Cloudflare responded to the “Copy Fail” Linux vulnerability
It’s fascinating that already had a system which could identify the exploit at runtime. How can I learn more about that?
srcreigh··on SQLite Is a Library of Congress Recommended Storage Format
2026 recommended storage formats: https://www.loc.gov/preservation/resources/rfs/data.html
srcreigh··on K3sup – bootstrap K3s over SSH in < 60s
This is a scam. Bootstrapping k3s is extremely easy. This tool lies to you giving you the impression that it's difficult or that you need a script, and tries to sell you monthly pro subscription, the features of which are also completely trivial.
srcreigh··on Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library
Not to mention Claude
srcreigh··on You can beat the binary search
The algorithm description was a bit confusing for me.

The SIMD part is just in the last step, where it uses SIMD to search the last 16 elements.

The Quad part is that it checks 3 points to create 4 paths, but also it's searching for the right block, not just the right key.

The details are a bit interesting. The author chooses to use the last element in each block for the quad search. I'm curious how the algorithm would change if you used the first element in each block instead, or even an arbitrary element.

srcreigh··on AI should elevate your thinking, not replace it
Is it wise to understand everything that AI does for you?

Let’s say a person has 10 units of learning per week. Is the author actually claiming that that person must not deliver any results beyond their 10 units?

It makes some sense to have say 20 units of results and prioritize which ones to fully comprehend.

I suspect APIs / libraries / languages / platforms will have more churn due to AI. New platform new system need to learn. Once every 5 years might become every year or even more frequent. That would be a sort of inflation of knowledge and skills. It would affect the decision making about how to spend one’s 10 units per week.

srcreigh··on Dear friend, you have built a Kubernetes (2024)
Seems to be a case of the XY problem. What do you need cleanups and hooks for?
srcreigh··on Asahi Linux Progress Linux 7.0
I’m pretty sure macOS safari doesn’t execute JavaScript on background windows/tabs.

When I play Bitburner, if I want to run it in the background, I have to run the game on Firefox or chrome. It’s a shame because safari actually gives best performance by quite a large margin.

srcreigh··on Codex Hacked a Samsung TV
Any tips to share? I tried to do something similar but failed.

My router has a backup/restore feature with an encrypted export, I figured I could use that to control or at least inspect all of its state, but I/codex could not figure out the encryption.

srcreigh··on What Gödel Discovered (2020)
The “l” is just as hard to pronounce correctly. English has a very nasal “l” compared to german.

Try saying English “hell” but dragging out the “l” (“helllllllll”); very nasal. Compare audio here: https://en.wiktionary.org/wiki/hell#German

srcreigh··on Finding all regex matches has always been O(n²)
ChatGPT also loves Aho-Corasick and seems to overuse it as an optimization fall back idea. ChatGPT has suggested the algorithm to me but the code ended up slowing down a lot.
← PreviousPage 3 of 34Next →