Markus "guruz" Goetz

[ index | hardware | projects and coding | p300 | blog | contact ]


forward to the next page


April 30, 2008 at 10:24 am.
Abgelegt unter: Aufreger
guruz @ 10:24 am

Irgendwie ist das mit Oesterreich…

… wie mit dem Spruch “Gelegenheit macht Diebe” oder den Waffengesetzen in den USA.

Anscheinend werden in Oesterreich schall- und gasdichte Kellerbunker vom Staat gefoerdert. Da kommt der alpenlaendische Durchschnittsperverse und Hausbesitzer natuerlich auf sehr unschoene Ideen :(




April 28, 2008 at 4:42 pm.
Abgelegt unter: p300
guruz @ 4:42 pm

New p300 look

The new p300 version will have an updated look which is more messenger-like. Also I have done some usability improvements.

Contact me if you want to test :)




April 24, 2008 at 3:42 pm.
Abgelegt unter: University, Web
guruz @ 3:42 pm

Finding papers for CS

  1. Use “The Collection of Computer Science Bibliographies“. But beware, it will often mangle your search words :)
  2. Often you can get your paper from there
  3. If Citeseer is linked there, use that to get the PDF
  4. Use the “TRY GOOGLE” link, maybe you can get the PDF with Google Scholar



April 24, 2008 at 3:37 pm.
Abgelegt unter: Web, p300
guruz @ 3:37 pm

Finding good names

Maybe Finding good names should have been written earlier :) Because p300 just means “project” + “$number_that_came_to_my_mind” :(




April 21, 2008 at 8:42 pm.
Abgelegt unter: Coding, Web
guruz @ 8:42 pm

Die Architektur von Youtube




April 21, 2008 at 11:59 am.
Abgelegt unter: Apple, Software
guruz @ 11:59 am

OS X Vorschau vs. Adobe Reader

Ich weiss schon wieso ich hier auch den Adobe Reader habe obwohl die Apple Vorschau 5 mal so schnell ist:

  1. Bessere Darstellung mancher PDFs, besonders von meiner Uni. Die haben mit Vorschau eine schreckliche Schrift.
  2. Besseres Kopieren aus mehrspaltigen Seiten. Die Vorschau will volle Breite kopieren, der Adobe Reader gottseidank nur das aus der Spalte, in der meine Maus ist.



April 20, 2008 at 4:18 pm.
Abgelegt unter: Essen
guruz @ 4:18 pm

Indisch kochen

Gestern gemacht und es war echt lecker :)

Bollywood Eistee
Vegetarisches Gemuesecurry
Rava Ladoo

Mehr Indisch Kochen Vorschlaege gibts hier.




April 17, 2008 at 1:05 pm.
Abgelegt unter: Coding, p300
guruz @ 1:05 pm

Window locations in Java

I’m currently changing the windows in p300 to a MDI interface.

While doing this, I have found a nice Java thing: setLocationByPlatform enables you to let your JVM choose the position of a new Window. This means that windows won’t be placed at 0,0 but will be overlapped according to what your platform thinks is nice.




April 16, 2008 at 10:59 am.
Abgelegt unter: Web
guruz @ 10:59 am

Geographical Location

I’ve added the geolocation of this blog to geourl.org

Finding out your longitude and latitude is easy, just use this tool

My neighborhood isn’t that interesting though :)




April 14, 2008 at 7:38 pm.
Abgelegt unter: Funny
guruz @ 7:38 pm

Werbung an der richtigen Stelle platziert

Im Klo eines Autobahnrasthofs zwischen Stuttgart und Freiburg: Werbung fuer ein Mittelchen gegen Harndrang.. direkt ueber dem Pissoir :D




April 10, 2008 at 12:15 pm.
Abgelegt unter: Fortbewegung, Umwelt
guruz @ 12:15 pm

Blue-Marketing der Autohersteller

Interessante Aussagen bei heise autos.




April 9, 2008 at 7:43 am.
Abgelegt unter: Umwelt
guruz @ 7:43 am

Swimmingpool mit Rechenzentrum heizen

Eine tolle Idee :D




April 8, 2008 at 1:26 pm.
Abgelegt unter: Hardware, Web
guruz @ 1:26 pm

Ixi Ogo

Hab gestern im Kino gesehen wie jemand mit einem Ixi Ogo ueber ICQ chattet.

Ich wuerde mir ja sowas auch gern holen, aber die Vertraege und die Software sind zu einschraenkend: Ich will nicht nur ICQ, ich will auch Jabber, IRC und SSH. Oder eigentlich nur SSH, da mein Chat-Kram eh im screen laeuft. Dafuer waer ich dann sogar bereit 20 EUR im Moant zu zahlen.. nur leider gibts das was ich will nicht *seufz*

Update: Gibt auch Inoffizielle blogs und Foren. Muesste ich mich mal schlau machen ob es “gehackte” Firmwares gibt.




April 8, 2008 at 12:33 pm.
Abgelegt unter: Hardware
guruz @ 12:33 pm

Eee PC Konkurrent von HP

Sieht sogar sehr sehr schick aus.

Von heise




April 6, 2008 at 8:31 pm.
Abgelegt unter: p300
guruz @ 8:31 pm

p300 641 has been released

The latest version of p300 is a bugfix release, fixes and enhancements include:

  • Better usage of Selector
  • Global exception handler
  • Properly set application name on OS X
  • Check if we can really allocate a new file (does not work that properly yet)
  • Do not query ourselves when getting a hostname pointing to us
  • Only use ipv4 for the moment
  • Fail if DISPLAY environment variable is set but we cannot initialize the UI
  • Make sure we don’t save duplicate addresses for a host
  • Fixed move problem with downloading 0-bytes files
  • When 75% of incoming connection slots are in use we deactivate HTTP keep-aliv

Have fun :)




April 4, 2008 at 12:01 pm.
Abgelegt unter: Coding, p300
guruz @ 12:01 pm

Catching Exceptions with an UncaughtExceptionHandler in Java

I’ve recently spent some hours to track down a mysterious bug and I just couldn’t find it. Since my application is using a lot of Threads/Workers  it came to my mind that a RuntimeException I did not catch could be the cause. I wrote a global handler for it and found where the problem was :)

The code in p300 I am using:

Somewhere in main():

Thread.setDefaultUncaughtExceptionHandler(new P300UncaughtExceptionHandler ());

The class:

public class P300UncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
    public void uncaughtException(Thread t, Throwable e) {
        System.err.println ("Uncaught exception by " + t + ":");
        e.printStackTrace();
    }
}

How to test it:

new Thread () { public void run () { throw new RuntimeException ("x");}}.start ();



April 3, 2008 at 1:44 pm.
Abgelegt unter: Coding, p300
guruz @ 1:44 pm

Using a Selector in Java NIO

For p300 I am currently using a Selector to check if I can read from or write to a socket.

However this lead me to a weird problem: I am selecting for at most 30 seconds and I have received a timeout for writing even though this can’t really be and only happens with some OS combinations. I’ve found this thread in the Sun Forums and adapted my internal logic to the information from this thread:

Instead of always selecting for OP_WRITE when I want to write, I just try to write. If i was not able to write everything (that is, buffer.remaining () > 0) I select for OP_WRITE.

This seems to work fine :)

(That fix is not in p300 619 yet, it will come with the next bugfix release in the next days)




April 3, 2008 at 1:30 pm.
Abgelegt unter: Kultur, Music, Web
guruz @ 1:30 pm

Was sagt Rick Astley zu Rick-roll?




April 2, 2008 at 9:44 am.
Abgelegt unter: Funny, Movies, Music
guruz @ 9:44 am

Muppets get you rick rolled!




April 1, 2008 at 1:28 pm.
Abgelegt unter: Movies, Music
guruz @ 1:28 pm

Auf die Gefahr hin dass ich das schonmal geposted habe

Kazakh Pop Idol Audition Hardcore Techno Remix!







forward to the next page