### Hello Torque, again.

Well, I've just begun to dig into the Torque Game Engine again, but this time, I'm building it on a Linux box. Once I downloaded the Linux source, it took me a while to figure out how to get it compiled. TGE's configuration is a little different than the typical "./configure and make" process.First of all, I tried to make sure I had all of the development tools necessary to build TGE, including nasm, libogg, libvorbis ...

Published: 2007-04-23

### MacMathematics

One of my Favorite Mac Apps is Grapher. It lets you graph everything from simple 2D equations to complex 3D equations. For example, want to see all of the Axes of symmetry for a cube? Just enter the equations x=0, y=0, z=0, x=y, x=-y, x=z, x=-z, y=z, and y=-z, and voila! Pictures make math fun! You can also save these in .gcx files. Download my cube: CubeAxesOfSymmetry.gcx

Published: 2007-04-23

### MacMathematics

One of my Favorite Mac Apps is Grapher. It lets you graph everything from simple 2D equations to complex 3D equations. For example, want to see all of the Axes of symmetry for a cube? Just enter the equations x=0, y=0, z=0, x=y, x=-y, x=z, x=-z, y=z, and y=-z, and voila!Pictures make math fun! You can also save these in .gcx files. Download my cube: CubeAxesOfSymmetry.gcx

Published: 2007-03-09

### Casual Games

It seems like I keep running into this term, "casual games." Apparently this is a burgeoning industry with the advent of more advanced handheld devices (like cellphones). There were even two keynotes (Trip Hawkins ofDigital Chocolate, and Robert Tercek of PeopleJam and GDC Mobile) regarding causal games at the recent Game Developers Conference.Basically, any simple (hopefully addictive) game that's quick and easy to learn falls in the category of a casual game. Two of my favorite examples are ...

Published: 2007-03-05

### Mac mini disassembly

I've been a mac user since my wife bought me a Min in 2005. During that time I've enjoyed being a Mac user, but until now I've not performed a lobotomy on my little mac. I finally decided to upgrad to 1Gb of Ram, and thanks to NewEgg, this was fairly inexpensive. Also, thanks to Russel Beattie and smashsworld.com, I found it fairly easy to get into the mini.Though I only upgraded the RAM, I ...

Published: 2007-02-27

### Javascript: What is the standard?

I've recently been writing a little javascript, and I needed to chage the value of some text inside an html/xhtml element. It seems there are several ways to do this, but evey browser may or may not support the same method for doing it (big surprise, here) I'm not sure what is considered the "standard" way. Here's a little script that I use to help me decide which browsers support which methods for altering text within ...

Published: 2007-02-09

### magic SysRq

Occasionally I goof up. Yes, as much as I hate to admit it, it's true. However, thanks to this handy tutorial on liquidweather.net, I've learned about some nifty ways to kill things in linux.In addition to the traditional ways to kill a process, this tutorial lists some magic SysRq key combinations that--if enabled in your kernel--can provide a nice option to just pulling the plug...Alt+SysRq+K - Kills all processes (SIGKILL / kill -9)Alt+SysRq ...

Published: 2007-02-08

### wifit - an iwconfig tool

I've recently installed Mepis Linux on a couple of laptops (a Compaq Presario 2195US and a Dell Latitude D610, both of which use NdisWrapper for wifi drivers).I'm fairly mobile, so I needed a way to quickly change my wireless settings. I wrote this simple bash script to let me do that, and I thought I'd just share it.#!/bin/bash## wifit - the wifi tool## This is a script that accepts a wifi-enabled interface, ## essid, and an ...

Published: 2007-01-10

### Automatic Backups with cron, tar, and SSH

Everyone knows that backups are important, but how many of us regularly back up our own websites, blogs, or whatever? Well, I've put together a relatively simple way for my Mac to log into my Linux-based webserver, archive some content, and download it for me. All of this is done Automatically, too!The first thing I had to do, was set up my home machine (a Mac, but any Unix-based system should work, too) so that it could log ...

Published: 2007-01-05

### Migrating PHP scripts to MySQL from PostgreSQL

I've recently had to work on a project where I needed toconvert some very basic PHP code thataccessed a postgresqldatabase so that it would work with mysql. For the most part, this has beenfairly simple thanks to rpl. Many of PHP'sdatabase functions have very similar names, so I simply use rpl toconvert the existing code. Here's a simple bashscript that I put together to convert some of my postgresqlfunctions to mysql: #!/bin/bash if [ ! -n "$1" ] then ...