Monthly Archives: May 2014

Android KitKat Update – My SD Card No Longer Works! – It Broke All My Apps!

I made a mistake and updated my Anrdoid phone to 4.4.2 KitKat. I knew about this “enhancement”/bug but let it update anyway. That was a mistake. Now I have to root my phone if I want my apps to work correctly.

Google changed the way “write to external SD card” works in apps. The android specs actually said that the “write to external storage” permission lets apps write in THEIR SPECIFIC DIRECTORY on the external sd card. However, most phone manufacturers implemented it so that this permission lets an app write ANYWHERE on the external SD card.

Google cracked down on the phone manufacturers, and insisted that they change it so that apps are only allowed to write to their specific directory on the sd card.

However, this breaks almost all the apps I use. Apps like text editors and emulators were written to assume that it could write anywhere on the external SD card. Unless the app is specifically rewritten to conform with the new rules, the update breaks it.

I understand the twisted logic behind the change. If each app is only allowed to write in its specific directory, that makes it easier to clean things up when you uninstall an app. However, most people upgrade phones every 2 years, which means that they really aren’t polluting their phone with old apps.

There’s a more evil reason for the change. By breaking sd cards, Google can force people to store their data “in the cloud” instead of on their phone.

It would be nice if there was an option to allow users to switch to the old behavior. The only way I can fix everything is to root my phone. I was trying to avoid doing that, but Google forced me to do it.

I’m looking forward to the day when I can ditch Android and use a real open system. The Pyra (the Open Pandora successor) is looking more attractive. I do miss the keyboard on my Samsung Galaxy S4. Maybe I should just get a cheap phone with a wifi hotspot and get a Pyra? Or something else?

Reader Mail – 05/11/2014 To 05/17/2014

Another Voice commented on node.js Is VB6 - Does node.js Suck?.
If you really want to experience pure sh**, try GRAILS. that is the ultimate nightmare..

wrt node.js:


- one language for the whole stack: JavaScript. JSON for anything model-related (stored in mongo). Extensions like TypeScript oder Coffeescript make JS a bit more convenient.

- JavaScript developers are those that really can make a Website shine. Even though the language is shitty. Now JS developers can implement their UI concepts more quickly -> more feedback

- c++ Extensions are possible -> Speedup for certain situations

- btw, Paypal moved all of their frontend webapps to JavaScript

- From

"In one sentence: Node.js shines in real-time web applications employing push Technology"

So These are my 2 Cents..

I've heard people mention Grails when I criticized Rails. I never understood the point of languages built on the JVM, languages that compile to Java bytecode but aren't Java.

paskos commented on FSK Benchmark Test - C/C++ vs. Javascript vs. PHP.
I modified the java code and did some minor optimization:

Fixed the bug

Re-use Random generator instead of creating a new one every time.

Wait till end of processing to output to console (I assume the goal is to measure processing time not measure the time to output to console).

I did not verify the validity of the code outside from the reported bug.

It's here

Running the main() method on a JDK 7 build 51 inside my eclipse on a core I7 quad core HT I got 0.255 secs.

paskos commented on FSK Benchmark Test - C/C++ vs. Javascript vs. PHP.

Ran it 10 times on command line using same machine and same JDK.

Results are here

Did you run the other versions on your PC for a valid comparison?

I.e., if the Java version is faster on your PC, I need to know if it's because you have a faster PC or if the code is optimized better.

Also, when I timed my versions, I included all the time (including writing to console). However, writing to console is only milliseconds.

Reader Mail – 04/27/2014 To 05/03/2014

MP commented on FSK Benchmark Test - C/C++ vs. Javascript vs. PHP.
"Atrocious" code? It was pretty much a direct copy of the C++ code. I did it because apparently no one else was willing to. The Java fanbois seem loathe to actually benchmark things in public, preferring to talk about theoretical gains from JIT, etc. My hope was that by providing the source for the languages, we could have language experts fix up any problems that I missed (like the looping error I made, when I was tired and really didn't care much about anything other than finishing the effort).

My conclusions about Java were that I'd forgotten how verbose and picky it is. My conclusions about the Java fanboi clique is that they're the kind of people I'd rather not spend time with.

I don't believe your numbers. Provide the code, the settings for your compiler, and then allow someone else to look it over like I did.

That was exactly my point. The guy insisted Java was faster than C++. He did not post his code. I have no idea if he used proper compiler optimization settings when he tested the C++ version.

This is a potentially interesting test, writing code to solve the exact same problem in multiple languages.

I did learn one thing from this exercise, which is that PHP is MUCH worse than I expected. I don't see why people ridicule me for not knowing that. The only way to be sure is to perform an experiment like I did. I thought that PHP compiled pretty efficiently to C.

That's another interesting point. The people who favor certain languages (Rails, node.js) have defective personality types. There's no point learning those languages, because then I'll be working with the scum who prefer those languages.

I worked on 2 Java projects, both were a mess. That isn't a sufficient sample size, but it didn't make me motivated to pursue Java further.

Chris Mackney commented on Reader Mail - 04/20/2014 To 04/26/2014.
Man driven to suicide by ex wife and divorce courts

Chris Mackney committed suicide on December 29, 2013 because his ex wife was using the divorce courts in America to torture him and kidnap his children from him. He wrote a 4 page suicide note before killing himself.

LATEST UPDATE: The ex-wife is such a psychopath that is she trying to copyright her ex husband's suicide note, in order to prevent it from being circulated on the internet. She is using her lawyers to threaten legal action against websites that published Chris's suicide letter. She is trying to silence him, even in death.

The website "A Voice for Men" also got a letter from her lawyers and wrote an article about it yesterday:

Here's a few more updates: