Kacarott

joined 1 year ago
[–] Kacarott@feddit.de 2 points 4 months ago

If you are gonna fake something like this, you wouldn't actually shoot a bullet, you'd use a blank and some tiny blood pack like they use in movies.

[–] Kacarott@feddit.de 1 points 4 months ago* (last edited 4 months ago) (1 children)

I've heard people (admittedly only online) advocating for surgery for trans minors, the main argument being that puberty has such a big impact that an earlier surgery often means a much more effective result.

(This is just from memory, I might be getting stuff wrong)

[–] Kacarott@feddit.de 3 points 5 months ago

To be honest, it comes across as bad communication to me. If you mean "some people" or even "some cis people", then why not say that? The way you say it sounds like all, or almost all cis people don't understand, which I think is presumptuous and untrue. Pretty much every cis person I know would understand those to be gender affirming care. Just because some people (especially those in power) don't seem to understand that doesn't justify making it a generalisation.

Thats probably not how you meant it, I just want to point out how it comes across to at least some people, which might imply it isn't the best communication.

[–] Kacarott@feddit.de 9 points 5 months ago

The way I see it is that Signal's primary ""mission"" is to provide secure, private communication. Chat control presumably would mean they could not fulfill their mission, so they should rather pull out.

For Duolingo, their mission to provide easy access language learning is not directly impacted by the rules in Russia. Even if all the employees are against the rules in Russia, Duolingo can still provide language learning in Russia, which they might see as a worthwhile endeavour.

After all, afaik Duolingo being available is not actually beneficial for the Russian government, as it's another way for money to leave Russia ( ? I think), and makes it easier for Russians to get a wider worldview.

[–] Kacarott@feddit.de 6 points 5 months ago

Fake nails. I have nothing against people who wear them, but for some reason it just instantly makes me think we are not compatible at all.

[–] Kacarott@feddit.de 4 points 6 months ago

Talos 2 was great. The first game is also incredible if you haven't played it.

[–] Kacarott@feddit.de 2 points 7 months ago

Honestly, this looks super cool. A bunch of cosmetics and lore, and it looks like the should be semi-regularly more coming. A little surprised the game itself doesn't seem changed (items, heroes, map?) but still cool

[–] Kacarott@feddit.de 3 points 7 months ago

I think the talking down aspect comes from phrases like "you shouldn't be doing X", especially when these statements are made as absolutes, rather than contextualised with actual reasons.

Running GUI programs as root might cause security problems, or it might cause software problems. And while you might find these issues important, others might not.

In my opinion, saying something like "it's not a good idea if you care about security" or "doing so might make your PC burst into flames" gives helpful warnings for OP and future readers without talking down to them by making decisions for them what they should and should not do.

[–] Kacarott@feddit.de 1 points 7 months ago

In some langs like Python, | is also the "union" operator, to join sets and such, which I think is more directly related to types, since types are sets of possible values.

[–] Kacarott@feddit.de 2 points 7 months ago* (last edited 7 months ago)

Well what is an enum except a chain of X | Y | Z | .... An enum can be any of its variants, and therefore the set of its possible values are just all possibilities of its variants added together.

Consider this enum:

enum Foo {
  A,
  B(bool),
}

The possible values for A are just one: A. The possible values for B are B( true ) and B( false ). So the total possible values for Foo are simply these sets combined: A or B( true ) or B( false ).

As for product types, what it is the product is, is still the same: the sets of possible values. Consider the possible values for the product of A and B. For every possible value of A, a value could be made by matching it with any possible value of B (so, multiplication). If there are 3 possible values of A, and two possible values of B, then the total number of possible combinations of these for the product type is 6.

In your example, Dog is a product of u8, another u8, and String. If you decide to add a Boolean field to this type, accordingly the size of the set of options would double, because for every possible Dog you currently have, two possibilities would be created, one with a true and one with a false.

As for your last question, some languages might use x as a product type syntax, but because tuples and structs are inherently product types, most languages use those as Syntax. For example in Haskell the product type of Dog and Cat would be written as (Dog, Cat).

[–] Kacarott@feddit.de 1 points 7 months ago (3 children)

Saying "X is bad" or "Y over X" is not the same as saying "there is never a place for X". I think JS is a pretty bad language, and prefer other languages to it, but I still recognise very obvious places where it should be used.

Maybe it depends on the way you understand types, but to me sum and product types are completely intuitive. A type is a set of possible values. A sum type is multiple sets added together (summed).

[–] Kacarott@feddit.de 2 points 7 months ago

There must be add-vantages to this design.

view more: next ›