Archiv der Kategorie ‘Allgemein‘

Video of the talk about Evolutionary Programming with Ruby

Friday, den 25. December 2009

The video of my Talk about Evolutionary Programming with Ruby at the Ruby en Rails Conference 2009 in Amsterdam ist now online.

ReR09 - Julian Fisher - Evolutionary Algorithms from Interbureau Holder on Vimeo.

RuPy 2009 - Ruby/Python conference in Poznan Poland sum up

Friday, den 20. November 2009

The RuPy conference 2009 was really a great event. I was totally excited how a polish technology conference will look like and I was impressed how the organiziers cared about everything. Among others Jakub P. Nowak, Katarzyna Bylec and Adam Parchimowicz helped with any open questions. They organized a hotel room as well as the […]

Ruby - Visibility of private and protected module methods when mixed into a class

Friday, den 7. August 2009

Consider you have a module defining a public, a protected and a private method. What happens to this visibility declaration after mixing the module into a class?
Does Ruby ignore visibility information or does Ruby take over the visiblity settings?
The following example demonstrates that Ruby preserves the module’s visibility settings and keeps private methods private and […]

Rails 2.3 - Test Unit - undefined method `fixtures’ (NoMethodError) - undefined method `fixtures’

Thursday, den 9. July 2009

After switching to Rails 2.3 you might receive the following error messages while executing your TestUnit tests:
undefined method `fixtures’ (NoMethodError)
and/org
undefined method `fixtures’
The solution to this is to change the class in
test/test_helper.rb
from Test::Unit::TestCase to ActiveRecord::TestCase.
You will need to apply this change to all Tests inheriting for the  Test::Unit::TestCase class.

Curb and curl: (1) Protocol https not supported or disabled in libcurl

Sunday, den 21. June 2009

If you receive an error message like the following from either curb or curl:
curl: (1) Protocol https not supported or disabled in libcurl
Then you might want to recompile curl with ssl support.
If you are a Mac OS X user and you are using MacPorts this might look like this:
sudo port install curl +ssl
Most likely you […]

Treibstofff.de now in English

Monday, den 15. June 2009

Since most more visitors speak English than German we decided to publish in English from now on. So it’s about the same content but only a different language.

OpenSolaris - MySQL gem installieren

Thursday, den 16. April 2009

Eine erfolgreiche Installation des MySQL-Gems unter OpenSolaris erfolgt über das folgende Kommando:
gem install mysql — –with-mysql-dir=/usr/mysql/5.0/
So können auch Ruby on Rails Anwendungen neuerer Generation erfolgreich unter OpenSolaris betrieben werden.

OpenSolaris - UX: useradd: ERROR: Unable to create the home directory: No such file or directory.

Thursday, den 16. April 2009

Beim Versuch einen Benutzer, hier im konrekten Fall in einer Zone, kann es zu folgender Fehlermeldung kommen.
useradd -m -c ‘Deployment Benutzer’ -s /bin/bash -d /export/home/deploy deploy
Fehlermeldung:
UX: useradd: ERROR: Unable to create the home directory: No such file or directory.
Das Problem ist der OpenSolaris Automounter, der dafür gedacht ist NFS-Benutzerverzeichnisse von /export/home nach /home zu mounten. […]

Opensolaris - Aktueller Speicherverbrauch anzeigen - Show Memory Usage

Thursday, den 16. April 2009

Um den aktuellen Speicherverbrauch anzuzeigen, kann folgender Befehl genutzt werden:

lgrpinfo -Tlcm
Die Ausgabe sieht in etwa wie folgt aus:
root@opensolaris:~# lgrpinfo -Tlcm
0
|   CPUs: 0-3
|   Memory: installed 8,0G, allocated 2,5G, free 5,5G

OpenSolaris - sudo und top? - pfexec und prstat!

Tuesday, den 14. April 2009

Auf die Frage hin warum die Befehle sudo und top unter OpenSolaris evtl. nicht funktioneren, gibt es hier auch keine Antwort, sondern ein Alternative.
sudo läßt sich durch pfexec ersetzen, während top seine Entsprechung in prstat findet.