| whitelynx|work (~whitelynx@63.241.75.144) left irc: Quit: Ex-Chat | 00:01 | |
| voidspace (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy. | 00:15 | |
| voidspace (~voidspace@87-194-212-65.bethere.co.uk) left irc: Changing host | 00:15 | |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 00:15 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 00:17 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 00:17 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 00:17 | |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 248 seconds | 00:22 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 00:23 | |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy. | 00:26 | |
| EnCuKou (~encukou@ip-94-113-220-25.net.upcbroadband.cz) left irc: Ping timeout: 240 seconds | 00:36 | |
| mutux (~muratux@139.179.102.153) left irc: Read error: Connection reset by peer | 01:03 | |
| squiddy (~squiddy@g229037172.adsl.alicedsl.de) left irc: Quit: Leaving | 01:17 | |
| nickik (~nick@217.150.234.222) left irc: Quit: Verlassend | 01:19 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection | 01:20 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/206 | 01:30 |
|---|---|---|
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/34 | 01:30 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 276 seconds | 01:42 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/778 | 01:49 |
| icrazyhack (~horieyui@183.60.100.166) left irc: Quit: http://www.cnblogs.com/crazyhack | 01:54 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1927 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/340 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/680 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/330 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/678 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1197 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/861 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1514 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/791 | 02:00 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 02:06 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 02:07 | |
| nettok (~quassel@190.149.184.238) joined #pypy. | 02:24 | |
| Shanita (~John@osbk-4db152de.pool.mediaWays.net) joined #pypy. | 03:03 | |
| Kaskuka (~John@osbk-4db163b1.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 03:04 | |
| nshepperd (~asdfg@ppp118-209-23-185.lns20.mel4.internode.on.net) left irc: Ping timeout: 240 seconds | 03:05 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1015 | 03:10 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 03:15 | |
| dracman (~draco@212.255.29.213) left irc: Ping timeout: 252 seconds | 03:18 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy. | 03:19 | |
| whitelynx (~whitelynx@75.111.197.204) left irc: Ping timeout: 255 seconds | 03:22 | |
| bgola (~bgola@c951826e.virtua.com.br) left irc: Remote host closed the connection | 03:22 | |
| bgola (~bgola@c951826e.virtua.com.br) joined #pypy. | 03:23 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/330 | 03:24 |
| dracman (~draco@212.255.43.181) joined #pypy. | 03:25 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 03:26 | |
| bgola (~bgola@c951826e.virtua.com.br) left irc: Ping timeout: 248 seconds | 03:28 | |
| dukebilgewater (~dukebilge@cpe-74-78-69-183.maine.res.rr.com) left irc: Quit: dukebilgewater | 03:31 | |
| oal (u4126@gateway/web/irccloud.com/x-lhdzgqgbidfplosv) left irc: Remote host closed the connection | 03:37 | |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-dlgnnjmsxhmyelkc) left irc: Remote host closed the connection | 03:38 | |
| bfirsh (u1308@gateway/web/irccloud.com/x-xcpfqjeimrkfzbxe) left irc: Remote host closed the connection | 03:38 | |
| fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) joined #pypy. | 03:39 | |
| oal (u4126@gateway/web/irccloud.com/x-hpsfptwsglulpoot) joined #pypy. | 03:52 | |
| bgola (~bgola@c951826e.virtua.com.br) joined #pypy. | 03:52 | |
| Justin__ (~Justin@114-36-59-117.dynamic.hinet.net) joined #pypy. | 03:55 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ | 03:57 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 03:57 | |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-wszeoynejeyzyaqp) joined #pypy. | 03:57 | |
| #pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services. | 03:57 | |
| Justin_ (~Justin@114-34-52-12.HINET-IP.hinet.net) left irc: Ping timeout: 240 seconds | 03:57 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 03:59 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Client Quit | 04:00 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 04:03 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1927 | 04:12 |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ | 04:17 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds | 04:19 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 04:26 | |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy. | 04:28 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ | 04:51 | |
| anish_ (anish@nat/redhat/x-mpffyrleibflqbsd) joined #pypy. | 04:57 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) left irc: Quit: DasIch | 05:02 | |
| fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) left irc: Quit: Leaving | 05:09 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/861 | 05:13 |
| nettok (~quassel@190.149.184.238) left irc: Ping timeout: 252 seconds | 05:14 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1514 | 05:14 |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 05:17 | |
| nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 255 seconds | 05:19 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/678 | 05:20 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1197 | 05:33 |
| k_bx (~k_bx@unstuck-evidence.volia.net) joined #pypy. | 05:39 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/680 | 05:48 |
| AlekSi (~AlekSi@85.235.191.82) joined #pypy. | 05:53 | |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 240 seconds | 05:57 | |
| mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) joined #pypy. | 05:59 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection timed out | 05:59 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 06:02 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) joined #pypy. | 06:03 | |
| mattip | a numpy epiphany: reduce and matrix multiplication are just fancy forms of broadcast, | 06:05 |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) left irc: Client Quit | 06:05 | |
| mattip | reduce needs an identity to get the first value correctly | 06:06 |
| mattip | but dot doesn't | 06:06 |
| mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) left irc: Quit: Page closed | 06:15 | |
| mikefc_ | a koen from mattip | 06:21 |
| timotimo | is that anything like a koan? | 06:26 |
| mikefc_ | nothing at all the same. | 06:34 |
| mikefc_ | :) | 06:34 |
| mikefc_ | mine's the jewish version? | 06:35 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/791 | 06:48 |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Read error: Operation timed out | 06:49 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/340 | 06:52 |
| therve (therve@2a01:e0b:1:116:ca0a:a9ff:fe03:3be7) left #pypy ("Ex-Chat"). | 06:58 | |
| asmeurer_ (~asmeurer@129.138.218.98) left irc: Quit: asmeurer_ | 07:10 | |
| fijal | morning | 07:16 |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection timed out | 07:17 | |
| squiddy (~squiddy@g229037172.adsl.alicedsl.de) joined #pypy. | 07:18 | |
| k_bx (~k_bx@unstuck-evidence.volia.net) left irc: Ping timeout: 252 seconds | 07:20 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 07:20 | |
| JaRoel (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection | 07:25 | |
| k_bx (~k_bx@unstuck-evidence.volia.net) joined #pypy. | 07:43 | |
| k_bx (~k_bx@unstuck-evidence.volia.net) left irc: Ping timeout: 248 seconds | 07:57 | |
| papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 07:59 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection timed out | 08:01 | |
| k_bx (~k_bx@195.20.130.1) joined #pypy. | 08:04 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 08:04 | |
| nanonyme (nanonyme@unaffiliated/nanonyme) left irc: Ping timeout: 260 seconds | 08:04 | |
| nanonyme (nanonyme@unaffiliated/nanonyme) joined #pypy. | 08:04 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer | 08:09 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 08:09 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 08:17 | |
| oal (u4126@gateway/web/irccloud.com/x-hpsfptwsglulpoot) left irc: Remote host closed the connection | 08:25 | |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-wszeoynejeyzyaqp) left irc: Read error: Connection reset by peer | 08:25 | |
| oal (u4126@gateway/web/irccloud.com/x-yptucbmimjcxgnyg) joined #pypy. | 08:26 | |
| mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) joined #pypy. | 08:36 | |
| mattip | this may be the wrong time of day to ask but, | 08:36 |
| mattip | does anyone have a 15 minute presentation on pypy? | 08:37 |
| mattip | (pypy the python interpreter, less about pypy as a translation platform) | 08:38 |
| fijal | yeah | 08:38 |
| fijal | mattip: what do you want to talk about? | 08:38 |
| fijal | all our talks are online | 08:38 |
| mher (~Adium@tethras5.ucd.ie) joined #pypy. | 08:38 | |
| mattip | extradocs? | 08:38 |
| fijal | https://bitbucket.org/pypy/extradoc/src/extradoc/talk | 08:39 |
| fijal | yes | 08:39 |
| fijal | if you say something about the topic, I can try to find a precise one | 08:39 |
| fijal | also, pypy tends to outgrow it's presentations quickly :/ | 08:39 |
| mattip | I want to show off how fast it is and why someone should care about pushing it forward | 08:39 |
| fijal | https://bitbucket.org/pypy/extradoc/src/extradoc/talk/ep2011/talk | 08:40 |
| fijal | this maybe? | 08:40 |
| mattip | where that someone currently uses matlab alot | 08:40 |
| fijal | we didn't talk about numpy yet a lot :/ | 08:40 |
| fijal | mattip: for when you need it? | 08:40 |
| fijal | I have to prepare a numpy-related presentation anyway | 08:40 |
| mattip | the presentation is 29/2/12 | 08:41 |
| oal (u4126@gateway/web/irccloud.com/x-yptucbmimjcxgnyg) left irc: Remote host closed the connection | 08:41 | |
| fijal | ah ok | 08:41 |
| mattip | but I need to show a draft soonish. | 08:41 |
| fijal | mattip: mine is some time 22/23rd of Feb | 08:42 |
| fijal | ok | 08:42 |
| fijal | I can definitely help | 08:42 |
| fijal | 15 min you say? | 08:42 |
| mattip | likewise? | 08:42 |
| mattip | yes, really short | 08:42 |
| fijal | ok | 08:44 |
| mattip | the ep2011 talk look good for a start, I will use that to get the draft approved and then work on it a bit. | 08:45 |
| fijal | well, it does not talk about numpy | 08:47 |
| fijal | so what do you want to talk about? | 08:47 |
| mattip | something like "hey this is not just an academic project, it can help you right now" | 08:47 |
| oal (u4126@gateway/web/irccloud.com/x-xrgmfvojqecpvhsv) joined #pypy. | 08:48 | |
| mattip | your laplace benchmark should be there | 08:48 |
| mattip | I also want to generate more developers, or get allocated time from work to contribute. | 08:49 |
| fijal | video processing maybe? | 08:49 |
| fijal | cool | 08:49 |
| fijal | that would be really awesome | 08:49 |
| fijal | I would show how quickly we progress | 08:49 |
| mattip | Yes, forgot about the cool video demo. | 08:49 |
| fijal | and that "running web apps" is not really our only goal | 08:50 |
| fijal | you might want to read pieces by travis oliphant and peter wang to know exactly what they accuse us of | 08:50 |
| mattip | where? | 08:50 |
| mattip | I would like to graphically show progress with numpy, like the speed benchmark shows constant improvement. | 08:51 |
| fijal | http://technicaldiscovery.blogspot.com/2011/10/thoughts-on-porting-numpy-to-pypy.html | 08:51 |
| mattip | you should say: "how would you show that?" | 08:52 |
| Action: mattip reading | 08:52 | |
| fijal | http://blog.streamitive.com/2011/10/17/numpy-isnt-about-fast-arrays/ | 08:53 |
| fijal | http://blog.streamitive.com/2011/10/19/more-thoughts-on-arrays-in-pypy/ | 08:53 |
| fijal | mattip: there is a pretty good slide on europython talk I think which is from speed | 08:53 |
| fijal | we don't have such detailed data yet though | 08:53 |
| mattip | I'm trying to envision the graph. It is a sloped line. That's as far as I got. | 08:54 |
| mattip | something else, time is the xaxis. | 08:54 |
| mattip | number of classes in numpypy? number of functions exposed in the module? | 08:55 |
| fijal | I dunno | 08:56 |
| fijal | size of codebase? | 08:56 |
| fijal | but it's not telling the entire story | 08:56 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 11bec89443f75e 15/pypy/module/micronumpy/: indexing by bool arrays of the same shape, step 1 | 08:56 |
| fijal | since codebase is extremely dense | 08:56 |
| fijal | I would just plot by hand features on a timeline | 08:56 |
| fijal | like dtypes/multidim arrays etc | 08:57 |
| antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy. | 08:57 | |
| fijal | antocuni: hi | 08:57 |
| antocuni | hi | 08:57 |
| mattip | timeline is good. | 08:57 |
| fijal | mattip: would be cool if we made a blogpost with that, so I can help | 08:58 |
| fijal | antocuni: I'm thinking about adding sphinx & generating cpython docs to nightly bench | 08:58 |
| antocuni | it sounds like a real world sensible benchmark, yes | 08:58 |
| antocuni | how do we compare? | 08:59 |
| stakkars_ (~tismer@i59F7726A.versanet.de) joined #pypy. | 08:59 | |
| Action: fijal is still running | 08:59 | |
| fijal | I think badly | 08:59 |
| Action: mattip back to the real world | 09:00 | |
| mattip | fijal: thanks. | 09:00 |
| fijal | antocuni: 5:14 vs 3:5 | 09:01 |
| fijal | antocuni: we loose | 09:01 |
| fijal | 3:05 | 09:01 |
| antocuni | "good" | 09:01 |
| antocuni | a world in which we win for every benchmark is boring :-) | 09:01 |
| mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) left irc: Quit: Page closed | 09:02 | |
| fijal | antocuni: a world in which we compete only against cpython is boring :/ | 09:04 |
| rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) joined #pypy. | 09:04 | |
| antocuni | true enough | 09:04 |
| fijal | pom pom pom | 09:07 |
| kenaan | 12benol jvm-improvements 111afe14470fa3 15/.hgignore: Add files generated by PyCharm to .hgignore | 09:10 |
| kenaan | 12benol jvm-improvements 1190cb8d420991 15/pypy/: Fix userspace builders in ootype Implement the getlength() method of StringBuilders in ootype. | 09:10 |
| kenaan | 12benol jvm-improvements 11143a2edf9601 15/pypy/: Fix compute_unique_id to support built-ins in ootype. Otherwise the translation fails because it doesn't ... | 09:10 |
| kenaan | 12benol jvm-improvements 116b650a500d68 15/pypy/rlib/: Declare oo_primitives that should implement some rffi operations. For now the actual implementations are ... | 09:10 |
| kenaan | 12benol jvm-improvements 11c59ec9806ac6 15/pypy/translator/: Add a missing cast from Unsigned to UnsignedLongLong in the JVM backend. | 09:10 |
| kenaan | 12benol jvm-improvements 11e31e85a8d333 15/pypy/translator/jvm/opcodes.py: Handle the 'jit_is_virtual' opcode by always returning False | 09:10 |
| kenaan | 12benol jvm-improvements 115ba62496112e 15/pypy/: Implemented float2longlong and longlong2float for the JVM. Also removed the oo_primitive for pypy__rotate... | 09:10 |
| kenaan | 12benol jvm-improvements 1179b211ffff3c 15/pypy/translator/jvm/src/pypy/PyPy.java: Simpler implementations of float2longlong and longlong2float. | 09:10 |
| kenaan | 12benol jvm-improvements 11259f2ab80ae4 15/pypy/rpython/: Fix the implementation of compute_unique_id for _builtin_type. | 09:10 |
| antocuni | good, I merged the pull request | 09:11 |
| antocuni | let's run the tests now | 09:11 |
| fijal | antocuni: we should do a post about stats | 09:12 |
| fijal | and 2011 | 09:12 |
| fijal | like | 09:12 |
| fijal | "in 2011 pypy grew from X to Y" | 09:12 |
| fijal | "in 2011 pypy got into fedora, debian, arch & gentoo" | 09:12 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1928 [12antocuni, jvm-improvements] | 09:13 |
| antocuni | fijal: good idea | 09:13 |
| fijal | antocuni: feel like doing something ni that area ;-) | 09:15 |
| antocuni | yes, but I'm not sure I'll manage to do it during the sprint | 09:16 |
| antocuni | I want to use this time to code :-) | 09:16 |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-wsfyymxqtfzowcvo) joined #pypy. | 09:16 | |
| #pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services. | 09:16 | |
| amaury_ (~amaury_@74.125.57.34) joined #pypy. | 09:17 | |
| fijal | Alex_Gaynor: hi | 09:20 |
| k_bx (~k_bx@195.20.130.1) left irc: Remote host closed the connection | 09:20 | |
| nanonyme | fijal, in 2012 it ate the world which promptly ended | 09:22 |
| lesshaste | hi fijal | 09:29 |
| lesshaste | I think I missed a message last night | 09:29 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 1135596eb33a6f 15/pypy/module/micronumpy/: add & and | | 09:29 |
| fijal | lesshaste: which one? | 09:31 |
| lesshaste | the last thing I said was about your persuading me not to reply to Mark | 09:31 |
| lesshaste | anything after that | 09:31 |
| lesshaste | back in 20 mins | 09:35 |
| lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) left irc: Quit: Leaving | 09:35 | |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy. | 09:38 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 09:39 | |
| arigato (~arigo@89-40.5-85.cust.bluewin.ch) joined #pypy. | 09:41 | |
| G2P (~G2P@fw-asn1.ornis.com) joined #pypy. | 09:43 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 09:52 | |
| kenaan | 12hager ppc-jit-backend 11909126039943 15/pypy/jit/backend/ppc/ppcgen/regalloc.py: check var.type in make_sure_var_in_reg | 09:53 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds | 10:02 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 10:05 | |
| JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 10:07 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 10:09 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds | 10:10 | |
| kenaan | 12fijal numpy-indexing-by-arrays-2 1123d3ca4e7881 15/pypy/module/micronumpy/test/test_numarray.py: good, fix the test | 10:10 |
| kenaan | 12arigo extradoc 11eb50533e45ea 15/sprintinfo/leysin-winter-2012/planning.txt: (all) planning for today | 10:11 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 11fed67b9508a6 15/pypy/module/micronumpy/interp_numarray.py: jit merge points | 10:16 |
| mikefc | ugh. just found another case where code gets jitted into oblivion. now trying to make a testcase | 10:17 |
| JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds | 10:17 | |
| gorakhargosh (~user@14.96.13.208) joined #pypy. | 10:17 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1928 [12antocuni, jvm-improvements] | 10:18 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 10:22 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 10:26 | |
| kenaan | 12fijal numpy-indexing-by-arrays-2 1192eaf5297003 15/pypy/module/micronumpy/: fix test_zjit. Skip the test that fails every time someone touches the world. | 10:27 |
| JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 10:27 | |
| Justin__ (Justin@114-36-59-117.dynamic.hinet.net) left #pypy. | 10:29 | |
| kenaan | 12antocuni jvm-improvements 1188e6de55b13e 15/: close about-to-be-merged branch | 10:29 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 244 seconds | 10:29 | |
| kenaan | 12antocuni default 11c1b66ebfb441 15/: (benol) merge the jvm-improvements branch, which fixes (again :-)) the translation for the JVM backend | 10:29 |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection timed out | 10:31 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 10:34 | |
| kvda (~kvda@124-169-134-221.dyn.iinet.net.au) joined #pypy. | 10:35 | |
| lizardo (~lizardo@189.2.128.130) joined #pypy. | 10:56 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Operation timed out | 10:56 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 10:59 | |
| anish_ (anish@nat/redhat/x-mpffyrleibflqbsd) left irc: Ping timeout: 244 seconds | 11:00 | |
| nirbheek_ (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Quit: Leaving | 11:05 | |
| witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 11:06 | |
| witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy. | 11:11 | |
| voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go | 11:15 | |
| kenaan | 12fijal default 1189436d06f0ae 15/pypy/objspace/std/unicodeobject.py: a minor improvement | 11:16 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 11fe9bca1da2b6 15/pypy/module/micronumpy/: progress on arr[arr_of_bools] = arr | 11:16 |
| kenaan | 12fijal default 1181aaf2060a57 15/pypy/objspace/std/unicodeobject.py: merge | 11:16 |
| anish_ (anish@nat/redhat/x-joqpfjfoetvxawix) joined #pypy. | 11:16 | |
| fijal | ok, I'll fight with getting sphinx to run nightly | 11:17 |
| AlekSi (~AlekSi@85.235.191.82) left irc: Remote host closed the connection | 11:22 | |
| ciphergoth | How come when I run the sandbox, it invokes gcc? | 11:22 |
| ciphergoth | and how come it wants to stat its own executable? | 11:23 |
| timotimo | the first part is the platform probing to see what a couple of features of your platform are (but i forgot which) | 11:24 |
| timotimo | probably stuff like calling conventions? different sizes of datatypes maybe? | 11:25 |
| ciphergoth | platcheck_7.c | 11:25 |
| kenaan | 12rguillebert py3k 1116202ef48d39 15/pypy/module/sys/interp_encoding.py: On linux, set ascii as the default locale if none can be found | 11:25 |
| kenaan | 12rguillebert py3k 117948fef3ed5a 15/: Merge heads | 11:25 |
| ciphergoth | and then module_0.c to make externmod.so | 11:26 |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 11:27 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 11:27 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 11:27 | |
| ciphergoth | hurm - so the overhead of executing a new sandbox is pretty high! | 11:28 |
| timotimo | i suspect with a bit of work this platform check could be constant folded away | 11:29 |
| timotimo | i just have no idea how it works :) | 11:29 |
| ciphergoth | Does PyPy support running more than one instance of the Python interpreter in a single process? | 11:33 |
| timotimo | not yet, but it's probably not very hard (what with the object spces already being neatly separated and all) | 11:33 |
| lukegb (~lukegb@2a01:4f8:101:2403::2:1) left irc: Read error: Operation timed out | 11:34 | |
| ciphergoth | would be very handy for lots of things | 11:34 |
| lukegb (~lukegb@2a01:4f8:101:2403::2:1) joined #pypy. | 11:34 | |
| ciphergoth | Just to say this explicitly: PyPy is *incredibly* cool in so many ways. Amazing work and congratulations to all involved. | 11:35 |
| ciphergoth | I'm wondering about how one might provide something like Codecademy for writing Python, and a sandboxed Python interpreter is an essential component | 11:35 |
| timotimo | yes, it didn't fall short of its goal to encourage experimentation and what at first seemed like a silly/dumb idea at the beginning turned out much, much better than most people expected | 11:36 |
| xorAxAx (~alexander@moinmoin/coreteam/alexander) left irc: Ping timeout: 248 seconds | 11:36 | |
| mcdonc_ (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 11:37 | |
| timotimo | have you looked at the python interpreter that's translated to javascript by llvm? | 11:37 |
| timotimo | i think it's got "emscripten" in its name somewhere | 11:37 |
| ciphergoth | Whose idea was rpython? That seems like the real breakthrough | 11:37 |
| apollo13 (~apollo13@unaffiliated/apollo13) left irc: Ping timeout: 248 seconds | 11:37 | |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Ping timeout: 248 seconds | 11:37 | |
| xorAxAx (~alexander@moinmoin/coreteam/alexander) joined #pypy. | 11:37 | |
| timotimo | dunno, i'm relatively new to the project | 11:37 |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Ping timeout: 248 seconds | 11:37 | |
| JaredW (~JaredW@118.142.17.238) left irc: Remote host closed the connection | 11:38 | |
| JaredW (~JaredW@118.142.17.238) joined #pypy. | 11:38 | |
| lizardo_ (~lizardo@189.2.128.130) joined #pypy. | 11:38 | |
| timotimo | http://pypy.org/people.html � this lists people who worked on the rpython translation toolchain, but not who came up with the idea in the first place | 11:40 |
| TheNoodle (~noodle@sarcasticsupport.com) left irc: Ping timeout: 248 seconds | 11:40 | |
| AlekSi (~AlekSi@85.235.191.82) joined #pypy. | 11:40 | |
| amaury_ (~amaury_@74.125.57.34) left irc: Ping timeout: 252 seconds | 11:40 | |
| apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy. | 11:40 | |
| raydeo (~raydeo@merickel.org) left irc: Ping timeout: 248 seconds | 11:40 | |
| pybot (~pybot@stackless.com) left irc: Ping timeout: 248 seconds | 11:40 | |
| -ERROR from server- Closing Link: stackless.com (Ping timeout: 248 seconds) | 11:40 | |
| pybot joined #pypy. | 11:40 | |
| -ChanServ (ChanServ@services.)- [#pypy] Welcome! | 11:40 | |
| -ChanServ (ChanServ@services.)- [#stackless] Welcome to #stackless. This channel is for the discussion of matters relating to Stackless Python. Remember that others in this channel may not be in the same timezone as you, so stick around for an answer (even if only in your channel history) if you ask a question. The mailing list is also recommended as being a faster place to get help (http://www.stackless.com/mailman/listinfo/stackless). | 11:41 | |
| tos9 (~tos9@unaffiliated/tos9) left irc: Ping timeout: 248 seconds | 11:41 | |
| tos9 (~tos9@unaffiliated/tos9) joined #pypy. | 11:41 | |
| lizardo (~lizardo@189.2.128.130) left irc: Ping timeout: 248 seconds | 11:42 | |
| Nick change: lizardo_ -> lizardo | 11:44 | |
| fijal | timotimo: what do you mean? | 11:46 |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy. | 11:46 | |
| fijal | ciphergoth: if you get a nightly it should not do any of those any more | 11:46 |
| fijal | ciphergoth: it was fixed and we're planning doing a new release soonish | 11:47 |
| timotimo | what do i mean with what? | 11:47 |
| fijal | <timotimo> http://pypy.org/people.html � this lists people who worked on the rpython translation toolchain, but not who came up with the idea in the first place | 11:48 |
| fijal | last thing you said :) | 11:48 |
| timotimo | right. well, it says armin, antonio and alex worked on it | 11:49 |
| squiddy (~squiddy@g229037172.adsl.alicedsl.de) left irc: Quit: Leaving | 11:49 | |
| fijal | everyone on the list worked on it | 11:49 |
| timotimo | but it does not say when it started and who came up with the idea to build rpython | 11:49 |
| fijal | is it important? | 11:50 |
| fijal | pypy is not a one-man project | 11:50 |
| hpk | timotimo: rpython was basically there from the very start around 2003 and continously worked on by many people | 11:51 |
| timotimo | hm, that's true, such an information really wouldn't be meaningful | 11:51 |
| jacob22 | The seed of making a language that would both be interpretable by CPython and translatable to C came from discussions between hpk, armin and Christian Tismer, but there were many people involved in hashing out what this would mean. Essentially everybody at the first sprint in Hildesheim in 2003. | 11:57 |
| jacob22 | And then the concept evolved over a couple of years, with many more contributors. | 11:58 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 12:04 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 12:08 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 12:10 | |
| amaury_ (~amaury_@74.125.57.34) joined #pypy. | 12:10 | |
| apexo (~apexo@2a01:238:436b:8301:5054:ff:fe87:82fb) left irc: Quit: ZNC - http://znc.sourceforge.net | 12:12 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 12:17 | |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 12:17 | |
| kenaan | 12fijal extradoc 11ebe7ed17d1d5 15/planning/micronumpy.txt: add a section | 12:21 |
| kenaan | 12fijal numpy-indexing-by-arrays-2 116fe5770303bb 15/pypy/module/micronumpy/: fix setitem with bool index | 12:28 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 12:29 | |
| kenaan | 12fijal numpy-indexing-by-arrays-2 11b48aeb33bb41 15/pypy/module/micronumpy/interp_numarray.py: introduce a jit driver, although it's a bit pointless right now | 12:32 |
| kenaan | 12fijal extradoc 11daaef6427a03 15/planning/micronumpy.txt: add two more items | 12:33 |
| fijal_ (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 12:36 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 12:39 | |
| Nick change: fijal_ -> fijal | 12:45 | |
| icrazyhack (~horieyui@183.93.198.23) joined #pypy. | 12:47 | |
| amaury (amaury_@nat/google/x-svrdhglkcccoxwsf) joined #pypy. | 12:48 | |
| kenaan | 12fijal default 11865005356c2f 15/pypy/objspace/std/: (fijal, cfbolz) improve error reporting | 12:48 |
| amaury_ (~amaury_@74.125.57.34) left irc: Ping timeout: 240 seconds | 12:50 | |
| anish_ (anish@nat/redhat/x-joqpfjfoetvxawix) left irc: Ping timeout: 260 seconds | 12:53 | |
| sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 12:54 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 13:00 | |
| gorakhargosh (~user@14.96.13.208) left irc: Quit: ERC Version 5.3 (IRC client for Emacs) | 13:00 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection | 13:00 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 13:01 | |
| int3__ (~int3__@bb116-14-91-196.singnet.com.sg) joined #pypy. | 13:03 | |
| rguillebert | hi amaury, it crashed because the locale didn't exist on the system so I put ascii by default but I'm not sure it's good enough | 13:04 |
| berkerpeksag (~berker@212.156.129.218) joined #pypy. | 13:06 | |
| berdario (~Tiibiidii@host158-89-dynamic.0-87-r.retail.telecomitalia.it) joined #pypy. | 13:09 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 13:14 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) joined #pypy. | 13:18 | |
| jnoller (~jnoller@vpn.nasuni.com) joined #pypy. | 13:28 | |
| fijal | jnoller: hi | 13:29 |
| jnoller | howdy | 13:29 |
| berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer | 13:30 | |
| berkerpeksag (~berker@212.156.129.218) joined #pypy. | 13:31 | |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 13:31 | |
| amaury | rguillebert: it's good enough for now | 13:32 |
| rguillebert | ok | 13:33 |
| amaury | CPython also return 'ascii' it seems | 13:33 |
| rguillebert | yes but I think it gets it from an external function | 13:34 |
| amaury | for LANG=foo it also returns 'ascii' | 13:41 |
| kenaan | 12arigo stm 1129e9345db0e6 15/pypy/translator/stm/: (antocuni, arigo) Test and fix: handle the case of stm_{get,set}field() called after descriptor_init() but outside a tr... | 13:52 |
| kenaan | 12arigo stm 114ef670f3a925 15/pypy/translator/: (antocuni, arigo) Refactored targetdemo.py to use the new interface. Allow debug_start/debug_print/debug_stop to work... | 13:52 |
| kenaan | 12arigo default 113d6e00235d87 15/pypy/config/pypyoption.py: Use default=False, and enable it only in -O2/O3/Ojit, like the other optimizations. Fixes an issue if weakrefs are... | 13:52 |
| kenaan | 12arigo default 11f34f0c11299f 15/: merge heads | 13:52 |
| bfirsh (u1308@gateway/web/irccloud.com/x-lzfctubzlskvzarf) joined #pypy. | 14:00 | |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy. | 14:01 | |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy. | 14:03 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 14:10 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) left irc: Quit: DasIch | 14:11 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) joined #pypy. | 14:11 | |
| ciphergoth | fijal: thanks for your help in Twitter! | 14:22 |
| ciphergoth | I'd figured out that I don't have to restart the controlling process | 14:22 |
| ciphergoth | but I *do* have to have one sandbox process per sandbox, and kill and restart it to get a fresh one | 14:23 |
| ciphergoth | looks like that could be changed but isn't on the roadmap | 14:23 |
| fijal | well, but invocation of the sandbox process does not run gcc | 14:24 |
| fijal | or anything like that | 14:24 |
| fijal | it does stat the executable | 14:24 |
| fijal | ciphergoth: nedbat is the one handling sandboxing issues | 14:24 |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) joined #pypy. | 14:24 | |
| ciphergoth | fijal: oh! it's pypy_interact that's running gcc? | 14:25 |
| fijal | yes | 14:25 |
| fijal | not even any more | 14:25 |
| gtaylor (~gtaylor@108-196-160-156.lightspeed.tukrga.sbcglobal.net) joined #pypy. | 14:25 | |
| ciphergoth | ah, phew | 14:25 |
| fijal | and tons of import and tons of crap | 14:25 |
| ciphergoth | aha | 14:25 |
| fijal | yes, it's crap, but not very important crap :) | 14:25 |
| fijal | it's also better on trunk | 14:25 |
| Action: ciphergoth does hg up default | 14:26 | |
| fijal | ciphergoth: you have to build sandbox yourself btw :/ | 14:26 |
| fijal | there is no nightly build | 14:26 |
| ciphergoth | no problem | 14:26 |
| fijal | besides, depending how secure you want it to be, you might want to compile it with -O2 and not with -Ojit | 14:26 |
| ciphergoth | OK rerunning translate now... | 14:27 |
| ciphergoth | and am using --opt=2 | 14:27 |
| fijal | --sandbox | 14:27 |
| fijal | right? | 14:27 |
| icrazyhack (~horieyui@183.93.198.23) left irc: Ping timeout: 252 seconds | 14:27 | |
| ciphergoth | though I plan on running this on a VM that won't do anything else, so I don't need sooper duper security | 14:28 |
| ciphergoth | python translate.py --sandbox --opt=2 targetpypystandalone.py | 14:28 |
| fijal | yeah, then you can do -Ojit | 14:28 |
| fijal | that's relatively secure | 14:28 |
| fijal | btu for example there are usually more ways to segfault the JIT than non-jit version | 14:28 |
| ciphergoth | OK will do that next time | 14:28 |
| fijal | for obvious reasons :) | 14:28 |
| fijal | what are you doing? | 14:29 |
| ciphergoth | fijal: I want to write a codecademy equivalent for Python | 14:29 |
| fijal | cool | 14:29 |
| nedbat | ciphergoth: that's funny, that's what I'm doing... | 14:29 |
| ciphergoth | I wrote this: http://dev.lshift.net/paul/rurple/ | 14:29 |
| ciphergoth | nedbat: oooh! | 14:29 |
| fijal | uh | 14:30 |
| ciphergoth | nedbat: I have not even started | 14:30 |
| ciphergoth | just investigating the tools | 14:30 |
| fijal | maybe you guys should cooperate instead :) | 14:30 |
| fijal | but who am I to tell you | 14:30 |
| nedbat | ciphergoth: yeah, watch out, that's how I became the maintainer of the sandbox! :) | 14:30 |
| ciphergoth | think that's a good idea! | 14:30 |
| ciphergoth | I don't even understand the sandbox | 14:30 |
| fijal | nedbat: admitedly it does not require much work :) | 14:30 |
| nedbat | ciphergoth: me either! (not really) | 14:31 |
| ciphergoth | it is quite a lot of work! | 14:31 |
| nedbat | fijal: no, but it could use more. | 14:31 |
| ciphergoth | the whole chain from web page to sandboxed process is pretty complex! | 14:31 |
| ciphergoth | nedbat: I'm a bit worried about performance. How expensive is it to start a sandboxed process | 14:31 |
| nedbat | ciphergoth: it's not cheap. | 14:32 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 248 seconds | 14:32 | |
| nedbat | ciphergoth: lahwran and I have been kicking around some ideas for speeding it up. | 14:33 |
| lahwran | it still has plenty of room for speedup | 14:33 |
| lahwran | unfortunately I've been busier than I'd have liked, and I haven't had time to work on it for a few weeks | 14:33 |
| lahwran | ciphergoth: at the moment it can start up and tear down a process in a half second on my p4ht 3ghz (not a good processor) | 14:34 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 14:34 | |
| ciphergoth | would trying to have multiple sandboxes in one process make sense? | 14:34 |
| lahwran | not really, no | 14:34 |
| lahwran | unless you mean multiple sandbox slaves in one pypy_interact, in which case, sure | 14:35 |
| lahwran | you should be aware that the sandbox is a two-process system when you run pypy_interact | 14:35 |
| lahwran | I've been testing it with a four (!) process system, a "client" which sends a request to a "server", which then fires up the "interact" process, which finally starts the "pypy-c-sandbox" process | 14:36 |
| nedbat | i've been using a django process which runs the interact part and starts the sandbox process | 14:36 |
| lahwran | horribly unnecessary, but I was attempting to produce something where I could distribute the client to some friends and say "try me" | 14:36 |
| lahwran | really, most of the "hard" work of detaching it from the pypy code is done, and it's just a matter of run-of-the-mill optimization | 14:38 |
| fijal | nedbat: but don't you run pypy_interact per sandbox process? | 14:38 |
| fijal | nedbat: the running of sandbox itself should be like 0.2s | 14:38 |
| fijal | I would think | 14:38 |
| nedbat | fijal: I don't run pypy_interact as its own process. I use that code in my django process. | 14:39 |
| fijal | nedbat: so django process is alive and running and tearing down one sandboxed process takes how much? | 14:39 |
| nedbat | fijal: I don't have real measurements. At the browser, running a chunk of code takes 1s or so? | 14:40 |
| justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Read error: Operation timed out | 14:40 | |
| ciphergoth | nedbat: so what do you have working at the moment? Sounds like at the very least you have | 14:41 |
| fijal | nedbat: that's way too long | 14:41 |
| ciphergoth | a way of launching sandboxes from inside your browser | 14:41 |
| fijal | ciphergoth: in principle it should be possible to run that in-process | 14:41 |
| ciphergoth | from inside your webs erver rather | 14:41 |
| ciphergoth | fijal: *confused* | 14:41 |
| fijal | ciphergoth: as in the two-process model is not something inherently built-in | 14:42 |
| nedbat | fijal: run *what* in process? | 14:42 |
| fijal | nedbat: sandbox inside pypy-interact | 14:42 |
| fijal | nedbat: but I think 1s comes from somewhere ele | 14:42 |
| fijal | else | 14:42 |
| ciphergoth | fijal: you're talking about multiple instances of the Python interpreter in a single process? | 14:42 |
| nedbat | fijal: yeah, i don't know where the 1s is from. | 14:42 |
| ciphergoth | so the process contains both the controlling interpreter and the sandboxed interpreter? | 14:43 |
| fijal | ciphergoth: yes | 14:43 |
| ciphergoth | but a single garbage colllector for both | 14:43 |
| fijal | ciphergoth: probably more than one | 14:44 |
| fijal | ciphergoth: you can't control the amount of memory very good with a single GC | 14:44 |
| ciphergoth | makes sense | 14:44 |
| fijal | nedbat: let me put it that way. if your website becomes popular enough the time of start is actually a problem, I'm willing to help you trim it :) | 14:44 |
| ciphergoth | so what is shared besides the PID? IIRC process startup itself is very cheap under Linux | 14:44 |
| nedbat | fijal: thanks! | 14:45 |
| fijal | as there are no pieces of design that prevents it from happening | 14:45 |
| nedbat | ciphergoth: http://choosepython.com/gym/2/lists | 14:45 |
| fijal | it's just that we never cared | 14:45 |
| ciphergoth | fijal: we'll hold you to that :-) | 14:45 |
| fijal | :] | 14:45 |
| whitelynx (~whitelynx@63.241.75.144) joined #pypy. | 14:45 | |
| fijal | ciphergoth: communication is cheaper | 14:46 |
| ciphergoth | nedbat: WOW! | 14:46 |
| fijal | so say instead of passing in strings you can just pass memory references | 14:46 |
| fijal | all and all it's trading security for performance in a way | 14:46 |
| fijal | but you can do tricks | 14:46 |
| fijal | like setup python interpreter (this is taking some time) and then fork for each request | 14:46 |
| ciphergoth | nedbat: amazing work! Is the source available anywhere? | 14:46 |
| ciphergoth | nedbat: getting to where you're up to isn't easy! | 14:47 |
| ciphergoth | nedbat: but I want to do something even harder | 14:47 |
| ciphergoth | I want it to be like Rurple-NG, with an integrated debugger | 14:47 |
| fijal | ciphergoth: ah, you know you can do crazy stuff in pypy with debugger? | 14:48 |
| ciphergoth | so you can single-step through your program | 14:48 |
| ciphergoth | fijal: no? I just used settrace | 14:48 |
| fijal | you can fake tracebacks | 14:48 |
| fijal | for example | 14:48 |
| fijal | using transparent proxies | 14:48 |
| nedbat | ciphergoth: thanks, you should also see this: http://people.csail.mit.edu/pgbovine/python/ | 14:48 |
| ciphergoth | fijal: don't udnerstand sorry! | 14:48 |
| fijal | ciphergoth: in cpython you can't create new tracebacks | 14:49 |
| ciphergoth | nedbat: is that also pypy-based? | 14:49 |
| nedbat | ciphergoth: no, I don;t think so | 14:49 |
| ciphergoth | fijal: where should I go to larn more abotu pypy and the debugger? | 14:50 |
| fijal | ciphergoth: it's not debugger specific, but you can read about transparent proxies | 14:50 |
| fijal | http://doc.pypy.org/en/latest/objspace-proxies.html#transparent-proxies | 14:51 |
| ciphergoth | hmm, wonder how that other link sandboxes the Python code? | 14:51 |
| Da_Blitz | wasent there a seccomp branch in the pypy repo? | 14:51 |
| exnihilo (~nathan@descartes.its.unc.edu) left irc: Remote host closed the connection | 14:51 | |
| nedbat | ciphergoth: he has a link to his repo. | 14:51 |
| ciphergoth | netbat: is the source for http://choosepython.com/ online? | 14:51 |
| ciphergoth | I see that - looking now | 14:52 |
| nedbat | ciphergoth: it is: https://github.com/nedbat/choosy | 14:52 |
| exnihilo (~nathan@descartes.its.unc.edu) joined #pypy. | 14:52 | |
| ciphergoth | O M G | 14:53 |
| ciphergoth | am very pleased to find so much of the work I thought was ahead of me already done | 14:53 |
| nedbat | ciphergoth: :) it makes me wonder who else is out there working on stuff like this. | 14:54 |
| mat^2 (~mathias@212.130.113.35) joined #pypy. | 14:55 | |
| fijal | ciphergoth: in general (sandbox is a sad exception) pypy release is usually centuries old in terms of features/performance | 14:58 |
| AlekSi_ (~AlekSi@85.235.191.82) joined #pypy. | 14:58 | |
| fijal | even though we try to release it every 2 months or so | 14:58 |
| nedbat | ciphergoth: drop me an email, and we'll talk about what to do together. | 14:58 |
| bivab (~david@89-40.5-85.cust.bluewin.ch) joined #pypy. | 14:59 | |
| ciphergoth | nedbat: I shall! | 15:00 |
| fijal | nedbat: btw, coverage is awesome | 15:00 |
| nedbat | fijal: :) thanks | 15:00 |
| ciphergoth | wow, translate is absolutely bringing my machine to a standstill | 15:01 |
| AlekSi (~AlekSi@85.235.191.82) left irc: Ping timeout: 240 seconds | 15:01 | |
| ciphergoth | nedbat: paul@ciphergoth.org | 15:01 |
| ciphergoth | thanks | 15:01 |
| mat^2 (~mathias@212.130.113.35) left irc: | 15:02 | |
| kenaan | 12fijal release-1.8.x 112b32f9c1533d 15/pypy/module/sys/version.py: Create a release branch | 15:03 |
| fijal | nedbat: speaking of which | 15:04 |
| ciphergoth | what's coverage? | 15:04 |
| kenaan | 12fijal default 11a4261375b359 15/pypy/module/cpyext/include/patchlevel.h: mark patchlevel as well | 15:04 |
| kenaan | 12fijal default 1196334e1f84f3 15/pypy/module/: update it here as well | 15:04 |
| nedbat | uh-oh, feature request in-coming! | 15:04 |
| nedbat | ciphergoth: http://nedbatchelder.com/code/coverage/ | 15:05 |
| antocuni | "I don't know what is the question, but pdb(++) is the answer" | 15:06 |
| arigato | in the series "did you know it": UnicodeError is a subclass of ValueError | 15:08 |
| mat^2 (~mathias@212.130.113.35) joined #pypy. | 15:08 | |
| fijal | nice | 15:08 |
| ciphergoth | wow - how is it possible to know which lines of a Python program are executable when they're not executed? | 15:08 |
| fijal | ciphergoth: what? | 15:09 |
| ciphergoth | fijal: what coverage does seems impossible to me | 15:09 |
| fijal | ciphergoth: dunno, ask ned | 15:09 |
| nedbat | ciphergoth: luckily the compiler leaves some information in the code objects. | 15:10 |
| ciphergoth | nedbat: ah! | 15:10 |
| nedbat | ciphergoth: coverage.py used to re-parse the code, etc, but it was complex and sometimes wrong. Now it just uses the line number table in the code object. | 15:10 |
| ciphergoth | so you scan all the code objects looking for lines that might be executable - coolness! | 15:10 |
| nedbat | ciphergoth: but for branch coverage, it tries to understand the bytecode, and is complex and sometimes wrong. :( | 15:10 |
| ciphergoth | it's very cool | 15:12 |
| exnihilo | Excuse my ignorance, if I wanted to suspend a frame (to be resumed later), what would be the best way to go about implementing that? Also, would it be possible to make a deepcopy of said paused frame object? | 15:13 |
| exnihilo | I've looked at the code in eval and a few other places but I still don't have much context | 15:13 |
| exarkun | a deep copy of a frame object is likely to explode and kill everyone nearby | 15:14 |
| exnihilo | I recognize that it is a non trivial issue :D | 15:15 |
| stakkars_ (~tismer@i59F7726A.versanet.de) left irc: Quit: schnarch | 15:15 | |
| Da_Blitz | exnihilo: have you looked at stackless? | 15:16 |
| voidspace (~anonymous@python/psf/voidspace) joined #pypy. | 15:16 | |
| exnihilo | no, pypy was my first stop. My project is symbolic objects that short circuit their execution context to return generative symbolic expressions | 15:16 |
| fijal | exnihilo: pypy and stackless can pickle frames | 15:17 |
| fijal | pickled frame is suspended | 15:17 |
| fijal | although I would suggest suspending using stackless features (like greenlets) | 15:17 |
| fijal | or generators | 15:17 |
| exnihilo | I wanted to copy the generator interface as much as possible. the issue is that I don't want symbolic expressions to be one time use things, or I'm just making thunk over | 15:18 |
| fijal | exnihilo: you're much better with other languages though | 15:18 |
| fijal | I would not suggest deepcopying the frame | 15:18 |
| exnihilo | well. the way I was looking at it was to escape out of the inner loop with an exception and a copy of the frame, roughly | 15:19 |
| exnihilo | but I'm open to suggestions | 15:19 |
| timotimo | nedbat: did i just start a process that does nothing but loop on your server? :\ | 15:19 |
| Action: nedbat knew it was a bad idea to post that url... | 15:20 | |
| exnihilo | I just need to be able to hope out of something like str(Symbol()), rather than have the frame complete | 15:20 |
| nedbat | timotimo: probably, were you trying to break it? What did you do? | 15:20 |
| kenaan | 12rguillebert py3k 11f3ca10db7f5e 15/pypy/interpreter/pyparser/test/test_pyparse.py: (antocuni,romain) Adapt the test to py3k | 15:22 |
| kenaan | 12rguillebert py3k 115dd563b2360f 15/pypy/interpreter/: (antocuni, romain) started to parse the new tuple unpacking (only the case with no parenthesis is implemented so... | 15:22 |
| CIA-17 | 03cfbolz 07roundup * 10#1001/Improve RPython documentation: | 15:22 |
| CIA-17 | [new] We should try to make the RPython documentation better. Here's a list of some | 15:22 |
| CIA-17 | things that Laurie had a hard time figuring out: | 15:22 |
| CIA-17 | - "The di ... * 14https://bugs.pypy.org/issue1001 | 15:22 |
| CIA-17 | 03cfbolz 07roundup * 10#1002/Improve JIT documentation: | 15:22 |
| CIA-17 | [new] Applying the JIT to an interpreter should have some better documentation. All | 15:22 |
| CIA-17 | the information is basically there (in blog posts, papers, do ... * 14https://bugs.pypy.org/issue1002 | 15:22 |
| nedbat | timotimo: no answer? | 15:24 |
| timotimo | nedbat: while True: pass | 15:27 |
| timotimo | just to see if i get a time-out or something | 15:28 |
| witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 15:28 | |
| nedbat | timotimo: i might not have timeouts in place yet... :( | 15:28 |
| timotimo | that tutor thing with the visualisation is HOT | 15:29 |
| nedbat | timotimo: yes, it's very cool. | 15:30 |
| timotimo | i'm just looking at a naive implementation of quicksort in it | 15:31 |
| timotimo | it's really really sweet | 15:31 |
| timotimo | do you know who made it and how? | 15:31 |
| nedbat | timotimo: there's a link to the repo on it somewhere | 15:31 |
| ciphergoth | you can go back as well as forward! | 15:33 |
| nedbat | ciphergoth: single-steps the program on the server, then sends the entire run history to the browser as json. | 15:35 |
| ciphergoth | ah! | 15:35 |
| nedbat | ciphergoth: *he single-steps. | 15:35 |
| bgola (~bgola@c951826e.virtua.com.br) left irc: Ping timeout: 252 seconds | 15:35 | |
| ciphergoth | downsides: no interaction, and you can't do anything with a program that doesn't halt. | 15:37 |
| ciphergoth | Upsides: you can go backwards! | 15:37 |
| nedbat | ciphergoth: downside: he doesn't allow any imports. | 15:37 |
| ciphergoth | hmm think that's OK for this job | 15:37 |
| nedbat | ciphergoth: ah, that's where you and I may differ: I want to be able to do exercises like, "see what textwrap.dedent does" | 15:38 |
| ciphergoth | OK | 15:38 |
| ciphergoth | I want to allow users to drive a robot round a maze | 15:40 |
| ciphergoth | unfortunately there's no easy way to add to the list of functions which are deferred to the sandbox | 15:41 |
| fijal | ciphergoth: you have to embed it in some sort of API | 15:41 |
| fijal | no easy way | 15:42 |
| ciphergoth | how hard is that? | 15:42 |
| fijal | you can for example serialize commands and send it over a socket | 15:42 |
| Da_Blitz | that reminds me of a BP website where you could drive model dump trucks around a model town via flash | 15:42 |
| fijal | so say a file descriptor 1001 would always mean something | 15:42 |
| ciphergoth | that gets pretty complex compared to directly deferring | 15:43 |
| nedbat | ciphergoth: or even a known filepath: /dev/robot is the socket to write to. | 15:43 |
| ciphergoth | yes | 15:43 |
| nedbat | ciphergoth: write an api on the sandbox side that simply pickles and writes to the "socket". | 15:44 |
| AlekSi_ (~AlekSi@85.235.191.82) left irc: Remote host closed the connection | 15:45 | |
| ciphergoth | as I say that gets moderately complicated compared to simulating an API call | 15:46 |
| ciphergoth | but may be the only way forward | 15:46 |
| fijal | ciphergoth: well | 15:46 |
| fijal | ciphergoth: there is no really secure way to calling python API | 15:46 |
| fijal | ciphergoth: feel free to come with a proposal | 15:46 |
| fijal | you can even use something already existing like xmlrpc or amp or something | 15:47 |
| fijal | or execnet | 15:47 |
| ciphergoth | sure and that's simple from the interpreter point of view | 15:48 |
| nedbat | ciphergoth: remember, this isn't a real socket. One .py file (running in the sandbox) will say, f.write(pickle.dumps(obj)) and in the interact code will be: def write(d): obj = pickle.loads(d) | 15:48 |
| ciphergoth | but the controlling process has a much more interesting time of it | 15:48 |
| ciphergoth | you can guarantee that it'll always write the whole thing in one syscall? | 15:50 |
| ciphergoth | is unpickling safe? | 15:50 |
| raydeo (~raydeo@merickel.org) joined #pypy. | 15:51 | |
| lucian | ciphergoth: afaik, not really. you could construct an object that executes random things when unpickled | 15:51 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Read error: Connection reset by peer | 15:52 | |
| Action: Da_Blitz dosent know if its helpful but i do have a lib to isolate a python process fromt he rest of the running system | 15:52 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 15:53 | |
| squiddy (~squiddy@g229037172.adsl.alicedsl.de) joined #pypy. | 15:53 | |
| mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 240 seconds | 15:54 | |
| nedbat | ciphergoth: marshal then. | 15:55 |
| nedbat | ciphergoth: or limit the data that can go in. | 15:55 |
| nedbat | ciphergoth: use json if you really want to be sure. | 15:55 |
| nedbat | Da_Blitz: how does your lib work? | 15:56 |
| ciphergoth | marshal is fine | 15:56 |
| ciphergoth | marshal is what the sandbox itself usees | 15:56 |
| timotimo | every now and then interest flames up in my head to restart the programming game engine that would use python for its entities' scripts | 15:56 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Remote host closed the connection | 15:56 | |
| ciphergoth | though the manual page explicitly disclaims such use | 15:56 |
| ciphergoth | Warning The marshal module is not intended to be secure against erroneous or maliciously constructed data. Never unmarshal data received from an untrusted or unauthenticated source. | 15:57 |
| Da_Blitz | nedbat: linux namespaces, bind mounts and some other LXC inspired stuff | 15:57 |
| nedbat | ciphergoth: in this case, it's your api code creating the marshal, it isn't untrusted. | 15:58 |
| nedbat | ciphergoth: that warning is about arbitrarily-constructed bytestreams being unmarshalled. | 15:58 |
| ciphergoth | what's to stop the code in the sandbox opening /dev/robot and sending the stuff itself? | 15:58 |
| ciphergoth | or using reflection to alter what my code sends? | 15:58 |
| nedbat | ciphergoth: ah, that is a good point. | 15:58 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 15:58 | |
| nedbat | ciphergoth: json it is. | 15:58 |
| ciphergoth | aargh not json | 15:59 |
| nedbat | ciphergoth: why not? | 15:59 |
| ciphergoth | what about AMP or PB? | 15:59 |
| ciphergoth | slooooooow | 15:59 |
| timotimo | are you seriously worried about performance at this level? | 15:59 |
| nedbat | ciphergoth: what bandwidth are you expecting across this boundary? | 15:59 |
| felipejcruz (~felipecru@mvx-187-16-96-106.mundivox.com) joined #pypy. | 15:59 | |
| fijal | the cape town heat wave is killing my computer :/ | 16:00 |
| ciphergoth | I suppose it's acceptable really, just a reflex | 16:00 |
| nedbat | ciphergoth: i'll know to stand back the next time I tap your knee... | 16:03 |
| witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy. | 16:03 | |
| dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy. | 16:05 | |
| durin42 (~durin@173-15-14-174-Illinois.hfc.comcastbusiness.net) joined #pypy. | 16:05 | |
| durin42 (~durin@173-15-14-174-Illinois.hfc.comcastbusiness.net) left irc: Changing host | 16:05 | |
| durin42 (~durin@adium/durin42) joined #pypy. | 16:05 | |
| felipejcruz (~felipecru@mvx-187-16-96-106.mundivox.com) left irc: Ping timeout: 276 seconds | 16:06 | |
| mwhudson (~mwh@linaro/mwhudson) joined #pypy. | 16:07 | |
| tumbleweed | fijal: I was also hearing horrible noises out of a hard drive, last night :/ | 16:10 |
| fijal | tumbleweed: are you coming for Tue dinner with jeremy btw? | 16:10 |
| tumbleweed | yup | 16:10 |
| fijal | do you know where/what time? | 16:10 |
| tumbleweed | as usual, we meet at UCT at 18:30. So I'll know then | 16:11 |
| fijal | oh ok | 16:11 |
| fijal | sms me or make jeremy do that | 16:11 |
| tumbleweed | does jerith have your number? I don't | 16:11 |
| asmeurer__ (~asmeurer@129.138.218.98) joined #pypy. | 16:12 | |
| fijal | he does | 16:12 |
| fijal | arigato: do you feel like replying to the guy on ML abotu memory problems? | 16:15 |
| fijal | or should I try to do it? | 16:15 |
| exnihilo | fijal: so, from reading the docs, if I wrap code to be evuated in continulets, I will be able to achieve the short circuit behavior I want by playing games with f_back? | 16:16 |
| fijal | exnihilo: I don't know upfront | 16:16 |
| fijal | exnihilo: I hope not | 16:16 |
| fijal | arigato: I'll reply | 16:16 |
| exnihilo | heh :| I think I need to just get something working with a test case so someone who knows interpreters better can tell me how to do things in a less insane way | 16:17 |
| kenaan | 12antocuni py3k 11dc00842db627 15/pypy/interpreter/pyparser/test/test_pyparse.py: (antocuni, romain): most of the time the parser does not need a space, thus we instantiate it only for the tests (o... | 16:20 |
| kenaan | 12fijal benchmarks 1170c28be43161 15/: add cpython documentation generation by sphinx | 16:21 |
| Da_Blitz | exnihilo: you really dont want to play with continulets, greenlets or stackless is a better idea as they exisit for cpython as well | 16:21 |
| kenaan | 12fijal benchmarks 1177aa6fd8e4ec 15/: merge | 16:21 |
| fijal | pushed | 16:22 |
| exnihilo | da_blitz: I appreciate your input. I am pretty bad at describing exactly what I want, I think some code will made what I mean clearer :) | 16:24 |
| fijal | exnihilo: I think our point is "if you want to play with frames for your production code, it's probably a very bad idea" | 16:24 |
| Da_Blitz | np, feel free to send me a link when you have somthing, i have played with stackles and greenlets before | 16:25 |
| exnihilo | fijal: this isn't for production code, this is some proof of concept stuff with symbolic programming in python | 16:26 |
| exnihilo | I know frames are generally bad mojo for production code :) | 16:26 |
| fijal | ok | 16:27 |
| kenaan | 12antocuni py3k 1146e3b0574cc8 15/pypy/interpreter/pyparser/test/test_pyparse.py: bah, if we inherit we run all the test twice | 16:28 |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood | 16:29 | |
| kenaan | 12rguillebert py3k 11e110ee00c88b 15/pypy/interpreter/pyparser/data/Grammar3.2: (antocuni, romain) port the py3k grammar for the new tuple unpacking (with parenthesis) | 16:30 |
| bgola (~bgola@c951826e.virtua.com.br) joined #pypy. | 16:32 | |
| kenaan | 12fijal benchmarks 11c01ab59c2a28 15/: fix the benchmark | 16:37 |
| fijal | ok, good | 16:39 |
| fijal | antocuni: we have a benchmark we're slower on :) | 16:39 |
| timotimo | awesome! | 16:45 |
| berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer | 16:46 | |
| berkerpeksag (~berker@212.156.129.218) joined #pypy. | 16:47 | |
| berkerpeksag (~berker@212.156.129.218) left irc: Quit: Instantbird 1.1 | 16:56 | |
| bivab_ (~david@89-40.5-85.cust.bluewin.ch) joined #pypy. | 16:59 | |
| Alex_Gaynor | fijal: do you have a link to numpypy readiness? | 17:01 |
| bivab (~david@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 240 seconds | 17:03 | |
| Nick change: bivab_ -> bivab | 17:03 | |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) left irc: Quit: Leaving | 17:04 | |
| oxnard (~oxnard@ws29-ilnk.elkhart.net) joined #pypy. | 17:10 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 17:16 | |
| JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 240 seconds | 17:17 | |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy. | 17:24 | |
| amaury (amaury_@nat/google/x-svrdhglkcccoxwsf) left irc: Ping timeout: 260 seconds | 17:26 | |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood | 17:27 | |
| sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving | 17:30 | |
| mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy. | 17:30 | |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds | 17:32 | |
| G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving. | 17:44 | |
| timotimo | in a descr_foo method, how can i set a default value? foo=space.wrap("Bar")? | 17:44 |
| timotimo | w_foo, that is | 17:44 |
| timotimo | no, that makes no sense | 17:44 |
| Alex_Gaynor | timotimo: w_foo="Bar", it'll automatically be wrapped | 17:45 |
| timotimo | no, that makes no sense | 17:47 |
| timotimo | sorry, wrong console :) | 17:47 |
| timotimo | if i want to check for the content ,will i call space.unwrap on it? | 17:48 |
| mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) joined #pypy. | 17:51 | |
| kenaan | 12rguillebert py3k 11fbf25d09b601 15/pypy/interpreter/: (antocuni,romain) Add support for the new unpacking at the ast level fixed list comprehension | 17:51 |
| Alex_Gaynor | timotimo: No, you can't use space.unwrap in RPython code, to unwrap a str you use space.str_w | 17:53 |
| timotimo | turns out my code was totally okay, but i incorrectly read the fail/traceback of my test case | 17:55 |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy. | 17:55 | |
| timotimo | now i've "implemented" ndarray.ravel and i'll implement numpypy.ravel, too | 17:56 |
| cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection | 17:56 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) left irc: Quit: DasIch | 18:01 | |
| timotimo | what pastebin is cool nowadays? | 18:02 |
| timotimo | https://gist.github.com/1627867 � review plox | 18:03 |
| Alex_Gaynor | timotimo: paste.pocoo | 18:04 |
| Alex_Gaynor | you can't use space.unwrap in RPython code, you should use space.str_w | 18:04 |
| Alex_Gaynor | but really you should use @unwrap_spec(order=str) | 18:04 |
| Alex_Gaynor | your tests are missing asserts for some of the line | 18:05 |
| mher (~Adium@tethras5.ucd.ie) left irc: Quit: Leaving. | 18:06 | |
| Alex_Gaynor | timotimo: numpypy.ravel should really already be in the fromnumeric file, shouldn't it? | 18:06 |
| timotimo | oh? | 18:07 |
| timotimo | well, it wasn't in the nightly build | 18:08 |
| Alex_Gaynor | well, if it's not in there already,that's certainly where it belonds | 18:08 |
| Alex_Gaynor | perhaps mikefc or fijal could explain that file | 18:08 |
| timotimo | where do i even find it? | 18:09 |
| Alex_Gaynor | lib_pypy/numpypy | 18:09 |
| timotimo | oh, duh, there it is | 18:09 |
| Alex_Gaynor | it would be good if this file had a docstring explaining how to update it | 18:10 |
| timotimo | right, i didn't look for numpypy.ravel, so i didn't see the not implemented thingie | 18:10 |
| arigato (~arigo@89-40.5-85.cust.bluewin.ch) left irc: Quit: See you | 18:10 | |
| timotimo | ah, i suppose it's generated then. yes, a bit of documentation would be great | 18:10 |
| bivab (~david@89-40.5-85.cust.bluewin.ch) left irc: Quit: bivab | 18:10 | |
| timotimo | Alex_Gaynor: with "some of the line", were you referring to the case where a is not an array yet? | 18:12 |
| timotimo | where do i put tests for the ravel function from the "fromnumeric" file? it seems like i can't just import ravel from "_numpypy" in my test | 18:15 |
| fijal | hello | 18:18 |
| timotimo | hello fijal :) | 18:18 |
| fijal | Alex_Gaynor: like baroquesoftware.com:5000 | 18:18 |
| fijal | ? | 18:19 |
| timotimo | if you explain fromnumeric to me, i could write that bit of docstring | 18:19 |
| Alex_Gaynor | fijal: Firefox can't establish a connection to the server at baroquesoftware.com:5000. | 18:19 |
| jaffachief (~textual@host86-170-15-228.range86-170.btcentralplus.com) joined #pypy. | 18:19 | |
| fijal | oh yes my machine crashed | 18:19 |
| AlekSi (~AlekSi@176.57.74.133) joined #pypy. | 18:19 | |
| fijal | how about now? | 18:20 |
| Alex_Gaynor | fijal: yes, cool | 18:20 |
| Alex_Gaynor | fijal: Can I make a pony request? | 18:20 |
| timotimo | oooh, that's colorful | 18:21 |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) joined #pypy. | 18:21 | |
| fijal | Alex_Gaynor: go ahead | 18:23 |
| kenaan | 12alex_gaynor default 118dea12b8117a 15/: move some stuff that's in fromnumeric out of the appnumpy file. | 18:23 |
| fijal | Alex_Gaynor: I want to work on this but I have tons of shit on my list | 18:23 |
| fijal | feel like taking over something? | 18:23 |
| fijal | timotimo: do you need some explaining? | 18:23 |
| timotimo | alex claimed i do | 18:24 |
| Alex_Gaynor | fijal: yeah, I want to make it so that it shows types and if you click one it inspects the methods, and for functions it shows which parameters we have | 18:24 |
| Alex_Gaynor | fijal: I can do it though, I need lunch and tracebin hacking first though | 18:25 |
| kenaan | 12alex_gaynor default 11593bcb6b2e6f 15/lib_pypy/numpypy/test/test_fromnumeric.py: oops, fix tests | 18:25 |
| fijal | Alex_Gaynor: yeah, that sounds cool | 18:26 |
| fijal | __doc__ maybe? | 18:26 |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: meeting | 18:26 | |
| Alex_Gaynor | fijal: you mean check that we have a matching __doc__? | 18:26 |
| fijal | we don't | 18:27 |
| fijal | but it might link to doc | 18:27 |
| fijal | I'll add array.stuff | 18:27 |
| fijal | and the legend | 18:27 |
| fijal | right now | 18:27 |
| Alex_Gaynor | do it for all types :) | 18:27 |
| fijal | oh ok | 18:27 |
| fijal | cool | 18:27 |
| Alex_Gaynor | it's not like it's harder :) | 18:27 |
| fijal | besides, I want to generate this as static html nightly | 18:27 |
| fijal | how about that? | 18:27 |
| Alex_Gaynor | getting food now | 18:27 |
| fijal | ok, you deal with that | 18:27 |
| Alex_Gaynor | with what, food? ok :) | 18:27 |
| kenaan | 12alex_gaynor default 11f602adef8b38 15/lib_pypy/numpypy/test/test_fromnumeric.py: uncomment a test | 18:28 |
| timotimo | is there a way to run the doctests? or are we on a strict anti-doctest policy? | 18:29 |
| fijal | timotimo: unless they come with some other software, yes that's the policy | 18:29 |
| papercrane (~papercran@75.101.111.82) joined #pypy. | 18:31 | |
| voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace | 18:32 | |
| dzen | ~/win 6 | 18:33 |
| Alex_Gaynor | fijal: ok, black with food :) | 18:36 |
| nopf (~froschif@147.172.224.4) joined #pypy. | 18:36 | |
| fijal | good | 18:37 |
| AlekSi (~AlekSi@176.57.74.133) left irc: Remote host closed the connection | 18:37 | |
| timotimo | why do you raise NotImplemented? | 18:38 |
| timotimo | insetad of NotImplementedError? | 18:38 |
| fijal | for what? | 18:38 |
| timotimo | i believe NotImplemented is for comparison oparators only | 18:38 |
| fijal | do we? | 18:38 |
| fijal | we should noty | 18:38 |
| fijal | it's a bug | 18:38 |
| Alex_Gaynor | it is, raising NotImplemented won't work | 18:38 |
| timotimo | yup :) | 18:38 |
| Alex_Gaynor | fijal: btw, David's talk on annotation/flow space was the best explanation I've ever seen for normal people | 18:39 |
| fijal | cool | 18:39 |
| fijal | kernel change, reboot | 18:40 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Read error: Connection reset by peer | 18:40 | |
| Alex_Gaynor | o_O | 18:40 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 18:43 | |
| kenaan | 12alex_gaynor default 1133bd443587ba 15/pypy/module/_codecs/interp_codecs.py: split _codecs.lookup_codec into parts with and without a loop, so the JIT can inline most of lookup_codec, ev... | 18:51 |
| Alex_Gaynor | fijal: ping | 18:52 |
| fijal | pong | 18:52 |
| Alex_Gaynor | fijal: feel like doing the thing so that debug_merge_point for the python jitdrivers get turned into a subclass with code and opcode idx attrs? | 18:53 |
| fijal | yeah | 18:53 |
| Alex_Gaynor | fijal: sweet, thanks | 18:53 |
| Alex_Gaynor | I'm doing the trace splitting for tracebin ATM | 18:53 |
| Alex_Gaynor | fijal: and putting random optimizations into _codecs :) | 18:54 |
| fijal | I have a pending change for parsing | 18:54 |
| fijal | are you using jitlogparser module? | 18:54 |
| Alex_Gaynor | no, all in memory | 18:54 |
| fijal | still | 18:54 |
| timotimo | whoops, i've been working on my strbuf_by_default branch | 18:54 |
| fijal | part of it operates on loops | 18:54 |
| fijal | no? | 18:54 |
| fijal | like there is a part loading and the other part | 18:54 |
| fijal | I'm fine with doing the other part again | 18:55 |
| Alex_Gaynor | ? | 18:55 |
| fijal | Alex_Gaynor: you load it and parse it but then you process it quite a bit | 18:55 |
| fijal | before showing it in jitviewer | 18:55 |
| Alex_Gaynor | no, I never parse | 18:55 |
| fijal | yes | 18:55 |
| fijal | that's what you do for jitviewer | 18:55 |
| Alex_Gaynor | I'm talking about for tracebin | 18:55 |
| fijal | yes, I know | 18:55 |
| Alex_Gaynor | tracebin never parses | 18:55 |
| fijal | I KNOW | 18:55 |
| Alex_Gaynor | ok :) | 18:55 |
| Alex_Gaynor | sorry, I think I'm confused | 18:56 |
| fijal | I KNOW I KNOW I KNOW | 18:56 |
| fijal | ok | 18:56 |
| fijal | now the first part parser, the second part reconnects them makes inlines etc. | 18:56 |
| fijal | there is no point in redoing all the work | 18:56 |
| fijal | either reuse it or replace it if you feel like rewriting | 18:56 |
| fijal | it's in jitlogparser, look at tests maybe | 18:57 |
| Alex_Gaynor | k, thanks | 18:57 |
| Alex_Gaynor | first I need the DebugMergePoint metadata though :) | 18:57 |
| fijal | I would not mind someone rewriting it again | 18:57 |
| fijal | it's just that would be cool if he learns ;-) | 18:57 |
| Alex_Gaynor | I may rewrite it, we'll see | 18:58 |
| fijal | Alex_Gaynor: anyway, I don't want to end up with two implementations of this | 18:59 |
| Alex_Gaynor | fijal: sure | 19:00 |
| fijal | both half-working at least | 19:01 |
| Alex_Gaynor | of course :) | 19:02 |
| timotimo | now i don't really know how to continue with my ravel implementation ...? | 19:03 |
| timotimo | do i just commit the code for ndarray.ravel and wait for others to do the numpypy.ravel thing? | 19:03 |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds | 19:05 | |
| fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy. | 19:12 | |
| fijal | <fijal> I broke my packaging system :/ | 19:12 |
| fijal | <fijal> Alex_Gaynor: well, most of all figuring out all the possible combinations | 19:12 |
| fijal | <fijal> like: | 19:12 |
| fijal | <fijal> no debug_merge_points in chunks | 19:12 |
| fijal | <fijal> a no info loop that has inline something with info etc. etc. | 19:12 |
| fijal | <fijal> it would be cool if you can come up with design that handles it | 19:12 |
| fijal | <fijal> but right nwo a lot of those cases had been hacked in | 19:12 |
| fijal | <fijal> Alex_Gaynor: generally the parsed and unparsed list should behave roughly similary | 19:12 |
| fijal | <fijal> as far as the interface is concerned | 19:12 |
| fijal | Alex_Gaynor: ^^^ | 19:13 |
| Alex_Gaynor | fijal: I'm not sure I follow | 19:13 |
| Alex_Gaynor | fijal: the first step is just exposing the metadata on the ResOp instance for the hook | 19:14 |
| fijal | the thing is you have enough right now to be able to just run jitlogparser | 19:14 |
| fijal | no? | 19:14 |
| Alex_Gaynor | only if I turned the resops back into a str | 19:14 |
| Alex_Gaynor | (+/- having input args and such) | 19:14 |
| Alex_Gaynor | I don't want to be serializing and deserializing like that, if feels backwards | 19:15 |
| fijal | no | 19:15 |
| fijal | you don't parse it | 19:15 |
| fijal | you just use split_trace or so | 19:15 |
| Alex_Gaynor | from where? | 19:16 |
| fijal | yeah, it's a bit tangled now | 19:16 |
| Alex_Gaynor | I mean, yes in theory this is fine, but I need the metadata on the objs from the hook | 19:17 |
| fijal | Alex_Gaynor: you should be able to call Function.from_operations | 19:17 |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy. | 19:17 | |
| fijal | Alex_Gaynor: what I'm saying is the code is there | 19:18 |
| fijal | you just have to untangle it from other parts | 19:18 |
| Alex_Gaynor | fijal: yes, but I don't have the metadata to use the code | 19:18 |
| fijal | which part? | 19:20 |
| Alex_Gaynor | fijal: I need the code object and the instruction index for each debug_merge_point resop that is a python one | 19:20 |
| amaury_ | rguillebert: Hi | 19:20 |
| fijal | Alex_Gaynor: but not to run this code :) | 19:20 |
| amaury_ | do you know that ast.py is generated? | 19:20 |
| Alex_Gaynor | fijal: because this parses it from the string? | 19:21 |
| fijal | Alex_Gaynor: yes | 19:21 |
| Alex_Gaynor | fijal: I don't want to do that though, it breaks :) | 19:21 |
| fijal | Alex_Gaynor: this *is* backwards but let's start there | 19:21 |
| Alex_Gaynor | fijal: which function parses the debug_merge_point arg? | 19:22 |
| fijal | TraceForOpcode | 19:22 |
| fijal | parse_code_data | 19:22 |
| Alex_Gaynor | ok, cool | 19:23 |
| jaffachief (~textual@host86-170-15-228.range86-170.btcentralplus.com) left irc: Quit: Computer has gone to sleep. | 19:25 | |
| kenaan | 12amauryfa py3k 11d682184291a6 15/lib_pypy/: Remove more L suffixes and long() calls | 19:27 |
| kenaan | 12amauryfa py3k 1103901e509c25 15/pypy/module/termios/interp_termios.py: Another fix in termios | 19:27 |
| kenaan | 12amauryfa py3k 112c6715a45957 15/lib_pypy/_pypy_interact.py: Add a reminder about the broken pyrepl. | 19:27 |
| kenaan | 12amauryfa py3k 115b195e604794 15/pypy/interpreter/astcompiler/: ast.py is generated. Add the Starred in Python.asdl, and regenerate with "python interpreter/astcompiler/tools/asdl... | 19:27 |
| Alex_Gaynor | fijal: this way sucks :/ you have to re-read and re-exec the file to get the code obj | 19:32 |
| stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 19:36 | |
| AlekSi (~AlekSi@176.57.74.133) joined #pypy. | 19:36 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 19:36 | |
| Nick change: stakkars_ -> stakkars | 19:36 | |
| mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) left irc: Quit: Page closed | 19:37 | |
| fijal | Alex_Gaynor: ya, this sucks | 19:39 |
| Alex_Gaynor | fijal: let's do the metadata first, it makes so much more sense | 19:39 |
| fijal | Alex_Gaynor: can you rework this code to be nicer and I'll add metadata? | 19:39 |
| Alex_Gaynor | fijal: I'm going to rewrite it TBH, then I'll port it back to jitlogparser | 19:40 |
| fijal | don't underestimate it btw | 19:41 |
| fijal | writing it from scratch is not a very good idea | 19:41 |
| Alex_Gaynor | well, I'm reading from this code | 19:41 |
| Alex_Gaynor | so it's not like I"m ignorant of it :) | 19:41 |
| fijal | you'll soon be :) | 19:41 |
| Alex_Gaynor | :D | 19:41 |
| fijal | Alex_Gaynor: I'm actually serious, work from this code, don't start it from scratch | 19:43 |
| fijal | because it seems you need like 5 lines no? | 19:43 |
| Alex_Gaynor | fijal: yes :) | 19:44 |
| fijal | 5 lines of diff from what it's there | 19:44 |
| fijal | if you want to like connect bridges and shit, you need more than 5 lines | 19:44 |
| Alex_Gaynor | well, I'm doing this TDD, one bit at a time, so I don't have bridge yet :0 | 19:44 |
| Alex_Gaynor | but yes, I agree with you | 19:45 |
| fijal | I just *really* don't want in the situation where jitviewer works for some loops and tracebin for some others :/ | 19:46 |
| Alex_Gaynor | fijal: anyway, I now have: Exception AttributeError: "'ResOperation' object has no attribute 'py_code'" in jit hook <bound method Recorder.on_compile of <tracebin.recorder.Recorder object at 0x00007f72e75558a0>> ignored | 19:46 |
| Alex_Gaynor | want me to work on the numpy status thing now? | 19:46 |
| kenaan | 12fijal default 1180570f9631d7 15/pypy/tool/jitlogparser/: a test and a fix | 19:46 |
| kenaan | 12fijal default 1131b1dbaa7024 15/: merge | 19:46 |
| fijal | yes please | 19:46 |
| Alex_Gaynor | k | 19:46 |
| fijal | I'll do it in a second | 19:46 |
| fijal | once I get my system in a stable state | 19:46 |
| Alex_Gaynor | awesome | 19:46 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection | 19:50 | |
| timotimo | https://gist.github.com/1627867 � may i commit this to default? | 19:51 |
| AlekSi (~AlekSi@176.57.74.133) left irc: Remote host closed the connection | 19:51 | |
| Alex_Gaynor | no, this doesn't translate for one | 19:54 |
| fijal | timotimo: does it pass tests? | 19:55 |
| timotimo | the one i wrote | 19:55 |
| fijal | timotimo: run all | 19:55 |
| fijal | specifically it'll fail on test_ztranslation | 19:55 |
| timotimo | i should re-run all tests just to be super-paranoid | 19:55 |
| timotimo | very good point | 19:55 |
| fijal | why do you want ravel that does nto support anything? | 19:56 |
| fijal | Alex_Gaynor: how do I specify the parent typedef? | 19:57 |
| Alex_Gaynor | fijal: TypeDef("name", (parent,)) | 19:58 |
| Alex_Gaynor | I think parent can also be a single item and not a tuple | 19:58 |
| timotimo | because the rest of numpypy doesn't support order arguments yet | 19:58 |
| Alex_Gaynor | fijal: I think I'm writing too much crazy pypy code, I'm forgetting how to write a simple script | 19:58 |
| fijal | timotimo: fix it first :) | 19:58 |
| timotimo | ohgod. | 19:58 |
| timotimo | this way i'll never be able to contribute anything worthwhile :\ | 20:00 |
| rguillebert | hi amaury_ | 20:02 |
| fenrrir (~fenrrir@187.40.155.188) joined #pypy. | 20:02 | |
| rguillebert | erf ! | 20:02 |
| fijal | timotimo: hey, you can add more ufuncs | 20:02 |
| amaury_ | rguillebert: ? | 20:02 |
| fijal | timotimo: add .where | 20:02 |
| timotimo | okay, i'll have to read what those do first, though | 20:02 |
| rguillebert | I knew I had to modify Python.asdl eventually | 20:03 |
| rguillebert | but I didn't know when | 20:03 |
| rguillebert | and basically when antonio and I worked on it, we didn't think about it at all | 20:04 |
| timotimo | fijal: do you mean the "where" optional keyword argument? | 20:04 |
| rguillebert | he told me he had never worked on the parser either | 20:04 |
| bivab (~david@89-40.5-85.cust.bluewin.ch) joined #pypy. | 20:05 | |
| JaRoel|4d (~jaroel|4d@2001:980:7133:1:5841:e335:a7dc:a982) joined #pypy. | 20:10 | |
| fijal | timotimo: numpy.where | 20:10 |
| JaRoel|4d (~jaroel|4d@2001:980:7133:1:5841:e335:a7dc:a982) left irc: Remote host closed the connection | 20:10 | |
| JaRoel|4d (~jaroel|4d@sink.jaroel.nl) joined #pypy. | 20:10 | |
| fijal | Alex_Gaynor: for example dmp will know only bytecode no and pycode | 20:12 |
| Alex_Gaynor | fijal: why not? | 20:12 |
| timotimo | fijal: should i implement that at applevel? also it seems like i should implement numpy.nonzero, too? | 20:13 |
| ericflo (~ericflo@75.103.8.110) joined #pypy. | 20:16 | |
| fijal | Alex_Gaynor: I mean it wont have the precise lineno | 20:18 |
| fijal | timotimo: copy maybe? | 20:18 |
| Alex_Gaynor | fijal: oh, lineno is easy you can get it by running disassembler | 20:18 |
| fijal | Alex_Gaynor: "easy" | 20:18 |
| fijal | ok :) | 20:18 |
| Alex_Gaynor | fijal: if you have the code obj it's easy | 20:18 |
| fijal | ok | 20:21 |
| Alex_Gaynor | fijal: is your server down again? | 20:21 |
| mikefc | Alex_Gaynor: you may to close my https://bugs.pypy.org/issue998 if you've fixed fromnumeric in your own way. | 20:21 |
| mikefc | my patch is probably now obsolete | 20:21 |
| fijal | Alex_Gaynor: might be | 20:22 |
| fijal | want me to put it up again? | 20:23 |
| Alex_Gaynor | fijal: eh, whatever I found it in a different browser tab :) | 20:24 |
| Alex_Gaynor | so long as I don't reload I'm ok | 20:24 |
| fijal | done | 20:24 |
| fijal | anyway | 20:24 |
| Alex_Gaynor | ok, adding method support now | 20:25 |
| Alex_Gaynor | well, let me upload this so you can see it now | 20:25 |
| mikefc | timotimo: i can talk about what i did to from numeric if you like. | 20:34 |
| DasIch_ (~DasIch@p4FFDF136.dip.t-dialin.net) joined #pypy. | 20:34 | |
| DasIch (~DasIch@p4FFDED18.dip.t-dialin.net) left irc: Ping timeout: 245 seconds | 20:35 | |
| Nick change: DasIch_ -> DasIch | 20:35 | |
| mikefc | not that it was very interesting. | 20:36 |
| mikefc | there seem to be about 8 places in numpy where functions are described, but all they do is call the ndarray method. | 20:36 |
| mikefc | 8==exaggeration | 20:36 |
| mikefc | but it's definitely not 1 | 20:36 |
| rekamso (~textual@216.190.27.14) joined #pypy. | 20:40 | |
| jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving... | 20:45 | |
| fijal | mikefc: I appreciate what you did :)\ | 20:45 |
| fijal | mikefc: would be cool if you do more of it | 20:45 |
| fijal | Alex_Gaynor: ok, feel like reviewing/translating/merging? | 20:46 |
| kenaan | 12fijal better-jit-hooks-2 110513eb237097 15/pypy/: dmp creation | 20:46 |
| Alex_Gaynor | fijal: gimme 2 minutes, finishing up the next part of numpypystatus | 20:46 |
| kenaan | 12fijal better-jit-hooks-2 111ef43f689d9b 15/pypy/module/pypyjit/: implement jithooks | 20:46 |
| fijal | Alex_Gaynor: I'll run translation in the screen on tannit | 20:48 |
| fijal | annotating those hooks is a little nightmare btw :/ | 20:49 |
| mikefc | fijal: i realise that anything i "import" from numpy now is going to be redone later down the road, but I feel it's necessary to do so in order to bootstrap some parts of numpy. I wish I had more time to hack :( | 20:50 |
| mikefc | but it's fun trying to wrap my head around interp level | 20:51 |
| fijal | mikefc: :) | 20:51 |
| fenrrir (~fenrrir@187.40.155.188) left irc: Quit: Leaving | 20:51 | |
| fijal | mikefc: anyway, I think we're doing pretty good | 20:53 |
| Alex_Gaynor | fijal: CalledProcessError: Command '['/usr/bin/python', '-c', '\nimport types\nimport numpy as numpy\n\nobj = getattr(numpy, "ComplexWarning")\nfor name in dir(obj):\n if name.startswith("_"):\n continue\n obj = getattr(obj, name)\n kind = "U"\n if isinstance(obj, types.TypeType):\n kind = "T"\n print kind, ":", name\n']' returned non-zero exit status 1 | 20:53 |
| Alex_Gaynor | worst error message ever | 20:53 |
| Alex_Gaynor | do you see the problem? | 20:53 |
| Alex_Gaynor | eh, I do | 20:54 |
| fijal | no? | 20:54 |
| fijal | I guess you can't pass such shit to -c, can you? | 20:54 |
| fijal | or \\n or so | 20:54 |
| mwhudson | the line after the if isn't indented enough? | 20:54 |
| fijal | -c should not be after \n I believe | 20:55 |
| fijal | but yeah, \\n is my favorite candidate | 20:55 |
| fijal | Alex_Gaynor: anyway, the previous version was IMO better | 20:55 |
| fijal | you're doing an abomination | 20:55 |
| fijal | at least do python - | 20:55 |
| fijal | and pipe it there | 20:55 |
| fijal | or echo | python or so | 20:55 |
| Alex_Gaynor | fijal: wait until you see the code | 20:55 |
| fijal | don't-want-to | 20:56 |
| Alex_Gaynor | fijal: http://paste.pocoo.org/show/536390/ teh results are kind of nice, even if the code isn't | 20:58 |
| fijal | Alex_Gaynor: are you from the single-file-to-rule-them-all school by chance? | 20:58 |
| fijal | why did you just make php out of my 5 files? | 20:58 |
| Alex_Gaynor | fijal: I'm not :) | 20:58 |
| Alex_Gaynor | fijal: I just... started coding and suddently... abomination | 20:59 |
| Topic changed on #pypy by mwhudson!mwh@linaro/mwhudson: PyPy, a fast and compliant python interpreter | IRC logs: http://tismerysoft.de/pypy/irc-logs/pypy/ | <Alex_Gaynor> fijal: I just... started coding and suddently... abomination | 20:59 | |
| Alex_Gaynor | fijal: I'm going to get a snack, then I'll review your branch. Feel like cleaning up my disaster :D | 21:00 |
| fijal | no :) | 21:00 |
| fijal | I feel like taking shower it was >30 today | 21:00 |
| Alex_Gaynor | fijal: I'll reivew your branc anyways :) | 21:02 |
| fijal | maybe later | 21:02 |
| fijal | but maybe I'll go to bed | 21:02 |
| lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving | 21:04 | |
| kenaan | 12alex_gaynor better-jit-hooks-2 11b906e1141138 15/pypy/module/pypyjit/interp_resop.py: Some naming changes. | 21:17 |
| Alex_Gaynor | fijal: my only feedback before merge is: Should the attribute on the DMP be descr, or perhaps greenkey? | 21:17 |
| fijal | greenkey_repr? | 21:19 |
| fijal | well, dunno | 21:19 |
| fijal | greenkey is better | 21:19 |
| fijal | Alex_Gaynor: feel free to change? | 21:19 |
| fijal | it does translate FYI | 21:19 |
| Alex_Gaynor | yes, I'll change | 21:19 |
| Alex_Gaynor | after I change I'll merge I guess? | 21:19 |
| fijal | yeah | 21:19 |
| timotimo | we don't have masked arrays yet, do we? | 21:22 |
| [revolting_blob!sunshine@107.6.5.104] --abuse LeDucky | 21:23 | |
| fijal | nope | 21:23 |
| fijal | is numpy really using BLAS for dot? | 21:24 |
| fijal | anyway, sleep | 21:25 |
| timotimo | huh, why can numpy do stuff like "if x is masked: ... if y is masked: ..." ?! | 21:25 |
| timotimo | not sure if it's awesome or really dumb | 21:26 |
| Alex_Gaynor | fijal: can you review that push and if it looks good merge? | 21:27 |
| kenaan | 12alex_gaynor better-jit-hooks-2 116354270bb576 15/pypy/module/pypyjit/: change DMP.descr to DMP.greenkey | 21:27 |
| fijal | Alex_Gaynor: just merge it | 21:29 |
| Alex_Gaynor | fijal: great | 21:29 |
| Alex_Gaynor | fijal: now I get to translate again | 21:30 |
| kenaan | 12alex_gaynor better-jit-hooks-2 11886f6fbce8ef 15/: Close branch for merge | 21:30 |
| kenaan | 12alex_gaynor default 11c6ea8ef23064 15/pypy/: (fijal mostly) Merged better-jit-hooks-2. This exposes metadata about DebugMergePoints in jit hooks, specifi... | 21:30 |
| fijal | Alex_Gaynor: you have a translated version in tmp/usession-better-jit-hooks-2-0/testing_1 | 21:31 |
| fijal | on tannit | 21:31 |
| fijal | before your changes though | 21:31 |
| Alex_Gaynor | fijal: exactly :) | 21:31 |
| fijal | is it a big deal? | 21:31 |
| fijal | no :) | 21:31 |
| Alex_Gaynor | not sure, but I'm stepping away from my computer for a bit anyways, so it's fine to translate again | 21:31 |
| fijal | ok | 21:32 |
| fijal | Alex_Gaynor: does interp_attrproperty_w prevent you from overwriting it btw? | 21:32 |
| Alex_Gaynor | fijal: yes, it's fget only | 21:32 |
| fijal | k | 21:32 |
| Alex_Gaynor | fijal: FYI there's a python-ideas thread about a pure python interface for creating buffers (i.e. __buffer__)( | 21:33 |
| fijal | nice | 21:34 |
| Alex_Gaynor | someday we should fix our buffers :/ | 21:34 |
| fijal | it's hard/pointless | 21:35 |
| fijal | Alex_Gaynor: I'll try finish indexing by arrays tomorrow | 21:38 |
| fijal | any idea what next? | 21:38 |
| Alex_Gaynor | fijal: dunno, I have a giant list of functions/types/methods that aren't implemented :) | 21:38 |
| Alex_Gaynor | fijal: 2 good ones: copy=False to array constructor and subclass support. On a more meta level: ability to run numpy's tests | 21:39 |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 21:45 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 255 seconds | 21:47 | |
| bivab (~david@89-40.5-85.cust.bluewin.ch) left irc: Quit: bivab | 21:54 | |
| stakkars_ (~tismer@p5DCE1AF1.dip.t-dialin.net) joined #pypy. | 22:04 | |
| jaffachief (~textual@host86-170-15-228.range86-170.btcentralplus.com) joined #pypy. | 22:13 | |
| fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) joined #pypy. | 22:39 | |
| PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood | 22:41 | |
| PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy. | 22:41 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer | 22:43 | |
| Tobu (~Tobu@unaffiliated/tobu) joined #pypy. | 22:47 | |
| antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds | 22:47 | |
| tilgovi_ (~randall@couchdb/developer/tilgovi) joined #pypy. | 22:50 | |
| squiddy (~squiddy@g229037172.adsl.alicedsl.de) left irc: Quit: Leaving | 22:50 | |
| fijal | Alex_Gaynor: pick random one and implement it you suggest? | 22:50 |
| Alex_Gaynor | fijal: Did you see my 3 concrete reccomendations? | 22:50 |
| fijal | ya | 22:50 |
| fijal | the tes thingie not gonna happen | 22:51 |
| fijal | for now | 22:51 |
| Alex_Gaynor | how about copy=False so we can use numpy.asarray directly? | 22:51 |
| fijal | yeah | 22:51 |
| mikefc_ | fijal: got time to approve a patch or two? (simple numpypy layout reorg) | 22:52 |
| fijal | mikefc_: sure | 22:52 |
| mikefc_ | http://paste.pocoo.org/show/536428/ | 22:52 |
| mikefc_ | ^ move the numpypy tests to module/test_lib_pypy/numpypy | 22:52 |
| mikefc_ | it's just a file move | 22:53 |
| jaffachief (~textual@host86-170-15-228.range86-170.btcentralplus.com) left irc: Quit: Computer has gone to sleep. | 22:53 | |
| fijal | mikefc_: sounds good, commit it | 22:53 |
| Action: mikefc_ tries | 22:53 | |
| fijal | Alex_Gaynor: I frankly wonder where "numpy is efficient" meme comes from | 22:54 |
| Alex_Gaynor | no idea | 22:56 |
| kenaan | 12cool...@gmail.com default 11759d96c835e6 15/: move apptests for numpypy to module/test_lib_pypy | 22:57 |
| kvda (~kvda@124-169-134-221.dyn.iinet.net.au) left irc: Quit: x___x | 22:58 | |
| mikefc_ | woo. | 22:59 |
| fijal | mikefc_: can you put a full name on your profile btw? | 22:59 |
| fijal | Alex_Gaynor: only dot is using blas as far as I can see | 22:59 |
| mikefc_ | i thought i did. | 22:59 |
| fijal | maybe we should do the same | 22:59 |
| Alex_Gaynor | fijal: well, there's specific submodules which expose tons of blas stuff | 22:59 |
| Alex_Gaynor | AFAIK | 22:59 |
| fijal | yes yes of course | 22:59 |
| fijal | but it's not transparent | 22:59 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/779 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/207 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1016 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/35 | 23:00 |
| fijal | Alex_Gaynor: have another slower module btw | 23:00 |
| berdario (~Tiibiidii@host158-89-dynamic.0-87-r.retail.telecomitalia.it) left irc: Quit: Ex-Chat | 23:00 | |
| Alex_Gaynor | fijal: ? | 23:00 |
| Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds | 23:01 | |
| fijal | genshi | 23:01 |
| Alex_Gaynor | fijal: sphinx is slow too btw, I saw you added the benchmark | 23:01 |
| Alex_Gaynor | fijal: the benchmark does a make clean before rerunning right? | 23:02 |
| fijal | http://paste.pocoo.org/show/536429/ | 23:02 |
| fijal | Alex_Gaynor: yeah | 23:02 |
| fijal | Alex_Gaynor: via hodgestar | 23:02 |
| fijal | who made genshi run on pypy at least | 23:02 |
| Alex_Gaynor | gotta go do stuff with boiling water, BRB | 23:02 |
| mikefc_ | fijal: http://paste.pocoo.org/show/536431/ this moves fromnumeric just into the core/ subdir in numpypy. to follow the layout of numpy. | 23:08 |
| mat^2 (~mathias@212.130.113.35) left irc: Ping timeout: 252 seconds | 23:08 | |
| fijal | mikefc_: that is fine as well, without asking :) | 23:08 |
| mikefc_ | ok. | 23:09 |
| fenrrir (~rodrigo@189.70.243.190) joined #pypy. | 23:09 | |
| mikefc_ | trying to be careful not to break anything.... | 23:11 |
| kenaan | 12mikefc default 11e4314d54ea7f 15/lib_pypy/numpypy/: Move fromnumeric into core/ subdirectory to follow numpy's layout | 23:11 |
| fijal | yeah | 23:11 |
| fijal | but there are layers | 23:11 |
| fijal | if you commit stuff to lib_pypy/numpypy you can only break numpypy and it | 23:11 |
| fijal | 's tests | 23:11 |
| fijal | which is fine | 23:11 |
| fijal | if you however commit code to module/micronumpy, you might break translation | 23:11 |
| fijal | and armin will complain | 23:11 |
| fijal | as long as you can only break numpypy and it's tests it's generally fine | 23:12 |
| mikefc_ | cool. that takes the pressure off :) | 23:12 |
| fijal | so if you want to commit stuff into module, it's good to run *all* tests and ask for a review | 23:12 |
| fijal | especially that it usually takes little time | 23:12 |
| fijal | but lib_pypy is fine in general | 23:12 |
| Tobu (~Tobu@unaffiliated/tobu) joined #pypy. | 23:13 | |
| int3__ (~int3__@bb116-14-91-196.singnet.com.sg) left irc: Ping timeout: 255 seconds | 23:17 | |
| int3__ (~int3__@bb121-7-238-234.singnet.com.sg) joined #pypy. | 23:17 | |
| stakkars_ (~tismer@p5DCE1AF1.dip.t-dialin.net) left irc: Quit: schnarch | 23:18 | |
| mikefc_ | fijal: 2 more little patches? the transpose patch i sent you before: http://paste.pocoo.org/show/536436/ | 23:19 |
| fijal | if not hasattr(a, 'T') | 23:20 |
| fijal | is this really how numpy does it? | 23:20 |
| mikefc_ | no. | 23:20 |
| mikefc_ | numpy does something much fancier. let me paste it. | 23:20 |
| int3__ (~int3__@bb121-7-238-234.singnet.com.sg) left irc: Remote host closed the connection | 23:21 | |
| int3__ (~int3__@bb121-7-238-234.singnet.com.sg) joined #pypy. | 23:21 | |
| mikefc_ | http://paste.pocoo.org/show/536438/ | 23:22 |
| fijal | oh | 23:23 |
| fijal | mikefc_: can we do something like that? | 23:23 |
| mikefc_ | relying on __array_wrap__ possibly existing. this is what i mean when i say i know all the numpy stuff will probably have to be reimported. | 23:23 |
| fijal | __array_wrap__ might be None for now | 23:24 |
| fijal | and this should work | 23:24 |
| fijal | no? | 23:24 |
| fijal | hm | 23:24 |
| fijal | mikefc_: no, I think we're fine for now with your stuff :) | 23:24 |
| mikefc_ | i think we'll get there eventually, but "my stuff" was just copied from the old appnumpy code. i.e. i'm lazy | 23:25 |
| bfirsh (u1308@gateway/web/irccloud.com/x-lzfctubzlskvzarf) left irc: Remote host closed the connection | 23:25 | |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-wsfyymxqtfzowcvo) left irc: Remote host closed the connection | 23:25 | |
| oal (u4126@gateway/web/irccloud.com/x-xrgmfvojqecpvhsv) left irc: Remote host closed the connection | 23:25 | |
| bfirsh (u1308@gateway/web/irccloud.com/x-spqsfteezyengfsz) joined #pypy. | 23:25 | |
| mikefc_ | i don't think we have an asarray() yet. | 23:25 |
| mikefc_ | i may write a _wrapit() work-a-like. but there's so much else (more interesting!) to do | 23:26 |
| mikefc_ | fijal: for now is that transpose patch ok? | 23:27 |
| fijal | mikefc_: yes | 23:27 |
| fijal | yeah, I think we're fine | 23:27 |
| fijal | don't we have .transpose()? | 23:28 |
| mikefc_ | we have the .T method. but now the numpy.transpose() function. | 23:28 |
| mikefc_ | s/now/not | 23:28 |
| mikefc_ | until now :) | 23:28 |
| Nick change: tilgovi_ -> tilgovi | 23:29 | |
| kenaan | 12mikefc default 11bc30fb8eed3e 15/: Add numpypy.transpose() function to call the array method | 23:29 |
| gtaylor (~gtaylor@108-196-160-156.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated! | 23:30 | |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-ouchyoetporourmg) joined #pypy. | 23:31 | |
| #pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services. | 23:31 | |
| whitelynx (~whitelynx@63.241.75.144) left irc: Quit: Ex-Chat | 23:31 | |
| kenaan | 12mikefc default 1107bd76d923fd 15/lib_pypy/numpypy/core/fromnumeric.py: Use the proper exception for NotImplementedError | 23:32 |
| mikefc_ | fijal: thanks for the assistance. I think I should probably work in branches from now on. | 23:33 |
| fijal | cool | 23:33 |
| rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) left irc: Quit: Quitte | 23:37 | |
| kenaan | 12fijal extradoc 117288adc71948 15/blog/draft/pypy-2011.rst: start drafting blog post | 23:38 |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 23:40 | |
| stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 23:40 | |
| mikefc_ | fijal: is this you? http://baroquesoftware.com:5000/ | 23:40 |
| stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 23:40 | |
| fijal | Alex_Gaynor: want to come up with some interesting numbers? | 23:41 |
| fijal | mikefc_: yes, why? | 23:41 |
| kenaan | 12fijal extradoc 115ddb005ca8e2 15/blog/draft/pypy-2011.rst: some made up claims | 23:41 |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 23:41 | |
| Alex_Gaynor | fijal: 4 | 23:41 |
| fijal | Alex_Gaynor: look at extradoc | 23:41 |
| mikefc_ | fijal: looks good :) | 23:41 |
| fijal | mikefc_: alex managed to make an abomination from it though | 23:42 |
| Alex_Gaynor | fijal: technically I built my abominiation from scratch | 23:43 |
| fijal | Alex_Gaynor: how that makes you less guilty? | 23:44 |
| Alex_Gaynor | fijal: well, your pressure sourcecode isn't defiled this way :P | 23:44 |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 23:44 | |
| fijal | anyway, I lost link | 23:44 |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 23:44 | |
| fijal | bit.ly/wANBxu | 23:45 |
| fijal | Alex_Gaynor: ^^^ | 23:45 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/35 | 23:45 |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 23:45 | |
| stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy. | 23:45 | |
| Alex_Gaynor | not bad | 23:45 |
| fijal | no | 23:45 |
| fijal | that's a year of dev | 23:45 |
| Alex_Gaynor | I know, we're awesome :) | 23:46 |
| fijal | Alex_Gaynor: anyway, I made up some stats | 23:46 |
| fijal | feel free to add more | 23:46 |
| fijal | and I'll try sleeping | 23:46 |
| fijal | Alex_Gaynor: and put a legend in the abomination | 23:47 |
| Alex_Gaynor | fijal: there's no legend needed in my version, it's very obvious | 23:47 |
| fijal | ok | 23:47 |
| fijal | Alex_Gaynor: so how about you hook it up with buildbot? | 23:47 |
| fijal | so it runs it every night and puts it somewhere? | 23:48 |
| mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) joined #pypy. | 23:48 | |
| mattip | hi | 23:48 |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer | 23:49 | |
| Alex_Gaynor | fijal: that would require understanding the buildbot :D | 23:49 |
| Alex_Gaynor | fijal: I need to improve the UI a bit before I make this public | 23:49 |
| Alex_Gaynor | fijal: I just pushed some updates to tracebin-client FWIW | 23:49 |
| mattip | I'm still plugging away at dot(). | 23:50 |
| fijal | mattip: just use blas | 23:50 |
| mattip | For small arrays it may be better than calling blas. | 23:50 |
| mattip | But yes, blas should be next. | 23:51 |
| fijal | we don't have a good story for small arrays anyway | 23:51 |
| fijal | but yeah, I'm mostly joking | 23:51 |
| fijal | mattip: can you at least make it raise in case the case is unsupported? | 23:51 |
| fijal | instead of returning bogus results | 23:51 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/207 | 23:51 |
| Alex_Gaynor | fijal: you broke benchmarks it appears | 23:52 |
| fijal | did I? | 23:52 |
| mattip | uhh, the default branch doesn't know about multidimensional arrays in descr_dot. | 23:52 |
| mattip | I think. | 23:52 |
| fijal | oh fuck you | 23:52 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1016 | 23:53 |
| Action: mattip ducking | 23:53 | |
| fijal | mattip: not you, python's os module | 23:53 |
| mattip | whew! | 23:53 |
| kenaan | 12fijal benchmarks 11b6376749f6e5 15/benchmarks.py: unbreak benchmarks | 23:53 |
| fijal | Alex_Gaynor: why does python have so much worse interface than bash? | 23:53 |
| fijal | like, rm -rf | 23:54 |
| fijal | how hard is that? | 23:54 |
| Alex_Gaynor | shutil.rmtree | 23:54 |
| fijal | yeah | 23:54 |
| fijal | Alex_Gaynor: but not good enough | 23:54 |
| fijal | it still raises OSError if nothing's there | 23:54 |
| Alex_Gaynor | Whatever, try to write an if statement in bash, then complain | 23:54 |
| fijal | :] | 23:54 |
| fijal | ok | 23:54 |
| fijal | I'll try to sleep instead | 23:55 |
| fijal | cya | 23:55 |
| mattip | I can't wait to hear fijal's response when I commit the first version of this dot() mess. | 23:55 |
| Alex_Gaynor | fijal: bye | 23:55 |
| fijal | Alex_Gaynor: commit abomination next to buildbot's stuff, I'll integrate it | 23:55 |
| Alex_Gaynor (u1246@gateway/web/irccloud.com/x-ouchyoetporourmg) left irc: Remote host closed the connection | 23:55 | |
| fijal | mattip: I'm judgemental, what can ISay :) | 23:55 |
| mattip | s'ok. I'll just take my meds. | 23:55 |
| fijal | hehe | 23:56 |
| fijal | mattip: cool, would be good to have a working dot btw | 23:56 |
| fijal | mattip: I suppose it's fine to force everything for now btw | 23:56 |
| ousado (~ousado@unaffiliated/ousado) left irc: Read error: Connection reset by peer | 23:56 | |
| mattip | Im not even dreaming about lazy yet. | 23:57 |
| mattip | it's just really ugly right now. | 23:57 |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 23:58 | |
| --- Wed Jan 18 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!