Posts
808
Comments
668
Trackbacks
1
Friday, August 20, 2010
Public Image Limited–Ease (not even remotely live)

Normally, I wouldn’t post a ‘video’ where there isn’t a video, really, just a shot of the cover.  The oddness of the lyrics of the song, combined with the brilliance of the guitar solo and the fact that there was never a live version of this that could do it justice, makes this an exception.

Recorded arguably before Steve Vai was Steve Vai, this song was on a release by PIL that was, well, odd, in many ways.  If you got a cassette (“Daddy, what’s a cassette?”…”Shut up”), the title of the release was “Cassette.”  If it was an album…you get the picture.  In one of the weirder combinations of all time, you get John Lydon singing a song with an unbelievable guitar solo from Vai.  I haven’t the slightest idea how this was thought-up, but it works.  Supposedly, Vai thinks this is one of his best solos ever, but I read that on the Interweb, so who knows how accurate that is.

What I remember from the review in whatever guitar magazine I was reading at the time when the release came out was the description of the solo as “pinballing.”  No, I don’t know exactly what that means either, but it seems to fit.  Enjoy.

Procreation
Have a nice day
These things in ease

What makes you happy
Your misery
These things in ease

Susan and Norman
You're so normal
Susan and Norman
You're so normal

 

posted @ Friday, August 20, 2010 10:02 PM | Feedback (0)
Can you help find me find the song that matches this lyric, #1

Google search is an awe inspiring thing (well, sort of).  I’ve mentioned before that I sometimes wonder how developers wrote code before Google existed.  I simply cannot seem to memorize syntax well.  Bouncing between css, html, c#, t-sql, vbscript, perl, foxpro, and other things these last couple of years, without some combination of Google and intellisense, I would be lost.

Ironically, I also have, at times, near photographic memory.  Now, I think just about everyone has near photographic memory when it comes to significant events in their lives.  For instance, I remember where I was when the Challenger exploded, or what was happening the day of 9/11, and also for more personally significant events, and that isn’t something that I think is that unusual. 

But I also have near photographic memory of all sorts of things that, one would think, wouldn’t qualify as being significant enough.  One area appears to revolve around song lyrics.

To give an example:

Back in what must have been 1997, I was driving to Boca Raton, FL from South Beach to teach one of my classes at Florida Atlantic University.  A song came on the radio that I really liked, but the station didn’t identify who it was by at the time.  I think I knew at the time that it sounded a lot like Peter Gabriel.  8 years later, I remembered the experience, and remembered the line “what was it we were thinking of.”  Through the power of Google, I was able to identify it as “Secret World” of off Gabriel’s Us album, and it remains one of my favorite songs of all time (you can guess a YouTube post will be coming at some point soon if there’s a decent version of it).

Why is that something I would remember 8 years later?  Beats the heck out of me.

Anyway, this leads to the point of the post.

Given the client I was working at, I know it was around 2004.  The client was in an industrial warehouse type place, and so for lunch, I would go drive around for half an hour and listen to the radio, then pick something up and come back.  The radio station was WXRT, which at the time had a terrible web site that wouldn’t give you the playlist for the day, so you couldn’t just go look up what you heard.

The singer was someone I didn’t recognize (a male), and the two lyrics that I remember are:

“I haven’t said grace at dinner/Since the day my father died” and in the chorus “Sing a simple song” (which I think was sung by a female or female lead chorus, but that I don’t remember as strongly)

My Google-fu is strong, but I’m drawing a blank.  “Sing a simple song” is a lyric that is fairly common (I think I used it back in the day when I wrote songs), so you get a lot of hits on Sly and the Family Stone or the Temptations, but the other would be a straight hit on Google, if anyone had ever posted it.

I thought that Google recorded everything that had ever happened in the course of human history, but perhaps not.

Or I could be “mis-remembering” it, but I don’t think so.

posted @ Friday, August 20, 2010 8:52 PM | Feedback (0)
Initial impressions of UberProf

After being convinced that Ayende wouldn’t steal my data and sell it to the Russian mafia, I finally bought UberProf, and here are my initial impressions of working with it today (keep in mind this is a total of about 30 minutes of real work).

UberProf isn’t actually a single application, it is a license to use any of the four (with more on the way) existing profilers, which target NHibernate, Hibernate, Linq to SQL, and Entity Framework.

This made the obligatory “thanks for giving us your money” email more confusing, since it explained that to use the license key, I should ”Open UberProfiler” (after having downloaded it from nhprof.com) and browse for the license key.  I’m guessing that he simply re-used a stock “thanks for giving us your money” email that really applies to the individual applications, and didn’t think to clean it up with better instructions.

The next problem I had was that I couldn’t download the Hibernate profiler.  All others downloaded just fine, but the Hibernate profiler download would either never initialize (no ‘save as’ dialog box) or hang.  I mailed Ayende about it (since I had an email thread active about UberProf anyway), and his 3G chip was working, so he responded with some confusion as, of course, the download worked on his machine.  The downloads are through Amazon AWS and neither IE nor Firefox would let me get the file.

After 30 minutes, it just started working.  The Hibernate profiler is, for me, the least important profiler of the bunch, but I paid for it, so wanted to make sure I downloaded it and at least launched it so I could register it (not that I ever lose license keys *cough*).

There are two projects that I am working on for which I purchased UberProf.  The ‘really, really close to launch if the business partner ever gets around to final steps’ project uses Linq to SQL, while the ‘very much in development’ project uses EF, so I started with the EF one.

If I ever get around to it, I might post my current use of SpecFlow, but essentially I create the UI (these are web apps) and ‘hook it up’ to my bastardized mix of quasi-cqrs and DDD-lite infrastructure, and write my specs without having any ‘real’ data access at all (I just new up whatever objects I need at the time).  Then, when I need more ‘real’ data to get the UI to look and behave more reasonably like it will in production, I create a test database, with no real consideration to schema or anything, and put something in front of it.  In this case, the ‘something’ was EFv4.

Hooking up the application to allow the EF Profiler to profile it took about 2 minutes.  You register a DLL, you add an entry to your Application_Start routine, you launch the profiler, you start using the app, and voila, the profiler be profiling. 

Since it is long before I care about profiling this app (since it is a test database used to satisfy my specs), I won’t go into much of the details, but one interesting thing I noticed is that, in a routine where I am doing naughty N+1 things in a loop, it only flags the last three selects as N+1, even though all six are identical (except for the values in the where clause).  I’m going to have to keep an eye on this.

Since the L2S project is more important and closer to production, I was encouraged enough with the ‘plug and play’ nature of the thing that I decided to plug in L2S in the same way.  2 minutes.  Register a DLL, add an entry to App_Start, launch the profiler, start using the app, and voi…..oh, damn.

Yellow screen o’ Death:

Inheritance security rules violated by type: 'HibernatingRhinos.Profiler.Appender.LinqToSql.SqlProviderProxy.InitializeProxyDefinitionAttribute'. Derived types must either match the security accessibility of the base type or be less accessible.

I wonder what the hell that means (I mean, I can read….).  So, I sent it off to the Google Support Group, since I would like to have some idea of turnaround time of using it, rather than blindly mailing Ayende.

After some more dicking around (technical term), I’ve gotten this different Yellow screen o’ Death:

Attempt by security transparent method 'HibernatingRhinos.Profiler.Appender.LinqToSql.LinqToSqlProfiler.SetupLinqToSqlIntegration()' to access security critical method 'System.AppDomain.add_AssemblyLoad(System.AssemblyLoadEventHandler)' failed.

Could be how I have IIS7 set up.  I’ll have to play around with it some more.

So, overall, the initial impression is a bit mixed (keeping in mind, again, that this about 30 minutes into it).  Not exactly frictionliess.  Since I haven’t actually been able to use it as a profiler (though that is part of the point), I have nothing to say about that part (other than the initially strange looking select N+1 alert pattern).  I’m really looking forward to using it for what it was designed for, as I know for a fact that there are parts of my data access code in the L2S project that blows.

posted @ Friday, August 20, 2010 7:24 PM | Feedback (0)