Markus "guruz" Goetz

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


forward to the next page


Januar 29, 2008 at 10:45 pm.
Abgelegt unter: Coding, Jabber
guruz @ 10:45 pm

userImportExport plugin of Openfire

Change some lines and be able to merge users instead of having to delete and re-import them.




Januar 29, 2008 at 10:34 pm.
Abgelegt unter: Jabber
guruz @ 10:34 pm

Openfire and transports

In case you have migrated to Openfire, you may have some problems with ICQ, AIM etc. users on your roster. It MAY help to set the following properties to true:

 plugin.gateway.tweak.percenthack
 plugin.gateway.tweak.persistentroster

More information can be found hidden somewhere on the Openfire site.

PS: Jabberd 1.4 to Openfire export tool coming here soon.




Januar 29, 2008 at 10:28 pm.
Abgelegt unter: Coding, Jabber
guruz @ 10:28 pm

JDBCCryptAuthProvider

I’ve written a component for Openfire which enables authentication of users via a crypt() password in a DB.




Januar 26, 2008 at 4:18 pm.
Abgelegt unter: p300
guruz @ 4:18 pm

URL of p300 website has changed

The URL of the p300 website has changed from p300.fauleban.de to p300.eu

This should be easier for non-german-speaking people to read and remember. (by the way, “faule bande” means “lazy gang”)




Januar 26, 2008 at 3:04 pm.
Abgelegt unter: Meta, Software, Web
guruz @ 3:04 pm

Properly verifying your site at Google Webmaster Tools when using Wordpress

The GWT will check if your site returns a HTTP 404 (=not found) for a file that should not exist. This has to be done because otherwise it would not make sense to have to check if a file google_blabla.html exists because there may be sites where every request returns a HTTP 200 (=everything OK).

With my current Wordpress setup and theme this lead to some problems, because every URL exists when using permalinks (at least for me). But fear not, you can modify the Apache config lines for the permanlinks to:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !noexist_YADAYADAYADA.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

This basically means that rewriting will only be done if the file is not named noexist_YADAYADAYADA.html. And since this file really does not exist, your web server will return a HTTP 404. To see what you need to enter for YADAYADAYADA.html check your access log when Google is trying to verify your site.

Hope that helps ;)




Januar 24, 2008 at 11:17 am.
Abgelegt unter: Jabber, Linux
guruz @ 11:17 am

Creating an Openfire RPM

  1. Make sure you have a lot of packages installed: subversion rpm-build rpm-devel ant ant-junit ant-scripts ant-jmf ant-nodeps  ant-antlr junit (this may be way too much, but it worked for me)
  2. Checkout the Openfire sources from SVN
  3. In build/ run ant installer.rpm
  4. Happy compiling and installing :)



Januar 21, 2008 at 9:34 pm.
Abgelegt unter: Coding, Meta
guruz @ 9:34 pm

Wordpress: RSS Feed for Categories

Add this into your theme file:

<?php
if (is_category())
{
?>
   <link rel="alternate" type="application/rss+xml"
   title="RSS 2.0 for category"
   href="<?php print $_SERVER['REQUEST_URI'] . '/feed' ?>" />
<?php
};
?>



Januar 21, 2008 at 8:42 pm.
Abgelegt unter: Software, Web
guruz @ 8:42 pm

browser.js in Opera

Was da alles fuer Site-fixes gemacht werden…




Januar 21, 2008 at 8:38 pm.
Abgelegt unter: Interesting, Politik
guruz @ 8:38 pm

EU-Gruene und Filesharing




Januar 18, 2008 at 1:30 pm.
Abgelegt unter: Movies, Review
guruz @ 1:30 pm

I Am Legend

Die Dystopie “I Am Legend” mit Will Smith ist nicht unbedingt ein sehr guter aber doch ein sehr sehenswerter Film. Irgendwie bedrueckt einen so eine leere Grossstadt ziemlich, aber die Leere ist gleichzeitig echt schoen anzusehen. Und nachts ist es ja dann doch nicht so leer und leise ;) Die Bedrohung durch ein genmanipuliertes Virus halte ich uebrigens fuer ziemlich plausibel, der Rest ist natuerlich unlogisch.

Ich werde den Film auf jeden Fall mal wieder anschauen, auf DVD o.ae..
Das Buch-Original ist uebrigens von 1954.




Januar 18, 2008 at 1:09 pm.
Abgelegt unter: Web
guruz @ 1:09 pm

T-Online und OpenID?

t-id.org ist interessant: ” Dies ist der T-Online OpenID-Server.”

Ein Whois auf die Domain spuckt uebrigens was total un-Telekom-iges aus. Seltsam, denn wer ist Ralf Karge?




Januar 16, 2008 at 9:36 pm.
Abgelegt unter: Apple
guruz @ 9:36 pm

Steve Jobs ein Analphabet?

In der NYT hat Apple-Boss Jobs ueber Amazons E-Book Reader Kindle gesagt, dass das Ding ein Flop wird weil eh niemand mehr lesen wuerde. Zwar halte ich vom Kindle auch nichts, denn schliesslich ist es damit nicht moeglich kostenlos und einfach eine PDF oder beliebige Newsfeeds draufzumachen aber die Behauptung dass eh niemand mehr was liest geht dann doch etwas zu weit ;)

Update 4.2.2008: Jobs is right




Januar 15, 2008 at 8:56 pm.
Abgelegt unter: Apple, Hardware
guruz @ 8:56 pm

MacBook Air




Apple hat das MacBook Air veroeffentlicht. Das “Air” im Name ist Programm: Die einzigen drahtgebundenen Schnittstellen sind DVI (incl VGA, S-Video, Composite), USB und Audio-Out. Fuer einen normalen Ethernetanschluss braucht man einen Adapter.
Technisch ist das Teil sicher sehr sehr geil, schick aussehen tut es auch. Ob ich fuer sowas Geld und Verwendung haette weiss ich aber noch nicht, momentan reicht mir mein Macbook. Oder eher andersrum? Weil mein Macbook hat 2.0 Ghz, das Macbook Air maximal 1.8 (momentan!)

Update 26.1.2008: Bei Engadget gibts ein Review. Die negativen Punkte seh ich leider genauso wie Engadget. Und es sind einige :(




Januar 15, 2008 at 7:17 pm.
Abgelegt unter: Movies, Review, Sneak
guruz @ 7:17 pm

Der Nebel

Die Stephen-King-Verfilmung Der Nebel ist ganz OK anzuschauen, aber doch eindeutig ein drittklassiger Film mit teilweise sehr schlechten Dialogen. Richtig schockieren tut der Film nicht, anekeln auch nicht (was ich gut finde :) ).

Das Unhappy-End verstimmt leider etwas die Laune ;)




Januar 14, 2008 at 8:33 pm.
Abgelegt unter: Funny
guruz @ 8:33 pm

Double vision pictures




Januar 14, 2008 at 1:47 pm.
Abgelegt unter: Fortbewegung
guruz @ 1:47 pm

Verbesserte Staumeldung durch Handypositionsdaten

Bei TomTom High Definition Traffic werden anonymisierte Bewegungsdaten von Vodafone-Handys genutzt, um genauer ueber die Strassenauslastung Bescheid zu wissen. Coole Technologie :)




Januar 11, 2008 at 8:16 am.
Abgelegt unter: Coding
guruz @ 8:16 am

Java Faces and its selectManyCheckbox (UISelectMany)

I think I have spent at least 5 hours to get a selectManyCheckbox working properly in JSF (Validation errors and more). However I have found a great source of information. On some other websites you can read that you should use an array instead of a List for the getter/setter of the backing bean.

Maybe these two clues will help you :)




Januar 10, 2008 at 4:36 pm.
Abgelegt unter: Apple, Aufreger, Software
guruz @ 4:36 pm

Netnewswire kostenlos

Argh…. einmal im Leben kaufe ich Shareware und zwei Monate spaeter wird sie Freeware.




Januar 10, 2008 at 1:16 pm.
Abgelegt unter: Coding
guruz @ 1:16 pm

Problems with the HTML id-Attribute and Java Server Faces

I had some problems using the id-Attribute to identify a JSF component from Javascript. The reason is that naming containers of JSF modify the id of their contained components. This has advantages and disadvantages. If you are using Javascript or CSS and need to identify a component, it is a disadvantage ;) The problem is known and the solution I used was using forceId of Tomahawk/Myfaces. It was the simplest thing to do, although it is not that nice to have really static ids.

You can use the Tomahawk components by changing the XML-prefix of your components in your JSF-Code from h: to t: .. that’s it :)




Januar 9, 2008 at 10:52 pm.
Abgelegt unter: Hardware
guruz @ 10:52 pm

Laptoptasche mit WLAN-Erkennung

Eigentlich keine schlechte Idee, so eine Laptoptasche die WLAN-Netze in der Naehe anzeigt. Nur macht sie wohl keine Unterscheidung zwischen verschluesselten und unverschluesselten WLANs. Dabei gibts Funknetze doch ueberall, wirklich offene nicht mehr so :(







forward to the next page