frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The end of Microsoft Research's AI Frontiers group

https://hunch.net/?p=13764006
280•srean•4h ago•159 comments

What I run on my $10 USD OpenStick homelab

https://blog.bosscher.ch/posts/openstick/
226•LaurensBER•4h ago•49 comments

Apple’s grey list: Words and phrases your iPhone won’t help you spell

https://www.theguardian.com/technology/2026/nov/06/struggling-to-spell-male-chauvinist-pig-apple-...
271•user_7832•5h ago•179 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
159•hedgerow-dev•5h ago•34 comments

MaxxBench – "Nice DeepSWE score. But is it true?"

https://maxxbench.unlap.ai/research/why-maxxbench/
143•antiuniverse•5h ago•35 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
726•fluxusars•13h ago•212 comments

Retro Song Bird: Plug in any Game Boy cartridge to hear the soundtrack

https://www.retrosongbird.com/
16•hentrep•7h ago•2 comments

Five memorable books about programming (2008)

https://prog21.dadgum.com/19.html
64•andsoitis•5h ago•38 comments

The $8 Linux Computer (2022)

http://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer.html
183•zenincognito•8h ago•81 comments

Uranium cubes reveal why the German nuclear project failed

https://arstechnica.com/science/2026/11/uranium-cubes-reveal-why-the-german-nuclear-project-failed/
23•rbanffy•2d ago•2 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
543•infwhispers•12h ago•318 comments

Shadow of the Sun

https://mattlakeman.org/2021/07/27/shadow-of-the-sun/
10•andsoitis•1h ago•2 comments

Show HN: Where Were We

https://wherewerewe.app/
17•zkiihne•1h ago•7 comments

GeoWorks, Microsoft Windows' Upstart '90s Competitor (2016)

https://www.atlasobscura.com/articles/the-history-of-geoworks-microsoft-windows-upstart-90s-compe...
32•andsoitis•4h ago•8 comments

Show HN: An offline desktop companion to help maintain a healthy blink rhythm

https://eyesrhythm.com/
6•prnysoni•51m ago•0 comments

How Long Can Life Wait?

https://mceglowski.substack.com/p/how-long-can-life-wait
105•Ariarule•6h ago•59 comments

Text.js: Build full-stack React apps that render inside console.log

https://textjs.org/
74•nateb2022•3d ago•41 comments

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
1004•mfiguiere•23h ago•175 comments

Every processor die anyone has photographed and given away

https://sheets.works/data-viz/cpu-dies
60•user_7832•6h ago•13 comments

Every Windows 11 app should kill Electron, and Discord just showed why

https://www.windowslatest.com/2026/11/06/every-windows-11-app-should-kill-electron-and-discord-ju...
164•thunderbong•11h ago•173 comments

Terry Pratchett's Study

https://www.sussi.dk/terry-pratchetts-study
74•ColinWright•6h ago•16 comments

MeccanicOS

https://meccanicos.com/
5•tomcam•1h ago•0 comments

Running a law firm on Free software

https://decoded.legal/blog/2026/11/running-a-law-firm-on-free-software-2026-edition/
215•DeepLogin•12h ago•98 comments

Asahi Linux Progress Linux 7.3

https://asahilinux.org/2026/11/progress-report-7-3/
286•ackyshake•17h ago•232 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
196•benbreen•17h ago•180 comments

The typo generation is damaging literature

https://www.metropolitanreview.org/p/the-typo-generation-is-damaging-literature
50•bryanrasmussen•3d ago•70 comments

Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8

https://github.com/Video-Rebirth/hyperflow-h3-flash
48•jiant•7h ago•10 comments

Yes, You Can Pass a Nuclear Missile Driving on Interstate 80 Through Wyoming

https://cowboystatedaily.com/2026/11/04/yes-you-can-pass-a-nuclear-missile-driving-on-interstate-...
43•Bender•2d ago•23 comments

They don't make 'em like that any more: Borland Turbo Pascal 7

https://kevinboone.me/tpwin.html
178•andsoitis•6h ago•97 comments

We know 15k websites are infected. how do we tell them?

https://scotthelme.co.uk/we-know-15-579-websites-are-infected-how-do-we-tell-them/
178•speckx•1d ago•147 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.