Category Archives: Computers

Computer hardware and software

Sometimes Text Files Are Better Than Databases

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , , , , , , , , , . No comments.
There are many classes of applications for which text files are the preferred means of storing data. One of the main reasons is that when data is stored in a relational database, editing it is not a trivial task. A well-normalized database is not easily updated via an SQL command line. More often than not, a dedicated, graphical editor is needed to model the complex relationships.

Adding A Grid To Your Websites

Written by Aijaz Ansari. Filed under Computers. Tagged , , , . No comments.
190 S. La Salle St. - Downtown Chicago
The #grid website has a great tool for web designers -it “inserts a layout grid in web pages, allows you to hold it in place, and toggle between displaying it in the foreground or background.”  Go to their website and have a look.  It’s pretty impressive.  Simple, but impressive.  I think I’m gonna give this [...]

The Most Dangerous Programming Errors

Written by Aijaz Ansari. Filed under Computers. Tagged , , . 1 Comment.
Streams at the Great Smoky Mountains
The Common Weakness Enumeration (CWE) has released their list of Top 25 Most Dangerous Programming Errors. This list and the explanations of the errors are very instructive and should help both novice and expert programmers.  If you’re a developer, I strongly urge you to read this document and make sure you understand the concepts it [...]

Navigating the Directory Stack in ‘bash’

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , . No comments.
If you’re like me, you spend a lot of time jumping from project to project in a Linux shell.  I find that I have to switch back and forth between directories.  The bash shell has commands to maintain a stack of directories.  I’ve written some functions that use these utilities to make directory navigation easier. [...]

Follow up: Google Admits Buzz Was Only Tested Internally

Written by Aijaz Ansari. Filed under Computers. Tagged , , . No comments.
In yesterday’s article about Google Buzz, I guessed that “the problem was that the population for whom the system was designed wasn’t necessarily the only population actually using the system.”  I gave Google the benefit of the doubt: I am certain Google tested their application thoroughly.  They’ve been known to do extensive usability tests for the [...]

Sometimes Testing Isn’t Enough

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , , , , , , , . 1 Comment.
In the first few days after the release of Google Buzz many people (including myself) criticized Google for exposing their users' private information. This was a couple of weeks after Apple got a lot flak for their unfortunately-named iPad, and the same week that we heard reports of a woman who broke up with her boyfriend after finding some suggestive text messages on his cell phone - messages that came pre-loaded on the phone. I think that all these cases were not caused by a lack testing, but by testing the wrong audience. Let's examine these three cases and see what we can learn from them:

Why Should I Use CPAN?

Written by Aijaz Ansari. Filed under Computers. Tagged , , , . 1 Comment.
Perl can be a little stubborn, sometimes.
Why should a program depend on so many external modules when it could implement what it needs itself?

Why Text Editors Matter

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , . No comments.
The emacs editor
A good editor is a very flexible tool. Once you become an expert at it, you can use it to accomplish tasks almost as quickly as you can think of them.

What To Do When Your Mac Is Temporarily Disabled

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , . No comments.
Last night, my Macbook Pro would not wake up from sleep. After jiggling the mouse and hitting the space bar a few times I powered it down. I powered it back up, and I could hear it booting up, and could feel the hard disk move, but there was nothing on the screen. After a little Googling I suspected the video driver was dead.