Archive for the ‘Technology’ Category
Looking Back at the MVC Pattern – Prologue
Looking back at original writings surrounding an idea is important when you are trying to take your understanding deeper.
My goal in this series is to draw attention to some of the original documents and highlight what people said about MVC in its inception.
It’s been noted before that naming a pattern is important. With the MVC pattern you really need to start with Trygve Reenskaug’s writings since he named and described MVC.
In my next post we’ll look at his original MVC paper called Thing-Model-View-Editor.
Please stop using Visual Source Safe
I’ve had this kind of error dozens of times in the last 8 years. Does this inspire confidence? If any other database that you work with corrupted itself this frequently and this drastically would you keep using that database?
If you answered ‘no’ in both cases (and I hope you did), then consider something better, stable and free like Subversion and TortoiseSVN. Or if you have the money and you need to stick with Microsoft technologies then consider Team Foundation Server. At a very minimum both of these options have atomic commits where Visual Source Safe does not.
This is a fraction of the error message by the way. I cut out 9/10 of the error message for brevity.
Visual SourceSafe Analyze Version 8.0
Copyright (C) Microsoft Corporation. All rights reserved.
Database analysis in progress @ 7/16/08;11:18a.
Unable to open file ‘\\nhdev\nhvss\data\G\GGBAAAAA’.
File “\\nhdev\nhvss\data\G\GGBAAAAA” not found
The project User references a child whose physical file (GGBAAAAA) is missing or corrupted.
Unable to open file ‘\\nhdev\nhvss\data\H\HGBAAAAA’.
File “\\nhdev\nhvss\data\H\HGBAAAAA” not found
The project User references a child whose physical file (HGBAAAAA) is missing or corrupted.
The file ‘web.config’ (LEBAAAAA) lists ‘ZDBAAAAA’ as its parent, but that file does not reference it as a child or is missing/corrupted.
The item ‘Registration’ (ZDBAAAAA) is orphaned and needs to be removed.
The item ‘User’ (WEBAAAAA) is orphaned and needs to be removed.
Analysis complete @ 7/16/08;11:19a
Potentially serious errors or inconsistencies were found: run ANALYZE -F to fix these problems.
To fix the database problems, you can restart the analyze using the following command:
“C:\Program Files\Microsoft Visual SourceSafe\analyze.exe” -F -V3 -D “\\nhdev\nhvss\data”
Update: If you are not the admin for VSS then you may not have seen these messages, but you see them fairly frequently if you are the admin.
Chat with Sarah – the future of automated help
PayPal has a virtual agent that is supposed to help field questions. Maybe it is helpful in some cases, but for a significant question it is useless. Here is the actual text from our “conversation.”
Sarah – PayPal :
Hello, I’m Sarah, and I’m here to answer questions you have about PayPal. Just type into the box below and click Submit to get started.
I’m in training now, so if I don’t know the answer to your PayPal question, I’ll try to learn it for next time!
You :
I forgot my password and I can’t get it reset, can you help me?
Sarah – PayPal :
If you have forgotten your PayPal login password, or if your password has been locked, you can reset your password by confirming your identity.
1. Visit the PayPal website at https://www.paypal.com/
2. Click the Forgot your Password? link.
3. Enter the email address you used to register.
4. Enter the code shown in the security text box.
4. Click Continue.
6. Confirm your account ownership and click Continue.
7. Confirm additional account information and click Continue.
8. Create a new password and click Submit. Anything else I can do to help you?
You :
I’ve already tried that.
Sarah – PayPal :
Ok, what’s your question?
You :
I already asked my question, you need to give a better answer.
Sarah – PayPal :
I was trained to give personalised answers, which sometimes means that I may have to ask a private question or two! If you think of anything else I can help you with, I’ll be here.
You :
Can you help me?
Sarah – PayPal :
As a virtual advisor I’m here to help you with questions about PayPal.
You :
Can I talk to a real person?
Sarah – PayPal :
I may be able to help with your request. However, if I can’t answer your question, you can visit the Help Center, or Contact Us.
You :
Do you know anything about Alan Turing?
Sarah – PayPal :
I don’t understand. If you think of anything else I can help you with, I’ll be here.
You :
That’s what I thought.
Sarah – PayPal :
If there’s anything else you’d like to ask me, I’m here 24-7 to answer any questions you might have.
Iowa Code Camp – Des Moines
The summer is just about over and it’s time to ramp up for our second Iowa Code Camp of the year. This year’s code camp is going to held at the DMACC campus in West Des Moines on November 8th.
Greg Wilson put out a call for speakers a while ago. If you weren’t included on that email and want to speak, then email him at greg at solidrockstable dot com and he can help you out.
Javier Lozano has already lined up DMACC as our facility. If you haven’t been to their campus check out their website here. It’s an excellent high-tech facility and I think it will be a fantastic location. If you are interested in sponsoring the event please contact Javier Lozano as well at javier at lozanotek dot com.
To round out the list of leaders there is Greg Sohl (master of logistics), Bryan Sampica (marketing), Tom Burns and myself.
Speaking at CodeApalooza
I’m doing a talk at CodeApalooza called “Rendering Great Client-Side Controls with ASP.NET MVC“.
The idea behind this talk is that the latest crop of browsers have significant boosts in their Javascript speed. Because Javascript is faster and is becoming more consistent in its implementation, some innovative libraries have matured significantly. YUI, jQuery and many others can now save you much effort. You can now easily offload the rendering of your client controls to the browser and just send the controls raw json or xml data.
One of the main examples we’ll build is a really slick pageable and sortable grid. I think you’ll be pretty impressed with what you you can accomplish if you haven’t tested any of these libraries.
CodeApalooza is happening in Wheaton, IL (think Chicago) on September 6th. If you haven’t signed up already, do quickly before it fills up.
Microsoft in Iowa
It looks like Microsoft just picked Des Moines, Iowa for it next data center location. That is pretty cool for Des Moines and the state of Iowa. Des Moines is on I-80 which is close to some very high speed/high capacity fiber lines which I’m sure helped Microsoft make the decision.
Interview Question
I was asked today in an interview what I thought a company was responsible to do for their employees. Or, “what does a company owe its employees.”
What would you say?
CRIneta goes to Brazil
Eduardo Bottcher, a .NET Architect for HNI in Muscatine, was recently back in Rio de Janeiro for some vacation and took part in a podcast with the guys from MSRio.NET.
In the second half they discuss the CRIneta.org, the 2008 launch event we did this spring and Iowa Code Camp. If you speak Portuguese or can at least understand it, definitely listen to their third podcast to hear more.
É muito bacana isso!
New Dynamics CRM book
Some friends of mine Dave and Julie Yack put together a very good book targeting techies ramping up to develop for Dynamics CRM 4.0. Dave wrote the content and Julie did the editing. I had the privilege of tech reviewing several chapters as well, so that was pretty cool.
If you are starting out with Dynamics or you want to increase your knowledge, then definitely go to the CRM book site and pick up the book. It’s well worth the money. There is 645 pages of good content that hit every major aspect of the Dynamics framework.
.NET 3.5 SP1 Upgrades
I’ve finished all of my upgrades to .NET 3.5 SP1 with no significant glitches or broken code. The upgrade included 3 Vista development machines and 1 test server (Server 2003). One Vista machine was 64 bit and the other two were 32 bit.
I realize that the Visual Studio 2008 SP1 installer will install .NET 3.5 SP1 as well, but I still went the route of installing the .NET service pack and then installing the Visual Studio service pack.
One of the Vista installs did give an error at the end of the install, but after rebooting, it had installed correctly. If you are patching your servers, be fully aware that you’ll need to reboot at the end, so don’t expect to get away with a live patch without taking down your server.
A friend of mine, Laurent Duveau, posted some simple instructions on performing a successful install. Make sure to do step #1 from his post if you have previously installed beta versions of .NET 3.5 SP1.