frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Coccinelle: The Linux kernel's source-to-source transformation tool

https://github.com/coccinelle/coccinelle
24•anon111332142•4h ago

Comments

conartist6•1h ago
I forgot about Coccinelle.

I think semantic patching is an idea whose time has come though. I'm making a more modern set of tools for source-to-source transformation that will work with any desired languages as the input and output.

fweimer•1h ago
Those tools exist, but you have to pay by the token. I'm not sure if they scale financially to large code bases such as the Linux kernel. They are far more accessible than Coccinelle or Perl, though.
eqvinox•48m ago
Honestly, I rather use Coccinelle, where I understand exactly what it does, when it does it and why it does it…
eqvinox•49m ago
It's a bit of a disservice to call it "The Linux kernel's"; it's its own project that just happens to be used on the Linux kernel quite a bit. It doesn't originate there or belong to the kernel or anything like that.
twic•23m ago
According to https://coccinelle.gitlabpages.inria.fr/website/ce.html :

> Nevertheless, detecting the holding of locks requires a careful and occasionally interprocedural analysis of the source code, and the other conditions, such as "in a completion handler", are not formally defined and require study of multiple files.

> Due to the complexity of the conditions governing the choice of new argument for usb_submit_urb, 71 of the 158 calls to this function were initially transformed incorrectly to use GFP_KERNEL instead of GFP_ATOMIC.

Okay, but how does Coccinelle help? Is it able to do this careful and not formally defined analysis? Or does it automate the undifferentiated heavy lifting and so make it easier for humans to do it?

twic•22m ago
See also OpenRewrite:

https://github.com/openrewrite/rewrite

And i assume any large organisation running a monorepo has some vaguely equivalent tooling for making mass changes. Have any of them published about that?

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1633•LorenDB•18h ago•592 comments

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
166•ColinWright•5h ago•44 comments

Andrej Karpathy talks about "Claws"

https://simonwillison.net/2026/Feb/21/claws/
116•helloplanets•3h ago•153 comments

Turn Dependabot off

https://words.filippo.io/dependabot/
501•todsacerdoti•15h ago•142 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
653•toomuchtodo•17h ago•299 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
1170•npilk•18h ago•642 comments

Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI

https://github.com/ggml-org/llama.cpp/discussions/19759
754•lairv•23h ago•193 comments

Padlet (YC W13) Is Hiring in San Francisco and Singapore

https://padlet.jobs
1•coffeebite•51m ago

Wikipedia deprecates Archive.today, starts removing archive links

https://arstechnica.com/tech-policy/2026/02/wikipedia-bans-archive-today-after-site-executed-ddos...
471•nobody9999•18h ago•281 comments

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
19•ibobev•3d ago•2 comments

CERN rebuilt the original browser from 1989 (2019)

https://worldwideweb.cern.ch
191•tylerdane•13h ago•66 comments

Lean 4: How the theorem prover works and why it's the new competitive edge in AI

https://venturebeat.com/ai/lean4-how-the-theorem-prover-works-and-why-its-the-new-competitive-edg...
50•tesserato•3d ago•22 comments

Coccinelle: The Linux kernel's source-to-source transformation tool

https://github.com/coccinelle/coccinelle
24•anon111332142•4h ago•6 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
140•cratermoon•11h ago•48 comments

LibreOffice blasts OnlyOffice for working with Microsoft to lock users in

https://www.neowin.net/news/libreoffice-blasts-fake-open-source-onlyoffice-for-working-with-micro...
77•XzetaU8•3h ago•50 comments

Every company building your AI assistant is now an ad company

https://juno-labs.com/blogs/every-company-building-your-ai-assistant-is-an-ad-company
207•ajuhasz•17h ago•106 comments

Acme Weather

https://acmeweather.com/blog/introducing-acme-weather
78•cryptoz•5h ago•57 comments

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
18•letmutex•4d ago•15 comments

Over 80% of 16 to 24-year-olds would vote to rejoin the EU

https://www.itv.com/news/2026-02-19/over-80-of-16-to-24-year-olds-would-vote-to-rejoin-the-eu-itv...
12•saubeidl•1h ago•8 comments

Index, Count, Offset, Size

https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
99•ingve•3d ago•36 comments

When etcd crashes, check your disks first

https://nubificus.co.uk/blog/etcd/
14•_ananos_•5h ago•5 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
15•T-A•3h ago•11 comments

Blue light filters don't work – controlling total luminance is a better bet

https://www.neuroai.science/p/blue-light-filters-dont-work
178•pminimax•18h ago•187 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
756•sidnarsipur•1d ago•418 comments

OpenScan

https://openscan.eu/pages/scan-gallery
175•joebig•16h ago•13 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
105•gfortaine•11h ago•49 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
85•irasigman•15h ago•42 comments

24 Hour Fitness won't let you unsubscribe from marketing spam, so I fixed it

https://ahmedkaddoura.com/projects/24hf-unsubscribe
67•daem•4h ago•22 comments

AI uBlock Blacklist

https://github.com/alvi-se/ai-ublock-blacklist
8•rdmuser•4h ago•5 comments

Trump's global tariffs struck down by US Supreme Court

https://www.bbc.com/news/live/c0l9r67drg7t
1426•blackguardx•21h ago•1166 comments