When did Ruby’s “beautiful, readable code” mantra take such a shitty turn? Or has it always been this bad and I just never noticed back in my “OMFG I LOVE RUBY” days? Continue reading “Ruby code is beautiful code, not like that ugly Go nonsense”
Another reason I hate Ruby
I’m working in Rails again. I hate it. It kills me. It drains my soul.
But this time it’s an external dependency that’s got my panties in a wad. Continue reading “Another reason I hate Ruby”
Ruby’s Object#tap IS AWESOME
Oops….
s/IS AWESOME/considered harmful/
Much better. Continue reading “Ruby’s Object#tap IS AWESOME”
Three more reasons I hate you shitty little “developers”
Ruby Weekly once again confirms my belief that Ruby developers are actually getting dumber by the week. And considering you fuckups were already as dumb as rocks, that’s saying something. Continue reading “Three more reasons I hate you shitty little “developers””
Dependency injection by any other name… still means you’re an idiot
Summary for those who don’t want to read yet another angry nerd rant
Dependency Injection is still Dependency Injection even if you use an approach that’s specific to Ruby 2.1 and decide to call it “Interception Injection”. Just like incompetent developers are still incompetent even if they start inventing fake patterns. Continue reading “Dependency injection by any other name… still means you’re an idiot”
Tired of old-style Ruby hashes? Use vim?
Here ya go:
:%s/:\(\w\+\) => /\1: /g
You can also do cool stuff to run this across all buffers, tabs, etc. via something like this:
:tabdo %s/:\(\w\+\) => /\1: /g
The horrible cost of using explicit returns in Ruby….
At my lovely new job, we got a trainer to teach us about Ruby, Rails, and agile methodologies. She was pretty good overall, but one thing she mentioned a few times really got on my nerves: “use implicit returns in Ruby because there is a performance hit when explicitly returning”. Continue reading “The horrible cost of using explicit returns in Ruby….”
Ruby lovers rejoice! Net::YAIL 1.4.0 released!
I suspect there are still some bugs, as I only have one bot I use to test the thing, but there’s a lot of really good new stuff. I’m trying to move everything that makes sense into github, so the changelog is available on the Net::YAIL github wiki. Highlights: there’s finally a topic-change event, you can now register a block as a handler, some core issues are fixed in parsing, and I’ve paved the way for object-based handlers and filters. Continue reading “Ruby lovers rejoice! Net::YAIL 1.4.0 released!”
myAutToExe and Ruby for the win!
As I’ve mentioned maybe once or twice before, I like myAutToExe a good deal. It’s great for tinkering around with AutoIt programs that have been “secured” by compiling to tokens. In some situations, being able to decompile these scripts is an absolute necessity Continue reading “myAutToExe and Ruby for the win!”
IRC in Ruby still sucks? Check out Net::YAIL, the choice of a new generation
After posting my super-deluxe-awesome-sexy actionscript hover tooltip code, I felt dirty. I mean, me, giving away the source code to something that I could surely have sold for at least $1.50 a shot! It was really disgusting to see such charity from the likes of myself. Continue reading “IRC in Ruby still sucks? Check out Net::YAIL, the choice of a new generation”