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/

Paperclip Maximizer Bench

https://d.erenrich.net/paperclip-bench/index.html
1•themaxdavitt•2m ago•0 comments

Table Oriented Programming (2002)

https://www.oocities.org/tablizer/top.htm
1•downbad_•3m ago•1 comments

The Agentic Software Development Life Cycle Framework

https://asdlc.io/
1•futurecat•4m ago•0 comments

Remembering the Computer Literacy Project (1992) [video]

https://www.youtube.com/watch?v=JZjNHnYFqOA
2•peterkelly•5m ago•0 comments

Show HN: Bin collection calendars for the entire UK

https://ukbinday.co.uk/
1•chartreuseai•5m ago•0 comments

I Built SpecDD Because AI Kept Forgetting What We Were Building

https://specdd.ai/articles/i-built-specdd-because-ai-kept-forgetting-what-we-were-building/
1•addvilz•6m ago•0 comments

Looking for testers (free 30-day trial intelligence tool) Code: FOUNDER30

https://www.electalabs.com/trial
1•themvptester•7m ago•1 comments

NumPy vs. APL [video]

https://www.youtube.com/watch?v=ZB0IJMRpbRE
1•tosh•7m ago•0 comments

WordPress plugin hijacked in 2020 hid a dormant backdoor for years

https://anchor.host/wordpress-plugin-hijacked-in-2020-hid-a-dormant-backdoor-for-years/
1•austinginder•11m ago•0 comments

Iran defies Trump's blockade as oil prices soar

https://www.france24.com/en/live-news/20260430-iran-defies-trump-s-blockade-as-oil-prices-soar
2•geox•11m ago•0 comments

SCOTUS: Voters Can Be Disenfranchised Now

https://www.theatlantic.com/ideas/2026/04/vra-supreme-court-callais-decision/686997/
1•Arodex•12m ago•0 comments

GitHub Copilot silently inserts itself as a co-author

https://github.com/orgs/community/discussions/194075
2•tjek•12m ago•0 comments

Some schools consider eliminating homework

https://www.npr.org/2026/04/28/nx-s1-5795647/should-schools-get-rid-of-homework
2•isaacfrond•14m ago•0 comments

Show HN: Multiplayer Voronoi

https://voronoi.charlespierre.fr/
1•cpa•14m ago•0 comments

Show HN: Brifly – stop re-explaining your codebase to Claude Code every week

https://www.getbrifly.com/
1•dbarabashdev•14m ago•0 comments

C++26: String and String_view Improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
1•jandeboevrie•14m ago•0 comments

Fake PoC, Real Backdoor: How a Typosquatted Repo Weaponized CVE-2026-31431

https://ip-ninja.com/blog/typosquatted-cve-2026-31431-fake-exploit
1•d4n3ws•15m ago•0 comments

Show HN: Token Thermodynamics

https://mybinder.org/v2/gist/gpavanb1/30a27c0592dbb23311f165dae4549309/HEAD?urlpath=voila%2Frende...
1•gpavanb•19m ago•0 comments

Chrome looks set to ship an LLM Prompt API to the web. We oppose this API

https://mastodon.social/@firefoxwebdevs/116492853483021978
1•Vinnl•19m ago•0 comments

AI doesn't kill SaaS. It kills bad priorities

https://erdincakkaya.substack.com/p/ai-doesnt-kill-saas-it-kills-bad
1•erdinc•22m ago•0 comments

Inventions for battery reuse and recycling increase more than 7-fold in last 10y

https://www.epo.org/en/news-events/news/inventions-battery-reuse-and-recycling-increase-more-seve...
2•JeanKage•23m ago•0 comments

Amber-Lang 0.6.0 – New release (Bash transpiler)

https://docs.amber-lang.com/getting_started/whats_new
1•mte90•25m ago•0 comments

The Perfect Code Review: How to Reduce Cognitive Load While Improving Quality

https://bastrich.tech/perfect-code-review/
1•birdculture•26m ago•0 comments

Telnyx now offers WhatsApp Business Calling

https://telnyx.com/products/whatsapp-calling
1•deniztelnyx•28m ago•0 comments

Link Wallet for Agents

https://link.com/en-no/agents
1•punnerud•30m ago•0 comments

Made free polished workspaces for Chrome that sync via Google (zero telemetry)

https://www.superchargebrowser.com/navigation/
1•superchargeext•31m ago•0 comments

TierPad

https://tierpad.com
2•tinytoyou•32m ago•0 comments

Show HN: Arkloop – Open-source, local-first Agent client

https://github.com/qqqqqf-q/arkloop
1•qqqqqf•33m ago•0 comments

NPM supply-chain attack is targeting the SAP developer ecosystem

https://www.aikido.dev/blog/mini-shai-hulud-has-appeared
1•raffael_de•34m ago•1 comments

Elon Musk said OpenAI betrayed him after Microsoft deal

https://www.sfchronicle.com/tech/article/elon-musk-openai-trial-22231495.php
2•isaacfrond•38m ago•1 comments