frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
247•ravenical•5h ago•70 comments

JWT is a scam and your app doesn't need it

https://www.dusanmalusev.dev/blog/jwt-is-a-scam-and-your-app-doesnt-need-it
22•CodeLieutenant•35m ago•1 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
32•elpocko•1h ago•3 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
26•James72689•2d ago•5 comments

Hengefinder: Finding When the Sun Aligns with Your Street

https://victoriaritvo.com/blog/hengefinder/
17•evakhoury•21h ago•3 comments

z386: An Open-Source 80386 Built Around Original Microcode

https://nand2mario.github.io/posts/2026/z386/
70•wicket•3h ago•13 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
165•nand2mario•6h ago•25 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
90•dxs•5h ago•48 comments

Italy Cancels Boeing Pegasus Order, Shifting to Airbus A330 MRTT

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
96•embedding-shape•2h ago•27 comments

Making Deep Learning Go Brrrr from First Principles

https://horace.io/brrr_intro.html
114•tosh•6h ago•43 comments

AI Engineering from Scratch

https://aiengineeringfromscratch.com
41•rippeltippel•2d ago•7 comments

Oura says it gets government demands for user data

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
195•donohoe•4h ago•111 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
43•shintoist•2d ago•1 comments

Evaluating Spec CPU2026

https://chipsandcheese.com/p/evaluating-spec-cpu2026
7•zdw•2h ago•0 comments

Shipping a laptop to a refugee camp in Uganda

https://notesbylex.com/shipping-a-laptop-to-a-refugee-camp-in-uganda
624•lexandstuff•20h ago•217 comments

Why Japanese companies do so many different things

https://davidoks.blog/p/why-japanese-companies-do-so-many
808•d0ks•1d ago•379 comments

Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

https://twitter.com/i/status/2058064720553222567
69•bundie•6h ago•69 comments

The FBI Wants 'Near Real-Time' Access to US License Plate Readers

https://www.wired.com/story/security-news-this-week-fbi-license-plate-reader-real-time-access/
127•Brajeshwar•4h ago•65 comments

Solving the “Zork” Mystery

https://www.dpolakovic.space/blogs/zork-part2
37•dpola•3d ago•14 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
138•winebarrel•11h ago•83 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
109•soheilpro•2d ago•22 comments

Lisp in Vim (2019)

https://susam.net/lisp-in-vim.html
29•whent•3h ago•5 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
46•thejoeflow•3d ago•48 comments

Ebola Outbreak Now Third Largest Recorded and "Spreading Rapidly"

https://arstechnica.com/health/2026/05/ebola-outbreak-now-third-largest-recorded-and-spreading-ra...
70•Brajeshwar•2h ago•60 comments

Microsoft starts canceling Claude Code licenses

https://www.theverge.com/tech/930447/microsoft-claude-code-discontinued-notepad
425•robertkarl•1d ago•403 comments

A 1955 Los Alamos computer experiment changed our understanding of chaos

https://www.lanl.gov/media/publications/1663/science-of-unpredictability
40•LAsteNERD•4d ago•3 comments

BambuStudio has been violating PrusaSlicer AGPL license since their fork

https://xcancel.com/josefprusa/status/2054602354851254330
349•Tomte•9h ago•131 comments

The quadratic sandwich

https://fedemagnani.github.io/math/2026/04/08/the-quadratic-sandwich.html
110•cpp_frog•3d ago•10 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
4•abawany•15m ago•0 comments

Project Glasswing: An Initial Update

https://www.anthropic.com/research/glasswing-initial-update
499•louiereederson•22h ago•294 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.