Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-settings.php on line 512 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-settings.php on line 527 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-settings.php on line 534 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-settings.php on line 570 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-includes/cache.php on line 103 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-includes/query.php on line 61 Deprecated: Assigning the return value of new by reference is deprecated in /home/heungsub/blog/wp-includes/theme.php on line 1109 JIT « Heungsub Blog

Posts Tagged ‘JIT’

me2Virus 시각화

Wednesday, June 10th, 2009

어제 소개드린 me2Virus HyperTree를 더욱 확장해 임의의 숙주에 대해서도 시각화 가능하게끔 만들었습니다. URL에는 변화 없습니다.

me2Virus HyperTree
cock 님의 태연바이러스 전염지도

숙주주소를 입력하면 해당 숙주의 전염/확산 경로를 JSON 데이터로 만들어 캐시하고 그 다음부터는 캐시된 데이터를 이용합니다. 따라서 첫 실행 시 시간이 더 걸립니다. 만약 해당 숙주에 새로운 하위숙주가 생긴다면 다음번 요청 때 다시 캐시합니다.

JITHyperTree를 이용해 시각화했지만 더 재밌는 시각화 결과들이 나타났으면 좋겠습니다. 따라서 아무나 다룰 수 있도록 JSON 데이터를 공개합니다. 누군가 나서서 만들어주시면 감사하겠습니다. 특정 숙주의 JSON 데이터는 다음 URL로부터 얻을 수 있습니다.

http://heungsub.net/apps/me2virus/json.php?post=<post_url>

데이터 구조는 다음과 같습니다.

{
  url: "http:\/\/me2day.net\/sub\/2009\/06\/06#09:11:45",
  name: "sub",
  posted: "2009-06-06 09:11:45",
  scale: 26,
  route: [
    "http:\/\/me2day.net\/sub\/2009\/06\/04#02:55:04",
    "http:\/\/me2day.net\/dark\/2009\/06\/04#04:06:48",
    "http:\/\/me2day.net\/jy2077\/2009\/06\/04#09:00:13",
    "http:\/\/me2day.net\/eek\/2009\/06\/04#09:50:44",
    "http:\/\/me2day.net\/sunghoonbae\/2009\/06\/04#09:51:30",
    "http:\/\/me2day.net\/gedoc\/2009\/06\/04#09:56:28",
    "http:\/\/me2day.net\/kangyena\/2009\/06\/04#09:57:36",
    "http:\/\/me2day.net\/sumanpark\/2009\/06\/04#10:18:25",
    "http:\/\/me2day.net\/bandi\/2009\/06\/04#10:33:58",
    "http:\/\/me2day.net\/ickjong\/2009\/06\/04#15:52:30",
    "http:\/\/me2day.net\/anotheround\/2009\/06\/05#16:28:32",
    "http:\/\/me2day.net\/gakoihalu\/2009\/06\/05#19:37:39",
    "http:\/\/me2day.net\/distanthowl\/2009\/06\/05#10:11:01"
  ],
  infectees: [
    {
      url: "http:\/\/me2day.net\/distanthowl\/2009\/06\/05#20:27:21",
      name: "distanthowl",
      posted: "2009-06-05 20:27:21",
      scale: 14,
      route: [
        "http:\/\/me2day.net\/sub\/2009\/06\/04#02:55:04",
        ...,
        "http:\/\/me2day.net\/sub\/2009\/06\/06#09:11:45"
      ],
      infectees: [...]
    },
    {...},
    {...},
    ...
  ]
}

me2Virus 첫 시각화

Tuesday, June 9th, 2009

이 포스팅은 낡았습니다. “me2Virus 시각화“를 봐주세요.

자바스크립트 시각화 라이브러리인 JITHyperTree를 이용해 me2Virus 전염경로를 표현해봤습니다.

JIT의 Hypertree로 시각화한 최초의 숙주 전염지도

우선 전염 규모가 비교적 큰 숙주 네 개만 시각화시켰습니다. 오늘 0시 근처 기준으로 캐시한 데이터를 사용하기 때문에 전염 현황이 실시간으로 반영되지는 않습니다.

JIT 굉장히 맘에 드네요.