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/

United Auto Workers Vote to Divest from Israel in Historic Victory – Truthout

https://truthout.org/articles/united-auto-workers-vote-to-divest-from-israel-in-historic-victory/
1•abdelhousni•3m ago•1 comments

Show HN: DiagramIDE – Diagrams as Source Files

https://diagramide.axk.sh
1•xlii•7m ago•0 comments

Ask HN: Why did you learn Chinese?

2•alonsovm44•8m ago•0 comments

macOS Tahoe update breaks using external display in clamshell mode

https://discussions.apple.com/thread/256305994?sortBy=rank
2•paulbjensen•9m ago•2 comments

More than a month into DR Congo Ebola outbreak, doctors warn epidemic will last

https://www.france24.com/en/africa/20260626-dr-congo-patients-cured-doctors-warn-outbreak-far-con...
1•mooreds•12m ago•0 comments

Show HN: As Music Theory – Test your sheet music sight reading speed

https://www.asmusictheory.com/tools/sight-reading-speed
1•gb2d_hn•12m ago•0 comments

'Aren't the Organs a Silver Lining?'

https://longreads.com/2026/05/19/fentanyl-opioids-organ-donation-arizona-oneill/
2•mooreds•14m ago•0 comments

2026 April Unemployment Rate by US Metropolitan Statistical Area

https://fred.stlouisfed.org/graph/?m=1wm8j
1•mooreds•15m ago•0 comments

FieldStation42: Broadcast and Cable TV Simulator

https://github.com/shane-mason/FieldStation42
1•klaussilveira•18m ago•0 comments

The Intergalactic Fermi Problem

https://www.centauri-dreams.org/2026/06/24/the-intergalactic-fermi-problem/
1•olvy0•20m ago•0 comments

Naples Outpaces Milan as Southern Italy Drives Economic Growth

https://www.bloomberg.com/news/features/2026-06-26/apple-s-naples-outpost-boosts-southern-italy-s...
2•theanonymousone•22m ago•0 comments

Wikipedia's Cofounder Has Been Banned from Wikipedia

https://www.gadgetreview.com/wikipedias-cofounder-has-been-banned-from-wikipedia
4•RickJWagner•23m ago•0 comments

Show HN: BootProof – the run button that can't lie (boots any repo, signs proof)

https://github.com/bootproof/bootproof
1•bootproof•23m ago•0 comments

EU Commission HQ forced to shut down air-conditioning amid heatwave

https://www.politico.eu/article/eu-commission-heatwave-hq-forced-shut-down-air-conditioning-europe/
1•bushwart•23m ago•0 comments

Spinel on Rails

https://intertwingly.net/blog/2026/06/19/Spinel-on-Rails.html
1•bornelsewhere•26m ago•0 comments

Multifolio – Take Back Your Phone

https://multifolio.en.uptodown.com/android
1•Scalios•28m ago•0 comments

Code Is Free Speech

https://hoffmang9.github.io/free-speech/the-history-code-is-free-speech.html
2•tehlike•29m ago•0 comments

We took all of GitLab and turned it into a Graph DB

https://twitter.com/michaelangelo_x/status/2068091594159333538
2•michaelangeloio•30m ago•0 comments

Show HN: An EV Statistics Database

https://evstats.org/
2•jansulek•33m ago•1 comments

Color Everything in CSS (2025)

https://css-tricks.com/color-everything-in-css/
1•toilet•34m ago•0 comments

Hetzner FSN1 Outage

https://old.reddit.com/r/hetzner/comments/1uhafay/connectivity_issues_across_some_hetzner_servers...
1•cuu508•34m ago•0 comments

San Francisco bar patron refused service after use of face-scanning tech

https://www.sfgate.com/sf-culture/article/castro-bars-tech-pride-22322425.php
1•pilingual•36m ago•0 comments

Can a robot be a modern artist? I gave Claude Code creative freedom

https://museum.nal.digital
1•ArtemParsegov•36m ago•0 comments

Il-Verse, a spatial writing tool

https://tekstien-marginaalien-keskus.aalto.fi/residenssi/heikki/blog/005-january/
1•robin_reala•37m ago•0 comments

Nord – The Making of the Red Keyboards [video]

https://www.youtube.com/watch?v=E1QI43nBc2E
2•lporto•38m ago•0 comments

People leaving the West behind in search of the Russian dream

https://www.bbc.co.uk/news/articles/cn075j04pnyo
1•monooso•39m ago•0 comments

No Name, Colorado

https://en.wikipedia.org/wiki/No_Name,_Colorado
1•liamdanielduffy•44m ago•0 comments

IP Crawl: living atlas of open webcams discovered on the public internet

https://ipcrawl.com/
10•arm32•44m ago•3 comments

Ships keep moving through Hormuz despite strike

https://www.lloydslist.com/LL1157680/Ships-keep-moving-through-Hormuz-despite-strike-and-suspensi...
21•everybodyknows•48m ago•3 comments

iOS 27 Makes the Shortcuts App Less Intimidating

https://www.macrumors.com/guide/ios-27-shortcuts/
3•Tomte•49m ago•1 comments