Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 22

2015

July

When you reach the edge, the trick is to use your experience

When you reach the edge, the trick is to use your experience

PHP is the webs most popular language on the web. Some insist that is it not a programming language at all but a scripting language. It doesn't matter to me as long as I can do the work I want. I learned PHP like everyone else, by reading a tutorial from an author that was just one function ahead of me. It didn't matter that we were all clueless, the important thing is that some people where teaching and others were learning.

Arbitrary Code

Arbitrary Code

In the web development world, the most dangerous security vulnerability is allowing users to run arbitrary code on your server. Failing to protect your server will result in them doing whatever they want. I certainly remember when one of the website I was working on was getting hacked daily. When I finally discovered the vulnerability 3 years later, I realized that in addition to stealing our traffic the culprit used our network of machines as zombies to DDOS and brute-force password on WordPress websites.

Code is not code

Code is not code

Code is something you can see and read but can't understand. The whole point is to hide its real meaning in plain sight. It is coded. Code, that we use in programming is not hidden. You can read it, you can understand it, you can extend it. What we refer to as code is just a language.

How files are represented in binary

How files are represented in binary

I previously wrote about how files are represented in your computer and what happened when you delete them. Files are the basis of everything we do on a computer. This article is saved as a 2015.07.14.files.txt file on my computer. The .txt extension lets my computer know that this file is to be read by a text editor. If I wrote this on Microsoft Word the extension would be .docx letting the computer know the right program to read it.

How to sort an array with 3 million objects in JavaScript

How to sort an array with 3 million objects in JavaScript

This certainly is a challenge and there are many ways to approach it. The easiest of them all is to find a computer with as much RAM as possible and the fastest CPU. Throwing money at a problem certainly will help you solve many problems. But not all of us have this luxury.

Big O is for the interview only

Big O is for the interview only

I didn't know what Big O meant. At least not before I had worked many jobs and on many projects as a developer. I remember reading about it in school but I didn't see any use for it in a real world. If you are like me and never encountered it yet worked in the field, we are the lucky ones. It's hard to get passed any interviewer without having to encounter a question about it.

Inspcratination

Inspcratination

We all agree that procrastination is not a good thing. We may have good intentions before we start on a project, but there are little things that just happen, or we make happen that stops us from working. This on its own is a problem, and sometimes you need some motivation to keep going. But an even more subtle problem occurs when you try to find motivation. You want to be inspired before you start working.

June

A very disappointing number

A very disappointing number

The thing the makes TV the most prestigious advertising medium is the fact that the numbers are missing. Viewership is almost myth. You may very well say that a show has millions of viewers simply for hype sake. No one can deny those numbers and no one can confirm them either.

Computer, clear my schedule

Computer, clear my schedule

There was a time when input was a major challenge. Truly a problem. Imagine if every time you had a witty comment you'd have to grab a set of punch cards and carefully puncture your 140 characters long witty remark.

Endeavor

Endeavor

The world is filled with wanderers endeavorers. "We tried" they said. "I tried so hard", I always say. But there are those things we do, and we don't dare use the word trying. "We did it", we say.

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