So the masthead is blue now. Any thoughts?
Parker and I managed to go for a one-hour, five-kilometer walk earlier today, as hoped. So my lazy Sunday hasn't been entirely lazy. But just on principle, I think the rest of the day will involve a nap and some time at a local bar with a book.
This post has a personal and a technical significance.
Personally: exactly 10,000 days ago, I was graduated from high school, at about this time of day.
Technically: The new blog engine let me pre-post this several days ahead, something the old blog engine thought it could do but never quite succeeded.
That is all.
You may not have known that the "Contact Us" page failed in almost all cases to send messages, but it's fixed now.
Please don't make me enable Captchas.
We have a crystal-clear, crisp October morning, perfect for spending three hours in a rehearsal for the Apollo Chorus...sigh.
It's also a good morning to test the new blog engine and posting from my friend's car.
The Daily Parker v3.1 is here. We have officially launched on BlogEngine.NET. And this is the 5,000th post since May 1998 (but only the 4,804th since November 2005, when the blog launched independently of braverman.org.)
I've maintained a pretty consistent posting rate since finishing my MBA in December 2010. Posting nearly every day is how you get to 5,000 entries:
There are still a number of bugs, but nothing really horrible except for the Production instance not being able to properly respond to old URLs. I spent a good bit of time making that work; it works in Development and on my own laptop; it's really annoying.
Enjoy the new Daily Parker. I'm sure I have another 5,000 entries in me. Stay tuned.
It's finally here: the Daily Parker running on BlogEngine.NET 3.1. This is, in fact, the first native post on the new platform, visible (for the time being) only to the select few who know the temporary URL.
So why did it take me eight weeks to get the new engine up and running? A few reasons:
- BlogEngine.NET 3.1 is still in development, with the main open source team making changes almost daily.
- I've made some serious customizations (outlined below) on my own private fork of the source code.
- I have a real job.
- I wanted to time the release to a significant event in the blog's history.
My changes went pretty deep into the application's core.
Like most developers, the original coders (not the guys working on it now) made big mistakes with time zones, principally by using the horrible System.DateTime structure instead of its more-correct System.DateTimeOffset replacement. (The .NET Framework has had the
DateTimeOffset structure since version 2.0 back in 2005, so this really annoyed me.) As a consequence, I changed date-time storage everywhere in the application, which required a few massive commits to the code base. It also required changing the way the app handles time zones by dropping in the Inner Drive Extensible Architecture™ NuGet package.
Next, the Daily Parker has had geocoded posts for years, so I added a Google Maps control and geographic coordinates to the application. Unfortunately for me, the other guys kept changing the Edit Post screen, which complicated merging their stuff into my private fork. At least I'm using Git, which helps immensely.
Finally, I needed to get the thing to run as an Azure Web App, rather than as an Internet application running on a full server as DasBlog required. Again, I have a lot of experience doing this, and the Inner Drive Azure Tools simplified the task as well. It's still a pain, though it will allow me to retire an otherwise useless virtual machine in favor of a neatly-scaleable Web app that I can deploy in fifteen seconds.
Moving it to Azure necessitated getting file storage off the file system and into Azure blobs, as I outlined earlier.
Well, eight weeks and fifteen seconds. And there's still a bug list...
And I still have 4,998 posts to migrate...
The (new) Daily Parker is code-complete for the first launch. There are a few steps to go, like launching the production site and migrating nearly 5,000 blog entries. But maybe, just maybe, it'll launch tomorrow.
(Note that the beta site only has the last six weeks of entries, and doesn't include any since yesterday, because I didn't re-run the migration for the last bits of testing.)
Yesterday I successfully ran a complete import of the entire Daily Parker, all the way back to May 1998, and promptly discovered a couple of problems. First, a recent change broke the app's ability to add or edit blog posts; and second, because BlogEngine.NET reads the entire blog into memory when it starts up, it took nearly five minutes for the home page to load on my debugging machine.
The new engine could launch this week. I'm excited. Stay tuned.
I'm continuing to test the new blog engine. This evening's tests, which I'm setting up with this post, will involve some of the trickier tasks in the migration:
- Relative links to posts within the blog itself
- Links to arbitrary files using absolute paths
- Links to files with relative paths
- Links to images (like the one below) with relative paths
If you're reading this on the new blog engine, and all the links above work and the image below shows up, then the migration tool is complete. Deploying the new blog engine to production could then happen within a couple of days. Stay tuned.
I've got a development instance of the new blog engine running on Azure: http://dailyparker-dev.azurewebsites.net/. Go ahead, take a peek.
It's important to note that I'm testing the import engine right now, so the collection of entries on the development site will probably change during debugging. Also, since it's a development site, it may disappear altogether from time to time.
Plus, the master source code (from which I'm merging into my custom code base from time to time) keeps changing. And merges don't always go well. And the DasBlog instance is still in production. And so on.
At this writing, the Daily Parker has 4,992 entries going back to 1998, so it'll take a while to import them all. One of the challenges has been making sure that deep links continue to work, and images show up, so each entry has to be parsed and its internal links fixed before it can be published. And I'm doing all this outside my usual work day.
So when is go-live? No idea, but I'm shooting for November 13th.* Stay tuned.
As for the image below, it serves no purpose other than to confirm that the import tool correctly alters image tags:
* Almost nothing in that entry is still true, but it's still the anchor post of this blog.