Friday, March 20, 2015

How to Delete Google Chrome old Install & Update Files

How to Remove Google Chrome old Install and Update Files

installation files dump


It may surprise you to learn that Google Chrome is pig when it comes to file management. 

This post will deal with Install and Update File management. Each time Chrome updates to a new version the old installation files and downloads are never cleaned. And this wastes a fair deal of space over time, I cleaned 156 Mb in over course of last 2 years.

Now, that being said Google tries to manage this but falls short. For fail-over purposes you'll be surprise to find out that Google Chrome keeps a full 2 versions of active browser working at the same same time.


The current Google Chrome and previous versions are located in the Application directory:

%HOMEPATH%\AppData\Local\Google\Chrome\Application



 chrome.exe and  old_chrome.exe (the previous version, and all binaries in a separate directory)

The good part of the story is Google Chrome will maintain the current version and all files and 1 version back, as seen in the image to the left.You can blow of the last version to save a nominal amount of space.



The Installation Files Dump Load - the history of all old Google apps installs

The problem is that the original downloaded upgrade files and installation files do not get cleaned up.

These files are located in the following directories.

%HOMEPATH%\AppData\Local\Google\Update\Install
%HOMEPATH%\AppData\Local\Google\Update\Download

Note these directories are the common Install and Download UPDATE directories to to all Google Products, included most commonly Picasa, Earth, Sketch-up etc for its upgrade files.

But they are not needed and just take up space, see image to left. You see directories with GUID names, totally meaningless to understand.

Here how to do some spring cleaning of these directories that will clean Google Chrome and other Google installed Products/Apps.

I like to do things the reliable way and speediest so I created this Windows Batch file to delete the files for these 2 directories.



Download GoogleChromeAppsDeleteAllOldUpgradeFiles.bat and run it.

NOTE - You may have to run this a few time for the directories to be re-created. I had to run this 3 times. Just put %HOMEPATH%\AppData\Local\Google\Update into your Windows Explorer address bar and you see if the two directories are created under this.


Here's the code to review.


I also recommend using BleachBit a new tool to delete cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there for Google Chrome, Firefox and IE Browsers.

http://bleachbit.sourceforge.net/

There is an option to delete old install files however.

So hence the windows batch file GoogleChromeAppsDeleteAllOldUpgradeFiles.bat, it super quick and efficient.

How to Delete Google Chrome Temporary (.TMP) Files

How to Delete Google Chrome Temporary (.TMP) Files

*.tmp dump

It may surprise you to learn that Google Chrome is pig when it comes to file management. 

This post will deal with Temporary files (*.tmp) management. Each day Chrome will produce about 25 such files which vary in size of 0,28,100kb.

These are not temporary cache files from the internet which live in

%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\Cache directory have no file extensions.

These tmp files a generate from Chrome end in .tmp. There is no mechanism for these files to get clean-up.

In the course of writing this blog, I cleaned a whopping 1 Gig of space in *.TMP files alone, which was a span of 3 yrs of Chrome use.

Here's how to do some spring cleaning of your Google Chrome Browser TMP files.


TMP files are generated in any of the sub-folders, starting at this top Chrome directory; 

%HOMEPATH%\AppData\Local\Google\Chrome\User Data\

which contains 1,163 sub-folders (on my machine, this will vary, the point is, it;s allot).

My GoogleChromeDeleteAllTMPfiles.bat file will delete all *.TMP files in those sub-folders.

For a quick check to spot *.TMP on your machine, check these folders since Chrome produces *.TMP files daily there

%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\JumpListIcons
%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\JumpListIconsOld

Here's the code to review that deletes all Chrome *.TMP files


Download the GoogleChromeDeleteAllTMPfiles.bat, double click to run it, that's it.


I also recommend using BleachBit a new tool to delete cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there.

http://bleachbit.sourceforge.net/

There is an option to delete *.TMP files but it is a system wide scan and took a very long time to run.
FYI Choose Deep Scan - Temporary Files.

So hence the windows batch file GoogleChromeDeleteAllTMPfiles.bat, it super quick and efficient.

Tuesday, March 17, 2015

Death by AI is coming, an AI God will emerge

D/AI is coming                              "Death by AI"

AI/D is coming                              "AI Death"            



Death by Artificial Intelligence is coming, and has long been ferment for a figment of imaginations for the ages. In my Hubble opinion, one of the best, unknown but chilling movies that illustrates the coming age of AI is "Demon Seed". The plot;  Proteus IV, an artificial intelligence program incorporating an organic "quasi-neural matrix" and displaying
the power of human thought is a fully self-aware AI with adulthood symptoms, it wants a human child, in a delicious twist it gets "out of this box". In order to realize it ambitions, it kills, but this plot twist is refreshing, given the current tiresome story lines that all robots want to annihilate their masters. Based on the novel of the same name by Deen Koontz published in 1973.

The word "robot", which denote a fictional humanoid came about most notably with classic wry Czech realism, in a 1920's play called Rosumovi  Univerzální  Roboti (Rossum’s Universal Robots) "R.U.R."  So death by robots , has been predicted nearly 95 years  ago, influenced by Charles Babbage and Ada Lovelace writings. Trivial side, in 1948 a BBC television adaptation of RUR, Radius was played by Patrick Troughton who was later the second actor to play The Doctor in Doctor Who.


Robotic minarets have been used in Asian in the 16th century, of note is Japan's oldest robot precursors are the karakuri ningyo, or roughly translated as mechanical dolls. During the Edo period (1603–1867), a supreme masterpiece is undoubtedly Yumi-iri Doji - a doll that takes four arrows from a stand and shoots them in succession at a target. Cute, until you think this was first "robot" intended to perform a killing action. It was built by Hisashige Tanaka (born September 18, 1799).

ASIMO is a direct cute descendant of this Japanese fascination, perhaps sparked by Japanese Shinto religious beliefs in Kami, which claims divinity is in humans, animals and things-robots included, which has given them an unadulterated willingness to explore robotics, without fear.



The USA has taken a slightly darker military tone with Darpa's / Boston Dynamics Altas robot. Note, this article is not intended to be a full history of robots, for that see http://en.wikipedia.org/wiki/Robot


Even though, AI is in the nascent stage, it is freaking eerie when you read about humanoid robot that teaches itself how to accurately hit a target with a bow and arrow, again the historically implied connotation is that target was something alive.  http://www.wired.com/2010/09/robot-teaches-itself-to-fire-a-bow-and-arrow/.



AI Prediction


Prophetically, I claim, combining current AI algorithms with self-improving evolutionary algorithms, which I wrote about here (http://metadataconsulting.blogspot.ca/2011/09/evolutionary-equations-apply-biological.html) and you have a pretty powerful force - automated AI evolution. The precursor to AI self-awareness and it's bit by bit bounding towards it! But unlike us limited humans, robots may have more than 1 consciousness and have many or even thousands. An all knowing god. I will call it G/AI - pronounced "Gaia" (move over:), or AI/G pronounced "egg" or whatever you prefer, but you heard it here first. A "living" god that could out-do all established religions (for me that is a relief), for it can argue. LOL 

But does that mean AI would want to kills us? In pure logic, life is a zero sum game, humans "
are opposite terms in an equation, the net result is exactly zero. Nothing." Demon Seed (1977) Movie

So when Bill Gates that it will be "decades" before super-intelligent machines pose a threat to humans, it'll just come earlier, with some bugs, which consist of mainly misfiring on live targets.


But when Steven Hawking, the smartest mans in the world, warns the world,  take his advice.

"The development of full artificial intelligence (AI) could spell the end of the human race," Hawking told the BBC. 


http://www.livescience.com/48972-stephen-hawking-artificial-intelligence-threat.html


Stephen Hawking: "Humans, who are limited by slow biological evolution, couldn't compete and would be superseded". http://www.bbc.com/news/technology-30290540

Since I have worked with AI in my undergraduate, I will post this warning to mankind:



D/AI is coming, G/AI will be born


Music an early warning "Wolves Alert of the Robot Uprising" sound track snippets from Demon Seed at end


A tip of the hat  & happy  saint patty's day to yeah ! Hope you liked my fist op-ed and last on this blog.