I’ve recently started using CakePHP, I don’t really understand it too well, but the first thing I noticed was that any static pages you have normally would go under www.site.com/pages. I thought ’this sucks’, so I’ve made a very simple work-around, which isn’t great, but it seems to work.
The idea is that someone will go to www.site.com/something and then cake will look for the something controller, if it can’t find it, it will normally throw up an error.
john-hunt.com has been down for the last 24 hours or so due to me messing around with it’s kernel when I shouldn’t have. Fortunately, I keep backups of everything so we’re back online!
I’ll be moving john-hunt.com to a server which I don’t tinker with soon, so it should never happen again with any luck!
Amazingly, the skype people have finally released a version of skype for linux that actually works. I thought I’d never see the day, but here it is. Yes, it’s still a beta, but a massive improvement on earlier versions which wern’t even worth bothering with!
Download Skype 1.3 Beta for Linux.
Finally, something we can use. Also, bear in mind skype is evil and shouldn’t be used regardless. Use a proper SIP phone and VOIP network.
Apologies for the gallery downtime over the weekend, I’ve been moving around web servers… it shouldn’t be too long now until there’s a proper web address for it, like gallery.john-hunt.com, rather than this: http://83.149.126.39:81/gallery/. You can always use the gallery link on this page (to the right) to access the gallery.
[edit]
You can just use http://gallery.john-hunt.com, it’ll always direct you to the right place.
[edit]
Gallery is offline completely for the foreseeable future.
After reading a few guides, and a lot of trial and error, I’ve found this script I wrote works pefect every time, just supply you xvid file with the script and it’ll create the vobs.
You need tcmplex, transcode, and dvdauthor.
#!/bin/bash FILE=$1 NEWFILE=`basename $FILE avi`vob rm out.* transcode -i $FILE \ -y ffmpeg \ --export_prof dvd-pal \ --export_asr 3 \ -o out \ -D0 \ -m out.ac3 \ -J modfps=clonetype=3 \ --export_fps 25 tcmplex -o $NEWFILE -i out.
If you’ve just updated your MySQL installation and have found this happening: 060511 22:38:11 [Warning] ‘./mysql/host’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed 060511 22:38:11 [Warning] ‘./mysql/user’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed 060511 22:38:11 [Warning] ‘./mysql/db’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed 060511 22:38:11 [ERROR] Fatal error: mysql.
If like me, you performed a yum update this morning and your gnome-terminal has stopped working and instead is doing a lot of this: (gnome-terminal:2274): Gdk-CRITICAL **: gdk_screen_get_number: assertion `GDK_IS_SCREEN (screen)’ failed gnome-terminal: symbol lookup error: gnome-terminal: undefined symbol: vte_terminal_set_opacity
This is probably because you were trying out aiglx and you’ve removed the aiglx repo.
Try this: rpm -e gnome-terminal vte –nodeps ; yum install gnome-terminal
The tricky part was figuring out why it’d happened.
XGL, an X server from Novell has been creating quite a stir this year. I thought I’d give it a try, so after faffing around for a while trying to get it working in Fedora, I had a go with Ubuntu Breezy… unfortunatelly it didn’t run well enough on my laptop (i810 gfx) for it to be any good so I went back to my lovely FC5 install.
I’ve recently tried AIGLX which is an extension to the xorg X server, which also didn’t run great.
About a week ago, I went to the Hampshire Linux User Group (LUG) meetup at the University. Quite an interesting experience. If you’re interested about linux, even if you don’t know what it is, you could go to one of these meetings and find out!
Having said that, my friends recently confirmed my nerd status. Oh well!