computational linguist more like bomputational bimgis

  • 0 Posts
  • 73 Comments
Joined 6 months ago
cake
Cake day: April 2nd, 2024

help-circle








  • For a lot of English speakers, the “had” and “have” in contractions is completely omitted in certain contexts. It’s more prevalent in some dialects (I’m in the south US and it’s more common than not). Usually “had” is dropped more than “have”.

    Also, English can drop the pronoun, article, and even copula for certain indicative statements. I think it’s specifically for observations, especially when the context is clear.

    looking at someone’s bracelet “Cool bracelet.” [That’s a]

    wakes upsigh Gotta get up and go to work…” [I’ve]

    “Ain’t no day for picking tomatoes like a Saturday.” [There]

    “No war but class war!” [There’s]

    “Forecast came in on the radio. Says there’s gonna be a hell of a lot of rain today.” [It said -> Says/Said]

    “Can’t count the number of Brits I’ve killed. Guess I’m just allergic to beans on toast.” [I; I]

    “House came tumblin’ down after the sinkhole opened up” [The]

    “I’d” can be “I would”, mainly if used with a conditional or certain conjunctions/contrastive statements (if, but, however, unfortunately). Also when preceding “have” – e.g. “I’d have done that”. Because “I had have” doesn’t make sense, nor does “I had <present tense>” anything. “I’d” as in “I had” is followed by a past participle.

    “I’d” is usually “I had” otherwise, forming the past perfect tense. But in “I’d better”, it’s a bit confusing because “had better” is used in a different sense – the “had” here comes from “have to” (as in “to be necessary to”) and can be treated as both a lexical verb and an auxiliary verb. “had better” is a bit of a leftover of more archaic constructions.







  • sparkle@lemm.eetoProgrammer Humor@programming.devaverage day in NPM land
    link
    fedilink
    Cymraeg
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Web bloat in a nutshell and why we need to switch to things like Web Assembly more than ever. It’s not WASM, but I used Laminar which is a Scala.js library, and it’s the absolute pinnacle of (frontend) web development. Scala in general is just really great for idiomatic web code, its flexibility is unbeatable.

    Another amazing alternative would be anything Rust. In fact I’ve used that much more than Scala for web. I’ve mainly used Leptos for full-stack and and Actix for backend, but I’ve seen Dioxus and Axum in good use and they both seem really great too.

    Apparently Lemmy uses Leptos for its UI so… that’s a +1.


  • sparkle@lemm.eetoProgrammer Humor@programming.devBrace Style
    link
    fedilink
    Cymraeg
    arrow-up
    2
    ·
    edit-2
    2 months ago

    I am a Scala and Rust fan. I can corroborate what you said

    The part about no semicolons/curly braces I like in Scala is that I can write a function and it’ll look virtually indistinguishable from a regular ol variable. Functions become much less of a ritual and integrate more nicely with the rest of the code. Other than that though, Rust definitely wins out because of the curly braces & semicolons. I use curly braces in most situations in Scala where I’d normally use them in Rust, and I would use semicolons everywhere in Scala if it weren’t considered unidiomatic. Whitespace-significant syntax is just really annoying to deal with. Using Python or even maybe F# makes me want to die because I keep accidentally missing an indent somewhere or indenting too much somewhere else or using the wrong kind of whitespace and the entire program implodes. At least Scala and Kotlin keep it sane

    Also it’s just way harder to visually organize in whitespace based languages. You basically have to do a bunch of magic tricks to make the code look slightly different in a specific scenario than what the language wants you to. Rust allows you to actually visually organize your code easily while also having a strong style rules which you shouldn’t stray too far from (or else the compiler will yell at you).



  • sparkle@lemm.eetoMemes@lemmy.mlcan we be all rich together?
    link
    fedilink
    Cymraeg
    arrow-up
    1
    ·
    edit-2
    2 months ago

    I somehow don’t think we will, considering the original commenter is seemingly pretending that they didn’t see the comment. I wanted to give the benefit of the doubt, but it’s hard to believe that they’re actually telling the truth about any part of what they said considering they apparently think Trump is the best candidate we have. American centrist and right wing policies are pretty anti-poor.

    He uses “left” to refer to Democrats in his comments so I just assumed he meant it here too.

    My only guess is that they mean “a for-profit church” when they say “a nonprofit that feeds the poor and temporarily under resourced”. But I dunno, maybe they’re telling the truth.