Author Archive

Auto-scaling in Azure with PowerShell Cmdlets

February 7th, 2010 / Development in a Blink

This post Auto-scaling in Azure shows a proof of concept for auto-scaling an Azure Solution and the different options that you have for implementing a similar solution.

At the end, the author provides a PowerShell example using the Windows Azure Service Management CmdLets

Add-PSSnapin AzureManagementToolsSnapIn            

Get-HostedService $serviceName -Certificate $cert -SubscriptionId $subId |
Get-Deployment -Slot Production |
Set-DeploymentConfiguration `
  {$_.RolesConfiguration[$roleName].InstancesCount+=1}
            

Gesture Cube

February 7th, 2010 / Development in a Blink

There clearly needs to be a successor to Java

February 7th, 2010 / Development in a Blink

Will Groovy++ spell the end of Scala?

As much as we all "try to be friends", the successor to Java (and there clearly needs to be one) "battle" continues

via blue train software

Groovy++ adds to Groovy static typing with very little in terms of trade off (meta programming)

  • Allowing mixing of static and dynamic code in the same application.
  • Same speed as Java – sometimes faster, sometimes slower depending on how the problem is expressed.
  • Groovy++ is really Java ++ and is thus a natural and easy path for the millions of Java programmers.

Videos: SQL Server Modeling aka Oslo

February 3rd, 2010 / Development in a Blink

Rockford Lhotka has a three part series here discussing the benefits and usage of the SQL Server Modeling technologies in the context of his CSLA .NET framework. It is a framework for building the business logic layer in your applications.

He demonstrates modeling, a DSL (domain specific language), code savings, reduced testing burden, and consistency of the user experience.

PowerShell New-PSCustomObject

January 24th, 2010 / Development in a Blink

Karl Prosser posts a PowerShell script quick and dirty new custom object as a way to create PowerShell objects on the fly. I’ve come across the need for this and posted an approach PowerShell Function Factory after reading up on Managing Records in Python.

Yet Another Approach To Building Custom Objects

This function peels off two items at a time placing them in $key and $value, $list gets the remainder (it has two fewer items now). Then key/value pair is added to the $Properties hash table. The while loop continues until $list is empty.

WCF WebHttp Services in .NET 4

January 24th, 2010 / Development in a Blink

Introducing WCF WebHttp Services in .NET 4

Have your used WCF 3.5 or the WCF REST Starter Kit to build non-SOAP services?

WCF WebHttp Services is the vehicle that brings these technologies forward to .NET 4.

New to WCF or have only used WCF for building SOAP-based services, this series of blog posts will bring you up to speed quickly.z

Are you smarter than a 9yr old Microsoft Certified Systems Engineer?

January 23rd, 2010 / Development in a Blink

ThoughtWorks technology strategy and trends in four major domains

January 21st, 2010 / Development in a Blink

Techniques, Tools, Languages, and Platforms.

What Are the Trends in Technology Today?

Solving ActionScript Puzzlers in PowerShell

January 20th, 2010 / Development in a Blink

Andy Bryant has some ActionScript Puzzlers over here. So, let’s try them in PowerShell.

So the question is what does the call to loopy() return?

The answer is BEE,BOP,BOP,BOO. The extra BOP is the same result as the ActionScript and the same reason:

Although it appears that caps is defined only within the for loop, it is actually defined at the scope of the function. Therefore for the second null in the array, caps was not overwritten, but instead retained its value from the previous iteration of the loop.

Roger Rabbit presents “Moleeds” at TED

January 18th, 2010 / Development in a Blink

Charles Fleischer delivers a hysterical send-up of a time-honored TED theme: the map. Geometry, numbers, charts and stamp art also factor in (somehow), as he weaves together a unique theory of everything called "Moleeds."

Visual Studio 2010 and .NET Framework 4 will launch on Monday, 12 April 2010

January 14th, 2010 / Development in a Blink

Interesting Silverlight 4.0 Out of Browser app

January 14th, 2010 / Development in a Blink

New open source project called MVC4WPF

January 10th, 2010 / Development in a Blink

It is a new framework and guidance package that helps you quickly build enterprise WPF applications. They have seen a dramatic improvement in productivity, ability to leverage entry level developers, and a massive reduction in development costs. The framework helps your developers follow the right path and do the right thing.

An Overview of MVC4WPF – Part 1 of 3

via Bill Sempf

PowerShell can change the way you work with SQL Server forever

January 10th, 2010 / Development in a Blink

O’Reilly Webcast: PowerShell for the SQL Server DBA

 

Useful for developers working with SQL Server too.

Godmode – In a Single line of PowerShell

January 5th, 2010 / Development in a Blink

It’s been making the rounds how to set this up as a folder.

This neat little admin feature for Windows 7 called ‘Godmode’ is definitely worth setting up and very easy to complete. Allowing you to see all system control panels in one place for easy access.

Lee Holmes, author of Windows Powershell Cookbook, tweeted this function. Put it in your profile for instant access.

Function Godmode { Start 'shell:::{ED7BA470-8E54-465E-825C-99712043E01C}' }

C# .NET 4.0 Tuple

January 1st, 2010 / Development in a Blink

More HERE.

image

image

10 PowerShell Posts I Did in 2009

January 1st, 2010 / Development in a Blink

I had fun doing these PowerShell posts.

image 

Try PowerShell – An Interactive Tutorial

Michael Foord inspired this with his Try Python Silverlight application

How to Host PowerShell in a WPF Application

A How To video

PowerShell Out-ExcelPivotTable – Quickly Create Pivot Tables in Microsoft Excel

Automating Excel Pivot tables with PowerShell

PowerShell, An Exercise in Species Barcoding

Inspired by Peter Norvig’s (Director of research at Google) python version

PowerShell – Find the K most common words in a file

Based on Jon Bentley’s approach in “Little Languages”

Programming Windows Azure

December 30th, 2009 / Development in a Blink

Available for pre-order. The author, Sriram Krishnan, has a blog. Plus he has posted Erlang and Python bindings for the Windows Azure storage API.

It’s not often that you get to spearhead the creation of a major new Microsoft API and it feels great to have seen this through from beginning to end

.NET System.Interactive and Monadic type systems

December 28th, 2009 / Development in a Blink

Bart De Smet is doing a series on LINQ with System.Interactive.

In his post, Sequences under construction, I liked that he gives a little LISP  history for cons, car and cdr (the latter two coming from IBM machine terminology). Plus he walks through the formulation for Kleisli triple, type construction, unit function and binding operation. Check out the link Bart gives on The Marvels of Monads by Wes Dyer, who has a major hand in creating System.Interactive.

Lot’s to learn and Bart does a great job in making it more approachable.

Add Ornaments to a Christmas Tree With PowerShell in WPK

December 26th, 2009 / Development in a Blink

James Brundage posted a quick Christmas tree written in WPK (the WPF PowerShell Kit). Check out his code.

this script has tons of Christmas goodies

image

Adding Ornaments

Using the WPF Ellipse and bitmap effect gives the following. I need to investigate how to get the resized behavior to work again.

image