<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><description>Hacks, gripes and insights from someone behind the curtain.Stuff I’ve madecobosoda - Evolve virtual robotstermlauncher - pwn leopard’s terminal</description><title>Justin starts a blog</title><generator>Tumblr (3.0; @justinday)</generator><link>http://www.justinday.com/</link><item><title>Tracking Schema Changes</title><description>&lt;p&gt;One challenge of team programming on web applications is dealing with database schema changes.  Approaches vary, but they seem to be either keep a running log of changes or use a tool to create a diff.  I prefer the former, having a running log of changes that developers can append and apply as necessary.  &lt;/p&gt;&lt;p&gt;We’ve been using this kludgy system that I hacked into Otter some years back where you edit the log, append some lines, run a script, cvs commit, then run another script.  Getting developers to follow the rules and actually get the changes tracked proved to be a nightmare.  &lt;/p&gt;&lt;p&gt;Today I put the finishing touches on a tool that basically does all that in one pop.  It’s nothing complicated, just a interactive console tool that wraps cvs and mysql, but it works and it was a joy to write.&lt;/p&gt;&lt;p&gt;It makes me wonder how other people handle this problem?&lt;/p&gt;</description><link>http://www.justinday.com/post/39596324</link><guid>http://www.justinday.com/post/39596324</guid><pubDate>Mon, 23 Jun 2008 23:50:41 -0400</pubDate></item><item><title>"This just in! Powersauce is amazing!"</title><description>“This just in! Powersauce is amazing!”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;From the world of useless tweets&lt;/em&gt;</description><link>http://www.justinday.com/post/39085024</link><guid>http://www.justinday.com/post/39085024</guid><pubDate>Thu, 19 Jun 2008 19:19:01 -0400</pubDate></item><item><title>The Stealth Follow</title><description>I haven’t tested this, but I think this will work.  Follow someone, and turn device updates on, then unfollow them.  Their tweets will still show up on your phone, but not in your public timeline.   I’ve had two cases of users whom i once followed still sending tweets to my phone because i didn’t turn device updates off before unfollowing.</description><link>http://www.justinday.com/post/37787632</link><guid>http://www.justinday.com/post/37787632</guid><pubDate>Mon, 09 Jun 2008 18:41:26 -0400</pubDate></item><item><title>Let's make Distributed Twitter!</title><description>&lt;a href="http://twitter.com/bre"&gt;Bre&lt;/a&gt; and I spent quite awhile talking about how to make an &lt;a href="http://www.imakethings.com/2008/05/26/a-dream-open-source-distributed-microblogging/"&gt;open-source, open-format distributed microblogging service&lt;/a&gt;.   We plotted and schemed, designed and mocked, and then discovered a bunch of people already talking about it.  It looks like the way to go is with Jabber, since that’s already what &lt;a href="http://peeps.3greeneggs.com/joecblog/2008/05/06/distributed-twitter-the-hard-bits/#comment-18"&gt;Twitter and Jaiku use&lt;/a&gt;.  The next step is to organize a project and to get coding.  We’re hoping to put together a camp where we can get the project off the ground.  Stay tuned.</description><link>http://www.justinday.com/post/36215229</link><guid>http://www.justinday.com/post/36215229</guid><pubDate>Tue, 27 May 2008 11:08:55 -0400</pubDate></item><item><title>Cobo-updates</title><description>&lt;p&gt;Great geek weekend.  The wife was out of town so i got to nerd it up.  &lt;/p&gt;&lt;p&gt;Made some great progress on cobosoda.  Got sexual reproduction working!  Now we’re actually combining models rather than just mutating then randomly.  We still have mutations, but they’re much less frequent.  The updates are in CVS if you want to check it out.&lt;/p&gt;&lt;p&gt;I pinged the nyc resistor gang for some ideas of where to go from here and got some really great ideas back.  What we’re going to end up with his sort of a cobolympics, where players will choose models to start from, how long to train, and for what event.  Events will include running, jumping, climbing, and sumo-wrestling!&lt;/p&gt;</description><link>http://www.justinday.com/post/36214457</link><guid>http://www.justinday.com/post/36214457</guid><pubDate>Tue, 27 May 2008 11:00:29 -0400</pubDate></item><item><title>Java got no soul</title><description>&lt;p&gt;Hackin’ on cobosoda today.  Writing a class named SexualReproduction right now, which is kind of fun.  I wish java would let me do things like combine non-booleans with logical operators.  Where I could write in perl:&lt;/p&gt;&lt;pre&gt;sub get_number_of_parents {    my $self = shift;    return ($self-&gt;{mom} &amp;&amp; $self-&gt;{dad} &amp;&amp; 2) ||        (($self-&gt;{mom} || $self-&gt;{data}) &amp;&amp; 1) ||        0;}&lt;/pre&gt;In Java I must write:&lt;pre&gt;public int getNumberOfParents() {    if (mom != null &amp;&amp; dad != null)        return 2;    else if (mom != null || dad != null)         return 1;    else        return 0; }&lt;/pre&gt;It probably makes more sense to third parties that way, but personally I dig a good short circuit.</description><link>http://www.justinday.com/post/35933900</link><guid>http://www.justinday.com/post/35933900</guid><pubDate>Sat, 24 May 2008 17:38:00 -0400</pubDate></item><item><title>hydeordie:I pretty much have quit drinking coffee…but if you...</title><description>&lt;img src="http://media.tumblr.com/6PxqjMt83976u05wlnhZmANI_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://hydeordie.com/post/35363749"&gt;hydeordie&lt;/a&gt;:&lt;/p&gt;&lt;blockquote&gt;I pretty much have quit drinking coffee…but if you haven’t, look at this picture and run out and get a cafe mocha (don’t pretend that you don’t want one).&lt;/blockquote&gt;&lt;p&gt;I have one to add.  My wife and I enjoy 1/3rd espresso, 1/3rd water,  1/3rd steamed soy milk.  I suppose it would be called an Amerilatte.&lt;/p&gt;</description><link>http://www.justinday.com/post/35604390</link><guid>http://www.justinday.com/post/35604390</guid><pubDate>Wed, 21 May 2008 18:20:53 -0400</pubDate></item><item><title>I was on a panel discussion today at Streaming Media East.  Went OK I guess.  The topic was,...</title><description>&lt;p&gt;I was on a panel discussion today at Streaming Media East.  Went OK I guess.  The topic was, “Should content creators get a cut?”, to which we all answer, “Of course.”.  &lt;/p&gt;&lt;p&gt;What the panel was really about was, “Is there enough money to go around for content creators?  How about for Hollywood?”.   I think there’s certainly enough money there for the independent content creators.  &lt;/p&gt;&lt;p&gt;There’s a lot of skepticism there still, especially given the next to no payouts coming out of YouTube.  It’s assumed that since YouTube has the lion’s share of video impressions, that they should have the lion’s share of advertising revenue.  What they fail to see is that it’s difficult to associate a brand with such wide swaths of content.  &lt;/p&gt;&lt;p&gt;I think we’ll start making people believers soon, especially with all the great new things coming out of our War on RON. &lt;/p&gt;&lt;p&gt;The Hollywood question is a whole nother story.  I leave that discussion for when the SAG strike begins.&lt;/p&gt;</description><link>http://www.justinday.com/post/35585882</link><guid>http://www.justinday.com/post/35585882</guid><pubDate>Wed, 21 May 2008 14:49:50 -0400</pubDate></item><item><title>Dear [Insert Social Networking Site],</title><description>&lt;p&gt;How do I say this?  I’m just not that into you.  I feel like you work for so many other people because it’s a way for them to find something to do.  Chat with old friends,  write on a wall, zombie bite a chump.. It all sounds very nice in theory.  Problem is, I’ve already got plenty to do, and plenty more rattling around just waiting for free cycles.  Sure, sure, I’ll still approve the occasional friend request or two.   I mean, we’ll still be friendly and all.  But, I don’t really want to rate any more people, or post any more zany pictures, or really any of that stuff.  I hope you understand.  It’s not you, it’s me.  I’ve really just, moved on.&lt;/p&gt;&lt;p&gt;Sincerely,&lt;/p&gt;&lt;p&gt;Justin&lt;/p&gt;</description><link>http://www.justinday.com/post/35258019</link><guid>http://www.justinday.com/post/35258019</guid><pubDate>Sun, 18 May 2008 19:24:00 -0400</pubDate></item><item><title>Two steps forward... one step back..</title><description>They never should’ve made the String object pass by value.  It negatively reinforces the difference between objects and values.  I run into confusion on this point quite a bit.  Developers who have had limited access to mid-level languages like C don’t often stop and think about the difference.  If you had to use a clone() method, or even toString() every time you passed a String, it’s not likely they would forget.  I wonder if the man-hours saved from String’s pseudo-object convenience has offset the hours spent on bugs that result from misunderstanding references.</description><link>http://www.justinday.com/post/35119231</link><guid>http://www.justinday.com/post/35119231</guid><pubDate>Sat, 17 May 2008 08:41:03 -0400</pubDate></item><item><title>…And none of the neighbors have ever had cable either??</title><description>&lt;img src="http://media.tumblr.com/13qGkHUzB8znnppbTmUzDJAb_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;…And none of the neighbors have ever had cable either??</description><link>http://www.justinday.com/post/34796771</link><guid>http://www.justinday.com/post/34796771</guid><pubDate>Wed, 14 May 2008 12:08:47 -0400</pubDate></item><item><title>So this building has never had cable then??</title><description>&lt;img src="http://media.tumblr.com/13qGkHUzB8znmzng4lDP1E2W_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;So this building has never had cable then??</description><link>http://www.justinday.com/post/34796737</link><guid>http://www.justinday.com/post/34796737</guid><pubDate>Wed, 14 May 2008 12:07:51 -0400</pubDate></item><item><title>I love my new place, but man the bodega downstairs plays the mariachi music late and LOUD.  The...</title><description>I love my new place, but man the bodega downstairs plays the mariachi music late and LOUD.  The buzzing speakers are a nice touch.  Good thing they close at midnight.</description><link>http://www.justinday.com/post/34490456</link><guid>http://www.justinday.com/post/34490456</guid><pubDate>Sun, 11 May 2008 23:05:57 -0400</pubDate></item><item><title>Preparing and teaching a class is tough work.  Especially when...</title><description>&lt;img src="http://media.tumblr.com/13qGkHUzB8bbhr1db9N5CZjB_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Preparing and teaching a class is tough work.  Especially when you’re sort of learning the material just before hand.  Overall I think it was a good class.  I was a little sad that only 3 people showed up for the second session, but oh well.  I had a blast putting it together and am all sorts of jazzed up about other GBA projects.  You can find the aftermath on the &lt;a href="http://wiki.nycresistor.com/wiki/Gameboy"&gt;nycresistor wiki&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Next up, work on the GBA demo, my GBA version of portal, cobosoda, and get back to 100% on blip.tv.&lt;/p&gt;</description><link>http://www.justinday.com/post/33017478</link><guid>http://www.justinday.com/post/33017478</guid><pubDate>Sun, 27 Apr 2008 11:22:46 -0400</pubDate></item><item><title>Just a quick update</title><description>&lt;p&gt;Back in the saddle after a hectic couple of weeks.  Here’s what happened in bullet form.&lt;/p&gt;&lt;ul&gt;&lt;li&gt; Jen and I found a &lt;a href="http://maps.google.com/maps?hl=en&amp;client=firefox-a&amp;q=classon+and+myrtle+brooklyn&amp;ie=UTF8&amp;ll=40.696681,-73.961077&amp;spn=0.011778,0.023324&amp;z=16&amp;layer=c&amp;cbll=40.693986,-73.961113&amp;cbp=1,80.91720610511112,,0,-1.855114551134561"&gt;new apartment&lt;/a&gt; in Clinton Hill&lt;/li&gt;&lt;li&gt; Taught a &lt;a href="http://www.nycresistor.com/2008/04/14/pixels-and-tiles-and-sprites-oh-my/"&gt;gameboy class&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Got cobosoda into &lt;a href="http://sourceforge.net/projects/cobosoda/"&gt;sourceforge&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Bought a &lt;a href="http://www.trekbikes.com/us/en/bikes/2008/urban/soho/sohos/print/"&gt;bike&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Stepped up my game at blip.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Good busy is good.  I like good busy.&lt;/p&gt;</description><link>http://www.justinday.com/post/31788819</link><guid>http://www.justinday.com/post/31788819</guid><pubDate>Mon, 14 Apr 2008 23:22:56 -0400</pubDate></item><item><title>Raster bars demo done</title><description>&lt;p&gt;Furiously preparing for gameboy class.  I’m super-psyched (two times) about it.  Last night I got the old skoolest of ‘tro routines working, good old &lt;a href="http://en.wikipedia.org/wiki/Raster_bar"&gt;raster bars&lt;/a&gt;.  I’ll up a screenshot later tonight. &lt;/p&gt;&lt;p&gt;Raster bars are one of my favorite effects because they’re quite a hack.  It looks like they’re moving, but in reality you’re not drawing anything at all.  They take advantage of the palette modes and of the horizontal and vertical blank interrupts.  During each vertical blank you adjust an array of colors the length of the screen.  During each horizontal blank you set the color of palette 0 to a color stored in the array (according to the vertical line register).  The color changes while the horizontal line is drawn to the actual screen, and repeat. &lt;/p&gt;&lt;p&gt;Tonight I work in one of the tiled modes and will put together the simple elements of a an actual game.  I think that’s where the class will leave off for next time.  I’m documenting stuff on a &lt;a href="http://gbclass-nycr.wikidot.com/"&gt;wiki&lt;/a&gt;, but it’s not 100% up to date.&lt;/p&gt;</description><link>http://www.justinday.com/post/31143208</link><guid>http://www.justinday.com/post/31143208</guid><pubDate>Tue, 08 Apr 2008 10:45:16 -0400</pubDate></item><item><title>I’ve clearly been neglecting me for work.  I’ve taken on some new responsibilities and...</title><description>&lt;p&gt;I’ve clearly been neglecting me for work.  I’ve taken on some new responsibilities and getting refocused is taking more energy.  My twitters and tumblrs have gone silent as a result.  On my list of &lt;b&gt;me&lt;/b&gt; things to do:&lt;/p&gt;&lt;ul&gt;&lt;li&gt; Get cobosoda into sourceforge svn&lt;/li&gt;&lt;li&gt; Finish camera setup at nyc resistor&lt;/li&gt;&lt;li&gt; Prepare apartment for brunch guests on Sunday&lt;/li&gt;&lt;li&gt; Begin preparing classwork for gameboy class&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Two good things, I’ve still been able to make &lt;i&gt;some&lt;/i&gt; time for the gym.  It definitely helps with the stress.  I’ve been able to make it to all the nyc resistor meetings.  (Sorry if i was a little smelly yesterday resistors, i came straight from the aforementioned gym)&lt;/p&gt;</description><link>http://www.justinday.com/post/30565734</link><guid>http://www.justinday.com/post/30565734</guid><pubDate>Wed, 02 Apr 2008 09:24:29 -0400</pubDate></item><item><title>The dentists most evil tool, the Black Demon.</title><description>&lt;img src="http://media.tumblr.com/13qGkHUzB760qqxa4akHyeFq_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;The dentists most evil tool, the Black Demon.</description><link>http://www.justinday.com/post/30195063</link><guid>http://www.justinday.com/post/30195063</guid><pubDate>Sat, 29 Mar 2008 13:44:16 -0400</pubDate></item><item><title>Professor, what's another word for pirate treasure??</title><description>&lt;p&gt;Look at me!  I’m a teacher!  I expect all seven of you that read my tumblog to come to my class.  I know who you are, don’t think I don’t.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.nycresistor.com/2008/03/25/writing-gameboy-code-for-the-old-skool-hacker/"&gt;Learn to write gameboy code&lt;/a&gt;&lt;/p&gt;</description><link>http://www.justinday.com/post/29806100</link><guid>http://www.justinday.com/post/29806100</guid><pubDate>Tue, 25 Mar 2008 11:06:49 -0400</pubDate></item><item><title>Follow the Red Dots</title><description>&lt;a href="http://blip.tv/file/551112"&gt;Follow the Red Dots&lt;/a&gt;: All the strange+beautiful things on blip are available via &lt;a href="http://itsthr33am.tumblr.com/"&gt;itsthr33am&lt;/a&gt;.  This is one of my favorites, an 8-bit music video.</description><link>http://www.justinday.com/post/29662481</link><guid>http://www.justinday.com/post/29662481</guid><pubDate>Sun, 23 Mar 2008 21:31:53 -0400</pubDate></item></channel></rss>
