Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

man, i wish i was in algorithms

Daisy and Tessa were walking behind me and talking about subtree costs on our way to dinner, and I felt left out.

Toby is doing some weird sort of research (all I know it involves representing propositional logic forumulas as graphs) and asked me a question about Dijkstra's algorithm (which I get to be the expert on, because I'm the networks TA) and together we discovered Dial's implementation (warning: tiny text!). That's pretty neat.

I know very close to nothing about algorithms.


Speaking of algorithms, I found my copy of the LJ friends export Brad did a while back. It's from mid-2003, and I think there are 14 million edges in it. The datafile obfuscates userids into random integers, but they're unfortunately 32-bit integers and OCaml* can only do 31-bit integers quickly on x86. So I wrote a C program to reprocess them down to smaller integers (there's only around a million nodes, after all) and produce a binary format and the file is still like a hundred megs.

And from there, I don't know what to do with it. I wanna do popularity contests or whatever but without userids it's not too interesting.

* Of course I'm using OCaml. Duh. :P
Subscribe

  • closest computer

    I have a computer in the closet that serves music. I haven't thought much about the computer as I've used it -- I just know it's always available on…

  • fonts on linux

    I wrote a document on how to diagnose font problems on Linux. I would appreciate feedback, corrections, other common misconfigurations, etc.

  • socks5 proxying flash via ssh

    Suppose you're in Germany and want to watch some Flash-based videos that are IP-limited to the US for whatever reason. At first you'd think you could…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 6 comments