Welcome to the personal blog of Ivan Giuliani. Here you'll find my random thoughts about programming and mostly everything that has anything to do with computer science.

Clustering coordinate points together with quad-trees

October 2nd, 2010

Recently I needed to show a heat map of a quite a lot of coor­di­nate points for a little project of mine that ended up in a data visu­al­iza­tion con­test (that unfor­tu­nately I didn’t win, even though I made to the final­ists). The idea was to show the dis­tri­b­u­tion of the geo­ref­er­enced wikipedia pages through a heat map, so when I first heard about open​heatmap.com I knew it was the tool to use. Open​HeatMap.com is an excel­lent project by Pete Warden that takes a dataset as a CSV, Excel or Google Spread­sheet file and con­vert it to a nice, brows­able heat map pre­sen­ta­tion.
(Con­tinue reading…)

1 Comment, tagged with Coding,Python

Simulated Annealing

February 22nd, 2010

For a prob­lem I’m work­ing on I got stuck onto the clas­si­cal sit­u­a­tion of local max­i­mum. After trying to work around the prob­lem in sev­eral more or less cre­ative ways, I thought of the sim­u­lated anneal­ing algo­rithm. Con­sid­er­ing it’s been a while since I last saw it I tried to search for it on the web and sur­pris­ingly there is not much stuff about it, and the few bits I found are often con­trad­dic­tory. After quite a lot of dig­ging I decided to write about it here. As a warn­ing I should prob­a­bly say that there will be dig­ging into some basic sta­tis­tic and com­plex­ity analy­sis, as well as a quick formal intro­duc­tion to the prob­lem of the knap­sack. You should be able to follow even if you don’t know noth­ing about those topics, but having some foun­da­tions in these areas would be of great help.
(Con­tinue reading…)

1 Comment, tagged with Algorithms,Coding

Google Wave impressions from a developer point of view

August 28th, 2009

A couple of days ago I finally had my Google Wave sand­box account. Given that I just fin­ished devel­op­ing my very first robot, I thought I’d share some impres­sions on the whole thing. From the user-​side, things are far from being ready. Some impor­tant fea­tures are still miss­ing, just to name one you can’t remove user from a wave once they joined (or, alter­na­tively, there’s no way to ignore a wave). Indeed, given that I joined sev­eral waves to try other people appli­ca­tions, I’m get­ting con­tin­u­ous noti­fi­ca­tions. But anyway, the whole thing is to me like a great devel­op­ment play­ground where I can make all the sorts of experiments.

(Con­tinue reading…)

0 Comments, tagged with Coding,Geekness

Microblogging

  1. Today

    1. Finally something to eat! http://t.co/FH3x3oGR [krat]

      18h ago via Twitter

  2. Yesterday

    1. Finally some cleanup on my inbox. Feels cleaner now. [krat]

      5:13pm via Twitter

  3. January 26th

    1. panzerotti & peroni [krat]

      7:49pm via Twitter

  4. January 25th

    1. I lost count of how many times I wanted to expand the tweet stream and clicked "favorite" instead [krat]

      11:15am via Twitter

  5. January 23rd

    1. It's hateful when you have to chase people who owe you some money [krat]

      5:45pm via Twitter

  6. January 20th

    1. god bless git rebase [krat]

      5:16pm via Twitter

    2. git add --patch is one of the best inventions in the whole (git) history [krat]

      4:29pm via Twitter

  7. January 19th

    1. How google code search worked: http://t.co/MgRCBaiV Really interesting read, the idea of using trigrams is simple and yet awesome [krat]

      8:30pm via Twitter

  8. January 18th

    1. Is 'char' guaranteed to always be unsigned on java or does this depends on the jvm? [krat]

      10:39pm via Twitter

  9. January 16th

    1. I'm still not sure whether eclipse crashing is a bad or a good thing. [krat]

      8:00pm via Twitter

    2. RT @jdforrester: Interesting point by @marshallk: Is Facebook's sentiment-analysis for Politico of private & public posts a good thing? ... [krat]

      5:48pm via Twitter

    3. This ain't a good way to begin the week [krat]

      7:01am via Twitter

    Powered by Lifestream.

Search