From ‘A-ha’ to ‘Ka-Ching’ with Sound Of Data

This post will be posted here and on the site of Sound of Data as well (http://soundofdata.nl/en/nieuws)

As of february 25th I started as Senior Developer at Sound of Data. For those who do not know me I’ll shortly introduce myself.

I am 37 years old and I live in Goedereede-Havenhoofd. (That’s here). Writing code has always been a hobby and 14 years ago I managed to turn my hobby into work and I’ve been hobbying ever since.

After 7,5 years working for TellUs, leader in online (sales) lead generation, it was time for a change. I was lucky to be contacted by Sound of Data because of my affinity with CQRS and Event Sourcing.

Their entire platform has been built on this architectural design pattern and they could do with an extra senior developer. I soon learned that their implementation of CQRS & ES is okay, but not yet fully complete. I hope to be able to lend a hand in completing the implementation. Than we can enjoy all the benefits of this pattern.

This isn’t my first priority though. I saw that SOD has some issues where it comes to deployment, so I made it my mission to get some Application Lifecycle Management in place and take the first steps towards Continuous Delivery. The idea of this practice is to make the time between ‘A-ha’ (the idea) and ‘Ka-ching’ (the release to market) as small as possible by automating and standardizing releases. This will help us bringing our customers closer to their customers and bring us one step closer to world domination in that area.


Happy coding!

Quick install of tools using Chocolatey

I got my new laptop today… decided to spend an hour or so to get an easy install working. Using Chocolatey (http://chocolatey.org) that should be easy.

It is, but it is not straightforward. You can’t create a simple batchfile like this:

cinst notepadplusplus

cinst fiddler

The command window will exit after installing notepad++.  A quick search revealed what I should have realized up front. Chocolatey uses nuget and therefor we can use a local packages.config file to get and install all packages. So now my script looks like this:

::Ensure we have elevated permissions

@reg add HKLMSoftwareMicrosoftDevDivb3d680166a14e50a8c8e2ed060d8d90 /v Elevated /t REG_DWORD /d 1 /f > nul 2>&1

@if /i “%errorlevel%”==”1” echo Error: elevation required. &exit /b 740

@reg delete HKLMSoftwareMicrosoftDevDivb3d680166a14e50a8c8e2ed060d8d90 /va /f > nul 2>&1

::Install Chocolatey

@powershell -NoProfile -ExecutionPolicy unrestricted -Command “iex ((new-object net.webclient).DownloadString(‘http://chocolatey.org/install.ps1’))” && SET PATH=%PATH%;%systemdrive%chocolateybin

::Start installing packages

cinst packages.config

And here is the contents of my packages.config:

<?xml version=”1.0″ encoding=”utf-8″?>

<packages>

    <package id=”VirtualCloneDrive” />

     <package id=”notepadplusplus” />

    <package id=”FoxitReader” />

    <package id=”imgburn” />

    <package id=”7zip” />

    <package id=”ilspy” />

    <package id=”tortoisegit” />

    <package id=”tortoisesvn” />

    <package id=”tortoisehg” />

    <package id=”expresso” />

    <package id=”virtualbox” />

    <package id=”KeePass” />

    <package id=”Paint.NET” />

    <package id=”rabbitmq” />

    <package id=”steam” />

    <package id=”vlc” />

    <package id=”fiddler” />

    <package id=”baretail” />

    <package id=”linqpad4″ />

    <package id=”tweetdeck” />

    <package id=”teamviewer” />

    <package id=”Teamspeak3″ />

    <package id=”skype” />

    <package id=”SkyDrive” />

    <package id=”ransack” />

</packages>

So I’m quickly set up to do some happy coding!

DEP0700 : Registration of the app failed. Rejecting a request to register from because the files are on a network share.

I wanted to run my app an my VM, but got the above error…

A quick search on google lead me to this thread on DevCenter: http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/3fc1f3cf-2d8b-4dee-a348-40d0bf2c3c66/

The answer there is spot on!

I chose option 1, setting my debug option to Remote and setting by Debug option to localhost. Works like a charm! Thanks Gearard Boland for providing us with the answer!

Happy coding!

 

PS. Malavikas comment made me create this image:

Installing Win8 in VHD for use with Virtualbox using install.WIM

I found this wonderful solution for installing Windows 8 on a VHD for dual-boot using the imagex tool. You can read about it here: http://blogs.technet.com/b/haroldwong/archive/2012/08/18/how-to-create-windows-8-vhd-for-boot-to-vhd-using-simple-easy-to-follow-steps.aspx

Problem I experienced now was that I needed a VitualBox Windows 8 machine and there it did not work. I got the message ‘BOOT FAILURE’ after trying to start up that installation.

I ended up using WIM2VHD with the /HyperV switch to prep the VHD for Hyper-V. Then I created a new VirtualBox machine with the vhd. I removed the SATA controller entirely and added new IDE harddisk using the vhd.

And now I am running Windows 8 in VirtualBox!

 

Happy coding!