I have a bit of a tab problem. Just now I have 31 tabs open in Chrome. I could tell you I’m going to get that under control, but that would be a lie. I like the way Chrome handles tabs but they do eat up a lot of memory if you have a ridiculous number of them open. Fortunately, my problem is so common that there’s a Chrome extension to.. Read More
What does SOLID really mean? Part 5
First, a quick recap: the SOLID principles of object oriented design are, to quote Uncle Bob: The Single Responsibility Principle A class should have one, and only one, reason to change. The Open Closed Principle You should be able to extend a classes behavior, without modifying it. The Liskov Substitution Principle Derived classes must be substitutable for their base classes. The Interface Segregation Principle Make fine grained interfaces that are.. Read More
Mongo tip of the day
If you use Mongo’s mapReduce, pay close attention to which action you output to another collection with, especially if you’re using multiple mapReduces to perform a join. The merge action doesn’t do what you might expect – it merges at the collection level by overwriting the results of the first mapReduce with any results from the second that have the same key. If you want to merge at a document level, which is kind.. Read More
What does SOLID really mean? Part 4
First, a quick recap: the SOLID principles of object oriented design are, to quote Uncle Bob: The Single Responsibility Principle A class should have one, and only one, reason to change. The Open Closed Principle You should be able to extend a classes behavior, without modifying it. The Liskov Substitution Principle Derived classes must be substitutable for their base classes. The Interface Segregation Principle Make fine grained interfaces that are.. Read More
Productivity tip of the day
I’ve been working through the Learning How to Learn course on Coursera, and one of the things the teachers recommend is using the Pomodoro Technique. When I first heard about it it sounded too simple to work, but you know, it’s actually really helpful. I personally have trouble getting started on tasks in part because I feel like it’s going to take all day to get it done and I.. Read More
What does SOLID really mean? Part 3
First, a quick recap: the SOLID principles of object oriented design are, to quote Uncle Bob: The Single Responsibility Principle A class should have one, and only one, reason to change. The Open Closed Principle You should be able to extend a classes behavior, without modifying it. The Liskov Substitution Principle Derived classes must be substitutable for their base classes. The Interface Segregation Principle Make fine grained interfaces that are.. Read More
Postman rocks!
Postman is one of my favourite Chrome extensions, it’s so helpful. If you work with REST APIs, you need postman or something like it. Yes, you could just use curl, but you could also not hate your life :) Postman lets you easily test your REST endpoints by letting you name and save your calls and add them to collections. You can save your authentication data too and you can.. Read More
What does SOLID really mean? Part 2
First, a quick recap: the SOLID principles of object oriented design are, to quote Uncle Bob: The Single Responsibility Principle A class should have one, and only one, reason to change. The Open Closed Principle You should be able to extend a classes behavior, without modifying it. The Liskov Substitution Principle Derived classes must be substitutable for their base classes. The Interface Segregation Principle Make fine grained interfaces that are.. Read More