Monday, 20 July 2009

(17:44:15) dk: boot some livecd that has ext4 support
(17:44:20) dk: extract tarball from smgl cd
(17:44:24) dk: after formatting
(17:44:29) dk: cast the things you need 
(17:44:33) dk: get a bootlaoder installed
(17:44:35) dk: reboot
(17:44:36) dk: basically
(17:44:40) kit: i've got ubuntu up on another disk at the moment so can prepare the disk i'm gonna install smgl to
(17:44:40) opi: pray
(17:44:47) dk: I didn't need much praying
(17:44:50) dk: it worked for the most part
(17:45:03) dk: I forgot to install a kernel so I had to boot back into the livecd to do that
(17:45:06) dk: heh
(17:45:23) dk: and then, since I'm running 64-bit, I had to set up a chroot within a chroot to do a 32-bit build of grub
(17:46:27) kit: well, i'll give it a shot
(17:51:52) kit: why couldn't you do a 64 bit build of grub ?
(17:52:15) dk: because it doesn't
(17:52:26) ara: you need a multilib system
(17:52:37) ara: or a chroot
(17:53:01) kit: ah ok. thanks for the tip, lol
(17:53:29) ara: dunno if there's any multilib support in sourcemage
(17:53:45) dk: not reall
(17:53:47) dk: y
nano /var/lib/sorcery/codex/test/crypto/openssl/BUILD
add OPTS="" after ./config $OPTS

Thursday, 2 July 2009

Gmail removes lab feature for placing labels at the right of your email

As someone who has around 30 labels I find this very dissapointing.

Friday, 12 June 2009

Building Rhythmbox SVN on Ubuntu

sudo apt-get make-dep rhythmbox
git clone git://
cd rhythmbox
./ --prefix=$HOME/Desktop/rhythmbox --disable-scrollkeeper
make install

To uninstall:

cd rhythmbox
make uninstall

Monday, 8 June 2009

Intel 3945 Wireless on Ubuntu 9.04 (Jaunty Jackalope)

Doesn't work.

Using the latest firmware ucode doesn't help.
Installing backported restricted modules helped temporarily.
Latest Ubuntu kernel 2.6.13 doesn't help.
Latest linux 2.6.30-r8 kernel doesn't help.

It works!

I reinstalled from the CD but this time didn't select the box to automatically log in at boot. That is the only thing I think I did differently. Apart from sitting within a meter of the router, that is.

Friday, 22 May 2009


587202560 bytes ( 560 MB )
x 8 = 4697620480 bits

323077120 bits (128000 x 2524.04) audio

- 323077120 = 4374543360 bits video

/ 2524.04 = 1733151.360517266 bits per second video

total bits - (duration * audio bitrate) = duration * video bitrate

total bits / duration = audio bitrate + video bitrate
total bits / duration - audio bitrate = video bitrate

4697620480 / 2524.04 - 128000 = 1733151.360517266

8 bits per byte
(8*1024)/1000 = 8.192 kilobits per kilobyte
(8*1024*1024)/1000/1000 = 8.388608 megabits per megabyte
(8*1024*1024*1024)/1000/1000/1000 = 8.589934592 gigabits per gigabyte

560 megabytes x 8.388608 = 4697.62048 megabits

4697.62048 / 2524.04 - 0.128 = 1.733151361 megabits

ffmpeg -i VTS_01_VOBID_005_1.VOB -pass 1 -passlogfile ffmpeg_dv_tight.log -t 0:42:4.00 -vcodec libxvid -an -f rawvideo -y /dev/null

ffmpeg -i VTS_01_VOBID_005_1.VOB -pass 2 -passlogfile ffmpeg_dv_tight.log -t 0:42:4.00 -vcodec libxvid -vtag xvid -g 300 -mbd 2 -cmp 2 -subcmp 2 -flags +mv4+qpel+ildct+ilme -b 1.733151361m -acodec libmp3lame -ab 128k -y out.avi

overhead = 3044735.999999991
percent = 0.696082%
(100/0.696082)*3,044,735.999999991 = 437,410,534.96570677 bytes = 417.147192922 megabytes

:~$ mediainfo --Inform="General;%Duration/String3%" VIDEO.VOB

:~$ ffmpeg -i VIDEO.VOB 2>&1 | tr '\r' '\n' | grep Duration
Duration: 00:42:35.96, start: 0.287267, bitrate: 6066 kb/s

Thursday, 14 May 2009

TV picture shakes/jitters/wobbles when using Nvidia 9600GT

Seems to result from the driver defaulting to 50Hz. Hopefully fixed by making the following changes to xorg.conf:

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GT"
Option "FlatPanelProperties" "Scaling = Native"
Option "SecondMonitorVertRefresh" "60i"

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: 1920x1080_60i +1680+0"
SubSection "Display"
Depth 24


Green noise displayed on TV with Nvidia 9600GT

Only occurs when the computer is on but not sending a "strong enough" signal.
E.g. only occurs in black areas when something is being displayed or all over the screen when nothing is being displayed. Dissapears when the brightness is increased by computer software / nvidia proprietary driver configuration.