| fermianyon (~lane@c-68-35-198-245.hsd1.al.comcast.net) joined #pypy. | 00:03 | |
| icrazyhack (~horieyui@183.60.100.164) left irc: Quit: http://www.cnblogs.com/crazyhack | 00:10 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy. | 00:41 | |
| DasIch_ (~DasIch@p3E990B54.dip.t-dialin.net) joined #pypy. | 00:54 | |
| asmeurer_ (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) left irc: Quit: asmeurer_ | 00:57 | |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) left irc: Ping timeout: 240 seconds | 00:57 | |
| Nick change: DasIch_ -> DasIch | 00:57 | |
| h0l0gr4ph1c (~Edmund@ppp118-209-252-72.lns20.mel6.internode.on.net) joined #pypy. | 01:00 | |
| asmeurer_ (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) joined #pypy. | 01:00 | |
| nettok (~quassel@190.148.241.226) left irc: Ping timeout: 268 seconds | 01:06 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 01:19 | |
| whyking (~quassel@p5B3DDEE3.dip.t-dialin.net) joined #pypy. | 01:19 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/32 | 01:23 |
|---|---|---|
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/204 | 01:30 |
| squiddy (~squiddy@f053086148.adsl.alicedsl.de) left irc: Quit: Leaving | 01:35 | |
| whitelynx|work (~whitelynx@75.111.197.204) left irc: Quit: Ex-Chat | 01:37 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 252 seconds | 01:38 | |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) left irc: Quit: DasIch | 01:39 | |
| rguillebert_ (~rguillebe@2a01:e34:eea7:c690:21f:c6ff:fe12:4dee) left irc: Quit: Quitte | 01:42 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy. | 01:44 | |
| nettok (~quassel@190.149.184.150) joined #pypy. | 01:44 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 01:46 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/776 | 01:46 |
| whyking (~quassel@p5B3DDEE3.dip.t-dialin.net) left irc: Ping timeout: 255 seconds | 01:48 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 01:59 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1925 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/678 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/338 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/328 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/676 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1195 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/859 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1512 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/789 | 02:00 |
| fermianyon (~lane@c-68-35-198-245.hsd1.al.comcast.net) left irc: Ping timeout: 240 seconds | 02:09 | |
| ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) joined #pypy. | 02:22 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 02:39 | |
| Kaskuka (~John@osbk-4db16fd4.pool.mediaWays.net) joined #pypy. | 03:03 | |
| Guest17487 (~John@osbk-4db17529.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 03:04 | |
| h0l0gr4ph1c (~Edmund@ppp118-209-252-72.lns20.mel6.internode.on.net) left irc: Quit: This computer has gone to sleep | 03:07 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1013 | 03:10 |
| asmeurer_ (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) left irc: Quit: asmeurer_ | 03:17 | |
| dracman (~draco@212.255.25.35) left irc: Ping timeout: 252 seconds | 03:19 | |
| mat^2 (~mathias@212.130.113.35) left irc: Ping timeout: 252 seconds | 03:21 | |
| dracman (~draco@212.255.21.252) joined #pypy. | 03:25 | |
| mat^2 (~mathias@212.130.113.35) joined #pypy. | 03:43 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 268 seconds | 03:52 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy. | 03:53 | |
| nettok_ (~quassel@190.148.17.169) joined #pypy. | 03:55 | |
| nettok (~quassel@190.149.184.150) left irc: Ping timeout: 240 seconds | 03:55 | |
| Garen (garen@69.76.18.3) left irc: Remote host closed the connection | 04:11 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1925 | 04:12 |
| fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) joined #pypy. | 04:13 | |
| CIA-17 | 03mikefc 07roundup * 10#1000/creating numpypy array from list with None elements: | 04:35 |
| CIA-17 | [new] Creating numpypy array from a list with elements which are None fails on numpypy but | 04:35 |
| CIA-17 | succeeds on numpy. | 04:35 |
| CIA-17 | ========= CPython & numpy | 04:35 |
| CIA-17 | > ... * 14https://bugs.pypy.org/issue1000 | 04:35 |
| mikefc | woo. issue #1000 :) | 04:36 |
| Action: mikefc also needs masked arrays. | 04:41 | |
| mikefc | but i'll look at them later. | 04:42 |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy. | 04:43 | |
| mikefc | and where() | 04:44 |
| mikefc | too much to do. not enough time. | 04:44 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds | 04:48 | |
| nettok (~quassel@190.148.169.134) joined #pypy. | 05:11 | |
| nettok_ (~quassel@190.148.17.169) left irc: Ping timeout: 260 seconds | 05:12 | |
| tos9 (~tos9@unaffiliated/tos9) left irc: Ping timeout: 252 seconds | 05:14 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/859 | 05:16 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1512 | 05:19 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/676 | 05:29 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1195 | 05:35 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/678 | 05:46 |
| fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) left irc: Ping timeout: 240 seconds | 05:58 | |
| setmeaway2 (setmeaway3@118.45.149.247) left irc: Ping timeout: 248 seconds | 05:58 | |
| setmeaway (setmeaway3@118.45.149.247) joined #pypy. | 06:14 | |
| Taggnostr (~quassel@dyn57-362.yok.fi) joined #pypy. | 06:31 | |
| setmeaway (setmeaway3@118.45.149.247) left irc: Ping timeout: 260 seconds | 06:37 | |
| mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 248 seconds | 06:38 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/789 | 06:46 |
| setmeaway (~setmeaway@118.45.149.247) joined #pypy. | 06:47 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/338 | 06:51 |
| Da_Blitz | aad/join #rubinius | 06:51 |
| Da_Blitz | woops | 06:52 |
| mikefc (~mikefc@60-242-240-196.static.tpgi.com.au) left irc: Quit: mikefc | 07:03 | |
| nettok (~quassel@190.148.169.134) left irc: Remote host closed the connection | 07:38 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/328 | 07:41 |
| mikefc (~mikefc@60-242-240-196.static.tpgi.com.au) joined #pypy. | 07:53 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 08:00 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Quit: Leaving | 08:16 | |
| Taggnostr (~quassel@dyn57-362.yok.fi) left irc: Remote host closed the connection | 08:19 | |
| Taggnostr (~quassel@dyn57-362.yok.fi) joined #pypy. | 08:23 | |
| CIA-17 | 03fijal 07roundup * 10#1000/creating numpypy array from list with None elements: [chatting] Such an awesome feature, numpy doesn't stop to amaze me. * 14https://bugs.pypy.org/issue1000 | 08:27 |
| fijal | hi | 08:33 |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 08:39 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 08:39 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 08:41 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 08:47 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 08:52 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 08:53 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 08:55 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) joined #pypy. | 08:56 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 08:58 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 09:03 | |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 09:14 | |
| ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) left irc: Quit: ericflo | 09:14 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 09:24 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy. | 09:34 | |
| xcombelle (~xcombelle@AToulouse-551-1-40-156.w90-11.abo.wanadoo.fr) joined #pypy. | 09:43 | |
| squiddy (~squiddy@g224192091.adsl.alicedsl.de) joined #pypy. | 09:57 | |
| hruske (~Gasper@2001:15c0:66e9:14:4cb3:39ff:fe29:464) joined #pypy. | 10:00 | |
| mikefc | fijal: i'm sure there's plenty more numpy "features" waiting in the wings to be uncovered. | 10:06 |
| fijal | yes :/ | 10:07 |
| fijal | I'm pondering if I should follow documentation of behavior | 10:07 |
| fijal | because docs are full of lies | 10:07 |
| fijal | http://paste.pocoo.org/show/535054/ | 10:08 |
| fijal | why this does flatten the array? | 10:08 |
| fijal | >>> a[[[True, False, True], [False, True, False]]] | 10:09 |
| fijal | array([3, 1, 3]) | 10:09 |
| fijal | >>> a[array([[True, False, True], [False, True, False]])] | 10:09 |
| fijal | array([ 0, 2, 16]) | 10:09 |
| fijal | moe fun | 10:09 |
| fijal | so a[b] where b.shape == a.shape -> flat version of a | 10:10 |
| fijal | is this a special case? | 10:12 |
| fijal | "Note that the length of the 1D boolean array must coincide with the length of the dimension (or axis) you want to slice." | 10:13 |
| fijal | this is for example False | 10:13 |
| mikefc | i thought a[b] always flattened. | 10:13 |
| fijal | no :) | 10:14 |
| fijal | only if shape(a) == shape(b) I think | 10:14 |
| ivan | False in CPython, True in PyPy: [float('nan')] == [float('nan')] | 10:24 |
| fijal | meh, should not be true | 10:25 |
| fijal | ivan: I think it's "undefined" officially | 10:25 |
| ivan | http://ludios.org/ivank/2012/01/python-nan-equality-rules-and-cw-eq-equals/ | 10:25 |
| ivan | stupid object-identity shortcuts | 10:25 |
| fijal | >>> l = [float('nan')] | 10:25 |
| fijal | >>> l == l | 10:26 |
| fijal | True | 10:26 |
| fijal | >>> | 10:26 |
| fijal | ivan: so "depends" | 10:26 |
| tumbleweed | fijal: I ithkn you were right about my 1900M memory requirement being too low | 10:34 |
| tumbleweed | oh, and those s390 issues I mentioned yesterday seem to appear on most big-endian archs. A few (the same 4) FFI types seem to be broken, as well as zipimport. | 10:34 |
| icrazyhack (~horieyui@124.165.209.20) joined #pypy. | 11:00 | |
| horieyui (~horieyui@113.106.212.38) joined #pypy. | 11:01 | |
| icrazyhack (~horieyui@124.165.209.20) left irc: Ping timeout: 248 seconds | 11:04 | |
| icrazyhack (~horieyui@221.192.139.108) joined #pypy. | 11:05 | |
| horieyui (~horieyui@113.106.212.38) left irc: Ping timeout: 252 seconds | 11:05 | |
| horieyui (~horieyui@183.60.100.162) joined #pypy. | 11:07 | |
| icrazyhack (~horieyui@221.192.139.108) left irc: Ping timeout: 248 seconds | 11:10 | |
| icrazyhack (~horieyui@183.60.100.166) joined #pypy. | 11:11 | |
| horieyui (~horieyui@183.60.100.162) left irc: Ping timeout: 245 seconds | 11:11 | |
| horieyui (horieyui@222.47.182.195) joined #pypy. | 11:11 | |
| whyking (~quassel@p4FFB7754.dip.t-dialin.net) joined #pypy. | 11:14 | |
| icrazyhack (~horieyui@183.60.100.166) left irc: Ping timeout: 268 seconds | 11:15 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 11:25 | |
| fijal_ (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 11:28 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 11:31 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) left irc: Quit: Flaker | 11:39 | |
| Nick change: fijal_ -> fijal | 11:57 | |
| Kaskuka (~John@osbk-4db16fd4.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 12:00 | |
| Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) joined #pypy. | 12:00 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy. | 12:15 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 12:25 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 12:35 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 12:35 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 12:38 | |
| kenaan | 12fijal numpy-indexing-by-arrays 1108302909741e 15/: close old branch will be redone | 12:40 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 11ad840d9d2a35 15/pypy/module/micronumpy/: a branch to work on indexing by arrays - start by introducing new way of describing shapes | 12:40 |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) joined #pypy. | 12:41 | |
| azanella (~azanella@189.6.80.131) joined #pypy. | 12:58 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) left irc: Remote host closed the connection | 12:58 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) joined #pypy. | 12:59 | |
| jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Quit: Konversation terminated! | 13:17 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 13:19 | |
| tos9 (~tos9@unaffiliated/tos9) joined #pypy. | 13:23 | |
| azanella (~azanella@189.6.80.131) left irc: Ping timeout: 252 seconds | 13:24 | |
| jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 14:00 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) left irc: Remote host closed the connection | 14:03 | |
| tellone (~tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) joined #pypy. | 14:06 | |
| Arach (~arach@128-75-174-161.broadband.corbina.ru) left irc: Quit: bye | 14:06 | |
| Arach (~arach@128-75-174-161.broadband.corbina.ru) joined #pypy. | 14:06 | |
| tellone (tellone@h55eb1cd7.selukra.dyn.perspektivbredband.net) left #pypy ("Droped"). | 14:16 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 14:20 | |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) joined #pypy. | 14:21 | |
| nshepperd (~asdfg@ppp118-209-23-185.lns20.mel4.internode.on.net) joined #pypy. | 14:23 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 14:36 | |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy. | 14:41 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds | 15:19 | |
| fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) joined #pypy. | 15:29 | |
| Trundle (~andy@82.113.106.250) joined #pypy. | 15:39 | |
| Trundle (~andy@82.113.106.250) left irc: Changing host | 15:39 | |
| Trundle (~andy@python/site-packages/trundle) joined #pypy. | 15:39 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 15:55 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 15:56 | |
| Unhelpful (~quassel@rockbox/developer/Unhelpful) left irc: Quit: http://quassel-irc.org - Chat comfortably. Anywhere. | 16:04 | |
| Unhelpful (~quassel@rockbox/developer/Unhelpful) joined #pypy. | 16:04 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy. | 16:32 | |
| arigato (~arigo@adsl-89-217-194-207.adslplus.ch) joined #pypy. | 16:36 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 16:39 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy. | 16:39 | |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 276 seconds | 16:48 | |
| lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy. | 16:57 | |
| lesshaste | hi.. great blog post about the gil etc. | 16:57 |
| lesshaste | have you looked at Go for inspiration too? | 16:57 |
| arigato | :-) | 16:57 |
| arigato | no | 16:57 |
| lesshaste | that's got a very nice and modern model | 16:57 |
| hruske (~Gasper@2001:15c0:66e9:14:4cb3:39ff:fe29:464) left irc: Quit: Leaving | 16:57 | |
| lesshaste | might be worth taking a look | 16:58 |
| arigato | it's another level | 16:58 |
| arigato | someone needs to take a look and implement Go-style "stackless" equivalent | 16:58 |
| arigato | first | 16:58 |
| lesshaste | oh Go is mentioned in the comments I see | 16:58 |
| lesshaste | right | 16:58 |
| lesshaste | I see someone got there before me :) | 16:59 |
| lesshaste | are you ever tempted just to give up on python and make a fork? :) | 17:00 |
| arigato | of CPython? no | 17:00 |
| arigato | or you mean of the Python language? no, even more strongly | 17:00 |
| arigato | I'm interested in things that can be "implementation details" only | 17:00 |
| lesshaste | I mean the latter... but actually I don't really understand if it is fully specified | 17:01 |
| lesshaste | in the way C is | 17:01 |
| lesshaste | is there a python specification? | 17:01 |
| arigato | I suppose it's slowly getting there, but for a long time it was "whatever CPython does" | 17:01 |
| lesshaste | right | 17:01 |
| arigato | but no, not officially | 17:01 |
| lesshaste | so I suppose I would be talking about influencing the future definition of the language :) | 17:02 |
| lesshaste | rather than forking | 17:02 |
| lesshaste | you can get stuck forever supporting features that should have been there in first place | 17:03 |
| lesshaste | e.g. DOS :) | 17:03 |
| lesshaste | oops | 17:03 |
| lesshaste | *shouldn't have been* | 17:03 |
| lesshaste | also.. as there is no support at all currently for multiprocessing, I suppose you get to define how the language supports it in the future | 17:04 |
| lesshaste | pypy -> python 4 :) | 17:04 |
| arigato | that's true, but that's only a module with a few functions | 17:06 |
| arigato | I'll define the few functions initially, but I hope that others will get to define better ones as needed | 17:06 |
| lesshaste | it sort of depends if you think all code will be written to support multiple processors in the future | 17:07 |
| lesshaste | which is what some people think is happening | 17:07 |
| fijal | hi | 17:07 |
| lesshaste | with multicore being the standard | 17:07 |
| lesshaste | hi fijal | 17:07 |
| arigato | hi | 17:07 |
| fijal | arigato: is it a sprint day today? | 17:07 |
| arigato | fijal: no, people will be arriving tonight | 17:07 |
| lesshaste | oh cool.. what is on the sprint menu? | 17:08 |
| arigato | lesshaste: yes, although that's another question | 17:08 |
| lesshaste | arigato: yes :) | 17:08 |
| lesshaste | arigato: but it makes sense for a current research project to assume that serial code is of marginal interest :) | 17:08 |
| fijal | serial code is kind of interesting | 17:08 |
| fijal | like if you have 8 cores, no multithreading solution that's 8 times slower would interest you | 17:09 |
| fijal | etc. etc. | 17:09 |
| arigato | yes, precisely | 17:09 |
| lesshaste | fijal: I would definitely find an 8 times slower solution bad | 17:09 |
| lesshaste | but I didn't quite get your point | 17:09 |
| lesshaste | you mean some things are inherently serial? | 17:09 |
| fijal | <lesshaste> arigato: but it makes sense for a current research project to assume that serial code is of marginal interest :) | 17:09 |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Ping timeout: 252 seconds | 17:09 | |
| fijal | I mean serial code is interesting | 17:10 |
| arigato | in pypy, it just means you will be able to translate either "pypy" or "pypy-tm" | 17:10 |
| fijal | as of now | 17:10 |
| fijal | if you have a gilless python in cpython, you would still use serial pypy for stuff | 17:10 |
| arigato | "pypy-tm" is slower than "pypy" but runs parallel code | 17:10 |
| fijal | same goes for jython | 17:10 |
| fijal | apparently gilless jython is not interesting enough to use it | 17:10 |
| fijal | arigato: do you want few numpy-related quizes? | 17:11 |
| arigato | shoot :-) | 17:11 |
| fijal | have you seen what numpy.array([1, None, 2], float) does? | 17:11 |
| arigato | uh | 17:11 |
| arigato | no | 17:11 |
| fijal | try :) | 17:11 |
| arigato | of course | 17:12 |
| arigato | None -> NaN | 17:12 |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) left irc: Quit: DasIch | 17:12 | |
| fijal | another one - numpy.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]])[[True, False, True]] | 17:12 |
| fijal | note the double [[ at the end | 17:12 |
| arigato | that's the same as [[1,0,1]] | 17:13 |
| fijal | numpy.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]])[numpy.array([True, False, True])] | 17:13 |
| fijal | is however not :) | 17:13 |
| arigato | uh | 17:13 |
| arigato | also, does not work at all: numpy.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]])[(1,0,1)] | 17:13 |
| fijal | obviously | 17:14 |
| arigato | uh? | 17:14 |
| Action: arigato fails to understand the [array] case | 17:14 | |
| lesshaste | I myself only run small serial code :) | 17:14 |
| lesshaste | but I am talknig about the future | 17:14 |
| fijal | I'm increasingly leaning towards "I'll implement what documentation says, not what numpy does" | 17:14 |
| lesshaste | when we all have 8 core machines on our desk. Running serial code will seem rather wasteful | 17:15 |
| fijal | arigato: array[array] case has few uses | 17:15 |
| arigato | what does it do with array[array-of-bools] ??? | 17:15 |
| fijal | depends | 17:15 |
| fijal | if array of bools is the same shape as array or not | 17:15 |
| arigato | :-(( | 17:15 |
| arigato | ah | 17:15 |
| fijal | ah? | 17:16 |
| arigato | ah, I finally get what it does | 17:16 |
| fijal | which part, the same shape or different shape? | 17:16 |
| arigato | hum | 17:16 |
| fijal | the same shape is for a[a > 3] | 17:16 |
| arigato | it seems not to depend? but I must be missing something | 17:16 |
| arigato | it seems to complete missing bools with Falses | 17:16 |
| fijal | yes | 17:17 |
| fijal | that's what it does | 17:17 |
| fijal | it's a selector | 17:17 |
| arigato | ah, and you get IndexError if array-of-bools is too long | 17:17 |
| fijal | no, it depends :/ | 17:17 |
| fijal | well, yes | 17:18 |
| fijal | that's true | 17:18 |
| arigato | I had of course no idea at all | 17:18 |
| fijal | docs say it should be either the same shape or the same length as the first dimension size | 17:18 |
| fijal | but it's not entirely true | 17:18 |
| arigato | but I suppose this is documented, at least the case same-shape | 17:18 |
| fijal | both are documented although wrongly | 17:18 |
| arigato | I see | 17:19 |
| nettok (~quassel@190.148.21.70) joined #pypy. | 17:19 | |
| fijal | but you can do things like mix array of ints, array of bools and a slice | 17:19 |
| fijal | like\ | 17:19 |
| fijal | a[<some array of bools>, <some slice>] | 17:19 |
| arigato | phew | 17:20 |
| fijal | that means - pick first index based on the array of bools and pick the second index based on slice | 17:20 |
| fijal | and copy all other indexes | 17:20 |
| fijal | array of ints is even more obscure | 17:20 |
| arigato | numpy.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]])[numpy.array([[2,1]])] | 17:20 |
| arigato | I have no clue why it gets this result | 17:21 |
| fijal | start with one dimension | 17:21 |
| arigato | I did, didn't find anything obscure -- it's like the [list] case | 17:21 |
| fijal | http://www.scipy.org/Tentative_NumPy_Tutorial#head-0dffc419afa7d77d51062d40d2d84143db8216c2 | 17:21 |
| fijal | arigato: for what is worth in 2h I failed to figure out how to compute the *shape* of resulting array | 17:22 |
| arigato | :-( | 17:25 |
| lesshaste | maybe #python people can help? | 17:27 |
| vpelletier (~vincent@ALille-154-1-43-95.w86-198.abo.wanadoo.fr) joined #pypy. | 17:28 | |
| vpelletier | hi | 17:28 |
| arigato | the example ">>> a[b1,b2] # array([ 4, 10])" | 17:28 |
| arigato | is seriously obscure | 17:28 |
| whyking_ (~quassel@p5B3DC1C7.dip.t-dialin.net) joined #pypy. | 17:29 | |
| arigato | vpelletier: hi | 17:31 |
| fijal | lesshaste: our architecture is quite a bit different from numpy's | 17:32 |
| whyking (~quassel@p4FFB7754.dip.t-dialin.net) left irc: Ping timeout: 245 seconds | 17:33 | |
| lesshaste | fijal: yes sorry.. I realised after I wrote that that it wasn't that helpful | 17:33 |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 255 seconds | 17:33 | |
| fijal | it's not like it's impossible | 17:33 |
| fijal | it's just obscure | 17:33 |
| vpelletier | fijal: about the transactional memory post, I think it ressembles what Zope + ZODB provides, minus versioning maybe. From experience, there is one more case to prevent: prevent a transaction from committing if a given object was modified, even if transaction doesn't modify it by itself | 17:33 |
| fijal | against the principle of least surprise if you ask me | 17:34 |
| Trundle (~andy@python/site-packages/trundle) left irc: Ping timeout: 240 seconds | 17:34 | |
| fijal | vpelletier: well | 17:34 |
| fijal | vpelletier: ZODB uses pickling | 17:34 |
| fijal | right? | 17:34 |
| arigato | vpelletier: it's a detail of implementation, but yes, we need to carefully implement a system that gives a illusion that events (i.e. transactions) were run serially | 17:35 |
| vpelletier | an example would be an object representing a bank account with state opened/closed, and a transaction would check that state and decide to allow opening another account only if the first one is in closed state... a competing transaction might try to reopen that first account, and the constraint would be violated - without a way to detect this "thanks" to transaction isolation | 17:35 |
| arigato | fijal: ZODB is not a TM, it's a transactional database | 17:36 |
| vpelletier | fijal: yes | 17:36 |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) joined #pypy. | 17:36 | |
| lesshaste | you have a lot of phd projects in pypy :) | 17:36 |
| vpelletier | arigato: but ZODB detects modify/modify and modify/check-not-modified conflicts, and asks the TM to rollback transaction (and optionally retry) | 17:37 |
| fijal | vpelletier: the main difference between solutions like ZODB and TM is that you have to carefully put objects there | 17:38 |
| fijal | which means you can no longer "just" run multithreaded code | 17:38 |
| arigato | vpelletier: that's nevertheless all details of implementation | 17:39 |
| arigato | https://bitbucket.org/arigo/arigo/raw/default/hack/stm/transactionmodule/transaction.py | 17:39 |
| arigato | this shows the whole API I'm thinking about, along with a default (non-TM) implementation | 17:39 |
| fijal | lesshaste: do we? | 17:39 |
| vpelletier | thanks to versioning, it also allows modify/modify conflicts to be resolved for classes which explicitly implement such resolution (a simple example is the length property of a "folder"-ish: if one transaction adds one object and another removes one from the container in parallel, it can compute the desired final value without having to restart a transaction) | 17:39 |
| lesshaste | fijal: yes! Just the latest blog post makes a good start to a phd | 17:40 |
| arigato | :-) | 17:40 |
| fijal | you can make phd on random shit | 17:40 |
| vpelletier | arigato: ah, oops, in my sentence TM = transaction manager :) | 17:40 |
| fijal | lesshaste: ok, lets put it differently - yes maybe, but I don't think it's any sort of high standard | 17:40 |
| vpelletier | fijal: my point is not about persistence/serialisation/pickling, but about transactionality | 17:41 |
| fijal | vpelletier: ok? | 17:41 |
| fijal | vpelletier: SQL databases also have transactions no? | 17:42 |
| lesshaste | fijal: well.. :) You may have been lucky in the phds you have seen | 17:42 |
| lesshaste | fijal: it does rather depend on the conclusion too. The blog post asks a lot of interesting questions | 17:42 |
| arigato | vpelletier: let me say it again: that's all details of implementation that should not show up to the user | 17:43 |
| vpelletier | fijal: yes, but without conflict detection: if you run two updates in parallel on the same row, one will complete after the other without any errors... first update will have been lost | 17:44 |
| lesshaste | fijal: <fijal> you can make phd on random shit | 17:44 |
| lesshaste | I missed that :) | 17:44 |
| vpelletier | arigato: I hear, but I'm not sure I understand... | 17:44 |
| arigato | maybe the blog post should not have been titled "transactional memory" | 17:45 |
| arigato | I want a system that gives some effects described in the blog post, and it turns out that transactional memory can give it, which is a slightly unusual use of it, from some point of view | 17:45 |
| arigato | I want an API like the one given in https://bitbucket.org/arigo/arigo/raw/default/hack/stm/transactionmodule/transaction.py | 17:46 |
| arigato | and I see how to implement this API using transactional memory internally | 17:46 |
| vpelletier | arigato: the sentence which made me think about zope was "if we detect conflicts with other concurrently executing transactions, we abort the whole transaction and restart it from scratch" | 17:47 |
| arigato | that's standard for all transactional memory systems | 17:48 |
| Trundle (~andy@89.204.138.154) joined #pypy. | 17:48 | |
| Trundle (~andy@89.204.138.154) left irc: Changing host | 17:48 | |
| Trundle (~andy@python/site-packages/trundle) joined #pypy. | 17:48 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 17:49 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 17:49 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 17:49 | |
| vpelletier | arigato: yeah, but my point is: write/write conflicts are not all possible conflicts. and my gut feeling is that treating all read/write as conflicts (ex: transaction 1 reads object A, then transaction 2 tries to modify that object before transaction 1 is over, transaction 2 must abort or wait for t1 to be over) | 17:50 |
| vpelletier | ...and in my reading, I only saw write/write mentioned | 17:50 |
| vpelletier | maybe I missed something | 17:50 |
| arigato | vpelletier: obviously, write/read needs care too | 17:51 |
| arigato | that's standard in transactional memory | 17:51 |
| arigato | read the Wikipedia article for more details | 17:51 |
| fijal | arigato: ah | 17:53 |
| fijal | arigato: btw, how are you going to deal with stuff like "global logging" in say twisted? | 17:53 |
| fijal | (but also pypy) | 17:53 |
| arigato | delay the writes | 17:54 |
| fijal | well | 17:55 |
| arigato | well? | 17:55 |
| fijal | logging is not "just" global write | 17:55 |
| fijal | it also have other global properties, like say statistics | 17:55 |
| fijal | something silly - the next step of mandelbrot | 17:55 |
| arigato | ah, sorry | 17:55 |
| arigato | I thought you mean the actual writing to the console | 17:56 |
| fijal | I'm sorry if I'm not specific enough | 17:56 |
| fijal | yes, logging can be many things and say twisted logging is far more global than it has to be | 17:56 |
| arigato | yes, it can create unnecessary conflicts then | 17:56 |
| fijal | anyway, I'm off, will read logs later | 17:57 |
| arigato | the programmer can change it to something else, like move it in its own transaction | 17:57 |
| arigato | or do the equivalent of: you write the log to a pipe, and have another transaction read the pipe | 17:59 |
| arigato | (without necessarily using an os.pipe(), I mean) | 17:59 |
| arigato | using something like a channel | 17:59 |
| vpelletier | arigato: mmh... Reading wikipedia article, it looks like I overestimated transaction duration then... It seems that's where Zope habit kicked in. If I understand correctly now, in my opened/closed bank account example, I would need to put an explicit lock (acquired on both read and modification, and released on transaction boundary) in addition of explicitely defining both actions as transactions... I'm just garanteed to never a | 18:01 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 18:01 | |
| arigato | vpelletier: I'm unsure at which level you want to discuss | 18:02 |
| arigato | do you want to discuss transactions as "transaction { ... }" constructs? if so, that's not what my blog post is about | 18:03 |
| arigato | I pointed you to the Wikipedia article to get a basic feeling of how transactions work | 18:03 |
| arigato | once you get it, you need more steps to get how to tweak the concept to implement what I describe in my blog post | 18:04 |
| Action: arigato updated https://bitbucket.org/arigo/arigo/raw/default/hack/stm/transactionmodule/ | 18:11 | |
| arigato | vpelletier: so the idea is just to have a more efficient implementation of this transaction.py, which uses internally transactional memory, but that is an implementation detail | 18:14 |
| fijal (~fijal@196-215-121-137.dynamic.isadsl.co.za) joined #pypy. | 18:17 | |
| Action: arigato also updated the blog post to point to this hack | 18:21 | |
| arigato (~arigo@adsl-89-217-194-207.adslplus.ch) left irc: Quit: See you | 18:22 | |
| nettok_ (~quassel@190.148.88.57) joined #pypy. | 18:24 | |
| nettok (~quassel@190.148.21.70) left irc: Ping timeout: 255 seconds | 18:25 | |
| stakkars_ (~tismer@p5DCE3DA1.dip.t-dialin.net) joined #pypy. | 18:38 | |
| nettok_ (~quassel@190.148.88.57) left irc: Ping timeout: 268 seconds | 18:44 | |
| nettok (~quassel@190.149.184.238) joined #pypy. | 18:53 | |
| fijal (~fijal@196-215-121-137.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 19:07 | |
| mwhudson (~mwh@linaro/mwhudson) joined #pypy. | 19:08 | |
| Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 19:09 | |
| Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) joined #pypy. | 19:19 | |
| Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) left irc: Read error: Connection reset by peer | 19:25 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 19:27 | |
| Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) joined #pypy. | 19:27 | |
| stakkars_ (~tismer@p5DCE3DA1.dip.t-dialin.net) left irc: Quit: schnarch | 19:28 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 19:40 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 19:40 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 19:40 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 19:56 | |
| voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go | 19:57 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 20:26 | |
| Trundle (~andy@python/site-packages/trundle) left irc: Ping timeout: 240 seconds | 20:29 | |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 20:29 | |
| EnCuKou_ (~encukou@ip-94-113-220-25.net.upcbroadband.cz) left irc: Read error: Connection timed out | 20:29 | |
| fijal | hakanardo: ping? | 20:30 |
| DasIch_ (~DasIch@p3E991405.dip.t-dialin.net) joined #pypy. | 20:32 | |
| DasIch (~DasIch@p3E990B54.dip.t-dialin.net) left irc: Read error: Operation timed out | 20:34 | |
| Nick change: DasIch_ -> DasIch | 20:34 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 20:52 | |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy. | 21:27 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy. | 21:34 | |
| rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) joined #pypy. | 21:57 | |
| xcombelle (~xcombelle@AToulouse-551-1-40-156.w90-11.abo.wanadoo.fr) left irc: Quit: I am a manual virus, please copy me to your quit message. | 21:58 | |
| kenaan | 12fijal extradoc 110d6b3b5ff0f7 15/blog/draft/numpy-internship.rst: add a blog draft | 22:03 |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 22:23 | |
| fijal | voidspace: hey | 22:24 |
| voidspace | fijal: hi | 22:25 |
| fijal | voidspace: I'm probably coming to lang summit if you need to know | 22:26 |
| voidspace | fijal: email is good :-) | 22:26 |
| fijal | meh | 22:26 |
| fijal | ok | 22:26 |
| voidspace | hang on | 22:27 |
| voidspace | fijal: I can add your name here | 22:27 |
| voidspace | fijal: done | 22:27 |
| fijal | voidspace: do you know what the topics will be? | 22:27 |
| fijal | thanks | 22:27 |
| paranoidi (~paranoidi@e82-103-195-27.elisa-laajakaista.fi) joined #pypy. | 22:31 | |
| voidspace | fijal: no, not yet - not many suggested topics yet | 22:32 |
| kenaan | 12fijal extradoc 1115ad7db9d445 15/blog/draft/numpy-internship.rst: (confluecne) typos | 22:32 |
| voidspace | fijal: the two competing namespace packages are about it | 22:32 |
| Action: exarkun thinks some snarky things | 22:33 | |
| apollo13 (~apollo13@unaffiliated/apollo13) left irc: Remote host closed the connection | 22:33 | |
| Action: voidspace is not surprised about exarkun thinking snarky things | 22:34 | |
| voidspace | ;-) | 22:34 |
| voidspace | exarkun: although if you have any topics they're welcomed | 22:34 |
| apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy. | 22:35 | |
| fijal | voidspace: I doubt any of it would be of interest to python-dev | 22:35 |
| voidspace | heh | 22:35 |
| voidspace | I can filter them | 22:35 |
| voidspace | so fire away anyway | 22:35 |
| voidspace | by email as I'm going downstairs now to watch the second half of treasure island& :-) | 22:35 |
| paranoidi | ;_; .. even pypy 1.7 doesn't run my/our app | 22:36 |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 22:36 | |
| kenaan | 12fijal extradoc 11469f9b257694 15/blog/draft/numpy-internship.rst: (confluence) more typos | 22:36 |
| paranoidi | I keep trying with every new version but it always fails horribly :P | 22:36 |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy. | 22:36 | |
| fijal | paranoidi: what sort of app do you have? | 22:36 |
| paranoidi | (major version, that is) | 22:36 |
| fijal | justinpeel: oh hi | 22:36 |
| justinpeel | hi | 22:36 |
| exarkun | voidspace: I will try to think of some and let you know if I do. I'm not a Python 3 user though, so... | 22:37 |
| paranoidi | fijal: it's pure python app so I would think that pypy would do just fine with it, I guess SQLAlchemy is the problem (?) | 22:37 |
| justinpeel | I'm juggling a lot of things right now, but I still want to make contributions here and there | 22:37 |
| voidspace | exarkun: ok, that would be appreciated | 22:37 |
| voidspace | laters all | 22:37 |
| fijal | paranoidi: I have no idea of telling you without knowing | 22:37 |
| fijal | paranoidi: sqlalchemy generally works | 22:37 |
| fijal | but it's hardly pure python if it uses say postgres | 22:37 |
| paranoidi | fijal: I think you are one of pypy devs, you can easily try to "svn co http://svn.flexget.com/trunk" and run "bootstrap.py" with pypy, even that will fail because something is leaking file handles like they're on sale :) | 22:38 |
| paranoidi | it uses sqlite | 22:39 |
| fijal | paranoidi: close your files | 22:39 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 276 seconds | 22:39 | |
| fijal | http://morepypy.blogspot.com/2012/01/pypy-internship-at-ncar.html | 22:39 |
| paranoidi | I don't have any part with bootstrap, it's made by paver .. | 22:39 |
| fijal | paranoidi: fix paver or complain there | 22:40 |
| fijal | seriously, someone should close their files | 22:40 |
| paranoidi | I'm not sure which is to blame, paver, virtualenv, setuptools/distutils or pypy | 22:41 |
| fijal | pypy definitely not | 22:41 |
| fijal | setuptools/distutils leaks files, use distribute | 22:42 |
| paranoidi | well, it works fine with cpython .. :D | 22:42 |
| fijal | paranoidi: it's a documented difference that was decided to be an implementation detail | 22:42 |
| fijal | we won't provide refcounting for that | 22:42 |
| fijal | and you can as well stop trying with new releases, we won't have refcounting | 22:43 |
| fijal | paranoidi: but seriously distribute is not that hard to use | 22:43 |
| fijal | you just install virtualenv with --distribute or something as complex | 22:44 |
| paranoidi | I suppose that is valid, well next thing to go sour is sqlalchemy, it just grashes with some weird reason | 22:44 |
| fijal | sqlalchemy is a mess :/ | 22:45 |
| fijal | that's however is much harder to put blame on :) | 22:45 |
| Rhyolite | is django orm better? | 22:45 |
| fijal | Rhyolite: I don't know | 22:45 |
| fijal | Rhyolite: but if I run sqlalchemy I find myself 70 function calls below where I called it | 22:46 |
| thoughtpolice_ (~thoughtpo@li111-206.members.linode.com) left irc: Quit: ZNC - http://znc.in | 22:46 | |
| fijal | paranoidi: I just try bootstrap? | 22:46 |
| paranoidi | yeah, that should init virtualenv with everything in it | 22:47 |
| paranoidi | but it failed due too many open files for me, so I installed few dependencies by hand and then ran it again | 22:47 |
| paranoidi | alternatively, well, I'm sure you know, you could use virtualenv and run bootstrap in that as well | 22:48 |
| paranoidi | and then "bin/flexget -V" should not crash :) | 22:49 |
| whyking_ (~quassel@p5B3DC1C7.dip.t-dialin.net) left irc: Ping timeout: 240 seconds | 22:49 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 22:49 | |
| fijal | paranoidi: bootstrap --distribute seems to work fine btw | 22:50 |
| `fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 248 seconds | 22:50 | |
| paranoidi | oh, nice to know | 22:50 |
| dolo (~jfysh@ppp59-167-188-51.static.internode.on.net) joined #pypy. | 22:51 | |
| fijal | what sort of db does it use? | 22:51 |
| paranoidi | the issue with sqlalchemy may very well be something we're rensponsible of | 22:51 |
| paranoidi | sqlalchemy + sqlite3 ? | 22:51 |
| fijal | paranoidi: it looks to me like either you or sqlalchemy is relying on some refcounting to put stuff in tables | 22:52 |
| fijal | although chances are you're hitting sqlite bug that we know about :) | 22:52 |
| mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 245 seconds | 22:53 | |
| dolo | Just out of interest; I find that for lots of number manipulation (project euler) where I have to find things like # digits in a number or the reverse of a number, or two numbers concatenated, that converting the numbers to strings (and then maybe back) is as fast / faster than doing the equivalent in a purely numerical sense. | 22:54 |
| paranoidi | weird, the app itself is completely modular, so I deleted the plugin causing the error (flexget/plugins/filter/reject_failed.py) and it seems to somewhat work | 22:54 |
| rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) left irc: Remote host closed the connection | 22:55 | |
| paranoidi | no hopes running unit tests though, fails immediattely | 22:55 |
| dolo | For instance, to find the length of a number, I might iterate n, and the length is n where 10**n > the number but 10**(n-1) is less than the number. But len(str(number)) is faster. | 22:55 |
| CIA-17 | 03fijal 07roundup * 10#996/sqlite3 CREATE TABLE always fails: For what is worth it's _sqlite3.py problem, not pypy's, looking * 14https://bugs.pypy.org/issue996 | 22:56 |
| fijal | dolo: :/ | 22:56 |
| fijal | dolo: longs are slowish | 22:56 |
| dolo | When performing an equivalent test in python, the len(str()) method is ~50 times slower... | 22:56 |
| dolo | I mean, I couldn't be happier - PyPy walks all over Python either way.. but.. it's very confusing when I'm used to strings being slow, numbers being fast :) | 22:57 |
| fijal | dolo: oh ok | 22:57 |
| fijal | dolo: I dunno | 22:57 |
| paranoidi | fijal: flexget has over 200 unit tests, incase you need some test-apps :) | 22:57 |
| fijal | paranoidi: fixing sqlite | 22:57 |
| dolo | (usually the number-based approach starts to win over the str-based approach for larger values, maybe over 10**10 or so) | 22:58 |
| dolo | P.S. PyPy makes solving project-euler problems amazingly simple. I can describe the problem in python, but evaluate it at the speed of C.. awesome :) | 22:59 |
| fijal | :) | 22:59 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/777 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/205 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1014 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/33 | 23:00 |
| mikefc_ | do the euler problems run for long enough to be a nice benchmark? | 23:00 |
| fijal | mikefc_: yes | 23:00 |
| fijal | well "nice" | 23:00 |
| dolo | Some of them, but the idea is that each problem is solvable in < 1 minute (the skill is in figuring out a way to achieve that) | 23:00 |
| vpelletier (vincent@ALille-154-1-43-95.w86-198.abo.wanadoo.fr) left #pypy. | 23:00 | |
| dolo | *guilty* I found a problem a while back to do with handling longs, but the same code ran perfectly in cPython. I then changed the code so it would work in PyPy, and now I forget the exact problem. It did feel like something that could be fixed in PyPy.. :( | 23:02 |
| Taggnostr (~quassel@dyn57-362.yok.fi) left irc: Remote host closed the connection | 23:03 | |
| pedronis (~pedronis@73-53.195-178.cust.bluewin.ch) left irc: Quit: Leaving | 23:05 | |
| pedronis (~pedronis@73-53.195-178.cust.bluewin.ch) joined #pypy. | 23:06 | |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 252 seconds | 23:09 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 23:11 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 23:11 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 23:11 | |
| Taggnostr (~quassel@dyn57-362.yok.fi) joined #pypy. | 23:11 | |
| EnCuKou (~encukou@ip-94-113-220-25.net.upcbroadband.cz) joined #pypy. | 23:12 | |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy. | 23:14 | |
| mwhudson (~mwh@120.136.5.22) joined #pypy. | 23:21 | |
| mwhudson (~mwh@120.136.5.22) left irc: Changing host | 23:21 | |
| mwhudson (~mwh@linaro/mwhudson) joined #pypy. | 23:21 | |
| ronan__ (~ronan@host81-132-98-87.range81-132.btcentralplus.com) left irc: Quit: Ex-Chat | 23:26 | |
| justinpeel | hmm.. np.array([[1,2],[3,4]]).prod(1) = array([2.0, 0.0]) in numpypy. should be array([2, 12]) | 23:31 |
| squiddy (~squiddy@g224192091.adsl.alicedsl.de) left irc: Quit: Leaving | 23:39 | |
| mikefc_ | justinpeel: that'll be the very new axisops in action. | 23:42 |
| justinpeel | yeah, I'm looking at how to fix it | 23:42 |
| justinpeel | I made a test and I think I see where the problem is | 23:43 |
| mikefc_ | yet prod(0) works ... | 23:45 |
| justinpeel | yes | 23:47 |
| justinpeel | for some reason it isn't using the identity | 23:47 |
| --- Mon Jan 16 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!