[aklug] Re: Aggcck! Homework!

From: Shane Spencer <shane@bogomip.com>
Date: Mon Oct 05 2009 - 11:58:43 AKDT

Have you tried python?

On Mon, Oct 5, 2009 at 8:41 AM, Kenneth D Weinert
<kenw@quarter-flash.com> wrote:
> -----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($_ !=3D DONE) {
>> =A0 =A0$finished_homework .=3D process($_)
>> } else { $finished_homework .=3D $_ }
>> 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 tha=
t?
>
> :)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkrKIagACgkQH0OpnUzq8fCYyQCaAzlhv8dE8FB02gM5K2Xw7q/I
> NFMAoK5q1TRK8I3I2gJqV+4H+ZtzfhFR
> =3Dufa0
> -----END PGP SIGNATURE-----
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Oct 5 11:58:53 2009

This archive was generated by hypermail 2.1.8 : Mon Oct 05 2009 - 11:58:53 AKDT