DecryptR Part 2

In a recent post, I discussed the DecryptR application I have been toying with.  DecryptR V2While the fundamentals are working, there is much to do.  Today I’ll make a few minor improvements.

First, let’s set the font in the list box to a fixed font, so that the columns align better.  To do so I’ll open the application in Expression Blend.  In the Objects and Timeline I’ll click my way down to Results– the list box and then in the Text properties window I’ll set the font family to Courier New (a fixed width font) and the font size to 24.

Continue reading →

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills | Tagged | 1 Comment

Yet Another Podcast #55–David Plat on Why Software Sucks

Talking with David Platt, author of Why Software Sucks about software design, both good and bad

 

Listen | Yet Another Podcast

Call in comments: 1-347-YAP-CAST

rssiTunesalt

Posted in Books, Essentials, Observations, Opinion, UI | Tagged | 4 Comments

DecryptR–A Glass House Application

 

Periodically, I like to build a “glass house” application – that is one Decrypter2which I document as I go, hiding nothing and showing all the thinking that goes into the application as well as the raw, not ready-for-production code along the way.

DecryptR

DecryptR is a game, but one which will illustrate a number of Mango features.  It will not be written in XNA, but rather will be written in Xaml and C#. 

The idea of the game is that the computer thinks of a code, using n of the first m letters of the alphabet (where n and m are configurable).  Thus, we might decide that it will use 6 of the first 8 letters (A-H).  The code does not duplicate letters, so a typical code might be ACBFED but of course the code is not displayed.  Your job is to break the code.  Each “turn” you put in 6 letters and Decrypter tells you how many you matched, and how many were in the right position. 

Continue reading →

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills | Tagged | 5 Comments

Context Menu

Windows Phone Tutorial

The Silverlight For Windows Phone Toolkit is a magnificent collection of controlsContextMenu and utilities for writing Windows Phone applications.  Unfortunately, there is little or no documentation, and the samples, while wonderful, are quite complex.  At times, it is difficult to tease out how to use a control; how to “just make it work.”

As I have done in previous mini-tutorials, this posting will show one of the toolkit controls stripped down to its bare essentials.  Creating a context menu, and responding to the user’s choice in the menu turns out to be wicked easy.

Continue reading →

Posted in Essentials, Mango, Mini-Tutorial, Patterns & Skills, Toolkit, WindowsPhone | Tagged | 1 Comment

Beautiful Page Transitions (Practically) Free

Windows Phone Tutorial

I don’t just mean you don’t pay for the code, or the control, I mean we’re talking about 2 minutes of effort.  No joke.

Step 1 is to download the November Windows Phone Toolkit and install it

Continue reading →

Posted in Animation, Essentials, Mango, Mini-Tutorial, Patterns & Skills, Toolkit, UI, WindowsPhone | Tagged | 5 Comments

Yet Another Podcast #54–Damian Edwards on ASP.NET

Talking with Damian Edwards and Jon Galloway about the evolution of Damian EdwardsASP.NET Web Forms, what’s coming in the new Preview and the three UI platforms built on top of ASP.NET Core.

Damian is the Program Manager responsible for ASP.NET Web Forms at Microsoft.

 

Listen | Yet Another Podcast

Call in comments: 1-347-YAP-CAST

rssiTunesalt

Posted in Essentials, MVC, Patterns & Skills, Podcast, Visual Studio | Tagged | 1 Comment

Test Driven Development–Testing Private Values

Jon Galloway and I are embarking on the next phase of our Full Stack projectMadScientist_iStock_000000257229XSmall and building a Pomodoro timer.  We are (at lest for now) doing this using Test Driven Development. 

This immediately raised an interesting issue, which I think I’ve found a solution for but would be eager to hear how others deal with this issue.

Continue reading →

Posted in Essentials, Patterns & Skills, TDD | Tagged , | 13 Comments

A Dozen Windows Phone Videos… And Counting

Video #12 was recently posted to The Mango Videos on Channel 9 – this a short video on Reminders in Windows Phone 7.1 (Mango).

Posted in Background Agents, Mango | Tagged | Comments Off on A Dozen Windows Phone Videos… And Counting

Yet Another Podcast #53–Scott Hanselman on Blogging

Talking with Scott Hanselman and Jon Galloway about creating great blogs Hanselman and how to avoid those things that make a blog “suck.” 

Scott’s a Principal Program Manager at Microsoft, and has one of the most popular technical blogs on the ‘net.  He is also the host of Hanselminutes and co-host of This Developer’s Life. 

Listen | Yet Another Podcast

Call in comments: 1-347-YAP-CAST

rssiTunesalt

Posted in Podcast | Tagged | 5 Comments

Spiking the Pomodoro Timer

I recently wrote about the beginning of phase 2 of the Full Stack project, in which we are PomodoroTimer building a Pomodoro timer (see also).  To get started, I decided to “spike” a quick and dirty version, if only to explore some of the technical challenges of the project. 

In the next couple postings I will walk through some of the spiked code, starting with an exploration of the timer. 

Continue reading →

Posted in Full Stack, Mango, Patterns & Skills | Comments Off on Spiking the Pomodoro Timer

Yet Another Podcast #52–Peter Torr on Windows Phone Multitasking

Peter Torr joins Jon Galloway and me to discuss multi-tasking, background agents, the backstack and other new features in Mango.

 

Listen | Yet Another Podcast

Call in comments: 1-347-YAP-CAST

rssiTunesalt

Posted in Background Agents, Essentials, Mango, Multitasking, WindowsPhone | Tagged | 3 Comments

Open the pod bay doors, Hal.

Suddenly I’m talking to a lot more inanimate objects.

I recently pulled a muscle in my shoulder, and  I’m not supposed to type Thus DragonDictate and I have become good friends. DragonDictate is almost magical, I speak in the words appear in front of me.

The problem of course, is that small recognition errors, such as the one in the previous sentence, are very hard to detect when editing your document. Computers do a good job finding spelling errors, but distinguishing when you mean in and when you mean and, appears to be beyond its ken. That’s fair enough because it’s almost beyond mine.

Continue reading →

Posted in Community, News, Observations, Opinion | 1 Comment