posts | images | bookmarks

speed reading

By anders pearson

Trevor Smith wrote a neat little java applet to help people speed read Cory Doctorow's "Eastern Standard Tribe". Joe Gregario does a good job explaining what it's like to use the applet.

i thought it was a pretty cool idea, but its potential was limited by being a java applet. i immediately wanted to be able to use it to read any text file or webpage. i also wanted to be able to stop in the middle of a book, close the browser, and resume in the same spot days later.

so i wrote up a quick python app that let me do just that. feel free to grab the code. it's pretty rough around the edges and the interface is ugly (especially the fonts), but it should be pretty straightforward. the html parsing is not guaranteed to be flawless; it just extracts all text from the <body> of the webpage and displays it. so if there's weird stuff like inline javascript, that will get displayed. i haven't tested it anywhere but on my linux box, but it should run on any system with python installed. if you can or can't get it running on windows or OS X, let me know.

Ted Nelson

By anders pearson

today i got to go to meet <a href=”http://ted.hyperland.com/“>Ted Nelson</a>, the inventor of <a href=”http://dictionary.reference.com/search?q=hypertext”>hypertext</a> and visionary behind <a href=”http://xanadu.com/“>project xanadu</a>, the “<a href=”http://www.wired.com/wired/archive/3.06/xanadu.html”>longest-running vaporware project in the history of computing</a>.”

he was at columbia giving a workshop on <a href=”http://xanadu.com/zigzag/ZZdnld/“>ZigZag</a>, which is… well… after three hours of listening to Ted and playing with it, i’m still not sure exactly what to call it. it’s sort of an advanced data structure that Ted believes can be used to hold any kind of structure whatsoever. sort of a relational database exploded into multiple dimensions. but also a basis for a document model, or possibly a filesystem.

the man is clearly brilliant, if somewhat out there. he literally sees software design as a branch of filmmaking. much of his work is motivated by the extremely non-linear way that he thinks and his hatred of hierarchies (i never did get the chance to ask him what he thought about BeFS and <a href=”http://www.namesys.com/whitepaper.html”>ReiserFS</a>) and the limitations of paper (and computer representations of paper). unfortunately, he isn’t a programmer himself and he seems to have had personality conflicts with many of the programmers that he’s worked with, resulting in a long string of half-finished projects. the personality conflicts i think were because he views himself as an artist and, like Orson Wells or Frank Lloyd Wright, insists on having complete control over every single minute detail of his creations.

i don’t really have a point. while he may never get around to actually producing anything directly usable, he has some really fascinating ideas, so i think he’s worth paying attention to.

introducing cgi_app

By anders pearson

i spent many years writing CGI applications in perl. lately, i’ve been writing more and more code in python.

even perl's detractors have to admit that perl has an amazing collection of high quality modules available for just about anything you want to do. as much as i've been liking python, when it comes to CGI programming, there were some niceties i missed.

in particular, the powerful combination of CGI, CGI::Application, and HTML::Template made writing well organized web applications with display logic and business logic cleanly seperated a breeze.

so, scratching an itch, i've ported CGI::Application to python, incorporating some basic CGI.pm like functionality and integrating with Tomas Styblo's HTML::Template clone.

if you haven't moved on to something more sophisticated like Zope or mod_python and just want to write simple CGI applications in python without a lot of hassle, check out my new cgi_app module.

orkut

By anders pearson

let me know if you want an <a href=”http://www.orkut.com/“>orkut</a> invite. i’m only going to invite people that ask.

from what i’ve seen so far, it’s basically <a href=”http://www.friendster.com/“>friendster</a> and <a href=”http://www.linkedin.com/“>linkedin</a> combined and implemented by some programmers who know a little more about writing scalable, usable web applications than the people at friendster.

i’d also like to point out, for the record, that i built a web-based social networking tool for a columbia business school class in 2000 (that’s 3 whole years before friendster). it was basically a mini-friendster where the students in the class would enter their contacts (only among other students in the class) and they could then see their network visualized (using a nifty java applet), and it would show them various statistics about their network and about the aggregate class network. the prof would then use these networks to demonstrate various concepts.

i just wasn’t smart enough to get venture capital, dammit.

update (2004-06-12): i thought it would be obvious, but apparently it isn’t. the offer for orkut invites was intended for people that i actually know at least in some small way. the complete strangers who find this entry on google need to stop asking me.

924

By anders pearson

i’m actually kind of excited about the impending snowstorm that’s supposed to be hitting nyc for the next couple days.

my poor old combat boots, which i’ve basically worn every single day for about 5 years (and they were used when i purchased them), are finally starting to show their age. the sole has started to wear through. if i’d taken much better care of the uppers it might be worth getting them re-soled, but i didn’t. plus, i only paid $30 for them, so it would probably end up costing me more to get them fixed than they are worth.

so i decided to retire them and ordered some <a href=”http://www.batesfootwear.com/Catalog/buydetail.asp?ProductID=8424”>Bates E00924 Boots</a> as replacements, which came in the mail today. they’ve gotten fantastic reviews and are apparently the boots issued to SEALs for training in.

so the snowstorm gives me a good excuse to really abuse them and see what kind of traction they’ve got.

they aren’t properly broken in yet, so i can’t say much about them. but they are amazingly light (i think my dress shoes weigh more) and the DuraShock soles aren’t as squishy as i’d feared (my old boots just had hard rubber between my feet and the pavement and i liked it that way). they kind of squeak when i walk on tile floor, but i’m hoping that’s just a new boot thing and they’ll quiet down. i’m also a little worried that the treads will track mud.

anyway, nothing like some sexy new combat boots to make a snowstorm more enjoyable.

wiki

By anders pearson

we’ve been using <a href=”http://en.wikipedia.org/wiki/WikiWiki”>wiki</a>’s at <a href=”http://ccnmtl.columbia.edu/“>work</a> for a while now with some real success.

last night, the power supply in my main machine at home blew, so that will set back the development of the new thraxil engine somewhat. to make up for delays, and keep people entertained while i work on it, i decided it would be interesting to set up a wiki for thraxil and see what people did with it.

so <a href=”http://thraxil.org/wiki/“>here it is</a>. go nuts. just don’t abuse it or i’ll take it down.

python meetup

By anders pearson

went to the new york <a href=”http://python.meetup.com/“>python meetup</a> last night. it was pretty good. plenty of smart people.

one guy there was a developer on <a href=”http://www.stackless.com/“>stackless python</a> and <a href=”http://www.twistedmatrix.com/products/twisted”>twisted</a> so we got a pretty good overview of what’s going on with those projects. other topics of conversation included <a href=”http://psyco.sourceforge.net/“>psyco</a>, <a href=”http://openmosix.sourceforge.net/“>openMosix</a>, <a href=”http://www.pfdubois.com/numpy/“>Numeric</a>, <a href=”http://c2.com/cgi/wiki?InfernoOs”>inferno</a>, and the trials and tribulations of porting C code between architectures (to OS X in particular).

other random observations: all 6 people who showed up were employed (it seems uncommon; every other programmer gathering i’ve been to lately has always been half unemployed people hoping to make a contact to find a job). none of us were windows users; all Linux or OS X users (and all of us owned at least one piece of Apple hardware, whether it ran OS X or not). i didn’t ask, but based on the conversations about type inference mechanisms, closures, continuations, compiler and runtime optimizations for dynamic languages, and methods of proving program correctness, i’d guess that everyone there had at least some formal CS background.

semiconsciousness

By anders pearson

reminder to self: when planning to take a nap while listening to music, take a minute or two to put together a playlist; don't just rely on shuffle mode over the entire collection. i just have too many weird, creepy ambient tracks in there and run a significant risk of dozing in and out of a 20 minute long track that consists of howling wind noises, distant buzzing sounds, screwed up tape loops and ominous whispers with a title something like 'never answer the telephone'.

this is particularly confusing and unnerving when combined with my tendency towards sleep paralysis when i sleep at odd times.

black chocolate stout

By anders pearson

Gerard

it took me about 2 hours to drink a single bottle. it’s extremely thick and dense; it noticably bends light in its vicinity. the chocolate taste is very subtle and mostly present in the aftertaste. if you like stouts, i recommend it if you can find it. if you don’t like stouts, well, there’s no hope for you…