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•1y ago

Comments

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

SQLite is all you need for durable workflows

https://obeli.sk/blog/sqlite-is-all-you-need-for-durable-workflows/
283•tomasol•5h ago•171 comments

MCP Is Dead

https://www.quandri.io/engineering-blog/mcp-is-dead
16•nadis•15m ago•3 comments

The dead economy theory

https://www.owenmcgrann.com/p/the-dead-economy-theory
577•WillDaSilva•7h ago•756 comments

Notes from the Mistral AI Now Summit

https://koenvangilst.nl/lab/mistral-ai-now-summit
292•vnglst•6h ago•97 comments

Shift will clean homes for free to train future robots

https://www.theverge.com/ai-artificial-intelligence/939765/ai-training-data-startup-shift-free-cl...
57•evilsimon•3h ago•80 comments

Show HN: Tiny-vLLM – high performance LLM inference engine in C++ and CUDA

https://github.com/jmaczan/tiny-vllm
57•yu3zhou4•3h ago•7 comments

On Rendering Diffs

https://pierre.computer/writing/on-rendering-diffs
124•amadeus•4h ago•31 comments

Print with dozens of colors: Our new open-source ColorMix for PrusaSlicer

https://blog.prusa3d.com/our-new-open-source-colormix-model-in-prusaslicer-and-easyprint_136079/
32•rented_mule•3d ago•1 comments

You can just say it

https://noperator.dev/posts/you-can-just-say-it/
26•antirez•7h ago•3 comments

Bijou64: A variable-length integer encoding

https://www.inkandswitch.com/tangents/bijou64/
196•justinweiss•8h ago•71 comments

It's hard to justify buying a Framework 12

https://www.jeffgeerling.com/blog/2026/its-hard-to-justify-framework-12/
184•watermelon0•8h ago•340 comments

Liquid AI reveals 8B-A1B MoE trained on 38T

https://www.liquid.ai/blog/lfm2-5-8b-a1b
134•simjnd•6h ago•39 comments

Free full BGP feed. IPv4 and IPv6

https://lukasz.bromirski.net/post/bgp-w-labie-3/
10•pm2222•50m ago•1 comments

The California state assembly has passed the 'Protect Our Games Act'

https://www.invenglobal.com/articles/22330/stop-killing-games-movement-gains-momentum-california-...
149•TechTechTech•3h ago•153 comments

Rothko for your current weather conditions

https://rothko.joonas.wtf/
108•jxmorris12•4h ago•11 comments

Is AI causing a repeat of frontend’s lost decade?

https://mastrojs.github.io/blog/2026-05-23-is-AI-causing-a-repeat-of-frontends-lost-decade/
266•xyzal•12h ago•230 comments

Why I collect DLES

https://dles.gg/blog/dles-gg-manifesto
20•trizoza•2h ago•5 comments

Show HN: Zot – Yet another coding agent harness

https://www.zot.sh
52•patriceckhart•17h ago•56 comments

Show HN: TV Explorer. Adding advanced UI to free online TV

https://tvexplorer.live
87•dtagames•6h ago•20 comments

Finding Miscompiles for Fun, Not Profit

https://newsletter.semianalysis.com/p/finding-miscompiles-for-fun-not-profit
7•tmoertel•1d ago•0 comments

GTA 6 Developers Unionize

https://rockstarintel.com/gta-6-developers-announce-rockstar-games-union/
524•AndrewKemendo•7h ago•359 comments

Letter from the Duke of Wellington to the British Foreign Office (1809)

https://wellsoc.org/society-member-pages/anecdotes-of-wellington/
43•backuprestore•5h ago•10 comments

Citing 'severe' math deficits, UC faculty demand a return to SAT tests for STEM

https://www.latimes.com/california/story/2026-05-27/uc-math-professors-demand-return-of-sat-for-s...
419•brandonb•1d ago•642 comments

The mysterious Hy3 LLM is topping OpenRouter Model Rankings by a large margin

https://minimaxir.com/2026/05/openrouter-hy3/
97•freediver•23h ago•91 comments

Show HN: Open-source private home security camera system (end-to-end encryption)

https://github.com/secluso/core
12•arrdalan•39m ago•2 comments

CAPTCHAs can still detect AI agents

https://research.roundtable.ai/captchas-detect-ai/
56•timshell•7h ago•47 comments

Microsoft 0-day feud escalates as researcher threatens another exploit dump

https://www.theregister.com/security/2026/05/28/microsoft-0-day-feud-escalates-as-researcher-thre...
127•Cider9986•3h ago•31 comments

Cedana (YC S23) Is Hiring

https://www.ycombinator.com/companies/cedana/jobs/d1vYocG-forward-deployed-engineer-ai-hpc
1•neelm•11h ago

We should be more tired than the model

https://vickiboykis.com/2026/05/28/we-should-be-more-tired-than-the-model/
139•tosh•10h ago•127 comments

High Density Living, 2000 Years Ago: Inside the Roman Apartment Building

https://commonedge.org/high-density-living-2000-years-ago-inside-the-roman-apartment-building/
144•surprisetalk•10h ago•59 comments