I seem to be craving more angry, evil kind of music at the moment. I tend to listen to one album to death for a couple of weeks – at the moment it’s Evil Empire by Rage Against the Machine. Sadly it occurred to me to buy the album while I was playing Guitar Hero 3, having a guitar battle with Tom Morello. Still, it brings back fond memories of being young and rebellious. The weird thing is that most of the music I loved as a teenager is actually really cool, and mostly what I listen to now.
Archive for the Personal category
-
Rage!
-
Hero
This is a very proud moment. I’ve just completed my first Guitar Hero track on Expert level. I rock! (with a toy guitar)
-
Earful of Flies
Ten Negative Sixes, The debut album from Mouthful of Flies is now available to buy. Go and learn about them, then buy the album. You can probably guess the style of music from the band name.
OK this is a little strange, I have the dreamy music from Oblivion playing from one set of speakers, and evil metal coming from the other. It works. Kinda.
-
Tales From Earthsea
I’m going along to watch Gedo senki on Friday, a japanese animation based on the novels by Ursula Le Guin. The film is directed by Goro Miyazaki – son of Hayao Miyazaki, whose work I really like. Anything that you can watch that is basically like getting a big hug has to be good.
I think there is a little controversy around the studio trying to market the film based on the Miyazaki name, despite Hayao Miyazaki having nothing to do with the project. I have no idea what it will be like (guessing a little rough around the edges), but I have some vague, happy memory of reading the books when I was young.
The last book I read was Administrators Guide to SQL Server 2005, the fattest book I’ve ever purchased. Books aren’t really magical anymore. Although the chapter about hard drives, spindles and distributing IO load came close.
-
ClickOnce Applications and Manifest Signing
I’ve recently had to integrate ClickOnce publishing of an application with an automated build and deployment process, and wanted to briefly chat about some of the headlines to watch out for if you need to do this in future.
There are two manifest files required for ClickOnce publishing – a deployment manifest, and an application manifest. The first very simple thing… the deploy manifest is named .application and the application manifest is named blah.exe.manifest. You might be tempted to think that the .application file is the application manifest, but not so.
The project I’m working on has multiple environments that we deploy to, and we’re distributing and updating the ClickOnce application from a website. This means that the deploy manifest can only be generated once you know the environment that you’re deploying to, as it contains the URL to check for updates etc.
In addition, the manifest files have to be signed before the ClickOnce application can be downloaded and installed. This means you have a choice…
- Either you have to generate appropriate manifests upfront for each environment that you might wish to deploy to, and sign each. This would occur while packaging up a release
- Alternatively, you have to ship the pfx certificate for signing in the release package, then generate and sign the manifests once you know which environment you’re deploying to as part of the installation
The second option is a little more flexible, but requires mage.exe (from the Framework 2 SDK) to be available on the install machine. In addition it means the signing certificate is kicking around in the release package, so obviously this is only appropriate for server software where the release and install setup is secure. I do have other justification for why I think this is ok – ask if you’re interested.
There are 2 msbuild tasks available to create the manifest files – GenerateApplicationManifest and GenerateDeploymentManifest. The task provided to sign a manifest takes a certificate thumbprint, which ties up to a cert in the local certificate store. This is not particularly useful, so it’s easier to write a lightweight msbuild wrapper around the mage utility, which can sign a manifest from a given pfx file. An example would be… mage.exe -sign ManifestName -CertFile PfxFilePath -pwd PfxPassword. If you want to generate the pfx to use in signing, take a look at makecert and pvk2pfx.
Be very careful about sequence – you need to generate the application manifest, sign the application manifest, then generate the deploy manifest, and finally sign the deploy manifest. If you generate both the manifests, then sign both, the publishing will fail. Basically the deploy manifest contains the public key token from the application manifest, so the application manifest must be signed prior to generating the deploy manifest.
Unless you need them, you don’t need to worry about the bootstrapper (setup.exe) or the versioned subfolders generated if you publish manually. The main thing is to have the deploy manifest pointing to the current version.
I also found the generated webpage for hosting the application to be quite bloated, so wrote my own. All you need to do is provide a hyperlink to the .application file, and clicking will trigger the ClickOnce runtime to download and install the application.
Phew. Think that’s it for now.
-
ClickOnce Installation Problem on Vista
We have a Winforms application published via ClickOnce, and I came up against a problem with the ClickOnce installation mechanism on my machine (Vista). Linking to the deploy manifest (the .application file) should launch the runtime to download and install the application. On my machine, this was triggering a dialog that prompted me to install the .NET framework (already available), and then proceeded to download the Winfx 3.0 Beta 2 runtime components.
The problem was that the wrong application had become associated with the .application extension – in my case, notepad2. To resolve, click Start > Default Programs > Associate a file type or protocol with a program, then find the .application extension. The current default handler should be set to ‘Application Deployment Support Library’.
In my case making this change then caused the correct behavior when clicking on a link to a .application file. I’m not sure quite how the default changed so easily, but think this was opening the deploy manifest in notepad2, and leaving the checkbox checked to use this application as the default.
-
My Lucky Voice
Well, I’ve just returned from a little outing to Lucky Voice in Soho, and I’m all husky and shagged out. My Finale was a Rocky Horror double, flipping from Susan Sarandon to Tim Curry. So it seems that I like programming by day, and singing my heart out at night.
-
Still Ringing
We went along to see Mouthful of Flies on Sunday night, and the gig was amazing. I’ll occassionally go to see a band that a friend is in to show support, but it’s very cool to go with no obligation because you love the music. I think the highlight was how Dean is able to sing and play guitar with a cigarette hanging from his mouth. Anyway, my ears are still ringing slightly 3 days on, so I think earplugs might be in order next time. The ringing only seems to kick in when it’s quiet, so I just have to hang out in noisy places for a while.
-
All wrapped up in work
I woke up last night at 2:30 in the morning thinking about work. I have to admit at the moment I’m finding it a little hard to shut off at the end of the workday. Generally even if I succeed in slapping work out of my conscious mind, I just end up with lots buzzing around at the back of my head, which can make it a little tricky pretending to be human in my free time.
I think this comes down to a slightly painful truth – if a job is worth doing, then it has to be more than just a job. If it’s more than just a job, then you naturally end up quite absorbed, in which case it’s very hard to shut off.
The solution is probably to throw myself with equal energy into something unrelated outside work, but that almost requires energy, concentration and dedication outside of work that I’m having trouble with right now. Right then, Guitar Hero it is.
-
Cloudy belly

