The Daily Parker

Politics, Weather, Photography, and the Dog

Stupid error messages that cost lots of time

Parker and I haven't yet left for Ribfest because I've just spent two and a half hours debugging an application.

After upgrading the application to the current version of the Inner Drive Extensible Architecture™ the thing wouldn't start. I simply got an error message in plain text, "The page cannot be displayed because an internal server error has occurred." The Windows Application Log supplied this clue:

The worker process for application pool 'a177c227-f36e-4874-aefe-9b41ca0d14ec' encountered an error 'Cannot read configuration file ' trying to read global module configuration data from file '\\?\C:\Users\dab\AppData\Local\dftmp\Resources\02e946dc-c92e-4774-a19a-5b013a38da65\temp\temp\RoleTemp\applicationHost.config', line number '0'. Worker process startup aborted.

Searching through Stack Overflow gave me a few clues, but nothing concrete. So I had to go through the web.config file line by line until I found this:

<system.diagnostics>
	<trace>
		<listeners>
			<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
		Microsoft.WindowsAzure.Diagnostics, Version=1.8.0.0, Culture=neutral, 
		PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
				<filter type="" />
			</add>
		</listeners>
	</trace>
</system.diagnostics>

Deleting the configuration section altogether worked. So did changing the 1.8 to a 2.2. And now the application runs. And now Parker and I are going to get ribs.

The error message is just stupid programmers being lazy. It isn't really that hard to write error messages that tell users what has gone wrong. In this case, line number 0 wasn't the problem; it was farther down in the configuration file, and in fact it had very little to do with the configuration file at all.

I would like to have seen a message in the application log that "the system could not load Microsoft.WindowsAzure.Diagnostics version 1.8." Why was that too hard for the Azure Emulator team?

Ribs!

Today is the annual Ribfest in the North Center neighborhood of Chicago. Parker and I will be heading out there for the 6th time, and enjoying the amazing weather (sunny and 22°C).

Here's our history so far:

2013:

2012:

2011:

2010: We didn't go to Ribfest because of my sister's wedding. A fair trade, I think.

2009:

2008:

Reviews and photos later today or tomorrow.

Fake news for no fun but lots of profit

The Daily Currant's business model, explained:

[I]n The New Republic, Luke O'Neil argued that such stories "could do actual damage to political discourse and the media in general... Juicing an already true-enough premise with more unbelievability simply adds to the informational noise pollutionwithout even the expected payoff of a laugh." 

All legitimate gripes, but perhaps that's overthinking it for a site that's the product of under-thinking. The Daily Currant is trying to maximize clicks and shares, and has found a niche between The Onion and real news: all the believability of the latter, but all the libel protections of the former. There's a Catch-22 to this approach, though. As more people have become aware of The Daily Currantin December, Mediaite whined, "Just Stop It, Everyone: Internet Falls for Daily Currant Fake Story Once Again"suckers have become increasingly rare. The site is a victim of its own success.

No matter. The formula is easily replicable, as other web entrepreneurs and hucksters have discovered. This poor imitation of The Onion has itself spawned a legion of poor imitations, websites so devoid of infotainment value and so cynical in their click-baiting that they make the likes of Viral Nova and Upworthy look staid.

The author goes on to compare the Currant to "a potentially lucrative con predicated on exploiting the worst habits of social media driven news content."

Not making my job easier today

Microsoft Azure is having some difficulties today in its East data center. It's causing hiccups. Nothing more. Just hiccups. But these hiccups are peculiarly fatal to the Weather Now worker process, so it keeps dying. Before dying, it texts me. So in the last 18 hours I've gotten about 30 texts from my dying worker process.

Maybe it's just telling me to go see Edge of Tomorrow?

Update, 15:15 CDT: Microsoft has finally updated the service dashboard to reflect the horkage.

Quick personal update

Long-time readers know I rarely post directly about my personal life, but this one is kind of big.

After nearly three years, I'm moving from 10th Magnitude to take a new position as a .NET Architect with West Monroe Partners. I've learned a lot working with 10th, and I wish everyone there the best in the future.

I'll have more to say about this in the coming weeks. I'm excited about the change, and looking forward to some totally new challenges with WMP.

More about an ending I mentioned, plus a new one

Yesterday I mentioned three things that weren't connected except they all ended recently. This morning Chicago Tribune columnist Phil Rosenthal has an op-ed about one of them:

HomeMade Pizza Co. was in the right business and exactly the wrong place.

We consumers indeed are buying more fresh prepared meals to eat at home or elsewhere, like the take-and-bake pizzas HomeMade hawked from 1997 until its abrupt closing Friday. These kinds of meals have become a $26 billion business in this country and are growing at a healthy clip.

But we're not buying most of those grab-and-go meals at stand-alone storefront operations, where costs for an operator like HomeMade, which had more than 20 outlets when it shut down, include the lease and utilities, and whatever it takes to let potential customers know that it's there and why it's worth a visit.

The fresh pre-prepared food business is proving a boon to food/drug stores, where almost three-quarters of these meals are being sold, according to NPD Group. Savvy supermarket operators are offering an expanding array of menu items, increasingly going beyond heat-and-serve home-style meals. Some have added restaurant-quality entrees, various cuisines and occasionally palate-challenging fare.

While you're chewing on that, here's another passing: the Cubs are ending their 90-year relationship with radio station WGN:

The team tomorrow will reportedly announce a new seven-year agreement with WBBM-AM/780 to air the team's games beginning in 2015, ending a run with WGN-AM/720 that dates back to 1924.

"The economic terms just don't make sense for us,” WGN Radio President Jimmy de Castro told media columnist Robert Feder. “So it's really not us saying we don't want them anymore. It's the Cubs saying that the economics they need are much greater than what we think they're worth or what we'll pay. They chose to go another way economically and made a decision to move on.”

Sic transit gloria etuli.

Payback time for trolls

This is overdue, but I'm very happy about it:

When Santa Barbara startup FindTheBest (FTB) was sued by a patent troll called Lumen View last year, it vowed to fight back rather than pay up the $50,000 licensing fee Lumen was asking for. Company CEO Kevin O'Connor made it personal, pledging $1 million of his own money to fight the legal battle.

Now the judge overseeing the case has ruled (PDF) that it's Lumen View, not FindTheBest, that should have to pay [FTB's $200,000 legal] expenses. In a first-of-its-kind implementation of new fee-shifting rules mandated by the Supreme Court, US District Judge Denise Cote found that the Lumen View lawsuit was a "prototypical exceptional case."

These guys are extortionists, and I am overjoyed that the law finally recognizes them as such. FTB has a pending appeal on a RICO action against Lumen, which the district court denied. That would be even sweeter.

Blackhawks, HomeMade Pizza Co., and King Juan Carlos end their reigns

Three unrelated passings this weekend:

  • Chicago's NHL Blackhawks ended their season last night, losing 5-4 in overtime to the L.A. Kings. It's always nice when a Chicago sports team makes it to the post-season, and also disappointing when they don't make the finals. The Kings will play the New York Rangers for the Stanley Cup.
  • Chicago-based HomeMade Pizza Co., started in 1997, abruptly ceased operations Friday, closing all their stores and online presence without notice. When the chain first started, it quickly became my mom's favorite take-out pizza. The company prepared raw pizzas that you would then bake at home, the idea being the pie would be hot and crispy when you ate it, because there would be no delivery time. Apparently that concept didn't scale to 40 stores in four states.
  • Spain's King Juan Carlos has announced his abdication after 44 years on the throne. He's 76 years old and believes his 45-year-old son, Prince Felipe, will have the "impulso de renovación, de superación, de corregir errores y abrir camino a un futuro decididamente mejor" (motivation of renewal, of action, of correcting errors and making way for a decidedly better future). No word yet on whether HM Queen Elizabeth II, now on the throne 52 years and whose own son is scarcely much younger than Juan Carlos, plans ever to retire.

None of these is connected, as far as I know.