code logs -> 2014 -> Thu, 20 Mar 2014< code.20140319.log - code.20140321.log >
--- Log opened Thu Mar 20 00:00:32 2014
00:04 Derakon[AFK] is now known as Derakon
00:10 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
00:25 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
00:25 mode/#code [+o himi] by ChanServ
01:27 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
01:43 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [Connection closed]
01:59 Vornlicious [Vorn@Nightstar-28h42k.sd.cox.net] has quit [[NS] Quit: Bye]
02:00 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
02:09 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [[NS] Quit: Leaving]
02:11 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
02:11 mode/#code [+o celticminstrel] by ChanServ
02:12 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
02:17 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: Leaving]
02:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
02:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:20 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
02:20 mode/#code [+o Reiv] by ChanServ
02:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:14 q[o_O]p [theeaznon@Nightstar-pcem1v.sfldmi.sbcglobal.net] has joined #code
03:31 q[o_O]p [theeaznon@Nightstar-pcem1v.sfldmi.sbcglobal.net] has quit [[NS] Quit: Trespassers will be shot, Survivers will be shot again! [Time wasted on Mirc 33mins 47secs]]
03:35 Kindamoody[zZz] is now known as Kindamoody
04:15 Derakon is now known as Derakon[AFK]
05:17 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
05:20 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
05:59 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:30 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
06:37 ErikMesoy|sleep is now known as ErikMesoy
06:46 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
07:01 Turaiel is now known as Turaiel[Offline]
07:08 Erik [8f610223@Nightstar-obfcgl.mibbit.com] has joined #code
07:12 Syka [the@Nightstar-gcr.tk7.127.1.IP] has joined #code
07:13 Syka is now known as NSGuest28420
07:14 NSGuest28420 is now known as Syk
08:13 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
08:52 Syk [the@Nightstar-gcr.tk7.127.1.IP] has quit [Ping timeout: 121 seconds]
08:55 Syk [the@Nightstar-gcr.tk7.127.1.IP] has joined #code
09:05 Kindamoody is now known as Kindamoody|afk
09:06 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
09:06 mode/#code [+o himi] by ChanServ
09:33
< Erik>
I can never remember when to use zip().
09:34
< Erik>
Is there some kind of good philosophical argument for what 'should' be the output of saying "for x, y in ((1,2),(3,4)): print x,y" ?
09:34
< Syk>
Erik: yes
09:34
< Syk>
it's called expansion
09:35
< Syk>
>> omg, wtf = ("lol", "bbq")
09:35
< Syk>
>> print omg
09:35
< Syk>
"lol"
09:36 Kindamoody|afk is now known as Kindamoody
09:37
<~Vornicus>
Erik: you iterate over the outer thing, which puts the inner thing up against the x, y
09:38
<~Vornicus>
You use zip when you have parallel lists of data, and you don't use zip when you have a list of big hunks of data.
09:39
< Syk>
or you use izip
09:39
< Syk>
on py2.7
09:39
< Syk>
which uses ~iterators~
09:39
<~Vornicus>
well... yes, but i figured you'd know when you wanted that.
09:40
<~Vornicus>
It's a minor refinement
09:46
< Erik>
Syk: That doesn't make the prediction obvious to me.
09:46
< Erik>
When I call multiple iterators over multiple elements, I'm not seeing the obvious reason why the first iterator should loop over first sub-elements of all elements, rather than over sub-elements of first element
09:49 macdjord [macdjord@Nightstar-c0i1dq.cable.rogers.com] has quit [Ping timeout: 121 seconds]
09:56 macdjord [macdjord@Nightstar-c0i1dq.cable.rogers.com] has joined #code
09:56 mode/#code [+o macdjord] by ChanServ
10:01 iospace is now known as io\IMONAPLANE
10:12
< HearingEarDog>
http://imgur.com/gallery/iJD8f
10:21 ^Xires [xires@Nightstar-bir6q3.feedthetrolls.net] has quit [Ping timeout: 121 seconds]
10:22 ^Xires [xires@Nightstar-bir6q3.feedthetrolls.net] has joined #code
10:25
<~Vornicus>
Erik: like I said - for ... in iterates over the outer container
10:26
<~Vornicus>
the pile of names in the ... there disassemble individual hunks handed to it. The same way that assignment always works.
10:28 mode/#code [+o RichyB] by ChanServ
10:37
<~Vornicus>
Indeed, try this on for size: for a, (b, c) in ((1, (2, 3)), (4, (5, 6))): print (a, b, c)
10:43 thalass [thalass@Nightstar-bk3u2d.bigpond.net.au] has joined #code
10:44 mode/#code [+o thalass] by ChanServ
10:51 Syk [the@Nightstar-gcr.tk7.127.1.IP] has quit [Ping timeout: 121 seconds]
10:56 Syk [the@Nightstar-gcr.tk7.127.1.IP] has joined #code
11:03 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
11:12 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:49 thalass is now known as Thalasleep
12:51 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
12:51 mode/#code [+o Red_Queen] by ChanServ
12:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
12:59 Syk [the@Nightstar-gcr.tk7.127.1.IP] has quit [Ping timeout: 121 seconds]
13:04 Thalasleep [thalass@Nightstar-bk3u2d.bigpond.net.au] has quit [Ping timeout: 121 seconds]
13:17 thalass [thalass@Nightstar-bk3u2d.bigpond.net.au] has joined #code
13:17 mode/#code [+o thalass] by ChanServ
13:52 Syk [the@Nightstar-gcr.tk7.127.1.IP] has joined #code
14:03 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
14:03 mode/#code [+o celticminstrel] by ChanServ
14:12 thalass is now known as Thalasleep
14:28 Erik [8f610223@Nightstar-obfcgl.mibbit.com] has quit [[NS] Quit: http://www.mibbit.com ajax IRC Client]
15:09 Kindamoody is now known as Kindamoody|afk
15:13
<@Azash>
http://imgur.com/gallery/iJD8f
15:31 Thalasleep [thalass@Nightstar-bk3u2d.bigpond.net.au] has quit [Ping timeout: 121 seconds]
15:40 Syk [the@Nightstar-gcr.tk7.127.1.IP] has quit [Ping timeout: 121 seconds]
15:41 Syk [the@Nightstar-gcr.tk7.127.1.IP] has joined #code
15:53
<@TheWatcher>
Uuugh
15:53
<@TheWatcher>
I really need to refactor this whole codebase
15:53
<@TheWatcher>
but no time >.<
15:55
<@Azash>
That feeling
16:28 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
17:05 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
17:07 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
17:07 mode/#code [+o Syloq] by ChanServ
17:17 Syk [the@Nightstar-gcr.tk7.127.1.IP] has quit [[NS] Quit: lol3g]
17:22 Turaiel[Offline] is now known as Turaiel
18:01 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
18:03 HotShot_ is now known as HotShot^work
18:14 io\IMONAPLANE is now known as io\boston
18:16 HotShot^work [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [[NS] Quit: Leaving]
18:46 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
18:47 mode/#code [+o celticminstrel] by ChanServ
20:07 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
20:08 Kindamoody|afk is now known as Kindamoody
20:10 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed]
20:10 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
20:11 Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code
20:11 mode/#code [+ao Derakon Derakon] by ChanServ
20:11 * Derakon blarghs at his code, has something that's scaling poorly with experiment size.
20:12
<&Derakon>
That is, the more we try to do in a given experiment, the longer it takes to calculate the actions the experiment does, nonlinearly.
20:12 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
20:12 mode/#code [+o Reiv] by ChanServ
20:17 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed]
20:20
<&Derakon>
You'd think it'd be easy to spot something that's scaling in cost with the number of iterations you've done, but it's eluding me so far...
20:21 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
20:21
<&Derakon>
...oh, wait, there it is. ._.
20:25 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed]
20:25
<&Derakon>
Yeah, there we go. Every iteration of the loop, we were getting the timestamps of the first and last action in the overall list of actions, which was done by iterating over the entire list.
20:26
<&Derakon>
Which even for a fairly short experiment was about 2k entries.
20:29 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
20:35 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
20:35 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:36 Kindamoody is now known as Kindamoody[zZz]
20:37 HotShot_ [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds]
20:42
<@RichyB>
Derakon, don't you have a profiler? Usually that one quadratic bit in an otherwise linear algorithm will show up clear as day in a profiler.
20:45
<&Derakon>
RichyB: profiling code embedded in a GUI can be tricky sometimes.
20:45
<&Derakon>
Also I'm feeling a little slow today.
20:46
<@RichyB>
ugh yes, anything that spends 99% of its time idling in an event loop for network|user input is a mild PITA to profile
20:47 Turaiel is now known as Turaiel[Offline]
22:03 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
22:50 Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: leaving]
22:52 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
23:17 RichyB is now known as RchrdB
23:17 RchrdB is now known as RichyB
23:19 RichyB is now known as RchrdB
23:42 You're now known as TheWatcher[T-2]
23:47 You're now known as TheWatcher[zZzZ]
23:57 Thalasleep [thalass@Nightstar-bk3u2d.bigpond.net.au] has joined #code
23:57 ErikMesoy is now known as ErikMesoy|sleep
--- Log closed Fri Mar 21 00:00:48 2014
code logs -> 2014 -> Thu, 20 Mar 2014< code.20140319.log - code.20140321.log >

[ Latest log file ]