Category: Uncategorized

  • My experience with Dota 2 on Linux

    I love Linux. I love developing on it and the powerful command line that Linux has is really great. When I heard that Dota 2 had been released for Linux I was excited. I didn’t have to be on Windows just so I could play games. I installed 2 days ago and installed Steam and…

  • A second look at MariaDB

    After my last post on MariaDB, I installed it and played around with it. It really is a project that was forked from MySQL some time ago since MySQL is increasingly becoming closed source. There is another fork of MySQL called Drizzle, which claims that they have made the database faster by removing chunks from…

  • MariaDB – A better replacement for MySQL?

    A friend of mine mentioned that Suse and another Linux distribution were going to switch from MySQL to MariaDB. So I got curious and looked at it. According to their website, it is a drop-in replacement for MySQL. You can uninstall MySQL, install MariaDB and things will just work. No need to change any code.…

  • Light sensor for Arduino

    Okay, I know this is not rocket science. All you do is hook up a photocell to a resister and hook that up to Arduino. Viola! you have a light sensor. I wanted to create a modular light sensor I could attach / detach from projects so I took a container of Airborne and put…

  • Wirelessly controlling Arduino

    After I got my curtains open/close from my computer, I wanted to be able to do things wirelessly so I didn’t have to go to my computer every time I wanted to switch my fan on or open and close my curtains. If you don’t want to get the XBee wireless module for Arduino (which…

  • My adventures with Arduino

    About two month ago, someone I know told me about this micro-controller called Arduino that can be used to make some cool things. So, I started experimenting with it and I have to say it really is very cool. You can make robots with it, control your lights, open or close your curtains, etc. The…

  • Virtual hosts look up taking too long in OSX Lion

    If your mac (OSX Lion) is taking too long to get pages with your local web server and you have virtual hosts setup, then it’s probably because it is checking the DNS servers before it checks for it in your /etc/hosts. The way to resolve this is to have a ::1 entry in your hosts…

  • Some information on booking flights with Sabre

    A lot of people contacted me asking about how Sabre works, etc. So, I decided to post this here. The way it works is: You sign up with Sabre for a web services account and you they will give you an IPCC, username and passwrord that you use for communicating with their web services.You will…

  • Writing good Javascript code

    Here’s a link someone I know found on how to write good Javascript code. It talks about how to make your javascript run faster and with a small footprint. It also talks about how to avoid memory leaks. http://code.google.com/speed/articles/optimizing-javascript.html

  • PHP and MySQL

    Someone recently sent me a message asking me to explain how to use a database with PHP. So, here it is as an article so everyone can take advantage of it. The following 5 things will be enough for a lot of PHP programmers (and get you started). Connect to MySQL Select the database you…