frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Researchers redesign vaginal speculum to ease fear and pain

https://www.thehindu.com/sci-tech/health/researchers-redesign-vaginal-speculum-to-ease-fear-and-pain/article69810707.ece
1•PaulHoule•3m ago•0 comments

Timeplast: Time-programmable, Water-soluble Plastic

https://www.timeplast.com
1•radeeyate•4m ago•0 comments

Am I wrong about SF?

1•luicho•4m ago•0 comments

Bali is a JavaScript engine written in Nim

https://github.com/ferus-web/bali
1•amadeuspagel•4m ago•0 comments

GPT decodes text from shifted hand placement on keyboards

https://old.reddit.com/r/OpenAI/comments/1mg974j/holy_crap/
1•surprisetalk•5m ago•0 comments

Montreal Experiments (MKUltra Subproject 68)

https://en.wikipedia.org/wiki/Montreal_experiments
1•Jimmc414•5m ago•0 comments

Producer – You can now talk to an AI to make full songs, like ChatGPT for music

https://www.producer.ai/waitlist
1•modinfo•5m ago•0 comments

Python Testing MCP Server

https://github.com/jazzberry-ai/python-testing-mcp
1•MarcoDewey•6m ago•0 comments

The Rise of the AI Database: Powering Real-Time AI Applications

https://www.singlestore.com/blog/the-rise-of-the-ai-database-powering-real-time-ai-applications/
1•mcargian•8m ago•0 comments

Poorest US workers hit hardest by slowing wage growth

https://www.ft.com/content/cfb77a53-fef8-4382-b102-c217e0aa4b25
2•hhs•14m ago•1 comments

Where Did Nintendo's Logo Come From? [video]

https://www.youtube.com/watch?v=Cm5bL1mmbS4
1•jumpocelot•15m ago•0 comments

Startup equity is worth more than you think

https://www.amafinance.org/startup_comp/
1•usaar333•16m ago•0 comments

The ChatGPT sharing dialog shows difficulty in designing privacy preferences

https://simonwillison.net/2025/Aug/3/privacy-design/
1•zdw•22m ago•1 comments

The Complete Weekend Micro-App Builder's Playbook: From Zero to Live SaaS

https://sidsaladi.substack.com/p/the-complete-weekend-micro-app-builders
1•Sidsaladi•24m ago•1 comments

She owes a private school $27,000. Her daughter never attended

https://www.washingtonpost.com/dc-md-va/2025/08/03/private-schools-lawsuits-families/
3•pwthornton•25m ago•0 comments

Optical pooled CRISPR screening used to identify potential Ebola drug targets

https://news.mit.edu/2025/scientists-apply-optical-pooled-crispr-screening-identify-potential-new-ebola-drug-targets-0724
1•gmays•25m ago•0 comments

Generative Art Vending Machine

https://www.youtube.com/watch?v=g9BWODjYZBY
1•bookofjoe•26m ago•0 comments

Shelling Out Is Selling Out

https://petersobot.com/blog/shelling-out-is-selling-out/
1•psobot•29m ago•1 comments

Why Doctors Hate Their Computers (2018)

https://www.newyorker.com/magazine/2018/11/12/why-doctors-hate-their-computers
1•mitchbob•30m ago•2 comments

Epic Effort to Ground Physics in Math Opens Up the Secrets of Time

https://www.quantamagazine.org/epic-effort-to-ground-physics-in-math-opens-up-the-secrets-of-time-20250611/
1•alexcos•31m ago•0 comments

Show HN: Grow a Garden Cooking Recipes

https://growagardencookingrecipes.com
1•yiyiyayo•32m ago•0 comments

Russian volcano erupts for first time in more than 500 years

https://www.bbc.com/news/articles/c0r7qlwg4zro
2•wslh•32m ago•0 comments

Is Chatgpt.com Up or Down?

https://websitedown.xyz/chatgpt-com-status
1•kajnes•35m ago•0 comments

Show HN: Open-source macOS dictation replacement, 5Mb

https://github.com/j05u3/VTS
2•josue_0•41m ago•1 comments

New Aging Clock Forecasts Dementia, Disease Risk from Single MRI Scan

https://www.insideprecisionmedicine.com/topics/patient-care/new-aging-clock-forecasts-dementia-disease-risk-from-single-mri-scan/
5•gscott•45m ago•1 comments

Is this a real woman? AI model in Vogue raises concerns about beauty standards

https://www.bbc.com/news/articles/cgeqe084nn4o
5•gnabgib•48m ago•1 comments

Teznewz : AI-Powered Fin News & Social Sentiment for Retail Investor

https://teznewz.com/
1•sixteen_dev•52m ago•1 comments

Vibe coded a Workout Wrapped Website to summarize my yearly gains

https://wodwrapped.netlify.app/
1•dominickgurnari•53m ago•1 comments

Anywhere on Earth

https://en.wikipedia.org/wiki/Anywhere_on_Earth
2•sandinmyjoints•1h ago•0 comments

Dana Morgan Jr.

http://deadessays.blogspot.com/2025/08/dana-morgan-jr.html
1•tkgally•1h ago•0 comments
Open in hackernews

Names are not type safety (2020)

https://lexi-lambda.github.io/blog/2020/11/01/names-are-not-type-safety/
21•azhenley•2h ago

Comments

nixpulvis•9m ago
In Rust I find myself gaining a good bit of type safety without losing ergonomics by wrapping types in a newtype then implementing Deref for them. At first it might seem like a waste, but it prevents accidentally passing the wrong type of thing to a function (e.g. a user UUID as a post UUID).
5pl1n73r•6m ago
My peers and I work on a language centered around "constructive data modeling" (first time I hear it called that). We implement integers, and indeed, things like non empty lists using algebraic data types, for example. You can both have a theory of values that doesn't rely on trapdoors like "int32" or "string", as well as encode invariants, as this article covers.

As I understand it, the primary purpose of newtypes is actually just to work around typeclass issues like in the examples mentioned at the end of the article. They are specifically designed to be zero cost, because you want to not pay when you work around the type class instance already being taken for the type you want to make an instance for. When you make an abstract data type by not exporting the data constructors, that can be done with or without newtype.