Hacker Newsnew | past | comments | ask | show | jobs | submit | more web_chops's commentslogin

Only problem is that half of the world is going to see "Sorry this service is not available" message unlike embedding something on youtube which available almost every where.


Great analogy. They are at the right place (with viral growth and momentum) at the right time (sitting between two at war competitors). I hope this doesn't set a bad example though. It's not like every company with viral growth is going to be acquired for such expensive valuations.


How about an app/site where random programmers exchange a single short programming tip in their favorite programming language ? One tip and you move on to the next person.

I think it will be helpful in sharing, learning and testing programming knowledge :)


For a minute I thought it was related to pair programming...


Actually creating most of the viral vaccines is more like theming a computer interface, you just need to plugin the new virus into your already well defined research work flow. That's the only reason we even have so many vaccines for so many viruses (even considering mutations and unknown strains).

Drop in one virus (AIDS, H1N1) which is out of the well known workflow and every thing goes haywire. I think the main reason for this whole mess is that, out of all the STEM fields, biology is the most trial and error prone.

It's the equivalent of trying to prove a mathematical formula every single time you want to use it because there are no axioms. Until some one discovers some standard good for everything axioms in biology, it will continue to be retarded cousin of all STEM fields.


I like this site's playground feature. Sort of like jsfiddle.. we are building something similar (https://designduke.com/designer) to play around with CSS styling.


Bitmaps always fascinate me. They are also the solution for one of the most common interview questions:

How do you pick a single poisoned barrel out of 1000 with 10 prisoners as your guinea pigs :)


I thought about it for 5 minutes and couldn't find an answer (I found several, but they were all half-answers). I looked at the answer below, and it turned out that you'd missed an important part: The prisoners don't die immediately after drinking from a poisoned barrel... They die after 30 days (in other words, they can drink from several barrels, and if any of those barrels were poisoned, they'd die).

But thanks anyway.


You also need to specify that you need to know by 30 days. Without both restrictions a simple binary search works.


Or your allow a cocktail to be made from the contents of several barrels.


Ya, that's correct :) It doesn't make much sense otherwise I guess...


I love problems like that. I'm going to go work that out for awhile, you have any links to the answer, or more questions like it?



I'm not the OP and I don't have a solution at hand, but I'd start by thinking about error correction and parity, then realize that 10 bits is enough to represent 1000 items completely.


SPOILER: Couldn't you just make one prisoner drink from half the barrels, and then if he dies have another prisoner drink from half of those barrels, and if not from half of the other barrels, and so forth?


That would work for the original question, but with the delayed death and quick response conditions imposed by pooriaazimi[0], it would not work. Tying the solution back to binary, you realize that each barrel has a unique 10-bit identifier (2^10=1024, so numbering the barrels in binary gives each one a unique ID). You assign each prisoner to a bit, then have them all drink from the barrels where their bit is a 1. 30 days later, you'll have a pattern of prisoner deaths exactly matching a single barrel.

Note: I have not verified this solution, and it does not match the solution that was posted elsewhere in this thread.

[0] https://news.ycombinator.com/item?id=3804350


Not for editing the whole website, but we have launched a web widget editor recently (http://designduke.com). You can edit individual HTML widgets like buttons, input boxes, forms etc :)


Neat! I would like to point out that the intro text right under the header is a bit hard to read with that blue background.


Thanks! let me find a more readable color


Wow, this makes Paypal look like angels. I suppose we are just starting see the effects of ad monopoly. Once a few more alternatives are taken away, there will be no where to hide.


I found stumble-upon to be pretty good in this regard (mainly due to the user curated bookmarks) though the quality has gone down a bit recently (thanks to the spammers)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: