categories: projects
tags: C++ / iPod / Apple / Matlab

getphotos is a small C++ program that attempts to read and extract photos from an iPod Photo database. It was used on an 120GB iPod Video to extract the 720×480 YUV 4:2:0 sources, and an included matlab script by Åsmund Kjørstad interpolates the U and V layers and outputs BMP’s.

There is an attempt at implementing the converting in C++ , but it’s still lacking a functional YCbCr conversion. Y, U and V layers are extracted properly though.

You specify the path to the Photos folder of your iPod – so copy it somewhere and use that as the input.

The database reading is mostly based on iPodLinux wiki (ITunesDB/Photo_Database).

README
Source

You need Scons to build (or just do g++ getphotos.cpp), and Matlab to use the convert script.

GameOfLife / 04 May 2010
categories: projects
tags: C# / mono / .NET / gdi+

Ein implementasjon av Conway’s Game of Life i C# og gdi+. Fungerar på Linux og Windows.

Dokumentasjon: http://eple.thruhere.net/~gaute/git/gameoflife.git/plain/doc/overview.htm
Programfil: http://eple.thruhere.net/~gaute/gameoflife/GameOfLife.exe
Kilde: git clone http://eple.thruhere.net/~gaute/git/gameoflife.git/
Snapshot: master [tar.bz2]

Skrive av: Trond K. Homestad, Roger Rikstad, Øyvind Hovden og Gaute Hope

Creative Commons License
Game Of Life er lisensiert under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

categories: www
tags: ruby / wordpress / jekyll

I have changed to Jekyll for my homepage. The posts from the old Wordpress blog have been migrated, and the comments to and should show up along with their posts.

The new feed is located at: http://gaute.vetsj.com/atom.xml

Old permalinks from Wordpress don’t work, but that should be possible to fix with mod_rewrite.

- gaute

Gnome schedule 2.1.1 has been released.

Get it from https://sourceforge.net/projects/gnome-schedule/files/.

  • gaute
Photos: Australia / 07 Jul 2009

I finally uploaded some of my photos from Australia 2008, you'll need to be a flickr-friend to see many of them.

inotify: Change of Plan / 07 Jul 2009

A simple C++ program that detects change of ~/.plan:

(and it contains a convenient debugging function that gets the name of the inotify event as a char *)

Graf2 / 24 Jun 2009
categories: projects
tags: c++ / sdl

Graf2 plots coordinates and draws a line between them. It's written in C++ and SDL.

Graf2

Readme and usage: http://github.com/gauteh/graf2#readme
git: http://github.com/gauteh/graf2
Licence: Creative Commons ShareAlike licence v 3.0

Gnome-schedule 2.1.0 / 17 May 2009
  • Gnome-schedule 2.1.0 -

Gnome-schedule is a graphical user interface that leverages the power of crontab (vixie-cron, dcron) and at to manage your crontab file and provide an easy way to schedule tasks on your computer. It supports recurrent (periodical) tasks and tasks that happen only once in the future. It is written in Python using pygtk, and has been developed, tested and packaged for various Linux distributions.

New in this release: Apart from fixing a number of annoying bugs (including where you couldn't enter times above 13:49), and long awaited X support. You should now be able to set up your X applications to be run by cron and at, and as long as you are logged in they will be run. This does depend on you having you X server running on the same DISPLAY. Please note that this feature is still experimental.

Previous release notes are available here: http://sourceforge.net/project/shownotes.php?release_id=572635

Download: https://sourceforge.net/project/downloading.php?group_id=112183&filename=gnome-schedule-2.1.0.tar.gz

Bugs: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

For more information and screenshots see our homepage: http://gnome-schedule.sourceforge.net

github: cruxports / 24 Apr 2009

I've published my crux ports at github:

git: git://github.com/gauteh/cruxports.git web: http://github.com/gauteh/cruxports/tree/master

It mostly contains fixed and/or updated ports from various official and larger repos:

  • rxvt-unicode - with 256 colors and packaged for nn_NO locales
  • git
  • libiconv
  • ntfs-3g
  • p5-xml-simple
  • awesome

By using the experimental git driver for ports you can sync with this config:

/etc/ports/gaute.git: # Collection by Gaute Hope <eg@gaute.vetsj.com> URL=git://github.com/gauteh/cruxports.git BRANCH=master DESTINATION=/usr/ports/gaute

put the driver in the file /etc/ports/driver/git, you might have to change the git commands to use spaces and not '-'. I.e.: git-clone -> git clone.

gexheres.git has been renamed to gauteh.git:

Clone url: git://github.org/gauteh/gauteh.git Tree: http://github.com/gauteh/gauteh/tree/master
New exhereseses / 21 Mar 2009

New exhereses in git://github.com/gauteh/gexheres.git:

  • x11-utils/unclutter
  • media-sound/cmus
  • media-sound/mpeg4ip
  • media-libs/libmpcdec
  • media-libs/libart
  • media-libs/libmodplug
  • text-libs/libiconv
  • sys-fs/ntfsprogs
  • x11-apps/wbar
  • x11-apps/wbarconf
  • x11-apps/obmenu
  • gaute

I have gotten alot of different bug reports and problems sent to me when people try to use gnome-schedule, and quite a few of them are actually crontab and atd problems; mostly just them not being there at all. This post tries to give you an idea about how you can figure out what is wrong; or how it is supposed to work. Exactly how to set up crontab and at differs for all distributions and they all have their own tutorials.

If something works; don't proceed through the rest of the steps - they are meant as suggestions to solutions. And if you have it working they might break it. That means; no guarantees!

Gnome-schedule is a front-end to crontab and atd, and it is those that actually start the tasks. They have both been around since the beginning of time and were made for the command line, and don't have any graphical interface.

Crontab is responsible for recurring tasks, scheduled for instance for 'Every minute' or 'Every hour'.. but also quite complex expressions like every second minute of every fifth hour every 13th day of the month, but only if its wednesday. Atd schedules one-time tasks like 'tomorrow' or 24th of December.

Crontab

First you need to have crontab installed (there are several; vixie-cron and dcron works well) use your package manager for this. After having installed it you have to tell your system that the cron daemon should be started at system start, check with your distro on how to do this.

To figure out if the crontab daemon is running you can do the following in a terminal:

$ ps aux | grep cron

This should give you a line ending with something similar to:  '/usr/sbin/crond' .  If not; crontab is not running and you should make sure it is set up like your distro told you.

To check if it is installed you can do:

$ crontab -l

If this command is found; crontab is installed. (The output: no crontab for [username] means crontab is installed)

You need to make sure the crontab command has its SETUID bit set; to check do:

$ ls -l `which crontab` The output should be similar to (the first -rwsr-xr-x letters should be exactly like this): -rwsr-xr-x 1 root root 10076 2007-11-15 19:21 /usr/bin/crontab

You can fix this by doing (as root):

$ chmod +s `which crontab`

The cron.allow and cron.deny files, According to the Ubuntu wiki your user must either be in /etc/cron.allow (if it exists) or not be in /etc/cron.deny (if it exists). If neither exist only root can use crontab - this is not true for my system, but might be for Ubuntu.

To make a test task manually you can do the following commands:

$ crontab -e You now get to edit a file, write this line: * * * * * echo "Does this work?" > ~/test

See this crunchbang tutorial for details on what this does.

.. wait a minute ..

Check if there exists a file in you home directory, test, with the contents "Does this work?". If it does, crontab is set up correctly. In that case, delete your crontab:

$ crontab -d

At

Install at and set it up, refer to you distributions documentation.

Check if atd is running:

$ ps aux | grep atd

As with crontab; this should give you a line ending with '/usr/sbin/atd'. If not; at is not running, make sure it is installed and refer to your distro for starting the atd service.

To check if at is installed do:

$ at -V

This should give you:

at version 3.1.9 Bug reports to: rmurray@debian.org (Ryan Murray) Garbled time

If not; at is not installed, refer to your distro for installing it through the package manager.

At should also have the SETUID bit set;

$ ls -l `which at` This should give (the -rwsr-sr-x part should be exactly like this): -rwsr-sr-x 1 daemon daemon 37660 2006-05-31 06:40 /usr/bin/at

Add it with (as root):

$ chmod +s `which at`

To try and make a task; do:

$ at 22:00 19.02.2009 # replace the date with something in the very near future You know get a at prompt: at> echo "I work" > ~/at_test at> <Ctrl>+D To list current jobs try: $ atq If a job shows up now it worked.

Wait for the scheduled time to pass and check the contents of at_test in your home dir; if it is there it worked.

Make sure that you are not listed in /etc/at.deny and that if you have something like an /etc/at.allow file, you are listed. Refer to the at man page.

Other resources:

http://en.wikipedia.org/wiki/At_(Unix) http://en.wikipedia.org/wiki/Cron

Crontab man page - http://www.manpagez.com/man/5/crontab/ At man page - http://linux.die.net/man/1/at

Ubuntu Wiki - https://help.ubuntu.com/community/CronHowto Crunchbang Tutorial - http://crunchbang.org/archives/2007/10/26/howto-setup-a-crontab-file/

[caption id="attachment_133" align="alignnone" width="567" caption="X output"]X output[/caption]

The X output feature for Gnome Schedule is now ready for testing, this means that you can easily schedule graphical applications without worrying about the DISPLAY variable. Gnome Schedule also checks before each run if there is a working X connection; in other words that you are logged in.

There is still needed some testing before the next version will be released and it would be great if you could try out the current development branch.

To get the sources do: $ svn checkout http://svn.gnome.org/svn/gnome-schedule/trunk gnome-schedule
You can build and install it into a temporary directory by doing: $ cd gnome-schedule/ $ ./autogen.sh --prefix=/path/to/tmp $ make; make install to run it from there do: $ cd /path/to/tmp/bin $ ./gnome-schedule

If you have any problems or suggestions file them on the gnome bugzilla. More details on how to build can be found in the README.

  • gaute
Horndalsnuten / 13 Feb 2009

Horndalsnuten i midten

07.02.2009 - Horndalsnuten, 1460 moh.

Vi kom til ca 1350m, før skodda stoppa oss. Meget bra å køyre ned igjen.. spesielt når det letta igjen.

Hallingskeid og Såta / 05 Feb 2009

Daniel on Hallingskeid

29.01.2009 - Daniel at Hallingskeid; tredagers snøskredkurs i av BSI-friluft og Daniel.

SÃ¥ta

07.01.2009 - Forsøk på å gå opp til Såta på Kvamskogen. Snudde ca 100 meter under toppen av Bjørkefjellet då vi satte eit flak i bevegelse rett over oss og gjentatte drønn hadde overbevist oss om at dette kanskje ikkje var so lurt.

Review of Gnome Schedule / 03 Feb 2009

There has been a review of Gnome Schedule at makeuseof.com:

[...] For those who dislike the terminal and command line interface, Gnome Schedule is the graphical equivalent of the crontab. It leverages the power of vixie-cron, dcron and at to manage your crontab file and provide an easy way to schedule tasks on your computer. Be it scheduling a recurrent task or task that happens only once, Gnome-schedule has no problem in handling it. [...]
  • gaute
Ulriken / 24 Nov 2008

Ulriken, 23.11.08

Dice / 23 Nov 2008

A digital dice, in Cairo, gtk+ and C:

ENTER, r or a mouse click rolls q quits

git: http://github.com/gauteh/dice
download: dice-1.tar.bz2

SYCNNO homepage / 19 Nov 2008

Sycnno - Shou You China Norway - has just got their homepage, see this video from their successful first project in Beijing.

Together to Beijing

Mikkel Kamstrup Erlandsen just released updated versions of WinWrangler and gtkhotkey. I made PKGBUILDS for both, the icon for WinWrangler didn't work so I hardcoded it.

He created this video of it in progress.

I use Super+1 for expand and Super+2 for tile, to do this in Openbox add this to your rc.xml in the <keyboard> section.

<keybind key="W-1"> <action name="Execute"> <command>winwrangler -l expand</command> </action> </keybind> <keybind key="W-2"> <action name="Execute"> <command>winwrangler -l tile</command> </action> </keybind>

Download: WinWrangler gtkhotkey

  • gaute
xkcd desktop display! / 27 Oct 2008

To be able to save one click.. or not to use the mouse, I have created a program that upon the pressing of the key 'r' will download and display a random comic from xkcd.com and display it on my screen. Every now and then it runs out of memory, but that has proved the only way to stop - so i'll leave it. It should work on all platforms with cairo, curl and gtk.

The easiest is to use scons to build it.

Download: xkcd.tbz2

  • gaute

To run duplicity on several folders using the ssh backend I created this bash script:

#! /bin/bash $USER="user" $HOST="host" $KEY=".ssh/key_to_server" cd ~ ssh-add $KEY read -s -p "GnuPG password:" PASSPHRASE echo -e "\n####DEV####" PASSPHRASE=$PASSPHRASE duplicity -v6 dev/ scp://${USER}@${HOST}/backup/dev duplicity remove-all-but-n-full 3 scp://${USER}@${HOST}/backup/dev echo "########DOCUMENTS#######" PASSPHRASE=$PASSPHRASE duplicity -v6 /media/Hoppla/Users/Gaute/Documents/ scp://${USER}@${HOST}/backup/dokument duplicity remove-all-but-n-full 3 scp://${USER}@${HOST}/backup/dokument

Just repeat the last three lines for each dir you want to backup. For some reason duplicity doesn't follow symlinks so you have to add those manually.

Updated PKGBUILD for Archlinux for newest version:

# $Id: PKGBUILD,v 1.12 2008/08/02 20:27:55 Snowman Exp $ # Maintainer: Aaron Schaefer pkgname=duplicity pkgver=0.5.02 pkgrel=1 pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm' arch=('i686' 'x86_64') url='http://www.nongnu.org/duplicity/' license=('GPL') depends=('gnupg' 'librsync' 'ncftp' 'python' 'python-boto' 'python-gnupginterface' 'python-pexpect') source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('475e09b3eae5d9875e4177d487dc8986') build() { cd $startdir/src/$pkgname-$pkgver python setup.py install --root=$startdir/pkg || return 1 }

Put the PKGBUILD in a folder and do:

$ sudo pacman -R duplicity $ makepkg -c $ sudo pacman -U duplicity-0.5.02-1-i686.pkg.tar.gz
Vetsjisode 5 / 16 Oct 2008

Dette er meir eller mindre den orginale besteninga, det er ialle høve dei som har vå med frå starten og dei som har vå med lengst.

Vetsj har eksistert sidan 28.10.2004 - det er på tide sida kjem på plass igjen. Det går sakte mot sikkert mot tidspunktet då Vetsjisode 5 er klar. Kodenamnet på Vetsj - Det femte Tidekverv.

Lenge leve mordor.dask.info!!

Photos from Nigardsbreen / 16 Oct 2008

(with bsi-friluft)

Some photos from climbing in Sächsische Schweiz outside Dresden:

Falkenstein

Photos from Indonesia / 03 Oct 2008

The photos from Indonesia have been uploaded on Flickr: img_6666.jpg

Eduroam i Linux / 19 Sep 2008

For å koble manuelt til Eduroam som blir brukt på HiB og UiB kan du bruke dette oppsettet, hugs å oppdatere eduroam.conf fila til å di epost-adresse på skulen og passordet ditt. I fila eduroam_start må du endre variabelen iface til nettverkskortet ditt. Det er mogleg det funker som det er, om ikkje kan du teste ut å bytte ut 'ath0' med 'wlan0'.

eduroam_linux

  • gaute
Nesten 42 / 11 Sep 2008

42

Volcano Spree! / 11 Jul 2008

I took the train from Jakarta to Yogyakarta on the 10th of April, the whole trip took about 9 hours, but I traveled on Exekutif class where I got some meals and had enough leg room - which is quite rare for anybody over 1.70 m tall in Indonesia. It was a strong contrast to the bus ride from Yogyakarta to the Borobodur temple using local transport.. my legs just did not fit!

Borobodur is a Buddhist temple built in the ninth century, a pyramid with different levels you walk around. All the walls have carved out decorations and motives from all kinds of feasts and feats. Really nice, the rain chased away everybody else so I was alone on the temple.. But after a short while the hawkers came out from wherever they were hiding.

After some days in Yogyakarta I took a bus to Mt. Bromo, south of Surabaya, about 10 hours. The town I stayed in, Cerewa Lawang, should be at about 2000 meters gave me some relief from the heat of the lower parts. We arrived in the evening and got up at about 3am starting for the view point to see the sun rise over the Bromo massive. I was walking with Rowan from Ireland while the rest of the tourists that arrived with us charterd jeeps over the sand sea and up to the view point. We started out in complete darkness, got lost after about 20 minutes and walked through dense vegetation and finally found the second half of the path. But it was a great walk. We got up just after the jeeps, but still in time for the sunrise. Bromo

Mt. Bromo is actually made up of the Old Bromo and the New Bromo, the Old Bromo blew its top off and contains a sand sea and a couple of other smaller volcanoes, the one at the bottom of the photo is Mt. Batok - the New Bromo is hidden in the sulphur clouds behind Batok. In the far back above everything is Mt. Semeru - shooting off a cloud every half hour - it is possible to walk up there, but it would take about three days - I am going to that Next Time (tm).

As the jeeps and the tourists left we naturally had to walk down again, we took the same path, but this time we were able to see something and we had a great view all the time down, we were back at the hotel by 8 am.

After breakfast we walked over the sand sea (about 40 minutes) and walked up the stairs to the New Bromo and walked around the crater, dodging stinking and nose-itching sulphur clouds. And then back to the hotel for Rowans bus the same afternoon. Mount Bromo Mt Bromo crater New Bromo

I had decided to stay two more nights and rented a mountain bike, had to give away my passport for it, but it was the only rental there.. cost about as much as renting a motorbike in Bali. I biked down to the sand sea and continued to the left of Bromo and eventually ended up in grass coated fields between the steep crater wall of Old Bromo and the slow slopes up to the crater of New Bromo. The contrast could not have been bigger between the scorched north east side of New Bromo and the green south side.

When I finally got up the road up to the outer crater I was met with massive fog and a man who wanted my water bottle, probably just to turn it in and get some rupiahs for it, but he looked pretty bad so I gave it away, not thinking that I had to go back through the sun in the sand desert for about two hours without water.. So without water I decided to turn back then anyway. It would have been about 10-15km to the next village on the road if I had continued on.. and not gotten lost in the fog.

Next morning the bus left at 9 (around 10 indonesian time), when we got down from the mountains we could continue on in a fancy bus with lots of small insects that would bite you if you fell asleep. And something must have died inside the air condition system, every now and then the bus driver would spray something into it, perhaps just something to keep people calm while he drove like a maniac.. But apart from that and a ferry going zig-zag over to Bali the bus ride was eventless.

I stayed two nights in Kuta and left for Sydney on the 18th of April.

There are a few more photos on my flickr page, both from Indonesia as from Australia (you have to sign in and be listed as my friend to see all of them). As I get home in a couple of weeks I will describe them and many more yet to be uploaded.

Cheers! Gaute, Bundaberg

Bali and Jakarta / 10 Apr 2008

I arrived in the evening around 11 pm in Denpasar, I had purchased my Visa for 25 US$ and walked out of the airport and the heat, humidity and an army of people wanting to transport me, sell me something or guide me almost beat me back inside.

I took a taxi to the Two Brothers Inn, but since Andrei was there 10 years ago they had closed. The taxi driver took me a little further to a rather crappy place.. I killed the cockroch that occupied my bed and went to sleep. So far so good.

The next morning I tried to find the city center or somewhere to buy a map, but I had big problems finding my way around, and since it was sunday much was closed.. and the rain really poured down. After a while I finally found a supermarket. Incredible crowded and even fuller of people offering me all kinds of things. I managed to buy a pineapple and then took a taxi to Kuta, the beach or tourist area of Denpasar - full of australians -, and checked into Berlian Inn.

Monday I went to Celuk and Ubud, about 40 km north of Denpasar. There I stayed at Wayan Family Homestay (60k rp/day). Ubud, although also quite touristic, is much much better than Denpasar and especially Kuta. Here the first shock started to go away.. and I could relax a little. From Ubud I participated in one guided tour to Gunung Batur (Mount Batur) and watched the sunrise over Gunung Abang and Gunung Agung, the highest mountain on Bali (3.142 meters). My group consisted of a French woman who spoke almost no english ("no speedy gonzales! no speed! no speed! normal speed! speed! i paid long trip! i paid long trip! hoppala!") and an impatient guide who did not manage to understand a word of what she said. So I ended up in the middle, negotiating between them. It got very complicated when the guide wanted to ask us if we wanted to go the short or the long version of the long trip.

Sunrise at Gunung Batur

Aband and Agung from Batur Looking towards Lombok

Mt. Abang and Mt. Agung in the background.

Looking down on the north side of Batur The Crater of Gunung Batur North side and the crater.

Gunung Abang and Gunung Agung

Tuesday I rented a scooter in Ubud for 40.000 rupia and filled the tank for 12.000 rupiah (thats about 6 kr, or 80 euro cents) and drove in the direction of Tempaksiring and Gunung Kawi, a temple. It took some time to get used to the left hand driving and a chaos where I am surprised there are not more accidents.. but it was a very social experience. After about 40 minutes I stopped to ask the way and was surrounded by people trying to sell me sarongs and big wooden things that I couldn´t possible carry on the bike anyway (although the Indonesians can carry anything on a scooter, from big TV´s to the entire family). You need one to get into the temple so I bought two, one for 70k and one for 30k, as I got to the temple (after a small d-tour back to the hotel to pick up my driving license) I was offered two for 10.000. The temple lies between the rice fields, located in a valley, and a bit out of the main road of the tourist hordes. Know for the large statues maced out of the mountain representing King Anak Wungsu, his sons and their favorite concubines.

Gunung Kwai

In Ubud I also visited the Monkey Forest, full with funny monkeys and some old ruins and some temples that I don´t know exactly what are.

Teasing monkeys Tired monkeys

Next morning I took the shuttle bus back to Kuta for 35.000 rupia spending two hours on 40 km because of massive traffic jams outside every gas station on the road, except the empty ones. Indonesia is suffering from an gas and oil crisis where importing oil would be much to expensive compared to the heavily subsided local oil. There were riots the last time the government tried to lower the subsidies. This means that when a gas truck arrives at a gas station the streets quickly queue up until it is empty. In the districts people are sometimes getting back to using oxes for transportation.

In Kuta I stayed for 30.000 rupiahs at Awathara something and left early in the morning for the airport going to Jakarta to vist Thomas! And even all Indonesian air lines are banned in Europe the worst thing that happened was that a little girl threw up on my shoes.

This massive city is, apart from being Indonesias biggest and capital, a constant traffic jam, with 35.000 cars and motorcycles entering each month it doesn´t look like it is getting any better. The city is not very rich on clear tourist attractions and the main activity of the Jakartians seems to be going to the many, gigantic, shopping malls. Grand Indonesia was, and is going to be again, the largest mall in South-Asia. Apart from shopping, I visited the Monumen Nasional - Soehartos final erection, the old city, Kota, where the buildings from the colonial time stands and played football with the street kids, and wandered a bit around in the smoggy heat of Jl. Jaksa, and ate a lot of Dunkin´s Donuts. Tomorrow I am going to Yogyakarta, further east, a 8 hour train ride - 160.000 rupiahs for executive class - and will continue to Gunung Bromo after some days. I need to be in Denpasar by the 18th when my plane leaves in the evening for Sydney.

Jl. Jaksa - Jakarta Jl. Jaksa

Jakarta Monas - Monumen Nasional Right: Monas - Monumen Nasional Jakarta Local transportation - Kota Bemo - Local busses, in Kota Sleeping man in Old Jakarta (Kota) An old bar in Kota Kota

I am finally starting to feel more comfortable with Indonesia and don´t really want to leave soon already, to get out of the main stream of tourist where most of the people I meet just wants to sell me overpriced crap I need a bit more time. In the first week in Bali of all the indonesians I spoke with only one did not want to sell me something. In Jakarta this is much better and just walking around alot of people start talking to me. Like when I accidently walked into a whole bunch of policemen sitting outside the National Monument they wanted to take photos with me and shouted to me, apparently very funny.. at least for them - I decided to take another road to get into the monument. But here I also notice sometimes, escpecially in Kota less friendly looks and shouts.

  • gaute

I managed to manually merge the mppc patch into kernel 2.6.24 and ppp-2.4.4 using a modified version made for 2.6.23 from Devil Linux. And I updated the kernel26 and ppp PKGBUILDs for Arch Linux to use them.

I had a VPN with mppc running and could comfortably ssh to the machines on the network, but I am unsure about the stability.. this has been extremely little tested, so take care.. Usage is explained on the official site for the original patch: http://mppe-mppc.alphacron.de/ usage of PPTP on Arch Linux in the wiki. For Arch you probably need ppp-mppe and pptpclient.

Modified patch for kernel and ppp: linux-2.6.24-mppe-mppc-1.3.patch ppp-2.4.4-mppe-mppc.1.1.patch

Patch for the source for the Arch packages in ABS: kernel26-arch-mppc.patch ppp-2.4.4-arch-mppc.patch

Patched source for the Arch Packages (extract and run makepkg -c and pacman -U on the result): kernel26.tar.bz2 ppp.tar.bz2

Packages for Arch (pacman -U): kernel26-2.6.24.3-3-i686.pkg.tar.gz ppp-2.4.4-6.i686.pkg.tar.gz

mppc is patented and you might not be allowed to use it.

logit.py / 17 Mar 2008

A small script that rewrites the command it gets as argument, passing any further arguments on, to send stdout and stderr to a log file that is rotated on each run.

Remember to edit the logdir variable to your settings (keep a trailing / or the last part will be prepended to the logfile). The keep variable controls how many old logs should be kept. The command name is prepended to each logfile.

I.e.: logit.py xcompmgr -Cc -r2 -t-3 -l-3 -fF -D5 &

#! /usr/bin/python print """logit.py - Executes a program redirecting stdout and stderr to a rotating logfile by adding the '>' character to the command and executing it through os.system (). This software is not guaranteed to work or not do any harm to your system, use with caution. Copyright (c) 2008 Gaute Hope <eg _AT_ gaute_dot_vetsj_dot_com>""" import sys import os logdir = '/home/_you_/tmp/logs/' keep = 5 if len(sys.argv) < 2: print "You know how!" exit () name = sys.argv[1] arguments = "" for a in sys.argv[2:]: arguments = arguments + " " + a print "Executing: " + name + arguments i = keep - 1 while i >= 0: fname = logdir + name + ".log-" + str (i) if os.access (fname, os.F_OK): if i == (keep - 1): os.remove (fname) else: os.rename (fname, logdir + name + ".log-" + str (i + 1)) i = i - 1 fname = logdir + name + ".log-0" os.system (name + arguments + " > " + fname + " 2>&1") exit ()

Get!

Gnome-schedule 2.0.2 / 08 Feb 2008
  • Gnome-schedule 2.0.2 -

It turns out that a bug in Python 2.4's locale module has affected the two latest Gnome Schedule releases, this release comes with yet a new way to work with at. And I hope our efforts to create a backend that is compatible with all distributions, locales and versions of at finally has borne fruits. For those that it interests we are now using the POSIXLY_CORRECT environment variable to get an expected output.

Gnome-schedule is a graphical user interface that leverages the power of crontab (vixie-cron, dcron) and at to manage your crontab file and provide an easy way to schedule tasks on your computer. It supports recurrent (periodical) tasks and tasks that happen only once in the future. It is written in Python using pygtk, and has been developed, tested and packaged for various Linux distributions.

Fixed in this release: * New parsing system for the at backend * Using the new icon for applet

Previous release notes are available here: http://sourceforge.net/project/shownotes.php?release_id=572635

Download: Sourceforge Bugs: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

More information and screenshots on our homepage: http://gnome-schedule.sourceforge.net

Kind regards,

Gaute Hope

GtkDrop / 04 Feb 2008
categories: projects
tags: gtkdrop / gtk+ / c

I created a small GTK+ widget based on GtkWindow which I called GtkDrop.

I once wanted to create a popup calendar for gnome-schedule and this is basically that code put into a widget (and ported to C).

It is intended to be a 'popup'/'dropdown' container where you can add any widget and it will behave similar to menus or comboboxes. And you will be able to use the widget inside it, ie: write in a GtkEntry or press a GtkButton.

Here is a screenshot:

In case you want to try it out download it, the test program is included.

download: gtkdrop-1.tar.bz2
git: http://github.com/gauteh/gtkdrop
README: http://github.com/gauteh/gtkdrop#readme

Gnome-schedule 2.0.1 / 03 Feb 2008

Our new mayor release, the recent 2.0.0, introduced a few annoying bugs. Through quick bug reports and helpful patches they have been fixed in this release. Fixed in this release: * Bug 513330: Applied patch from Frank Arnold fixing wrong locale category (LC_ALL -> LC_TIME) * Bug 513330: Applied patch from Frank Arnold fixing mainwindow template button. * Desktop icon using the correct .svg icon * Installing icons under $prefix/share/pixmaps/gnome-schedule * Only trying to load data files from current location if launched with '--debug'

Previous release notes are available here: http://sourceforge.net/project/shownotes.php?release_id=572635

Download: https://sourceforge.net/project/showfiles.php?group_id=112183&package_id=254297&release_id=573528 Bugs: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

More information and screenshots on our homepage: http://gnome-schedule.sourceforge.net

  • gaute
Gnome-schedule 2.0.0 / 30 Jan 2008

At last! Gnome-schedule 2.0.0 is out!

Download here.

- Gnome-schedule 2.0.0 -

Gnome-schedule is a graphical user interface that leverages the power of crontab (vixie-cron, dcron) and at to manage your crontab file and provide an easy way to schedule tasks on your computer. It supports recurrent (periodical) tasks and tasks that happen only once in the future. It is written in Python using pygtk, and has been developed, tested and packaged for various Linux distributions.

More information is at our homepage: http://gnome-schedule.sourceforge.net together with screenshots.

This is a fresh release with a completely redone user interface, cleaned up to be more simple and easier to use, we have implemented many of the suggestions we have recieved for our previous versions and hope that this is a positive change to gnome-schedule, a more complete list is attached below.

Download: SourceForge Bugs: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

Summary of big changes and new features: • The main window ∘ You can now run task directly from the main window and have the output displayed in a terminal window. ∘ The file-menu has been removed ∘ The toolbar has been cleaned up and stripped down to the necesarry. ∘ We have rearranged the list of tasks to have more space for the important stuff. ∘ The status bar is only there if it has something reasonable to say. ∘ We got a new icon. ∘ We are using two fixed icons for crontab and at tasks. ∘ You can easily choose which type of task you want to create with a drop down box. ∘ The main window remembers size and position. ∘ We redesigned the template system, you know choose them from a list and there is another window to manage them. You edit them in the familiar editors, and you can as well add new ones directly from the editors. ∘ The window where you choose what type of task you want to create now uses buttons not radiobuttons.

• The crontab editor ∘ The interface has been completly rethought and redesigned. ∘ You can now see a preview of the time expression in the easy format as you edit the task, also in advanced mode, the expression is also tried as you type and it is easier to create a valid expression ∘ You can easier switch between easy and advanced editing and you will see the advanced boxes update accordingly as you use the simple combobox to choose your time expression, this leaves the editor without tabs ∘ You can easier create templates by simply pressing the button 'Add as template' while editing a task ∘ We have freshly updated documentation, kindly provided by Rodrigo M. Fombellida

• The at editor ∘ The interface has here as well been completly redesigned ∘ You have everything easily accessible from one window. ∘ You can create templates by simply clicking 'Add as template' ∘ You have a drop down calendar to quickly find the date you want, leaving the editor with no tabs

• The backend ∘ We now support all the '@' extensions in vixie-cron

• Other ∘ We have started using version 3 of Glade to design the interface

I made proposals for logos, flyers and poster for DAFF 2008. This years festival is going to have a special focus on the environment.

Logo/Flyer:

Poster:

If you have any suggestions, please send them to me: eg AT gaute.vetsj.com

Bilete / 23 Jan 2008

Eg har lagt ut ein heil del bilete på Flickrkontoen min. For å kunne sjå dei må du desverre vere medlem av Flickr vere registrert som ein kontakt hos meg, eller ha fått eit gjestepass. Om du trenger eit må du sei i frå.

2008-01-23 / 23 Jan 2008

I have released gnome-schedule-2.0.0-rc2, feature frozen and with a freshly updated documentation from Rodrigo.

Updated WordPress.

Using a theme from Azeem Azeez. Slightly modified for use with the widgetized sidebar.

I have become a flickr pro.

mppc for gentoo 2.6.23 / 01 Jan 2008

After changing from Ubuntu to Gentoo I lost support for mppc, and the patch only works for kernels up to 2.6.13. I finally found that devil-linux has created a patch for the 2.6.23 kernel that replaces the native mppe patch.

$ cd /usr/src/linux $ wget http://devil-linux.linjection.org/devel/sources/1.3/linux-2.6.23-mppe-mppc-1.3.patch.bz2 $ bunzip2 linux-2.6.23-mppe-mppc-1.3.patch.bz2 $ patch -p1 < linux-2.6.23-mppe-mppc-1.3.patch $ make menuconfig

Go to Device Drivers --> Network Deevice support: Check the PPP options, you will see the option: Microsoft PPP compression/encryption (MPPC/MPPE)

Then compile/install as usual, and you will have the module: ppp_mppe_mppc available, replacing the ppp_mppe.

Unfortunatly NetworkManager refuses to compile right now.

ebuild for gs 2.0.0-rc1 / 25 Dec 2007

Here is an ebuild for for gnome-schedule-2.0.0-rc1: http://svn.gnome.org/viewvc/gnome-schedule/trunk/dist/gentoo/gnome-schedule-2.0.0_rc1.ebuild?revision=1041&view=markup

I have made alot of changes since the release, and when the updated documentation is ready (thanks to Rodrigo M. Fombellida) I will most likely make a new rc release in the hope that also the translations of the documentation will be updated. And then eventually.. the final 2.0 should be ready.

Current, managing templates:

While working on the calendar for the at editor I run into another inlogicality with gtk, it turnes out that on Ubuntu w.get_position () returns the position without the decorators, while on Gentoo (and probably others) the decorators are included. I am now appending the offset i get from w.window->get_geometry () to get_position () and hope that the behaviour is the same on Ubuntu.

Update 2007-12-26: Seems get_geometry and get_position didn't do the trick, get_origin () however behaves correctly on both Ubuntu and Gentoo. Which makes me wonder a bit of the use of especially get_position, but the get_geometry and get_frame_extents or get_root_origin neither makes the confusion smaller.

  • gaute
gnome-schedule 2.0.0-rc1 / 13 Dec 2007

I have released rc1 of gnome-schedule-2.0.0.

read on for the full release note.

  • Gnome-schedule 2.0.0-rc1 - Gnome-schedule is a graphical user interface that leverages the power of crontab (vixie-cron, dcron) and at to manage your crontab file and provide an easy way to schedule tasks on your computer. It supports recurrent (periodical) tasks and tasks that happen only once in the future. It is written in Python using pygtk, and has been developed, tested and packaged for various Linux distributions.

More information is at our homepage: http://gnome-schedule.sourceforge.net Screenshots are here: http://gaute.vetsj.com/bilete/index.php?dir=/2007/dev/gnome-schedule/2007-12-13%20-%20gnome-schedule-2.0.0-rc1 Download: http://gaute.vetsj.com/arkiv/2007-12-13%20-%20gnome-schedule-2.0.0-rc1/gnome-schedule-2.0.0-rc1.tar.gz

This is a fresh release with a completely redone user interface, cleaned up to be more simple and easier to use, we have implemented many of the suggestions we have recieved for our previous versions and hope that this is a positive change to gnome-schedule.

This RC1 release is intended for testing only, altough no big changes have been done to the backends there are a lot of new features that has more or less only been tested by me. If you find any really annoying parts or bugs please send me an email or better post a bug report to bugzilla.gnome.org: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

Apart from that the translations are very out of date, for that I need your help!

  • Gaute Hope <eg@gaute.vetsj.com>

Summary of big changes and new features: • The main window ∘ You can now run task directly from the main window and have the output displayed in a terminal window. ∘ The file-menu has been removed ∘ The toolbar has been cleaned up and stripped down to the necesarry. ∘ We have rearranged the list of tasks to have more space for the important stuff. ∘ The status bar is only there if it has something reasonable to say. ∘ We got a new icon. ∘ We are using two fixed icons for crontab and at tasks. ∘ You can easily choose which type of task you want to create with a drop down box. ∘ The main window remembers size and position. ∘ We redesigned the template system, you know choose them from a list and there is another window to manage them. You edit them in the familiar editors, and you can as well add new ones directly from the editors. ∘ The window where you choose what type of task you want to create now uses buttons not radiobuttons. • The crontab editor ∘ The interface has been completly rethought and redesigned. ∘ You can now see a preview of the time expression in the easy format as you edit the task, also in advanced mode, the expression is also tried as you type and it is easier to create a valid expression ∘ You can easier switch between easy and advanced editing and you will see the advanced boxes update accordingly as you use the simple combobox to choose your time expression, this leaves the editor without tabs ∘ You can easier create templates by simply pressing the button 'Add as template' while editing a task

• The at editor ∘ The interface has here as well been completly redesigned ∘ You have everything easily accessible from one window. ∘ You can create templates by simply clicking 'Add as template' ∘ You have a drop down calendar to quickly find the date you want, leaving the editor with no tabs

• The backend ∘ We now support all the '@' extensions from vixie-cron ∘ The latest parsers as also included in the previous 1.2.1 release

• Other ∘ We have started using version 3 of Glade to design the interface ∘ The latest bugfixes from version 1.2.1

Gnome-schedule 1.2.1 / 02 Dec 2007

- Release Gnome Schedule 1.2.1 -

It is time for the (most likely) last release in the 1.x series of gnome-schedule (more information under), there are fairly few updates since the recent 1.2.0 release, but although it was meant as a last translation update I some significant bugs have been fixed (summary of changelog under).

Also worth mentioning is that it soon will be 2.0.0 release, but it still needs some more testing. If you are interested in helping to test it out or just want to try it feel free to send me a note.

Other than that it is not much to say about this one. Happy scheduling!

Bugs and problems: http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gnome-schedule

Mailing lists: http://sourceforge.net/mail/?group_id=112183

Download: http://sourceforge.net/project/showfiles.php?group_id=112183

Homepage and screenshots: http://gnome-schedule.sourceforge.net/

  • Describtion - Gnome-schedule is a graphical user interface that leverages the power of crontab (vixie-cron, dcron) and at to manage your crontab file and provide an easy way to schedule tasks on your computer. It supports recurrent (periodical) tasks and tasks that happen only once in the future. It is written in Python using pygtk, and has been developed, tested and packaged for various Linux distributions.

  • Features - • Supports custom titles and icons for your tasks so that they are more easily to keep track of • Templates support so that you won't have to create the same task again and again; these are saved in gconf and may easily be shipped with for instance a Linux distribution or an anti-virus program • If run as root you can edit any user's crontab and at tasks • Crontab entries are parsed into human readable strings like "Every hour" instead of "0 * * * *" • Advanced mode give the advanced user the familiar syntax of crontab and at • Provides a panel applet for easy access to standard functions

-Summary of ChangeLog - ∘ Fixed bug in the at editor: choosing dates in the future with a month or day before the current one failed ∘ Fixed some parsing bugs in crontab regarding short term strings in the time expressions (mon, tue, wed) ∘ Fixed some confusing simple expressions regarding weekdays ∘ Removed debug messages ∘ Fixed help open function ∘ Fixed an error in the dialog that pops up if a record is invalid

Gaute Hope (c) 2007, http:/gaute.vetsj.com, eg@gaute.vetsj.com

My job / 01 Dec 2007

Sackpfeife

I have finally implemented support for templates in the new-ui branch of gnome-schedule. Among a few other things this was the last big remaining feature.

I added the option to create a task from template in the 'New' dropdown box and to the addwindow (before you had to choose it from a combobox inside the editors). Also the addwindow now uses buttons not radiobuttons.

In addition to the dialog you get when you want to create a task from a template, the template chooser, there is a template manager. Which you get by clicking the Templates button in the toolmenu in the main window. Here you can use (same behavior as the chooser), delete and edit templates. Editing opens a third mode of the editors (in the at editor time expressions are removed since it is irrelevant to keep time settings for one-time tasks in the template).

The template dialogs and buttons are using the gtk.STOCK_INDEX icon, it doesn't look so good so if somebody has a better idea (or an icon) I'll be happy to switch it.

The template chooser:

The template manager:

Editing an 'at' template: (ateditor looks quite bad, maybe I should just gray out the time controls)

I cleaned up the source tree a bit, removing some empty files, fixed the AUTHORS file and the READMEs. Deleted .cvsignore files. Added some new translations from trunk, will have to copy/merge them all anyway (except french and norwegian) to get the latest and new ones before the beta.

Moved preset.py to template.py and set the keys in gconf to be saved under 'template', now using integer ids to identify templates, not the template name.

The main window remembers size and position, but not maximized/not-maximized state.

And created the dropdown calendar in the at editor.

About that; here are some of things i find rather unlogical in pygtk/gtk:

  • When specifying month you start on 0, but with days on 1
  • Why isn't there a dropdown container widget? Like the menu but not selectable (you can add a calendar to you menu, doesn't work very well)
  • About the famous delete event handler required to return True, it's unlogical.
  • Why isn't there a proper signal when the window is moved? (so that I at least can hide my calendar window or make it follow the window)
  • Why can't GTK tell me if the window is maximized or not? I need to rely on gnome.program (and I don't so if somebody maximizes gnome-schedule and closes it it will fill the screen the next time, but still not be maximized).
  • Why can't I access gtk.Calendar.sensitive?
  • Where is the reference for python-gnome?
  • Why isn't there a CellRenderer for widgets/containers.
  • And why doesn't my labels expand?

But apart from that it is really easy to combine existing widgets together.

Now it just needs to be tested and tweaked a bit and the beta release should be ready quite soon, so please:

Test the code:

$ svn checkout http://svn.gnome.org/svn/gnome-schedule/branches/new-ui gnome-schedule-new-ui $ cd gnome-schedule-new-ui/ $ ./autogen --prefix=/usr/local # (or somewhere else) $ make

To run it from the source directory:

$ cd src/ $ python gnome-schedule.py

To install

$ sudo make install

Report bugs and suggestions here.

As I/we get closer to the 2.0-beta release this is the time to come with suggestions for gnome-schedule. I've allready removed some suggestions and implemented others so the ideas should be quite good and not require too much time.

The only big task left is the re-implementation of templates.

Anyway, lately I have added some (annoying?) dialogs informing about the working directory of the tasks, but you can stop them from coming by clicking the 'Don't show' button.

The most important new feature is probably the possibility to run tasks directly from gnome-schedule and have the output displayed in a terminal waiting for you to press a button to exit. This should of course work perfectly, but is something that should be throughly tested.

I am now using the 'appointment-new.svg' icon from Tango as the icon for 'at' releated things.

As said, now is the time for suggestions; send them to me, post a comment on this bug, or post a new bug.

The last days I have been progressing on the new interface for gnome-schedule and have now fully implemented the new editors for 'at' and 'crontab', except templates and one pop-up calendar for 'at'. I hope to get it at bit tested in the near future, and somewhen soon release a beta for version 2.

The discussion (if you can call it a discussion) has mostly been going on on the gnome bugzilla.

What I need: - An icon for 'at'/one-time jobs - Testing and suggestions on the UI

And finally two screenshots:

Here's the latest changelog entries:

* new crontab editor fully works * deleted old one * new field to the main treemodel for timestring_advanced; the timestring shown in advanced mode. Effectively only affecting @reboot entries now showing _("At reboot") and not 5 x @reboot * advanced view toggle button behaves * set version to 2.0.0-BETA * remembers size and position, but not state due to silly gtk/gnome * removed support.py, translates thoughicon.py * src/gnome-schedule.glade: Formatting changed of entire file while switching to glade-3 * Oh.. forgot this file, here's a summary * From trunk: Bugfix where some dates in the future wouldn't be accepted. * at editor fully works * added icon to at editor * added icons to drop down menu * removed exit button * new icon for gnome-schedule by kiddo * created new crontab interface in glade, needs to be attached * at parser locale ignorant * gnome-schedule desktop entry in preferences
  • gaute

Along with the new version of gnome-schedule Kiddo has provided us with a fresh new web page, it even features an updated screen shot.

Many thanks.

Gnome-schedule 1.2.0 / 10 Nov 2007

Gnome-schedule 1.2.0

Gnome-schedule is a graphical configuration tool for crontab and at daemons, it is written in python with pygtk. You can add reccurent task and task that will be executed only once. You can make templates for easy access to tasks you often use.

Since 1.1.0 there is a datafile for each job that is created with Gnome-schedule in ~/.gnome/gnome-schedule.

This release fixes a whole bunch of bugs available for examination in the gnome bugzilla and ubuntu bugs, the parsing procedures have as well been upgraded and are using hopefully even more adaptable and stable methods.

Also translations of the documentation and new translations of the program has been added and updated, at the moment gnome-schedule is translated to 34 languages (from which not all are complete).

The latest development code can be found in the gnome subversion repositories.

Download: https://sourceforge.net/project/downloading.php?group_id=112183&filename=gnome-schedule-1.2.0.tar.gz&92759010

Bugs: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-schedule

Homepage: http://gnome-schedule.sourceforge.net

  • gaute hope eg@gaute.vetsj.com http://gaute.vetsj.com

So now the windows version of the famous Simplexifier has been released, with absolutely no guarantees. With an exceptionally short testing period as background I would highly recommend to make som backups.

Have a look at the main simplexifier page.

Simplexifier 0.1 ready / 09 Nov 2007

I made a program called Simplexifier that renames JPEG files based on a user customized pattern and EXIF data, making it possible to rename a whole bunch of files at once into something like:

"Vacation - 2007-11-09-15.44.12.jpg"

More information and download

Simplexifier / 09 Nov 2007
categories: projects
tags: C# / mono

Simplexifer is a tool for renaming your JPEG files based on a user specified pattern and the date and time information from the JPEG’s EXIF data . And makes it possible to rename a whole bunch of photos to something like “Vacation – 2007-11-04-15.45.31.jpg” where the date and time is retrieved automatically.

It is written in Mono and is using libexif. The libexif-sharp bindings were taken from F-Spot. It was developed on Ubuntu using MonoDevelop (when it wasn’t crashing).

The windows version is using some code from the codeproject and was developed in SharpDevelop.

By the way; I don’t guarantee that your photos aren’t deleted, so make backups.

The dependencies for Windows:
.NET framework (if not allready present, try first without)

And the dependencies for Linux:
libexif
mono
gtk-sharp
gdk-sharp
glib-sharp
Mono.Unix

(they should be included with most modern distributions)

Screenshot linux:

Screenshot Windows:

Simplexifier is licenced under GPLv3.

Download

Version 0.1 – Linux
Buildable source
Linux binaries
MonoDevelop Project

Version 0.1 – Windows
Binary (.exe)
Source

Notes about the file name pattern

The pattern you specify is parsed using the DateTime structure ToString () method, and is following the specification of System.Globalization.DateTimeFormatInfo Class which can be studied in detail in the mono reference. Scroll down to the second table, Format pattern.

For instance the year will be displayed if you put in yyyy and the month if you use MM, as you see there is a difference of how many letters you put in. For instance MMM show the short name of the month, i.e. sep. And MM show the month number with a leading zero. Refer to the table linked above for a full list.

The .jpg extension is appended automatically. The standard file name pattern: yyyy-MM-dd-HH.MM.ss gives a file name of i.e.: 2007-11-09-15.45.13.jpg. If you want to add normal text you need to escape each character with the \ character. If you want filenames of the format: Vacation 2007-11-09-15.45.13.jpg you would need to enter: \V\a\c\a\t\i\o\n yyyy-MM-dd-HH.MM.ss in the file name box. If a file name exists a “-” and a number will be added at the end of the file name.

You can also wrap your text in """ if you don’t want it to be parsed. For instance: """Vacation""" yyyy-MM-dd-HH.MM.ss.

Vetsj og slikt / 17 Oct 2007

Vetsj.com har fått ny vert, og Øystein jobbar med den nye sida. Forhåpentlegvis ser vi det femte tidekverv snart. I den sammanhengen fungerte eposten min mogelgens ikkje i eit par dagar den siste veka. Den nye verten er hostmonster.com.

Oddmund jobbar med sida si, kamerakate.daff.no for firmaet sitt.

I samband med den nye verten blir bileta mine flytta og fungerer sikkert ikkje lenger i dei gamle postane mine på denne sida, det ligg ei side her som samlar lenkjene til dei ulike stadane det ligg bilete.

Vi er kommne tilbake frå Spania og har planar om å legge opp bilete frå klatring og reise med litt forklaring på BallofDirt snart. Det mest spektakulære var nok El Caminito del Rey.. boaah.

Magnus har starta å blogge i frå midtausten.

English DAFF page / 15 Jul 2007

We have published an english version of the daff page on http://eng.daff.no.

Translation done by the fabolous Oddmund Haugen.

As well all movies from DAFF5 have now been uploaded.

  • gaute

Hallo

Filmane frå DAFF 06 og meste parten frå DAFF 05 er no lagt ut gjennom youtube.com og veoh.com, du kan sjå dei gjennom Filmsida til kvar år på daff.no.

I lista med filmar finn du ei lenkje 'Sjå film' under kvar film, klikk på den so får du opp filmen.

Resten av filmane frå 5 kjem snart.

Det ligg og ein ny reklamefilm på framsida(og under Film).

Meir informasjon om påmelding og tidspunkt for DAFF 07 ligg på framsida og påmelding sida.

DAFF.NO!!

Reklamefilmen DAFF7:

(Inkuldert pausefilmen frå DAFF6)

- gaute

DAFF 2007, 10. august / 26 Jun 2007

DAFF 2007 blir arrangert 10. august, i hovudsak av Oddmund Haugen og Jon Werede Hope.

Lag film!

http://daff.no

Oppdatering: Blir arrangert 10. august!

I write this in the hope to get the current code tested, it has been undergoing heavy development and definetly needs to be tried out. Including that a lot of bugs have been fixed recently, yet a new 'at' parser has been implemented and smaller, but important, features have been implemented. I have also started the work on a refined user interface, based on the suggestions laid forth by Satoshi Tanabe in bug 419392 . So far this means the main window, but as you can observe a little further down in this post the suggestions include changes to the editor window and other details aswell.

The new interface and latest code is located under the new-ui branch and can be checked from the anonymous subversion repository through the following commands:

svn checkout http://svn.gnome.org/svn/gnome-schedule/branches/new-ui gnome-schedule-new-ui # where the latest argument represents the destination directory.

Refer to the README for compilation instructions, and refer to your distributions documentation for information about the installation of subversion and the additional dependencies for gnome-schedule. I suggest you check if adequate packages allready exists before you try to compile dependencies directly from gnome.

Also available is a snapshot from revision 852 avaialable if you dont feel like using subversion.

Finished proposal.

Propsed main window.

One time task editor.

Periodical task.

  • gaute
Schwarzfahrer / 06 May 2007

Ein kortfilm i frä 1994, laga av Pepe Danquart i Berlin. Tips i frä kollega pä skulen.

Her er eit eksemplar med engelsk undertittel og uten undertittel.

While working on gnome-schedule I wrote this to check if a command contains the character '%' since it directs everything behind the it to the command before it. Check man 5 crontab for more information.

The code checks for the character, then if it is escaped, if it is, then it checks if the escaped character is escaped. If the number of escapors in a line is a even number then the escapor is escaped, otherwise it is fine. Then it goes on and checks if the character appears again and verifies the escapor.

def check_command (command): # check if % is part of the command and if it is escaped, # and that the escapor is not escaped. i = command.find ("%") while i != -1: escaped = 0 part = command[0:i] command = command[i + 1:] e = part.rfind ("\\\\") while (e != -1) and (e == len(part) - 1): escaped = escaped + 1 part = part[0:len(part) - 1] e = part.rfind ("\\\\") if (escaped % 2 == 0): return False i = command.find ("%") return True
DAFF 07 / 25 Feb 2007

DAFF logo

Hallo

Kva med daff 07? Eg er i Marburg og kan i grunn ikkje gjere so mykje. Eg kan gjere ferdig budsjettet og rapporten for daff06 kanskje. Men kva blir da av daff07. Kem kan gjere noke med den?! Vi er jo allereie seint ute med ä reklamere og skaffe filma!

Vi kan ikkje fä meir penga i frä Ung i Europa, eller Aktiv Ungdom somdet heiter no som ungdomsprosjekt med mindre festivalen blir endra drastisk, eller vi fär penga for ein anna del, eller anna vinkling av prosjektet. Og vi vil jo ikkje forandre for mykje. Det vi kan fä penga for er eit nettverksprosjekt.. vi kan koble festivalen sammen med andre festivala. Lage utveksling? Iallefall tett samarbeid med andre prosjekt.

Det har seg slik at her i Marburg er det ein filmfestival og, den er 14 är gammal og er for amatörfilma. Maks 30 minutt lange. Ein del av festivalen foregär i ruinane pä eit gammalt slott pä toppen av ein vulkan, der dei har sotte opp eit lerret og folk tar med seg liggeunderlag og grilling og har da kjekt medan dei ser filmar. Kvar film blir presentert av dei som laga den först, so blir filmen vist og det er moglegheit til ä spörre filmmakaren etterpä rundt filmen. Det er ikkje noko fokus pä godt teknisk arbeid, og filmane kan so vel handle om ingenting som ä ha ei djupare meining. Med andre ord det kan virke som dei tek i mot eit like stort spektrum som DAFF gjer. Planen er ä koble festivalane sammen, vi kan ha overföring av video herifrä til dale og ifrä dale til marburg. Vi viser dei samme filmane, vi skiftar pä ä vere programleiar eller presentere filmane etter kvar dei som har laga filmane er henne. Om nokon som har laga ein film i Tyskland presenterer filmen sin viser vi det pä prosjektören i Dale, när ein norsk film blir presentert blir det sendt i frä Dale. I tillegg kan vi ha ein slags kommentator frä kvar festival pä den motsatte festivalen.

Det er ikkje so vanskeleg som ein skulle tru ä sende video over nettet slik, og eg veit at ein filmfestival i Tromsö kobla seg sammen med andre festivala i Noreg og dreiv med live sending.

Det er jo sjölvsagt litt risikabelt, men ikkje noke meir enn när nrk sende i frä washington.. trur eg.

Pä denne mäten utvidar vi DAFF, men vi held den fortsatt pä det amatörmessige niväet vi vil ha den pä. Dermed ikkje sagt at det ikkje bör ligge meir tanke bak ein amatörfilm slik som Oddmund seier, men at dei ikkje treng vere teknisk overlegne, laga profesjonelt.. eller fölge noken spesiell stil.. osv..

Men vi treng vel eigentleg nokre nye som kjem inn i festivalen, Jon Werede og Viljar for eksempel. Vi er jo ikkje so mykje i Dale lenger.

Eg tykkjer vi burde fortsette med daff. Men finne nye folk som kan hjelpe, eventuelt tek vi oss av det i frä der vi mätte vere i stor grad, men vi er nesten nödt ä ha nokon til ä gjere forbredingar i Dale litt för og. Og sjölv om kursa som vi hadde i fjor vart sukksess, i allefall det förste so trur eg det blir vanskeleg ä fortsette med dei i är.

Kva tykkjer däke? Om vi vil gjere noko i är so mä vi i gang no. Og hugs, vi har fortsatt ei evaluering igjen.

Svar her(nytt forum / ny registrering), og send gjerne vidare: http://daff.no/forum/viewtopic.php?f=9&t=7

I tillegg er det no evaluering av DAFF 06 i daff forumet, registrer deg og eventuelt send meg ein epost so fär du og tilgang om du har noko du skulle ha sagt!

- gaute

The journal from the biking trip me and Anne is now ready at ballofdirt.com.

  • gaute

Enligthenment Slackware * SlackE17

Here are two screenshots of E17 running on Slackware 11.0:

Enlightenment installed from slacke17.sf.net Xorg with nvidia beta drivers: xorg.conf - I had to change it a bit to use get the mouse wheel working. And it is with norwegian nynorsk (nn_NO.UTF8) settings for keyboard and locale. And set them in the configuration panel for Enlightenment.

Also composite stuff is loaded and the 'Bling' module in enlightenment enabled which makes fancy transparency and things like that.

I used the nvidia config tool while compiling and installing the driver(you find it at nvidia.com under support -> driver -> unix/linux/freebsd or something like that).

To activate composite:

$ nvidia-xconfig --composite

see 'info nvidia-xconfig' for fancy options I never used.

~/.xinitrc:

ssh-agent dbus-launch --exit-with-session enlightenment_start

Then you will have dbus and ssh-agent for your ssh keys.

~/.xsession:

/usr/bin/xfce-mcs-manager

But recently I had problems starting X so I loaded xfce-mcs-manager by hand afterwards. I think it starts before Enlightenment is ready. Sets up the gtk themes and icons properly. I used gnome-themer to configure the theme.

I use Thunar for file management.

ntfs-3g for ntfs drives and usb ntfs drive(which shows up in Thunar, but i mount it manually as root).

Most packages I found on linuxpackages.net I also have Dropline Gnome installed.

The web camera doesn't work yet, but there is work being done syntekdriver.sourceforge.net. But it is unusable at this point. I installed the module and I had to use the rescue disk to remove it.

The wireless card works fine if you install the firmware, see: bcm43xx.berlios.de and use the firmware cutter tool to extract it from bcmwl5.sys which you will find somewhere under your windows dir. I use some version around 3.100.****. But I change a bit since it is a bit unstable. Put the files in /lib/firmware.

I use the slackware 2.6.18 kernel. I set the module 'battery' to be loaded automatically. I have no USB devices(including mouse) connected before after the boot, otherwise ACPI freezes the whole thing on boot. The alternative is to not load acpi, 'acpi=off' to kernel options in either lilo or grub configuration file.

Changes to /etc/rc.d/rc.modules-2.6.18:

Uncomment: /sbin/modprobe acpi-cpufreq Uncomment: /sbin/modprobe cpufreq_ondemand, but of course you can use one of the others. Append: /sbin/modprobe battery

In case the link isn't updated:

$ rm /etc/rc.modules $ ln -s /etc/rc.modules-2.6.18 /etc/rc.modules

To save the sound level add 'alsactl store' to /etc/rc.K, but before things start to get killed:

[...] # Set the path. PATH=/sbin:/bin:/usr/bin:/usr/sbin # save alsa sound level alsactl store # Load any needed keyboard mappings: if [ -x /etc/rc.d/rc.keymap ]; then [...]

Other: slapt-get - package manager with norwegian mirror, updates and upgrades and installs packages from (possible multiple) repositories you add. Mine, /etc/slapt-get/slapt-getrc:

WORKINGDIR=/var/slapt-get EXCLUDE=x86_64 SOURCE=ftp://ftp.slackware.no/pub/linux/slackware/slackware-11.0/ # SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-11.0/ SOURCE=http://software.jaos.org/slackpacks/11.0/
  • gaute
gnome-schedule 1.1 / 02 Dec 2006

Gnome-schedule is a graphical configuration tool for crontab and at daemons, it is written in python and gtk. You can add reccurent task and task that will be executed only once. You can make templates for easy access to tasks you often use.

The new version is using datafiles to save extended at and crontab data in the ~/.gnome/gnome-schedule/ folder. Like titles and icons for the task. The crontab parser is ported from vixie-cron.

The new way of doing these things should fix quite some problems we had earlier with parsing, and many bugfixes has been applied.

Homepage: http://gnome-schedule.sourceforge.net Screenshots: http://gnome-schedule.sourceforge.net Download: http://sourceforge.net/project/showfiles.php?group_id=112183 Bugs: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-schedule

Thanks to developers, translators and testers that have contributed to gnome-schedule.