frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why isn't the industry freaking out about DeepSeek 4.1 Flash?

https://www.dgt.is/blog/2026-10-07-deepseek-freek-out/
765•jonotime•1d ago•638 comments

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
766•gmays•17h ago•152 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
34•nreece•4h ago•10 comments

Keyboard differences between Windows and Macs

https://unsung.aresluna.org/deeper-dive-keyboard-differences-between-windows-and-macs/
144•sohkamyung•6h ago•136 comments

Man discovers his parents' coffee machine used 1TB of data in 10 days

https://www.dexerto.com/entertainment/man-discovers-his-parents-coffee-machine-used-1tb-of-data-i...
698•ck2•1d ago•424 comments

I hired an illustrator to draw my house. Now it's my Home Assistant dashboard

https://antonfrolov.substack.com/p/i-hired-an-illustrator-to-draw-my
642•soheilpro•2d ago•123 comments

Theranos.world

https://www.theranos.world/
449•kbyatnal•16h ago•154 comments

Yes, and

https://htmx.org/essays/yes-and/
438•Michelangelo11•1d ago•144 comments

OTel-Native by Design – Building Products That Export to Any Observability Stack

https://opentelemetry.io/blog/2026/otel-native-by-design/
44•dhruv_ahuja•3h ago•7 comments

The value of not getting to the point (2015)

https://ken.arneson.name/2015/11/the-value-of-not-getting-to-the-point/
166•NaOH•14h ago•56 comments

Show HN: Quake ported to safe Rust, playable in browser

https://quake-srp.pages.dev/
160•ilreb•4h ago•129 comments

OpenAI, the Partition Principle, and Mathematics

https://karagila.org/2026/openai-pp/
121•md224•10h ago•178 comments

AI-ready biological data: $1.8B global commitment

https://biohub.org/news/virtual-biology-initiative-expansion/
124•ray__•13h ago•18 comments

Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?

234•mariocesar•2d ago•371 comments

ETH-68: Ethernet Audio Interface for Linux

https://naturalsystems.io/eth68
159•chabad360•1d ago•88 comments

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
303•speckx•20h ago•161 comments

DuckDB Ducklake

https://github.com/duckdb/ducklake
181•saikatsg•1d ago•23 comments

A Terminal Protocol for Program Status (OSC 7501)

https://mitchellh.com/writing/program-status-osc7501
150•mfiguiere•2d ago•47 comments

Show HN: Making a flexible "neon" t-shirt with LED filaments

http://scottbezek.blogspot.com/2026/10/making-flexible-neon-t-shirt-with-leds.html
167•scottbez1•17h ago•30 comments

A 5.3M-year-old deep-sea whale necropolis in the Diamantina Zone

https://www.nature.com/articles/s41586-026-10546-z
134•bryanrasmussen•1d ago•10 comments

What should we tell our students?

https://terrytao.wordpress.com/2026/10/08/what-should-we-tell-our-students/
114•sajid•7h ago•136 comments

Show HN: OldRoll, a free vintage photo editor for the browser

https://www.oldroll.io/
8•awa11•3h ago•1 comments

Step 5 Preview, a 1M-context MoE from StepFun, shows up on OpenRouter

https://openrouter.ai/stepfun/step-5-preview
127•AnneWodell•17h ago•31 comments

OpenAI withdraws three mathematical results

https://twitter.com/danintheory/status/2108065033070789090
313•sashank_1509•1d ago•575 comments

ADHD as a circadian rhythm disorder: evidence and implications for chronotherapy (2025)

https://www.frontiersin.org/journals/psychiatry/articles/10.3389/fpsyt.2025.1697900/full
301•bookofjoe•13h ago•194 comments

Reducing undefined behavior in the C language

https://lwn.net/Articles/1095811/
114•signa11•7h ago•108 comments

South Africa's Navanethem 'Navi' Pillay Wins 2026 Nobel Peace Prize

https://www.france24.com/en/europe/20261009-south-africa-s-navanethem-navi-pillay-wins-2026-nobel...
13•abdullahalharir•56m ago•5 comments

Bevy 0.20

https://bevy.org/news/bevy-0-20/
171•Philpax•11h ago•34 comments

I think I found a planet nobody knew existed. I used Claude Code to find it

https://www.reddit.com/r/ClaudeAI/s/mbe5IY2LF9
181•pyduan•1d ago•70 comments

Archaeologists Are Reconstructing the 'Invisible' Technologies of the Stone Age

https://www.smithsonianmag.com/science-nature/archaeologists-are-reconstructing-the-invisible-tec...
133•Hooke•1d ago•55 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.