roob's pipe
roob's pipe: The Hashrocket Way: Pair Programming
To use an idiom that Bryan Liles effectively coined at this year's Ruby Hoedown, at Hashrocket, we "pair all the fucking time". It is a vital part of The Hashrocket Way, our internal philosophy of how to most productively service our clients: The photo above captures a normal morning at Hashrocket headquarters, where every desk is set up for effective pair-programming: 30" monitor, dual keyboards, dual mice. Carmelyne Thompson and Wes Gibbs are the pair in the foreground.Veez Remsik, my inspiration for this post and one of Hashrocket's Rescue Mission experts, gives us a must-read personal account...
roob's pipe: Die neuen Freiangestellten
(Speakers Corner Beitrag von Markus Albers) Ich weiß nicht, wie es Ihnen geht, aber ich habe zu viel Lebenszeit im Büro verbracht. 12-Stunden-Tage, wenn der Chef mal wieder einen Spezialauftrag hatte. Nachtschichten und Sonntage vor der Deadline. Dazu der Fron der täglichen Routine. Die Erkenntnis ist eigentlich schockierend: Ich habe den Großteil der wachen Minuten meines Erwachsenenlebens an einem fremden Schreibtisch vor dem Computer gesessen. Für die Generation unserer Eltern war das Büro eine den Alltag dominierende Struktur. Mein Vater zum Beispiel war Beamter, musste jeden Tag in sein...
roob's pipe: Mett - A little peace of German culture
Mett - A little peace of German culture from Alan Duff on Vimeo.
roob's pipe: Bernie Mac: 1957 - 2008
Für mich völlig überraschend ist heute Bernie Mac mit nur 50 Jahren gestorben. Er litt offenar an Sarkoidose, was ich nicht ahnte, was aber angeblich mit der Todesursache Lungenentzündung nichts zu tun hat. Furchtbar. Seine Auftritte in Ocean’s Eleven und den Nachfolgern werde ich nie vergessen. Bernie Mac startete seine Filmkarriere nach einer Komikerkarriere erst 1992 mit Mo’ Money, dessen deutschen Titel ich hier nicht wiederzugeben wage. Wikipedia, Google News, Hollywood Reporter.
roob's pipe: Brad Pitt in Tarantinos „Inglorious Bastards“ und die Gerüchte
Brad Pitt hat offiziell die Hauptrolle in Tarantinos „Inglorious Bastards“ übernommen. Eli Roth hat ebenfalls eine Rolle und es laufen Gespräche mit Simon Pegg und Nastassia Kinski, das ganze formt sich also zu einem (wie immer wenn der Name Tarantino im Spiel ist) hochinteressanten Projekt. Das ist alles offiziell, denn den Gerüchten da draußen, denen traue ich nicht über den Weg. Vor ein paar Tagen hieß es, „Goonies 2“ wäre auf dem Weg und man würde das Sequel jetzt aber echt wirklich mal auf die Reihe kriegen. Zwei Tage später war von „Goonies 2“ nix als heiße Luft übrig....
Wie funktioniert Texas Holdem?
nicht nur, dass dieses Pokergame via Spam weltweit bekannt ist, es spielen Massen von Leuten diese Art von Poker und geben Milliarden von Dollar aus. Ein echter Hype, oder? Im Fernsehen schalte ich bei Poker-Shows immer um, da ich keine Ahnung habe, wie man das spielt. Daher mal ein Video mit den Grundregeln, um nicht ganz so dumm wie ich zu sterben: How to Play Texas Holdem - Phil Gordon Und siehe Wikipedia mit weiteren Infos und die wichtigen Kartenkombinationen
Living on the Edge (or what's new in Edge Rails) #3
There hasn’t been much of note in terms of big changes or features in edge Rails lately, so this time I’ll leave you to pore over the Rails commit logs for any bug fixes or minor changes that I haven’t pointed out. There has been some work in progress with ActionPack refactoring and multithreading work as well as some activity in ActiveModel too, but nothing really concrete yet (still very much a work in progress). As usual, be sure to leave any suggestions and criticisms in the comments. Thin support with script/server script/server now checks for the availability of Thin and uses it. Pretty...
Remote Desktop Connection Client für Mac 2 erschienen
Download Now ·
| Tue, 01 Jul 2008 21:46
Microsoft hat heute nach einem ausgedehnten Betatest Remote Desktop Connection Client für Mac 2 in finaler Version veröffentlicht. Mit Remote Desktop können Mac-Nutzer Programme auf einem entfernten Windows-Rechner fernsteuern. Das 7,7 MB große Programm steht in verschiedenen Sprachen (auch Deutsch) auf der Herstellerseite zum Herunterladen bereit.
Easily switch between Rails development sites with Phusion Passenger
mod_rails Phusion Passenger is gaining some steam as it makes deploying Rails apps easier. Passenger also makes it easier to switch between your Rails projects during development. Multi-tasking, Rails style If you’re like me, you often find yourself flipping between two or three different Rails projects. Each time you flip, you do the same little dance in Terminal: wynn$ cd projects/blog wynn$ mate . wynn$ script/server You code along happily on the first project, knock out a couple of bugs, and then it’s time to switch. Either you stop your first mongrel server and dance the terminal jig all...
Hellboy 2 - Die Charaktere (Featurette) und das animierte Comic
Noch bis zum Herbst müssen wir uns gedulden, dann kommt die für mich lang ersehnte Fortsetzung Hellboys bei uns in den Kinos. Hellboy 2: Die goldene Armee lautet der Titel und erste Trailer versprechen kurzweilige Fantasy-Action, wie sie mir in Teil 1 schon so gut gefiel! In der folgenden Featurette werden nochmals zur Einstimmung die einzelnen Hauptcharaktere vorgestellt und für mich machen die kleinen Filmschnipsel wieder Lust auf mehr! Neben Batman - The Dark Knight, einer der Filme, die ich mit besonderer Ungeduld erwarte! (MovieMaze Directred) Und den Trailer findet ihr hier. Kinostart:...
Wir müssen noch ein bisschen warten bis Batman - The Dark Knight bei uns in den Kinos anläuft, aber dafür gibt es kurz vor dem US-Start einen neuen Trailer zu Nolans Sequel! (MovieMaze Directbat) Ich freu mich sehr auf den neuen Film! Kinostart: 21.08.08
Bill Gates finds Windows unusable.
Download Now ·
| Thu, 26 Jun 2008 09:48
Big surprise? Here's an internal Microsoft email written by Bill Gates, which allegedly came to public view due to a lawsuit. From this Seattle PI blog post. It's long, but definitely worth at least a skim: ---- Original Message ---- From: Bill Gates Sent: Wednesday, January 15, 2003 10:05 AM To: Jim Allchin Cc: Chris Jones (WINDOWS); Bharat Shah (NT); Joe Peterson; Will Poole; Brian Valentine; Anoop Gupta (RESEARCH) Subject: Windows Usability Systematic degradation flame I am quite disappointed at how Windows Usability has been going backwards and the program management groups don't drive usability...
Phusion Passenger Optimizations
In a previous article, we installed and tested a baseline configuration of Phusion Passenger, aka mod_rails. In this post, we’ll be comparing memory usage and performance by varying Apache configuration settings in httpd.conf. Realize that these numbers aren’t absolutes and will vary on your server, depending on its architecture, CPU, and RAM. Our VPS slice has the following specs: Linux Fedora 8, 64-bit 512MB RAM Rails 2.0.2 Phusion Passenger 2.0.1 Enterprise Ruby 1.8.6 patchlevel 11 We used Apache Bench for testing: 1 # ab -n 10000 -c 100 http://server/app_path PassengerMaxPoolSize PassengerMaxPoolSize...
You probably have heard by now that there are some security issues with all the versions of Ruby and that you should upgrade your Ruby to get the fixes. The holes mainly involve buffer overruns and a particularly nasty vulnerability that only affects non-Unix based operating system. These effect Ruby versions 1.8.5, 1.8.6, 1.8.7 and 1.9.0. (Since I only use 1.8.6, that’s all I’ll talk about here.) The solution is to update 1.8.6 to version 1.8.6-230. Unfortunately p230 breaks rails and almost everything else running ruby. So what is a boy to do? Well Hong Li has come to the rescue. He has back...
LinkedIn Uses Rails, Why Don’t You?
I came across a great article on LinkedIn’s use of Ruby on Rails to serve 1 billion (yes with a ‘b’) page views per month for a Facebook application. The solution is simple: application architecture and appropriate hardware. My favorite line in the article is this: “Jim Meyer, manager of LED says that Rails scales like any other web application: ‘That is to say you need to take into account all the components from the moment the request is received at the load balancer all the way down and all the way back again.’” Other posts you may enjoyIs Twitter Responsible For Rails’ Image?Half...
Phusion Passenger 2.0.1 (final) released
Phusion Passenger version 2.0.1 has been officially released. Not much has changed since 2.0 RC 2: only some documentation has been updated. See the announcements for versions 2.0 RC 1 and 2.0 RC 2 for a full list of changes compared to version 1.0.x. How do I upgrade to 2.0.1? Please install it with the following command: gem install passenger Next, run: passenger-install-apache2-module Please don’t forget to copy & paste the Apache config snippet that the installer gives you.
Ruby Enterprise Edition and Passenger
Recently, we evaluated Ruby Enterprise Edition and Apache mod_rails, known as Phusion Passenger, in a Virtual Private Server hosting environment. We compared performance and memory usage against our production instance, which runs this blog and uses an Nginx-powered Mongrel cluster. [Editor’s note: new results have been published as of June 30, 2008.] Preparation First off, doing these kinds of evaluations is super easy with a VPS hosting service like Slicehost. We simply cloned a image of an existing production backup rather than building one from scratch. Then, we shut down Mongrel and Nginx....
Extra geeky: the recursive lambda
I'm not sure where I first heard that you could do a recursive lamdba in Ruby, but it's been simmering on the back burner of my brain for a while. I've just never had a reason to use one, until now... I wanted to process the Rails request params, which is a hash of strings and hashes of strings and hashes of strings and hashes... you get the idea. The need was to strip all the accent marks from user input throughout the application. Here's what I came up with: class ApplicationController < ActionController::Base before_filter :strip_accents protected def strip_accents thunk = lambda do |key,value|...
In a certain application that I’m working on, accounts have subdomains. Nothing new. The column name I used for subdomain in the accounts table was…wait for it…subdomain! DHH’s account_location plugin, however, assumes username as the default attribute. Whatever was I to do? I liked subdomain but I didn’t want to have to pass it in each time I used the plugin methods. Maybe this is a bad example as there are a crap load of really easy solutions to this problem (migration, change plugin, etc.) but I just used alias_attribute. The method was introduced way back in 1.2 and even made it into...






