frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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/

The Many Forms of Marcel Duchamp

https://www.newyorker.com/magazine/2026/05/04/marcel-duchamp-art-review-moma
1•petethomas•4m ago•0 comments

LLMs Don't Quite Beat Classical Hyperparameter Optimization Algorithms

https://github.com/ferreirafabio/autoresearch-automl
1•achierius•5m ago•1 comments

All the Sad Young Chinese Professionals

https://www.theatlantic.com/international/2026/04/china-loneliness-epidemic/686994/
2•petethomas•6m ago•0 comments

Thoughts on WebAssembly as a Stack Machine

https://eli.thegreenplace.net/2026/thoughts-on-webassembly-as-a-stack-machine/
2•mfrw•6m ago•0 comments

A Dab of DuckDB

https://peterdohertys.website/blog-posts/dab-of-duck.html
2•vismit2000•9m ago•0 comments

Poolr – shared photo albums for events, no app required for guests

https://www.getpoolr.com/
1•SupaMRVL•14m ago•0 comments

Maybe you should learn something

https://www.marginalia.nu/log/a_135_learn/
2•latexr•15m ago•0 comments

Our Wilderness Areas Are in Danger

https://apnews.com/article/mining-moratorium-trump-boundary-waters-permits-3d32cd0f591e0de0bfa3a8...
2•MrChoke•15m ago•0 comments

Stripe link-CLI: Let your agents spend on your behalf

https://github.com/stripe/link-cli
1•tjek•21m ago•0 comments

Your Biggest Vulnerability is your Shitty Compensation

https://green.spacedino.net/your-biggest-vulnerability-is-your-shitty-compensation/
2•jfil•21m ago•0 comments

H1-X Live Unveiling Event – Future of personal flight [video]

https://www.youtube.com/watch?v=sddOq3h9hNA
1•omer_k•25m ago•0 comments

Don't forget: The plural of anecdote is data

http://blog.danwin.com/don-t-forget-the-plural-of-anecdote-is-data/
1•aesthesia•28m ago•0 comments

Apple's lobbying effort saves it from new App Store rules

https://appleinsider.com/articles/26/04/27/apples-massive-lobbying-effort-saves-it-from-new-app-s...
3•latexr•29m ago•0 comments

Intel has best month ever, after years of losing to TSMC and Nvidia

https://www.cnbc.com/2026/04/30/intel-has-best-month-ever-after-years-of-losing-to-tsmc-and-nvidi...
3•elsewhen•34m ago•0 comments

NASA chief says he's in the camp of 'make Pluto a planet again'

https://www.space.com/astronomy/pluto/nasa-chief-jared-isaacman-says-hes-fighting-for-pluto-i-am-...
2•OutOfHere•43m ago•1 comments

Why Being Curious and Asking Questions Are Essential in Life [Book]

https://www.forbes.com/sites/marybethgasman/2026/04/30/why-being-curious-and-asking-questions-is-...
1•stmw•45m ago•0 comments

Passwordless Root Access in qubes

https://doc.qubes-os.org/en/latest/user/security-in-qubes/vm-sudo.html
2•negura•48m ago•0 comments

DeepSeek V4 Flash and V4 Pro in Microsoft Foundry

https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/introducing-deepseek-v4-flash-and-...
2•zhoutong•50m ago•1 comments

America's New Surveillance Dragnet

https://www.wsj.com/politics/policy/immigration-ice-arrests-surveillance-6f1cef64
11•julienchastang•1h ago•1 comments

Interactive physics moving block structures in Minecraft

https://github.com/ryanhcode/sable
3•LelouBil•1h ago•1 comments

Create Aeronautics

https://modrinth.com/mod/create-aeronautics
3•LelouBil•1h ago•0 comments

Find and fix any Windows error

https://errorcodereference.com/
1•megamike•1h ago•2 comments

Metro Hits 1.0.0 – Compile-Time Dependency Injection Framework for Kotlin

https://github.com/ZacSweers/metro/releases/tag/1.0.0
2•TheWiggles•1h ago•0 comments

Where the Money Is Coming From

https://www.warman.life/blog/2026-04-30-where-the-money-is-coming-from/
3•shaunistyping•1h ago•0 comments

OpenAI to use third-party cookies to advertise products

https://openai.com/policies/us-privacy-policy/
3•shpat•1h ago•0 comments

I made a weird AI kids app (Little Chicken)

https://apps.apple.com/us/app/kids-games-fun-little-chicken/id6759822036
1•mrWONDERFULguy•1h ago•0 comments

Cursor's 'Rogue' AI agent goes haywire, deletes company's database [video]

https://www.youtube.com/watch?v=XBVoLSXaAHA
2•mgh2•1h ago•2 comments

Ask HN: Any good ways to extend Codex sessions?

1•tabmate•1h ago•2 comments

AI Value Capture – The Shift to Model Labs

https://newsletter.semianalysis.com/p/ai-value-capture-the-shift-to-model
2•nsoonhui•1h ago•0 comments

Show HN: Vibe, a single-header C networking library for Linux

https://github.com/xtellect/vibe
3•enduku•1h ago•0 comments