frontpage.
newsnewestaskshowjobs

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/

SwiftUI Only Makes It Easy to Develop Bad Apps

https://daringfireball.net/2026/06/swiftui_only_makes_it_easy_to_develop_bad_apps
1•robenkleene•26s ago•0 comments

How PICO-8 unlocked Frédéric Souchu's dreams

https://nanark.medium.com/a-pico-8-story-how-the-fantasy-console-unlocked-fr%C3%A9d%C3%A9ric-souc...
1•atan2•5m ago•0 comments

We brought Arc-style profile switching to Dia

https://diarc.app
1•0x6A75616E•5m ago•1 comments

OpenAI Submits S-1 Draft to SEC

https://openai.com/index/openai-submits-confidential-s-1/
5•hackerBanana•5m ago•0 comments

The sample efficiency black hole

https://www.dwarkesh.com/p/the-sample-efficiency-black-hole
1•crescit_eundo•6m ago•0 comments

Mathematics Is Out There

https://aeon.co/essays/for-sergiu-klainerman-maths-is-a-fact-to-be-divined
3•cainxinth•7m ago•0 comments

OpenAI Files S-1

https://twitter.com/openainewsroom/status/2064094175541461220
4•davidbarker•11m ago•0 comments

OpenAI Confidentially Files for IPO

https://www.cnbc.com/2026/06/08/openai-confidentially-files-for-ipo-prepping-wall-street-for-ai-d...
6•rvz•12m ago•0 comments

Scientists use lasers to determine the age of sharks

https://phys.org/news/2026-05-scientists-lasers-age-sharks.html
2•PaulHoule•12m ago•0 comments

Forcing a (Windows) system crash from the keyboard

https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/forcing-a-system-crash-from-t...
1•turtlegrids•12m ago•0 comments

Understanding Type Theory Eliminators

https://zenodo.org/records/20600315
1•DPDmancul•14m ago•1 comments

Pozzo: A Fast Lucky Number Checker

https://github.com/Robert-Cunningham/pozzo
1•robertvc•14m ago•0 comments

All WWDC 2026 session videos

https://developer.apple.com/videos/wwdc2026/
1•MysticOracle•14m ago•1 comments

Apple's New Siri AI Didn't Kill Raycast but It Represents a Make-or-Break Moment

https://www.inc.com/connor-jewiss/apples-new-siri-ai-represents-a-make-or-break-moment-for-founde...
1•connorjewiss•16m ago•0 comments

Discarding AI-Generated Code

https://www.dotnetperls.com/2026_6_8_discarding-ai-generated-code
2•speckx•17m ago•0 comments

Bangladesh has more Argentina fans per capita than most of South America

https://old.reddit.com/r/argentina/comments/1u0h4zm/bangladesh_has_more_argentina_fans_per_capita/
1•wslh•22m ago•0 comments

Good Internet magazine on indefinite hiatus

https://www.goodinternetmagazine.com/important/
2•bjhess•25m ago•0 comments

Developer Gets Half-Life Running at 30 FPS on a Nokia N95

https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-f...
4•ljf•26m ago•1 comments

Apple bets cheaper AI will woo small developers

https://techcrunch.com/2026/06/08/apple-bets-cheaper-ai-will-woo-small-developers/
1•jbernardo95•26m ago•0 comments

A giant star may have destroyed itself in one of the rarest explosions

https://phys.org/news/2026-05-giant-star-destroyed-universe-rarest.html
6•wglb•28m ago•1 comments

NHS prescribes half a million Copilot licenses for its paperwork headache

https://www.theregister.com/ai-and-ml/2026/06/08/nhs-prescribes-half-a-million-copilot-licenses-f...
1•Bender•29m ago•0 comments

It's do or die for Apple AI

https://www.theregister.com/ai-and-ml/2026/06/08/its-do-or-die-for-apple-ai/5252479
1•Bender•30m ago•0 comments

We moved twice as fast with half the people

https://greggtmengine.substack.com/p/how-we-moved-twice-as-fast-with-half
1•greglee•30m ago•1 comments

Consultant mistakenly deleted a ton of data but reported it as a bug

https://www.theregister.com/software/2026/06/08/consultant-mistakenly-deleted-a-ton-of-data-but-r...
2•Bender•30m ago•0 comments

Federal judge rules Trump's $100k fee for H-1B visas unlawful

https://www.theguardian.com/us-news/2026/jun/08/trump-h-1b-visa-fee-invalidated
12•xpl•30m ago•0 comments

WWDC26: Early Impressions – Tao of Mac

https://taoofmac.com/space/blog/2026/06/08/2040
1•rcarmo•31m ago•0 comments

Routing SDK that cuts gas, slippage, MEV, and bridge fees

https://github.com/passage-cr/routing-sdk
1•passage-cr•31m ago•0 comments

Built to benefit everyone: our plan

https://openai.com/index/built-to-benefit-everyone-our-plan/
5•j4mie•32m ago•3 comments

Stress on oceans as rate of sea level rise doubles in 10 years, UN warns

https://www.theguardian.com/environment/2026/jun/08/un-world-ocean-assessment-severe-stress-sea-l...
3•ljf•32m ago•0 comments

Promising 'Liquid Biopsies' May Not Be Ready for Primetime

https://undark.org/2026/06/08/liquid-biopsies-cancer/
3•EA-3167•32m ago•0 comments