Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 36

2013

December

Let's talk a about that expensive degree you can't use

Let's talk a about that expensive degree you can't use

I dropped out of college but I still believe pursuing your education is important.The tradition of going to school, getting a degree then a job is slowly fading away. Because students are having a hard time finding jobs, they go back to school and further their education only to find that they still can't find jobs. If you are trying to be a doctor the career path is very clear. Even though it is very very expensive, a job in medicine may allow you to pay back your student loan. However, in this day and age, if you paid for your Philosophy or Music degree with a student loan, you might find a few problems ahead.

How you can be tricked to allow spam in your inbox

How you can be tricked to allow spam in your inbox

There are over 145 Billion emails sent everyday and among those 100 Billion are just SPAM. Spam is a solved problem. You rarely have to worry about important emails being marked as spam. On these rare occasions when you expect to receive an email and it doesn't seem to be showing up, you make the trip to the dreaded spam folder. This is what I did this morning. After sorting through the viagra, cialis, and Nigerian princes emails, I stumbled upon an interesting email.

Language is culture not just syntax

Language is culture not just syntax

I am lucky to have been exposed to many languages as a child. I lived in a city where almost everybody was from a different country. On the average day I would hear at least 4 languages being spoken. French and Fulani at home, English on TV, Arabic on the street and various other languages ranging from Bengali to Swahili from my peers. If you are at least bi-lingual then you know how jokes lose all their substance when translated. A language is more than just being grammatically correct. Words that make up a language not only come with connotation but there is a culture associated with it. With all the baggage it carries, the language makes you think in a certain way. Programming languages do not escape this rule. Each programming lingo comes with it's own set of rules, syntax, and culture.

It takes guts to be the first follower

It takes guts to be the first follower

A leader is the nut that starts a radical movement and won't shut up about it. He is ridiculed but it takes a lot more to stop him. Since ideas are cheap, if he finds no support, he will simply come up with another one. When everyone says you are a fool, true or not, you are a fool. All it takes is one person to join you in your craziness and the world will reconsider.

SQL injection and how to protect your website

SQL injection and how to protect your website

Experienced developers are expensive. In a world where cutting cost seems like the best option, companies try to maximize their profit by spending less and less on good talent. It is much cheaper to hire someone who just learned php a few weeks ago then a seasoned developer. But it becomes a very bad investment when the newbie introduces insecure code. The problem is, a lot of things learned from those LAMP CRUD application tutorial do not focus much on security. When this code is introduced to a commercial application, the damage can be very expensive. I like how stackoverflow users are fighting very hard to eradicate SQL injection, I am doing my part too but it seems like it is much easier to find insecure code on-line. That said, I will attempt to scare you off your feet so you know better what is the cost of SQL injection.

Detecting Internet Explorer version with JavaScript

Detecting Internet Explorer version with JavaScript

Parsing the browser User Agent is very unreliable. Not only users can easily manipulate it but the string can be very inconsistent. There were times where I needed to write specific code for Internet Explorer but I don't like writing in line JavaScript or loading a separate script just for that. I wish browser makers could agree on making unique GUID that can easily be looked up on a table to determine the browser. So Instead, I make use of IE conditional comments to set values that will only be present in Internet Explorer.

Jquery does that in one line

Jquery does that in one line

jQuery is the holy grail for JavaScript developers. It made everything so much easier. You never have to worry about browser quirks when writing your application. Before, you would have to write few hundreds of lines of code to do a very simple task; but with jQuery a single line of code can end all your nightmares. Still, I had a very hard time adopting (accepting) jQuery. Not because I thought it was bad, but because I believed I could do it myself.

November

Poor man's way of handling 1.3 million web request

Poor man's way of handling 1.3 million web request

I write on this blog mostly to share what I learn in my career and also to improve my writing. I had very low expectation when I posted a link to a recent article I wrote on reddit. I never expected to shoot to number one in a matter of minutes in the technology subreddit. Looking at my Google analytic dashboard , The maximum I attained was over 1700 people at a time reading my blog and that was plenty to overwhelm my server.

Getting started with your first website: Part 2 - WordPress

Getting started with your first website: Part 2 - WordPress

This tutorial is a follow up the previous post Getting started with your first website. On the previous tutorial we have selected a hosting company and a operating system to run our server. We used Apache as a web server, MySQL as a database, and PHP as a programing language. The next step will be to setup an application that make use of all these technologies and create something useful. Our application will be a WordPress Blog.

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.

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