2019
February
Standard

Friday Recap 4/25/08

You know, it isn’t a Good Friday unless a Savior dies. I had hoped that posting these Friday recaps would make me post more during the week. But, alas, it hasn’t. Of course, this is only my second one. I blame our instant gratification based society. On to the recap:

  • Hoes and Tricks

  • Have you ever got a song stuck in your head and haven’t been able to get it out? I’m sure we all have. In fact, just the other day I had the Ben Folds version of the Dr. Dre vehicle Bitches Ain’t Shit.

If you have a conversation with me for any length of time, odds are I will quote a song lyric. They just pop in my head. Something you or I will say will remind me of the lyric of a song, and I will spit it out. It is kinda fun, and funny. At least I think it is. No doubt some find it annoying.

This week one of my coworkers turned me on to the podcast of the WNYC public radio show RadioLab. I had never before heard this show, though I do remember hearing it before. The first episode I listened to, the most recent one, was called Pop Music.

Earworms – It has happened to you. Some song wriggles its way into your brain and won’t leave. Now imagine that the distant tune in the back of your head suddenly becomes very real. A real song. Real drums. Real guitar. Volume. These are called musical hallucinations and there are some people who actually suffer from them on a daily basis.

I certainly don’t have musical hallucinations. But the show was very interesting and I identified quite a bit with the people they were talking about.

  • Umbraco is hard to spell

Why is Umbraco named that? It is a stupid and hard to spell name. I hope it means something in some language. And I hope it is something clever. Umbraco so far seems to be pretty clever. It is an open sourced, Microsfot.Net and SQL Server based Content Management System for websites. If you didn’t understand that just go ahead and skip to the next bullet point.

I may post separately about Umbraco and me setting it up. I may wind up moving this site to Umbraco eventually (once I get past the “playing with it” stage). I may do none of that. The future is wide open. Umbraco is a pretty intuitive and extendible application. You are able to create templates of types of data. These templates are created in very standard HTML. Then you can create content based on those templates. It all sounds very simple, but the Umbraco implementation of it is quite nice. …I’ll just post more about it later instead of trying to explain it now.

  • I Ran So Far Away

See what I mean about the song lyrics? They are everywhere. I signed up months and months ago for the Disney Half Marathon this coming January. I say “this coming January” when it is only April because I am hugely fat and terrifically out of shape and I need to start training now to be able to win the marathon come January. So this week I worked hard to accomplish that goal by doing absolutely nothing. Not a thing. Barely left this chair. (or a very similar chair that I have at work).

The end
Standard

Friday Recap 4/18/2008

About two months ago I created a google calendar entry to remind me to post a Friday recap post every week. This will be my first such recap.

  • Been playing a lot with Silverlight 2. It is fun and slightly powerful. I say slightly powerful because it is not as powerful as WPF. Not that it was supposed to be. But they both use Xaml to define their controls, so you expect a level of similarity. And, sure enough, there is one. But…
  • Silverlight 2 has no ComboBox control! Perhaps a better name for Silverlight 2 would be WTF. Because it is a lot like WPF, except for the parts that make you go WTF?
    Having no ComboBox control means that everybody and their left butt cheek will be creating their own specially styled, half-assed version of a ComboBox control. Everyone who writes an application in WTF will create their own ComboBox that has a subset of the features of a normal ComboBox. Woe to a user who has to use two WTF apps written by two different people. Microsoft cannot let WTF ship without a ComboBox. It is just too fundamental of a control. PLEASE Microsoft do not let this happen. Remember: Heroes Happen at the Special Olympics too.
  • I have re-fallen in love with Twitter. Follow me at www.twitter.com/demosthe. I don’t know that I can describe why I like twitter as much as I do. Twitter is to chat as blogging is to email. I twit more than I blog. Is twit the right word? It can’t be. Though it probably describes me uncomfortably well.

  • I went to the doctor today. She’s a she. Kind of attractive. She’s a full service doctor. Took my blood pressure. Felt my testicles.
  • I took my car in for service today as well. The mechanic felt around in my asshole for $3,000. Between the people doctor and the car doctor I am feeling a little violated right now. I need to go take a shower until the hot water is gone. Hold me.
  • Apparently everything that can possibly wear down on my car has worn down. All at the same time. Every one of the things that were wrong I pretty much knew going in. For instance, in 80,000 miles of driving this car, I have never had new breaks. So no surprise that I need those. All my tires were bad, so I knew I needed those. My two rear power windows were broke, and I knew that as well. And so on… I am here to tell you, just because you know ahead of time that someone is going to shove their fist up your ass – it doesn’t make it any easier to take.
  • I ordered a new color printer. It just now arrived.
  • I ordered a pizza. It hasn’t arrived yet.
The end
Standard

A Basic use of Max in Linq

It took me an unfortunately long time to figure out the Linq equivalent to the following SQL Statement:

SELECT Max(SomeField)
FROM SomeTable
WHERE SomeOtherField = 1

I tried every combination of putting Max somewhere I could think of. Turns out the trick is to put it *outside* of the from statement. So, the resulting Linq looks like this:

(from p in blah.SomeTable
where p.SomeOtherField == 1
select p.SomeField).Max()

Perhaps that seems obvious to everyone else. But it took me awhile to “think outside the from” so to speak.

The end