Skip to main content

Posts

npm nuget or other repository problems

I was experiencing an issue where my nuget packages would not restore the dlls. I would get Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) as the error but it would say all nuget packages are already installed. I followed the sage advice of deleting everything in c:\users\\.nuget\packages as well as the packages folder in solution and force a restore. http://stackoverflow.com/questions/34543267/nuget-does-not-unpack-assemblies-from-package I believe this could be applied to all package repositories in case this type of problems are faced. By the way, check out Artifactory if your environment is hostile to public yum, apt-get, npm, nuget or any other repositories.
Recent posts

Windows 7 Do NOT Remember folder settings

There used to be an option in prior windows version where under Folder Options, you would "NOT remember" the view settings. This way, the browsing would be uniform, unless you wanted to change it. I found a way to do it in Win 7.
Go to Folder Options\View and click Apply to Folders. This will apply the view in the current window to all folder views.

The feature you are trying to use is on a network resource that is unavailable

You see this:
The feature you are trying to use is on a network resource that is unavailable. This is happening because the cached installer is missing (in my case due to running a scan on folder sizes, seeing this particular windows folder with all the uninstallers (the cache) and removing them.)


Use this:
http://support.microsoft.com/mats/Program_Install_and_Uninstall
Uninstall the program that is causing trouble using the tool and voila.

Big Data & Hadoop

Since everything moves fast in the IT world, you have new terminologies entering their 3rd or 4th generation by the time you get a chance to get your hands dirty with them. Big Data has been one of them, an alluring technology allowing massive distributed power over large datasets using the famous map-reduce algorithm. Apache Hadoop allows scaling to massive proportions and has been in use with tech giants like Google and Facebook.

I decided to start running a Hadoop cluster myself using the following guide as a started.

https://github.com/GoogleCloudPlatform/solutions-google-compute-engine-cluster-for-hadoop/blob/master/README.md

This version installs Hadoop locally but uses the Google App Engine and Google Cloud Storage and allows basic scaling/clustering. I started running the pre-requisites on a VM Centos 6.4 and things were going ok. Then I realized that I needed to go deeper into Hadoop and maybe run a sample locally, without achieving the Cloud version first.  Then I went to the …

Dreaded Code 10 and 39 messages in Device Manager

You might have seen the dreaded error codes of 10 ("This device cannot start. (Code 10)") and 39 ("Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)") messages. The solution is elaborated really nicely here: http://hateadub.wordpress.com/2011/04/20/code-10-device-manager-keyboard-and-mouse-not-working/

In my case, the issue was with the mouse and the keyboard which made it extra infuriating since I needed to use the On-Screen Keyboard and Mouse Keys (true nightmare). In particular, the issue was with the "upper filters" in the bowels of the registry where you just needed to keep 1 value (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318} mouclass and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318} kbdclass)

Once I retire, I will get back and take a look at windows documentation, in particular, how the devi…