Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 1

2020

July

The brave cotton pickers of America

The brave cotton pickers of America

I grew up learning about America in a chapter or two in our school's history book. It said that Christopher Columbus sailed across the seas. Through shear luck, he discovered the new world. When he reached the land, he greeted the inhabitants as Indians. The book went on to describe him as a heroic navigator and trader. That's the image I had ingrained in my mind.

May

How to write well when you don't know how to

How to write well when you don't know how to

It's easy to decide if a writing is bad. The author uses big words, writes long complicated sentences, and forgets the point he is trying to make. Other common things in bad writing is lack of structure and lack of knowledge in the subject. In a nutshell, when you read it, you don't understand it.

April

Count the number of words with MySQL

Count the number of words with MySQL

I was looking for a way to count the number of words in a blog post using MySQL. Most solutions I found online required I create a function. I wanted something simpler instead, something as close to a native function as possible. And the answer that occurred to me was to use the Length() and Replace() function with a catch.

March

How I learned to charge my customers

How I learned to charge my customers

After I completed my first programming class, I went straight to Craigslist. I advertised my programming services. I called myself an experienced programmer who could code anything. I posted a link to a website, the one and only I had built for a friend. I described the challenges regular people face when building their own website, then I said a few bad things about WordPress. I ended the post with these words: "I charge a fair price."

Making the impossible possible

Making the impossible possible

One weekend morning, I got up at 7 am. I wore a white t-shirt and black shorts, I tightened my shoes and went down to gym in our apartment building. I had one machine in mind. The treadmill. This wasn't a very active year for me. The only exercise I was familiar with was walking to the bus stop to get to work, and walking to the bus stop to get to school. But that day, I was determined to do cardio.

The Spam we love to read

The Spam we love to read

I have the bad habit of reaching for my phone the very instant I wake up. I start straight with emails, where I get replies from coworkers or companies I work with. They respond to my emails from the evening before, ask for status reports, or schedule meetings. I read and respond from bed before starting my day. But last week, I realized something that has gone unnoticed for a while. I had no new emails from my coworkers, but my screen was full of unread messages. In fact, I had read all messages that mattered, yet there were more in my inbox. I pulled the left navigation and looked at my spam folder. It was empty.

Should I use a CSS reset?

Should I use a CSS reset?

A CSS reset is a tool that reconciles the differences in rendering between different browsers. In the old days, each browser was its own beast. They each came with their own default styles. Internet Explorer had different rules for your un-styled H1 tags vs Chrome or Firefox. Every browser set their defaults to what they thought was a good starting point. There were no predefined rules that they all followed. It was more of a culture than a standard. Fast forward to today, and each web browser had complete overhaul. Yet we see more consolidation.

February

With RSS, You are in Control

With RSS, You are in Control

When I wrote the code that would run this blog, there was no way I could have left out an RSS feed. Early on, before I wrote any valid HTML, I made sure that each post I write was first available through RSS. If I had stayed a year without posting, the day I do, you'd see a new update on your favorite RSS reader.

January

Cubicles are cool again

Cubicles are cool again

It was 2012 when everyone gathered around a cubicle, carefully trying not to step on each other's toes. “So sorry!” one would say. “It's fine.” another would answer. It was an important day in tech and stepping on someone's toes to get a look at the dual monitors was only a minor offense. But the monitors were not the main attraction. It was what they displayed. The manager opened two browser windows. One on each screen and scrolled one at a time to allow everyone to see it.

2019

December

I stood up to my boss, then he got promoted

I stood up to my boss, then he got promoted

There is a special feeling I get on a Sunday evening. Sunday is the weekend and I am home relaxing with my family after a well deserved break. But Sunday evening is the end of the weekend, the end of that pleasant break. I have to go back to work the next day. This is the time I like to sit by the kitchen table by myself, thinking about a better future. One where I don't have to obey the traditional rules of work. I don't want to put my life on pause on a weekly basis and dedicate the time to my employer for a modest fee.

JS Tip of the day

When to use Object.hasOwnProperty

In JavaScript, everything is an object. This is amazing because you never have to ask yourself if something is an object. The answer is always Yes. Let's look a…

Photography