joshua-go.blogspot.com
Joshua Go: March 2009
http://joshua-go.blogspot.com/2009_03_01_archive.html
Saturday, March 28, 2009. Enough with civility: confronting line cutters and queue jumpers. Last Saturday, Sophia and I went to Disneyland to celebrate my birthday and to spend some time together, since our work schedules haven't really overlapped favorably in recent weeks. We were in line for the Matterhorn. And as decent, upstanding Disneyland patrons, we took our places at the back of the snaking line. During rush hour, anyway. The line is really long and I don't want to wait in the back. Because we b...
joshua-go.blogspot.com
Joshua Go: February 2010
http://joshua-go.blogspot.com/2010_02_01_archive.html
Thursday, February 11, 2010. JavaScript: Variables in regular expressions. Often, you want to look for a particular pattern within a string. Let's say you know that you want to look for the string "revenue" inside a given string. Function match string for revenue(string for searching). Return string for searching.match(/revenue/gi);. Var our string = "We are looking for ReVeNuE.";. Alert( match string for revenue(our string) );. Function match string for revenue(string for searching). NOT GOING TO WORK */.
joshua-go.blogspot.com
Joshua Go: Ways to modularize your Ruby code
http://joshua-go.blogspot.com/2010/08/ways-to-modularize-your-ruby-code.html
Sunday, August 8, 2010. Ways to modularize your Ruby code. In this post, I'll recommend several ways to properly organize code in Ruby projects. I'll also explain my reasoning and how I arrived at each solution. Much of this builds on the excellent work of others in the Ruby community, and I've linked to these other writeups as appropriate in case you want to know more. Rigatoni: KeyGenerator.generate key(n). You'd use the following code. Def self.generate key(key length = 5). I'd have to include. The mo...
joshua-go.blogspot.com
Joshua Go: December 2008
http://joshua-go.blogspot.com/2008_12_01_archive.html
Tuesday, December 23, 2008. The trouble with budget surpluses. The trouble with a government (or any big organization) running a budget surplus and sitting on a big pile of cash is that people start asking questions like, "Why don't we do something with that money, especially since there's so much to fix? In this deficit-infested time, it's easy to rail against profligacy in our budgets. I'm not trying to engage in what-ifs here. I'm suggesting a way we can avoid this same problem in the future. If an ev...
joshua-go.blogspot.com
Joshua Go: December 2009
http://joshua-go.blogspot.com/2009_12_01_archive.html
Wednesday, December 16, 2009. The reasoning behind Lumberjack. So why, in 2009, in a world of RIA frameworks, web-based applications, and a wide variety of blogging engines to choose from, would I write a desktop application in Java targeted exclusively for one company's proprietary blog platform? First of all, it. Tempting to write this as an Adobe AIR. Application. It would have fit my requirement that it be cross-platform. And all the other major and popular blogging platforms? Posted by Joshua Go.
joshua-go.blogspot.com
Joshua Go: April 2009
http://joshua-go.blogspot.com/2009_04_01_archive.html
Wednesday, April 15, 2009. Finely tuned collective effort. As someone who is rabidly individualistic, working with other people isn't something that's hard-wired into me. For this, I've been chided by friends and family members who hold collective effort up as a sacred cow. They cannot possibly fathom why anyone would question the merits of working together. In this sense, I am very much a traditionalist. Still, I maintain what I consider a healthy skepticism towards a widespread and blind allegiance to ...
joshua-go.blogspot.com
Joshua Go: April 2010
http://joshua-go.blogspot.com/2010_04_01_archive.html
Saturday, April 17, 2010. Slowing down as an immersive experience. Through my entire time as a student, I never used Cliffs Notes. In place of assigned reading. I made it a point to read every book I was supposed to, down to the last word. I remember one book in particular. As expected, I ended up with the same general recollection of the book's contents as the more reasonable folks who resorted to the Cliffs Notes. But what I remember most poignantly is the. I highly doubt that it was even. Slowing down...
joshua-go.blogspot.com
Joshua Go: JavaScript: Checking for undeclared and undefined variables
http://joshua-go.blogspot.com/2010/07/javascript-checking-for-undeclared-and.html
Wednesday, July 14, 2010. JavaScript: Checking for undeclared and undefined variables. Up until now, the JavaScript I've written has typically been in pursuit of a bigger goal. This means that I worked around language quirks on the spot and moved on. I never stopped to consider the nitty gritty details of the language for commitment to long-term memory, because I wanted to get a working end product. Alert("we can't use x");. Alert("we can't use y");. In this case, you should get a. It also works for when...
joshua-go.blogspot.com
Joshua Go: July 2009
http://joshua-go.blogspot.com/2009_07_01_archive.html
Sunday, July 5, 2009. Automated summaries and excerpts. You've seen them around the web: they're the blocks of text appearing under the headlines, giving you a little more information on what the linked article is about. If the headline didn't tell you enough, the summary or excerpt is supposed to serve as a sort of fall-back mechanism to tell you a little bit more. The websites of such longtime print titans such as The New York Times. And The Wall Street Journal. A quick jaunt over to Google Finance.
joshua-go.blogspot.com
Joshua Go: August 2010
http://joshua-go.blogspot.com/2010_08_01_archive.html
Sunday, August 8, 2010. Ways to modularize your Ruby code. In this post, I'll recommend several ways to properly organize code in Ruby projects. I'll also explain my reasoning and how I arrived at each solution. Much of this builds on the excellent work of others in the Ruby community, and I've linked to these other writeups as appropriate in case you want to know more. Rigatoni: KeyGenerator.generate key(n). You'd use the following code. Def self.generate key(key length = 5). I'd have to include. The mo...