All posts by Kiwi

大学第一年,活得太快了!

不知不觉就过完了大学第一年…
现在回头看那一年,感觉真的是活得太快了!
快到几乎连喘气,把生活记录下来的时间也没有~
也因为这样,也渐渐忘记了最初的目标…

透过最近读的一本书《Show Your Work》

发现没有记录(Documentation)的生活是不行!
所以乘着放假,花了一段时间整理这一年的东西…
还有纽西兰所经历的一切~
希望能把整个生活记录起来,及有效有意义的show出来!

那现在就是show case的时间! 这一年基本上有好多的事件:

  1. IVCC 圣诞晚会
  2. 中秋园游会
  3. 新加坡之旅
  4. 华文周
  5. 华文班Poster
  6. KL 寻友记
  7. IVCC 一学期的组长

哇!这样一看还蛮多帖子要处理的~
而且再加上那时纽西兰一个月的环岛…
如果这个长假再不处理可能就永远不会出来了~

不过现在也面临着好些挑战,那就是

  • 去台湾做交换生
  • Big Data 程序设计竞赛,去台湾的管道

总之这个假期不可以太悠哉了!为梦想而努力吧!

The 3n+1 problem

Since I have a low budget for Taiwan,
This Big data competition is an opportunity for me, but it also very challenging!

Just like the word, Big Data = Big size data which content main 4 Vs as shows as below:

ibm-big-data
C
redit: http://www-01.ibm.com/software/data/bigdata/

As software engineer, Our main work is to optimize the 4 Vs when compute the data.
Which mean we have to compute the different kind of large data with high speed and high accuracy.

What make it so challenging is because I just stepped into this field 2 weeks ago, and the algorithm inside is ultimately hard.
Most of them require Artificial Intelligence(AI), and it is my third year course!

Let’s have the most basic example given by the competition organizer——3n+1 problem.

  1. Select a range of data from 1 to 1,000,000 (Eg: 1 to 100)
  2. For every number(n), apply the following rule:
    1. if number is even, divide itself by 2 (n/2)
    2. if number is odd, multiple by 3 and plus 1 (3n+1)
    3. every operation(n/2 or 3n+1) mean 1 cycle.
    4. if the result is not 1, repeat step (a), cycle increase by 1.
    5. if number is 1, stop and continue next number.
  3. Between the range, the program have to display the highest cycle for that particular number.

If you don’t understand, can click here for full question.

As programmer, we’ll normally choose a while loop or a for loop and compute every data.
But since it’s a competition, ordinary solution will just kick you out from the list.

After discussing with friend and some on-line study

the better solution is let the program remember the number of cycle which it already compute before.
Mean, the program will become faster(clever) every time it complete a number.
In another word, an AI program.

So does it make a different? Here is the result:

3n+1

(ignore the wrong answer)
First is a while loop, third is a for loop and last one with memory.

Can you see it such a huge different?
Let scale this up to the real world big data such as Google or FB:

If applying ordinary method,
FB needs 1 minute to load your news feed from database…
With some AI algorithm, the time reduced to 3s for the same operation.
And the beauty of AI is: the more you use, the faster it become!

Now does it make scene for you?

The world’s data is continue growing and expanding.
I believe in the future world, there will be huge demand within this area.
So I really have to start learning now.

However, the example is just an entry question and it already took me a few days to figure it out.
There are still so many things for me to learn.
I hope I can apply AI algorithm in my brain also, the more I learn, the faster I can catch.

Fighting for Exam, Fighting for Big Data, Fighting for Taiwan!

Taiwan, here I come!

No e-mail notification but saw it from database.
Not fully confirm but most probably it’ll come true!

Saw this exciting news from National Taiwan University Student Exchange during the fight with hardcore Mathematics.

Taiwan

It’s about time to prepare myself for another long trip!
Maybe I have to stick on a really low budget due to limitation of sponsor.
But I still believe that God will provide everything.

I just have to stick my eye on him and my target——The Cloud Computing Era!

Fight for final, fight for competition, fight for big data, fight for Taiwan!