Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. We've created the first vectorized Quicksort(googleblog.com ↗)
    10comments
  2. Small Programming Tricks(will-keleher.com ↗)
    116comments
  3. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    41comments
  4. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    discuss
  5. Mistral X Mozilla: Private, Multilingual AI Browsing(mistral.ai ↗)
    161comments
  6. Tell the speakers that you liked their talks(ohhelloana.blog ↗)
    50comments
  7. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    226comments
  8. GitHub Is Having Trouble Counting Things(chuckgreenman.com ↗)
    10comments
  9. The Siberian Ice Maiden and the Scythian World(patrickwyman.substack.com ↗)
    discuss
  10. How big are factorials?(thegreenplace.net ↗)
    17comments
  11. Learning Programming in an Age of LLMs(ploeh.dk ↗)
    143comments
  12. Claude Cowork and chat are now one Claude(claude.com ↗)
    148comments
  13. The DeepMind Institute(deepmind.com ↗)
    20comments
  14. Hackers Got Inside a Flock Camera(wired.com ↗)
    171comments
  15. The Google Play app review process now regularly takes longer than a week(gultsch.social ↗)
    287comments
  16. Can we stop with the uptime percentages?(jim-nielsen.com ↗)
    75comments
  17. ER visits for gambling disorders doubled after expanded online gambling market(utoronto.ca ↗)
    62comments
  18. 145 Days of Uptime, 56 TiB of Traffic, One Debian Upgrade(sarah-robin.com ↗)
    discuss
  19. Show HN: How Stale Is Your AI? Release age and training cutoff for 20 models(stale.jock.pl ↗)
    38comments
  20. Kyber (YC W23) Is Hiring a Forward Deployed Engineer(ycombinator.com ↗)
    discuss
  21. Salesforce Global Outage(salesforce.com ↗)
    147comments
  22. Anatomy of a Texture(agentlien.github.io ↗)
    9comments
  23. A warning about 'model welfare'(mustafa-suleyman.ai ↗)
    271comments
  24. This Code Is CRAP (2011)(googleblog.com ↗)
    41comments
  25. Scaling Golang CI by Replacing actions/setup-go(cloudx.ai ↗)
    16comments
  26. Fed hikes rates as inflation worries push up bond yields(reuters.com ↗)
    1comments
  27. Original Sony PlayStation 2 security chip 'broken wide open' after 26 years(tomshardware.com ↗)
    63comments
  28. Show HN: I made a flight simulator, except you're just a passenger(inflightsimulator.com ↗)
    194comments
  29. Introducing System One Models and Jev(typesafe.ai ↗)
    468comments
  30. Why I'm still bearish on LLMs after Navier-Stokes(dank.systems ↗)
    554comments

Prisma's pgbouncer=true on Supabase made every query 4 round-trips (postmortem)

8 pointsby 1d agoblog.simbastack.com
10 comments
1h agoHN ↗

"The crash is the short story; the slowness is the one worth writing down."

The horror.

I'd rather read a "badly written" and to the point story, than a clone of the last 20 postmortem-ish/incredible discovery stories I've seen this week.

1h agoHN ↗

"The uncomfortable part is that the fix already existed. Claude Code, Anthropic's command-line coding agent".

It sounds like there could be something extremely interesting in this article, but the writing style is really off-putting.

"on staging first and then on production at 23:40"

Why does the reader need to know the exact minute-to-minute timeline?

1h agoHN ↗

That's how postmortems have been written for ages.

1h agoHN ↗

It'd be great if it were written as a postmortem, but seems like that's almost the only moment where a concrete hour is mentioned. Except for the screenshot footnote.

1h agoHN ↗

I tried to read this article but something about the writing style made me go cross eyed. That being said, it sounded like something I had heard before and lo and behold...

Literally raised 4 years ago: https://github.com/prisma/orm/discussions/15164

I'm not sure the real intention of this blogpost, but my takeaway is "someone who has no idea what is going on finds a problem <LLM OF CHOICE> left for them, like a little code land mine".

1h agoHN ↗

I mean, the real takeaway is they’re using Prisma 5. That reached EOL years ago, we’re on Prisma 8 now

1h agoHN ↗

Who found it

I didn't. I gave Claude Code the guest's screenshot and asked whether the problem was ours or his phone's. It answered that in twenty minutes and, while verifying the deploy, noticed the ten-second floor and kept pulling: the logs by hour, the 47 ms TCP measurement, the pg_stat_statements query, the arithmetic.

If your brain, dear reader, is aneurysm-proof, by all means go ahead and read TFA.

You won't learn much, though, but then again neither did its author.

1h agoHN ↗

The crash and the slowness turned out to be unrelated. The crash is the short story; the slowness is the one worth writing down.

And that's not slop, it's the real smoking load bearing foot gun.

52m agoHN ↗

To the author:

First of all, you still have the images problem (among others). Loading your home site takes around 60MB of downloads, including the autoloading 40MB MP4 file. Reduce resolution and compress. You don't need a phone to reproduce that, you just need to open your web browser development tools and reload the site to see how heavy is it. Also, the memory use calculation is off, but that's not important because probably an LLM did it.

Second, your API in karibukit.com is down

Don't rely that much in the LLM. Check things with your own eyes.