[ devel ]
by marc ammann
@ 08.06.2008 03:23 CEST
Whew, it's been a long time since I really blogged about something worth blogging :)
Today, I want to announce the release of `GottaGo'. An iPhone application to help people get around in Switzerland if they will (soon?) own an iPhone :)
It shows you your closest stations and their corresponding link informations. I've dreamed about such an app since I moved to Zurich, so now I had the opportunity to make it myself.
There are a few things yet-to-come like when you have to switch trains or which number of train you have to take etc. But these are just a few more xpaths :)
Check out the video (.mov) here (with sound!):
GottaGo Movie
Check out the screenshots:



[ devel ]
by marc ammann
@ 27.05.2008 03:36 CEST
In case anyone will ever wonder again, how to get just a plain html time schedule from fahrplan.sbb.ch..
set your post body contents to:
http://pastie.caboo.se/203747 (damn cms..)
and use the following url:
http://fahrplan.sbb.ch/bin/query.exe/dn?externalCall=yes
watch out for the date (not in the past) as well as the time..
marc@yoda:/Volumes/hdb1/Work/okapi-core> svn up
At revision 10000.
[ devel ]
[ tech ]
by marc ammann
@ 06.03.2007 02:17 CEST
well, I just had a nice experience with debian. besides many other things in debian which are really just crap, I found a hidden feature today..
first, read this..
5.5 /var/cache : Application cache data
5.5.1 Purpose
/var/cache is intended for cached data from applications.
Such data is locally generated as a result of time-consuming I/O or calculation.
The application must be able to regenerate or restore the data. Unlike /var/spool,
the cached files can be deleted without data loss. The data must remain valid between
invocations of the application and rebooting the system.
Files located under /var/cache may be expired in an application specific manner,
by the system administrator, or both. The application must always be able to recover
from manual deletion of these files (generally because of a disk space shortage).
No other requirements are made on the data format of the cache directories.
well, since I kind of know these rules by heart, I assumed, that at least there won't be any system critical data in /var/cache.. (damn guys of the holy-crappy-debian: do you even see it? CACHE!)
surprise surprise, I moved my /var today because of space problems, and yes, you guess right, I did not copy /var/cache.. why should I?
Now, where is my /var/cache/debonf folder and files?! hmm.. let's regenerate it.. oh, wait. from where?
there seems not to be a way to recover these files.. feel free to comment if you know a way.
I copied it from an other debian machine, actually an ubuntu machine and I hope it will work out for the moment..
well done, debian, well done..