Visualizing OpenStreetMap Nanjing Contribution

早上在prismatic上看到mapbox的一篇博客,介绍通过TileMill可视化OSM的贡献者,非常酷。于是我在南京的地图上也做了一个这样的可视化。

一个详细的大图在这里。虽然只做了南京的五个主要贡献者,基本上涵盖了大部分数据。

图例就不专门输出了
[user = 'Sunng'] { marker-fill: @magenta;}
[user = 'fuwuyuan'] { marker-fill: @blue;}
[user = 'sinopitt'] {marker-fill: @yellow;}
[user = 'larryy'] {marker-fill: @green;}
[user = 'zhengz'] {marker-fill: @red;}

MapBox家的东西真的非常酷,这家的技术以nodejs为主,围绕osm开发了不少产品。最近比较大的新闻,比如4sq转到osm上,其实就是转到这家的osm服务上。有兴趣你可以关注一下!

My response to Spark: Visualize your mercurial commit history from commandline

标题长了些。还是用母语吧。

昨天HackerNews上一个小脚本轰动了,所谓山不在高程序不在小。为了响应这个小脚本,我写了一个更加简单的Mercurial(hg)扩展,帮助你输出hg仓库的提交历史。这个feature和github的直方图有点像,在我看来github的直方图是他们最重要的feature之一,它鞭策着你不断地commit。

hg summary

安装:将这个脚本放在任意一处,在你的hgrc中添加:

[extensions]
summary = /path/to/your/script

由于很简单,就不按照mercurial的规范发布了。

Clojalk SCM Visualization

最近有一个小工具非常流行(如果我没有火星的话),gource,可以将你的代码历史可视化出来。这里有reddit的代码历史,fogus也把写the joy of clojure做成了这样的视频。

凑个热闹,来看看我的clojalk项目可视化

And the video link on vimeo.

除了一名contributor,只有一个commiter。又是一幕Forever alone。
forever alone

PS:
gource上的wiki里,ffmpeg如果报错File for preset ‘slow’ not found的话,去掉ffmpeg的-vpre slow就OK了。

Visualize Reddit upvotes by subreddit

这是我reddit上所有的upvote在各个subreddit上的分布情况,这个情况还是可以说明我是个普通青年。
Reddit upvotes visualization

排在前几位的分别是

  • Programming
  • Linux
  • Python
  • f7u12
  • Clojure
  • Ubuntu

如果你还不了解什么是Reddit:Reddit是一个巨大的社会书签+论坛网站,他的频道叫做subreddit,每个频道有一个相应的主题,涵盖了从IT技术到新闻到生活的各个角落。

这些数据是通过下面的Clojure程序获得(使用reddit.clj库),并通过jfreechart展现出来的。

The distribution of intelligence

This could be a big title for the content.

I just work out a heat map based on the data of users who enrolled online courses offered by Stanford.


(Click to enlarge)

I think you already have your ideas about this map. New England, California and Central Europe has higher density than any other area of the world. Also you can find some light in South America, East Coast Australia, India and China. I think this could be an overview of how intelligence distributed around the globe.