frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Production Data and AI Agents

1•Eapz_06•1m ago•0 comments

Accretive Editing

https://justindfuller.com/programming/accretive-editing
1•iamjfu•2m ago•0 comments

Show HN: An interactive double pendulum "fractal"

https://www.doublethe.fun
1•teaearlgraycold•2m ago•0 comments

A staggering class divide now separates how Americans experience AI

https://www.axios.com/2026/07/10/ai-class-divide-fable-sol-mythos
1•giuliomagnifico•4m ago•0 comments

Man nearly sucked out of 'detached' window on Ryanair flight

https://www.france24.com/en/live-news/20260710-man-nearly-sucked-out-of-detached-window-on-ryanai...
1•jacquesm•9m ago•0 comments

AI Surveillance and Social Progress

https://www.schneier.com/blog/archives/2026/07/ai-surveillance-and-social-progress.html
1•cdrnsf•9m ago•0 comments

Gary Kildall's Death Investigation

https://dfarq.homeip.net/gary-kildalls-death-investigation/
1•jnord•11m ago•0 comments

Polymarket Seeks License to Offer Margin Trading Legally in US

https://www.bloomberg.com/news/articles/2026-07-09/polymarket-seeks-license-to-offer-margin-tradi...
2•thm•11m ago•0 comments

Could We Mitigate Super El NiñOS by Artificially Changing the Climate?

https://www.smithsonianmag.com/smart-news/could-we-mitigate-super-el-ninos-by-artificially-changi...
2•gotmedium•12m ago•0 comments

80-year-old woman with Alzheimer's took mushrooms and started speaking again

https://www.microdos.in/en/research/alzheimers-case-report-psilocybin-speech
3•LaurensDerisks•13m ago•0 comments

Ask HN: What model/AI platform do you use for the automatic translations?

1•cristaloleg•16m ago•0 comments

The Update Framework (TUF)

https://apis.io/providers/tuf/
1•ankitg12•16m ago•0 comments

Ask HN: Who knows someone at GitHub/NPM team?

2•punkpeye•20m ago•0 comments

'Complex numbers are not needed for quantum mechanics'

https://www.livescience.com/physics-mathematics/complex-numbers-are-not-needed-for-quantum-mechan...
2•bookofjoe•23m ago•0 comments

GPS Camerastamp Photo

https://play.google.com/store/apps/details?id=com.gpsmapcamera.timestamp.geotaglocation.video&hl=...
1•karlnelsone•24m ago•1 comments

Stardew Valley Mod Enables 3D and VR

https://www.rockpapershotgun.com/stardew-valley-enters-the-third-dimension-thanks-to-this-in-deve...
2•makaimc•25m ago•0 comments

Show World

https://zenodo.org/records/21294371
1•mbinatorom•25m ago•0 comments

Show HN: TTSC, TypeScript v7 ToolChain, plugin and codegraph reducing 90% tokens

https://github.com/samchon/ttsc
1•autobe•30m ago•0 comments

Email link phishing: why your email app should always show the URL

https://www.phpfreelance.co.uk/blog/email-link-phishing-your-app-should-always-show-the-url
1•vcdk•34m ago•0 comments

Mini Shai-Hulud: Where SLSA's Boundaries Fall

https://slsa.dev/blog/2026/05/mini-shai-hulud-what-slsa-can-and-cannot-do
1•ankitg12•35m ago•0 comments

TV Time is shutting down. The alternatives are buckling

https://reacham.app/demand-leaks/tv-time
1•neddinn•36m ago•1 comments

AB 2047: California's 3D Printer Surveillance Bill Advances

https://reclaimthenet.org/california-wants-a-watcher-inside-every-3d-printer
2•bilsbie•37m ago•0 comments

Modern environment designs overstimulate the brain, causing discomfort, stress

https://www.stir.ac.uk/news/2026/july-2026-news/looks-good-feels-bad-stirling-led-review-explains...
1•giuliomagnifico•38m ago•0 comments

EU Commission: addictive design Instagram and Facebook in breach of the DSA

https://ec.europa.eu/commission/presscorner/home/en
7•jeroenhd•38m ago•4 comments

Show HN: The Flint Programming Language

https://github.com/flint-lang/flintc
2•zweiler1•39m ago•0 comments

Meta risks $12B EU fine over addictive Instagram and Facebook feeds

https://www.theverge.com/policy/963872/meta-eu-addictive-design-200b-fine-risk-digital-services-a...
2•ilreb•39m ago•0 comments

Size Does Matter

https://nh3.dev/blog/05-bloat
1•cristaloleg•40m ago•0 comments

Cybersecurity Startup Publishes Infostealers to NPM

https://opensourcemalware.com/blog/cybersecurity-startup-publishes-infostealers-to-npm
2•ledoge•41m ago•1 comments

China tests sea-based rocket booster recovery system

https://www.reuters.com/science/china-successfully-tests-sea-based-rocket-booster-recovery-system...
2•olalonde•45m ago•0 comments

The Road to Iroh 1.0

https://www.iroh.computer/blog/the-road-to-iroh-1-0
1•pimterry•45m 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