frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Much Ado About None: Sentinel Values in Python

https://florianwilhelm.info/2026/10/sentinel_values/
15•sebg•1d ago

Comments

chowells•35m ago
I like it. I can't see how to do better while remaining compatible with Python idioms.
RantyDave•26m ago
"A simple cache returns None both for a missing key and for a key that maps to None."

No, it returns KeyError. Or at least it should.

lyorig•15m ago
Perhaps the author has had their fair share of run-ins with libraries that didn't think their API through like that. But yes, they should.
lpghatguy•10m ago
When I was writing a bunch of Lua, I was a big fan of having a None sentinel value (Lua uses 'nil' for representing absence) and it was useful for a lot of things similar to Pydantic's MISSING.

This distinction is something that I think is actually handy about JavaScript, and distinguishing between 'null' and 'undefined' is sometimes useful for similar reasons.

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
56•karpathy•45m ago•31 comments

TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8

https://atlasum.net/blog/cve-2026-98432-linux-ipv4-tcp-uaf
88•oger•1h ago•43 comments

The Duty of a Scholar

https://www.daemonology.net/blog/2026-10-31-The-Duty-of-a-Scholar.html
44•gslin•1h ago•8 comments

It's the Memory Latency, Stupid

https://pivotlake.io/blog/its-the-memory-latency-stupid/
38•ntur1337•2h ago•6 comments

GPT-5.6 Sol can beat Factorio on peaceful mode

https://ryanmadden.net/gpt-56-beats-factorio/
92•ryanmadden•1h ago•90 comments

Molly (Signal fork) has not been updated since 3 months and is vulnerable

https://piefed.world/post/1503394
266•DeepLogin•10h ago•158 comments

Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly)

https://epoyraz.github.io/nes-contra-us/
10•tevlon•1h ago•6 comments

Jepsen: ParticleDB 1.1.4

https://jepsen.io/analyses/particledb-1.1.4
120•aphyr•7h ago•59 comments

Much Ado About None: Sentinel Values in Python

https://florianwilhelm.info/2026/10/sentinel_values/
15•sebg•1d ago•4 comments

Do the math: How we took over ChatGPT accounts

https://www.parameter.ai/labs/we-found-a-gap-at-openai
281•armcat•10h ago•132 comments

Show HN: A language model that lives in a boot sector

https://github.com/kerlenton/bootgpt
17•kerlenton•7h ago•0 comments

Redox: Ring Buffers Project Summary

https://www.redox-os.org/news/nlnet-rb-summary/
35•g0xA52A2A•3d ago•4 comments

Noctua Fan Swap on a Calnex Rb/GPS Frequency Reference

https://www.jeffgeerling.com/blog/2026/noctua-fan-swap-calnex-rb-gps-frequency-reference/
21•aray07•2d ago•10 comments

The lithium hypothesis of obesity [video]

https://www.youtube.com/watch?v=t5NklTNoKDI
3•dakila5•30m ago•0 comments

5 years of OqtaDrive: Microdrive emulation to Sinclair Network over the internet

https://oqtadrive.org/10.other/5-years/
5•xelalex•1d ago•1 comments

William Nordhaus has died

https://news.yale.edu/2026/10/31/william-nordhaus-nobel-laureate-who-integrated-economics-and-cli...
28•ilreb•2h ago•2 comments

Simple circuits can create complex behaviors

https://aatishb.com/myriad/lets-build-a-brain/
171•aatish•4d ago•57 comments

Switch Lowering in GCC

https://xoranth.net/gcc-switch/
179•signa11•12h ago•34 comments

Reading and writing are less symmetric than you (probably) think

https://fgiesen.wordpress.com/2015/10/25/reading-and-writing-are-less-symmetric-than-you-probably...
55•luu•3d ago•18 comments

Serbia just elected the world's brainiest parliament

https://www.science.org/content/article/serbia-just-elected-world-s-brainiest-parliament
741•input_sh•10h ago•429 comments

Digital minimalism

https://vitalik.eth.limo/general/2026/10/31/digital_minimalism.html
271•wilbertliu•14h ago•203 comments

Show HN: Ghostman – A fast, keyboard-driven TUI API client and webhook inspector

https://github.com/4yk5/Ghostman
29•4yk5•1d ago•23 comments

Malware uses LLMs to rank victims by how much they're worth

https://blog.talosintelligence.com/appraisal-by-ai-model-driven-victim-prioritization-in-the-volt...
208•khalidkhair•6h ago•114 comments

Casio Watches of the 1980s

https://www.casio.com/us/watches/50th/Heritage/1980s/
166•karagenit•4h ago•89 comments

AI, Lean, and the Future of Formal Verification, with Lean Creator Leo de Moura

https://thedataexchange.media/leo-de-moura-lean-aws/
172•datascientist•2d ago•38 comments

Hackers hijack Egypt highway billboard and Malaysian screens to show porn

https://www.cairoreport.org/p/egypt-brazil-iraq-billboard-hack
47•entryleveljobsc•3h ago•52 comments

Show HN: A USB-C LTE modem that gives my computer a phone line

https://github.com/Koppar-AI/koppar-lte-modem
23•abijahkaj•4h ago•9 comments

The Impact of Generative AI on Critical Thinking: Self-Reported (2025)

https://dl.acm.org/doi/full/10.1145/3706598.3713778
62•the-mitr•2h ago•41 comments

Show HN: Marelleo, an open-source story box I built for my kids using ESP32

https://zebra.rodeo/en/blog/marelleo/
174•foOg•4d ago•47 comments

What is a light-day? The milestone Voyager 1 is closing in on

https://science.nasa.gov/mission/voyager/voyager-1/voyager-1-what-is-a-light-day/
67•geox•4h ago•35 comments