Archive for October, 2009

How to combine programming skills with marketing talent

There are five ways to tell if your blog is on the right track, comments, subscribers, links, friends, and niche. Based on this point, programcreek.com is not on the right track at all. There are not a lot of comments, almost no subscribers, few links. This is true, because I’m not spending much time on this. To let the blog be linked by someone, it has to have something worth to link. Do I have this? NO.

Marketing skill is based on good products. Here, it is valuable content. So the only way to let the blog go to the right track is to spend more time making valuable posts.

Here is a nice article about blogging.http://www.problogger.net/archives/2009/10/21/5-ways-to-know-if-your-blog-is-on-the-right-track/

Favorite programmer joke this week

Tired with your project manager? Here is a joke from stackoverflow.com.

A young Programmer and his Project Manager board a train headed through the mountains on its way to Wichita. They can find no place to sit except for two seats right across the aisle from a young woman and her grandmother.

Continue »

Several ideas for bringing more visits

Why am I posting those ideas and call it Ideapad?

I want to do something when I get retired or if I get layoff. This also help me track my ideas.

Here are some ideas I got recently:

1. Make some WordPress themes following some famous website, such as stackoverflow.com, yahoo.com, etc
2. Make an iPhone app for some difficult test, or some special fun
3. If make some tutorials about design patterns, use a step by step evolution approach to show why those patterns perform better.
Continue »

Reload Javascript and rebind elements when using JQuery

I was doing a simple JQuery program. I need to add new rows and there is a delete button in each of them. The “delete” link is for deleting using Ajax. There is no problem for me to add a row using JQuery Ajax function. But the “delete” link in the newly added rows doesn’t work.

Continue »

Online Friends Contact Remainder

Is it good that we have an online friends contact remainder?

When I first went to college, my mother kept telling me that I should start to contact friends from time to time and maintain a large group of friends, since this is important for my future career. Friends should be classified by place and grouped according to closeness in friendship. It can automatically reminded us to contact friends in each group at different times. This online service should be able to provide some templates to send out email or use other approaches.

If there is one, will you use it? I will do it, if I receive more than 20 comments here. It would be totally free and open source.

Java Class Instance Initializers

public class Foo {
    public Foo() { System.out.println("constructor called"); }
 
    static { System.out.println("static initializer called"); }
 
    { System.out.println("instance initializer called"); }
}

What do you think this will output?

new Foo();
new Foo();

Before I got SCJP, I was quite surprised with this.

static initializer called
instance initializer called
constructor called
instance initializer called
constructor called

How to upload files directly to a remote server?

It’s very simple for a web-application to allow users to upload images to a website. You can use a simply HTML

However, instead of having those images uploaded to a web server – I would to have those images uploaded directly to another server.

Is this possible to have a web-application allow a user to upload images directly to another server?

Continue »

Favorite “programmer” cartoon

Here are some cartoon jokes for programmers. To view full size image, just click the image.

Continue »