Sunday, March 20, 2011

Could not find 'Program' specified for Main method

This error message occurs when we define in our project settings -> Application -> Startup object a reference to an non-existing class.

We usually encounter this error after renaming our main project's namespace. Visual Studio's rename command won't change your Startup object to the newly renamed class, so make sure you change it to the new namespace after the rename!

Frequent error messages:
Could not find 'Program' specified for Main method
Could not find 'Shell.App' specified for Main method

Thursday, March 17, 2011

Greplin Challenge Solution

After reading this article in Calcalist, I was impressed by the startup and decided to visit greplin.com.
After a quick glance @ the site, I found a very nice programming challenge here.

The challenge consists of 3 levels. Each level is a riddle that needs to be solved by programming. To pass a level, we need to find the correct answer for the riddle, and enter it in the challenge page.

It took me about a hour and change to solve it. It was very fun and I recommend you to try it out :-).

For those who don't feel like busting their brains out for the solutions, here's my code for the solution.

Also here's a screenshot for the simple UI I've created to test the solutions.



Thursday, September 23, 2010

Mac, iPhone and... part2

So last time I talked about how I've setup my iPhone development environment, and which tools I needed to get the development up and running.


Saturday, September 18, 2010

Google Search for .NET

And now for a quick post about a little project I've coded a few weeks ago.


Mac, iPhone and... part1

It's been a while since I wrote anything in here, and for some reason I feel like writing again.

I've decided that I want to share my experiences of coding an application to the iPhone.
So if one wants to code something for the iPhone, then one would need a Hackintosh, which is a PC running a Mac OS X, or buy some sort of Mac Computer solution (iMac/Mac Mini/MacBook etc).


Sunday, January 18, 2009

A lesson in self-discipline

Today I have a guest appearance on the blog, none other than the Poker expert Rom. He's going to tell you a true story about a true yet really fucked up Poker game that took place not so long ago, so without further ado..


Sunday, December 28, 2008

A Tale of Two Aces

Saturday night, me and friends having our usual poker game. The game is Texas Hold'em No-Limit. Buy-in 50nis, blinds 0.25-0.5 shekels. I was doing really good for the first hour, picked up really nice hands like K-10, K-Q, A-10, 9-9. And even managed to pull a few bluffs, overall putting me on approximately 80nis on the table.