frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JEP 539: Strict Field Initialization in the JVM moved to preview

https://openjdk.org/jeps/539
18•za3faran•1h ago

Comments

cogman10•30m ago
This is a great change that will undoubtedly cause a lot of headaches.

There's a number of libraries (particularly around serialization/marshaling) which will end up mutating `final` fields. In fact, this is a trick I've pulled once or twice in my own code for "reasons" (generally needing to modify behavior of a library because it was deficient).

I suspect this will be one of those things that ends up requiring java devs everywhere to bump up the versions of the libraries they use.

kasperni•26m ago
Strict Field Initialization is opt-in. A flag needs to be set in the classfile in order to enable it. So should not effect any existing code.
cogman10•17m ago
It won't bite initially, it will bite when you go to update your version of javac in the future and this becomes the default. Or when you update a library that just so happened to be compiled with a newer version of javac.

This particularly matters when you have something likes this

    class Local {
       private final ThirdPartyObject tpo;
    }
or even something like this

    class Local {
      private final LocalDate ld;
    }
rvcdbn•14m ago
oracle planning a new jvm language? have we ever seen a feature like this that is explicitly not usable from Java?
ashishb•13m ago
Weirdly enough, I encountered this once while writing code. Here's a simplified example of the same - https://ashishb.net/programming/java-musings-initializing-a-...

Exapunks (2018)

https://www.zachtronics.com/exapunks/
111•yu3zhou4•1h ago•41 comments

Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

https://mathstodon.xyz/@iblech/116769502749142438
307•IngoBlechschmid•5h ago•156 comments

Lightning Memory-Mapped Database Manager (LMDB) 1.0

http://www.lmdb.tech/doc/
8•radiator•26m ago•1 comments

PeerTube is a free, decentralized and federated video platform

https://github.com/Chocobozzz/PeerTube
360•doener•9h ago•147 comments

Podman v6.0.0

https://blog.podman.io/2026/07/introducing-podman-v6-0-0/
185•soheilpro•6h ago•62 comments

Vulkan is now available on NetBSD

https://github.com/segaboy/vulkan-netbsd
25•segaboy81•1h ago•6 comments

Android Developer Verification: Threat masquerading as protection

https://f-droid.org/2026/07/01/adv-malware.html
1492•drewfax•17h ago•620 comments

How to ask for help from people who don't know you

https://pradyuprasad.com/writings/how-to-ask-for-help/
263•FigurativeVoid•7h ago•35 comments

JEP 539: Strict Field Initialization in the JVM moved to preview

https://openjdk.org/jeps/539
19•za3faran•1h ago•5 comments

Postgres transactions are a distributed systems superpower

https://www.dbos.dev/blog/co-locating-workflow-state-with-your-data
21•KraftyOne•1h ago•7 comments

Launch HN: Manufact (YC S25) – MCP Cloud

https://manufact.com
84•pzullo•5h ago•54 comments

Spain Orders Blacklist of Palantir from Public and Private Companies

https://clashreport.com/world/articles/spain-orders-blacklist-of-us-tech-giant-palantir-from-publ...
366•mgh2•5h ago•104 comments

EFF letter to FTC on X consent order (2 July 2026) [pdf]

https://cdn.arstechnica.net/wp-content/uploads/2026/07/EFF-letter-to-FTC-on-X-consent-order-7-2-2...
5•Terretta•59m ago•1 comments

AI can't be listed as inventor on patent applications, Japan's top court rules

https://japannews.yomiuri.co.jp/science-nature/technology/20260306-314930/
303•mushstory•6h ago•165 comments

Job seekers giving up: Labor force participation falls to lowest in 50 years

https://www.cnbc.com/2026/07/02/job-seekers-giving-up-labor-force-participation-rate-falls-to-low...
48•MilnerRoute•1h ago•27 comments

No LLM Code in Dependencies

https://joeyh.name/blog/entry/no_LLM_code_in_dependencies/
73•edward•6h ago•41 comments

German button maker searched rivers of American Midwest for valuable shells

https://www.smithsonianmag.com/smithsonian-institution/how-one-german-button-maker-searched-the-r...
115•bookofjoe•4d ago•36 comments

Kimi K2.7 Code is generally available in GitHub Copilot

https://github.blog/changelog/2026-07-01-kimi-k2-7-is-now-available-in-github-copilot/
384•unliftedq•15h ago•158 comments

Show HN: CLI tool for detecting non-exact code duplication with embedding models

https://github.com/rafal-qa/slopo
61•rkochanowski•6h ago•27 comments

Hazel (YC W24) Is Hiring for Our Largest Government Contract

https://www.ycombinator.com/companies/hazel-2/jobs/3epPWgu-full-stack-engineer-ts-sci
1•augustschen•7h ago

Is One Layer Enough? A Single Transformer Layer Matches Full-Parameter RL Train

https://arxiv.org/abs/2607.01232
121•tcp_handshaker•8h ago•28 comments

The Egg Bandits Made a Thousand Times the Fine They Just Paid for Price Fixing

https://www.thebignewsletter.com/p/crime-pays-the-egg-bandits-made-a
352•toomuchtodo•7h ago•171 comments

Ask HN: Since when does Craigslist's front page have emojis?

11•argee•1d ago•18 comments

The fall of the theorem economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
221•varjag•12h ago•98 comments

The primary purpose of code review is to find code that will be hard to maintain

https://mathstodon.xyz/@mjd/115096720350507897
278•ColinWright•8h ago•151 comments

Show HN: ZeroFS – A log-structured filesystem for S3

https://www.zerofs.net/
106•Eikon•6h ago•50 comments

How VictoriaLogs Stores Your Logs in a Columnar Layout

https://victoriametrics.com/blog/victorialogs-internals-columnar-storage-on-disk/index.html
25•eatonphil•4d ago•6 comments

Show HN: A graph paper generator that renders vector PDFs in the browser

https://freegraphpaper.net/
74•lam_hg94•6h ago•17 comments

WinPE as a stateless harness for Windows driver testing and fuzzing

https://bednars.me/blog/winpe-harness
75•piotrbednarsalt•4d ago•4 comments

CursorBench 3.1

https://cursor.com/evals
151•handfuloflight•15h ago•91 comments