frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Four Months of Zig

https://gracefulliberty.com/articles/four-months-of-zig/
24•ibobev•1h ago

Comments

paaloeye•1h ago
$curl: (6) Could not resolve host: gracefulliberty.com HN effect?
agumonkey•58m ago
https://archive.is/gEZGz just in case
paaloeye•35m ago
Legend!
LoganDark•43m ago
> In Rust you can use ?, which is quicker than unwrap, but you also have to do something like Result<Type, Box<dyn std::error::Error>

No, you don't! When returning Result<T, E>, you can use ? on any Result<T2, E2> where E: From<E2>. In other words E doesn't have to be Box<dyn>, it just has to satisfy From<E2>.

Crates like thiserror make it easy to define your own error types that can be easily converted from all the other error types you can encounter in your functions! I do this whenever it doesn't make sense to use an inner error type directly, or whenever a function does its own validation that deserves its own error variant.

On top of that, I tend to also have error variants for each place in the function rather than only for each type of inner error. At error sites I do something like `.map_err(MyError::PlaceInTheFunction)?` rather than only `?`, and then errors become like a very efficient backtrace :)

Graziano_M•9m ago
I think you're proving the author's point.
tcfhgj•6m ago
how so?
paaloeye•11m ago
Does ReTangled have anything to do with https://tangled.org?

Genie 4

https://deepmind.google/blog/genie-4-a-new-generation-of-world-simulation/
582•acossta•5h ago•354 comments

Ghostty 1.4

https://ghostty.org/docs/install/release-notes/1-4-0
544•deaux•5h ago•160 comments

Tailscale SSH: Investigation and remediation update

https://tailscale.com/ssh-investigation-update
111•figmert•2h ago•57 comments

Early progress on accelerating drug development with Claude

https://www.anthropic.com/research/early-progress-drug-development
43•dataking•1h ago•23 comments

Survival LLM: AI assistant and emergency library that runs on your own computer

https://www.brangus.io/survival-llm
84•Luc•2h ago•58 comments

Raspberry Pi Zero 3W and Pi 4 Model A spotted in device trees

https://bret.dk/raspberry-pi-zero-3-w-pi-4-model-a/
23•sthlmb•1h ago•2 comments

New 14‑inch MacBook Pro with M6

https://www.apple.com/in/newsroom/2026/10/apple-introduces-the-new-14-inch-macbook-pro-with-m6/
215•beex•5h ago•254 comments

An examination of lost firefly species of the US and Canada

https://journaloflostspecies.org/index.php/jls/article/view/37/33
44•bryanrasmussen•3d ago•0 comments

Classification of Finite Simple Groups Formalized in Lean

https://cfsg.axiommath.ai/
140•pfdietz•5h ago•33 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
400•f311a•10h ago•208 comments

New iMac with M6

https://www.apple.com/imac/
272•notfried•8h ago•324 comments

Wikipedia's Cleanup of AI-Generated Content

https://spectrum.ieee.org/wikipedia-wikiproject-ai-writing-cleanup
406•rbanffy•10h ago•184 comments

Four Months of Zig

https://gracefulliberty.com/articles/four-months-of-zig/
24•ibobev•1h ago•7 comments

One year of Dioxus fullstack in production: the good, the painful

https://oxidt.com/blog/one-year-of-dioxus-fullstack-in-production-the-good-the-painful
10•hauju•39m ago•3 comments

Introducing LFM3: Every Modality for Specialized Intelligence

https://www.liquid.ai/blog/lfm3
86•Philpax•4h ago•31 comments

Three TLS Bugs in GoAhead

https://foxio.io/blog/choose-your-backend-three-tls-bugs-in-goahead
38•owenshen24•3h ago•4 comments

US Government is hiding a secret court ruling about how it spies on Americans

https://www.wired.com/story/the-us-government-is-hiding-a-secret-court-ruling-about-how-it-spies-...
666•helterskelter2•7h ago•236 comments

Land Value Capture in Practice: Ethiopia's Urban Land Lease System

https://blog.landeconomics.org/p/land-value-capture-in-practice-reflections
12•surprisetalk•1d ago•0 comments

Why Micron Is Suddenly Ditching 4F² DRAM as Rivals Double Down

https://hothardware.com/news/why-micron-is-suddenly-ditching-4f-dram
119•rbanffy•1d ago•18 comments

Hex Raises $100M

https://hex.tech/blog/hex-new-era/
7•tomwphillips•1h ago•0 comments

SS United States to be sunk as largest artificial reef

https://divemagazine.com/scuba-diving-news/ss-united-states-to-be-sunk-as-worlds-largest-artifici...
5•geox•1d ago•2 comments

Discord will soon let anyone find public server messages through Google

https://discord.com/blog/making-content-from-discoverable-servers-easier-to-discover
146•DeepLogin•3h ago•95 comments

Anthropic trained Claude on illegally obtained Stanford professors' books

https://stanforddaily.com/2026/10/27/professors-books-pirated-to-train-claude/
368•car•6h ago•202 comments

Here be monsters: What do you still need to know when agents do the work?

https://blog.adrq.dev/here-be-monsters-what-do-you-still-need-to-know-when-agents-do-the-work
131•adrq•8h ago•69 comments

Amazon Is Gutting Its AI Division After Sustained Failure

https://futurism.com/artificial-intelligence/amazon-ai-division-failure-nova
163•dpflan•5h ago•78 comments

PHP2Shell, LiteLLM, GitLab: Find What You Need to Patch

https://cloudsleuth.io/blog/php2shell-litellm-gitlab-find-what-you-run/
47•bigfish2026•5h ago•5 comments

Rosettes and Other Hidden Traces of Hamburg's Tram

https://alsterrunde.com/rosettes-and-other-hidden-traces-of-hamburgs-tram/
21•mertbio•1d ago•1 comments

OpenLDK: Bringing the Java World into Common Lisp

https://atgreen.github.io/repl-yell/posts/openldk-java-in-common-lisp/
69•atgreen•2d ago•7 comments

Police are using AI to pull over drivers for 'suspicious' behavior

https://gizmodo.com/police-are-using-ai-to-pull-over-drivers-for-suspicious-behavior-2000831220
298•gumby•5h ago•232 comments

Microsoft and others tell crypto platform not to tokenize their stocks

https://gizmodo.com/microsoft-mcdonalds-verizon-and-others-tell-crypto-platform-not-to-tokenize-t...
92•gumby•2d ago•90 comments