frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Our position on open-weights models

https://www.anthropic.com/news/position-open-weights-models
338•surprisetalk•2h ago•434 comments

DConf 2026 in London

https://dconf.org/2026/index.html
28•teleforce•1h ago•4 comments

Benchmarking Opus 5 on SlopCodeBench

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
49•dhorthy•1h ago•10 comments

Watching Go's new garbage collector move through the heap

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
158•matheusmoreira•2d ago•16 comments

C/C++ projects packaged for Zig

https://github.com/allyourcodebase
17•jcbhmr•1h ago•4 comments

Launch HN: Rise Reforming (YC S26) – Turning Waste Gases into Valuable Chemicals

https://www.rise-reforming.com
56•george_rose25•4h ago•19 comments

Show HN: Dowe – A full-stack language for server, web, desktop, Android, and iOS

https://www.dowe.dev
11•victorriba•50m ago•10 comments

Hard Road – A beautiful procedural post-apocalyptic game

https://hardroad.xyz/
18•getbutterfly•1h ago•4 comments

Securing Services with Rootless Containers

https://blog.coderspirit.xyz/blog/2026/07/06/securing-services-with-rootless-containers/
53•speckx•4d ago•18 comments

Self-contained highly-portable Python distributions

https://gregoryszorc.com/docs/python-build-standalone/main/
105•jcbhmr•5h ago•20 comments

Glue bonds to nonstick surfaces and wipes clean with ethanol

https://cen.acs.org/materials/adhesives/glue-bonds-nonstick-surfaces-wipes-clean/104/web/2026/07
145•gmays•4d ago•78 comments

Samsung reveals Galaxy Z Fold 8 that will compete with the iPhone Ultra

https://mashable.com/tech/samsung-galaxy-z-fold-8-launch-price-specifications
9•teleforce•5d ago•3 comments

Netflix employee fired for sharing personal details in retreat trust exercise

https://www.inc.com/amaya-nichole/netflix-company-retreat-sparked-lawsuit-experts-say-real-damage...
60•softwaredoug•55m ago•19 comments

Ray tracing massive amounts of animated geometry using tetrahedral cages

https://gpuopen.com/learn/ray-tracing-massive-amounts-animated-geometry/
62•LorenDB•4d ago•7 comments

The computer that helped win World War II

https://spectrum.ieee.org/colossus-computer-ieee-milestone
165•baruchel•5d ago•69 comments

Judge Rejects Google's Attempt to DMCA Its Way Out of Being Scraped

https://www.techdirt.com/2026/07/27/judge-rejects-googles-attempt-to-dmca-its-way-out-of-being-sc...
241•cdrnsf•6h ago•92 comments

Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interact...
219•Ralfp•14h ago•155 comments

Show HN: FeyNoBg – Automatic background removal model and training library

https://usefeyn.com/blog/feynobg/
84•snyy•7h ago•21 comments

Exploiting Volvo/Eicher's fleet platform to gain control over all users/vehicles

https://eaton-works.com/2026/07/27/my-eicher-hack/
128•EatonZ•9h ago•41 comments

UpCodes (YC S17) is hiring remote AE's to help make buildings cheaper

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•7h ago

Paged Out #9 [pdf]

https://pagedout.institute/download/PagedOut_009.pdf
168•laurensr•9h ago•20 comments

Bytecode-to-Source Mapping

https://tidefield.dev/bytecode-to-source-mapping/
34•evakhoury•5h ago•2 comments

Colorblind: Checking figure accessibility for colour blind people

https://quantixed.org/2022/05/19/colorblind-checking-figure-accessibility-for-colour-blind-people/
10•sebg•4d ago•6 comments

MAI-Cyber-1-Flash inside MDASH

https://microsoft.ai/news/introducing-mai-cyber-1-flash-inside-mdash/
212•migmartri•7h ago•108 comments

Libsm64: Mario 64 as a library for use in external game engines

https://github.com/libsm64/libsm64
180•klaussilveira•14h ago•21 comments

Forth

https://xkcd.com/3277/
87•beardyw•4h ago•19 comments

How real are real numbers? (2004)

https://arxiv.org/abs/math/0411418
47•surprisetalk•8h ago•35 comments

A missing underscore sent innocent man to prison for 18 months

https://arstechnica.com/tech-policy/2026/07/police-missed-one-underscore-and-sent-the-wrong-man-t...
89•quantified•2h ago•60 comments

Tokio Gives Progress, Not Ordering: Scheduling 1M Tasks

https://pranitha.dev/posts/tokio-gives-progress-not-ordering/
45•pranitha_m•9h ago•2 comments

VLC for Unity now supported on Linux

https://code.videolan.org/videolan/vlc-unity
148•martz•15h ago•45 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.