When you are wearing a team lead hat developer happiness becomes the most important aspect. I hire people smarter than me and care about their well-being. But contract work is a constant pressure. So one of the goals is to prevent the happiness baseline from dipping.
Nintendo is known for using boring technologies. Not the worst plan. Here are some tips on handling complexity on Rails in a boring pragmatic way.
I see different approaches to breakpoints and responsive design. Most of the time they are over-complicated and only making things worse. So here’s mine suggestion for device breakpoints that are in touch with reality.
Once in a while comes a moment when you decide to change an icon set you have been using. Just a bit of upfront planning goes a long way. Consider a system that turns icons into independent components.
This is extracted from the Github issue created to discuss the approach with my team. Please bear with me if I refer to something that wasn’t mentioned in the text.
Keyboard is great. Mouse is good. Trackpad is okay.
Are you using this editor and that version control app? Think bigger. Instead of jumping between applications or forcing yourself to an IDE use your Mac as a system where apps work together for the greater good.
An excellent talk “Blending Functional and OO Programming in Ruby” given by Piotr Solnica at Full Stack Fest 2015 made me think about improving current practices. I have tried different ways of organizing my service objects and here is what I came up with.
After creating Bottomless Hash last time and writing tests the next logical step is to make a Gem out of it.
The other day somebody asked if there is a way to blindly assign nested values to Ruby Hash without creating each key. Turns out there is, and it has an interesting side-effect. Welcome Bottomless Hash.
I don’t know about you but I kind of grown to like Carrierwave. Yes, there are other uploaders on the block but that’s not the point. Everybody I know are using it wrong.
If you need to get something out of the database, consider using pluck to avoid creating instances you don’t need.
Inspired by Ungrid and BASSCSS I have decided to build on top of their shoulders. Welcome the nanogrid.
Sometimes working with other people you with you didn’t have some of the files in repository because they are getting in the way of your settings. .ruby-version for instance.
Lately I am working on an old code base and that means working with the old CSS. One of the techniques to use when refactoring CSS is to replace colors with variables. But first you need to find and catalogue all the colors in the project.
Really enjoyed watching Chappie (2015) last night. It’s the third movie from Neill Blomkamp, the director of District 9 (2009) and Elysium (2013). RoboCop meets District 9.
After unsuccessful attempts at blogging relying on 3rd party platforms like Posterous, Tumblr, Droplr and whatnot here is my new stab at delivering ideas to the world. Fully autonomous this time. Surprisingly there are not that many options available for blogging…