Curtis Lassam

C+ Programmer

Archive for August, 2006

What have *I* been up to?

Posted by lassam on Wednesday, August 30

So, my friend (Sarah) asks me to make her a website for her guild.

.. That’s what I’ve been doing. It’s here.

I tossed a mockup of the website Sarah’s way, and she liked it- Wine and black are always an attractive colour combination. The only problem is that her guild’s colours are black and blue… So, I put together a second mockup and haven’t seen Sarah since. No reason to cease work on the site, though.

So, first, I thought that I would do the thing in XHTML and CSS, because I haven’t tried XHTML, yet.  The only problem with that route is that it would require hand-coded XHTML and CSS- and while I know a bit of HTML, I’m much more used to assembling sites using Dreamweaver.  .. Wait, that’s not really a problem, I enjoy coding.

But I thought to myself: If I build it in XHTML, they will have to do all site changes through *me*. Either that or learn the markup language themselves.

Clearly, this site needs some sort of easy content management system. I decided on WordPress, because.. well, I’m familiar with it, and it’s opensource, with a robust theming system.
Unfortunately, the WordPress themes look a lot like blogs and very little like Guild websites- and even less like the bright theme that I designed in the first place.

Okay, so I want to fiddle with WordPress themes.  That means I need a working copy of WordPress on my own private server. Which means I need my own private server.
A few l33t hax0rz later, I’ve turned my backup, Ubuntu computer (“Virgo”, seen earlier as the box sitting right next to my good comptuer) into a LAMP server. (Linux, Apache, MySQL, PHP)- which is good, because now I can run WordPress off of it.

Okay, LAMP installed, WordPress installed.  Followed that up with phpBB, the forum system- because that also requires a LAMP server, and I have one, so why not? Okay, so now we have WordPress and a forum.. time to get my fingers dirty with the theme.

WordPress themes are written in PHP and CSS. I had to learn a bit of both to get things done: And it took awhile.  I took the “Classic” theme and changed the code a little here, and a little there.. eventually, the theme looked nothing like the way it originally did. By the time I was done, I had a much more solid knowledge of CSS – although because I did it via trial-and-error, some of the rules I could actually read about for greater knowledge.

To strip out the unwanted elements, I had to play with the PHP code- as an example, I didn’t want ‘post categories’- categories don’t belong on a guild website, just a blog. I found the code for that little bit and removed it.

After a few days of miscellaneous work, having almost completed the server/code/theme/etc.., I found myself wanting to show it to some people, possibly.

*/Confusing technical chunk/* Thanks to port forwarding (yay team router!) all incoming traffic on port 80 is automatically routed to my server- but for some reason, nobody could connect to my website from outside the home network. In fact, using Tor to scramble my IP and connect from somewhere else on the internet caused the system to choke, too. Oh my! It took me quite some time to realize that Telus blocks port 80 (as well as port 22, 23, 8080, pretty much anything that could be used as a server.) The only way around such a restriction would be to use an unblocked port- 8050.
On a side note, I wonder if Tor could be used to cheat the pants off of Google Ads? */Confusing technical chunk/*

That also explained why I couldn’t get SSH access to my Ubuntu box from anywhere but home- SSH port changed as well, to avoid future such issues.

So, having resolved all of the major problems with the site, so far, I feel it’s about time to .. uh.. find Sarah. Otherwise, who do I show it off to?

Posted in Uncategorized | 3 Comments »

What constitutes a ‘low’ GPA, anyways?

Posted by lassam on Wednesday, August 23

As of today (My marks came in) I am a third-year student at SFU- 67 credits constitutes over half of a CS degree!

It all goes so fast. Maybe some Co-Op will slow things down. Also? Money. I really don’t feel ready to leave university quite yet.. a little supplemental education in English, maybe some art and design…a little economics for the road… I’m dirt poor, but I’ve now reached the point where I can get a Co-Op job (I hope) and maybe pay for a little more University at a time. I’m sure my parents would be fine with my lazy ass hangin’ around a bit longer.

Currently, my GPA is 2.74, a healthy B-.
Is that dangerously low? I dunno, seems okay to me. And with over half of my degree done, nothing seems to be causing major fluctuations in it- I could probably swing a few D’s and C-’s without breaking my GPA much, although I can imagine such alarming marks might encourage more speculation in the brutally easy IAT courses, or maybe another History or Humanity.  Math courses lower my GPA, humanities raise my GPA, and my performance in CS courses has almost always been a “C+/B-” (Except in the first-year courses, but they don’t count because they were easy-breezy).

So, in summary:
Yay, third-year!
Boo, low GPA!
Yay, possible course-meandering!
Boo, no money!
Yay, Co-Op jobs!
Boo, not getting any Co-Op jobs! (yet)

Posted in Uncategorized | 3 Comments »

Snakes On A Plane!

Posted by lassam on Saturday, August 19

The movie was awesome, as expected.

I’m pretty sure Dylan wasn’t in the credits. I didn’t wait around for the whole thing.

Let’s celebrate with …

Raccoons on a Space Shuttle

Eagles on a Chariot (Long.. live.. MEGATRON!)

Sloths on a Tank (those.. magnificent bastards..)

Posted in Uncategorized | Leave a Comment »

Ick. Gothy.

Posted by lassam on Thursday, August 17

So, I’ve found a new comic, and I’m trying to decide whether to enjoy it or just be irritated.

See, ’cause it’s at heartshapedskull.com, and the whole thing is just so.. ‘emo’. Ick.
I mean, this is the whole thing that Sam Logan was mocking with his “Skull Panda Loves Kitties” concept.

On the other hand, the main character just defended turnips. That’s so a plus.

I’ll give it a few months to pan out, we’ll see how if it gets better or worse.

Posted in Uncategorized | 2 Comments »

Fridge Magnet Poetry

Posted by lassam on Monday, August 14

[relax]
[every][little][breath][can][be][a][frantic][torrent][or][a][slow][gentle][drink]
[beauty][is][languid] [never][fast]
[and][sex][will][give][in][to][love][only][if][you][let][it]

[so][whisper][softly][to][her][as][if][your][language][could][caress][her]
[kiss]
[lick]
[tease]
[purr]
[then?]
[mount][her][like][a][wild][animal]

See, it sounded all romantic, and then there was a surprise ending.
..  Yeah, there are a bunch of erotic magnets on my mom’s fridge. It’s possibly the only fridge that contains the phrases [worship][my][enormous][cock] and [pudding][is][like][sex][in][my][belly].

Posted in Uncategorized | 2 Comments »

OMG Scree! Kristopher Straub!

Posted by lassam on Friday, August 11

So, I’m noodling around in my wishlist, and I discover someone has left a message under my request for various Starslip Crisis goodies.  ‘Twas Kristopher Straub* himself, a veritable captain of awesomeness. (Perhaps even a major general of awesomeness; Kristopher Straub is to awesomeness as .. rank.. is.. to… oh, fuddle, I’ve botched a simile again.)

Now, as a intellectual, cultured individual**, this would usually be the time for a solemn, but moderately joyous “hm”.

But the avid web-comic-following-fanboy inside of me says only this: “OMG Scree! Kristopher Straub!”

* For those of you who don’t know who Kristopher Straub is, he makes the online comic “Starslip Crisis”, widely renowned for being the only funny webcomic set in the future. Go read it now! The link’s in my sidebar!…. Yes, I can wait.

** Sure, yeah, you laugh now. It could be true.

Posted in Uncategorized | 2 Comments »

A Legacy

Posted by lassam on Thursday, August 10

Who shall be replacing me as Humour Editor for The Peak next semester?

Why, Kellen Powell, of course!

I don’t know. Amanda thinks he’s hilarious. I haven’t seen anything that’s given me so much as a chuckle. Any thoughts?

Posted in Uncategorized | 2 Comments »

Rob is scary.

Posted by lassam on Thursday, August 10

So, I go to www.xore.ca, to see what Rob’s been up to, lately.

Apparently, what he’s been up to is hijacking my playlist, what with the Ladytron and the Kill Bill soundtrack and the Blur and the Richard Cheese.

Now, I could take this as a sign that he’s evil, or filter through his musical choices and try some music that I will probably like. I think I’ll do both.

Also, Rob is the one to thank for my never, ever imitating JFK from Clone High or generating a faux-flaming tone, ever again.  I needed to see someone else doing it to realize how irritating it can be.

Posted in Uncategorized | Leave a Comment »

Yay MySFU!

Posted by lassam on Thursday, August 10

So, I was trying to play with my list of mailing lists in MySFU, and I recieved this error.

Way to be elegant.

Internal error:java.lang.IllegalStateException: Cannot obtain globalId for an object which is registered in an other than the databaseContext’s active editingContext, object: {values = {fixquota = 0; pw = <class com.webobjects.foundation.NSData (offset=0, length=8, data=[84]‘T’, [-94]‘?’, [104]‘h’, [39]”’, [-2]‘?’, [-56]‘?’, [57]‘9′, [2]‘’)>; adminOverrideExpireDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; adminOverrideDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; history = “<ca.sfu.acs.amaint.AccountHistory 10e111d (com.webobjects.eoaccess.EOAccessFaultHandler _EOIntegralKeyGlobalID[AccountHistory (java.lang.Integer)83230])>”; physHomeDir = “/ugrad1/classam”; fixspool = 0; modemResources = “<com.webobjects.eocontrol._EOCheapCopyMutableArray 194b8f8 (<EOAccessArrayFaultHandler modemResources _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; forwardMail = 0; academicPlans = “<com.webobjects.eocontrol._EOCheapCopyMutableArray 86c81d (<EOAccessArrayFaultHandler academicPlans _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; sponsor = -1; quotaChanged = 0; migrate = 0; sections = “<com.webobjects.eocontrol._EOCheapCopyMutableArray 1a99544 (<EOAccessArrayFaultHandler sections _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; updates = “<com.webobjects.eocontrol._EOCheapCopyMutableArray 3557c (<EOAccessArrayFaultHandler updates _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; shell = “/bin/csh”; owner = “<ca.sfu.acs.amaint.Person 859af3 _EOIntegralKeyGlobalID[Person (java.lang.Integer)181701]>”; adminOverride = <com.webobjects.foundation.NSKeyValueCoding$Null>; testPwchange = 0; seymourPwchange = 0; maillists = “<com.webobjects.eocontrol._EOCheapCopyMutableArray 17fcdf1 (<EOAccessArrayFaultHandler maillists _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; gcos = “Curtis Lassam”; gid = 1000; homeDir = “/home/classam”; cipherPassword = “VKJoJ/7IOQI=”; destroyDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; createDate = 2004-06-26 00:54:27 Etc/GMT; accountClass = “U”; anon = 0; uid = 51191; mailserverPwchange = 0; contacts = “<com.webobjects.eocontrol._EOCheapCopyMutableArray c3e167 (<EOAccessArrayFaultHandler contacts _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; warnDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; loginMaillists = “<com.webobjects.eocontrol._EOCheapCopyMutableArray cb3bd0 (<EOAccessArrayFaultHandler loginMaillists _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; username = “classam”; webctPwchange = 0; adminOverrideReason = <com.webobjects.foundation.NSKeyValueCoding$Null>; catacombPwchange = 0; accountLists = “<com.webobjects.eocontrol._EOCheapCopyMutableArray e17436 (<EOAccessArrayFaultHandler accountLists _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; expireDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; status = “active”; comments = “<com.webobjects.eocontrol._EOCheapCopyMutableArray bc1031 (<EOAccessArrayFaultHandler comments _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; whistlerPwchange = 0; quota = <com.webobjects.foundation.NSKeyValueCoding$Null>; deleteDate = <com.webobjects.foundation.NSKeyValueCoding$Null>; aliases = “<com.webobjects.eocontrol._EOCheapCopyMutableArray fba8bf (<EOAccessArrayFaultHandler aliases _EOVectorKeyGlobalID[Login (java.lang.String)classam]>)>”; encryptedPassword = “R8mWfto3LyyvA”; }; this = “<ca.sfu.acs.amaint.Login 1587782 _EOVectorKeyGlobalID[Login (java.lang.String)classam]>”; }, databaseContext: com.webobjects.eoaccess.EODatabaseContext@84ce7a, object’s editingContext: com.webobjects.eocontrol.EOEditingContext@1b04321, databaseContext’s active editingContext: com.webobjects.eocontrol.EOEditingContext@1951b24

Posted in Uncategorized | Leave a Comment »

Last Comic As Humour Editor

Posted by lassam on Saturday, August 5

Posted in Comic Goodness | Leave a Comment »