Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 33

2013

November

Made for humans by humans

Made for humans by humans

I was recently monitoring my server logs and I noticed multiple requests to a unusual path. /humans.txt. The request returned a 404 since it didn't exist but it got my attention. A few seconds of googling revealed a very interesting idea: a website can talk to bots with the robots.txt file and talk to humans with humans.txt.

Solving problems

Solving problems

In high school I always wondered how some kids memorized all the math formulas. Especially the long ones. I am not particularly good in math but since I am terrified with the idea of giving up I kept at it until I found ways to deal with it. I couldn't memorize the formulas but knowing the first few digits of a sine and cosine of special angles (30,45,60 and so on) proved to be very useful. I loved computers since I was a kid and I was labeled the computer guy in the family. Everyone came to me (and still do) to get help with the Microsoft Word issues, Excel, modem setup, unresponsive mouse, broken screen (not that I could do much with a broken CRT monitor), driver update, unplugged cable, and so on. I may be very disorganized but one thing I can say for sure is I almost aways find a solution to the problems presented to me.

Privacy issues aside, it's a damn good service

Privacy issues aside, it's a damn good service

Google, Facebook, and many, use your information to re-target ads. It is their way of making money. It was fine in the beginning because they came from humble backgrounds. It was the kid in his college dorm trying to build a cool new thing. We admired and cheered for them until they became the giants that basically govern the Internet today. Despite all the talks of how evil they are, we wouldn't be using their services if they weren't doing such a fine job.

October

Something about setting goals

Something about setting goals

After watching Jobs, the movie about Steve Jobs, I was left inspired. Despite all the negative criticism, there was still something to get out of it. Documentaries about civil right activists or people who made it against all odds also give me the same kind of feeling. So right after watching, I re-evaluate my own life and start setting goals. I want to make a difference, I want to be successful, I want to inspire the world. With all the excitement, I write down these resolutions. No doubt in mind, I will reach them all. The days go by, the excitement tones down, and I stumble upon this notebook where my life changing goals were jotted down. I realize that there is no way I can accomplish all this. I have simply created another to-do list that I will never get to.

What is the next big thing?

What is the next big thing?

It is very amusing to speculate what the next big thing is going to be. But history has shown that we are not particularly good at getting it right. The year 2000 has long passed and we have yet to see a flying cars; some actually find it to be quite a ridiculous statement. However, it is much easier to look back in the past and decide what was the next big thing.

Vim text editor: Getting started

Vim text editor: Getting started

Vim is my favorite text editor on the terminal. After playing for a little while with nano and emacs, I finally settled with vim for its simplicity (bare with me please). Although it can be customized and used like an entire IDE, I use it mostly for editing files on my servers and making small but crucial changes. Let's not get into Editor war and get started.

Getting started with your first Website

Getting started with your first Website

Making your own website shouldn't be too difficult. Hosting companies like Godaddy or Hostgator make it super easy for anyone to get started; they allow you to create a whole website without ever writing code. For most people, it is plenty to run a WordPress blog. If this is what you are looking for you should head to Godaddy.com right now. We are done here. But on the other hand, if you want to have control and not be limited by the short comings of a shared hosting without busting your wallet, you have come to the right place.

Creating a State Stack Engine for your game with JavaScript

Creating a State Stack Engine for your game with JavaScript

I recently got into designing very small games using Javascript. Working with canvas in the browser helped me appreciate how vast and complex games can be. I truly am a beginner at this point but there are few things that helped me get started. Spagetti code can only get you so far, but with a structured StateStack Engine, development is much more fun and easier.

The PC is not dead, we just don't need new ones

The PC is not dead, we just don't need new ones

When was the last time you needed to buy a new PC? Two years ago? Three years ago? The last PC I built was in 2009. I had to upgrade because I pushed the previous one I built to the limit and that was in 2004. A 2009 desktop is old in computer years, but not so much in processing power. It maybe true that there are a zillion new processors out in the market and their benchmark show exponential improvement. But to me benchmarking is just a marketing gimmick. PC sales are plunging but they are the wrong indicator to determine the advancement of the technology. The reason we are not buying PCs anymore is because those we have are already pretty amazing.

Tinkering with JavaScript and Canvas

Tinkering with JavaScript and Canvas

In my mind, the canvas in JavaScript represented an obscure dungeon that I would never dare to venture in. Many times I attempted but did no more than create a circle [see figure 1] on the page. But lately, I have been in a quest to fight my fears and Canvas was the first to tackle.

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