Merry Christmas!

Have some nice holidays!

I actually planned to do some p300 work these days, but I’ve got a lot of social obligations. Most of them I even do voluntarily ;)

p300 1011 has been released

I’m happy to announce the latest version of p300 :)

The changes are:

  • With the change from 3-character revision to 4-character, the auto updater was broken. This is now fixed for future releases. However, this means the auto upater is not able to launch revision 1011. You have to manually download it.
  • Allowing of hosts has been reworked to be more easy: p300 detects which hosts are on the LAN/VPN using multicast and broadcast UDP. These hosts are added to an “implicit allow” list. Implicit allow is only enabled for new p300 installation, not existing ones. You can enable or disable it in the webinterface.
  • Before a host is displayed as online, we make sure it is reachable with p300 HTTP. Fixes this bug.
  • There was a bug in certain Windows and Java versions when a complete drive is shared. This is fixed now.
  • Multicast TTL is now 100.
  • Removed the multicast device settings. They made no sense anyway since broadcast was also used.
  • Removed guruznetworkinterfaces.implementation.InterfaceInformationRetriever, it made no sense anymore.
  • Manual discovery in webinterface now also auto-allows the host.
  • Some smaller fixes, enhancements and internal refactorings.

If you experience any problems with network devices (like Hell4you does) in this release, please report.



Strippende Pfad-Komponenten beim WordPress-Update

Zwar ist der offizielle Weg etwas stressiger, aber ich habe bis jetzt meine WordPress-Installationen (zum Beispiel diese hier oder das Blog in dem dieser Beitrag steht) immer geupdated indem ich die neue latest.tar.gz gezogen habe und dann im htdocs Verzeichnis folgendes ausgefuehrt habe:

tar xfvz ../latest.tar.gz --strip-components=1

Damit wird das “wordpress/” am Anfang jedes Dateipfads entfernt.

Aus der man-Page:

       --strip-components NUMBER, --strip-path NUMBER
strip NUMBER of leading components from file names before extraction

Somit ist jetzt hier auch das neueste Sicherheitsupdate auf 2.6.5 installiert :)

p300 bug in Windows when sharing a complete NTFS drive

Blackout888 and oXyde reported a weird p300 bug that happens with various Windows (Vista, XP) and Java (1.6.0_04, 1.6.0_10) versions, but only in some cases:

Sharing of a complete drive (e.g. d:\) formatted with NTFS is not possible in systems affected by this bug. The reasons are currently unknown, the HTTP error reported by p300 will be “400 Not existing or not readable”.

I am currently absolutely unsure why this is happening. Is anyone else affected and can maybe tell more information?

Update 21.11.2008: new File(“d:\\”).isHidden () returns true if d: is a NTFS drive. p300 does not share hidden files, therefore the sharing will fail. Why Java / Windows behaves like that.. I don’t know, but I will look at it. But at least it means that this “bug” will be fixed in the next p300 version: On Windows we will also share hidden files.

Update 2 21.11.2008: It is actually already in the Sun Java Bug Tracker :(

Blogparade: Buerofotos

Hm, mach ich eben auch mal wieder bei einer Blogparade mit :)

Im Folgenden ein Bild meines momentanen Schreibtischs irgendwo in einem Studentenwohnheim in Oslo. Viel “Bueroarbeit” passiert da zur Zeit nicht, ausser surfen, chatten, bloggen oder an p300 arbeiten. Sehr ergonomisch ist das ganze leider momentan nicht. Ich vermisse meinen grossen Buerostuhl und mein 22 Zoll Display.

(Zum Original-Beitrag)

Weird p300 connection problems

I have spent some hours with Hell4You debugging an issue with p300 connectivity on his network. The result of the issues were that browsing and chatting sometimes worked, sometimes it didn’t. By looking at the p300-generated hostfinder webpage and debugging around with the Eclipse debugger we were able to track it down: Some of his hardware / software is duplicating UDP packets and using its own IP as the source IP of the duplicated packet. Really really weird stuff. This resulted in connectivity sometimes not working because the wrong IP was used by p300.

The latest p300 version that will come in some weeks will fix this issue: It will always be checked with HTTP if some ip:port is really running p300. If you experience the same problem as described here, I can send it earlier :)

For the record, he is using a 3com OfficeConnect and a SpeedTouch 780wl.

Lesson learned? Never trust UDP!

Using Subclipse (Subversion Client) with Eclipse Ganymede on Mac OS X

I had some trouble with this (updated my Eclipse for my p300 development), however this works for me on 10.4.x:

  1. Install the CollabNet SVN package from http://www.collab.net/downloads/community/
  2. Install Eclipse Ganymede
  3. In Eclipse, in Help -> Software Updates -> Add Site http://subclipse.tigris.org/update_1.4.x
  4. Check the latest Version of Subclipse and JavaHL and have it installed
  5. Restart Eclipse.. and you don’t get “unable to load default SVN client” anymore :)

The svn binaries are now in /opt/subversion, so maybe you also have to adapt your PATH variable in $HOME/.profile

Ubuntu (Linux) Cola… nicht.

Nein, nicht ganz :D

Ubuntu heisst laut Wikipedia auf deutsch in etwa „Menschlichkeit“, „Nächstenliebe“ und „Gemeinsinn“. Diese Ubuntu Cola (gesehen in Oslo) hat damit zumindest ein bisschen was zu tun, schliesslich stammt sie aus fairem Handel:

Beim naechsten Mal kauf ich eine, versprochen :)

Update 23.11.2008: Ich habe eine gekauft. Geschmacklich war sie OK, hat aber eher wie die Supermarkt-Colas und nicht wie eine der beiden groessten Colamarken geschmeckt. Aber ansonsten passts schon, die 16 NOK waren kein herausgeschmissenes Geld ;)

p300 987 has been released

I have found the time to release the latest p300.

The changes are mostly bugfixes, thanks to all reporters (oXyde and more):

  • Fixed two very stupid bug in the downloader that prevented a download from finishing when it had multiple sources (e.g. if a host we are downloading from was reachable via LAN and via VPN)
  • Fixed another bug in the downloader that (sometimes?) prevented files over 2 GB from finishing
  • Try to more agressively send multicast packets. This should eliminate “bad argument for IP_MULTICAST_IF2: No IP addresses bound to interface” messages
  • Most options in the webinterface are hidden per default. There is a checkbox to have those options shown again
  • Moved some stuff from MainDialog methods in Action objects
  • Search edit field in main window gets the keyboard focus when window is shown or mouse is over the edit field
  • Link to iTunes store in the shopping search results (US, Germany, Belgium). Tell us if you need more
  • After click on send button in chat the input field gets the focus
  • “Open results in webinterface” button in the search results
  • Browse a directory directly from the search results
  • More options in the main menu
  • double click on LAN/VPN hosts in main window: Add a host
  • The search from the browse window now opens the new search GUI instead of the old webinterface search UI
  • The window for the upload log and the console should now properly auto-scroll (at least on Linux and OS X). Also, their size has been limited to 512 KB

Have fun :)



Lachs-Pie (Kuchen bzw Quiche)

Boden fuer den Schwedischen Laxpaj (Ja, schreibt sich wirklich so!):

  • 3 dl Mehl
  • 150 g Butter/Margarine
  • 3 el Wasser
  • Teig kneten, in eine Form einkneten

Fuellung:

  • Spinat oder Brokolli kochen
  • Lachs anbraten und wuerzen
  • Beides mit Ei und Mehl vermischen, evtl. noch Creme Fraiche und eine kleingeschnittene Tomate dazu.
  • Wuerzen!
  • Masse auf den Boden fuellen

Im Backofen bei 200 Grad ca 30-50 Minuten backen.

Guten Appetit ;)

Schwedischer Lachs-Pie

Schwedischer Lachs-Pie