Month: January 2012

Yet Another “Talk” Show…

ya… another new “chat” on the net in town,
ie. ChatOn
by Samsung Electronics,
available on iOS and Android,
ooh, Android, kononnya, but not my droid, again!!! ~_~
my iPod Touch 2nd Gen, na… not compatible, same “problem” as viber had on it, (ok, my problem, viber already said, they don’t officially support iPod Touch 2nd Gen anymore!)
but ChatOn is worse, it’ll just crash and “exit” the programme on its own…
THAT’s why, I still like Naver’s Line… (my first post, and second post here!)
to make things worse,
my android?
it doesn’t even show up in my apps search result, ie. totally not supported platform,
ok, my droid is 2.1? or earlier, and that’s the max I can go… @_@
however, I do kinda find this ChatOn interesting…
read here,
seems like you can just treat it as another social network platform, while you’re on the move…
imagine, if all your facebook friends, twitter friends moved over here, will you ditch those 2 platforms?
in a way, ideally, I guess so…
if what you’re interested is mainly those tweeting and replying and posting, and locationing type of activities…
since I’m not a Samsung device user, and I guess I never will… (cos, I’m pro-jap-product!)
so, I can’t really tell you the full feature…
so far… to me, it’s just another apps, like Line, like Viber…
(in fact, not so much like iOS iMessage… I love this feature in iOS 5 indeed…)

Cross platform text editor: jEdit

As a software developer, a good text editor is always needed. I don’t like to use any IDE (Integrated Development Environment), but I think Eclipse is a very good IDE.

As a Linux user, at least need to know how to use a text-based editor: nano, vim, or emacs. vim and emacs are very powerful text editor. And learning to use these two text editors is really very troublesome. The main reason is there are too many commands or shortcuts need to memorize. But both of them has these good features:

  • File
    • quit, open, save – very basic file read/write functions
    • buffers (open multiple files) – Windows Notepad cannot do so with one window
  • Edit
    • insert, delete, select (or highlight) – very basic editing functions
    • cut, copy, paste (or yank) – also very basic editing functions
    • find, find next, find previous
    • search and replace (with regular expression)
    • undo, redo
  • Others
    • macro
    • window (split)
    • mark
    • folding
    • syntax highlighting
    • autoindent or smart indent

There are several good text editors I like: Notepad++ and jEdit. I personally prefer jEdit more than Notepad++, because jEdit is cross-platform, available in Linux. Besides that, jEdit has all the features mentioned above, and it is GUI. In Linux, there is a clone of Notepad++, that is Notepadqq.

Using the macro of jEdit is very easy. Besides that, anyone who knows Java programming can edit the macro easier. Recently, I have wrote several macros for commenting and uncommenting with “hash” and “slashes”, because jEdit only provides commenting, but not uncommenting.

The comment and uncomment macros  (skip here for those who are not interested)

The macro files are available here.

To install them, copy them to $HOME/.jedit/macros/ folder.

To use them, in jEdit, highlight the multiple lines that you want to comment, then go the Menu > Macros, select the macro.