frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

1•winwang•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
"def" is too generic.

"fn" is too cryptic.

"function" is better than the two.

MultifokalHirn•9mo ago
Agreed

Show HN: Beautiful interactive explainers generated with Claude Code

https://paraschopra.github.io/explainers/
3•paraschopra•1m ago•0 comments

How asbestos poisoned almost the entire planet [video]

https://www.youtube.com/watch?v=cMx139eTxoc
1•dataflow•2m ago•0 comments

Show HN:From One Prompt or URL to Posts Across 6 Platforms, Vibe Does It for You

https://vibe.xpandrai.com/
1•mavenvik_ai•6m ago•1 comments

BSDCan 2006 Talks, Tutorials, and Registration

https://blog.bsdcan.org/2026/02/11/bsdcan-2026-talks-tutorials-and-registration/
1•cperciva•9m ago•1 comments

Mac Private Cloud

https://github.com/ciderstack/Brew
1•ciderdev•11m ago•0 comments

Show HN: A Structured CBT Orchestration Engine Built on Top of LLMs

https://optimism-engine.vercel.app/
1•sucharithan•15m ago•0 comments

Bridgewater bought $4.3B in SPY in one quarter, a 10x position increase

https://13finsight.com/research/bridgewater-associates-q4-2025-13f-deep-dive-dalio-spy-bet
1•vicchenai•16m ago•0 comments

Show HN: Free printable micro-habit tracker inspired by Atomic Habits

https://atomichabits-calendar.com
1•winmonaye•20m ago•0 comments

Incorrigible Rudeness, the Strategy for Social-Political Impotence [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/02/iq-4.1-spring-2026-poenicke-rudeness-and...
2•brandonlc•22m ago•0 comments

Show HN: H.e.i.m.d.a.l.l – Telemetry-to-insight pipeline for fleet telemetry

https://github.com/KarthikSriramGit/H.E.I.M.D.A.L.L
1•starksriram•24m ago•0 comments

DPaint – Webbased image editor, modeled after the legendary Deluxe Paint

https://dpaint.app
1•helloplanets•25m ago•1 comments

Show HN: MeterLogs – Track home energy usage without smart devices

https://meterlogs.com/en
1•lumpe•26m ago•0 comments

Show HN: JellyOcean – Managed Jellyfin Servers

https://jellyocean.com/
1•grzes•26m ago•0 comments

I shipped code I don't understand and I bet you have too [video]

https://www.youtube.com/watch?v=eIoohUmYpGI
1•pxska•29m ago•0 comments

A DuckDB-based metabase alternative

https://github.com/taleshape-com/shaper
2•wowi42•29m ago•0 comments

15 years later, Microsoft morged my diagram

https://nvie.com/posts/15-years-later/
91•cheeaun•39m ago•20 comments

Terminals should generate the 256-color palette

https://gist.github.com/jake-stewart/0a8ea46159a7da2c808e5be2177e1783
10•tosh•39m ago•2 comments

Show HN: Premeth – Ensuring that premed student always stay premeth

https://www.premeth.com/
1•dodobirdy•42m ago•0 comments

LCD-as-Aperture: A Computer That Fits Inside a Camera Lens

https://hackaday.com/2026/02/16/a-computer-that-fits-inside-a-camera-lens/
1•selvan•46m ago•0 comments

Show HN: LaminarDB – Streaming SQL database in Rust, zero-alloc hot path

https://github.com/laminardb/laminardb
3•sujitn•47m ago•1 comments

Historically first (0.01) release of Linux kernel (1991)

https://github.com/zavg/linux-0.01
1•tosh•48m ago•0 comments

Anthropic's pricing wall is routing enterprise revenue to OpenAI

2•luckygreen•50m ago•0 comments

Show HN: TokenMeter – Open-source observability layer for LLM token costs

https://github.com/ATMAECHO/TOKEN-METER
1•Mohit8880•51m ago•1 comments

Show HN: OpenClaw – Open-source personal AI agent that lives on your machine

https://github.com/openclaw/openclaw
1•YaraDori•58m ago•1 comments

TinyIce: Single-binary Icecast2-compatible server (auto-HTTPS, multi-tenant)

https://github.com/DatanoiseTV/tinyice
3•sylwester•58m ago•1 comments

John Carmack on GPU Scheduling

https://twitter.com/ID_AA_Carmack/status/2023805426345689198
2•tosh•59m ago•0 comments

Show HN: Claude Code as a Doctor for Claude Code

https://github.com/Ramsbaby/openclaw-self-healing
1•ramsbaby-dev•1h ago•0 comments

"Operation Windlord": C-17 Airlifts a Micro Nuclear Reactor for the First Time

https://www.twz.com/uncategorized/this-is-a-nuclear-reactor-packed-into-a-c-17-globemaster-iii
3•hitekker•1h ago•0 comments

Oral history of Robert P. Colwell [pdf]

https://www.sigmicro.org/media/oralhistories/colwell.pdf
1•luu•1h ago•0 comments

The Brain May Learn More from Rare Events Than from Repetition

https://www.ucsf.edu/news/2026/02/431511/brain-may-learn-more-rare-events-repetition
2•XzetaU8•1h ago•0 comments