The Week in Review...

posted: Fri, 21 Nov 2008 18:41 | filed under: / / / | permalink | Tags: , , , , , , | Comments: 0

Time for me to enumerate a few things that have happened of late (in reverse order of occurrence, naturally), since it now seems like the time to do so.

Uni

I handed in my Computer Science term project today, which, I suppose means that my academic year is now complete. I'm fairly happy with how the semester's progressed, every unit that I studied (including the two that I chose on a whim) has been excellent, which is more than I can say for previous semesters. Analysis (Real analysis to be specific) was absolutely fantastic, and I'll be doing my best to enrol in the follow-up functional analysis unit (I've had it suggested to me by several people, and I'm convinced), and it's certainly made the maths major I'm now enrolled in seem like a very good idea.

As far as I can tell, exams went well, but I won't know for certain until results are released next week (I'm very confident with my two maths units, Graphics is a different story (though I don't recall doing as badly as the lecturer claims the class as a whole went)).

TUCS

In other (though slightly Uni-related) news, TUCS (The UTAS Computing Society) had its Annual General Meeting for 2009 last week, and as well as discovering the joy of barbecued* Woolworths' Quantity Burgers (they're excellent, really!), I was elected society president for 2009. The rest of the exec are also a truly awesome bunch of people, so the future certainly looks bright.

TUCS T-shirt

TUCS has run some excellent events in its inaugural year: our tech talks were, in general, wildly successful, amongst other things. Thanks to that, we've become what appears to be one of the most active societies on campus. I'll be doing my best to make sure that we can replicate, or even better that next year. (If you're a speaker, or know any good ones, and would like to give a talk, let me know!)

In related news, we also took delivery of some particularly awesome TUCS-Branded T-Shirts just after exams -- we're particularly happy with how that went and will probably do it again next year.

(*I will definitely be approving funding for a new barbecue for the society... the current one is truly dreadful)

LCA

Last week-ish, I had dinner with some members of the Linux.conf.au organising committee. Though much of what was discussed must be kept under wraps (it's thoroughly exciting, I promise!), I can tell you that the conference is shaping up to be most excellent, and if you haven't already booked your ticket, I suggest you do so as soon as possible!

That is all for me for now, more news as it comes (I hope!)

Meme #42

posted: Fri, 14 Nov 2008 18:02 | filed under: / / | permalink | Tags: , , | Comments: 1

Well, I've decided to do the Book Meme from PLOA and Planet Debian etc... Just recapping for those of you who haven't seen it yet (not many of you):

And mine is:

It is possible to prove that if such a nontrivial square root of 1 exists, then n is not prime.

-- Structure and Interpretation of Computer Programs, Second Edition.

Fun with Sockets

posted: Tue, 28 Oct 2008 22:06 | filed under: / / / | permalink | Tags: , , | Comments: 2

Whilst doing some coding today for my semester research project I found a need to check for incoming data on a socket without taking any data out of the stream. Here's the code I came up with:

     
cp.sock.setblocking(False)
try:
    cp.sock.recv(0)
    stuffwaiting = True
except socket.error:
    stuffwaiting = False
cp.sock.setblocking(True)

This code works finely on Linux -- you can only receive data if there is data to be received (even if you want to receive no data). Unfortunately, the code doesn't port to Mac OS -- you may receive as many bytes as there are in the socket's buffer -- if there are no bytes in the buffer, you can receive 0 bytes. Therefore, the following fix is necessary:

     
cp.sock.setblocking(False)
try:
    cp.sock.recv(1, socket.MSG_PEEK)
    stuffwaiting = True
except socket.error:
    stuffwaiting = False
cp.sock.setblocking(True)

So, my question for Lazyweb is: is there a better way to do this?

Merging

posted: Sat, 25 Oct 2008 13:37 | filed under: / / / | permalink | Tags: , | Comments: 8

A question for my interstate readers: Has anyone seen the following lane structure outside of Tasmania?

(If anyone wants to guess what the correct procedure is in such a situation, you're also welcome to do that)

LCA2009 -- Registered

posted: Mon, 13 Oct 2008 10:02 | filed under: / / | permalink | Tags: , | Comments: 4

LCA 2009. I'm registered. Are you?

ICPC 2008 Final Results

posted: Thu, 18 Sep 2008 13:16 | filed under: / / / | permalink | Tags: , , , , | Comments: 3

The 2008 ACM South Pacific Programming Contest Results have been confirmed: my team's come 3rd overall (as expected). We find out whether or not we've achieved a wild card position in the World Finals in December.

The Mehffort Musketeers

A brief (though complete) history of "Mehffort"

posted: Sun, 14 Sep 2008 11:11 | filed under: / / | permalink | Tags: , , | Comments: 0

For the benefit of those who were intersted, Mehffort is a portmanteau of meh and effort, and is a very popular word in the semester 2, 2008 Maclab dialect of English. It is used to convey one's lack of motivation towards a particular task. In context:

As proud denizens of the Maclab, my ACM ICPC team for this year decided to adopt the word as part of our team name.

ICPC 2008 (huge success)

posted: Sun, 14 Sep 2008 10:56 | filed under: / / / | permalink | Tags: , , , | Comments: 1

The ACM ICPC South Pacific Region was on yesterday, and was great fun (as usual). My team this year, the Mehffort Musketeers consisted of Alex Berry (who'll be competing in the Google Code Jam regionals soon as well), Michael Ford and myself.

For the benefit of people who did the ICPC this year: I solved problem A, C and I; Michael solved B and D, and Alex solved E, F and H. Here's some general commentary on the problems that I solved:

As alluded to earlier, we solved 8 problems, and we're currently the only team to do so with the testing data used on the day (this means that we're in a provisional first place), however, there are many teams who are likely to get problem C rejudged, and following that we'll likely be third. More news to come.

Large Hadron Collider

posted: Thu, 11 Sep 2008 09:21 | filed under: / / | permalink | Tags: , , | Comments: 1

I found this very useful news service today, at HasTheLHCDestroyedTheEarth.com. May you find it informative.

Debian Lenny+1: Cool for Cats?

posted: Tue, 02 Sep 2008 09:54 | filed under: / / / | permalink | Tags: , , | Comments: 1

So the new version of Debian is to be known as Squeeze, eh?

Does anyone else think of a certain 1970's British New Wave group?

Page 1 of 16  >>