Page 1 of 11

Archive for the 'Web Applications' Category

Tweet to Twitter from Mobile

Twitter Bird by Darkmotion
by Darkmotion@flickr

This post is inspired by LiewCF’s “7 ways to tweet”.

Ever since I’ve started mini blogging (or more specifically mobile status broadcasting :p) with Twitter, the need for me to tweet from mobile has soon been realized. The need for mobile tweeting became significantly obvious, especially when I was traveling for Peninsula trip convoy.

In fact, mobile tweeting has made mobile blogging easy! Simply by showing the latest tweets in my blog, I can easily update my blog with short messages that describe my life, without the hustle of writing a comprehensive post with proper content structure and titles. Check out my Twitter updates at twitter.com/tiensoon

So what’s my most preferred way to achieve mobile tweeting with my Sony Ericsson P1i?

There are many apps out there that allow you to tweet from mobile phone. But hey… I’m not going to tell you all the options available; instead, sharing experience on approaches that I’m most comfortable with.

Twitter Mobile

To me, this (m.twitter.com) is the most convenient and least interruptive medium to follow my buddies’ tweets. When I feel like checking out my friends’ statuses when I’m on mobile, simply open my phone browser (provided I’m in a 3G, GPRS or WiFi zone) and I’ll be signed on to Twitter Mobile – a simplified light weight interface showing the latest 20 tweets, and a text field to post my tweet.

The interface is so light weight that, I don’t need to really matter much about the amount of data transferred. It wouldn’t burn my phone bill hahaha Continue reading ‘Tweet to Twitter from Mobile’

Tomcat Context File “Mysteriously” Disappeared or Deleted

If you’ve done any Java web project deployment on Tomcat which involves NFS or SAN, you might have encountered a scenario where the Tomcat context file (\jakarta-tomcat\conf\Catalina\localhost\context.xml) mysteriously disappeared, especially after server restart.

Looks like it’s a Tomcat bug, you may refer to the Bugzilla record for further information.

This issue will only happen if the physical location of the web folder is different from Tomcat. For example, the Tomcat context could be configured with docBase residing in remote storage such as SAN or NFS.

When Tomcat detected that the web folder specified in docBase is not reachable, such as during storage server restart or network disruption, then the context file will be automatically deleted. Some may call it a feature though :p

How to Resolve in Linux?

In Linux, you can issue the following command to make the context file immutable. It’s like giving it “power overwhelming” StarCraft cheat…. will never die hahahaha

chattr +i /opt/jakarta-tomcat/conf/Catalina/localhost/ROOT.xml

Please change the location path accordingly.

chattr +i is to make the file immutable, it can’t even be deleted by root user.

If you try rm /opt/jakarta-tomcat/conf/Catalina/localhost/ROOT.xml, you will get “Operation not permitted”… wah really never die

What if one day, you decided to remove its immutable status??

Instead of chattr +i, just use chattr -i will do

Sorry but I don’t have solution for Windows yet.

Anyone with better alternatives?

What Am I Doing?

Most of us are using Google Talk custom message, MSN display message, Yahoo Messenger status message, Facebook status message, Friendster shout-out and alike for 1 common purpose – telling friends what am I doing, and what my mood is. Not surprisingly, many people are frequently checking out their friends’ display messages to “keh po” (a better word is “concern”) around, and stay updated with the status of people around us. Many times, you can derive all sorts of interesting facts from a person’s status message.

Before I left for east coast peninsula makan trip on last Saturday (24th May), I thought it would be interesting to publish short message updates in my blog, so that my family and friends could stay almost up-to-date with my itinerary. To achieve this, I need to be accessible to Internet via 3G or GPRS on my phone. Ideally, in order not to be charged for a hand and a leg to enjoy mobile blogging, the interface for posting should be as light-weight as possible, and I should also limit my updates to be short and precise, just like SMS text message.

Twitter

KC and Jack, being active users of Twitter, were trying to sell me Twitter ideas, convincing me to make use of the Twitter account which I’ve created more than 6 moths ago (that time Twitter doesn’t really look interesting to me :p).

So, I’ve decided to give Twitter a serious trial, due to its promising update-via-mobile-phone interface. My Twitter updates are viewable at http://twitter.com/tiensoon

Well, to the uninitiated ones, Twitter is a simple Web 2.0 app designed for us to tell the world “what am I doing?” By default, your Twitter updates are kept private and only viewable by users authorized to follow you. For example, I’ve approved Jack as one of my followers, and so he is authorized to view, spy, peek and keh-po at my Twitter updates.

However, if you don’t feel uneasy for your Twitter updates to be made public, you can alter the setting, and your Twitter updates can also be easily published on your blog, just like what I’m doing. Continue reading ‘What Am I Doing?’


Subscribe

Subscribe to my RSS Feeds

Subscribe by Email

Enter your email address:

Delivered by FeedBurner

Mini Blogging

Powered by Twitter Tools.