The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I often expect things to work and they don't so I thought I might mention a time when I did not expect a thing to work and it did.
I am changing my C'YaPass app so you can save the web site's password requirements along with your siteKey. That will mean the app will remmeber each sites's pwd requirements like Yahoo!, for example, requires uppercase, max length of 32 and 1 special char.
Anyways, currently the SiteKey objects are simply stored in a json file (serialized) and then deserialized when the program loads. Very simple.
However, to do the new work it means the SiteKey object and the json behind it would be different. I'm adding new property values to the SiteKey class.
I figured that was going to be very difficult since the new app would expect the new property values that obviously weren't there.
However, I found that the NewtonSoft Deserializer handles all that behind the scenes.
1. It simply reads the old json and deserializes the old json into my new objects (which contain new properties)
2. serializes the objects back out with default values where the user has not provided the values yet
JSON.NET has consistently been one of the best standard use products in the C# ecosystem.
Unfortunately I find myself using it less and less as more of my projects implement YAML (for user-configured options) and BSON (for web communication). Every time I write a shim for one of those parsers, I miss Newtonsoft just a little more.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
Before anyone gets upset, I'm here because I am not sure where to turn. I have a child mostly bedridden, and using games on his Kindle Fire gets him through medical procedures such as IV infusions, etc. When he is in a lot of pain, he dives into Kindle games.
I did a little research (I don't have vast amounts of time with sickly kids - yup two of 'em) and found that supposedly if I downloaded one of the virus cleaners from the Amazon App Store from within the Kindle, it should have been vetted and virus free. But it didn't make it better, and could have made it worse. My son does not want to lose his progress on Pixel Gun 3D, nor his other games. He's been playing for a long time (more than he should have, but due to painful nights, he has a lot of time logged into games), so he would be devastated to lose everything. So rebooting is out. He doesn't need yet another disappointment. He can't play soccer anymore, he can't even go outside, he is missing a ton of school, and now his Kindle is misbehaving. Talk about his "last straw." And he can't even play with his nerf guns because it hurts his IV arm. I want something to go right for him.
Any recommendations of something to clean up his Kindle without losing everything? He has Kindle Fire HD 8.0. Please help. I've tried searching sites, but it is too time consuming and I'd rather be beside his side, or with his sister, than trying a bunch of things that don't work.