frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray

https://aoli.al/blogs/jdk-bug/
34•aoli-al•3h ago

Comments

latchkey•3h ago
Maybe it is just me, but I can't read the text in the code because the font is nearly white on white.
masklinn•2h ago
The light mode is fine, but you're right the dark mode is truly awful, the code blocks are unreadable.

edit: for some reason the author overrode the background color on code blocks via an inline style of

    background-color:#f0f0f0
from

    var(--code-background-color) = #f2f2f2
to make the background nigh imperceptibly darker, but then while the stylesheet properly switches the to #01242e in dark mode the inline override stays and blows it to bit.

Not that it's amazing if you remove the inline stle, on account of operators and method names being styled pretty dark (#666 and #4070a0).

aoli-al•2h ago
Thanks for pointing it out! Just did a quick fix using Claude :)
malcolmgreaves•2h ago
On mobile (Safari), the lines in the code blocks have different font sizes. They also have different fonts. Some are like 3-4x the size of other lines. No idea what could be going wrong, but it does unfortunately make the code blocks difficult to follow along.
aoli-al•1h ago
should be fixed as well :)
NooneAtAll3•1h ago
any chance you can make light/dark mode switch a UI button?
MaxBarraclough•1h ago
Neat to see sleep calls artificially introduced to reliably recreate the deadlock. [0]

Looks like fixing the underlying bug is still in-progress, [1] I wonder how many lines of code it will take.

[0] https://github.com/aoli-al/jdk/commit/625420ba82d2b0ebac24d9...

[1] https://bugs.openjdk.org/browse/JDK-8358601

Swift 6 and LLMs

https://mister.computer/@kyle/114608923901892223
1•graeme•1m ago•0 comments

Protect Your Site with a Doom Captcha

https://hackaday.com/2025/01/01/protect-your-site-with-a-doom-captcha/
1•ohjeez•6m ago•0 comments

High-Level Infrasound – Negative Effect on Human Myocardial Contractility (2021)

https://pmc.ncbi.nlm.nih.gov/articles/PMC8411947/
1•walterbell•9m ago•0 comments

Why Your CPU Is a Fortune Teller

https://articles.akatski.com/posts/branch-prediction-and-speculative-execution.htm
2•a_void_sky•12m ago•0 comments

Breaking the Sorting Barrier for Directed Single-Source Shortest Paths

https://arxiv.org/abs/2504.17033
2•landonxjames•13m ago•0 comments

Morgan Stanley tool saved developers 280k hours

https://www.wsj.com/articles/how-morgan-stanley-tackled-one-of-codings-toughest-problems-4f465959
2•thisisauserid•15m ago•0 comments

Supply chain attack hits Gluestack NPM packages with 960K weekly downloads

https://www.bleepingcomputer.com/news/security/supply-chain-attack-hits-gluestack-npm-packages-with-960k-weekly-downloads/
2•edwinjm•25m ago•0 comments

Reverse Engineering AI Coding Assistant with Mitmproxy

https://dzlab.github.io/genai/2025/06/07/mitmproxy-zed/
1•SbNn6uJO5wzPww•26m ago•0 comments

Show HN: FounderFodder – Inspiration for Founders, Makers and Tinkerers

https://founderfodder.com
1•emrah•28m ago•0 comments

Fncad: Cad editor, like openscad but sdf

https://fncad.github.io/
2•FeepingCreature•33m ago•1 comments

Lawyers face 'severe' penalties for fake AI-generated citations, UK court warns

https://techcrunch.com/2025/06/07/lawyers-could-face-severe-penalties-for-fake-ai-generated-citations-uk-court-warns/
2•frays•37m ago•0 comments

Preservation and protection of prey, not cooking, as the drivers of early fire

https://www.frontiersin.org/journals/nutrition/articles/10.3389/fnut.2025.1585182/full
1•bookofjoe•51m ago•0 comments

HN: Nurofile – Replace Your Resume with an AI Identity

https://nurofile.ai/
2•gulaydin•55m ago•2 comments

Meta found a new way to violate your privacy. Here's what you can do

https://www.msn.com/en-us/news/technology/meta-found-a-new-way-to-violate-your-privacy-here-s-what-you-can-do/ar-AA1GecPs
4•ColinWright•57m ago•0 comments

Lessons from That 1834 Landscape Gardening Guidebook

https://fi-le.net/pueckler/
1•fi-le•59m ago•0 comments

False Sense of Security-as-a-Service

https://www.fsosaas.com
2•kyleomalley•59m ago•2 comments

What's a violin plot and how to make one?

https://blog.engora.com/2021/11/whats-violin-plot-and-how-to-make-one.html
1•Vermin2000•1h ago•0 comments

Turron: Analyze video excerpts and find matches using perceptual hashing

https://github.com/Fl1s/turron
1•thunderbong•1h ago•0 comments

Simulating Time with Square-Root Space

https://arxiv.org/abs/2502.17779
13•jonbaer•1h ago•2 comments

You need much less memory than time

https://blog.computationalcomplexity.org/2025/02/you-need-much-less-memory-than-time.html
26•jonbaer•1h ago•3 comments

Coventry Very Light Rail

https://www.coventry.gov.uk/coventry-light-rail
1•Kaibeezy•1h ago•0 comments

Global analysis of multinational corporations' role in environmental conflicts

https://www.sciencedirect.com/science/article/pii/S0959378025000433
3•PaulHoule•1h ago•0 comments

Project-turned-app helps users find free mental health services worldwide

https://nomadful.io
1•liquidiguisante•1h ago•0 comments

Largest ever data leak exposes over 4B user records

https://cybernews.com/security/chinese-data-leak-billiones-records-exposed/
2•azalemeth•1h ago•0 comments

Trump administration takes aim at Biden and Obama cybersecurity rules

https://techcrunch.com/2025/06/07/trump-administration-takes-aim-at-biden-and-obama-cybersecurity-rules/
2•baxtr•1h ago•0 comments

The Pentagon Disinformation That Fueled America's UFO Mythology

https://www.wsj.com/politics/national-security/ufo-us-disinformation-45376f7e
6•toomanyrichies•1h ago•1 comments

Show HN: Visualize control flow, data flow attacks for open source MCP server

https://early.mcpwned.com/dashboard/scanner
1•coderinsan•1h ago•0 comments

Bresenham's Line Algorithm

https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
2•ZeljkoS•1h ago•0 comments

Neuron–Astrocyte Associative Memory

https://www.pnas.org/doi/10.1073/pnas.2417788122
4•wjb3•1h ago•2 comments

Dietary Sugar Intake and Incident Type 2 Diabetes Risk

https://www.sciencedirect.com/science/article/pii/S2161831325000493
4•domofutu•1h ago•1 comments