bigger, better, faster. (AMD Athlon 64 X2 5600+ Dual Core / 4 GB DDR2 / 2 x 400 GB SATA II / Debian)
Well ok – bigger, and better than the current one
got new server
April 15th, 2009Dresden day one and a half
April 10th, 2009We woke up at 7am and I was tiered as fuck, because it was after 1am
when we finaly went to bed. I kinda hate it when I go on a trip – the
preperation sucks but luckily we’ve managed everything in time, at
least we didn’t miss the train. What can I say – the weather is and
was fine – the sun is shining and I try to be relaxed.
Of course we went to the ‘Semper opera’, the ‘Zwinger’, the
‘Frauenkirche’, took some tourist-like photos and spent the evening at
‘Neustadt’.
Right now we wait for the ship to ‘Rathen’ to see the ‘Elb-Sandstein
Mountains’ and I am starving and hope there something to eat on board.
A sausage with mustard + a bun would be great!
…
–
Sent from my mobile device
testing the cronscript
April 8th, 2009should work aswell…
this is just a test – posting via my mobile phone…
April 8th, 2009And it should work.
I’m pretty sure it does!
–
Sent from my mobile device
tech-stuff-bla-bla-and-then-some
March 24th, 2009I’ve installed today a new svn, trac and a websvn at work on a ubuntu machine with plesk on it. Actually it’s really easy but there seems to be no instant-setup guide, so I had to google quite extensive. Well I haven’t configuered it fully yet, but the svn seems to work fine, even though I’d like to make use of the pre-commit-hook (having the users commenting the commits, with at least 3 words); but that’s something I’ll change later. Currently we use mantis as bugtracker but I see some requirements for more. Trac seems to be a good alternative. Personally I’d like to use JIRA and Confluence – but I am to lazy to convince my boss to buy it and of course – 2400 Bucks *is* < insert the f-word here > money.
However – my work-life balance *seems* to be *unbalanced* and the affected personal relationships seems to truely suck atm; But therefor my boss said he’s satisfied with my work – and I have only 7 days left until the employment probation period is over and I am fully employed. – I guess that would be a classic scenario of a double-edged sword.
< insert your favourite f-word right here >
gruene.de finally online
March 20th, 2009Three weeks of hard work are over and we’re done. http://gruene.de is online since 9am today and the feedback seems overall to be positive though of what I’ve heard and read:
http://search.twitter.com/search?q=gruene.de
http://meedia.de/nc/details/article/wahljahr-09–grne-setzen-web-mastbe_100018828.html
I guess we’ll polish some things in within the next few weeks but in general I like it. However – I’ve slept only 4 hours tonight, after 18 hours of final spurt and still have another time critical task on my list …
coffee!
beware of font’s you don’t have installed
February 18th, 2009Everybody is talking about CSS fontstacks and there are plenty of good lists/combinations out there but do not use them carelessly – like the prototype.js guys did (@see screenshot). DO NOT use «Helvetica Neue» for your bodycopy or fontsizes smaller than 18px! It is a narrow/condensed font – not made for continuous text, nor small text. Use it only for headlines with 18px++.

work around for zend validate’s markAsError respectively addError
February 5th, 2009Yesterday I ran into a problem with zend form and zend validate which was quite confusing. I wanted to check if a multiCheckbox has less or equal 2 selections. I really thought there would be some “shipped” validator but there isn’t. Then I’ve tried to write my own validator for that purpose, but Zend Validate didn’t pass the MultiCheckbox values as an array but as strings and I wasnt in the mood to hack the Zend “core” itself. Then I tried to use addError(), markAsError() or set _errorsExists explicit but that didn’t work either, as described here. Maybe I am blind and there is an much easier way … but the following works quite fine for me.
- Create an Validator which always fails.
- Check right after the isPost() condition if “your condition” matches.
- Assign the “will-always-fail” validator to your element and you’re done.
// save as 'Zend/Validate/CustomError.php
require_once 'Zend/Validate/Abstract.php';
class Zend_Validate_CustomError extends Zend_Validate_Abstract {
const SOME_ERROR = 'someError';
// configure to whatever you like, or override it with setMessage()
protected $_messageTemplates = array(
self::SOME_ERROR => "is not valid"
);
// sets the element as invalid
public function isValid($value)
{
$valueString = (string) $value;
$this->_setValue($valueString);
$this->_error();
return false;
}
}
And in your form controller add right after the isPost() condition:
if(sizeof($_POST['yourelement'])>2) {
$customError = new Zend_Validate_CustomError();
$customError->setMessage('You must select less than 2');
self::getElement('yourelement')->addValidator($customError);
}
something else
January 27th, 2009Since the world of a bits and bytes consumes a lot of time, I’ve bought some new books, to clear my mind from code and graphics. The first one I’d like to introduce is by G. Edward Griffin and entitled “The Creature From Jekyll Island” – and it is the story about the federal reserve bank/system, the world bank group and also the International Monetary Fund (IMF aka in Germany IWF). It “tells” you where the money comes from, which ways it goes and where it possibly ends. I’m on page 160 and it’s a thrilling one.
The other one is by John N. Demos, getting started with neurofeedback. Since I am interested in this topic for more than 10 years I am really lucky that I’ve found that one. I’ve scanned it only just – but it seems to be a good book, because it seems to be well written, in an easy language without being flat nor to trivial. I guess this book addresses not the average folk – but if you are interested into brain waves, its meaning and how to “change” em – this book could be an option for you
It’s late – gotta sleep now
Saturday things
January 18th, 2009I’m currently trying to get some multi step/wirzard forms in Zend done and it seems to work as far as I can tell. I’ve used this little class as inspiration and it works so far.
I really like multi step forms as user but as developer I hate em. Nevertheless it’s 1:40am/Saturday and I am doing stuff for work. Actually I should go out and do party but that is not the case and so I code.
Oh ya – at least I did /some/ tagging, when I went to the grocery and there are still /some/ beers in the fridge.
cheers!
