USING KICKSTART TO AUTOMATE CENTOS VM CREATION
I’ve done this using CentOS, but I’m pretty sure the same thing will work with RedHat the exact same way. Virtualization is now a commodity with several free tools available from Sun, VMWare and Xen. If you’re like me, you like to create a new, clean VM for each experiment. However, this comes with a drawback - the installation process, choosing your timezone, putting in the same...
VIRTUALBOX - SSH'ING INTO A VM FROM AN OUTSIDE MACHINE
Note: The terminology used below also applies to VMWare. The screens are different, but the issue and the solution are the same. When creating a new VM through VirtualBox, you might have a problem SSH’ing into the box. You also might notice you get a 10.0.x.xx type address, even though the rest of your network is a 192.168.xx.xxx deal. Yes, the two are related. Essentially what’s...
PYTABLES USER'S GUIDE
I finally found the manual for PyTables. In case anyone else is as blind as I am, I’m linking to it here.
INSTALLING NUMPY ON MACOS X SNOW LEOPARD
NumPy is a requirement to work with PyTables. This is the second step in the install process, after getting HDF5 set up. These instructions are based on the ones found on the NumPy site, but I’m summarizing things for my own use later on. First, you’ll need to install the Fortran compiler for OSX (gFortran). Fortunately there’s a Fortran universal binary installer. Next, get the...
ISSUES COMPILING HDF5 1.8.3 ON MACOS X SNOW LEOPARD
I’m trying to evaluate pytables as a replacement for very large Python dictionaries, but having some issues getting HDF5 installed on my Mac (OS X Snow Leopard). I’ve been getting this error: configure: error: C compiler cannot create executables I haven’t been able to figure out what’s wrong yet - anyone have any ideas? I’ve got XCode Tools installed, I’ve...
BAD WEB DEVELOPERS DON'T SCALE
Over the last 5 years, I’ve read so many articles about how X doesn’t scale. PHP, MySQL, SQL Server, Apache, you name it - everything gets a bad rap. Everyone has a different idea of scale and size, and sadly most people think their site with 1 million page views a month can’t handle the load because whatever technology they chose to use supposedly doesn’t scale. Guess what...
'QUITE NOTE: JUMP TO MATCHING BRACE IN ECLIPSE'
This is more of a note to myself, but I had a hard time figuring out how to jump to a matching brace in eclipse. on a mac: apple+shift+p on a pc, under linux: ctrl+shift+p I like how BBEdit handles this. If I double click on a brace, it selects everything between it and it’s match. Does anyone know if it’s possible to assign a hotkey to open a file in an external editor?
HELPFUL GUIDE FOR SETTING UP SSHFS ON MAC
I finally got fed up enough to look into this. I’ve previously used Samba mounts, but this in theory should be better. http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/ If you’re using Snow Leopard, the drive will not be able to mount. You can get around this by deleting...
MYSQL 5.1.34 AND INNODB
I don’t remember having to do this before, but I had compiled MySQL 5.1.34 recently on my dev box (os x) and I saw a warning on a create table statement. It turns out InnoDB was not enabled (or even listed in the list of storage engines. Before: mysql> show engines;...
NEW MAC DEV BOX SOFTWARE CHECKLIST
When I get a new Mac, I go through the same steps every time. Yes I use a Mac as a dev box. Software Xcode Adium Launchbar iTerm - change defaults to black background. (edit bookmarks, default, background) Apache HTTP Server (source) MySQL (source) PHP (source) Eclipse PDT Omnigraffle Fluid BBEdit SubEthaEdit Git SVN Memcached Tweaks Remove everything from Dock. Fix the look of the dock. defaults...