Skip to content


Career advice in Academia

This set of talks is rather interesting:

http://www.youtube.com/user/universityaffairsca

Posted in Information. Tagged with , .

Flash 9, 10 SOL Editor

In an effort to try and debug my SOL file, I googled around and found a SOL editor called Minerva that works for Flash 9+. Its based on Air, so you need to install both Air and the Editor

Posted in Personal. Tagged with , , .

Gallery is now full of photos..

Finally got around to upload all my photos to a single location, sort them by date, and cataloged by location!

Check them out at http://ucla.jamesyxu.com/?page_id=33 or http://gallery.jamesyxu.com

Posted in Personal. Tagged with .

Extracting xp3 files

To extract xp3 files, download the latest version of crass (version 0.4.13.6 listed below).

Most xp3 files are encrypted these days, so:

  • launch CrassGUI
  • press Advanced
  • go to the game location, see if there is a .tpm file
  • in Param of Crass, enter tpm1=PATH TO TPM
  • select source xp3
  • select destination
  • extract
  • If the above doesnt work, try changing param to tpm2=PATH TO TPM

Download Link

Posted in Technology. Tagged with , .

Crazy shirt folding haha, got to try this

Behold!

Posted in Rant. Tagged with , .

Opinion on Windows and OpenSuSE 11.3 on my new Macbook Pro 6.2

So I have been using my new Macbook Pro 6.2 for a while now, mostly under OpenSuSE 11.3. Thought I’d post my opinions, note that a lot of these are not about the MBP:

  • Windows 7 (64bit) is better than vista, but the font on it absolutely tanked. I had to turn off every trace of ClearType, and some parts are still blurry (mainly system menus etc). The whole OS otherwise feels smooth and well polished. But seriously, just that font is going to annoy me to no end since I have to stare at text every day
  • OpenSuSE, and linux in general has come a long long way. I don’t recall the last time I reinstalled an OS to a version up and thought oh wow! 11.3 is absolutely brilliant! Font is smooth, animation is now integrated into KDE 4.4, everything looks well refined and the overall user experience is very high. Oh and BTW sleep now works!
  • Given the above, Linux is still not for the average user. I ran into a number of problems during installation, and many steps used to solve these problems is probably outside what a normal user would consider. But man once its running its awesome
  • Thoroughly impressed with KDE. There were alot of bad publicity about KDE 4.0 and 4.1, but thats really unwarranted. 4.0 was for developers anyway, but I think the move to promote 4.0 over KDE 3 a few releases back put alot of people off. It’s now running very well, fast and stable. Gnome in comparison is definitely showing age.
  • Some weird quirks still remains on my linux install:
    • The speaker makes a sparky sound when the machine is turned off (or the instance that its turning off). No idea what it is, and I don’t really feel like finding out
    • Every now and then, GRUB would complain that it cant find sda3 (where my linux is installed). Restarting the machine works fine. I think this is just a common problem. Windows sometimes also do not boot because of the same error. Just happens alot more on opensuse.

But yeah, everything is now up and running, have VMWare, MATLAB etc installed on Linux, a XP Virtual Machine, Windows 7 64bit native via bootcamp, and Mac OS (for updates.. otherwise it would be gone). Just got my bash and vim profiles migrated so now i have the same alias and hotkeys too 😀

Oh and on another note, the shiny screen doesnt seem too bad.

Posted in Rant. Tagged with , , .

Setting up GA for multiple subdomains

I have a few sites hosted different sub domain names, recently decided to start using Google Analytics. Here are the steps:

  1. Create a profile for the master site (ie www.jamesyxu.com). The funny thing is if the site is setup so that jamesyxu.com redirects to www.jamesyxu.com, then it is counted as a redirect.. Oh well
  2. In the screen where GA shows the code to copy, pick multiple sub domains on the left
  3. Paste code to all the sites
  4. In the main profile, add Filter, Custom, Advanced, Field A->Extract A Hostname enter (.*), Field B->Extract B Request URI enter (.*), Output ->Constructor Request URI, enter $A1$B1
  5. A required, B not required, Override output, Not case sensitve
  6. Now on the master profile , create a sub profile for each sub site.
  7. For each of the sub site profiles, add a Filter, Custom, Include, Field Type Hostname, enter subdomain\.domain\.com, not case sensitive

Now wait a day, and GA should start reporting

Posted in Technology. Tagged with .

Google Analytics with AJAX calls

Right so been playing around with Google Analytics, and one of the problem I had was that I can’t track AJAX calls, since they do not reload the page, and even if the ajaxed in content has GA it will not be executed anyway.

Google’s own documentation, as well as a few blogs out there suggests the use of

pageTracker._trackPageview(pageName)

But ever since Google moved to ajax async tracker, this no longer works, instead do the following:

_gaq.push(['_trackPageview', URL);

Basically we want to call this to add a new page onto the tracker’s send queue everytime we ajax in a content we want to track.

Posted in Technology. Tagged with .

Weyburn Terrace

Anyone else?

Posted in Living. Tagged with , .

The day draws near!

We are in the same month now! 2 more weeks and I’m off to the States. I think I can summarize my current feelings as:

  • Inadequately prepared, I’m missing some pre-reqs, and I’m pretty sure no one else going there would have this many gaping holes…
  • Amused, this whole moving away thing is funny
  • Interested, be interested to see how well I get on

Interests in research aside, the current pressing concern for me is to actually do well in these courses so I can even begin research

Posted in Rant. Tagged with , .