Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maxdamantus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
151.
▲
by
maxdamantus
7y ago
They're only a lot of work as long as the tooling is difficult to use, not accessible and produces output that doesn't look authentic. 30 years ago, that might have been the case with doctoring images, now practically everyone has
152.
▲
by
maxdamantus
7y ago
If you're running docker with the "userns-remap" option, it is a form of sandbox insofar as any userspace isolation provided by Linux is a sandbox; you would probably need a root privilege exploit to break out of it. If there
153.
▲
by
maxdamantus
7y ago
> it's pretty common for apps to either find ways to escape it These sound like security bugs, which should obviously be addressed, but "there are bugs" shouldn't be a reason to dismiss the entire goal of isolation-ba
154.
▲
by
maxdamantus
7y ago
> You check out a file with git, then edit it with vim, and build it with gcc, which pulls in headers generated with a python script, itself having been configured with, I dunno, cmake gadgetry. Where do you draw the boundaries here? Non
155.
▲
by
maxdamantus
7y ago
I feel like security for CLI users is generally falling behind other systems. On Android and iOS, any application is supposedly running in its own sandbox, where it can't just randomly access files used by the rest of the system (inclu
156.
▲
by
maxdamantus
7y ago
> That makes no difference whatsoever. All UTFs are mappings of USVs to bytes. As a last resort to try and clarify what I meant in my original post (requoted below): > The only reason I can see is in ensuring that text is losslessly c
157.
▲
by
maxdamantus
7y ago
> "other UTFs" assume it's in one UTF to start with Maybe I should have been clearer. I just meant "other UTFs" as in "UTFs that are not UTF-8", ie, UTFs that exist primarily for historical resons. >
158.
▲
by
maxdamantus
7y ago
It's not a truism if "text" includes bytes that are not UTF-8. A program would probably naturally model a filename as being text, but if that means "sequence of Unicode scalar values", it's arguably incorrect o
159.
▲
by
maxdamantus
7y ago
I'm not sure there's a clear definition of what valid "text" is, but surely classifying it as something like "a sequence of Unicode scalar values" (equivalent to "something that can be encoded in a UTF&quo
160.
▲
by
maxdamantus
7y ago
> Perhaps counting code points is useful in that it gives a lower bound on the length in any reasonable encoding. But "á" is two code points (U+61, U+301). If you're looking for some lower bound (whatever that means), sho
161.
▲
by
maxdamantus
7y ago
But code points are not an abstraction for characters. The character "á" can be written as two code points (U+61, U+301). If a character can be two code points, why can't it be three bytes?
162.
▲
by
maxdamantus
7y ago
Is there any real case where code point indexing is useful? It seems like all these attempts to restrict strings in such a way to accommodate code points is just introducing complexity with no gain. UTF-8 was designed to be an encoding (of
163.
▲
by
maxdamantus
7y ago
> especially now that they've added HKTs Hmm .. as far as I'm aware, they haven't added this yet: https://github.com/microsoft/TypeScript/issues/1213 Note that higher-kinded types (though I&
164.
▲
by
maxdamantus
7y ago
I feel like basically any "explanation" of fails to sufficiently explain `f()`. `void f(){}` is just a special case of the old style of defining functions. Another case of this is `void f(a, b) int a, b; {}`. Using the old style,
165.
▲
by
maxdamantus
7y ago
I don't know if you're aware of this, but child labour is something that exists today: https://en.wikipedia.org/wiki/Child_labour#21st_century Additionally, here's a list of currently 37 countries that r
166.
▲
by
maxdamantus
7y ago
Because there would be no safety net. There would be no guarantee of access to education. I'm not necessarily saying that "taxation" is the best way to provide these things, but the .. ideas .. proposed by the website you lin
167.
▲
by
maxdamantus
7y ago
I'd rather have violence in the form of imprisonment due to tax avoidance than violence in the form of children being forced to work or starve due to being born into poverty. I wonder which one of us is being melodramatic here.
168.
▲
by
maxdamantus
7y ago
Why do I watch the news? I don't like the idea of relying on the news sites here (New Zealand) in getting a brief overview of the current stories. If you meant why I'm keeping them .. I just don't really like deleting things.
169.
▲
by
maxdamantus
7y ago
I happen to have been doing this since Feb 10 this year, as I've been using a USB DVB card to capture/watch the news. Up to 370 GiB so far, just storing the MPEG-TS streams on hard drives.
170.
▲
by
maxdamantus
7y ago
From quickly skimming through this post, it seems like it's basically just a Wikipedia that supports people posting their products as advertisements. If something is not notable, you're just going to end up with those with vested
171.
▲
by
maxdamantus
8y ago
If that's the criticism, it should presumably apply much more widely than just this case—why not all of civil law?
172.
▲
by
maxdamantus
8y ago
Actually, the more natural construction in English would be "me and my siblings". The only reason people know about "X and I" is due to prescriptivism. Noam Chomsky for example sometimes uses this example: https:/&
173.
▲
by
maxdamantus
9y ago
And even if the concepts are not new, the post seems very misleading. Something describing itself as teaching "the hard way" should certainly avoid fuzzy statements such as the following: > HEAD is a special reference that alwa