An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0×8007000B)

Posted by Satyajeet on 11 May, 2010
This post was filed in General and has no comments yet

Moved to windows 7 a few months ago and today when debugging an app originally coded in Visual Studio 2003 ported to VS 2005 I got this bizarre error

“An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0×8007000B)”

After a few hours spent searching.. the apparent solution is to set your build setting from “Any CPU” to “x86″

Thanks Benjamin from

http://www.arenawars.net/Blog/post/2006/08/18/Windows-XP-x64-Experiences.aspx

How to make professional quality videos and animation for youtube for free

Posted by Satyajeet on 5 December, 2009
This post was filed in Internet Marketing and has no comments yet

As marketers most of us use video to promote our services and products. The growing popularity of sites like youtube have led to a lot of people providing video creation services. Some are very professional and charge an arm and a leg for their services, while others make you decent quality videos using templates for as less as $27.

Today I want to tell you about 2 websites that I have come across that offer services that let you make professional quality videos and animation for youtube and other video sharing sites for free.

The first site is Animoto which lets you create professional quality videos that can be a max size of 30 seconds for free. If you want to make videos that are longer you need to sign up for a paid account that’s $30 a year or $249 a year depending on the package you choose.

If you are a big time youtube video marketer then the $249 package is still a steal as its less than a buck a day.

You can compare the packages here

So assuming you are using the freebie option, this is what youd do

1. Sign up for a free account
2. Choose to do a short 30-sec video (or a full length video if you are using their paid account)
3 Choose to upload images from your computer
Or pick one of the following services: Flickr, Facebook, Picasa, Photobucket, etc. Then wait a few mins when Animoto gets your images and processes them
Once it grabs your images you can choose to keep them all or delete the ones you don’t want
Next choose a song from their collection or upload your own.
Lastly finalize your video with a title and description and let Animoto works it’s magic.

Once you have the video ready and you are with the freebie option then let animoto upload it to your youtube account. ( Paid users have the option to download the video to their PC)

Now animoto adds 2 screens to the video it creates which you might want to get rid of.
The first is that it adds a credit to the artist whose music you chose from their library and the next is the “Created using animoto” screen that’s added at the end of the video.

If you are using their freebie option in a commercial venture ( LOL like we care ;) ) then download the video from your youtube account to your PC using a site like Keepvid and then use a video editing software like camtasia studio to edit out the last few frames so that you get rid of the animoto branding, produce the video again and voila, you have a professional quality video created for free in under 10 minutes.

One cool thing I noticed is that depending on the style of the music you choose the video effects change. If you use an electronic funk style of music then the effects are very different from say using country music. So experiment with it and you’ll see what I mean.

And another cool option is that if you don’t like the video it creates you can run the creation process again and it will create a brand new video using the same images, text and music.

So if two guys were to use the exact same images, text and music, the end result video would be entirely different in both cases…. simply amazing!

The second site I wanted to tell you about is a site called Memoov
This site lets you create small video clips using their toon templates and though the videos are not as sales oriented as the ones you can create using animoto, the USP of this site is that it lets you create little animated clips using cartoon characters. Hey these videos wont be impressive as ones made by the disney studio, but heck they can sure give sitepal.com a run for their money.

Check out this promo videothey have made.. a spoof on michael phleps LOL

Bar Stool Economics

Posted by Satyajeet on 22 October, 2009
This post was filed in General and has no comments yet

Suppose that every day, ten men go out for beer and the bill for all ten comes to $100. If they paid their bill the way we pay our taxes, it would go something like this:

The first four men (the poorest) would pay nothing.
The fifth would pay $1.
The sixth would pay $3.
The seventh would pay $7.
The eighth would pay $12.
The ninth would pay $18.
The tenth man (the richest) would pay $59.

So, that’s what they decided to do. The ten men drank in the bar every day and seemed quite happy with th e arrangement, until one day, the owner threw them a curve. ‘Since you are all such good customers, he said, ‘I’m going to reduce the cost of your daily beer by $20. Drinks for the ten now cost just $80.

The group still wanted to pay their bill the way we pay our taxes, so the first four men were unaffected. They would still drink for free. But what about the other six men – the paying customers? How could they divide the $20 windfall so that everyone would get his ‘fair share?’ They realized that $20 divided by six is $3.33. But if they subtracted that from everybody’s share, then the fifth man and the sixth man would each end up being paid to drink his beer. So, the bar owner suggested that it would be fair to reduce each man’s bill by roughly the same amount, and he proceeded to work o ut the amounts each should pay.

And so: The fifth man, like the first four, now paid nothing (100% savings)
The sixth now paid $2 instead of $3 (33%savings).
The seventh now pay $5 instead of $7 (28%savings).
The eighth now paid $9 instead of $12 (25% savings).
The ninth now paid $14 instead of $18 (22% savings).
The tenth now paid $49 instead of $59 (16% savings).

Each of the six was better off than before. And the first four continued to drink for free. But once outside the restaurant the men began to compare their savings.

‘I only got a dollar out of the $20,’declared the sixth man. He pointed to the tenth man,’ but he got $10!’

‘Yeah, that’s right,’ exclaimed the fifth man. ‘I only saved a dollar, too. It’s unfair that he got ten times more than I!’

‘That’s true!!’ shouted the seventh man. ‘W hy should he get $10 back when I got only two? The wealthy get all the breaks!’

‘Wait a minute,’ yelled the first four men in unison. ‘We didn’t get anything at all. The system exploits the poor!’

The nine men surrounded the tenth and beat him up.

The next night the tenth man didn’t show up for drinks, so the nine sat down and had beers without him. But when it came time to pay the bill, they discovered something important. They didn’t have enough money between all of them for even half of the bill!

And that, boys and girls, journalists and college professors, is how our tax system works. The people who pay the highest taxes get the most benefit from a tax reduction. Tax them too much, attack them for being wealthy, and they just may not show up anymore. In fact, they might start drinking overseas where the atmosphere is somewhat friendlier ;)

Damn, this blog got hacked

Posted by Satyajeet on 25 October, 2008
This post was filed in General and has no comments yet

Two weeks ago, almost after a year of not posting on this blog, I decided to update my wordpress install and use a new template. During this process I noticed that in the view source of my wordpress installation on this blog there were about 200 odd links pointing to various pills/male sexual enhancement sites which was only visible in the HTML source.

The hacker had used a invisible div tag to hold the links, so I guess the googlebot chomped up all those links and its a little wonder that my pagerank for this blog dropped 2 spots in the last update. :(

The links still show up in the google serps

Still don’t know which hack the f**ker used, but I came across this nice post at Aarons site and since have implemented those safety measures. Damn, I’m a software professional and if I got so careless, I wonder how many folk get their wordpress installs hacked each day :(