HAXM install error; unknown error; Xamarin Phoneword app

So my first round of playing with Android development using Eclipse was OK, but not stellar. I thought I’d try Xamarin Studio (free for small apps/personal use). But after running through the how-to I got to the point where I was to deploy it to an emulator, and here is where the multi-hour nightmare began. So I hope this saves you some steps.

  1. There is a fix out on the Intel site which may help.
  2. Make sure you have VT-x turned on in you Bios.
  3. You can always just install an ARM System Imager from the Android SDK manager in Xamarin. It is only the x86 stuff that got us going down this road anyway (it’s faster than the ARM emulator.
  4. BEST ANSWER – install the Genymotion Android Emulator. It launches quickly and runs fast.

Why the migration from Oracle application servers will continue

Oracle licensing policies screw you if you are using VMWare. You need to license the whole server host and not just what is partitioned for use by the application server VM.

From Oracle Partitioning policy, http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf

Found on this page: http://www.oracle.com/us/corporate/pricing/specialty-topics/index.html

Soft Partitioning:

Soft partitioning segments the operating system using OS resource managers. The operating system limits the number of CPUs where an Oracle database is running by creating areas where CPU resources are allocated to applications within the same operating system. This is a flexible way of managing data processing resources since the CPU capacity can be changed fairly easily, as additional resource is needed. Examples of such partitioning type include: Solaris 9 Resource containers, AIX Workload Manager, HP Process Resource Manager, Affinity Management, Oracle VM, and VMware.Soft partitioning is not permitted as a means to determine or limit the number of software licenses required for any given server.

It does say that if you are using Solaris Zones that is Hard partitioning and that is ok. Also if you are using Oracles own VM Server, that is also Hard Partitioning and that is ok.

Bitlocker Bad DNS packet

Perhaps you are trying to encrypt your laptop and you are not connected to the corporate domain controller – perhaps you need to VPN in.

Google Maps keeps displaying in Spanish

In Chrome I use Google Maps as a search provider.  That way I can just type maps for the URL address, hit a couple of tab keys, and enter the maps address and have the page rendered with my map.  Now periodically maps were displaying in Spanish with a "click here to translate to English” option.  Huh?  My language settings on the browser and within Google settings all were English.  Turns out I had set my Chrome search provider string to include a language query parm=es.  Why would I do that?  Evil twin perhaps.

Google Chromecast cast tab from Chrome browser sucks

Ok so I know it’s in beta.  And I should have known when I watched the Nexus 7 and Chromecast press event and the demo showed the browser casting a slide show.  But, when I bought one of these little $35 beauties and tried casting a soccer game from ESPN it was pathetic with a 2 FPS rate.  Netflix and YouTube are awesome.  We’ll see what we get out of beta.

Azure VM - Endpoint Not found: There was no endpoint listening

The only solution was to delete the VM and recreate.  There are ways to clone the VM from the VHD that was used, but the original VM must be deleted. 

Strangely enough I had a running VM, then added an SSL cert to a separate Cloud Service via the portal, and that seemed to doom my VM.  It went into a stopped state, and when trying to start it received the error above.

PluralSight MVC course error - No parameterless constructor defined

The ASP.NET apps I develop/support at work have all been WebForms. So while taking a lovely course by Scott Allen on PluralSight, I decided to skip the IOC crap in my lab. Wrong!  In order for the EF DBContext (interface) to be passed into the constructor for my controller, I need magic to occur. StructureMap provides this be giving my app a DBContext object each time the IDepartmentDataSource interface is asked for. See the following controller constructor:

  1. public DepartmentController(IDepartmentDataSource db)
  2. {
  3.     _db = db;
  4. }

What I don’t need is a default parameterless constructor. I could just create a new DBContext myself, but it seems Scott, and others, support this pattern in MVC. I’m not a big fan of magic because it becomes a maintenance nightmare, but alas…

VS2012 Error 1 The build stopped unexpectedly because of an internal failure.

Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded.

Sometimes my leg falls asleep, and sometimes you just need to restart VS2012.

HP Slate 7 – the $160 Android Jellybean Device

This is a great play by HP.  It’s not a knock-off Android O/S, it’s Jellybean with all the goodness of Google Now, Gmail, Drive, Maps, etc.  These other el cheapo devices out there are giving Android a bad name.  Plus, many techies want to root the device as soon as they buy it, which is cool, but I love that this is now a straight consumer play, with devices that work fantastic straight out of the box. 

The HP Slate will add a micro SD slot and a rear facing 3mp camera.  Add that to the 1.6GHz dual core processor, and Beats audio and it should rock.  The pixel density is less than the Google Nexus 7, so hold both in your hands before you make the purchase.

Love the Google Nexus 7

Here’s just a couple reasons why:

  1. My eyes are getting old.  Double tap on a web page and zoom to that DIV.  Awesome!  Fonts adjustable in reader and on Chrome browser too.
  2. Launch Navigate from home while on wifi, and take with you on the road.  The GPS will get you there with voice navigation and maps (downloaded while on wifi at home).  WOW!
  3. Google Now is just cool.