-
Null Coalescing Operators and Ruby's Conditional Assignments
Ruby doesn't have a true null coalescing operator, so don't write something like it does. [READ MORE]
-
Dunbar's Number and Working Better with Those We Actually Know
Blake Fitzgeraldās fantastic observations on Dunbarās Number and how the naturally strong cohesion between your organizationās employees can live or die based on the organizationās reaction to passing this threshold. Makes me think of Spotifyās explanation of Autonomous Squads, as well as their approach to organization management overall, in their Spotify Engineering Culture videos. Dunbarās Number and Working Better with Those We Actually Know by Blake Fitzgerald [READ MORE]
-
RSpec Pattern for Testing Permissions
Brady Ouren writes about a pattern we developed to more easily test user permissions in Rails controllers with RSpec. [READ MORE]
-
Perl Compatible Regular Expressions in vim
TLDR: If you donāt want to have to deal with vimās non-Perl-like regular expressions in substitutions, you can easily enable Perl support and use :perldo <substitution> to get the job done. Substitutions in vim are immensely powerful with regular expressions; I use them constantly. When I first began to use vim exclusively and saw the basic syntax of substitutions, I happily went about my way doing simple things like /s/cat/dog/ and :%s/^\w+\s+/ with only needing my past regex experience. I went on like this for over a month until I came across a need to have some really complex regex... [READ MORE]
-
Upgrading to OSX Yosemite
After a bit of time to let the dust settle and important libraries and tools catch up to support OSX Yosemite, I decided to give an upgrade a go. Hereās some collected information about what it took to get my machine back up and running; hopefully it will save you some time. This is mostly useful for Ruby developers. Pre-installation warning: Appleās upgrade process moves around your /usr/local directory across your disk - depending on what you have there, (namely, Homebrew uses /usr/local and it has a lot of small files). I didnāt know this ahead of time and it... [READ MORE]
-
Git Unleashed
Youāre quite comfortable with Git. You know all the major commands and perhaps even use it professionally every day. Now take the next step to becoming a rockstar of efficiency. A talk about enhancing your Git workflow by bypassing some of its verbose syntax and customizing it to do more for you. [READ MORE]