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/

Captcha proves you're human. HATCHA proves you're not

https://github.com/mondaycom/HATCHA
1•backlit4034•30s ago•0 comments

Smart AC dial in TypeScript and CSS running natively on ESP32 [video]

https://www.youtube.com/watch?v=QRLKzxTO5hE
2•arbayi•2m ago•0 comments

The White House is asking OpenAI to slow roll the release of its new model

https://techcrunch.com/2026/06/25/the-white-house-is-asking-openai-to-slow-roll-the-release-of-it...
3•lucamark•4m ago•0 comments

From Pentagons to Pentagrams

https://johncarlosbaez.wordpress.com/2026/05/29/from-pentagons-to-pentagrams/
2•surprisetalk•6m ago•0 comments

Ask HN: Can anyone use Claude Fable 5?

4•vantareed•7m ago•1 comments

Ask HN: What makes you register on a website?

2•TheRickyRed•8m ago•0 comments

Open-source machine identity security (IAM roles outnumber humans 82:1)

https://github.com/josephtui767-cloud/MII
2•josephtui•11m ago•0 comments

Microsoft's quantum computing technology called into question, again

https://vechron.com/2026/06/microsofts-quantum-computing-technology-called-into-question-again/
2•bhartipoddar•13m ago•0 comments

The day I started believing

https://davidpoblador.com/blog/the-day-i-started-believing.html
2•nirvanis•15m ago•0 comments

Ultrasound Imaging of the Brain

https://alephneuro.com/blog/ultrasound-brain
2•rossant•15m ago•0 comments

After the Rent Freeze

https://phenomenalworld.org/analysis/after-the-rent-freeze/
2•mjbellantoni•15m ago•1 comments

Orientation-Dependent Drag Crisis&Flight Response of FIFA World Cup Ball Trionda

https://www.mdpi.com/2311-5521/11/5/128
2•bookofjoe•21m ago•0 comments

Zoo Visitors' Initial Assessment of an Animaloid Robot as a Zoo Exhibit [pdf]

https://dl.acm.org/doi/pdf/10.1145/3544549.3585762
2•parksb•21m ago•0 comments

Ask HN: How do you do invoicing?

2•lasvejas•23m ago•0 comments

Show HN: I tracked 47 flights with a smart ring to quantify IMSAFE's blind spot

https://jay9185.github.io/Ultrahuman-heatmaps/
2•jerr12939•23m ago•0 comments

Mlibc: A fukk-featured portable C standard library

https://github.com/managarm/mlibc
3•fanf2•24m ago•0 comments

A Curl Mountain Movie

https://daniel.haxx.se/blog/2026/06/26/a-curl-mountain-movie/
2•HieronymusBosch•25m ago•0 comments

Study: One fake web page can be enough to trick AI shopping recommendations

https://www.fastcompany.com/91562049/one-fake-webpage-can-be-enough-to-trick-ai-shopping-recommen...
2•giuliomagnifico•25m ago•0 comments

Standby –> Intervention

https://seths.blog/2026/06/standby-intervention/
2•mooreds•26m ago•0 comments

I Shipped Feature So Fast Sheryl Sandberg Called an Emergency Meeting to Stop Me

https://michaelnovati.substack.com/p/i-shipped-a-facebook-feature-so-fast
3•kiyanwang•26m ago•0 comments

The Copy and the Guru

https://om.co/2026/05/26/the-copy-and-the-guru/
2•mooreds•29m ago•0 comments

The Shit Umbrella – a rant (2019)

https://medium.com/@ElizAyer/the-shit-umbrella-a-rant-3c0960f92bcb
2•mooreds•30m ago•0 comments

Fan Speed Offset Explained

https://www.noctua.at/en/expertise/tech/fan-speed-offset-explained
3•tosh•31m ago•0 comments

Show HN: Git-lazy-mount mount a repo without cloning it. Works with ordinary Git

https://github.com/mohsen1/git-lazy-mount
7•mohsen1•36m ago•3 comments

Battery-Powered Air Conditioners Take a Load Off the Grid

https://spectrum.ieee.org/battery-powered-air-conditioning
3•defrost•36m ago•1 comments

Ex-NOAA employees re-create a valuable climate data site shut down by Trump

https://www.npr.org/2026/06/26/nx-s1-5869615/climate-noaa-data-trump-doge
9•geox•36m ago•0 comments

Show HN: Kapient – Website monitoring that tells you what to fix

https://kapient.com
2•anwarfirst•36m ago•0 comments

The tick that makes you allergic to meat is spreading across Massachusetts

https://newbedfordlight.org/the-bugs-that-make-you-allergic-to-meat-are-spreading-across-mass/
3•georgecmu•37m ago•1 comments

What do people think of shadow AI? Security folk seem to love talking about it

https://old.reddit.com/r/cybersecurity/comments/1s55dw6/are_we_overfocused_on_ai_controls_while_s...
2•Ishaan0075•38m ago•0 comments

Ask HN: Who remembers Fry's Electronics – the "church" of IT people?

4•netfortius•38m ago•0 comments