frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My server is a phone now

https://seg6.space/posts/phone-server/
98•seg6•3h ago•44 comments

Improving Heuristics for A* Pathfinding

https://www.redblobgames.com/pathfinding/heuristics/differential.html
65•bobbiechen•1w ago•10 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
322•groomlake•9h ago•145 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
47•adletbalzhanov•3h ago•11 comments

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

https://os8088.com/
31•jggonz•2h ago•9 comments

_for-sale DNS records

https://specification.website/spec/foundations/for-sale-dns/
349•shaunpud•12h ago•132 comments

The Sound and Music of 'Hyper Light Drifter' [video]

https://gdcvault.com/play/1024135/The-Sound-and-Music-of
15•hyperific•3d ago•1 comments

Open-source interactive map for the Aug 12 total solar eclipse

https://eclipsefan.org/?v=2&t=max&layers=eclipse%2Cbesselian%2Cumbra-live%2Cshadow-3d%2Ccloud-pro...
90•MarcoDewey•6h ago•18 comments

Can Intel finally beat ARM on performance per Watt?

https://hackaday.com/2026/08/08/want-energy-efficiency-dude-youre-getting-a-dell/
164•gumby•9h ago•99 comments

Making difficulty curves in games

http://www.davetech.co.uk/difficultycurves
59•hakkikonu•3d ago•18 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
22•jmusall•2h ago•3 comments

DeepMind's WeatherNext model achieves breakthrough forecasting cyclones

https://deepmind.google/blog/weathernext-ai-model-achieves-breakthrough-in-forecasting-cyclones/
389•bhavansig•16h ago•116 comments

Timeline of the OpenAI accidental attack against Hugging Face

https://simonwillison.net/2026/Aug/7/openai-timeline/
342•882542F3884314B•15h ago•351 comments

Maryland Closes More of Cunningham Falls State Park After Second Beaver Attack

https://news.maryland.gov/dnr/2026/08/05/dnr-closes-additional-areas-of-cunningham-falls-state-pa...
86•bookofjoe•4h ago•52 comments

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
138•electricant•12h ago•25 comments

US Military's cyber command unit grapples with cluster of deaths by suicide

https://www.bloomberg.com/news/articles/2026-08-06/us-military-s-cyber-command-unit-grapples-with...
248•rbanffy•15h ago•393 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
43•robinpdev•1w ago•3 comments

Preventing Misfolding by Preventing Folding

https://www.science.org/content/blog-post/preventing-misfolding-preventing-folding
43•surprisetalk•4d ago•1 comments

DDisasm: Reversible (bi-directional) Disassembler

https://github.com/GrammaTech/ddisasm
20•aboardRat4•5d ago•3 comments

When Feature Flags Do and Don't Make Sense

https://software.rajivprab.com/2019/12/19/when-feature-flags-do-and-dont-make-sense/
3•whack•5d ago•0 comments

Should you stop cracking your knuckles?

https://www.bbc.com/future/article/20260807-should-i-stop-cracking-my-knuckles
9•tchalla•3h ago•5 comments

TinySol, a tiny solitaire game for DOS

https://classicbits.net/coding-and-software/my-software/monosol/
47•skibz•8h ago•11 comments

Danish high schoolers will have to verbally defend written assignments

https://mezha.net/eng/bukvy/ca117584_denmark_requires_oral/
511•theanonymousone•7h ago•242 comments

Gateway 2000's hilariously bad ads in the 90s (Part II)

https://buttondown.com/suchbadtechads/archive/gateway-2000-part-2/
101•rfarley04•13h ago•76 comments

“Code was never the hard part” is an insult to all programmers

https://blog.senko.net/code-was-never-the-hard-part-is-an-insult-to-all-programmers
584•senko•11h ago•364 comments

The AI Apocalypse Is Here

https://www.compactmag.com/article/the-ai-apocalypse-is-already-here/
11•reasonableklout•31m ago•2 comments

Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

https://twitter.com/un1c0rnioz/status/2084686552299634805
221•ilamont•1d ago•162 comments

Hardware backdoors in some x86 CPUs

https://github.com/xoreaxeaxeax/rosenbridge
347•epestr•18h ago•94 comments

The Unreasonable Effectiveness of Mathematics in the Natural Sciences [pdf]

https://web.njit.edu/~akansu/PAPERS/The%20Unreasonable%20Effectiveness%20of%20Mathematics%20(EP%2...
25•pseudolus•5h ago•10 comments

Message your other Claude Code sessions

https://code.claude.com/docs/en/cross-session-messaging
62•mfiguiere•10h ago•32 comments
Open in hackernews

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
46•adletbalzhanov•3h ago

Comments

skullone•28m ago
If this is shopifys backend infrastructure, engineering, and writing style.... sigh, they should hire a human.
zhivota•22m ago
"But the hardest lesson wasn't about database design. It was discovering that the real bottleneck wasn’t what we were observing and measuring."
Horffupolde•1m ago
But was it load bearing?
trueno•21m ago
so this is interesting to me, im in retail i work closely with platforms ive used shopify ive used magento ive used smaller players ive helped implement various pieces of all of them.

and i was excited to get some insight, then i realized that this whole thing was written by AI and im going to guess the idea and implementation were probably very AI driven.

> The solution: SKIP LOCKED > Core idea: one row per unit, bounded by design

cool, thanks claude.

Now I'm wondering what the engineering culture is even like at shopify.

Here's the thing. I like databases, I think there's a lot of shit in this space that went and smoked a shit ton their own good stuff to come up with these pure event driven designs that lock you into event workflows with no isolation and remove the ability to do broader bulk-functions.. and then do something even stupider and say "all you need for the interface is graphql" and such service/platform doesn't give you any other way to reconcile or do reporting for your org you have to warehouse from graphql.. this is crap. So seeing a headline where shopify says they want to kinda get behind a unified database strat behind the scenes even if it's not necessarily customer facing, like that's good imo. SQL is many decades of relational algebra that makes insane computations acrossed vast sets of data pure magic and one of the best query dml interfaces of all time.

..however i dont even agree with the claim their making here that redis isnt the tech for a reservation system. redis when used correctly feels like an insanely awesome way to do a reservation system, i lurv redis for stuff like that.

I'm just gonna go forward with the assumption that current and future shopify updates are pure vibeslop. I already hate their data interfaces, but compared to other saas offerings i appreciate that they do have bulk-features.

tybit•12m ago
They do heavily use AI, but you haven’t refuted their point that if inventory is in SQL, storing reservation in a second storage system increases complexity.
akamaka•6m ago
I found Shopify’s post very easy to read, and learned about some features of MySQL. On the other hand, I didn’t get any value from reading your comment. You seem to have a bunch of opinions about how things should be done, but haven’t given any details about how you came to these conclusions.
manbash•20m ago
> Instead of one row per item with a quantity column, we use one row per sellable unit. An item with 10 units has 10 rows.

> But one row per unit for all inventory would break down at scale—an item with 50,000 units across 10 locations would mean 500,000 rows, and the reserve query would slow as it scans through them. Instead, we maintain a bounded pool of available rows, capped at 1,000 per item/location combination. Reservations consume rows from this pool; a replenishment process refills it from the inventory ledger.

Shouldn't I feel uncomfortable with such approach? It seems to create a backoff (pool) for lowering the chance of having a synchronization issue.

jbird99•9m ago
I guess it depends on how the replenishment process works. Unless you're ordering over 1000 of an item, I doubt it would be a problem.
jbird99•6m ago
The lengths companies will go to avoid running different pieces of software...