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

Comments

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

How to Fix Circular Imports in a React/TypeScript Application

https://jsdev.space/howto/circular-imports-ts/
2•javatuts•3m ago•0 comments

Show HN: VaultAI – 42 AI models on a portable SSD, works offline ($399)

https://vaultai.us/
1•laramie_co•4m ago•1 comments

A 97M-parameter model outperforms 900M for warehouse robot coordination

https://rovnou.com/en/blog/deepfleet
1•ekusiadadus•7m ago•1 comments

Show HN: HushWork – A calm focus environment for focus in one tab

https://hushwork.app
1•pgebski•8m ago•1 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
2•sidnarsipur•12m ago•0 comments

SwiftUI Agent Skill: Build Better Views with AI

https://www.avanderlee.com/ai-development/swiftui-agent-skill-build-better-views-with-ai/
3•skreep•14m ago•0 comments

Chess engine, pt. 3: Elo, and rigorous SPRT testing

https://www.dogeystamp.com/chess3/
1•luu•15m ago•0 comments

Show HN: R2Stat – Monitor your Cloudflare R2 free Class B quota

https://r2stat.com/
1•jacoka•18m ago•1 comments

Agentic Engineering Best Practices

1•kingJulio•19m ago•0 comments

I tripled my SaaS prices after 2 weeks and signups didn't drop

https://web-production-71423.up.railway.app/
1•Shmungus•19m ago•2 comments

Show HN: One async PHP process serving web, REST API, and MCP for AI agents

https://pascualmg.dev/blog/pascual/one-async-php-process-web-server-rest-api-and-mcp-for-ai-agents
1•passh•20m ago•0 comments

Improving Interactive In-Context Learning from Natural Lang Feedback – DeepMind

https://arxiv.org/abs/2602.16066
2•zerop•24m ago•0 comments

Show HN: Behavr – Run realistic user simulations on your prototypes in minutes

1•Behavrai•29m ago•1 comments

Microsoft: Anti-phishing rules mistakenly blocked emails, Teams messages

https://www.bleepingcomputer.com/news/microsoft/microsoft-anti-phishing-rules-mistakenly-blocked-...
1•exploraz•31m ago•0 comments

Arpa.net

http://www.arpa.net/
2•TigerUniversity•33m ago•0 comments

Cloudflare uses ClickHouse to scale analytics at quadrillion-row scale

https://clickhouse.com/blog/cloudflare
2•samaysharma•33m ago•0 comments

Laurie Spiegel's pioneering '80s music software, Music Mouse, returns updated

https://djmag.com/news/laurie-spiegels-pioneering-80s-music-making-software-music-mouse-returns-m...
3•coffeeyesplease•34m ago•0 comments

A Constructive Look at TempleOS

http://www.codersnotes.com/notes/a-constructive-look-at-templeos/
2•TigerUniversity•36m ago•0 comments

Accenture combats AI refuseniks by linking promotions to log-ins

https://www.ft.com/content/ac672f97-a603-4c56-afa3-4a5273d45674
2•cianmm•43m ago•1 comments

Show HN: I Emulated My Childhood

https://sklivvz.com/posts/i-finally-emulated-my-childhood
2•sklivvz1971•47m ago•0 comments

Show HN: 17MB pronunciation scorer beats human experts at phoneme level

2•fabiosuizu•48m ago•0 comments

The Great Locomotive Chase

https://en.wikipedia.org/wiki/Great_Locomotive_Chase
3•keiferski•48m ago•0 comments

State of Generative Media

https://fal.ai/gen-media-report-volume-1
1•mdrzn•48m ago•0 comments

Brave Iranians gather in central Iran to honour those killed in uprising

https://twitter.com/IranIntl_En/status/2024767317893075330
9•ukblewis•49m ago•1 comments

Trump to order declassification of UFO/UAP related files

https://twitter.com/TrumpDailyPosts/status/2024661955479556382
1•lucasRW•50m ago•0 comments

Show HN: SaveTheTrade – a simple trade journal and performance tracker

https://survivethetrade.com/
1•daniellax•51m ago•0 comments

Wikipedia has deprecated and will blacklist archive.today

https://en.wikipedia.org/wiki/Wikipedia:Archive.today_guidance
7•gyrovague-com•54m ago•5 comments

TamboUI: A Modern Terminal UI Framework for Java (GraalVM Native)

https://github.com/tamboui/tamboui
1•mikepapadim•55m ago•0 comments

Optimism Plunges 28% as Base Drifts from OP Stack: What's Next?

https://timescrypto.com/cryptonews/altcoins/optimism-plunges-28-as-base-drifts-from-op-stack-what...
1•Alan_Writer•56m ago•0 comments

Show HN: Aismond – attack-surface monitoring for MSP client fleets

https://www.aismond.com/
1•mirceamitu•57m ago•0 comments