Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 32

2013

October

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.

Here is why I love PHP

Here is why I love PHP

Saying you love PHP these days is something most people simply keep to them self. You don't have to go on Google and type "Why php sucks" to figure it out. It's one of those things everyone agreed upon and you will be lucky to ride a full eleven story building in an elevator without hearing someone saying why he hates PHP. Well my experience so far beg to differ. I won't call myself an expert but when I am developing using php, the language is rarely the obstacle. Plus the learning curve is basically a straight line.

Human readable sitemap

Human readable sitemap

A site map is the list of pages accessible on a website. It is mostly made for crawlers to make it easier to find pages on your website. Sitemaps are written in XML and follow a set of standards that can be found here. It is pretty easy to build following these sets of rules. Adding a style to your sitemap can make it legible not just to bots but to your fellow humans.

180 days of blogging

180 days of blogging

Hopefully this will be my only post about blogging. The whole point of starting this blog was to improve my writing. Hoping that some strangers will find a place in their heart to tolerate my bad writing and look beyond the obvious mistakes and understand the message I am trying to pass. Not that many strangers for the moment but the few that come along did have an opinion. As hurtful as some can be I have come to build friendships out of others. 180 days went by so fast. I still couldn't pinpoint exactly how much I improved until I went to page one and started reading.

September

Employee or contractor, you are your own boss. Act like it

Employee or contractor, you are your own boss. Act like it

Being your own boss is a little overrated. At least in the sense that you have your own company and get to do whatever you want. If you have a successful business then you know that that's not how it works. You work longer hours, you make tough decisions, (like firing people), you have to deal with customers directly and do many more stressful things. But I am not writing this to tell you how to handle your small business. This is about being your own boss at while being an employee.

Now that you are experienced, help others

Now that you are experienced, help others

I get frustrated when I hear people saying how much SO (StackOverflow) sucks. The SO team works really hard to improve the way people close irrelevant questions, but in the process I can't help but notice how newcomers are treated. If their question is not "perfectly" written it takes only a couple of seconds for it to be closed and sent to oblivion. The other thing is when a beginner asks a question, instead of getting help, he will receive a torrent of ridiculing comments and that will refrain him from ever asking another question. We all had to start somewhere but when you are experienced enough you have to give others the chance to get there too.

Your code is bad, but good enough for production

Your code is bad, but good enough for production

Most of the code you will write will look stupid when you comeback some times later to review it. Just like when you write a nice article, you know when you re-read it the next day you will find lots of mistakes. But this shouldn't be a reason not to deploy your code to production.

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