Powered by glolg
Display Preferences Most Recent Entries Chatterbox Blog Links Site Statistics Category Tags About Me, Myself and Gilbert XML RSS Feed
Saturday, Sep 29, 2007 - 18:51 SGT
Posted By: Gilbert

- -
I Am So Screwed

Read it and weep...


Then again, it probably isn't hopelessly bad. So... in the short term (up to Friday) - Mug a bit for CS3212, flesh out my mostly-done EC3333 assignment, type up yet another one-pager, but most of all get down to that ORTS Simulator like a man possessed.

Next weekend should be fully burnt up on the UROP Literature Review. Two intense days should do it. One night for the Money & Banking midterm should be par for the course from what I see so far, and a few more for Financial Econs is good.

The fortnight after that should be more relaxing, with just the one essay (and probably an AI Assignment), though with video editing for MNO1001. That's October for me. Ball sports on 19/26 Oct anyone?

Downloaded that academic staple, TeX, a few days ago after my grad student project mate in CS5340 insisted we use it for our report. A good Windows implementation is MikTeX, though it weighs in at 566MB for a complete installation (ouch!). Got TeXnicCenter (4.7MB) as my IDE after that, and it indeed integrated seamlessly with MikTeX and made conversion to PDF a charm.


Note the ubiquiteous Computer Modern TeX default font, seen in lecture notes and research papers everywhere

Joined Facebook (yes, behind the curve again) to browse through some old 4O pics, and ended up experimenting with developing applications for it. The canonical FAQ for Perl development should be this (and it's only four months old!), and it's a pretty good start for the Perl platform.

As expected, CPAN has a Perl Facebook API (WWW::Facebook::API), but horror of horrors - I don't have the requisite permissions to install it on my hosted webserver. For pure Perl modules, this doesn't seem to be a problem since one can just copy the directory structure wholesale over to whatever directory your script is in, but this module appears to have additional C dependencies (which I don't have the rights to run either).

This would be no issue if I didn't want to have the ability to update an application box on the profile page, but that seems to defeat the purpose of a Facebook app. Undaunted, I delved into the Facebook Developers' Wiki, and after some digging figured out their bare-bones communications protocol at their Authentication Guide page.

Essentially, one can bypass the API library by opening a POST connection to their REST server at http://api.facebook.com/restserver.php, and just feeding it the appropriate requests as per a normal web form. For example, to display something in the app's profile box, one would just use the method profile.setFBML by having a parameter method=profile.setFBML, and insert the desired FBML (really just HTML most of the time) in the markup parameter as explained in the API definition.

There was a little issue with URL encoding the strings, and sourcing out a pure Perl MD5 hashing function, but once that was done it was a simple matter of using the handy old LWP module that I've been using for quite some time in slurping data off Hattrick and building metasearches (Status: broken due to changes in Google and Yahoo search page HTML formats, ugh).

Thus, the moral of the story is that it is fully possible to develop a Facebook app without any special permissions or libraries, though of course it should be much more convenient with access to them. Not a shade on Mel, of course.

Those interested can check out my Generic Timewasting RPG app, though it doesn't do much more as of now than roll up and save a character. I'll get onto it in a fortnight (see schedule above). Not too bad for half a day of scrabbling from scratch, I suppose, so I was rather surprised when page 45 of today's Straits Times screamed out Facebook course a hit at Stanford varsity. I dunno, one doesn't really need a course to learn this, but then again that's true for almost everything Computing. You just need Google as your personal bestest friend.

On social networking websites in general, I wonder if there's a market for a meta-site that automates registration for every major site at once. And before I forget, I paid the experiment cash to CSQ yesterday. Thanks to all those who flooded my Gmail with Facebook photo tag announcements, too. I really mean it. Thank you all.

IFUL.

On to EPL previews, Arsenal yawned their way to a complete drubbing of Derby last week at a very generous 250% return to pull me up to $725.90/$850. In the red, but looking up. Nothing so glaringly obvious this week in Round Eight, sadly:

Manchester City vs. Newcastle

Drawish, but no bet.

Portsmouth vs. Reading

Home win, Pompey look awfully solid at Fratton Park and Reading are going through a sticky patch. 2-0?

Wigan vs. Liverpool

Pool have gone from title shoo-ins to being disoriented from all that spinning, thanks to Rafa's Rotations. As a United fan, I should hope for Benitez to muck it up and rest Torres again, but something tells me that he won't be so silly - or will he? Actually, I could be tempted to given the opposition. Twice bitten, thrice shy, though, and Pool should get back to winning ways regardless. 0-2.

Chelsea vs. Fulham

It's getting mournfully quiet after Mourinho's untimely departure, and United winning a penalty en route to beating the Blues just isn't the same without him. While new coach Avram Grant's wife looks set to stand in as the new media attraction, Grant himself may not be a worthy replacement, not the least because he hasn't even gotten his UEFA Pro License. I sense that Abramovich doesn't really care, though, and is more than happy to have a frontman while he starts off a real-life round of Football Manager.

They are likely to remain too strong for Fulham, though. I call it 2-1.

Derby vs. Bolton

My favourite whipping boys feature again, against a woeful Bolton who have lost all three away games so far. Both desperately need the points, but the moody Anelka - the only player they have between them that I really rate - should make a difference. 0-1 Bolton win.

Sunderland vs. Blackburn

Two former United legends go head to head as managers. I would say I'll keep clear out of respect, but to be honest I just don't know what to make of this one. 1-1 looks good.

West Ham vs. Arsenal

The Hammers have a great record against the Gunners, and have been performing pretty well lately, but if Arsenal continue at present levels I don't see history repeating itself. I do see Arsenal chugging along for a while more, so 1-2 to them.

Birmingham vs. Manchester United

Can't argue with five wins and five clean sheets in a row, even if their reserves got spanked by Coventry. Birmingham are a tough nut as Liverpool found out last week, but watch out for another 1-0 to the United. Can't expect much more the way they are playing now.

My Picks:

$50 on Portsmouth to beat Reading (at 1.70)
$25 on Bolton to beat Derby (2.45)
$25 on Liverpool (-1.5) vs. Wigan (2.45)



comments (2) - email - share - print - direct link
trackbacks (1) - trackback url


Next: Beatup but Upbeat


Related Posts:
Invisible Character
App One TA One
Clearly Improved
Urgh
Round round

Back to top




2 comments


c.wenhoo said...

I saw your schedule and laughed
glad to be an arts student
asteriskjabs chest proudlyasterisk


September 29, 2007 - 22:44 SGT     

gilbert said...

actually, i will have you know that i am officially a fellow arts and social sciences student too...


September 30, 2007 - 02:52 SGT     


1 trackback


Trackback by google keyword tool

google keyword tool - [bert's blog]


June 16, 2014 - 22:11 SGT     


Copyright © 2006-2025 GLYS. All Rights Reserved.