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/

Services Masquarading as Software 30x30

https://www.silverbackcto.com/
1•dudemanAtl•58s ago•0 comments

Show HN: NostalgiApp – A LaunchBox-style game launcher for macOS

2•jupe69•2m ago•0 comments

The Return of the Unix Workstation (Now with AI)

https://jasoneckert.github.io/myblog/return-of-the-unix-workstation/
1•ingve•3m ago•0 comments

The Return to Analog

https://www.rickmanelius.com/p/the-return-to-analog
1•mooreds•4m ago•0 comments

AAuth Protocol Explorer

https://explorer.aauth.dev/
1•mooreds•4m ago•0 comments

Prefer Terraform Module Composition over Inheritance (2025)

https://newsletter.masterpoint.io/p/prefer-module-composition-over-inheritance
1•mooreds•5m ago•0 comments

Embrace, Extend, Extinguish?

http://eee.fyi/
2•pie_flavor•8m ago•0 comments

Entity Component Systems FAQ

https://github.com/SanderMertens/ecs-faq
2•tosh•10m ago•0 comments

Ask HN: What sci fi books are you reading now?

2•pianetanaif•12m ago•1 comments

Microsoft Lead: "AI Will Never Replace Coders, Here's Why" [video]

https://www.youtube.com/watch?v=CPrePbvbbic
4•tosh•18m ago•0 comments

We accidentally recreated old Facebook

https://amrshawky.com/posts/we-accidentally-recreated-fb/
1•amr_shawky•19m ago•0 comments

Detecting PostgreSQL optimization issues with deterministic analysis

https://beh74.github.io/pgassistant-blog/post/global_advisor/
1•bertrandhartwig•19m ago•0 comments

Scientists warn Atlantic current at risk of shutting down

https://e360.yale.edu/features/amoc-climate-change
32•ambigious7777•21m ago•4 comments

Visualizing LLM embeddings on a sphere

https://github.com/dbyter/sphere-embed
1•ahmedhawas123•22m ago•1 comments

Boilerplate to create a 1990s Geocities-style website

https://sugardaddyapp.github.io/geocities-boilerplate/
1•whatsupdog•23m ago•1 comments

Hacking Police Robot Dogs [video]

https://www.youtube.com/watch?v=lA8WuXDXfcI
1•Jn2G3Np8•25m ago•0 comments

Russia Restricting Access to GitHub

https://twitter.com/polidemitolog/status/2053493261633720827
6•miohtama•27m ago•0 comments

Show HN: We built a tool to dub any video in the original voice in 30 languages

1•ABSALOMMAXY•30m ago•1 comments

AI Learns to Play Pokémon Go on AI Sandboxes

https://zozo123.github.io/pokeloop/
1•zozo123-IB•32m ago•0 comments

Map of every park in Salt Lake City

https://saltlake.citycast.fm/parks
1•bencornia•33m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
3•magoghm•33m ago•0 comments

Do City Delivery Drones Make Sense? No One Knows, but They're Flying over NYC

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•Brajeshwar•37m ago•0 comments

B-tree based collection types for Go

https://github.com/tidwall/btype
4•eatonphil•37m ago•0 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
11•birdculture•38m ago•4 comments

Its the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
3•anjel•39m ago•1 comments

TikZlings – A collection of cute little animals and similar creatures

https://ctan.org/pkg/tikzlings?lang=en
1•Tomte•43m ago•0 comments

Why payment escrow for AI agents needed a different design

https://streetai.org/blog/escrow-for-ai-agents.html
2•degutemesgen•44m ago•0 comments

A super simple tool tells you who called the function and who implemented it

https://github.com/meloalright/who-ast
3•meloyc•45m ago•0 comments

Proposed Amendment to the Telephone Consumer Protection Act of 1991

https://www.karlbunch.com/random/website-protection-act/
2•kator•46m ago•1 comments

OSS Review Toolkit

http://oss-review-toolkit.org/ort/
2•Tomte•52m ago•0 comments