| Sweet-P (~Sweet-P@203.205.116.93) joined #pypy. | 00:19 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 00:31 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/763 | 00:32 |
|---|---|---|
| pybot joined #pypy. | 01:10 | |
| -ChanServ (ChanServ@services.)- [#pypy] Welcome! | 01:10 | |
| -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). | 01:11 | |
| pybot joined #pypy. | 01:19 | |
| -ChanServ (ChanServ@services.)- [#pypy] Welcome! | 01:19 | |
| -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). | 01:20 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/19 | 01:22 |
| mat^2 (~mathias@87.55.0.198) left irc: Ping timeout: 255 seconds | 01:28 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/191 | 01:29 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1908 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/660 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/314 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/325 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/663 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1179 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/846 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1498 | 02:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/773 | 02:00 |
| verte-wleslie (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT! | 02:06 | |
| dracman (~draco@d151010.adsl.hansenet.de) left irc: Ping timeout: 252 seconds | 02:15 | |
| hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) left irc: Ping timeout: 252 seconds | 02:15 | |
| verte-wleslie (~verte@python/site-packages/verte) joined #pypy. | 02:17 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 02:20 | |
| dracman (~draco@g231146014.adsl.alicedsl.de) joined #pypy. | 02:20 | |
| mikefc | timotimo: thanks. I'm just trying to make more sense of the code. I want to add some features and didn't know which level would be more appropriate. | 02:38 |
| voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace | 02:53 | |
| mikefc (~mikefc@60-242-240-196.static.tpgi.com.au) left irc: Quit: mikefc | 03:00 | |
| getxsick (xsx@unaffiliated/getxsick) left irc: Read error: Operation timed out | 03:01 | |
| getxsick (xsx@unaffiliated/getxsick) joined #pypy. | 03:01 | |
| Kaskuka (~John@osbk-4d08b9ee.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 03:03 | |
| Kaskuka (~John@osbk-4db15f17.pool.mediaWays.net) joined #pypy. | 03:04 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1000 | 03:09 |
| espes (espes@2001:470:1f05:ca1::) left irc: Ping timeout: 240 seconds | 04:03 | |
| espes (espes@2001:470:1f05:ca1::) joined #pypy. | 04:06 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1908 | 04:11 |
| jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 240 seconds | 04:16 | |
| jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 04:17 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds | 04:48 | |
| mikefc (~mikefc@60-242-240-196.static.tpgi.com.au) joined #pypy. | 04:48 | |
| nettok (~quassel@200.119.182.101) joined #pypy. | 04:49 | |
| nettok (~quassel@200.119.182.101) left irc: Ping timeout: 252 seconds | 04:54 | |
| nettok (~quassel@200.119.156.196) joined #pypy. | 05:09 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1498 | 05:17 |
| anish (anish@nat/redhat/x-uwpqcgcdquhzbdik) joined #pypy. | 05:18 | |
| Nick change: anish -> Guest47765 | 05:18 | |
| Nick change: Guest47765 -> __anish__ | 05:21 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/846 | 05:23 |
| gutworth (~benjamin@64-131-9-52.usfamily.net) left irc: Ping timeout: 240 seconds | 05:23 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/663 | 05:32 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1179 | 05:33 |
| gutworth (~benjamin@64-131-9-52.usfamily.net) joined #pypy. | 05:34 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/660 | 05:37 |
| int3__ (~int3__@bb220-255-192-11.singnet.com.sg) joined #pypy. | 06:07 | |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) joined #pypy. | 06:09 | |
| mattip | Alex_Gaynor: ping | 06:09 |
| mikefc | mattip: what's the consensus on copying docstrings/code from numpy source? | 06:12 |
| Action: mikefc is looking at .cross() | 06:12 | |
| mattip | IANAL, but I have been doing it. Maybe ask on a numpy channel/mailing list | 06:13 |
| mikefc | we could bring in big swathes at the app level if that was the case. | 06:14 |
| mattip | make sure it all has tests | 06:16 |
| mikefc | but doing more at the app level may not be what we're aiming for? | 06:16 |
| mikefc | I'm doing a test .cross() at app level with tests that i'll put up on bugs.pypy for discussion. | 06:16 |
| mattip | depends on your goals. | 06:17 |
| Action: mikefc current goal is just to learn some pypy | 06:17 | |
| mikefc | what goals should I have after that? | 06:18 |
| mattip | So you would gain more by avoiding numpy altogether: try using the jitviewer or something | 06:18 |
| mattip | to see how jit and pypy interact | 06:19 |
| mattip | If your goal is to enable a wider community to use numpypy (like me) | 06:19 |
| Action: mikefc 's current goal is to learn some pypy - so that I can get numpypy to do what i want :) | 06:19 | |
| mattip | then you want scipy, matplotlib, wxPython to run on pypy | 06:20 |
| mikefc | i.e. be compat with numpy | 06:20 |
| mattip | How much of numpy do you need and what are your performance requirements | 06:21 |
| mikefc | mattip: I'm just a tinkerer. I don't *need* it for anything. Just doing it to scratch an itch. | 06:22 |
| gutworth (~benjamin@64-131-9-52.usfamily.net) left irc: Ping timeout: 244 seconds | 06:24 | |
| mikefc | i understand that just adding an applevel cross() from numpy isn't probably where people want to go with numpypy, but it's my 2nd day coding in pypy, so i'm just doing what I can to learn how it's held together. | 06:26 |
| mattip | go for it. If it causes performance problems that bother someone, then they should fix it. Simple is better. | 06:27 |
| Action: mattip back to grindstone | 06:28 | |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) left irc: Quit: Page closed | 06:28 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/773 | 06:37 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 07:21 | |
| zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy. | 07:22 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/325 | 07:23 |
| Goron | How portable is library-neutral code from traditional Python to PyPy? | 07:25 |
| mikefc | "depends" | 07:25 |
| verte-wleslie | Goron: pypy implements not only what is considered standard python, but also many cpython implementation details. | 07:25 |
| verte-wleslie | such as internal apis like sys._getframe(). | 07:26 |
| JaRoel (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection | 07:29 | |
| Goron | If I an American PyPy will it still plug into european outlets? | 07:30 |
| Goron | IfI have an* | 07:30 |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy. | 07:39 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/314 | 07:39 |
| CIA-53 | 03mikefc 07roundup * 10#977/numpypy ndim attribute (patch attached): | 07:40 |
| CIA-53 | [new] Currently numpypy lacks an ndim attribute, this patch adds it. | 07:40 |
| CIA-53 | However, I couldn't get numpypy to throw the same error if you try doing a ... * 14https://bugs.pypy.org/issue977 | 07:40 |
| dracman (~draco@g231146014.adsl.alicedsl.de) left irc: Read error: Connection reset by peer | 07:55 | |
| ssbr (~ssbr@python/site-packages/ssbr) joined #pypy. | 07:59 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 08:16 | |
| Varriount (~Varriount@hnng.public-craft.com) left irc: Ping timeout: 240 seconds | 08:20 | |
| JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 08:23 | |
| fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) left irc: Ping timeout: 240 seconds | 08:24 | |
| mikefc | numpypy question for whenever anyone wakes up: If I want to add a method to numpypy's ndarray class (e.g. a.cumsum()), can I only do it at the interp level? I can't see how I'd do it at the app level. All the applevel functions aren't instance methods e.g. numpy.max(), numpy.min()... | 08:25 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 08:25 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds | 08:26 | |
| Action: mikefc hasn't quite worded his question correctly. numpy.arange()/zeros()/identy() are better examples of the type of function available at applevel. | 08:45 | |
| mikefc | but I can't see how/where i'd put cumsum at applevel, since it's an instance method | 08:49 |
| Action: mikefc probably isn't using OO terminology correctly. | 08:50 | |
| kushal (~kdas@114.143.164.46) joined #pypy. | 08:53 | |
| kushal (~kdas@114.143.164.46) left irc: Changing host | 08:53 | |
| kushal (~kdas@fedora/kushal) joined #pypy. | 08:53 | |
| kushal (~kdas@fedora/kushal) left irc: Remote host closed the connection | 08:54 | |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Remote host closed the connection | 09:04 | |
| fijal (~fijal@197.105.7.74) joined #pypy. | 09:04 | |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 09:06 | |
| ltratt (~ltratt@87.114.17.162) joined #pypy. | 09:13 | |
| whyking (~quassel@p4FFB759A.dip.t-dialin.net) joined #pypy. | 09:14 | |
| fijal | ltratt: hi | 09:14 |
| ltratt | fijal: good morning | 09:15 |
| ltratt | thanks for your help yesterday | 09:16 |
| Varriount (~Varriount@hnng.public-craft.com) joined #pypy. | 09:16 | |
| ltratt | i'm trying to work out why my traces are so huge | 09:16 |
| ltratt | and getting somewhere slowly but surely i think | 09:17 |
| fijal | did you get jitviewer to run | 09:17 |
| fijal | ? | 09:17 |
| fijal | it won't help you, but it'll help you see traces that are not huge | 09:17 |
| fijal | let me have a look | 09:17 |
| ltratt | at the moment i'm using PYPYLOG=jit-log-opt:<file> | 09:17 |
| fijal | yeah | 09:18 |
| Alex_Gaynor | ltratt: if you use pygments it has a highlighter for .pypylog files | 09:18 |
| Alex_Gaynor | only in the hg repo though, not a release | 09:19 |
| ltratt | ok, i'll have a look | 09:19 |
| fijal | but there is a program that will give you a better view than trying to poke in the file | 09:20 |
| fijal | google jitviewer | 09:20 |
| fijal | meh | 09:20 |
| fijal | my internet sucks :/ | 09:20 |
| fijal | Alex_Gaynor: jitviewer is still *much* better | 09:20 |
| ltratt | is jitviewer pypy only? | 09:20 |
| Alex_Gaynor | fijal: yes, in a little bit I'll be able to show you a preview of jitviewer 2.0 :) | 09:20 |
| fijal | ltratt: as in python-interpreter only | 09:20 |
| fijal | no | 09:20 |
| ltratt | aha, ok | 09:21 |
| fijal | it won't show you converge code mixed with IR (as it does for python) | 09:21 |
| ltratt | i can't remember if i could get it working or not on openbsd. if i can't, i will badger carl friedrich later today, as we're off to the same event in germany | 09:22 |
| ltratt | here's something interesting for you in the meantime. | 09:22 |
| ltratt | consider this program: http://pastebin.com/hHi1H2HK | 09:22 |
| ltratt | it ends up with two traces http://pastebin.com/u2nP3iQ1, one before the yield and one after the yield | 09:23 |
| ltratt | so, at least as i see it, any RPython program with a yield in it will double its trace lengths. that sort-of seems reasonable in one way - i'm not sure how to get around it | 09:23 |
| Alex_Gaynor | perhaps you need should_unroll_one_iteration | 09:24 |
| ltratt | i'm not familiar with that | 09:24 |
| ltratt | hmm, interp_jit.py has it | 09:25 |
| Alex_Gaynor | ask fijal about it, he added it :) | 09:25 |
| Alex_Gaynor | yes, it's used for generators in python, I'm not 100% sure how it works though | 09:25 |
| ltratt | i wonder how it interacts with RPython generators? | 09:25 |
| fijal | ltratt: generators are tricky | 09:25 |
| ltratt | agreed | 09:26 |
| fijal | I have no idea how RPython generators work honestly :) | 09:26 |
| ltratt | nor i :) | 09:26 |
| Alex_Gaynor | I think (assume?) they're just a state machine | 09:26 |
| ltratt | i think i might send a message to the list and see what armin thinks, as he created rpython generators | 09:27 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) left irc: Ping timeout: 260 seconds | 09:28 | |
| fijal | ltratt: but in general unroll_one_iteration means you would unroll one iteration of a loop :) | 09:29 |
| fijal | in this case the internal generator loop | 09:29 |
| ltratt | yes, that makes sense | 09:29 |
| ltratt | i guess rpython might want to do that for its own generators somehow... but i don't know how! | 09:29 |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy. | 09:32 | |
| fijal_ (~fijal@41.53.95.237) joined #pypy. | 09:32 | |
| fijal (~fijal@197.105.7.74) left irc: Read error: Connection reset by peer | 09:32 | |
| Nick change: fijal_ -> fijal | 09:36 | |
| G2P (~G2P@fw-asn1.ornis.com) joined #pypy. | 09:37 | |
| ltratt | hmm, no, i'm being stupid. that yield at the converge level doesn't correspond to an RPython yield... | 09:38 |
| ltratt | fijal: what does should_unroll_one_iteration ask the JITDriver to do? | 09:39 |
| fijal | ltratt: it receives the green key and should reply with "is this green key a generator" | 09:41 |
| fijal | ltratt: I can't look anywhere, my internet is super fucked | 09:41 |
| ltratt | yes, i can see it checking for a generator. but that then tells the JIT to do something clever I assume? | 09:42 |
| fijal | it's not very clever | 09:42 |
| fijal | it unrolls one loop iteration | 09:42 |
| witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 09:42 | |
| fijal | that would achieve the effect you want for the very simple generators that have yield once-per-iteration | 09:42 |
| ltratt | ok, i think i see | 09:43 |
| witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy. | 09:43 | |
| ltratt | i will try that later | 09:43 |
| ltratt | at the moment i don't have a way to check if a function is a generator, so i'll have to hack it :) | 09:44 |
| fijal | ltratt: I'm trying to check out converge in like 15 minutes :/ | 09:44 |
| fijal | I might give up | 09:44 |
| ltratt | ah :( | 09:44 |
| ltratt | dodgy internet connections are a pain, i know what it's like! | 09:45 |
| fijal | eh | 09:47 |
| fijal | someone knows how to change xchat from black to default? | 09:48 |
| fijal | I pressed some buttons... | 09:48 |
| fijal | anyway, I give up working it's impossible | 09:48 |
| fijal | I can't google anything | 09:48 |
| fijal (~fijal@41.53.95.237) left irc: Read error: Connection reset by peer | 09:48 | |
| fijal (~fijal@41.53.95.237) joined #pypy. | 09:48 | |
| ltratt (~ltratt@87.114.17.162) left irc: Quit: Off to Germany | 09:54 | |
| Sweet-P (~Sweet-P@203.205.116.93) left irc: Remote host closed the connection | 09:57 | |
| danchr | I haven't | 10:00 |
| asmeurer (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) left irc: Quit: asmeurer | 10:01 | |
| whyking (~quassel@p4FFB759A.dip.t-dialin.net) left irc: Ping timeout: 252 seconds | 10:06 | |
| antocuni | according to the past irc logs, 2008 was the year of pypy on the desktop, 2009 the year of the jit on the desktop, 2010 the "pypy's year" | 10:08 |
| antocuni | and nothing for 2011 | 10:08 |
| antocuni | so | 10:08 |
| antocuni | 2012 will be the year of...? | 10:08 |
| h0h0 (~k@141.79-161-28.customer.lyse.net) joined #pypy. | 10:08 | |
| antocuni | world domination? :-) | 10:08 |
| Alex_Gaynor | antocuni: jitviewer on the web! | 10:09 |
| danchr | Oops, wrong channel& | 10:09 |
| antocuni | would be cool :-) | 10:09 |
| antocuni | Alex_Gaynor: are you working on it? | 10:09 |
| Alex_Gaynor | antocuni: preview: http://tracebin.ep.io/trace/1000/compiled/1/ | 10:09 |
| Alex_Gaynor | still plenty of work to do | 10:10 |
| antocuni | Alex_Gaynor: looks nice | 10:10 |
| antocuni | timeline doesn't work, but I bet you know it | 10:11 |
| Alex_Gaynor | yes :) | 10:11 |
| nettok (~quassel@200.119.156.196) left irc: Remote host closed the connection | 10:11 | |
| Alex_Gaynor | lots's of stuff doesn't work,a nd it's all fake datga ATM | 10:11 |
| antocuni | Alex_Gaynor: although I like more the current graphic for showing the source code + the traces | 10:12 |
| Alex_Gaynor | it needs quite a bit of improvement, seperating out the bytecode markers, add the JS back | 10:13 |
| antocuni | in particular, the fact that the ops are indented wrt the source code | 10:13 |
| kkris (~kris@93-82-33-167.adsl.highway.telekom.at) joined #pypy. | 10:17 | |
| fijal | Alex_Gaynor: the style sucks btw | 10:17 |
| Alex_Gaynor | ? | 10:18 |
| fijal | the CSS | 10:21 |
| fijal | also, youshould not scroll small boxes | 10:21 |
| fijal | they should wrap or something | 10:22 |
| Alex_Gaynor | they're super unreadable if you linewrap | 10:22 |
| zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. | 10:22 | |
| antocuni | fijal: not sure. If you have e.g. a guard with a looong list of parameters, you don't want it to wrap | 10:22 |
| fijal | well | 10:22 |
| antocuni | or maybe you want to be able to switch the behavior dynamically | 10:22 |
| Alex_Gaynor | for now my next things are making merge points display better, and adding the JS for highlighting back | 10:23 |
| zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy. | 10:23 | |
| h0h0 (~k@141.79-161-28.customer.lyse.net) left irc: Quit: leaving | 10:26 | |
| Action: Alex_Gaynor -> bed | 10:27 | |
| ssbr | There isn't quite anything like the fun of writing an interpreter. :) | 10:27 |
| fijal | the last thing you want is a small box with a scroll bar and tons of free space | 10:27 |
| antocuni | fijal: re 7abc703337f7: "bah" | 10:31 |
| fijal | antocuni: yes :/ | 10:32 |
| mimi (~mimi@97-88-28-179.dhcp.roch.mn.charter.com) joined #pypy. | 10:41 | |
| fijal | antocuni: good question "why?" | 10:47 |
| antocuni | I suppose the answer is "just because" | 10:47 |
| antocuni | who's the author? | 10:48 |
| fijal | author of what? | 10:52 |
| fijal | my question was "why does locals() force the frame" | 10:53 |
| fijal | they don't seem to have to | 10:53 |
| kenaan | 12hager ppc-jit-backend 110b164b7fc20c 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: replace tabs with spaces | 10:53 |
| antocuni | aah | 10:54 |
| antocuni | I thought the question was "why does this code use locals()" | 10:54 |
| EnCuKou (~encukou@ip-94-113-220-25.net.upcbroadband.cz) joined #pypy. | 10:57 | |
| fijal | the code use locals to shorten the loop | 10:58 |
| fijal | it makes sense | 10:58 |
| fijal | shorten the __init__ | 10:58 |
| kenaan | 12hager ppc-jit-backend 115d2419018c35 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: remove some more tabs | 10:58 |
| fijal | because you have to access stuff through __dict__ | 10:58 |
| fijal | antocuni: the bad part - there is more :/ | 10:59 |
| fijal | antocuni: are you going to finish ffistruct some time? | 11:00 |
| antocuni | fijal: "yes" | 11:00 |
| antocuni | well, I'm almost done with my paid jobs | 11:00 |
| antocuni | so I should really have time for ffistruct soon | 11:00 |
| pybot joined #pypy. | 11:10 | |
| -:#pypy- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp | 11:10 | |
| -ChanServ (ChanServ@services.)- [#pypy] Welcome! | 11:10 | |
| -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:11 | |
| zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. | 11:13 | |
| CIA-53 | 03mikefc 07roundup * 10#976/Implement numpypy.cross(): | 11:17 |
| CIA-53 | [chatting] I've had a go at implementing this with applevel code. Patch attached. | 11:17 |
| CIA-53 | Note that the whole things is really a cut and paste from act ... * 14https://bugs.pypy.org/issue976 | 11:17 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 249 seconds | 11:30 | |
| CIA-53 | 03mikefc 07roundup * 10#976/Implement numpypy.cross(): Ooops. "We're also missing an ndim attribute." * 14https://bugs.pypy.org/issue976 | 11:32 |
| __anish__ (anish@nat/redhat/x-uwpqcgcdquhzbdik) left irc: Read error: Connection reset by peer | 11:43 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 11:48 | |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 11:52 | |
| lizardo (~lizardo@189.2.128.130) joined #pypy. | 11:59 | |
| mat^2 (~mathias@87.55.0.198) joined #pypy. | 12:00 | |
| kenaan | 12arigo default 11a58d0c303bce 15/pypy/jit/backend/x86/test/test_runner.py: fix test | 12:01 |
| hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) joined #pypy. | 12:06 | |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy. | 12:09 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 244 seconds | 12:18 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 12:19 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 244 seconds | 12:30 | |
| derdon (~derdon@p5DE8BC89.dip.t-dialin.net) joined #pypy. | 12:39 | |
| kenaan | 12hager ppc-jit-backend 115f4684c8251c 15/pypy/jit/backend/ppc/ppcgen/: factor out implementation of calls | 12:43 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 12:43 | |
| antocuni | fijal: I think that "remove_invalidates" is a very bad name | 12:44 |
| antocuni | e.g., I cannot figure out what the hell it's doing, even looking at the doc string :-) | 12:44 |
| verte-wleslie | please consider 'confuse_anto' instead. | 12:45 |
| kenaan | 12hager ppc-jit-backend 1125b8f969eadb 15/pypy/jit/backend/ppc/ppcgen/codebuilder.py: remove typo in codebuilder | 12:51 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 252 seconds | 12:55 | |
| kenaan | 12hager ppc-jit-backend 11defdbd4220ca 15/pypy/jit/backend/ppc/test/test_runner.py: skip test test_cond_call_gc_wb_array_card_marking_fast_path | 12:56 |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 260 seconds | 12:59 | |
| `fox` (~fox@host71-57-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 13:00 | |
| arigato (~arigo@adsl-84-227-72-198.adslplus.ch) joined #pypy. | 13:08 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 13:13 | |
| dracman (~draco@212.255.40.92) joined #pypy. | 13:37 | |
| stakkars | happy new year! | 13:42 |
| arigato | hi christian, happy new year! | 13:42 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 13:42 | |
| Goron (LC@h171.163.191.173.dynamic.ip.windstream.net) left #pypy. | 13:42 | |
| stakkars | I had pretty much trouble with my new machine which had a hardware bug. | 13:42 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 13:42 | |
| arigato | :-( | 13:43 |
| stakkars | had to fight the support since friday afternoon since sunday morning. | 13:43 |
| stakkars | they finally were convinced to replace the machine ( was becoming angry after they did ridiculous looong tests to keep me quiet) | 13:44 |
| stakkars | but after I claimed to be ready to replace the provider, I had a replacement server after 2 hours. :-) | 13:45 |
| stakkars | then I did the transfer last night and had a smooth transition | 13:45 |
| stakkars | with maybe half an hour downtime. | 13:46 |
| stakkars | rsyncing multiple times, then stopping all containers, a final rsync, then changing DNS, | 13:47 |
| stakkars | and then the final reboot of the new machine. Yeech ;-) | 13:47 |
| stakkars | arigato: my windows64 installation is not activated, yet. | 13:49 |
| stakkars | I will install this in an extra virtual container, to avoid troubles with the host machine. | 13:50 |
| stakkars | may take a bit of time... | 13:50 |
| stakkars | s/since sunday/until sunday/ | 13:51 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 13:51 | |
| Goron | Oh! Now it makes sense | 13:53 |
| Goron | I thought you were nesting whens | 13:53 |
| sunoano (~sa@mail.heartinternet.co.uk) joined #pypy. | 13:55 | |
| sunoano (~sa@mail.heartinternet.co.uk) left irc: Changing host | 13:55 | |
| sunoano (~sa@unaffiliated/sunoano) joined #pypy. | 13:55 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 252 seconds | 13:55 | |
| voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 13:57 | |
| voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 13:57 | |
| voidspace (~anonymous@python/psf/voidspace) joined #pypy. | 13:57 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 14:02 | |
| whyking (~quassel@p4FFB606C.dip.t-dialin.net) joined #pypy. | 14:03 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Client Quit | 14:03 | |
| verte-wleslie (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT! | 14:05 | |
| arigato (~arigo@adsl-84-227-72-198.adslplus.ch) left irc: Ping timeout: 252 seconds | 14:08 | |
| kenaan | 12hager ppc-jit-backend 11fa8e4ebd847b 15/pypy/jit/backend/ppc/ppcgen/: (bivab, hager): fix bug in prepare_guard_call_release_gil | 14:11 |
| gutworth (~benjamin@64-131-9-52.usfamily.net) joined #pypy. | 14:17 | |
| `fox` (~fox@host71-57-dynamic.48-82-r.retail.telecomitalia.it) left irc: Quit: Lost terminal | 14:19 | |
| `fox` (~fox@host71-57-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 14:20 | |
| voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace | 14:28 | |
| nickik (~nick@217.150.234.222) joined #pypy. | 14:29 | |
| pybot joined #pypy. | 14:40 | |
| -ChanServ (ChanServ@services.)- [#pypy] Welcome! | 14: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). | 14:41 | |
| fprimex (fprimex@wireless-dhcp200d088.fsu.edu) joined #pypy. | 14:56 | |
| fijal | antocuni: this is a hack that will go away | 14:57 |
| antocuni | ok | 14:58 |
| fijal | if you don't understand what it does, don't use it :) | 14:58 |
| antocuni | ok, I was just complaining about the bad naming | 14:58 |
| antocuni | but if it goes away, it's fine for me | 14:59 |
| fijal | well | 14:59 |
| fijal | it calls rpython-level function of the same name :) | 14:59 |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 15:02 | |
| `fox` (~fox@host71-57-dynamic.48-82-r.retail.telecomitalia.it) left irc: Ping timeout: 248 seconds | 15:03 | |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Quit: bivab | 15:04 | |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy. | 15:05 | |
| nickik (~nick@217.150.234.222) left irc: Quit: Verlassend | 15:17 | |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) left irc: Ping timeout: 252 seconds | 15:34 | |
| moreati (~alex@5ad0d588.bb.sky.com) joined #pypy. | 15:53 | |
| arigato (~arigo@adsl-84-227-72-198.adslplus.ch) joined #pypy. | 15:59 | |
| mattip (~chatzilla@bzq-79-176-117-44.red.bezeqint.net) joined #pypy. | 16:14 | |
| mattip | fijal: hi | 16:30 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 276 seconds | 16:35 | |
| fijal | mattip: hi | 16:40 |
| mattip | Are you settled in enough to take a look at the numpypy-axisops branch? | 16:41 |
| fijal | good question | 16:41 |
| fijal | I have not settled my internet yet :/ | 16:41 |
| fijal | mattip: how about I'll give it a go tomorrow? | 16:41 |
| mattip | OK. thnks. | 16:42 |
| mattip | I thought I would take a look at reworking to_str() since I have learned alot since then. | 16:43 |
| JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection | 16:44 | |
| fijal | cool, there is a bug somewhere how to_str is not working correctly | 16:44 |
| mattip | I don't like that it is recursive, and it also should use iterators. | 16:44 |
| fijal | I would appreciate if you can find it on the issue tracker | 16:44 |
| mattip | OK, I have been chatting with mikefs about the bug. | 16:44 |
| fijal | ah ok | 16:45 |
| fijal | mattip: cool, I'm a bit behind my schedule with *everything* | 16:47 |
| fijal | and have tons and tons of paperwork to deal with | 16:47 |
| mattip | Sorry to hear. At least at the end of the paper trail is a pot of gold? | 16:48 |
| fijal | I heavily doubt that | 16:51 |
| mattip | :( | 16:53 |
| fijal | Alex_Gaynor: ping | 16:56 |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ | 16:57 | |
| G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving. | 17:01 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 17:02 | |
| kkris1 (~kris@80-123-47-161.adsl.highway.telekom.at) joined #pypy. | 17:02 | |
| kkris (~kris@93-82-33-167.adsl.highway.telekom.at) left irc: Ping timeout: 240 seconds | 17:03 | |
| voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace | 17:14 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 17:15 | |
| Alex_Gaynor | fijal: pong | 17:20 |
| fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) joined #pypy. | 17:21 | |
| JaRoel|4d (~jaroel|4d@2001:980:7133:1:69cd:db5d:7ebe:3291) joined #pypy. | 17:30 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Quit: Leaving | 17:39 | |
| fijal | Alex_Gaynor: I don't remember any more :) | 17:42 |
| fijal | ah | 17:42 |
| fijal | what do you want from API on the python side? | 17:42 |
| Alex_Gaynor | for jiteviewer? | 17:43 |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 17:50 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 17:58 | |
| arigato (~arigo@adsl-84-227-72-198.adslplus.ch) left irc: Ping timeout: 252 seconds | 17:59 | |
| Guest (~textual@216.190.27.14) joined #pypy. | 18:08 | |
| Nick change: Guest -> rekamso | 18:08 | |
| fijal | Alex_Gaynor: yeah | 18:10 |
| fijal | Alex_Gaynor: sorry for spotty presence :/ | 18:10 |
| fijal | for tracebin | 18:10 |
| Alex_Gaynor | fijal: the abort stuff would be cool | 18:11 |
| Alex_Gaynor | as would real parameters | 18:11 |
| Alex_Gaynor | and having all this stuff work with numpy and rsre as well :) | 18:11 |
| fijal | sorry? | 18:11 |
| fijal | you mean having in-python on_compile hooks? | 18:11 |
| fijal | and on_abort hooks? | 18:11 |
| fijal | on_abort works with numpy/rsre | 18:11 |
| fijal | on_compile I'll move | 18:11 |
| Alex_Gaynor | it does? | 18:12 |
| fijal | yes | 18:12 |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 248 seconds | 18:12 | |
| Alex_Gaynor | ok, cool | 18:12 |
| fijal | it's global now | 18:12 |
| Alex_Gaynor | oh this is the portal thing | 18:12 |
| fijal | yes :) | 18:12 |
| Alex_Gaynor | cool | 18:12 |
| fijal | and I want to move on_compile there | 18:12 |
| Action: Alex_Gaynor wonders if global isn't a bit backwards from per-obj | 18:12 | |
| fijal | the only problem is that right now it cases greenkey to types | 18:12 |
| fijal | no it's not | 18:12 |
| fijal | because per-object is a bit arbitrary | 18:12 |
| fijal | since you can have an obscure combination of jitdrivers in your trace | 18:13 |
| Alex_Gaynor | Right | 18:13 |
| fijal | also, before was not per-object, it was one-object-only :) | 18:13 |
| Alex_Gaynor | fijal: would be cool if trace in compile_hook was split more into objects, rather than just strings, but that's more long term I guess | 18:15 |
| fijal | it is | 18:17 |
| fijal | but anyway | 18:17 |
| fijal | let's discuss this for a second | 18:17 |
| fijal | are we aiming at tracebin running from the log or from the on_compile hook? | 18:17 |
| fijal | because there are different tradeoffs | 18:17 |
| Alex_Gaynor | I'd like it to work with either, but I think the hooks is more important | 18:18 |
| fijal | I don't think pursuing both ways is a good idea | 18:18 |
| fijal | we should promote one and forget about the other IMO | 18:18 |
| Alex_Gaynor | hooks then | 18:18 |
| Alex_Gaynor | pypy -mtracebin is such a better UI | 18:18 |
| fijal | yes it is | 18:19 |
| fijal | you can whack it to work with logs, but anyway | 18:19 |
| fijal | so the hooks *right now* split trace into resops | 18:19 |
| fijal | and expose resops | 18:19 |
| Alex_Gaynor | that's a good start | 18:19 |
| Alex_Gaynor | we need it for all loop types though :) | 18:19 |
| fijal | yes, I can do that tomorrow probably | 18:19 |
| fijal | but you no longer can measure total time probably | 18:20 |
| fijal | because they're slightly more expensive | 18:20 |
| fijal | unless you do some consumer API or so | 18:20 |
| fijal | that would just dump it to a pipe | 18:20 |
| Alex_Gaynor | sure I can measure total time, it's per-section time that' s hard | 18:20 |
| fijal | are you fine with -mtracebin taking say 20% more time? | 18:20 |
| fijal | or rather, prolonging warmup 2x? | 18:21 |
| fijal | for example | 18:21 |
| fijal | that's pretty extreme | 18:21 |
| Alex_Gaynor | why is it so large? | 18:21 |
| fijal | I didn't say it is | 18:24 |
| fijal | but probably would be slightly larger that it is now | 18:24 |
| fijal | is it fine | 18:24 |
| fijal | ? | 18:24 |
| fijal | you can do tricks though | 18:25 |
| Alex_Gaynor | yes, I think so | 18:25 |
| fijal | ok | 18:25 |
| Action: Alex_Gaynor is a fn of tricks | 18:25 | |
| fijal | we can think later about making it RPython | 18:25 |
| fijal | but let's get this going | 18:25 |
| fijal | so ok | 18:25 |
| fijal | now, the other part - we're missing assembler and counters | 18:25 |
| fijal | do you want a hook for that as well? | 18:26 |
| Alex_Gaynor | assembler could be a part of on_compile hook, I think? | 18:26 |
| fijal | yes | 18:26 |
| Alex_Gaynor | and then you can do lininig it up with resops better than +offsets | 18:26 |
| Alex_Gaynor | :) | 18:26 |
| fijal | I also want a hook that does "gimme all compiled loops for this code obj" | 18:26 |
| fijal | yes | 18:26 |
| Alex_Gaynor | counters should be a single hook that gets called in the end, I guess? | 18:26 |
| Alex_Gaynor | maybe even get_counters | 18:27 |
| fijal | my goal is phase out the logs completely or semi-completely | 18:27 |
| Alex_Gaynor | that I just call at the end of the process | 18:27 |
| fijal | yes | 18:27 |
| fijal | atexit.register(...) | 18:27 |
| Alex_Gaynor | doesn't have to be that, -mtracebin is just try: execfile() finally: do_end_stuff() or so | 18:27 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 18:29 | |
| Alex_Gaynor | I need to think about how to structure teh database now I guess | 18:29 |
| rekamso (~textual@216.190.27.14) left irc: Ping timeout: 244 seconds | 18:31 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 252 seconds | 18:44 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy. | 18:44 | |
| nettok (~quassel@200.119.184.55) joined #pypy. | 18:51 | |
| ericflo (~ericflo@75.103.8.110) joined #pypy. | 18:56 | |
| fijal | antocuni: ping | 19:00 |
| antocuni | pong | 19:05 |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy. | 19:08 | |
| fijal | figured out myself by now :) | 19:12 |
| mattip | fijal: ping | 19:26 |
| fijal | mattip: pong | 19:27 |
| Alex_Gaynor | fijal: i'll try to reivew some of mikefc's patches tonight | 19:27 |
| mattip | I fixed the repr() bugs by adding three tests and making it work. | 19:27 |
| fijal | mattip: cool | 19:28 |
| mattip | based on mikefc's work | 19:28 |
| fijal | anyway, can you guys coordinate, I have to drive to the airport soonish | 19:28 |
| mattip | I'm tempted to commit directly to default since the fixes are small, it passes test_ztranslate and all other tests too. | 19:28 |
| fijal | mattip: can you post the diff, so I can have a quick look? | 19:28 |
| Alex_Gaynor | I can also take a quick look now | 19:29 |
| fijal | or alex | 19:29 |
| mattip | http://paste.pocoo.org/show/528955/ | 19:30 |
| Alex_Gaynor | (diff version: http://paste.pocoo.org/show/528956/ ) | 19:30 |
| Alex_Gaynor | this isn't correct | 19:32 |
| Alex_Gaynor | (it wasn't correct before either) | 19:32 |
| Alex_Gaynor | it's the platform sized integer that shouldn't be displayed | 19:32 |
| Alex_Gaynor | not the int64 ones | 19:32 |
| mattip | on my 32 bit linux | 19:33 |
| mattip | numpy only hides the dtype if it is long or 'int64' | 19:33 |
| Alex_Gaynor | mmm, that's not the behavior I'm seeing here | 19:34 |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 19:34 | |
| Action: mattip check again | 19:34 | |
| Action: mattip that's "me check again" | 19:34 | |
| `fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 253 seconds | 19:35 | |
| mattip | Alex_Gaynor: it seems you are (again) correct. I wonder what I was seeing before? | 19:36 |
| nettok_ (~quassel@200.119.185.249) joined #pypy. | 19:36 | |
| Alex_Gaynor | mattip: dunno, I find it really easy to mix up all the different int types | 19:36 |
| mattip | What's the quickest way to get the native int size? | 19:36 |
| mattip | platform something? | 19:37 |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 19:37 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Client Quit | 19:37 | |
| nettok (~quassel@200.119.184.55) left irc: Ping timeout: 248 seconds | 19:38 | |
| Alex_Gaynor | it's anythign where .kind == INT and .get_element_size() == rffi.sizeof(lltype.Integer) | 19:38 |
| Alex_Gaynor | (I think) | 19:38 |
| gutworth | and by that you mean lltype.Signed? | 19:40 |
| `fox` (~fox@host94-105-dynamic.54-82-r.retail.telecomitalia.it) joined #pypy. | 19:40 | |
| Alex_Gaynor | yeah | 19:40 |
| Alex_Gaynor | :) | 19:40 |
| mattip | how about dtype('i') | 19:40 |
| Alex_Gaynor | that'll match the condition I suggested | 19:41 |
| fijal (~fijal@41.53.95.237) left irc: Read error: Connection reset by peer | 19:44 | |
| lmoura (lmoura@gateway/indt/session) left irc: Quit: Leaving | 19:47 | |
| mattip | Alex_Gaynor: so now the tests must also check the native int size, and adjust the expectaions accordingly. | 20:01 |
| mattip | expectations* | 20:02 |
| zain__ (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy. | 20:03 | |
| Nick change: zain__ -> Guest17930 | 20:04 | |
| Guest17930 (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. | 20:16 | |
| lesshaste | hi all | 20:16 |
| `fox` (~fox@host94-105-dynamic.54-82-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds | 20:16 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 20:19 | |
| int3__ (~int3__@bb220-255-192-11.singnet.com.sg) left irc: Remote host closed the connection | 20:19 | |
| int3__ (~int3__@bb220-255-192-11.singnet.com.sg) joined #pypy. | 20:19 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving | 20:29 | |
| lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving | 20:29 | |
| lmoura (lmoura@gateway/indt/session) joined #pypy. | 20:32 | |
| nettok (~quassel@200.119.150.91) joined #pypy. | 20:35 | |
| nettok_ (~quassel@200.119.185.249) left irc: Ping timeout: 240 seconds | 20:36 | |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 20:37 | |
| mattip | Alex_Gaynor: http://paste.pocoo.org/show/528989 | 20:42 |
| kenaan | 12alex_gaynor default 116a589f1a038a 15/pypy/module/sys/app.py: Update some copyright years. | 20:43 |
| Alex_Gaynor | mattip: sorry I'm running out now, I don't have time to take a look ATM | 20:43 |
| mcdonc_ (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 20:44 | |
| mattip | ok, I'll put it on a branch. | 20:44 |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Ping timeout: 240 seconds | 20:44 | |
| kenaan | 12mattip numpypy-repr-fix 1168dec1e17bd9 15/pypy/module/micronumpy/: add tests for issue 964 and more, make tests pass | 20:48 |
| asmeurer (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) joined #pypy. | 20:53 | |
| CIA-53 | 03mattip 07roundup * 10#964/numpypy.zeros([]) returns wrong result: | 20:54 |
| CIA-53 | [in-progress] Fixed in changeset 68dec1e17bd9149babafdc36eb109eb8d41c8a61, based on mikefc's | 20:54 |
| CIA-53 | patch. At the same time fixed bug for showing dtype ... * 14https://bugs.pypy.org/issue964 | 20:54 |
| Tanriol (~dennis@77.41.27.17) joined #pypy. | 21:20 | |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) left irc: Remote host closed the connection | 21:26 | |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 21:27 | |
| whyking (~quassel@p4FFB606C.dip.t-dialin.net) left irc: Ping timeout: 240 seconds | 21:34 | |
| fijal (~fijal@197.110.79.161) joined #pypy. | 21:51 | |
| fijal | hi | 21:52 |
| Tanriol (dennis@77.41.27.17) left #pypy. | 21:55 | |
| fschwidom (~fschwidom@46.115.12.41) joined #pypy. | 21:55 | |
| fschwidom (~fschwidom@46.115.12.41) left irc: Remote host closed the connection | 21:56 | |
| fijal (~fijal@197.110.79.161) left irc: Read error: Connection reset by peer | 21:56 | |
| ssbr | Hey guys, so, I'm giving writing a regular expression implementation a shot (not least because I want to try implementing scheme-style pattern matching in Python). What should I read to know how to get regexps JIT-compiled? | 22:00 |
| ssbr | the structure is basically following that (so far) given by russ cox (RE2 author) of a compiler from regular expressions to a regexp bytecode, and then an interpreter for said bytecode | 22:01 |
| moreati | ssbr: are you aware of the re2 pacakge and google regex library bindings? | 22:02 |
| ssbr | moreati: Yes. | 22:02 |
| ssbr | That said, I couldn't get the re2 package to work, but my goals are different | 22:02 |
| ssbr | I started writing this so that I could pattern match on Python objects | 22:02 |
| kkris1 (~kris@80-123-47-161.adsl.highway.telekom.at) left irc: Quit: Leaving. | 22:03 | |
| ssbr | Besides, I will probably need to add backtracking search for nontrivial patterns. | 22:03 |
| ssbr | (scheme's allows you to apply an arbitrary predicate to a match) | 22:04 |
| ssbr | (eh, Racket's, I should say, although I think the "usual" scheme pattern matching library does the same) | 22:04 |
| fijal (~fijal@41.48.168.162) joined #pypy. | 22:11 | |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) left irc: | 22:12 | |
| mikefc | mattip: if I wanted to write a cumsum() method, is it possible to do it at the app level? I can see where it'd go at the interp level (in the classes in intep_numarray), but if I wrote it at the applevel, how would i get it in there? | 22:12 |
| mattip | Alex_Gaynor: I found some corner cases for large arrays with few rows or columns and added a fix for repr(). | 22:15 |
| kenaan | 12mattip numpypy-repr-fix 11ee3e5819364d 15/pypy/module/micronumpy/: additional tests, fixes to pass them | 22:15 |
| mattip | I couldn't find a way to use iterators instead of directly accessing strides yet. | 22:16 |
| ssbr | this looks useful: http://morepypy.blogspot.com/2011/04/tutorial-writing-interpreter-with-pypy.html | 22:16 |
| mattip | Please review, critique, and hopefully merge. | 22:16 |
| espes (espes@2001:470:1f05:ca1::) left irc: Read error: Connection timed out | 22:17 | |
| espes (espes@2001:470:1f05:ca1::) joined #pypy. | 22:18 | |
| int3__ (~int3__@bb220-255-192-11.singnet.com.sg) left irc: Remote host closed the connection | 22:19 | |
| mattip | mikefc: I'm thinking. | 22:23 |
| durin42 (~durin@adium/durin42) got netsplit. | 22:24 | |
| Count_Niedar (~nnscript@ip68-231-248-182.hr.hr.cox.net) got netsplit. | 22:24 | |
| MostAwesomeDude (JuTorzalS0@osuosl/staff/mostawesomedude) got netsplit. | 22:24 | |
| htoothrot (~mux@unaffiliated/htoothrot) got netsplit. | 22:24 | |
| timotimo (~timo@gallifrey.wybt.net) got netsplit. | 22:24 | |
| exarkun (~exarkun@wordeology.com) got netsplit. | 22:24 | |
| Arnar (~arnarb@li187-148.members.linode.com) got netsplit. | 22:24 | |
| exarkun (~exarkun@wordeology.com) returned to #pypy. | 22:24 | |
| #pypy: mode change '+o exarkun' by ChanServ!ChanServ@services. | 22:24 | |
| mikefc | ok. sorry. i thought there might be something obvious I'm missing, but I can't see any examples of what I want to do in the current code. | 22:25 |
| durin42 (~durin@adium/durin42) returned to #pypy. | 22:25 | |
| Count_Niedar (~nnscript@ip68-231-248-182.hr.hr.cox.net) returned to #pypy. | 22:25 | |
| MostAwesomeDude (JuTorzalS0@osuosl/staff/mostawesomedude) returned to #pypy. | 22:25 | |
| htoothrot (~mux@unaffiliated/htoothrot) returned to #pypy. | 22:25 | |
| timotimo (~timo@gallifrey.wybt.net) returned to #pypy. | 22:25 | |
| Arnar (~arnarb@li187-148.members.linode.com) returned to #pypy. | 22:25 | |
| mattip | mikefc: sorry, no idea. | 22:33 |
| fijal | mattip: I'll have a look (hopefully) tomorrow | 22:33 |
| mikefc | ok. thanks. I'll post something to the mailing list and see if there are any ideas. | 22:33 |
| Action: mikefc is lazy and wants to get big chunks of numpypy working by borrowing from numpy's code | 22:34 | |
| lahwran | heavens, ssbr | 22:36 |
| fprimex (fprimex@wireless-dhcp200d088.fsu.edu) left irc: Quit: Leaving | 22:36 | |
| fijal | mikefc: good :) | 22:36 |
| lahwran | you're writing a whole language just for this pattern matching thing? | 22:36 |
| lahwran | you're going to set some kind of record at this rate | 22:36 |
| mikefc | fijal: my question to mattip was: if I wanted to write a cumsum() method, is it possible to do it at the app level? I can see where it'd go at the interp level (in the classes in intep_numarray), but if I wrote it at the applevel, how would i get it in there? | 22:37 |
| mikefc | fijal: any ideas? | 22:37 |
| ssbr | lahwran: what | 22:37 |
| fijal | mikefc: there are two possible places | 22:37 |
| ssbr | Oh. | 22:37 |
| ssbr | lahwran: no, I'm reimplementing a language | 22:37 |
| lahwran | oh, regexes | 22:37 |
| fijal | you can put it in app_numpy.py | 22:37 |
| lahwran | I didn't scroll up very far :P | 22:38 |
| fijal | or you can do all the work of reusing numpy in lib_pypy/numpy | 22:38 |
| fijal | that simply imports _numpy or micronumpy or so | 22:38 |
| fijal | hm | 22:40 |
| mikefc | fijal: for now I'd just like to "put it in app_numpy.py". But all the functions in there are class level functions, when I really want to write an instance method (I hope the terminology is right). | 22:40 |
| fijal | how bad would that be to be implemented at applevel btw? | 22:40 |
| fijal | ah, you want array.cumsum as a method? | 22:40 |
| mikefc | fijal: yes :) | 22:40 |
| fijal | then I fear you have to implement it at interp-level | 22:41 |
| fijal | which makes quite some sense, no? | 22:41 |
| fijal | like any other axis-based function | 22:41 |
| fijal | don't you have a branch that does it? | 22:41 |
| fijal | or someone else? | 22:41 |
| fijal | I got a bit lost, I have to review those branches tomorrow :/ | 22:42 |
| mikefc | I was hoping that I could write it at app level, because I'm not smart enough to write interp level stuff yet | 22:42 |
| fijal | mattip was definitely working on it | 22:42 |
| fijal | mikefc: don't worry it's not that hard :) | 22:42 |
| fijal | it should be at interp-level really | 22:42 |
| fijal | mikefc: I can help with that, just not tonight | 22:42 |
| fijal | anyway, /me off | 22:43 |
| mikefc | thanks | 22:43 |
| Action: mikefc is off too. work :/ | 22:43 | |
| fijal | mikefc: I will look into axes-based ufuncs | 22:43 |
| fijal | because they're more or less similar | 22:43 |
| fijal | so sometime this week, ok? | 22:43 |
| mikefc | fijal: ok. cumsum() was only an example. there are lots of methods i'd like, but don't necessarily want to write in interp level :) | 22:43 |
| mikefc | ok. gotta go. | 22:43 |
| mikefc | afk | 22:43 |
| fijal | mikefc: they'll all be like 2-lines long | 22:44 |
| fijal | like sum right now | 22:44 |
| fijal | so don't worry really | 22:44 |
| fijal (~fijal@41.48.168.162) left irc: Read error: Connection reset by peer | 22:50 | |
| kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 22:56 | |
| mattip (~chatzilla@bzq-79-176-117-44.red.bezeqint.net) left irc: Quit: ChatZilla 0.9.88 [Firefox 8.0/20111115183158] | 22:56 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/764 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/192 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1001 | 23:00 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/20 | 23:00 |
| furrykef (furrykef@ip68-12-180-167.ok.ok.cox.net) joined #pypy. | 23:05 | |
| furrykef | Is there anybody working on a py2exe-like thing for PyPy? I'd like to package my program with PyPy instead of CPython for performance, and I'd rather not start from scratch if there's another project I could contribute to. | 23:07 |
| gutworth | no | 23:09 |
| kennethreitz | furrykef: I want that SO badly. | 23:10 |
| kennethreitz | but nobody cares. at all. it's tragic. | 23:10 |
| furrykef | Hmm, I wonder why. | 23:11 |
| furrykef | My assembler runs 10x as fast under PyPy as under CPython (at least for certain inputs). | 23:11 |
| Dulak | sounds like you guys just found a project to collaborate on | 23:12 |
| furrykef | I dunno, I might just stick with Python 2.6 + psyco (which still runs about 2x as fast as CPython for my project) | 23:14 |
| lahwran | perhaps look at adapting py2exe itself | 23:14 |
| lahwran | or pyinstaller | 23:14 |
| stakkars | all: can I change the IRC log headline? | 23:18 |
| stakkars | I'd like to replace | 23:18 |
| stakkars | http://www.tismer.com/pypy/irc-logs/pypy/ | 23:19 |
| stakkars | with | 23:19 |
| stakkars | http://tismerysoft.net/pypy/irc-logs/pypy/ | 23:20 |
| stakkars | the tismer.com thing works by accident. | 23:20 |
| stakkars | or should I make it explicit? Then I'd toss the other one. | 23:21 |
| stakkars | but there should be only one linkt, I think. | 23:21 |
| Niedar (~nnscript@ip68-231-248-182.hr.hr.cox.net) joined #pypy. | 23:26 | |
| kennethreitz | unfortunately, it's quite complicated stuff | 23:28 |
| Topic changed on #pypy by kennethreitz!kennethre@c-24-127-96-129.hsd1.va.comcast.net: PyPy, a fast and compliant python interpreter | IRC logs: http://tismerysoft.net/pypy/irc-logs/pypy/ | if you want it to be virtual, you should not force it | 23:28 | |
| kennethreitz | stakkars: \o/ | 23:28 |
| kennethreitz | that doesn't work for me though | 23:29 |
| Count_Niedar (~nnscript@ip68-231-248-182.hr.hr.cox.net) left irc: Ping timeout: 240 seconds | 23:29 | |
| stakkars | kennethreitz: what does not work for you? | 23:30 |
| kennethreitz | stakkars: that link | 23:30 |
| stakkars | please more precisely. that link that is visible on IRC, or that I proposed? | 23:31 |
| stakkars | ah, sorry, I just saw the change. | 23:32 |
| stakkars | kennethreitz: ugh, yeah, it is "tismerysoft.de" that works right now. | 23:33 |
| stakkars | would you mind to change it again? | 23:34 |
| stakkars | and which one should be it, in the end? | 23:34 |
| Topic changed on #pypy by kennethreitz!kennethre@c-24-127-96-129.hsd1.va.comcast.net: PyPy, a fast and compliant python interpreter | IRC logs: http://tismerysoft.de/pypy/irc-logs/pypy/ | if you want it to be virtual, you should not force it | 23:34 | |
| kennethreitz | stakkars: done :) | 23:35 |
| stakkars | ok, that's fine so far. Although tismerysoft.net is nicer, no? | 23:35 |
| stakkars | anyway, I can toss that old tismer.com shit now. | 23:36 |
| stakkars | ok, let's keep it that way... | 23:36 |
| stakkars | did somebody realize that the site was replaced completely, yesterday? | 23:37 |
| stakkars | presumably not, which is a success. | 23:38 |
| Goron (~LC@h171.163.191.173.dynamic.ip.windstream.net) joined #pypy. | 23:39 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 276 seconds | 23:48 | |
| mcdonc_ | Alex_Gaynor: fwiw, i got sick of untested servers, so http://pypi.python.org/pypi/waitress/ (continually tested on pypy) | 23:50 |
| Alex_Gaynor | mcdonc_: the world needed a new HTTP server like it needed a hole in it's head, nice :) | 23:51 |
| mcdonc_ | i know! ;-) | 23:51 |
| mcdonc_ | but it did | 23:51 |
| mcdonc_ | at least a new wsgi server that people actually could verify worked | 23:51 |
| --- Tue Jan 3 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!