frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Category Theory Illustrated – Orders

https://abuseofnotation.github.io/category-theory-illustrated/04_order/
47•boris_m•2h ago•9 comments

Amiga Graphics

https://amiga.lychesis.net/
38•sph•2h ago•1 comments

Claude Design

https://www.anthropic.com/news/claude-design-anthropic-labs
1030•meetpateltech•17h ago•671 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
140•fouronnes3•7h ago•22 comments

Measuring Claude 4.7's tokenizer costs

https://www.claudecodecamp.com/p/i-measured-claude-4-7-s-new-tokenizer-here-s-what-it-costs-you
602•aray07•17h ago•428 comments

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
19•azhenley•2d ago•3 comments

Towards trust in Emacs

https://eshelyaron.com/posts/2026-04-15-towards-trust-in-emacs.html
101•eshelyaron•2d ago•11 comments

All 12 moonwalkers had "lunar hay fever" from dust smelling like gunpowder (2018)

https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/The_toxic_side_of_the_Moon
325•cybermango•14h ago•190 comments

Spending 3 months coding by hand

https://miguelconner.substack.com/p/im-coding-by-hand
202•evakhoury•16h ago•201 comments

Rewriting Every Syscall in a Linux Binary at Load Time

https://amitlimaye1.substack.com/p/rewriting-every-syscall-in-a-linux
38•riteshnoronha16•4d ago•13 comments

It is incorrect to "normalize" // in HTTP URL paths

https://runxiyu.org/comp/doubleslash/
23•pabs3•3h ago•12 comments

A simplified model of Fil-C

https://www.corsix.org/content/simplified-model-of-fil-c
172•aw1621107•11h ago•93 comments

Brunost: The Nynorsk Programming Language

https://lindbakk.com/blog/introducing-brunost
59•atomfinger•4d ago•22 comments

Are the costs of AI agents also rising exponentially? (2025)

https://www.tobyord.com/writing/hourly-costs-for-ai-agents
197•louiereederson•2d ago•50 comments

Show HN: Smol machines – subsecond coldstart, portable virtual machines

https://github.com/smol-machines/smolvm
326•binsquare•15h ago•99 comments

Slop Cop

https://awnist.com/slop-cop
173•ericHosick•17h ago•102 comments

Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock

https://github.com/paniclock/paniclock/
186•seanieb•16h ago•79 comments

"cat readme.txt" is not safe if you use iTerm2

https://blog.calif.io/p/mad-bugs-even-cat-readmetxt-is-not
178•arkadiyt•14h ago•94 comments

Hyperscalers have already outspent most famous US megaprojects

https://twitter.com/finmoorhouse/status/2044933442236776794
188•nowflux•16h ago•151 comments

Middle schooler finds coin from Troy in Berlin

https://www.thehistoryblog.com/archives/75848
229•speckx•18h ago•107 comments

NASA Force

https://nasaforce.gov/
270•LorenDB•17h ago•266 comments

Landmark ancient-genome study shows surprise acceleration of human evolution

https://www.nature.com/articles/d41586-026-01204-5
76•unsuspecting•10h ago•61 comments

Michael Rabin Has Died

https://en.wikipedia.org/wiki/Michael_O._Rabin
14•tkhattra•2d ago•0 comments

NIST gives up enriching most CVEs

https://risky.biz/risky-bulletin-nist-gives-up-enriching-most-cves/
199•mooreds•17h ago•51 comments

Casus Belli Engineering

https://marcosmagueta.com/blog/casus-belli-engineering/
37•b-man•7h ago•8 comments

Making Wax Sealed Letters at Scale

https://waxletter.com/
17•hjconstas•2d ago•12 comments

The Unix executable as a Smalltalk method (2025) [video]

https://www.youtube.com/watch?v=sZjPQ7vtLNA
53•surprisetalk•1d ago•3 comments

Introducing: ShaderPad

https://rileyjshaw.com/blog/introducing-shaderpad/
92•evakhoury•2d ago•18 comments

Arc Prize Foundation (YC W26) Is Hiring a Platform Engineer for ARC-AGI-4

https://www.ycombinator.com/companies/arc-prize-foundation/jobs/AKZRZDN-platform-engineer-benchma...
1•gkamradt_•12h ago

The GNU libc atanh is correctly rounded

https://inria.hal.science/hal-05591661
90•matt_d•3d ago•20 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•11mo ago

Comments

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