• 1 Post
  • 18 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle




  • force@lemmy.worldtoScience Memes@mander.xyzI just cited myself.
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 days ago

    Lol what? How did you conclude that if 9x = 5 then x = 1? Surely you didn’t pass algebra in high school, otherwise you could see that getting x from 9x = 5 requires dividing both sides by 9, which yields x = 5/9, i.e. 0.555... = 5/9 since x = 0.555....

    Also, you shouldn’t just use uppercase X in place of lowercase x or vice versa. Case is usually significant for variable names.


  • force@lemmy.worldtoScience Memes@mander.xyzI just cited myself.
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 days ago

    Pi isn’t a fraction (in the sense of a rational fraction, an algebraic fraction where the numerator and denominator are both polynomials, like a ratio of 2 integers) – it’s an irrational number, i.e. a number with no fractional form; as opposed to rational numbers, which are defined as being able to be expressed as a fraction. Furthermore, π is a transcendental number, meaning it’s never a solution to f(x) = 0, where f(x) is a non-zero finite-degree polynomial expression with rational coefficients. That’s like, literally part of the definition. They cannot be compared to rational numbers like fractions.

    Every rational number (and therefore every fraction) can be expressed using either repeating decimals or terminating decimals. Contrastly, irrational numbers only have decimal expansions which are both non-repeating and non-terminating.

    Since |r|<1 → ∑[n=1, ∞] arⁿ = ar/(1-r), and 0.999... is equivalent to that sum with a = 9 and r = 1/10 (visually, 0.999... = 9(0.1) + 9(0.01) + 9(0.001) + ...), it’s easy to see after plugging in, 0.999... = [n=1, ] 9(1/10)ⁿ = 9(1/10) / (1 - 1/10) = 0.9/0.9 = 1). This was a proof present in Euler’s Elements of Algebra.









  • snake case for everything, pascal case for struct/enum/class/trait names, and screaming snake case for constexpr identifiers is the superior method of naming. FUCK camel case, java/c# naming conventions are dumb and stupid and cringe, rust did it right

    i’m in pain every time i use scala/f# or something and i have to actually interact with those HEATHEN java/c#-conformist identifiers




  • That’s one of the important reasons that the far-right took over politics in Italy recently, the Italian right is very pro-Ukraine while the Italian left is anti-Ukraine for some godawful reason. Being pro-Ukraine alone got them a significant portion of votes the left would’ve gotten otherwise. Couple that with one of the primary issues in politics becoming LGBTQ rights, with (especially southern) Italy being largely very catholic and consequently anti-gay (in fact gay marriage is still illegal in Italy, you only have same-sex civil unions), and with the other primary issue being immigration (mostly as a guise for racism), the Italian public started voting very right-wing.

    The fact that the left started infighting in Italy and were completely splintered at the time of elections spelled their doom. You can find a similar scenario in some other European countries in the past few years.

    Now that the right is fucking basic shit up in Italy, a good amount of the public has slowly been starting to realize that they liked it way more when the leftists were in charge and making slow improvements, even if it wasn’t perfect… but it isn’t helping much to stop the rise of the right. Italy has always been aligned with highly conservative beliefs, it’s common to miss the “good ol’ days” when Mussolini was in charge and the economy was good, so it’s the norm for politicians to openly say borderline fascist things (well now it’s just flat out blatantly fascist speech).



  • force@lemmy.worldtoLemmy Shitpost@lemmy.worldJragon
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 months ago

    English phonology, American English dialects’ (and other dialects’) /r/ is usually pronounced retracted, post-alveolar/pre-palatal (usually bunched/molar), transcribed something like [ɹ̠ᶹ], so it causes alveolar consonants in the same cluster to retract/palatalize, usually into a post-alveolar affricate ([d͡ʒ] – the “j” sound for voiced stop /d/, [t͡ʃ] – the “ch” sound for voiceless stop /t/, [ʃ] – the “sh” sound for voiceless fricative /s/). The term would be assimilation (of place of articulation).

    “Dragon” /dræ.gən/ -> [dɹ̠æ.ɡɪ̈n] -> [d̠ʒɹ̠æ.ɡ(ɪ̈)n]

    You can see the same thing with words like “tree” /tri/ -> [t̠ʃɹ̠i] or even “street” /strit/ -> [ʃt̠ɹ̠it]

    Would explain simpler but can’t, break ends now, just know its because consonant pronounced in different place in mouth is conforming to being pronounced in the same place in mouth as other consonant that is right beside it (like with “in-” vs “im-”, “impractical”, which notably isn’t “inpractical”, or “incandescent” which notably isn’t “imcandascent”, or “indecisive” etc. etc.)