92 karma · joined Jun 30, 2012 (14y ago) · 40 submissions
comment 12y ago · link · parent
Running the original on my machine (compiled with VS2013) takes 3.75 seconds. Changing the comparison to (x * x + y * y) <= 1.0 (no need for the sqrt since we are comparing with 1!) takes the runtime down to 2.87 seconds. Switching the accumulation from a branch to hits+=in_circle(r1, r2) further reduces it to 2.43 seconds.
comment 12y ago · link · parent
I finally got my Play Developer and Wallet accounts reinstated, and I promptly shut down my Play Developer account so that I wouldn't risk having my Wallet account accidentally banned again due to someone else's actions. Now I just develop for iOS.
comment 12y ago · link · parent
(Also note that "Rotary Lift", the brand seen at that point in the video, is the exclusive supplier of vehicle lifts to Tesla - http://www.prnewswire.com/news-releases/tesla-motors-chooses...)
comment 13y ago · link · parent
You are right in comparing him to Jobs:
" In 1986, Nintendo president Hiroshi Yamauchi noted that "Atari collapsed because they gave too much freedom to third-party developers and the market was swamped with rubbish games." In response, Nintendo limited the number of titles that third-party developers could release for their system each year, and promoted its "Seal of Quality", which it allowed to be used on games and peripherals by publishers that met Nintendo's quality standards." http://en.wikipedia.org/wiki/North_American_video_game_crash...
comment 13y ago · link · parent
How much does it cost in the US? Down here in NZ, it cost me NZ$5750 (~US$4877) for intralase (laser-created flap) on both eyes.
I didn't have a lot of those follow up tests mentioned where they poke your eye. I had a follow up the day after, then a week after, then a month, then two months after. All they did at each appointment was get me to read from a chart and examined my eyes with some kind of digital microscope.