Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shiomiru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
by
shiomiru
2y ago
tcc is popular too, as a fast non-optimizing compiler.
122.
▲
by
shiomiru
2y ago
You look at the monstrosity that is the CSS spec(s), filled to the brim with horrible ideas like floats, the various overcomplicated positioning modes that no mortal can hope to ever fully understand, and undefined behavior left and right i
123.
▲
by
shiomiru
2y ago
> it's incredibly useful in enabling recognizing when your calculator gives a bogus result because you made a keyboarding error. Humans are much better at pattern matching than computation, so the safest solution is probably to just
124.
▲
by
shiomiru
2y ago
> I don't think they are the same idea though. pledge and unveil are significantly more limited in scope. The "idea" I'm talking about is privilege dropping. But sure, you can also use seccomp for other things. > T
125.
▲
by
shiomiru
2y ago
> Can you refer to any sandboxing solution or technologies that limit themselves to restricting syscalls and hiding file paths? FreeBSD has capsicum and Linux has seccomp-bpf & landlock. Of the three, pledge and unveil are the least
126.
▲
by
shiomiru
2y ago
Antitrust concerns which wouldn't have had any weight if not for yet another tracking mechanism that Google had intended to add in place of third party cookies.[0] It's not because Google "hates privacy", it's bec
127.
▲
by
shiomiru
2y ago
> Plainly false. You can minimize the number of bits of entropy in the fingerprint even in situations where a couple of bits are unavoidable, A single API may just yield a couple of bits, but it adds up when there are hundreds of APIs, w
128.
▲
by
shiomiru
2y ago
> Some will say that we should forbid web content from using GPUs. But that would push apps and their users to native platforms that don't even try to minimize fingerprinting at a technical level Conflating "websites" with
129.
▲
by
shiomiru
2y ago
> max and min of two numbers. Influenced by windows.h I see :)
130.
▲
by
shiomiru
2y ago
File redirection is specified in POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V... So is FOO=bar cmd . (I guess it is shell-specific if you include csh in the game, but then what isn&#
131.
▲
by
shiomiru
2y ago
It would be "nice" if not for C setting a precedent for these names to have unpredictable sizes. Meaning you have to learn the meaning of every single type for every single language, then remember which language's semantics a
132.
▲
by
shiomiru
2y ago
HTML5 parsing is relatively easy, because behavior for tag soup is 100% specified. That is, in theory, all conformant HTML5 parsers should output the same DOM for any arbitrary byte sequence. Layout is much harder because the CSS spec is fu
133.
▲
by
shiomiru
2y ago
Programmer preferences really differ, don't they... I listen to music, don't use colors, and prefer CLIs over GUIs. I also like my BEL to beep.
134.
▲
by
shiomiru
2y ago
To me, at first, it read as satire - but that doesn't make sense, coming from the official blog. Being LLM-generated is a plausible explanation - considering the circumstances, saying "open source is in our DNA" is right insi
135.
▲
by
shiomiru
2y ago
w3m supports inline images; I don't know if they work in aerc, though.
136.
▲
by
shiomiru
2y ago
A picture-based guide seems both safer and more effective. e.g. many Firefox users run Windows, where curl | sh doesn't even work - clicking on the right buttons also requires less technical expertise.
137.
▲
by
shiomiru
2y ago
<s>...</s> already exists and is the "text-decoration: line-through" tag. Incidentally, there's also "strike" and "del", which look the same in my UA style sheet. I think strike was "
138.
▲
by
shiomiru
2y ago
You can also enable --styleCheck:usages, which warns about casing inconsistencies in your code. (So it catches mistyping FooBar as FooBAr.) Then the only difference from other languages remains that you can't use weird casing differenc
139.
▲
by
shiomiru
2y ago
If the smiley face and the commit message's tone didn't make it clear that it's a joke, TFA explicitly ends with this: > Gunnar in particular was the one who uncovered this bug, and despite my satirical jab in the commit m
140.
▲
by
shiomiru
2y ago
Wouldn't you need ABI compatibility too? POSIX stuff is normally available in a source form, but that's much more rare in Win32 stuff. The good thing about POSIX is that you can theoretically port wine too at some point, and then
141.
▲
by
shiomiru
2y ago
(obligatory IANAL) Sadly, that's not how it works; opting out of the copyright game is a lot harder than it should be. "No license" means all rights reserved, and even a public domain dedication is invalid in certain countrie
142.
▲
by
shiomiru
2y ago
Surely you don't think DRM is necessary for streaming services to work... My reading is that jwz thinks there was a possible future where DRM is dropped because it's as useless & impractical to enforce as cryptography export r
143.
▲
by
shiomiru
2y ago
Fair; though I didn't say it's impossible, just unlikely :) Japanese words starting with "p" still exist, but they tend to be loanwords (pokemon = pocket + monster) or onomatopoeia (pachinko = pachin + ko). Thinking of i
144.
▲
by
shiomiru
2y ago
Nit: pokatokaino is unlikely to be Japanese, since word-initial p has morphed into h during the centuries. But it works if you turn it into, say, t. Anyway, I think there's another factor: the common alphabet we transliterate these lan
145.
▲
by
shiomiru
2y ago
It's not a huge benefit because they are simpler; they are usually equivalent to the old standard. The benefit comes from newer standards being a lot more precise. e.g. HTML4 did not specify what to do with invalid markup, which makes
146.
▲
by
shiomiru
2y ago
Fair; re-reading TFA, now I realize you explicitly instructed me to stop reading in the first paragraph :) Trying to redeem myself with an on-topic question: isn't what you want more of a "refactoring of Blink" than "bui
147.
▲
by
shiomiru
2y ago
I'm writing one for fun: https://sr.ht/~bptato/chawan/ "Fixed-width text to a grid" makes things easier (sometimes), but I think it still qualifies. On the article itself; it might be better to star
148.
▲
by
shiomiru
2y ago
* at least FF dev tools get unusable with enough variables (and in general, it's not a fun experience to debug which one out of a thousand others is wrong) * efficiency (one less hash lookup, less bookkeeping for the browser) * works o
149.
▲
by
shiomiru
2y ago
> Kana is useful for an agglutinating language like Japanese, but not Chinese languages. FWIW, the Japanese did develop a kana-based system for Taiwanese during the occupation, but it was an abomination.[1] [1]: https://en.wik
150.
▲
by
shiomiru
2y ago
I would also add a step 1.5: write down the wrong solution. Too often I find myself wondering about what later turns out to be the most trivial part of the problem. The best antidote is to write a naive half-solution to "throw away&q
More ›