code logs -> 2010 -> Sat, 04 Dec 2010< code.20101203.log - code.20101205.log >
--- Log opened Sat Dec 04 00:00:37 2010
00:12 shade_of_cpux is now known as cpux
00:38 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
00:39 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer]
00:41 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
01:06 Derakon[AFK] is now known as Derakon
01:20 AnnoDomini [annodomini@Nightstar-674ba0d0.adsl.tpnet.pl] has quit [[NS] Quit: leaving]
02:11 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has quit [Client exited]
02:22 Derakon is now known as Derakon[AFK]
02:27 Taki^ [Taki@Nightstar-0816732d.consolidated.net] has joined #code
02:37
<@McMartin>
Argh
02:37
<@McMartin>
People the next cube over are talking about autoboxing
02:37
<@McMartin>
I keep hearing "Autobots"
02:42
< gnolam>
Heh.
02:42
< gnolam>
My first thought was "stop hitting yourself!" though.
03:59 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:04 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
04:11 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
04:12 Syloqs_AFH is now known as Syloqs-AFH
06:23 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:42 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has quit [[NS] Quit: AND NOW ANGRY TICKS FLY FROM MY NIPPLES]
06:53 Stalker [Stalker@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
07:10 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer]
07:14 Derakon[AFK] is now known as Derakon
07:46 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
08:15 Derakon is now known as Derakon[AFK]
08:23 Ortiha [orthianz@Nightstar-4a646fcd.xnet.co.nz] has quit [Connection reset by peer]
08:29 Orthia [orthianz@Nightstar-4a646fcd.xnet.co.nz] has joined #code
09:00 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
09:06 You're now known as TheWatcher
09:22 Anno[Laptop] [annodomini@Nightstar-bea3d420.adsl.tpnet.pl] has joined #code
09:56 Attilla [Some.Dude@Nightstar-e680189e.threembb.co.uk] has joined #code
09:56 mode/#code [+o Attilla] by Reiver
10:18 jeroid [jerith@687AAB.5E3E50.70F340.D0FA09] has joined #code
10:54 * Anno[Laptop] is still trying to access the bottom-right character of the screen.
10:54 * Anno[Laptop] pokes McMartin. Help?
11:00
< Orthia>
??
11:01
< Anno[Laptop]>
Python and curses.
11:49 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
12:00 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:11 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code
14:22 Attilla [Some.Dude@Nightstar-e680189e.threembb.co.uk] has quit [[NS] Quit: ]
15:49 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:57 jeroid [jerith@687AAB.5E3E50.70F340.D0FA09] has quit [[NS] Quit: Bye]
16:45 Orthia [orthianz@Nightstar-4a646fcd.xnet.co.nz] has quit [Ping timeout: 121 seconds]
16:45 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
17:05 Derakon[AFK] is now known as Derakon
17:40 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
17:41 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
19:22 * Anno[Laptop] writes something which cannot possibly be right, yet works perfectly as I want it to.
19:23
< Anno[Laptop]>
http://pastie.org/1347766 <- Could someone tell me why accessing the -1th element of this list does not return an error?
19:26
< PinkFreud>
without looking at it, I can tell you that, depending on language, negative element numbers tends to refer to the end of the list
19:26
< celticminstrel>
Depends...
19:26
< PinkFreud>
-1 is the last element, -2 is the next-to-last, and so on
19:27
< PinkFreud>
if that's perl, that's precisely how perl works
19:27
<@Derakon>
Also works in Python.
19:27
< celticminstrel>
Ah, Python, so yes, negative indices count from the end.
19:28
< PinkFreud>
Derakon: wasn't sure about python
19:28
< PinkFreud>
good to know, though
19:29
< Anno[Laptop]>
This is Python. What I'm most puzzled about is that if I changed that 0 in the rage to a 1, so the last interation assigns the 0th element to the 1st's place, it fails to work as intended.
19:38 * Anno[Laptop] decides to leave this as-is and just modifies the rest of the code in the class, by trial and error, until it works as intended, regardless whether it seems wrong or not.
19:39 * Anno[Laptop] is still stumped as to how to access the bottom-right corner of the screen. Trying to addch() or addstr() something to it returns a curses error.
20:18
< Anno[Laptop]>
Okay, I think I've found out why. Range is exclusive on one end.
20:24
< Anno[Laptop]>
How do I define a 100x100 list?
20:31
< Anno[Laptop]>
Nevermind, got it.
20:35
< celticminstrel>
Try reading the documentation sometime, okay? :)
20:39
< Anno[Laptop]>
NEVER.
20:55 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
21:24 Stalker [Stalker@5E691D.FC7C16.75EF63.B6BC3E] has joined #code
21:26 Stalker is now known as MORE
21:44 MORE [Stalker@5E691D.FC7C16.75EF63.B6BC3E] has quit [Ping timeout: 121 seconds]
22:05 Stalker [Stalker@2C3C9C.B2A300.F245DE.859909] has joined #code
22:43 Orthia [orthianz@Nightstar-70af02c9.xnet.co.nz] has joined #code
23:03 Orthia [orthianz@Nightstar-70af02c9.xnet.co.nz] has quit [Ping timeout: 121 seconds]
23:06 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
23:07 Orthia [orthianz@Nightstar-25ca88b8.xnet.co.nz] has joined #code
--- Log closed Sun Dec 05 00:00:39 2010
code logs -> 2010 -> Sat, 04 Dec 2010< code.20101203.log - code.20101205.log >