Time is relative

Today is Friday (29th Jan). Monday (1st Feb) is effectively 3 days away. Thursday 2359 (28th Jan) seems like yesterday. Wait.. it was just yesterday.  January is coming to and end. I couldn’t agree more that time is seriously relative . So little time so many things accomplished. Second semester of Year 4, shiok lar!

Past Monday half of my 2nd milestone in CS3216 will be done. On to GWave….

However, the present frame requires me to cross Saturday and Sunday, two huge mountains. Now I feel like a mountaineer.

People asked,

“Why are you so energetic and passionate all the time?”.

..because I draw my energy from an eternal source.

It reminds me of an old chinese chorus that I used to sing that’s adapted from Psalms 121.

我 要 向 山 举 目 ; 我 的 帮 助 从 何 而 来 ? 我 的 帮 助 从 造 天 地 的 耶 和 华 而 来. (詩 篇 121)

here’s the English translation:

I lift up my eyes to the hills—where does my help come from? My help comes from the LORD, the Maker of heaven and earth. (Psalms 121:1-2)


Dr. Foood knows what you ate last supper!

There goes another milestone in CS3216. No… I refuse to accept it as an end, it’s just the beginning. I have great faith in the app that we’ve built. I think it has real great potential. We’re leveraging on the power of crowd wisdom. Dr.Foood intelligence is more or less determined by the players themselves, thus, the user decides how fun or !fun the games is to be.

I’m gonna continue to develop this app, so does WyeMun. That would mean that I would need to brush up my PHP and Actionscript 3, that is on top of FBJS & Javascript. I can do it!

Next up – FB Seminar. I can foresee another sleepless weekend. But seriously I’ve never felt so energetic and passionate before. “This is the best module I’ve taken in my 4 years of NUS”, so said DingYan. I couldn’t agree more.

Try to outbeat Dr.Foood here if you haven’t yet.I Know What You Ate Last Supper

Cloud Computing & Amazon Web Services

Today we have a Technology Evangelist Simone Brunozzi from AWS to come talk to us about AWS and Cloud Computing.

The evangelist just touch down in Singapore 4 days ago. Like many other incidence, he is shocked by our awesome-humid climate. For some reason, someone told him that he’s seeing Winter. Ha. Welcome to Singapore!

Half way through, Prof. Ben asked about Dynamo(?). A simple Googling found me this

Dynamo is a highly available, proprietary key-value structured storage system [1]. It has properties of both databases and distributed hash tables (DHTs). It is not directly exposed as a web service, but is used to power parts of other Amazon Web Services such as S3 [2]. (http://en.wikipedia.org/wiki/Dynamo_(storage_system) wikipedia)

Ok, I still have no idea what this is?

monolithic? micro kernal? I heard Chee Eng talked about the battle between Linus &  Andy Tanenbaum.
Turing. (EDIT: Thanks Prof. Ben for pointing out that it was Andy not Turing) However, I don’t remember the terminologies.

“Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.” – Andy Tanenbaum

Simple solution for seemingly complicated problem -> Amazon Import/Export
Shipping the Hard Disk to AWS and AWS will plug it into the Cloud. This sound like an interesting option for EusoffWorks Long Term Archive. After all, we have 15TB data to store. How much will this cost? EDIT: a simple check on the official site shows that it’s only available in US Standard and EU (Ireland) Regions. It will be really good if Singapore or NUS has its own cloud up soon. Hopefully it’ll have a similar feature. It sounds more feasible this way.

Content Delivery Network (CDN) = Proximity as a solution

A content delivery network or content distribution network (CDN) is a system of computers containing copies of data, placed at various points in a network so as to maximize bandwidth for access to the data from clients throughout the network. A client accesses a copy of the data near to the client, as opposed to all clients accessing the same central server, so as to avoid bottleneck near that server.

Content types include web objects, downloadable objects (media files, software, documents), applications, real time media streams, and other components of internet delivery (DNS, routes, and database queries).

Amazon CloudFront -> Cloud CDN
Awesome ->8 server in the US, 4 in Europe, 2 in Asia. Well, if our facebook app grew to such a stage where we’ll need a CDN, this sounds like a good idea. However, I think I’ll still need to check the pricing.

Amazon EC2 = Virtual Machine for virtual server

Amazon EBS = Elastic Block Store (1 to 1000GB)
EBS is redundant and persistent

The power of virtualizing.. the end-user will not even realize when there are hardware failures because the hypervisor acts as a shield to the hardware beneath. Moreover, there are a lot of backup/fail-safe mechanism that acts. Reminds me of the fail-safe mechanism in Atlantis @ the Pegasus Galaxy (Stargate).

One example of business that cannot use Cloud Computing -> Banks, where real physical wires are needed to connect the ATMs to the Data Centers. But can’t they connect all the ATMs to a cloud? Or even better -> add the Data Center off the bank unto the Cloud? Hmm…. don’t understand.

JianHong asked a question, I think it’s about the differences between  “Dedicated, Shared Dedicated and Shared”. Amazon EC2 is a Shared Dedicated system. “Shared system” shares everything on the physical machine, including processing power and RAM.

All in all, I’m overloaded with information. It’ll take some time to chew on it. However, time is not really on my side as Thursday is the due date for our Facebook App. Chiong ar……!

New Feature & Virtual Currencies

Facebook is launching a new feature:  Application & Games Dashboard. This is getting more and more interesting. Facebook is getting serious about the applications and games. Check out the post on the developer’s blog here.

Facebook Application & Games Dashboard
Grabbed from http://developers.facebook.com/news.php?blog=1&story=356

This morning during breakfast I found myself evangelizing Facebook apps and the inevitable trend of virtual currencies and virtual goods. To be honest, I don’t really understand why would anyone spend money for virtual goods at all. The person that I’m trying to “evangelize” has the same sentiment too. But I think it’s hard to ignore the obvious. Games like “FarmVille” and “CafeWorld” really does survive on selling virtual goods. And recently they even manage to raise funds (over 1 million USD now) for charity by donating 100% of the proceeds from selling a special themed item to the Haiti Earthquake relief fund, see here, here, here and here. Will this be the trend?

Maybe Augmented-reality will be able to bridge the apparent barrier between virtual goods and the reality. Something to chew on for today.

Oh ya, TalentQuest Audition in 4 hours. Chiong ar……


Mitsubishi Xtreme Photo Contest 3rd Prize
Mitsubishi Xtreme Photo Contest 3rd Prize

I got third prize for Mitsubishi Xtreme Speed Photo Contest. Third prize…. speechless. I still remember that day I dragged myself to the VSLR EOS Experience 1D Mk IV event, for some reason or another I didn’t slept well the night before and my alternate universe self might not be so fortunate if the decision was to stay in bed and sleep. I really have to thank NUS Photographic Society. For it was them who gave me the participant pass. And ya, the VSLR is awesome… I’m so gonna get one when I finally decided to buy a personal camera.

Of course, none of this is possible if it’s not because of  EusoffWorks. Ha, it was a Canon 40D and 17-50mm Tamron lens that empowered me that day. Not to forget the many events in Eusoff Hall that acts as opportunities for me to sharpen my photography skills. Finally nghuanjin for teaching me all about DSLR back in my first year after he himself learned DSLR just a month ago. Ha.

Principles of Software Engineering

I think the agile development cycle is cool – iterative development. I think that’s what we need for EusoffWorks IT wing. We’re too dependent on the Waterfall model. EDIT: After talking to CheeEng (the EusoffWorks IT-Guru), apparently it’s not that we are too dependent on the Waterfall model, it’s just that we don’t even have a proper development model OR the members are just incompetent to begin with… Oh well, maybe what we need is just someone to motivate them enough to die for the projects… like a certain prof that we know.

The major getback is the assurance for non-programmers that they are useful in this module.

Tankie – 3 men team

Next up, SCRUM -> very interesting. The important feature of SCRUM is the ‘sprints‘ – blocks of short time with a list of goals

Scrum -10 mins everyday (status update) 3 questions

  1. What have I done?
  2. What are you going to do today?
  3. Will any of my work done today affect anyone else’s work? OR Are there any dependencies before you can work on your part?

and so there’s a product backlog with all features listed down and priorities.

Will this work in our CS3216 or school environment? Just as Justin and Prof. Ben has mentioned, in this module, there’s not gonna be someone who’s just going to look at the spreadsheet and be the archer/sniper.So how do we integrate this?

Next up, yeemun(?) EDIT: wei man(thanks dingyan) a girl who worked in “Lucas film” on Star Wars: Jedi Alliance @@ as project lead. She shared her experience on Scrum project management.

Dialogue with Mr. Ong Peng Tsin

Who is this guy Mr. Ong Peng Tsin. More details @ the Facebook event. DISCLAIMER: this blog post was written during a lecture.

Honestly, I went into the dialogue session without any idea what it’s gonna be like. I would have guess what it is since it was prof. Ben who organised the dialogue. But seriously, this is effectively my first dialogue session with a successful entrepreneur. within the first few minutes, I know I’m in for a treat.

Just like the first CS3216 class, soon enough hard questions kept popping-up, e.g. “how do you define success?” “what’s your motto in life?” “how do you manage to overcome your biggest challenge in life?”. Mr.Ong answers all of them with no sweat. It seems like successful people always have a set of formula under their belt. For Mr.Ong, it is “Clarity”. a simple search in the eng-chi dictionary gave the chinese equivalent of 明晰. “Define clarity” on google gave it as “the state, or measure of being clear, either in appearance, thought or style. (wikitionary)”. It is of the clarity of purpose. It is about being clear that this is where I should be now, doing what I should be doing. That, I classify as good material for my mental acrobatics. We shall leave the acrobatics for later. Another key point that sort of hit me was Mr.Ong’s definition of Smart people. I don’t really remember why he attempt to define a smart person. I know it has to do with some engineering recruitment etc. But anyway, the first criteria is the ability to work with people, team-working skills. That’s true, as we all know 2 brains is definitely better than ONE, especially those who resonates. however this definition is everywhere. The thing that hit me was the second criteria – an inquisitive mind…. It’s about the natural curiosity about things around. It’s about asking the question WHY and the attempt to answer the question on our own. It’s about trying to figure out hard questions. According to these criteria, In a way a smart person is a person with clarity as well. Clarity requires a lot of consistent question answering.

With this set of formulae, I try to do some curve fitting with my experimental data (personal experience). Immediately, it’s intuitive that it’s a nice fit. this might sound like a brag but the immediate conclusion is that I’m smart! I believe most of us in CS3216 must be smart as well, if not we might not even pass prof. Ben’s recruitment exercise. As described in my “about joshuatj” page I love mental acrobatics, to a point I take it as my hobby (or sport). Essentially, mental acrobatics is my unique way to achieve clarity. It’s no too big a different from what Mr.Ong has described. That’s what I do all the time, I enjoy asking myself hard questions and attempt to answer them logically. (Thank God that I’ve met some rare individuals that can take my mental acrobatics e.g. Cheeeng and recently Kana and Raymond)

In a way, what I’m doing here is sort of like Thinking out loud (writing out loud?) and I really like this a lot. I called this “Output Learning”. I believe that unless I am able to put what’s in my head into words (saying it out OR writing it down), I don’t really understand what’s going on.

So now, the mental acrobatics, as Mr. Ong has said, startup is like an Extreme sport, if one is not ready, one shouldn’t jump into it so soon. However, I was taught to live a middle way  life 中庸之道. How do I balance this two apparent opposite polarity? Is extremity absolutely necessary for influencing others?

ah… and I found a transcript of another interview with Mr. Ong 2 years ago. That is after I wrote this post http://asia.cnet.com/blogs/geekonomics/post.htm?id=63007875

blippy – sharing your credit card transactions

now why would anyone wants to share their credit card transactions?

Blippy is a fun and easy way to see and discuss the things people are buying.

Automatically share your favorite purchases from iTunes, Amazon, Zappos, Visa, MasterCard, and more.


Look @ TechCrunch’s article