Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lolc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
931.
▲
by
lolc
6y ago
Interesting to see fixed and floating time differentiated. I didn't really have a name for that last concept. And fixed time I would call local time. Why call it fixed? Because it's tied to a location?
932.
▲
by
lolc
6y ago
Haha, remember when FTP text-mode was a common preset? Bad times.
933.
▲
by
lolc
6y ago
> all 30 recovered — 29 of them within three to five days. That sounds really good! But the article fails to state the expected outcome without that drug. We don't even know the age-distribution.
934.
▲
by
lolc
6y ago
Another reason mentioned is consistency with other RDBMS.
935.
▲
by
lolc
6y ago
I know this from PHP, where I have to be aware of the encoding the strings are in. I still don't see what the advantage should be of that.
936.
▲
by
lolc
6y ago
Convince me. Here's a little library function that turns text into a set of words: def keywords(text): return set(filter(None, re.split("\W+", unicodedata.normalize("NFKC", input_str).lower()))) How
937.
▲
by
lolc
6y ago
> then either way the software is incorrect - those are both obviously 6 letter strings. What I wanted to get at is that in Unicode, I have a chance to count letters to some useful degree. Why should I consider starting at byte-arrays? &
938.
▲
by
lolc
6y ago
Here's the thing: I don't want to work in UTF8. I want to work in Unicode. Big difference. Because tracking the encoding of my strings would increase complexity. So at the earliest convenience, I validate my assumptions about enco
939.
▲
by
lolc
6y ago
> In the end, the only layer at which it really matters whether your byte sequence can be decoded is the font renderer Ok that explains how we ended up here. I'm considering some other common uses! A search-index for example greatly
940.
▲
by
lolc
6y ago
The difference is that for truncating, I can work within Unicode to deal with the situation. I can accept the possibility of mutilated letters, I can convert to NFC, I can truncate on word-boundaries, I have choice. If I have an byte-array,
941.
▲
by
lolc
6y ago
Sorry, we're mixing two layers. Of course, if I truncate a string, it may lose its meaning. And having accents fall off is problematic. But it's not the same as truncating a byte-array, because then an invalid sequence of bytes ma
942.
▲
by
lolc
6y ago
> There are no operations on sequences of Unicode code points that are more correct than an analogous operation on bytes. Wow. I wonder how you arrived at this point. You can't, for example, truncate a UTF-8 byte array without the r
943.
▲
by
lolc
6y ago
After fixing that leak they can go back to sleeping among uncharted fragments that can collide with no warning but catastrophic impact.
944.
▲
by
lolc
6y ago
> Do you really expect me to believe your are an archivist using a Google Image interface to get images to then wait the ~70 years of copyright to use them? I'm not claiming to be. > These, "Piratebay has Linux torrents"
945.
▲
by
lolc
6y ago
You think that downloading an image is stealing?
946.
▲
by
lolc
6y ago
The term "intellectual property" lumps together quite disparate concepts. It's not helpful to use it. And "theft" is a poor analogy. I'd say society wouldn't change much if copyright were abolished. Probab
947.
▲
by
lolc
6y ago
I totally agree. Their situation looks untenable. I'd love to know the risk-scenarios they considered. Could they imagine getting booted off AWS?
948.
▲
by
lolc
6y ago
I responded to your claims around DDOS mitigation. At 100 Mbps you're swamped the second a couple cell phones decide to flood you.
949.
▲
by
lolc
6y ago
Please, spare us the accusations of arrogance. If you think our interpretations are dubious, tell us why!
950.
▲
by
lolc
6y ago
Don't be silly. Courts will decide based on the meaning in context. A reasonable person may very well conclude that that quote is a call to arms. I mean I don't know how a court would interpret this specific example, but polar bea
951.
▲
by
lolc
6y ago
I have no reason to believe that Parler has the means to build infrastructure for DDOS mitigation that compares in any way to Cloudflare. If you're not a multihomed AS, you can't even begin to offer what Cloudflare offers. > Bu
952.
▲
by
lolc
6y ago
> If you are unwilling to do that, then you need to make sure you diversify your cloud. It's much less likely that two competing cloud vendors would shut you off at exactly the same time. I actually think that the providers would fa
953.
▲
by
lolc
6y ago
I don't even notice it anymore.
954.
▲
by
lolc
6y ago
I didn't mean to say that pilots have zero-g training. I just assume that most pilots could handle zero-g enough to orient themselves towards the cockpit. But maybe that's optimistic.
955.
▲
by
lolc
6y ago
Zero-g is very disorienting to humans. But an experienced pilot could probably handle it and push themselves towards the cockpit.
956.
▲
by
lolc
6y ago
> Of course, I'd also accept arresting [...], but I don't believe it matters which one is used in the case of violent riots. It matters a lot when you decide that rioting people can simply be shot. Because it means you've
957.
▲
by
lolc
6y ago
I don't like the machines either. But you can't go from "could have" to "did" without evidence. Luckily where I live I get to vote on paper. It prevents such debates.
958.
▲
by
lolc
6y ago
But the question is not whether they are vulnerable, but whether they were actually abused. Big difference. We have evidence of the former. And virtually no evidence of the latter.
959.
▲
by
lolc
6y ago
> A slower spreading virus would produce more mutations over time Mutation is not primarily a function of time but of infections. So mutation is higher when there are more hosts. Letting the virus infect people leads to more mutations. N
960.
▲
by
lolc
6y ago
The projected natural end of this pandemic would come within a year when the majority of the population got infected. As a society we've decided to not let this happen. Which is why the numbers diverge from your simplistic formula. >
More ›