Matthias Valvekens

68 posts

Matthias Valvekens

Matthias Valvekens

@MatthiasVal

Mathematician/Software engineer/PDF expert/FOSS dev Opinions are my own.

Leuven, België Tham gia Mart 2022
52 Đang theo dõi31 Người theo dõi
Matthias Valvekens đã retweet
Daniel Litt
Daniel Litt@littmath·
when you know what “statistically significant” means
Daniel Litt tweet media
English
211
678
28.5K
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@wtfpdf I think/hope we'll see some improvement once LaTeX ships with easy-to-use tagging support---and the academic publishing world gets around to updating their stuff... 🤞
English
0
0
1
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@wtfpdf The LaTeX project is working on this exact problem: making it easier to produce well-tagged output from TeX with minimal user intervention.
English
0
0
1
0
david spratt
david spratt@Oil_vampire·
@teleoqoelet @Atypical_Andy @harryhhutch Isn't true for industrial users. You can't only operate when energy is cheaper & plentiful. If you could it would call for increased capacity during those times & you have the same LCOE prob as with generation, destroying efficiency & overall productivity
English
1
0
0
0
HHH
HHH@harryhhutch·
The much-touted claim that “renewables are cheaper than fossil fuels” is based on the flawed concept of levelized cost (LCOE). Here’s a little analogy that explains why it’s BS: You’re heading out on Saturday night and you need a babysitter... 1/7🧵
English
109
435
1.4K
0
PeterW
PeterW@petervwyatt·
@wtfpdf Did you submit your artwork as a PDF? 🤣
English
2
0
3
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@MyMilkedEek ESTA? Anyway, as we all know, the famous list of misconceptions programmers hold about names applies _extra_ to US gov't contractors. 🙈
English
1
0
0
0
Michael Demey
Michael Demey@MyMilkedEek·
Well, thanks for telling me, US Government, but not much I can do about it.
Michael Demey tweet media
English
1
0
1
0
Michael Demey
Michael Demey@MyMilkedEek·
Can an Indirect Reference be indirect? I don't see anything in the #PDF specification, part 1 or 2, that would limit this. Not that it'd be _that_ useful, but still, wondering.
Michael Demey tweet media
English
3
2
7
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@_plinth_ @MyMilkedEek Sure, I should've been more nuanced w.r.t. the infinite loop <> stack overflow issue, but the effect is pretty much the same: you'd need to keep track of some state while traversing if you want to do this safely.
English
1
0
2
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@_plinth_ @MyMilkedEek Yeah, this issue is actually the subject of some current debate in the PDF standards community, actually. Blindly dereferencing recursively is problematic (if only because loops would blow up the stack), but there's indeed no clear file format requirement banning the practice...
English
1
0
2
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
While I use a MacBook when travelling, I've used a Linux box as my main dev machine for most of the past decade :). You're right that the "PDF on the Linux desktop" experience is lagging behind, though. TL;DR: I use arch btw
English
0
0
0
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@jacko_os @wtfpdf Don't worry, that's a natural reaction 😁. Over-reliance on 2-byte wide encodings was a historical mistake (see also: the Windows API and Java). It made sense when there were <65536 codepoints, but that stopped being true decades ago, so... UTF-16 should really be obsolete. 🤷‍♂️
English
0
0
1
0
Jack O'Sullivan
Jack O'Sullivan@jacko_os·
@MatthiasVal @wtfpdf Thanks both. Seems obvious once you said UTF-16, but I read that spec multiple times and each time I saw the word "unicode" and my mind replaced it with UTF8 🤦
English
1
0
0
0
Jack O'Sullivan
Jack O'Sullivan@jacko_os·
Any PDF experts: Is "(\376\377\000H\000i)" a valid string, specifically for v1.2? It looks like a UTF8 BOM in octal, followed by a series of byte pairs of octal null+ASCII letter. Should a reader extract "Hi" from that? I've read the spec a few times and can't decide. @wtfpdf?
English
3
3
1
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@wtfpdf @jacko_os As for PDF 1.2: this encoding scheme is described in section 4.4, although it's not yet called "UTF-16BE" in there (just "Unicode"), presumably because the whole "character set vs. encoding" debate was still ongoing at the time. But, TL;DR: Yep, this is also valid in PDF 1.2
English
0
0
2
0
Matthias Valvekens
Matthias Valvekens@MatthiasVal·
@jacko_os @wtfpdf Yep, this is a perfectly valid PDF string. As a data type, PDF strings represent byte strings first and foremost, and this one maps to 0xFE 0xFF 0x00 0x48 0x00 0x69.
English
0
0
0
0