cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
dw has left #pypy [#pypy]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lritter_ has joined #pypy
lritter has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
jcea has quit [Quit: jcea]
dddddd has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
tonyseek has joined #pypy
tonyseek has quit [Client Quit]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rotonen has quit [Quit: reboot]
lritter_ has quit [Ping timeout: 248 seconds]
Rotonen has joined #pypy
glyph has quit [Quit: End of line.]
glyph has joined #pypy
R3d_Sky has joined #pypy
jaffachief has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inad922 has joined #pypy
oberstet has joined #pypy
tonyseek has joined #pypy
oberstet has quit [Ping timeout: 256 seconds]
tonyseek has quit [Quit: tonyseek]
mcyprian has joined #pypy
mcyprian has left #pypy [#pypy]
oberstet has joined #pypy
tonyseek has joined #pypy
energizer has quit [Quit: Leaving]
asmeurer_ has quit [Quit: asmeurer_]
lazka has joined #pypy
antocuni has joined #pypy
Hasimir has quit [Ping timeout: 240 seconds]
Hasimir has joined #pypy
realitix has joined #pypy
Hasimir has quit [Ping timeout: 240 seconds]
the_drow has joined #pypy
Hasimir has joined #pypy
tonyseek has quit [Quit: tonyseek]
dddddd has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
inad922 has quit [Ping timeout: 240 seconds]
<arigato> cfbolz: hi
tonyseek has joined #pypy
<the_drow> arigato, I gave the whitespaces SIMD speedups a shot today and it fails to translate
<arigato> the_drow: paste the traceback to https://paste.pound-python.org/ , and/or push the source somewhere
<the_drow> I was doing just that, someone called me to do something
tonyseek has quit [Quit: tonyseek]
<arigato> mixing some integer with some unsigned integer
<the_drow> maybe because i in skip_whitespace is not unsigned for some reason?
<the_drow> I'll push the code soon
<cfbolz> the_drow: I am impressed/amused that skipping whitespace is such an important source of slowness
<Rotonen> that seems really rather interesting, mind expanding on what's the context of the gain?
leshaste has joined #pypy
cfbolz has quit []
cfbolz has joined #pypy
<arigato> my own guess would be that it doesn't help often, because if you have very large JSON files to parse they'll likely be in a no-extra-space format anyway
cfbolz is now known as cfbolz_
cfbolz_ is now known as cfbolz
marky1991 has joined #pypy
<the_drow> cfbolz, fun project...
<the_drow> that's about it
<the_drow> cfbolz, Also, we might be able to reuse the same code with 'somestr'.strip()
<the_drow> Or a variation of that code
<cfbolz> ok, but does it actually help in practice?
<the_drow> yes it does
<cfbolz> cool
<the_drow> because it allows you to skip 16 bytes at once
<the_drow> so if you have four tabs (I think) you can skip them faster
leshaste has quit [Ping timeout: 260 seconds]
<the_drow> Also, copying strings should be faster with SIMD see https://github.com/Tencent/rapidjson/blob/master/include/rapidjson/reader.h#L1064
raynold has joined #pypy
<Rotonen> with the amount of mobile analytics tencent is going through, that's a pretty good yardstick of what's worth it in regards to parsing json
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
the_drow_ has joined #pypy
lazka has quit [Quit: Leaving]
the_drow has quit [Ping timeout: 264 seconds]
marr has joined #pypy
antocuni has joined #pypy
leshaste has joined #pypy
<leshaste> hi.. it seems matplotlib does not install for pypy on os x
<leshaste> is this known?
<leshaste> mattip, hi
<mattip> lesshaste: Seems like something new. Does sticking "#include <dirent.h>" in _posixsubprocess.c help?
Rhy0lite has joined #pypy
<leshaste> mattip, I am sorry to be dim but I assume I need to download the source to do this? I am simply doing pip install matplotlib
<leshaste> could you walk me through what I need to do to do that please
<Rotonen> a good starting point is to grab the source and 'pip install -e .' in the source dir (provided it has a normal setup.py)
lritter_ has joined #pypy
<leshaste> Rotonen, ok.. this is new to me. How do I get the source the corresponds exactly to what pip install would give me?
<leshaste> s/the/that
tonyseek has joined #pypy
amaury has joined #pypy
tonyseek has quit [Client Quit]
Hasimir has quit [Ping timeout: 240 seconds]
Hasimir has joined #pypy
Civilian has quit [Disconnected by services]
<mattip> lesshaste: pip download matplotlib
<mattip> but I think _posixsubprocess.c comes from a dependency on subprocess32
oberstet has quit [Ping timeout: 240 seconds]
Civil has joined #pypy
<leshaste> mattip, thanks I did that then I get a collection of whl and tar.gz files
<mattip> definitely from subprocess32
<leshaste> ah ok
<mattip> so what happens if you compare
<mattip> pip install subprocess32
<mattip> which should fail
<mattip> to
<mattip> CFLAGS=-DHAVE_DIRENT_H pip install subprocess32
<mattip> does it succeed?
<leshaste> let me try that
<leshaste> pip install subprocess32 -U
<leshaste> Requirement already up-to-date: subprocess32 in /Users/csxrc/Library/Python/2.7/lib/python/site-packages
<leshaste> should I force reinstall?
<leshaste> mattip, pip install subprocess32 -U --force-reinstall works
<leshaste> so you have cracked it :)
<leshaste> I mean CFLAGS=-DHAVE_DIRENT_H pip install subprocess32 -U --force-reinstall
<mattip> huh? If subprocess was installed, it must have succeeded the first time
oberstet has joined #pypy
<mattip> I was expecting it to fail to install
Arfrever has joined #pypy
leshaste has quit [Ping timeout: 248 seconds]
leshaste has joined #pypy
<leshaste> mattip, sorry my connection is randomly dropping
<mattip> if subprocess32 installed, can you now pip install matplotlib ?
<leshaste> trying...
<leshaste> nope
<leshaste> nopefails
<leshaste> fails
amaury has quit [Remote host closed the connection]
<leshaste> mattip, is there anything else I can test?
<mattip> what fails? Like before? Is it trying to install subprocess32 again?
<mattip> can you pypy -c "import subprocess32" ?
dw has joined #pypy
dw has left #pypy [#pypy]
dw has joined #pypy
dw has quit [Client Quit]
<leshaste> pypy -c "import subprocess32 works
<leshaste> but I still can't install matplotlib
jacob22 has quit [Quit: Konversation terminated!]
jacob22__ has joined #pypy
lazka has joined #pypy
leshaste has quit [Quit: Leaving]
Hasimir has quit [Ping timeout: 240 seconds]
lazka has quit [Client Quit]
Hasimir has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
realitix has quit [Quit: realitix]
exarkun has joined #pypy
Hasimir has quit [Ping timeout: 240 seconds]
TheAdversary has quit [Ping timeout: 268 seconds]
<mattip> nobody let us know if the fix there works
TheAdversary has joined #pypy
Hasimir has joined #pypy
<kenaan> mattip py3.5 8a3e586cc749 /: merge default into py3.5
<kenaan> mattip unicode-utf8 d4baff192be4 /: merge default into branch
<kenaan> mattip unicode-utf8 ab5ac9802e14 /: fix merge
R3d_Sky has quit [Quit: Textual IRC Client: www.textualapp.com]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
inhahe__ has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
inhahe__ has quit [Ping timeout: 240 seconds]
inhahe__ has joined #pypy
tbodt has joined #pypy
rubdos has quit [Ping timeout: 255 seconds]
the_drow_ has quit [Ping timeout: 240 seconds]
the_drow has joined #pypy
the_drow has quit [Remote host closed the connection]
jacob22__ is now known as jacob22
adamholmberg has joined #pypy
Rhy0lite has quit [Quit: Leaving]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
marky1991 has quit [Ping timeout: 256 seconds]
inhahe__ has quit [Ping timeout: 260 seconds]
inhahe__ has joined #pypy
tbodt has quit [Ping timeout: 268 seconds]
tbodt has joined #pypy
energizer has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
krono has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_whitelogger has joined #pypy
tbodt has joined #pypy
Arfrever has quit [Quit: 御出で]
marky1991 has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
marr has quit [Ping timeout: 260 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmeurer__ has joined #pypy
Hasimir has quit [Ping timeout: 240 seconds]
TheAdversary has quit [Disconnected by services]
TheAdversary has joined #pypy
Hasimir has joined #pypy
oberstet has quit [Ping timeout: 260 seconds]
ronan has quit [Ping timeout: 256 seconds]
ronan has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
asmeurer__ has quit [Quit: asmeurer__]
marself has joined #pypy
marself has quit [Quit: WeeChat 1.9.1]
marself has joined #pypy
danieljabailey has quit [Ping timeout: 240 seconds]
marself has quit [Quit: WeeChat 1.9.1]
marself has joined #pypy
danieljabailey has joined #pypy
tbodt has joined #pypy
nimaje has quit [Ping timeout: 255 seconds]
nimaje has joined #pypy
marself has quit [Quit: WeeChat 1.9.1]
marself has joined #pypy
marself has quit [Client Quit]
marself has joined #pypy
marself has quit [Client Quit]
marself has joined #pypy