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•1y ago

Comments

Lio•1y 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•1y 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/

Cigna to quit health insurance exchanges

https://www.modernhealthcare.com/insurance/mh-cigna-aca-exchanges-2027/
1•brandonb•1m ago•0 comments

Mechanochemical synthesis of pincer nanotraps for efficient rhodium recovery

https://www.nature.com/articles/s41467-026-72569-4
1•bookofjoe•1m ago•0 comments

Performance Analysis of AI Query Approximation Using Lightweight Proxy Models

https://arxiv.org/abs/2603.15970
1•tanelpoder•3m ago•0 comments

The Mutable Value Semantics (MVS): A Non-Superficial Study

https://federicobruzzone.github.io/posts/eter/MVS.html
1•fcb•3m ago•1 comments

US National Debt Surpasses GDP

https://thehill.com/business/5857998-us-national-debt-gdp/
2•eigenspace•4m ago•0 comments

Data Science Weekly – Issue 649

https://datascienceweekly.substack.com/p/data-science-weekly-issue-649
1•sebg•4m ago•0 comments

Using physiological ODEs and DNNs to estimate VO2Max

https://www.empirical.health/blog/how-apple-watch-cardio-fitness-vo2max-works/
1•brandonb•9m ago•0 comments

Why Commodore went bankrupt in 1994

https://dfarq.homeip.net/why-commodore-went-bankrupt-in-1994/
1•rbanffy•11m ago•0 comments

Apple Introduces App Store Monthly Subscriptions with 12-Month Commitment

https://www.macrumors.com/2026/04/27/app-store-monthly-subscriptions-12-month-commitment/
1•Cider9986•12m ago•0 comments

Thoma Bravo Refuses to Inject Fresh Cash into Ailing Medallia

https://www.bloomberg.com/news/articles/2026-04-30/thoma-bravo-refuses-to-inject-fresh-cash-into-...
2•petethomas•13m ago•0 comments

Epic Games Wins Reversal of Stay in App Store Fee Legal Battle

https://www.macrumors.com/2026/04/29/epic-games-wins-reversal-app-store-fee-battle/
4•satvikpendem•13m ago•0 comments

Apple wants to kill your Time Capsule, but they run NetBSD so they can't

https://www.osnews.com/story/144845/apple-wants-to-kill-your-time-capsule-but-they-run-netbsd-so-...
5•rbanffy•15m ago•0 comments

Tool calls that execute 100% of the time

https://blog.dottxt.ai/structured-generation-for-tool-calling.html
3•remilouf•18m ago•0 comments

iPhone 17 Is Apple's Most Popular Lineup

https://www.macrumors.com/2026/04/30/iphone-17-is-apples-most-popular-lineup-ever/
1•Cider9986•18m ago•1 comments

ccbuild – A build system for C++ where your build scripts are C++

https://github.com/aniket-ray/ccbuild
1•aniketray•19m ago•0 comments

Gram: A fork of Zed without the bloat

https://codeberg.org/GramEditor/gram
1•klaussilveira•19m ago•0 comments

Show HN: A dashboard for the closest trains in New York City

https://j91680545-byte.github.io/mta-dashboard/
1•throwawayq3423•21m ago•0 comments

Ford's $1B Bet on Detroit's Future – Newlab Tour (11 min video)

https://www.youtube.com/watch?v=lARWV1-Guz4
1•rmason•23m ago•0 comments

Kernel Contracts: A Spec. Language for Correctness Across Heterogeneous Silicon

https://arxiv.org/abs/2604.22032
1•matt_d•23m ago•0 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
1•downbad_•24m ago•1 comments

China Suspends Autonomous Driving Permits After Baidu Outage

https://www.bloomberg.com/news/articles/2026-04-29/china-suspends-new-autonomous-driving-permits-...
2•layer8•24m ago•0 comments

Managing dependencies in non-manifest languages

2•riteshnoronha16•26m ago•0 comments

Apple announces record fiscal second quarter

https://sixcolors.com/post/2026/04/apple-announces-record-fiscal-second-quarter/
1•Amorymeltzer•29m ago•0 comments

Optimising Programmable

https://www.researchgate.net/publication/404050094_A_Data-Driven_Machine_Learning_Framework_for_O...
1•f0r3st•35m ago•1 comments

Tanstack Malicious Code was a college student with Google Antigravity

https://twitter.com/SH20RAJ/status/2049844650136248592
4•amrrs•37m ago•0 comments

Ubuntu website and repositories outage due to DDoS

https://twitter.com/VECERTRadar/status/2049934376272810445
6•jtlebigot•41m ago•2 comments

Don't Delegate Understanding

https://stephango.com/understand
1•sebg•41m ago•0 comments

Apple's iPhone revenue jumps to $57B despite chip shortages

https://www.theverge.com/tech/921527/apple-iphone-revenue-q2-2026-earnings
3•mgh2•42m ago•2 comments

Apple beats on Q2 earnings, thanks to China and iPhone sales

https://finance.yahoo.com/video/apple-beats-on-q2-earnings-thanks-to-china--iphone-sales-20405227...
2•mgh2•43m ago•1 comments

OxyContin maker Purdue Pharma dissolves after judge approves criminal sentence

https://apnews.com/article/oxycontin-purdue-pharma-criminal-sentence-settlement-b8aa94eaab3d9d8ef...
6•embedding-shape•47m ago•0 comments