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/

The AI Big Crunch Is Starting

https://medium.com/@brothke/the-ai-big-crunch-is-starting-c50612ee3a02
2•benrothke•2m ago•0 comments

July 6th: International Kissing Day

https://en.wikipedia.org/wiki/International_Kissing_Day
2•Bender•5m ago•0 comments

Britain should consider regulating AI models, FCA official says

https://www.reuters.com/legal/litigation/britain-should-consider-regulating-ai-models-fca-officia...
3•adithyaharish•6m ago•0 comments

The Importance of Questioning When Coding with AI

https://jakub.jankiewicz.org/blog/questioning-ai/
2•jcubic•8m ago•0 comments

Kill the Plastic AI Portrait

https://realistic-shot-deploy-eight.vercel.app/
3•withoutshape•11m ago•1 comments

How We're Keeping Reddit Real and Safe in the AI Era

https://redditinc.com/news/how-were-keeping-reddit-real-and-safe-in-the-ai-era
2•soheilpro•12m ago•0 comments

Our Own Little Golden Era

https://thesecondbutton.com/our-own-little-golden-era/
2•SuperUserDone•15m ago•1 comments

Save Thousands of Dollars: Smpte Standards Are Free

https://vimegs.com/save-thousands-of-dollars-on-information-directly-from-the-source-smpte-makes-...
2•LukasMarek•15m ago•0 comments

How Will AI Impact the Labor Market?

https://www.goldmansachs.com/insights/goldman-sachs-exchanges/how-will-ai-impact-the-labor-market
2•vismit2000•16m ago•0 comments

An interactive visualization of a HTTP request through its ~200ms life

https://200ms.thenodebook.com
2•isht_0x37•16m ago•0 comments

Mid-tier factory knives vs. cheap imports

https://www.paragon-knives.com/
2•bgzlsxaz•19m ago•0 comments

Ask HN: What internal tools/SASS replacements are you building?

2•kostarelo•22m ago•0 comments

Why is there smoke from the boiler room? – Botanical Garden using Home Assistant

https://vooijs.eu/posts/why-is-there-smoke-from-the-boiler-room/
2•Baardappel•22m ago•0 comments

Coding Agents as Teammates in Issues, Pull Requests, and CI

https://onedev.io/blogs/33
4•timplant•23m ago•1 comments

Owarix, version of 8000 year old game for the Vic20. (3k: v20,c64,c16,zx,PC)

https://orac81.itch.io/owarix
2•orac81•24m ago•0 comments

TikTok Viral Score – deterministic scoring engine, no login required

https://github.com/NaiaLorente/GoViral-Tiktok
2•naialorente•24m ago•0 comments

If Terraform is so great, why isn't anyone using it anymore?

https://medium.com/@sebkow/if-terraform-is-so-great-why-isnt-anyone-using-it-anymore-1b79b2159272
3•sebkow•24m ago•2 comments

Probably the best AI detector tool is ready

https://aidetector.my/en
3•GemsGame•26m ago•1 comments

I built Who Goes? app to make game nights feel fun again

https://apps.apple.com/in/app/who-goes-party-games/id6777402559
2•shubham_iosdev•29m ago•1 comments

Eight – Interactive fiction made with AI

https://huggingface.co/spaces/alvations/hallway8
2•alvations•29m ago•0 comments

The Parts Based Programming Kernel

https://programmingsimplicity.substack.com/p/the-parts-based-programming-kernel
3•surprisetalk•32m ago•0 comments

Reasons to be optimistic about America's future

https://www.washingtonpost.com/opinions/interactive/2026/07/03/25-reasons-be-optimistic-about-ame...
2•baal80spam•32m ago•0 comments

Trump Financial Disclosure Shows 21,000 Trades in 2025

https://www.advisorhub.com/trump-financial-disclosure-shows-21000-trades-in-2025/
12•throw0101d•34m ago•2 comments

pkgsrc is still available on macOS as a package manager

https://pkgsrc.smartos.org/install-on-macos/
2•uneven9434•34m ago•0 comments

FlowerBench: Benchmarking AI Agents on Real Enterprise Work

https://flower.ai/benchmarks/flowerbench/
2•dimitrisflwr•36m ago•1 comments

China will likely have its own Mythos-like model around February 2027

https://www.the-substrate.net/p/china-will-likely-have-its-own-mythos
3•throw0101d•37m ago•0 comments

Show HN: Open-source Claude Code skills that mine Reddit/X for content topics

4•vatricemir•37m ago•0 comments

Ask HN: Are there good security benchmarks for LLMs?

2•melvinroest•38m ago•0 comments

The Devadasis, Dance Community of South India: A Legal and Social Outlook

https://brill.com/view/journals/ijgr/29/1/article-p102_102.xml
2•thunderbong•44m ago•0 comments

We built a P2P app with no servers. Internet of Peers [video]

https://www.youtube.com/watch?v=n76zGrt4aRY
2•closet_slayer•44m ago•0 comments