You may know that I live in Iran and in our country the main calendar is called the Persian calendar. This year when I was checking out my calendar, I noticed something odd! All birthdays in my calendar has been shifted 1 day. At first I thought maybe there is a problem with the iCal file I have imported to my Windows Live Calendar. So I fired up my own software. I have written every single line of its code so I trusted it I converted a few dates and got the same result. Whoa! By the way, if you’re interested, you can download the source code of my Persian calendar in C++. But note that you’re downloading it as is. Also, if there’s enough requests, I’ll convert this to C#. I have written it a few years back so I think I can do better. Back to our 1-day difference problem, I did some tests...

0 Comments
After a lot of feedback form you –my dear readers, I decided to create an archive for each step of my Thrift tutorial. The download link is added to each part of the tutorial. Also you can get them directly from here. All codes for Thrift Tutorial Please continue to send me feedback and tell me if anything is missing.

6 Comments
After a long time, finally I managed to make some time to listen to Scott Hanselman’s Hanselminutes podcast. I headed to his podcast’s archive page and after reading the titles, I was interested to listen to about 30 of his podcasts. I copied the links of these pages and as usual, in these situations I had to find a better way than opening 30 pages in my browser and adding the links one-by-one to my download manager of choice (IDM). Even with IDM’s “drop target” feature, it seemed like a lot of work. (programming makes you lazy!!!) Usually in these situations, I’d fire up my beloved Visual Studio (now 11) and write a simple Console application with C#. However since I’m starting to catch up with the somehow new and extremely awesome PowerShell, I thought I’d give it a try and create a...

3 Comments
*Read other parts: This is part of a long article. To read other parts, use links below: Thrift–Part One: Introduction Thrift–Part Two: Base programs Thrift-Part Three: Downloading and Installing Thrift Thrift-Part Four: Write and Compile a .thrift File Thrift–Part Five: Implementing Java Server Thrift–Part Six: Implementing C# client Thrift-Part Seven: Implementing PHP Client Code for Part 7 In this part you will learn How to implement a Thrift client in PHP How to add dependencies to a PHP project How to add existing files to a PHP project PHP 1. In the folder that you’ve extracter contents of tarball, navigate to libphpsrc and copy all files and folders to C:xampphtdocscalculatorthrift 2. Navigate to Thrift folder that you’ve compiled the .thrift file then go to gen-php...

0 Comments
*Read other parts: This is part of a long article. To read other parts, use links below: Thrift–Part One: Introduction Thrift–Part Two: Base programs Thrift-Part Three: Downloading and Installing Thrift Thrift-Part Four: Write and Compile a .thrift File Thrift–Part Five: Implementing Java Server Thrift–Part Six: Implementing C# client Thrift-Part Seven: Implementing PHP Client Code for Part 6 In this part you will learn How to implement a Thrift client in C# How to add dependencies to a C# project How to add existing files to a C# project C# 1. In the folder that you’ve extracter contents of tarball, navigate to libcsharpsrc and open Thrift.sln. This will start Visual Studio. If conversion was needed, do it. 2. From the toolbar change build type to Release. 3. Now Click on...