580 karma · joined Jun 6, 2010 (16y ago) · 244 submissions
comment 12y ago · link · parent
If any Dropbox people are reading this, can you comment on what criteria you used to pick the audio codec?
comment 12y ago · link · parent
In addition, it looks like you are unfairly picking on Java. The producer consumer model presented isn't anywhere near what a competent programmer would do. Building your consumer from within a method called Producer? Calling isinstance (or instanceof) to check if the "poison pill" is put in the queue? These are the signs of a crappy programmer, not a crappy language.
comment 12y ago · link · parent
comment 12y ago · link · parent
The snippet ended up being some sort of alert about upcoming maintenance, but using a malicious technique for a benign purpose is the path to the dark side. Use HTTPS!
(I use 8.8.8.8, it didn't help)
comment 13y ago · link · parent
What do we have to count to: 2^128 = 3.402823669209385e+38
How many times can we count in a year with a 3GHz core: 3e9 * 3600 * 24 * 365.24 = 9.4670208e+16
In two years, when processing speeds have doubled? 9.4670208e+16 * 2 = 1.89340416e+17
How many years until a core can complete count to 2^128 in a year? log(3.4028e+38 / 9.467e+16) / log(2) * 2 = 143.21
So, in 143 years a single computer will be able to count to 2^128 in a single year. That's still a long time, but its WAY WAY less than the trillions of years people quote. Add in as many extra cores/machines/datacenters/planets of extra processors and you aren't really indefinitely secure. You are secure for a limited number of years and that's it.
26.
Shown HN: Measure / Improve Your Response Time(carlmastrangelo.com ↗)
1 points · by afhof · 13y ago · discuss
comment 13y ago · link · parent
Customers and users do have an interest in getting their shipping details correct. Help them get it right rather than telling them they're wrong.