unethical blogger - Miscellaneous http://unethicalblogger.com/taxonomy/term/5/0 Posts that don't belong anywhere else en Twenty Eleven http://unethicalblogger.com/posts/2011/01/twenty_eleven <p>I wanted to wish everybody foolish enough to keep my RSS feed in their news reader a happy twenty eleven from Victoria, Canada. While I won't do a big 2010 "year in review" style post, I wanted to point out some milestones the year has had for me:</p> <ul> <li>In 2010, I became a married man. Hooray new tax status!</li> <li>In 2010, <a href="http://www.slide.com">Slide</a> was acquired by Google, giving me the liquidity to use previously purchased stock to buy a <strong><em>nice</em></strong> BLT sandwich on Wed. September 15th.</li> <li>In 2010, my lovely wife finished her paralegal studies. Bringing her degree count to <strong>two</strong>, eclipsing my <strong>zero</strong>.</li> <li>In 2010, I moved from San Francisco to Berkeley, adding two more modes of transportation to my morning commute</li> <li>In 2010, I managed to not die in any fashion, comically or otherwise.</li> </ul> <p><center><a href="http://www.flickr.com/photos/agentdero/5313976306/" title="Empress by Night by agentdero, on Flickr"><img src="http://farm6.static.flickr.com/5083/5313976306_425f66e738.jpg" width="500" height="376" alt="Empress by Night" /></a></center> <!--break--></p> http://unethicalblogger.com/posts/2011/01/twenty_eleven#comments Miscellaneous Sat, 01 Jan 2011 23:09:06 +0000 R. Tyler Croy 305 at http://unethicalblogger.com Being a Croy http://unethicalblogger.com/posts/2010/09/being_croy <p>The name change that I mentioned in <a href="http://www.unethicalblogger.com/posts/2010/08/whats_name">my previous post</a> is now official. This means I now have to update <strong>everything</strong>. I'm in for a world of hurt between the DMV, banks, brothels and strip-Parcheesi clubs.</p> <p>The only thing you need to do is update your address book, lucky you! I know at least one friend of mine has, who messaged me to say:</p> <blockquote> <p><em>I put your old surname in the "Maiden Name" field in Address Book. Just thought you'd want to know.</em></p> </blockquote> <p>I spoke to my step-dad George on the phone immediately after the hearing was over and asked if there are "any perks to being a Croy?"</p> <p>Still haven't gotten a response to that one yet.</p> http://unethicalblogger.com/posts/2010/09/being_croy#comments Miscellaneous Opinion Fri, 03 Sep 2010 16:00:00 +0000 R. Tyler Croy 300 at http://unethicalblogger.com What's in a name? http://unethicalblogger.com/posts/2010/08/whats_name <p>Tomorrow morning I will be in court, hopefully finalizing a process I started earlier this year. I will be changing my name.</p> <p>When I was first considering it, I found the entire idea a bit scary. I have worked tremendously hard to make a name for myself, from my work in the open source community to conferences I've spoken at and interactions with numerous companies and people who have been instrumental in my whittling out a career in software engineering. I have been very particular about being referred to as "R. Tyler Ballance," ensuring that my "self-branding" remains consistent, netting me somewhere north of <strong>36,000</strong> results when <a href="http://www.google.com/search?ie=UTF-8&amp;q=%22R.+Tyler+Ballance%22">searching Google</a>.</p> <p>Tomorrow I intend on throwing all that out the window, there are more important things in life than Google results (as shocking as that may sound).</p> <p>I'm hesitant to go too much into the motivations for the change, knowing full well that everything I publish might as well be set in stone on the internet.</p> <p>Those close to me know that my parents divorced when I was young. After a particularly nasty divorce, my mother and my three sisters parted ways with my father who I have since only had sporadic contact with. After a couple dark years for my sisters and I, my mother married another Navy man, George P. Croy, III. George came into the marriage with his daughter, bringing my sister-count up to four.</p> <p>Over the past fifteen years or so, I have become George's son. Successfully exploring his emotional spectrum from tears of joy to turning him a bright crimson shade of pissed-off, never once treating me as if I were anything less than his kin. I'm convinced my attitudes towards family, women and friends not to mention my strong opinions on honor and integrity have all been heavily influenced by him</p> <p>Plainly put, I would not be the man I am today without his guiding hand.</p> <p>Provided everything goes well at the courthouse, I enter as R. Tyler Ballance and leave as R. Tyler Croy.</p> <p>Might as well update your address books. <!--break--></p> http://unethicalblogger.com/posts/2010/08/whats_name#comments Miscellaneous Opinion Mon, 30 Aug 2010 15:00:00 +0000 R. Tyler Croy 299 at http://unethicalblogger.com Paw paw? http://unethicalblogger.com/posts/2010/07/paw_paw <p>I feel like I'm slowly starting to blog like <a href="http://twitter.com/cansar">@cansar</a> with just excerpts of other stuff that other people have said on the internet, so this is the last non-technical post for a little bit, promise.</p> <p><strong><a href="http://www.reddit.com/r/WTF/comments/cpcv5/i_just_found_out_my_grampa_is_a_redditor_wtf_i/">This thread</a></strong> on reddit just about made my morning, well, in addition to that delicious peach I ate.</p> <p>The mere thought of my own grandfather on reddit or any other online community I frequent is a pretty big stretch, but to have him be a <em>notable member</em> of the community is unfathomable (not to mention, run a part of it like <a href="http://www.reddit.com/r/mayonnaise/">r/mayonnaise</a>).</p> <p>I suggest you read the whole thread and enjoy a hearty belly laugh, only so long as you're not doing anything important like driving a bus or performing a colonoscopy.</p> <hr /> <p><strong>Updated:</strong> As with most things, <a href="http://www.reddit.com/r/reddit.com/comments/cpl94/i_hate_to_do_this_but_our_beloved_grandapwiggly/">too good to be true</a>. Although, I must say one of the most well done trolling performances I've seen yet. I remain unrepentant in my enjoying of a good belly laugh however</p> http://unethicalblogger.com/posts/2010/07/paw_paw#comments Miscellaneous Wed, 14 Jul 2010 14:32:27 +0000 R. Tyler Croy 297 at http://unethicalblogger.com LeBron James http://unethicalblogger.com/posts/2010/07/lebron_james <p>Saving this thread for posterity</p> <p><a href="http://twitter.com/cansar/status/18141321484" id="aptureLink_cYmpNQpOTP" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Can Sar"></a> <!--break--> <a href="http://twitter.com/cansar/status/18149417912" id="aptureLink_qsLL9ejfHJ" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Can Sar"></a></p> <p><a href="http://twitter.com/agentdero/status/18149640745" id="aptureLink_y3FX8u2rCM" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by R. Tyler Ballance"></a></p> <p><a href="http://twitter.com/cansar/status/18150545314" id="aptureLink_fiHbLetlPF" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Can Sar"></a></p> <p><a href="http://twitter.com/agentdero/status/18150989737" id="aptureLink_Pj7ycFb2j8" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by R. Tyler Ballance"></a></p> <p><a href="http://twitter.com/rabois/status/18151243182" id="aptureLink_7yVwOanbU3" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Keith Rabois"></a></p> <p><a href="http://twitter.com/tristanharris/status/18151945560" id="aptureLink_ZXc2Le8iM2" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Tristan Harris"></a></p> <p><a href="http://twitter.com/rabois/status/18152173135" id="aptureLink_zH9M5q9dpq" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by Keith Rabois"></a></p> <p><a href="http://twitter.com/agentdero/status/18152612189" id="aptureLink_sLIYmwSRtS" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: block; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; "><img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="http://placeholder.apture.com/ph/355x210_TwitterArticle/" width="355px" height="210px" title="Tweet by R. Tyler Ballance"></a></p> http://unethicalblogger.com/posts/2010/07/lebron_james#comments Miscellaneous Sun, 11 Jul 2010 17:51:30 +0000 R. Tyler Croy 296 at http://unethicalblogger.com I love Sonic.net already http://unethicalblogger.com/posts/2010/07/i_love_sonicnet_already <p>Thanks to <a href="http://twitter.com/pemullen">@pemullen</a>, I was introduced to <a href="http://sonic.net">Sonic.net</a> some time ago. Unfortunately I never took the time in my old apartment to switch out my AT&amp;T DSL for Sonic.net's Fusion service; the thought of home internet downtime was just too dreadful to even contemplate changing, despite AT&amp;T's absolutely awful service.</p> <p>Now that I've left that apartment, I can finally take the dive into some delightful Sonic.net service, and while it's not even installed yet, I can tell this is going to be a wonderful relationship just by some of the support emails I've been exchanging with their folks.</p> <p><strong>From me:</strong></p> <blockquote> <p>Like an idiot I moved in last weekend instead of this upcoming weekend, so I'm now in the unenviable position of zero home internet service. In the interest of time, can you guys just ship the kit instead of sending some poor tech to Berkeley? :)</p> <p>I understand that AT&amp;T still needs to install a line, but after that I'm hoping to get up and running as soon as possible, I'm almost to the point of considering opening a book to read.</p> <p>Oh the horror.</p> </blockquote> <p>After only a couple hours <strong>Kelly R.</strong> got back to me:</p> <blockquote> <p>Sorry to hear that you've been driven to such desperate measures. I know the lead time takes a while from AT&amp;T, but we here at Sonic.net have been working on expediting our end of the install process as much as possible. I'll keep my fingers crossed that this installation process doesn't result in a library membership.</p> </blockquote> http://unethicalblogger.com/posts/2010/07/i_love_sonicnet_already#comments Miscellaneous Opinion Thu, 08 Jul 2010 03:05:06 +0000 R. Tyler Croy 295 at http://unethicalblogger.com Fatso Adventures: "I wonder what's down here?" http://unethicalblogger.com/posts/2010/06/fatso_adventures_i_wonder_whats_down_here <p>Quite the mixed bag today has been, I went to court (more on that later), I signed a lease (more on that later too), and I worked from home. Since ET and I are leaving this apartment soon, the management company has been showing the apartment during the day. Not a big deal, strangers walk around the apartment, all the windows are opened, all the lights are turned on, doors are opened and closed and if you're lucky enough to be around, you get to field questions.</p> <p>About an hour or two after the showing of the apartment was over, ET looks up from the couch and asks "Where's Buddy" (a.k.a. Fatso). After looking in all of the usual hiding places, she grabs a can of food and taps the lid and listens. A faint meowing is heard. She opens the closet door and taps the lid again. Meow, meow, meow. I think to myself "no way in hell is that cat in the closet, so I hold the can out the window and tap, tap, tap. Meows are coming from outside of the bathroom window. <a href="http://www.flickr.com/photos/agentdero/4747139465/" title="The window by agentdero, on Flickr"><img src="http://farm5.static.flickr.com/4115/4747139465_c46fbcf4a1_m.jpg" width="240" height="180" alt="The window" align="right" /></a> Our bathroom window opens onto this tiny area between two buildings, and is rarely opened because the view sucks, and we don't stink up our bathroom too much.</p> <p>Not entirely sure where the cat is, I go to the other side of this little area, in the buildings stairwell and open the window, climb out, and poke around for Fatso, a.k.a Buddy, a.k.a Missing Kitty #1. I can't see Fatso at all but I can <em>hear</em> him. I tapped on the hood for the ventilation shaft and I hear meowing. I tap again, meowing. Reaching my hand around under the hood, I hear more meowing but I don't feel anything.</p> <p>Thanks to a flashlight and mirror loaned from a friendly neighbor, who's more earthquake prepared than ET and I, I was able to look down the ventilation shaft. and I see Fatso's stupid little face, all the way at the bottom.</p> <p><center><a href="http://www.flickr.com/photos/agentdero/4747137655/" title="The inlet by agentdero, on Flickr"><img src="http://farm5.static.flickr.com/4078/4747137655_43cf79b08c_m.jpg" width="240" height="180" alt="The inlet" /></a></center></p> <hr /> <p>Running down to the basement confirms two things, this cat is stuck, secondly, he's stuck in the ventilation inlet to the heating system for the building. <em>Stupid cat</em>. While I continue to investigate possible exit strategies, something Fatso clearly hadn't considered, ET is on telephone duty. First we call the management company, who are characteristically useless, then it's on to the fire department's non-emergency line. <a href="http://www.flickr.com/photos/agentdero/4747138561/" title="From the garage by agentdero, on Flickr"><img src="http://farm5.static.flickr.com/4114/4747138561_85521bf4e3_m.jpg" width="240" height="180" alt="From the garage" align="right"/></a></p> <p>When the calvary (see: firemen) arrive, the first thing we do is rip the hood off the ventilation shaft to determine whether we can fish the stupid cat from the depths, which after removing the hood, turns out to be about 15ft. To add insult to injury, there are a couple pieces of wood fastened into place at the top, preventing any beings larger than a 12 pound stupid cat from fitting down the shaft. Looks like we'll have to attack it from the basement, and be "we" I mean the firemen, I'm useless.</p> <p>The good boys from the SFFD find a seam in the sheet metal where the shaft attaches to the furnace and using some basic tools (pick) and their hands, are able to tear back some sheet metal so I can poke my head in the bottom of the buildings furnace, only to see our stupid cat, a.k.a Fatso, a.k.a Buddy, a.k.a Missing Cat #1, as far away as possible, entirely unwilling to exit the dark bowels of the furnace he's occupied for nigh three hours now.</p> <p>I explain to the firemen, that I can probably handle it from here since they likely have "real shit to do", but they are unwilling to budge, waiting on "verification" of the cat; they had not actually <em>seen</em> the cat at all up until this point. I shove my head back in the furnace, this time with an arm and grab Fatso by the neck and drag him, against his will, from the furnace to greet the four smiling faces of the SFFD's finest (and ET). <a href="http://www.flickr.com/photos/agentdero/4747780668/" title="The escape route by agentdero, on Flickr"><img src="http://farm5.static.flickr.com/4099/4747780668_679dd746c5_m.jpg" width="240" height="180" alt="The escape route" align="left" /></a></p> <p>The firemen are kind enough to seal the now warped sheet metal enough to hold the system over until the management company can repair the damage, and after thanking them they were on their merry way, ideally to save somebody's life, but most likely to watch Real Housewives of New Jersey back at the station while they wait for something to catch on fire or some stupid cat to poke its head where it doesn't belong.</p> <p>Fatso's favoring his hind-legs a little right now but is all and all in good condition. I want to say he's learned his lesson, but I'm certain he hasn't.</p> http://unethicalblogger.com/posts/2010/06/fatso_adventures_i_wonder_whats_down_here#comments Miscellaneous Opinion Photos Wed, 30 Jun 2010 02:06:05 +0000 R. Tyler Croy 290 at http://unethicalblogger.com Keyboard Synergy http://unethicalblogger.com/posts/2010/06/keyboard_synergy <p>Over the past year or two I've become quite fond of tiled window managers, the jump to Awesome (which I've <a href="http://unethicalblogger.com/posts/2009/07/awesomely_bad">since dropped</a>) to <a href="http://xmonad.org">XMonad</a> was a logical one. My gratuitous use of GNU/screen and <a href="http://vim.org">Vim</a>'s tabs and split window support, already provided a de-facto tiled window manager within each one of my many terminals. The tiled window manager on top of all those terminals has served to improve my heavily-terminal biased workflow.</p> <p>One computer has never been enough for me, at the office my work spans three screens and two computers, I've not yet discovered a Thinkpad that can drive three screens alone; at home I typically span three screens and two laptops (let's conveniently ignore the question of <em>why</em> I feel I need so much screen real estate). Tying these setups together I use <a href="http://synergy2.sourceforge.net">synergy</a> to provide my "software KVM" switch. As long as I've used synergy, I've had to switch from one screen to the other with a mouse, which is one of the <strong>few</strong> reasons I still keep one on the desk.</p> <p>Until I discovered a way around that, thanks to Jean Richard (a.k.a <a href="http://github.com/geemoo">geemoo</a>) who posted <a href="http://geemoo.ca/blog/241/synergy-tricks-switch-screens-with-a-keyboard-shortcut">this little configuration change</a> to <code>synergy.conf</code>:</p> <div class="geshifilter"><pre class="geshifilter-bash"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">section: options</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> keystroke<span style="color: #7a0874; font-weight: bold;">&#40;</span>control+alt+l<span style="color: #7a0874; font-weight: bold;">&#41;</span> = switchInDirection<span style="color: #7a0874; font-weight: bold;">&#40;</span>right<span style="color: #7a0874; font-weight: bold;">&#41;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> keystroke<span style="color: #7a0874; font-weight: bold;">&#40;</span>control+alt+h<span style="color: #7a0874; font-weight: bold;">&#41;</span> = switchInDirection<span style="color: #7a0874; font-weight: bold;">&#40;</span>left<span style="color: #7a0874; font-weight: bold;">&#41;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">end</div></li></ol></pre></div> <p>With this minor configuration change, combined with XMonad, <a href="http://github.com/philc/vimium">Vimium</a> (Vim-bindings for Chromium) and my usual bunch of terminal-based applications, I can go <em>nearly</em> mouse-less for almost everything I need to do during the day.</p> http://unethicalblogger.com/posts/2010/06/keyboard_synergy#comments Linux Miscellaneous Mon, 14 Jun 2010 16:45:00 +0000 R. Tyler Croy 288 at http://unethicalblogger.com Another video of the cat http://unethicalblogger.com/posts/2010/06/another_video_cat <p><center></p> <object width="500" height="405"><param name="movie" value="http://www.youtube-nocookie.com/v/tdEM3XREqyU&hl=en_US&fs=1&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/tdEM3XREqyU&hl=en_US&fs=1&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object><p></center></p> <p>Reasons the cat meows:</p> <ul> <li>Hungry</li> <li>Too Cold</li> <li>Annoyed</li> <li>Preparing to jump off the bed</li> <li>Jumping off the bed</li> <li>Successfully landed on the floor</li> <li>Happy</li> <li>Welcoming you home</li> <li>Appreciating being petted</li> <li>Hungry</li> <li>Sleepy</li> <li>Too Warm</li> <li>Unhappy</li> <li>Hungry</li> </ul> http://unethicalblogger.com/posts/2010/06/another_video_cat#comments Miscellaneous Sun, 06 Jun 2010 17:00:00 +0000 R. Tyler Croy 287 at http://unethicalblogger.com I get lippy when I drink http://unethicalblogger.com/posts/2010/05/i_get_lippy_when_i_drink <p>Most folks that know me, either virtually or otherwise, know I have opinions. Plenty of opinions, regardless of whether or not I'm qualified to comment on the subject, chances are, I will. At <a id="aptureLink_l1nPo1jdAq" href="http://twitter.com/21stAmendment">21st Amendment</a> last Friday, I was in quite a "mood" and poking fun at a few people, of course Can dutifully posted them to twitter, all of which I feel need explaining.</p> <blockquote> <p>"no, they just apply synergy to paradigms!" - <a href="http://twitter.com/cansar/status/14008678069">via @cansar</a></p> </blockquote> <p>Some how Chris Messina and David Recordon came up in the conversation, I'm not afraid to say that I've known of them both for almost three years now, and I still don't have a clue what they actually <em>do</em>.</p> <blockquote> <p>"yeah, well he shops at [El] Pollo Loco" - <a href="http://twitter.com/cansar/status/14009034255">via @cansar</a></p> </blockquote> <p>Apparently Can doesn't know you can buy Bison meat (a tasty alternative to beef), Can also thinks 6 sushi rolls are enough for lunch, suffice to say he has the eating habits of a <a id="aptureLink_FaTjmnoIvu" href="http://www.youtube.com/watch?v=pRLkcmkSUG4">Maury Povich baby</a>.</p> <blockquote> <p>"the UK has very lax [child] labor laws, before that he was a chimney sweep" - <a href="http://twitter.com/cansar/status/14009034514">via @cansar</a></p> </blockquote> <p>When discussing Apture's advisors, <a id="aptureLink_0lKAauLo8Y" href="http://twitter.com/dotben">Ben Metcalfe</a> came up, smart guy, fun to hang out with but apparently worked for the BBC in his teens, which I didn't know before Friday evening.</p> <p>In the interest of full-disclosure, I was drinking.</p> <p>If you're interested in hearing me poke fun at myself, you, your startup, your colleagues or your investors, do join me at 21st Amendment next friday at 5 p.m.</p> http://unethicalblogger.com/posts/2010/05/i_get_lippy_when_i_drink#comments Miscellaneous Mon, 17 May 2010 16:00:00 +0000 R. Tyler Croy 285 at http://unethicalblogger.com Programming as an objective art http://unethicalblogger.com/posts/2010/03/programming_objective_art <p>Writing software is an outlet for artistic expression to many people, myself included. For me, solving problems involves a good deal of creativity not only in the actual solution but also in the manipulating several moving parts in order to fit the solution into an existing code-base. Combining this creative outlet with a beautiful language, such as Python results in some developers writing code that holds an masterpiece-level of beauty to them, to the untrained eye one might look at a class and think nothing of it, but to the author of that code, it might represent a substantial amount of work and personal investment.</p> <p>Like art, sometimes the beauty is entirely subjective. there has been times where I've been immensely pleased with one of my creations, only to turn to wholly unimpressed <a id="aptureLink_0iGpof5YL6" href="http://twitter.com/stuffonfire">Dave</a>. Managing or working with any team of highly motivated, passionate and creative developers presents this problem, as a group: <strong>how can you objectively judge code while preserving the sense of ownership by the author?</strong> <!--break--> The first step to objectively judging code in my opinion, is to separate it from the individual who wrote it when discussing the code. For a lot of people this is easier said than done, particularly for younger engineers like myself. Younger engineers tend to have "more to prove" and are thereby far more emotionally invested in the code that they write, while older engineers whether by experience or simply by having written more code than their younger counterparts are able to distance themselves emotionally more easily from the code that they write. Not to say older engineers aren't emotionally invested in their work, in my experience they typically are, it's just a matter being better at picking battles.</p> <p>Code review is a common sticking point for a lot of engineers, it's incredibly important for both parties in a code review to judge the code objectively, if you are not, a code review can result in hurt feelings and resentment, personal differences bubbling up to the surface in a venue they don't belong in. I think it's immensely important to refer to code as an entity unto itself once a code review starts, phrases like "your code" are a major taboo. Separating the person who wrote the code from the code itself can help both the reviewer but also the original author of the code look at the changes in an objective light. "<em>The code is overly complicated when all it should be doing is X.</em>" "<em>The patch doesn't appropriately account for condition Y, which can happen if Z.</em>" With a change in semantics, the conversation changes from one developer judging another's work, to two developers objectively discussing whether or not the desired goal has been acheived with minimal downside. (<em>Note</em>: I'm presuming "proper code review" is being performed, devoid of nitpicking on minor style differences) You will find behavior like this in many successful open source projects that make heavy use of code review, the Git project comes to mind. When patches are posted to the mailing list, their merits are discussed as a separate entity, separated from the original author.</p> <p>This same strategy of separating the individual from the code should also be applied to bugs in the code. When using <a id="aptureLink_BRxnybEToo" href="http://www.kernel.org/pub/software/scm/git/docs/git-blame.html">git-blame(1)</a> for example, there is a tendency to look at who authored the change, seek them out and pummel them with a herring. In a smaller team dynamic, as well as an open source environment, pinning "ownership" of a bug to a particular person is <em>entirely</em> non-constructive. Publicly citing and referencing somebody else's mistake does nothing other than hurt that individual's ego. The important part to refer to with git-blame(1) is the commit hash, and nothing else. With the conversation changed from "<em>Jacob introduced a bug that causes X</em>" into "<em>Commit ff612a introduces a bug that causes X</em>" those involved can then look at the code, and determine what about that code causes the issue. For simpler bugs the original author will typically pipe up with "<em>Whoops, forgot about X, here's a fix</em>" but there are also cases where the original author didn't know about the implications of the change, had no means of testing for X, or the bug was caused by another change the original author wasn't privvy to. If the code is not separate from the individual, those latter cases can be tension points between developers that need not exist, making it all the more important (especially in small teams) to discuss changes openly and objectively.</p> <p>With code decoupled from the author himself, how does the author maintain that same sense of pride and ownership? The original author should be charge with making any changes that arise out of a code review (naturally) but also should maintain responsibility for that portion of code moving forward; this added responsibility ensures less "fire and forget" changes and adds more pressure on the code reviews to yield improvements to the stability and readability of new code.</p> <p>As soon as more than one developer is working on a project, it becomes increasingly important to recognize the difference between the "works of art" and the artist himself. The ceilings of the <a id="aptureLink_C8Ludq175A" href="http://en.wikipedia.org/wiki/Sistine%20Chapel%20ceiling">Sistine Chapel</a> are an incredible piece of art, not because they were painted by Michelangelo. Writing code should be no different, the art is not the artist and vice versa.</p> http://unethicalblogger.com/posts/2010/03/programming_objective_art#comments Miscellaneous Opinion Software Development Mon, 01 Mar 2010 15:30:00 +0000 R. Tyler Croy 273 at http://unethicalblogger.com Aren't we just adorable http://unethicalblogger.com/posts/2010/02/arent_we_just_adorable <p>A few weekends ago ET and I had some engagement photos taken, I'm told this is normal, by the husband-and-wife team from <a href="http://tibidabophotography.com/">Tibidabo Photography</a>, Bob and Becky. The duo met us at one of my favorite spots in San Francisco: <a id="aptureLink_bEhQfgpdTP" href="http://maps.google.com/maps?om=0&amp;iwloc=addr&amp;f=q&amp;ll=37.7694001%2C-122.4290676&amp;hl=en&amp;z=15&amp;ie=UTF8">Duboce Ave and Buena Vista Ave East</a> after which we ran around in Buena Vista Park taking a few shots, then down to <a id="aptureLink_zw8zgzu7xR" href="http://maps.google.com/maps?om=0&amp;iwloc=addr&amp;f=q&amp;ll=37.7943737%2C-122.4833053&amp;hl=en&amp;z=14&amp;ie=UTF8">Baker Beach</a>. As much as I <strong>hate</strong> having my picture taken, they did a wonderful job and grabbed some really stellar shots.</p> <p><center><img src="http://agentdero.cachefly.net/scratch/et_beunavista.png" alt="There's a bit of a height difference"/></center></p> http://unethicalblogger.com/posts/2010/02/arent_we_just_adorable#comments Miscellaneous Photos Tue, 23 Feb 2010 23:45:00 +0000 R. Tyler Croy 271 at http://unethicalblogger.com Yes, that is hair on my chin http://unethicalblogger.com/posts/2010/02/yes_hair_my_chin <p>And it's taken an eternity to graduate from "adorable peach fuzz" to "smudge of dirt" status, so leave me alone.</p> <p>I figure by the time it grows long enough to where I stop getting carded for alcohol, my hair will be gray, thus defeating the purpose.</p> http://unethicalblogger.com/posts/2010/02/yes_hair_my_chin#comments Miscellaneous Tue, 16 Feb 2010 22:45:00 +0000 R. Tyler Croy 267 at http://unethicalblogger.com Writing for multiple blogs http://unethicalblogger.com/posts/2010/02/writing_multiple_blogs <p>My New Year's resolution this year was incredibly generic insofar that I merely wanted to "write more." No qualifications for what kind of writing that entailed, I simply want to become a better writer (or blogger), with technical subjects in particular I'd like to get better at writing in a fashion that is interesting, parse-able by novices and has sufficient "depth" to interest more technical readers. I'm not sure if I can define what being a "better writer" will entail or how I'll know when I'm there, so for now I'm just trying to write good content. Considering <a href="/posts/2010/02/i_hope_you_bump_your_head">my last post</a> didn't even pretend to ride the fence between opinionated-article and full-on rant, I think it's safe to say that in order to accomplish my goal I need more venues for writing and more topics to write about.</p> <p>One of those venues, which I've linked to before is the <a href="http://blog.apture.com">Apture Blog</a>; I have written for the company blog already this year and chances are I will have another few posts go up as we tackle some of the technical challenges we're currently facing (you can view <a href="http://blog.apture.com/author/Tyler/">my posts here</a>). Unfortunately there's only so many articles I can write for the Apture Blog without giving away any confidential information or turning it completely into a technical blog (hint: it's not).</p> <p>Looking around at a few of the open source communities that I'm involved in, two groups stick out: <a id="aptureLink_J0BR15PXFG" href="http://eventlet.net/">Eventlet</a> and <a id="aptureLink_555P11dsr1" href="http://twitter.com/hudsonci">Hudson</a>. Eventlet already <a href="http://blog.eventlet.net">has a blog</a> and I'm certain my usage of Eventlet is not steady enough to warrant any kind of authoritative posts on the subject. The other, Hudson, is something I've used on a daily basis for almost a year and a half. Not only that, I run the <a id="aptureLink_OmRHUDqUFY" href="http://twitter.com/hudsonci">@hudsonci</a> twitter account and founded the <code>#Hudson</code> channel on <a id="aptureLink_Cnh1sMSnMS" href="http://en.wikipedia.org/wiki/Freenode">Freenode</a>, I've also tried my hand at developing some plugins for Hudson (which is written in Java). Suffice to say, I'm quite the little Hudson cheerleader.</p> <p>When I floated the idea of an "official" blog for Hudson, which I would help drive, to <a id="aptureLink_jV9wF0lnE0" href="http://twitter.com/kohsukekawa">Kohsuke</a> and some other "core" developers of Hudson, the idea was well received and I set off getting Drupal configured, writing some preliminary content and getting ready for a launch of <a href="http://blog.hudson-ci.org">Continuous Blog</a>. While my writing contributions thus far to Continuous Blog have been sparse, I've gotten to play the delightful role of Editor which is an entirely different experience unto itself.</p> <p>I'm looking forward to seeing how this develops, I might end up writing for a few other blogs depending on interest and time, but for now my shenanigans can be found on:</p> <ul> <li>unethical blogger (duh)</li> <li><a href="http://blog.hudson-ci.org/users/posts_by/rtyler">Continuous Blog</a></li> <li><a href="http://blog.apture.com/author/Tyler/">The Apture Blog</a> <!--break--></li> </ul> http://unethicalblogger.com/posts/2010/02/writing_multiple_blogs#comments Miscellaneous Software Development Thu, 11 Feb 2010 07:39:50 +0000 R. Tyler Croy 265 at http://unethicalblogger.com Using a browser to piss off IRC users, or, spamming #redditdowntime http://unethicalblogger.com/posts/2010/01/using_browser_piss_irc_users_or_spamming_redditdowntime <p>One of my most favorite sites on the internet, <a id="aptureLink_oItUAC4mad" href="http://www.crunchbase.com/company/reddit">reddit</a>, took <a href="http://www.reddit.com/r/announcements/comments/au8tj/reddit_will_be_down_for_maintenance_for_about_two/">some downtime</a> this evening while doing some infrastructure (both hardware and software) upgrades. On their down-page, the reddit team invited everybody to join the <code>#redditdowntime</code> channel on the <a id="aptureLink_JieW5a5FB1" href="http://twitter.com/freenodestaff">Freenode</a> network, ostensibly to help users pass the time waiting for their pics and <a id="aptureLink_SYNJDA40tz" href="http://www.reddit.com/r/IAmA/">IAMAs</a> to come back online.</p> <p>Shortly after reddit started their scheduled outage, I joined the channel to pass the time while I debated what I should do with my evening. Within minutes the channel was <strong>flooded</strong> with a number of users, varying between spouting reddit memes in caps. link-spamming or engaging in casual chit-chat. I complained to one of the ops and fairly well-known-to-redditors employee: <a id="aptureLink_dwt02hKbCy" href="http://twitter.com/jedberg">jedberg</a> about the lack of moderation and he nearly instantly gave me <code>+o</code> (ops) in the channel. Not one to take my ops duty lightly, I started kicking spammers, warning habitual caps-lock users and tried to keep things generally civil through the deluge of messages consuming the channel.</p> <p>Towards the end of the scheduled outage, some automated link-spamming started to appear and once it started it triggered more and more link-spamming. Clearly whatever was behind the <a id="aptureLink_YZZe6EYEsL" href="http://www.crunchbase.com/company/bit-ly">bit.ly</a> link was responsible for the self-propagating nature of the spamming. While the other moderators and myself tried to keep up with banning people I used wget to fetch the destination of the clearly malicious bit.ly URL to determine what we were dealing with. What I found is one of the more clever bits of JavaScript I think I've seen in recent months.</p> <p>After bringing the site back up for a few minutes, reddit had to take it back down after noticing some problems with the upgrade, so another flood of users filled into the <code>#redditdowntime</code> channel and the link-spamming got worse. The most interesting aspect of the JavaScript in the code snippet below is how simple it is, I've commented it up a bit to help explain what's actually going on:</p> <div class="geshifilter"><pre class="geshifilter-javascript"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;</span>iframe id=<span style="color: #3366CC;">&quot;y&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #3366CC;">&quot;y&quot;</span> style=<span style="color: #3366CC;">&quot;display:none&quot;</span><span style="color: #66cc66;">&gt;&lt;/</span>iframe<span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;</span>form method=<span style="color: #3366CC;">&quot;post&quot;</span> target=<span style="color: #3366CC;">&quot;y&quot;</span> action=<span style="color: #3366CC;">&quot;http://irc.freenode.net:6667/&quot;</span> enctype=<span style="color: #3366CC;">&quot;text/plain&quot;</span> id=<span style="color: #3366CC;">&quot;f&quot;</span> style=<span style="color: #3366CC;">&quot;display:none&quot;</span><span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #66cc66;">&lt;</span>textarea <span style="color: #000066;">name</span>=<span style="color: #3366CC;">&quot;x&quot;</span> id=<span style="color: #3366CC;">&quot;x&quot;</span><span style="color: #66cc66;">&gt;&lt;/</span>textarea<span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;/</span>form<span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;</span>script type=<span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* </span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * Generate a random string of characters to use for an IRC nick</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">function</span> rnd<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> chars=<span style="color: #3366CC;">&quot;abcdefghijklmnopqrstuvwxyz&quot;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> r=<span style="color: #3366CC;">''</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> length=Math.<span style="color: #006600;">floor</span><span style="color: #66cc66;">&#40;</span>Math.<span style="color: #006600;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span><span style="color: #CC0000;">10</span><span style="color: #CC0000;">+3</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i=<span style="color: #CC0000;">0</span>;i<span style="color: #66cc66;">&lt;</span>length;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> rnum=Math.<span style="color: #006600;">floor</span><span style="color: #66cc66;">&#40;</span>Math.<span style="color: #006600;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">*</span> chars.<span style="color: #006600;">length</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> r += chars.<span style="color: #006600;">substring</span><span style="color: #66cc66;">&#40;</span>rnum, rnum<span style="color: #CC0000;">+1</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #66cc66;">&#125;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #000066; font-weight: bold;">return</span> r;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #66cc66;">&#125;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">function</span> lol<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Grab a reference to the textarea */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> x = document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'x'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Grab a reference to the form itself */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> f = document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'f'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Generate a fake user-name */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> i = rnd<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Generate a fake nick */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #003366; font-weight: bold;">var</span> n = rnd<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* </span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * Build a series of IRC commands into a string:</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * - Set the username</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * - Set the nick </span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * - Join the channel to spam (#redditdowntime)</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; * - Queue up a bunch of PRIVMSG commands to the channel with the spam link</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900; font-style: italic;">&nbsp; */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> x.<span style="color: #006600;">value</span>=<span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>USER '</span>+i+<span style="color: #3366CC;">' 8 * :'</span>+n+<span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>NICK '</span>+n+<span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>JOIN #redditdowntime<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>'</span>+<span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #66cc66;">&#40;</span><span style="color: #CC0000;">99</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">join</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'PRIVMSG #redditdowntime :http://bit.ly/lolreddit<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>'</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #3366CC;">''</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Submit the form, effectively sending the textarea contents to an IRC server */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> f.<span style="color: #006600;">submit</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #009900; font-style: italic;">/* Setup a loop for maximum irritation */</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> setTimeout<span style="color: #66cc66;">&#40;</span>lol, <span style="color: #CC0000;">5000</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> <span style="color: #66cc66;">&#125;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> lol<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;/</span>script<span style="color: #66cc66;">&gt;</span></div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&lt;</span>h1<span style="color: #66cc66;">&gt;</span>DIGG ROOLZ<span style="color: #66cc66;">!</span> REDDIT DROOLZ<span style="color: #66cc66;">!&lt;/</span>h1<span style="color: #66cc66;">&gt;</span></div></li></ol></pre></div> http://unethicalblogger.com/posts/2010/01/using_browser_piss_irc_users_or_spamming_redditdowntime#comments Miscellaneous Software Development Wed, 27 Jan 2010 09:43:04 +0000 R. Tyler Croy 262 at http://unethicalblogger.com Unsubstantiated Rumors about Apture and Facebook http://unethicalblogger.com/posts/2010/01/unsubstantiated_rumors_about_apture_and_facebook <p>Yesterday I was pointed to <a href="http://www.readwriteweb.com/archives/who_should_facebook_acquire_next_mark_zuckerberg_w.php">this post</a> on <a id="aptureLink_dnAh1RSm8g" href="http://www.crunchbase.com/company/readwriteweb">ReadWriteWeb</a>, suggesting that Facebook should acquire Apture next. Being an Apture employee, I would like to take some time to fuel the rumormill with these COMPLETELY TRUE (read: <em>false</em>) rumors:</p> <p><strong>Unsubstantiated Rumor #1:</strong></p> <blockquote>A <a id="aptureLink_qY7grmRXt3" href="http://www.crunchbase.com/person/mark-zuckerberg">shadowy figure</a> in a black Northface jacket has been spotted lingering around <a id="aptureLink_IDCAQrIJgd" href="http://maps.google.com/maps?om=0&amp;iwloc=addr&amp;f=q&amp;ll=37.780134%2C-122.396744&amp;hl=en&amp;z=16&amp;ie=UTF8">539 Bryant St in San Francisco</a></blockquote> <p><strong>Unsubstantiated Rumor #2:</strong></p> <blockquote><a id="aptureLink_9miKozqEUo" href="http://www.crunchbase.com/person/can-sar">Apture's CTO</a> is seen regularly in Palo Alto</blockquote> <p><strong>Unsubstantiated Rumor #3:</strong></p> <blockquote>Apture employees were issued company <a id="aptureLink_DcTLIooB8f" href="http://www.flickr.com/photos/bradleypjohnson/53276326/">Adidas sandals</a> last December</blockquote> <p><strong>Unsubstantiated Rumor #4:</strong></p> <blockquote><a id="aptureLink_52G491oPzb" href="http://www.crunchbase.com/person/mark-zuckerberg">Mark Zuckerberg</a> and <a id="aptureLink_WfiV1z3Akq" href="http://www.crunchbase.com/person/tristan-harris">Tristan Harris</a> talk regularly at meetings of the Bay Area <a id="aptureLink_QPJs7zlNBr" href="http://answers.yahoo.com/question/index?qid=20080218204614AAnhfjy">Strip-Parcheesi</a> Club in Redwood City</blockquote> <p><strong>Unsubstantiated Rumor #5:</strong></p> <blockquote>Apture is hiring aggressively in order to bump up their acquisition price</blockquote> http://unethicalblogger.com/posts/2010/01/unsubstantiated_rumors_about_apture_and_facebook#comments Miscellaneous Opinion Wed, 20 Jan 2010 22:19:19 +0000 R. Tyler Croy 261 at http://unethicalblogger.com Angry Tweeter http://unethicalblogger.com/posts/2009/12/angry_tweeter <p>This year my family celebrated the holidays in north Florida at my older sister's house, fortunately for the location is just as difficult to get to by plane as my parent's house, so I didn't have to miss out on any air travel frustration. My trip to north Florida was <em>very</em> boring, my flight out of San Francisco left at 6 a.m. and I arrived in Jacksonville around dinner time (having slept the majority of the flight). The return trip was far more eventful, I left my sister's house around noon to drive to Jacksonville (roughly an hour and a half trip), waited at the airport for my flight at 4 p.m., arrived in Miami at 5:30, waited for hours on a delayed flight, left Miami around 10 p.m., landed in San Francisco a hours later than anticipated, paid my exorbitant parking fee and sped home.</p> <p>When I woke up the next day, I looked over at how bitchy and whiney my <a id="aptureLink_CgXlNHL6qd" href="http://twitter.com/agentdero">posts to Twitter</a> from the previous day were. I don't <em>think</em> I'm normally that big of a jerk but traveling alone, I needed to vent, often. (<em>note</em>: times listed are PST, for the majority of the trip I was in EST)</p> <blockquote> <p><strong>11:10 AM</strong> Still kind of amazes me how many young women in the south are running around with babies in tow.</p> <p><strong>11:34 AM</strong> How the news should cover this incident: Guy tries something on plane, passengers take him out. Post-9/11, TSA is pointless</p> <p><strong>12:57 PM</strong> Shit. My first flight today has propellers. Fucking propellers.</p> <p><strong>1:22 PM</strong> Propeller death trap. <a href="http://flic.kr/p/7qzKVn">http://flic.kr/p/7qzKVn</a></p> <p><strong>3:20 PM</strong> Step 1 complete; in Miami. Now to SFO.</p> <p><strong>3:29 PM</strong> How does restricting carry-ons make up for the TSA's incompetence? Predictable kneejerkery.</p> <p><strong>3:43 PM</strong> Waiting on a fucking bus to go back to the terminal. My connection is boarding right the hell now :/</p> <p><strong>3:56 PM</strong> "Fortunately" my flight was delayed an hour, so I didn't nearly catch it. Fuckin AA.</p> <p><strong>4:24 PM</strong> Let's just stop flying airplanes, that's the only <em>real</em> way to stay safe from the terrurists.</p> <p><strong>4:47 PM</strong> It's okay American Airlines, I really didn't want to go home anyways.</p> <p><strong>5:05 PM</strong> Outlined a couple posts I want to write on the plane; our original delayed departure time has past, I might never get to writing</p> <p><strong>6:03 PM</strong> More delayment. 2nd potential departure time passed</p> <p><strong>6:08 PM</strong> What kind of toolbox gets luggage embroidered with their initials?</p> <p><strong>6:11 PM</strong> Apparently somebody on the previous flight puked, so we're delayed while they scrub vomit off the seats. Worth it.</p> <p><strong>6:26 PM</strong> The snacks in Miami are a bit dry <a href="http://flic.kr/p/7qHbBN">http://flic.kr/p/7qHbBN</a></p> <p><strong>6:40 PM</strong> This plane better make it to SFO, I'll be pretty pissed to have waited 3 hours to end up in a field.</p> <p><strong>7:23 PM</strong> OMFG I AM TOTALLY ON THE PLANE. 3.5 hours late.</p> <p><strong>1:45 AM</strong> Made it to SFO, only a few hours late. Now to drive home, find a parking spot and cry in the shower a bit</p> <p><strong>3:05 AM</strong> Finally home. Showered, clipped fingernails, q-tip'd ears. Feeling better.</p> </blockquote> <p>Suffice to say, I don't think I'm flying American Airlines again for some time (or at all for that matter). The whole experienc to Florida and back was grueling to say the least; with the parking fees, baggage fees, meal fees, delays and endless hours breathing recycled air riddled with H1N1 and sneezes, I think I'm going to keep my feet on the ground for a while.</p> http://unethicalblogger.com/posts/2009/12/angry_tweeter#comments Miscellaneous Opinion Tue, 29 Dec 2009 03:05:16 +0000 R. Tyler Croy 252 at http://unethicalblogger.com And now a video of my cat being obnoxious http://unethicalblogger.com/posts/2009/12/and_now_video_my_cat_being_obnoxious <p>My relationship with this cat is one of constant fluctuation, when he's quiet and/or asleep, he's the best cat in the world. When I come home and he vies for attention, he drives me nuts.</p> <p>Behold, the powerful lungs of Fatso:<br/> </p> <object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/RL5kgKH30Bo&hl=en_US&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RL5kgKH30Bo&hl=en_US&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object> http://unethicalblogger.com/posts/2009/12/and_now_video_my_cat_being_obnoxious#comments Miscellaneous Mon, 28 Dec 2009 01:49:07 +0000 R. Tyler Croy 249 at http://unethicalblogger.com Get out there and buy (me) stuff http://unethicalblogger.com/posts/2009/12/get_out_there_and_buy_me_stuff <p>A weekend or two ago I sat down and created an Amazon wishlist of stuff that I would like to purchase. In the past I've found Amazon wishlists an ideal way of saying thanks to a number of folks in the open source community whose work I value, at one point I didn't desire any new gadgets and went through a large number of gift cards buying goodies for some of my favorite hackers on Amazon.</p> <p>On the off chance you appreciate <a href="http://www.flickr.com/photos/agentdero/tags/fatso/">pictures of Fatso</a>, <a href="http://github.com/rtyler/cheetah">Cheetah templates</a>, <a href="http://twitter.com/hudsonci">@hudsonci on Twitter</a>, <a href="http://github.com/rtyler/py-yajl">py-yajl</a>, <a href="http://urlenco.de">Urlenco.de</a>, <a href="http://twitter.com/agentdero">tweets on a regular basis</a>, <a href="http://www.flickr.com/photos/8335190@N06/2333319339">watching me talk in a brown corduroy jacket</a> or just plain have money to burn, below is my very own Amazon wishlist.</p> <p><a HREF="http://amzn.com/w/2IYGI7NTW1MQO"><strong>Holy Wishlist Batman!</strong></a></p> <p>Get out there and buy (me) stuff, our economy depends on it.</p> http://unethicalblogger.com/posts/2009/12/get_out_there_and_buy_me_stuff#comments Miscellaneous Tue, 15 Dec 2009 06:57:28 +0000 R. Tyler Croy 243 at http://unethicalblogger.com Python/JSON Eat/Drink-up in San Francisco http://unethicalblogger.com/posts/2009/12/pythonjson_eatdrinkup_san_francisco <p>A few weeks ago when I started working more on <a id="aptureLink_hhyMRd3A8o" href="http://search.twitter.com/search?q=py-yajl">py-yajl</a> I discovered that there are actually a number of <a id="aptureLink_a5GTJ4H6TM" href="http://en.wikipedia.org/wiki/Python%20%28programming%20language%29">Python</a> developers who work(ed) with JSON parsers in the Bay Area. As luck would have it <a id="aptureLink_dBhA8T1qeq" href="http://twitter.com/lloydhilaiel">Lloyd</a>, the author of <a id="aptureLink_SbD3Rzx991" href="http://lloyd.github.com/yajl/">Yajl</a>, is going to be in town next weekend for <a id="aptureLink_WynkcrwDeo" href="http://twitter.com/AddonCon">Add-on-Con</a>, time to meet up and have some beers! I've invited the authors of: <a id="aptureLink_KNyBnc5k59" href="http://code.google.com/p/simplejson/">simplejson</a>, <a id="aptureLink_ZbikePoaB3" href="http://pypi.python.org/pypi/jsonlib">jsonlib</a>, <a id="aptureLink_iEdZR6OG34" href="http://pypi.python.org/pypi/jsonlib2/">jsonlib2</a> and a few other Python hackers in the Bay Area that I know of.</p> <p>If you're in San Francisco this Saturday (Dec. 12th) and loves you some Python, don't hesitate to swing by <a id="aptureLink_TTUxypvCoS" href="http://twitter.com/21stAmendment">21st Amendment</a> around 1pm-ish to join us!</p> http://unethicalblogger.com/posts/2009/12/pythonjson_eatdrinkup_san_francisco#comments Miscellaneous Python Wed, 09 Dec 2009 08:36:31 +0000 R. Tyler Croy 242 at http://unethicalblogger.com Server-side image transforms in Python http://unethicalblogger.com/posts/2009/12/serverside_image_transforms_python <p>While working at <a id="aptureLink_LQdA2xFWcb" href="http://twitter.com/slideinc">Slide</a>, I became enamored with the concept of cooperative threads (coroutines) and the in-house library built around <a id="aptureLink_uF9ePt8EiT" href="http://pypi.python.org/pypi/greenlet">greenlet</a> to implement coroutines for Python. As an engineer on the "server team" I had the joy of working in a coro-environment on a daily basis but now that I'm "out" I've had to find an alternative library to give me coroutines: <a id="aptureLink_k3TaZzEP9q" href="http://eventlet.net/doc/">eventlet</a>. Interestingly enough, eventlet shares common ancestry with Slide's internal coroutine implementation like two different species separated thousands of years ago by continental drift (a story for another day).</p> <p>A few weekends ago, I had a coroutine itch to scratch one afternoon: an eventlet-based image server for applying transforms/filters/etc. After playing around for a couple hours "<a id="aptureLink_MaMftEzfE4" href="http://github.com/rtyler/PILServ/commits/master">PILServ</a>" started to come together. One of the key features I wanted to have in my little image server project was the ability to not only pass the server a URL of an image instead of a local path but also to "chain" transforms in a jQuery-esque style. Using segments of the URL as arguments, a user can arbitrarily chain arguments into PILServ, i.e.:</p> <pre><code>http://localhost:8080/flip/filter(blur)/rotate(45)/resize(64x64)/&lt;url to an image&gt; </code></pre> <p>At the end of the evening I spent on PILServ, I had something going that likely shows off more of the skills of <a id="aptureLink_my0NPtWw65" href="http://www.pythonware.com/products/pil/">PIL</a> rather than eventlet itself but I still think it's <em>neat</em>. Below is a sample of some images transformed by PILServ running locally:</p> <p><center><a href="http://agentdero.cachefly.net/scratch/pilserv.png" rel='lightbox'><img src="http://agentdero.cachefly.net/scratch/pilserv.png" width="450" border="0"/></a></center></p> http://unethicalblogger.com/posts/2009/12/serverside_image_transforms_python#comments Miscellaneous Python Software Development Sat, 05 Dec 2009 06:51:33 +0000 R. Tyler Croy 240 at http://unethicalblogger.com End of a journey http://unethicalblogger.com/posts/2009/10/end_journey <p><em>See parts <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_1">1</a>, <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2">2</a> and <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2">3</a></em></p> <p>My journey at <a id="aptureLink_AFX5uK9A2m" href="http://twitter.com/slideinc">Slide</a> comes to an end today, when I leave this evening I will once again return to being a free agent (if only for two days). Some of my coworkers have casually referred to my writings over the past few days of my "memoirs", which isn't too far off to be honest. When I leave Slide this evening, my employment will have accounted for roughly 10% of my entire life and 50% of my adult life. Writing my side of the story down, to some extent, has been more about telling a story to myself and less about telling it to anybody else (apologies). So much of my time spent at Slide has been in a state of controlled choas that at times it's hard for me to remember when things were done, who was doing them and the order in which they happened.</p> <p>The two questions I've invariably gotten since I gave my notice and subsequently started writing this series of posts have been: why are you leaving and where are you going? My reasons for leaving are irrelevant, I will say that if I could take the people I've been working with at Slide with me, I would. I've learned such an incredible amount from those that I've worked with, both technical and non-technical, while at Slide. Whenever I would pitch friends on the idea of joining Slide, my take-home point was always "when you join Slide, you will not be the smartest person there." I feel lucky that I was given the opportunity to "come of age" as a young engineer in a company of so many tremendously talented individials, given the chance for a do-over, I would still play my cards the way I've played them. I joined Slide a punk kid from Texas, I'm leaving Slide a slightly-more-learned punk kid from Texas.</p> <p>As to where I am going, after an extended vacation of Saturday and Sunday, I will be joining my second startup ever (Slide's a pretty good first time out) on Monday. When I started looking at other companies I had a couple of criteria, I wanted to join a smaller team (Slide's upwards of a hundred people or so) and I had to really like who I would be working with. <a id="aptureLink_mYybewEzku" href="http://twitter.com/tristanharris">Tristan</a>, <a id="aptureLink_Hoou8TMc1I" href="http://www.linkedin.com/pub/2/87B/3B5">Jesse</a>, <a id="aptureLink_ihO2we1IkW" href="http://twitter.com/cansar">Can</a> (John) and the team from <a id="aptureLink_msqObwpdC5" href="http://twitter.com/apture">Apture</a> fit both criteria. I'm not going to go into detail about what I'm really going to be doing there or where Apture is going as a company. I will say that after two and a half years of working and studying at Slide, I'm looking forward to employing what I've learned and continuing my education at Apture.</p> <p>See you on the beaches of the world. <!--break--></p> http://unethicalblogger.com/posts/2009/10/end_journey#comments Miscellaneous Opinion Slide Fri, 23 Oct 2009 15:29:19 +0000 R. Tyler Croy 235 at http://unethicalblogger.com My journey at Slide (part 3) http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_3 <p><em>Continuing on from <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_1">part 1</a> and <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2">part 2</a></em></p> <p>Prior to joining <a id="aptureLink_6j6T0qZh7l" href="http://en.wikipedia.org/wiki/Slide">Slide</a>, a friend of mine <a id="aptureLink_V4T5uiewvy" href="http://twitter.com/whurley">"whurley"</a> had nicknamed me the "Angry Young Man" which I promptly put on my first set of business cards (my current business cards list my title as "Meta-Chief Platform Architect, Enterprise Edition", I received them after mentioning a failed poaching attempt by LinkedIn to Max); when Top Friends went dark on Facebook, I was a little more than an "angry young man."</p> <p>Given my close involvement with the product, the amount of sleepless nights working on it, the actions against Top Friends felt personal to me, regardless of the posturing between Slide and Facebook's executives. As hours turned into days offline, it became clear to me that the suspension of the application was far less about our privacy hole and far more about Facebook making an example out of Top Friends to the rest of the platform development community. The message was heard loud and clear by the majority of the developers that I knew, this is not your platform, these are not your users and you will play by our rules or we will wipe you from the face of the site. Building on the platform was not only no more fun, it was also a risky business decision.</p> <p>At the time of the suspension, Keith and I had already started discussing what a "TopFriends.com" might look like, as the signals of platform instability for applications were already being sent. When Top Friends went offline, I prepared a few page outline for Max and Keith detailing "my vision" for what Top Friends would become, I was convinced by that time that its future lie as a social network unto itself, rather than a network contained bu another network (yo dawg..). Not content to simply be "vanity and personal expression" inside of Facebook, I wanted Top Friends to become a separate entity by itself, your VIP club on the internet, at one point there was even executive support for the drawing of users away into a destination site for Top Friends. When the seven days of suspension were over and Top Friends came back online, Slide's strategy shifted drastically. Our new mission for TF on Facebook was to "get as close to Facebook as you can," we were to integrate into a user's experience as much as conceivably possible. Previously we had wanted to run as far away from Facebook as we could, taking our users with us, but the fear that was enstilled by the application suspension caused us to rethink that stance and push Top Friends to be a squeeky clean platform citizen, while we contemplated a possible exodus for FunSpace and SuperPoke!.</p> <p>Around this time in Slide's history I became quite jaded and cynical with regards to the platform, Top Friends had been neutered by Facebook, and my notion of what Top Friends should have been was neutered by Max. Regardless, we still had plenty of work that needed to be done to try to succeed with our new strategy. Months prior, Tony Hsieh (not the Zappos guy) the original Top Friends PM had failed to win the visa lottery and moved back to China, leaving TF without a product manager for some time. While we continued to look for senior PM to take on the role, I had to play both product and engineering manager (with help in both places every now and again). Quite the twist of fate for me, I had often poked fun at PMs at Slide, once creating a powerpoint (one should speak the language) titled "PM Flowchart". The presentation consisted of one slide, with a fairly simple state diagram on it, one block labeled "Write Spec" had an arrow pointing to another block labeled "Bitch." which pointed back at "Write Spec". Suffice to say, product managers and I usually had a tenuous relationship.</p> <p>Passionate about the product to begin with, I started meeting more and more often with Max and Keith to discuss product strategy for TF, in between doing my "real job" of Engineering Manager. Some meetings Keith and Max would square off and I would sit back and watch, other times Keith and I squared off against Max, I rarely took Max's side against Keith's though. Not that I always disagreed with Max, but he was at a slight disadvantage in these discussions, Keith and I generally shared a lot of fundamental ideas of what TF should be, stemming from months of discussing the product by his desk before he ever "officially" worked with the project. The transition over a year and a half from quivering in fear as the director of engineering cursed at me on Dave's house phone, to arguing with the CEO about the product <strong>he</strong> pitched me on, was surreal to say the least. How I didn't get fired is either a testament to my charm or Max's patience.</p> <p>In fall of 2008, when <a id="aptureLink_soRM7vKl9e" href="http://www.linkedin.com/pub/seema-kumar/1/42/92a">Seema</a> finally joined as the Top Friends product manager, not only was I more than ready to relinquish the post, Top Friends was in the midst of an identity crisis. Our "facebook zerg rush" strategy of getting closer and closer to the platform played out as you might of expected (hindsight and all), Facebook redesigned the profile, changed viral communications channels and did a lot of things that were likely good for Facebook, but terrible for applications. TF had a lot of momentum on the "old profile" thanks to users dragging the TF profile box <em>all the way up</em> on their profiles. When Facebook rolled out their new profile which put applications not in the backseat, but in the way-back seat, the strategy of "be lovey dovey with Facebook" started to break down, they weren't being lovey dovey back.</p> <p>Times were also changing outside of Top Friends at Slide, the <a id="aptureLink_S9NqCRPAas" href="http://twitter.com/sppets">SuperPoke! Pets</a> product was starting to take off and actually <strong>make</strong> money directly from users. This was important! Users, giving us money, for pixels! Brilliant! Being a much more reliable revenue stream than the advertising oriented model that FunSpace, SuperPoke! and Top Friends had been built around, Pets quickly became the "top" product at Slide. With ad revenue drying up for Top Friends, we were tasked with experimenting with virtual currency (like Pets) and ultimately "premium items" (like Pets) within Top Friends. It seemed almost as if Top Friends was changing visions, strategies and directions on a bi-weekly basis. One week we were building virtual currency experiments with "Top Dollars", the next, virtual economy experiments with an "Own your friends' profiles" feature, the next, premium virtual goods with "Top Gifts". As the "Top Friends guy" and the manager of the engineering team, I was so confused and disoriented about what we <strong>actually did</strong> and where we were actually heading, I didn't stand a chance at convincing Paul, Geoff and Jason of it.</p> <p>2008 winding down, the writing was on the wall, Top Friends was not going to live long, at least the Top Friends Team wasn't. We had gained a reputation of being very self-sufficient and competent, but with that autonomy came uncertainty from outsiders. I regularly had to remind coworkers that I was a Slide engineer, not a Top Friends engineer, regardless of the TF team's internal view of itself as a "microstartup." When we failed to meet goals set out for us, it was decided that the staff behind Top Friends were too valuable to spend time on a failing product.</p> <p>Jason, Paul and Seema went to start a new project, while Geoff and I, together since the desktop client days, joined the Server/Infrastructure team. My personal "love" for Top Friends had all but dissolved by this point, I was sick of Top Friends, I was sick of Facebook, I was sick of policy, I didn't care all that much about the product anymore. The breaking up of the team though, was crushing. As far war metaphors go, the TF team was a small rag-tag group of guerrillas, capable of taking large projects and finishing them in record time. We often talked about what we did as "playing jazz music" because our work had an improvisational style, but the trust and understanding of where we all fit into the act, allowed us to tackle large tasks in stride; that was all over though. The dream team was broken up.</p> <p>My time on the server team at Slide is unfortunately a boring story of working with stellar engineers capable of writing solid code and deploying it without incident. As exciting as wood filler "this worked out just fine, the end." After years of frenzy with Top Friends and the Facebook platform, my first project for the server team took three weeks to build, was pushed without a hitch and has only required two minor updates since. With my nose to the grindstone building services and scalable architecture, I went months without particularly concerning myself with "product direction", company strategy and their ilk. The closest I would come to application development would be jumping up into application code to fix bugs, all the while cursing app developers' laziness while conveniently forgetting how often I was guilty of the same offense in my tenure with Top Friends.</p> <p>When I finally stuck my head back up, near the end of the summer, I started to realize that I was working at a different company than I remember joining. Slide had grown tremendously and changed direction once again. Since stepping back from the front-lines, I had changed and Slide had changed too.</p> <p>It was about time Slide and I started seeing other people.</p> <p><strong>Continue on to <a href="http://unethicalblogger.com/posts/2009/10/end_journey">the end</a></strong></p> http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_3#comments Miscellaneous Opinion Slide Thu, 22 Oct 2009 09:08:05 +0000 R. Tyler Croy 234 at http://unethicalblogger.com My journey at Slide (part 2) http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2 <p>When I finished up writing <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_1">part 1</a> of my journey at <a id="aptureLink_fx47bCG79W" href="http://www.crunchbase.com/company/slide">Slide</a> yesterday, I had just recounted becoming "the Top Friends guy", savvy readers might have noted that I had <em>not</em> moved off of Dave's couch at the time. I am uncertain whether it is a record to be proud of, but I held the position of "the guy on Dave's couch" for two months. With the leadup to the "F8" conference I didn't have a whole lot of time to find an apartment, Dave being an all around nice guy and amazing cook, wasn't helping my motivation to leave either. That said, I'm a delightful house guest, honest.</p> <p>Shortly after the initial successes of the Top Eight product, and the launch of "FunWall" (renamed "FunSpace" later), Slide quickly converted the desktop client team to the "Facebook Team" with 4-5 engineers hacking on Facebook applications to capitalize as quickly as possible on the wild-west nature of the platform at the time. We subsequently launched another couple apps, such as "My Questions" an application that allowed you to poll your friends (likely our most "useful" application). I ended up writing another application alongside Top Eight called "Fortune Cookie", contrasted to My Questions, it was probably our most useless application. The application was absolutely brilliant (Mike and Max get credit here again), the profile box for the application was a picture of a fortune cookie with a fortune overlaid. <strong>Brilliant</strong>. If/when the user clicked through to the application's canvas page, they were met with a simple grid of checkboxes and friends' faces, checkboxes checked with a giant blue button that said "Invite your Friends!".</p> <p>Never underestimate the power of "Select All", Fortune Cookie <strong>exploded</strong>, alongside our "Magic 8 Ball" application (guess what that was), it spread through the Facebook ecosystem like an epidemic. By mid June Top Eight was renamed Top Friends after we bumped the number of "top friends" you could list from 8 to 24 (<strong>innovation!</strong>); with the power of an intrisicly simple value-proposition to users, 24 friend tiles and "Select All", Top Friends held the rank of <a href="http://www.insidefacebook.com/2007/06/13/10-facebook-apps-with-1-million-users/" target="_blank">#1 application on Facebook</a>. Following Top Friends was iLike, a major initial success, with Fortune Cookie pulling in third place. Further down the list were a couple of familiar applications: Free Gifts, created by <a id="aptureLink_I6DjuMXqUs" href="http://twitter.com/zachallia">Zach Allia</a>, a Northwestern student at the time and a regular on the #facebook channel on Freenode; <a id="aptureLink_bD6TEXokD4" href="http://www.rockyou.com/">Rock You!</a>'s "X Me" application was likely one of the first acquisitions on the Facebook platform, after being created by a student who joined the #facebook channel frantically asking for help as his server was crumbling under the load of pure virality, and SuperPoke! an application created by a then part-time Microsoft employee and two friends.</p> <p><img src="http://agentdero.cachefly.net/unethicalblogger.com/images/superpoke.gif" align="right" alt="SuperPoke!'s Original Logo"/> The first couple weeks of the Facebook platform were sheer insanity, determined to one-up our competitors Rock You!, Slide acquired SuperPoke! and the three engineers that wrote it, <a id="aptureLink_sd7BZ1tbfb" href="http://www.linkedin.com/pub/nik-gandhy/3/a10/48a">Nik</a>, <a id="aptureLink_Fyf7r6i5iF" href="http://twitter.com/wliu">Will</a> and <a id="aptureLink_SoRf26L7bj" href="http://twitter.com/jonathanhsu">Jonathan</a>. Slide was determined to own the market of "virtually do virtual things to your virtual friends on Facebook". In short order the SuperPoke team moved down from Seattle to join the "Facebook Team" in Slide's office at 2nd and Howard, Jon went to the metrics team (being a PhD and all) while Nik and Will shared a desk and started learning Python to port SuperPoke! over to Slide's stack to allow it to scale faster and better than could have been possible on the PHP/MySQL stack it used at the time. Prior to joining Slide, the SuperPoke! application icon was some picture of a goat Nik had plucked from the internets, by joining Slide they had access to <strong>real</strong> designers, not goats from Google Image Search. Slide's most senior designer, <a id="aptureLink_iinYqBREKu" href="http://www.linkedin.com/in/johnniemanzari">Johnnie</a>, can be credited with helping define the brand that would ultimately be synonymous with the Facebook platform and Slide: the SuperPoke sheep. While SuperPoke! and X Me battled it out for 4th and 5th place in the application rankings, journalists started writing articles discussing the Facebook platform, in both positive and negative light, without fail mentiong the absurdity of "throwing sheep" at your friends. I always got the impression that <a id="aptureLink_uXBP518EqL" href="http://www.youtube.com/watch?v=_cEySyEnxvU">Mark Zuckerberg</a> would have considered the Facebook platform successful when IBM ported Lotus Notes to it, being a "utility fetishist", I can only imagine how "<em>delighted</em>" he must have been with the top applications on the platform being the likes of Top Friends, Fortune Cookie, Horoscopes, Graffiti, X Me and SuperPoke!.</p> <p>After the SP guys had joined Slide, Facebook hosted a mid-morning event at their Palo Alto office to help kickstart some developer relations and have top application developers do some lightning-round style presentations. The meeting starting at 9, it was only logical that Nik, Will, Max and I meet at the Slide offices at 8:45; we piled into Max's BMW M3 (a gorgeous car, I highly recommend it) and sped southwards from San Francisco on the 101. Despite driving between 90-100mph through rush-hour traffic towards Palo Alto, we arrived fashionably late; walking in during a presentation, <a id="aptureLink_4kk0ZJGGZc" href="http://www.crunchbase.com/person/dave-mcclure">Dave McClure</a> announced to the whole room "Slide has arrived."</p> <p>Roll around in an M3 enough, have people announce your arrival enough and you too will feel like a Web 2.0 rockstar. Being the "Top Friends guy", I certainly had a bit of an ego going, I still kind of do, but I'm far more modest now about being a complete badass.</p> <p>The summer of 2007 was mostly a blur, the majority of my "workdays" ended up being 14-16 hours usually ending with <a id="aptureLink_QuPobFrnT3" href="http://www.linkedin.com/in/geoffgoss">Geoff</a>, <a id="aptureLink_4S7OQ9EQQy" href="http://www.flickr.com/photos/aarongustafson/6715261/">Sergio</a>, <a id="aptureLink_qcZXJQlIZn" href="http://twitter.com/kaseyhatefuture">Kasey</a> and I drinking into the wee hours of the morning, pushing code and smoking on the fire escape (building management didn't really care for that part). The night before the iPhone launched, a bunch of Sliders had arranged to wait in line in shifts at Apple's Market St store (we were third in line). Given my schedule at the time, I worked most of the night and then manned the 4-7 a.m. shift in line. I didn't even want an iPhone but Tony, the product manager we hired for Top Friends, and I hung out on the sidewalk, smoked fancy cigars and watched the streets get cleaned. My (now) fiance&eacute; was still in Texas finishing up with school, so I had nothing to do but hang out, drink, smoke, write code, push the site and sleep every now and again. My apartment, right in the middle of the colorful Tenderloin district, only served as a place to shower and crash. For the duration of my lease, I didn't own any dishes and rarely had anything in the fridge other than left-over pizza and Cokes.</p> <p>By the latter part of 2007 we hired <a id="aptureLink_bmroAQB3XS" href="http://www.crunchbase.com/person/keith-rabois">Keith Rabois</a> to be the VP of Business Development, presumably to help us ink deals with big important companies about big important things (with big important sacks of money). Initially, I hadn't a clue what the hell Keith did, other than walk around in his shiney silk shirts talking on his fancy iPhone, loud enough to hear across the office. The layout of Slide's office was such that on one end was the open floorplan engineering "pit" and on the other end, separated by a ping pong table and a copy machine were the "non-engineers". The ping pong table was usually as far as I went. At some point, I don't remember exactly when, I started consulting with Keith on product related matters. He had this chair by his desk, so I would stroll over, plop down and gab for longer than he probably had time for about subjects ranging from the latest Facebook gossip to long-term strategy; Keith's involvement with Top Friends would only increase from then moving forward.</p> <p>By the beginning of 2008, the Facebook platform wasn't fun anymore. Too many emails contained the words "policy" and "violation" and often dastardly combinations of the two. At the same time, Slide had upped its commitment to Top Friends hiring <a id="aptureLink_O25FBRJ00X" href="http://jasonrubenstein.blogspot.com/">Jason</a>, who I had known for some time from the #facebook IRC channel, his compatriot <a id="aptureLink_W8EZvJEfz0" href="http://twitter.com/pjthiel">Paul</a>, and assigning Geoff, a senior QA engineer who had put up with my shit on the client team since I joined the company months earlier. I was promoted to Engineering Lead and shortly thereafter to Engineering Manager. My role had changed dramatically, no longer simply just a monkey coding like there was no tomorrow, I now had people I had to be accountable to, all the miserable hacks I had thrown into Top Friends in the previous 8 months I had to sheepishly explain to Jason and Paul, mentioning from time to time how I could do it better given the time.</p> <p>Jason and Paul being hired and assigned to my team was likely the luckiest thing that ever happened to me at Slide, overnight I went from a hard-working "army of one" to part of a team of four hard-working bone crushers with an incredible drive to succeed. In a few short months we had shipped an "Awards" feature, built out a "Top Friends Profile" and started pushing our way back to the top.</p> <p>In June, a reporter for CNet <a href="http://news.cnet.com/8301-10784_3-9977762-7.html" target="_blank">reported on a hole in the Top Friends Profile</a> that allowed a user to view information about other users they could not have otherwise seen. The reporter used this an instrumental piece of a larger article bashing Facebook on their privacy record and the openness of the Faceobok platform. When Keith texted me that night, I rushed home and pushed a fix for the hole within the hour, went to dinner by myself and had the worst Pad Thai I've ever eaten, watching the exchange of emails between Slide's and Facebook's executive team on my Blackberry.</p> <p>Top Friends had tens of millions of users and with the flick of a switch, <a href="http://www.techcrunch.com/2008/06/26/did-facebook-shut-down-slides-top-friends-how-very-myspace-of-them/" target="_blank">Facebook took Top Friends offline</a>.</p> <p><strong>Continue on to <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_3">part 3</a> and <a href="http://unethicalblogger.com/posts/2009/10/end_journey">the end</a></strong></p> http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2#comments Miscellaneous Opinion Slide Wed, 21 Oct 2009 05:47:48 +0000 R. Tyler Croy 233 at http://unethicalblogger.com My journey at Slide (part 1) http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_1 <p>As some of you may, or may not know, this friday October 23rd will be my final day as a <a id="aptureLink_0RXt2swE8I" href="http://en.wikipedia.org/wiki/Slide">Slide</a> employee. With my journey at Slide nearing its completion, I wanted to document some of how I've gotten here and where I've started, if for nobody other than myself.</p> <p>Officially I started at Slide April 2nd, 2007, though my journey to Slide started far earlier. At the end of my fourth semester at Texas A&amp;M my then girlfriend, now fiance&eacute; and I decided we were through with <a id="aptureLink_aHZznBg58s" href="http://maps.google.com/maps?om=0&amp;iwloc=addr&amp;f=q&amp;ll=30.627977%2C-96.3344068&amp;hl=en&amp;z=13&amp;ie=UTF8">College Station</a> and to move to <a id="aptureLink_Gd4ZlvpCcA" href="http://maps.google.com/maps?om=0&amp;iwloc=addr&amp;f=q&amp;ll=29.4241219%2C-98.4936282&amp;hl=en&amp;z=13&amp;ie=UTF8">San Antonio</a>; most Texans would consider this a lateral move at best. I had every intention of resuming my studies at UTSA following a brief stint at San Antonio College clearing up pre-requisites with a slightly lower price tag. By the end of fall semester it had become clear that I wasn't cut out for college, I stopped attending and focused full time on software. At the time most of my experience and contacts were through the Mac development community, primarily via IRC on the <a id="aptureLink_GzxVgqeuw0" href="http://freenode.net/">Freenode</a> network and developer mailing lists for various open source projects. Through my involvement in the <a id="aptureLink_53d9mUyyvO" href="http://en.wikipedia.org/wiki/Bonjour%20%28software%29">Bonjour</a> mailing lists and work with the API, I had at one point impressed Bonjour's original inventor <a id="aptureLink_cCGllfHxRe" href="http://en.wikipedia.org/wiki/Stuart%20Cheshire">Stuart Cheshire</a> enough to land an interview at Apple for the Core OS group, working on Bonjour.</p> <p>Sitting on the Continental flight out to San Jose, I practiced writing network services using BSD sockets and pouring over as much C as I could possibly manage, all told I likely wrote around 3 multicast service/client pairs on that flight. What I wasn't prepared for was the "computer science" nature of the interview; I bombed it with my rudimentary algorithms knowledge and lack of experience working with C on a day to day basis. Fortunately, my last interviewer of the day was <a id="aptureLink_mJ9ZfrKUGS" href="http://www.linkedin.com/in/drernie">Ernie Prabhakar</a> then a product or marketing manager for the Core OS group; Ernie indulged me in a very interesting conversation about Apple's position in the open source universe, product direction, etc. Despite bombing the technical portions of the interview, I suppose Ernie saw enough enthusiasm in me to refer me to <a id="aptureLink_4vNXJclTkH" href="http://www.linkedin.com/in/davemorin">Dave Morin</a> at Facebook (the two worked together at some point).</p> <p>Those that know Dave Morin understand that the man wields a Jobsian reality distortion field, even via email 1500 miles away in Texas I felt the power of the field and was drawn to Facebook. While I was ultimately disappointed to not have landed my then-dream-job at Apple, I was incredibly excited to be flying back to Silicon Valley to interview at Facebook. When I mentioned to daver (<a id="aptureLink_OG4mmMoyfm" href="http://twitter.com/stuffonfire">Dave Young</a>) on IRC that I would be flying back out to see the nice folks at Facebook in Palo Alto, he also arranged an interview at Slide the day after.</p> <p>A number of factors likely lead to my failure to excite my interviewers at Facebook, not having a Facebook account for one didn't help, I also think I uttered "fuck" under my breath once or twice while sketching out problems on a whiteboard. Considering my interview was done mostly in "the game room" due to a scheduling error, I didn't think I was being too unprofessional. As one could assume, my interview with Slide went substantially better, I accepted an offer to join Slide as a junior software engineer working on their now defunct desktop application(s).</p> <p>My start date was set for April 2nd, within three weeks I had terminated the lease on my apartment in San Antonio, tossed, sold or otherwise gave away the majority of my belongings and furniture and packed my VW Jetta to the brim and drove west. I didn't particularly have a plan other than "show up, get to work" (I was 21, how young and foolish), so I crashed on daver's couch while I settled in and started searching for an apartment.</p> <p>My early days at Slide were all about getting up to speed on <a id="aptureLink_oG0xGN1j1F" href="http://en.wikipedia.org/wiki/Python%20%28programming%20language%29">Python</a> (Slide's language of choice) and ActionScript 2 (Slide's only option for Flash at the time); I started helping with the Windows client, mostly in the spagetti-driven Flash-based screensaver product. Towards the beginning of May, <a id="aptureLink_8fiXI4SDgw" href="http://twitter.com/jerobi">Jeremiah</a> (then Director of Engineering, now CTO) and Bobby (another engineer) were working with some preview APIs from what would ultimately become the Facebook platform. For whatever reason I started working on trying to incorporate some data from Facebook into our desktop client (optimal synergy, etc) and became the third engineer working at Slide on the Facebook platform in its infancy. As May came to completion, we (Slide) were invited to "F8" to unveil some of the applications for their new platform we had built.</p> <p>Donning my trusty brown cordoruy sport jacket, dark blue Slide t-shirt, I helped man Slide's booth presenting some of our apps: SlideShows and YouTube Skins (both products turned out to be utter failures). As the business/presentation portion part of F8 wound down, I grabbed a 19" monitor and told Max and Jeremiah that I wanted to stay for the hackathon but didn't have any idea what to hack on (being a desktop developer and all). Max leaned in and muttered "Top Friends" on his way out, leaving me to set up shop with the only dual screen setup in the hackathon, at a lonely table by myself (I hadn't figured out how to socialize at that point). Coming from a desktop background, I hadn't a clue what I was doing, I could barely figure out how to get pages working on Slide's infrastructure, let alone all this FBML, FQL and JavaScript malarkey.</p> <p>Fortunately in the days following the hackathon, I was able to enlist the help of <a id="aptureLink_hhvhv9i8ar" href="http://www.flickr.com/photos/aarongustafson/6715261/">Sergio</a>, the best web front-end engineer Slide had to offer to help me create a grid of drag and droppable images along with some other pieces of front-end to make the application palatable. All said and done, if I remember correctly, Top Eight launched less than a week after the platform did, my first "big" project at Slide. Originally I couldn't get database resources for the app, so I stashed the friends list inside of the profile FBML and then would subsequently retrieve <strong>back</strong> from Facebook when I needed it, using regular expressions (had help with that too) to pull the list of Facebook user IDs out; that hacked up solution lasted for all of maybe 30 minutes on live as soon as everyone saw how god-awful slow it was.</p> <p>Day three of Top Eight, I learned what "viral meant". My parents had neglected to pay their phone bill, taking my "family plan" number out with it, meaning I couldn't receive the frantic calls from Jeremiah as I slept-in that morning. Turns out by giving the Top Eight a callback URL with Facebook that hit "www.slide.com" was proving impossible to load balance, resulting in a couple hours of site issues for the rest of Slide, as Top Eight skyrocketed hundreds of thousands of users in a single day. I awoke that morning to pounding on Dave's door (I was still on their couch), opening it I saw Carey (another desktop developer at Slide) who said "your phone's off." Not my preferred way to wake up, but it sufficed. I sheepishly called Jeremiah on Dave's house phone.</p> <p>Jeremiah was <strong>pissed</strong>. Not "who ate the rest of my hummus" pissed, righteously pissed, at me. Here I was, living on a friend's (who I met on the internets) couch, without a proper mailing address trying to figure out how this startup thing worked, and Jeremiah was furious with me. If there were such a thing as an "ideal time" for an earthquake, I would have gladly accepted that as an alternative.</p> <p>Once the smoke cleared and tempers cooled, we looked at some of the installation and growth numbers of Top Eight during the previous 6 hours; I had found myself a new job at Slide. From that day forth, I was "the Top Friends guy."</p> <p><strong>Continue on to <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_2">part 2</a>, <a href="http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_3">part 3</a> and <a href="http://unethicalblogger.com/posts/2009/10/end_journey">the end</a></strong></p> http://unethicalblogger.com/posts/2009/10/my_journey_slide_part_1#comments Miscellaneous Opinion Slide Tue, 20 Oct 2009 05:40:53 +0000 R. Tyler Croy 232 at http://unethicalblogger.com Crazysnake; IronPython and Java, just monkeying around http://unethicalblogger.com/posts/2009/10/crazysnake_ironpython_and_java_just_monkeying_around <p>This weekend I finally got around to downloading <a id="aptureLink_8B5qEjVCfb" href="http://en.wikipedia.org/wiki/IronPython">IronPython</a> 2.6rc1 to test it against the upcoming builds of <a id="aptureLink_fepi2zTpCR" href="http://en.wikipedia.org/wiki/Mono%20%28software%29">Mono</a> 2.6 preview 1 (the version numbers matched, it felt right). Additionally in the land of Mono, I've been toying around with the IKVM project as of late, as a means of bringing some legacy Java code that I'm familiar with onto the CLR. As I poked in one xterm (urxvt actually) with <a id="aptureLink_myJp30086o" href="http://en.wikipedia.org/wiki/IKVM">IKVM</a> and with IronPython in another, a lightbulb went off. What if I could mix <em>different</em> languages in the <strong>same</strong> runtime; wouldn't that just be cool as a cucumber? Turns out, <strong>it is</strong>.</p> <p>After grabbing a recent release (0.40.0.1) of IKVM, I whipped up a simple Test.java file: <script src="http://gist.github.com/201908.js"><noscript>See <a href="http://gist.github.com/201908">gist #201908</a></noscript></script></p> <p>I compiled Test.java to Test.class then to Test.dll with ikvmc (note: this is using JDK 1.6); in short, Java was compiled to Java bytecode and <em>then</em> to <a id="aptureLink_jrzlVfjMcv" href="http://en.wikipedia.org/wiki/Common%20Intermediate%20Language">CIL</a>:</p> <pre><code>javac Test.java mono ikvm-0.40.0.1/bin/ikvmc.exe -target:library -out:Test.dll Test.class </code></pre> <p>Once you have a DLL, it is fairly simple to import that into an IronPython script thanks to the <code>clr</code> module IronPython provides. It is important to note however, that IKVM generated DLLs <em>will</em> try to load other DLLs at runtime (<code>IKVM.Runtime.dll</code> for example) so these either need to be installed in the <a id="aptureLink_1XlShjCjqK" href="http://en.wikipedia.org/wiki/Global%20Assembly%20Cache">GAC</a> or available in the directory your IronPython script is running in.</p> <p>Here's my sample test IronPython file, using the unittest module to verify that the compiled Java code is doing what I expect it to: <script src="http://gist.github.com/201909.js"><noscript>See <a href="http://gist.github.com/201909">gist #201909</a></noscript></script></p> <p>When I run the IronPython script, everything "just works":</p> <pre><code>% mono IronPython-2.6/ipy.exe IkvmTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.040s OK % </code></pre> <p>While my Test.java is a fairly tame example of what is going on here, the underlying lesson is an important one. Thanks to the Mono project's CLR and the advent of the DLR on top of that we are getting closer to where "language" and "runtime" are separated enough to not be interdependent (as it is with <a id="aptureLink_YUpwTYkk3D" href="http://en.wikipedia.org/wiki/CPython">CPython</a>), allowing me (or you) to compile or otherwise execute code written in multiple languages on a common (language) runtime.</p> <p>That just feels good. <!--break--></p> http://unethicalblogger.com/posts/2009/10/crazysnake_ironpython_and_java_just_monkeying_around#comments Miscellaneous Mono Mon, 05 Oct 2009 06:00:59 +0000 R. Tyler Croy 230 at http://unethicalblogger.com Doing more with less; very continuous integration http://unethicalblogger.com/posts/2009/09/doing_more_less_very_continuous_integration <p>Once upon a time I was lucky enough to take an "Intro to C++" class taught by none other than <a href="http://en.wikipedia.org/wiki/Bjarne_Stroustrup">Bjarne Stroustrop</a> himself, while I learned a lot of things about what makes C++ good and sucky at the <em>same</em> time, he also taught a very important lesson: great engineers are lazy. It's fairly easy to enumerate functionality in tens of hundreds of lines of poorly organized, inefficient code, but (according to Bjarne) it's the great engineers that are capable of distilling that functionality into it's most succinct form. I've since taken this notion of being "ultimately lazy" into my professional career, making it the root answer for a lot of my design decisions and choices: "Why bother writing unit tests?" I'm too lazy to fire up the whole application and click mouse buttons, and I can only do that so fast; "Why do you only work with <a id="aptureLink_qYcERvYA4N" href="http://en.wikipedia.org/wiki/Vim%20%28text%20editor%29">Vim</a> in <a id="aptureLink_m0DuZkisMf" href="http://en.wikipedia.org/wiki/GNU%20Screen">GNU/screen</a>?" I can't be bothered to set up a new slew of terminals when I switch machines, and so on down the line.</p> <p>Earlier this week I found another bit of manual work that <strong>I</strong> shouldn't be doing and should be lazy about: building. The local build is something that's common to every single software developer regardless of language, Slide being a <a id="aptureLink_dkAoFOcNyd" href="http://en.wikipedia.org/wiki/Python%20%28programming%20language%29">Python</a> shop, we have a bit more subtle of a "build", that is to say, developers implicitly run a "build" when they hit a page in <a id="aptureLink_FWKNbGJPnm" href="http://en.wikipedia.org/wiki/Apache%20HTTP%20Server">Apache</a> or a test/script. I found myself constantly switching between two terminal windows, one with my editor (<a href="http://www.vim.org">Vim</a>) and one for running tests and other scripts.</p> <p>Being an avid <a id="aptureLink_youtxiRCtA" href="http://twitter.com/hudsonci">Hudson</a> user, I decided I'd give the <a href="http://wiki.hudson-ci.org/display/HUDSON/File+System+SCM">File system SCM</a> a try. Very quickly I was able to set up Hudson to poll my working directory and <em>watch</em> for files to change every minute, and then run a "build" with some tests to go with it. Now I can simply sit in Vim <strong>all</strong> day and write code, only context-switching to commit changes.</p> <p>Setting up Hudson for <em>local</em> continuous integration is quite simple, by visiting <a href="http://www.hudson-ci.org">hudson-ci.org</a> you can download <a href="http://hudson-ci.org/latest/hudson.war">hudson.war</a> which is a <strong>fully self contained</strong> runnable version of Hudson, you can start it up locally with <code>java -jar hudson.war</code>. Once it's started, visit <a href="http://localhost:8080">http://localhost:8080</a> and you've find yourself smack-dab in the middle of a fresh installation of Hudson.</p> <p>First things first, you'll need the File System SCM plugin from the Hudson Update Center (left side bar, "Manage Hudson" > "Manage Plugins" > "Available" tab)</p> <p><img src="http://agentdero.cachefly.net/unethicalblogger.com/images/fsscm_updatecenter.jpeg" alt="Installing the plugin" /></p> <p>After installing the plugin, you'll need to restart Hudson, then you can create your job, configuring the File System SCM to poll your working directory:</p> <p><img src="http://agentdero.cachefly.net/unethicalblogger.com/images/fsscm1.jpeg" alt="Configuring FS SCM" /></p> <p>Of course, add the necessary build steps to build/test your software as well, and you should be set for some good local continuous integration. Once the job is saved, the job will poll your working directory for files to be modified and then copy things over to the job's workspace for execution.</p> <p>After the job is building, you can hook up the RSS feed (<a href="http://localhost:8080/rssLatest">http://localhost:8080/rssLatest</a>) to <a id="aptureLink_X0ly5HgFWB" href="http://growl.info/">Growl</a> or some other form of desktop notifier so you don't even have to move your eyes to know whether your local build succeeded or not (I use the "hudsonnotify" script for Linux/libnotify below).</p> <p>By automating this part of my local workflow with Hudson I can take advantage of a few things:</p> <ul> <li>I no longer need to context switch to run my tests</li> <li>I can make use of Hudson's nice UI for visually inspecting test results as they change over time</li> <li>I have near-instant feedback on the validity of the changes I'm making</li> </ul> <p>The only real downside I can think of is no longer having any excuse for checking in code that "breaks the build", but in the end that's probably a good thing.</p> <p>Instead of relying on commits, you can get near-instant feedback on your changes before you even get things going far enough to check them in, tightening the feedback loop on your changes even further, very-very continuous integration. Your mileage may vary of course, but I recommend giving it a try.</p> <h2>hudsonnotify.py</h2> <script src="http://gist.github.com/179286.js"></script> http://unethicalblogger.com/posts/2009/09/doing_more_less_very_continuous_integration#comments Hudson Miscellaneous Software Development Wed, 02 Sep 2009 08:42:02 +0000 R. Tyler Croy 226 at http://unethicalblogger.com Toying around with ASP.NET MVC and NAnt http://unethicalblogger.com/posts/2009/08/toying_around_aspnet_mvc_and_nant <p>I recently found myself toying around with a number of web frameworks (like <a id="aptureLink_tRFJIRMTMP" href="http://en.wikipedia.org/wiki/Seaside%20%28software%29">Seaside)</a> to get a good read on who's doing what in the web world outside of <a id="aptureLink_ljYLBSCzVn" href="http://en.wikipedia.org/wiki/Python%20%28programming%20language%29">Python</a> and <a id="aptureLink_zIhQ3Jyxp8" href="http://en.wikipedia.org/wiki/Django%20%28web%20framework%29">Django</a>, when I stumbled across the ASP.NET MVC Add-in <a href="http://mjhutchinson.com/journal/2009/04/02/aspnet_mvc_monodevelop_addin_preview">for MonoDevelop</a>. Though the new Vim keybindings are <strong>sweet</strong>, I still can't effectively get work done in MonoDevelop yet. What MonoDevelop <em>does</em> do however is support generating Makefiles for any given project, which allowed me to create some Makefiles for an ASP.NET MVC project I had created in <a id="aptureLink_ZLtfq1CvMX" href="http://en.wikipedia.org/wiki/Monodevelop">MonoDevelop</a>, and port those Makefiles over to fit my NAnt and Vim-based workflow.</p> <p>Along with building the necessary DLLs, I prefer to use my NAnt scripts to fire up the <a id="aptureLink_KlgrO6UVvG" href="http://en.wikipedia.org/wiki/NUnit">NUnit</a> console and fire up a development instance of <a href="http://www.mono-project.com/ASP.NET#ASP.NET_hosting_with_XSP">XSP</a> to test my web applications out. All said and done this fairly basic script does the job; I typically run it with: </p> <pre>nant test run</pre><p> Not much else to say, hope you find it useful.</p> <script src="http://gist.github.com/173708.js"></script> http://unethicalblogger.com/posts/2009/08/toying_around_aspnet_mvc_and_nant#comments Miscellaneous Mono Mon, 24 Aug 2009 07:17:12 +0000 R. Tyler Croy 224 at http://unethicalblogger.com I'm a cat person now. http://unethicalblogger.com/posts/2009/08/im_cat_person_now <p><center><img src="http://farm3.static.flickr.com/2528/3809819729_b604883e76_d.jpg" alt="disregard the mismatched bedding, I'm told we're going to fix that" title="disregard the mismatched bedding, I'm told we're going to fix that"/></center></p> http://unethicalblogger.com/posts/2009/08/im_cat_person_now#comments Miscellaneous Tue, 11 Aug 2009 06:45:18 +0000 R. Tyler Croy 223 at http://unethicalblogger.com Awesomely Bad http://unethicalblogger.com/posts/2009/07/awesomely_bad <p>A coworker of mine, <a href="http://twitter.com/teepark">@teepark</a> and I recently fell in love with tiling window managers, <a id="aptureLink_cBdTGh5mhu" href="http://en.wikipedia.org/wiki/Awesome%20%28window%20manager%29">Awesome</a> in particular. The project has been interesting to follow, to say the least. When I first installed Awesome, from the <a href="http://software.opensuse.org/search">openSUSE package directory</a>, I had version 2, it was fairly basic, relatively easy to configure and enough to hook me on the idea of a tiling window manager. After conferring with <a href="http://twitter.com/teepark">@teepark</a>, I discovered that he had <strong>version 3</strong> which was much better, had some new fancy features, and an incremented version number, therefore I required it.</p> <p>In general, I'm a fairly competent open-source contributor and user. <a id="aptureLink_JtLnexfCQX" href="http://en.wikipedia.org/wiki/Autoconf">Autoconf</a> and <a id="aptureLink_tFM3XdzbUg" href="http://en.wikipedia.org/wiki/Automake">Automake,</a> while I despise them, aren't mean and scary to me and I'm able to work with them to fit my needs. I run Linux on two laptops, and a few workstations, not to mention the myriad of servers I'm either directly or peripherally responsible for. I grok open sources. Thusly, I was not put off by the idea of grabbing the latest "<em>stable</em>" tarball of Awesome to build and install it. That began my slow and painful journey to get this software built, and installed.</p> <ul> <li>Oh, it needs <a id="aptureLink_7epjSjKClG" href="http://en.wikipedia.org/wiki/Lua%20programming%20language">Lua</a>, I'll install that from the repositories.</li> <li>Hm, what's this <a href="http://xcb.freedesktop.org/">xcb</a> I need, and isn't in the repositories. I guess I'll have to build that myself, oh but wait, there's different subsets of xcb? xcb-util, xcb-proto, libxcb-xlib, xcb-kitchensink, etc.</li> <li>Well, I need <a href="http://xorg.freedesktop.org/archive/individual/proto/">xproto</a> as well, which isn't in the repositories either.</li> <li>CMake? Really guys? Fine.</li> <li>ImLib2, I've never even heard of that!</li> <li>libstartup-notification huh? Fine, i'll build this too.</li> </ul> <p>After compiling what felt like an eternity of subpackages, I discovered a number of <em>interesting</em> things about the varying versions of Awesome v3. The configuration file format has changed a few times, even between one release candidate to another. I ran across issues that <a href="http://spiralofhope.wordpress.com/2009/04/14/awesome-window-manager-installation-misadventure/">other people had</a> that effectively require recompilling X11's libraries to link against the newly built xcb libraries in order to work (<code>/usr/lib/libxcb-xlib.so.0: undefined reference to _xcb_unlock_io</code>). Nothing I seemed to try worked as I might expect, if I couldn't recompile the majority of my system to be "bleeding edge" I was screwed. The entire affair was absolutely infuriating.</p> <p>There were a few major things that I think the team behind Awesome failed miserably at accomplishing, that every open source developer should consider when releasing software:</p> <ul> <li><strong>If you depend on a hodge-podge of libraries, don't make your dependency on the bleeding edge of each package</strong></li> <li><strong>Maintain an open dialogue with those that package your software, don't try to make their job hell.</strong></li> <li><strong>When a user cannot build your packages with the latest stable versions of their distribution without almost rebuilding their entire system, perhaps you're "doin' it wrong"</strong></li> <li><strong>Changing file formats, or anything major between two release candidates is idiocy.</strong></li> <li><strong>If you don't actually care about your users, be sure to state it clearly, so then we don't bother using or trying to improve your poor quality software</strong></li> </ul> <p>In the end, I decided that <a id="aptureLink_9yLUGUwEJ0" href="http://en.wikipedia.org/wiki/Haskell%20%28programming%20language%29">Haskell</a> isn't scary enough not to install <a id="aptureLink_IqW50ui9RW" href="http://en.wikipedia.org/wiki/Xmonad">XMonad</a>, so I've started replacing machines that run Awesome, with XMonad, and I'm not looking back. Ever.</p> http://unethicalblogger.com/posts/2009/07/awesomely_bad#comments Linux Miscellaneous Opinion Sun, 26 Jul 2009 03:52:18 +0000 R. Tyler Croy 220 at http://unethicalblogger.com