frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Cities That Said Yes to Drugs

https://www.theatlantic.com/magazine/2026/09/city-drug-addiction-harm-reduction-policy/687967/
1•JumpCrisscross•46s ago•1 comments

The American Dream Has Given Way to the "Great Postponement"

https://fortune.com/2026/07/29/american-dream-the-great-postponement-susan-wachter/
1•rmr_raph•55s ago•0 comments

AI before AI: The forgotten Soviet programme

https://www.france24.com/en/technology/20260730-ai-before-ai-forgotten-soviet-programme
1•yubblegum•2m ago•0 comments

GitHub Models is now retired

https://github.blog/changelog/2026-07-30-github-models-is-now-retired/
1•smokeeaasd•3m ago•0 comments

New Keyboard: Alicja v2

https://marcin.juszkiewicz.com.pl/2026/07/29/new-keyboard-alicja-v2/
1•jandeboevrie•3m ago•0 comments

Google Flow Music launches Lyria 3.5 with advances in musicality, lyrics, vocals

https://blog.google/innovation-and-ai/models-and-research/google-labs/lyria-3-5/
1•noiv•3m ago•0 comments

You have been mislead about lightbulbs

https://maurycyz.com/misc/tungsten/
1•jandeboevrie•6m ago•0 comments

Apple says iOS 27 'Restricted Mode' isn't for new Upgrade program leases

https://9to5mac.com/2026/07/28/apple-says-ios-27-restricted-mode-isnt-for-new-upgrade-program-lea...
2•JumpCrisscross•8m ago•0 comments

What happens to your private messages under 'Chat Control'?

https://www.euronews.com/my-europe/2026/07/30/what-happens-to-your-private-messages-under-chat-co...
4•billybuckwheat•9m ago•0 comments

Post by Maliciouschat.bsky.social – Bluesky

https://bsky.app/profile/maliciouschat.bsky.social/post/3mrvddhi42s26
2•untiledsource•9m ago•0 comments

Lament for the Shackled World: A prose-poem on biological vs. digital captivity

https://rentry.co/mqot3sem
1•HumMach•12m ago•0 comments

Ruling Is a Skill. Voting for It Is a Joke

https://julienreszka.com/blog/ruling-is-a-skill-voting-for-it-is-a-joke/
1•julienreszka•13m ago•0 comments

I obtained Claude Opus 5 system prompt

https://claude.ai/share/98073770-0ad9-431f-a1e7-e0243db18758
15•juleiie•15m ago•6 comments

Triple-band 2x2 MIMO Wi-Fi 7 Is this heaven?

https://mikrotik.com/product/hap_be3_media
1•gitowiec•17m ago•0 comments

Apple Reports 3Q 2026 Results: $29.8B Profit on $109.4B Revenue

https://www.macrumors.com/2026/07/30/apple-3q-2026-earnings/
2•ksec•19m ago•0 comments

Who Has the Funniest Name?

https://www.jonathanchiang.ca/blog/funniest_names.html
1•szge•23m ago•1 comments

Leadership Lessons from The Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•23m ago•0 comments

C64 Demo Effects Explained: Rodents in the Attic [video]

https://www.youtube.com/watch?v=uZ1atMUOUMU
1•u1hcw9nx•24m ago•0 comments

Wall Street suffered historic crash in momentum stocks, rebound could be a trap

https://www.morningstar.com/news/marketwatch/20260730119/wall-street-just-suffered-a-historic-cra...
1•mapping365•24m ago•3 comments

Man seeks millions after being shot by police in game-related swatting incident

https://www.tucsonsentinel.com/local/report/072926_melendez_swatting/man-seeks-millions-after-bei...
12•anigbrowl•25m ago•1 comments

Show HN: Panini – bundle a Gleam app and BEAM into one self-contained binary

https://github.com/tsirysndr/panini
1•tsiry•26m ago•0 comments

Show HN: Interlock – Python circuit breaker tripping on latency, not just errors

https://github.com/bagowix/interlock
1•bagowixxx•27m ago•0 comments

Explicit Instruction Works. Education Schools Just Won't Admit It

https://www.aei.org/research-products/report/explicit-instruction-works-education-schools-just-wo...
2•barry-cotter•30m ago•0 comments

Chrome may get faster updates with no restart required

https://arstechnica.com/ai/2026/07/chrome-may-get-faster-updates-with-no-restart-required/
1•pier25•32m ago•0 comments

Price Was Set by an Algorithm

https://www.niemanlab.org/2026/07/this-price-was-set-by-an-algorithm-news-subscribers-are-surpris...
1•speckx•32m ago•0 comments

Show HN: Logan Basic v2.1 - An online BASIC interpreter.

https://sinusoft.com/loganbasic/
1•Sinusoid314•32m ago•1 comments

All-in one kit to ship your first iOS app

https://www.apprejectkit.com/
1•jonvolio•32m ago•1 comments

Scale AI appoints Google Cloud exec as new CEO

https://scale.com/blog/scale-appoints-new-ceo
1•JustinGraham•34m ago•0 comments

Drivers Are Taking Extreme Measures to Avoid New Car Technology

https://www.wsj.com/lifestyle/cars/driver-assistance-technology-dashboard-ead96bd2
5•mcone•35m ago•5 comments

Treatments for kids with food allergies allow safe eating in trial

https://med.stanford.edu/news/all-news/2026/07/food-allergies.html
2•gmays•35m 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