links for 2009-05-22

flattr this!

links for 2009-02-26

  • Monitor svn repositories and when there is an update it will tell you
    (tags: utulities)
  • Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware.

flattr this!

Komodo Edit on Ubuntu (Linux)

I use Komodo Edit all the time on Windows (XP and Vista) but up till now I have not used it in any Linux environment. I decided it was time to take the plunge and try things out. First I had to download the tar file from the activestate website (here), that was easy, the one thing that I was wary about was this:

AS package (libcpp6)

I had never heard of that, but as it turns out it is an [A]ctive [S]tate package. So, not a problem. When I got it there was an install .html. It had all of the instructions for all of the operating systems. As it turns out that was a bit overkill considering this was the Linux version not a Windows one or a mac one…

The only thing that I needed from the help file was the information that you had to install these packages (I use apt-get to do it, you might use something else):


scim scim-gtk2-immodule scim-qtimm scim-tables-additional

You might also need to install these ones if they are not already in your Linux of choice:

glibc libjpeg libstdc++

You will also need to have perl installed.

Finally once those packages are all installed you can run the install file

./install.sh

And then once that is done (you get to chose the path that it installs to (I left it as default because I am the only user of this machine), add komodo to your path by entering:

export PATH="/home/[username]/Komodo-Edit-4/bin:$PATH"

in the terminal (well, that is the quick way, you would probably have to type that in every time you wanted to use it… a better way is to add that line to the end of your ~/.bashrc file).

You could also create a symbolic link to it:

ln -s "/home/username/Komodo-Edit-4/bin/komodo" /usr/local/bin/komodo

Finally, you can just type in komodo to run it, or create a link in your menu (or on the desktop) to run it.

Once I get some money, I will probably be buying the full version (Komodo IDE) which has more features in it. Until then, I am more than happy with Komodo Edit 4.

If you have any problems installing it, please refer to the install file that they include as I have skipped some of the stuff that did not have any relevance to me.

flattr this!

Jerk Markers

Ok… so markers are assholes. They go through the assignments with the minimal effort that they can put into it. It is evident that they do this.

I got my Operating Systems assignment back and this was made very clear to me. There were comments on it such as “Needs more comments”, and then later “It should only be 2″. The combination of these two amused me because on the line where it said that “It should only be 2″ there was a comment explaining why it wasn’t 2… Nice.

On that question I lost 1 point for not putting comments in the code even though on every line it was quite obvoius what was going on, to make sure that it wasn’t just me who understood the code, I gave it to my friend (an arts major) and she could tell me exactly what was going on at any line that I pointed to. I am a firm believer in the fact that if the code is written properly there do not need to be a whole bunch of comments. If you name a function stringToInt… what else could be going on really? I managed to argue my mark up 1 point for that part as the marker realised that he was being an ass (I guess…).

The other problem I had was on the last question of the assignment. There was supposed to be a proof of some sort. The marker asked the professor how to mark this part, and the teacher gave him some guidelines to go by. This gave the marker free reign to just throw marks on the page without actually thinking about it. He then protested that he ‘couldn’t understand the proof’ when I said that my proof was right. It was pretty evident that the proof was lost on him and that he didn’t understand it, nor had he made any effort to do so. Way to go the extra mile there buddy.

flattr this!