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/

What's holding up the rollout of persistent domain validation for ACME?

https://www.turbolightsolutions.com/posts/dns-persist-01-rollout-blocked-by-security-issue/
1•keydown•1m ago•0 comments

The Origin of Tweet (2013)

https://furbo.org/2013/06/28/the-origin-of-tweet/
1•downbad_•2m ago•0 comments

More Americans Are Installing Residential Battery Storage

https://www.bloomberg.com/news/articles/2026-07-01/us-home-battery-installations-boosted-by-state...
1•toomuchtodo•2m ago•1 comments

Kim Dotcom Loses Court of Appeal Bid to Block Extradition to the U.S.

https://torrentfreak.com/kim-dotcom-loses-court-of-appeal-bid-to-block-extradition-to-the-u-s/
1•Brajeshwar•3m ago•0 comments

Optimization tales with CockroachDB: the slow logout

https://gaultier.github.io/blog/optimization-tales-cockroachdb-part2-slow-logout.html
1•broken_broken_•4m ago•0 comments

In Praise of Observational Evidence

https://asteriskmag.com/issues/14/in-praise-of-observational-evidence
1•fi-le•4m ago•0 comments

A small island in Estonia negotiated special rights

https://news.err.ee/1610067196/ruhnu-residents-sought-to-join-sweden-after-estonia-regained-indep...
1•NalNezumi•4m ago•0 comments

Why changing your productivity system is good

https://birchtree.me/blog/why-changing-your-productivity-system-is-good-actually/
1•surprisetalk•4m ago•0 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
1•dennis-tra•4m ago•0 comments

AI-native workflows have a moat problem

https://ai.gopubby.com/ai-native-workflows-have-a-moat-problem-49992bcc3088
1•oddish-tv•5m ago•0 comments

Show HN: LiveComment "Who Is Hiring?" Plugin

1•ellis0n•5m ago•0 comments

The Annotated Triple Product Property Matrix Multiplication Algorithm

https://leetarxiv.substack.com/p/triple-product-property-matrix-multiplication
1•theanonymousone•6m ago•0 comments

Who Thrives Using AI

https://www.theatlantic.com/ideas/2026/06/ai-open-ai-anthropic/687689/
1•sanj•6m ago•0 comments

The Stockholm Telephone Tower with Approximately 5,500 Telephone Lines, 1890

https://rarehistoricalphotos.com/the-stockholm-telephone-tower-1890/
1•thunderbong•7m ago•0 comments

Welcome to the Dual State of AI Regulation

https://www.thefunsinthefight.com/p/welcome-to-the-dual-state-of-ai-regulation
2•m-hodges•8m ago•0 comments

Multiple $20 AI Plans Are Better Than a Single $100 AI Plan

https://abishekmuthian.com/multiple-20-ai-plans-are-better-than-a-single-100-ai-plan/
1•Abishek_Muthian•8m ago•0 comments

Show HN: Better Version of Bitchat

https://github.com/goldenwebb/bitchatX21
1•ellis0n•8m ago•0 comments

After AI, This Chinese Director Works Three Times Harder and Earns 50% Less [video]

https://www.youtube.com/watch?v=uWSB7s_DQHw
1•mgh2•9m ago•0 comments

Show HN: Places - Google Docs for maps with auto-import from articles and videos

https://www.places.is/
1•jaflo•11m ago•0 comments

Show HN: Noteika – Local-first notes that resurface before duplicate yourself

https://noteika.com
1•annrap1d•11m ago•0 comments

Spanish government 'quietly bans use of Palantir' in critical state systems

https://www.lbc.co.uk/article/spanish-bans-palantir-national-security-5HjdcNp_2/
2•donpott•11m ago•0 comments

Show HN: Md-tmpl - Strongly typed Markdown templates

https://github.com/domenukk/md-tmpl
1•domenukk•14m ago•0 comments

Crazy idea? aiCompiler – write intent in Markdown, LLM executes it as a runtime

https://aicompiler.dev
2•srobbani•14m ago•0 comments

Build Professional Shopify Popups with Popup Conversion Wizard

https://apps.shopify.com/orange-popup
1•Vectortech•15m ago•0 comments

Kunal Shah: The Indian entrepreneur taking charge of WhatsApp

https://www.bbc.com/news/articles/c0my4n38myjo
1•tartoran•16m ago•0 comments

The Orbital Data Center Hype Machine Is in Orbit

https://spectrum.ieee.org/orbital-data-center-hype
1•rndsignals•17m ago•0 comments

Show HN: Golf Swing Camera App

https://timleland.com/introducing-golf-swing-camera/
1•TimLeland•17m ago•0 comments

Show HN: FingerTrip – Stop Hunting on Maps. Just Go

https://www.thefingertrip.com/
1•benevioling•18m ago•0 comments

Futo Notes

https://notes.futo.tech/
1•reader9274•18m ago•0 comments

Why Test Cases Belong in YAML Files (and in Your Repo)

https://gitoza.com/blog/why-test-cases-belong-in-yaml
1•weiwen-weng•19m ago•0 comments