code logs -> 2014 -> Sat, 04 Jan 2014< code.20140103.log - code.20140105.log >
--- Log opened Sat Jan 04 00:00:26 2014
00:57 Turaiel is now known as Turaiel[Offline]
01:00 Draak17 [Godbehere@Nightstar-hl453o.zing-net.ca] has joined #code
02:16 Draak17 [Godbehere@Nightstar-hl453o.zing-net.ca] has quit [[NS] Quit: Leaving]
02:21 Turaiel[Offline] is now known as Turaiel
02:52 Turaiel is now known as Turaiel[Offline]
02:57 Turaiel[Offline] is now known as Turaiel
03:15 Turaiel is now known as Turaiel[Offline]
04:04 Turaiel[Offline] is now known as Turaiel
04:11 Derakon is now known as Derakon[AFK2]
04:24 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
04:48 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
05:13 thalass is now known as Thalass|sleep
06:10 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:14 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:24 Turaiel is now known as Turaiel[Offline]
06:43 dmiles_afk [dmiles@Nightstar-hdcn1r.or.comcast.net] has quit [Ping timeout: 121 seconds]
09:03 ErikMesoy|sleep is now known as ErikMesoy
09:34 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: reboot]
09:35 ErikMesoy [Erik@Nightstar-3kot9q.80-203-17.nextgentel.com] has quit [Ping timeout: 121 seconds]
09:36 You're now known as TheWatcher
09:39 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
09:39 mode/#code [+ao McMartin McMartin] by ChanServ
09:40
<&McMartin>
That was *entirely* more trouble than it was worth, but I finally got Gambit to compile my Klotski solver on Windows.
09:46 Syka [the@Nightstar-0lu.rqd.131.1.IP] has joined #code
10:04
<~Vornicus>
heh
10:04 ErikMesoy [Erik@Nightstar-ekm.o7n.203.80.IP] has joined #code
10:16 Syka [the@Nightstar-0lu.rqd.131.1.IP] has quit [Connection closed]
10:39
< ErikMesoy>
I want an alternating sum of elements (+w -x +y -z...) from a numeric list in Python, and intuited [((-1)**i)*a[i] for i in len(a)] where a is the list, but len(a) is not iterable and iterating over (a) doesn't seem to have any good way of getting the index. Is there a list comprehension way of doing it, or will I need a proper loop?
10:41
<~Vornicus>
enumerate
10:41
<~Vornicus>
[(-1)**n * k for n, k in enumerate(a)]
10:41
< ErikMesoy>
neat, thanks
10:41
<~Vornicus>
or, sum((-1)**n * k for n, k in enumerate(a)) to pump it straight in
10:43 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
10:46 Syka [the@Nightstar-pnv.cp9.156.120.IP] has joined #code
10:51 * ErikMesoy is currently picking spring courses for university, looking at last time some of these courses were given and solving practice exercises.
12:01 Syka [the@Nightstar-pnv.cp9.156.120.IP] has quit [Connection closed]
12:18 Syka [the@Nightstar-hil.9kd.156.120.IP] has joined #code
12:42 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has quit [[NS] Quit: Leaving]
13:26 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
13:32 Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has quit [Ping timeout: 121 seconds]
14:00 Syloq [Syloq@Nightstar-mbk.c3p.254.173.IP] has joined #code
14:00 mode/#code [+o Syloq] by ChanServ
14:52 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has joined #code
14:52 mode/#code [+o celticminstrel] by ChanServ
15:29 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code
15:38 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
15:40 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
16:43 Syka [the@Nightstar-hil.9kd.156.120.IP] has quit [Ping timeout: 121 seconds]
16:47 Syka [the@Nightstar-pko.plk.131.1.IP] has joined #code
17:41 AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has joined #code
18:56 celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
18:56 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
18:56 mode/#code [+o celticminstrel] by ChanServ
19:08 Derakon[AFK] is now known as Derakon
19:09 mode/#code [+ao Derakon Derakon] by ChanServ
19:09 Derakon[AFK2] [chriswei@Nightstar-4k2ccr.ca.comcast.net] has quit [[NS] Quit: leaving]
20:12 AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has quit [Ping timeout: 121 seconds]
20:41 AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has joined #code
21:07 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
21:11 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
21:31 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: ]
22:03 AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has quit [Ping timeout: 121 seconds]
22:11 Orth [Orthia@Nightstar-rkmjmu.ihug.co.nz] has joined #code
22:11 AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has joined #code
22:56 Derakon [Derakon@Nightstar-4k2ccr.ca.comcast.net] has quit [Client exited]
22:59 Derakon [Derakon@Nightstar-4k2ccr.ca.comcast.net] has joined #code
23:00 mode/#code [+ao Derakon Derakon] by ChanServ
23:06 ErikMesoy is now known as ErikMesoy|sleep
23:06 Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
23:06 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:07 Derakon [Derakon@Nightstar-4k2ccr.ca.comcast.net] has quit [Client exited]
23:08 Derakon [Derakon@Nightstar-4k2ccr.ca.comcast.net] has joined #code
23:08 mode/#code [+ao Derakon Derakon] by ChanServ
23:09 harlow [harlow@Nightstar-2dbe3d64.il.comcast.net] has joined #code
23:17 ErikMesoy [Erik@Nightstar-ekm.o7n.203.80.IP] has joined #code
23:20
<&McMartin>
What the Christ
23:20
<&McMartin>
http://ioccc.org/2013/cable3/hint.html
23:20
<&McMartin>
and it didn't win Best of Show
23:20 ErikMesoy|sleep [Erik@Nightstar-ekm.o7n.203.80.IP] has quit [Ping timeout: 121 seconds]
23:21
<@Tamber>
...how...
23:22
<&McMartin>
http://ioccc.org/2013/cable2/hint.html won. Same author
23:22
<&McMartin>
Includes a previously unpublished OCR algorithm that actually works, so, you know, OK.
23:25
< harlow>
that is insane
23:26 * Derakon eyes the phrase "big endian 8086".
23:26
<&McMartin>
The best part of emulation is the hardware doesn't have to be real~
23:27
< harlow>
Mcmartin, you would be interested in this article. http://www.macrumors.com/2014/01/04/apple-acquires-snappylabs-maker-of-snappycam -burst-photo-app/
23:28
< harlow>
"John Papandriopoulos was able to redesign how JPG images are compressed, allowing the iPhone to shoot full-quality burst mode" 10fps
23:28
<&McMartin>
Good stuff
23:39 harlow [harlow@Nightstar-2dbe3d64.il.comcast.net] has quit [Ping timeout: 121 seconds]
23:46 harlow [harlow@Nightstar-2dbe3d64.il.comcast.net] has joined #code
--- Log closed Sun Jan 05 00:00:40 2014
code logs -> 2014 -> Sat, 04 Jan 2014< code.20140103.log - code.20140105.log >

[ Latest log file ]