Archive for the ‘Technical’ Category

Goldsmith

Thursday, July 15th, 2010

Adderall onlineXanax onlineCialis online

When hiring or being hired, if they fuck you during the application they will fuck you on the job.

Configure and build steps for php source on Ubuntu 10.04 Lucid Lynx

Friday, June 25th, 2010

I needed mysqlnd support

First:

sudo apt-get install apache2-prefork-dev

then download php source from php.net

unzip it somewhere and then:

'./configure' '--with-mysql=/usr' '--with-curl=/usr/local' '--with-gd' '--enable-cli' '--with-zlib' '--with-openssl' '--enable-bcmath' '--with-mcrypt=/usr/local' '--prefix=/usr/local/php' '--enable-mbstring' '--enable-soap' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2/

make

sudo make install

sudo apache2ctl restart


NB: Having to restart it twice has been observed??? Just sudo apache2ctl restart again if need be.

Goldsmith’s First Law of Software Contracting

Wednesday, October 28th, 2009

No work is better than bad work.

Ubuntu 8.10 Intrepid Ibex + Logitech Quickcam Web + working solution that actually works!

Tuesday, March 31st, 2009

Spent a few hours today trying every variation of fixes on the web.

This one actually works! Thanks to Jeff Rasmussen: http://jeffrasmussen.wordpress.com/2009/02/04/ubuntu-quickcam-express/

On his Step 11: In case you don’t know: remove the module thusly: sudo modprobe -r quickcam

Here is a copy of the code already patched and ready to go:

qc-usb-source-patched-for-ubuntu-8.10.tar.gz

With this code you should just have to:

remove your camera from the usb port
make quickcam.ko
sudo cp quickcam.ko /lib/modules/$(uname -r)/kernel/ubuntu/qc-usb/
modprobe -r quickcam
plug camera back into usb port
start cheese

logitech quickcam working with ubuntu 8.10 intrepid ibex

Best online pdf calendar generator

Monday, March 16th, 2009

http://incompetech.com/beta/cal-monthly/

PhD Thesis writing links

Monday, December 15th, 2008

Some more readable examples:

http://www.cs.ucl.ac.uk/staff/c.clack/phd.html

http://www.ccs.neu.edu/home/shivers/diss-advice.html

http://www.phys.unsw.edu.au/~jw/thesis.html

The irony is that so many pieces of advice on writing are so bloody unreadable.

Science, Art and Engineering

Monday, November 3rd, 2008

Science is the search for fact.

Art is the search for meaning.

Engineering is the application of both.

Discuss.

sdlmame, kxmame and a hotrod, xarcade or slickstik joystick keymap

Sunday, November 2nd, 2008

Can’t figure out how to use mame on linux with an arcade joystick?

The trick is that you need to set the directories to point to where the keymaps are. Otherwise you just get a blank dropdown. This is really frigging annoying as there’s little documentation and its less than obvious (to me anyway).

Here is the solution:

Settings->Directories->Mame/Mess additional paths.

Set the directory path to where the joystick config path(/etc/xmame/ctrlr/):

screenshot-directories-selection.png

Then when you go back to configure kxmame->Controllers there will be items in the controller dropdown.

screenshot-default-properties-kxmame.png

Once selected, you’ll find that your joystick starts to work properly in the next game you try.

Here are the keymap config files (that were in /etc/xmame/ctrlr/ in this example) if you don’t have them:

ctrlr.tar.gz

Intel Graphics, Ubuntu and 915resolution

Sunday, June 22nd, 2008

Getting 1440×900 going on some Intel onboard video chipsets and Ubuntu can be less than automatic.

Install 915resolution from synaptic then run one of the following:

sudo 915resolution 3a 1440 900 8 1904 934
sudo 915resolution 4b 1440 900 16 1904 934
sudo 915resolution 5a 1440 900 32 1904 934

This will change the each mode’s settings. Restart X (ctrl+alt+backspace) and see if you have a fix.

To make the change permanent, edit /etc/default/915resolution and plug in the values from the mode/colourdepth above that made things happy.This did it for me:

#
# 915resolution default
#
# find free modes by /usr/sbin/915resolution -l
# and set it to MODE or set to ‘MODE=auto’
#
# With ‘auto’ detection, the panel-size will be fetched from the VBE
# BIOS if possible and the highest-numbered mode in each bit-depth
# will be overwritten with the detected panel-size.
MODE=5a
#
# and set resolutions for the mode.
# e.g. use XRESO=1024 and YRESO=768
XRESO=1440
YRESO=900
#
# We can also set the pixel mode.
# e.g. use BIT=32
# Please note that this is optional,
# you can also leave this value blank.
BIT=32

A Fix for Flash Sound in Ubuntu 8.04 Hardy Heron

Sunday, May 11th, 2008

After an upgrade, sound in flash stopped on a few on my machines.

Easy fix:

In Synaptic, install libflashsupport and restart firefox.

That should be it.