frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ideas on Glitching in Rust

https://tritium.legal/blog/glitch
3•piker•4h ago

Comments

dafelst•3h ago
I must be missing the point here, because this feels like bad advice. Calls like `panic` and `expect` and `assert` are there to uphold invariants, i.e. to deal with things that should never happen unless there is a logic error that invalidates the assumptions you hold about your program. It means "if you got here, I (the programmer) probably fucked up badly".

If an operation is fallible, it should return an error type and make it the job of the caller to deal with that. Silently returning default seems like a disaster waiting to happen, ala On Error Resume Next (which indeed was a disaster to deal with).

Now if this panic handler, instead of silently continuing in release mode, invoked some sort of "save your work and restart" handler such that the user doesn't lose anything and the program would restart in a known-good state, that seems like it would be a sensible way of doing things.

piker•3h ago
Actually that’s a fair point that should be clarified. These would be in places where practically panicking cannot happen, so you be tempted to swallow the Error and continue. But they should only be used where recovering with Default is okay.

[I added a note [NOTE: this strategy should only be used where returning early or default would be obvious to the user and be consistent with the upstream handling of an Err or None value.]]

Facebook removes ICE-tracking page after US Government 'outreach'

https://www.theverge.com/policy/799473/facebook-meta-ice-jawboning
1•ceejayoz•58s ago•1 comments

Open-Source AI-Native Web Server

https://github.com/okba14/NeuroHTTP
1•el_hacker•2m ago•0 comments

Secure Boot bypass risk threatens nearly 200k Linux Framework laptops

https://www.bleepingcomputer.com/news/security/secure-boot-bypass-risk-on-nearly-200-000-linux-fr...
1•cheschire•4m ago•0 comments

Are AI coding tools fundamentally changing Agile/team software development?

1•justdep•4m ago•0 comments

Athlete-Owned Media: Owning the Narrative

https://www.mediaimpactproject.org/sports.html
1•PaulHoule•5m ago•0 comments

Synthetic kratom is exploding in California

https://www.sfgate.com/bayarea/article/synthetic-kratom-addiction-and-ban-california-21076514.php
2•tqi•5m ago•0 comments

Bare Metal (The Emacs Essay)

https://waxbanks.wordpress.com/2025/08/01/bare-metal-the-emacs-essay/
1•hpaone•6m ago•0 comments

Show HN: BuzEntry – your apt buzzer answers itself

2•deephire•7m ago•0 comments

The state of the US econonomy hinges on rare earth minerals from China

https://prospect.org/world/2025-10-14-china-trump-tariffs-rare-earth-minerals/
2•jbrins1•8m ago•0 comments

Claude Commands: Build Predictable AI Coding Workflows

https://www.msthgn.com/articles/closing-the-loop-claude-commands-for-predictable-ai-workflows
2•msthgn•11m ago•0 comments

Governor vetoes California bill banning cookware with PFAS

https://www.theguardian.com/us-news/2025/oct/14/california-pfas-ban-gavin-newsom
2•Jimmc414•12m ago•0 comments

The data model behind notion

https://www.notion.com/blog/data-model-behind-notion
1•olayiwoladekoya•12m ago•0 comments

An angry rant about locales and filenames in libarchive

https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f027338b0fab0f5078971fbe
1•fanf2•15m ago•0 comments

Nextcloud withdraws European Commission OneDrive complaint

https://www.theregister.com/2025/10/09/nextcloud_withdraws_ec_onedrive_bundling/
2•raybb•18m ago•0 comments

Field Guide to TSL and WebGPU

https://blog.maximeheckel.com/posts/field-guide-to-tsl-and-webgpu/
1•barremian•18m ago•0 comments

Do You Have to Stop Using Windows 10?

https://www.wired.com/story/do-you-really-have-to-stop-using-windows-10/
2•01-_-•19m ago•0 comments

I Managed to Grow Countable Yeast Colonies

https://chillphysicsenjoyer.substack.com/p/i-managed-to-grow-countable-yeast
2•crescit_eundo•21m ago•0 comments

Surveillance Secrets

https://www.lighthousereports.com/investigation/surveillance-secrets/
4•_tk_•21m ago•0 comments

The .NET Security Group

https://devblogs.microsoft.com/dotnet/announcing-dotnet-security-group/
4•mikece•22m ago•0 comments

Key Analyst Says U.S. Is 'Going Broke' Under Trump

https://www.thedailybeast.com/key-jpmorgan-analyst-david-kelly-says-us-is-going-broke-under-trump/
4•mdhb•23m ago•0 comments

Why Is SQLite Coded in C and not Rust

https://www.sqlite.org/whyc.html
7•plainOldText•25m ago•0 comments

Show HN: Pathwave.io – MCP and mobile app to manually approve AI actions

https://web.pathwave.io/docs
1•felipe-pathwave•26m ago•0 comments

Certain processed foods and beverages linked to declines in brain health

https://news.vt.edu/articles/2025/09/clahs-food-cognition-research.html
1•01-_-•27m ago•0 comments

Echoes of Humanity: A Glimpse of a Hopeful Tomorrow

https://www.denoise.digital/echoes-of-humanity-a-glimpse-of-a-hopeful-tomorrow/
1•RevillWeb•28m ago•1 comments

U.S. Sanctions Cambodian Conglomerate, Citing Role in 'Pig-Butchering' Scams

https://www.wsj.com/business/u-s-sanctions-cambodian-conglomerate-citing-role-in-pig-butchering-s...
3•paulpauper•28m ago•0 comments

Tesla FSD will drive straight into the path of a oncoming train

https://bsky.app/profile/realdanodowd.bsky.social/post/3lz6hi4isik2y
3•Veserv•30m ago•0 comments

Show HN: Nofan Framework 16 Fan Controller

https://github.com/laktak/nofan
2•laktak•32m ago•0 comments

How everyday tech is training us to accept constant surveillance Seattle

https://www.axios.com/local/seattle/2025/10/14/surveillance-normalization-privacy-law-doorbell-ca...
5•rbanffy•33m ago•1 comments

What Declining Cardboard Box Sales Tell Us About the US Economy

https://www.bloomberg.com/news/articles/2025-08-14/cardboard-box-sales-fall-in-worrying-sign-for-...
3•susiecambria•34m ago•2 comments

JerryRigEverything: My Pixel 10 Pro Fold Exploded – Caught Live on Camera[video]

https://www.youtube.com/watch?v=8uS90jakOuw
2•Ralfp•34m ago•0 comments