Friday, April 04, 2008

Unity 1.0, Microsoft's Dependency Injection, Inversion of Control (DI/IOC) Container, has RTW'ed

Microsoft Downloads - Unity Application Block (RegWare)

"...

The Unity Application Block (Unity) is a lightweight, extensible dependency injection container. It facilitates building loosely coupled applications and provides developers with the following advantages:

  • simplified object creation, especially for hierarchical object structures and dependencies.
  • abstraction of requirements; this allows developers to specify dependencies at run time or in configuration and simplify management of crosscutting concerns.
  • increased flexibility by deferring component configuration to the container.
  • service location capability; this allows clients to store or cache the container.

...

  • Microsoft .NET Framework 2.0, 3.0, or 3.5
  • Microsoft Visual Studio 2005 or Visual Studio 2008 development system (any of the the following editions):
    • Stand Edition
    • Professional Edition
    • Team Edition for Software Developers
    • Team Edition for Software Testers
    • Team Edition for System Architects
    • Team Suite
  • " [Description leached in near full]

    Microsoft Downloads - Unity Application Block Documentation for Visual Studio 2005

    "The integrated documentation for the Unity Application Block (Unity) to be used with Visual Studio 2005.

    ..."

    Microsoft Downloads - Unity Application Block Documentation for Visual Studio 2008

    "The integrated documentation for the Unity Application Block (Unity) to be used with Visual Studio 2008.

    ..."

    Now if only I truly knew how to best use and apply this...

    Oh well, I guess you have to start somewhere.  :)

    Kerkythea - Free Photorealistic Rendering for 3D Design Programs (Blender, SketchUp, 3ds Max, etc)

    freewaregenuis - Create photorealistically-rendered images of your 3D models with Kerkythea

    "Description: Kerkythea is a free multiplatform standalone rendering software that can be used to create photorealistic image renderings using physically accurate materials and lighting when integrated with Blender, SketchUp, Wings3D, 3ds Max, Silo and any program that exports files in OBJ and 3DS formats.

    ...

    The verdict: a great program that provides seamless integration with SketchUp. You don’t have to buy a few thousand dollars worth of software to produce great quality artistic renderings of your models; Kerkythya delivers and is absolutely free"

    Ever since my Amiga days, I've had an interest in ray tracing and photorealistic rendering... This utility sounds seems pretty cool.

    It's setup and usage is pretty easy and straight forward. Install Kerkythea 2008, install the SketchUp Exporter, create a model in SketchUp, export it, render it in Kerkythea.

    Manage the Multi-monitor Madness when Moving Mobile (Subtitled - Supporting the “pajama programmer”)

    The Visual Basic Team - "Git Over Here": Making Your Windows Mind Their Manners (Matt Gertz) 

    "Supporting the “pajama programmer”

    Telecommuting is a great thing, and as the environmentally-conscious person that I strive to be, is something I wholeheartedly endorse when it can be done practically. My current job involves a lot of face-to-face meetings with people, so I don’t actually do a lot of it. However, I do work from home in the evenings (for example, when crafting blog posts), so it’s important to me that my setup for working from home is usable.

    The challenge that I face is that my work machine is dual-monitor, whereas my home machine is single-monitor. Consequently, unless I make a conscious decision to move all of my windows to monitor #1 before I go home, many of the windows I need are off-screen when I remotely access my work machine from home. Choosing to “cascade” or “tile” the windows doesn’t work, since those commands don’t actually move windows from their current monitor. I can, of course, right-click on the relevant window’s icon in the task bar and choose “Move” to slowly move the window to monitor #1 with the cursor keys, but that’s a hassle. What I want is a quick way to say “git over here!” to one or more windows.

    ..."

    We're about to move into a multi-monitor dev world at work and I thought this might come in handy, both for our team and to help us build applications for our users that provide intelligent multi-monitor (or smart movement between multi and single monitor) support.

    Personally, while I have a second monitor at work, I rarely use it (I know, I know, I can hear you all already muttering under your breath about how multiple monitors have been shown to improve dev performance and generally make life easier... I hear you...). My problem is that I have two work environments. The office and the remote office (a room at home).

    At work I have the room for a number of monitors. When remote, much less so. You see, I have little say in my remote desk layout as my cats are very demanding and require ample space with which to monitor my performance, watch the neighborhood from my window, lay in the sun, etc, etc. So no room from multiple monitors. And the mental context switch from multi at work to single when remote was just too much for my little brain.

    Plus I have a number of apps that really are not too happy about the same context switch. They are semi-smart apps and remember their previous locations, which is cool, except they not quite smart enough to realize when their remembered position happens to be on a monitor that doesn't exist... doh.

    Hence my interest in this post. Plus I really liked the subtitle... :)

    BTW, the source for this project can be found here, MSDN Code Gallery - Temple of VB - VBGitOverHere - Moving your windows to monitor 1

    Another getting started with Silverlight 2, talking to a SQL Server DB via a ASP.Net web service middle tier, example

    Jason Zander's WebLog - Silverlight 2 Map / DataGrid Demo (Part 1)

    "I did the keynote speech for VS Live in San Francisco on 3/31 and included a demo of how to use the new Silverlight 2 features including the DataGrid.  I wanted to write up the steps required to reproduce my demo for anyone that wants to build it themselves.  The demo shows how to use VS 2008 with the Silverlight 2 plug-in, Expression 2.5 preview, LINQ to SQL, LINQ to XML, as well as the new controls.  This post got longer than I expected, so I'm going to post another that shows how to use the Silverlight Airlines demo map to give  a new twist for looking up data.

    In this write up, I tried to consolidate a lot of different sources of good data (like ScottGu's blog, the "How Do I" series for Silverlight 2, and several other great examples of LINQ to SQL).  If you are an advanced user, you may find I have included too many steps.  But I thought for a lot of folks it would be easier if you could really follow along and wind up with a working application.

    ...

    The application is built in the following steps:

    Step 1:  Create the project with an ASP.NET backend and a Silverlight 2 front end

    Step 2:  Build a web service that can query the database and return an XML document with my data

    Step 3:  Create the Silverlight 2 client application that will invoke the web service and show data in a grid

    ..."

    I still think ADO.Net Data Services will end up being one of the key data services for Silverlight applications. But in the mean time (I've not heard a release date for it, nor its foundation, the Entity Framework), "normal" web services will work just fine...

     

    Related Past Post XRef:
    A database access from Silverlight 2 tutorial, which includes Web Services and VB XML fun

    Thursday, April 03, 2008

    Burn CD/DVD/Blu-ray's with C# and IMAPI2 (Image Mastering API v2)

    CodeProject - Burning and Erasing CD/DVD/Blu-ray Media with C# and IMAPI2

    "imapi2

    Introduction

    Windows introduced the new IMAPIv2.0 with the release of the Vista Operating System which was a big improvement over the original IMAPI. The original IMAPI is great for CDROMs, but it has some huge limitations like not being able to write to DVD media. I am sure this limitation is due to almost nobody having a DVD writer when Windows XP was released back in 2001. IMAPIv2 allows you to write to CD, DVD, and even Blu-ray media, as well as read and write ISO files. IMAPIv2.0 had a problem since it was only available with Windows Vista. But in June of 2007, Microsoft released update packages for Windows XP and Windows 2003. You can download the updates here.

    I wrote this article as a sequel to my C++ article Burning CD/DVD Media with the Image Mastering API Version 2.0. Most of the IMAPI2 samples seem to be in scripting languages. The only C# sample I found was the IBurn console project that came with the Windows Vista SDK and more recently the article How to Create Optical File Images using IMAPIv2.0 by dmihailescu, which shows you how to create an ISO file.

    This article was more difficult than I had thought it would be. Normally .NET applications are supposed to be easier, but there were a number of issues that I needed to figure out to get this to work. If you're not interested in hearing me rant and rave, you can skip over the next section.

    ..."

    I've had a long running, yet extremely low priority, interest in IMAPI. I keep thinking I'll be able to use this for work one day, where we need to burn tons of stuff to DVD.

    (Also I used to want to write an automated podcast to audio CD burner utility so I could listen to them on the road, but now that I have a Zune, no stinkin' CD's for me!  ;)

    (via Coding4fun - Burn baby burn)

     

    Related Past Post XRef:
    VB.Net Code Sample for Burning Audio CDs
    Burn CDs right from your .NET code...

    Wednesday, April 02, 2008

    Visual Linq Query Builder (VLinq) - A Visual Studio Add-in to help build LINQ to SQL Queries (Think "Access Query Builder for Linq to SQL")

    MSDN Code Gallery - Visual LINQ Query Builder

    "Visual LINQ Query Builder is an add-in to Visual Studio 2008 Designer that helps you visually build LINQ to SQL queries. Functionally it provides the same experience as, for instance the Microsoft Access Query Builder, but in the LINQ domain. The entire UI of this add-in uses Windows Presentation Foundation. The goal of this tool is to help users become more familiar with the LINQ syntax.

    It's also a project that could help you to see how to create your own Visual Studio 2008 add-in using Windows Presentation Foundation.

    ...

    You will need to have Visual Studio 2008 installed. You can use the Visual LINQ Query Builder in any kind of project that supports LINQ to SQL.

    Visual LINQ Query Builder is only supported with C# and VB.Net projects.

    Quick Reference Guide
    A Quick Reference Guide and a video showing how to start Visual LINQ Query Builder are available for download from the 'Releases' tab.

    ..."

    Mitsu's blog - Visual Linq query builder for Linq to Sql: VLinq

    "Hi all,

    After almost one year of work and organization, I am very happy to share this project with you:

    http://code.msdn.microsoft.com/vlinq

    The Visual Linq query builder is a Visual Studio 2008 addin. It's a designer that helps you create Linq to Sql queries in your application...

    clip_image016_thumb

    ...

    The project goal

    Linq to Sql and Linq more generally speaking, is a new technology mainly based on language evolutions. As any new syntax, you have to take some time to get familiar with it.

    The VLinq project as any designer helps you to build graphically Linq to Sql queries but we wanted to keep it visually very close from the code. The goal is not to hide the generated code but to make it visible in the designer. It's a kind of mix between a classical designer and a graphical intellisense.

    VLinq also helps you grouping all queries at the same place allowing easy management (edit, add, remove) and previewing and testing.

    Last goal: releasing the whole solution, including source code to share with you our experience about using WPF with VS2008 extensibility.

    What do we release ?

    The whole project has been developed using Visual Studio 2008 (betas then RTM) and Expression Blend. We provide the whole solution (binaries + source code). The solution contains a Setup project for a quick installation (msi file).

    ..."

    Lot's of coolness here... Linq, WPF, VS Extensibility, documentation, source and more.

    (BTW, I think the source is supposed to be available, but I'm not seeing it after my install... I'll update this post once I know more)

    (via No1 Microsoft Fan - Visual LINQ Query Builder)

    ASP MVC Tutorials for the VB Crowd

    myVBProf.com - An Introduction to ASP .NET MVC Framework

    "...

    This tutorial covers an introduction to the MVC pattern using Visual Basic. It shows you want software is needed to work with the model. It also includes a brief overview of the URL routing assumptions that are a foundation to the implementation of the pattern. Finally, a sample application is created to demonstrate the fundamentals of this new web-application model.

    ...

     

    Video Links
      An Overview of the MVC Pattern
      Setting up the MVC Preview Environment
      URL Routing
      Setting up New Pages
      MVC Controller Actions 
      Creating HTML in Views 
      MVC - Putting it all together

    ..."

    A cool series of ASP.Net MVC tutorial video's for VB9 developers.

    Also while you're on the myVBProf site, you should also check out their other VB9 tutorial series, LINQ to SQL and Programming With XML Using Visual Basic 9.0

    (via Julie Lerman - MVC with Visual Basic video series)

    Tuesday, April 01, 2008

    IronPython Studio 1.0 released with both Isolated and (Visual Studio) Integrated versions

    VSX Team Blog - IronPython Studio 1.0 for Isolated and Integrated VS Shell

    "There is now an integrated VS Shell version of IronPython Studio free for download and installation to go along with isolated version. The version has also changed from CTP mode to version 1.0. Applications using the isolated version of the VS Shell runtime allow the application to be installed and run if there is no version of VS installed, and will still run stand-alone when there is a version of VS installed. Integrated applications for the VS Shell, like the new additional version of IronPython Studio, allow the application to run stand-alone with there is no version of VS installed, but run side by side within VS when a copy of VS installed before or after.

    So the developer who would probably want to install the isolated version of IronPython Studio does not have VS and does not plan to install VS or wants it to run stand-alone independent of VS. The developer who would prefer the new integrated version of IronPython Studio has VS installed or plans to install VS and wants IronPython to run side by side within their installation of VS rather than as a stand-alone shell application.

    ..."

    IronPython Studio - IronPython Studio 1.0

    "This release contains VS Shell Integrated and Isolated mode supports.

    ...

    Runtime Binary IronPythonStudioIsolatedSetup  runtime binary, 996K, uploaded Mar 28 - 6800 downloads

    Source Code IronPythonStudioSource source code, 1014K, uploaded Mar 28 - 1338 downloads

    Example IronPythonScreenCast (wmv) example, 8949K, uploaded Dec 10 2007 - 2624 downloads

    Runtime Binary IronPythonStudioIntegratedSetup runtime binary, 904K, uploaded Mar 28 - 205 downloads

    ..."

    Do your Python development inside your existing VS install now... Or in the stand-alone, isolated Studio.

     

    Related Past Post XRef:
    Visual Studio 2005 SDK V3 (September 2006) Released
    IronPython 1.0 Beta

    Wireshark (fka Ethereal) 1.0 Released

    Wireshark - Wireshark 1.0 Released

    "I'm proud to announce the release of Wireshark 1.0. This is the culmination of nearly ten years of hard work by a team of brilliant and talented developers. It is an honor to be able to work with these people.

    ..."

    Wireshark/Ethereal is one of those bell weather network utilities, a must have in any IT toolbox. And yes, it's still free...

    Given they've been slashdotted, expect their site to be under some load for the next few days...

    (via Slashdot - Wireshark 1.0 Released)

     

    Related Past Post XRef:
    Using Ethereal - Chris Sanders Presents Packet School 101

    New Team Foundation Server 2008 VPC Released (with 12/31/2008 Expire date)

    Microsoft Downloads - Visual Studio® Team System 2008 Team Foundation Server and Team Suite VPC Image (Trial)

    "...

    This image will expire December 31, 2008.
    Microsoft ® Visual Studio® Team System an integrated Application Life-cycle Management (ALM) solution comprising tools, processes, and guidance to help everyone on the team improve their skills and work together more effectively.
    This VPC release is available in English only.

    Visual Studio 2008 delivers on Microsoft’s vision of smart client applications by letting developers quickly create connected applications that deliver the highest quality rich user experiences. This new version lets any size organization create more secure, more manageable, and more reliable applications that take advantage of Windows Vista, 2007 Office System and the Web. By building these new types of applications, organizations will find it easier than ever to capture and analyze information so that they can make effective business decisions.

    To learn more about this release, please visit the Visual Studio Team System 2008 home page.

    This virtual machine is running Windows Server 2003 Enterprise Edition, SP2. It contains a full installation of Team Foundation Server 2008, Team Build 2008, Team Explorer 2008, Visual Studio Team System 2008 Team Suite and all necessary prerequisites. In addition, it has been updated with Office 2007 SP1, current Windows Updates as of March 25, 2008, and the December Release of the TFS Power Tools. Team Foundation Server is installed in workgroup authentication mode and thus does not require a domain controller.

    This release also contains 38 hands-on labs and sample data. Please examine C:\MSLabs inside the VPC image. If you desire, you can download the hands-on labs and their support files only. See the MSI download link below.

    Please note: future updates to this image will be provided in the form of Virtual PC Differencing Drives. You may find it convenient to keep a copy of this download unmodified for these future updates so that you do not need to re-download this base image.

    This virtual machine does not have anti-virus installed. It should not be connected to any network until it has anti-virus installed. In addition, the operating system and programs installed were patched with all updates as of March 25, 2008. If you use one of the included VMC configuration files, you will find networking is not enabled.

    ..." [Description leached in full]

    I saw this release a few days ago and was thinking to myself, "I don't need this, or this link, because I already have TFS 2008 in production..."

    Then I smacked myself on the forehead and realized this would be a great help when playing with different Process Templates (cough... the different Scrum's... cough), when trying different changes to Work Items, etc, etc, etc. And given it has a 9 month life span I'm sure I'll need to do some TFS hacking between now and then... Also I want to see if the WSS 3.0 upgrade is worth the effort... I want to see what value it add's, etc and this seems like a perfect vehicle for that.

    Note the inclusion of the Hands-on Labs in this VPC. Also the "...future updates to this image will be provided in the form of Virtual PC Differencing Drives..." statement.

    The Reflector Add-in Starter Kit from Jason Haley - Hard to think of a way to make creating Reflector Add-in's much easier...

    JasonHaley.com - Reflector Add-in Starter Kit (C#)

    "I've been writing Reflector add-ins now for a year or so and often find myself copying and pasting code just to get to a starting point.  I even wrote a blog entry a while ago about the typical template I used to get started (Getting started with Reflector Addins).  After reading about VSI (Visual Studio Installer) files in Working With Microsoft Visual Studio 2005 a while back, I added an item to my mental todo list to create a set of templates I use for writing Reflector add-ins - and with two Reflector presentations coming this next weekend, I figured now was as good a time as any to actually finish it.

    ...

    If you download it today, it only has the C# templates (plan to add VB templates sometime soon).

    ...

    reimage_thumb

    ..."

    Wow, that should make it easier to create Reflector Add-ins... Now if only I had a cool idea for one.  :/

     

    Related Past Post XRef:
    Creating a Reflector Addin? Check Out this Cool Walk Through from Jason Haley
    .Net Reflector 5.1 Released
    Reflector 5 Released
    Reflector 4.2 Released...
    .NET Reflector Add-Ins 4.0.3.0
    Reflector for .NET 4.0.0.0
    Reflector for .NET - Lutz Roeder's Programming.NET C# .NET VB .NET CLR

    IcoFX 1.6 Released

    IcoFX - IcoFX 1.6 Released

    "I'm proud to announce the immediate availability of IcoFX 1.6 !
    New features included:

    • Open, save and edit Macintosh icons
    • Extract Macintosh icons form resource files
    • Batch process Macintosh icons
    • Convert Macintosh icons to Windows icons
    • "Advanced Import" window
    • "Snapshot" window
    • Favorite folders in "Explorer" window
    • "Resource Editor" window
    • Support for creating icon library (icl) files
    • Change icons inside files
    • Added png image objects
    • Dithering for 256, 16 and 2 color images
    • Autozoom option
    • Easy color changing for "Preview" window
    • "Check For Update" window
    • "Download Languages" window
    • Import Jpeg 2000
    • Export Jpeg 2000
    • Import Image into icon
    • "Tip Of The Day" window
    • Handling multipple instances of IcoFX
    • Online forum
    • Online tutorials
    • Minor enhancements
    • Online help
    • Better zooming capabilities (up to 10000%)
    • "Shadow" window enhanced
    • "About" window enhanced
    • Better Windows Vista compatibility
    • New toolbar images for IcoFX
    • Bugfixes " [Post leached in full]

    Enough new features to qualify as a major release... :)

    (via the Portable Freeware collection - IcoFX Portable V1.6)

     

    Related Past Post XRef:
    IcoFX - Free (and Portable) Icon Editor

    Monday, March 31, 2008

    Subsytem for Unix (SUA) Utilities and SDK For Windows 2008 and Vista SP1

    Microsoft Downloads - Utilities and SDK for Subsystem for UNIX-based Applications in Microsoft Windows Vista RTM/Windows Vista SP1 and Windows Server 2008 RTM

    "....

    Utilities and SDK for UNIX-Based Applications is an add-on to the Subsystem for UNIX-Based Applications (referred to as SUA, hence forth) component that shipped in Microsoft Windows Vista / Windows Server 2008 RTM.

    This consists of the following components:
    - Base Utilities
    - SVR-5 Utilities
    - Base SDK
    - GNU SDK
    - GNU Utilities
    - UNIX Perl
    - Visual Studio Debugger Add-in

    ..."

    I find myself falling back to these mostly to handle long, greater than MAX_PATH, issues... I also find it funny that the file system supports a folder depth of 32k characters, but it seems like nothing else does (outside of the W/wide API's), i.e. no shell or command line support. So I fallback to Unix commands to help me manage the windows file system... lol

    One of these days I'm going to have to try to get approval to release the .Net API wrappers I created to deal with long paths (in my biz, EDD, Electronic Data Discovery, long paths are just a part of doing business...). But that may also be much more headache than it's really worth... sigh.

    In the mean time, there are the above utilities...

     

    Related Past Post XRef:
    Windows Services for UNIX 3.5 Downloads

    Open SUSE 1.9/Mono VMWare to Virtual PC

    Jon Galloway - Running the Mono VMWare image in VirtualPC

    "...

    The Mono team publishes a VMWare image which makes it really easy to check out Mono on Linux without installing or building anything. If you're happy with VMWare, you can grab their free player and run the image. If, like me, you'd rather run this on Virtual PC, follow along and I'll show you how.

    If you don't use VirtualPC, or if you don't mind having several virtual machine hosts on your computer, this post obviously isn't for you. Thanks for stopping by, though!

    Grabbing the VMWare Image

    ...

    Converting the Virtual Hard Disk image

    ...

    Creating the new VirtualPC Machine

    ...

    Setting up the Video Driver

    ..."

    Jon walks us through getting the Open SUSE 1.9 VMWare image, converting the VMDK to VHD, creating a VPC machine and configuring the virtual machine's video driver (which is biggest pain in getting a Linux VirtualPC up and running IMHO).

    I've been wanting to play with Mono and to see if I could get my Blogger Backup running under it. This Virtual PC will take me one step closer...

    STrace - Socket/SSL Tracing/Logging tool for IE, with companion HttpReplay plugin to replay a given STrace log

    Microsoft DownloadsSTRACE is a socket/SSL tracer designed to generate LOG for Internet Explorer

    "STRACE is a socket/SSL tracer that is based on the "detours" utility. The tool has been specificaly designed to generate LOG for Internet Explorer but it can be used with many other applications.

    Using STRACE with Internet Explorer is equivalent to use a (non full) debug build of WININET.DLL to generate a WININET LOG. The STRACE LOG contains clear text HTTP traffic (with socket information) and encrypted/decrypted SSL data.

    From the STRACE LOG, you can "replay" a full navigation scenario using the HTTPREPLAY tool. This can be useful to reproduce a problem or browse web sites offline..." [Description leached in full]

    Microsoft Downloads - HTTPREPLAY is a SOCKTRC plugin allowing to analyze and replay HTTP traffic

    "HTTPREPLAY is a SOCKTRC plugin allowing to analyze and replay HTTP traffic from STRACE or WININET log. You can use this tool to "replay a web server" without needing to setup IIS. The main goal of this tool is to help building a repro scenario when customer can't provide one.

    ..." [Description leached in full]

    These two utilities sound like they could be pretty useful. Two items for the utility toolbelt...

    STrace appears to work with IE6, IE7 and Firefox

    Friday, March 28, 2008

    Who has the right-of-way at crosswalks in California? Wrong, not you in the car who's in a hurry... The pedestrian does!

    Simi Valley Acorn - Crosswalk sting nets 50 offenders in less than three hours

    "Simi Valley Police Department's Traffic Unit issued a total of 50 citations and warnings to drivers during a concentrated traffic enforcement detail at Cochran Street near Vista Elementary School on March 19.

    The sting, which took place at the intersection of Cochran and Heather streets, was an effort for police to evaluate public concerns about pedestrian safety and speed violations at the site.

    Sgt. Jeff Malgren said the location was chosen for its proximity to the elementary school and because it's one of the few remaining un-signalized and un-controlled intersections in the city where there are painted crosswalks.

    "All intersections, regardless of whether they have controls, are equally designated as crosswalks and are equally enforceable," Malgren said. "We knew there was a higher traffic volume on Cochran Street, but the number of violators was far beyond my expectations

    ...

    The civilian decoy, who wore no distinguishing clothing, crossed Cochran Street several times during the operation. About 10 other pedestrians also crossed the street during the time period, Malgren said.

    Citations were issued to 44 drivers, and six written warnings were given for violation of the pedestrian decoy's right-of-way. At least three of the citations were issued to drivers who failed to stop next to vehicles that had already yielded to the pedestrian.

    The officers also impounded four vehicles and arrested one 27year-old Simi Valley resident for driving without a license.

    Malgren said the police department plans to repeat the operation in various other locations throughout the city in the near future"

    There's a crosswalk by our house, that my son uses to get to school, where this is a horrible issue, that is an person-vs-car accident waiting to happen. We've been contacting the local school and agencies to try to get something done to help the issue for years.

    And the City and school have indeed tried, but it's still an issue. The City has put up new signs and the school has highlighted it in their newsletter. But that has had little to no affect.

    People driving down the street just don't seem to care that there's a kid in the crosswalk, trying to get to the other side of the street. We have pictures of some this... It's pretty hairy when you see a car cross to the other, opposing traffic, side of the street to zoom around a car that stopped to let someone use the crosswalk.

    I think it's the basic carelessness of the drivers that gets to me. Are you (we) really in that much of a hurry?

    sigh...

    Anyway, I think it's great the City and Simi Valley PD are taking steps to educate local drivers, probably in the only way that will take, by ticketing them.

    Look, it's simple. If there's a pedestrian in a crosswalk THEY HAVE THE RIGHT OF WAY. Be polite and let them cross... please.

    SlickEdit Releases two new Toolboxes, the Editing and Versioning Toolboxes

    SlickEdit - SlickEdit® Tools for Microsoft® Visual Studio®

    "SlickEdit Inc. Announces the Release and New Lineup of SlickEdit®

    ...

    Whether used alone or together, these toolboxes provide developers with high performance, innovative features, and greater capabilities directly in the Visual Studio IDE.
    • Comment Wrapping
    • Icon Extractor
    • Regex Evaluator
    • Code Annotations
    • Version Visualizations
    • Backup History
    • DIFFzilla®
    • CVS/SVN Source Control

    ...

    Pricing and Availability
    SlickEdit Tools is available immediately. Pricing starts at $49 for each Toolbox license.
    Also available from SlickEdit are SlickEdit 2007 and SlickEdit Core for Eclipse™.  For more information about SlickEdit and free trial downloads, please visit http://www.slickedit.com/.

    ..."

    [Full discourse - SlickEdit provided me NFR license keys for both products]

    Since I usually don't cover commercial products (besides Microsoft's  :/ ) why am I posting on this? Am I just a huge sellout seeing that gave we some swag and free license keys?

    Na... Free stuff is free stuff. Freely given means freely used or freely discarded.

    Plus If I didn't like the product, even through it was free, I still wouldn't blog about it (I try to follow the thought philosophy that "if you can't say something nice, then don't say anything at all"... with varying degrees of success.)

    So since I'm blogging about this, I must have liked it?

    Yep, sure did.

    Diffzilla has came in handy just yesterday. And I've missed not having the Backup History feature from past versions in my VS2008 install (I've posted about the Backup History feature before, and I'm telling you this thing can save your bacon).

    There were some features I thought were pretty darn cool in the Versioning Toolkit, the CVS/SVN support and Version Visualization. I don't CVS/SVN much so when I do it's always starting at the bottom of the learning curve. I thought it was cool to have a repository browser included in the toolkit. And the Version Visualization was just too cool.

    The Version Visualization provides graphical visualization of the version history of a file (with support for TFS/CodePlex, SourceSafe, CVS, SVN). Meaning a source code window with shading to very clearly differentiate the code blocks from different versions. Like taking the the Annotations built into the TFS Team Explorer to a whole new level.

    And like I've raved about previously, the SlickEdit team's custom service is simply top notch. These guys just rock.

    The toolkits come in two pieces, letting you choose to get that what you need without paying for the other, which I think was a smart move. And at $49 per toolkit, it's in the reasonable price range.

    All in all, these toolkits contain utilities that when you need them you really need them and you need them to just work. And so far both toolkits do just that...

     

    Update #1 4/2/2008 @ 9:35AM PDT:
    Updated the post title... They are Toolboxes not kits... doh.

    Let the Machine do the Listening to your music - Machine Listening API from The Echo Nest

    TechCrunch - First “Machine Listening” API Flies From The Echo Nest

    "“Machine Listening” is the idea that computers can be programmed to interpret audio signals the same way humans do. This means that they can tell when a song belongs to the blues genre rather than techno. And they can detect musical characteristics like tempos, transition types, and harmonies.

    ...

    The Echo Nest is a company that’s bringing machine listening to Web 2.0. It was founded by two MIT PhD students and is supported by a government grant. Today, the company releases the first of several “Musical Brain” APIs intended to improve three main aspects of music-related web services: search, recommendations, and interactivity.

    The first API, which focuses on signature analysis and ...

    ...

    The Echo Nest will lend all of its APIs to non-commercial projects for free, but it will charge commercial sites with a usage fee. ..."

    I am a huge sucker for API's. And I dig the through that I could use this, or future API's, to help me build some cool play lists for my Zune. Or maybe a social music recommendation app.

    The API is a simple HTTP/GET/POX one (i.e. REST?) and while there are no .Net samples yet, it should be VERY easy to use from it.

    Just one more thing for me to play with... :)

    Thursday, March 27, 2008

    Did you know you could delete a Registry Key or Value via a normal .Reg file?

    Neno Loje's Treasury - INFO: .REG files can also delete keys and values

    "REG files can not only add and modify but also delete keys and values from the Windows registry.

    To delete a registry key

    [-HKEY_LOCAL_MACHINE\Software\Test]

    To delete a registry value

    HKEY_LOCAL_MACHINE\Software\Test
    "TestValue"=-

    Enjoy!" [Post leached in full]

    sigh... I've been hacking .reg files for like a billion years (okay for 14+, since the Chicago, aka Win95, betas ) and I don't think I knew that you could do this (if I did, I've long since forgotten it)

    I've been using different command line utilities to delete reg keys and values. Well no more of that for me!  :)

    Scott Chats up .Net in a Web 2.x World (.NET APIs for Digg, Flickr, Facebook, YouTube, Google/GData, Live, Twitter, XML-RPC)

    Scott Hanselman's ComputerZen.com - The Weekly Source Code 22 - C# and VB .NET Libraries to Digg, Flickr, Facebook, YouTube, Twitter, Live Services, Google and other Web 2.0 APIs

    "Someone emailed me recently saying that they couldn’t find enough examples in .NET for talking to the recent proliferation of “Web 2.0 APIs” so I thought I’d put together a list and look at some source. I think that a nice API wrapper is usually a useful thing, but since these APIs are so transparent and basic, there's not really a huge need given LINQ to XML but I understand the knee-jerk reaction to hunt for a wrapper when faced with the word "API."

    One thing to point out is that 99.9% of these APIs are calling

    HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);

    under the covers the doing something with the resulting string. Some hide the URL creation, some use XmlDocuments, others use XmlSerialization. When you use a random API you find on the net you're usually getting what you pay for. You're getting a one person's free view on how they perceived a certain API should be called. Some will like be more performant than others. Some might be better thought out than others.

    I'll try to juxtapose a few differences between them, but I just want you to remember that we're talking about pushing Angle Brackets around, and little else. You can always do it yourself.

    And so, Dear Reader, I present to you twenty-first in a infinite number of posts of "The Weekly Source Code."

    ..."

    Scott provides a number of simple samples for many different .NET assemblies/libraries/components that help make your Web 2.x development life easier...