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/

MacBook Pro Rival with the Nvidia Powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
2•jbk•3m ago•0 comments

Why doesn't the Ubuntu 26.04 Installer allow you to create Btrfs subvolumes?

https://www.niladicpodcast.com/2026/05/23/how-to-setup-ubuntu-26.04-btrfs/
1•Siecje•4m ago•0 comments

Picomemo 1.2.0 – Portable OMEMO implementation in C

https://github.com/mierenhoop/picomemo/releases/tag/1.2.0
1•neustradamus•5m ago•0 comments

You Must Fix Your Asserts (Zig)

https://kristoff.it/blog/fix-your-asserts/
1•signa11•7m ago•0 comments

Autonomous Product Development: shipping fixes with no human in the loop

https://www.willtay.com/autonomous
2•wrftaylor•7m ago•0 comments

FTSE 100's likely new entrant puts a British spin on the AI boom

https://www.ft.com/content/19330d92-fee6-4ddf-95f5-98f005061c0b
1•mmarian•8m ago•0 comments

Send the wallet, not just coins –- like an envelope

https://hackenproof.com/blog/for-hackers/send-the-wallet-not-just-the-coins-like-an-envelope
2•mybucks_online•9m ago•0 comments

Zen: A distraction-free code editor based on Zed

https://codeberg.org/arendjr/zen
1•arendjr•9m ago•1 comments

Learn SQL Once, Use It for 30 Years

https://fagnerbrack.com/learn-sql-once-use-it-for-30-years-9aceb0bdee03
2•signa11•9m ago•0 comments

More Time to Think

https://ma.ttias.be/more-time-to-think/
1•Mojah•10m ago•0 comments

Proofs as Programs

https://systemsthinkingcollection.substack.com/p/proofs-as-programs
1•InputName•12m ago•0 comments

Whoa Now: Cautionary Tales from Materials Science

https://www.science.org/content/blog-post/whoa-now-cautionary-tales-materials-science
1•rantingdemon•13m ago•0 comments

GitHub removed the old copilot multipliers on a pricing page

https://docs.github.com/en/copilot/reference/copilot-billing/request-based-billing-legacy/model-m...
1•adrianvi•14m ago•1 comments

I built a free Mac app to clear browser cache, cookies, and history in one click

https://cacheout.app/
1•jimmitchell•14m ago•0 comments

The Grate Cheese Robbery

https://longreads.com/2026/05/28/the-cheese-theft-food-crime/
1•mooreds•14m ago•0 comments

France backed by Britain intercepts sanctioned oil tanker sailing from Russia

https://www.france24.com/en/france/20260601-france-and-allies-intercept-sanctioned-russian-oil-ta...
1•mooreds•15m ago•0 comments

Nvidia unveils general-purpose chip for laptops and desktop PCs

https://www.tomshardware.com/laptops/nvidia-unveils-rtx-spark-superchip-at-computex-2026-new-plat...
1•cs702•16m ago•0 comments

America's job market looks strong. So why is it so difficult to find work?

https://www.cnn.com/2026/06/01/economy/finding-new-job-challenges
3•mooreds•16m ago•0 comments

Now Is the Best Time to Be a Duct Tape Engineer

https://derwiki.medium.com/now-is-the-best-time-to-be-a-duct-tape-engineer-eefc1d141c23
1•derwiki•18m ago•0 comments

'More harmful than helpful': young people sour on AI

https://www.ft.com/content/73fc962e-ce68-4521-9c5d-841a666eed10
4•1vuio0pswjnm7•19m ago•0 comments

Resourceful runner 'can race my own ghost' using homemade Meta Ray-Ban

https://www.tomshardware.com/peripherals/wearable-tech/resourceful-runner-can-race-my-own-ghost-u...
1•voxycon•20m ago•0 comments

The Art of Language

2•wronganswer•22m ago•1 comments

The job board hierarchy nobody talks about

https://get-sygnal.com/blog/job-board-hierarchy
1•caearac•22m ago•0 comments

Perfect randomness realised for the first time

https://ethz.ch/en/news-and-events/eth-news/news/2026/05/perfect-randomness-realised-for-the-firs...
2•wjSgoWPm5bWAhXB•24m ago•0 comments

His Chatbot Nearly Ruined Him. To Recover, He Had to Destroy It

https://www.wsj.com/tech/personal-tech/chatgpt-addiction-chatbots-recovery-7977308e
1•davidclark22•24m ago•0 comments

JIT Provisioning on Cloudflare Containers

https://waystones.cloud/journal/jit-provisioning-cloudflare-containers
2•Henrik716•26m ago•0 comments

Natural tissue immortality: Indefinite survival of sea cucumber explants

https://www.science.org/doi/10.1126/sciadv.aeb1394
2•hamburgererror•26m ago•0 comments

The Exclusive Retreat Where Wealthy Kids Learn How Not to Blow an Inheritance

https://www.wsj.com/lifestyle/careers/r360-novus-rich-kid-seminar-5cbb657a
2•thm•27m ago•0 comments

The Infosec Phrasebook

https://nesbitt.io/2026/06/01/the-infosec-phrasebook.html
2•progval•27m ago•0 comments

IEA: About Energy and AI

https://www.iea.org/reports/key-questions-on-energy-and-ai/executive-summary
2•samber•29m ago•0 comments