January 2008
35 posts
Success!
I almost deployed Django in one night. But… almost means not really.
Finished CodeKata →
Nice how a simple thing like this helped me brush up on some C++ string techniques…
http://rafb.net/p/0ZkTi058.html CodeKata so far
One realization earlier this semester: Games of War (the card game) are deterministic. A given set of hands yields the same game every time. Also, there is solution for an infinite game.
Finally getting everything ‘sorted out’ for the school year. Feels good to have a clean desk and a solid disk-backup plan
Thinking about tuples in Python. They’re cool because you can see them as function arguments in basically every language with functions, but a little awkward because () is also used for parenthesized values, so (5) is just 5, not (5). (5,) is, and that syntax seems nonobvious to this guy.
Back at school.
on Plenty of Fish's Success (NYT) →
pass.
Multiple File Upload plugin for jQuery →
In my opinion, better than SWFUpload (which, as a matter of fact, crashed Firefox the first time I tried it)
The Pros of PHP Deployment →
Excellent article, I think.
Chord.rb →
A little sketchy style-wise at this point. It’ll be a gem eventually.
Ukulele/Tom →
More to come of this.
W&M Redesign Concepts →
MUD: Video of Du Hast performed by Gio Gaynor and... →
Nginx proxying to Apache: not a party.
Remember the days of IIS and ASP code where you could mix HTML and ASP scripts...
– Wuby Wrocks! Huh?
Wrote a Ruby script that generates Ukulele chord charts. I should be writing my resume.
MediaWiki to XML converter →
This doesn’t quite work - it just took 151 seconds to render a page as XML (surprised they don’t cut that off…) None of the tools associated with MediaWiki’s barely-named, barely-specified format work well. It’s really odd to see how Wikipedia is essentially stuck with this poorly-designed, unpredictable markup since it has so much material and no spec to move from.
Using —output-file=filename.txt will ‘clobber’ or overwrite the output every time - a pretty solid solution.
Note to Drupal users: using —spider to fetch cron.php causes Drupal to think that cron timed out. I don’t know why. I’ll find a fix.
MediaWiki's Markup Parser, in Python →
Thanks ,Astronomy
Learning jazz guitar: no more plateau. Feeling like I don’t know guitar. Of course, a Gmag9 formed as: 357433 is essentially insane.
In April 2002, Robertson acknowledged owning a race horse, named ‘Mr. Pat.’
Reworking PortfolioTree. Mostly delete key.
1234 →
The default content access method for Drupal consists of querying for a list of node ids, and then querying once for each node. So 5,000 articles means 5,001 queries. That’s stupid.
I’m not a “runner,” those guys wear their shorts too short. But Nike+ has...
– Nike+ ad on Facebook. Ridiculous. The college audience must have quite a few real runners. I know many. And Nike is alienating that core audience (surely the group that the weight-loss crowd might ask for advice) on purpose?
I love how Windows points out its incredibly minor victories (‘A popup was blocked!’) as if expecting a high-five in return.
So there is a company less likable than Microsoft: Real. Somehow they tricked Adobe into letting them annoy Flash users to no end. They are constantly the used-car salesmen of the tech world.