Not much. Always something. Mostly good.

Time Traveling Birds?

I love, and have strong confidence in, science. But sometimes scientists are pretty loopy. They're human, after all.

Maybe the reason I'm having so much trouble on my current software project is because my database design is abhorrent to nature.

Did a Time-Traveling Bird Sabotage the Hadron Collider?

In a series of audacious papers, Nielsen and Ninomiya have suggested that setbacks to the LHC occur because of "reverse chronological causation," which is to say, sabotage from the future. That papers suggest that the Higgs boson may be "abhorrent to nature" and the LHC's creation of the Higgs sometime in the future sends ripples backwards through time to scupper its own creation.

37Signals Work Culture, and Google Dashboard As Profile

Here are two interesting articles. The first is 37Signals founder Jason Fried talking about the work culture at the company. I've suggested this type of culture, in discussions with colleagues. In my view, many companies would benefit by moving from an hours-based culture to a project-based one. More on that another time. Here's my favorite quote.

I don't believe in the 40-hour work week, so we cut all that BS about being somewhere for a certain number of hours. I have no idea how many hours my employees work�I just know they get the work done.

The second article is Lance Ulanoff discussing Google Dashboard. I found this to be surprisingly thoughtful. Here's a sample.

What will Google do with my years of search data, information about YouTube uploads and subscriptions, lists of products, image and maps searches, and the rest of the data when I'm dead? There's so much rich information, would Google preserve it and offer it to my family?

WCF WcfService1 Project Sometimes Doesn't Show Metadata Page

I wasted a couple of hours today due to unexpected behaviors when running the default Windows Service project in Visual Studio 2008.

I wanted to test replacing the default contract interface (IService1.cs) and service (Service1.svc). So, here are the simple steps that made me crazy.

1. Create a new C# WCF Service Application project.

2. Run the project. You'll see the metadata page. Stop running.

3. Delete Service1.svc and IService1.cs.
4. Right-click the solution, Add > New Item, choose WCF Service. Name it Service1.
5. Select the Solution in the Solution Explorer. (that's your first clue.) Run the project. You'll see a directory listing.


You can accuse me of being dense, or not thinking, but when I saw this different behavior, I assumed the service wasn't working right. Now add these factors.

* Sometimes, if I edited web.config at all, the directory listing would appear.
* Sometimes, if I edited the .svc file (using Open With > Text Editor), the metadata page would appear.
* Sometimes, I'd get an error "Unable to start program 'http://localhost:3571/Service1.svc'"

I kept trying things, including folder/file compares of a new project to a non-working one. (It turns out this would have led me to the answer eventually).

Finally, searching on "debug mode wfc service "directory listing", I found this site, and this sentence:

At this point, if you browse to the location http://localhost/ExchangeService using Internet Explorer, you'll be able to see a directory listing (as long as the settings are like those in the previous figure). If you click on the Service.svc, you are then brought to the default help screen generated by System.ServiceModel.Activiation.HttpHandler for *.svc extensions.

I ran the project showing a directory listing, clicked on Service1.svc, and sure enough got the metadata page. Then, the light bulb went on.

The WCF Service Application project automatically sets the project's default page to Service1.svc. When I deleted that page, the project reset to Current Page.

So, what about those behaviors where sometimes it showed the metadata page? Well, when I was editing the web.config file, it would show the directory listing. When I was editing the Service1.svc file, it would show the metadata, because that was the current page.

What a fucking waste of my time.