frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Recover lost text by coredumping Firefox

https://j3s.sh/thought/recover-lost-text-by-coredumping-firefox.html
1•birdculture•39s ago•0 comments

Why Weak Americans Run Towards Fascism

https://lucasbean.substack.com/p/why-weak-americans-run-towards-fascism
1•penguin_booze•1m ago•0 comments

Patching PHP 7.4 for php2shell in a container

https://joshbowen.net/posts/patching-php-74-for-php2shell/
1•sillyapple•2m ago•1 comments

Proton says lawful-access bill makes expansion into Canada 'impossible'

https://www.theglobeandmail.com/politics/article-proton-says-lawful-access-bill-makes-expansion-i...
1•laurex•6m ago•1 comments

Rust off Rails: The opinionated web stack for the AI era

https://rustoffrails.org/
1•mike1o1•7m ago•0 comments

Mine Rogue. Vibe-coded balatro-inspired minesweeper roguelike game

https://minerogue.francanobr.com/
1•aeonfr•9m ago•1 comments

Show HN: Open-source site base plans from any US address

https://basesheet.site/
1•hthillman•9m ago•0 comments

Recursive Introduces Flint Model

https://recursive.com/updates/introducing-recursive-flint
1•guybedo•10m ago•0 comments

Show HN: A job search that only shows entry-level roles

https://entryleveljobs.co
1•entryleveljobsc•11m ago•0 comments

Quantum error correction goes well beyond breakeven

https://arstechnica.com/science/2026/10/quantum-error-correction-goes-well-beyond-breakeven/
1•rbanffy•11m ago•0 comments

OpenAI Says 2 Internal AI Coding Agents Turned Off Their Own Safeguards

https://www.pcmag.com/news/openai-says-2-internal-ai-coding-agents-turned-off-their-own-safeguards
1•marojejian•11m ago•1 comments

Ask HN: Mathematicians are rarely the best math teachers but why

1•marysminefnuf•12m ago•2 comments

Some Initial Thoughts on Nick Cammarata's "Neural Networks Are Clean"

https://livgorton.com/already-clean-thoughts/
1•aesthesia•12m ago•0 comments

Show HN: NiFT – Frictionless, Fast, Note taking app

https://mtarin.com/projects/nift/
1•t_mahmood•13m ago•0 comments

Amazon deforestation falls 42% to a record low

https://news.mongabay.com/short-article/2026/10/amazon-deforestation-falls-42-to-a-record-low/
2•golden_phoenix•15m ago•1 comments

Ask HN: How can you retrain in a field requiring expensive equipment?

6•masterchief166•16m ago•0 comments

Show HN: Riff – An iPhone calendar you zoom instead of switching views

https://riffcalendar.com
2•rexikan•16m ago•0 comments

Full transaction detection for Cloudflare WAF

https://blog.cloudflare.com/full-transaction-waf/
2•schleck8•17m ago•0 comments

An in-browser PDF editor that reconstructs pages into editable DOM

https://blueberry-shake.pages.dev/
1•HopeLion•17m ago•2 comments

Your Sites Are Protected Against the PHP2Shell Vulnerabilities

https://automattic.com/2026/10/21/your-sites-are-protected-against-the-php2shell-vulnerabilities/
2•westi•17m ago•0 comments

AbyssDB · Infinitely fast. Perfectly consistent. Zero-knowledge

https://abyssdb.xyz/
1•noctarius•18m ago•0 comments

Does anyone want to win the medium-lift race in the United States?

https://arstechnica.com/space/2026/10/does-anyone-actually-want-to-win-the-medium-lift-race-in-th...
2•rbanffy•18m ago•0 comments

Pretraining at scale without a pretraining team

https://mirendil.com/news/pretraining-at-scale-without-a-pretraining-team/
2•yuedongze•18m ago•0 comments

GPT-6 Astra removes an internal safety monitor

https://www.crawlspider.com/pages/ai-agents-gone-rogue/
1•njx•19m ago•0 comments

Sripe Treasury for Agents

https://stripe.com/newsroom/news/treasury-for-agents
2•louiereederson•19m ago•0 comments

A gate that rejects end_turn while a Civ VI agent's victory check is overdue

https://tabares.eu/seetrex-warden-civbench-pilot/
1•jesustabares•20m ago•0 comments

New plastic pollution discovered: 'Plasticorals' coral rubble fused with plastic

https://www.oist.jp/news-center/news/2026/9/18/new-form-plastic-pollution-discovered-shores-vulne...
2•giuliomagnifico•21m ago•0 comments

OXR – An RSI-trained 1.3B open-source SOTA document parsing model

https://github.com/SoMarkAI/OXR
1•ethegwo•21m ago•1 comments

Be careful using on delete cascade too much

https://planetscale.com/blog/i-dont-like-delete-cascade
1•thomask1995•21m ago•0 comments

Cost-Bounded Bitcoin Transaction Filtering Language

https://delvingbitcoin.org/t/cost-bounded-transaction-filtering-language/2966
1•epochbtc•21m ago•0 comments
Open in hackernews

Ask HN: Which function definition keyword do you prefer, def or fn?

1•winwang•1y ago
I'm curious about what people think of `def` vs `fn`, two short keywords for starting function definitions.

...Or maybe we should subscribe to the church of `df`, haha.

Comments

sitkack•1y ago
def could be for lots of things, fn is for functions. I don't think it matters much as long as you have one. C would have been so much easier to parse. Just copy Zig or Rust.
butlersean•1y ago
def means define, could be used to define all kinds of things

fn isnt a legitimate short form of function

fun doesnt work because of the amusement factor

func is the only alternative we have left

sitkack•1y ago
How about unicode or emojis?

These don't have the full fidelity as hn scrubs emojis

add = (a, b) -> a + b

a, b ⟹ a + b

λ add(a, b): ↪ a + b

johncoltrane•1y ago
"def" is too generic.

"fn" is too cryptic.

"function" is better than the two.

MultifokalHirn•1y ago
Agreed