HNHacker News
TopNewBestAskShowJobs

hanbam

40 karma · joined November 10, 2011

CS student at Manchester University.
submissionscomments
hanbam··on PointerPointer: points to your cursor
I was actually expecting that somebody did some machine learning / matching over a large set of pictures and found all those images / coordinates.
hanbam··on Skype IP Lookup
Here [1] is an interesting paper regarding P2P networks and privacy --- "Exploiting P2P Communications to Invade Users’ Privacy"

[1] http://cis.poly.edu/~ross/papers/skypeIMC2011.pdf

hanbam··on #1 CSRF Is A Vulnerability In All Browsers
Looks that Google detects the type of logout and doesn't ask for two-factor authentication in this case.
hanbam··on Sorting in C++: 3 times faster than C
I split the code in two binaries: "code" (qsort) and "code2" (std::sort()) and then I ran both under a profiler (based on intel's performance counters).

It seams that qsort simply executes an order of magnitude more instructions for the same result than std::sort. On the other hand std::sort() code, even if it's faster, it has more branch miss-predictions.

Here [1] are the results if you want to have a look.

[1] https://gist.github.com/b97a6395c9a20c3d4cea

hanbam··on Google responds to the Mocality blog post
I don't think that Google Cache acts as a HTTP proxy.