February 2011
1 post
Bald ist es soweit!
akylounge:
Im März öffnet AKY seine Türen und heisst Euch alle herzlich willkommen…
Juhuuuu! Endlich :D
December 2010
1 post
3 tags
infinity_test
This is my test suite setup:
For a rather large Rails project:
Looking at the Gemfile, I feel the need to clean it up.
But this works pretty good at the moment :)
Setting up infinity test was soooo easy and well documented, it really was fun: https://github.com/tomas-stefano/infinity_test
Thanks to watchr, and rvm, who made this project possible!
November 2010
1 post
1 tag
Keep your privates close →
thoughtbot-giantrobots:
A problem with the way we declare private methods in Ruby is the fact that when a class gets larger and more private methods are added to it, we lose sight of whether we are looking at a private, protected or public method. This is because the private declaration is a few hundred lines…
This is why I miss a private do ... end block sometimes. But I’ll be...
October 2010
5 posts
Research integrity: Sabotage! : Nature News →
Reading this article and comments really helps understanding, which kind of trouble my girlfriend is going through. She’s doing her PhD in Biochemistry at the Harvard Medical School.
The environment she’s working in, is pure competition. The lack of collaboration efforts in her lab is a huge waste of resources and motivation.
As competition is a key motivator, I for my part have to...
And now, a moment of "Woah" - Boing Boing →
Whoa
Humble Mumble: Thoughts on Redis →
kennejima:
Like many people already doing so, I’ve been digging into Redis and other NoSQL products. Unlike all those anti-SQL fanboys, I have 15+ years of experience in RDBMS, and I know the relational algebra has a lot more mathematical implications in practice than the CAP theorem, not to mention the…
great article!
Combining find_or_create with rspec and...
I like find_or_create a lot, and factory_girl is one of my favorites :) So during my specs, I’d like to create some factories in case they didn’t exist already.
Well you should really not do this too often, because hitting the database and then again slows down your tests alot.
September 2010
3 posts
Emacs meets groovy and grails
finally working with emacs when it comes down to groovy and grails.
;; levenshtein distance
(add-to-list 'load-path (concat dotfiles-dir "/vendor/levenshtein.el"))
(require 'levenshtein) ;; (levenshtein-distance "foo" "bar") => 3
;; project-mode (requires levenshtein-distance)
(autoload 'project-mode "project-mode" "Project Mode" t)
;; grails-mode
(autoload 'grails-mode "grails-mode" "Grails...
Anonymous asked: urbanvention.com sagt nicht viel aus. auf was in welchem segment mit welchen zielgruppen habt ihr euch spezialisiert?
August 2010
3 posts
NYC Artist Sally Davies Photography A McDonald's... →
(via benjaminmateev)
Links are supposed to be blue!
markitecht:
Would drivers be more or less likely to stop at this ‘redesigned’ stop sign?
There are calls to action in this world. In many cases these rely on visual cues, signs and symbols. As a society, and even as a species, we communicate through a ‘universal’ visual language. This language comes from experience, from government, from cultural trends and taste, and many other sources.
...
July 2010
6 posts
Anonymous asked: willst du mit mir gehen?
Ja Nö weiss noch nicht
Ja Nö weiss noch nicht
1 tag
Software Patente
Der Hauptgrund warum wir eine haftungsbeschraenkte Firma gegruendet haben war eindeutig um uns vor Patentstreits zu schuetzen.
Wenn man sich ueberlegt, in was fuer Schwierigkeiten man geraten kann, wenn man sich fuer technische Problemloesungen interessiert zeigen zwei Artikel die ich heute gelesen habe.
Creating Shazam In Java
Herr van Rijn hat an einem Wochenende eine Software geschrieben,...
benjaminmateev:
BIG BAG BIG BOOM - the new wall-painted animation by BLU (by blu)
Best animation, I’ve seen, ever. In my whole life. Thx @solving42
June 2010
8 posts
Linksradikale zwingen Araber die Deutschlandflagge...
Schwarz-Rot-Gold - In Neukölln ist ein Fahnenstreit entbrannt - Berlin Aktuell - Berliner Morgenpost
Was heisst Araber?
Nein, es sind Deutsche mit arabischem Migrationshintergrund.
Ich find’s krass, wie sich manche Leute das Recht rausnehmen mit Gewalt gegen Patriotismus vorzugehen, insbesondere wenn der Ursprung an alles Andere als das Nazideutschland erinnert.
Nein, diesmal steht...
WTF: [...] the remote-controlled mountaineer’s... →
3 tags
Doctype definitions in Java with Enum. →
Dicke Zunge - Im Zölibat (Stromae - Alors on Danse... →
Großartige Dokumentation schreiben
@wesen
writing great documentation, by jacob kaplan-moss: jacobian.org/writing…
Cooler Link, danke!
Das andere Extrem ist:
documentation considered harmful
Ich find es schon ziemlich geil, wenn man ne gute Dokumentation ließt, andererseits ist Dokumentation nicht so lebendig, wie das was man eigentlich dokumentiert.
Es kommt doch super häufig vor, dass die Dokumentation out of sync geht...
2 tags
It's summer time. Time for new Kombucha!
Craft your own kombucha!
yummie! :D
1 tag
Befreiung, so heißt die Freiheit, wenn sie jung ist.
– Gauck spricht wie ein Präsident
December 2009
2 posts
1 tag
Ruby eval, dynamischer geht es nicht
Ruby macht es möglich, dass man zur Laufzeit Methoden hinzufügt. Ob man das nutzen sollte, es rein stilistisch gesehen klar geht oder nicht, ist dem Anwender überlassen. Und ich find es eigentlich cool, von ner Programmiersprache nicht wie nen Kind behandelt zu werden. Es gibt auf jeden Fall Use-Cases wo man solch ein Verhalten will (wie ActiveRecord in Rails und die sexy dynamischen...
2 tags
Git Repository unter Redmine mit post-receive hook...
Angenommen ich hab da mal ne Redmine-Instanz aufm Server laufen. Auf der gleichen Maschine liegen meine Repositories. Wenn ich nun was ueber Git commite, moechte ich, dass Redmine die Aenderungen mit darstellt.
Mein Gitosis-User heisst mal gitosis:
Ich erstelle eine Datei, die fuer alle Repositories nutzbar ist:
#!/bin/sh
# ~gitosis/bin/update.sh
umask 002
cd $1 ...
March 2009
1 post
1 tag
Ruby singleton klassen
Ich mache mal ne kleine Serie über Ruby, insbesondere über dynamische Aspekte. Ich stelle mal die Singleton-Klassen an den Anfang.
Singleton
Ein singleton ist nen Design-Pattern, bei dem die Kernaussage wohl kurz und knapp wie folgt definiert werden kann Eine Klasse, deren Anzahl an Instanzen zu jeder Zeit maximal 1 beträgt, ist ein Singleton.
In Ruby ist alles Objekt. Jedes Objekt hat...