Who drinks coffee in Edinburgh? me.

Posted in Uncategorized | No Comments »

More pictures

Unicorn ?

Posted in Uncategorized | 4 Comments »

อากาศดี ก็ไปพายเรือกัน….

Posted in Uncategorized | 2 Comments »

More pictures

You can find everything in chinese supermarket

Posted in Uncategorized | No Comments »

Twitter, where are you?

Posted in Uncategorized | No Comments »

When twitter im is disable and twitter API request rate is reduced to only 30 req/hours. The only usable choice is via the web interface. @suksit has a very good alternative, FF + Style + FireTwitter, here http://suksit.com/node/161. Then, I add ReloadEvery to replace GreaseMonkey, then my Twitter client will update every 1 minute. Nice!

First Step

Posted in Uncategorized | 1 Comment »

Ok, basically, now we’ve only one choice and we know that it’s not from the Sun. Basically it’s the work of the man who ports JamVM, GNU Classpath and Java/ObjC binding to iPhone/iPod Touch. Thank you, thank you. So, following are the steps to make your iPhone/iPod Touch Javanized:

  1. As the first step, of course, you need to jailbreak your iPhone first (I’ll call it only iPhone from here, but you know, it’s including iPod Touch as well). The best and easiest way is by using Ziphone.
  2. Then, to make your iPhone usefule, please install OpenSSH, and Term-vt100 from the Installer.app
  3. Install Cydia application manager (actually, a Debian APT GUI front-end, so if you’re Debian or Ubuntu Linux users, you’re at home with all that apt-* command), to do this, in Insaller.app, add http://apptapp.saurik.com to the source list, then refresh. Then, install “Cydia Installer” and after that, quit Installer.app.
  4. Open Cydia and reload the package list. After that, please install the following packages:
    1. JamVM : this is the Java VM for iPhone
    2. GNU Classpath : the java class library
    3. JocStrap : Java/Objective-C binder/bridge
    4. UICaboodle : iPhone UI library and launcher, you need this for GUI application
    5. Java SQLite : JDBC Driver for SQLite, the database engine used by iPhone
    6. Jikes : Java compiler, yeah, you can compile your Java code “in” your iPhone.
    7. iPhone-Java : an example applications for Java/iPhone.

    If you’re like me, a unix geek, you’ll need the VIM, sorry Emacs, you’ve no place on iPhone 😀 . Also, I recommend to install wget, cvs (or svn), Bash, bzip2, gzip, zip, top, less, lynx, make and another everyday unix commands. You can install these program by using Cydia GUI, or apt/dpkg tools in command shell.

  5. Then, you can start the terminal, fire up the vim and start writing your first Hello World in iPhone. I put an example below, well, just in case

    Hello.java

    public class Hello {
    public static void main(String[] args)
    {
    System.out.println("Hello World.");
    }
    }

    Then, compile it using this command
    $ jikes -bootclasspath /usr/share/classpath/glibj.zip Hello.java
    It’s a bit ugly because you’ve to tell jikes where the class library is. Anyway, you can write a shell script call “javac” like this,

     #!/bin/sh
    jikes -bootclasspath /usr/share/classpath/glibj.zip "$@"

    Will handle our business just fine.

  6. Then, you can run your application in the usual way, i.e, java -cp . Hello

If you want to see some picture, look at this (link from http://homepage.mac.com/robert.lougher/).

    Series of blogging on Java and iPhone/iPod Touch

    Posted in iphone, ipod touch, java | No Comments »
    Dear,
    I’m gonna post a bunch of blog entries on Java and iPhone/iPod Touch
    for now. I’m working on a project which will use Java and iPhone/iPod
    Touch, so I’d like to put down my experience, and share with you guys.
    That’s all this is about.

    movement

    Posted in Uncategorized | 2 Comments »

    ตัวปลอม

    Posted in Uncategorized | 3 Comments »

    เปลี่ยนแปลงตัวเองให้เป็นเหมือนเขา ไอ้ตัวจริงเรามันไม่เข้าที
    ต้องเป็นตัวปลอม ต้องยอมโดนย้อมตัวจริงที่มี หากเธอว่าดีก็ดีเชื่อเธอ

    แต่บางครั้งน้อยเนื้อต่ำใจ อยากกลับไปเป็นคนเหมือนเก่า
    อยากจะฝืนเพื่อเขา แต่เราไม่เคยสุขใจ

    * จะยอมทำตามตัวเธอทั้งๆที่ใจ ก็อยากเป็นตัวฉันเองไง
    ดูโทรมเล็กน้อยหัวใจ ไม่เปลี่ยนแปลง
    แต่เธอไม่เคยจะแคร์ว่าแท้ๆข้างใน เหนื่อยหน่ายเต็มทนทุกทีไป
    เธอเคยรู้ไหมใจจริง สิ่งที่สำคัญ

    ผ่านมาเนิ่นนานฉันยังสงสัย เกิดมีวันใดใจหมดเรี่ยวแรง
    ที่เคยยอมทนที่เคยสับสนมันมีเส้นแดง บทเรียนคงแพงหากเกินเส้นไป

    อยากให้รักๆฉันข้างใน สิ่งนอกกายมองไปแค่ผ่าน
    อยากให้รักนั้นหวาน บอกกันก็ยังไม่สาย

    ** ก็เกมที่เธอเป็นคนคิดค้นให้ทำ ผิดถูกยังไงชี้นิ้วนำ
    เธอลองถามฉันสักคำ ไม่เคยมี
    อยากหลบไปเลยบางทีทุกครั้งที่เจอ ก็เปลี่ยนไปตามสังคมเธอ
    เวลาชะเง้อตามเธอ เหนื่อยจนท้อใจ
    *,**

    I’m a colon

    Posted in Uncategorized | 4 Comments »


    You Are a Colon


    You are very orderly and fact driven.

    You aren’t concerned much with theories or dreams… only what’s true or untrue.

    You are brilliant and incredibly learned. Anything you know is well researched.

    You like to make lists and sort through things step by step. You aren’t subject to whim or emotions.

    Your friends see you as a constant source of knowledge and advice.

    (But they are a little sick of you being right all of the time!)

    You excel in: Leadership positions

    You get along best with: The Semi-Colon