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

Comments

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

Apywire: Lazy object wiring and dependency injection for Python 3.12

https://github.com/alganet/apywire
1•gaigalas•5m ago•1 comments

Risky Business in the New Year

https://cunderwood.dev/2025/12/15/risky-business-in-the-new-year/
1•fenier•6m ago•0 comments

A dying mother's plan: Buy a gun. Rent a hotel room. Kill her son

https://www.latimes.com/california/story/la-timeless/dying-mothers-plan-buy-gun-rent-hotel-room-k...
1•PaulHoule•6m ago•0 comments

Best Books 2025: Business Leaders Recommend Their Must-Reads

https://www.bloomberg.com/features/2025-best-books/
1•helsinkiandrew•7m ago•1 comments

Show HN: Empirical evidence of a multiscale structural intersection

https://github.com/johnoliveiradev/Multiscale-structural-regime-benchmark
1•johnoliveiradev•11m ago•0 comments

Show HN: Claude Code Skill for creating VSCode themes

https://github.com/jugyo/vscode-theme-skill
1•jugyo•12m ago•0 comments

We mapped the hottest data centers

https://restofworld.org/2025/data-center-heat-map/
1•giuliomagnifico•12m ago•0 comments

Show HN: Troql – Auto-generate architecture maps from GitHub repos

https://www.troql.com/demo
2•ykgup•14m ago•0 comments

Show HN: Bithoven – A high-level, imperative language for Bitcoin Smart Contract

https://github.com/ChrisCho-H/bithoven
1•hyunhum•15m ago•1 comments

Google debuts 'Disco,' Gemini-powered tool for making web apps from browser tabs

https://techcrunch.com/2025/12/11/google-debuts-disco-a-gemini-powered-tool-for-making-web-apps-f...
1•achow•16m ago•0 comments

DBLP, the Computer Science Bibliography

https://dblp.org
1•kleiba•18m ago•0 comments

Book Review: If Anyone Builds It, Everyone Dies: (Probably Not)

https://ericlamb.substack.com/p/book-review-if-anyone-builds-it-everyone
1•ericlamb89•19m ago•0 comments

GPU vs. CPU. How to Cut Live Streaming and AI Processing Costs?

https://www.red5.net/blog/gpu-vs-cpu-how-to-cut-live-streaming-ai-processing-costs/
1•mondainx•19m ago•1 comments

Built a first-principles interactive model for space data center economics

https://andrewmccalip.com/space-datacenters
1•enderfusion•20m ago•1 comments

A comparison of every* Arena in Rust

https://donsz.nl/blog/arenas/
1•dade•21m ago•0 comments

MIT Missing Semester 2026

https://missing.csail.mit.edu/2026/
1•vismit2000•24m ago•0 comments

The Undisputed Queen of Safe Programming

https://medium.com/@jordansrowles/the-undisputed-queen-of-safe-programming-268f59f36d6c
2•ajdude•25m ago•0 comments

Show HN: SafeExec: Destructive Command Interceptor for Codex/Claude/Agents

https://github.com/agentify-sh/safeexec
1•agentifysh•26m ago•0 comments

Ask HN: Is snapd still controvertial on Ubuntu?

1•mariocesar•27m ago•2 comments

Build vs. buy is dead – AI just killed it

https://venturebeat.com/ai/build-vs-buy-is-dead-ai-just-killed-it
1•champagnepapi•30m ago•0 comments

Tech predictions for 2026 and beyond – All Things Distributed

https://www.allthingsdistributed.com/2025/11/tech-predictions-for-2026-and-beyond.html
1•rbanffy•30m ago•0 comments

UK Wants All iPhones to Block Explicit Images Unless You Prove Age

https://www.macrumors.com/2025/12/15/uk-pushes-apple-block-explicit-images/
1•gurumeditations•31m ago•1 comments

The Programmer's Roller Coaster (Comic)

https://jslegenddev.substack.com/p/the-programmers-roller-coaster-comic
1•ibobev•31m ago•0 comments

Batched Ranged Random Integer Generation

https://arxiv.org/abs/2408.06213
1•ibobev•31m ago•0 comments

How Mindset Shapes Engineering Success at Startups

https://chrlschn.medium.com/how-mindset-shapes-engineering-success-at-startups-4e231ebfd5db
1•CharlieDigital•33m ago•0 comments

The AI-Bubble – Slow hiss or big bang?

https://its.promp.td/the-ai-bubble-slow-hiss-or-big-bang/
1•DocIsInDaHouse•34m ago•0 comments

Multiplying the Shuffle Speed in Go with Batched Shuffling

https://lemire.me/blog/2025/12/15/multiplying-the-shuffle-speed-in-go-with-batched-shuffling/
2•ibobev•34m ago•0 comments

Show HN: 270 Lines of Python to Replace WisprFlow (Local Whisper and Qwen)

https://github.com/lucharo/voice2text
2•lucharo•35m ago•0 comments

UK's new spy chief warns the 'front line is everywhere' amid threat from Russia

https://www.cnn.com/2025/12/15/uk/uk-spy-chief-emerging-threats-intl
1•breve•35m ago•0 comments

Show HN: Entangle – An extensible pub/sub messaging protocol for real-time apps

https://github.com/entangle-io/entangle
1•ortuman•36m ago•0 comments