Tuesday, April 26, 2016

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.

Thursday, December 12, 2013


Found a wonderful site, chesscorner.com, after seeing previews about an upcoming game etc...


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.)
Network resource dialog

Use this:
Uninstall the program that is causing trouble using the tool and voila.

Wednesday, October 02, 2013

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.


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 following:


It had simple enough steps to get it installed. Now I am reading Hadoop in Action by Alex Holmes.

Friday, July 12, 2013

2013 IT Skills & Salary Report

The annual 2013 IT Skills and Salary Report is out from Global Knowledge. There are some encouraging signs in the report yet improvement is not as robust as I would like.

Thursday, July 11, 2013

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 devices are represented in the registry. That is quite a dark world. Waste of an hour, but the joy you get when things are working again is priceless.

Tuesday, July 02, 2013

Bye Google Reader

So sad!! Google Reader is officially closed. Really angry at Google for that.

Best Alternative I found so far is Feedly (btw I discovered the alternative finding site http://alternativeto.net)

Friday, April 19, 2013

Best MVC 4 Tutorials

PluralSight is pretty amazing, if you are interested in MVC 4, make sure to go through the tutorials at the following:  http://www.asp.net/mvc (on the right)

Saturday, March 30, 2013

Ebay Craze!!!

Spring is here and it is time for spring cleaning - sell everything you do not need on ebay, craigslist and if not sold; dump it!! Believe me you will never reach out for your 5 year old motherboard or your 3rd power supply.


Friday, March 29, 2013

VS 2012 on Windows 7

Microsoft is great in many things but the application/version handling is mediocre. I got really frustrated with the Visual Studio 2012 crashes everytime I opened a project:

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: devenv.exe
  Problem Signature 02: 11.0.50727.1
  Problem Signature 03: 5011ecaa
  Problem Signature 04: Microsoft.VisualStudio.Progression.LanguageService.CSharp
  Problem Signature 05: 11.0.50727.1
  Problem Signature 06: 5011cc19
  Problem Signature 07: 131
  Problem Signature 08: 43
  Problem Signature 09: System.MissingFieldException
  OS Version: 6.1.7601.
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:

I read that this might be about different fields in assemblies that are not installed in proper order and was advised to install Visual Studio 2012 SP1 at the following location:



It worked!! Things seem to be working normal now. Also, switch to the "Dark Theme" looks really cool!

Friday, March 15, 2013


The purpose is to create a disk to keep contents shared across the VMs

Following the instructions at http://www.vmware.com/support/ws45/doc/ws40_disks.html#1046465

Find your VM installation and run the following
C:\Program Files\VMware\VMware Workstation>
vmware-vdiskmanager.exe  -s 10GB -a ide -t 1 -c "D:\Virtual Machines\vmDisk.vmdk"

(s: size, a: interface, t: type (0-3 for increase and size options), c:create)

Creating disk 'D:\Virtual Machines\vmDisk.vmdk'  
Virtual disk creation successful.
How to browse a Vmdk?

Tried to add this newly created disk when the vm server was on by going to settings/add/hard drive/existing virtual.
Got error: failed to add disk ide0:1

I shutdown the vm pc and add disk then try starting the machine.

Then went to disk mgt in windows where I got the "Initialize Disk" prompt
New Volume > Simple > Quick format and voila!!

Thursday, December 20, 2012

Good Practices 1

Decided to write about a few practices I try to follow to be more efficient in the "IT realm"

  1. Use RDP Manager or Netop or whatever your remoting solution is to build a "directory" for your servers and back it up. Establish a hierarchy like this \\\ (Eg: NA\PROD\ECOM\firmweb1)
  2. Use a good folder structure to keep your project files, start a folder for each project. Use sub-folders for details on a particular part of project when too many files accumulate. Keep this folder close to root (C:\) back it up often
  3. Use SyncToy or any cloud solution to automate your backup. You will always skip manual backup. Use a batch (if you need control) file and schedule it periodically and make it email you
  4. If you produce Excel reports from SQL dumps, create a tab called query and paste your long complex SQL query into it.
  5. Learn Windows, Excel, Gmail shortcuts!! 
  6. Maintain an "Installer" folder and break it down to OS, Development Tools, Databases, Application Servers etc... never download a 4GB file twice
  7. DRY - Do not Repeat Yourself: establish good documentation practices and keep your solutions organized. Use snippet functions in IDEs (back them up regularly). Spend time to build your library and never write a SQL updater from scratch again.

Wednesday, October 24, 2012

ASP NET Identity Store

Never again write any login password logic. Generate all necessary components in your database using the following:

cd c:\Windows\Microsoft.NET\Framework\v4.0.30319

c:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regsql.exe -A all -C "your_sql_connection_string"

Start adding the following features:

script takes care of all and you have a login engine .. take it to next level integrating it with Facebook, Twitter etc..

Friday, September 07, 2012

How to choose a Cloud Provider

The wonderful site, http://cloudharmony.com/speedtest/run allows you to run tests on latency, small and large file download speed. Depending on the nature of your application, the choice of a provider is crucial (of course price is another important factor).

In the tests, Large File Download category, Amazon S3 is the winner with an average of 15.33 Mb/s. This might be suitable for applications working with large files (pdfs, catalogs, repositories).

Windows Azure Service is the winner of the small file category with around 2.5 Mb/s. The difference between the large and small file is significant. This order of magnitude difference is probably due to the overhead of authentication, establishing a connection etc. Once the pipe is secure and ready, you are probably bound to the limitations of your IPO as well as the cloud service provider's SLA.

Latency might be a concern for high throughput applications - I would argue that self-hosting or keeping the applications close behind the scenes might be a better choice than putting a cloud between your data and application. If it is not avoidable, though, Amazon S3 seems to be offering the best (minimum) latency. This (and the file download times) is impacted by the Geographical designation of the applications and their clients. Clearly as the audience grows, one might want to implement load balancing facilities to route users to the closest cloud servers (S3 offers service in CA and VA for instance)

Great tool Cloud Harmony!!

Large File Download Tests

ServiceLocationTime (secs)# of SamplesTransferred (MB)Min Mb/sMax Mb/sStd DevMedian Mb/sAvg Mb/s
Simple Storage Service (S3)VA, US10.39419.9913.1817.7113.06%16.1315.33
Nirvanix SDNTest Failed
HP Cloud Object StorageAZ, US8.1242.491.773.1724.64%2.562.42
Windows Azure StorageTX, US10.1849.636.118.1712.71%8.067.5
Internap Cloud Storage6.445.353.8114.2966.31%6.067.23
Zetta Enterprise Cloud Storage7.8946.295.578.2619.6%5.916.39
Simple Storage Service (S3)CA, US8.9346.283.867.5627.44%7.396.22
Google Storage for Developers8.2411.046.7415.2737.68%12.410.56
Windows Azure StorageIL, US8.64412.589.5912.3610.65%11.6811.14

Small File Download Tests

ServiceLocationTime (secs)# of SamplesTransferred (MB)Min Mb/sMax Mb/sStd DevMedian Mb/sAvg Mb/s
HP Cloud Object StorageAZ, US5.9190.690.511.4741.31%0.850.97
Google Storage for Developers5.27110.740.812.7442.41%1.231.28
Internap Cloud Storage6.55100.60.431.0831.46%0.880.79
Simple Storage Service (S3)VA, US7.28130.690.672.7137.89%1.771.64
Windows Azure StorageIL, US3.38130.811.174.2344.77%2.612.52
Zetta Enterprise Cloud Storage4.62110.790.72.5341.96%1.451.62
Nirvanix SDNTest Failed
Simple Storage Service (S3)CA, US6.47100.570.291.3156.2%0.590.75
Windows Azure StorageTX, US4.91110.730.832.3637.67%1.151.39

Network Latency Tests

ServiceLocationTime (secs)# of SamplesMin msMax msStd DevMedian msAvg ms
HP Cloud Object StorageAZ, US0.65981000.85%9998.8
Simple Storage Service (S3)VA, US0.43741506.49%4444.86
Simple Storage Service (S3)CA, US0.751091213.86%117116
Windows Azure StorageIL, US0.46648577.64%5051.5
Nirvanix SDNTest Failed
Internap Cloud Storage0.7549118038.83%92113.75
Windows Azure StorageTX, US0.53570731.6%7171.4
Google Storage for Developers0.61652573.98%5454.33
Zetta Enterprise Cloud Storage0.48490910.55%9190.75