code logs -> 2009 -> Sun, 01 Mar 2009< code.20090228.log - code.20090302.log >
--- Log opened Sun Mar 01 00:00:28 2009
00:52 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
00:58
<@Derakon>
Okay, so scores will be divvied up by course, and further based on the settings used (e.g. turbo, locked reflector, anything else I think of).
00:59
<@Derakon>
Currently I'm doing this by taking the contents of the course and patterns files, tacking on the options, and taking an MD5 sum of the lot.
00:59
<@Derakon>
...wait, duh, I already have the information I need. Okay, ramble cancelled.
01:09
<@Derakon>
Hmm...wonder if Python does tail-recursion.
01:10
<@McMartin>
No
01:11
<@Derakon>
Oh, well.
01:12 * Derakon makes the options page modal.
01:13
<@Serah>
Can I petition for help?
01:13
<@Serah>
Every time I press ctrl it sticks into an "on" position.
01:13
<@Derakon>
No need to ask to ask around here. :)
01:13
<@Serah>
Well, I'm using Vista.
01:13
<@Derakon>
Sounds like you have sticky keys turned on.
01:14
<@Serah>
I need to be curteous.
01:14
<@Serah>
I could swear I turned it off, and it's only ctrl, not shift.
01:14
<@Derakon>
Well, I'm no Windows expert.
01:14
<@Derakon>
But doesn't sticky keys apply to all modifier keys, not just shift?
01:14
<@Serah>
Yes.
01:15
<@Serah>
Which is why it's odd that only ctrl is wonky.
01:15
<@Serah>
I even checked the physical keyboard.
01:15
<@Serah>
Nothing wrong there.
01:15
<@Derakon>
Ahh.
01:15
<@Serah>
Must be a vista oddity.
01:16
<@Serah>
Well, I can fix it by win+l to switch users/lock the computer.
01:16
<@Serah>
So it's a mere inconvenience.
01:16
<@Serah>
But it is inconvenient to have to disrupt your work.
01:16 * Derakon nods.
01:17
<@McMartin>
Hm. I wonder if that's like X's broken handling of task-switching in raw mode
01:18 AnnoDomini [~farkoff@Nightstar-29757.neoplus.adsl.tpnet.pl] has quit [Quit: The body is alive, but the eyes are dead.]
01:24 gnolam is now known as gnostress
01:25
<@gnostress>
Oh joy. /Another/ specification to write.
01:25
<@gnostress>
Also by Tuesday.
01:26 * gnostress curls up into the fetal position.
02:31 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
03:33 gnostress [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: AIEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!]
04:59 somnolence [~somnolenc@Nightstar-5762.hsd1.ca.comcast.net] has quit [Client exited]
04:59 somnolence [~somnolenc@Nightstar-5762.hsd1.ca.comcast.net] has joined #code
05:02 somnolence [~somnolenc@Nightstar-5762.hsd1.ca.comcast.net] has quit [Client exited]
05:04 somnolence [~somnolenc@Nightstar-5762.hsd1.ca.comcast.net] has joined #code
05:08 Derakon is now known as Derakon[AFK]
05:19 Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: Alek|GoneForWeekend, @Consul
05:19 Netsplit over, joins: Alek|GoneForWeekend, Consul
05:19 mode/#code [+o Consul] by ChanServ
--- Log closed Sun Mar 01 05:54:05 2009
--- Log opened Sun Mar 01 05:55:44 2009
05:55 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
05:55 Irssi: #code: Total of 1 nicks [1 ops, 0 halfops, 0 voices, 0 normal]
05:55 mode/#code [+ntr] by ChanServ
05:55 ChanServ changed the topic of #code to: FORTH LOVE IF HONK THEN | Have a pastebin! http://paste.ubuntu.com | Channel mode +U, ask for voice to post links. | Monologues permitted. | See #projecteuler for discussions about http://projecteuler.net | When a problem like that comes along, you must ship it (Vornicus)
05:55 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
05:56 Irssi: Join to #code was synced in 52 secs
05:56 Syloq [Syloq@NetAdmin.Nightstar.Net] has joined #code
05:56 McMartin [~mcmartin@Nightstar-3361.dsl.pltn13.sbcglobal.net] has joined #code
05:56 mode/#code [+o McMartin] by ChanServ
05:57 Syloq is now known as Syloqs-AFH
05:57 EvilDarkLord [~jjlehto3@Nightstar-9591.cs.hut.fi] has joined #code
05:58 Alek|GoneForWeekend [~omegaboot@Nightstar-4995.dsl.emhril.sbcglobal.net] has joined #code
05:58 Consul [~consul@Nightstar-29739.dsl.sfldmi.ameritech.net] has joined #code
05:58 mode/#code [+o Consul] by ChanServ
05:58 KarmaBot [AnnoDomini@Nightstar-29757.neoplus.adsl.tpnet.pl] has joined #code
05:58 somnolence [~somnolenc@Nightstar-5762.hsd1.ca.comcast.net] has joined #code
05:58 ServerMode/#code [+MU] by Blargh.CA.US.Nightstar.Net
05:58 ServerMode/#code [+bbbbb *!*@Nightstar-19714.vlan-139-game-228.comnet.bg *!*@Nightstar-13856.187.eunet.yu *!*czjiriol@*.165.130.ns-22310 *!*@124.106.217.ns-4249 *!*@207.188.92] by Blargh.CA.US.Nightstar.Net
05:58 ServerMode/#code [+bbbb *!*@Nightstar-2556.cable.ubr01.dund.blueyonder.co.uk *!*@193.19.190.172 *!*Mischief@*.hsd1.md.comcast.net *!*@91.185.253.*] by Blargh.CA.US.Nightstar.Net
05:58 ServerMode/#code [-oo McMartin TheWatcher[zZzZ]] by Blargh.CA.US.Nightstar.Net
05:58 mode/#code [+o McMartin] by ChanServ
05:58 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
05:58 EvilDarkLord is now known as NSGuest-631
05:58 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
05:58 mode/#code [+o ToxicFrog] by ChanServ
05:59 jerith [~jerith@IRCop.Nightstar.Net] has joined #code
05:59 mode/#code [+o jerith] by ChanServ
05:59 Derakon[AFK] [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has joined #code
05:59 MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has joined #code
05:59 mode/#code [+o MyCatVerbs] by ChanServ
05:59 Tarinaky [~Tarinaky@88.83.110.ns-10776] has joined #code
05:59 C_tiger [~cheng@Nightstar-5625.hsd1.ca.comcast.net] has joined #code
05:59 mode/#code [+o C_tiger] by ChanServ
05:59 Reiver [~reaverta@Admin.Nightstar.Net] has joined #code
05:59 mode/#code [+o Reiver] by ChanServ
05:59 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
05:59 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
05:59 mode/#code [+o Vornicus] by ChanServ
05:59 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
05:59 mode/#code [+o GeekSoldier] by ChanServ
06:02 Syloqs-AFH [Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:10 Doctor_Nick [~nick@Nightstar-17219.tampfl.dsl-w.verizon.net] has joined #code
06:10 mode/#code [+o Doctor_Nick] by ChanServ
06:10 simontwo [~simon@Nightstar-28088.diogenes.hacklab.dk] has joined #code
06:46 Serah [~Z@87.72.35.ns-26506] has joined #code
06:46 mode/#code [+o Serah] by ChanServ
07:04 Serah [~Z@87.72.35.ns-26506] has quit [Ping Timeout]
07:05 Serah [~Z@87.72.35.ns-26506] has joined #code
07:05 mode/#code [+o Serah] by ChanServ
07:13
<@Vornicus>
!dice 12!
07:13
< KarmaBot>
[Vornicus] rolled 12!: 12! = 12.
07:16
<@McMartin>
12! does not equal 12.
07:16
<@Vornicus>
Quite. KarmaBot does not appear to recognize factorials.
07:17 mode/#code [+oooov Alek|GoneForWeekend Rhamphoryncus simontwo Tarinaky KarmaBot] by Vornicus
07:56
<@Serah>
Should it?
07:57
<@Vornicus>
Idunno, maybe?
07:57
<@Serah>
Today I fixed my laptop, with post-its and tape.
07:57
< somnolence>
doesn't sound very broken
07:58
<@Serah>
It wasn't, merely annoyingly bright.
07:59
<@Serah>
Maybe Anno can be convinced to implement it, if you really want him to.
07:59
<@Serah>
Is factorials important to you?
08:00
<@Vornicus>
If I made a bot that did all the math I found important to me it would be insane to work with.
08:00
<@Vornicus>
But factorials do seem to come up a lot.
08:03 NSGuest-631 is now known as EvilDarkLord
08:09 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
09:03 AnnoDomini [~farkoff@Nightstar-29757.neoplus.adsl.tpnet.pl] has joined #Code
09:03 mode/#code [+o AnnoDomini] by ChanServ
09:56 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
10:04 You're now known as TheWatcher
11:01 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
11:01 mode/#code [+o Attilla] by ChanServ
11:03 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
11:03 mode/#code [+o gnolam] by ChanServ
12:47
<@gnolam>
Darnit. How can someone misinterpret a simple "O RLY?"?
12:48 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
12:49 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
12:49 mode/#code [+o Attilla] by ChanServ
13:58 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
13:58 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
13:58 mode/#code [+o Attilla] by ChanServ
15:09 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
15:10 KBot [AnnoDomini@Nightstar-29119.neoplus.adsl.tpnet.pl] has joined #Code
15:12 AnnoDomini [~farkoff@Nightstar-29757.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:12 KarmaBot [AnnoDomini@Nightstar-29757.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:13 KBot is now known as KarmaBot
15:19 AnnoDomini [~farkoff@Nightstar-29119.neoplus.adsl.tpnet.pl] has joined #Code
15:19 mode/#code [+o AnnoDomini] by ChanServ
16:04 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:05 Syloqs_AFH is now known as Syloqs-AFH
16:06 You're now known as TheWatcher[afk]
17:35 Serah [~Z@87.72.35.ns-26506] has quit [Quit: ]
17:51 Derakon[AFK] is now known as Derakon
18:37 You're now known as TheWatcher
19:44 Consul [~consul@Nightstar-29739.dsl.sfldmi.ameritech.net] has quit [Ping Timeout]
19:55 Consul [~consul@Nightstar-29739.dsl.sfldmi.ameritech.net] has joined #code
19:55 mode/#code [+o Consul] by ChanServ
20:37 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
20:37 mode/#code [+o Vornicus] by ChanServ
20:49 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
20:49 mode/#code [+o Attilla] by ChanServ
20:52 * TheWatcher blegh, sets about determining whether use DateTime; or use POSIX qw(strftime); will be faster and use less memory
21:00 Vornicus is now known as Finerty
21:06
<@TheWatcher>
... okay, quite dramatically won by use POSIX qw(strftime);
21:07
< Derakon>
cHeh.
21:08
< Derakon>
Date::Manip is written in pure Perl, IIRC.
21:11
<@McMartin>
for some reason I keep reading qw(strftime) as "wtftime"
21:12
< Derakon>
Hmm...simple way to say "This string should be as many asterisks as the length of this other string" in Python?
21:13
<@Finerty>
stars = '*' * len(other_string)
21:13
< Derakon>
...you can multiply strings that way. Fascinating.
21:13 * McMartin plays the Dodgesquare theme on his synthesizer.
21:14
< Derakon>
You got the DS Korg?
21:14
<@McMartin>
No, I have a cheap Yamaha synthesizer in my apartment.
21:14
< Derakon>
Ah.
21:14
<@Finerty>
generally, sequences can be multiplied by an integer n to get n concatenated copies of the sequence.
21:16 * TheWatcher sets about rewriting his template engine from scratch to properly support i18n
21:17
< Derakon>
Ew, internationalization. >.<
21:18
<@TheWatcher>
Yeah. Vaguely crazy thing is, I'm probably going to be the only person using this thing >.>
21:19
<@Finerty>
4737! :D
21:20
<@McMartin>
Gratz
21:20
<@McMartin>
Now you have reached the actual Dodge Square.
21:21
< Derakon>
Vas ist?
21:21
<@Finerty>
Dodgesquare is a minigame unlockable from WADF
21:21
< Derakon>
Ahh.
21:22
<@McMartin>
As for "the actual Dodge Square", the gameplay changes suddenly when you hit 2,500 points.
21:22
<@McMartin>
And then reverts at 3,500.
21:22
<@Finerty>
I hatehatehate the chasers. :(
21:23
<@McMartin>
I can only imagine how bad it would get once a third appears.
21:26
< Derakon>
Fusillade~
21:27
<@Finerty>
Der: it is... surprisingly like it, yes.
21:27
< Derakon>
Heh.
21:27
<@Finerty>
Up to and including the one-point-per-frame mechanic.
21:27
< Derakon>
That's gone in beta 7, actually.
21:33
<@ToxicFrog>
Hmm. String multiplication could be handy.
21:33 * ToxicFrog adds it
21:35 * TheWatcher eyes this
21:36
<@TheWatcher>
Blegh, refactoring time
22:09 Serah [~Z@Nightstar-21302.atm2-0-1041217.boanxx12.customer.tele.dk] has joined #code
22:09 mode/#code [+o Serah] by ChanServ
22:33 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
22:34 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:34 mode/#code [+o Attilla] by ChanServ
22:38 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
22:39 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:39 mode/#code [+o Attilla] by ChanServ
22:41 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
22:42 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:42 mode/#code [+o Attilla] by ChanServ
22:55
<@MyCatVerbs>
ToxicFrog: what on Earth is the result of "abc" * "pqr"?
22:55
<@MyCatVerbs>
ToxicFrog: or did you mean something like Python's, "a" * 5 == "aaaaa"?
22:55
< EvilDarkLord>
MyCatVerbs: I think he was referring to that, yes.
22:55
< EvilDarkLord>
At least I hope he was.
22:56
< EvilDarkLord>
The alternative boggles.
22:56
<@Finerty>
We had been discussing it a little while ago.
23:00 AnnoDomini [~farkoff@Nightstar-29119.neoplus.adsl.tpnet.pl] has quit [Quit: True adventurers pay no heed to doors, especially if there's a lock on the door.]
23:14
< Derakon>
Man, the loading time for Fusillade is starting to annoy me...
23:14
< Derakon>
I wish there was a way to tell Python "Re-load this script mid-execution".
23:15
<@Finerty>
...why do you want that?
23:15
< Derakon>
So that I can tweak the program and have results show up without blowing away the work of loading 30MB of images.
23:20
<@ToxicFrog>
MyCatVerbs: the latter, yes.
23:20
<@ToxicFrog>
"abc" * "pqr" is a type error.
23:22
<@Finerty>
Der: ah
23:23
< Derakon>
Incidentally, super secret hidden code for Fusillade: hitting 'a' on the main menu reloads courses.
23:23
<@ToxicFrog>
Isn't there a way to do that?
23:23
<@ToxicFrog>
I could have sworn there was.
23:24 You're now known as TheWatcher[T-2]
23:24
<@TheWatcher[T-2]>
Night all
23:24
< Derakon>
Night, TW.
23:24
< Derakon>
Man, stupid modern games all having to be net-enabled.
23:24
< Derakon>
Frickin' leaderboards rasser frassin'...
23:25
< Derakon>
(I know they're good ideas, I just find networked code so very tedious)
23:25
<@ToxicFrog>
(erlang!)
23:25
< Derakon>
(How does erlang help?)
23:25
< Derakon>
(I thought it was for paralellization)
23:26
<@ToxicFrog>
(and distribution. There's no distinction between other parts of the same process, other local processes, and processes on other nodes where message-passing is concerned)
23:26
< Derakon>
O_o
23:26
<@ToxicFrog>
(Erlang is your semi-functional god when it comes to making distributed systems.)
23:26 * Derakon snerks.
23:27
<@ToxicFrog>
(and in fact I used it to completely brutalize my distsys course last year, once the prof said we could implement in any language ??)
23:27
<@ToxicFrog>
As far as the reloading scripts at runtime thing goes, I could have sworn python had a loadfile()-equivalent.
23:27
<@Finerty>
there's reload()
23:28
<@ToxicFrog>
I'm 97% sure it has execute(), which should be combinable with file IO to produce dofile()
23:28
<@Finerty>
only works on already-imported modules; you pass it a module object and it goes and refetches the code for it.
23:28
<@ToxicFrog>
That sounds just what's useful here, then.
23:29
< Derakon>
Now the only question is what happens in my other modules that have imported the old module.
23:29
< Derakon>
Do their references get updated?
23:29
<@Finerty>
Yes.
23:29
< Derakon>
Interesting.
23:29 * Derakon runs off to bind 'r' on the main menu~
23:29
<@TheWatcher[T-2]>
Heheh
23:30 You're now known as TheWatcher[zZzZ]
23:31
<@ToxicFrog>
(in fact, that's pretty slick, and I wish it were as easy in Lua)
23:32
< Derakon>
Hrm...doesn't seem to work for me...
23:32
< Derakon>
If I do get it working, that'll make writing Selen very much easier.
23:32
< Derakon>
Realtime upgrade modifications!
23:33
<@ToxicFrog>
This is, I note, another place where Erlang excels~
23:33
<@ToxicFrog>
I don't know what its SDL bindings are like, though
23:33 * Derakon snerks.
23:34
< Derakon>
Oh, s/Selen/Selene/
23:39
<@MyCatVerbs>
Huh? I thought their references *didn't* get updated when you reload a module. At least, AFAIK that's what happens when you try it at Python's REPL.
23:39 mode/#code [+o Derakon] by ChanServ
23:39
<@Derakon>
http://paste.ubuntu.com/125052/
23:39
<@Derakon>
So that's what I'm doing.
23:39
<@Derakon>
Returning ACTION_RELOAD just resets some state for me.
23:39
<@Derakon>
But I've tried inserting print statements and nothing changes.
23:44
<@Finerty>
hmng
--- Log closed Mon Mar 02 00:00:40 2009
code logs -> 2009 -> Sun, 01 Mar 2009< code.20090228.log - code.20090302.log >