mo.notono.us

Thursday, May 31, 2007

Links for 2007-05-30 [del.icio.us]

Link - Thu, 31 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels: ,

Wednesday, May 30, 2007

Links for 2007-05-29 [del.icio.us]

Link - Wed, 30 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Saturday, May 26, 2007

Links for 2007-05-25 [del.icio.us]

Link - Sat, 26 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Friday, May 25, 2007

Links for 2007-05-24 [del.icio.us]

Link - Fri, 25 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Thursday, May 24, 2007

Mounting a Virtual Hard Drive (VHD) as a Disk Drive or Folder

Virtual Server 2005 R2 SP1 Beta 2 (who named this thing?) has a utility called VhdMount which lets you mount a virtual hard drive file as a disk on your physical machine.  This comes in handy when say, you know you have a file in one vpc (A), but you’re already in another vpc (B) and you don’t want to shut down B, start up A, copy from A to the host, shut down A, start up B, and copy from the host to B.  (And it’s not as if you can add the vhd for A to B at runtime; that would be too convenient.)

In theory, once you have Virtual Server 2005 (R2 SP1 Beta 2) installed, mounting a vhd should be as easy as calling the following from a command line:

“C:\program files\microsoft virtual server\vhdmount\vhdmount.exe” /m VHDFileName [DriveLetter]

However, it’s not quite that easy:  because the device driver is in beta, it’s not signed and can’t be installed automatically (at least not in XP and Vista).  So after you (attempt to) mount the vhd, you have to perform some additional steps outlined here:

http://community.bartdesmet.net/blogs/bart/archive/2006/09/02/4385.aspx

(The article also describes how you can install the VhdMount utility only, and not the full Virtual Server.)

These steps are a pain, since they have to be done EVERY TIME you mount a drive, but they’re still better than the A-B dance listed above.  Supposedly, the steps are supposed to become unnecessary when the service pack finally ships, as the drivers will then be signed.  Supposedly.  Also, to lessen some of the pain, you can add a registry entry to mount a vhd by double-clicking, as described by Virtual PC Guy here:  http://blogs.msdn.com/virtual_pc_guy/archive/2006/09/01/734435.aspx

(Virtual PC Guy also acknowledges the painful steps you have to go through in XP (and Vista):  http://blogs.msdn.com/virtual_pc_guy/archive/2006/09/05/740763.aspx)

Labels:

Links for 2007-05-23 [del.icio.us]

Link - Thu, 24 May 2007 02:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Wednesday, May 23, 2007

Links for 2007-05-22 [del.icio.us]

Link - Wed, 23 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Tuesday, May 22, 2007

Links for 2007-05-21 [del.icio.us]

Link - Tue, 22 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Saturday, May 19, 2007

Links for 2007-05-18 [del.icio.us]

Link - Sat, 19 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Friday, May 18, 2007

Ain't that Purty

This morning my boss forwarded an email I'd sent him to our client.  My email was essentially just a spreadsheet that my boss had sent me earlier for review, where I had simply changed the page layout, set print margins, repeated headers across pages, etc.  All the stuff that seem almost silly to waste time on when what you really only care about is the content.  In other words I had made it purty.

And so I said as much in my email.  "Here it is, all purty in print."

And my boss forwarded the email, unedited.

No harm done I guess, but I am wondering if our client's India-born-and-raised PM will know what on earth "purty" is all about.  So I decided to make sure Purty was defined in the Wikipedia, in case he decided to look it up there.

It is now: http://en.wikipedia.org/wiki/Purty 

I love Wikis.

Technorati tags: ,

Labels: ,

Links for 2007-05-17 [del.icio.us]

Link - Fri, 18 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Thursday, May 17, 2007

Links for 2007-05-16 [del.icio.us]

Link - Thu, 17 May 2007 02:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Wednesday, May 16, 2007

Links for 2007-05-15 [del.icio.us]

Link - Wed, 16 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Tuesday, May 15, 2007

Links for 2007-05-14 [del.icio.us]

Link - Tue, 15 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Sunday, May 13, 2007

Links for 2007-05-12 [del.icio.us]

Link - Sun, 13 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Saturday, May 12, 2007

Links for 2007-05-11 [del.icio.us]

Link - Sat, 12 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Friday, May 11, 2007

Links for 2007-05-10 [del.icio.us]

Link - Fri, 11 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Wednesday, May 09, 2007

Links for 2007-05-08 [del.icio.us]

Link - Wed, 09 May 2007 02:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Tuesday, May 08, 2007

MOSS: CAML Error translation

One or more field types are not installed properly.  Go to the list settings page to delete these fields.

If you get this helpful error message, it should be obvious that this might mean that you have only one term inside an <And> or <Or> CAML query..

Yeah, right.

Technorati tags: , ,
del.icio.us tags: , ,

Labels: ,

Links for 2007-05-07 [del.icio.us]

Link - Tue, 08 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

MOSS: SQL LIKE = CAML Contains

Note to self and anyone else searching for this: 

The "LIKE" operator in CAML is Contains.

Sadly the documentation on CAML is pathetic.

Labels: , ,

Monday, May 07, 2007

Idea: Clustered Virtual Machine to run Windows on EC2

Surely this is already done (if not on EC2 then elsewhere), or someone is working on it, or it's just not possible and I am making a fool of myself for writing this, but...

I was looking again at Amazon's Elastic Computing Cloud (EC2) and was thinking it's too bad I can't use it for Windows (well, you can, but not with performance).

Idea: Use a cluster of EC2 nodes to serve up a single Virtual Machine image, on top of which you could run software designed for a single server with more resources than is currently available from EC2.

This could also be extensible to regular computers on a LAN, which would probably be the more likely scenario.

I guess this is (sort of) what Google's Cluster does, right?

Labels:

Sunday, May 06, 2007

Links for 2007-05-05 [del.icio.us]

Link - Sun, 06 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Saturday, May 05, 2007

Links for 2007-05-04 [del.icio.us]

Link - Sat, 05 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Friday, May 04, 2007

Links for 2007-05-03 [del.icio.us]

Link - Fri, 04 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Thursday, May 03, 2007

Links for 2007-05-02 [del.icio.us]

Link - Thu, 03 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels:

Wednesday, May 02, 2007

Bargaining with MOSS

For anyone at the bargaining stage of dealing with MOSS, here's a song for you (© Bob Dylan):

 

I ain't lookin' to compete with you,
Beat or cheat or mistreat you,
Simplify you, classify you,
Deny, defy or crucify you.
All I really want to do
Is, baby, be friends with you.

No, and I ain't lookin' to fight with you,
Frighten you or uptighten you,
Drag you down or drain you down,
Chain you down or bring you down.
All I really want to do
Is, baby, be friends with you.

I ain't lookin' to block you up
Shock or knock or lock you up,
Analyze you, categorize you,
Finalize you or advertise you.
All I really want to do
Is, baby, be friends with you.

more

Labels: ,

VS: Select Block

This one's for Peter - though it has been detailed extensively before:

In Visual Studio (all versions), to select a block of text (spanning portions of multiple lines), simply hold down the Alt key while clicking and dragging.

Very helpful for removing repeated whitespace, etc.

del.icio.us tags: , ,

Labels: ,

MOSS: XML Intellisense

To be sure to get intellisense in XML files, you can try the two methods detailed by Jopx here.  I say try, cause it didn't work for me.  What DID work, was adding a folder with links to the xsd files to the project, as shown by Tony Bierman here.

To do this,

  1. Add a folder to the project
  2. Click Add Existing Items
  3. Navigate to C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/XML
  4. Select all the schem files (not sure what they all do, but it doesn't hurt)
  5. Click the little dropdown to the right of the Add button and select Add as Link.
  6. Done. Intellisense.

Sorry- doesn't help with your ddf files...

del.icio.us tags: , , , ,

Labels: ,

Links for 2007-05-01 [del.icio.us]

Link - Wed, 02 May 2007 01:00:00 GMT - Feed (1 subs)

Sent using Rmail R|mail.

Labels: