Pages

2009-04-13

Updated the pomodoro timer

I've finally upgraded the pomodoro timer. List of updates:
  • You can now open the applet in a pop-up window. See fourth tab on the top.
  • Buttons instead of small links. (Thanks Sten, Johan)
  • Fixed a bug that prevents new unplanned and urgent items beeing added after the last one has been moved up.)
If you are a pomodoro fan without a physical timer, -go ahead try it! You are encouraged to leave feedback on http://www.itlanddata.no/the-pomodoro-technique/feedback.html If you like it, you are also encouraged to give me a link back. (Thanks again, Johan.)

2009-03-27

Inverting the colors

is as easy as pressing Win + m (on my machine, Ubuntu 8.10, "Extra" desktop effects)

Makes programming a little easier on the eyes a late friday night.

2009-03-17

A four leaf clover!

(Picture is from last summer, found it today before work and thought I'd like to share it anyway. And yes, I feel lucky :)

2009-02-16

What does "cd -" mean?

I didn't know until I read the free ebook "Linux 101 Hacks.

(It lets you change between the two last directories.)

Oh, -the book is really free. At least I found the password at the web site without registering my email address.

2009-01-05

Making a screencast from Ubuntu 8.10

(Hopefully I'll get back to this post with more details later. Bug me if I've left out something important.) I've been planning to make a couple of Norwegian Linux screencasts for some time, and yesterday night i sat for several hours to try to figure out the best way to do it. After figuring out most details I guess there is enough stuff interesting details to make a new blog post.

First attempts: Istanbul and Byzanz

Istanbul looked very promising, but after a couple of failed attempts (flickering in output video) I gave up. Byzanz seemed so limited that I didn't care to even test it.

Next attempt: vnc2swf

Back in September (according to timestamps on the recorded files) I tried vnc2swf, and got impressed by the ease of use and the size of the recordings. So I decided to give it another try. The reason why I didn't just use it in the first place this time was because of a gut feeling that there was some tricky detail I had to figure out. I was correct. Getting started is easy enough (here is a recipe that helped me getting started: Creating training movies with VNC2SWF. It describes the whole process, including how to record just a piece of your desktop.) Problem was just that the resulting file sizes quickly reached above 2 MB for just a few seconds of recording the terminal. Trying to find a solution to this problem I sat until 2 am in the morning before I went to bed, adjusting settings, using the edit program that comes with pyvnc2swf and trying different versions of pyvnc2swf. I also switched off desktop effects and tried to record from KDE. A funny detail I noticed was that recordings from my terminal window seemed to be bigger than recordings of nautilus. Today I found the solution: I just switched off the transparent background in gnome-terminal, and the video sizes was back to acceptable values. Inspired by the success of turning of the transparent background in the terminal, I went back to istanbul to see if the recordings would flicker less when I'd turned off transparency on the terminal background. Disappointment: I didn't. Then I clicked a checkbox saying "record 3D", and suddenly the recordings where OK. Summary: I now have two working solutions for recording desktop screencasts. :)

More information

Here are some more details that might be interesting if you want to record screencasts under Ubuntu Intrepid:
  • Resizing a window so it fits into your screencast: http://stackoverflow.com/questions/288512/resizing-a-window-to-a-set-size-in-linux.
  • The pick feature in x11vnc mentioned at Creating training movies with VNC2SWF is nice, but for some reason it doesn't include window decorations. Luckily x11vnc allows you to specify exactly what piece of the screen you want to record with the clip argument, e.g: -clip 640x480+600+400 .
  • pyvnc2swf documentation mentions pymedia. There's no package for it under Ubuntu 8.10 (Intrepid Ibex), but here's a howto that describes the process (I didn't find g++-3.4 in the repositories, and I had to use libmp3lame-dev instead of liblame-dev. Then, when I tried to compile it, I got an error, but I just continued to install it using checkinstall, and it seemed to work fine anyway.) Oh, yes, here is the howto pymedia on Ubuntu Hardy Heron.
  • Edit 2009-01-05: I was searching for a place to download recordwin.sh, until I discovered that it was included in the tar.gz together with the rest of the stuff.

2008-12-25

firesymfony - using firebug with symfony

Found a Firefox add on for symfony development while I was downloading firebug today. Haven't tried it yet, but might give it a try next time I'm working on one a symfony project.

2008-12-22

Three guys "switching to Windows"

(This post is heavily updated and is now just a list of links.)

  1. Howto switch from Linux to Windows - a users experience
  2. Switching to Windows: Not as easy as you think
  3. Is MS Windows ready for the desktop?
  4. http://www.mailinglistarchive.com/ubuntu-users@lists.ubuntu.com/msg90388.html
  5. http://climbing-the-hill.blogspot.com/2009/06/why-windows-is-not-yet-ready-for.html (added 2009-06-13)
  6. http://basementcoders.com/?p=245 (added 2009-06-23)

You may like this articles or not, but, after having used Windows since 1995, I feel qualified to say that these post are not just funny, they are also informational and most of all they represent a refreshing change. :)

Also, if you know more articles like these, please add them below. Also add them to delicious with the keywords getthefacts windows whywindowsisnotready, vote them up digg or whatever you want and help spread the word :)

Do you have a good one? Leave a comment!