frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

StreetComplete: Fixing OpenStreetMap, one tiny quest at a time

https://streetcomplete.app/
461•kls0e•6h ago•107 comments

Amazon without the knockoffs

https://knockoff.shopping/
179•plurby•3h ago•118 comments

30papers.com – Ilya's 30 essential ML papers, in a beginner friendly format

https://30papers.com/
110•notmcrowley•2h ago•19 comments

A better way to tie gym shorts (or any drawstring) [video]

https://www.youtube.com/watch?v=3R0Lp86GEBk
336•surprisetalk•5h ago•125 comments

Chat Control 1.0 and 2.0 Explained

https://fightchatcontrol.eu/chat-control-overview
113•gasull•4h ago•10 comments

Jim's TrueType QR Code Font

https://github.com/jimparis/qr-font
44•arantius•2h ago•3 comments

MacSurf 1.68 – NetSurf on OS 9 Released

https://github.com/mplsllc/macsurf/releases/tag/v1.86
34•mplsllc•2h ago•3 comments

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
40•levkk•3h ago•6 comments

Computational Balloon Twisting: The Theory of Balloon Polyhedra [pdf]

https://cccg.ca/proceedings/2008/paper34full.pdf
10•luu•5d ago•0 comments

Chat Control passed first round in EU Parliament

https://www.heise.de/en/news/Showdown-in-Strasbourg-The-unexpected-return-of-Chat-Control-1-0-113...
345•miroljub•3h ago•148 comments

Microsoft fire idTech team at Id software

https://gamefromscratch.com/microsoft-fire-idtech-team-at-id-software/
317•bauc•3h ago•306 comments

The revenge of the philosophy majors

https://www.nytimes.com/2026/07/05/business/philosophy-majors-ai-jobs.html
80•benbreen•4h ago•111 comments

9 Mothers (YC P26) Is Hiring in Austin, TX

https://9mothers.com/careers
1•ukd1•6h ago

Automating AI Away

https://replicated.live/blog/away
35•gritzko•3h ago•17 comments

China sentences official to death for taking $325M in bribes

https://www.bbc.com/news/articles/c33y0n1v1xjo
99•randycupertino•2h ago•111 comments

Reducing Doom Loops with Final Token Preference Optimization

https://www.liquid.ai/blog/antidoom
14•dataminer•2h ago•3 comments

Show HN: PostgreSQL performance and cost across 23 EC2 instance types

https://postgres.saneengineer.com
69•anivan_•6h ago•11 comments

98% isn't much

https://whynothugo.nl/journal/2026/07/03/98-isnt-very-much/
376•speckx•5h ago•255 comments

Mapping homes you can buy from the US government for <$100k

https://govauctions.app/research/cheapest-homes-in-america
68•player_piano•1h ago•59 comments

A new runtime for k and q: l

https://lv1.sh/
3•skruger•34m ago•0 comments

GitHub Freno: cooperative, highly available throttler service

https://github.com/github/freno
17•nateb2022•1d ago•0 comments

The family keeping watch over a 52-year-old pot of soup

https://www.wsj.com/arts-culture/food-cooking/the-family-keeping-watch-over-a-52-year-old-pot-of-...
62•petethomas•6d ago•47 comments

Why skilled workers come to Germany and then leave again

https://www.dw.com/en/germany-migrants-skilled-workers-integration-labor-market-bureaucracy-langu...
52•theanonymousone•7h ago•103 comments

Software Bonkers

https://craigmod.com/essays/software_bonkers/
18•razin•3h ago•11 comments

C++ Details of Asymmetric Fences

https://nekrozqliphort.github.io/posts/membarrier/
51•anon_farmer•4d ago•4 comments

Europe's company websites are mostly served by US vendors

https://ciphercue.com/blog/european-web-hosting-vendor-share-2026
226•adulion•6h ago•158 comments

Better Auth is joining Vercel

https://better-auth.com/blog/better-auth-joins-vercel
99•sync•2h ago•66 comments

Dua Lipa opens library for banned and censored books in Portugal

https://www.euronews.com/culture/2026/06/29/dua-lipa-opens-library-for-banned-and-censored-books-...
236•pax•5h ago•189 comments

The Art of Computer Programming by Donald E. Knuth

https://www-cs-faculty.stanford.edu/~knuth/taocp.html
180•archargelod•13h ago•47 comments

New Literalism Comes for Museums

https://jaymollica.com/blog/new-literalism-comes-for-museums/
4•thebigship•1h ago•0 comments
Open in hackernews

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
37•levkk•3h ago

Comments

mmakeev•1h ago
we moved our django app behind pgbouncer transaction pooling a few days ago and the surprise wasn't SET so much as queryset.iterator(). it relies on server side cursors, which don't survive being pooled, so we had to disable it everywhere and let it fall back to client side. also had to move statement_timeout out of the app's connection options into the pooler's own connect query, since libpq startup params just get silently ignored behind it.
petters•52m ago
> Since connection poolers reuse connections between clients, the connection state of one client “leaks” into the connection state of another.

Wow this is very bad. This actually happens in typical Postgres setups?

vizzier•47m ago
by definition connection poolers re-use connections so it it can happen with any connection pooling setup, PG or no.

in pgbouncer the connection is reset via a customisable command [0] which should reset the connection to a clean state.

[0] https://www.pgbouncer.org/config.html#server_reset_query

llimllib•44m ago
Yes, as a consequence of how aggressively transparent to the postgres wire protocol pgbouncer wants to be. This article does a good job explaining it: https://www.augusteo.com/blog/how-pgbouncer-works
McGlockenshire•36m ago
You'll see this kind of fun in other databases that support "persistent connections." When you start up, you have absolutely no idea what the state of the database is. If a previous process errored out, you might find yourself in the middle of a broken transaction for example. Did the last session do some weird SET magic to make things work? Did it create temporary tables? Well guess what, it's all still there!
jauntywundrkind•24m ago
Clickhouse also just put out a fun article on scaling pgbouncer too, talking about scaling out so_reuseport while not having to shard so harshly (a major limitation pgdog here is addressing via rewrite), https://clickhouse.com/blog/pgbouncer-clickhouse-managed-pos... https://news.ycombinator.com/item?id=48814152