Aug 17, 2011

Water 5

Watering~~~

==========================About CS3216============================
It seems that Prof Ben will really read every post.
If such a busy person could read every post, why can't I write a post every day to record my life of CS3216? In fact, everyone should try that as the best feedback to Prof Ben, isn't it~~~

Anyway, I almost coded for over 8 hours today same as my teammates...
Sad Story....
In the past 2 days, I tried to learn and use PHP. Luckily it could work. However it always has the auth error. I did hate that... Then the solution is to post signed_request every time when I change to a new php file.

As long as it works, I don't care about whether it is nice code or not at this moment.
But today, after discussion, we realize that js could provide really nice html design and animations.
Hence the whole php should integrate into js. During the integration, many errors occurred. Errors from facebook, errors from php and errors from js. Everywhere there could be an error.... Lucky we did not integrate with database now...

Finally, we gave up php and rewrite the code in js...
It seems that js is really better than php....
It also means that I need to spend another 2 days to learn js and the fql which does not look good.


==========================Other things===========================
printer fixed... I did not use my printer for about half year because of paper jam.  today i have to call the service. How stupid i am ... really a "machine" idiot... (not according to the machine definition in three idiots)

three door problem is still confused me... hope that someone could finally give me a convincible explanation.

P.S. just realize that I can not code too much a day. It is better to code for 2 hours and do something else. otherwise, I will really get phd (permanent head damage... no offense to really PhD. )



3 comments:

  1. It seems that Prof Ben will really read every post.

    Apparently he does. :-)

    Hence the whole php should integrate into js.

    Have you seen node.js (http://nodejs.org/)?

    ReplyDelete
  2. "It seems that js is better than php"

    You're wrong =p

    JS can get really troublesome, especially when you don't have javascript console. But nevertheless, you'll still need to configure a lot more than PHP.

    I like JS, though =)

    ReplyDelete
  3. @justhalf
    Yes, now I know it could be very tricky....

    ReplyDelete