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/

AI slowly sucking the joy out of work

https://www.reddit.com/r/swift/s/YA5ELxU3av
1•frizlab•2m ago•0 comments

Tricking a Bike Counter

https://nullpxl.com/post/tricking-a-bike-counter/
1•nullpxl•2m ago•0 comments

Bacteria can learn and form memories without a brain (Carnegie Mellon)

https://phys.org/news/2026-06-bacteria-memories-brain.html
1•indynz•4m ago•0 comments

Debian Pure Blend

https://en.wikipedia.org/wiki/Debian_Pure_Blend
1•Teever•4m ago•0 comments

Ask HN: Year of Linux Desktop is fun with LLMs

1•mirekrusin•4m ago•0 comments

Billy Beane got it right

https://toddmoses.beehiiv.com/p/billy-beane-got-it-right
1•mtmosestn•4m ago•1 comments

The AI industry is spending $10M against Alex Bores [video]

https://www.youtube.com/watch?v=Gj9vxVK4GEE
2•danuker•6m ago•0 comments

The Encyclopedia's Own Library

https://medium.com/regarding-wikipedia/the-encyclopedias-own-library-12f30899c8ae
1•JohnHammersley•6m ago•0 comments

Why Is Claude Turning into an a**Hole?

https://bramcohen.com/p/why-is-claude-turning-into-an-asshole
2•drob518•7m ago•0 comments

Iran threatens to attack Elon Musk's SpaceX and Starlink facilities

https://www.the-sun.com/news/16485781/iran-threatens-elon-musk-spacex-starlink-military-targets/
3•ivewonyoung•9m ago•0 comments

Is SMIC N+3's Metal Pitch Smaller Than Intel 18A's?

https://newsletter.semianalysis.com/p/steel-smic-n3-teardown
1•notahan•10m ago•0 comments

How are you feeling about the first Trillionaire?

https://trulytyped.com/post/BRCYJA
6•dwa3592•12m ago•4 comments

Linux 7.1

https://lkml.iu.edu/2606.1/13340.html
1•geoffbp•13m ago•0 comments

The Great Erase

https://www.neondystopia.com/?p=100043466
1•dangle1•16m ago•0 comments

Surpassing Frontier Performance with Fusion

https://openrouter.ai/blog/announcements/fusion-beats-frontier/
1•stared•20m ago•0 comments

For Retired Engineers

https://telescoper.blog/2026/06/14/for-retired-engineers/
1•mathgenius•22m ago•0 comments

Peace deal between US and Iran, Pakistan says, with Strait of Hormuz to re-open

https://www.theguardian.com/world/2026/jun/14/trump-calls-for-restraint-israel-airstrikes-beirut-...
2•srameshc•22m ago•0 comments

Bran flakes to be classed as junk food under new health plan

https://www.telegraph.co.uk/money/consumer-affairs/bran-flakes-to-be-classed-as-junk-food/
2•ivewonyoung•25m ago•0 comments

Making 'food out of thin air' (2024)

https://www.noemamag.com/making-food-out-of-thin-air/
2•muchweight•25m ago•0 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
7•josephcsible•29m ago•0 comments

The Magic Roundabout of Seattle Area

https://kirklandroundabouts.com
1•DenisM•29m ago•1 comments

Highly intelligent people are more likely to ditch old habits for better ideas

https://www.psypost.org/highly-intelligent-people-are-more-likely-to-ditch-old-habits-for-better-...
1•randycupertino•30m ago•2 comments

The Chinese parents dancing on live streams to help their children fight cancer

https://www.sixthtone.com/news/1018060
2•thisislife2•31m ago•0 comments

Zerostack v1.5 – A Unix-inspired coding agent written in pure Rust

https://crates.io/crates/zerostack/1.5.0#zerostack
1•gidellav•31m ago•0 comments

Lithos

https://lithosgraphein.com/
1•serhack_•32m ago•0 comments

Ask HN: Is anyone growing further from capitalism?

4•holistio•32m ago•4 comments

Risk of Portable Electronic Devices in Patients with Implanted Devices

https://www.ahajournals.org/doi/10.1161/CIRCEP.121.010646
2•bookofjoe•32m ago•1 comments

We Built a CLI That Gets Smarter Every Time You Use It

https://medium.com/@vektormemory/via-v0-4-0-we-built-a-cli-that-gets-smarter-every-time-you-use-i...
2•vektormemory•33m ago•0 comments

Scientists Identify 2 Distinct Subtypes of Autism in the Brain

https://www.sciencealert.com/scientists-identify-2-distinct-subtypes-of-autism-in-the-brain
3•andsoitis•34m ago•0 comments

8 Years of Refinement

https://alt-tab.app/changelog
2•behnamoh•36m ago•0 comments