Friday 22 May 2009

I have been using Matlab at work for some time now.

However only know I am starting to do GUIs (aka, Graphical User Interfaces). You can start using a kane, i.e., use guide from Matlab to assist you designing your GUI. But there will come a time when you'll need more.

In this blog I have found a good way to start a GUI from square one and this gentlemen provides a good example.


Have fun guiing :p

Saturday 16 May 2009

More on Ubuntu 9.04 - If you have an ATI card

.... then you are in troubles :(

This post from Ubuntu Forums was referenced to me and summons up the problems that surround ATI drivers and the new and likeable Jaunty release from Ubuntu.

Friday 15 May 2009

Fitting Toolbox for Matlab

Matlab has a fitting toolbox of its own, but it is payed.



Here you can find a very simple, practical and FUNCTIONAL replacement :)

Wednesday 13 May 2009

Enemy Territory - To Do's for Ubuntu



My favourite site to download ET stuff :) It has the executables, the patches and some hints and tips :)


Plus you should download etpatch 2.60b and follow the instructions :)

In Ubuntu there are a couple of things that you might have to do.

  • If you don't have sound when launching the game, do:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
  • If PB kicks you "by game violation integrity" then go to $INSTALATION_PATH_FOR_ET/pb/ and run pbweb.x86. Then go to your $HOME and do rm -fr .etwolf/pb (to clean previous pb files). Recreate it (mkdir .etwolf/pb) and copy your files from $INSTALATION_PATH_FOR_ET/pb/ to that directory. Then run pbweb.x86 again there.
  • Some ATI cards have some issues with Quake games. If you get flashes when running ET, then you have to disable compiz before running the game. Do metacity --replace & before running ET and after it, do compiz --replace &. I don't know how NVIDIA cards behave regarding to this.
You can always patch these things together in a small script, like:

#!bin/bash
# Bugz in ET:

# solve flashes
metacity --replace &

# solve sounds
sudo echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

# run et
et

# recover graphics
compiz --replace &

Subway Maps From The World

Have been looking for this site for a while now... :)

After Installing Ubuntu

Recently a new version of Ubuntu has been released here.

Usually there are some things you should do after a fresh instalation of Ubuntu. Here I have found an extensive list of things to do and from them I've compiled my own list. Here goes:

1. Tools for compiling from sources
sudo aptitude install build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check avahi-daemon

2. Java
sudo aptitude install sun-java6-fonts sun-java6-jre sun-java6-plugin equivs ttf-sazanami-gothic ttf-sazanami-mincho

3. Control Pannels to manage Compiz
sudo aptitude install ubuntu-tweak

sudo aptitude install simple-ccsm


4. Codecs and related programs
sudo aptitude install vlc mplayer

sudo aptitude install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg toolame libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert mozilla-helix-player helix-player libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox toolame ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev

sudo aptitude install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly-multiverse totem-gstreamer

sudo aptitude install gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras

sudo aptitude install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh

sudo aptitude install gsfonts gsfonts-x11 flashplugin-nonfree


5. Wine. Seriouslly, there are a couple of apps that are worth it.
sudo aptitude install wine

6. (De)Compressing
sudo aptitude install unace rar unrar zip unzip p7zip-full p7zip-rar sharutils aish uudeview mpack lha arj cabextract file-roller

7. Music player. If you don't like VLC to manage your music library, I found that Amarok is the best program to use. I've also tried Exaile and Rythmbox, but Amarok presented the best case :)
sudo aptitude install amarok amarok-engine-xine amarok-engine-yauap amarok-engines amarok-common

8. Partition tools
sudo aptitude install gparted ntfsprogs

9. Some plugings for your text editor
sudo aptitude install gedit gedit-plugins

10. Filezilla..
sudo aptitude install filezilla filezilla-common

11. Gnome Do. Been using it for over a year now, but with the Jaunty I discovered the Docky-Gnome-Do. Goodbye cairo-dock and AWN and hello docky :)
sudo aptitude install gnome-do

I add to the list the following apps:

12. Geany. A very powerfull program. I recommend it for coding.
sudo aptitude install geany

13. Skype
you can either add the repositoires to
/etc/apt/sources.list
or get it from here

14. Picasa
The perfect program for newbies to keep our photo galeries updated and do some corrections on our shots.
Get Picasa from here



So far, that's it.