00:10
marr has quit [Ping timeout: 260 seconds]
00:16
yuyichao has quit [Ping timeout: 240 seconds]
00:40
yuyichao has joined #pypy
00:53
vkirilichev has quit [Ping timeout: 260 seconds]
01:25
jcea has quit [Quit: jcea]
02:19
lritter_ has joined #pypy
02:48
ArneBab has joined #pypy
02:48
ArneBab has joined #pypy
02:48
ArneBab has quit [Changing host]
02:50
lritter__ has joined #pypy
02:52
ArneBab_ has quit [Ping timeout: 260 seconds]
02:54
lritter_ has quit [Ping timeout: 260 seconds]
03:09
ceridwen has quit [Quit: Ex-Chat]
03:29
lritter__ is now known as lritter
03:29
lritter has quit [Quit: Leaving]
03:29
lritter has joined #pypy
03:40
tilgovi has joined #pypy
04:52
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
04:53
tilgovi has joined #pypy
05:09
jamadden1 has quit [Quit: Leaving.]
05:11
pilne has quit [Quit: Quitting!]
05:45
DragonSA has joined #pypy
05:51
tilgovi has quit [Ping timeout: 260 seconds]
05:56
tilgovi has joined #pypy
06:00
lritter has quit [Remote host closed the connection]
06:10
jamadden has joined #pypy
06:11
jamadden has quit [Client Quit]
06:21
kostia has joined #pypy
06:23
tilgovi has quit [Ping timeout: 240 seconds]
06:25
tilgovi has joined #pypy
07:12
jamadden has joined #pypy
07:12
jamadden has quit [Client Quit]
07:34
oberstet has joined #pypy
07:37
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
07:38
tilgovi has joined #pypy
07:40
marr has joined #pypy
08:23
<
LarstiQ >
allocator strikes again
08:41
kostia has quit [Remote host closed the connection]
08:42
kostia has joined #pypy
08:47
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
08:48
tilgovi has joined #pypy
09:05
antocuni has joined #pypy
09:17
amaury has joined #pypy
09:56
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
09:58
tilgovi has joined #pypy
10:15
antocuni has quit [Ping timeout: 260 seconds]
10:40
Tiberium has joined #pypy
10:42
jcea has joined #pypy
10:50
marr has quit [Ping timeout: 260 seconds]
10:55
amaury has quit [Ping timeout: 240 seconds]
11:05
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
11:07
tilgovi has joined #pypy
11:14
Taggnostr has quit [Ping timeout: 240 seconds]
11:15
Taggnostr has joined #pypy
11:32
DragonSA has quit [Quit: Konversation terminated!]
11:37
antocuni has joined #pypy
11:45
Tiberium has quit [Remote host closed the connection]
11:45
Tiberium has joined #pypy
11:49
Tiberium has quit [Remote host closed the connection]
11:50
Tiberium has joined #pypy
12:14
jamadden has joined #pypy
12:15
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
12:16
tilgovi has joined #pypy
12:28
tilgovi has quit [Ping timeout: 255 seconds]
12:37
jcea1 has joined #pypy
12:37
jcea has quit [Read error: Connection reset by peer]
12:37
jcea1 is now known as jcea
12:46
Tiberium has quit [Remote host closed the connection]
13:33
<
Cheery >
don't share the link right yet, it'll move on the sunday.
13:57
pilne has joined #pypy
13:59
oberstet2 has joined #pypy
14:02
oberstet has quit [Ping timeout: 240 seconds]
14:02
antocuni has quit [Ping timeout: 240 seconds]
14:13
<
LarstiQ >
Cheery: limiting th width of the content is a bit annoying, using only a fraction of my browser window width
14:14
<
LarstiQ >
but cutting text off and wrapping it pointlessly
14:16
<
Cheery >
LarstiQ: the wrapping is not pointless, but it's annoying on large blocks of code, yes.
14:16
<
Cheery >
I'm trying to fix it in a moment.
14:16
<
LarstiQ >
other than the content looks nice, but still reading
14:19
kipras`away is now known as kipras
14:44
amaury has joined #pypy
14:59
<
Cheery >
LarstiQ: what do you think about the layout now?
15:01
<
LarstiQ >
Cheery: some of the other styling seems gone, but the code is more readable (though a middleground may also work)
15:02
<
Cheery >
yeah. I changed it entirely.
15:02
<
Cheery >
nobody needs some brown rectangles, but you want to read the content.
15:03
<
Cheery >
even when they are not brown but gray.
15:03
<
LarstiQ >
hmmm, the visual distinction of codeblocks did help I feel
15:03
<
LarstiQ >
but well :)
15:03
<
LarstiQ >
the font is still different, but it is more subtle
15:03
<
LarstiQ >
indenting might have a similar effect
15:03
<
kenaan >
cfbolz default 7f5084ffd6c2 /pypy/doc/cpython_differences.rst: document that in f(**d) d must contain only string keys
15:09
amaury has quit [Ping timeout: 240 seconds]
15:19
<
fijal >
Cheery: if you're into that stuff, SSE and AVX is interesting
15:20
amaury has joined #pypy
15:21
amaury has quit [Client Quit]
15:27
<
Cheery >
fijal: maybe I need to write there that I was noticing my registers were running out somewhere in the middle of writing the abs -clauses.
15:29
amaury has joined #pypy
15:35
<
Cheery >
I read out that the newest extensions have 32 512-bit registers.
15:36
<
fijal >
and can do stuff on them in parallel
15:40
<
Cheery >
I don't know how I proceed, but next I'm planning register allocation into this framework.
15:40
<
Cheery >
and on the other end I got the details of the type inference to solve.
15:41
<
Cheery >
but right now, on this weekend, I'm going to use my png decoder on vulkan. :)
15:45
jiffe has joined #pypy
15:48
jiffe has quit [Quit: WeeChat 1.4]
15:51
jiffe has joined #pypy
15:59
kostia has quit [Ping timeout: 255 seconds]
15:59
marky1991 has joined #pypy
16:03
vkirilichev has joined #pypy
16:04
tilgovi has joined #pypy
16:05
kostia has joined #pypy
16:22
kostia has quit [Ping timeout: 258 seconds]
16:43
jiffe has quit [Quit: WeeChat 1.4]
16:44
jiffe has joined #pypy
16:46
Tiberium has joined #pypy
17:31
oberstet2 has quit [Ping timeout: 240 seconds]
17:50
amaury has quit [Ping timeout: 240 seconds]
17:59
jkbbwr has joined #pypy
17:59
<
jkbbwr >
curio + pypy + reuse_port and a stupid trivial contrived endpoint
17:59
<
jkbbwr >
Requests/sec: 77103.96
18:38
<
kenaan >
rlamy default 42c69a434735 /pypy/objspace/std/: Bytearrays have amortized constant-time "del a[:n]" (backport branch py3.5-bytearray)
18:38
<
kenaan >
rlamy default df2a94c7ae6f /: merge heads
18:51
<
kenaan >
rlamy PyBuffer-backport 9d07ac7eaf1a /: hg merge default
18:51
<
kenaan >
rlamy PyBuffer-backport dc72a659d99a /pypy/objspace/std/: Fix bytearray
19:04
<
o11c >
Cheery: ouch, give me line numbers
19:07
<
Cheery >
o11c: that's splendid idea.
19:17
<
o11c >
Cheery: encoding error after # 335 CMOVL r64 m64 [64] Move if less
19:19
<
Cheery >
o11c: it's in the encoding table, should I fix it on the page?
19:22
<
o11c >
it looks like double-utf8 encoding
19:22
<
o11c >
is it in the original PDF, or just in the output of the tool that parses the PDF?
19:22
<
o11c >
but in any case, you should fix it
19:23
<
Cheery >
"description": "Move if less (SF\u00e2\u0089\u00a0 OF).",
19:23
<
Cheery >
I'll see where it leads to.
19:23
<
Cheery >
description: "Move if less (SF\342\211\240 OF)."
19:24
<
Cheery >
it isn't a double encoding bug.
19:24
<
o11c >
clearly it is
19:25
<
o11c >
since != makes sense there
19:25
<
Cheery >
or I mean.. maybe it is if you call it such.
19:25
<
Cheery >
the bug is that I don't decode that.
19:26
<
Cheery >
because I didn't realise.
19:26
<
Cheery >
I can indeed fix it.
19:26
<
Cheery >
and I will.
19:30
<
Cheery >
o11c: you're right. It's a double encoding bug because it encodes the utf8 into utf8
19:33
<
Cheery >
Need to be careful with C tokens it seems.
19:36
kostia has joined #pypy
19:56
tilgovi has quit [Ping timeout: 258 seconds]
20:01
<
Cheery >
o11c: it's got line numbers now, what do you think?
20:05
marr has joined #pypy
20:08
tilgovi has joined #pypy
20:17
<
o11c >
Cheery: er, I expect the line numbers to tie up with the text, not always start at 1
20:19
marky1991 has quit [Ping timeout: 240 seconds]
20:19
<
Cheery >
o11c: yeah. good point
20:25
<
o11c >
Hm, is there any way to get char16_t and char32_t support in cffi?
20:27
<
Cheery >
the shorts should be possible
20:27
<
Cheery >
but you may have to do the character translation yourself.
20:28
<
o11c >
well, obviously. I was hoping to
*avoid* that
20:28
<
o11c >
since wchar_t is completely unportable
20:28
<
Cheery >
you're running from pypy?
20:28
<
Cheery >
Thanks for helping me with the site. It looks gorgeous now.
20:30
<
Cheery >
wcharp2unicode
20:30
<
Cheery >
that exists
20:31
<
Cheery >
oh I*m looking at wrong thing.
20:31
<
Cheery >
nothing with char16 or char32 in the repository.
20:39
kostia has quit [Ping timeout: 260 seconds]
20:39
<
nimaje >
Cheery: how about getting the numbers right to the numbers in the logs? like paeth_predictor at line 104 and read at 53 (not sure how abs_int can be at 107 in the shown code)
20:56
kostia has joined #pypy
21:10
kostia has quit [Remote host closed the connection]
21:10
kostia has joined #pypy
21:18
mattip has left #pypy ["bye"]
21:19
<
kenaan >
rlamy PyBuffer-backport 97f60ebf3ec0 /pypy/: Add space.byte_w()
21:21
nimaje1 has joined #pypy
21:21
nimaje1 is now known as nimaje
21:21
nimaje is now known as Guest51421
21:36
<
Cheery >
nimaje: I could rewrite them.. yeah.
21:38
kostia has quit [Ping timeout: 260 seconds]
22:03
jamesaxl has quit [Quit: WeeChat 1.7.1]
22:43
<
o11c >
... is there no
*simple* way to propagate exceptions out of callbacks?
22:43
<
Cheery >
could there be?
22:44
<
o11c >
as long as you hold the GIL, sure
22:44
<
o11c >
or otherwise access thread-local data
22:44
<
o11c >
but doing it
*outside* of CFFI proper, it's a pain to wrap
*every* function
22:47
kipras is now known as kipras`away
22:54
<
Cheery >
what are you doing?
22:54
<
Cheery >
maybe there's a simpler way.
22:57
<
o11c >
really, there's not
22:57
<
o11c >
zen says "errors should never pass silently"
22:57
<
o11c >
I can't predict where callback code may error
22:57
<
o11c >
so I have to wrap
*all* of it
22:58
<
o11c >
likewise, I can't predict which C calls may call a callback
23:00
<
Cheery >
couldn't you do something like set a variable, then check it when the C function returns?
23:01
<
o11c >
that's what I'm doing
23:01
<
o11c >
but it has to be set/checked for
*every* function
23:01
<
o11c >
and it has to be thread-local
23:01
<
o11c >
this would be
*way* better if cffi did it for us
23:01
<
Cheery >
wrap the function such that it always checks the variable when the call returns.
23:02
<
Cheery >
then replace the function with that wrapped function.
23:14
Tiberium has quit [Remote host closed the connection]
23:48
tilgovi has quit [Ping timeout: 258 seconds]
23:49
<
o11c >
Cheery: ugh,
*and* I have to
*not* wrap callbacks ...
23:53
<
Cheery >
I'd think you can cheat there and run a function that auto-wraps the callbacks, but maybe I'm wrong here.
23:54
<
Cheery >
you know.. for x in function_names_you_want_to_wrap: wrap_module_functions(module, x)
23:56
<
o11c >
oh yes, I am
23:57
<
o11c >
but it's ugly, messes with the tracebacks, ...