Wasting my time… Writing on a blog.

My page of ramblings

CMPT 275 is horrible March 29, 2009

Filed under: Uncategorized — jordoex @ 9:40 pm
Tags:

I will never know why you’re expected to use the mass of useless documentation to complete an implementation in 2 weeks.   AAAAAAAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGG.  I’m stressed.  I wish we could use TDD or some other kind of sane dev model that’s nothing like waterfall.

 

Procrastination March 25, 2009

Filed under: Uncategorized — jordoex @ 2:17 pm
Tags:

I’ve gotten into the habit again, but most people probably lapse in it too.  I’ve wasted alot of time.  And it sucks.  So, yeah, this is another rushed daily

 

Ummm March 18, 2009

Filed under: Uncategorized — jordoex @ 2:16 pm
Tags:

I had an idea of what to write when I was falling asleep last night, be now i’ve forgotten.  Oh well, I need to write something for my CMPT 376 daily, so this is it.

 

Java and its wonderful graphics class March 16, 2009

Filed under: Uncategorized — jordoex @ 2:22 pm
Tags: , ,

I could probably implement an entire windowing system using just java Graphics2D primitives.  They’re so useful, probably one of the best things designed right inside a language.

However, word wrap is a fairly annoying thing, but at least I found a code snippet that outlines it better than my original idea here.  It’s kinda ugly, but still not nearly as ugly as what you have to hack with c strings.

Here’s my slightly different implementation; it’s still pretty much the same, and i’m still gonna tweak it a bit more.  I’m just glad it works.
(more…)

 

Snow and translink March 9, 2009

Filed under: Uncategorized — jordoex @ 1:25 pm
Tags: , , , ,

I love snow.  Some people saw they love snow, but only on the mountains; however, I love snow anywhere.

However, I dislike people who are incompetent around snow, nameliy translink.  My bus to get up to SFU today was half an hour late, straight out of the station.  Also, when a bus is that late, it’sll get extremely slowed down during the route, so it arrived 45 munutes later than it should have been, effectively doubling the trip time.

At least I didn’t have my midterm during my first class, and Brad Bart is apparently going to repeat the lecture on Wednesday.

 

Hello world, March 4, 2009

Filed under: Uncategorized — jordoex @ 8:00 am
Tags: , , , ,

says my server.

I set up DNS and port forwarding stuff on my server so now I can connect to it from the internet!  Yay.

It probably won’t be online most of the time, and all that’s there is a php test page and connection for me to ssh when I’m bored.  And I’m not telling you the ssh port.  It’s not 22.

 

Yawn March 2, 2009

Filed under: Uncategorized — jordoex @ 3:05 pm
Tags:

I enjoyed my weekend.   This is really just another placeholder for a CMPT 376 daily.

 

I still hate C strings February 25, 2009

Filed under: Uncategorized — jordoex @ 10:32 pm
Tags: , ,

I present: substrings

char str_pid[strlen(msg_in.buf)-2];
sprintf(str_pid, “%.*s\n”, strlen(msg_in.buf)-3, &msg_in.buf[3]);

It’s just so ugly, why can’t they at least provide a sane substring class

God bless C++.

 

Java gui layouts February 23, 2009

Filed under: Uncategorized — jordoex @ 11:09 pm
Tags:

The default Java gui layouts are horrible, Qt’s makes way more sense. I wish I could use Qt Jambi for my cmpt 275 project, but noone else cares enough to not use swing

 

MP3 Players February 18, 2009

Filed under: Uncategorized — jordoex @ 10:31 pm
Tags: , , ,

Proposition: An iPod shuffle is overpriced

Fact: I got a $15 2GB mp3 player on Saturday (normally $30 at NCIX; the player is made by Philips)

Fact: A 2 GB iPod Shuffle costs $70

Q.E.D.