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•8mo 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.

Antirender: remove the glossy shine on architectural renderings

https://antirender.com/
771•iambateman•6h ago•183 comments

Show HN: I trained a 9M speech model to fix my Mandarin tones

https://simedw.com/2026/01/31/ear-pronunication-via-ctc/
52•simedw•1h ago•9 comments

Peerweb: Decentralized website hosting via WebTorrent

https://peerweb.lol/
175•dtj1123•5h ago•63 comments

Stonebraker on CAP theorem and Databases

https://perspectives.mvdirona.com/2010/04/stonebraker-on-cap-theorem-and-databases/
27•onurkanbkrc•2h ago•9 comments

The $100B megadeal between OpenAI and Nvidia is on ice

https://www.wsj.com/tech/ai/the-100-billion-megadeal-between-openai-and-nvidia-is-on-ice-aa3025e3
131•pixelesque•2h ago•37 comments

Disrupting the largest residential proxy network

https://cloud.google.com/blog/topics/threat-intelligence/disrupting-largest-residential-proxy-net...
97•cdrnsf•2d ago•80 comments

Show HN: I built an AI conversation partner to practice speaking languages

https://apps.apple.com/us/app/talkbits-speak-naturally/id6756824177
46•omarisbuilding•3h ago•33 comments

Kimi K2.5 Technical Report [pdf]

https://github.com/MoonshotAI/Kimi-K2.5/blob/master/tech_report.pdf
218•vinhnx•9h ago•93 comments

HTTP Cats

https://http.cat/
225•surprisetalk•12h ago•35 comments

Moltbook

https://www.moltbook.com/
1290•teej•22h ago•620 comments

P vs. NP and the Difficulty of Computation: A ruliological approach

https://writings.stephenwolfram.com/2026/01/p-vs-np-and-the-difficulty-of-computation-a-ruliologi...
42•tzury•4h ago•19 comments

I trapped an AI model inside an art installation (2025) [video]

https://www.youtube.com/watch?v=7fNYj0EXxMs
40•handfuloflight•4h ago•6 comments

Ask HN: Do you also "hoard" notes/links but struggle to turn them into actions?

103•item007•9h ago•44 comments

How to explain Generative AI in the classroom

https://dalelane.co.uk/blog/?p=5847
28•thinkingaboutit•1d ago•5 comments

The engineer who invented the Mars rover suspension in his garage [video]

https://www.youtube.com/watch?v=QKSPk_0N4Jc
282•UltraSane•4d ago•43 comments

Self Driving Car Insurance

https://www.lemonade.com/car/explained/self-driving-car-insurance/
99•KellyCriterion•10h ago•241 comments

Roots is a game server daemon that manages Docker containers for game servers

https://github.com/SproutPanel/roots
14•Kerrick•3d ago•3 comments

Email experiments: filtering out external images

https://www.terracrypt.net/posts/email-experiments-image-filtering.html
43•todsacerdoti•14h ago•23 comments

The National Herbarium of Ireland digital collection of Irish plants

https://dri.ie/news/new-collection-in-dri-the-national-herbarium-of-ireland-digital-collection-of...
96•gnabgib•3d ago•9 comments

Show HN: Foundry – Turns your repeated workflows into one-click commands

https://github.com/lekt9/openclaw-foundry
3•getfoundry•1h ago•0 comments

Show HN: Amla Sandbox – WASM bash shell sandbox for AI agents

https://github.com/amlalabs/amla-sandbox
124•souvik1997•11h ago•71 comments

175K+ publicly-exposed Ollama AI instances discovered

https://www.techradar.com/pro/security/over-175-000-publicly-exposed-ollama-ai-servers-discovered...
23•heresie-dabord•1h ago•14 comments

Code is cheap. Show me the talk

https://nadh.in/blog/code-is-cheap/
166•ghostfoxgod•14h ago•148 comments

Surely the crash of the US economy has to be soon

https://wilsoniumite.com/2026/01/27/surely-it-has-to-be-soon/
159•Wilsoniumite•15h ago•260 comments

Building docs like a product

https://emschwartz.me/building-docs-like-a-product/
52•emschwartz•1d ago•5 comments

Quack-Cluster: A Serverless Distributed SQL Query Engine with DuckDB and Ray

https://github.com/kristianaryanto/Quack-Cluster
66•tanelpoder•4d ago•13 comments

The Home Computer Hybrids

https://technicshistory.com/2026/01/25/the-home-computer-hybrids/
39•cfmcdonald•5d ago•13 comments

Pangolin (YC S25) is hiring software engineers (open-source, Go, networking)

https://docs.pangolin.net/careers/join-us
1•miloschwartz•13h ago

Emoji Design Convergence Review: 2018-2026

https://blog.emojipedia.org/emoji-design-convergence-review-2018-2026/
50•surprisetalk•3d ago•34 comments

Buttered Crumpet, a custom typeface for Wallace and Gromit

https://jamieclarketype.com/case-study/wallace-and-gromit-font/
223•tobr•10h ago•47 comments