frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PGSimCity - How PostgreSQL Works

https://nikolays.github.io/PGSimCity/
102•jonbaer•1h ago•16 comments

Decker, a platform that builds on the legacy of Hypercard and classic macOS

https://beyondloom.com/decker/
227•tosh•7h ago•55 comments

Show HN: Physically accurate black hole you can put in your room

https://blackhole.plav.in
31•aplavin•3d ago•6 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
79•zdw•5h ago•10 comments

I Championed Prediction Markets. Look What They've Become

https://newsletter.platypuseconomics.com/p/i-championed-prediction-markets-look
23•NomNew•1h ago•37 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
189•saaaaaam•8h ago•97 comments

Teaching Kids Forth

https://gracefulliberty.com/articles/teaching-kids-forth/
52•rbanffy•4h ago•16 comments

US citizen charged after GrapheneOS phone wipes during airport search

https://www.techspot.com/news/113236-us-prosecutors-charge-atlanta-man-after-grapheneos-phone.html
173•eecc•3h ago•107 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
112•tosh•7h ago•36 comments

Design is compromise

https://stephango.com/design-is-compromise
197•ankitg12•10h ago•74 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
364•rcy•14h ago•113 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
73•xterminal•6h ago•40 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
45•marc__1•5h ago•25 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
107•zeldone•10h ago•22 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
75•geneticdrifts•8h ago•41 comments

How to Block Some of the Bots

https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Some-Of-The-Bots/
82•Bender•7h ago•91 comments

How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster

https://astgrep.com/blog/tree-sitter-rust-rewrite
73•herrington_d•8h ago•11 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
180•AbuAssar•13h ago•39 comments

Fonts In Use – Find out where a font is used

https://fontsinuse.com/
14•open_•2h ago•0 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
22•jxmorris12•3d ago•1 comments

The relay market powering token resellers and fraud

https://vectoral.com/blog/token-relay-market
155•mlenhard•10h ago•93 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
145•mooreds•12h ago•45 comments

Show HN: Port Zero – how I learned to stop worrying and love PORT=0

https://portzero.net/
8•octopoc•2h ago•3 comments

How the Atmos clock functions

https://atmos-atelier.de/en/atmos-uhr/
6•r3trohack3r•1h ago•1 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
174•interfeco•3d ago•35 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
835•rapnie•14h ago•407 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
151•pompomsheep•13h ago•51 comments

Jimothy the raccoon has a rare spinal condition. Here's what that means

https://www.popsci.com/science/whats-jimothy-raccoon-condition/
101•speckx•5d ago•54 comments

Using sed to make indexes for books (1997)

https://www.pement.org/sed/make_indexes.txt
51•TMWNN•3d ago•9 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
163•sohkamyung•4d ago•34 comments
Open in hackernews

Fixrleak: Fixing Java Resource Leaks with GenAI

https://www.uber.com/blog/fixrleak-fixing-java-resource-leaks-with-genai/
17•carimura•1y ago

Comments

stevoski•1y ago
> “Resource leaks, where resources like files, database connections, or streams aren’t properly released after use, are a persistent issue in Java applications”

This was true maybe back in 2005. Java has had try-with-resources for a loooong time. As I see it this has been the dominant idiom for ages, for handling resources that might leak.

okr•1y ago
People tend to forget. Stream-API is a good candidate, that people like to not consider for leakage. If you don't own your stream, if you do not definitly know, that your stream comes from a collection, then ya better close it with a try-block.
bob778•1y ago
How much effort was spent automating this to fix 112 instances across Uber’s code base? I assume code reviews would catch any new issues so this seems like overkill for a small one-off task?
hawk_•1y ago
Spotbugs or checkstyle etc... would catch these. What does AI add here?
xyst•1y ago
It gives marketing team at Uber to say "wE uSe AI hErE!!1". C-levels approve since anything AI gets a nice pump.

Engineering wise. This adds nothing. It’s an absolute waste of compute and energy to run this through LLMs

sigotirandolas•1y ago
> This analysis ensures that FixrLeak skips functions where resources are passed as parameters, returned, or stored in fields, as these resources often outlive the function’s scope.

> FixrLeak delivers precise, reliable fixes while leaving more complex cases for advanced analysis at the caller level.

In other words, this will only fix trivial leaks, which are best seen as a language design issue and can be fixed by RAII, reference counting, etc.

It won't fix the more insidious leaks like `UNBOUNDED_QUEUE.add(item)` that are more likely to pass through code review in the first place.

xyst•1y ago
Using AI when a static scanner like SonarQube easily picks up these types of resource leaks, especially in Java.

Peak waste.

What’s next?

"Get rid of your GitHub dependabot alerts and replace it with my shitty ChatGPT wrapper”

rvz•1y ago
> Using AI when a static scanner like SonarQube easily picks up these types of resource leaks, especially in Java.

Exactly.

It's very disappointing to see that Uber engineers would rather trust an LLM to that claims to spot these issues when a battle-tested scanner such as SonarQube would have caught this in the first place.

The LLM hype-train is almost just as bad as the JavaScript hype train in the 2010s where some of the worst technologies are used on everything.

rvz•1y ago
Why exactly do you need LLMs for this when efficient alternatives like SonarQube or checkstyle already do this without the expensive waste LLMs create?

This adds little to no technical advantage over existing solutions what so ever for this particular use case.

yahoozoo•1y ago
stupid af
Traubenfuchs•1y ago
So you tell me those 200-600k software engineers that can easily solve leetcode hard are so incompetent they missed using try-with-resources at such scale, they needed to introduce new AI tooling to fix it?

Hey Uber, I am from the EU, I usually can‘t even solve leetcode medium but I will write you scalable, spotless Java for a third of the salary.

Our industry and its economics are a joke.

hello_moto•1y ago
So you write bug-free scalable code 100% in any jobs you ever worked for?

I guess we don’t need QA and Dev/Staging environment

rad_gruchalski•1y ago
Can the QA team? How does the dev/staging environment help writing less buggy code?
rad_gruchalski•1y ago
But can you leetcode heh.
TYMorningCoffee•1y ago
A lot of commenters point out that there already are many established static checkers that do this. That is not what Uber attempts here.

Uber is not proposing a static checker. They even use sonar qube in their architecture. They propose using an LLM to resolve the leak detected by sonar qube.