hydroptic

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

hydroptic ,

Browser maker decided not to follow Putin's orders. Well done

Only after it caused a PR flap for them, though

hydroptic ,

Yeah that's a fair point, although it's still a bit… well, funny (not "funny ha ha") that they even temporarily blocked those extensions. Not sure what Roskomnadzor could have done if Mozilla had refused even a temporary block, at least assuming the foundation doesn't have any legal entities in Russia which they may well have

hydroptic ,

Google Translate is generally hot garbage. I've actually found DeepL surprisingly good especially with more "niche" languages like Finnish, although it does definitely sometimes get things hilariously wrong

hydroptic ,

Is that DeepL's app? I've never used it so I have no idea what the UI looks like and I didn't try to translate the sign's text with the web version.

Edit: out of curiosity I tried out how the web version handles this sign:

https://sopuli.xyz/pictrs/image/75dbbbc5-d920-41e6-9766-bf03e37f3e5f.webp

hydroptic ,

Ah right, that definitely makes sense. I can imagine OCR'ing Kanji could be a bit of a nightmare

hydroptic ,

Officers threatened to kill the dog of Thomas Perez Jr as they pressured him to falsely confess to killing his father, who was alive

What the fuck. Average pig moment.

hydroptic ,

Do you want to learn about probabilistic data structures?

  • maybe
  • no
hydroptic ,

That's definitely not what they're most useful for. I mean, you probably can use a bloom filter for implementing spell check, but saying that's where they're most useful severely misses the point of probabilistic set membership queries.

Bloom filters and their relatives are great when you have a huge set of values – eg. 100s of millions of user IDs in some database – and you want to have a very fast way of checking whether some value might be in that set, without having to query the database. Naturally this assumes that you've prepopulated a bloom filter with whatever values you need to be checking.

If the result of the bloom filter query is "nope", you know that the value's definitely not in the set, but if the result is "maybe" then you can go ahead and double-check by querying the database. This means that the vast majority of checks don't have to hit that slow DB at all, and even though you'll get some false positives this'll still be much much much faster than having to go through that DB every time.

hydroptic ,

Which example do you mean?

If you meant my user ID example, you'd prepopulate the bloom filter with existing user IDs on eg. service startup or whatever, and then update the filter every time a new user ID is added – keeping in mind that the false positive rate will grow as more are added, and that at some point you may need to create a new filter with a bigger backing bit array

hydroptic , (edited )

Well, yes and no. With a straight-up hash set, you're keeping set_size * bits_per_element bits plus whatever the overhead of the hash table is in memory, which might not be tenable for very large sets, but with a Bloom filter that has eg. ~1% false positive rate and an ideal k parameter (number of hash functions, see eg. the Bloom filter wiki article) you're only keeping ~10 bits per element completely regardless of element size because they don't store the elements themselves or even their full hashes – they only tell you whether some element is probably in the set or not, but you can't eg. enumerate the elements in the set. As an example of memory usage, a Bloom filter that has a false positive rate of ~1% for 500 million elements would need 571 MiB (noting that although the size of the filter doesn't grow when you insert elements, the false positive rate goes up once you go past that 500 million element count.)

Lookup and insertion time complexity for a Bloom filter is O(k) where k is the parameter I mentioned and a constant – ie. effectively O(1).

Probabilistic set membership queries are mainly useful when you're dealing with ginormous sets of elements that you can't shove into a regular in-memory hash set. A good example in the wiki article is CDN cache filtering:

Nearly three-quarters of the URLs accessed from a typical web cache are "one-hit-wonders" that are accessed by users only once and never again. It is clearly wasteful of disk resources to store one-hit-wonders in a web cache, since they will never be accessed again. To prevent caching one-hit-wonders, a Bloom filter is used to keep track of all URLs that are accessed by users. A web object is cached only when it has been accessed at least once before, i.e., the object is cached on its second request.

‘Moscow Marjorie’: Republican accuses Marjorie Taylor Greene of irresponsible Ukraine rhetoric ( www.theguardian.com )

The far-right Georgia congresswoman Marjorie Taylor Greene is ungovernable and should be known as “Moscow Marjorie”, said a former Republican colleague in the US House, accusing Greene of “getting her talking points from the Kremlin” when opposing new federal aid for Ukraine....

hydroptic ,

Funny how Republicans only manage to grow a spine when they're former representatives, if even then

hydroptic ,

Unfortunately having more choices doesn’t necessarily mean people get any smarter. In Finland we have about 20-ish registered political parties (in a country of 5 million) and we now have a far right government that lied its way into power, gutted our welfare system, destroyed public healthcare, significantly weakened worker protection from getting fired spuriously, made political strikes illegal to stop people protesting them, and has multiple literal neo-Nazis in it.

hydroptic ,

We’re fairly conservative compared to the rest of the Nordics, so it’s probably just a case of Finns being complete fucking imbeciles as per usual. It’s even been a running joke here that Russia doesn’t have to do anything to us, we’re perfectly capable of fucking up the country ourselves.

And it’s not likely to get any better either. The under-25’s are more conservative than millennials or even Gen X

hydroptic ,

Wait, 5 million people had 20 different choices, and y’all picked the nazis? How the fuck did that happen?

Too many Nazis here, and I’m not being facetious.

The best (“best”) part is that one minister essentially had to resign because he’s a Nazi, so the extremist right wing party (well, one of them…) replaced him with a pedophile Nazi. Somehow he hasn’t been forced to resign. I guess part of it is that he’s more “smart” about his Nazism and doesn’t do it as openly as the other dude, and reich-wingers say that he’s not a pedophile because he didn’t get convicted, but that’s only because cops couldn’t (or, more likely, wouldn’t) prove anything except that he had asked eg. teenagers out on dates, called them sexy etc etc but none of that is illegal.

Honestly this country is incredibly fucked up and in case anybody was planning to visit I recommend staying the fuck away, there’s better vacation spots with fewer Nazis.

But yeah, I don’t think any system of government will work. Humans are just way too shitty on average

hydroptic ,

16, looks like. Why?

hydroptic ,

And then there’s the chuds who go “ackchually it’s not pedophilia it’s ephhpehehehbebehophilia” when the kids are past puberty.

hydroptic ,

Thieves stole period? Oh no, now I’ll have to end my sentences in either question or exclamation marks!

hydroptic ,

Somebody else knows about interrobangs‽ Terrific!

hydroptic ,

That’s not correct as far as I can tell. The backdoored code ended up in release tarballs (but not source tarballs because of autoconf fuckery), see eg. this mailing list discussion.

hydroptic ,

HN comments have some more in-depth information about this news.ycombinator.com/item?id=39865810

hydroptic ,

I think that dog may be suffering from what the professionals call “being a silly goober”.

hydroptic ,

The way I’ve seen someone do these is just to have a person with a camera underwater, and then throw a ball in for a very ball-motivated doggo who likes to swim → doggo thinks he is fisho

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines