Jul 25

I am running a PHPBB forum for iPhone. I wanted to do SEO work for that for a while. I recently found out the good one to do it as mod for phpBB 3.0. The site is at PHPBB 3 - SEO checklist and it had a good review too. I did all those things described there. My current search listing in google is low and my google pagerank is zero right now. I will update the status sometime in the future. Good work.


Dec 10

When you are developing an application for iPhone users, you may need to find a way to have images uploaded or documents uploaded to your app online. The way i did was to setup an email to receive those things and help the user to fetch them in his page or portal.

i setup an account images@blahblahblah.com and ask users to send an email from their phone or other email accounts. When they go back to the site to see those images, i wrote the following code to fetch data from that POP server. I found a free or Open source POP library which can fetch and manipulate attachment and messages. It’s available at http://sourceforge.net/projects/hpop/.

Example Code: Pop Client Sample


Sep 27

Great idea to embed small or tiny graphs in a document or sentence. For example, if you are writing a page which shows the performance of Dow Jones Index, you can do so by the following:

Dow Jones Image:Sparkline dowjones.svg 10765.45 ?32.82 (?0.30%)

This makes the user not to get distracted and follow the story you wanted to convey. In technology part of it, this is a simple graph which you can draw it with basic API on most languages. I build a sample program in C# where i got the source from here.

Also, you can take this Visual Studio Solution to quickly have it working. Download Sample


Mar 13

I have been struggling to find an easy way of implmenting Addin feature in my application. We happened to create a IPlugin interface and discovered it in a predetermined folder. Then it was consumed in an Appdomain hosted place. Later, when we are done, we just scrap the whole app domain. We  had issues here and there and it worked on such a way that it will have the addin stored in memory to be useable.

Now Microsoft is coming up with these AddIn namespace and pipelining concept. Please take a look at the following URL. http://msdn.microsoft.com/msdnmag/issues/07/02/CLRInsideOut/default.aspx

There are 3 ways to use addin for your application.

In the first category, the add-in provides a service to the host application. For example, a mail server might host add-ins for virus scanning, spam filtering, or IP protection; a word processor might have need for a spell-check add-in; and a Web browser might host add-ins for handling certain file types. Our Calculator example illustrates this scenario. If you look at the add-in code found in SampleCalculatorAddIn.cs, you will see that the add-in is providing the service implementation of Add, Subtract, Multiply, and Divide to the host.

In the second category, the host offers its behavior to the add-in and lets the add-in define how it automates the host. In this scenario, the host is really providing a service to the add-in. Most Microsoft® Office add-ins fall under this category: upon initialization of the add-in, the Office application will pass its root object to the add-in, allowing it to automate the host.

Using this model, a host can let third parties extend it in ways the application never considered. We’ve seen Microsoft Excel® add-ins that automatically replace text symbols with real-time stock quotes, and Microsoft Word add-ins that add virtual links to phone numbers in documents that start up a Voice over IP (VoIP) program and call a phone number. Sometimes you see entire applications built as one large add-in to an existing application. There are several CRM (customer relationship management) applications whose entire client front-end is contained inside Microsoft Outlook®.

The final category represents add-ins that use the host mainly for screen real-estate rather than any host-specific functionality. Search tool bars are an example of this: the same toolbar may add itself to your browser, the windows taskbar, and your e-mail client while providing the same functionality regardless of its host. 


Nov 13

Sometimes, after couple of installations and change in network settings mess up everything to connect from linux guests at vmware. I figured out a quick way from internet articles to resolve this.

Quick Steps:

1. Note down the generated eth0 network address from the vmware config file

2. Set the same ethernet address to /etc/sysconfig/network-scripts/eth0 file in linux.

3. Restart the OS.

Read more in Solving vmware problems in linux guests