837 karma · joined Aug 16, 2007 (19y ago) · 275 submissions
comment 4y ago · link · parent
For perspective.. I remember downloading and installing Linux off floppies. That sucked too, especially with bad disks or download errors, but it was less frustrating than this.
It seems like they don't improve it because iCloud seems like it works smoothly, and they get an on-going profit stream out of it. The process was so brutal I almost broke down and paid for a ton of iCloud storage.. but didn't because getting lots of photos out of iCloud is also painful.
comment 15y ago · link · parent
- 50mb is >> total cache on most systems you'll use.
- This is far from the only function you need to optimize.
--> The best performing algorithm in a micro-benchmark can be sub-optimal in real use.
- You've got a fixed-for-the-day list of <10k <9 letter unique upper-case strings
- The bulk of them you'll process are <= 4 letters (CMCSA/CMCSK be damned).
- The median is 3 and the mean is <3.6.
- The symbols aren't anywhere close to uniformly active
--> Benchmark with a typical data stream, not a uniformly distributed one.
- You're likely not even considering trading most of them.
- How much better is your algorithm than the obvious binary-search?
- Or worse -- plain'ol front-to-back linear search?
- Are you sure you understand 100% of how the computer works?
--> Yes? Mail a check to Goldman and find a better line of work.
--> No? Test it with a quick benchmark.
- Is binary search cache friendly?
- Why not? Plot out the memory accesses if need be.
- What's wrong with taking a linear-interpolated guess?
- Is that cache friendly? .. or could it be?
- When your guess misses, what's that cost?
- Can you think of a cheap modification to lower that cost?
- Is the distribution really linear?
- What's wrong with a "perfect hash function"?
- Does it need to be perfect?
Incidentally, hardware wins at this function. You can just generate logic to do all the if symbol == "XYZ": return 3's in parallel.comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
On the other hand, did you know you can turn off the garbage collector on CPython?
comment 15y ago · link · parent
comment 16y ago · link · parent
Low-latency trading though costs everyone. Nobody actually needs anything faster than a fill in a blink of an eye. The only people who think they do really need smarter match engines or to stop taking advantage of people
comment 16y ago · link · parent
Note: I'm not making any statement about the possible awesomeness or lameness of the system. All I'm saying is the parts aren't expensive.
comment 16y ago · link · parent
The secret username can be associated with a display name, real name, physical/email addresses, etc. You can use the latter to look up the former along with a password/probing question/ping (email, text, phone) to retrieve the former.
It seems to make more sense to me logically anyway: I'm not anonymously entering a secret club with a password. I'm identifying myself, and based on my identity I'm allowed to do something.
comment 16y ago · link · parent
That said, I don't really need recommendations as to what to try, I just need something that doesn't present me with a zillion clearly crappy options (and this applies to Apple's too.. Stupid-compiled-pamphlet-of-information I'm looking at you). After eliminating those, there's not so much left in the Android Market that I can't go through it in a reasonable amount of time.
comment 16y ago · link · parent
Taking the risk before knowing there's a reward is probably the riskiest way to go. For me though, it's fun.
To be fair, that was my way 5 years ago. I guess now I try to make sure everyone's working together with similar risks and rewards. I work better with people than against them.
My present way isn't necessarily the smartest or most profitable way to go either.