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/

Show HN: The Plato Programming Language

https://github.com/cdiggins/plato
1•d166e8•50s ago•0 comments

Show HN: VoxThermic – A macOS journaling app that uses Apple's Foundation Models

https://voxthermic.jbri.workers.dev/
1•midnightbobarun•50s ago•0 comments

GetOfflineDeviceUniqueID: How Windows Derives Its Offline Device ID

https://iretq.com/inside-getofflinedeviceuniqueid-how-windows-derives-its-offline-device-id/
1•mschuster91•3m ago•0 comments

4playerchess: I launched a chess game that four people can play (easily)

https://4playerchess.plus
1•emilemoureau•4m ago•1 comments

Controlling Reasoning Effort in LLMs

https://magazine.sebastianraschka.com/p/controlling-reasoning-effort-in-llms
2•ibobev•6m ago•0 comments

Ask HN: I stopped fighting AI over-reliance and built a workflow around it

1•dimonb19a•6m ago•0 comments

Profunctor Optics

https://bartoszmilewski.com/2026/07/19/profunctor-optics/
1•ibobev•6m ago•0 comments

Of forks and clones and package management

https://theconsensus.dev/p/2026/07/11/of-forks-and-clones-and-package-management.html
1•ibobev•6m ago•0 comments

ASML to offer employees €20k retention bonus for staying in 2027-2030

https://www.reuters.com/business/world-at-work/asml-offer-employees-20000-retention-bonus-staying...
1•tartoran•7m ago•0 comments

FDA says Taylor Farms cyclospora finding was a false positive

https://www.reuters.com/business/healthcare-pharmaceuticals/fda-says-taylor-farms-cyclospora-find...
1•NelsonMinar•8m ago•0 comments

Show HN: Compare public holidays across countries side by side

https://worldholidays.me
1•weijunext•8m ago•0 comments

I Forgot to Get Excited

1•bkaae•9m ago•0 comments

Stagnant Germany Considers the Unthinkable: Sunday Shopping

https://www.wsj.com/world/europe/stagnant-germany-considers-the-unthinkable-sunday-shopping-13b4651c
1•jacooper•10m ago•0 comments

Help: Using reflection to discovery and invoke methods

1•ddddazed•10m ago•0 comments

Google Images: 25 years of visual search innovation

https://blog.google/products-and-platforms/products/search/google-images-25th-anniversary/
1•gmays•11m ago•0 comments

Standalone webserver written in pure PHP. No more need for nginx, php-fpm, etc.

https://github.com/Qbix/webserver
1•EGreg•11m ago•1 comments

Logsum compresses log files to summary that matters, then ask your LLM

https://github.com/flouthoc/logsum
1•fl_git•12m ago•0 comments

After five failed products, this founder quit his job and hit $7.5k/mo

https://www.indiehackers.com/post/tech/after-five-failed-products-this-founder-quit-his-job-and-h...
2•jimwilson•12m ago•0 comments

Bits of Advice That, in Murky Light, Might Pass as Wisdom

https://bastian.rieck.me/blog/2026/40/
1•Pseudomanifold•14m ago•0 comments

Police searched Twin Cities Flock cameras during ICE surge

https://www.startribune.com/police-search-immigration-twin-cities-flock-license-plate-cameras-ice...
4•bradleyankrom•15m ago•1 comments

Majority of US voters link extreme weather to climate crisis

https://www.theguardian.com/environment/2026/jul/19/climate-crisis-us-voters-study
6•speckx•15m ago•1 comments

That's Still SOTA: Epistemic Cryogenics and the 2023 Fossil Layer

https://blog.sly.so/actually-i-prefer-myself.html
2•ka_de•16m ago•0 comments

Venv-manager, a Python venv runtime for Humans and AI agents

https://github.com/jacopobonomi/venv_manager
1•twojacks•17m ago•0 comments

Investigating why RustCrypto is slow: Deep dive into SIMD acceleration

https://kerkour.com/rustcrypto-slow-simd-rust
3•cold_pizz4•18m ago•0 comments

People are turning themselves into lab rats': peptides craze the US

https://www.theguardian.com/wellness/2026/feb/05/injectable-peptides-trend
4•wslh•19m ago•0 comments

American AI is locked down and proprietary. It's losing

https://werd.io/american-ai-is-locked-down-and-proprietary-its-losing/
2•benwerd•19m ago•0 comments

Model 4: Our best model yet for local dictation and cleanup on Mac

https://www.epilude.com/news/introducing-model-4
3•oakst•19m ago•0 comments

Fix Grid 9x9 Sudoku

https://zenodo.org/records/21434235
2•LeonardoYMG•20m ago•0 comments

Guide to Rationalist Interior Decorating

https://www.lesswrong.com/posts/HJNtrNHf688FoHsHM/guide-to-rationalist-interior-decorating
1•surprisetalk•21m ago•0 comments

Show HN: CharitySense Nonprofit Due Diligence

https://data.charitysense.com/
1•mtweak•21m ago•0 comments