• 0 Posts
  • 61 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle
  • Apparently that might or might not be a mistranslation?

    https://www.etymonline.com/word/checkmate

    mid-14c., in chess, said of a king when it is in check and cannot escape it, from Old French eschec mat (Modern French échec et mat), which (with Spanish jaque y mate, Italian scacco-matto) is from Arabic shah mat “the king died” (see check (n.1)), which according to Barnhart is a misinterpretation of Persian mat “be astonished” as mata “to die,” mat “he is dead.” Hence Persian shah mat, if it is the ultimate source of the word, would be literally “the king is left helpless, the king is stumped.”


  • Inflation is calculated off of the cost of some particular basket of goods, and tends not to be even across those goods.

    Yeah, if you eat a lot of corporate fast food, prices have skyrocketed recently. At a rate that far outpaces the local pizzeria and Chinese restaurant down the street, or the cost of chicken and eggs from the grocery store.


  • Pipoca@lemmy.worldto196@lemmy.blahaj.zonevimrule
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    9 months ago

    I used to do it more back in college where I’d ssh into the schools computers to work on assignments. It’s still sometimes useful if you’re in the console and want to edit something quickly.

    However, there’s e.g. macvim and gvim which are literally just vim in a gui; they give you menus and the ability to drag panes and click to move your cursor. With a decent LSP setup they can actually be pretty nice.

    And most other decent editors have vim emulation of various quality levels. Emacs is a bit buggy, but it’s really useful if you want to code in agda or clojure. And VS Code has fairly decent vim emulation.




  • Pipoca@lemmy.worldto196@lemmy.blahaj.zonevimrule
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    Even not being a vim wizard, editing code without vim keybindings feels… slow.

    Yeah, I could grab the mouse, highlight everything between the arguments to a function and hit delete. Or I could just go to the open paren and just hit d%. I could grab the mouse, highlight the line and hit delete, or I could literally just type dd.

    And trying to edit things in nano is positively masochistic.


  • The US parties are weird.

    Because there’s no PR, anyone who wants to be effective has to join one of the parties. Because of that, diversity in each party is way higher than you see in places that use party list PR.

    For example, the Democrats have both Alrxandria Ocasio Cortez, who describes herself as a democratic socialist, and Joe Manchin, a fairly conservative former coal exec from West Virginia.

    The real interesting bit of American elections tends to be the primaries, where all the voters registered with a party vote on who their candidate should be. Alexandria Ocasio Cortez got elected because she defeated the incumbent Democrat in the primary.

    In 2020, everyone from Bernie Sanders to billionaire Michael Bloomberg ran in the Democratic primary. There was some real choice there until Biden won and it became just Trump vs Biden.


  • Climbing harnesses are usually sitting harnesses that are more padded around the legs and back than work harnesses are.

    The bigger thing, though, is that suspension trauma typically happens when you’re purely hanging. The amount of time you can hang in a void in a work harness is way, way shorter than the amount of time you can bounce off a wall in a work harness, particularly if you’re able to support much of your weight with your feet.

    For climbers, the main worry would be hanging around if you’re somehow incapacitated from a heart attack or having been knocked out somehow, because workers are a lot more likely to be suspended over a void than climbers.



  • Pipoca@lemmy.worldtolinuxmemes@lemmy.worldAccurate?
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Homebrew is fairly different from pip, cargo or npm in that only python developers use pip, only rust developers use cargo, etc. And those are mostly used to manage libraries, rather than executables.

    Meanwhile, essentially everyone who uses the console uses homebrew regardless of what programming languages they might or might not use. I was making a joke about how good, useful and basically required homebrew is.


  • Sure, the definition of grade school doesn’t really matter too much. Because college texts are written in ways that violate pemdas.

    Look, for example, at https://www.feynmanlectures.caltech.edu/I_45.html

    For example, if f(x,y)=x2+yx, then (∂f/∂x)y=2x+y, and (∂f/∂y)x=x. We can extend this idea to higher derivatives: ∂2f/∂y2 or ∂^2f/∂y∂x. The latter symbol indicates that we first differentiate f with respect to x, treating y as a constant, then differentiate the result with respect to y, treating x as a constant. The actual order of differentiation is immaterial: ∂2f/∂x∂y=∂2f/∂y∂x.

    Notice: ∂^2f/∂y∂x is clearly written to mean ∂^2f/(∂y∂x).







  • It’s BE(D=M)(A=S). Different places have slightly different acronyms - B for bracket vs P for parenthesis, for example.

    But multiplication and division are whichever comes first right to left in the expression, and likewise with subtraction.

    Although implicit multiplication is often treated as binding tighter than explicit. 1/2x is usually interpreted as 1/(2x), not (1/2)x.



  • What frustrates me is that I have no power to push the party further left.

    The way to do that is exactly the same way that the tea party and MAGA influenced their parties:

    Show up at primaries. Vote for further left primary candidates. Primary centrists.

    Rashida Tlaib and Ilhan Omar won after the previous Democrat decided not to seek re-election. AOC successfully primaried a more centrist Democrat.

    The Senate and House are really, really important. The president isn’t a dictator, and the median senator honestly has a ton of power. Just look at how e.g. John McCain tanked Trump’s Obamacare repeal, and how Manchin has controlled what went into Build Back Better.

    President Bernie Sanders combined with a Republican House, a Republican Senate and our current Republican Supreme Court would get approximately nothing useful done.


  • That has to happen at the state level, as they control how the elections are conducted.

    Ish.

    If each state holds an internal ranked choice election and assigns their electors based on that, almost certainly the result would be that no one has 270 electoral college votes and the house of representatives gets to appoint whoever they want.

    You’d have to have a national ranked choice vote. That’s because ranked choice is inconsistent; you could have an election where A wins every state, but nationally D wins. More likely, though, you’d have vote splitting across states.