Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 6

2017

January

What kind of computer do I need to start programming?

What kind of computer do I need to start programming?

Have you ever thought about getting into this programming thing? Heard a few things about code camp and now want to join the wagon? Obviously if you want to work with code, you need to have a computer. Not just any computer of course, but the best money can buy. Note that every programmer use their own suitable tools, so all I can help you with is share my own arsenal.

2016

December

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.

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...

JS Tip of the day

Loading jQuery asynchronously

The recommended way to load jQuery is with a script tag. You place it on the bottom of your page and make sure every script that depends on it are loaded after.…

Photography