Earlier quoted context omitted.
Not merely an insightful repository of analysis and explanations around the more profound aspects of our world, John Ralston Saul's exquisite Doubter's Companion includes some answers - acerbic accusations bundled free - to the more pedestrian issues: "DANDRUFF: The ANSWER is usually vinegar. To some problems there are solutions. "What we call dandruff is often the result of a PH imbalance on the skin, which shampoo…
I suffer from dandruff, tried a bunch of shampoos but they didn't work well. I saw this tip about vinegar, which I tried a single day then I gave up thinking this could be popular saying. I'll try again and report.
Chess.com stopped working on 32bit iPads because 2^31 games have been played
211–220 of 338 posts
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#212It's fascinating... the Y2K problem never came to fruition because - arguably - of the immense effort put in behind the scenes by people who understood what might have happened if they hadn't. The end result has been that the entire class of problems is overlooked, because people see it as having been a fuss over nothing. I sometimes think it would've been better if a few things had visibly failed in January 2000.
Maybe it's because of how young I was at the time, but I remember media outlets reporting on the Y2K problem, and showing video of hundreds of older computing devices that were being retired (thrown in landfills) because they wouldn't work properly after the date change happened. Maybe this isn't a "real" failure, and the symptom of some IT departments working diligently to solve the problem before it happened. In an…
The image of a bunch of perfectly capable computers being discarded for no reason describes this media frenzy wonderfully.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#213Earlier quoted context omitted.
> 99% of all programmers Many dynamically typed languages have an automatic change from int to bigint rather than allowing overflow. For example, Python.
Others, like JS and Lua, just use doubles, meaning they'll never overflow - instead every 2 numbers start to be considered equal. Then a while after that every 4, etc. Not exactly optimal behavior when using incrementing IDs.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#214Earlier quoted context omitted.
Nope. Definitely not goofy. My dad was a programmer in the early days. The machines he started on in the 1960s had 8 KB of RAM. Saving a byte then is the equivalent today of saving 1 MB on an 8 GB machine. Multiply that times, say, the thousands of customer orders you're trying to process and the goofy thing would be burning a lot of additional RAM because it might help somebody 35 years later. Who among us is writin…
But a 2 digit date should take less than 7 bits. Were they using systems that didn't use 8 bit bytes? Why wouldn't the dates work from, say 1900 to 2155?
Sure, they could have used a custom encoding. But that increases maintenance cost and extra development work. All to solve a problem that nobody cared about at the time.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#215Earlier quoted context omitted.
Not merely an insightful repository of analysis and explanations around the more profound aspects of our world, John Ralston Saul's exquisite Doubter's Companion includes some answers - acerbic accusations bundled free - to the more pedestrian issues: "DANDRUFF: The ANSWER is usually vinegar. To some problems there are solutions. "What we call dandruff is often the result of a PH imbalance on the skin, which shampoo…
Stop spreading psuedo-scientific alternative-medicine falsehoods. Dandruff is in no way caused by a "PH imbalance on the skin": http://www.mayoclinic.org/diseases-conditions/dandruff/diagn...
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#216Earlier quoted context omitted.
Nope. Definitely not goofy. My dad was a programmer in the early days. The machines he started on in the 1960s had 8 KB of RAM. Saving a byte then is the equivalent today of saving 1 MB on an 8 GB machine. Multiply that times, say, the thousands of customer orders you're trying to process and the goofy thing would be burning a lot of additional RAM because it might help somebody 35 years later. Who among us is writin…
- Who among us is writing code today worried about how it will be used in 2052? The good programmers who are fortunate enough to be working on software that matters.
There are plenty of good programmers working on software that matters that should absolutely not be trading off hazy possible benefits in 2052 for significant costs now.
It's occasionally necessary. When I wrote the code for Long Bets [1], I took a number of prudent steps to make sure things would have a good shot at surviving for decades. But I only took the cheap ones; the important thing was to ship on time.
And I think that's the right choice for most people. Technological change has slowed down some, but 35 years is still an incredible amount of volatility. Betting a lot of money on your theories of what will be beneficial then is very risky.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#217Earlier quoted context omitted.
Your link discusses 2^64, which applies to languages that have native integer types. The 2^53 problem was for Javascript, which has no native integer type, and is thus limited by the mantissa size of Number (which is defined as an IEEE double-precision float). Twitter ids are unsigned 64-bit, since they're generated using Snowflake. That link must pre-date the move to snowflake ids, and is speaking to the count of tw…
I'd be incredibly surprised if they overflowed 9 quadrillion tweets. That's like a million tweets per person on earth.
On a more serious side, that number won't be reached anytime soon..
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#218Earlier quoted context omitted.
> Self-confidence as a programmer is when starting a new project, storing the transaction ID as a long rather than an int... uint64_t even Or a UUID as others have suggested. Technically C spec doesn't really say exactly how many bits int, long and long long should be. If you want specific sizes and your code to be somewhat portable use the specific bit sizes to make that clear. There are also types for size-like thi…
> If you want specific sizes I would go further and say you should _always_ use specific sizes, unless forced otherwise. There's no reason not to.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#219Earlier quoted context omitted.
I suffer from dandruff, tried a bunch of shampoos but they didn't work well. I saw this tip about vinegar, which I tried a single day then I gave up thinking this could be popular saying. I'll try again and report.
Have you tried going to a dermatologist?
Not my wisest moment. I should probably have seen another dermatologist.
Re: Chess.com stopped working on 32bit iPads because 2^31 games have been played
#220Earlier quoted context omitted.
For a pop-culture name, I'd call it the Head & Shoulders Problem, after those old shampoo commercials: "You use Head & Shoulders? But you don't have dandruff!" "Exactly!"
I wish. I do have dandruff (depending on where in the world I happen to be). Head & Shoulders does absolutely nothing.