00053.jpg
Andrew and Luke
Paul and Erin taking glamour shots
stop taking photos of me
hmmmmm
Sylvia in the backyard
Group shot 9
HPIM1027.JPG

 

March 2010
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031  

loaded vmware fail

VMware logoFor once this isn't a technical post - it has to be close to the only one in this blog! I just like to be proved right every now and then ...

I'll set up the situation for you - I was running ESXi3.0 on a dual CPU server with 4Gb of RAM and all of the other kit that you normally associate with server grade equipment. I wanted to run SQL server 2000 and a linux LTSP on the machine. I created a Linux server on a vm and built the LTSP but I found that once I had loaded more than about 12 clients onto the machine the system started performing like a dog. I found this suprising as I had a similar machine (albeit 2 years older) running an identical version of LTSP which could happily handle more than 20 connections.

I subsequently rebuilt the machine bare metal and am currently running a straight SQL server on it and I was pretty sure that the problem was related to loading up a vmware server, but in the back of my mind I had a doubt. Today I found an article which seems to confirm my suspicions and gives me greater confidence in my abilities. The article YippieMove switches from VMware to FreeBSD Jails details another person's fight.

It's good to be right (although it could still have been an incorrect config ....)

Popularity: 14% [?]

Everybody's a critic WTF?? Nothing about this made senseas useful as a blindfolded monkey throwing dartsmediocre ... at bestsolved my problem but needed modificationspectacular.  \'Nuff said (Be the first to rate this post)
Loading ... Loading ...

modifying multimedia keys

TUX logoThis is a quick post because it's taken me the better part of 3 days to work out how to remap multimedia keys under linux. The problem that I encountered (and very quickly) was that keys such as the mute or volume up/down keys would trigger the correct event in gnome (volume would mute or raise and lower) but all of the descriptions of how to remap keys using xev didn't seem to remap the keys. Following the directions on http://dev-loki.blogspot.com/2006/04/mapping-unsupported-keys-with-xmodmap.html resulted in the following:
Using xev, determine the keycode:

andrewb@yivo:~$ xev
# press 'a' key
KeyRelease event, serial 35, synthetic NO, window 0x3c00001,
    root 0x13c, subw 0x0, time 7645167, (723,347), root:(730,398),
    state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False
# press 'mute' button
KeymapNotify event, serial 35, synthetic NO, window 0x0,
    keys:  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 
          0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 
andrewb@yivo:~$


Continue reading modifying multimedia keys

Popularity: 18% [?]

Everybody's a critic WTF?? Nothing about this made senseas useful as a blindfolded monkey throwing dartsmediocre ... at bestsolved my problem but needed modificationspectacular.  \'Nuff said (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

searching for mail in Cyrus

TUX logoThis is a simple post on how to do some nifty little script-fu to search for emails and move them to a different folder in order for Cyrus to be able to show them.

The first thing to do is to search for the search term that you want. For this, I rely on grep and pipe the output to a file:

[root@mailserver user]# grep -r -i 'searchstring' bcc > searchstring.txt
...
# this can take hours depending on the size of the folder to search

This searches for the string 'searchstring' in the bcc folder and dumps the output into a file called searchstring.txt

Continue reading searching for mail in Cyrus

Popularity: 17% [?]

Everybody's a critic WTF?? Nothing about this made senseas useful as a blindfolded monkey throwing dartsmediocre ... at bestsolved my problem but needed modificationspectacular.  \'Nuff said (Be the first to rate this post)
Loading ... Loading ...

using RoR with apache Alias’

ruby on rails logo

ruby on rails logo

I've been fighting with Ruby on Rails for the past couple of months and I've finally decided that I need to devote more alone time with it. The first big hurdle that I've struck is that when I use Apache and RoR with Aliases, I tend to get the following error when I follow any tutorials/sample code:

Routing Error

No route matches "/tutorial/people" with {:method=>:get}


Continue reading using RoR with apache Alias’

Popularity: 19% [?]

Everybody's a critic WTF?? Nothing about this made senseas useful as a blindfolded monkey throwing dartsmediocre ... at bestsolved my problem but needed modificationspectacular.  \'Nuff said (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

converting vbr mp4 to mpg

TUX logoThis is a really quick post about how to convert vbr (variable bit rate) mp4 video files (such as those that come out of phone cameras/iphones) to mpg format. In order to do this, I have used three different pieces of software - mplayer, ffmpeg and avidemux.

Continue reading converting vbr mp4 to mpg

Popularity: 19% [?]

Everybody's a critic WTF?? Nothing about this made senseas useful as a blindfolded monkey throwing dartsmediocre ... at bestsolved my problem but needed modificationspectacular.  \'Nuff said (Be the first to rate this post)
Loading ... Loading ...