Better HN
topnewbestaskshowjobs
Log inSign up

svrocks

132 karma · joined Oct 23, 2010 (16y ago) · 55 submissions

Submissions

comment 15y ago · link · parent

well of course, they're changing the world one daily deal at a time. what has nuclear engineering ever done for society?

comment 15y ago · link · parent

You can find Aerons online (ebay, craigslist) for a fraction of retail. I am currently sitting in a full-featured Aeron that I got for $400. I bought it 6 months ago and have no complaints so far.

3.

Ask HN: Why do new browser tabs not include the original tab's history?

6 points · by svrocks · 15y ago · 5 comments

comment 15y ago · link · parent

Is there a reason why r/trees is the only subreddit with a chat group ;-)

comment 15y ago · link · parent

I predict you would get many more users if you could get an email reminder (with link) when new high-quality movie torrents hit piratebay

comment 15y ago · link · parent

I agree with all your points and would like to hire you to code up my idea for mashing up internet memes and home improvement supplies. I have already purchased the domain name: lolcatphotosharinghomedepot.com. Although I have made this much progress already, I am prepared to offer you 5% equity in this endeavour. The combination of my prestigious Harvard MBA and my 1 year of consulting experience at prestigious Bain, Co. will assure our success. Please let me know when we can begin. Your first step will be to deploy an Oracle/Microsoft cloud server in the cumulonimbus formation off the coast of East Africa to handle the user traffic that I am sure will arrive shortly.

comment 15y ago · link · parent

no i just made this yesterday, it only takes snapshots of current deals. If you want to collect revenues going forward I would set up some kind of cron job and run it every night at a reasonable time (11pm Eastern US time would probably work, but you'd underestimate on the West Coast deals)

comment 15y ago · link · parent

Ha yeah the code is a mess. I have used BeautifulSoup before but I don't understand how it works well enough and just wanted to get something out the door

comment 15y ago · link · parent

Yes but I wanted to be able to collect sale statistics, so either way some scraping would need to be done on the links

10.

Show HN: Groupon Scraper in Python

8 points · by svrocks · 15y ago · 8 comments

11.

18 points · by svrocks · 15y ago · discuss

12.

5 points · by svrocks · 15y ago · discuss

13.

39 points · by svrocks · 15y ago · discuss

14.

Poll: How many Groupons have you purchased?

5 points · by svrocks · 15y ago · 6 comments

comment 15y ago · link · parent

Wow. Google revolutionized the way we entertain ourselves, learn information, and interact with each other. Groupon has revolutionized paying $5 less for a pedicure on Sundays before 1pm.

comment 15y ago · link · parent

because there are far more people who don't care about such trivialities as profitability or sustainability than those who do

comment 15y ago · link · parent

Great idea, but I think this would be much improved by some standardized test cases, especially for the algorithms. I saw a lot of haphazard 3-input tests.

comment 15y ago · link · parent

After choosing a different way to find the angle, my answer matches yours. Kudos for having a much simpler answer.

comment 15y ago · link · parent

wow that's an interesting and counterintuitive result. I need to figure out why my integral doesn't line up with that

comment 15y ago · link · parent

2 pi R h gives you the surface area of the side of a cylinder with height h, since you are taking the circumference of a circle and multiplying it by h

comment 15y ago · link · parent

Ah you're right, I missed a factor of 2 in the top integral. Will edit shortly.

comment 15y ago · link · parent

Assumptions: 1) Earth is a sphere with radius r 2) "Sky" is a hollow spherical shell with radius R

The surface area of the entire spherical sky is: 4\piR^2

This can be represented by a spherical integral that I'm not sure I can write cleanly here.

We just need to change the bounds of that integral to find the area of the observable part of that shell. The Intersecting Chord Theorem along with some trigonometry can be used to find these bounds.

The answer I get is:

(1 - cos(x)) / 2 where x = Arctan(sqrt(r(R-r)) / r)

This seems to have the correct asymptotic behavior (as r approaches 0, cos(x) approaches cos(pi/2) = 0, and the answer approaches 50%

EDIT: My previous answer assumed the shapes were cones instead of spheres. Sorry about the confusion.

comment 15y ago · link · parent

5028

24.

Google Code Jam question solved using Shakespeare programming language(go-hero.net ↗)

4 points · by svrocks · 15y ago · discuss

comment 15y ago · link · parent

As someone who fits that profile with scary accuracy, I can maybe elaborate on the phenomenon. Asian-American children grow up with much external motivation, which gives them a sense of purpose and work ethic. The problem is, external motivation alone can only help in accomplishing mechanical goals that require little creativity or thought and have clear cut evaluation systems. This is not a problem for taking tests, banging out classical piano pieces with no expression, gaming the college admission system, or editing financial models.

But of course after the shelter of academia is left behind, we find ourselves in a world that has no strict system of evaluation. This is where Asian-Americans seem to struggle. I know I do. What makes a trend take off? What does success even mean anymore? I think this is what makes Asian-Americans grasp for job options that are able to provide external motivation and reward which manifests itself in a more conservative attitude.

comment 15y ago · link · parent

Amazon went public in 1997 for $18/share with 1996 revenues of $16MM and $(6MM) net loss.

Google went public in 2004 for $85/share at about 100 P/E

12