Archive for November, 2010

GWAN – the fastest webserver in the world?

Tuesday, November 30th, 2010

Sometimes you keep wondering, why really big companies still roll with PHP. Facebook, for instance, created a PHP to C++ Crosscompiler to allow more connections handled per server. Why not start out in C immediately?

G-WAN claims to be the fastest webserver in the world. It is not open source, and it's creator has some fantastic claims – i.e. G-WAN being 5.000.000 (that's right, 5 million) times faster than Microsoft IIS under certain circumstances.

As of now, there is a mention in Wikipedia but no full entry. Information seems to be very sparse on the Internet, most pages offering a download of the software.

Anyways, it's got some very interesting features which make it worthwile to have a look at:

  • configuration is done exclusively through folder structure (!)
  • small size, freeware
  • one threaded model vs. Apaches one thread for each connection
  • C scripts for content generation

The main downside is it being closed source. This is bad, because you are not able to review the source code for "phoning home", and if the developer decides to discontinue the product, no one else would be able to continue it.

As to the other downside claimed by some (using C instead of PHP): A reason for companies going the PHP route is the easy availability of a lot of pre-existing code libraries. You just have to build on top of this software to create your product. Sometimes it's easy to take an existing product and extend it (which is easily done having the source as it is mostly the case with PHP based software…). G-WAN could fit into the niche of delivering static content or generating images – taking the load off your PHP/ASP/… frontend step by step. And maybe some time you'll find yourself going the C route.

Here are some more links:


Zimbra Stats not working?

Friday, November 26th, 2010

In Zimbra Release 6.0.6_GA_2324.DEBIAN5_64 UBUNTU8_64 FOSS edition I had the problem, that a zmcontrol status would always show the service stats as stopped, no matter how often you would stop and start all services. After reading a bit on the Zimbra forums, I managed to fix that.

Do (as root):

chown -R zimbra:zimbra /opt/zimbra/zmstat

/opt/zimbra/bin/zmsyslogsetup

These are the two commands you need to run. After that, su zimbra to become the user zimbra and zmcontrol stop and zmcontrol start your server. Voilá, zmcontrol status should now show the stats as running.

Apparently the problem is, that some directories stats tries to access are set up incorrectly with the owner root instead of Zimbra. The error is reported to randomly occur again, so you may need to repeat the chown part.

Also see these websites for further details:

Hand-Tool in Adobe Reader X

Thursday, November 25th, 2010

Adobe hat den neuen Acrobat Reader sehr schön aufgeräumt und beschleunigt. Leider haben sie anscheinend dabei auch die Werkzeugpalette über Bord geschmissen. Das gute alte Hand-Werkzeug (Hand-Tool) ist immer noch da, muss allerdings über die Tastatur aufgerufen werden.

In den Einstellungen im Adobe Reader X gibt es eine Option "Zugriffstasten zum Zugreifen auf Werkzeuge verwenden." Ist diese aktiviert, so kann man das Hand-Tool ganz bequem über die Taste "H" am Keyboard aufrufen.

Misc.

Thursday, November 25th, 2010

IPs
192.168.178.1 = Fritz.box
192.169.2.1 = Telekom Router (SpeedPort)

 

Webseiten-Tools

Nützliche Links für Designer

Bildquellen

Tipps von Martin Schaffer für InDesign

  • Platzhalter immer hinter dem Paragraphen, nie davor
  • Bevor Dokumente mit Bildern in den Druck kommen Farbprofile überprüfen und im Notfall konvertieren

Signieren ohne Acrobat

Monday, November 22nd, 2010

Die oben beschriebene Lösung ist kostenlos.

Windows 7 Hibernation Problems

Monday, November 22nd, 2010

When I run cmd.exe as Admin ("elevated command prompt"), and enter

powercfg -h on

I get this error: "The system could not create the hibernation file. The specific error code is 0xc0000043."

Good freeware site

Sunday, November 21st, 2010

http://www.techsupportalert.com/

It lists pros and cons in an easy to view list.

Geniale Fotografie & Flash Gallerie

Sunday, November 21st, 2010

Dieser Photograph ist gleichzeitig ein Programmierer und hat eine sehr schöne Galerie geschrieben. Nicht nur, dass seine Galerie funktionell schön ist, in der Demo hat er auch wunderschöne Fotos online gestellt.

Die Galerie an sich ist kostenfrei verfügbar, und funktioniert auch mit minimalem Konfigurationsaufwand.

Example for a bad user interface

Sunday, November 21st, 2010

I need to rename files … and I found this freeware utility to do it.

Unfortunately, it's user interface makes me feel lost – and as I have "no time" (read: no intention) for reading the manual, I'll use something else.

bad-userinterface

Lectora Publisher X Trial

Sunday, November 21st, 2010

Here's the link to it:

http://trivantis.edgesuite.net/US-UK/publisher/LectoraPublisher_vX_Trial.exe