Tag: software

  • Text and document visualization

    Visualization Strategies: Text & Documents

  • How facebook implemented replicated database

    http://www.facebook.com/note.php?note_id=23844338919 I joined Facebook in April 2007 and, after getting settled over the course of a few weeks, my manager Robert Johnson approached me. We talked for a while but the conversation boiled down to: Bobby: “So, Jason, we’re going to open a new datacenter in Virginia by 2008. Do you think you can help?”…

  • 블로그 traffic을 높히기 위한 시도

    어떤 웹 서비스를 만들면 성공할 수 있을까를 곰곰히 생각하다 일단 내가 운영하는 내 블로그 부터 사용자를 높여볼까? 라는 보다 쉽게 접근할 수 있는 문제 부터 풀어보기로 하였습니다. 위의 이미지는 Google Analytics를 사용해 지난 한달간의 이 블로그의 통계치와 작년 같은 시기 블로그 통계치를 비교한 것입니다. 보다시피 방문자수는 23%, Page View는 38%, Avg Time 40%가 감소한 반면…

  • COJAC(Checked Overflows in JAva Code)

    COJAC Homepage. Compile it, then instrument the Abc.class file with Cojac: java -jar cojac-0.91.jar Abc.class Execute the instrumented file COJAC_Output\Abc.class. It will generate at runtime a log file Abc_COJAC_Report.log saying: COJAC: Overflow: IMUL Abc.main(Abc.java:4)

  • Fast Pimpl Idiom

    http://www.gotw.ca/gotw/028.htm Pimpl Idiom[http://mkseo.pe.kr/blog/?p=841, http://www.gotw.ca/gotw/024.htm]의 단점은 1) heap 메모리 할당과 해제, 2) 포인터를 사용한 호출입니다. 그 중, 메모리 할당과 해제를 해결하기 위한 첫번째 시도: 그러나 이 방법은 char x_[sizeofx] 가 byte align을 안해준다는 문제, sizeofx 값을 사전에 알 수 없다는 문제가 있습니다. /* some value */ 자리에 sizeof(X)라고 쓰면 안되나? 라고 생각할 수 있지만, 그렇게 하려면…

  • Best Practices for Speeding Up Your Web Site

    Best Practices for Speeding Up Your Web Site

  • Be aware of subtle overflow

    http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html We see the following form of code very often. But be aware of subtle overflow here. low + high can be larger than the maximum value of int range. Open ssh vunlerability was also due to subtle overflow.

  • Blacklisting for XSS is stupid.

    http://ha.ckers.org/xss.html Did you know.. XSS prevention using any kind of replace / blacklisting is stupid? Someone will find out crazy attack.

  • Protocol buffer for flexible protocol definition.

    http://code.google.com/p/protobuf/ http://code.google.com/apis/protocolbuffers/docs/overview.html See how Google implemented general RPC protocol infrastructure.

  • Nice review on Java generics

    http://www.ibm.com/developerworks/java/library/j-jtp07018.html Canonical example: Rule of thumb: Use an extends wildcard when you only get values out of a structure, use a super wildcard when you only put values into a structure, and don’t use a wildcard when you do both.