Accidental Technologist

Entries from July 2007

Skyscrapr – Your Introduction to Architecture

July 31, 2007 · Leave a Comment

This may be old news to most people out in the Microsoft Architecture world but it is news to me.  Microsoft has a web site called Skyscrapr and it is dedicated to the topic of Architecture.  

It appears to be a portal to all things Architecture related on Microsoft web sites.  I spent some time today going through the resources on the site and there is a wealth of information and links to many, many other resources.

Technorati Tags: ,

Categories: .NET · Architecture

Visual Studio 2008 Beta 2 is Out

July 26, 2007 · Leave a Comment

In case you missed it, Visual Studio 2008 Beta 2 along with the .NET Framework 3.5 is out.

Scott Guthrie has a great overview of the changes and how to get it.  If you don’t want to travel all the way to Scott’s site, you can find the installation versions of VS 2008 here.

My favorite way to check out versions of Visual Studio or any major beta software for that matter is through a pre-built VPC.  I have found them over here.  You have to download 8 files (2 executables and 6 .rar files), you run one of the executables and it creates a nice VPC you can use with with Virtual PC or Virtual Server.  It certainly makes a lot less work by not having to install all of this software and it also keeps my system clean.

I downloaded all the files, ran the executable and had my VPC up and running in only a few minutes (after the long downloads but who cares). 

I am anxious to try out the new Multi-platform target support and Intellisense with JavaScript.

Technorati Tags: , ,

Categories: .NET · ASP.NET · Visual Studio

IronRuby is out, Built and Running

July 24, 2007 · 2 Comments

I have been working with Ruby for quite some time now and every time I hear of new things out I like to try them out.  Most of the time it is the latest gem or technique but this time the news comes from Microsoft.

John Lam and his group at Microsoft released a source code drop of IronRuby, which is a version of Ruby running on the CLR.  IronRuby is promised to give us all the power and compatibility of Ruby 1.8.6 with all the goodness of the .NET 2.0 Runtime and beyond.

IronRuby is an open source project and will end up on RubyForge but for now is available as a download from John’s blog.  So, I downloaded, unzipped and ran the included Build.cmd and viola…

IronRubyBuild

It built in just under 3 seconds….

I went to my command prompt and to the release directory and ran the resulting rbx.exe and saw the familiar >>> of Ruby’s IRB.

I tested the Ruby implementation with a few commands just to see what resulted and everything I ran worked very well.  I didn’t do any work with using .NET classes, but I will.

One interesting item I noticed was this….can you see it?

IronRubyConsole

In Ruby, typing something like “Hello”.class returns a type String but in IronRuby you can see it returns MutableString which is an interesting distinction from .NET, who’s strings are immutable.   I like the attention to details like this.

I will be running some of my utility classes with IronRuby and throw together some samples that integrate to the CLR.  I will also report back what I find.  All-in-all, it looks pretty good.

Technorati Tags: , , ,

Categories: Ruby/Ruby on Rails

InfoQ – Great Source for Developer Information

July 20, 2007 · 3 Comments

I recently joined InfoQ, a very good resource for .NET, Java, Ruby and Agile developers.  It’s doesn’t cost anything to join so you have nothing to lose.  Setting up your profile allows you to choose the language or platform you want to see information on, Ruby and Ruby on Rails and .NET in my case.

The site has a wealth of information from so many difference sources.  I find many sites that are a mish-mash of user-entered news is more junk than not.  I find Digg to be a good example of this, but not InfoQ, in my opinion.

Ruby related goodies :

This is just an example from a Ruby perspective.  There are so many good articles and video presentations, InfoQ is worth it to check out.

Technorati Tags: , , ,

Categories: .NET · Programming · Ruby/Ruby on Rails

links for 2007-07-17

July 17, 2007 · Leave a Comment

Categories: .NET

Dogpile Web Search

July 11, 2007 · Leave a Comment

I was checking the logs on my server the past couple of weeks and notice and interesting referrer, Dogpile.  I had never heard of this site and thought maybe my blog was so bad that I was exiled to some land of crappy weblogs.

dogpile

I decided to check them out and was happily surprised by what I found, Dogpile is a site that brings together into one place a search site that uses Google, Yahoo, Windows Live and Ask to give me results.  The site is nicely done and when something is searched for the results list where they came from, not just plain results.  You can see my results for Ruby on Rails below  (click for larger image):

dogpile_results

I normally use Google for searches as it returns the most relevant results but I also use the other services used by Dogpile.  It is nice to have it all in one place.   Others out there may have heard of this service or one like it but is new to me.

A search site of a different kind is Koders.  This is another great site if you want to search for programming related information and Koders will return source code and nice techie stuff.

Technorati Tags: , ,

Categories: Technology

ELMAH – Google Code

July 10, 2007 · Leave a Comment

I have blogged in the past about using ELMAH (Error Logging Modules and Handlers) for error logging in my ASP.NET applications.   I still use it and love it, still one of the best tools out there.

The project has moved from GotDotNet, which Microsoft abandoned in favor of CodePlex, to Google Code.   You can find it here – elmah – Google Code

Technorati Tags: ,

Categories: ASP.NET

On Hot New Development Frameworks and Tools

July 9, 2007 · Leave a Comment

Robert Scoble has an interesting post on Django, which is a framework for Python that makes creating web applications easier, as does Ruby on Rails for Ruby.

The interesting part is not so much the post but the comments from his readers.  As is often the case, people are very passionate about the tools they use either because of the language it supports or the bias they may have toward the framework.  This is very evident by the numbers of people following Ruby on Rails, where the followers treat Rails more like a religion than a programming discipline.

I think too often a developer chooses their tool based on current popularity rather than on the technology it uses, the problems it solves or how the tool fits  to the problem at hand.

Picking a tool

I choose my tool(s) on differing criteria but follow these guidelines:

  • How well do I know the language? – Ruby may be the best tool for the job based on how a certain aspect of the language may more easily solve my problem, but if I don’t know Ruby very well there is no since in jumping on Ruby just because someone else said I should.
  • What is the community support like? – This is big when it comes time to running into a problem, and you will.  Is there a group of forums to post questions?  IRC Chat Channel?  Source code repository of
  • What type of third-party tools are available?
  • What operating system does the tool run on?  – This one has been a big one for me.  I am a Windows developer and there are times where a project could be run nicely on Ruby on Rails on a Linux box but working alone or with my other Windows developer friends, I can’t justify trying to put the project on Linux when none of the supporting folks know the operating system.  Knowing the operating system is just the surface, you have to know the web server (usually Apache), the database (MySQL), and various deployment mechanisms.

We have biases and this is natural as we typically use what we either like or know and what has worked for us in the past.  This is an inherently bad way to solve a problem as oftentimes we try to put square peg in a round hole.  I am guilty of it but I try to be more open minded as my knowledge and awareness of languages and frameworks grows.

Back to Django

I have played with Django on several occasions and in looking at the developer’s site it appears it was created with the newspaper publishing business in mind.  Maybe this tool would be best suited for putting a newspaper or magazine online or even a great tool for creating the next Content Management System (CMS).  Who knows, but I am sure it has strengths we won’t know about until we give it a fair shake.  I for one plan to do so once I figure out how to run it under Windows and IIS.

I ran across a project called XAMPP which gives me the ability to run Apache, MySQL, Perl and PHP on my Windows system all pre-configured much like InstantRails does for me.  The XAMPP project also has a Python add-in so I can run Python under it too.  So, I am most of the way there and I am sure someone has done it.  If I dig around the Django site maybe I will find a recommendation as the best way to accomplish this task.

It looks like there are a good number of sites running Django as well, check out Djangosites.org.

Of course it is probably in my future to become versed in Linux and use it to my advantage, we will see.

Finally

I think keeping an open mind when choosing a tool, language, framework or even an operating system is essential.  Our clients count on us to pick the best tool for the job.  Ideally we should not shout “.NET Rules” from the rooftops just because it is the tool we favor.  I know everyone knows this already but sometimes it helps to hear it again.

Technorati Tags: , , , ,

Categories: Programming · Technology