Why you should take a serious look at Docker

shippingyard

When it comes to our development environment we all have our own tools, that we prefer. But at some point we might be in a search for something new and try to keep up with the latest trends in the industry. When you work…

Docker for Mac and Windows goes into public beta

docker-logo

Yesterday Docker announced the start of the public beta for the OS X / Windows version of it “software containerization platform”, after the start of the closed beta in March. This has been such a long-awaited release. So many web developers are doing their work…

Accessing private or protected attributes and methods in PHP

You might need at some point to access the pivate or protected method of a PHP class. Of course, this is in general a bad sign because methods are not available in the public interface of the class for a reason: their implementation can…

Microservices vs Monolithic architectures

Microservices / Monolith

The scope of this article is not to decide which architecture style is better but only to synthesise the pros and the cons of each of them. I worked in the past on a microservices oriented architecture and now we need to decide on which…

Installing MariaDB with Chef – no version available

If you are provisioning some fresh server with Chef and you are trying to use the MariaDB cookbook from https://github.com/sinfomicien/mariadb, most likely you won’t have the repository added to your package manager (yum / apt). This will cause Chef to exit with this error:

For…

Capistrano 2.x – Rails multi-staging deployment

If it happens that you need to deploy an application to difference servers, different locations, different deployment users you won’t have a great time! You can use of course the multistage extension and make your cap 2 look more like cap 3 but you can…

Rails 4, AngularJS and Uglifier

If you are using Rails 4, most likely you are using Uglifier (UglifyJS) for JS compression for the assets pipeline. Uglifier is awesome, but it happens to break the JS sometimes when using variable mangling. If you mix it with some CoffeeScript > AngularJS code…

Slow Mac? Reset PRAM and SMC

pram-reset-graphic

So have you ever wondered why your MacBook Pro, MacBook Air, Mac Pro, etc. is running so slow lately even though nothing is running and you just rebooted it? You don’t have to go to 16GB of ram, increase your hdd capacity to…

iOS 7 white UITableViewCell background

One of the first things you’ll hit when you will switch to iOS 7 is the white background on your tables. Before iOS 7, the cell where inheriting the background color from the table (UITableView); now, they just have a white background by…

“The Python Paradox”

py

I usually write a ton of scripts (in PHP) for data-mining or various stats – that take a long time to execute – trying to paginate the data and run multiple instances of the script on pages. It’s not that funny, and takes…