Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
by
sltkr
1y ago
I think this is a holdover from before, where the request was to not use AI before the leaderboard is filled up. If you are stuck and have to ask a friend for help, you are not going to make the (global) leaderboard anyway. In practice, not
122.
▲
by
sltkr
1y ago
They mention that the "FTP" service includes SFTP, which is file transfer over SSH (not actually related to classic FTP), which is perfectly secure and supported by most FTP clients like Filezilla. The premium "SSH connection
123.
▲
by
sltkr
1y ago
I get that popularity comes with problems, but I don't see how the attack surface is any larger than a normal website? It looks like the entire site is implemented in Javascript, which tries to fetch resources from various HTTPS URLs,
124.
▲
by
sltkr
1y ago
Clever, but it seems like you're still encoding states separately. For an undo/redo stack, you can probably do much better spacewise with some sort of delta-encoding, either by explicitly storing the changes made to the grid (or m
125.
▲
by
sltkr
1y ago
According to the author that wasn't a design goal: > While looking all this up, I found Justin Fagnani’s article Composite Map Keys in JavaScript with Bitsets, which is mostly unrelated to what I’m doing here In fact, the author s
126.
▲
by
sltkr
1y ago
How does this compare to using ArrayBuffer/DataView, which seems like the more obvious choice for this sort of thing? This wouldn't require any bitwise operations to store/retrieve fields, assuming they are all byte-aligned.
127.
▲
by
sltkr
1y ago
I'm talking about theoretic security, i.e. number of operations needed to perform certain attacks. For a 256-bit cryptographic hash function, it should take an expected 2^256 attempts to find a message with a given hash (preimage attac
128.
▲
by
sltkr
1y ago
Yes, SHA256 is faster than MD5 only if you have hardware accelleration. But SHA256 itself is pretty slow compared to the state of the art. For example, BLAKE3 is just as secure as SHA256 but an order of magnitude faster. Try this on your ow
129.
▲
by
sltkr
1y ago
It's not unreasonable for each customer to maintain a separate cache (for security reasons), so that each of them will download the file once. Then it only takes one bad user on the same subnet to ruin the experience for everyone else.
130.
▲
by
sltkr
1y ago
Not just land area; ~90% of the world population lives on the northern hemisphere, so it's more important in that sense, political and historical considerations aside.
131.
▲
by
sltkr
1y ago
I find this advice overly simplistic to the point of being completely misguided. Let's take the table example. Sure, you can fetch an HTML snippet and insert it directly in the DOM tree with innerHTML. But then, how do you handle:
132.
▲
by
sltkr
1y ago
Don't just sneer. Give some details. In which countries are ghost kitchens thriving? How do they avoid the failure modes described in this article? Is it possible they are simply behind the curve?
133.
▲
by
sltkr
1y ago
I've been using Arch Linux for over a decade and have literally never once consulted release logs, and never got into any serious trouble. I do subscribe to the arch-announce mailing list which warns of breaking changes, but that recei
134.
▲
by
sltkr
1y ago
Could you actually? Is it an open protocol? Does Discord have an explicit policy of allowing third-party clients to access their serves?
135.
▲
by
sltkr
1y ago
Curious. Interesting enough, document.body.innerText does contain the style sheet contents, so the browser does consider it visible text in some sense.
136.
▲
by
sltkr
1y ago
No, it doesn't block localhost. Also you can add exceptions, so if you have e.g. a HTTP-only server on your local network, you can whitelist it manually.
137.
▲
by
sltkr
1y ago
Yes, and then that one adopts the same policy. You switch again. Repeat. At some point you run out of options.
138.
▲
by
sltkr
1y ago
This is what Apple already does, isn't it? Why wouldn't it work for Google too?
139.
▲
by
sltkr
1y ago
No because then you lose the ability to compare objects for equality.
140.
▲
by
sltkr
1y ago
Nothing so complicated. The HTML source of femboy.ca/ literally contains: <img src="https:////ipv4.games/claim?name=femboy.cat" hidden> However, the question is why would this domain ge
141.
▲
by
sltkr
1y ago
You're doing the thing where you hold age-verified requests to an unreasonably high standard of privacy, ignoring the status quo. The absolute majority of porn viewers access a mainstream site like Pornhub through their home or mobile
142.
▲
by
sltkr
1y ago
Are the laws that require you to show ID to buy alcohol, tobacco, fire arms, or gamble in casinos also discriminatory? Or is it only discriminatory when you prevent people without IDs from watching porn?
143.
▲
by
sltkr
1y ago
The “not everyone has an ID!” argument is such an American perspective. The vast majority of world citizens live in countries that require you to have some form of government ID anyway: https://en.wikipedia.org/wiki/Lis
144.
▲
by
sltkr
1y ago
While you are technically correct (the best kind of correct), official guidance is to use support libraries that are at least as new as the targetSdkLevel, so if you follow that recommendation you still have to update. Also, I try to at l
145.
▲
by
sltkr
1y ago
Does it work on iOS too?
146.
▲
by
sltkr
1y ago
I'm surprised Google indexes these short links. I expected them to resolve them to their canonical URL and index that instead, which is what they usually do when multiple URLs point to the same resource.
147.
▲
by
sltkr
1y ago
You can't get promoted at Google for not changing anything.
148.
▲
by
sltkr
1y ago
I bet 99% of URLs that exist on the public web had no activity last month. Might as well delete the entire WWW because it's obviously worthless.
149.
▲
by
sltkr
1y ago
Is there any evidence that this is the case, though?
150.
▲
by
sltkr
1y ago
If this was all there was to it, I'd expect a surcharge for risky payments instead.
More ›