iDiallo

I write code for Humans & text for Robots

Ibrahim Diallo

Hi!
My Name is Ibrahim, I write code for Humans.

Most Recent Entries

A new framework won't solve the problem

A new framework won't solve the problem

One of the recurring tasks as a software developer is to fix bugs on tools that have been designed for an earlier time. You may get a project that was written in PHP 4, or a JavaScript tool that still tries to sniff for Netscape. It is easy to see how outdated the tools are and try to upgrade them. Most often than not, the task turns into a complete redesign rather than a bug fix and it ends up costing much more time than originally planned.

Apache or Nginx prints gibberish at the end of static file

Apache or Nginx prints gibberish at the end of static file

If you struggled for a while trying to figure out why apache or nginx crops the content of your CSS files or it adds a bunch of gibberish at the end of the files, fear no more. The problem can be solved by simply turning off sendfile?

Creating your own CDN with Nginx

Creating your own CDN with Nginx

If you've used WordPress, then you know that it has a nice little folder called upload where all the pictures and videos you upload get stored. This is all fine and dandy, until people start accessing those assets.

Your Idea is Stupid

Your Idea is Stupid

One of the simple yet impactful struggles I have is to shut down an idea. As a developer, and I often try to tell people what I do, many people often try to validate their ideas with me. Some are friends, some are family, some are clients, the moment they hear programmer they think apps, VR, games, and what not. And then they tell me their ideas with the eagerness to impress.

MySQL Dump Table from query condition

MySQL Dump Table from query condition

In order to test a project locally I needed access to the production website database. Unfortunately copying billions of records to my small development VM was not an option. I needed only the latest records but doing a sqldump would get me data from as far back as 2004. The cool thing however is that mysql allows you to add a condition on your mysqldump command to extract whatever you see fit. Let's break it down.

Out of the ordinary

Out of the ordinary

Imagine a world where things just work the way they are supposed to. The application never crashes, the deployment is always successful, every team member follow the rules, and the FedEx guy is always on time. This is what we expect from our day to day work and fortunately it never happens. What we call ordinary is out of the ordinary.

View all articles

Most Popular

The PC is not dead, we just don't need new ones

The PC is not dead, we just don't need new ones

When was the last time you needed to buy a new PC? Two years ago? Three years ago? The last PC I built was in 2009. I had to upgrade because I pushed the previous one I built to the limit and that was in 2004. A 2009 desktop is old in computer years, but not so much in processing power. It maybe true that there are a zillion new processors out in the market and their benchmark show exponential improvement. But to me benchmarking is just a marketing gimmick. PC sales are plunging but they are the wrong indicator to determine the advancement of the technology. The reason we are not buying PCs anymore is because those we have are already pretty amazing.

Creating your own CDN with Nginx

Creating your own CDN with Nginx

If you've used WordPress, then you know that it has a nice little folder called upload where all the pictures and videos you upload get stored. This is all fine and dandy, until people start accessing those assets.

List of laptops that support Ubuntu

List of laptops that support Ubuntu

Ubuntu is one of my favorite OS. It is very user friendly, perfect for surfing the web, for music, for movies and even gaming. At the same time you have all the power of Linux behind it so I can use it for working on my projects. Recently, I bought a new laptop and unfortunately I found myself returning it because it was a just a giant hardware dongle.


JavaScript Collection

Learn tips and tricks that will turn you into an Awesome® Javascript Dev.

JavaScript Tips and tricks

Tip of the day

Converting colors or numbers from Hex to Dec

Recently, I needed to create a function that fades from one color to the other. CSS3 makes the job very easy by making use of the transition property. However I…

Are you new to JavaScript?

JavaScript can be a little bit challenging at first. There are a few things that once mastered will make your journey smoother. These are the little things that I want to explain to you here. I make the frustrating things as friendly as possible so you don't have to stress over it.

Photography

Every little corner has a story. Sometimes a camera tells the story and a picture is worth a thousand words.

There are professional photographers and then there is me who happens to have a camera on my phone. Here's to what came out.