frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

A 37-year-old wanting to learn computer science

https://initcoder.com/posts/37-year-old-learning-cs/
28•chbkall•1h ago•4 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
79•gond•3h ago•23 comments

Baba Is Eval

https://fi-le.net/baba/
166•fi-le•1d ago•27 comments

The messy reality of SIMD (vector) functions

https://johnnysswlab.com/the-messy-reality-of-simd-vector-functions/
30•mfiguiere•3h ago•5 comments

OBBB signed: Reinstates immediate expensing for U.S.-based R&D

https://www.kbkg.com/feature/house-passes-tax-bill-sending-to-president-for-signature
322•tareqak•9h ago•216 comments

Making My Own Hacktoberfest T-Shirts

https://shkspr.mobi/blog/2025/07/making-my-own-hacktoberfest-t-shirts/
6•blenderob•1h ago•2 comments

Impact of PCIe 5.0 Bandwidth on GPU Content Creation and LLM Performance

https://www.pugetsystems.com/labs/articles/impact-of-pcie-5-0-bandwidth-on-gpu-content-creation-performance/
4•zdw•1d ago•0 comments

Being too ambitious is a clever form of self-sabotage

https://maalvika.substack.com/p/being-too-ambitious-is-a-clever-form
302•alihm•13h ago•96 comments

Why AO3 Was Down

https://www.reddit.com/r/AO3/s/67nQid89MW
120•danso•7h ago•43 comments

The only time HN is this interested in Bitcoin is when there's a bubble (2017)

https://incoherency.co.uk/blog/stories/hacker-news-bitcoin.html
11•dnpp123•1h ago•1 comments

Learn to love the moat of low status

https://usefulfictions.substack.com/p/learn-to-love-the-moat-of-low-status
129•jger15•2d ago•55 comments

Mini NASes marry NVMe to Intel's efficient chip

https://www.jeffgeerling.com/blog/2025/mini-nases-marry-nvme-intels-efficient-chip
359•ingve•18h ago•176 comments

Telli (YC F24) Is Hiring Engineers [On-Site Berlin]

https://hi.telli.com/join-us
1•sebselassie•3h ago

The History of Electronic Music in 476 Tracks (1937–2001)

https://www.openculture.com/2025/06/the-history-of-electronic-music-in-476-tracks.html
44•bookofjoe•2d ago•7 comments

N-Back – A Minimal, Adaptive Dual N-Back Game for Brain Training

https://n-back.net
24•gregzeng95•2d ago•9 comments

A new, faster DeepSeek R1-0528 variant appears from German lab

https://venturebeat.com/ai/holy-smokes-a-new-200-faster-deepseek-r1-0528-variant-appears-from-german-lab-tng-technology-consulting-gmbh/
52•saubeidl•2h ago•10 comments

Show HN: Semcheck – AI Tool for checking implementation follows spec

https://github.com/rejot-dev/semcheck
11•duckerduck•4d ago•0 comments

Amiga Linux (1993)

https://groups.google.com/g/comp.sys.amiga.emulations/c/xUgrpylQOXk
31•marcodiego•7h ago•15 comments

EverQuest

https://www.filfre.net/2025/07/everquest/
220•dmazin•18h ago•113 comments

Incapacitating Google Tag Manager (2022)

https://backlit.neocities.org/incapacitate-google-tag-manager
166•fsflover•16h ago•111 comments

Sleeping beauty Bitcoin wallets wake up after 14 years to the tune of $2B

https://www.marketwatch.com/story/sleeping-beauty-bitcoin-wallets-wake-up-after-14-years-to-the-tune-of-2-billion-79f1f11f
146•aorloff•15h ago•344 comments

Why I left my tech job to work on chronic pain

https://sailhealth.substack.com/p/why-i-left-my-tech-job-to-work-on
318•glasscannon•21h ago•192 comments

Nvidia is full of shit

https://blog.sebin-nyshkim.net/posts/nvidia-is-full-of-shit/
658•todsacerdoti•12h ago•332 comments

Larry (cat)

https://en.wikipedia.org/wiki/Larry_(cat)
314•dcminter•1d ago•71 comments

ADXL345 (2024)

https://www.tinytransistors.net/2024/08/25/adxl345/
37•picture•7h ago•0 comments

French City of Lyon Kicks Out Microsoft

https://news.itsfoss.com/french-city-replaces-microsoft/
22•buyucu•2h ago•5 comments

In a milestone for Manhattan, a pair of coyotes has made Central Park their home

https://www.smithsonianmag.com/science-nature/in-a-milestone-for-manhattan-a-pair-of-coyotes-has-made-central-park-their-home-180986892/
131•sohkamyung•3d ago•129 comments

Scientists capture slow-motion earthquake in action

https://phys.org/news/2025-06-scientists-capture-motion-earthquake-action.html
9•PaulHoule•3d ago•0 comments

Show HN: I AI-coded a tower defense game and documented the whole process

https://github.com/maciej-trebacz/tower-of-time-game
251•M4v3R•21h ago•128 comments

The story behind Caesar salad

https://www.nationalgeographic.com/travel/article/story-behind-caesar-salad
107•Bluestein•14h ago•54 comments
Open in hackernews

Why AO3 Was Down

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

Comments

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

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

wging•4h ago
That article was from 2014, it has many more views now (about 5.6 billion).
notorandit•4h 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•4h 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•3h ago
or use UUID/GUIDS, many databases (eg PostgreSQL) and frameworks (eg Django) support them.
dwedge•3h ago
Using uuids can cause lots of problems with indexing, fragmentation, row size and index size
throwawaysoxjje•2h ago
Nah I made the same mistake back in 2009 for a system that was storing behavior events during malware analysis.

You don’t often expect to have two billion of something until you do.

9dev•2h ago
It's not like those two billion things just materialise in your database, right? Someone must have watched that graph climb, and climb, and climb, approaching the limit.
detaro•2h ago
If they have that graph and remember the limit they choose 15 years ago... It's not something you think about constantly running a mostly stable code-wise site.
shakna•2h ago
Salesforce is a rather popular platform.

Its defaults are also either a 18-character ID, or a 32bit integer. So, unless you take the effort to actually fight Apex, you're gonna hit this problem sooner or later.

Sharlin•31m ago
One of the first things I internalized about databases was "just always use BIGSERIAL for primary keys". There are very few good reasons not to.
rsynnott•7m ago
The website appears to date from 2008. This was a _very_ common latent bug at that point, particularly because Rails would basically force you to implement it. I assume this got fixed at some point, but for a long time all ActiveRecord models had an autoincrementing ID, which had to be a signed 32 bit int. There were scary monkey-patching workarounds if you wanted something more sensible.
RainyDayTmrw•4h ago
It's kinda impressive that they got to 2 billion rows - with indexes, no less - without falling over.
jiggawatts•1h ago
Point queries — typical of this kind of app - scales as log(n) in the number of rows. (Assuming a typical b-tree database index.)

This kind of workload cheerfully “scales” to your disk capacity.

charcircuit•4h 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.

ohdeargodno•2h ago
There's no SLA for Harry Styles porn. Run the migration, lock the table for two days and redo the same in 13 years when you get to 4 billion bookmarks.
kijin•2h ago
In 13 years, the Unix timestamp will probably be a much bigger problem.
camel-cdr•2h ago
> There's no SLA for Harry Styles porn

But what about my good night's sleep? How can I go to bed without reading about my favorite blorbos?

ohdeargodno•1h ago
Real ones use bookmarks to find them ag- ah, shit.

Real ones back them up in a single .txt file

rsynnott•10m ago
I mean I’d assume they went for a 64bit integer. In a few million years, people who are into weird porn about whatever the temporally local equivalent of Harry Styles is (probably some sort of robot) will once again be mildly inconvenienced.
madaxe_again•3h 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•3h 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.
hinkley•35m ago
Meanwhile if I keep reminding people where the wall is and how fast we are approaching it I’m considered “negative”. That”s the real reason this stuff happens. If someone noticed, the got tired of harping on it and without the constant barrage everyone else immediately let it go out of sight, out of mind.
ohdeargodno•2h ago
Ao3 doesn't have a dude getting slack alerts by a dozen monitoring agents. It's one of the last holdouts of the old, more personal internet. Hell, it's even certain that they forgot or even didn't know that the type was an unsigned int.

And that's perfect. Blame the wall too, because it was running just fine. It's a site to write (mostly porn), with better uptime and more daily users than most of the companies posted on HN daily.

camel-cdr•2h ago
I wasn't sure what the percentage of porn is, so I counted the number of works for each maturity rating:

    4,247,583: Teen And Up Audiences
    4,173,082: General Audiences
    2,816,083: Explicit
    2,271,446: Mature
    1,676,061: Not Rated
Groxx•3h 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•3h ago
For anyone who feels like looking up exactly what this bookmark was pointing to: I did, and very much wish I hadn't!
eknkc•2h ago
What in the name of fuck
nikanj•1h ago
I know I'll regret this, but how do you navigate to bookmark by column id?
camel-cdr•1h ago
The link is in the reddit comments.

It's Dead Dove though.

nikanj•36m ago
Oh my. Well, today I've learned something new about gen z and the internet
rsynnott•12m ago
AO3 is nearly 20 years old, and I think it was mostly LiveJornal refugees anyway. This is one that you very much can’t pin on gen-z.
Sharlin•34m ago
Translated from fanfic to English: "a warning tag that signifies the story contains potentially disturbing or morally questionable content."
zerocrates•3h 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.

adamcharnock•2h ago
An interesting idea! I suspect a major speed up would come from the fact that the column is staying the same size. So (I assume) far fewer bytes would need to be moved around.
p0w3n3d•3h ago
Hacker News helps me everyday break my information bubble. Archive Of Our Own is something that I wouldn't walk into when wandering through the internet
chii•2h ago
> I wouldn't walk into when wandering through the internet

it's interesting that some people are on the internet but is very well insulated! AO3 is very well known for me...

parlortricks•2h ago
this is the first i've heard of it
diggan•1h ago
> it's interesting that some people are on the internet but is very well insulated

Not sure I'd call it "insulated", the internet is just very, very vast, even when considering "just" the English-speaking web. Then you have all the other "versions" out there too that are kind of hidden to most people :)

Anecdotal, but also first time I heard about AO3, and I'd consider myself having broad interests and generally well-read, although my interests doesn't include fanfiction so maybe not so weird I haven't heard about it before.

jorvi•51m ago
Its very much a gendered thing. If you have lots of female (online) friends and late night topics with them ended up trending spicy, you might hear of AO3.

FWIW the vast majority of writing on there is decidedly mediocre. There is also an even more inferior alternative called Wattpad.

Funnily enough you learn that in general we aren't all that different in our tastes, it's just that what men like to watch, women like to read / imagine.

Edit: to paint the picture, this[0] was sent to me a while back :-)

[0]https://www.tiktok.com/@alexarowe11/video/746846214634761757...

diggan•20m ago
The world of "spicy reading" isn't new to me (male), or even the fan fiction part of it, just that website in particular.

I don't think it's as gendered as you paint it, but I'd also acknowledge it depends a lot on geographic location, probably looks different where I am compared to where you are, I agree with that we probably aren't all that different in tastes in general :)

Sharlin•36m ago
I’d say AO3 is the insulated part.

Having been an active internet user for longer than most AO3 users have been alive, the first time I heard about it was a few years ago in a student radio show about the fanfic genre and culture. Poorly written smut featuring popular culture characters has just never been my thing. Probably because I’m not that much of a fan of any given fictional setting or franchise.

olivermuty•1h ago
Uh, the bookmark that broke it all was to a part of the internet I have yet to experience since getting online some 30 years ago. Alphas and betas and omegas, it was a wild ride.