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•9mo ago

Comments

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

Shifts in U.S. Social Media Use, 2020–2024: Decline, Fragmentation, Polarization (2025)

https://arxiv.org/abs/2510.25417
79•vinnyglennon•1h ago•53 comments

Vouch

https://github.com/mitchellh/vouch
522•chwtutha•20h ago•232 comments

Reverse Engineering the Prom for the SGI O2

https://mattst88.com/blog/2026/02/08/Reverse_Engineering_the_PROM_for_the_SGI_O2/
21•mattst88•1h ago•4 comments

More Mac malware from Google search

https://eclecticlight.co/2026/01/30/more-malware-from-google-search/
44•kristianp•2h ago•12 comments

Apple XNU: Clutch Scheduler

https://github.com/apple-oss-distributions/xnu/blob/main/doc/scheduler/sched_clutch_edge.md
60•tosh•2h ago•6 comments

Roundcube Webmail: SVG feImage bypasses image blocking to track email opens

https://nullcathedral.com/posts/2026-02-08-roundcube-svg-feimage-remote-image-bypass/
90•nullcathedral•5h ago•20 comments

Ask HN: What are you working on? (February 2026)

29•david927•3h ago•77 comments

Toma (YC W24) Is Hiring Founding Engineers

https://www.ycombinator.com/companies/toma/jobs/oONUnCf-founding-engineer-ai-products
1•anthonykrivonos•57m ago

The Little Bool of Doom (2025)

https://blog.svgames.pl/article/the-little-bool-of-doom
72•pocksuppet•5h ago•24 comments

A GTA modder has got the 1997 original working on modern PCs and Steam Deck

https://gtaforums.com/topic/986492-grand-theft-auto-ready2play-full-game-windows-version/
102•HelloUsername•3h ago•38 comments

Show HN: I created a Mars colony RPG based on Kim Stanley Robinson's Mars books

https://underhillgame.com/
113•ariaalam•6h ago•48 comments

Running Your Own As: BGP on FreeBSD with FRR, GRE Tunnels, and Policy Routing

https://blog.hofstede.it/running-your-own-as-bgp-on-freebsd-with-frr-gre-tunnels-and-policy-routing/
125•todsacerdoti•9h ago•47 comments

Everything – Locate files and folders by name instantly

https://www.voidtools.com/
88•idw•2h ago•36 comments

Exploiting signed bootloaders to circumvent UEFI Secure Boot

https://habr.com/en/articles/446238/
84•todsacerdoti•8h ago•50 comments

I put a real-time 3D shader on the Game Boy Color

https://blog.otterstack.com/posts/202512-gbshader/
223•adunk•7h ago•28 comments

RFC 3092 – Etymology of "Foo" (2001)

https://datatracker.ietf.org/doc/html/rfc3092
112•ipnon•9h ago•28 comments

Dave Farber has died

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/thread/TSNPJVFH4DKLINIKSMRIIVNHDG5XKJCM/
198•vitplister•11h ago•30 comments

GitHub Agentic Workflows

https://github.github.io/gh-aw/
188•mooreds•9h ago•106 comments

Credentials for Linux: Bringing Passkeys to the Linux Desktop

https://alfioemanuele.io/talks/2026/02/01/fosdem-2026-credentials-for-linux.html
51•alfie42•6h ago•35 comments

Omega-3 is inversely related to risk of early-onset dementia

https://pubmed.ncbi.nlm.nih.gov/41506004/
214•brandonb•6h ago•126 comments

Bun v1.3.9

https://bun.com/blog/bun-v1.3.9
132•tosh•5h ago•32 comments

Curating a Show on My Ineffable Mother, Ursula K. Le Guin

https://hyperallergic.com/curating-a-show-on-my-ineffable-mother-ursula-k-le-guin/
150•bryanrasmussen•13h ago•52 comments

OpenClaw is changing my life

https://reorx.com/blog/openclaw-is-changing-my-life/
203•novoreorx•17h ago•342 comments

Ktkit: A Kotlin toolkit for building server applications with Ktor

https://github.com/smyrgeorge/ktkit
3•smyrgeorge•4d ago•0 comments

Billing can be bypassed using a combo of subagents with an agent definition

https://github.com/microsoft/vscode/issues/292452
176•napolux•6h ago•93 comments

The first sodium-ion battery EV is a winter range monster

https://insideevs.com/news/786509/catl-changan-worlds-first-sodium-ion-battery-ev/
124•andrewjneumann•6h ago•130 comments

Show HN: It took 4 years to sell my startup. I wrote a book about it

https://derekyan.com/ma-book/
180•zhyan7109•4d ago•48 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
125•birdculture•6h ago•44 comments

Why E cores make Apple silicon fast

https://eclecticlight.co/2026/02/08/last-week-on-my-mac-why-e-cores-make-apple-silicon-fast/
224•ingve•12h ago•214 comments

Reverse Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
83•pacod•14h ago•3 comments