Thursday, November 24, 2005

 

Bleeding edge: lighttpd-1.4.8 and eaccelerator-0.9.4-rc1


There is a new version of lighttpd (1.4.8) and eaccelerator (0.9.4-rc1) available.
Both are running without problems up to now (about 5 hours ;).

Remember:
"If you are on a bleeding edge, you will bleed."

$ HEAD localhost | grep Server
Server: lighttpd/1.4.8
:)

Wednesday, November 23, 2005

 

lighttpd with daemontools on Debian


I love lighty, daemontools and Debian.
There are 3 step to combine them (assuming you have lighttpd already installed).

Step 1

Install daemontools.
$ apt-get install daemontools-installer
$ get-daemontools
$ build-daemontools
(I am using /service-style.)

Step 2

Create run script.
$ mkdir /service/lighttpd
$ cat <<EOF > /service/lighttpd/run
#!/bin/sh
exec /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -D
EOF
(lighttpd will be started automagically)

Step 3

Remove lighttpd from init.d
$ update-rc.d -f lighttpd remove


Now, use svstat and svc as usual :)

Thats all folks!

 

RAW: The enterprise evaluation of Rails vs Java


Evidence I:
Riding Rails writes about Rick Bradley's evaluation document which deals with "picking Rails over Java".


If don't know what I'm talking about, read RAW: Introduction.

 

RAW: Introduction


What?

In this section I'll gather posts from people who are moving from Java to Ruby (especially Ruby on Rails.

Why?

I'll try to convince my boss to use Ruby and drop Java in most cases.

RAW?

RAW ("Rubylution at work") is the code name for my mission.

Rubylution?

This name fits well, I think. Flori (guy who dislike Java too ;) has a blog named "Rubylution".
(Flori, forgive me!)

Evidences!


 

How To Write Unmaintainable Code


...old but still funny and true:
How To Write Unmaintainable Code.

This link refers to The Daily WTF Better Off TODO.

Friday, November 18, 2005

 

Remember: Do NOT use BACK while creating blog entries...


...and edit it. It creates tons of copies :(

And, yeah, blogger.com sucks (at least the interface) and is evil (googlized).

Time to setup my own blog. Typo?

 

lighttpd writev problem and solution


Problem

I am hosting Pflegewiki using lighttpd (version 1.4.7) + FastCGI-PHP.
Two days ago I got emails from users which had problems uploading files (503 - Service Not Available). I could reproduce this problem only trying to upload large files (> ~100Kb).

The logfile said:
2005-11-18 10:27:41: (network_writev.c.276) write failed: Bad address 16
2005-11-18 10:27:41: (mod_fastcgi.c.2751) write failed: Bad address 14


Workaround

As a temporary workaround I switched network backend from "writev" to "linux-sendfile":
server.network-backend = "linux-sendfile"
#server.network-backend = "writev"

It works and should peform better than "writev", Jan said.

Solution

I was about to submit a bug report so I searched for "writev" here and found a patch (changeset #829) which solves this issue. After patching and switching back to "writev" everything worked fine.

However, I use "linux-sendfile" anyway, now.

Update: blogger.com sucks. I had to delete tons of entries... Sorry.

Monday, November 14, 2005

 

It’s just me and the code...


Does Visual Studio Rot the Mind? by Charles Petzold

A nice quote:
It’s just me and the code, and for awhile, I feel like a real programmer again.
by Charles Petzold


Flo, thanks for the link.

Friday, November 11, 2005

 

Spyware ganz seriös


heise schreibt "Google schaltet personalisierte Suche live".

Unter http://www.google.com/psearch kann man mit einem Google/Gmail-Account seine Suchkriterien personalisieren lassen.
Einmal eingeloggt, kann man kann Google wie gewohnt nutzen nur dass alle Suchanfragen personalisiert gespeichert werden.

BigBrotherGoogle is watching you.

Nein, danke.

 

Remember: Howto disable auto table name pluralisation


ActiveRecord::Base.pluralize_table_names = false

in rails_application_path/config/environment.rb

more...

Wednesday, November 09, 2005

 

New kid on the blog


Some dude, nerd and geek is blogging about ruby and stuff in his Rubylution blog.
I expect interesting and funny posts from you, flori :)

 

Mid-rank nerd


Shame on me, I'm only a mid-rank nerd but a geek ;-)



My computer geek score is greater than 95% of all people in the world! How do you compare? Click here to find out!

I am nerdier than 77% of all people. Are you nerdier? Click here to find out!

Tuesday, November 08, 2005

 

Mirror: Ausgebeutet: Der gute Ruf von "Bild"


Nachdem BildBlog über den taz-Kinospot berichtete, wurde dieser entfernt.

Zum Glück hatte haftbar.de den Spot gespiegelt und ich nun auch...
...dafür wurde dieses Video bei putfile.com gesichtet. Danke anonymous :-)

Der Spot darf nicht in Vergessenheit geraten!

Update: Links wegen rechtlichen UnsinnigkeitenBedenken angepasst. Danke für die Warnung Mr. haftbar :-)

 

Rails 1.0 RC4 (0.14.3)


Test the bestcandidate, I will:

peter@...:[lfsgear]$ script/about
About your application's environment
Ruby version 1.8.4 (i486-linux)
RubyGems version 0.8.11
Rails version 0.14.3
Active Record version 1.13.0
Action Pack version 1.11.0
Action Web Service version 0.9.3
Action Mailer version 1.1.3
Active Support version 1.2.3
Application root /home/peter/devel/ruby/lfsgear
Environment development
Database adapter mysql

more...

Friday, November 04, 2005

 

Beware: Bloody hacks


bloody hacker
Die EU-Gesundheitsminister warnen, hacken fügt Ihnen und den Menschen in Ihrer Umgebung erheblichen Schaden zu.

More on "DrNO's fun-site"

 

Alles über Ruby


Alles über RubyAuf der Suche nach einem Buch über Ruby habe ich wohl das Richtige gefunden :)


Alles über Ruby

Mein Leben mit Ruby; Ruby - Liebe ohne Ende;
Mein Herrchen und ich. Drei Bde. in e. Band

von Herrchen, Norbert Körzdörfer


Dieses Buch im Terrashop.

Thursday, November 03, 2005

 

lighttpd-1.4.7


Time to upgrade:
A new version 1.4.7 of "lighty" is available here with small additions and some fixes.

BTW, netcraft documents the popularity for lighty (6099 to 16873 servers).

See original announcement of the pre-release.

Tuesday, November 01, 2005

 

Borussia-Duell


Es ist fast schon eine kleine Tradition, einmal im Jahr den Feind BVB beim Heimspiel gegen die "echte Borussia" zu bestaunen.
BVB - BMG
Eines vorweg: Das Spiel war nicht sonderlich gut und das nicht nur weil Gladbach 2:1
verloren hat (und somit für ca. 9500 mitgereisten Anhänger der Abend gelaufen war - mehr hier und hier) war.

Wie auch immer, hier ein paar Schnappschüsse.

Oh, fast vergessen: Leider hat auch der "Meister der Herzen" seine erste Saisonniederlage beim HSV erleiden müssen :(

This page is powered by Blogger. Isn't yours?