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•12mo ago

Comments

Lio•12mo 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•12mo 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/

Blackstone's Steve Schwarzman hits back against campaign against private credit

https://b17news.com/blackstones-steve-schwarzman-hits-back-against-intensively-negative-campaign-...
1•petethomas•3m ago•0 comments

AI threats in the wild: The current state of prompt injections on the web

https://security.googleblog.com/2026/04/ai-threats-in-wild-current-state-of.html
1•ahoog42•4m ago•0 comments

Websites break California privacy law at 'industrial scale,' survey finds

https://themarkup.org/privacy/2026/04/21/websites-break-california-privacy-law-at-industrial-scal...
1•anticorporate•5m ago•0 comments

Madison Square Garden's Surveillance Machine

https://www.wired.com/story/madison-square-garden-jim-dolan-surveillance-machine/
1•anticorporate•8m ago•0 comments

Anthropic reaches $1T valuation on secondary markets

https://qz.com/anthropic-trillion-dollar-valuation-secondary-markets-openai-052626
1•kerim-ca•12m ago•0 comments

Friendster Relaunch

https://friendster.com/
2•lemonlym•14m ago•1 comments

When you’re stuck on “Help Wanted”

https://insight.kellogg.northwestern.edu/article/when-youre-stuck-on-help-wanted
1•hhs•16m ago•0 comments

OpenAI Releases GPT-5.5

https://techthreedots.com/openai-launches-gpt-5-5-its-smartest-model-yet
1•perbit•16m ago•1 comments

A Grounded Conceptual Model for Ownership Types in Rust

https://cacm.acm.org/research-highlights/a-grounded-conceptual-model-for-ownership-types-in-rust/
1•sohkamyung•21m ago•0 comments

Ask HN: Dear astronomers, what are the most interesting things in space lately?

4•simonebrunozzi•23m ago•0 comments

How tolls saved Britain from pothole hell in the Industrial Revolution

https://www.cam.ac.uk/stories/fixing-the-roads-turnpikes
1•hhs•24m ago•0 comments

The Disillusioned College Grads Turning to the Labor Movement

https://newrepublic.com/article/208726/mutiny-review-college-educated-labor-unions
2•littlexsparkee•26m ago•0 comments

How Have Universities Survived for Nearly a Millenium

https://www.nber.org/papers/w35079
1•paulpauper•27m ago•0 comments

Suddenly Everyone Wants a Tailor. They're in Short Supply

https://www.wsj.com/style/fashion/suddenly-everyone-wants-a-tailor-theyre-in-short-supply-5f40110c
2•paulpauper•27m ago•0 comments

The first 25 years of the Northwestern University SuperAging Program

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.70312
1•bookofjoe•27m ago•0 comments

US Soldier in Maduro Raid Is Charged with Making Bets on Former Leader's Ouster

https://www.wsj.com/politics/policy/u-s-soldier-in-maduro-raid-is-charged-with-making-bets-on-lea...
4•dcgudeman•29m ago•1 comments

Show HN: Free AI Stock analysis in 6 seconds, any US ticker, no signup

https://helmterminal.dev/analyze
1•helmterminal•30m ago•0 comments

U.S. Soldier Charged with Using Classified Info to Profit from Prediction Market

https://www.justice.gov/usao-sdny/pr/us-soldier-charged-using-classified-information-profit-predi...
20•paulpauper•33m ago•5 comments

Claude Code channels not available for Personal Max plan

https://twitter.com/pranay01/status/2047444399114932548
3•pranay01•33m ago•0 comments

Could the math 'shape' of the universe solve the cosmological constant problem?

https://www.brown.edu/news/2026-04-20/cosmological-constant-problem
1•hhs•34m ago•0 comments

Blame The Pentagon, Not AI, for Preventable Targeting Mistakes

https://www.lawfaremedia.org/article/blame-the-pentagon--not-ai--for-preventable-targeting-mistakes
1•hn_acker•35m ago•0 comments

Build with Kiro: Introducing the Community Hub and Kiro Labs

https://kiro.dev/blog/introducing-community-and-labs/
1•ilreb•35m ago•0 comments

Lovable admits public project chats and source code were exposed, apologizes

https://lovable.dev/blog/our-response-to-the-april-2026-incident
2•chaosprint•35m ago•3 comments

Protein-maxxing, GLP-1s have US farmers betting on peas and lentils

https://www.reuters.com/business/protein-maxxing-glp-1s-have-us-farmers-betting-peas-lentils-2026...
1•akyuu•37m ago•1 comments

Agents grew up, so did our docs

https://neon.com/blog/agents-grew-up-so-did-our-docs
1•danieltprice•39m ago•0 comments

Charge: Soldier Used Classified Info to Profit from Prediction Market Bets

https://www.justice.gov/usao-sdny/pr/us-soldier-charged-using-classified-information-profit-predi...
2•etothet•39m ago•0 comments

The Rich Don't Play by the Rules. So Why Should I?

https://www.nytimes.com/video/opinion/100000010849055/the-rich-dont-play-by-the-rules-so-why-shou...
2•maerF0x0•39m ago•2 comments

I scanned 10 open-source AI apps for EU AI Act compliance – here's what I found

https://getregula.com/blog/blog-scanning-10-ai-apps.html
1•kuzivaai•43m ago•0 comments

Cool Makie Papers: Science Visualized with Makie.jl

https://makie.org/website/blogposts/cool-makie-papers/
1•leephillips•43m ago•0 comments

Gentital Costume Protester Exonerated in Short, Absurd Trial

https://theintercept.com/2026/04/22/renea-gamble-trial-penis-costume-no-kings-protest/
2•rconti•44m ago•0 comments