frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Past, Present, and Future of (Ruby) Sorbet Type Syntax

https://blog.jez.io/history-of-sorbet-syntax/
5•ksec•12mo ago

Comments

Lio•12mo ago
This is a great write up and I think the proposal to make rbs-inline type comments avaible at runtime is an execellent solution.

I can definitely see the value runtime type checking in addition to static analysis. For my own work I've done this either using pattern matching:

  class User
    def initialize(name:, age:)
      String => name
      Integer => age
      @name = name
      @age = age
    end
  end
but the error messages aren't great IMHO. It's pretty easy though knock up a little type checker in a very small module and prepend it. I have support for union types and typed arrays in mine.

I actually wasn't aware of the improvements they've made over the years to Sorbet. It think that's probably what I'll migrate to now.

Lio•12mo ago
I'd add, I'm surprised this this post isn't added to the "official" Sorbet blog. It really is a great post and very positive for the future of the project.

https://sorbet.org/blog/

United plans fare hikes to offset fuel costs

https://www.usatoday.com/story/travel/airline-news/2026/04/22/united-airlines-ticket-prices/89734...
1•geox•1m ago•0 comments

When NASA Gave Spiders Drugs to See How It Affected Their Webs, 1995

https://rarehistoricalphotos.com/nasa-spiders-drugs-experiment/
1•simonebrunozzi•4m ago•0 comments

The Atari 1200XL – By Paul Lefebvre

https://www.goto10retro.com/p/inside-the-atari-1200xl
1•rbanffy•4m ago•0 comments

Show HN: Safer – Sleep better while AI agents have shell access

https://github.com/crufter/safer
1•friendly_chap•5m ago•0 comments

Xi Jinping wants a powerful currency. America's war has helped

https://www.economist.com/finance-and-economics/2026/04/23/xi-jinping-wants-a-powerful-currency-a...
1•petethomas•6m ago•0 comments

AI and Videogames – Conversational NPCs

https://www.youtube.com/watch?v=KfcIY0xePiM
1•frag•8m ago•0 comments

Why are the Mac mini and Mac Studio gradually becoming impossible to buy?

https://arstechnica.com/gadgets/2026/04/apples-m4-mac-mini-including-the-599-one-is-gradually-bec...
1•rbanffy•10m ago•0 comments

Business Ideas Under 5 Lakhs to Start Small – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/business-ideas-under-5-lakhs.aspx
1•saumyaraut11•11m ago•0 comments

The Viscous Frontier – How to Move When the Machine Stops Pulling

https://aneeshsathe.substack.com/p/the-viscous-frontier
1•boredgargoyle•12m ago•0 comments

Advantages of Longhand over Laptop Note Taking (2014) [pdf]

https://brucehayes.org/Teaching/papers/MuellerAndOppenheimer2014OnTakingNotesByHand.pdf
1•the-mitr•15m ago•0 comments

In a first, a ransomware family is confirmed to be quantum-safe

https://arstechnica.com/security/2026/04/now-even-ransomware-is-using-post-quantum-cryptography/
1•rbanffy•15m ago•0 comments

YouTube Meet the Line-Dancing Community Doodle Taking Up Resources

1•Throwthrowbob•19m ago•0 comments

Doby –Spec-first fix workflow for Claude Code that cuts navigation tokens by 95%

https://github.com/changmyoungkim/doby
1•changmyoungkim•20m ago•0 comments

Ask HN: Models Comparable to Opus 4.6?

3•islandbytes•22m ago•0 comments

Show HN: Gova – The declarative GUI framework for Go

https://github.com/NV404/gova
1•aliezsid•22m ago•0 comments

Show HN: Proving sdocs.dev is running the public code

https://sdocs.dev/trust
1•FailMore•24m ago•0 comments

How Do LLM Agents Think Through SQL Join Orders?

https://ucbskyadrs.github.io/blog/databricks/
1•matt_d•32m ago•0 comments

Is Unbound AI the future of adult entertainment?

https://unbound.video/landing4
3•Discuss-AI•34m ago•6 comments

The Most Controversial Post I Ever Wrote on Quora

https://derangedmathematician.substack.com/p/the-most-controversial-post-i-ever
1•wjholden•37m ago•0 comments

My .config Ship of Theseus

https://shift1w.com/blog/config-of-theseus/
2•jacobwiseberg•39m ago•0 comments

Pedal History Is in Danger – ChatGPT Is Rewriting Fact – and It's Getting Worse [video]

https://www.youtube.com/watch?v=0QynkC5HpcI
1•bryanrasmussen•40m ago•0 comments

Sinceerly: AI to undo your AI writing

https://sinceerly.com/
1•MrBuddyCasino•50m ago•0 comments

Ben Goldacre: OpenSAFELY in Brief

https://www.bennett.ox.ac.uk/blog/2025/02/opensafely-in-brief/
2•anitil•52m ago•1 comments

Do those that deserve the world, get the world?

https://dreamingtooloud.substack.com/p/do-those-that-deserve-the-world-get
1•homebush•1h ago•0 comments

AI-powered knowledge assistant for sexual and reproductive health

https://chathrp.org/
1•salkahfi•1h ago•0 comments

Quest Browser 146.0 adds experimental support for WebGPU in WebXR

https://bsky.app/profile/cabanier.bsky.social/post/3mk6ugjtbw22y
1•juretriglav•1h ago•0 comments

The importance of stupidity in scientific research (2008) [pdf]

https://web.stanford.edu/~fukamit/schwartz-2008.pdf
2•the-mitr•1h ago•0 comments

How Europe regulated itself into American vassalage

https://www.economist.com/europe/2026/04/22/how-europe-regulated-itself-into-american-vassalage
2•RestlessMind•1h ago•1 comments

Iran War Has Drained U.S. Supplies of Critical, Costly Weapons

https://www.nytimes.com/2026/04/23/us/politics/iran-war-cost-military.html
2•vrganj•1h ago•0 comments

Dutch government secures deal with European cloud platform STACKIT

https://www.nldigitalgovernment.nl/news/dutch-government-secures-deal-with-european-cloud-platfor...
1•hvb2•1h ago•0 comments