buggable | 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 3 ballots submitted by 2 users! DRUM ROLL PLEASE!... | 00:00 | |
And the winning number is 10! Congratulations to [Coke]! You win a roll of duck tape! | |||
02:05
_Kaiepi joined
02:58
ilbot3 joined
04:28
unicodable6 joined
06:05
_Kaiepi joined
06:46
brrt joined
|
|||
brrt | good * #moarvm | 06:47 | |
06:55
domidumont joined
07:12
domidumont joined
08:07
brrt joined
08:30
AlexDaniel joined
|
|||
samcv | good * brrt | 08:43 | |
brrt | ohai samcv | 08:44 | |
08:46
zakharyas joined
08:49
zakharyas joined
|
|||
samcv | jnthn: any particular way src/strings/windows1252.c was created (the binary if/else chain) | 08:51 | |
i'm considering adding more encodings to MoarVM | |||
so seems ISO-8859-1 and Windows-1251 may be able to both be decoded as windows-1251 from my research and i'm guessing both of ours go through the w-1251 path. and after that most popular encodings on the web are Shift JIS (japanese), Windows-1252(cyrillic) and GB2312 at 0.8, 0.7 and 0.6% usage | 09:01 | ||
so i'm considering creating a script that can generate some perl 6 code and create C code for all of the non-utf8 encodings that are 1 byte per char | |||
then we can just add them all trivially | 09:02 | ||
09:06
samcv left,
samcv joined
09:41
reportable6 joined
|
|||
Geth | MoarVM: dd72e1f1ec | (Bart Wiegmans)++ | src/jit/core_templates.expr Disable box_i template for the time being Seems to break the build (in a way that is difficult to reproduce for some and consistent for others). No idea why so far... |
09:45 | |
09:46
reportable6 joined
10:01
travis-ci joined
|
|||
travis-ci | MoarVM build passed. Bart Wiegmans 'Disable box_i template for the time being | 10:01 | |
travis-ci.org/MoarVM/MoarVM/builds/336022142 github.com/MoarVM/MoarVM/compare/7...72e1f1ecc1 | |||
10:01
travis-ci left
10:08
evalable6 joined
10:09
bisectable6 joined,
committable6 joined
|
|||
jnthn | samcv: No; pretty sure it wasn't me that added it. If there's any script that did it, it'll be in the bin/ directory. But I'm not quite sure that an if ladder like that would be faster than just having a lookup table anyway, for decoding? | 10:20 | |
samcv | jnthn: ah, you show up in the git blame but maybe you just modified an earlier version | 10:21 | |
Feb 2014: Correct Latin-1; add Windows-1252. The Latin-1 implementation we had actually did Windows-1252. We're not HTML 5, so should actually Latin-1 when asked to. Keep the original code around as a Windows-1252 implementation. | 10:22 | ||
ok it's old. by diakopter from 2012 | 10:23 | ||
looked at the log from src/strings/latin1.c | |||
10:33
zakharyas joined
11:10
ilmari_ joined
11:11
timo joined,
ilmari joined
11:23
geekosaur joined
11:24
bisectable6 joined
11:31
evalable6 joined,
committable6 joined
11:39
nativecallable6 joined
11:40
coverable6 joined
11:41
quotable6 joined,
greppable6 joined,
unicodable6 joined
12:37
colomon joined
13:48
zakharyas joined
15:01
zakharyas joined
15:43
AlexDaniel joined
15:52
_Kaiepi joined
15:57
nativecallable6 joined
16:16
brrt joined
16:17
reportable6 joined
16:29
brrt joined
16:33
unicodable6 joined
16:34
nativecallable6 joined,
bisectable6 joined
|
|||
Geth | MoarVM/jit-expr-optimizer: 13 commits pushed by (Bart Wiegmans)++ review: github.com/MoarVM/MoarVM/compare/d...3291dc3509 |
16:46 | |
17:12
Kaiepi joined
18:26
domidumont joined
19:53
committable6 joined
20:49
zakharyas joined
|
|||
samcv | so it looks like there's only one line different between the latin and windows-1252 decoder | 21:22 | |
jnthn | Yeah, I'd pondered before that for some byte encodings we might be able to just have same code, different tables | 21:26 | |
22:20
stmuk left
|
|||
Geth | MoarVM: 7fdc6aa3dd | (Zoffix Znet)++ | src/moar.c Fix SEGV when opening MVM_*_LOG files; dogbert17++ Phixes github.com/rakudo/rakudo/issues/1451 Check the return value of fopen() and give proper error when we fail to open the file we were given. |
22:24 | |
MoarVM: 6306b824a5 | (Samantha McVey)++ | 2 files Add script to generate Windows-1251 and 1252 codetables Also update tools/UCD-download.p6 to download these codetables. |
22:36 | ||
samcv | i see a bug in our windows-1252 encoding right now | 22:39 | |
m: 0x2122.chr.encode: 'windows-1252' | |||
camelia | Error encoding Windows-1252 string: could not encode codepoint 8482 in block <unit> at <tmp> line 1 |
||
22:39
lizmat joined
23:05
evalable6 joined,
bisectable6 joined,
committable6 joined
23:20
nativecallable6 joined
|
|||
Geth | MoarVM: samcv++ created pull request #793: Add windows-1251 (Cyrillic) decode/encode. Fix bug in windows-1252 |
23:43 | |
samcv | jnthn: i turned the binary if/else chain into a switch, so we can just let the compiler make its own | 23:52 | |
for the unicode->windows-125x encoder |