computational linguist more like bomputational bimgis

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

help-circle

  • The past participle of a verb is used as the passive participle (e.g. indicates the passive voice, where the patient of the verb is the subject and the agent is the indirect object). “She was killed” or “He was eaten” is in the passive voice, while “I died” or “I killed” is in the active voice. It’s normally supposed to be preceded by an auxiliary verb (in this case “be”), but news titles omit the copula among other things.



  • 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
    3 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
    3 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).



  • Honestly I hate the fact that browsers’ default CSS exists. The person doing the frontend should have to specify their “default” CSS before the website even loads. I say this as both a user and a programmer, the same website shouldn’t look different or break on different browsers unintentionally due to the browser’s CSS, and I as a developer shouldn’t have to rely on reset sheets to try to patch that.

    Everything would be better if it were swapped around, instead of picking out a reset sheet for a site you pick out a default style…

    The world would also be better if browsers rendered pugjs/slim and scss/sass and those were the default rather than html and css but I digress…





  • You’re just flat out lying at this point lol. 21-23% of the entire Israeli Jewish population is first-generation immigrants; 30-35% is second-generation, direct offspring of immigrants; 30-35% is third-generation; 10-15% is fourth-generation; under 5% is fifth-generation or beyond (which would include Jews who lived there since before Aliyah). These are numbers are from the Israeli Central Bureau of Statistics. There’s also statistics that rather say 40-45% are third-generation with much less being fourth-generation or beyond, but with around the same amount or slightly less being first and second generation – I find the former estimates far more reasonable though. It’s estimated around 90-97% of Israeli Jews are descended from immigrants since 1900.

    A majority of Israeli Jews are descended from immigrants of several Aliyah (immigration to “Zion” from outside of the lands of Palestine/Israel, practically starting from 1882 but mostly ramping up around the start of the British/Israeli oppression of Palestinians in the region in the early and mid 1900s). Even the most conservative estimates say that around 50-70% of Israel’s Jewish population growth since 1900 came from immigration, with most of the rest of the population growth coming from recent immigrants having children. And those are really conservative estimates, the actual amount is likely much higher than that.

    A significant portion of Israeli Jews came from immigration in the 90s, especially from the Soviet Union after its collapse – 1.4-1.6 million Jews (compared to Israel’s total current Jewish population of around 7.4 million) immigrated to Israel following the collapse of the USSR. Over a fifth of the entire Israeli Jewish population in just the span of one generation. Yet second- and third-generation Israeli Jews make up like 3-3.5x as much still.

    It’s crazy for you to try to state that modern Israelis aren’t primarily (nearly exclusively) descended from relatively recent immigrants who displaced (and outright genocided) the native population. You straight up just made that up without consulting any history/statistics, not even Israel’s own statistics lol. Palestine faced a colonization and replacement by Jewish immigrants – according to the Jewish Virtual Library, 8% of people in the region were Jewish in 1882; then 11-13% after the end of WW1, after the adoption of a Zionist policy for Palestine and occupation by the UK (see the Balfour Declaration); then 32% in 1947 after several Aliyah; then in 1948 – the year the Israel was formally established and immigrants were shipped in from all over the globe, and the year European immigrants to Israel started all-out total war and genocide against Palestinians – that number jumped to 82%. It is not Jews’ “indigenous land”, 93%+ of people in the region were Arab Muslims at the time of the first Aliyah, hundreds of thousands compared to the 9,000 Jews and even less Christians. Jews hadn’t been the majority in the region since the 4th century, Arabs & Muslims have been the majority since before the Magna Carta, the Crusades, European Feudalism, they were most of the population when France just started to exist.

    Considering the actual facts of the situation, your justification basically becomes “colonization and apartheid in the modern day is okay because some other people they identified with lived there 1,500-3,000 years ago”, in which case I have some bad news for like, 95% of Europeans, Middle Easterners, and Asians, who all exist on lands which were someone elses in that same time period. Ethnonationalism with feeling you have a “right” to certain land you have no actual connection to based on some ancient “predecessor” civilization that had those lands stolen from them before Hindu-Arabic numerals existed is a strong hint that you’re in the wrong (see: Nazism). Modern Jews are about as indigenous to Israel as the modern Japanese are to Korea, or modern Turkish are to Mongolia.

    Zionism is modern-day ethnonationalism and colonialism by predominantly non-Levantine peoples (more than half of those being primarily European in ancestry). Its purpose is creating and justifying an ethnostate where Jews are superior and have rights that other groups don’t have – and such things are cemented in the Israeli constitution and law. To exist, Israel requires relegating non-Jews to second-class personhood and requires (or required at some recent point in time) commiting acts of genocide towards certain non-Jews; abolishing that would be abolishing the concept of Israel and Zionism as a whole. There is no real moral defense of the state of Israel.





  • Chimpanzees are likely going to be extinct 2-3 decades from now. Bonobos will be extinct in 4-6 decades. Orangutans will go extinct within 10 to 20 years. Most animals closely related to humans (including most apes & monkeys) are projected to become extinct within a few decades. I do not want to be alive when gorillas go extinct

    This is mostly due to the meat trade (apes and monkeys are often killed for meat which is eaten by locals or traded), being affected by the wars in the Congo/Africa, being kidnapped & sold as exotic pets, and habitat loss from human resource harvesting/logging & development. Humans are effectively displacing, enslaving, slaughtering, and cannibalizing their distant cousins