Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
sltkr
1y ago
I really doubt it's as simple as “just not legal”; most anti-discrimination laws allow for reasonable exceptions, especially when women's safety is at stake. There may still be lawsuits, but it's not obvious that Uber would l
152.
▲
by
sltkr
1y ago
Pet peeve: the blog post mentions _decimal_ and _denary_ several times, but in reality, there are no decimal numbers involved in any part of the computation. This is a common mistake made by people who haven't fully internalized the di
153.
▲
by
sltkr
1y ago
It seems like author means his implementation is competitive in terms of _compression ratio_ only, and this is achieved in the final Huffman encoding step. From that perspective the BWT implementation isn't very interesting because the
154.
▲
by
sltkr
1y ago
The really bad actors are going to ignore robots.txt entirely. You might as well be nice to the crawlers that respect robots.txt.
155.
▲
by
sltkr
1y ago
DEFLATE has a rather low maximum compression ratio of 1:1032, so a file that would take 1 GB of memory uncompressed still needs to be about 1 MB. ZIP bombs rely on recursion or overlapping entries to achieve higher ratios, but the PNG forma
156.
▲
by
sltkr
1y ago
Interesting--thanks for checking! I had good experiences with bzip3 compressing Wikipedia XML dumps, to the point it even outperformed xz, so I thought something similar might happen here. Compression does remain a bit of a black art, where
157.
▲
by
sltkr
1y ago
It does really vary based on the data set. If the email data is mostly text with markup (like HTML/XML), you might want to try bzip3 too. It's also possible that a large part of your email is actually already-compressed binary dat
158.
▲
by
sltkr
1y ago
I think your mistake was to use --ultra without a compression level. I redid your experiments with rust-wasm-1.83.0-r0.apk: size perc c.time d.time uncompressed: 290072064 - -
159.
▲
by
sltkr
1y ago
To be pedantic, it's still possible for people to modify their behavior based on mistaken beliefs (in this case, that COVID is really dangerous, when it isn't for healthy young people). Though I don't think this explains the
160.
▲
by
sltkr
1y ago
Even a broken clock is right twice a day.
161.
▲
by
sltkr
1y ago
docx is supposed to be a portable format. There are many tools other than Word that open them. Just LibreOffice and Google Docs for example. They might well differ from Word or from each other in how they handle this case. Definitely worth
162.
▲
by
sltkr
1y ago
That demonstrates how useless this is. It only shaves off kilobytes on extremely bloated sites that waste megabytes of data. For example, take the CNN example: > The JavaScript was 98% smaller using the previous version as a dictionary f
163.
▲
by
sltkr
1y ago
That's not “the” full quote; it's a modern variation of the classic quote.
164.
▲
by
sltkr
1y ago
Or garbage collection. Or interfaces. Or packages. Or actual generics.
165.
▲
by
sltkr
1y ago
That just enumerates the entire sequence; I think the challenge is to do it faster than that. By the way, the use of `filter` makes your implementation unnecessarily slow. (The posted link also contains Haskell code, which uses `delete` fro
166.
▲
by
sltkr
1y ago
My standard code for doing this looks like this: #include <algorithm> #include <array> #include <random> std::mt19937 InitializeRng() { std::array<unsigned int, 624> seed_data; std:
167.
▲
by
sltkr
1y ago
It's not quite literally the smallest, but the interesting question is what fraction of all states represent such unreachable states.
168.
▲
by
sltkr
1y ago
That's what the code already does. It packs 16 fields into a base 12 representation that takes up 57.36 bits and uses the remaining 6.64 bits to store a random seed between 0 and 99 (exclusive).
169.
▲
by
sltkr
1y ago
You need 16^16 for 32768 because 0 is used to represent an empty tile (2^0 = 1 is not used) which is exactly equal to 2^64. The state in this implementation also stores a random seed (between 0 and 99, exclusive), so using 16^16 for the sta
170.
▲
by
sltkr
1y ago
Right, but the claim was “GOOGLE wants you to watch ads AND pay for a subscription” and that doesn't seem to be supported by the evidence. I get that as a premium subscriber you still see in-stream sponsored content, but that's be
171.
▲
by
sltkr
1y ago
The main problem with this analysis is that not all Youtube viewers are of equal value to advertisers. Premium subscribers are the people who have demonstrated that they are willing and able to spend money on luxuries. These are also the pr
172.
▲
by
sltkr
1y ago
This is too simplistic. Youtube started as an ad-supported service and today ads still generate the lion share of Youtube's revenue. Youtube ads are some of the most expensive to buy; Google has no incentive to push viewers off the ad-
173.
▲
by
sltkr
1y ago
You claimed: > laws and “audits” do little more than nothing to meaningfully protect data I asked you for evidence for this claim and you provided none. Please either put up or shut up. I'm not going to keep engaging with you while
174.
▲
by
sltkr
1y ago
True, and I addressed that a bit in my other comment here: https://news.ycombinator.com/item?id=44212409 The short version is that I think people who don't realize their ISP can see which sites they visit aren't a
175.
▲
by
sltkr
1y ago
> Good thing we only ever have intentional leaks, then. I already addressed this: unintentional leaks from regulated companies are very rare. It's not a perfect system, but it works to some extent. > LGBT individuals have killed
176.
▲
by
sltkr
1y ago
Where's your evidence for that claim? Personally I worked for a FAANG company that took data protection quite seriously. I would love to say that it was because they cared so much about their customer's privacy (which was of cours
177.
▲
by
sltkr
1y ago
The solution to that is to make sure the age verification is used for a variety of different purposes. For example, why not use the same age verification system to block access to sites that advertise or sell alcohol or tobacco products? Or
178.
▲
by
sltkr
1y ago
First, intentionally leaking this type of data is extremely illegal under Europe's strict privacy laws. So we are limited to unintentional breaches of privacy which can be guarded against with auditing requirements. Second, you have to
179.
▲
by
sltkr
1y ago
https://netzpolitik.org/2025/porno-streit-vor-gericht-darf-d... Skimming this it sounds like pornhub is/was at least partially blocked on the ISP level. Not sure about the extent of the blockage today but I could
180.
▲
by
sltkr
1y ago
How is that surprising? After the US, the three largest Western countries are Germany (which already banned Pornhub), the UK and France, but the UK and France are virtually tied in terms of population, so it was always going to be a tossup
More ›