frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

No more zero-retention policy for OpenCode go

https://www.reddit.com/r/opencodeCLI/comments/1vbltva/no_more_zeroretention_policy_for_opencode_go/
1•gman83•33s ago•0 comments

Mivee.app

https://mivee.app
1•nafas-hmn•40s ago•0 comments

An Ocean in Motion: NASA's View of Earth's Underwater Highways [video]

https://www.youtube.com/watch?v=R5-s6O8qyvE
1•simonebrunozzi•2m ago•0 comments

Show HN: MathJump – A math-based running game that requires quick calculations

https://mathjump.cc/
1•wdamao•4m ago•0 comments

VideoOnRepeat – a simple way to loop YouTube videos

https://videoonrepeat.com
1•multiplesauces•5m ago•0 comments

Show HN: Ctx traits · Turn your team skills into typed and versioned modules

https://ctx.company/traits/
1•rpunkfu•5m ago•0 comments

7 in 10 Americans say large tech companies have too much power

https://www.axios.com/2026/07/29/little-tech-big-tech-americans-power
2•mapping365•6m ago•0 comments

Friluftsliv

https://it.wikipedia.org/wiki/Friluftsliv
1•simonebrunozzi•8m ago•0 comments

Quantum Statistical Plasmonic Metacrystals

https://www.nature.com/articles/s41586-026-10782-3
1•bookofjoe•10m ago•0 comments

State of the MCP Ecosystem – July 2026

https://mcpqueen.com/reports/state-of-mcp-2026-07
1•Bluestein•10m ago•0 comments

Show HN: Explore different scenarios for making a decision, a future simulation

https://www.futuraengine.com
1•Amir_hz•11m ago•0 comments

FCC bans future Roombas from being sold in the US

https://www.dexerto.com/entertainment/fcc-bans-future-roombas-from-being-sold-in-the-us-3393016/
3•imperio59•11m ago•0 comments

How does the Code Execution tool sandbox arbitrary code the LLM generates?

1•Hannah203•12m ago•0 comments

No more asking 'who are you'; we have all been reduced to a passphrase

https://josh.mn/posts/we-have-all-been-reduced-to-a-passphrase/
1•erremerre•13m ago•0 comments

Reconsidering O_CREAT|O_DIRECTORY

https://lwn.net/SubscriberLink/1085617/952dc74937521328/
1•jwilk•13m ago•0 comments

DearSQL: Native SQL Client for macOS, Linux and Windows

https://dearsql.dev/
1•klaussilveira•13m ago•0 comments

Ymery: Interactive imgui applications with YAML instead of code

https://github.com/zokrezyl/ymery
1•klaussilveira•19m ago•0 comments

Restaurants recommandations from Google always suck

1•yurimhln•23m ago•0 comments

Stripe Just Wants a Number

https://blog.exe.dev/billable-facts
1•mtlynch•24m ago•0 comments

Venice Acqua Alta and a changing climate

https://www.nature.com/articles/s41612-023-00513-0
1•simonebrunozzi•24m ago•0 comments

Network+ for Windows Updated

https://github.com/myaaghubi/NetworkPlus
1•myaaghubi•29m ago•0 comments

Build Adaptable Agents. Visually

https://github.com/ringlochid/banksia
1•ringlochid•30m ago•0 comments

Asynchronous I/O in DuckDB

https://duckdb.org/2026/07/31/asynchronous-io
1•ErenayDev•31m ago•0 comments

Your Friends Don't Like You And This Is My App.

https://kurzioai.vercel.app/
1•curzio•31m ago•0 comments

Medium Explains Its New Table of Contents System

https://medium.engineering/how-we-built-the-new-table-of-contents-feature-c3825d8c279d
1•javatuts•34m ago•0 comments

ECMAScript – Introducing Deferred Module Evaluation with Import Defer

https://nitayneeman.com/blog/introducing-import-defer-in-ecmascript/
1•javatuts•34m ago•0 comments

Rust Is Eating JavaScript

https://leerob.com/rust
3•javatuts•34m ago•0 comments

The Tail at Scale

https://cacm.acm.org/research/the-tail-at-scale/
1•ndr•35m ago•0 comments

Build Your Startup in Minutes

https://moneion.com
1•Developer_2•35m ago•1 comments

The Maxwell conjecture is false. Counterexample found by AI (GPT-5.6 Sol)

https://xcancel.com/antibot/captcha
2•virgildotcodes•37m ago•2 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