frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Fixrleak: Fixing Java Resource Leaks with GenAI

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

Comments

stevoski•7mo 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•7mo 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•7mo 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_•7mo ago
Spotbugs or checkstyle etc... would catch these. What does AI add here?
xyst•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
stupid af
Traubenfuchs•7mo 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•7mo 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•7mo ago
Can the QA team? How does the dev/staging environment help writing less buggy code?
rad_gruchalski•7mo ago
But can you leetcode heh.
TYMorningCoffee•7mo 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.

Ireland’s Diarmuid Early wins world Microsoft Excel title

https://www.bbc.com/news/articles/cj4qzgvxxgvo
133•1659447091•3h ago•45 comments

Backing Up Spotify

https://annas-archive.li/blog/backing-up-spotify.html
501•vitplister•4h ago•184 comments

Pure Silicon Demo Coding: No CPU, No Memory, Just 4k Gates

https://www.a1k0n.net/2025/12/19/tiny-tapeout-demo.html
247•a1k0n•6h ago•38 comments

Anthropic: You can't change your Claude account email address

https://support.claude.com/en/articles/8452276-how-do-i-change-the-email-address-associated-with-...
46•behnamoh•1h ago•36 comments

Log level 'error' should mean that something needs to be fixed

https://utcc.utoronto.ca/~cks/space/blog/programming/ErrorsShouldRequireFixing
273•todsacerdoti•3d ago•181 comments

Big GPUs don't need big PCs

https://www.jeffgeerling.com/blog/2025/big-gpus-dont-need-big-pcs
101•mikece•5h ago•37 comments

Go ahead, self-host Postgres

https://pierce.dev/notes/go-ahead-self-host-postgres#user-content-fn-1
375•pavel_lishin•7h ago•250 comments

Claude in Chrome

https://claude.com/chrome
16•ianrahman•1h ago•8 comments

I spent a week without IPv4 (2023)

https://www.apalrd.net/posts/2023/network_ipv6/
91•mahirsaid•4h ago•140 comments

Jmail: Google Suite for Jeffrey Epstein's files

https://www.jmail.world
21•dvrp•2h ago•9 comments

Gemini 3 Pro vs. 2.5 Pro in Pokemon Crystal

https://blog.jcz.dev/gemini-3-pro-vs-25-pro-in-pokemon-crystal
239•alphabetting•4d ago•66 comments

MIRA – An open-source persistent AI entity with memory

https://github.com/taylorsatula/mira-OSS
25•taylorsatula•2h ago•9 comments

I wrote a code editor in C and now I'm a changed man

https://github.com/thisismars-x/light
10•birdculture•47m ago•2 comments

OpenSCAD is kinda neat

https://nuxx.net/blog/2025/12/20/openscad-is-kinda-neat/
170•c0nsumer•5h ago•130 comments

Show HN: HN Wrapped 2025 - an LLM reviews your year on HN

https://hn-wrapped.kadoa.com?year=2025
84•hubraumhugo•9h ago•48 comments

Depot (YC W23) Is Hiring an Enterprise Support Engineer (Remote/US)

https://www.ycombinator.com/companies/depot/jobs/jhGxVjO-enterprise-support-engineer
1•jacobwg•5h ago

Italian bears living near villages have evolved to be smaller and less agressive

https://phys.org/news/2025-12-italian-villages-evolved-smaller-aggressive.html
15•wjSgoWPm5bWAhXB•5d ago•2 comments

NTP at NIST Boulder Has Lost Power

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/message/ACADD3NKOG2QRWZ56OSNNG7UIEKKT...
408•lpage•15h ago•185 comments

Biscuit is a specialized PostgreSQL index for fast pattern matching LIKE queries

https://github.com/CrystallineCore/Biscuit
46•eatonphil•4d ago•8 comments

Immersa: Open-source Web-based 3D Presentation Tool

https://github.com/ertugrulcetin/immersa
122•simonpure•9h ago•19 comments

X-59 3D Printing

https://www.nasa.gov/stem-content/x-59-3d-printing/
33•Jsebast24•4d ago•3 comments

You have reached the end of the internet (2006)

https://hmpg.net/
68•raytopia•5h ago•13 comments

Why do people leave comments on OpenBenches?

https://shkspr.mobi/blog/2025/12/why-do-people-leave-comments-on-openbenches/
73•sedboyz•7h ago•3 comments

Over 40% of deceased drivers in vehicle crashes test positive for THC: Study

https://www.facs.org/media-center/press-releases/2025/over-40-of-deceased-drivers-in-motor-vehicl...
155•bookofjoe•7h ago•259 comments

Skills Officially Comes to Codex

https://developers.openai.com/codex/skills/
225•rochansinha•15h ago•117 comments

Approaching 50 Years of String Theory

https://www.math.columbia.edu/~woit/wordpress/?p=15401
36•jjgreen•9h ago•70 comments

The Graffiti Question

https://www.guernicamag.com/the-graffiti-question/
13•bryanrasmussen•5d ago•16 comments

CSS Grid Lanes

https://webkit.org/blog/17660/introducing-css-grid-lanes/
698•frizlab•1d ago•211 comments

Mathematicians don't care about foundations (2022)

https://matteocapucci.wordpress.com/2022/12/21/mathematicians-dont-care-about-foundations/
31•scrivanodev•4h ago•23 comments

TailwindSQL – Like TailwindCSS, but for SQL queries in React Server components

https://github.com/mmarinovic/tailwindsql
35•ravenical•9h ago•47 comments