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/

Automated Engineering: What Happens Beyond the Plan?

https://blog.fruhinsholz.com/articles/automated-engineering-beyond-the-plan/
1•fruhinsholz•2m ago•0 comments

Canada's Supreme Court Upholds Quebec's Religious-Symbols Ban

https://www.wsj.com/world/americas/canadas-supreme-court-upholds-quebecs-religious-symbols-ban-c1...
3•JumpCrisscross•7m ago•0 comments

David Fincher Says A.I. Isn't "Hurting Cinema," Defends Its Use in 'Cliff Booth'

https://theplaylist.net/david-fincher-cliff-booth-ai-hurting-cinema-controversy-20261128/
1•Michelangelo11•9m ago•0 comments

Show HN: A daily game where four LLMs try to predict your answer

https://enduser.fun/
3•retrolover83•9m ago•0 comments

PocketBase has moved off GitHub

https://github.com/pocketbase/pocketbase/issues/7872
1•p2detar•11m ago•0 comments

Age is supposed to change your value

https://artoftraction.com/articles/age-is-supposed-to-change-your-value
2•sinac•11m ago•0 comments

Why the super rich are inevitable

https://pudding.cool/2022/12/yard-sale/
2•chistev•18m ago•0 comments

Trump says SEC's Atkins will make the use of the term 'SI' mandatory

https://thehill.com/homenews/administration/6246273-trump-sec-mandates-si-term/
5•everybodyknows•20m ago•4 comments

Patiele: A Practical Case of Infrastructure

https://patiele.io/en/inside-patiele/radical-infrastructure/
1•AmaEme•23m ago•0 comments

Musk Wants AI in Space. It's About Money, Not Mars

https://www.youtube.com/watch?v=yGuj9rIUfWI
3•frag•29m ago•1 comments

Every Marketing Manager Will Need to Become a Product Marketing Manager

https://www.kevinkatzke.com/blog/every-marketing-manager-will-become-a-product-marketing-manager/
2•kevinkatzke•29m ago•1 comments

Show HN: Dash, a desktop canvas where coding agents work beside your running app

https://dashcanvas.dev/
2•pbroas127•30m ago•0 comments

Banks are not profitable anymore (Failed and Seized)

https://www.seattletimes.com/business/united-fidelity-bank-seized-in-biggest-us-bank-failure-sinc...
5•trilogic•31m ago•2 comments

Public benchmarks and OpenSSL-verifiable post-quantum timestamps

https://github.com/SINECLAVE/sineclave-public/blob/main/docs/STRESS_TESTS.md
1•ifazlic•32m ago•0 comments

Natural England objects to datacentre Weeks later govt threaten to abolish it

https://www.theguardian.com/environment/2026/nov/27/natural-england-objected-datacentre-ministers...
1•nephihaha•33m ago•0 comments

Show HN: Venndetta, daily Venn diagram puzzles about real-world data

https://trost.co/venndetta/
11•matthewtoast•36m ago•4 comments

A grammatical view of logic programming [pdf]

https://www.researchgate.net/profile/Pierre-Deransart/publication/221266845_A_grammatical_view_of...
3•fanf2•41m ago•0 comments

The importance of understanding what the fuck is going on

https://blog.jsbarretto.com/post/understanding
3•notfried•41m ago•0 comments

OpenAI countersues Apple for stealing trade secrets

https://www.ft.com/content/af599e07-d44c-4068-ab84-6ee3c85551d4
2•droidjj•43m ago•1 comments

Iran used Elon Musk's Starlink to help wage attacks against U.S.

https://www.washingtonpost.com/national-security/2026/11/28/iran-used-elon-musks-starlink-interne...
6•cwwc•51m ago•3 comments

What Is 'Roughness', Really?

https://gpfault.net/posts/roughness.html
2•nice_byte•53m ago•0 comments

Show HN: Get lost with friends in an infinite 3D Library of Babel

https://github.com/skorotkiewicz/library-of-babel
2•modinfo•55m ago•0 comments

Canada Supreme Court Upholds Act Respecting the Laicity of the State in Quebec

https://decisions.scc-csc.ca/scc-csc/scc-csc/en/item/21777/index.do
3•matbilodeau•56m ago•1 comments

Runescape Security Incident: November 28 Downtime

https://secure.runescape.com/m=news/november-28-downtime
9•usernomdeguerre•57m ago•0 comments

Vectorized SVE2 Optimization of the Post-Quantum Signature ML-DSA on ARMv9-A

https://dl.acm.org/doi/10.1145/3839362
1•rbanffy•57m ago•0 comments

Show HN: Daily open job postings for 925 US stocks, from their own career sites

https://glitchbound-jobs.pages.dev/hiring-trends/
3•glitchbound•58m ago•0 comments

Los Angeles schools block Google's AI features, consider dropping products

https://www.pbs.org/newshour/education/as-google-threatens-to-cut-schools-search-access-los-angel...
2•geox•59m ago•0 comments

Ask HN: Anyone else in the UK get cyber attacked today?

1•definitelynotad•1h ago•0 comments

Show HN: Preflight CLI – a localscanner for AI coding agent skills

https://deepwissen.com/articles/why-i-built-preflight/
2•deepwissen•1h ago•0 comments

JumpStart: Alleviating the Front-End Bottleneck in Modern x86 Processors

https://dl.acm.org/doi/10.1145/3859372
1•rbanffy•1h ago•0 comments