Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrismorgan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
chrismorgan
3d ago
Not much is actually UCS-2; almost all things like that are rather unvalidated UTF-16, also known as sequences of UTF-16 code units.
2.
▲
by
chrismorgan
3d ago
Approximately nothing that uses UTF-16 validates it (I can’t think of a single thing that does), so surrogates will work fine. At least until a UTF-8 system touches it, because they normally do validate (Go is an uncommon exception in not
3.
▲
by
chrismorgan
4d ago
> Rust also has UB, btw Not at all the same. C and C++ are full of hazards and I get the impression it’s genuinely difficult to avoid entirely in normal code bases, and typically impossible to avoid statically. Whereas in Rust it’s all
4.
▲
by
chrismorgan
7d ago
Yeah, I was responding to the new micros post here rather than the earlier Lobsters list.
5.
▲
by
chrismorgan
7d ago
I’ve never used any of these tools. Please tell me that this is a grossly exaggerated parody, and that the tools don’t write like this, or do so many ridiculous things. For my sanity. (I am genuinely uncertain, though I presume it’s at le
6.
▲
by
chrismorgan
7d ago
When you brought these arguments up on Lobsters < https://lobste.rs/c/dsm1up > I said it wasn’t cut and dried but that my general feeling was of disagreeing with you. I’ve thought about it more since then, and firm
7.
▲
by
chrismorgan
8d ago
Which was premature because most people have missed that initial-scale doesn’t actually default to 1: https://github.com/mdn/content/issues/45570
8.
▲
by
chrismorgan
9d ago
I have seen people click on ads before—by accident, due to a terrible close button or UI shift.
9.
▲
by
chrismorgan
10d ago
> and had no reasonable belief it was possible The broad concept has been well-known for half a century at least, and the very specific concept for several years at least. It’s clear that they didn’t take reasonable precautions against
10.
▲
by
chrismorgan
11d ago
If it only took 59 minutes to process millions of records, it was nowhere near as bad as it could have been. At around one millisecond per record, it sounds like you probably don’t even have any accidental quadratic time complexity on t
11.
▲
by
chrismorgan
11d ago
Not particularly well-considered opinion I’ve mulled over for a few years: Git on macOS should ignore .DS_Store and ._* by default. Would this cause any problems?
12.
▲
by
chrismorgan
12d ago
> Despite spending hours a day looking at her phone, she literally had to check it to find out what her default color theme is; it’s that invisible to her. (Interestingly: she herself was surprised to find out she’s actually been lookin
13.
▲
by
chrismorgan
13d ago
My mother tells much the same from when we Australians were in Denver for five months in 1996 about walking a kilometre to school. Also mild astonishment at ideas like baking cakes not from a packet mix. Mind you, there weren’t many who w
14.
▲
by
chrismorgan
13d ago
I want to hear you justify, with perfect gravity, “N/A.” being the exact same length as “None.” Pictures of handwriting or specific fonts accepted. :D
15.
▲
by
chrismorgan
13d ago
I think you’re misreading it: there are two parts to the question, “No.” answers the first part, and because of that the second part is “Not applicable.” They should have just written “No.”
16.
▲
by
chrismorgan
13d ago
I think the “not applicable” is to the elided second sentence of the question: > 3.6. Have you communicated with any of the entities whose products or services might be affected by the introduction of your proposed service? [→ No.] If s
17.
▲
by
chrismorgan
13d ago
A handful of comments on an otherwise fairly reasonable article. > When we run into jank like this as developers, the usual reaction is to wonder “is my code slow?” and start picking apart algorithms or looking for wasted computation. I
18.
▲
by
chrismorgan
13d ago
> /* UNCOMMENT BELOW to force a boring system font (might break some web icons) * Firefox already includes a better version of this: Settings → Fonts → Advanced settings → untick Allow pages to choose their own fonts, instead of
19.
▲
by
chrismorgan
14d ago
Please reread.
20.
▲
by
chrismorgan
15d ago
No, it’s loading the font in JS for some reason (rather than a regular @font-face) and going out of its way to break the page if that fails, rather than ignoring it as it should. `font-family: dg` is fine, it’ll fall back to the user’s defa
21.
▲
by
chrismorgan
15d ago
Fortunately it’s easy to collapse the tree. And the mods do often override trees like this to default to collapsed.
22.
▲
by
chrismorgan
15d ago
From the code, it looks like it’s only broken if you have a browser more than about two and a half years old, JavaScript disabled, or fonts disabled. Even on HN, I would expect that to be under 5% of viewers, surely under 10%, and people
23.
▲
by
chrismorgan
15d ago
That message is triggered by checking for support of the CSS light-dark() function and :has() selector: window.CSS&&CSS.supports&&CSS.supports('color','light-dark(#000, #fff)')&&CSS.supports(&
24.
▲
by
chrismorgan
15d ago
The only reason I commented this was because the specific breakage was novel. And it’s rare for this specific type of comment to rank highly. Apparently this one is unusually interesting to others, or something? Beats me.
25.
▲
by
chrismorgan
15d ago
It’s currently at +39. I did not expect that! I expected it to settle at the bottom like something that settles at the bottom—I dunno, detritus, lees, Titanic, something like that. Still, I’ll take the opportunity to advocate for turning
26.
▲
by
chrismorgan
15d ago
This website has the distinction of being the first basically-just-content website I have ever encountered to break when web fonts are blocked (or otherwise fail to load). Other than the weird 5×5 colourful tile image thing near the top, a
27.
▲
by
chrismorgan
16d ago
Key UP! (I confess I’m getting frustrated at the ridiculously large fraction of messages in this thread that have somehow completely misunderstood things.)
28.
▲
by
chrismorgan
16d ago
Under Linux, Firefox, Chromium and GNOME Web (which is WebKit-based; a.k.a. Epiphany) all have Tab cancel but not Esc. The GTK 4 behaviour feels very much like a bug. I can reproduce it in gtk4-demo and in gtk3-demo. It leads to obviously-n
29.
▲
by
chrismorgan
16d ago
The keypress event is an ancient mistake that I think never had any legitimate use case, and has been deprecated for quite some time now.
30.
▲
by
chrismorgan
16d ago
Maybe a decade ago, I decided to start a theme from scratch, named bland. Initially, it was just black on white, with keywords bold, comments, macro invocations and lifetime tokens (this was all focusing on Rust) italic, and escape sequence
More ›