dividebyze.ro
I've moved to Jekyll ÷0
http://dividebyze.ro/2014/01/18/migrating-to-jekyll.html
I've moved to Jekyll. Out with the evil Mr. Hyde. After 2 years on wordpress I can safely say that it’s a bit of a monster, and don’t like it. It’s slow, I’ve been hacked, it has the wrong features (decent user management, but no code highlighting by default), and customizing templates remains an absolute nightmare. Generates static files from markdown which I can serve using any old webserver (for now that would be github pages). Written by Matthew Hotchen on.
dividebyze.ro
Listening ÷0
http://dividebyze.ro/2016/10/05/listening.html
As DeMarco and Lister observed when researching for Peopleware, and Brooks observed when researching for The Mythical Man-Month, most of the difficulty in writing software is in the communication between all involved parties. And to be a good communicator you have to be a good listener. So ask questions. Even if you think you understand a point, ask to make sure. Try asking about different scenarios, different people. Try to put yourself in the other person’s shoes. Going back to the previous example...
dividebyze.ro
Two types of programming ÷0
http://dividebyze.ro/2016/10/27/two-types-of-programming.html
Two types of programming. You can split most things in the world in to two categories, for example people that like chocolate and people that have no reason to live. In software there are many such divisions but what I’m presenting in this essay isn’t in fact one of them. It is however a categorization of what I believe to be the two most popular and influential types of programming (and some of the gray matter in between). Written by Matthew Hotchen on.
dividebyze.ro
Handling sessions in PHP in a multi-server setup ÷0
http://dividebyze.ro/2013/11/03/handling-sessions-in-php-in-a-multi-server-setup.html
Handling sessions in PHP in a multi-server setup. There are 2 camps for solving this, each with their pros and cons: sticky sessions, and sharing the session data:. What this means, is once a user has made a request, you make note of the server that received that request and you keep sending that user’s requests to the same server. This can be done by storing the server’s name in the user’s cookie. There are a couple of ways to achieve this:. Then forward the request to the stored backend. Based on my re...
dividebyze.ro
An experiment in line numbers ÷0
http://dividebyze.ro/2016/08/01/an-experiment-in-line-numbers.html
An experiment in line numbers. In text editors/IDEs line numbers feel like an obvious and intuitive system that can’t really be improved upon. Starting from the number 1 each line in the file is given a new number which is a single increment from the previous line. This seems pretty flawless; you wouldn’t increment by two, or start in the middle. The first alternative I saw was in vim. It has a feature called relative line numbers. It becomes easier to see where the complexity lies (around 1.3.2-...It pr...
dividebyze.ro
Stop building REST APIs ÷0
http://dividebyze.ro/2016/08/09/stop-building-rest-apis.html
Stop building REST APIs. A popular meme in the construction of software is REST APIs. These aim to utilize the full power of HTTP in order to provide a better and easier to use API. In this article I’ll try to explain why this is usually a bad idea and suggest how you should be designing your APIs instead. The term REST is coined by Roy Fielding in his PhD dissertation Architectural Styles and the Design of Network-based Software Architectures. APIs have a very different style of interaction in compariso...
dividebyze.ro
Simple solutions ÷0
http://dividebyze.ro/2016/12/04/simple-solutions.html
Simple solutions are the best, aren’t they? When things just work, have a small amount of easy to test code, and are understandable. Isn’t that what we all want? I think a resounding yes would be muttered if asking that question of any software development team you’re in. Unfortunately systems are almost always far more complicated than is necessary so there appears to be a discrepancy between desire and practice. Let’s start with a question: what makes a simple solution simple? An additional challenge I...
dividebyze.ro
Dogma considered harmful ÷0
http://dividebyze.ro/2016/05/14/dogma-considered-harmful.html
In software development there is many methodologies and guidelines to follow that in theory (and often in practice) help you develop better software. Unfortunately I’ve encountered many developers with a very rigid mindset who will follow such methodologies and guidelines to the detriment of the software they’re building. By following a certain guideline or methodology dogmatically they may reduce the software quality, the test quality, or their/their team’s productivity. Written by Matthew Hotchen on.
dividebyze.ro
Fear driven development ÷0
http://dividebyze.ro/2012/07/06/fear-driven-development.html
This isn’t about yet another development cycle technique, it’s about motivation and specifically what motivates me. There are two main factors that decide how productive I am: availability of coffee, and fear. The former is obvious: coffee makes me more alert and improves my concentration. Whilst it creates these newfound superpowers for me, it doesn’t help me decide what to use them for. The latter motivating factor fear does. Written by Matthew Hotchen on.
dividebyze.ro
Faster file navigation in vim ÷0
http://dividebyze.ro/2016/07/13/faster-file-navigation-in-vim.html
Faster file navigation in vim. When using vim most newbies will struggle to work with multiple files in a directory, and experienced users will typically use a tree navigation plugin like NERDTree. In modern times I’ve all but stopped using directory trees since most modern editors include convenient shortcuts for searching for and opening files quickly. For example when using IntelliJ on Ubuntu you can type. Include nested directories in the path. Level01.cpp Level01.h. Most modern editors have somethin...