dbrady
-
@ When you you TWO laptops, tourbus gets really dangerous
4:12 PM Dec 18th
from TweetDeck
in reply to digiduke
-
@ git rebase -i <commit-hash-before-the-ones-you-want-to-throw-away>; delete the unwanted commits.
12:05 PM Dec 18th
from TweetDeck
in reply to gilesgoatboy
-
@ My top 5 Windows Releases of the Decade: 5. RedHat 4. Fedora 3. Slackware 2. Kubuntu 1. Mac OSX
11:10 AM Dec 18th
from TweetDeck
in reply to flangy
-
Full story of the ninja monkey uprising:
7:23 AM Dec 18th
from TweetDeck
-
If you don't want pics on the internet of you getting kicked in the head by a monkey, DON'T TEACH THEM TAE KWON DO.
7:18 AM Dec 18th
from TweetDeck
-
@ meh was admitted to the OED last year.
12:46 PM Dec 17th
from Tweetie
in reply to headius
-
@ Stepping in front of a job is how you catch a bus? That makes no sense. THE FUTURE IS CRAZY!
9:36 PM Dec 16th
from TweetDeck
in reply to flangy
-
@ And as a bonus, you'll get your picture on my website! (This is not a god thing.) :-)
9:32 PM Dec 16th
from TweetDeck
in reply to BM5k
-
So, Comcast craps out in the evenings (too many people swamping it). Anybody having better luck with Qwest?
8:37 PM Dec 16th
from TweetDeck
-
Very nice tech at Comcast just told me there's not really anything they can do about my problem. Wouldn't even suggest a brand of laxative.
8:09 PM Dec 16th
from TweetDeck
-
@ Later I got rid of the nil, too, so the ending code was just x = Array(x). I loves me some clean code. :-)
6:03 PM Dec 16th
from TweetDeck
in reply to jamie_ca
-
@ A couple of folks pointed out that Array(x) works just like x = [x].flatten. I did need to worry about nil, though, hence the &&.
6:03 PM Dec 16th
from TweetDeck
in reply to jamie_ca
-
And my specs all pass! Yay! I get to go home! Another fruitful day in the software mines.
5:34 PM Dec 16th
from TweetDeck
-
Ha! I ended up using Array#- later on, which had to special case the nil. But Array(nil) => [], which is perfect! BAM: x = Array(x)
5:32 PM Dec 16th
from TweetDeck
-
<-- this is the model I'm traversing. And yes the code I'm working on has to get from A to D easily.
5:29 PM Dec 16th
from TweetDeck
-
@ @ THANK YOU. Array(x) is much nicer than [x].flatten
5:27 PM Dec 16th
from TweetDeck
-
Got 3 models joined many to many to many, joined many-to-many to a 4th model. I'm climbing a live volcano. RSpec is my safety rope.
5:16 PM Dec 16th
from TweetDeck
-
BAH! YAGNI! And Hash === x is *WAY* read-ier.
5:07 PM Dec 16th
from TweetDeck
-
...I could probably have hooked Hash === x but that grates on my instincts. What if we want to allow OpenStructs later, etc
5:07 PM Dec 16th
from TweetDeck
-
For that code, x can legally be nil, a hash, or an array of hashes.
5:06 PM Dec 16th
from TweetDeck
|
- Name dʌ∀¡d bɾʌdɥ
- Location Saratoga Springs, Utah
- Web http://chalain.li...
- Bio Incredibly huge dork. Ruby enthusiast. Amateur entomologist. Bald guy. I like weird humor, spicy food and loose-fitting jeans.
|