HNHacker News
TopNewBestAskShowJobs

dhruvbird

838 karma · joined April 2, 2010

Copy this into your address bar and press "enter" to visit my home page:

javascript:window.location="http://"+window.location.search.match(/id=(\S+)/)[1]+".com"

submissionscomments
dhruvbird··on Why do self-respecting hackers use Gmail & Co?
1. Setting up a mail server and keeping it running isn't easy 2. Spam filtering 3. (already mentioned) uptime - you don't want to lose email 4. The security of your email doesn't depend only on you - it also depends on where people you are communicating with are hosting their email.

It's much easier to get search privacy since the only other entity involved is the search engine. Which is why I use https://duckduckgo.com/ for search.

dhruvbird··on Yale Discovers a Fungus That Eats Plastic
This is actually huge!! However, I wonder if uncontrolled growth would lead to something even more terrible.
dhruvbird··on Show HN: My afternoon project - a pleasant viewer for the "who is hiring?" posts
This is super! I wanted to do something like this myself - you've executed it brilliantly!!

Why don't have a "Feb 2012 - all" and let user's search using the regexp box? That way, I don't have to search both categories for stuff that might span both.

dhruvbird··on Your data on Google.
used to be safe...
dhruvbird··on Is Facebook.com down right now?
it's okay now - apparently others saw it down too.
dhruvbird··on Larry Page to Googlers: If You Don’t Get SPYW, Work Somewhere Else
It's not even 1st of April today.
dhruvbird··on Opinion: moreSQL is real
You can find out more about tokutek here: http://duckduckgo.com/?q=tokutek.com http://www.quora.com/Andrew-Byde/answers/Tokutek
dhruvbird··on The Elephant in the Room: Google Monoculture
It's interesting to see that DuckDuckGo ranks higher than Blekko - One reason could be that it promotes SO articles via the 0-click info box.
dhruvbird··on DuckDuckGo gets a new look
Consistent UI theme-ing in the new look! :)
dhruvbird··on Ask HN: Who is Hiring? (January 2012)
I applied to one company based on the posts below and they were very prompt in getting back and was eventually offered an internship there, so yeah, they do take this pretty seriously.
dhruvbird··on Best Papers in Computer Science up to 2011
Surprisingly, Google isn't in the list of companies in SIGIR (Information Retrieval).
dhruvbird··on Google+: A few big improvements before the New Year
Why can't they just use up/down vote on a post and determine these numbers automagically rather than have a user enter a value for each "circle"? I mean it seems analogous to the problem of spam filtering except that you have a weight function now instead of a binary 0/1.
dhruvbird··on JQuery plugins site accidentally deleted - last backup one year old.
I think this may be intentional and not accidental to weed out obviously dated plugins. I mean if a developer cares enough about his or her plugin, then they will update it on the new site - is what my guess is about their reasoning.
dhruvbird··on Fuzzy string search
Yes, its useful for alignment. However, I've noticed that such alignment techniques are quite slow (since many of them resort to brute force on O(n^2) on sufficiently large strings - a few thousand maybe).

I've found that a better way to approach this problem is to use suffix arrays to generate the best overlaps (ranges) from the reference and then perform a "range compression" (not of the audible kind) to coalesce adjacent ranges that differ by very little and insert/delete the offending characters.

I'm using a similar technique for genome compression against a reference and am able to get a 700x compression on 2 Korean genomes and 130x compression on hg18(build 36.1) and another build/assembly(number 36.3) of the human reference genome.

dhruvbird··on How Spotify Works
very insightful. esp. the bit about how they use a combination of server based and p2p based streaming to ensure a seamless experience.
dhruvbird··on How to trick C/C++ compilers into generating terrible code?
Interesting. Another thing I noticed is that code runs faster if floating point and integer arithmetic instructions are interleaved rather than "blocked" together.
dhruvbird··on How to trick C/C++ compilers into generating terrible code?
Interesting point about ICC generating faster code and the link order making a difference in the running time of the application.
dhruvbird··on How to turn a biased coin into a Fair Coin
This sounds simpler - if it works (can anyone confirm it?)

* We maintain a fair coin abstraction that contains an unfair coin. * Along with the unfair coin, we also maintain a counter 'C'. * 'C' starts from 0, counting up 1 every time the coin is flipped. * If C % 2 == 0 then we report the value of the unfair coin's toss. Otherwise, we reverse the value of the unfair coin's toss and report it.

dhruvbird··on Google Flight Search
This had to happen sooner than later after the ITA aquisition. I wonder why it took them so long.
dhruvbird··on [dead]
Has anyone actually noticed a speed difference? I haven't - just curious.
dhruvbird··on Another libraries vs frameworks
I guess frameworks have their use cases. For example, now that you mentioned it, the EventEmitter on node.js is a framework-kind of model where your code is invoked when a certain condition is met. They seem to have done it beautifully. In fact the whole runtime (environment) is event driven, so I like to think of my application as a user of the node.js framework. However, many a times when coding higher level requirements or ever-changing business requirements, frameworks tend to lose their way and programmers land up writing around the restrictions.

I guess it makes sense to have a framework when you know the requirements in & out and you know that they are not going to change (like low-level I/O or socket or FS stuff which has remained the same for years now), and a library otherwise.

dhruvbird··on Libraries vs Frameworks
neat! I came to a similar conclusion a while ago, but you've presented it better: http://dhruvbird.blogspot.com/2010/12/library-vs-framework.h...
dhruvbird··on Cobra effect
Your company wants you to work more, so it has this "you must be in office for X hrs every day" and then they realize that people are spending 0.3x of their time in the canteen, so they decide to exclude canteen time, so the employees start playing games at their terminals. They decide to ban games - employees turn to facebook. Ban facebook, everyone becomes unproductive and grumpy. The company decides that this hrs. policy isn't working well, so decides to get rid of it. The joy stricken emloyees run wild and no work happens.
dhruvbird··on National Informatics Centre (NIC INDIA) got hacked by Anonymous
Please don't deface Indian web sites. No one cares - esp. govt. sites. At max. you will be helping the corrupt get even more rich by giving them an excuse to allocate more funds.
dhruvbird··on The Dark Side of C++ (2007)
> x[0] -= x[1]; // x[1] adds sizeof(bar) here, not sizeof(foo)

This code doesn't even compile?? What is the author trying to show with this example?

dhruvbird··on The Dark Side of C++ (2007)
> Iterator to stale element (resized vector, or balanced tree after rebalance)

I don't think that rebalancing the tree invalidates iterators (other than the deleted element [if any] that is)

dhruvbird··on LevelDB: a fast and lightweight key/value database library
I don't think that's what the OP wants. The real result expected is supposed to be ordered by the value of the key itself rather than the size of the key.
dhruvbird··on Midnight Hacking: How to form a doers group.
We did this for about 2 months (on Friday nights) at my current organization, but then the guy who organized this got busy with something else and no one else picked up the initiative.
dhruvbird··on Morph C++ into Javascript
wow!! this is great!!
dhruvbird··on Why you should use talloc for your next C project
This is nice!! Thanks!!
← PreviousPage 4 of 5Next →