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/

Show HN: The great-grandfather of Oberon: Algol 60 running on LuaJIT

https://github.com/rochus-keller/Algol60
1•Rochus•8m ago•0 comments

Ferroni – Oniguruma's regex engine, modernized in Rust

https://ferroni.dev/
1•indentit•9m ago•0 comments

Taiwan man won lawsuit but jailed for using robot vacuum to record wife's affair

https://www.scmp.com/news/people-culture/trending-china/article/3365381/taiwan-man-wins-lawsuit-g...
1•nephihaha•10m ago•0 comments

Trama – See your agent's changes as state machines before any code

https://github.com/nicchia-code/trama
2•nicchia•13m ago•0 comments

Show HN: Hexnoth. Dark fantasy turn-based tactics in the browser

https://hexnoth.com/
1•jdzikowski•13m ago•0 comments

The maverick scientist trying to save coffee from extinction

https://economist.com/interactive/1843/2026/07/23/the-maverick-scientist-trying-to-save-coffee-fr...
1•andsoitis•13m ago•0 comments

Claude Code Mode

https://github.com/gabe4coding/claude-code-mode
1•gabe4coding•14m ago•1 comments

Show HN: Termphin – Open-source SSH client whose sessions survive disconnects

https://github.com/Termphin/Termphin
1•mbadyl•22m ago•0 comments

You Can See the Results

https://docs.google.com/document/d/e/2PACX-1vQmQ6YjfD2BKWfhW8iKJJCqPygQfQpNMhF5qSwHkoJSt8d1GLPU4z...
1•GovNikoMLLee•26m ago•0 comments

Show HN: Gradually Loading Web Fonts

https://www.npmjs.com/package/invisible-ink
1•snshn•28m ago•1 comments

Can Switching Hands While I Masturbate Affect My Brain?

https://sex.cosmopolitan.com/pleasure/a73946773/masturbating-non-dominant-hand-good-for-brain/
2•snarky-comments•31m ago•1 comments

What a US purchase costs delivered to 16 countries

https://www.refurb.me/import-costs
2•simoelalj•34m ago•0 comments

Fetching AMD SEV Reports (With Zig)

https://github.com/bschaatsbergen/zig-sev-guest
3•bschaatsbergen•35m ago•1 comments

Don't Put Tilde In Your Path

https://disconnect3d.pl//2026/10/02/dont-put-tilde-in-your-path/
8•arusekk•38m ago•0 comments

Twelve killed and 300 injured in attack on airport in Saudi capital Riyadh

https://www.bbc.com/news/articles/cw33x4y8k82no
4•Betelbuddy•38m ago•0 comments

Electron minus Chromium, powered by Bun and WebKit

https://bunmaska.org/
1•GutenYe•39m ago•2 comments

Show HN: Tack – Type-safe HTTP APIs for Go that reach the TypeScript front end

https://github.com/raven-clown/tack
2•ravenclown•40m ago•0 comments

Scandinavia's first farmers slaughtered hunter-gatherer population, DNA suggests

https://phys.org/news/2024-02-scandinavia-farmers-slaughtered-hunter-population.html
11•optimalsolver•44m ago•3 comments

Valen's Memory Safety: A New Kind of Borrow Checking

https://verdagon.dev/blog/valen-group-borrowing
3•verdagon•45m ago•2 comments

Show HN: A newsletter powered by Jev

https://stashletter.dev/
2•flexdinesh•47m ago•0 comments

Show HN: BetterWispr – Free, open-source dictation for Mac

https://betterwispr.com/
2•kartik017•50m ago•0 comments

AI Engineering Maturity Model: 5 Stages for Teams

https://www.augmentcode.com/guides/ai-engineering-maturity-model
2•Gigacore•55m ago•0 comments

Grok Bot has its own email now. How to put it on your own domain

https://shipmail.to/blog/grok-bot-email-on-your-own-domain
1•jcoulaud•1h ago•0 comments

Show HN: I'm a 14-year-old building my first startup, Titan

https://titan-ai.co/
4•Vidigoat•1h ago•0 comments

I paid people to try and follow my README

https://shkspr.mobi/blog/2026/10/i-paid-people-to-try-and-follow-my-readme/
55•edent•1h ago•31 comments

Show HN: A Mac app to focus on your actions instead of distractions

https://now.korture.com/go/mac
1•skprasad•1h ago•2 comments

Creative Forces in the Global Village (1993)

https://reason.com/1993/05/01/creative-forces/
1•rwmj•1h ago•0 comments

Why Ketamine Immobilizes Some Users

https://www.nytimes.com/2026/10/10/science/ketamine-cornell-anesthesia.html
2•bookofjoe•1h ago•3 comments

Why Your $400 Rain Jacket Fails in Heavy Rain (and What to Do Instead)

https://thetrek.co/why-your-400-rain-jacket-fails-in-heavy-rain-and-what-to-do-instead/
2•bryanrasmussen•1h ago•0 comments

Show HN: Guard hooks for Claude Code, tested against a public corpus

https://github.com/skillkeel/skillkeel-starter
1•northbridgedev•1h ago•0 comments