frontpage.
newsnewestaskshowjobs

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.

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

https://blog.cloudflare.com/dns-cache-memory-optimization-1111/
639•TangerineDream•12h ago•197 comments

Small Models Have Arrived

https://calv.info/small-models-have-arrived
566•tosh•13h ago•253 comments

Show HN: OpenTIE and OpenXWA, Modern Ports of Tie Fighter and X-Wing Alliance

https://github.com/elyosh/OpenTIE/
125•elyosh•7h ago•24 comments

507 Mechanical Movements

https://507movements.com/
537•helloplanets•15h ago•70 comments

Terminal-Bench-Science: Evaluating AI agents on scientific research workflows

https://www.terminal-bench-science.ai/announcement
60•matt_d•5h ago•14 comments

Please stop flooding our projects with AI slop to furnish your CV

https://neilalexander.dev/2026/06/30/flooding-contributions
73•signa11•1h ago•25 comments

Gemini-3.5-Transcribe

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5-transcribe/
219•k9294•11h ago•65 comments

Microduck

https://pollen-robotics.com/microduck/
583•robotswantdata•18h ago•197 comments

Judge Rules Trump Administration’s Blacklisting of Anthropic Was Illegal

https://www.nytimes.com/2026/08/27/technology/anthropic-government-blacklisting-ruling.html
193•jbegley•3h ago•86 comments

GoGoGrandparent (YC S16) is hiring back end engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•2h ago

Show HN: We built open OpenRouter that turns usage into a better model

https://github.com/experientiallabs/experiential
148•SilenN•8h ago•25 comments

AI Engineer Notebooks – free, framework-free RAG/agents/evals on Colab

https://github.com/calmrocks/ai-engineer-notebooks
77•calmrocks•7h ago•9 comments

Bootstrappable Builds: How and Why

https://lwn.net/Articles/1088279/
18•signa11•2h ago•3 comments

Show HN: IndexFlow – Open-source indexing infrastructure built with Rust

https://github.com/IndexFlowing/IndexFlow-core
10•mandarinclips•2h ago•4 comments

The turbulent AI era is here

https://www.gatesnotes.com/work/make-ai-work-for-everyone/reader/a-turbulent-ai-era-and-critical-...
255•nanna•1d ago•511 comments

Stripe said to abandon $50B pursuit of PayPal

https://www.bloomberg.com/news/articles/2026-08-28/advent-stripe-consortium-is-said-to-drop-pursu...
81•1986•3h ago•30 comments

Select * from Internet.blogposts

https://pfrazee.leaflet.pub/3mu3p2smmis22
69•mmattbtw•7h ago•29 comments

We found a division by zero bug in FFmpeg with a vibecoded fuzzer

https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/24290
202•dclavijo•11h ago•157 comments

Show HN: The load-bearing vocabulary of Claude

https://louisabraham.github.io/load-bearing/
422•Labo333•20h ago•198 comments

Afterglow: Run classic After Dark screen savers on modern macOS

https://morphing.cloud/afterglow/
128•NaOH•1d ago•37 comments

USDA recalls 30k pounds of Argentine beef sold in Texas and Florida

https://cbsaustin.com/news/local/usda-recalls-30000-pounds-of-argentine-beef-sold-in-texas-and-fl...
68•cocacola1•3h ago•32 comments

Emacs 31: An unofficial guide to Markdown-ts-mode

https://rahuljuliato.com/posts/markdown-ts-mode-emacs-31
169•RahulMJ•16h ago•68 comments

Nvidia agrees to acquire Hugging Face for $13B

https://www.businessinsider.com/nvidia-in-talks-to-buy-hugging-face-13-billion-dollars-2026-8
1868•mfiguiere•1d ago•866 comments

Previewing the Model Hardware Standard

https://www.anthropic.com/news/model-hardware-standard-research-preview
104•surprisetalk•11h ago•35 comments

Decompiling a Nintendo 64 game in 84 days

https://blog.chrislewis.au/decompiling-a-nintendo-64-game-in-84-days/
208•knackers•14h ago•130 comments

Suica, Japan's First IC Transit Card

https://www.tokyodev.com/articles/the-story-of-suica
221•zdw•13h ago•194 comments

M5Stack Launches PaperMono

https://shop.m5stack.com/blogs/news/m5stack-launches-papermono-a-compact-e-ink-development-termin...
113•marksully•11h ago•43 comments

Gemini Omni 1.1 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/build-with-gemini-omni-1-1-flash/
218•saretup•12h ago•156 comments

Engineered yeast for converting plastic and biomass compounds to food additives

https://acs.digitellinc.com/live/37/session/586399
95•ehwa37•14h ago•68 comments

Show HN: Voronoi Go

https://voronoigo.com/
107•igpay•11h ago•15 comments