frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Why AO3 Was Down

https://www.reddit.com/r/AO3/s/67nQid89MW
72•danso•4h ago

Comments

schoen•2h ago
A bookmark for every view of "Gangnam Style"!

https://arstechnica.com/information-technology/2014/12/gangn...

wging•1h ago
That article was from 2014, it has many more views now (about 5.6 billion).
notorandit•1h ago
> typical database column

Typical for 70s and 80s.

Honestly, designing a 21st century database is a different thing if compared to back then.

You can use 128 bit integers, provided that you really want to use integers. And maybe you put a timestamp along.

j16sdiz•1h ago
let's use 128bit integer and handle them like floats in php!

and maybe put a 32bit timestamp along and pretend it can somehow store more than a 32bit integer can.

jarofgreen•34m ago
or use UUID/GUIDS, many databases (eg PostgreSQL) and frameworks (eg Django) support them.
dwedge•23m ago
Using uuids can cause lots of problems with indexing, fragmentation, row size and index size
RainyDayTmrw•1h ago
It's kinda impressive that they got to 2 billion rows - with indexes, no less - without falling over.
charcircuit•56m ago
>to fix it they have to migrate the entire database to use a different type for bookmark IDs... except of course this will take a while because there are two Billion Of Them Lol

You can shard them between 2 tables. Then migrate them to a single one later.

madaxe_again•42m ago
This is like seeing a brick wall 40 miles down a straight road and yet still managing to drive into it, and then blaming the wall.
darkwater•17m ago
I guess that whoever maintains that infra simply hadn't thought of it or was not aware. It's not something you get for free in a monitoring system with some agent like disk usage for example. You need to know and remember you have a hard limit on IDs and be aware at which ID you are.
Groxx•36m ago
Ha, a site I worked on hit this limit for the "follow relationships" table - had to build a new compound key table to migrate to, with triggers to dual read/write, to unbreak everything. In a few hours of "wtf" -> "oh crap" -> "well I guess we gotta do it right this time" and quick coding.

And then I pulled apart PT-OSC to make it more... less incredibly stupid about resource use, so it wouldn't cause too much load while it backfilled. And let it run for about 6 weeks.

Good luck! It's a fun problem to have - excess success, and a light puzzle to solve :)

12_throw_away•33m ago
For anyone who feels like looking up exactly what this bookmark was pointing to: I did, and very much wish I hadn't!
zerocrates•13m ago
Is it faster to convert a column like this to unsigned? Obviously assuming you don't use negative IDs in the application.

That's much more of a "kick the can down the road" solution to only double your usable range, but if all positive the values in the rows shouldn't actually have to change, just the column metadata, so it could theoretically be more or less instantaneous. I guess in practice this doesn't happen; the server would rather use its generic "rebuild the table" alter method for changing a column type.

But it seems like you could reasonably do it if it's a signed-to-unsigned change and there's no negative values and there's an index on the column to make checking that fact fast. Or one of those third-party/lower-level type tools could let you do it without any checking.

AI's great brain robbery – and how universities can fight back

https://www.thetimes.com/comment/columnists/article/ai-brain-robbery-universities-chatgpt-c6lr03dlz
2•todsacerdoti•5m ago•0 comments

Google strikes deal to buy fusion power from MIT spinoff Commonwealth

https://www.reuters.com/sustainability/climate-energy/google-strikes-deal-buy-fusion-power-mit-spinoff-commonwealth-2025-06-30/
1•mpweiher•8m ago•0 comments

Denmark's ambitious plan to boost plant-based foods

https://channels.ft.com/en/rethink/denmarks-ambitious-plan-to-boost-plant-based-foods/
1•tzury•9m ago•0 comments

Clore

https://clore.ai/
1•handfuloflight•13m ago•0 comments

You will own nothing and be happy (Stop Killing Games)

https://www.jeffgeerling.com/blog/2025/you-will-own-nothing-and-be-happy-stop-killing-games-0
1•gond•13m ago•0 comments

Fast and Simplex: 2-Simplicial Attention in Triton

https://arxiv.org/abs/2507.02754
1•anythingworks•20m ago•0 comments

Abundance and Scarcity Mentality

https://www.rxjourney.net/abundance-and-scarcity-mentality
3•chikwechinyere•20m ago•0 comments

The Relativity of Wrong by Isaac Asimov

https://www.tetragrammaton.com/content/relativityofwrong
3•cmsefton•23m ago•0 comments

The American DeepSeek Project

https://www.interconnects.ai/p/the-american-deepseek-project
1•emersonmacro•27m ago•0 comments

Show HN: MCP-123, a 2-line MCP server/client (Windows-friendly)

https://github.com/Tylersuard/MCP-123
2•tylersuard•28m ago•0 comments

Show HN: N8n templates directory with AI-powered search

https://workflowdepot.com
1•gpopmescu•34m ago•0 comments

Building tiny AI tools for developer productivity

https://www.seangoedecke.com/building-tiny-ai-tools/
1•ingve•35m ago•0 comments

Pyodide 0.28 Release

https://blog.pyodide.org/posts/0.28-release/
1•piebro•36m ago•0 comments

The terrifying truth about why Tesla's cars keep crashing

https://www.theguardian.com/technology/2025/jul/05/the-vehicle-suddenly-accelerated-with-our-baby-in-it-the-terrifying-truth-about-why-teslas-cars-keep-crashing
15•nickcotter•42m ago•1 comments

1RB1RA_1RC1RZ_1LD0RF_1RA0LE_0LD1RC_1RA0RE

https://wiki.bbchallenge.org/wiki/1RB1RA_1RC1RZ_1LD0RF_1RA0LE_0LD1RC_1RA0RE
2•gone35•47m ago•1 comments

AI is making everyone on dating apps sound charming

https://www.washingtonpost.com/technology/2025/07/03/ai-online-dating-match/
1•acmeian•50m ago•1 comments

The messy reality of SIMD (vector) functions

https://johnnysswlab.com/the-messy-reality-of-simd-vector-functions/
2•mfiguiere•53m ago•0 comments

China didn't win the thorium race

https://www.youtube.com/watch?v=g6r1kIZ3HNc
1•tomcam•59m ago•0 comments

Particle Lenia Deluxe Edition

https://www.craftlinks.art/Notebook/particle-lenia/
1•CraftingLinks•59m ago•1 comments

Italy chemical plant execs jailed for pollution

https://www.france24.com/en/live-news/20250626-italy-chemical-plant-execs-jailed-for-pollution
2•Michelangelo11•1h ago•0 comments

ZFS: AnyRaid

https://www.xda-developers.com/zfs-anyraid-will-make-it-easier-than-ever-to-build-your-first-nas/
1•KyleSanderson•1h ago•0 comments

Digital Bookwheel – Read 8 PDFs at once

https://bookwheel.chyuang.com/
1•yongyongyong•1h ago•0 comments

Adding Coral TPU to My Frigate NVR

https://blog.vasi.li/adding-a-coral-tpu-to-my-nvr-proxmox-lxs/
1•vsviridov•1h ago•0 comments

Operating system kernels could return multiple values from system calls

https://utcc.utoronto.ca/~cks/space/blog/tech/OSKernelsAndMultipleReturns
5•ingve•1h ago•0 comments

NandGame – Build a Computer from Scratch

https://nandgame.com/
1•mifydev•1h ago•1 comments

Making the Solution Fit the Problem

https://all-things-andy-gavin.com/tag/lisp-programming/
1•gdubs•1h ago•0 comments

Hacker News Domain Rankings (by overall score)

https://www.tophn.co/domains
1•onezhjp•1h ago•0 comments

Percent Off Calculator

https://www.calculate-percent.com/
1•xtrememarketers•1h ago•1 comments

The Truth About Silicon Valley's Vision for AI [video]

https://www.youtube.com/watch?v=DUfSl2fZ_E8
2•Ashoka_rkt•1h ago•1 comments

Ishkur's Guide to Electronic Music

https://music.ishkur.com/
3•aspenmayer•1h ago•0 comments