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

Comments

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

A new bridge links the math of infinity to computer science

https://www.quantamagazine.org/a-new-bridge-links-the-strange-math-of-infinity-to-computer-scienc...
89•digital55•3h ago•12 comments

Show HN: We built an open source, zero webhooks payment processor

https://github.com/flowglad/flowglad
194•agreeahmed•6h ago•131 comments

Google Antigravity exfiltrates data via indirect prompt injection attack

https://www.promptarmor.com/resources/google-antigravity-exfiltrates-data
507•jjmaxwell4•5h ago•143 comments

ZoomInfo CEO blocks researcher after documenting pre-consent biometric tracking

https://github.com/clark-prog/blackout-public
92•SignalDr•2h ago•14 comments

How to repurpose your old phone into a web server

https://far.computer/how-to/
148•louismerlin•3d ago•63 comments

Ilya Sutskever: We're moving from the age of scaling to the age of research

https://www.dwarkesh.com/p/ilya-sutskever-2
135•piotrgrabowski•6h ago•110 comments

Unifying our mobile and desktop domains

https://techblog.wikimedia.org/2025/11/21/unifying-mobile-and-desktop-domains/
42•todsacerdoti•6h ago•13 comments

FLUX.2: Frontier Visual Intelligence

https://bfl.ai/blog/flux-2
212•meetpateltech•7h ago•65 comments

Image models generating partially-eaten burritos over time

https://www.generativist.com/notes/2025/Nov/25/generative-burrito-test.html
3•pathdependent•5m ago•1 comments

Reinventing How .NET Builds and Ships (Again)

https://devblogs.microsoft.com/dotnet/reinventing-how-dotnet-builds-and-ships-again/
5•IcyWindows•56m ago•0 comments

Launch HN: Onyx (YC W24) – Open-source chat UI

157•Weves•9h ago•112 comments

Trillions spent and big software projects are still failing

https://spectrum.ieee.org/it-management-software-failures
267•pseudolus•11h ago•245 comments

Jakarta is now the biggest city in the world

https://www.axios.com/2025/11/24/jakarta-tokyo-worlds-biggest-city-population
195•skx001•17h ago•123 comments

The fall of Labubus and the mush of modern internet trends

https://www.michigandaily.com/arts/digital-culture/the-fall-of-labubus-and-the-mush-of-modern-int...
13•gnabgib•1d ago•5 comments

Constant-time support coming to LLVM: Protecting cryptographic code

https://blog.trailofbits.com/2025/11/25/constant-time-support-coming-to-llvm-protecting-cryptogra...
27•ahlCVA•10h ago•12 comments

The 101 of analog signal filtering (2024)

https://lcamtuf.substack.com/p/the-101-of-analog-signal-filtering
112•harperlee•4d ago•9 comments

Python is not a great language for data science

https://blog.genesmindsmachines.com/p/python-is-not-a-great-language-for
100•speckx•6h ago•100 comments

Human brains are preconfigured with instructions for understanding the world

https://news.ucsc.edu/2025/11/sharf-preconfigured-brain/
410•XzetaU8•17h ago•279 comments

Notes on the Troubleshooting and Repair of Computer and Video Monitors

https://www.repairfaq.org/sam/monfaq.htm
3•WorldPeas•53m ago•0 comments

Someone at YouTube Needs Glasses: The Prophecy Has Been Fulfilled

https://jayd.ml/2025/11/10/someone-at-youtube-needs-glasses-prophecy-fulfilled.html
6•jaydenmilne•1h ago•1 comments

Unison 1.0

https://www.unison-lang.org/unison-1-0/
167•pchiusano•4h ago•47 comments

Bad UX World Cup 2025

https://badux.lol/
110•CharlesW•4h ago•32 comments

Inflatable Space Stations

https://worksinprogress.co/issue/inflatable-space-stations/
54•bensouthwood•4d ago•19 comments

Making Crash Bandicoot (2011)

https://all-things-andy-gavin.com/video-games/making-crash/
185•davikr•11h ago•27 comments

A DOOM vector engine for rendering in KiCad, and over an audio jack

https://www.mikeayles.com/#kidoom
6•mikeayles•1h ago•1 comments

Orion 1.0

https://blog.kagi.com/orion
333•STRiDEX•7h ago•194 comments

What They Don't Tell You About Maintaining an Open Source Project

https://andrej.sh/blog/maintaining-open-source-project/
3•andrejsshell•1h ago•0 comments

Most Stable Raspberry Pi? Better NTP with Thermal Management

https://austinsnerdythings.com/2025/11/24/worlds-most-stable-raspberry-pi-81-better-ntp-with-ther...
277•todsacerdoti•16h ago•82 comments

Stop Putting Your Passwords into Random Websites (Yes, Seriously, You Are the PR

https://labs.watchtowr.com/stop-putting-your-passwords-into-random-websites-yes-seriously-you-are...
18•Deeg9rie9usi•2h ago•6 comments

Google steers Americans looking for health care into "junk insurance"

https://pluralistic.net/2025/11/25/open-season/
24•hn_acker•1h ago•3 comments