Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 12

2016

November

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?

October

How to handle errors in your Application

How to handle errors in your Application

In software development, there is no such thing as an application that doesn't fail. Do you remember the Blue screen of death? When it happened, there was nothing you could do but restart your machine and hope it doesn't happen again. But how about the latest Windows OS? How come you don't see those errors as often as before? The answer is, Microsoft spent more time on error handling.

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.

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.

September

Skills Necessary for building a website

Skills Necessary for building a website

Have you ever wanted to build a website and were not sure what skills you needed to get started? Most people know that in the process, a computer has to be involved, therefore a good knowledge of computers would be important. This is not entirely true, it is akin to saying that in order to learn to drive you need roads therefor you need a good knowledge of roads... No you don't need to know how roads are built to drive a car, and you sure don't need to know how computers are built to build a website.

August

Vanilla

Vanilla

At Baskin Robbins, they boast about their plethora of choices. 52 different flavors of ice cream. If you only mix two you have the possibility of wetting your taste buds with 104 different combinations. Add a third scoop and the possibilities are endless. Your tongue will swim in a different flavor everyday, as much as you try you will not get to taste all the combinations. At least not before you would have gotten an early death from diabetes. But I am of the boring kind. For the rare times I go to Baskin Robbins, or any of those ice cream parlors, I settle for two scoops of vanilla.

Real Programmers.

Real Programmers.

When it comes to programming, there is no such thing as an expert. Well, there is one. Only one expert though, but that's beside the point. The field of programming evolves and changes, every day you have a new battle and you cope with the fact that you will not stick with the same routine for long. OK fine, his name is Jon Skeet and you can find him on Stackoverflow. So annoying...

From PHP to .Net MVC

From PHP to .Net MVC

I recently joined a project that runs entirely on .Net MVC. The only problem is that for the past 6 years, I spent the majority of my time programming on PHP projects. Obviously, there has been a lot of issue to go through the switch and I would like to list the main problems I had so anyone jumping in the same wagon could find some guidance.

July

Revisiting common sense

Revisiting common sense

Death Valley, like its name implies, is hottest and driest place in North America, nothing grows. Rain is a rare as a funny Adam Sandler movie. The earth is so dry you can see the cracks while driving from 10 miles away.

JS Tip of the day

How to get an element position on the page

This used to be a painful thing to find on the page. Well it wasn't but almost everyone suggested you use a hacky way to find the correct position of an element…

Photography