frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU

https://www.neomindlabs.com/2026/06/08/running-gemma-4-26b-at-5-tokens-sec-on-a-13-year-old-xeon-...
106•neomindryan•2h ago•59 comments

Codex Micro

https://openai.com/supply/co-lab/work-louder/
77•davidbarker•2h ago•74 comments

Mysteries of Telegram Data Centers

https://dev.moe/en/3025
173•theanonymousone•5h ago•55 comments

Open-source memory for coding agents, synced over SSH

https://github.com/vshulcz/deja-vu/
52•vshulcz•2h ago•13 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
61•nonadhocproblem•2h ago•17 comments

Collection of Digital Clock Designs

https://clocks.dev
39•levmiseri•1h ago•11 comments

Launch HN: Coasty (YC S26) – An API for computer-use agents

https://coasty.ai/docs
20•nkov47•2h ago•0 comments

Stripe, Advent offer to buy PayPal for more than $53B

https://www.reuters.com/business/finance/stripe-advent-offer-buy-paypal-more-than-53-billion-sour...
51•rvz•14h ago•16 comments

Artie (YC S23) Is Hiring Software Engineers

https://jobs.ashbyhq.com/artie
1•tang8330•1h ago

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
821•vinhnx•15h ago•212 comments

Sleep regularity is a stronger predictor of mortality risk than sleep duration (2023)

https://academic.oup.com/sleep/article/47/1/zsad253/7280269
563•bilsbie•6h ago•276 comments

Towards a Harness That Can Do Anything

https://eardatasci.github.io/c/ambiance/index.html
98•evakhoury•4h ago•56 comments

My midlife crisis Corolla is fast, furious, and modded

https://www.zocalopublicsquare.org/my-midlife-crisis-corolla-fast-furious-fully-modded/
70•gmays•3h ago•142 comments

Prioritize mental health, and why communication is so important

https://ramones.dev/posts/mental-health/
204•ramon156•6h ago•127 comments

When A.I. Is a Member of the Family

https://www.newyorker.com/magazine/2026/07/20/when-ai-is-a-member-of-the-family
34•fortran77•2h ago•32 comments

The Memory Heist

https://www.ayush.digital/blog/the-memory-heist
48•eieio•22h ago•3 comments

A General Goal-Conditioned Minecraft Model

https://pantograph.com/journal/pan-1
17•agajews•1h ago•9 comments

OpenAI loses trademark dispute at EU court

https://dpa-international.com/economics/urn:newsml:dpa.com:20090101:260715-930-389143/
131•hermanzegerman•3h ago•104 comments

The Three-Second Theft: Why AI Voice Fraud Outruns Every Defence

https://smarterarticles.co.uk/the-three-second-theft-why-ai-voice-fraud-outruns-every-defence
125•dxs•5h ago•160 comments

The well-calibrated Bayesian [pdf] (1982)

https://fitelson.org/seminar/dawid.pdf
39•Murfalo•4h ago•12 comments

Unsolved Problems in MLOps

https://spawn-queue.acm.org/doi/pdf/10.1145/3762989
16•gnyeki•2h ago•3 comments

Today I Rescued 7,234 Old GIFs

https://danq.me/2026/07/10/rescuing-7234-gifs/
28•birdculture•2d ago•1 comments

The Conservationist Who Turned 40 Terabytes of Public Data into a Video Game

https://blog.exe.dev/meet-the-conservationist-who-turned-40-terabytes-of-government-data-into-a-v...
63•bryanmikaelian•1d ago•10 comments

Weathergotchi – an open-source climate Tamagotchi

https://github.com/Michael-Manning/E-Paper-Climate-Logger
94•luanmuniz•7h ago•22 comments

What designing 54 computer science cards taught me about graphic design

https://fhoehl.com/designing-algodeck
15•marukodo•2h ago•4 comments

FreeBSD 16 Retires the Last of Its GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
40•lr0•1h ago•1 comments

What Every Python Developer Should Know About the CPython ABI

https://labs.quansight.org/blog/python-abi-abi3t
33•matt_d•3d ago•4 comments

DEA to Temporarily Schedule 7-Oh and Related Substances to Protect Public Safety

https://www.dea.gov/press-releases/2026/07/01/dea-temporarily-schedule-7-oh-and-related-substance...
63•gnabgib•3h ago•125 comments

SpaceX bond worth 10% less than issue price – heading for junk bond status

https://www.ft.com/content/3a023b95-66c3-41e1-b0ce-df752a499541
473•youngtaff•5h ago•412 comments

What's the most popular number in Hacker News titles?

https://blog.omgmog.net/post/most-popular-numbers-in-hn-post-titles/
40•omgmog•5h ago•21 comments
Open in hackernews

Pglocks.org

https://pglocks.org/
80•hnasr•1y ago

Comments

whilenot-dev•1y ago
I'm a bit lost here.

Locking is a challenging problem in complex systems. Is this list to be interpreted as a "TODO: get rid of locking conflicts in future releases" or more a "NOTE: be aware there are known conflicts that will not change - find ways to work around them"?

EDIT: Also, is the creation of this list an automated or a manual effort?

tux3•1y ago
I think this is intended as educational material, not a list of things to fix.

The locks are here by necessity, it is not so easy at all to get rid of them. And even in special cases where it is possible, the complexity you have to introduce is not to be taken lightly...

If even a tenth of these disapppeared, it would be incredible, in a very surprising way.

atombender•1y ago
The creator looks like a developer and teacher, not a Postgres core team member. So I assume this is for documentation purposes.

I actually like this a lot, as there isn't a single place in the Postgres documentation that lists all the possible locks; it's spread out all over. Having a quick reference for what kinds of commands you'd be blocking with your transaction is valuable.

It's pretty evident that the pages have been programmatically generated, but I'd love know what it's generated from. I think you can derive this information from the documentation, but not sure if you can do it in an automated way without an LLM.

braiamp•1y ago
> there isn't a single place in the Postgres documentation that lists all the possible locks

Did you read this page? https://www.postgresql.org/docs/current/explicit-locking.htm...

atombender•1y ago
That's a great page, but it has several issues.

First, it isn't complete; as I said, the locking behaviour is spread out all over the Postgres documentation. For example, that page doesn't list what locks DROP INDEX takes. To find that out, you have to go to the documentation page for that command and read it carefully. In fact, really carefully — the locking behaviour is only documented under the section about CONCURRENTLY.

The page also doesn't list what possible commands are then blocked. Locks interact in subtle (and incorrectly named!) ways that are explained in the tables on that page ("Conflicting lock modes"), so to understand if something will block something else you have to look at the two commands you are curious about and then look at how their locks interact.

gulcin_xata•1y ago
I agree, it is not so straightforward to find out.
braiamp•1y ago
These are database locks, which means that depending which arrives first, the later transaction has to wait till the first one finishes to complete. These locks are about SQL commands and which commands can run concurrently with the others. There's a graph here of how that looks like https://pankrat.github.io/2015/django-migrations-without-dow...

Usually for maximum performance (minimum latency, maximum throughput) you want to have operations not lock each other, unless absolutely necessary, in which case you want them to be short.

whilenot-dev•1y ago
You make it sound like the conflict is just affecting performance and won't result in a deadlock. So it's for performance aware postgres clients/users, and not for postgres developers?
andyferris•1y ago
It is a guide for developers using postgres as a client, who need to write systems that don't deadlock, are performant and are correct. These are the (rather sharp) tools that postgres provides for doing so (or else you can use e.g. serializable isolation and optimistic concurrency, but in my experience that has too many false positives and bail out rather eagerly, whereas these tools let you be very precise and granular).
mebcitto•1y ago
Other relevant talks/blogs that I found really useful for understanding Postgres locks are:

* Unlocking the Postgres Lock Manager by Bruce Momjian: https://momjian.us/main/writings/pgsql/locking.pdf

* Anatomy of table-level locks by Gulcin Yildirim Jelinek: https://xata.io/blog/anatomy-of-locks

pasxizeis•1y ago
Shameless plug: I wrote a tool[1] that executes a given migration against a test database (e.g. in your CI) and reports back what locks it acquired.

The rationale being to have a "lock diagnostics report" commented in your PR's migration file.

It's a prototype and has a few rough edges and missing functionality, but feedback is more than welcome.

[1] https://github.com/agis/pglockanalyze

jononor•1y ago
Very practical! Locking is one of the things that can really bite when doing migrations.