frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Zig by Example

https://github.com/boringcollege/zig-by-example
100•dariubs•1h ago•23 comments

Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code

https://intunedhq.com
43•fkilaiwi•1h ago•10 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
177•1vuio0pswjnm7•3h ago•142 comments

Show HN: Performative-UI – a react component library of design tropes

https://vorpus.github.io/performativeUI/
43•lizhang•53m ago•8 comments

The Cypherpunk Library

https://www.cypherpunkbooks.com
199•yu3zhou4•6h ago•63 comments

How much of Thermo Fisher's antibody data has been manipulated?

https://reeserichardson.blog/2026/05/28/how-much-of-thermo-fishers-antibody-data-has-been-manipul...
211•mhrmsn•8h ago•50 comments

Are you expected to run five Python type-checkers now?

https://pyrefly.org/blog/too-many-type-checkers/
35•ocamoss•2h ago•22 comments

Zig Structs of Arrays (2024)

https://andreashohmann.com/zig-struct-of-arrays/
70•Tomte•4d ago•17 comments

Dopamine Fracking

https://igerman.cc/blog/dopamine-fracking/
574•igmn•12h ago•291 comments

1k Data Breaches Later, the Disclosure Lag Is Worse

https://www.troyhunt.com/1000-data-breaches-later-the-disclosure-lag-is-worse-than-ever/
240•882542F3884314B•11h ago•88 comments

Building from zero after addiction, prison, and a felony

https://gavinray97.github.io/blog/building-from-zero-after-addiction-prison-felony
773•gavinray•20h ago•351 comments

Spherical Voronoi Diagram

https://www.jasondavies.com/maps/voronoi/
75•marysminefnuf•4d ago•21 comments

Config Files That Run Code: Supply Chain Security Blindspot

https://safedep.io/config-files-that-run-code/
38•signa11•5h ago•5 comments

APC–2 – A professional record cutter for producing original playback discs

https://teenage.engineering/products/apc-2
246•vthommeret•13h ago•149 comments

A Family Project (2022)

https://bittersoutherner.com/feature/2022/a-family-project
61•surprisetalk•2d ago•4 comments

The Smallest Brain You Can Build: A Perceptron in Python

https://ranpara.net/posts/perceptron-explained-from-scratch/
257•DevarshRanpara•14h ago•54 comments

Richard Scolyer Has Died

https://www.bbc.com/news/articles/c14yz5jg476o
107•nicwilson•10h ago•29 comments

Nvidia partners with LG robotics to build humanoid robots in South Korea

https://blogs.nvidia.com/blog/nvidia-and-lg-group-ai-factory/
36•spwa4•2h ago•26 comments

Playing with Vision Embeddings

https://prestonbjensen.com/posts/playing-with-vision-embeddings
108•prestoj•3d ago•9 comments

Making peace with your unlived dreams (2023)

https://nik.art/making-peace-with-your-unlived-dreams/
273•herbertl•20h ago•167 comments

New drug 'functionally cures' many hepatitis B virus infections

https://www.science.org/content/article/new-drug-functionally-cures-many-hepatitis-b-virus-infect...
234•gmays•13h ago•40 comments

Show HN: I Derived a Pancake

https://www.absurdlyoptimized.com/recipes/pancakes/
288•bkazez•3d ago•117 comments

Age verification tech could put children at greater risk, says think tank

https://www.computerweekly.com/news/366643835/Age-verification-tech-could-put-children-at-greater...
143•robtherobber•7h ago•108 comments

Tiny hackable CUDA language model implementation

https://github.com/markusheimerl/gpt
52•markusheimerl•2d ago•10 comments

A modular impact diverting mechanism for football helmets [pdf]

https://www.sfu.ca/~gwa5/pdf/2020_04.pdf
10•luu•1d ago•4 comments

A Matter Wi-Fi Light Bulb in Rust on the Raspberry Pi Pico 2 W

https://github.com/melastmohican/rust-rpico2-embassy-examples
144•melastmohican•14h ago•28 comments

Amber Tree: A Middle Ground Between Rowan Red and Green Trees

https://blog.gplane.win/posts/introducing-amber-tree.html
9•gplane•3d ago•1 comments

Spanish traders set the standard for GnuCash database design

https://handson.money/blog/2026-06-06-horse-arse-and-design/
49•vitalikpie•2h ago•46 comments

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

https://github.com/devenjarvis/lathe
357•devenjarvis•1d ago•64 comments

DeepSeek V4 Pro beats GPT-5.5 Pro on precision

https://runtimewire.com/article/deepseek-v4-pro-beats-gpt-5-5-pro-on-precision
361•yogthos•13h ago•181 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.