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

Comments

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

Ask HN: Why do some people feel emotionally attached to AI models

3•ClipNoteBook•4m ago•0 comments

Steam, Steel, and Infinite Minds

https://twitter.com/ivanhzhao/status/2003192654545539400
1•gmays•6m ago•0 comments

Show HN: Visual interface for AI agents beyond text-only chat

https://github.com/Zabaca/pane
1•uptownhr•8m ago•1 comments

Are Two Heads Better Than One?

https://eieio.games/blog/two-heads-arent-better-than-one/
1•zdw•10m ago•0 comments

Line Scan Camera Image Processing

https://daniel.lawrence.lu/blog/2025-09-21-line-scan-camera-image-processing/
1•tlyleung•10m ago•0 comments

When a driver challenges the kernel's assumptions

http://miod.online.fr/software/openbsd/stories/udl.html
2•todsacerdoti•16m ago•0 comments

AI's trillion-dollar opportunity: Context graphs

https://foundationcapital.com/context-graphs-ais-trillion-dollar-opportunity/
2•gmays•16m ago•0 comments

Seven Diabetes Patients Die Due to Undisclosed Bug in Abbott's Glucose Monitors

https://sfconservancy.org/blog/2025/dec/23/seven-abbott-freestyle-libre-cgm-patients-dead/
3•pabs3•19m ago•0 comments

The Beginning of the End for OpenAI [video]

https://www.youtube.com/watch?v=VofkcJhmKXw
1•pabs3•22m ago•0 comments

OpenAI is reportedly trying to raise $100B at an $830B valuation

https://techcrunch.com/2025/12/19/openai-is-reportedly-trying-to-raise-100b-at-an-830b-valuation/
2•pabs3•23m ago•0 comments

Ask HN: Is there an AI subscription plan comparison tool that's always updated?

1•ArlenBales•24m ago•0 comments

Why Sell Lifetime Plans, in a Default Subscription World?

https://pketh.org/lifetime-plans.html
1•herbertl•25m ago•0 comments

Huntr

https://www.huntrfinds.info
1•cloudwaddie•27m ago•1 comments

Mommy's here to support you, in any shell, on any system

https://github.com/fwdekker/mommy
2•jakelazaroff•28m ago•1 comments

One pull of a string is all it takes to deploy these complex structures

https://news.mit.edu/2025/one-string-pull-deploys-complex-structures-1223
3•bookofjoe•29m ago•0 comments

Why protests can bring people together across political divides

https://phys.org/news/2025-12-protests-people-political.html
1•PaulHoule•36m ago•0 comments

Doubly Dual Shuffles

https://dotat.at/@/2025-12-25-shuffle.html
2•todsacerdoti•39m ago•0 comments

Mole: Deep clean and optimize your Mac

https://github.com/tw93/Mole
3•simonpure•42m ago•0 comments

Ask HN: What tech purchase did you regret even though reviews were great?

4•xthe•47m ago•0 comments

No shares in company, but 550 employees received a $240M gift from their owner

https://economictimes.indiatimes.com/magazines/panache/no-shares-in-company-but-550-employees-rec...
12•gfortaine•1h ago•6 comments

Libreboot 26.01-Rc1 Released to Support a Few More Systems

https://www.phoronix.com/news/Libreboot-26.01-rc1
2•Bender•1h ago•0 comments

Linux's Sched_ext Has Plans for GPU Awareness, Energy-Aware Abstractions

https://www.phoronix.com/news/sched-ext-future-plans-2026
1•Bender•1h ago•0 comments

CVSS 9.9 RCE vulnerability in n8n potentially impacts more than 100K servers

https://www.scworld.com/news/cvss-9-9-rce-vulnerability-in-n8n-potentially-impacts-more-than-100k...
3•Bender•1h ago•0 comments

Famous actor Jessica Chastain ended up as output from Nano Banana

https://xcancel.com/gokayfem/status/2003960612238356890
4•Alifatisk•1h ago•1 comments

Are students replacing laptops with iPads in 2026?

2•xthe•1h ago•2 comments

How sustainability is driving innovation in functionalized graphene materials

https://phys.org/news/2025-12-sustainability-functionalized-graphene-materials.html
3•westurner•1h ago•1 comments

Ruby Turns 30: A Celebration of Code, Community, and Creativity

https://blog.jetbrains.com/ruby/2025/12/ruby-turns-30-a-celebration-of-code-community-and-creativ...
5•mikece•1h ago•0 comments

I built DarZawaj.com, a wedding venue directory focused on Morocco

https://darzawaj.com/
1•Greeweb•1h ago•2 comments

Why is the last letter of my string not making it to the clipboard?

https://devblogs.microsoft.com/oldnewthing/20251225-00/?p=111914
1•HeliumHydride•1h ago•0 comments

The untold story of the NES [video]

https://www.youtube.com/watch?v=uJvpRGibFhg
1•jonny_eh•1h ago•0 comments