Sunday, September 27, 2015

Ubuntu 15.04 mouse problems


So, I recently install a VM using VirtualBox.  Everything seems to be working fine until I tried to navigate over the activities pane.  To my surprise, I encountered a problem where my mouse pointer disappeared.  After trying to google a solution, I tried various suggestions with regards to restarted the gdm or reinstalling packages, I had no luck.  Until I can into the following website. http://askubuntu.com/questions/126491/how-do-i-change-the-cursor-and-its-size

Here I happen to put two and two together.  So, for my case, my mouse pointer was black, and when I navigate over to the activities pane, the mouse pointer would just magically disappear.  Strange as is was, I figured, why not just change the color of my mouse pointer to something other than black.

So here is what I did.  Hit the CTRL+ALT+T keys to open the command shell.  Next, type in the following: sudo update-alternatives --config x-cursor-theme
Now, select something other than black. I chose #17, which in my case is crystal white.
Changing the value here requires a reboot - a logout and login will not suffice.  For me it worked right away.
Secondly, using dconf-editor (install using sudo apt-get install dconf-tools)
navigate to org.gnome.desktop.interface change the cursor size to 24 and cursor theme to crystalwhite

I hope this helps.

Cheers to fossfreedom who helped me figure this out.
http://askubuntu.com/questions/126491/how-do-i-change-the-cursor-and-its-size

Wednesday, September 23, 2015

Difference between Unmanaged Code and Managed Code



Managed code is what Visual Basic .NET and C# compilers create. It runs on the CLR (Common Language Runtime), which, among other things, offers services like garbage collection, run-time type checking, and reference checking. So, think of it as, "My code is managed by the CLR.

Visual Basic and C# can only produce managed code, so if you're writing an application in one of those languages you are writing an application managed by the CLR. If you are writing an application in Visual C++ .NET you can produce managed code if you like, but it's optional.



Unmanaged code compiles straight to machine code. So, by that definition all code compiled by traditional C/C++ compilers is 'unmanaged code'. Also, since it compiles to machine code and not an intermediate language it is non-portable.
No free memory management or anything else the CLR provides
Since you cannot create unmanaged code with Visual Basic or C#, in Visual Studio all unmanaged code is written in C/C++.
References:
http://en.wikipedia.org/wiki/Managed_code
http://blog.shienandy.com/search/label/LabVIEW

Thursday, September 17, 2015

Visual Studio project "Load Failed"

Just recently I started to encounter this annoying problem in Visual Studio 2013.
I received the "solution loading..." message and (load failed) on the majority of my projects in my solution.

So after searching through the net and seeing what other have done to fix this problem, I did not have much luck.  Fortunately I found one point of information located here: NUGET Causing Problem on stack overflow.  Before uninstalling NUGET, I decided to first open NUGET package manager and clear package cache. You can do this by performing the following:  Tools>NUGET Package Manager>Package Manager Settings.  Here you will press 'Clear package Cache'.




OR

If your using clearcase, then change your mapped drive from (the pooled M:) to a specific drive such X, Y, or Z.  And alse set your Current source control plug-in to None.