[aklug] Re: Aggcck! Homework!

From: Kenneth D Weinert <kenw@quarter-flash.com>
Date: Mon Oct 05 2009 - 08:41:12 AKDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Howard wrote:
> I'm getting kinda tired of this homework thing. I'd like to write a
> script to do my homework for me. Could somebody flesh this out for me?:
>
> [code]
>
> #!/usr/bin/env perl
>
> while(<HOMEWORK>)
> {
> if($_ != DONE) {
> $finished_homework .= process($_)
> } else { $finished_homework .= $_ }
> print $finished_homework;
> play_video_games();
>
> [/code]
>

Well, the problem I see here is twofold:

1) you're still not playing video games until *after* the homework is
done - some parallelization seems to be required here.

2) you have the computer playing the video games - where's the fun in that?

:)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrKIagACgkQH0OpnUzq8fCYyQCaAzlhv8dE8FB02gM5K2Xw7q/I
NFMAoK5q1TRK8I3I2gJqV+4H+ZtzfhFR
=ufa0
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Oct 5 08:41:24 2009

This archive was generated by hypermail 2.1.8 : Mon Oct 05 2009 - 08:41:24 AKDT