frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A way to exclude sensitive files issue still open for OpenAI Codex

https://github.com/openai/codex/issues/2847
60•pikseladam•1h ago•42 comments

EU Open Sources Ten-Year Network Development Planning Tools

https://github.com/open-energy-transition/open-tyndp
8•lyoncy•20m ago•0 comments

The curious case of the disappearing Polish S

https://aresluna.org/the-curious-case-of-the-disappearing-polish-s/
32•colinprince•1h ago•6 comments

Marfa Public Radio Puts You to Sleep

https://www.marfapublicradio.org/podcast/marfa-public-radio-puts-you-to-sleep
315•reaperducer•12h ago•84 comments

The MUMPS 76 Primer – anniversary edition

https://github.com/rochus-keller/MUMPS/blob/main/docs/MUMPS_Primer.adoc
14•Rochus•1h ago•5 comments

DLL that was not present in memory despite not being formally unloaded

https://devblogs.microsoft.com/oldnewthing/20260625-00/?p=112467
57•ibobev•4h ago•23 comments

Google limits Meta's use of its Gemini AI models

https://www.cnbc.com/2026/06/28/google-limits-metas-use-of-its-gemini-ai-models-ft-reports.html
22•root-parent•55m ago•5 comments

Greece Is Richer. So Why Do So Many Greeks Still Feel Poor?

https://www.dnews.gr/eidhseis/news-in-english/596650/greece-is-richer-so-why-do-so-many-greeks-st...
12•theanonymousone•1h ago•10 comments

Austria Lobbies EU to Host Anthropic After US Access Curbs

https://www.bloomberg.com/news/articles/2026-06-28/austria-lobbies-eu-to-host-anthropic-after-us-...
23•root-parent•51m ago•9 comments

Ask HN: What is everyone in SF talking about?

10•morgangiraud•26m ago•5 comments

Bashblog – a single bash script to create blogs

https://github.com/cfenollosa/bashblog
77•ludicrousdispla•9h ago•54 comments

The origins of the school system aimed to produce independent, critical thinkers

https://www.cbc.ca/radio/ideas/humboldt-education-system-bildung-1.7172093
26•pseudolus•1h ago•10 comments

AMD Strix Halo RDMA Cluster Setup Guide

https://github.com/kyuz0/amd-strix-halo-vllm-toolboxes/blob/main/rdma_cluster/setup_guide.md
187•jakogut•13h ago•58 comments

Anonymous GitHub account mass-dropping undisclosed 0-days

https://github.com/bikini/exploitarium
879•binyu•23h ago•342 comments

Bringing Swift to the Apple ][

https://yeokhengmeng.com/2026/06/swift-on-apple-ii/
18•LucidLynx•3d ago•1 comments

Wayfinder Router: deterministic routing of queries between local and hosted LLM

https://github.com/itsthelore/wayfinder-router
88•handfuloflight•9h ago•43 comments

Choosing a Public DNS Resolver

https://evilbit.de/dns-resolver-guide.html
217•pawal•16h ago•92 comments

Show HN: Decomp Academy – Learn to decompile GameCube games into matching C

https://decomp-academy.dev
159•jackpriceburns•13h ago•60 comments

A stray "j" ruined my evening

https://napkins.mtmn.name/posts/stray-jay.html
35•birdculture•4d ago•21 comments

Mobile Web Computing Before Smartphones. (University of Liverpool, ~2010) [pdf]

https://cgi.csc.liv.ac.uk/~trp/Teaching_Resources/COMP327/327-Lecture4-MobileWeb.pdf
6•rfmoz•3d ago•1 comments

Regular expressions that work “everywhere”

https://www.johndcook.com/blog/2026/06/23/regex-everywhere/
79•ColinWright•3d ago•30 comments

WAL-RUS: a Rust Rewrite of WAL-G for PostgreSQL Backups

https://clickhouse.com/blog/walrus-postgres-backups-in-rust
105•saisrirampur•14h ago•12 comments

Engineering for Bounded Cognition

https://shapeofthesystem.com/posts/2026/02/03/bounded-cognition
78•supermatt•2d ago•19 comments

Space Shuttle Endeavour's 20-story vertical display

https://californiasciencecenter.org/about-us/samuel-oschin-air-and-space-center/go-for-stack
81•uticus•2d ago•13 comments

More evidence of life on Mars but still no life (2025)

https://www.cbc.ca/radio/quirks/more-evidence-of-life-on-mars-but-still-no-life-1.7649645
24•pseudolus•2h ago•25 comments

Turn your site into a place people can bump into each other

https://cauenapier.com/blog/townsquare_release/
271•eustoria•21h ago•119 comments

From Hallmark to neon signs: A look at Jim Parkinson's career in letter art

https://typographica.org/on-typography/jim-parkinson-1941-2025/
20•whiteblossom•1d ago•1 comments

Turning music into a chore is how I became a musician (2022)

https://the.scapegoat.dev/turning-music-into-a-chore-is-what-made-me-an-artist/
65•herbertl•13h ago•22 comments

From Pentagons to Pentagrams

https://johncarlosbaez.wordpress.com/2026/05/29/from-pentagons-to-pentagrams/
24•surprisetalk•2d ago•4 comments

AI learns the “dark art” of RFIC design

https://spectrum.ieee.org/ai-radio-chip-design
251•Brajeshwar•4d ago•162 comments
Open in hackernews

How ZGC allocates memory for the Java heap

https://joelsiks.com/posts/zgc-heap-memory-allocation/
86•lichtenberger•1y ago

Comments

gopalv•1y ago
The 32x virtual memory to physical memory ratio plays into relocation and colored pointers (i.e pointers where some bits serve as flag bits).

Putting the actual data layouts in 44 bits out of 64 is a neat trick which relies on the allocator being aware of the mappings between physical and virtual addresses.

twoodfin•1y ago
When your comment and the article refer to “physical” addresses, those are physical in the context of the JVM, right? To the OS they’re virtual addresses in the JVM process space?
acchow•1y ago
Correct. ZGC has no way to escape from the virtualization by the kernel (assuming your hardware and kernel uses an MMU)
MBCook•1y ago
Thank you for the answer, I was wondering that as well.
hinkley•1y ago
In the beginning of the 32 bit revolution, when the future was here but unevenly distributed, there was a lot of talk about how 32 bit pointers would fundamentally change how people wrote code. Among other things it got rid of a bunch of odd bookkeeping, and if you don’t have to do the bookkeeping you don’t have to write the code in a way that supports it, so you can do other things.

Not too long after someone asked what sort of interesting changes 64 bit will bring. And I’ve been keeping that question in the back of my mind ever since.

Aliasing memory multiple times in order to do read or write barriers and make GC much cheaper is a pretty good one. But another one I know of is that one of the secrets of the L4 microkernel is that its IPC speed comes substantially from reducing the amount of TLB work that needs to be done to switch to another process running in a different address space. They use the same address space and only swap out the access rights which cuts the call overhead in half. It’s pretty easy to put a bunch of processes into a 64 bit address space and just throw each one a randomly located 4GB slice of RAM.

twoodfin•1y ago
Yeah, would love to see the CPU vendors invent some primitives to let user code pull those kinds of privilege isolation tricks within a single process and address space.

Something like: “From now on, code on these pages can only access data on these pages, and only return to/call into other code through these gates…”

hinkley•1y ago
Thread based seems like it at least should be possible.
ahartmetz•1y ago
I've had some ideas about avoiding format validation in IPC receivers if the data is encoded by trusted code, which is also the only code that has rights to send the IPC data / to connect to the receiver. I can't really think of an important problem that it would solve, though. DBus always validates received data, but it's not really meant or very suitable for large amounts of data anyway.
pron•1y ago
For relevant upcoming changes see Automatic Heap Sizing for ZGC: https://openjdk.org/jeps/8329758
twoodfin•1y ago
What I’m looking for is a way for a process to de/re-escalate its privileges to access memory, without an expensive context switch being required at the transition. The CPU would simply enforce different rules based on (say) the high-order bits of the instruction pointer.

Imagine a server process that wants to run some elaborate third-party content parser. It’d be great to be sure that no matter how buggy or malicious that code, it can’t leak the TLS keys.

Today, high-security architectures must use process isolation to achieve this kind of architectural guarantee, but even finely tuned IPC like L4’s is an order of magnitude slower than a predictable jump.

gpderetta•1y ago
For a brief moment Intel supported MPX which did something similar.

You can also play tricks with the virtualization hardware, bit it need kernel support.

Eventually we will get segments back again.

MarkSweep•1y ago
That would be pretty cool. Something like the Win32 function GetWriteWatch, but implemented in hardware instead of the page fault handler (I assume).

https://learn.microsoft.com/en-us/windows/win32/api/memoryap...

Or some sort of special write barrier store op-code, idk.

mike_hearn•1y ago
It exists, that's called MPKs.
twoodfin•1y ago
I don’t think MPK’s will fit the need I have. Simply: Run some arbitrary, untrusted, non-sandboxed code in the same thread with assurance it can’t read page X. When that code completes and I’m back in code I trust, X is readable again.

Is that something MPK makes possible? The doc I’ve read suggests either your process can flip permission bits or it can’t. Great for avoiding out-of-sandbox reads. But if there’s arbitrary execution happening, why can’t that code flip the access to secrets back on?

mike_hearn•1y ago
Oracle Labs has tech that does that:

https://youtu.be/T05FI93MBI8?si=EieFgujaGiW2gbO8&t=958

The trick is to do a cascading disassembly of all untrusted code you'll execute to prove it can't change the MPK register.

twoodfin•1y ago
Wow. Neat trick and exactly the kind of thing I was looking for.

Thanks!

EDIT: Looks like this is the relevant paper from the Graal team: https://www.graalvm.org/resources/articles/binsweep.pdf

jdougan•1y ago
Is that something like the memory protection scheme on the Newton OS?
nyanpasu64•1y ago
Isn't not swapping page tables during a call precisely what the KPTI mitigations had to turn off for Meltdown mitigations?