frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Zig: Pointer Stability for ArrayLists

https://ziglang.org/devlog/2026/#2026-08-27
26•tosh•3h ago

Comments

_bohm•36m ago
It's a nice feature but I can't help feeling like, if you need a stable pointer to an item in a collection, ArrayList is the wrong data structure to use? Maybe someone can chime in and give me an example of when you'd do this instead of, e.g., just storing an index. Alternatively, you could use an Unrolled Linked List (FKA SegmentedList in Zig before it was removed in 0.16, not sure why).
nvme0n1p1•17m ago
SegmentedList had a weird API, especially the way you control the list growth factor by the size of an inline array. And it hadn't kept up with stdlib norms in recent versions. I do hope it comes back eventually with an improved API.

At least we got Deque in exchange. I use that far more often than I used SegmentedList.

_bohm•12m ago
Aha, gotcha. To tell you the truth, I don't think I ever used it. I have a custom implementation I wrote because I didn't realize at the time that SegmentedList was an unrolled linked list :p

Creepy Crawlies

https://people.kernel.org/monsieuricon/creepy-crawlies
350•zdw•1d ago•171 comments

Haiku R1/beta6 has been released

https://www.haiku-os.org/news/2026-08-26_haiku_r1_beta6
89•metrofun•1h ago•20 comments

Coordination Headwind: How Organizations Are Like Slime Molds

https://komoroske.com/slime-mold/
28•rzk•1h ago•12 comments

Omarchy: Any User Process Can Escalate to Root

https://0xcc.io/posts/omarchy-root-creds/
172•trap0xcc•1h ago•149 comments

Hacking IKEA Furniture

https://greenlightning.eu/diy/hacking-ikea-furniture/
178•greenlightning•6h ago•98 comments

Electric rain can eat through metal

https://www.scientificamerican.com/article/electric-rain-can-eat-through-metal/
27•sohkamyung•3d ago•5 comments

European Commission Revives Push for Encryption Backdoors in ProtectEU Strategy

https://reclaimthenet.org/eu-protecteu-strategy-encryption-backdoor-law-enforcement
152•nickslaughter02•2h ago•40 comments

Artie (YC S23) Is Hiring Technical AES

https://www.artie.com/careers?ashby_jid=e87b84d2-78b3-41a3-937a-47e83643cdf1
1•j-cheong•52m ago

Zig: Pointer Stability for ArrayLists

https://ziglang.org/devlog/2026/#2026-08-27
27•tosh•3h ago•3 comments

Casey Muratori – The Root of the Root of All Evil – BSC 2026 [video]

https://www.youtube.com/watch?v=hpj6r6CjJf8
210•surprisetalk•3d ago•102 comments

METR and Redwood Offer Holy %^ Postmortem of the HuggingFace Hack

https://thezvi.wordpress.com/2026/08/29/metr-and-redwood-offer-holy-postmortem-of-the-huggingface...
35•catbird•3h ago•11 comments

Arbitrary code execution in QubesOS via copy-to-VM error reporting backchannel

https://www.qubes-os.org/news/2026/08/29/qsb-118/
161•vntok•9h ago•65 comments

Longest Straight Line Paths on Water or Land on the Earth (2018)

https://arxiv.org/abs/1804.07389
168•joebig•9h ago•49 comments

Dad's Custom Atari Peripherals – By Jim Trageser

https://www.goto10retro.com/p/dads-custom-atari-peripherals
34•rbanffy•3d ago•8 comments

Europe's summer drought is so extreme that desertification is a growing threat

https://fortune.com/2026/08/29/europe-summer-drought-desertification-threat-rivers-fish/
113•Brajeshwar•3h ago•118 comments

When fruit is scarce, these monkeys hunt animals

https://www.smithsonianmag.com/smart-news/when-fruit-is-scarce-these-monkeys-hunt-animals-the-beh...
31•cisc•1d ago•10 comments

What my dad taught me about AI coding in the 90s

https://askmike.org/articles/ai-coding-lessons-in-the-90s-from-my-dad/
86•askmike•6d ago•44 comments

An implementation of Conway's Game of Life for Windows 3.1x and later

https://www.muppetlabs.com/~breadbox/software/windows.html
37•Bluestein•6h ago•7 comments

Automating Immersive Reading

https://smoores.dev/post/automating_immersive_reading/
57•smoores•6h ago•17 comments

RISC-V is now officially supported by CPython

https://blog.python.org/2026/08/riscv-now-officially-supported/
271•lumpa•5d ago•46 comments

Bug Blindness

https://danluu.com/bug-blind/
346•davidmckenna•17h ago•225 comments

Building my own network stack

https://blog.lyc8503.net/en/post/dn42-2-dnet/
73•uneven9434•8h ago•63 comments

Synchronisation and SMPTE timecode (time code)

https://www.philrees.co.uk/articles/timecode.htm
3•sublinear•2d ago•0 comments

Claude Session URL appended to commit messages and PR descriptions by default

https://github.com/anthropics/claude-code/issues/66504
116•sparsesignal•5h ago•143 comments

Hy4 preview

https://www.tencent.com/tencent-releases-and-open-sources-tencent-hy4-preview/
364•shenli3514•22h ago•229 comments

Orbs

https://ampcode.com/notes/orbs-explained
79•tosh•5d ago•31 comments

monty-go: Pure-Go wrapper for Pydantic's Monty Python Interpreter

https://github.com/fugue-labs/monty-go
35•networked•5h ago•11 comments

JupyterGIS 0.16: a grammar of graphics for maps, and collaborative story maps

https://blog.jupyter.org/jupytergis-0-16-new-visualization-capabilities-collaborative-story-maps-...
84•arjxn-py•5d ago•9 comments

California lawmakers unanimously pass Linux exemption from age-verification law

https://www.tomshardware.com/software/linux/california-lawmakers-unanimously-pass-linux-exemption...
615•shscs911•14h ago•292 comments

One Nix flake to rule them all

https://fzakaria.com/2026/08/28/one-flake-to-rule-them-all
64•ingve•6h ago•6 comments