Simon James @simonjuk.bsky.social · 27/08/2026it's what makes me hesitant to move away from audible. It's the same thing for some ebooks on kindle, which is worse because you can't easily export them anymore :( 000
Simon James @simonjuk.bsky.social · 01/10/2025Does anyone know of a small exemplar Rails app (<<10 models/controllers) written in Rails 8 using all the defaults? #rails 110
Simon James @simonjuk.bsky.social · 01/10/2025Here's another one for you, a regex that will match almost any ruby string: github.com/mwnciau/rbla... 000
Simon James @simonjuk.bsky.social · 03/08/2025Yeah, you're right. I think it would've been much clearer to extract out to a constant, but the /o modifier allows in-place optimisation so that's what I did because it was easier! 110
Simon James @simonjuk.bsky.social · 03/08/2025The use case for /o is when you're interpolating (constant) regex objects inside other objects. It lets you split out sub-expressions, increasing readability, without a significant performance hit. github.com/mwnciau/rbla...github.comrblade/lib/rblade/compiler/tokenizes_statements.rb at a6148dbac190a1259791e6a225b3f523df0e0a0a · mwnciau/rbladeA simple, yet powerful templating engine for Ruby on Rails, inspired by Laravel Blade. - mwnciau/rblade 100
Simon James @simonjuk.bsky.social · 26/07/2025The RubyMine plugin might still be a bit rough and ready. Let me know if you have any issues with it. 010
Simon James @simonjuk.bsky.social · 19/07/2025Really interested in your vision for Herb, particular level 6. You seem to have gone through a similar journey to me, taking inspiration from Heex, whereas I took inspiration from Laravel when I made RBlade: github.com/mwnciau/rblade There's for sure lots of room for improving templates in Rails.github.comGitHub - mwnciau/rblade: A simple, yet powerful templating engine for Ruby on Rails, inspired by Laravel Blade.A simple, yet powerful templating engine for Ruby on Rails, inspired by Laravel Blade. - mwnciau/rblade 110
Simon James @simonjuk.bsky.social · 19/07/2025LSPs seem an order of magnitude easier to implement than adding a templating language natively! I was warned away from trying it. I had a crack: github.com/mwnciau/herb... / plugins.jetbrains.com/plugin/27954... Happy to hand over/take these down if you'd prefer to keep control over IDE plugins.github.comGitHub - mwnciau/herb-lsp-intellij: This Intellij plugin is a simple wrapper around https://github.com/marcoroth/herbThis Intellij plugin is a simple wrapper around https://github.com/marcoroth/herb - mwnciau/herb-lsp-intellij 210
Simon James @simonjuk.bsky.social · 16/07/2025@marcoroth.dev I think I saw you were making a RubyMine plugin for Herb? How's that going (I've done a bit of JetBrains plugin dev and it can be pretty awful!) 110
Simon James @simonjuk.bsky.social · 20/06/2025Here's a simplified example of what I mean in PHP. Defining the shape of hashes can add a lot of safety when working with JSON, for example. phpstan.org/r/d1c6ccf3-e...phpstan.orgPlayground 000
Simon James @simonjuk.bsky.social · 19/06/2025I recently read "Division by Zero" by Ted Chiang, a short story about an inconsistent mathematical system. You might might like it. 130
Simon James @simonjuk.bsky.social · 19/06/2025@emilysamp.dev Great talk this morning! I'm excited about the new inline RBS syntax of sorbet. I heard it may not be feature complete compared to sorbet's sig? Is adding hash keys to types on the roadmap at all? 100
Simon James @simonjuk.bsky.social · 19/06/2025@rosa.codes Great talk this morning! I was very impressed at how clearly you explained everything in such a short time. This mathematician approves 😄 Have you ever tinkered with Haskell (or even elixir/phoenix)? 210
Simon James @simonjuk.bsky.social · 19/06/2025@andycroll.bsky.social Nice font! Are those ligatures? 100
Simon James @simonjuk.bsky.social · 11/05/2025I'd not come across either, but I can see the similarities. The idea came from Laravel's data_get and data_set methods, which I've used in the past. 010
Simon James @simonjuk.bsky.social · 11/05/2025I've found myself needing to create simple interfaces for complicated data structures in Ruby recently. I've just released a small, self-contained gem for interacting with nested data structures using dot-delimited keys: github.com/mwnciau/dotkey #ruby 152
Simon James @simonjuk.bsky.social · 18/03/2025Just released RBlade 3.0, a performant component-based templating library for Rails. Now with dynamic components and options to integrate into ERB and other templating languages. github.com/mwnciau/rblade #rails #rubyonrails #rubygithub.comGitHub - mwnciau/rblade: A simple, yet powerful templating engine for Ruby on Rails, inspired by Laravel Blade.A simple, yet powerful templating engine for Ruby on Rails, inspired by Laravel Blade. - mwnciau/rblade 010
Simon James @simonjuk.bsky.social · 26/11/2024Looking to add type signatures to my #RubyOnRails app - to improve editor suggestions and possible add steep. Any suggestions/experiences? Considering going for a Yard + Sord approach. 020
Simon James @simonjuk.bsky.social · 11/11/2024I find the string freeze/unfreeze modifiers a little surprising. +"0" and -"0" give very different results in some other languages! 100