Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 38

2014

April

CSS minifier in PHP

CSS minifier in PHP

A while ago, I was trying to find a way to reduce the number of HTTP requests made on my pages. To make development easier, each section of the CSS is in a different file; this way, I know exactly where everything is located when I want to make changes. However, making 10 to 15 request just to get the CSS is too much overhead. It could be much better if I could combine them all into one.

Programming languages

Programming languages

It's easy to be impressed by a programming language and start bashing others. Beginners look for those "hello word" tutorials and seasoned developers read blog post or documentations to learn more about them. The choice may start by looking for a language that offers to do the most with less code. Sometimes benchmarks are used to determine which is the fastest, but it is rarely what makes you take a decision. The winner is almost always the language that looks more like the ones you are familiar with.

You can't fire me, I quit

You can't fire me, I quit

Can't let them fire me. These are the words uttered every time an employee doesn't get along with an employer. I've seen it happen many times and the employee always thinks that he has the upper hand.

The remaining 4 percent

The remaining 4 percent

There is something about giving an ETA that I hate. As programmer I want to say I never ever gave an ETA that was remotely accurate. In my experience an ETA is the nice way for a manager to give you a dead line. Countless times I have pulled numbers out of thin air only for the manager to suggest a different number (Well if you had a date in mind why do you waste my time). To me ETA is acronym to Estimated Time of Arrival. If we are talking, I have already arrived, don't ask me about it.

One year and writing is still freaking hard

One year and writing is still freaking hard

This post is here for the sole purpose that writing is hard. It takes a while to write. Writing in haste produce long incoherent sentences that, if luck strikes, may produce a beautiful piece that communicates an idea.

March

High Standards, crappy code

High Standards, crappy code

If you talk to any programmer they will tell you how a particular tool, programming language, OS, sucks and that X is the best. if you talk to any programmer they will tell you how the code they currently work on sucks, if they had written it in Node.js it would have been much better.

Read the contract

Read the contract

The process to get a job today is straight forward. You start by browsing job boards and look for the perfect fit. You find a nice company that is looking for those exact skills you have and some trivial ones no one has (5 years experience with chipmunk.js). You write a cover letter catered to this specific company, you attach your resume and send it. Hopefully your application ends up in the hand of someone in human resources and you get a call.

What's your excuse

What's your excuse

I want to do so many things yet everyday I come up with a perfect excuse to sit on my behind. When I think about those excuses after the fact, they are ridiculous and I am filled with regret. There is plenty of time in a day to do all my little tasks. So today I want to permanently write them down so I can indefinitely label them as non sense.

Explain it to me like I am 4

Explain it to me like I am 4

If there is one thing I learned from obsessing over Stack Overflow, it's how to find solutions. Soon I will have answered over 900 questions and this number will keep going up. This is not to say it is a lot, many users have much more quality answers. But If you have done anything over a 1000 times then you had the chance to screw up a lot. Screwing up is synonym to getting experience here.

Web War 3.0 - Screen sizes

Web War 3.0 - Screen sizes

When I started working as a web developer, there was no longer a need to use the hacks from the 90s to make your website work. The marquee and blink tags where already dead. I could still see some old blogs referencing document.layers but they were on their way out. But still when I started, I had to worry very much about writing cross browser code.

JS Tip of the day

Organizing your JavaScript

Relative to other languages, learning JavaScript is a much easier process. It's easy to use it to add a functionality to your website. For example making a pop …

Photography