Friday, December 21, 2007
...and you've given your service an auto-installer you may run into the problem I ran into today. Hopefully I can save you the immense frustration I experienced by leaving this tip for you.
When you build your service and see something like:
Microsoft.Common.targets(3090,13): error MSB3073: The command "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installutil.exe -u "C:\Users\hans\Desktop\Process Manager\Process Manager.exe" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3090,13): error MSB3073: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installutil.exe "C:\Users\hans\Desktop\Process Manager\Process Manager.exe"" exited with code -1.
Don't bother googling, don't bother reading Microsoft's support site(s), don't bother combing enwsgroups. Just make sure you don't have a process instance of your service running in the background, then open a command prompt (as Administrator) and use the SC.exe utility to delete your service from the services list. If you get 'Access Denied' ensure, again, that you don't have a process instance of your service running. You will likely get past the 'Access Denied' and either get a success message or a message saying the service is not registered so it could not be deleted. Either way you're fixed now. Try rebuilding your service again. This most often arises if you're using the 'Debug version of service run as normal application instead of service' debugging trick.
This was driving me crazy earlier this week and I don't want to try to remember it in 12 months when it happens to me again...
P.S. 'Access Denied' reported by SC.exe after you've killed any errant process instances usually means that the Services.msc component (the services applet) is open and was hung trying to start it. Just close the applet and try the "SC.exe delete "
Thursday, November 29, 2007
I very much enjoy using Vista (despite all the FUD) although it isn't particularly more spectacular than XP Pro, it isn't much prettier than any of my KDE desktops, and it's probably quite similar to OSX (I have not used OSX for years so I'm no judge of what it does/n't do excepting what I read online from people I deem at least remotely reputable. I've been seriously considering building some gadgets for myself; however, I just found a gadget I was planning on writing (thanks for saving me the trouble mysterious gadget man!)
You can see the gadget on the right side of the full size image (please excuse the code in the IDE I'm hurriedly writing a screen capture test...)
It is a gadget for controlling iTunes from your sidebar and it shows album art as well. Very nice; however, if you do not start iTunes by default on your machine when booting up, this gadget will do so from now on. There's currently no option for disabling this either (so I may end up writing one in any case.) I've been thinking of writing a 'live thumbnail' UI utility anyhow (it would use the DWM thumbnail manager and whatever window you wanted watched you could manipulate its controls from the sidebar thumbnail. May not sound useful to you, but for myself (with several desktops in addition to a multi-monitor setup believe me it *is* useful, lol...
Anywho - Enough jawing/clacking. Here is a link to the gadget:
Vista iTunes Gadget
Wednesday, November 14, 2007
Wednesday, September 26, 2007
Wednesday, September 19, 2007
Friday, September 7, 2007
Two members of our foosing community succeeded this morning in clubbing a couple of relative newbies to foos and thereby transferring the 'Broken Man' trophy (yet again) to J.P. and Salman. Now I, for one, took great offense and umbrage at such a breach of foos ettiquette as to setup a match explicitly for the purpose of offloading the infamous trophy; ergo, I took it upon myself to challenge Vasu and The Rookie (tm 2007) to a 2 on 1 game. If I won, they would have to take the trophies back. If they won, I would have to donate $10 to a charity of their choice (specified by their holding open their pockets.) I can't believe they accepted.
Twenty minutes later:
Vasu and The Rookie (tm) had their individual trophies adorning their office cubes. That should teach them not to club baby seals on my watch...
Wednesday, September 5, 2007
Good luck losing that trophy you two! :)
Tuesday, September 4, 2007
Highlights below :)
The result has Liverpool top of the league table and holding the greatest goal differential. Go Reds!
If you've ever seen magician David Blaine (his early stuff is pretty neat), you'll probably enjoy this mockumentary homage to his act a friend of mine (thanks Mark!) pointed me to on GooTube.
Pretty funny if you watch it all the way through.
Tuesday, August 28, 2007
Monday, August 27, 2007
Earlier I mentioned my favorite Sardinian desert and reminiscing about that gastronomic delight had me thinking about all the other amazing things you can get there that you can't seem to find here (outside of poor imitations in only the biggest cities.)
One of my all time favs has to be Risotto with Cuttlefish ink. Sounds strange, to be honest it smells strange, stains your teeth, and yet has the most amazing soft and delicate flavor. A link to the recipe will explain the work involved.
Here's a short video of what happens to you after you eat it, LOL:
A few years back I found and purchased (as a birthday gift for a friend) a beautifully bound 3 volume set of ALL the Calvin & Hobbes comics ever released by Bill Watterson and it was on sale at Costco for ~$80 iirc; however, I was too stupid to get myself a copy at the time and needless to say they vanished from Costco like a fart in the wind. I was disconsolate, and luckily the same friend I gifted the set to suggested an alternative form of appeasement until I should again find Costco graced by the presence of Watterson's magnum opus. The TRANSMOGRIFIER! :) God bless the guy who put this up.
Basically, you can search the topical metadata associated with particular Calvin & Hobbes strips, for example, I love the snowman scenes Calvin would decorate the yard with every year as well as the Spaceman Spiff strips. All I had to do was search on "spiff" or "snowmen" and bliss was at hand.
I hope this page brings you as much joy as it has me. Luckily I received a set of the 3 volumes this past Christmas and I've been enjoying them ever since.
You can get the set at a reasonable price from Amazon (but still not as good as finding it at Costco.)
(Here's where I lived by the way: 6 Monte Altura, Palau, Sardegna
The recipe below serves 5, and you'll need:
500 gr of white flour
400 gr fresh cheese (some villages used a mild pecorina, some use a ricotta, and others some alternative fromaggio dolce)
50 gr lard
Some wheat flour
A half a lemon
Bitter honey (the best is usually from the blossoms of the strawberry tree)
Place the cheese in a saucepan, add 250 gr water, a tablespoon of wheat flour and grated rind of half a lemon; place the container on heat and mixing continuously leave it there until it is uniform and dense.
Remove from heat, extract a small amount of cheese , dampen your hands and form a little squashed circle of about half cm high, then dry it on a dishcloth.
Carry on like this until the cheese is finished.
While it all dries, pour the flour on a rolling board and work it with the lard, salting and joining as much lukewarm water as is necessary to have a dough of the right consistency (this will require experimentation - mmmmm...)
Spread it thinly with the rolling pin obtaining a wide, thin pastry strip; place the squashed cheese onto the strips and use the remaining strips to cover them; squash the ends together so that no air gets in and then use a toothed form of about 11cm to obtain bun shapes.
Fry in boiling oil, drain and bathe with bitter honey and drizzle with more lemon.
Apparently you can now also get frozen seadas ready to fry at the market, as I found in this GooTube video:
Look what Cleanshoes found!
I am astonished that, at times, Japan looks at the US and sees nothing but a country of uncultured barbarity. Perhaps they figured we'd never see their gameshows. These probably wouldn't be of much help to them in our trade agreements.
Sunday, August 26, 2007
Liverpool beat Sunderland soundly 2-0, and Manchester United, yet again, received favorable treatment at Old Twatford. Two penalites, one stonewall on Vidic, and the other a penalty but very difficult for the referee to call and I'd rather they didn't call them unless they really saw them. Manchester United 1-0 over Tottenham Hotspur. Hopefully Martin Jol's board will realize how well they played and avoid doing something so disastrously stupid as handing him his P45.
I must say that the quality of the refereeing this early in the season has certainly been at least 'questionable.' Some of the calls, like Styles' from last week, have been downright ridiculous. Too bad FIFA has the FA by the b******* about using video technology. We'll see.
Friday, August 24, 2007
As simplistic and stupidly repetitive as it is, this one I keep finding myself playing every once in a while...
We've recently been lucky enough at our company to find several promising software engineers, some junior, some middling, and some fairly experienced, who are just now ramping up in order to contribute to the next release of our product suite. This good fortune is tempered by the fact that we find ourselves needing to literally dictate to these motivated, intelligent, and creative people how they should implement their ideas.
We do this in order to establish a reasonable commonality of expectation amongst our developers. "We should comment our code heavily, we should name variables clearly, we should...", yadda^3. These decisions are, of course, made for the benefit of the team as a whole as opposed to an individual developer but people tend to be reluctant to change especially if what they've done previously worked for them. Sometimes they can be so reluctant as to resent such 'temerity.' I don't think we've got to worry about that too much; however, as we've previously only informally laid out these standards it may be some of our tenured developers who find these strictures presumptive. In any case, some of the coding standards items are required compliances and some are simple suggestions, and none appear to be too outrageious with the possible exception of expecting our engineers to give variables easy to read (albeit more time consuming to type) names. I'll need to finalize this document next week and then the complaining (even some valid complaining probably) can begin.
Hopefully, the team will seem them in a positive fashion and as a synergystic methodology as opposed to a barrier or hurdle they must overcome. I'm also trying to keep this document from being a list of my developmental 'pet peeves' (with one notable exception, do NOT put C++ implementation code in a header file unless it is truly necessary -my debugger and I thank you.)
Labels: Software Engineering
...but that was a good thing.
Periodically at our offices one of us decides that we've become a tad, shall we say, 'porcine' and decides that it's time for a 'biggest loser' contest. Everyone is then invited to participate. Those who do not voluntarily participate are alternatively cajoled, coerced, intimidated, or triple dog dared' (which is an obvious breach of etiquette to go straight to a triple dog dare.) Participants donate $10 and whoever loses the most weight by percentage after a 12 week period is the "Biggest Loser" and claims the accumulated donations.
Happily for me, the past two contests have coincided with a personal desire to look less like a football (proper football) and more like an athlete. Judging by the results of the past two contests I've only got another 4 or 5 contests to go and I'll be svelte...
Just as it's always better to go to the gym with a friend, losing weight is the same way. Everyone wants to know that others are just as miserable (if not more so) than themselves, so I have to say I couldn't have done it without my fellow competitors. Their unhappiness and commiseration was the key to my success along with the candy bucket in our office which I managed to... mostly... steer clear of (I can hear those damn Gummis calling my name down the hall 'Kommen Sie her und essen Sie mich!')
Note to self: Have pizza for dinner tonight... Gotta bulk up for the next iteration of The Biggest Loser.