mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#ruby

82 posts59 participants13 posts today

I wrote about the problem with #Ruby instance variables, why I still prefer them to getter methods and how my new gem, AyeVar, can make instance variables just as safe as getters. joel.drapper.me/ivars/

Fun-fact! #JRuby 10.0.0.0 breaks the single digit version number assumption in the `pik` gem for switching between #Ruby installations

/ruby (\d\.\d\.\d)/i
doesn't match
jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.5+11-LTS on 21.0.5+11-LTS +indy +jit [x86_64-mswin32]

Awesome Regex leanpub.com/b/regex by Sundeep Agarwal is the featured bundle on the Leanpub homepage! leanpub.com #Python #Javascript #Ruby #ComputerProgramming #books #ebooks

LeanpubAwesome RegexBundle details Example based guide to mastering Regular Expressions in various programming languages, text editors and command line tools. The bundle includes the following seven books:Understanding Python re(gex)? (builtin re and third-party regex modules) Understanding JavaScript RegExpUnderstanding Ruby RegexpCLI text processing with GNU grep and ripgrep (BRE/ERE, PCRE, Rust regex crate, PCRE2)CLI text processing with GNU sed (BRE/ERE)CLI text processing with GNU awk (ERE)Vim Reference GuideThe above links point to GitHub repos for the respective book. These repos have files used in examples/exercises and other information related to the books.Understanding Python re(gex)?, JavaScript RegExp and Ruby Regexp books are solely focused on regular expressions.CLI text processing with GNU grep and ripgrep, GNU sed and GNU awk books will help you learn how to use these command line tools from the terminal. The various regex flavors used in these tools are discussed in dedicated chapters/sections with plenty of examples. See my blog post for subtle differences between the BRE/ERE implementations in these tools.Vim Reference Guide focuses on the Vim text editor. There's an entire chapter for the Vim regex flavor. Testimonials I love your books on regex...As a student from the Digital VLSI space, it is indeed useful now and definitely in the future. It's really well written and really easy to understand the examples — feedback on reddit Step up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks! — feedback on twitter Literally was having a mini-breakdown about not understanding Regex in algorithm solutions the other day and now I'm feeling so much better, so thank YOU! I genuinely feel like I'm developing the skill for spotting when and where to use them after so much practice! — feedback on twitter I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in. These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them! — feedback on Hacker News Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable. — feedback on Hacker News Thank you for choosing to write and share your knowledge. I read your books on CLI and sed - I think they are very comprehensive and very well explained. Keep up the great work — feedback on twitter Bundle cover image created using canva.