HNHacker News
TopNewBestAskShowJobs

arthur2e5

1,125 karma · joined April 29, 2016

zh-CN-N, en-US-5.
submissionscomments
arthur2e5··on Perfect Motherfucking Website
Making sRGB 1000 nits is extremely bad colorimetry. sRGB is supposed to go with 80 nits in its original definition, and being an order of magnitude off indicates something very wrong with your system's concept of what "standard dynamic range" entails.
arthur2e5··on Tell HN: Today I learned Epub is just HTML/CSS
One of the possible reasons Chromium is a bad for EPUB is its lack of MathML support. But then it's not like all EPUB readers have it, and it's not like MathJax can't be used for rendering.
arthur2e5··on AMD Zen 3 CPUs vulnerable to Spectre-like attacks via PSF feature
I recommended reading the also-recent https://news.ycombinator.com/item?id=26645903 too. It's interesting how the two articles seem to be talking about completely different recommendations :)
arthur2e5··on We made our music visualizer 73% faster by compiling to WASM in the browser
WASM compilation in browser is both cool and unexpected. Seeing that the translation is quite direct, I do wonder how much optimization (either within the compiler or adding wasm-opt) will help and cost.
arthur2e5··on Don't list RMS as member of the Steering Committee
Let me guess, because these sort of programmers exist and LLVM has been taking them all?
arthur2e5··on && operator chains (and ||, possibly) generates unoptimizable LLVM IR
Markdown inside HTML tags is fine as long as there's a paragraph break (two newlines) between the Markdown and the HTML tag. So it usually goes like:

    <detail>
    <summary>...</summary>

    Some `markdown`
    
    </detail>
I would imagine this sort of behavior is in commonmark, but I am too lazy to check.
arthur2e5··on GNU Autotools: A Tutorial [pdf]
I think this is something to be solved with pkg-config(1). Autotools already uses pkg-config to find dependencies and query for any extra flags needed, and with PKG_CONFIG_PATH you can have the program prioritize your own installation.
arthur2e5··on Let’s fix font size
Other comments (not to your specific one) have already pointed this out, but again: the "px" in CSS is as much a device-independent, physical length unit as "pt" is. It only means 1/96 in = 0.0275 cm.
arthur2e5··on The Actual OSI Model
Maybe just make it scroll horizontally and disable wrap?

    header > pre {
      overflow-x: scroll;
      scrollbar-width: none;
      white-space: pre;
    }

    header > pre::-webkit-scrollbar {
      display: none
    }
(Some extra stuff is needed to hide the scrollbar. Apparently there's no way to make it appear only when needed, duh. Oh and the last line should probably have wrap enabled to show the links.)
arthur2e5··on Terminal escape sequences in Git commit email field
With NUL-sepearated output instead of line output people are doing fine. It's unstructured for sure, but how much structure can you put into something as general as grep?
arthur2e5··on Dhcpcd Will Need a New Maintainer
wrt FOSS as charity, the IRS has been resisting FOSS orgs applying for 501(c)(3) status for a while. Not the best world to live in.

https://opensource.org/node/840 https://www.beavandenberk.com/ip/computer-internet/developin...

arthur2e5··on ISO-8601 date format reference not publicly available
Nah, the term "open standard" is so vague that is probably does.

In its laxest definition -- endorsed by ISO itself -- it's just a standard managed by a nonprofit standard organization. In the more common definition it only requires royalty-free use plus the org. Requiring free access is unfortunately an extreme in the spectrum of definitions.

arthur2e5··on ISO-8601 date format reference not publicly available
Library genesis has a standards section, although for some reason it's spelled "standards". And it's not that standard-rich.

For now Google seems to do the standard-pirating job better, partly because it indexes Baidu's Wenku ;)

arthur2e5··on Create animated GIF and WebP from videos using FFmpeg
There has been an automated tool to not redraw stuff for ages. It's called gifsicle, and you should absolutely give it a try. It also does very good lossy compression.

    https://www.lcdf.org/gifsicle/
    https://kornel.ski/lossygif (merged into gifsicle)
Even imagemagick's convert can the static stuff.

As for the palette stage, that depends on ffmpeg to get things right. I find the guide at https://superuser.com/a/556031 a lot more comprehensive.

arthur2e5··on Uniwidth Typefaces for Interface Design
I just wrote a Wikipedia page for uniwidth typeface. Thanks for mentioning this origin!

https://en.wikipedia.org/wiki/Uniwidth_typeface

arthur2e5··on Libgcrypt maintainer rejects suggestion to use CI and ASan over etiquette
Linking the Twitter thread for background, since it matters to mention: 1) this is after libgcrypt 1.9.0's "textbook" heap overflow 2) libgcrypt 1.9.1, a security update, breaks --disable-asm builds on x86-64 because they also tried to do feature.

Bug in question is https://dev.gnupg.org/T5279. Won't do any good to post anything there though.

arthur2e5··on Establishment of a closed artificial ecosystem to ensure human survival on moon
The number of crew (8) raises my eyebrow a bit, since it seems to replicate what biosphere 2 did. I remember reading - or watching - some source that stated an even number of people is suboptimal for group dynamics, since it allows for a split into equal-numbered factions.
arthur2e5··on Twitter deletes China embassy's Xinjiang 'emancipation' tweet
Family planning did and still does mean something coercive in China for most people. To them it's about paying a fine for extra kids, and when local govt gets angry forced birth control. People hid kids for a reason.

The policy has historically allowed exceptions for ethnic minorities, but looking at news stories they have been physically putting birth control devices in Uyghur women without consent too. The state perfected its art of surveillance by testing on minorities; it's no surprise they also perfected some other human rights violations from experience with Han people.

(There are cheap condom programs, but the entire country just doesn't talk about sex. You get few safe sex talks, and all these stuff end up as balloons for kids and hairbands. Combined oral contraceptives are cheap and OTC, but the culture is heavily against "unnecessary use of western medicine", especially for the cheap ethinylestradiol/levonostrogel kind because "cheap means bad". So you end up with good women's bodily autonomy on paper and terrible execution, even without the violations.)

arthur2e5··on Lack of Vitamin D is associated with SARS-CoV-2 infection and mortality
It's pretty mild compared to A, with a large gap between the UL and getting sick.

Healthy adults need a few months on a dose two orders of magnitude higher than the typical recommendation to see overt toxicity. All known cases of toxicity stem from people going ten times the UL.

Still, don't handle this like a water soluble vitamin. Never think about bulk powders, since the IU-to-weight conversion ratio is crazy potent.

arthur2e5··on Lack of Vitamin D is associated with SARS-CoV-2 infection and mortality
The US and some other countries DO set minimum levels for D in milk. Fortification is allowed if it's too low naturally.

The same stuff is required in the US for skim milk and plant "milks" too. Occasionally all-natural believers get into trouble with the FDA for not having enough D in their skimmed milk.

arthur2e5··on Israeli startup claims Covid-19 likely originated in a lab, willing to bet on it
In China too. With the foreign ministry spokespersons repeatedly making US bioweapon suggestions, believing otherwise is more political than just following the rest of weibo.

The media is more than happy to report on early detections out of China, and let suggestions that the vape lung (now linked to vit. E cutting agent) is COVID run free.

We left the realm of rationality long ago, when the government did a tribalism on behalf of all of us.

(Nationalism is a hell of a drug. The govt still funds crackpots to argue against Chinese people originating in africa, to call greco-roman and egyptian history faked, and don't even get me started on their insistence on 5k years.)

arthur2e5··on Preview in macOS Big Sur is destroying PDFs
Very old LaTeX PDFs tend to have this issue too. Chances are pretty slim for profs to edit PDFs witb Preview, I think…
arthur2e5··on Preview in macOS Big Sur is destroying PDFs
You are thinking about XPS, Microsoft's OOXML-based page description language.
arthur2e5··on KaTeX – The fastest math typesetting library for the web
Not quite the same field, but see https://news.ycombinator.com/item?id=24649992 for an article about PLT (programming language theory) notation.
arthur2e5··on Nvidia Uses AI to Slash Bandwidth on Video Calls
It could be bad for telemedicine, since the NN may gloss over some "weird" pathological features not found in its training set. The current setup involving an initial image and keypoints should be fine though, as long as the initial image (keyframe?) is not messed with and is transmitted frequently enough.
arthur2e5··on M17 Aims to Replace Proprietary Ham Radio Protocols
Same reason why people use walkie talkies. You get to do voice or data without infrastructure. That's kinda cool.

Also, listening to ATC, satellite telemetry, and other sorts of radio communications can be fun too. It's like having some insight into… a lower level of the world.

arthur2e5··on Bash code generator for command-line arguments
> getopt is discouraged, getopts doesn't support long options

Hold up. The only version of getopt with long option support is from util-linux, which fixes all the whitespace issues people were discouraging getopt for. So what's the stated goal of this project again?

Heck, you don't even need to write code to detect usage of legacy getopt. It will panic every time you use the new stuff once it sees the option to turn on escaping.

Advertise all your cool features like argument types and help generation, but not this. I don't see how writing m4 is easier than just a while-case loop, but I may try it for the extra features.

arthur2e5··on Spamtoberfest
Trash commit freqs, unlike crime stats, are filtered not through institutions but through one's own mind. Granted, one can carry a lot of biases in what they look at and what they notice, but this issue applies to all heuristics in general.

That said, I used to carry a lot of… biases against Indian developers since that's what all the Chinese programmers talk about on Weibo and Telegram. I have seen a lot of impressive folks since then, so I don't really have that particular generalisation any more.

Heck, Chinese ppl would do the same 薅羊毛 thing if our mail service was less shitty. We even have js devs charging people in cash and stars for documentation. That's what you learn from living in no community.

arthur2e5··on USB-C was supposed to simplify our lives, but instead it’s a total mess
Like someone said upthread, the issue isn't with how it does not accept all profiles, but with how it says it accepts 20V while expecting 15V.
arthur2e5··on Intel MKL on AMD Zen
If you read Agner Fog's old "Cripple AMD" thread from 2009, when he actually served as a FTC witness, you will see that his later updates in 2010-11 shows no reduction in behavior of this kind on Intel's side. If Intel were to comply, this would've been a solved problem.

What we are seeing has to be a new deal.

← PreviousPage 8 of 10Next →