Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maxdamantus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
maxdamantus
1y ago
It's never been clear to me where such a type is actually useful. In what cases do you really need to restrict it to valid UTF-8? You should always be able to iterate the code points of a string, whether or not it's valid Unicod
32.
▲
by
maxdamantus
1y ago
So do you think if people designed a keyboard from scratch, they would come up with the same traditional layout? It seems to me that the standard piano layout (and the standard musical notation, which is basically piano tablature) is the re
33.
▲
by
maxdamantus
1y ago
I feel like the main thing there is whether you can get people to actually adopt your new instrument. My feeling is that isomorphic instruments are ultimately superior, but the set of instruments used by professional musicians is pretty muc
34.
▲
by
maxdamantus
1y ago
In my jq PR I used negative numbers to represent them (the original byte, negated), since they're already just using `int` to represent a decoded code point, and it's somewhat normal to return distinguishable errors as negative nu
35.
▲
by
maxdamantus
1y ago
I came up with a scheme a number of years ago that takes advantage of the illegality of overlong encodings [0]. Obviously UTF-8 has 256 code units (<00> to <FF>). 128 of them are always valid within a UTF-8 string (ASCII, <00
36.
▲
by
maxdamantus
1y ago
> Linux does not do that. It did (or at least Wayland compositors did). > It did It didn't. I complained about this a few years ago on HN [0], and produced some screenshots [1] demonstrating the scaling artifacts resulting from f
37.
▲
by
maxdamantus
1y ago
With a 90% to 95% reduction in performance [0], I'd be interested to know when these "generational" upgrades are worth the hit, since it seems like you're already going back a few generations. I'll admit I'm no
38.
▲
by
maxdamantus
1y ago
Yes, performance (per watt, or per mass of silicon). Profit is dependent on scale. FPGAs are useful if the scale is so small that an ASIC production line is more expensive than buying a couple of FPGAs. If the scale is large enough that ASI
39.
▲
by
maxdamantus
1y ago
> Too expensive to scale, so you switch to ASIC ? I think it's not so much about too expensive , but once you've got the resources it will always be better to switch to an ASIC. Not a hardware engineer, but it seems obvious to
40.
▲
by
maxdamantus
1y ago
No, it's on the software (computer) side. It's not in the demo site because I created that in 2019 [0] for use with a regular keyboard (since I was having issues with the software I'd previously been using for playing MIDI).
41.
▲
by
maxdamantus
1y ago
I've kind of done this, just without the actual "build" part—I instead use a Wooting computer keyboard (which has the hall effect switches you're referring to), and I've written some program to emit MIDI based on ke
42.
▲
by
maxdamantus
1y ago
I don't think it's meant to be a complete audit of the codebase, and in fact this is alluded to in the final report [0] (though the wording is strange—perhaps they forgot to update it from an earlier report): > Due to the size
43.
▲
by
maxdamantus
1y ago
Microsoft Intune is officially available for Linux. This mechanism doesn't involve making a Linux system pretend it's Windows. It's just about making non-Edge browsers able to authenticate as Edge does. Microsoft is aware tha
44.
▲
by
maxdamantus
1y ago
I suspect nowadays it's more likely a matter of integrating with Microsoft's "identity broker", part of Intune, aka "Company Portal". You use Intune to log in and register your device against your Microsoft acc
45.
▲
by
maxdamantus
1y ago
And then does it ask who you want to post it to, or to which app? Because that's a fairly common pattern when I "share" something on my phone. Or does it just post it onto the public feed?
46.
▲
by
maxdamantus
1y ago
Since this parent post is getting downvoted, maybe I should have elaborated: the claims in the title of this article ("proof of X") seem to be a lot stronger than the actual research paper it references ("suggests that X"
47.
▲
by
maxdamantus
1y ago
Article title: > Linguists Find Proof of Sweeping Language Pattern Once Deemed a ‘Hoax’ Abstract from the cited paper [0]: > our work suggests that large-scale computational approaches to the topic can produce non-obvious and well-gro
48.
▲
by
maxdamantus
2y ago
Thanks for the reply. I was able to play around with the settings there, but even when enabling full hinting it's still only hinting vertically (I think this is what it was doing by default, as in my screenshot—this is similar to what
49.
▲
by
maxdamantus
2y ago
Hmm.. I tried using the "tools/viewer/viewer --slide GM_typeface_fontations_roboto" example in the skia repository earlier (swapping out the Roboto font for DejaVuSans, since the Roboto font doesn't seem to properly
50.
▲
by
maxdamantus
2y ago
I'm not entirely sure how you got that first line, but if it's derived from my image, your system must be scaling the image, which introduces blur. Since you mentioned a 150% scale, I'm guessing your image viewer is rendering
51.
▲
by
maxdamantus
2y ago
I hope that if we switch away from FreeType, we'll still have a way to use TTF hinting instructions fully. Windows/macOS don't seem to have a way to enable proper hinting anymore [0], and even FreeType (since 2.7 [1]) default
52.
▲
by
maxdamantus
2y ago
Maybe "cooëeïng", though I don't think I've seen that written with diaereses (probably not a very common word, but it's a nice example of a long vowel letter sequence, and one that people from NZ/Australia shou
53.
▲
by
maxdamantus
2y ago
I get the sense that treesitter is more for syntax highlighting than for real parsing, since I raised this issue[0] a while ago and I don't think anyone's really interested in it (not really interested enough myself in tree-sitter
54.
▲
by
maxdamantus
2y ago
Thanks for addressing my concern! [0] Disclaimer: I don't know if my comment had anything to do with this post. On a more cynical note however, I guess this works because all of the other tools involved (eg, sha256sum, git, clang++, ..
55.
▲
by
maxdamantus
2y ago
> Out of curiosity, do you think that the Shadow Realms proposal they refer to will ever go anywhere? I haven't really been following the Shadow Realm proposal (I'm not part of TC39, so only familiar with certain proposals), bu
56.
▲
by
maxdamantus
2y ago
> If you allow arbitrary values, what's the difference between a record and a frozen object? The behaviour of equality. Frozen objects are already considered to have unique identities, in that `Object.freeze({}) !== Object.freeze({}
57.
▲
by
maxdamantus
2y ago
I can't speak for the current version of GameMaker, but the versions from around 2002 ("by Mark Overmars", when I was 9 or 10) were definitely a significant part of my development as a programmer, so I'm happy to see thi
58.
▲
by
maxdamantus
2y ago
> MITM attacks today are extremely difficult to execute. Most local networks are immune to traditional types of attacks such as arp spoofing/poisoning and wifi networks outside of one’s home have had client isolation enabled by defa
59.
▲
by
maxdamantus
2y ago
That's not what I said. I've implied that it's hard to trust the output of some unknown compiler (eg, the "zig1.wasm" blob) and that it's easier to trust source code. The Dozer article explains, under "The
60.
▲
by
maxdamantus
2y ago
> Every other scenario requires you to be able to MITM the traffic which is pretty much already gameover. MITM attacks is one of the major reasons for using TLS/PKI. You might have total control over the TLS connections I make to a
More ›