frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Cloudflare acquires Deno

https://deno.com/blog/cloudflare
795•ilreb•6h ago•427 comments

M7.6 Earthquake in Panama

https://earthquake.usgs.gov/earthquakes/eventpage/us6000u18k/executive
52•gslin•43m ago•18 comments

Our $445M Series D

https://oxide.computer/blog/our-445m-series-d
437•ahlCVA•5h ago•179 comments

TypeSafe a Raises $870M at a $7.5B

https://typesafe.ai/blog/series-ai
58•tosh•2h ago•33 comments

Triple-A Minesweeper

https://minesweeper.mikelacher.com/
111•robin_reala•3h ago•32 comments

You Might Want to Try Being Less Creative

https://blog.bawolf.com/p/you-might-want-to-try-being-less
13•bryantwolf•26m ago•2 comments

Sorry, I'm in a meeting

https://iminafleeting.com/
559•splintersio•9h ago•184 comments

I Pointed AI at 400 Years of Archives. It Found a Forgotten Meteorites and More

https://jessewaites.com/blog/post/i-pointed-ai-at-400-years-of-archives/
29•piratebroadcast•7h ago•7 comments

Show HN: Let your AI agents paint big arrows, boxes and text on your screen

https://github.com/franzenzenhofer/big-arrow-on-the-screen
317•franze•8h ago•139 comments

Nobel Peace Prize for 2026 to Navanethem Pillay

https://www.nobelprize.org/prizes/peace/2026/press-release/
357•Anon84•8h ago•185 comments

Show HN: See *almost* any carriers phone settings

https://carrierexplode.com/
17•simplyalec•54m ago•3 comments

Part of a police code for describing suspects

https://www.researchgate.net/figure/Part-of-a-police-code-for-describing-suspects_fig4_228844649
7•Bluestein•2d ago•0 comments

Germany transforms former coal mines into Europe's largest lake landscape

https://www.euronews.com/2026/04/14/almost-like-lake-como-germany-transforms-former-coal-mines-in...
134•ohjeez•4h ago•72 comments

Why isn't the industry freaking out about DeepSeek 4.1 Flash?

https://www.dgt.is/blog/2026-10-07-deepseek-freek-out/
1017•jonotime•1d ago•916 comments

'Wallace and Gromit,' 90% Alone

https://animationobsessive.substack.com/p/wallace-and-gromit-90-alone
50•vinhnx•5h ago•3 comments

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
895•gmays•1d ago•174 comments

Man discovers his parents' coffee machine used 1TB of data in 10 days

https://www.dexerto.com/entertainment/man-discovers-his-parents-coffee-machine-used-1tb-of-data-i...
904•ck2•2d ago•544 comments

Training Text-to-Image Models Without a VAE

https://www.linum.ai/field-notes/pyramid-jit
24•schopra909•2d ago•8 comments

I hired an illustrator to draw my house. Now it's my Home Assistant dashboard

https://antonfrolov.substack.com/p/i-hired-an-illustrator-to-draw-my
856•soheilpro•2d ago•190 comments

Yes, and

https://htmx.org/essays/yes-and/
681•Michelangelo11•1d ago•271 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
151•nreece•13h ago•72 comments

Microsoft-Decision-1, our model for fast decision-making

https://commandline.microsoft.com/microsoft-decision-1-model-foundry/
7•lisajaloza•27m ago•1 comments

In Memory of Deno

https://orgsoft.org/blog/in-memory-of-deno
3•mattvr•1h ago•0 comments

Keyboard differences between Windows and Macs

https://unsung.aresluna.org/deeper-dive-keyboard-differences-between-windows-and-macs/
282•sohkamyung•15h ago•238 comments

Once: Cache CLI commands

https://github.com/alex0ptr/once
76•baquero•9h ago•34 comments

Theranos.world

https://www.theranos.world/
532•kbyatnal•1d ago•192 comments

Programming Isn't Special

https://blog.glyph.im/2026/10/programming-isnt-special.html
116•ingve•11h ago•127 comments

OpenAI fires three safety researchers for "mishandling research information"

https://techcrunch.com/2026/10/08/fired-openai-safety-researchers-dispute-misconduct-claims-warn-...
246•trakkstar•9h ago•158 comments

Platforms' Violent Content Rules Are About to Meet The Pentagon's Firing Squad

https://www.techdirt.com/2026/10/09/hey-platforms-your-violent-content-policies-are-about-to-meet...
19•hn_acker•37m ago•5 comments

Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?

364•mariocesar•2d ago•583 comments
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.