Larry’s Edamame, Corn, Bean Salad

I made up this recipe today for a potluck I was going to. Of course, the inspiration for this salad is the classic corn, bean salad made with a vinaigrette dressing. But lately I’ve been on an edamame kick, so I just HAD to put some in here. Once I did that, the idea of a vinaigrette just didn’t seem right. Then in walked Deeply Roasted Sesame Dressing – a marriage made in heaven.

Yields: 12–16 servings

16 oz. organic shelled edamame (blanched shelled soybeans), frozen
16 oz. organic sweet white (or yellow) corn, frozen
30 oz. organic black beans
1/4 red onion, minced
3 tbs. fresh chopped cilantro
8 oz. smoked tofu (e.g. SoyBoy), diced fairly small
6-8 oz. Deeply Roasted Sesame dressing (e.g. Kewpie Deep Roasted Sesame (at my local River Valley Co-op) or Deeply Roasted Sesame (Japanese Style) Dressing Marinade (from Cindy’s Kitchen available in Whole Foods near the lettuce in the refrigerated produce section))

Now for the easy part. Rinse the frozen veggies in warm water to remove any freezer ice. Rinse the beans. Put all the ingredients into a nice serving bowl, mix it all together and let the flavors blend (in the refrigerator or cold garage during a New England winter) for at least an hour before serving. Then dig in!

I would consider adding a little diced red pepper for color next time. Experiment, play, let me know what works for you.

Lessons Learned Code Signing a Visual Studio 2008 .MSI Setup Project

I thought my mission was an easy one:

Code sign an existing MFC application (Metafile Companion) setup installer

I should have known better. 🙂 I was successful and it really isn’t that hard once you find out what to do. But there’s the rub – the web is full of options that end up being dead ends. Below are some of the lessons I learned.

Lesson 1: You really can pay $99 for a one-year signing certificate from K Software.

There are other more expensive Certificate Authorities (e.g. VeriSign and Comodo) that charge more than this. But the K Software certificate (issued by Comodo) seems to work just fine. I would recommend using either Firefox or Internet Explorer to place your order and later downloading your certificate so it is added “automagically” to the system certificate store. Also, follow their export instructions so you have a backup of your certificate.

Lesson 2: To see what certificates are on your system, run “certmgr.msc”. 

This is how you can be assured that your certificate was properly stored on your system.

Lesson 3: The MSDN article “How to: Sign Application and Deployment Manifests” doesn’t apply to older MFC / VC++ projects.

While this might work for newer C# projects, for my older MFC / VC++ application in Visual Studio 2008, it doesn’t. So don’t try to hard to find options that aren’t there.

Lesson 4: The SignCode utility is “obsolete”; use SignTool instead.

SignCode has a nice wizard mode, but it doesn’t show you a corresponding command line for the options you choose. SignTool is command line only, but is the current tool.

Lesson 5: Add a call to SignTool as the PostBuildEvent property for the Setup project.

Once you figure out all the options you need, adding the event is easy. Here’s what I used for my project:

signtool sign /a /v /d “Metafile Companion” /du http://www.CompanionSoftware.com/ /t http://timestamp.comodoca.com/authenticode “$(BuiltOuputPath)”

You can read the documentation for what the various options are. One time-saving thing is the “/a” option which automatically uses the “best” signing certificate it finds in the store. If you only have one, there this works like a charm. A while back, I had added a “self-signed” certificate to play with. I had to remove this (using CertMgr.msc) to get my purchased certificate to be the “best” one.

I hope these lessons help anyone else that might be trying to do something similar!