frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Repeated Header in a Next.js page using iframe and BBPress

1•Thompson_Li•3m ago•0 comments

Chapter House: A Complete Children's Library

https://chapter.house/
1•MrBuddyCasino•3m ago•0 comments

Full Stack Developer

1•shoaibcodes•5m ago•0 comments

Show HN: Sylph – the open-source company brain behind my YC startup

https://github.com/getnao/sylph
2•ClaireGz•5m ago•0 comments

ChatGPT for PowerPoint in Beta

https://chatgpt.com/apps/powerpoint/
1•sofumel•10m ago•0 comments

Efficient, SQL-backed C++ project indexer designed for large codebases

https://github.com/walti1972/mcp-cpp-project-indexer
1•walti1972•11m ago•0 comments

Former Price Andrew sexual misconduct being examined

https://www.abc.net.au/news/2025-11-01/virginia-giuffre-voice-finally-heard-prince-andrew-epstein...
1•asdefghyk•27m ago•1 comments

Samsung Chip Workers to Get Average $340k Bonus in AI Boom

https://www.bloomberg.com/news/articles/2026-05-21/samsung-chip-workers-to-get-average-340-000-bo...
1•helsinkiandrew•28m ago•1 comments

Why does the arrow (->) operator in C exist?

https://stackoverflow.com/questions/13366083/why-does-the-arrow-operator-in-c-exist
1•signa11•37m ago•0 comments

Welcome to John Regehr's Integers in C quiz

https://acepace.net/integerQuiz/
2•signa11•38m ago•0 comments

PopPy: Opportunistically Exploiting Parallelism in Python Compound AI Apps

https://arxiv.org/abs/2605.18697
1•matt_d•40m ago•0 comments

Use your Intel iMac as an external display for Apple Silicon Macs

https://github.com/swellweb/targetBridge
1•tjek•42m ago•0 comments

SpaceX tries to launch a bigger Starship, hits a series of last-minute problems

https://apnews.com/article/spacex-musk-starship-rocket-launch-eee2fd12d03e7c3c2e24753eb80c0d17
1•1vuio0pswjnm7•47m ago•0 comments

Interview with the Engineer of Uruky, a Privacy Search Engine

https://theprivacydad.com/interview-with-the-engineer-of-uruky-a-private-search-engine/
1•BrunoBernardino•47m ago•0 comments

SpaceX is heavily reliant on Starlink for growth and profit

https://www.cnbc.com/2026/05/21/spacex-starlink-growth-profit-nasdaq-ipo.html
2•1vuio0pswjnm7•49m ago•0 comments

Despite a $500M net worth, Shaq just finished his fourth degree

https://fortune.com/2026/05/20/500-million-net-worth-shaq-finished-his-fourth-degree-warning-for-...
2•1vuio0pswjnm7•52m ago•0 comments

I Simulated 31,125 VR Data Streams to Break My Hardware (Emovision Stress Test)

https://linustechtips.com/topic/1637924-i-tried-to-melt-my-intel-ultra-7-router-setup-simulating-...
1•Subtextofficial•52m ago•0 comments

First Starship Interplanetary Mission

https://www.spacex.com/updates#first-starship-interplanetary-mission
1•cryptoz•53m ago•0 comments

AIMF – An open file format specification for AI-native media

https://github.com/ai-mf/media-engine
1•aimediaformat•54m ago•0 comments

Amnesty supports Dutch lawsuit against illegal tracking in Apps by AppLovin

https://www.amnesty.org/en/latest/news/2026/05/amnesty-international-supports-lawsuit/
1•DavideNL•56m ago•1 comments

What I learned from tinkering with programming languages in the last 34 days

1•alonsovm44•57m ago•0 comments

ML-intern: an open-source ML engineer that reads papers, trains and ships models

https://github.com/huggingface/ml-intern
3•pyinstallwoes•1h ago•1 comments

Canada's early-stage angel investing falls to five-year low

https://www.theglobeandmail.com/business/article-early-stage-angel-investing-report-national-ange...
2•petethomas•1h ago•0 comments

Ramen at 8. Run after work. Movie tonight. Drop the plan. See who's innn

https://www.innn.life
2•essekar•1h ago•0 comments

SimpleUI – a user-friendly homescreen for KOReader

https://github.com/doctorhetfield-cmd/simpleui.koplugin
1•Curiositry•1h ago•0 comments

Designing Firefox for the Future

https://blog.mozilla.org/en/firefox/new-firefox-design/
5•microflash•1h ago•1 comments

WaylandCraft – Wayland Compositor in Minecraft

https://github.com/EVV1E/waylandcraft
2•lorenzohess•1h ago•0 comments

CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs

https://arxiv.org/abs/2605.19269
14•matt_d•1h ago•0 comments

Eve Agent V2 Unleashed – open-source local coding agent, powered by Ollama, FREE

https://github.com/JeffGreen311/eve-agent-v2-unleashed
2•jeffgreen311•1h ago•0 comments

The Iran Crisis, Energy Wars and Africa's Strategic Awakening

https://beyondboundarieswithmadelein.substack.com/p/the-iran-crisis-energy-wars-and-africas
1•leadingwomen•1h 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