[ Techstuff ]
by Tobias Ebnöther
@ 08.12.2009 17:30 CET
As some of you might know I am a big fan of YUI3. Currently I am revamping the JavaScript tests at local.ch which uses YUI3 for all the new stuff we do. I found some code from lazr and modified it a little to match my taste better. So basically all you do is include that snipped:
YUI.add('jstestdriver', function(Y) {
R = Y.namespace('jstestdriver.Runner');
R.add = function add(suite) {
if ((typeof jstestdriver === "undefined")) {
// If we are not running under JsTestDriver, then
// register the suite with Y.Test.Runner and run it.
Y.Test.Runner.add(suite);
} else {
// If ``jstestdriver`` is defined, that means we are
// running under JsTestDriver, so instead register each
// test case from the suite as a separate TestCase() with
// JsTestDriver.
for each(var test_case in suite.items) {
TestCase(test_case.name, test_case);
}
}
};
R.run = function run(suite) {
if ((typeof jstestdriver === "undefined")) {
// If we are not running under JsTestDriver, then run all
// the registered test suites with Y.Test.Runner.
var yconsole = new Y.Console({
newestOnTop: false
});
yconsole.render('#log');
Y.Test.Runner.run();
}
}
},
'0.1', {
requires: ['test', 'console']
});
Now you can write your tests as usual you only need to to the assigning a bit different. Instead of the normal YUI3 Test Runner you use this:
What you have to watch out for: Load _ALL_ Yahoo code with your tests otherwise you will have very funky side effects of tests not running the first time but passing the second one, when yui3 loaded the missing files. I created one big file including everything that I use for that purpose.
[ Lifestyle ]
by Tobias Ebnöther
@ 16.11.2009 18:50 CET
Lately I get quite annoyed by people taking out their phones everywhere. I mean it's fun to read twitter and stuff but if you sit at lunch and four people around you are playing with their phone it's really sad. Even worse I catch myself doing it more and more often. This is why I'm trading my iPhone for a plain phone with no browser, mp3 player, twitter, facebook and what ever distraction client.
The goal is to figure out how addicted I'm already to the iPhone and I want to figure out is how it is in the public without distractions. I've got a mp3 player since 10 Years now and usually the first thing I do when walking out of the door is to turn it on. As soon as I'm at the bus stop I take out my iPhone and read twitter or something. I'm wondering how I will experience public transport etc. without those distractions. I will report the results here in a few days.
[ Techstuff ]
by Tobias Ebnöther
@ 28.10.2009 08:32 CET
Yesterday I had a short TechTalk about the Pomodoro Technique. It's a great tool to timebox your focus and break intervall. I only tried it for a few days and manage to do a very few Pomodoros each day but it still feels very efficient. You can read more about it on http://www.pomodorotechnique.com or view my Slides.
[ OS X ]
[ Techstuff ]
by Tobias Ebnöther
@ 06.10.2009 09:57 CET
Ok several co workers asked me how to make the command line mail tool use a proper mailserver under osx. The problem is that it sends mails directly which will not be accepted by most of the mailservers.
If you only want to send your mail plaintext over a mailserver and not use any authentication you just have to add this line to your /etc/postfix/main.cf:
relayhost = gorn.ch
If your mailserver allows SSL encryption you should also add the following lines:
Now create a file called /etc/postfix/sasl_passwd make sure it's only readable by root because you will have to put in your password there the syntax looks like this:
gorn.ch username:password
Finally run this and you should be good to go. Send a mail over the commandline to make sure it works. :)
[ Techstuff ]
by Tobias Ebnöther
@ 02.07.2009 16:39 CET
On the Liip Techday 2009 I had a slot together with chregu and we talked about jackalope. We were introducing the Java Content Repository to the crowd and talked about the current state of jackalope - which is our native PHP jackrabbit client implementation. It was a great day with great talks and a lot of beers in the evening. You can check out most of the presentations including ours at http://slides.liip.ch
We're making a great progress writing tests and implementing the jr_cr (aka java-bridge prototype) version. Currently we're switching from JCR 1 to JCR 2.0 using and sharing the interfaces with flow3. This is a great collaboration :) At the moment we switched our plans a little. In the beginning we aimed to achieve full test coverage before we start with our native PHP version which will become the main jackalope component. Currently it seems like we're going to finish most of the level1 tests and then beginn with the native client.
If I got you interested get in touch with us on #jackalope or on the mailing list contributors are of course very welcome.
[ Lifestyle ]
by Tobias Ebnöther
@ 25.06.2009 12:29 CET
I bought a Lumix FS20 as my first digital camera which means I'm absolutely clueless when it comes to photography. As a little tryout I'm shooting photos of my favourite places and post it here. :) There is also a photoset on Flickr.
If you got hints for me how to improve my photos I'm very open for any tipps :) I will post the photos from flickr on this blog since I believe that's the best way to do it if you got better ideas again I'm open minded.
[ Techstuff ]
by Tobias Ebnöther
@ 12.05.2009 10:53 CET
As some of you already know I'm working on timestimator in my spare time and on hackdays. It's a small tool that lets your team guess the time that will be necessary to accomplish a task. As I'm currently participating at the local.ch hackdays (thanks Liip and local to make this possible I'm really enjoying it :)) I implemented a few new features and deployed a working version again.
The main new features are related to groups. It's now possible to create your group and your team members can join it. Then outsiders won't see your tasks anymore which gives you some security (the code is not bug free so don't trust it too much, patches are welcome the project is on github). As I still have half a day left I will dig into python unit testing which I didn't take a look at so far and I really hate to work on untested projects.
Try it out, but you will need a google account since it's on AppEngine. For any bugs ideas and feature requests please drop me a note I'm happy to hear from you.
If You don't have a google account there is a small demo for you:
[ Techstuff ]
by Tobias Ebnöther
@ 11.05.2009 13:34 CET
Check it out it's about a new project we're kicking off and there will be some follow up posts soon :) I will always post a link to them here. http://blog.liip.ch/archive/2009/05/11/jackalope-started.html
[ Lifestyle ]
by Tobias Ebnöther
@ 07.05.2009 16:14 CET
I ordered one of the old iPods as long as you can still get them because I hate the idea with proprietary headphones. I compiled a small playlist for running (got only 1GB of space :() which might looks a little strange and still needs improvement (it's a first quick'n'dirty hack :))
So give me your opinion if you think there is a song missing or one definitely shouldn't be on the list.
Artist
Name
Immortal Technique
Dance With The Devil
Raekwon
Pop Shit
Gleis Zwei
Dedicated feat. EKR
Dj Desue
Samy Deluxe & Buckshot - U Know How We Do
Deichkind
Ich und mein Computer
Dynamic Duo
Wankerz
Snoop Dogg
21 Jumpstreet feat. Tray Deee'
Public Enemy
Amerikan Gangster
Die Toten Hosen
Alles aus Liebe
k-os
Crabbuckit
Deichkind
Show'n'Shine
Dynamite Deluxe
Grüne Brille
IAM
Le Style De L'Homme Libre
IAM
Hip Hop Ville
Swollen Members
Swamp Water (Feat. Phil Da Agony, Planet Asia & DJ Revolution)
Looptroop
Rainbow Faces
Ja Rule
Love Me, Hate Me
Method Man
Dirty Mef (Feat. O.D.B.)
Jan Delay
Ich Möchte Nicht Das Ihr Meine Lieder Singt
Ferris MC
Freaks, Asis & Mongos
Afu-Ra
Hip Hop
Wu-Tang Clan
Uzi (Pinky Ring)
Eminem
Eminem & 50 Cent - The Re Up
Delinquent Habits
I'm Addicted
Dj Desue
Kool Savas, Eko & Valezka - Tiefschlaf
Crystal Castles
Crimewave (Crystal Castles VS Health)
EPMD
crossover
La Coka Nostra
Rich Man Poor Man
Raekwon
Criminology
Squarepusher
Illegal Dustbin
Audio Bullys
Shot You Down Feat. Nancy Sinatra
Xzibit
x
Method Man
Say What Feat. Missy Elliott Feat. Missy Elliott
Nico Suave
Vergesslich
Eins Zwo
Technique (Featuring Ferris MC)
Jan Delay
Kartoffeln
Redman
Freestyle Freestyle
Hieroglyphics
Shift Shape
Method Man
4:20 (Feat. Streetlife & Carlton Fisk)
Wu-Tang Clan
Method Man
Busta Rhymes
Break Ya Neck
Curse
Widerstand (feat. Gentleman)
Afrob
Arrab feat. Gentleman
Tha Eastsidaz
Eastside Ridaz
Dj Desue
Afrob & Nature - Art Of War
Method Man & Redman
Dat's Dat S**t Feat. Mally G
Snoop Dogg
Drop It Like It's Hot Feat. Pharrell
Absolute Beginner
Mikro in der Hand
Die Toten Hosen
Pushed Again
Obie Trice
Lay Down
Ferris MC
Fick Dich
Snoop Dogg
Doggfather
Afrob/Ferris MC
Reimemonster
House of Pain
Jump Around
Beastie Boys
Funky Boss
Absolute Beginner
Hammerhart
Jurassic 5
Brown Girl
Afrob
Öffne die Augen feat. D-Flame
Saïan Supa Crew
Jungle
Nico Suave
cashes ft.harris - lunafrow
Looptroop
Looking for Love
Samy Deluxe
Der Beste
M.O.P.
4 Alarm Blaze
Jan Delay
Irgendwie, irgendwo, irgendwan
Method Man & Redman
Blackout
Method Man
Big Dogs feat. Redman
Jedi Mind Tricks
Blood Reign Ft. Diamondback Lo
Snoop Dogg
20 Minutes
Krs-One
Illegal Business
Ol' Dirty Bastard
Nigga Please
Naughty by Nature
O.P.P.
Samy Deluxe
Wickeda MC
Ghostface Killah
R.A.G.U. (Feat. Raekwon)
Tha Alkaholiks
Pass Out
Die Toten Hosen
(02) Lebische, Schwarze, Behinderte
Samy Deluxe
Is Nich' Wahr
Jan Delay
Der Rote Knop
Jurassic 5
A Day At The Races feat Big Da
Mobb Deep
Got It Twisted
EKR
OhSusi
Ferris MC
Asimetrie
Curse
Rap
Freundeskreis
Esperanto
Samy Deluxe
So Soll's Sein (feat. Afrob)
Raekwon
Fuck Them
Swollen Members
Weight (Feat. Ghostface Killah & The Alchemist)
Mobb Deep
Me & My Crew
Jeru The Damaja
Scientifical Madness
Talib Kweli & Hi-Tek
Ghetto Afterlife (Feat. Kool G Rap)
Access Immortal
Resident Evil
D12
My Band
Samy Deluxe
Cap Song
Redman
Gimmie One
Tha Alkaholiks
Soda Pop
Wu-Tang Clan
Protect Ya Neck
Method Man
Tical
Creutzfeld & Jakob
Flucht in Ketten
Public Enemy
Give It Up
Jan Delay
Im Arsch (Feat. Udo Lindenberg)
Creutzfeld & Jakob
3. Halbzeit [ft. RAG]
Raekwon And Ghostface
Ironman
Redman
Merry Jane Feat. Snoop Dogg & Nate Dogg
Dynamite Deluxe
Dynamit!
Method Man
P.L.O. Style
Mos Def
Ghetto Rock
Fettes Brot
Da Draussen
The Beatnuts
Se Acabo (Remix) Feat. Method Man
Mobb Deep
Eye For A Eye (Your Beef Is Mines) (With NaS & Raekwon)