#pypy IRC log for Tuesday, 2011-12-13

antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds00:05
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.00:06
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.00:08
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection00:09
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Ping timeout: 240 seconds00:09
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy.00:11
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.00:13
DanKluev (~root@78-24-224-073-udsl.vntc.ru) joined #pypy.00:21
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord00:30
asmeurer__ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Read error: Connection reset by peer00:45
asmeurer___ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.00:45
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Ping timeout: 240 seconds00:46
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Remote host closed the connection00:55
sunoano (~sa@unaffiliated/sunoano) left irc: Ping timeout: 245 seconds00:56
nedbat (~nedbat@python/psf/nedbat) joined #pypy.00:57
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.00:59
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host00:59
mfoord (~anonymous@python/psf/voidspace) joined #pypy.00:59
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.01:05
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/16801:07
xenru (~Adium@31.31.97.244) left irc: Quit: Leaving.01:08
xiaochen (xiaochen@nat/redhat/x-zieeonfiozwtxdxa) joined #pypy.01:22
davisagli (davisagli@davisagli.com) left #pypy.01:28
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/188601:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/62901:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/30301:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/64101:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/115801:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/82501:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/146701:35
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/74801:35
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer01:37
derdon (~derdon@p5DE8ACB8.dip.t-dialin.net) left irc: Remote host closed the connection01:46
azanella (~azanella@189.6.80.207) joined #pypy.01:48
davisagli (~davisagli@davisagli.com) joined #pypy.01:49
etrepum_ (~bob@accessnat4.mochimedia.net) joined #pypy.01:50
azanella (~azanella@189.6.80.207) left irc: Ping timeout: 255 seconds01:54
etrepum (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 240 seconds01:54
etrepum_ (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 255 seconds01:55
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Read error: Connection reset by peer01:55
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.01:56
harrison_ (~quassel@adsl-76-217-39-2.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 240 seconds01:56
mwhudsoni presume https://www.facebook.com/note.php?note_id=10150415177928920 got mentioned in here02:01
mwhudson(the "hiphop virtual machine")02:01
Alex_Gaynormwhudson: yeah, I wasn't impressed02:01
mwhudsonthe overall direction is interesting though02:01
mwhudsonalso comments like "Unfortunately we didn't have a clean model of PHP language semantics built into HipHop"02:02
Alex_GaynorI have every confidence that if someone wrote a decent pypy impl of PHP it would smoke what they wrote.02:02
mwhudsonyes, very likely02:02
MostAwesomeDudeToo bad they can't migrate off PHP at this point. :c02:02
MostAwesomeDudeIt's not too late for WP though!02:02
Alex_GaynorIt apparently has 20 engineers, I think you could get a PHP on PyPy done in a month this that many people.02:03
Alex_Gaynorproduction ready in 202:03
MostAwesomeDudeWell, these are the same guys that think Tornado's better than Twisted.02:04
mwhudson'production ready' is probably quite a thing when you are running facebook02:05
Alex_Gaynormwhudson: "move fast and break things"02:07
mwhudsonthat seems to be established practice to judge by the js02:07
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord02:07
jterrace (~Adium@dynamic-oit-vapornet-b-1207.Princeton.EDU) joined #pypy.02:11
jterraceis pushing still broken?02:13
Alex_Gaynorjterrace: haven't tried02:13
Alex_Gaynorjterrace: if it is let me know, I'll complain to BB people02:13
jterraceit just sits there for minutes when i try to push02:13
jterraceeventually it times out02:13
Alex_Gaynorok I'll complain02:14
jterraceremote: abort: repository /data/netapp02/netapp02_sas01_21/data/d-64/r-143064: timed out waiting for lock held by bitbucket13.managed.contegix.com:201902:14
Action: jterrace complains to Alex_Gaynor02:14
Wraithan (Wraithan@c-67-189-110-252.hsd1.or.comcast.net) left #pypy ("WeeChat 0.3.7-dev").02:20
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy.02:23
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host02:23
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.02:23
Rhyolitejterrace: are you sure that it is BB and not your system?02:31
Rhyolitehmm, I guess it is02:32
Rhyolitehg push takes a lot more time for me on systems with less disk I/O bandwidth02:32
jterraceyeah02:34
jterraceit worked fine earlier02:34
jterraceand someone else siad they couldnt push either02:34
Rhyoliteyeah, sorry, I didn't notice the BB NetApp error02:34
Action: jterrace wants to push his super duper awesome branch02:37
Kaskuka (~John@osbk-4db1633a.pool.mediaWays.net) joined #pypy.02:39
Guest66857 (~John@osbk-4db1409b.pool.mediaWays.net) left irc: Ping timeout: 240 seconds02:39
Rhyolitejterrace: it's awesomeness overwhelmed BB and NetApp :-)02:40
jterracemust be02:41
kenaan12jterrace numpy-full-fromstring 118e0167fbb05a 15/pypy/module/micronumpy/: Adds full fromstring support with lots of tests02:46
Alex_Gaynoroh here we go02:46
jterraceyay02:49
jterraceAlex_Gaynor: that ^ should be okay to merge02:49
Alex_Gaynorjterrace: ok let me review it first02:50
Alex_Gaynordoes bb hvae a way to diff branches02:50
jterracei was wondering that same thing02:50
Alex_GaynorI don't have a way to colorize diffs while I'm on windows02:50
jterraceit's only 1 commit02:51
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/97602:51
jterraceso this should ork: https://bitbucket.org/pypy/pypy/changeset/8e0167fbb05a02:51
Alex_Gaynorgood point02:51
Alex_Gaynorgrr, I wish bb had inline commenting on commits02:52
jterracetried to keep fromstring as concise as i could02:52
Alex_GaynorL17 should just be dtype.itemtype.get_element_size()02:52
Alex_Gaynorthis should calculate whether the input is the right size outside of the loop02:52
jterraceyou cant with a sep02:53
jterracei could check if sep == '' and check02:53
Alex_Gaynorwhy not?02:53
jterracewell i would have to search the whole string for the number of occurences of sep02:53
Alex_Gaynorah, with a sep is it a non-binary string?02:53
jterraceright02:53
Alex_Gaynorwtf, what a silly API02:54
jterraceso i thought about putting another check before the loop02:54
jterracebut it looked ugly02:54
Alex_GaynorI think no sep and sep should be two loops02:54
Alex_Gaynorin teh no sep case you can be way more efficient02:54
dracman (~draco@212.255.38.116) left irc: Ping timeout: 252 seconds02:55
Alex_Gaynoryou can allocate a single array02:55
Alex_Gaynorrather than have an intermediary one02:55
jterraceyeah02:55
jterracei can split it into two then02:55
Alex_Gaynoryes, let's do that02:55
jterraceok02:55
jterraceill refactor it tomorrow02:55
jterraceheading out02:55
Alex_Gaynorsounds good02:55
jterrace (~Adium@dynamic-oit-vapornet-b-1207.Princeton.EDU) left irc: Quit: Leaving.02:55
Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Ping timeout: 276 seconds03:00
mat^2 (~mathias@212.130.113.35) left irc: 03:01
thinker` (~thinker@218-167-128-7.dynamic.hinet.net) joined #pypy.03:01
thinker` (~thinker@218-167-128-7.dynamic.hinet.net) left irc: Ping timeout: 252 seconds03:06
Nick change: Gulaway -> Gulopine03:12
papercrane (~papercran@75.101.111.82) left irc: Ping timeout: 244 seconds03:17
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds03:31
DanKluev (~root@78-24-224-073-udsl.vntc.ru) left irc: Quit: Leaving.03:35
DanKluev (~root@78-24-224-073-udsl.vntc.ru) joined #pypy.03:35
CIA-1303r.lobb 07roundup * 10#949/1.7 Sandbox problems: 03:42
CIA-13Yay! All up and running now :-) I see your branch has already been merged with03:42
CIA-13the trunk, too. Many thanks Ned and Fijal03:42
CIA-13Just one minor comm ... * 14https://bugs.pypy.org/issue94903:42
e1ven (~E1ven@SQ7/ProjectLead/E1ven) left irc: Quit: Computer has gone to sleep.03:44
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/188603:52
kenaan12mattip numpypy-frompyfunc 118f2f51754ac2 15/pypy/module/micronumpy/: tests, implementation of frompyfunc. Needs lazy eval (should inherit from VirtualArray?)03:56
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.03:57
mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 240 seconds04:16
anish_ (anish@nat/redhat/x-yrlybmartozwewgc) joined #pypy.04:22
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.04:26
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/146704:54
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/82505:00
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/64105:11
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/115805:13
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.05:14
thinker` (~thinker@218-167-125-9.dynamic.hinet.net) joined #pypy.05:17
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Ping timeout: 255 seconds05:21
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/62905:22
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.05:42
gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) left irc: Ping timeout: 240 seconds05:43
mwhudson (~mwh@linaro/mwhudson) joined #pypy.05:56
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Remote host closed the connection06:04
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.06:17
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy.06:20
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/74806:22
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.06:25
Nick change: Gulopine -> Gulaway06:25
squiddy (~squiddy@f053083052.adsl.alicedsl.de) joined #pypy.06:44
asmeurer___ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer___06:45
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep.06:50
mvt (~mvantelli@87.213.45.85) joined #pypy.06:57
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy.07:12
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds07:19
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/30307:20
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) joined #pypy.07:20
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) left irc: Changing host07:20
ixokai (~ixokai@pdpc/supporter/student/ixokai) joined #pypy.07:20
kenaan12hakanardo jit-multilabel 1108f31473c48b 15/pypy/jit/metainterp/optimizeopt/unroll.py: kill old stuff07:43
kenaan12hakanardo jit-multilabel 111e4c74e007f4 15/pypy/jit/metainterp/optimizeopt/: Dont change the result box of ops as they are emitted. That will cause an unecesarry renaming of the box...07:43
fijal (~fijal@197.168.13.110) joined #pypy.07:47
Arfrever (~Arfrever@apache/committer/Arfrever) left irc: Quit: Ex+re07:48
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Ping timeout: 276 seconds07:48
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.07:49
kenaan12hakanardo jit-multilabel 11a155d05decc6 15/pypy/jit/metainterp/optimizeopt/virtualstate.py: kill ShortBoxes.aliases07:53
kenaan12hakanardo jit-multilabel 11fb0f3b8c369a 15/pypy/jit/metainterp/optimizeopt/: ShortBoxes is no longer mutated after it is crated so there is no point in cloning it anymore07:54
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds08:08
nirbheek (~nirbheek@117.197.151.239) joined #pypy.08:12
Nick change: nirbheek -> Guest6815308:12
Nick change: thinker` -> Sinker08:17
hruske (~Gasper@188.230.156.183) joined #pypy.08:18
fijalhakanardo: hey hakan, I see you're having fun :)08:19
CIA-1303fijal 07roundup * 10#673/Linux L2 cache size: 08:24
CIA-13Hey Stefano. We completely gave up on determining L2 cache size and just08:24
CIA-13hardcoded the size of nursery to 4M. Besides, you're a fool (just like ... * 14https://bugs.pypy.org/issue67308:24
CIA-1303fijal 07roundup * 10#949/1.7 Sandbox problems: 08:26
CIA-13[resolved] Cool, we're glad to be of help. I think ned did something similar on his branch,08:26
CIA-13will look into disabling the messages by default. I ... * 14https://bugs.pypy.org/issue94908:26
fijalmikefc: thanks for the issue08:27
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.08:29
Guest68153 (~nirbheek@117.197.151.239) left irc: Changing host08:29
Guest68153 (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.08:29
Nick change: Guest68153 -> nirbheek08:29
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Quit: leaving08:32
fijal_ (~fijal@41.49.11.66) joined #pypy.08:36
fijal (~fijal@197.168.13.110) left irc: Disconnected by services08:36
Nick change: fijal_ -> fijal08:36
tumbleweedfijal: where is it hardcoded to 4M?08:59
tumbleweed(that code is still there in the tip)08:59
tumbleweedbut blowing it away sounds like the right thing to do :P08:59
fijalon trunk08:59
fijalright09:00
fijalin pypy/rpython/memory/gc/minimark.py:33209:00
tumbleweedah. /me tries to ork out why best_nursery_size is still being called09:01
xenru (~Adium@matrix-217-146-248-10.matrix.farlep.net) joined #pypy.09:03
hakanardo_ (~hakan@gw.cognimatics.ideon.se) joined #pypy.09:03
hakanardo_fijal: just cleaning up a bit :)09:03
tumbleweedoh, it isn't09:04
fijalyop, it's not :)09:05
EnCuKou (~encukou@193.167.65.94) joined #pypy.09:05
Sinker (~thinker@218-167-125-9.dynamic.hinet.net) left irc: Ping timeout: 252 seconds09:05
fijaloh good09:09
fijalI found a broken test09:09
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:15
Alex_Gaynorfijal: in what?09:16
fijalin numpy09:16
fijal(a + a)[::2][2] = 309:16
fijalnow I wonder if I should fix it on my branch or try to fix it on trunk09:16
Alex_Gaynorwhich branch?09:17
fijalrefactor-signature09:18
fijalAlex_Gaynor: btw, can you think how to reply to this: http://news.ycombinator.com/item?id=334409209:18
fijal?09:18
fijalthe deepest question09:18
arigato (~arigo@89.204.153.1) joined #pypy.09:18
fijalarigato: hi09:19
arigatohi09:19
fijalarigato: http://speed.pypy.org/changes/?tre=10&rev=50397%3A6fb87770b5d2&exe=1&env=109:19
Alex_Gaynorfijal: seems like you agree with premise B09:19
CIA-1303r.lobb 07roundup * 10#960/Sandboxing for external function 'pypy__float2longlong': 09:19
CIA-13[new] Attempting to import pickle, cPickle or json in a program running in the version09:19
CIA-131.7 sandbox throws an exception like the following:09:19
CIA-13No ... * 14https://bugs.pypy.org/issue96009:19
fijaldo I?09:20
Alex_Gaynorbtw specialized tuples slowed stuff down09:20
fijalI think market is not a very good thing to explain the phenomena09:20
Alex_Gaynorfijal: yes, you basically said that by not being flexible companies were hurting themselves because they couldn't hire well09:20
fijalbut I don't know how to frame it09:20
fijalread the B09:20
fijalhe's claiming that if this was the case, markets would sort it out09:20
Alex_Gaynormarkets aren't a magical force imbued with knowledge09:21
Alex_Gaynorthe market is just teh assumption that humans behave rationall in pursuit of their ends09:21
fijalyes, but I think there is an actual argument that sends the same msg09:21
Alex_Gaynorif you don't accept the premise that humans are rational, you don't have to accept the conclusion09:21
fijalI think there is more to that09:22
fijalthe entire game theory has more assumptions09:22
fijallike stable and big enough systems09:22
Alex_Gaynorwell, also that09:22
fijalI think even assuming humans are relatively rational you can still make a reasonable argument markets won't sort stuff out09:22
Alex_Gaynorsure, because markets optimize for what humans see, and we're probably not that good at evaluating performance09:23
fijalright09:23
fijalbut also we might be very easily stuck in a local minimum09:23
fijalthat you can't get out09:23
fijalassuming *very* rational humans09:23
Alex_Gaynorwell, it's not about rational, it's about what you optimize for09:24
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.09:24
Alex_Gaynordo you optimize short scripts, or serve processes09:24
Alex_Gaynorwhoops, I changed the subject :D09:24
tumbleweedfijal: want a patch like this? http://paste.debian.net/14907009:24
fijaltumbleweed: this is a question for armin09:25
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/74309:25
tumbleweedin that case, I'll post it on the bug09:25
CIA-1303stefanor 07roundup * 10#673/Linux L2 cache size: In that case, have a patch that blows it away * 14https://bugs.pypy.org/issue67309:27
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy09:28
kenaan12hakanardo jit-multilabel 11e2479d8f3ce5 15/pypy/jit/metainterp/optimizeopt/vstring.py: Translation fix. Why am I not allowed to use a default value on the lengthbox argument?09:28
Alex_Gaynorfijal: i'd fix on default fwiw, should be easy09:29
CIA-1303r.lobb 07roundup * 10#961/Spurious (?) mercurial error messages from sandlib.py: 09:29
CIA-13[new] This isn't at all critical, but when I attempt to run the sandbox as a different09:29
CIA-13user from the owner of the pypy subtree I get a string of ... * 14https://bugs.pypy.org/issue96109:29
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/630 [12hakanardo, jit-multilabel]09:30
tumbleweedfijal: that's a relief, there were many test failures due to those L2 cache detection warnings popping up09:30
arigatofijal: I'm trying to find what sympy_expand does09:31
CIA-1303r.lobb 07roundup * 10#961/Spurious (?) mercurial error messages from sandlib.py: 09:31
CIA-13This isn't at all critical, but when I attempt to run the sandbox as a different09:31
CIA-13user from the owner of the pypy subtree I get a string of warni ... * 14https://bugs.pypy.org/issue96109:31
arigatoso far it seems that it's testing the @cacheit decorator, which is probably not what you want09:32
arigato...ah, there is clear_cache()09:32
fijalAlex_Gaynor: is it?09:38
Alex_Gaynorfijal: is what?09:39
fijalAlex_Gaynor: easy09:39
Alex_Gaynoryes I think so, just missing a get concrete call somewhere09:39
fijalarigato: in what sense "what it does"?09:39
fijalAlex_Gaynor: well, in this sense yes, but it should not have to force it09:40
arigatofijal: I'm trying naively to figure out why SpecialisedTuples hurt09:40
arigatobut it seems I'm not used the right approach09:40
arigatos/used/using09:42
Action: fijal is confused09:49
fijalarigato: you mean you're staring at traces or what?09:49
fijalAlex_Gaynor: I'll fix it on the branch, so feel free to do whatever09:49
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.09:49
Alex_Gaynorfijal: which branch?09:49
fijal<Alex_Gaynor> which branch?09:50
fijal<fijal> refactor-signature09:50
Alex_Gaynorheh09:50
Alex_GaynorI fail09:50
fijalisn't it like late or so?09:50
arigatofijal: not yet, staring at the source, but I'm switching to staring at traces indeed09:51
Alex_GaynorYes, I'm not sure why I'm up09:51
fijalarigato: from my experience in large things, staring at traces is the best09:51
fijalbecause you don't have to understand the entire stack09:51
fijalbut on the other hand, it also sometimes fail09:52
fijaland that's why I have a branch to develop improvements for hints that did not go anywhere so far :)09:52
fijalbecause our tools have scale problems - none of them really worked for translation09:52
fijalother than "probably removing multimethods would improve annotation time by something"09:52
Alex_Gaynorvery precise09:53
fijalarigato: </rant>09:53
arigatoeh, map()?09:54
fijalarigato: ?09:55
Alex_Gaynormap should be fast, as long as you use 2 arg form09:56
Alex_Gaynorif you use more args, we need more tricks09:56
xiaochen (xiaochen@nat/redhat/x-zieeonfiozwtxdxa) left irc: Quit: leaving09:58
arigatoah09:58
Alex_Gaynorarigato: a bit silly, but... we have no applevel unroll or jit.isconstant09:59
tumbleweed (~stefanor@ubuntu/member/tumbleweed) left irc: Ping timeout: 240 seconds10:01
fijalAlex_Gaynor: yes, this one is missing get_concrete() indeed10:02
tumbleweed (~stefanor@corelli.tumbleweed.org.za) joined #pypy.10:02
tumbleweed (~stefanor@corelli.tumbleweed.org.za) left irc: Changing host10:02
tumbleweed (~stefanor@ubuntu/member/tumbleweed) joined #pypy.10:02
fijalAlex_Gaynor: but I still think there are more places where there is an implicit assumption that View is always of a concrete array10:02
Alex_Gaynorfijal: so we should either audit the code or fix them as we see them10:02
fijalAlex_Gaynor: no10:03
fijalAlex_Gaynor: there are some wrong assumption10:03
fijals10:03
Alex_Gaynorright10:03
fijallook10:03
fijalhow it is done10:03
Alex_Gaynorwhat am I looking at?10:04
fijalAlex_Gaynor: the W_NDimSlice.eval contains a call to getitem which will in turn call get_concrete on parent10:05
fijalwhich creates unnecessary loops10:06
fijalAlex_Gaynor: do I make any sense?10:06
Alex_Gaynoryes, but I'm a bit tired to do anything about it :)10:06
fijalok10:06
fijalI'll fix it on my branch10:06
Alex_Gaynorok10:06
fijalso don't you worry too much10:06
fijal(whenever I'll get to do it)10:06
fijalI'm just using you as a rubber duck10:07
arigato (~arigo@89.204.153.1) left irc: Ping timeout: 252 seconds10:07
Alex_GaynorI'm a little more awake than a rubber duck, not much though10:07
apollo13Alex_Gaynor: quack :p10:07
kenaan12alex_gaynor default 1122b2d8a07bcd 15/pypy/module/micronumpy/interp_numarray.py: simplify this code by removing some mostly dead code10:09
Alex_Gaynorfijal: so ufuncs created by frompyfunc always return obj arrays10:15
fijalwtf?10:15
Alex_Gaynorfijal: pretty muc10:15
fijalobviously nobody ever uses them for anything interesting?10:15
kenaan12alex_gaynor default 11adc2497aaa14 15/pypy/module/micronumpy/interp_numarray.py: whoops fix error from previous commit10:15
Alex_Gaynorfijal: probably because they're slow as shit on numpy10:15
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 252 seconds10:15
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.10:17
nirbheek (~nirbheek@117.197.151.239) joined #pypy.10:18
Nick change: nirbheek -> Guest8449210:18
Guest84492 (~nirbheek@117.197.151.239) left irc: Changing host10:18
Guest84492 (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.10:18
Nick change: Guest84492 -> nirbheek10:18
fijal:/10:19
Action: fijal considers writing to numpy-dev10:19
fijalAlex_Gaynor: but that does explain why am I seeing too many loops10:20
fijal"good"10:20
Alex_Gaynor:)10:21
anish_ (anish@nat/redhat/x-yrlybmartozwewgc) left irc: Quit: Leaving10:25
dracman (~draco@212.255.43.185) joined #pypy.10:30
fijalAlex_Gaynor: also a relatively serious issue on the tracker10:30
fijalhttps://bugs.pypy.org/issue95910:31
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/630 [12hakanardo, jit-multilabel]10:33
fijal (~fijal@41.49.11.66) left irc: Read error: Connection reset by peer10:37
xenruyo10:56
andreypopp (~Adium@2a02:2018:20:0:8c0:f0e9:2aa1:32e4) joined #pypy.10:56
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:56
xenruI'm tuning my tests10:56
xenruI made simple json.dump and jinja2 computations10:57
xenrusorry, forgot to introduce myself, I'm twitter user @mikashkin10:58
Nick change: ojii -> ojii|lunch10:59
xenruwe are switching from GAE to our inhome solution. And doing test to decide best software platform. At this moment most productive is uwsgi+cpython10:59
xenruand now trying to test pypy alternative11:00
xenruour code is oriented as server side of social apps.11:01
xenruso it is about 80% of json encoding and 20% of jinja2 template rendering. As persistent backend we decided to use MongoDB11:02
lucianxenru: try it and see11:03
xenruso, even if through away all network part, I created small test: just compute dumps and some templates. On small structures cpython wins pypy in 7 times, on bigger only in 2 times. 11:04
xenruandreypopp recomends me run more than 500 times to push JIT optimization. 11:05
lucianxenru: try that too. keep the server up and hammer it for a while11:07
xenruwhat is this and how I can regulate boundary when will pypy optimize code (if I use correct sentence) 11:07
xenruand will be that optimization permanent, or I must to warmup code every time?11:08
andreypoppby the way, does PyPy has ability to print on stderr names of JIT-compiled functions so I can monitor what's being compiled and what's not?11:11
xenrumay be special own pypy+jit profilers11:13
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:17
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.11:18
lucianandreypopp: there's jitviewer. fijal wrote a blog post about using it11:18
lucianxenru: you can influence warmup time with an env variable, but it's not very useful11:18
lucianxenru: just let it warm up on its own, like any jit11:18
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:22
xenrulucian: after warmup json dumps win, but jinja depends on data. Sometimes faster sometimes not11:27
khs (~khs@151.43.202.84.customer.cdi.no) left irc: Read error: Connection reset by peer11:27
khs (~khs@151.43.202.84.customer.cdi.no) joined #pypy.11:28
xenruso, when I know about warmup it worth to tests including network part. According to this post (and our sample test) http://nichol.as/benchmark-of-python-web-servers most productive is uwsgi setup11:29
xenrubut it depends on C code. 11:30
Action: lucian shrugs11:31
lucianwe use gunicorn at work and it's pretty fast11:31
xenruI'm not dig very deep yet, we tried only pypy+gunicorn vs uwsgi+cpython11:31
lucianright. try gunicorn+cpython as well11:31
xenruaha, thank you. We will update our test cases with more focus on warmup11:32
lucianalso, make sure you're using a recent pypy11:33
lucianthe json improvements are relatively recent11:33
xenruuwsgi offers good practice with deployment and backends. What do you use for balancing? HA-Proxy?11:33
xenrufastrouter plus uwsgi backends in our tests looks good enough, but it is not production yet ofc11:34
xenru1.711:34
sunoano (~sa@unaffiliated/sunoano) joined #pypy.11:35
lucianxenru: we only have one appserver atm, with dns load balancing only11:35
xenruwe spent about week for test and it is funny that only today I heard for the first time about JIT. Feel myself, you know, stupid11:37
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Quit: Leaving11:42
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.11:42
lucianjits work very well for things like persistent app servers11:42
lucianso stuff like twisted11:43
Nick change: ojii|lunch -> ojii11:47
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:56
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.11:57
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection11:58
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.11:58
nedbat (~nedbat@python/psf/nedbat) joined #pypy.11:59
azanella (~azanella@189.6.80.207) joined #pypy.12:00
arigatoxenru: success!  people can spend a week trying out pypy and not notice that it has a JIT12:20
arigatothat means we did a good job at making the JIT transparent12:21
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/74312:21
lucianarigato: very good job, other than performance it's invisible12:23
arigato:-)12:23
xenruno, that means that this information is hidden. We restared interpreter after each small iteration. So pypy loses every time. 12:26
xenrubut anyway I open for trolling :)12:26
arigatoah12:27
arigatoin other words, it means that we didn't do a good enough job yet:12:27
arigatorestarting the interpreter for every small iteration looses because our jit has a too high warm-up time12:27
lucianarigato: if it had caching of some sort, it'd be perfect, but i understand that's hard12:27
arigatoyes12:28
xenrutbh, I never expect from system that it is smart enough to change itself12:29
xenruin particular to optimize code12:29
kenaan12arigo default 117d73e99929bb 15/pypy/objspace/std/typetype.py: Let the JIT see the app-level 'type(x)' construct.12:31
rguilleberthttp://tech.slashdot.org/story/09/07/03/0143233/ibm-releases-open-source-machine-learning-compiler12:32
alex____ (~alex@D57D1AB2.static.ziggozakelijk.nl) joined #pypy.12:37
alex____hi! Any of you are using Sphinx with pypy?12:37
gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) joined #pypy.12:39
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.12:41
elipsion_ (~elipsion@81-232-141-35-no217.tbcn.telia.com) left irc: Ping timeout: 252 seconds12:49
elipsion (~elipsion@81-232-141-35-no217.tbcn.telia.com) joined #pypy.12:49
Insectoid (~Q@c-98-230-8-37.hsd1.fl.comcast.net) left irc: Ping timeout: 240 seconds12:54
Rhy0lite (dje@nat/ibm/x-mhspmxwrhjztokhg) joined #pypy.13:00
alex____I'm having a lot of problems with packages that made: try-except ImportError, on pypy I need to add TypeError to the execption. Is this normal workaround?13:03
andreypopp1 (~Adium@46.250.131.33) joined #pypy.13:07
andreypopp (~Adium@2a02:2018:20:0:8c0:f0e9:2aa1:32e4) left irc: Ping timeout: 252 seconds13:10
santagada (~leonardo@189.27.189.108.dynamic.adsl.gvt.net.br) joined #pypy.13:14
harrison (~quassel@adsl-69-209-203-240.dsl.chcgil.sbcglobal.net) joined #pypy.13:14
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds13:18
Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy.13:18
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.13:19
aleksi (~aleksi@85.235.191.82) joined #pypy.13:19
stakkars (~tismer@p5DDB72FD.dip.t-dialin.net) left irc: Read error: Connection reset by peer13:32
stakkars (~tismer@p5DDB72FD.dip.t-dialin.net) joined #pypy.13:32
EnCuKou (~encukou@193.167.65.94) left irc: Remote host closed the connection13:39
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep.13:46
mikefcalex____:   If it doesn't throw the right sort of error (i.e. the same as cpython) I'd file it as a bug (bugs.pypy.org)13:47
jterrace (~Adium@140.180.18.20) joined #pypy.13:53
kenaan12arigo default 11c260c94f7761 15/pypy/jit/metainterp/resoperation.py: add comments: keep the backend in sync13:53
stakkars_ (~tismer@i59F705BD.versanet.de) joined #pypy.13:53
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.13:54
Nick change: Gulaway -> Gulopine13:56
intgr (~ack@zombie.life.ee) joined #pypy.13:58
arigatothe sympy_expand benchmark got slower because of SpecialisedTuples because it starts more slowly14:05
arigatobut at the end it's at least as fast as before14:05
fijal (~fijal@41.55.155.233) joined #pypy.14:05
antocuniwhy does it start more slowly?14:06
arigatoI can only guess14:06
arigatobut it's not too surprizing that *some* benchmark starts more slowly14:06
arigatobecause it has more specialised versions of tuples14:06
antocuniah, so more paths to compile?14:07
arigatoyes14:07
antocunipff, I see14:07
arigatoI don't know exactly which extra paths, though14:07
arigatojitviewer shows the same 20-most-used loops&bridges14:07
antocuniyou could check the total number of loops&bridges14:07
arigato140 vs 14314:08
arigatonot really relevant14:08
mat^2 (~mathias@212.130.113.35) joined #pypy.14:08
antocunithen your theory seems wrong :-)14:08
arigatoI suppose14:08
arigatoah, there are really more bridges14:10
arigatothe numbers 140 or 143 count loops & entry bridges only14:10
antocuni"obviously"14:11
arigatoit's also a little bit slower with --jit off14:13
fijalarigato: there is a button "show all"14:13
antocuniuhm, this maybe means that specialized tuples are not really so useful?14:14
arigatoantocuni: well, they give good improvements in other benchmarks, and are useful to save memory too14:14
antocuniah ok14:14
antocuniI thought other benchmarks were unaffected14:15
antocunibut it's still strange that it's slower without the JIT, I'd expect to be faster as well14:15
arigatohttp://speed.pypy.org/changes/?tre=10&rev=50397%3A6fb87770b5d2&exe=1&env=114:15
arigatono, you create a least the same number of objects in total14:16
arigatowithout the jit14:16
antocuniwell no, because you don't create all the .wrappeditems lists14:18
arigatoyou create less internal data structures for W_TupleObject, but e.g. you create one new W_IntObject every time you read it14:18
antocuniright14:18
aboudreaultcan codespeed be used for non-python software?14:18
alex____ (~alex@D57D1AB2.static.ziggozakelijk.nl) left irc: Read error: Operation timed out14:19
arigatomaybe I should try a version with even less specialized versions14:19
arigatoe.g. (int, int), (float, float), (object, object) and that's it14:20
jnoller (~jnoller@vpn.nasuni.com) joined #pypy.14:22
alex__ (~alex@52487640.cm-4-1b.dynamic.ziggo.nl) joined #pypy.14:23
whitelynx (~whitelynx@63.241.75.144) joined #pypy.14:27
stakkars_arigato: out of curiosity: what are you trying?14:28
stakkars_hi, btw.14:28
fijalaboudreault: sure14:29
fijalaboudreault: it just accepts HTTP JSON requests with results14:29
aboudreaultfijal, cool14:29
fijalwhat do you want to use it for?14:29
aboudreaultfor our software maybe.14:30
aboudreaultMapServer. a GIS renderer.14:30
fijaldo you measure performance?14:30
aboudreaultyes?14:30
aboudreaultwell... ie. the time it draw to draw 1000 lines in a map etc..14:31
aboudreault*it takes to*14:31
fijalok14:31
fijaldo you want to know the rough architecture how we do it?14:31
fijalit's not like it's documented anywhere14:32
aboudreaultWould be interresting yes.14:32
fijalso there are two parts14:32
fijalone is codespeed instance that renders stuff14:32
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.14:32
fijalthe other is periodically run benchmark runner14:33
fijalhttps://bitbucket.org/pypy/benchmarks14:33
fijalhere is the runner14:33
fijalit runs given programs, they don't have to be python14:33
fijaland then uploads it to the given server using specific json format14:33
stakkars_topic is the sympy_expand ?14:33
fijalwe use buildbot to run it periodically, but you can use a cron job as well probably14:33
bolotov (~bolotov@14-133-94-178.pool.ukrtel.net) joined #pypy.14:34
fijalarigato: are we getting to the point where we want a specialized versions only if those are really used?14:35
arigatostakkars_: yes14:35
arigatofijal: what do you mean?14:35
fijal (~fijal@41.55.155.233) left irc: Read error: Connection reset by peer14:36
stakkars_are the percent times between versions, or against CPython?14:37
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.14:38
fijal (~fijal@197.174.218.32) joined #pypy.14:38
Nick change: Gulopine -> Gulaway14:38
aboudreaultfijal, good, I've also checked to setup buildbot.14:38
fijalaboudreault: our buildbot setup is not very interesting14:39
fijalrunner.py --help would give you enough info14:39
aboudreaultalright14:40
stakkars_ah I see. Quite a worsening in the last two days.14:40
fijalaboudreault: feel free to come back with questions14:41
aboudreaultfijal, thanks a lot14:41
fijalaboudreault: if you happen to write a document "how do I set up a codespeed instance", we would be more than glad to put it somewhere :)14:41
aboudreaultI could probably do that yes.14:43
fijalmattip: (for the logs) what's the status of your branches?14:43
fijalaboudreault: would be awesome14:43
fijalarigato: should we just remove the get_L2_cache14:44
fijal?14:44
fijaland friends?14:44
jterrace (~Adium@140.180.18.20) left irc: Quit: Leaving.14:45
nedbatfijal: thanks for merging my branch, but maybe it would have been better to keep it open?14:46
fijalnedbat: you can always create a new one?14:46
fijalwe generally encourage branch-per-feature style14:46
fijalof course if you commit to the branch it'll be open :)14:47
nedbatfijal: ok, i'm just learning the style here.  I almost went ahead and added more to it before I saw you had already merged it.14:47
fijalantocuni: ping14:48
fijalnedbat: that would not be a disaster14:48
fijalnedbat: I mean if you somehow have local changes that would nicely go to this branch, feel free14:48
fijalhowever the general approach is small-branch-per-feature14:48
fijalbut we're not very religious about that either14:48
nedbatfijal: ok, I'm getting the sense of it.14:48
fijalI would like to know how it looks from the outside btw :)14:49
fijalantocuni: I have an assertion error crash in OptimizeFfiCall14:49
jterrace (~Adium@dynamic-oit-vapornet-b-1207.Princeton.EDU) joined #pypy.14:50
jterraceit looks like rpython's string.split only takes a single character14:53
jterraceany way to get the stripping whitespace behavior14:54
fijaljterrace: what stripping whitespace behavior?14:55
jterracestring.strip("  s  ")14:55
jterrace== "s"14:55
fijalstring.strip?("  s  ", " ")14:55
fijallike this?14:55
jterraceyeah but by default if there is not second argument, it uses string.whitespace14:56
jterracestring.strip(s, string.whitespace)14:56
jterracei mean i could loop over the chars in string.whitespace i guess14:56
fijalihm14:57
fijalyou can always resort to applevel strip if you want to14:57
fijalsounds like an overkill14:57
jterraceyeah14:57
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/14:57
fijalI do use " "14:58
antocunifijal: ouch :-/14:59
antocunido you know whichi?14:59
fijalantocuni: http://paste.pocoo.org/show/520289/14:59
fijalI don't have an lldebug build14:59
gsnedders (gsnedders@mail.gsnedders.com) left #pypy.15:00
fijalantocuni: do you want the script?15:01
fijalit's one from https://bugs.pypy.org/issue95915:01
fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy.15:01
antocuniuhm, I don't have _get_interiordescr in my oldish working copy15:01
antocunimaybe someone added it recently?15:01
fijalno, you need a newer working copy :)15:01
fijalalex made some changes15:01
Action: fijal -> food15:01
fijalbbl15:01
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:02
fprimexfijal! man, prep for january maintenance here has been killing me.15:02
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds15:02
fijalfprimex: ?15:02
antocunifijal: I bet it's the "unsupported ffitype or kind" AssertionError15:02
fprimexfijal: I just have not been able to spend any time getting familiar with pypy development, is all.15:03
fprimexI intended to be contributing by now, even if only a little bit15:03
kenaan12jterrace numpy-full-fromstring 1106bf54903f53 15/pypy/module/micronumpy/: Refactor fromstring into text and binary15:08
jterracefijal: if you see the two FIXME comments: https://bitbucket.org/pypy/pypy/compare/numpy-full-fromstring..default15:09
jterracestring.isspace doesn't seem to work either15:10
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.15:10
fijalantocuni: why does ffi care even?15:14
fijalthis thing is not dealing with any ffi types I think15:14
antocunifijal: no clue, it's code which was written by alex15:15
antocuniyou should ask him15:15
fijalAlex_Gaynor: ?15:15
fijalfprimex: it's fine I guess :)15:15
fijaljterrace: I guess you should not import string in RPython15:16
fijaljterrace: you can do character.isspace()15:17
fijalso s[0].isspace()15:17
fijalwould work15:17
stakkars_ (~tismer@i59F705BD.versanet.de) left irc: Quit: schnarch15:19
aleksi (~aleksi@85.235.191.82) left irc: Remote host closed the connection15:26
jterracefijal: that import string isn't being used atm15:26
jterraceso i'd have to do soemthing like all(c.isspace() for c in s)15:28
kenaan12arigo default 11bbbbff8ac1d3 15/pypy/objspace/std/: Checking a lighter variant of SpecialisedTuples with only 'ii', 'ff' and 'oo' specialisations.  It seems that the p...15:29
arigatouh, I totally missed fijal's merge of jit-simplify-backendintf15:30
arigatochampagne!15:31
arigato"How has PyPy performance evolved over time?" is now saying "5.0x"15:32
gutworthalias "well"?15:33
khs (~khs@151.43.202.84.customer.cdi.no) left irc: Quit: Leaving15:33
mattip (~chatzilla@bzq-109-65-117-197.red.bezeqint.net) joined #pypy.15:35
mattipfijal: I should have two branches15:36
mattipOne is an ongoing implementation of frompy func, which I would like to work on a bit, but passes tests.15:36
mattipIt does immediate evaluation on the function call, I'm thinking that if I can get it to properly inherit from VirtualView then I will get lazy evaluation.15:37
arigatomattip: careful about user-visible side-effects here15:38
arigatoif a pure Python function is going to be called later or not at all, then it's a user-visible side-effect15:39
mattipThat's why I didn;t do it in the first place, I didn't want users to see "oh it's an array"15:39
mattipok, I see.15:39
mattipI'll try to see what numpy/cpython does.15:40
mattipThe other branch is an implementation of multidemension dot (matrix multiplication).15:41
fijaljterrace: except RPython15:41
fijalall is not rpython15:41
mattipI implemented it during the discussion of iterator refactoring, and it uses iterators heavily (and probably poorly).15:42
fijalit needs some special axis-based iterators IMO15:42
arigatofijal: to recreate the effects of "useful" in regalloc.py, I'm thinking of this hack:15:43
mattipYes, that was the approach I took, only I divided it into an axis-based iterator and then a onedim iterator.15:43
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Quit: Leaving15:44
arigatowhen we see the LABEL that the loop JUMPs back to, then we check which boxes are not "useful" between the LABEL and the JUMP15:44
arigatoand we force_spill these boxes15:44
arigatomakes sense?15:44
mattipbottom line: I'm waiting for the dust to settle around iterators before continuing.15:44
fijalwow, freebsd still uses CVS15:44
fijalarigato: yop15:45
fijalarigato: also, cleaner15:45
jterrace (~Adium@dynamic-oit-vapornet-b-1207.Princeton.EDU) left irc: Quit: Leaving.15:45
fijalcan we maybe think how to make JUMP not have stuff randomly, but in the correct regs?15:45
mvt (~mvantelli@87.213.45.85) left irc: Quit: Leaving15:45
ronan (~ronan@host86-142-249-87.range86-142.btcentralplus.com) left irc: Read error: Connection reset by peer15:46
arigatofijal: in addition to the recent hack that puts stuff at least in the correct stack location?15:47
fijalyes15:47
fijalso15:47
fijalfreebsd port uses --objspace=thunk15:47
arigatoit leaves a smaller opportunity for gains15:47
arigatobut yes, I suppose it can be done15:48
fijalhttp://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/pypy/Makefile?rev=1.1;content-type=text%2Fplain;only_with_tag=HEAD15:48
fijalthe choice of options is IMO *very* random15:49
arigato"--objspace=thunk" is only in the help string, afaict?15:49
ronnyyup15:49
fijalwell15:50
fijalwhy is it there?15:50
arigatoit's an example15:50
andreypopp1 (Adium@46.250.131.33) left #pypy.15:50
arigatoI agree that it looks random, but it is exampleish15:51
fijalah ok15:51
arigatoI'm more impressed by people writing pages of Makefiles around our existing tools, but I suppose that's what maintainers love15:51
tito (~tito@pdpc/supporter/bronze/tito) left irc: Changing host15:51
tito (~tito@pdpc/supporter/active/tito) joined #pypy.15:51
tumbleweedfijal: ah, duh, worked out why pypy wasn't building on my desktop. I'm using tmpfs for /tmp (it's the default these days)15:52
fijalindeed, I would think when it comes to editing PyPy, sed is not the best thing to do15:53
fijaltumbleweed: what's wrong with tmpfs?15:53
fijalI'm using it as well I think15:53
ronnyfijal: it takes ram/swap15:53
arigatotumbleweed: maybe it's too small for you?15:53
fijaltumbleweed: ah, that's why youneed 6G?15:54
arigatoeither that or you don't have enough ram+swap15:54
tumbleweedoh, right, the stuff pypy puts in /tmp isn't massive15:54
arigatowell, still almost 1G I think15:54
tumbleweedbut it's building happily today, and wasn't last week15:54
Action: tumbleweed has no idea15:54
Action: tumbleweed has 6G, and it wasn't enough15:55
tumbleweedanyway, I don't think I was setting TMPDIR to outside /tmp/ then, so that's *possibly* the cause of my problems...15:57
arigatotumbleweed: I don't know in your distrib, but by default on Linux the tmpfs is limited to half the ram size15:57
tumbleweedyes15:57
arigatoyou'd think that 6GB/2 would be enough, but it depends on what else is there15:58
tumbleweedjust been playing around to work out what it needed, and it seems to build on a box that has all but 4G mlocked15:58
tumbleweedalso, there is swap, and some people say tmpfs writes to swap faster than any other fs writes to disk. That's not my experience of it...15:58
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.15:59
fijalarigato: no, not for 64bit15:59
fijalit's 3G + something15:59
fijalalso there is not 6 left, because OS and whatnot15:59
arigatofijal: I'm talking about the limit on the tmpfs size16:00
fijalok16:00
arigatowhich should be 3G by default16:00
tumbleweeddon' tthink the tmpfs was filling up16:00
fijalarigato: but it still would collapse with the translation16:00
arigatotumbleweed: ok, then I have a bit no clue16:00
Action: tumbleweed must run off, anyway16:01
arigatofijal: as far as I can tell, on Linux at least, a tmpfs is always better than a disk filesystem, as long as it doesn't hit a limit16:01
arigatoif it doesn't have enough RAM: (1) it swaps to disk in case of a tmpfs, and (2) it forces to disk the disk caches in case of non-tmpfs16:02
arigatowhich is basically the same16:02
fijalok16:03
fijalhm, no I don't have tmpfs16:03
fijalarigato: but maybe there was not enough swap for example?16:03
arigatoyes, that's possible16:03
maxyz (~maxy@186.18.94.35) left irc: Ping timeout: 255 seconds16:03
fijaleh16:04
fijalI fail to understand people16:05
fijalarigato: so the guy writes about me dulwich/bzr16:05
arigatothe world is full of non-understandable people, I don't worry too much about this fact, but that may be only me :-)16:05
fijaland for him it seems to be easier to write a client in C that would do all kinds of data transmission16:05
fijalthan figuring out why his pypy-c is importing socket longer than mine16:05
fijal(much longer)16:05
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Read error: Connection reset by peer16:06
fijalbut whatever16:06
fijalarigato: ok, I'll stop complaining16:06
maxyz (~maxy@186.18.94.35) joined #pypy.16:06
fijalarigato: RPython dict (not r_dict) that contains tuples would hash them normally right?16:07
arigato"normally"?16:08
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds16:08
arigatothe hashing of these is unrolled, so it should all be jitted16:09
fijalnormally as in not by identity16:09
arigatoyes16:09
fijalok16:09
fijaland you can't mix None and a tuple right?16:09
arigatoexact16:10
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.16:10
alex__ (~alex@52487640.cm-4-1b.dynamic.ziggo.nl) left irc: Quit: leaving16:20
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.16:21
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.16:23
jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy.16:25
jterraceAlex_Gaynor: ping16:26
fijaljterrace: hey, what bothers you?16:30
jterracesome of these corner cases are just ridiculous16:30
jterracehttp://paste.pocoo.org/show/520319/16:30
jterracesometimes it converts bad values to 0, sometimes -116:30
jterracesometimes it just stops loading, other times it continues16:30
jterracei wonder whether we should keep total compatibility or not16:31
fijalI don't think we can16:31
kkris (~kris@93-82-42-16.adsl.highway.telekom.at) joined #pypy.16:33
jterraceok16:35
jterracehah16:36
jterracefijal: want to see a good one?16:36
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Quit: Leaving16:36
fijalsure :)16:36
jterracehttp://paste.pocoo.org/show/520322/16:36
jterracegotta love it16:37
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.16:37
fijalnice16:37
fijalprobably we don't have to support that one16:37
jterracethe exception is also not helpful16:37
`fox` (~fox@95.233.109.194) joined #pypy.16:40
jterracewtf16:40
jterracethis one is just nuts: http://paste.pocoo.org/show/520324/16:40
jterracethey special cased spaces16:40
jterracesame for tabs, i guess they special cased whitespace16:42
G2P (~G2P@fw-asn1.ornis.com) left irc: Remote host closed the connection16:49
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) joined #pypy.16:51
mattipsheesh, good luck trying to imitate that16:55
fijalmattip: frompyfunc is pretty broken according to alex16:59
fijalit always generates an object array16:59
bivab_ (~david@134.99.38.77) joined #pypy.17:04
bivab_ (~david@134.99.38.77) left irc: Client Quit17:04
tnelson (~trent@trent.me) left irc: Read error: Connection reset by peer17:05
tnelson_ (~trent@trent.me) joined #pypy.17:05
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds17:07
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.17:07
bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Ping timeout: 252 seconds17:08
aleksi (~aleksi@176.57.74.133) joined #pypy.17:09
mattipOK. I'll try to fix it soon. I expect it will take a while before it is ready for merge.17:10
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds17:11
mattipStupid question time. I'm trying to get Issue959 to reproduce with "python bin/py.py " 17:11
fijalno, the cpython numpy is broken17:11
fijalbecause it does not make sense at all17:11
aleksi (~aleksi@176.57.74.133) left irc: Remote host closed the connection17:11
fijalwe don't even have an object array17:11
fijalmattip: you can't reproduce this with py.py, it's a jit problem17:12
mattipI added --withmod-pypyjit, that was wrong I guess.17:12
fijalthat does not help17:12
fijalthe jit requires graphs for transformation17:12
mattipso it can only be debugged in a fully translated pypy, right?17:14
fijalit can probably be debugged using pypyjit.py17:15
fijalbut yes, the main strategy would be to use the full pypy17:15
fijalstare at traces and see what's wrong17:15
mattipout of my league.17:15
Squarepy (~Squarepy@wcw-staff-214-224.wireless.uva.nl) joined #pypy.17:16
Squarepy (~Squarepy@wcw-staff-214-224.wireless.uva.nl) left irc: Changing host17:16
Squarepy (~Squarepy@unaffiliated/squarepy) joined #pypy.17:16
fijalmattip: I tried debugging it and run into some other issue17:17
fijalso it might be connected17:17
fijal(I can a fatal RPython error, assertion hit)17:17
mattipOK, yoda, I'll cheer from the sidelines17:18
fijalI'm doing something else now, because this is in some code alex wrote so I'll wait for him to show up :)17:18
mtigas (~mtigas@users.spokesman.com) joined #pypy.17:20
`fox` (~fox@95.233.109.194) left irc: Ping timeout: 240 seconds17:21
Nick change: asksol_ -> asksol17:23
xenru (~Adium@matrix-217-146-248-10.matrix.farlep.net) left irc: Quit: Leaving.17:30
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection17:32
ixokai (~ixokai@pdpc/supporter/student/ixokai) left irc: Quit: Bye!17:32
jterracefijal: numpy.int32(2) + 1 should be 317:33
jterracebut it gets an exception17:33
jterracedid that used to work?17:33
fijalno idea17:34
arigatoI doubt that it did --- that's also what tests are for17:35
jterraceyeah i know17:35
jterracebut there arent any for that17:35
arigatowell, I hope that if it used to work, someone would have written a test in micronumpy/test/17:35
arigatoso from there we can safely conclude that it never worked :-)17:36
jterraceheh17:36
Action: arigato -> food17:43
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you17:43
Alex_Gaynorjterrace, fijal: pong17:47
mattipwell, I found a version it worked on: 1ef0414a0491. I guess it's time to do my first hg bisect.17:48
jterracehey Alex_Gaynor: couple questions17:57
Alex_Gaynorsure17:57
kkris (~kris@93-82-42-16.adsl.highway.telekom.at) left irc: Ping timeout: 245 seconds17:57
fijalAlex_Gaynor: did you see the optimizeopt_ffi crash?17:57
jterraceso the numpy-full-fromstring branch17:57
Alex_Gaynorfijal: no, is it with unsigneds?17:57
jterracei refactored bin vs. text17:57
Alex_Gaynorfijal: is the pypy out of date17:57
jterracebut there are some really strange corner cases so wanted to know your thoughts on whether we have to be completely compatible17:58
fijalAlex_Gaynor: nope, fairly new17:58
fijalhttps://bugs.pypy.org/issue95917:58
fijalcode from this bug crashes for me with assert error17:58
jterracee.g., http://paste.pocoo.org/show/520329/ and http://paste.pocoo.org/show/520322/17:58
Alex_Gaynorfijal: neewer than 617e1464542c17:58
fijalAlex_Gaynor: can you just check on some new one?17:58
Alex_Gaynorfijal: sure17:58
fijalmine is 315da4da5ab0,17:59
Alex_Gaynorjterrace: what are you rthoughts on stripping out the text version, committing the dtype improved binary version, and then trying to figure out which special cases we care about17:59
jterracehmm17:59
Alex_Gaynorfijal: that's older17:59
Alex_Gaynorfijal: which example from that page?17:59
fijalAlex_Gaynor: ok, can you check if it's still a problem then?17:59
fijallast one17:59
jterracewell isn't partial support better than none?17:59
kkris (~kris@93-82-42-16.adsl.highway.telekom.at) joined #pypy.17:59
fijalor the newest17:59
jterraceit works for all correct cases, it just handles errors slightly differently because regular numpy's error handling is so strange18:00
Alex_Gaynorfijal: doesn't crash18:00
_pyre_ (~stian@137.241.189.109.customer.cdi.no) joined #pypy.18:01
Alex_Gaynorjterrace: ok, I'll have to review, I wonder if we shouldn't make the error handling raise an error though, just to be 100% sure that no data is messed up18:01
jterraceif i can figure out how to call trim on a string in rpython, i can probably make it compatible18:01
fijalAlex_Gaynor: does it produce bad data?18:01
fijalread the example18:01
jterraceno, it raises an error18:01
Alex_Gaynorfijal: http://paste.pocoo.org/show/520371/18:01
Alex_Gaynorso yes?18:01
fijalyes18:02
fijalthen it is broken anyway18:02
Alex_Gaynorfijal: FWIW it doesn't happen right after JITing18:02
Alex_Gaynorit happens like 90 iterations later18:03
fijalsome bridge18:03
fijal?18:03
ronan (~ronan@host86-142-249-87.range86-142.btcentralplus.com) joined #pypy.18:03
fijalAlex_Gaynor: I was trying to wrap up my mind about refactoring signature today18:03
Alex_Gaynorerr I guess, maybe it's not precisely 9018:03
fijalfailed a bit :/18:03
papercrane (~papercran@75.101.111.82) joined #pypy.18:03
_pyre_I think there is a bug in cpyext18:03
_pyre_http://pastebin.com/bSWk5k9m18:04
_pyre_if I call on the decrypt function pypy just gets stuck18:04
_pyre_no error or anything18:04
_pyre_latest nightly18:05
_pyre_works fine in CPython 2.718:05
jterraceAlex_Gaynor: my second question was about how to make numpy.int32(1) + 1 work18:05
Alex_Gaynorjterrace: it should18:05
jterraceit doesn't18:06
Alex_Gaynorit works on the pypy I have18:06
Alex_Gaynorthen it's a recent breakage18:06
jterracei tried it on last night's nightly18:06
jterraceand it throws an exception18:06
fijalAlex_Gaynor: are there tests for it?18:06
jterraceis it from the change in coerce i made for strings?18:06
jterracewe should add tests for them18:06
Alex_Gaynorjterrace: it must be on your end, it works in py.py on default for me18:06
Alex_Gaynorfijal: I think so18:06
mattipjterrace: what platform?18:07
jterracehmm18:07
jterracelet me double check18:07
jterracei tried it on linux6418:07
Alex_Gaynorthat's what I'm on18:07
jterracehuh18:08
jterraceit works now18:08
jterracei swear it didnt work earlier18:08
jterraceoh18:10
jterraceit's the reverse18:10
jterrace1 - np.int32(1)18:10
jterracebut only for subtraction?18:11
Alex_Gaynorjterrace: oh, that's because we haven't added __rsub__18:11
jterraceoh18:11
lmoura (lmoura@gateway/indt/session) left irc: Ping timeout: 240 seconds18:11
jterracenp.int32(1) - 1 works18:11
Alex_Gaynorwe have __sub__18:11
Alex_GaynorI'll add rsub now18:11
jterraceoh i see18:11
jterracenice thanks18:11
lmoura (lmoura@gateway/indt/session) joined #pypy.18:12
Alex_Gaynornp18:12
Alex_Gaynorhmm, these test files should be split up better18:13
Alex_Gaynoroh well, a problem for another day18:13
mattipI'm back at frompyfunc. If I get a user-defined function, I should store a copy of it, just in case users decide to modify it.18:13
mattipHow do I copy a function?18:14
aleksi (~aleksi@176.57.74.133) joined #pypy.18:14
Alex_GaynorI don't think you need to copy it18:15
shawn_ (~shawn@208-78-98-92.slicehost.net) left irc: Ping timeout: 240 seconds18:17
mattipOK, I'll write a test just to make sure.18:18
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds18:18
kenaan12alex_gaynor default 11c3836e8813ff 15/pypy/module/micronumpy/: added __rsub__ for numpy boxes18:19
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Ping timeout: 252 seconds18:20
bolotov (~bolotov@14-133-94-178.pool.ukrtel.net) left irc: Quit: Leaving.18:22
fijalAlex_Gaynor: refactoring signature is tricky18:24
fijalI have quite a few requirements and it's not going down very well18:24
fijallike I don't really want to do a dict lookup per operation18:25
Alex_Gaynorfijal: too bad we don't have a digital whiteboard18:26
fijalyeah18:26
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.18:26
fijalI can explain my requirements though18:26
fijalso you can think18:26
Alex_Gaynorfijal: this was a cool thing about IBM, all offices I saw had whiteboards18:26
fijalso18:26
fijal* I want operations to be simple, so a + b generates Add(a, b)18:26
fijalwith just a malloc18:26
Alex_Gaynornot going to happen18:27
fijalwhy?18:27
Alex_Gaynoryou need a dict lookup to cache trees18:27
Alex_Gaynormaybe we can find a way to make it pure, but that's not important ATM (IMO)18:27
fijalno18:28
Alex_Gaynor?18:28
fijalyou only need a dict lookup at the moment where you force it18:29
Alex_Gaynorin order to find the cached tree, yes I suppose you can do it that way18:30
Alex_Gaynoranyways you a) don't want to have an Add operation, you want a call2 operation still IMO18:30
Alex_Gaynordo you plan to compute iterator sharing eagerly or lazily?18:30
Alex_Gaynori.e. at op time or at force time18:31
fijalyou can't do that eagerly18:32
fijalwell, "can't" is a bit too much18:32
fijalbut it's very hard to do it at some other time than force time18:32
Alex_Gaynoryou can, but you hvae to traverse teh whole tree at each new operation18:32
stakkars_ (~tismer@82.113.99.46) joined #pypy.18:32
fijalyes, O(n^2)18:33
Alex_Gaynoralso, I think you'll need both iterator AND array sharing18:33
Alex_Gaynorarray sharing doesn't save you ops, but it saves registers, even more important18:33
Alex_Gaynore.g. you can't share iterators for u[i:] + u, but you can share storage18:33
santagada (~leonardo@189.27.189.108.dynamic.adsl.gvt.net.br) left irc: Ping timeout: 240 seconds18:34
fijalit does save you ops18:35
fijalah ok, you meant that18:35
Alex_Gaynoryeah18:35
fijalu + u does share you ops18:35
Alex_Gaynoryes18:35
fijaler18:35
fijalsave you18:35
fijalanyway, so my problem is that I probably want signature that traverses the entire tree ("compile")18:36
fijalat the moment of forcing18:36
fijalI suppose I don't have a problem then :)18:36
Alex_Gaynorindeed18:37
stakkars_ (~tismer@82.113.99.46) left irc: Ping timeout: 244 seconds18:37
fijalok, cool, that kinda solves18:37
fijalit18:37
fijalbecause then I can create the numbering18:37
fijalso say18:37
fijala + a18:37
fijaland b * (a + a)18:37
fijalwon't share a subtree18:37
fijalwhich is ok I suppose18:37
Alex_Gaynoryou should still share iterators and arrays for b * (a + a)18:38
fijalyes yes18:38
fijalbut what I mean is that18:38
fijala + a and b * (a + a) have nothing in common18:38
fijalthey won't even have the same signature18:38
Alex_Gaynoroh yes, well you're compiling a single piece of asm for b * (a + a) so there's no way to share with something else18:39
DasIch_ (~dasich@p4FFDC921.dip.t-dialin.net) left irc: Ping timeout: 240 seconds18:40
fijalwell right now the assembler is not shared18:41
fijalbut signature is18:41
fijalthat is a kid in b * (a + a) would be the same sig18:41
Alex_Gaynorfijal: yes but "who cares"18:41
Alex_Gaynorit's not useful to share that obj18:41
fijalyes :)18:41
Alex_Gaynorit's not like 30 bytes is that important18:41
fijalI'm treating you as my rubber duck18:42
fijalthank you :)18:42
Alex_Gaynorhey I'm awake now, maybe even useful18:42
fijalfix the issue I posted earlier ;-)18:42
fijalthe main thing is I want to move more stuff to signature18:42
fijalprobably things like eval18:42
Alex_Gaynorwell, I think you need 2 types of signature18:42
fijalcompiled and uncompiled, yes18:42
Alex_Gaynorthe operation signature, which is uncached and is a simple tree18:42
fijalwell18:43
Alex_Gaynorand the compiled signature which is chached and has computed iterator and array sharing18:43
fijalI have the uncompiled signature in the form or arrays no?18:43
Alex_Gaynoryes, uncompiled signature is really just the tree18:43
fijalnow what would be really cool would be to be able to quickly check18:44
fijal"was this ever compiled?"18:44
fijaland have a quick answer without necesarilly traversing the tree18:44
Alex_Gaynorlet's not worry about that18:44
fijalbut I don't think it's easily possible18:44
Alex_Gaynorlet's get the basic idea working, and refine from there18:44
Alex_Gaynorbecause I don't see how to do it easily18:44
fijalme neither18:44
Alex_Gaynorwell it's not super important18:45
Alex_Gaynorit's something that you really only need once per forcing18:45
Alex_Gaynorand on large arrays it's totallyl ost in the noise18:45
fijalyes, but well18:45
fijalyou can cheat a bit :)18:45
fijallike have a normal tree checking function, but somehow pack it in a @elidable18:46
Alex_Gaynorsomething which can be done later18:46
fijalyes18:46
fijalfor large arrays yes, but we want to simplify creation of small arrays18:46
fijalbecause right now it's eg. easy to run out of trace limit18:46
fijalwe do tons of nonsense18:46
santagada (~leonardo@189.27.187.218.dynamic.adsl.gvt.net.br) joined #pypy.18:46
fijallike half of the list copying is no longer necessary because I improved the list-comprehension-detection18:47
fijaletc. etc.18:47
fijallater later though18:47
Alex_Gaynoryes18:47
fijalfrom cool stuff, Call2Iterator and such goes away18:47
fijalwe'll only iterate over actual arrays18:47
Alex_Gaynoryes18:48
Alex_Gaynoryou'll need a virtualizable to store all the arrays though18:48
Alex_Gaynorso it gets unpacked18:48
Alex_Gaynoractually seems kind of easy to do, now that we've rubber ducked it all18:48
fijal:]18:49
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.18:50
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum18:51
fijalAlex_Gaynor: also feel free to review the gzip benchmark18:51
jterraceAlex_Gaynor: any clean way to do the equivalent of some_str.strip() in rpython?18:52
DasIch_ (~dasich@p3E9912DF.dip.t-dialin.net) joined #pypy.18:52
stakkars_ (~tismer@89.204.153.217) joined #pypy.18:53
Alex_Gaynorjterrace: well, take a look at objspace/std/strutil.py:<strip>18:56
Alex_Gaynorstrip_spaces18:56
Alex_Gaynorit does what you want18:56
alistrayou should use rstrip since it's rpython :D18:56
jterracewait is that a joke18:56
alistrayes18:57
jterracethat took a second to sink in :)18:57
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.18:57
alistrayeah, tough crowd18:58
mattipTurns out that f=frompyfunc(foo, 1, 1); foo = bar results in f still using the original foo.19:01
fijalmattip: yes, expected19:01
mattipbut both in numpypy and numpy f=frompyfunc(foo, 1, 1); foo.func_code = bar.func_code results in f still using bar!19:02
fijalAlex_Gaynor: don't you think that array of object is such a dumb idea?19:02
Alex_Gaynorit does what you want it?19:02
stakkars_ (~tismer@89.204.153.217) left irc: Quit: schnarch19:02
Alex_GaynorWTF my keyboard is screwing up19:02
Alex_GaynorI meant to say: "Who came up with such a silly idea"19:02
fijal:]19:03
mattipI want world peace. But in this case, all I want is numpy compatability.19:03
Alex_Gaynorthe only way for us to support them will be a GC finder thing like armin wrote for shadowstack19:03
fijalAlex_Gaynor: why?19:04
fijalwe can just have an rpython list of object no?19:04
fijalor it has to have an address in C??19:04
jterracewhy not just compile numpy to javascript with emscripten and embed a javascript interpreter in pypy19:05
jterraceim sure that would be fast enough19:05
Alex_Gaynorfijal: a) you cannot share the attribute on ndim array, b) how do you do the composite dtypes19:05
fijaljterrace: did you invent it yourself or did you find a commit on reddit?19:05
aleksi (~aleksi@176.57.74.133) left irc: Remote host closed the connection19:05
fijalAlex_Gaynor: right19:05
fijalAlex_Gaynor: ok, it's just dumb and we'll never support it19:06
jterraceoh that was all me19:06
Alex_Gaynorfijal: how do we do frompyfunc then?19:06
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.19:06
aleksi (~aleksi@176.57.74.133) joined #pypy.19:07
mattipIn the mean time, I just make up a dtype to return.19:07
fijalAlex_Gaynor: I think we break compatibility and put it under a different name/namespace?19:08
fijalit seems genuinely useful on pypy only19:08
ericflo (~ericflo@75.103.8.110) joined #pypy.19:09
Alex_Gaynorfijal: sure, I want to move debug repr stuff to __pypy__ submodule anyways19:09
Alex_Gaynorlet me do that now19:09
fijalas in numpy.__pypy__?19:10
fijalnumpypy.__pypy__?19:10
fijalor where?19:10
Alex_Gaynory-se19:10
fijaler?19:10
fijalyes?19:11
Alex_Gaynornumpypy.__pypy__19:11
fijaldon't you think two pypy's in one namespace is a little bit too much19:11
fijaland __19:11
fijal?19:11
fijalnumpypy.debug19:11
fijalnumpypy.special19:11
fijal?19:11
jterracenp.array([1,2]) == np.array([1,2,3]) gets a ValueError, but it should be False19:11
Alex_Gaynorno, I like to be clear :)19:11
fijalthen at least trim __19:12
fijalnumpypy.pypy sounds good enough19:12
Alex_Gaynorok19:13
jterracenp.int32() should be 0, but it gets a TypeError19:18
jterracei need to start keeping a list of these things19:18
Alex_Gaynorjterrace: extradoc/planning/micronumpy.txt19:19
etrepum (~bob@accessnat4.mochimedia.net) joined #pypy.19:20
jterracewhere is that?19:21
jterracei dont see a micronumpy.txt anywhere19:21
Alex_Gaynorsorry this is a different repo19:21
jterraceoh i see19:21
Alex_Gaynorhttps://bitbucket.org/pypy/extradoc19:22
jterraceyou cant edit online with bitbucket like you can with github?19:22
jterracebummer19:23
fijalthat is probably a good thing19:25
Alex_Gaynorfijal: it's nice for just editing docs and such19:26
jterraceit's nice for quick edits like an RST list19:26
kenaan12alex_gaynor default 119b76d833f3c4 15/pypy/module/micronumpy/: Move __debug_repr__ in micronumpy into a new numpypy.pypy module19:26
fijaljterrace: it also make it very easy to do a quick edit without running tests19:26
jterracesure it should obviously be discouraged for code19:27
jterracecan i use set() in rpython?19:29
Alex_Gaynornope19:30
jterracebummer19:30
Alex_Gaynorif you use a dict and the values are always None it optimizes that field away though19:30
jterracehmm well i wanted the subset functionality19:30
Alex_Gaynoroh19:30
jterraceactually i think i have a clever workaround19:31
aleksi (~aleksi@176.57.74.133) left irc: Remote host closed the connection19:35
fijal (~fijal@197.174.218.32) left irc: Ping timeout: 276 seconds19:36
kenaan12hager ppc-jit-backend 1120d7accd990a 15/pypy/jit/backend/ppc/ppcgen/register.py: r0 is now SCRATCH reg19:36
kenaan12hager ppc-jit-backend 114887e168450b 15/pypy/jit/backend/ppc/ppcgen/codebuilder.py: Adjust OverwritingBuilder to interface of PPC builder19:36
kenaan12hager ppc-jit-backend 11eb94afc2c1cd 15/pypy/jit/backend/ppc/ppcgen/: (bivab, hager): Implementation of CALL_ASSEMBLER seems to work19:36
jterraceis it possible to catch an application-level exception from rpython?19:39
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy.19:40
Alex_Gaynorsure, except OperationError, e19:41
Alex_Gaynorand then use e.match to check the type19:41
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving.19:43
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) joined #pypy.19:43
jterraceoh i should have rtfm, it's in there19:46
Alex_Gaynorwe have a manual?19:47
jterracehttp://codespeak.net/pypy/dist/pypy/doc/coding-guide.html#application-level-exceptions19:48
jterracethat page has been really useful19:48
Alex_Gaynortechnically doc.pypy.org is more up to date19:48
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.19:49
Kaskuka (~John@osbk-4db1633a.pool.mediaWays.net) left irc: Remote host closed the connection19:49
jterracethat's what comes up as the first result in google for rpython19:49
dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy.19:49
nickik (~nick@217.150.239.67) joined #pypy.19:51
e1ven (~E1ven@SQ7/ProjectLead/E1ven) joined #pypy.19:52
kenaan12arigo default 1128fdd95654de 15/pypy/jit/backend/x86/regalloc.py: Reintroduce the equivalent of 'unused', which was killed during the merge of jit-simplify-backendintf.19:52
kenaan12arigo default 113385f481f372 15/pypy/jit/backend/: Tentative: kill the usage of eax as a reserved register around LABEL and JUMPs.  On x86-64, we have already r11 for...19:52
kenaan12arigo default 11585211322729 15/pypy/: merge heads19:52
Squarepy (~Squarepy@unaffiliated/squarepy) left irc: Quit: Leaving19:53
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Remote host closed the connection19:57
Kaskuka (~John@osbk-4db1633a.pool.mediaWays.net) joined #pypy.19:57
jterraceAlex_Gaynor: question for you19:58
jterracefromstring returns 0 for bad values for ints, but -1 for bad values for floats19:58
Alex_Gaynorjterrace: answer for you19:58
Alex_Gaynorthat makes sense19:59
Alex_Gaynor(wtf)19:59
jterracewondering how i should implement it, i was hoping that int32() would return 0 while float32() returned -1, but they both return 019:59
jterraceif that were true, i could implement on top of that19:59
jterracebut it's not true19:59
jterraceso should i put an attribute in each type19:59
jterracedefault_fromstring_value19:59
jterrace? so dirty19:59
Alex_Gaynoryeah, a new method/attribute sounds fine19:59
jterracethis function looks so ugly20:00
Alex_Gaynorthe fromstring one?20:00
jterraceyes20:00
jterracei added in tests for all the craziness20:00
jterraceit's almost working20:00
Alex_GaynorYeah, on the plus side $20 says it's cleaner than the numpy one20:00
jterracehah20:00
jterracei gave up looking for it20:01
jterracei can never find anything in their code20:01
santagada (~leonardo@189.27.187.218.dynamic.adsl.gvt.net.br) left irc: Quit: Ex-Chat20:01
jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving...20:02
jterracehmm how do i check that floats are ~= ?20:13
Alex_Gaynorjterrace: my solution is to use values that always come out equal, alternatively abs(x - y) < threshold20:14
jterraceok20:14
jterracei just switched the value20:15
kenaan12arigo default 112a81fc4ed8d2 15/pypy/doc/config/objspace.std.withspecialisedtuple.txt: Add missing doc file.20:19
kenaan12jterrace numpy-full-fromstring 118c97ceda4c34 15/pypy/module/micronumpy/: Wrote some really ugly code to deal with all the corner cases of numpy fromstring error handling20:26
jterraceAlex_Gaynor: this ^ passes all the tests of all the ridiculous corner cases20:26
jterracei'm sorry, it's really ugly20:26
Alex_Gaynorjterrace: k, I need lunch then I'll review20:27
jterracethanks20:27
Alex_Gaynorand yes, I'm eating lunch at 4PM, let's try not to focus on that20:27
jterracepretend you're in PST20:27
jterracebtw, figured out how to compare branches on bitbucket, you click the little green arrow squiggly thing next to the branch name20:27
Alex_Gaynorah, neato20:28
jterraceso https://bitbucket.org/pypy/pypy/compare/numpy-full-fromstring..default20:28
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Read error: Connection reset by peer20:31
davidpk (~davidpk@5e06d080.bb.sky.com) joined #pypy.20:31
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.20:32
squiddy (~squiddy@f053083052.adsl.alicedsl.de) left irc: Quit: Leaving20:41
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Quit: Leaving20:42
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.20:45
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Read error: Connection reset by peer20:47
asmeurer___ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.20:47
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...20:50
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving20:51
mattip (chatzilla@bzq-109-65-117-197.red.bezeqint.net) left #pypy.20:54
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.20:57
kenaan12arigo default 11f6eb69437a26 15/pypy/module/pypyjit/test_pypy_c/test_generators.py: Improve the test in the pre-jit-targets world.21:04
kenaan12arigo default 11869dcd3db31a 15/pypy/module/pypyjit/test_pypy_c/model.py: Fix for jit-simplify-backendintf.21:04
kenaan12arigo default 114d738293f0a9 15/pypy/module/pypyjit/test_pypy_c/model.py: Fix: if expected_ops contains a '...' line, the resulting line numbers got out of sync.21:05
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy.21:05
kenaan12arigo default 11a425bfb85325 15/pypy/module/pypyjit/test_pypy_c/test_generators.py: Merge heads.  This new old version of test_generators still fails.21:05
lesshastejust want to say how impressively fast pypy is21:05
lesshasteI have a small toy piece of code21:05
lesshastetakes 1 minute in cpython21:05
lesshaste10 second with shedskin21:05
lesshasteand just under 10 seconds with pypy21:05
lesshastewhich I reckon is pretty amazing :)21:05
jterracenice21:07
MostAwesomeDudeHeh, shedskin.21:08
PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood21:08
lesshasteof course I didn't include the 10 seconds of compile time in the shedskin timings ;)21:08
`fox` (~fox@95.233.109.194) joined #pypy.21:08
PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy.21:08
MostAwesomeDudeIIRC Shedskin doesn't compile all of Python, but a significantly smaller subset.21:09
lesshasteMostAwesomeDude: they really really want to have code run fast.. if you submit anything even vaguely looking like a bug report they spend the next week tweaking shedskin to make your code run faster :)21:09
lesshasteMostAwesomeDude: yes and very much smaller subset.. but the subset I tend to use :)21:09
lesshastebut then I program python like it is modula-2 with more libraries :)21:10
MostAwesomeDudelesshaste: Yeah, but I routinely code far beyond the bounds of both Shedskin and RPython.21:10
lesshasteMostAwesomeDude: sure21:10
MostAwesomeDudeEvery day, I use Django and Twisted, neither of which could ever be statically compiled.21:10
lesshasteMostAwesomeDude: my point was how great pypy is :)21:10
MostAwesomeDudelesshaste: Yes, PyPy's awesome. :321:11
lesshaste:)21:11
intgrI know you guys have spent tons of effort to build this tracing JIT for PyPy. But realistically, given that the best JITs for competing languages are still method-based JITs (and Mozilla abandoned TraceMonkey), do you think the tracing JIT approach might turn out to be a dead end?21:12
intgrOr let's say "suboptimal", not "dead end"21:13
amaury_there's no better method for Python at the moment21:13
intgrYeah I know, I wasn't asking about Python in particular.21:14
amaury_Our goal is not to improve Java or C++ ;-)21:15
kkris (~kris@93-82-42-16.adsl.highway.telekom.at) left irc: Quit: Leaving.21:15
kenaan12arigo default 11fa6d4dc7b545 15/pypy/module/pypyjit/test_pypy_c/test_00_model.py: Pass multiple --jit parameters correctly.21:22
kenaan12arigo default 11b673742c84f1 15/pypy/module/pypyjit/test_pypy_c/test_generators.py: Found out why the test fails, and document it.21:22
ixokai (~ixokai@pdpc/supporter/student/ixokai) joined #pypy.21:25
intgr:(21:36
intgrWhat, there won't be a Java JIT running in PyPy?21:36
Action: mikefc writes one21:42
derdon (~derdon@pD9E1CA22.dip.t-dialin.net) joined #pypy.21:43
price (~price@DR-WILY.MIT.EDU) joined #pypy.21:43
intgrSeriously though, I was wondering about JavaScript. I read a few papers about tracing JIT a few years ago and thought "wow, that's some space age dynamic language technology right there!" But since then, JavaScript engines have made huge leaps in performance, but none of them are tracing JITs. Almost as if tracing was just a fad.21:43
intgrAnd Tamarin and TraceMonkey are dead.21:44
mikefcWhat's the new hotness then?  21:44
Action: mikefc isn't really a jit person21:45
mikefcand doesn't know what tech any of the new browsers are using21:45
rguillebertmaybe because in JavaScript you have a lot of small functions (callbacks and whatnot)21:45
intgrThey're still plain old method-based JITs.21:45
rguillebertI'm no JS developer though21:45
rguillebertso it's probably better to optimize functions rather than loops21:46
rguillebertthat would be my "wet finger" guess21:46
Alex_Gaynortracing has nothing to do with function vs. loops21:46
rguillebertok21:46
kenaan12jterrace numpy-identity 112ff54fec76e7 15/pypy/module/micronumpy/: Added numpy.identity function21:51
jterraceAlex_Gaynor: that ^ adds numpy.identity, should be a trivial merge21:51
Alex_Gaynorok21:51
Alex_Gaynorjterrace: 2 suggetions: a) rather than check the repr of th edtype, compare it to the real dtype obj, b) instead of checking each idx, do (arr == [[1, 0], [0, 1]]).all()21:53
Alex_Gaynor(that's for a 2d example)21:53
Alex_Gaynorerr n=221:53
Alex_Gaynorotherwise, feel free to merge21:53
Rhy0lite (dje@nat/ibm/x-mhspmxwrhjztokhg) left irc: Quit: Leaving21:57
ixokai (~ixokai@pdpc/supporter/student/ixokai) left irc: Quit: Bye!22:03
`fox` (~fox@95.233.109.194) left irc: Read error: Connection reset by peer22:03
`fox` (~fox@95.233.109.194) joined #pypy.22:04
hruske (~Gasper@188.230.156.183) left irc: Remote host closed the connection22:06
jterraceAlex_Gaynor: when i tried .dtype == int32, it didn't seem to work22:10
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving22:10
Alex_Gaynorjterrace: int32 isn't a dtype, you want .dtype is dtype("int32")22:10
`fox` (~fox@95.233.109.194) left irc: Ping timeout: 240 seconds22:10
jterraceah i see22:11
fmilo (~fmilo@12.219.160.90) joined #pypy.22:12
fmilodid the virtualenv-pypy changes make it to the official virtualenv repository ?22:13
fmilohttp://morepypy.blogspot.com/2010/08/using-virtualenv-with-pypy.html22:13
davidpk (~davidpk@5e06d080.bb.sky.com) left irc: Quit: davidpk22:15
kenaan12jterrace numpy-identity 11506329de8bc3 15/pypy/module/micronumpy/test/test_numarray.py: Made tests look nicer22:16
jterraceAlex_Gaynor: if that^ looks good, ill merge it22:16
mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 245 seconds22:17
fijal (~fijal@197.110.159.164) joined #pypy.22:29
fijalintgr: tracemonkey was not really well implemented22:33
fijalso this was a bit of a problem with tracing22:33
fijaland luajit is using tracing22:33
fijalso I think we're good22:33
fijalbesides, JS engines are not exactly state of the art, not the firefox ones at least22:33
fijalthey happen to have state of the art PR though22:33
fijalfmilo: yes22:34
jterrace (~jterrace@aegis.CS.Princeton.EDU) left irc: Quit: Leaving.22:34
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/74422:35
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/16922:35
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/97722:35
jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Quit: Konversation terminated!22:37
jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.22:37
Rhyoliteintgr: Facebook hhvm for PHP uses what it calls "tracelets"22:38
maxyz (~maxy@186.18.94.35) left irc: Ping timeout: 252 seconds22:49
maxyz (~maxy@186.18.94.35) joined #pypy.22:50
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Read error: Connection reset by peer22:50
fijalAlex_Gaynor: do you remember how immutable_field works?22:52
Alex_Gaynorfijal: what do you mean?22:52
fijalI'm fine to assign the value some-time-later, provided that it's just once, right?22:52
fijalin general, I'm fine to do22:52
Alex_GaynorYes, and once you read the field it can't be written to (even if you read nonsense)22:52
exarkunfijal: pong22:52
fijalx = instantiate(X); do_a_lot_of_stuff x.immutable_field = 322:52
Alex_GaynorI don't think these rules are written down anywhere though22:52
Alex_Gaynorfijal: yes that's fine as long as you don't read the field22:53
fijalexarkun: going to pycon?22:53
exarkunfijal: Seems probable22:53
fijalAlex_Gaynor: so say a class attribute is not cool?22:53
fijalexarkun: want to share a room?22:53
fijalI can traditionally sleep on the floor, I'm coming with my own bed22:53
Alex_Gaynorfijal: eh, what do you mean?22:53
fijalAlex_Gaynor: if it's not read means I can't have a class attribute with some default really22:54
fijalright?22:54
exarkunfijal: Oh my god already I have to plan this crap22:54
Alex_Gaynoruhh, no idea I don't know how class attributes really interact with everything22:54
fijalexarkun: I fear so22:54
fijalAlex_Gaynor: I think they're set at instantiate time22:54
mwhudson (~mwh@linaro/mwhudson) joined #pypy.22:54
exarkunfijal: I'm happy to share, yes.  I'm not staying for as long as I have in past years though, in case that factors into your thinking at all.22:54
fijalexarkun: from which side of the conference? I have to be for tutorials and I'm probably leaving mid-sprintish22:55
exarkunAt least right now I think I won't stay for the sprints.22:55
alistrahttp://www.gentoo.org/security/en/glsa/index.xml22:55
alistrawrong channel22:55
exarkunMaybe I could leave mid-sprint instead of pre-sprint, I dunno22:55
fijalexarkun: that's anyway a day or two22:55
fijal(for me anyway)22:55
fijalso it's fine22:55
Alex_Gaynorfijal: we should document the rules of _immutable_fields_22:55
fijalAlex_Gaynor: yes, in some obscure comment somewhere?22:56
Alex_Gaynorfijal: well, maybe in the docs directory :)22:56
Action: fijal prefers obscure comments22:56
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.22:57
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host22:57
mfoord (~anonymous@python/psf/voidspace) joined #pypy.22:57
etrepum (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 252 seconds23:01
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.23:05
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated!23:06
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Ping timeout: 252 seconds23:10
stakkarsfijal: when I'm writing a blog draft, do I need to care of anything, like template.xml?23:11
stakkarsfijal: is all the stuff for blogspot, and is that in sycc?23:11
stakkarsI see only a few entries as a draft. Are the others typed directly into the browser?23:12
nickik (~nick@217.150.239.67) left irc: Quit: Verlassend23:13
fijalstakkars: no, none is typed directly in the browser23:13
stakkarsand finally, If I'm just writing about win64, not related to anything else, _sahould_ I prepare a draft for review, or is it fine to just hack it in?23:13
fijalbut people used their user dirs23:13
Alex_Gaynorfijal: feel like merging the numpy-identity branch23:13
fijalstakkars: you don't have to put it for the review, although this is what we generally do23:14
stakkarsfijal: ok, so I do a draft and check it in, into default? And then ask for complaints and wait a day and then what?23:15
fijalstakkars: into extradoc/blog/draft preferably23:15
stakkarstake the text by clipboard into blogspot.com, or is there another, maybe more direct way?23:15
fijalif noone pops up to do a review in say an hour, I would post it23:15
fijal(or 5 minutes, whatever you prefer)23:15
fijalI usually do rst2html and the paste there the resulting html23:16
fijalI can do the posting part for you if you don't feel like it (it's ugly)23:16
fijalAlex_Gaynor: ok23:16
fijalAlex_Gaynor: is it reviewed?23:16
jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy.23:16
stakkarsand how do I check the appearance of the draft, that'sa what the template.xml is for, right?23:16
Alex_Gaynorfijal: yes, it is23:17
fijalAlex_Gaynor: so just the boring merge part?23:17
Alex_Gaynoryes23:17
fijalok23:17
fijalstakkars: I've never heard about template.xml23:17
fijalyou generally can't23:17
stakkarsargh, the posting is already processed html! wheee, that's a bit disappointing. Thought ResT would be _it_23:18
stakkarstemplate.xml is beneath the draft folder, for some reason.23:18
stakkarsmaybe left-over23:19
kenaan12fijal default 113b81c36d2bd1 15/pypy/module/micronumpy/: (jterrace) merge numpy-identity branch, adding numpy.identity function23:20
kenaan12fijal numpy-identity 11b391b4c1ef21 15/: close branch23:20
fijalAlex_Gaynor: done23:20
Alex_Gaynorthanks23:20
stakkarsso I ResTify the doc and paste _that_ into blogspot.com, and submit or re-edit the ResT and repeat that? Nice (shudder23:21
fijalstakkars: you write rest, use rst2html and paste that into html box23:21
stakkarsno it's ok, I just want to do it quickly and right, tomorrow23:21
fijalstakkars: no, that's how you do it23:22
fijalhow you explained won't work23:22
stakkarsugh? I thought I said exactly that!23:22
fijalok23:23
fijalthen we have a different meaning of "restify"23:23
fijalbut yeah, it's ugly23:23
stakkarsthe point is that blogspot needs preprocessed html, and that's it.23:23
fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com23:24
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Remote host closed the connection23:25
stakkarsyes, I'm wrong. I write in ResT, then pour it through rst2html (which is 'htmlify') and then paste that.23:25
fijalyes23:26
stakkarsoki doki23:26
mat^2 (~mathias@212.130.113.35) left irc: 23:27
mat^2 (~mathias@212.130.113.35) joined #pypy.23:27
stakkarsrestify means turning plain test into ResT? Ok, I see. I'm used to that a bit.23:28
stakkarsand blogspot is one level deeper in that process, does not give access to the upper layer.23:29
azanella (~azanella@189.6.80.207) left irc: Ping timeout: 252 seconds23:31
stakkarswell, all ok. Will definately do it tomorrow, given that I survive tomorrow's discussion with attorneys and ex-wife :-(23:31
Action: stakkars is in a very bad mode and should not talk at all. Better after the fact ;-)23:32
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.23:38
fijal (~fijal@197.110.159.164) left irc: Read error: Connection reset by peer23:48
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.23:57
Nick change: thinker -> Sinker23:58
--- Wed Dec 14 201100:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!