frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

DeepSeek search and fetch – $0.75 per 1000 successful requests

https://api-docs.deepseek.com/guides/search/
274•fagnerbrack•5h ago•124 comments

Parser Combinators

https://t3.at/blog/2026-10-17-parser-combinators/
59•schindlabua•4h ago•29 comments

Legal experts warn Meta's new terms still grant broad scraping permissions

https://www.niemanlab.org/2026/10/legal-experts-warn-metas-new-terms-still-grant-broad-scraping-p...
19•DeepLogin•2h ago•4 comments

How the Elizabeth Holmes documentary “You Can See Everything” is deceiving

https://www.readtheprofile.com/p/elizabeth-holmes-documentary-you-can-see-everything
173•MaysonL•9h ago•209 comments

Show HN: Sphinx – A hook that quizzes you on your AI's code before shipping

https://sphinx-six-theta.vercel.app/
160•critiquebrowser•7h ago•47 comments

Bleached corals thrive within days when touching healthy neighbour

https://www.nature.com/articles/d41586-026-03266-x
480•alkyon•1d ago•104 comments

Open MicroManipulator – A sub-micrometer 3D motion control plattform

https://github.com/0x23/MicroManipulatorStepper
8•_Microft•1h ago•1 comments

Teal – A statically-typed dialect of Lua

https://teal-language.org/
54•Lyngbakr•1d ago•18 comments

Lean now ships with verified kernels

https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-with-verified-kernels/
156•matt_d•2d ago•50 comments

Regex visualized as 3D marble run

https://www.regexmarblerun.com/
20•seizethecheese•1d ago•6 comments

DeepSeek-v4.1-Flash-1017

https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
888•theykk•1d ago•667 comments

Dam removals are bringing fish back across the northeastern United States

https://www.smithsonianmag.com/science-nature/dam-removals-are-bringing-fish-back-across-the-nort...
295•sohkamyung•1d ago•74 comments

Pele – Mermaid diagrams as themeable SVG

https://pele.run/
471•dchest•20h ago•41 comments

Furifont, a Japanese font that shows furigana

https://furifont.antfu.me/
361•plaguna•3d ago•75 comments

Southern ground hornbill gets 3D printed beak prostheses at Artis Zoo

https://nltimes.nl/2026/10/15/world-first-southern-ground-hornbill-gets-3d-printed-beak-prosthese...
42•jacquesm•2d ago•5 comments

Making chicken transparent using Dorito dust

https://chillphysicsenjoyer.substack.com/p/making-chicken-transparent-using
315•crescit_eundo•22h ago•82 comments

Interactive Linear Programming in the Browser

https://lpviz.net/
49•klamike•1d ago•0 comments

Kids are outsmarting social media bans. That's not a problem we need to solve

https://www.technologyreview.com/2026/10/16/1146834/kids-are-outsmarting-social-media-bans-thats-...
17•joozio•1h ago•17 comments

The Commodore 64 hardware simulator: break chips and pins, see the results

https://github.com/antirez/c64-hw-simulator
201•antirez•3d ago•32 comments

A History of Curves and Surfaces in Computer Aided Geometric Design [pdf]

https://math.pku.edu.cn/teachers/jiangm/courses/CG/Lectures/spline-history.pdf
3•mbustamanter•3d ago•0 comments

You could have invented transformers from memory

https://alexwang.ai/posts/associative-memory/
578•speckx•1d ago•129 comments

Lorenz and Little: How Much Does Your Tail Cost?

https://brooker.co.za/blog/2026/07/29/lorenz-and-little.html
5•porridgeraisin•3d ago•0 comments

Fun Extending the C Preprocessor

https://www.davidpriver.com/Fun-Extending-the-C-Preprocessor.html
31•david2ndaccount•2d ago•9 comments

NY announces game ownership bill requiring ownership rather than licensing

https://www.tomshardware.com/video-games/new-york-rep-announces-game-ownership-bill-that-would-re...
336•guiambros•12h ago•122 comments

Show HN: High-quality duck audio synthesizer

https://celphase.github.io/duck-pond/
146•celphase•23h ago•31 comments

Gold is now the top U.S. export

https://www.numismaticnews.net/gold-now-top-u-s-export
349•iamnothere•19h ago•193 comments

Superoptimizing an FPU Emulator

https://purplesyringa.moe/blog/superoptimizing-an-fpu-emulator/
36•dverlaeckt80•1d ago•6 comments

Custom server to revive neato bots

https://github.com/vacuula/vacuula
52•matttah•3d ago•2 comments

Codex Desktop continuously generates Crashpad pending dumps

https://github.com/openai/codex/issues/25921
141•AIorNot•18h ago•66 comments

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

https://llmspeed.dev/
306•albinstman•1d ago•84 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.