2018-02-26 15:52
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
00:00
dw has left #pypy [#pypy]
00:04
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:06
lritter_ has joined #pypy
00:10
lritter has quit [Ping timeout: 248 seconds]
00:17
tbodt has joined #pypy
00:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:44
tbodt has joined #pypy
00:59
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:21
tbodt has joined #pypy
01:27
jcea has quit [Quit: jcea]
02:04
dddddd has quit [Remote host closed the connection]
02:27
marky1991 has quit [Remote host closed the connection]
02:44
tonyseek has joined #pypy
02:45
tonyseek has quit [Client Quit]
02:57
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:01
Rotonen has quit [Quit: reboot]
03:17
lritter_ has quit [Ping timeout: 248 seconds]
03:22
Rotonen has joined #pypy
04:00
glyph has quit [Quit: End of line.]
04:01
glyph has joined #pypy
04:46
R3d_Sky has joined #pypy
04:57
jaffachief has joined #pypy
05:17
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:50
inad922 has joined #pypy
06:18
oberstet has joined #pypy
06:26
tonyseek has joined #pypy
06:57
oberstet has quit [Ping timeout: 256 seconds]
06:59
tonyseek has quit [Quit: tonyseek]
07:05
mcyprian has joined #pypy
07:06
mcyprian has left #pypy [#pypy]
07:08
oberstet has joined #pypy
07:20
tonyseek has joined #pypy
07:52
energizer has quit [Quit: Leaving]
08:15
asmeurer_ has quit [Quit: asmeurer_]
08:25
lazka has joined #pypy
08:41
antocuni has joined #pypy
08:53
Hasimir has quit [Ping timeout: 240 seconds]
08:56
Hasimir has joined #pypy
09:22
realitix has joined #pypy
09:33
Hasimir has quit [Ping timeout: 240 seconds]
09:36
the_drow has joined #pypy
09:41
Hasimir has joined #pypy
09:46
tonyseek has quit [Quit: tonyseek]
10:05
dddddd has joined #pypy
10:18
antocuni has quit [Ping timeout: 248 seconds]
10:34
inad922 has quit [Ping timeout: 240 seconds]
10:40
<
arigato >
cfbolz: hi
10:46
tonyseek has joined #pypy
10:47
<
the_drow >
arigato, I gave the whitespaces SIMD speedups a shot today and it fails to translate
10:57
<
the_drow >
I was doing just that, someone called me to do something
10:57
tonyseek has quit [Quit: tonyseek]
11:06
<
arigato >
mixing some integer with some unsigned integer
11:07
<
the_drow >
maybe because i in skip_whitespace is not unsigned for some reason?
11:07
<
the_drow >
I'll push the code soon
11:13
<
cfbolz >
the_drow: I am impressed/amused that skipping whitespace is such an important source of slowness
11:23
<
Rotonen >
that seems really rather interesting, mind expanding on what's the context of the gain?
11:24
leshaste has joined #pypy
11:26
cfbolz has joined #pypy
11:27
<
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
11:28
cfbolz is now known as cfbolz_
11:28
cfbolz_ is now known as cfbolz
11:38
marky1991 has joined #pypy
11:47
<
the_drow >
cfbolz, fun project...
11:47
<
the_drow >
that's about it
11:48
<
the_drow >
cfbolz, Also, we might be able to reuse the same code with 'somestr'.strip()
11:48
<
the_drow >
Or a variation of that code
11:48
<
cfbolz >
ok, but does it actually help in practice?
11:48
<
the_drow >
yes it does
11:49
<
the_drow >
because it allows you to skip 16 bytes at once
11:49
<
the_drow >
so if you have four tabs (I think) you can skip them faster
11:49
leshaste has quit [Ping timeout: 260 seconds]
12:04
raynold has joined #pypy
12:13
<
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
12:26
marky1991 has quit [Remote host closed the connection]
12:26
marky1991 has joined #pypy
12:45
the_drow_ has joined #pypy
12:47
lazka has quit [Quit: Leaving]
12:48
the_drow has quit [Ping timeout: 264 seconds]
12:49
marr has joined #pypy
12:56
antocuni has joined #pypy
13:02
leshaste has joined #pypy
13:02
<
leshaste >
hi.. it seems matplotlib does not install for pypy on os x
13:02
<
leshaste >
is this known?
13:05
<
leshaste >
mattip, hi
13:11
<
mattip >
lesshaste: Seems like something new. Does sticking "#include <dirent.h>" in _posixsubprocess.c help?
13:12
Rhy0lite has joined #pypy
13:13
<
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
13:13
<
leshaste >
could you walk me through what I need to do to do that please
13:19
<
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)
13:24
lritter_ has joined #pypy
13:27
<
leshaste >
Rotonen, ok.. this is new to me. How do I get the source the corresponds exactly to what pip install would give me?
13:28
<
leshaste >
s/the/that
13:47
tonyseek has joined #pypy
13:48
amaury has joined #pypy
13:51
tonyseek has quit [Client Quit]
13:51
Hasimir has quit [Ping timeout: 240 seconds]
13:55
Hasimir has joined #pypy
13:57
Civilian has quit [Disconnected by services]
13:57
<
mattip >
lesshaste: pip download matplotlib
13:58
<
mattip >
but I think _posixsubprocess.c comes from a dependency on subprocess32
13:59
oberstet has quit [Ping timeout: 240 seconds]
13:59
Civil has joined #pypy
14:01
<
leshaste >
mattip, thanks I did that then I get a collection of whl and tar.gz files
14:01
<
mattip >
definitely from subprocess32
14:04
<
mattip >
so what happens if you compare
14:04
<
mattip >
pip install subprocess32
14:04
<
mattip >
which should fail
14:05
<
mattip >
CFLAGS=-DHAVE_DIRENT_H pip install subprocess32
14:05
<
mattip >
does it succeed?
14:11
<
leshaste >
let me try that
14:13
<
leshaste >
pip install subprocess32 -U
14:13
<
leshaste >
Requirement already up-to-date: subprocess32 in /Users/csxrc/Library/Python/2.7/lib/python/site-packages
14:13
<
leshaste >
should I force reinstall?
14:14
<
leshaste >
mattip, pip install subprocess32 -U --force-reinstall works
14:14
<
leshaste >
so you have cracked it :)
14:14
<
leshaste >
I mean CFLAGS=-DHAVE_DIRENT_H pip install subprocess32 -U --force-reinstall
14:17
<
mattip >
huh? If subprocess was installed, it must have succeeded the first time
14:18
oberstet has joined #pypy
14:18
<
mattip >
I was expecting it to fail to install
14:20
Arfrever has joined #pypy
14:32
leshaste has quit [Ping timeout: 248 seconds]
14:36
leshaste has joined #pypy
14:36
<
leshaste >
mattip, sorry my connection is randomly dropping
14:37
<
mattip >
if subprocess32 installed, can you now pip install matplotlib ?
14:37
<
leshaste >
trying...
14:38
<
leshaste >
nopefails
14:43
amaury has quit [Remote host closed the connection]
15:22
<
leshaste >
mattip, is there anything else I can test?
15:22
<
mattip >
what fails? Like before? Is it trying to install subprocess32 again?
15:22
<
mattip >
can you pypy -c "import subprocess32" ?
15:27
dw has joined #pypy
15:28
dw has left #pypy [#pypy]
15:29
dw has joined #pypy
15:29
dw has quit [Client Quit]
15:39
<
leshaste >
pypy -c "import subprocess32 works
15:39
<
leshaste >
but I still can't install matplotlib
15:45
jacob22 has quit [Quit: Konversation terminated!]
15:48
jacob22__ has joined #pypy
15:48
lazka has joined #pypy
15:49
leshaste has quit [Quit: Leaving]
15:49
Hasimir has quit [Ping timeout: 240 seconds]
15:49
lazka has quit [Client Quit]
15:53
Hasimir has joined #pypy
16:09
exarkun has quit [Ping timeout: 240 seconds]
16:09
realitix has quit [Quit: realitix]
16:10
exarkun has joined #pypy
16:16
Hasimir has quit [Ping timeout: 240 seconds]
16:17
TheAdversary has quit [Ping timeout: 268 seconds]
16:17
<
mattip >
nobody let us know if the fix there works
16:19
TheAdversary has joined #pypy
16:21
Hasimir has joined #pypy
16:27
<
kenaan >
mattip py3.5 8a3e586cc749 /: merge default into py3.5
16:28
<
kenaan >
mattip unicode-utf8 d4baff192be4 /: merge default into branch
16:28
<
kenaan >
mattip unicode-utf8 ab5ac9802e14 /: fix merge
17:00
asmeurer_ has joined #pypy
17:11
asmeurer_ has quit [Quit: asmeurer_]
17:15
inhahe__ has joined #pypy
17:22
antocuni has quit [Ping timeout: 240 seconds]
17:24
inhahe__ has quit [Ping timeout: 240 seconds]
17:29
inhahe__ has joined #pypy
17:37
tbodt has joined #pypy
17:49
rubdos has quit [Ping timeout: 255 seconds]
17:55
the_drow_ has quit [Ping timeout: 240 seconds]
18:04
the_drow has joined #pypy
18:08
the_drow has quit [Remote host closed the connection]
18:34
jacob22__ is now known as jacob22
18:36
adamholmberg has joined #pypy
18:54
Rhy0lite has quit [Quit: Leaving]
18:56
adamholmberg has quit [Remote host closed the connection]
18:56
adamholmberg has joined #pypy
19:01
adamholmberg has quit [Ping timeout: 260 seconds]
19:16
marky1991 has quit [Ping timeout: 256 seconds]
19:17
inhahe__ has quit [Ping timeout: 260 seconds]
19:27
inhahe__ has joined #pypy
19:28
tbodt has quit [Ping timeout: 268 seconds]
19:34
tbodt has joined #pypy
19:40
energizer has joined #pypy
20:38
marky1991 has joined #pypy
20:38
marky1991 has quit [Remote host closed the connection]
20:39
marky1991 has joined #pypy
20:44
krono has joined #pypy
20:45
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:57
_whitelogger has joined #pypy
21:04
tbodt has joined #pypy
21:10
Arfrever has quit [Quit: 御出で]
21:37
marky1991 has quit [Ping timeout: 240 seconds]
21:43
jcea has joined #pypy
21:46
marr has quit [Ping timeout: 260 seconds]
21:50
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:53
asmeurer__ has joined #pypy
22:25
Hasimir has quit [Ping timeout: 240 seconds]
22:26
TheAdversary has quit [Disconnected by services]
22:28
TheAdversary has joined #pypy
22:32
Hasimir has joined #pypy
22:34
oberstet has quit [Ping timeout: 260 seconds]
22:38
ronan has quit [Ping timeout: 256 seconds]
22:38
ronan has joined #pypy
22:41
raynold has quit [Quit: Connection closed for inactivity]
22:51
asmeurer__ has quit [Quit: asmeurer__]
22:54
marself has joined #pypy
22:57
marself has quit [Quit: WeeChat 1.9.1]
22:57
marself has joined #pypy
23:07
danieljabailey has quit [Ping timeout: 240 seconds]
23:12
marself has quit [Quit: WeeChat 1.9.1]
23:13
marself has joined #pypy
23:14
danieljabailey has joined #pypy
23:28
tbodt has joined #pypy
23:47
nimaje has quit [Ping timeout: 255 seconds]
23:49
nimaje has joined #pypy
23:50
marself has quit [Quit: WeeChat 1.9.1]
23:50
marself has joined #pypy
23:51
marself has quit [Client Quit]
23:52
marself has joined #pypy
23:52
marself has quit [Client Quit]
23:53
marself has joined #pypy