frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Loco: The one-person framework for Rust

https://loco.rs/
1•mike1o1•2m ago•0 comments

Κ = 0.003 for integer multiplication crossed

https://github.com/CrocSwap/integer-mult-bounds/pull/4441
1•aleph_minus_one•3m ago•1 comments

Show HN: ZeGrapher v4: modern math plotter

https://zegrapher.com/en/
1•adelks•3m ago•0 comments

Singulion Structure and the Voynich Manuscript

https://journals.openedition.org/digitalmedievalist/2331
1•jhncls•5m ago•0 comments

Apple is finding its voice for what more sophisticated multitouch UX can be

https://royalicing.com/2026/apple-voice-iphone-duo
1•burntcaramel•5m ago•0 comments

Rails Is a JIT Compiler

https://railsatscale.com/2026-10-21-rails-is-a-jit-compiler/
1•hellerve•9m ago•0 comments

Show HN: Embodsi – Embodied Super Intelligence

https://embodsi.com/
1•laser•10m ago•0 comments

There isn't an easy exploit for this PHP vulnerability

https://eliastaylor.com/noexploit/
1•zkldi•12m ago•0 comments

Anthropic opens research preview of Claude Duet, a agent for professionals

https://www.reuters.com/technology/anthropic-unveils-claude-duet-ai-agent-app-2026-10-21/
1•satirr•13m ago•1 comments

Firefox Auto-Run on Windows

1•BubbleRings•20m ago•0 comments

Why didn't we use Ro­Register­For­Apartment­Shutdown?

https://devblogs.microsoft.com/oldnewthing/20261021-00/?p=112786/
1•ibobev•20m ago•0 comments

Microspeak: Drain the slide, back-up slides

https://devblogs.microsoft.com/oldnewthing/20261020-00/?p=112784/
1•ibobev•20m ago•0 comments

Advanced Shader Delivery Is Available Now Across Hardware

https://devblogs.microsoft.com/directx/advanced-shader-delivery-is-available-now-across-hardware/
1•ibobev•21m ago•0 comments

Ask HN: Are we giving away our civilization?

6•bigwheels•25m ago•3 comments

Robotaxi – Safety

https://www.tesla.com/robotaxi/safety
1•shekhar101•33m ago•0 comments

Mark Zuckerberg Agrees to Stay in California Despite Billionaires' Tax Measure

https://www.wired.com/story/mark-zuckerberg-agrees-to-stay-in-california-despite-billionaires-tax...
2•mikelgan•34m ago•0 comments

US Denaturalizes 2 People Who Gained Citizenship Hiding Criminal Activity

https://www.justice.gov/opa/pr/trump-administration-denaturalizes-two-people-who-gained-us-citize...
2•gnabgib•37m ago•0 comments

Meta's new terms say if its AI makes a mistake, it will be the customer's fault

https://www.cio.com/article/4237395/metas-new-enterprise-contract-says-if-its-ai-makes-a-mistake-...
5•cdrnsf•37m ago•2 comments

Update your Xbox Series S|X Controller through WebUSB

https://dzervas.github.io/xpad-webusb-update/
1•ttouch•41m ago•0 comments

Morph 4K Firmware v4: Simulating the Physics of Retro Video

https://www.pixelfx.co/post/morph-4k-firmware-v4-simulating-the-physics-of-retro-video
1•bpierre•46m ago•0 comments

GameFrame: Agentic Framework for Reverse Engineering Games

https://tanepiper.github.io/game-frame/
3•tanepiper•47m ago•1 comments

Veggie Thursdays and vegan surprises How Ghent became a plant-based paradise

https://www.theguardian.com/food/2026/oct/21/veggie-thursdays-vegan-surprises-ghent-plant-based-p...
2•rdmuser•48m ago•0 comments

Completing a task does not remove the work of managing it

https://civicpivot.blogspot.com/2026/10/the-work-hidden-inside-just-ask.html
1•civicpivot•51m ago•0 comments

They Created a Cell That's Almost Alive. What to Do with It Now?

https://www.nytimes.com/2026/10/14/science/spudcell-adamala-biotic.html
5•CharlesW•52m ago•1 comments

Postgres Recovery_prefetch Considered Harmful and Causing Outages

https://ardentperf.com/2026/10/20/postgres-recovery_prefetch-considered-harmful-and-causing-outages/
1•plaur782•52m ago•0 comments

Qpack amplification attacks against HTTP/3 servers

https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
7•kozika•53m ago•1 comments

Dense Sand – Sovereign BYOA AI SoC Platform for AWS

https://aws.amazon.com/marketplace/pp/prodview-iamlatxnobx7o
1•DenseSand•54m ago•0 comments

Make Your Startup More Powerful, Not Just More Profitable

https://www.paulgraham.com/powerful.html
4•mrkn1•56m ago•0 comments

SimulaVR Compute Pack Progress

https://simulavr.com/blog/compute-pack-progress/
1•ai_critic•56m ago•0 comments

A tale of two PHP remote vulnerabilities

https://calif.io/php2shell.x/
1•kozika•57m 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