circle.ch weblog by Urs Gehrig
10. July 2007
12. July 2006
zlyfe is the place where you can tell others about the most memorable, astonishing, or funniest moments in your life.Grundsätzlich kann man das und vieles mehr auch auf anderen Plattformen. zlyfe  pflegt aber einen besonderen Bezug zur Schweiz - sprich - die Technologie kommt aus Bern .
03. May 2006
23. March 2006
03. March 2006
Tout ou partie des contenus des blogs peuvent être cités ou repris dans les différentes rubriques du Service BleuBlog et peuvent être diffusés de façon publique, notamment par une éventuelle publication dans les titres d′Edipresse Publications SA, groupe Le Matin.Jeder Blogger ist sozusagen "Journalist on hold" - falls ein interessanter Artikel oder ein Bild, Video oder ähnliches von der Redaktion erspäht wird, so kann dieser Inhalt in einer Publikation der Edipresse Publications SA, groupe Le Matin, publiziert werden.
Der Blog Service wird durch Kaywa Technologie betrieben. Die Dokumentation für den User wird in einem Wiki angeboten .
08. October 2005
My next edition of business cards will probably have not only the human readable information but also a QR code printed on it. Thus, mobile phones with QR code decoders will be able to do the job of business card scanners. A convenient implementation would be a QR code to vCard converter , to make the address organization in the mobile phone as easy as possible.
06. October 2005
But anyway. QR codes are kind of twodimensional barcodes .
While conventional bar codes are capable of storing a maximum of approximately 20 digits, QR Code is capable of handling several dozen to several hundred times more information.20 digits are not enough to encode a typical blog title, a link, a date string and some copyright information. As an example, the QR coded string for this blog post is: "QR coded blog entries, 06.10.2005 00:23:26, http://circle.ch/blog/p1773.html, CC-by-sa_2.5". The QR code library behind my implementation is written by Y. Swetake .
If it makes sense, to link from a QR code to a blog post, is not yet plain clear. But I could imagine a simpler, maybe automated navigation for mobile phones:
Update: The ETH Zürich has a project running called "Visual Code Recognition for Camera-Equipped Mobile Phones" . They also provide so called Recognizer software for Symbian OS based mobile phones.
19. September 2005
18. September 2005LiveSearch has not been available for a short period of time on this blog. So I reenabled and refined it a bit. It searches now not only blog posts but also wiki titles. Further there is a search term hightlight function, which should make the reading of the result set more comfortable.
07. September 2005
As the current petrol prices are rising, I would like to see an SMS service, where you can send something like "Lorraine, Bern" to a certain number and in return you would get an MMS with a map with a red outlined track to the next petrol station with the lowest prices on petrol. ;)
06. September 2005
One method to refine the results could be that the content of a blog post should be tokenized, stemmed , and put into a FULLTEXT search query against the existing entries. That code on the other hand is not yet finished ;)
30. August 2005
Freetag  is a module that implements a simple, fairly robust beginning of a tagging and folksonomy system. It works with PHP4 and MySQL 3.23 so far, and i imagine that if it gets popular, it should be easy to port to additional databases and/or languages.Maybe a way to build up its own tagging repository. Acutally I haven't tried, but according to the docs it is promising. As to feed the database, one could use his own tags or category names first.
There are probably at least two ways to tag a blog post. Either tags selected by hand at the time of writing or as a self-tagging system (algorithm), that takes e.g. the content of a blog post, analyzes it and applys the tags to the post.
Some more thoughts on tagging and retagging at overstated.net .
29. August 2005
The Term Extraction service provides a list of significant words or phrases extracted from a larger content.It can be implemented by making use of the Yahoo! API . One might then need to sort out the result set a bit and use them as "tags". Since this blog has no cache and the API only lets me have a limited number  of requests a day, I will not dive into it yet ;) For those using PHP, there is a so called yahoolib availabe.
28. August 2005
ALTER TABLE b2posts ADD FULLTEXT post_related ( post_title, post_content )A typical SQL query looks like:
SELECT ID, post_title, post_content,The you only need to handle the results and format it with a little bit of HTML. Thats it.
printf("<a href='/blog/p%s.html'I preferred to chose this solution from having e.g. a switch with ranges of posts/category to point to different style classes like size1, size2, size3 etc.
I guess either with MySQL FULLTEXT search  or Bayesian classification  one could handle out something similar on his own blog.
03. August 2005
26. April 2005
25. April 2005
15. April 2005
Innert kurzer Zeit haben sich Weblogs vom Randphänomen zum Mainstream im Internet entwickelt. Zu Millionen veröffentlichen Einzelpersonen oder Gruppen auf diesen notizbuchartigen Webseiten wichtige und belanglose, witzige oder ernsthafte Inhalte; sei dies als Text, Bild oder Ton. Prominente tuns, Politikerinnen auch, Wissenschaftler, Musikerinnen und Tagebuchschreiber sowieso. Kurz: Hinz und Kunz bloggen.
Mit den Swiss Blog Awards wollen wir besonders gelungene Weblogs auszeichnen und gleichzeitig eine Plattform schaffen für das Phänomen an sich. Mit der gleichen Selbstverständlichkeit wie alljährlich die schönste Frau und der schönste Mann ausgezeichnet werden, sollen auch die originellsten, auffälligsten, schönsten, sprachwitzigsten Weblogs gewürdigt werden.
Wie und wann und wo die ganze Chose über die Bühne gehen wird, wer die Weblogs nominiert, wer in der Jury sitzt, ist alles noch Gegenstand von Diskussionen, an denen auch Du Dich beteiligen kannst. Das provisorische Organisationskomitee bestehend aus:
* Jan Zuppinger, pieceoplastic.com
* Nick Lüthi, bernergazette.ch
* Matthias Gutfeldt, blog.ch
* Urs Gehrig, circle.ch
hat unter http://blog.ch/award/ ein Weblog eingerichtet, wo der Stand der Dinge nachzulesen ist. Die Kommentarfunktion steht allen offen, die ihre Ideen einbringen wollen.
Nach einem provisorischen Fahrplan gehen wir davon aus, dass die Awards-Zeremonie frühestens Anfang 2006 stattfinden wird. Bis dahin gibt es einiges zu tun. Packen wir es an!
Jan, Nick, Urs & Matthias
30. March 2005
Loïc d'Anterroches by the way has implemented a PHP Naive Bayesian Filter  that I could imagine would help me out the most with the trackback spam. Captacha is no solution there and I would rather prefer the "Bayesian Way" compared to semi-automatic solutions like moderation, blacklisting et.al. By the way, the script by Loïc did work right out of the box. ;)
24. March 2005
23. March 2005
Most coding seems to be done by donncha.
22. March 2005GeoURL is back online as Version 2.0 beta . Ask Bjørn Hansen who took over the development from Joshua Schachter - aka del.icio.us programmer - already pointed out a new firefox extension that integrates GeoURL services .
16. February 2005TinyMCE.
09. February 2005
By the way; Dean ist dann doch nicht Präsident geworden. Und Kerry übrigens auch nicht ;)
08. February 2005
And we aggregate the del.icio.us tag "lots.ch", which will be displayed on the page. If you have an interesting link somehow related to lots.ch, just tag it with "lots.ch" and the link will show up on the OpenBlog.I started yet another tag on Technorati as you can see below .
Feel free to link in. But what counts most; just do not forget to visit us in Bern finally ;)
07. February 2005
KABLOG is a tool for mobile phones and PDAs that allows you to post photos and blog entries to blog servers and services such as TypePad, Movable Type, Blogger, B2, Blog-City, UserLand (Radio), Roller, SnipSnap, and other blog servers that support either the simple blogger xmlrpc interface or the extended metaWeblog interface. In addition, KABLOG provides extended support for posting entries to TypePad/Movable Type.As far as I can see, it also works with images.
01. February 2005
Blogger Ausstellung in ZürichNaja, das Obgenannte kann man auf zwei Arten interpretieren; entweder haben sich die Redaktoren in Zusammenhang mit der Ausstellung das erste Mal mit Blogs beschäftigt, oder aber sie haben Blogs bereits als eine ernstzunehmende Informationsquelle erkannt und als Konkurrenz, statt als Kontrolle oder Ergänzung der Medienlandschaft interpretiert und versuchen nun, die Blogger als Narzisten  zu verniedlichen. Erfolg verpflichtet - nur fragt sich nur wen? Eine Kurzrecherche hätte eigentlich ein anderes Bild von Bloggern vermitteln müssen. Aber wie hiess es doch gleich? Kommt Zeit, kommt Rat. ;)
27. January 2005
I need to add a gravatar plug-in in this blog I guess. ;)
Update: As this blog runs still b2/cafelog/urs-häck, I will not be able to simply add-on those wordpress plug-ins. But worth mentioning anyway [3,4].
Comments (2) Permalink del.icio.us
Grabbing a frame out of a video is as simple as follows. It took me quite some time to figure out the appropriate options, since the web and the documentation did not yet satisfy my needs:
$ ffmpeg -i test.3gp -f singlejpeg -img jpeg -y test.jpgI am sure this will boost video blogging enormously . I first was heading for mplayer, but mplayer is IMHO kind of related to X and we do not really want X to be installed on a production server, do we?
Finally, I would like to talk about animated GIF files and provide an example. As with a combination of Imagemagick and ffmpeg, it is a matter of two command lines evtl. one (I am not a pipe specialist ;). As shown below, ffmpeg generates a set of 10 images and Imagemagick converts them to an animated GIF:
$ ffmpeg -i test.3gp -f image -img gif -t 1.0 test%03d.gifFeeback always welcome ;)
16. January 2005
09. January 2005
07. January 2005LiveJournal backend know-how . Some related information is available about the wikipedia back-end .
06. January 2005
27. November 2004
Update: More of such: http://www.haslo.ch/permalink_469~ger
25. November 2004
This project is a school essay about dealing with atom format, HTTP request and XSL transformation.The code is available under the GPL license. Let's hope this will ignite some further implementations.
Yoan also has a short presentation available .
19. November 2004
17. November 2004
12. November 2004
06. November 2004WikiAgenda and trackbacked this event from this post... Just playing ;)
Update: It just seems that that Wiki trackback does not work anymore. The hosting partner switched to safe_mode which probably causes the problem. I will need to find a workaround.
31. October 2004
Do you have any idea why a few hosts are fetching del.icio.us/rss/urs so frequently?I am always amazed, whom of you out there could be interested in my blog posts or - as it seems now - my bookmarks. Nevertheless, blogging to me has been like using a pocket- or scrapbook to jot down my thoughts, ideas and things I would forget within no time ;) Anyway, it is good to have folks like Joshua to provide such fancy services like del.icio.us.
Update I: By the way. The last of my bookmarks saved on del.icio.us was a link pointing to an article in the NZZ . Mr. Vasella is told to have said that those who waive the patent protection would undermine innovation. Maybe this is a bit too simple. An egg-and-chicken problem maybe. First we need innovation and maybe then it can be a good idea to protect that innovation with a patent. But just have a look at the writing of Karl-Friedrich Lenz : "Grenzen des Patentwesens. Konkrete Maßnahmen gegen die Patentinflation."; worth reading.
Update II: via chregu 
"Es spricht einiges dafür, dass Patente auf Software, die in USA gängige Praxis sind und in Europa vor ihrer Legalisierung stehen, in Wirklichkeit die Innovation einschränken. Europa könnte immer noch den Kurs wechseln." Deutsche Bank Research And Switzerland?
30. October 2004BlogCMS . Worth to look at, as it seems .
Comments (0) Permalink del.icio.us WP2PDF  which is an add-on for Wordpress to generate PDF files from blog posts. What do we need more? Maybe a single sign-on handling; then just have a look at chregu's post  and modifications to have his bxcms-blog to interoperate with Sxip services.
Somewhere on my machine there is a homegrown blog-post to PDF generator laying around: the concept of my implementation was this:
- there is no guaranty, that blog posts are wellformed XHTML; use PHP PECL tidy to fix that.
- have a look at FPDF, a PHP class to convert content to PDF; make sure your content is XHTML.
- glue the blog output, the tidy conversion and the PDF conversion together.
E voilà. Maybe, just skip the above and look at what Radek Hulán scripted .
22. October 2004
21. October 2004
Comments (0) Permalink del.icio.us
20. October 2004
19. October 2004
We built Picasa because we were frustrated with how difficult it was to find, organize and do things with our digital pictures.Picasa is now part of Google . A quick look into the Googles businessplan(s) would probably clarify a lot ;-)
 via http://www.moblogging.org/2004/07/google_moving_i.html
18. October 2004
17. October 2004
06. October 2004
28. September 2004
18. September 2004
12. September 2004TypePad and enable multiplatform blogging ; obviously Joi wasn't in Helsinki just because he likes travelling ;-)
Sieben Millionen bloggen http://www.sonntagszeitung.ch/dyn/news/multimedia/414514.html
08. September 2004
As quite a bit a fan of the brainstorming tool freemind I am pleased to read that someone implemented a del.icio.us to freemind conversion . The python script basically grabs the del.icio.us links and transforms them into the appropriate freemind XML format. Maybe kind of related is extisp.icio.us .
13. August 2004
12. August 2004FeedBurner is currently running as a "pre-alpha" platform providing variuos tweaks on your feeds. FeedBurner e.g. turns your Atom feed into RSS, reports statistics or provides services such as the "Mobile Filter":
Mobile FilterThanks to Matt Shobe  for giving me good reasons to move from Atom 0.2 to 0.3 ;-)
19. July 2004
18. July 2004CommuniCam MCA-25 with VGA quality. Then, some weeks ago, I got a T610 for a few Swiss Franks, knowing to step behind regarding the quality of the built-in CIF camera  compared to the MCA-25.
Just recently I had the chance to play around with the new SonyEricsson K700i for about two weeks . The K700i looks like the successor of the T610 or T630 to me. The phone is only a little bit bigger than the T610. SonyEricsson added a lot more memory and a new VGA camera with flash light. The phone records also video sequences of relatively unlimited length in the new 3gp  format. The navigation with the joystick is a pleasure an the software has some comfortable addons compared to the T610. The phone is pretty cool for mobile bloggers.
07. July 2004
17. June 2004GeoBlog - ist die, den vom Mobiltelefon aus auf den Blog gesendeten Bildern eine lokalisierende Komponente beizufügen. Das wäre wohl einfacher, wenn die Mobiltelefone GPS mitgeliefert bekämen; was nicht ist, kann noch werden.
Bei GeoBlog handelt es sich um einen Workaround: In einer Tabelle  sollen Längen- und Breitengrad von Mobilfunkantennen eingetragen werden. Die beim Mobiltelefon erscheinende Zelleninformation "Bern-West" sollte nun mehr oder weniger genau zu einer bestimmten Lokalisierung führen, die folglich mit dem Bild, sofern es sofort verschickt wird, in Verbindung gebracht werden kann.
Nebst der Tabelle, die nur in aufgrund von Freiwilligenarbeit entstehen kann und auch entsprechend unter einer Creative Commons Lizenz steht, bedarf es einer Software, die auf den gängigsten Telefonen installiert werden kann und mindestens die Zelleninfo ausliest und dem MMS oder E-Mail des Blog-Post automatisch mitliefert.
What do you think of it?
08. June 2004
05. June 2004
31. May 2004
24. May 2004http://rpc.pingomatic.com/ and they will ping a subset of their services. Currently, this is a fixed subset of seven services:
17. May 2004
14. May 2004GeoURL  site is currently down for renovation. I am curious what it will look like and what features they present on their comeback.
28. April 2004
26. April 2004
23. April 2004
Before we cat get mobile phones with integrated GPS capability, I guess that these module would do a good job delivering GPS data which can be submitted together with the blog content. If I would blog from a certain location, it would be quite nice to display the coordinates and leave a trace between consecutive posts. It simply adds more value to the content.
I am aware, that others will track the trace and tease you up "hey, what did you do in Champéry; shouldn't you have been in London at that time?"... but that is up to you, to decide what you reveal of yourself. Isn't it?
14. April 2004http://ping.kaywa.com you can find the aggregated blog entries; that is where you find the most recent entries. Some others are here:
- etc. etc.
22. March 2004
The image above show the result of an implementation of one library together with some PHP image handling which was done by Andrew Collington . It was very easy to implement it into my Wordpress Image Handler.
17. March 2004SharedID  and talkr.net  have been quite some discussion over potential comment identification resp. authentication systems. The other day I reawakended my crosspost idea based on trust levels with FOAF . SharedID has an interesting demo online, where "a service magically" retrieves your FOAF file to a give email address and finally completes a comment form with the appropriate user data .
What I would like here is a common service API to make that service compatible. Oh, no, I haven't forgotten about George  Orwell ;-)
XFN is a lightweight method of annotating links to indicate a personal relationship with the person responsible for the linked resource, and as such strengthens existing links in a manner that is both machine-readable and human-comprehensible.XFN in combination with CSS2 enables a very easy way to viszalize annotations. XFN is much easier to parse and handle and from that point of view, I am sure it will spread faster in conjunction with blogs as FOAF currently is doing. It is no replacement of FOAF but a gateway drug ;-p
16. March 2004
But instantly I had that other random thought; a javascirpt transforms the entered text into the preview. As long as you do not copy-paste any prewritten text, writing comments usually takes quite a while.
Now, the time argument could eventually be used to prevent comment spam in some way. If the spam is posted automatically, the time used, is probably around zero or marginal compared to handwritten text. Maybe this could be just an additional method. What do you think?
14. March 2004
The other day I was just fed up using the ftp client to clean up a mal-orientated image. So here is a basically stand-alone script  to treat (rotate, resize, delete) images used e.g. with Wordpress . The PHP based script requires either the GD 2.0, Imagemagick or PHP ext/imagick to be installed. PEAR Image_Transform is an option as well, but not necessary. The script has been tested on Windows as on Debian. You can copy it to wp-admin and configure your base directory where you keep your images.
27. February 2004
Does your weblog own you?
26. February 2004
You may find RDF examples of the different license types at creativecommons.org . Currently I have only one RDF license output per page. But of course you can add one per-post and assign: dc:title="$title", dc:identifier="$postURI", dc:subject="$category", dc:description="$description", dc:creator="$author" and dc:date="$date" as well .
18. February 2004
The good thing on weblogs, as Bertrand notes, is that it tells "the story". This is his view of the use of a weblog for project. Quite an interesting aspect if you want to know, what was your project a year ago.
Desert Island Tools: http://lots.ch/Programm_Referat_Detail.html?id=2004.1.R.25
Oh, even if we do not stream, we do moblogging [2,3]; actually I hope the visitors do ;-p
12. February 2004
Call it an Orkut-alternative if you like ;-)
The feeds are being handled as conventional bookmarks. By pressing View>Siedbar>RSS Reader one will get a list of channels and in a lower window a separate list of item titels. The best part is the overview of the aggregated post. One can apply a custom CSS to it.
04. February 2004
The title, 2004-02-04, John Doe, http://example.com/blog/item123.html
02. February 2004GeoPing visualizes blog activity around the world in an SVG map . Every blog gets a red dot on if recently updated and is diminishing 10% opacity every hour.
01. February 2004WordPress CSS Style Competition running until Feb 6, 2004. Most of them are stunning .
I was thinking of a link-back URL to the copyrightholder's site which implements a kind of pingback mechanism 
Pingback is a method for web authors to request notification when somebody links to one of their documents. Typically, web publishing software will automatically inform the relevent parties on behalf of the user, allowing for the possibility of automatically creating links to referring documents.To come around the problem of down-sites, there could be set up an independent foundation that hosts accounts for copyrightholders. The foundation would simply a) an account specific URL to include in the license b) statistics of link-back requests (date, evtl. IP of Remote Host). Eventually, that foundation could or should be hosted by the WIPO.
There have been some thoughts mentioned on the CC weblog earlier but not yet that specific . I think one of the main problems with simple text is, that any RDF or link encapsuled within a blog-post get lost while doing a copy-paste from (X)HTML. Personally I try to give credits to every snippet of text which is used here to comment, to clarify or to explain within a post. So giving proper attribution is not such a problem. But still, that does not - always - solve the discribed issue of informing the copyrightholder...
31. January 2004
29. January 2004
On behalf of the compatibility issue Eric S. Raymond  worked out some guidelines related to open source in his Licensing-HOWTO. The compatibility between different licenses is from my point of view quite important e.g. for work that has been published prior the CC era. We should eventually start a compatibility list as it has been done for licenses regarding open source software. The idea is porbably not new though ;-)
27. January 2004
Fatal error: Maximum execution time of 120 seconds exceeded in /home/circle.ch/htdocs/blog/b2comments.php on line 184