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

The risk of a hothouse Earth trajectory

https://www.cell.com/one-earth/fulltext/S2590-3322%2825%2900391-4
94•Archelaos•48m ago•47 comments

Toyota Fluorite: "console-grade" Flutter game engine

https://fluorite.game/
208•bsimpson•3h ago•116 comments

Claude Code Is Being Dumbed Down

https://symmetrybreak.ing/blog/claude-code-is-being-dumbed-down/
330•WXLCKNO•1h ago•239 comments

NetNewsWire Turns 23

https://netnewswire.blog/2026/02/11/netnewswire-turns.html
72•robin_reala•2h ago•13 comments

GLM-5: From Vibe Coding to Agentic Engineering

https://z.ai/blog/glm-5
235•meetpateltech•3h ago•125 comments

Single bone in Spain offers first direct evidence of Hannibal's war elephants

https://phys.org/news/2026-02-hannibal-famous-war-elephants-bone.html
46•Archelaos•5d ago•10 comments

GLM-OCR: Accurate × Fast × Comprehensive

https://github.com/zai-org/GLM-OCR
162•ms7892•4d ago•53 comments

We rendered and embedded one million CAD files

https://cad-search-three.vercel.app/
39•DavidFerris•21h ago•18 comments

WiFi Could Become an Invisible Mass Surveillance System

https://scitechdaily.com/researchers-warn-wifi-could-become-an-invisible-mass-surveillance-system/
204•mgh2•4d ago•97 comments

Should your developer company go open source?

https://extremefoundership.substack.com/p/should-your-developer-company-go
22•paraphrenia•2h ago•13 comments

Amazon Ring's lost dog ad sparks backlash amid fears of mass surveillance

https://www.theverge.com/tech/876866/ring-search-party-super-bowl-ad-online-backlash
82•jedberg•1h ago•33 comments

iOS 26.3 and macOS 26.3 Fix Dozens of Vulnerabilities, Including Zero-Day

https://www.macrumors.com/2026/02/11/ios-26-3-security-vulnerabilities/
24•akyuu•42m ago•2 comments

It's all a blur

https://lcamtuf.substack.com/p/its-all-a-blur
295•zdw•5d ago•58 comments

A shortage of tenors

https://www.economist.com/culture/2026/02/09/the-world-is-suffering-from-a-shortage-of-tenors
44•petethomas•1d ago•35 comments

FAA halts all flights at El Paso airport for 10 days

https://www.nytimes.com/2026/02/11/us/faa-el-paso-flight-restrictions.html
273•edward•11h ago•456 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
132•aed•2d ago•49 comments

Show HN: Hibana – An Affine MPST Runtime for Rust

https://hibanaworks.dev
7•o8vm•5d ago•2 comments

Rome is studded with cannon balls (2022)

https://essenceofrome.com/rome-is-studded-with-cannon-balls
85•thomassmith65•4d ago•7 comments

Exposure Simulator

http://www.andersenimages.com/tutorials/exposure-simulator/
99•sneela•8h ago•42 comments

How Did the FBI Get Nancy Guthrie's Nest Doorbell Footage?

https://lifehacker.com/tech/how-did-the-fbi-get-nancy-guthries-doorbell-footage
46•daft_pink•1h ago•27 comments

The Day the Telnet Died

https://www.labs.greynoise.io/grimoire/2026-02-10-telnet-falls-silent/
474•pjf•21h ago•346 comments

Why Vampires Live Forever

https://machielreyneke.com/blog/vampires-longevity/
200•machielrey•4h ago•105 comments

Lessons you will learn living in a snowy place

https://eukaryotewritesblog.com/2026/01/21/very-snowy-place/
262•surprisetalk•5d ago•259 comments

Communities are not fungible

https://www.joanwestenberg.com/communities-are-not-fungible/
180•tardibear•12h ago•82 comments

CoLoop (YC S21) Is Hiring Ex Technical Founders in London

https://www.workatastartup.com/jobs/90016
1•mrlowlevel•13h ago

The Feynman Lectures on Physics (1961-1964)

https://www.feynmanlectures.caltech.edu/
455•rramadass•1d ago•123 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
34•JanLepsky•5h ago•13 comments

AI-First Company Memos

https://the-ai-native.company/
98•bobismyuncle•4h ago•148 comments

Windows Notepad App Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-20841
685•riffraff•13h ago•422 comments

The Singularity will occur on a Tuesday

https://campedersen.com/singularity
1307•ecto•1d ago•705 comments