in

Blog By Bob

Blog by Bob

April 2006 - Posts

  • subText

    Well, I almost switched over to subText today, but the .Text Import wizard wouldn't work for me. I would get a page and click a button that said 'Import .Text' and it would send me to a page where it said 'Enter Configuration String' and I would click that and it would send me back to the page that had the 'Import .Text' button on it.

    I did it 37 times. The behavior didn't change. And it looks like the only thing you can import after your blog has been set up is mlBlog or something. It looks like I will one day be the last person in the world on .Text (I am very against switching to CS).

  • Component Art's Date Picker Or What is Wrong in the Universe

    Component Art's has some pretty interesting controls. One of those controls is *not* the Date Time Picker. Sure, you can do some interesting things with it, like scroll Year/Month/Day etc with the arrow keys or pop open a collapsible calendar to choose the date.

    However! What if you just want a control on the page, that can be left empty (so you don't want to prepopulate it) and let the user enter a date in it with the clickie clickie of the calendar popup?

    Too bad! This simply amazing Date Picker for the shockingly low price of One BILLION dollars *but only if you act now!) disables itself if it is empty. No tabbing to it. No clicking on it and entering a date.

    Talk about lack of user friendly and usability! Though I do admit, the case where you would want the date possibly left empty is not the most used scenario, but after a quick glance around thier forums, I am far from alone...

  • The Invention of Time Travel

    One of the things I tend to enjoy, but find that I don't really have enough time for, is watching Channel 9 and similar videos. They don' really get deep into the technical side of things, but they are a good indication of 'things coming', for instance, they first started showing videos and talking about Monad all the way back in 2004. You also see awesome things that probably won't make it to reality any time soon like the Singularity project ,which is one of my favorites.

    Today, I find a way to spend less time watching more of these videos. I noticed a post on Mohammed Adenwala's blog (yes, I spend too much time reading the blogs.msdn.com blog roll too, but at least that is only limited by my rate of reading) that you can run Windows Media Player at speeds faster than normal, but slow enough you can keep up with what's going on.

    [Quote]
    Incase you don't know how to watch a clip on 'Fast', go up to the FILE menu in Windows Media Player and click PLAY -> PLAY SPEED  -> FAST. You, like me, will save so much time!
    [/Quote]

    This works still on Vista in WMP 11, and seems, from comments on that site, to have been available since WMP9. The above setting runs the video at 1.4x speed, which is alittle 'funny' sounding at first, but is quickly adjusted to. If 1.4x isn't enough, another comments says (and I verified) to increase the speed further, 'There's also a variable speed selector under Enhancements (View | Enhancements | Play Speed Settings). You'll have trouble making out the audio beyond 2x though'. I agree with his assessment. At least without further training to get used to the speed, anything about 2.0x is pretty painful. 1.4x seems to be pretty spiffy for now.

  • Commenting In IE Fixed Again...

    Well, Ray and Jayson noticed earlier that commenting in IE was broken. After chasing down the wrong path for a decade, it was discovered the some script used to show the Weather.com piece on the site that was breaking it. DOH!

    Wonders never cease.

    Jayson, thanks for the help debugging, and no, I am still not ready to migrate to CS 2.0 ;) 

     

    Update: I went ahead and changed themes while I was at it. Looks like this one breaks funny in Firefox. I'll probably play with the CSS etc over the weekend.

  • Visual Studio Encapsulation Woes

    I am bitter today. Actually, I am bitter most days. If you aren't a first time reader, you probably already know this.

    What am I bitter about today? That I am getting used to seeing something like this:

    public string Program

    {

    get { return _program; }

    set { _program = value; }

    }

    private string _class;

    public string Class

    {

    get { return _class; }

    set { _class = value; }

    }

    private string _location;

    public string Location

    {

    get { return _location; }

    set { _location = value; }

    }

    Simply because you can't highlight a section of private variables and encapsulate them all at once. For having the brightest people, MS can sure be stupid sometimes.

  • No More Fighting

  • Google Paying $1 For Firefox Referral

    quote:

    Then a few days ago, Google announced that they would pay $1 for each referral to Firefox with Google Toolbar. The idea popped back out of the idea pile. Google has just set the stage for Firefox to literally "take back the web" and go from 11% of browsers to over 50%. If people can now spread Firefox, stick it to Microsoft, and make money for each user switched, an aggressive strategy just got more appealing.
    So here's the plan. Today we launched two websites: explorerdestroyer.com and killbillsbrowser.com. The first site has some free scripts that you can put on your website to encourage users to switch. The scripts will detect whether a visitor is running Internet Explorer, and if they are, it will either show a splash page telling them to switch or it will put a big switch banner at the top of the page (depending on how serious you want to get). If you sign up for Google's referral program, you can make $1 for each person that switches. Plus you'll be saving the world.

    My take? They would have to pay me a hell of alot more than a dollar to switch drop IE and go to Firefox, though I know some of you have done it for free...

  • Star Wrek

    I don't know if this means I am too geeky or not, but this Star Trek/Wars/Babylon 5 Parody which is free is actually pretty damn good. It is near feature movie length as well, weighing in at about an hour and 40 minutes. The only down side is its in whatever language those Finnish people speak, and subtitled in English. You actually forget that for the most part after a short period and your mind adjusts (or maybe I just learned a new language *really* quick...).
  • Why Are We Using Commerce Server Again?

    As though being belittled by Microsoft's decision to not support Commerce Server 2002 (the latest RTM version of Commerce Server) with ASP.NET 2.0 and SQL 2005 (the latest RTM of their respective technologies) wasn't enough, another exciting source came along that wanted to know why our website had its own client information that wasn't in sync with the rest of our enterprise data. Why couldn't people change their address/contact etc data on the website and have all our systems reflect the change? Why would people call in and change their email address in customer service and still get emails to an old address from our site?

    These are the things that truly allow you to change the way you do things. Especially in Commerce Server, where the UserObject table reigns supreme.

    How do you do this? Kludge something together with triggers that updates the one data store when the other is changed? Change the profile system to write somewhere other than the UserObject table (It looks like this would be possible, but painful at best)?

    After looking at the current site, the first thing that came to mind was, "Why are we still using Commerce Server anyhow?"

    The short answer is "because we are", The longer answer is we have a robust eCommerce Solution that has Commerce Server at its core. It managers the catalogs of products, the order/basket system and the customer profile and contact/address data.

    Looking at these components individually, What can I replace before something breaks? What does ASP.NET 2.0 bring to the table that can help/improve what is already in place?

    The business requirement was to get the customer information into the central enterprise store. This fits in perfectly with the Profile/Membership components in 2.0, that are very customizable to datastore with a pluggable data provider model. Check. Done.

    The only painful part to this piece was that we are using LLBLGen for our data access tiers, which is an awesome tool, but building a provider out of it meant not using any functionality built into the existing SQLProvider and having to implement *ever* method by hand from a Base Provider. Not something to do if you only have an afternoon.

    The next piece was dealing with the Commerce Piece and the requirements for the pipeline. Part of moving all the customer information out of UserObject was also moving all the addresses out of the address tables. The pipeline requires address information to complete and order (of course), so the addresses are currently being genned on the fly.

    What about the baskets? Commerce Server users the GUID from the UserObject table to tie a basket back to the customer, and we conveniently already had a GUID field in the users table for our enterprise store. (Things actually ended up being more complex, since we have a need for a customer to have more than one basket of different types. This was solved by adding a baskets table that was not in Commerce Server's database that had the customer's id key, genned GUIDs, and a basket type. The genned GUID were used to link the customer to the basket table in Commerce Server.)

    At this point, everything is working perfectly. The UserObject table is no longer being used. The only thing that is still being used is the catalog tables, and the ordergroup etc tables.

    What does the future hold? That is a good question. At this point, with Microsoft's *attitude* towards us even though we are using current technology, it would not be that difficult to remove the remaining dependencies on Commerce Server. Will we do that? I don;t know. In Commerce Server 2006, the ASP.NET 2.0 profile etc pieces are already used, and I was pretty careful to make sure that our providers could be used in that environment with little change. So, moving to Commerce Server 2006 could be done with little pain.I guess it will come down to what Commerce Server 2006 has to offer. Commerce Server in general is a very powerful application, do you stop using an application that fills your needs nicely because of the creators behavior? That is the price of staying with Commerce Server, and it will need to be weighed carefully.

  • Alittle More on Commerce Server and 2005

    I talked earlier about my experiences converting a site using Commerce Server 2002 to ASP.NET 2.0. I did not get into alot of detail about the pain or what was involved, but wanted to go into alittle more, since I get a good bit of email about it.

    Alot of people are asking about SQL Server 2005 as a back end for their Commerce Server site. In our case, there was nothing needed to get the site working on SQL Server 2005, except copying over the admin and commerce site databases and updating the connection strings (dont forget the one buried in the profile piece). Every thing went very smooth with this change and I don't know why Microsoft doesn't officially support it.

    The conversion to ASP.NET 2.0 was alittle more exciting, and conversion of our site took one developer (me) working solely on this about a weeks time, including the issues I had getting the Message Manager working.

    I had to do some hackish things to get the Message Manager working, but others have said the have had less trouble, but I attribute this to the deployment process I used. I deviated from the 1 dll for the site and have dlls for each code behind, using a consistent name. Had I stuck with 1 dll, the current resource file would have worked. As it is, I could probably get it working with the deployment process I am using now, but it isn't a high priority, since I am just loading the strings from an XML file and populating the MessageManager manually, and it caches it all from there. I know there is a performance penalty to deploying all these little dlls, but it allows for amazingly non intrusive and quick hot fixing/project enhancements. Change the code, deploy to your prebuilt directory again in dev, and move up the couple aspx/dlls that change. No app domain restarts, just a slight pause when someone goes to those pages for them to re-jit. Best decision I have ever made. And the site is still running noticably faster after the upgrade than it was when running under 1.1.

    You time could vary on the conversion, the site we did was pretty big, with the Commerce Server enabled portions of the site numbering about 10% of the site. We have since made some pretty phenominal changes, up to and including no longer even using the User Object table, that I am going to blog about next. Pretty fun stuff, if I might say so myself ;)

  • Whew, That Was a Close One...

    At least I can cross death by a Gamma Ray Burst off my list of things to worry about. I was pretty concerned about that....
  • What the Hell was this guy thinking??

    This dude ends up in jail after getting mad at his son for not doing his chores and discharging his gun at the computer. He claimed later the gun fired on 'accident'...he is sitting in jail on attempted murder charges...his son is as much to blaim as he is, at 22 years of age, he should get a job and move out anyhow...
  • New IE 7 beta download

    Jayson pointed out to me there is a new IE 7 beta download out. It doesn't do me alot of good since the Vista version isn't posted yet, but grab it if you want to give it a whirl. News.com.com.com.com is reporting that Microsoft is offering free phone support for the beta to encourage people to use it. An interesting twist to be sure...

     

    Update: Phone Support information from the IE blog.

    Phone support will start at 5am PST on Tuesday April 25th.

    Support number: 1-866-876-4926

    Hours of operation:
    Monday-Friday 5 am - 9 pm Pacific Standard Time
    Saturday-Sunday 6 am - 3 pm Pacific Standard Time

  • The Definition of Irony, Apple Style

    So, I am sure most have heard that Apple released 'Boot Camp' for their x86 machines to allow people to dual boot to Windows XP. The Irony? Some users are finding after partitioning their hard drives and installing Windows XP these people find they can no longer boot back into OS X. But hey, at least Windows is working! (granted it appears they only over-wrote OS X by not partitioning their drive, but alot of times the truth takes all the fun out of things...)
  • Install Vista Sidebar on XP

    Here is an interesting article on installing the Vista sidebar on Windows XP. Your milage may vary but it seems to work fine. I guess this might be helpful for those who don't have XP and want to get their Widget on...

More Posts
Copyright © :: BlogByBob.com
Powered by Community Server (Non-Commercial Edition), by Telligent Systems