Saturday, July 12, 2008

From no screencast host to ready to embed in a blog post in 7 simple steps with Silverlight Streaming

Guy Burstein on MSDN - How To: Host Your Screencasts on Silverlight Streaming

“Are you familiar with Silverlight Streaming? If you’re not here is a good reason to start using it. Generally, Silverlight Streaming lets you host Silverlight applications on Microsoft servers for free. With some of the latest updates to this service, you can now upload and host your videos. If you are recording screeencasts as I do, this post can be very useful for you. In this post I will show how to create a new Silverlight Streaming Account, upload a new video and embed it into an HTML page.

You can check out the blog post I have posted with the embedded video.

…”

Nice… 10GB of free Silverlight, and thereby screencast, hosting. Plus if you want to start playing with Silverlight, but have no place to host it (because say your blog host limits what you can upload) then Silverlight Streaming is the place for you too.

Don’t let the “Streaming” title throw you. This free service is meant to host your Silverlight applications as well as streamed media…

SQL Load Test – Generate Visual Studio unit/load tests from a SQL Server SQL Trace

CodeProject - SQL Load Test

“Project Description

This tool takes a SQL Profiler trace file and generates a unit test that replays the same sequence of database calls found in the trace file. The unit test is designed to be used in a Visual Studio Load Test. The code generated is easily modifiable so that data variation can be introduced for the purpose of doing performance testing.

The tool generates code for both Visual Studio 2005 and Visual Studio 2008. The source code is a Visual Studio 2005 project.

The tool is still in pre-release stage of development.

… You start with using the client application to generate a trace of the SQL statements which typically represent a usage scenario. You can then turn the trace into equivalent ADO.NET code program that can be used in a load test.

Tool Description

The tool generates a Visual Studio 2005/2008 Unit Test from a SQL Server Profiler trace. It extracts all the SQL statements and stored procedure calls from the trace and turns them into a single Visual Studio Unit Test, which can then be configured as a Visual Studio Load Test. The tool does not interact with the database itself when it analyzes the trace and generates the test code. It can therefore be used in “offline” scenarios.

…”

Interesting… My team was just chatting about about unit testing databases and I was also starting to think about load testing the database.

BTW, source is included in the released…

(via Willy-Peter Schaub's Cave of Chamomile Simplicity - SQL Load Test Tool ... the VSTS rangers release another great codeplex project!)

Want a networkable OS in a 10MB Download… All you need is Windows For Workgroups 3.11 :p

Because I’m a freak-geek, I wanted to make sure I had a copy of Windows 3.11 and Windows for Workgroups 3.11 on my network somewhere.

Why? Heck, I don’t know… “because.” Because maybe one day I’ll want to create a VM on a flash drive for them just so I can amaze family and friends when I boot it up (See, I AM the life of the party…! LOL)

So this morning I went to MSDN Subscribers Downloads and grabbed a copy.

I had a good laugh at the download size. 10Mb for WFW3.11. Remember when that was “huge” and took up a good portion of our hard drives? lol

Since we’re on the wayback machine, this reminds me of my first “production business” application which was deployed on Windows 3.0/3.1 and built with Borland’s ObjectVision (this was before VB1 came out ;). It was a call tracking application to help our company track/log incoming tech support calls, arrogate the results (via sneaker-net and floppies, we later upgraded to lan-tastic) and “management” reporting. It was slow (which our RAM upgrade from 4MB to 8MB helped ;) but was at least as fast as the paper process it replaced and provided data that was impossible to gather previously.

“I remember when I was just getting started programing, we had to use chisels to chip the 1’s and 0’s out of stone…” :p

image

image

image

Friday, July 11, 2008

IndyMac’ers – How can I help?

I know some old friends from IndyMac sometime read my blog... If you need some help, references, support, shoulder to cry on, etc, please feel free to contact me… Email me, or call me at home (I’m still in the same place as when I worked there…plus I’m in the book).

For the rest of you reading this who haven’t heard, this link pretty much says it all. In short, IndyMac has “failed” and been taken over by the FDIC. This is the second largest bank failure in US history…

Say what you will about the management, regulators, government, etc, I don’t care. I care about the people I know there, people who worked there for years and how are now in a very ugly world of uncertainty and doubt.

I lived through Andersen’s collapse (which is a long story, having been closer to that issue, not directly but via a tangent, than I ever really want to think about… ) and it’s pretty damn scary place to be.

Again, please my friends, contact me and let me know if I can help…

16 years… My honey and I have been married for 16 years today. Wow…

Today is our 16th wedding anniversary. Yeah, wow…

16 years seems like a long time, and yet it seems like it was just yesterday that got married. It’s been an interesting time, where we have both grown and changed, where our daughter has gone from a lanky 9 year old to a Dr. of Physical Therapy and our son from a dream to high schooler. Jobs have changed, friends have come and gone, we’ve faced a number of challenges and the creep of time is never ending. Yet, today our marriage is a strong as it was on that very special day 16 years ago.

I don’t know where I would have been if I never meet her, but I do know I would not be where I am today without her. The fact she’s put up with me for all this time says a great deal about her, don’t you think?  ;)

I love you honey. Happy anniversary

Thursday, July 10, 2008

Security.Cryptography.dll & Security.Cryptography.Debug.dll from the CLR Security Team (with full source)

CodePlex - CLR Security

"Introduction

Welcome to the CLR security team's Codeplex site. On this site you'll find a set of projects that extend the security APIs shipped with the .NET framework to provide additional functionality. We also have some tools to help in debugging security related problems in your code.

Project Description: Security.Cryptography.dll
Security.Cryptography.dll provides a new set of algorithm implementations to augment the built in .NET framework supported algorithms. It also provides some APIs to extend the existing framework cryptography APIs. Within this project you will find:

  • A CNG implementation of the AES, RSA, and TripleDES encryption algorithms
  • A CNG implementation of a random number generator
  • A class that allows dynamically creating algorithms both from this library as well as all of the algorithms that ship with .NET 3.5
  • An enumerator over all of the installed CNG providers on the current machine
  • Extension methods that allow access to all of the keys installed in a CNG provider, as well as all of the algorithms the provider supports

...

Project Description: Security.Cryptography.Debug.dll
Have you ever run into an indecipherable cryptographic exception complaining about "Padding is invalid and cannot be removed" when using the .NET Framework's symmetric algorithms? Since nearly all bugs relating to symmetric algorithms tend to result in this same exception, it can be incredibly difficult to track down exactly what went wrong to cause the exception. Security.Cryptography.Debug.dll is a tool that can be used in these circumstances in order to help you figure out the root cause of your cryptographic exception.

..." [Description leached almost in full]

I think more important than the release of these projects and the fact that they were released with source, is the trend behind it.

Microsoft seems to be really "walking the walk." The Microsoft and the DevDiv have been talking allot about being transparent and releasing source where they could. But so far it seems a little patchy. The Scott Gu Secret Ninja Army has been one group that seems, from the outside at least, to be leading the way. But what's important to me is that more groups now seem to be following. For example, the Sandcastle who recently released their source, CLR Security Team releasing these projects and the debug/PDB .Net source reference. Plus the many other teams who also seem to be releasing their source...

This is a very cool trend that I hope continues... Hats off to the teams who have released their source and to those who are working to do the same. You officially rock!  :)

 

(via .NET Security Blog - CLR Security Team CodePlex Site)

Fixed Feeds, Dynamic Feeds and Tagging, oh my… The Visual Studio Gallery gets even more features.

Anthony @ MS - The Visual Studio Gallery gets a fresh set of features

“Today we released a significant update to the Visual Studio Gallery (visualstudiogallery.com) adding some much needed community features. The latest set of features will help visitors keep up to date on the latest additions to the Visual Studio Gallery and add rich details information about their extension & products.

With the latest update to the site we’ve now added:

  • Tons of fixed RSS feeds for everything from the recently added & highest rated extensions to feeds for each of the available categories to see the latest updates in specific types of extensions.
  • Tagging support allowing authors to tag extensions and better describe their products to users.
  • Dynamic RSS Feeds for each Tag so that any users can subscribe & keep up with new additions.
  • Dev Center owners can tag common entries and then suck in the feed on your MSDN page to highlight specific extensions.
    • Ken Levy has this working already on the VSX Dev Center (msdn.com/vsx) landing & community pages.
  • Authors can now add details about their extensions using either the WSIWYG or new HTML editor.
  • Support for larger thumbnails lets contributors upload images up to 640 x 480.
  • Visitors can now click to zoom larger thumbnails to see the full size version.

…” [Post leach level: 80%]

The team behind the Visual Studio Gallery is on a roll with a second cool update in so many months.

The biggies for me are the new fixed and dynamic feeds (“No, you don’t say Greg! We would have never guessed!” ;) Subscribed.

Thanks for the heads up Anthony!

 

Related Past Post XRef:
Visual Studio Gallery gets some Social love… (which is only legal in a few states…)
Visual Studio Gallery - Free/Trial/Pay Stuff for Visual Studio

Link to LINQPad – A Dimecast LINQPad Walkthrough

Dime Casts. Net - # 22 - Introduction to LinqPad

“In this episode we will learn how to use the LinqPad expression evaluator.

LINQPad is more than just a LINQ query tool: it is a code snippet IDE. Instantly execute any C# 3 or VB 9 expression or statement block!” [Description leached in full]

A cool 8 minute cast that walks you through getting started with LINQPad.

If you’ve been wondering what LINQPad is all about then you have to watch this dimecast.

 

 

Related Past Post XRef:
DimeCasts.Net - Everyday coding issues covered in 10 minutes or less
LINQPad - A Free Interactive LINQ to SQL (and others) Utility (Think "SQL Analyzer for LINQ")

AnkhSVN 2.0 – Free and includes Visual Studio Integration

damieng - AnkhSVN 2.0 - free Subversion integration with Visual Studio

“The guys over on the AnkhSVN team have acquired new members and burnt the midnight oil to deliver a great 2.0 release with:

  • Subversion 1.5 merge & tracking support
  • Wizards to help step through tasks like merging
  • Now s a source code control package (SCC) for smoother, faster integration
  • Pending changes window providing change summary
  • Easier to get up and running with the source
  • Property editor
  • Automatic update check

Despite all these great features it's absolutely free and still works with older versions of Subversion and both Visual Studio 2005 and 2008.

…” [Post leach level: 90%]

While I’m a Team Explorer/TFS guy (even for my personal project since it works so well with CodePlex) I know there are a ton of SVN users so thought I’d highlight this. If I were to, or when I do, use SVN, to keep sane I’d want VS integration, which is why caught my eye.

If I didn’t have access to TFS, SVN would be the first version control system I’d give a go and with that AnkhSVN seems like a no-brainer.

The .Net Reference Card Roundup

Alvin Ashcraft’s Morning Dew - .NET Developers’ Reference Card Roundup

“I thought I would share this list of reference cards / cheat sheets that I have compiled over the last year or so. If I am missing any good ones, please post them in the comments.

image"

Alvin provides a cool list of .Net and related reference cards and like resources. This is going to the top of my favorite list. :)

Make sure you also check out the comments as there’s a bunch there too.

The Long Path for the BCL Team

BCL Team Blog - Long Paths in .NET, Part 3 of 3 Redux [Kim Hamilton]

“My original part 3 blog caused confusion, mostly because it didn’t tie together loose ends and explain that an immediate .NET “solution” is at best partial. To minimize confusion and answer questions in the comments, I decided to do a complete overhaul and link to the original (here).

Win32 file-naming conventions include the MAX_PATH (260 character) restriction. A subset of Win32 APIs allow you to work around the MAX_PATH restriction by adding the \\?\ prefix.

Proposed “Solution” (Best attempt for now)

We won’t be able to provide seamless long path support throughout .NET until something is done on the Win32 side to broaden support of long paths throughout their APIs.

As a mitigation to at least provide parity with Win32, we propose to allow use of the \\?\ prefix (described in #2 above) to avoid the MAX_PATH limitation. The caller must explicitly use this prefix, at best aided with a helper API as follows:

…”

I feel for the BCL team. They are caught between a rock and a hard place. Caught between us, developers, and the underlying OS. And for something as baked into Windows as MAX_PATH, there’s not all that much they can really do. But the good news is that they ARE at least doing what they can. They acknowledge the issue and are actively doing what they can to help. You go BCL team!

That said, now it’s time that the OS, Win32 (Win64?) API, and UI move into the future and give us the “hard right” solution.

Long paths, paths > MAX_PATH, are one of the bains of my existence at work. It’s a long story that I’ve mentioned many times before, but let’s just say I feel MAX_PATH needs to go. That the OS, utilities, UI, etc need to support Unicode path lengths. That “//?"/” helps, but without Explorer, command line support (without going to the Posix, Windows Services for Unix, utilities), etc support anything we do is only half the solution. The fact that I’m considering writing my own “Windows Explorer” (or “File Manager” ;) just so I can give my users a file management UI that supports long paths is… well… insane.

With the explosion of HD space, MAX_PATH has to go. When my wife and son, as normal users, are banging their heads against it, it’s a sign.

Yes, I know, that’s SO much easier said than done. I can’t even imagine the impact, work and testing required to resolve this, nor the massive impact on third parties, but still it’s time for the hard right answer over the easy wrong one. Want a “big bang” “huge increase” side of the box figure for Windows 7? How about “You can now create paths 32,000 characters long! That’s an 800% increase!” (assuming my math is correct ;)

(Of course even though my solution’s support “long paths”, some cap out at 2048 characters… So maybe I should shut up and be careful what I ask for! LOL ;)

(via Alvin Ashcraft’s Morning Dew - Dew Drop - July 8, 2008)

Wednesday, July 09, 2008

Task Board for Scrum for Team System (SfTS) Beta Released

Scrum for Team System – Announcements - Task Board for Team System (SfTS Edition) Beta Download available

“The Beta 1 Version of the Task Board for Team system is now available for download. In order to download the task board, you will need to register your forum account name at the following location:
http://scrumforteamsystem.com/en/TaskBoardBeta/BetaRegistration.aspx

Once registered, you will be granted access to the private Beta Testers forum, where the task board can be downloaded. The beta download is free, all we ask is that you take the time to post your feedback in the forum.

..”

Downloaded and now I just need to find a bit of time to play with it…

Okay, I lied. I just installed it and it went smooth. RTFM’ing (all 8 pages ;) now.

BTW, this beta expires August 15th, 2008.

Starting it up… Configuring… and I’m in. Looks pretty darn cool too!

 

For a video of it check out, Scrum for Team System (SfTS) WPF based Sprint Task Board utility coming soon…

 

Related Past Post XRef:
Scrum for Team System (SfTS) WPF based Sprint Task Board utility coming soon…
Want some help getting started with Scrum for Team System 2? Well here you go…
Scrum for Team System (SfTS) Work Item Migration Utility Released (SfTS 1.x/2.x to SfTS 2.1)
Scrum for Team System v2.1 Released
Scrum for Team System V2 (TFS 2008) RTM
Scrum 1.1 for Team System/TFS Released
Free Scrum Process Template for TFS

SideShow for Media Center – SideShow Gadgets (Beta) that interact with Media Center

Windows SideShow Team Blog - Windows Media Center Gadgets for Windows SideShow Beta!

“We’re excited to announce the Beta release of the Media Center Gadgets for Windows SideShow! Click the following link to join our open Microsoft Connect program for the Media Center Gadget Beta:
http://connect.microsoft.com/InvitationUse.aspx?ProgramID=2380&SiteID=312&InvitationID=GPB-79MM-RFJ2 (This link can be used only once. Login to Microsoft Connect after joining to access this program.)

You can use these gadgets from any SideShow device. If you have a Windows Mobile device, you can download and install our developer preview.

4 gadgets are included with this beta that allow you to:

  • Browse the TV Guide and schedule recordings. Browse Recorded TV by thumbnail.
  • Browse your music library and control music playback.
  • Browse Picture and Video libraries.
  • View "now playing" information and control Media Center with playback controls

…”

What was I just saying about cool SideShow stuff coming? ;)

So since this works with any SideShow device, and there’s SideShow for Windows Mobile, and if it was WiFi, then you could view this stuff from anywhere in the house (or am I having a brain cramp)?

Hum…need to find some time to play with this (and maybe, finally, get a new cell? I don’t see why, my Motorola peanut is only 6-7+ years old… :p  )

 

Related Past Post XRef:
Windows Vista + SideShow + Windows Mobile = PowerPoint Remote Controller
Windows SideShow Managed API and Runtime Released - A Managed SideShow...[Insert joke here]
Universal Driver for Windows SideShow Updated to v1.5 - Transports now include USB, Bluetooth and TCP/IP...

The Kitt-In Box – Finally a place for your cat on your desk…

The Refined FelineKitt-In Box

“…

kitinboxcatperch1

We love our cats... and they seem to love walking across our keyboards! You can't blame them, they just want to be near us. With the Kitt-In Box, cats have a place to rest that's out of the way, but still an arm length's away from a scratch on the belly.

Makes a GREAT GIFT!

Features:
- Can attach to side of desk
- Felt pads protect desktop
- Supports 20lbs cats
- Perfect size for even LARGE cats to curl up
- Solid pine frame with soft washable cushion

Price: $49.99

…”

That is just cool. My cats are going to love me (and I can stop re-org’ing my desk just so they have some place to lay down ;)

Now let’s see, we have four cats, three of which enjoy supervising me as I work. I could put one there, and another…

(via Michiko's Blog - If your cat loves to be around your computer...)

Newton Physics for WPF – Because everyone needs to write a cool Moon Lander game, at one time or another, don’t they? :)

CodeProject - Newton Game Dynamics Extensions for the WPF - The Moon Lander Game

“…

Moon Lander Game (This is the part this article will focus on.)

Sweet little game demonstrating some interesting parts of the framework. The game uses fixed breakable joints for the Lander's legs. Merges 3D (for the Lander craft) and 2D (for the Ground) together to create a strange retro feel. The Lander model has been built using Blender and the Xaml editor so the xaml is quite large to work off as an initial example.

Simple Boxes Test

This is the simplest of example applications demonstrating just how easy it is to add newton to your WPF project.

Blender

The 3D application Blender was used as the object modeler. This project includes the Blender to XAML Exporter specially modified to make it easier to structure a model to modify (via the Xml Editor) to include the newton fixtures

The Xaml Editor

3D designer allowing you to manipulate a 3D WPF model with 3D gizmos. Takes a source file (usually the output from your 3D packaged converted to XAML) and allows you to tweak it (usually adding the Newton extensions xaml) and play with the model in real time. You can then save out the result to be used in an application keeping the original source and changes separate allowing you to be back to your 3D package, make changes and re-tweak the model back into your WPF application.

Planned Articles

Part1 - The basic concepts and the Moon Lander Game explained.
*Part2 - Modeling with Blender and using the Xml Editor to tweak the model and setup for collisions.
*Part3 - More advanced Physics examples, plus the Crane project explained. (Make a crane with ONLY Xaml. No Coding!)
* - not written yet.

Introduction

moonlander

…”

Okay, I just thought that was cool. I so want to add Newton Physics to my WPF app. (Oh wait, I need to learn how to WPF first.. ;)

I remember writing a Moon Lander game in high school on a TRS80 Model III. Wow, times have changed…