computational linguist more like bomputational bimgis

  • 0 Posts
  • 27 Comments
Joined 7 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
    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).



  • sparkle@lemm.eetoMemes@lemmy.mlcan we be all rich together?
    link
    fedilink
    Cymraeg
    arrow-up
    1
    ·
    edit-2
    3 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.



  • 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…



  • sparkle@lemm.eetoMemes@lemmy.mlcouldn't be me
    link
    fedilink
    Cymraeg
    arrow-up
    4
    ·
    edit-2
    4 months ago

    That’s one difficult thing, it can be pretty hard to tell from the outside whether it’s the product of grooming or not. The same goes for a lot of very legal types of relationships though, so I don’t think the possibility of it happening is a reason to completely criminalize it. The difference compared to the other things listed (children and animals) is those things can’t consent, it’s an impossibility.

    I think enforcing some arbitrary age gap maximum for siblings though would make sense – incest between parents and children should be illegal full stop imo, and it’s hard to believe that any relationships between siblings who are 10 years apart isn’t from grooming.

    That being said, I’m not sure that with our current shitty justice, law, and health system (in the US) that it’s worth it to start giving equality to those types of relationships considering we just don’t have the infrastructure or society to effectively prevent the legality being used to facilitate grooming. Society is too corrupt to prevent or bring justice for abuse at the scale needed. But people made similar arguments for incest being illegal as for interracial relationships being illegal so maybe I’m wrong.


  • sparkle@lemm.eetoMemes@lemmy.mlCapitalism and fascism
    link
    fedilink
    Cymraeg
    arrow-up
    1
    ·
    edit-2
    4 months ago

    Fascism in the most vague sense that you can get while still being accurate is enforcement of a hierarchy, practically no social mobility, based on traits like ethnicity, sex, wealth, etc. supposed to be the “natural order” of society; often involving some sort of mythological/religious/idealized “past” or predecessor society/civilization which was then upended by some sort of evil group(s) (the targetted groups/scapegoats), which stole from us and which are an evil that need to be stopped. This, of course, is slightly different from how Mussolini’s fascism was originally visualized – which was a corporatist nationalist dictatorship about “might”/the strong coming out on top (translated into militarism) justified by religion/mythology (in fascist Italy’s case about being the successor to the great ancient Rome and seeing through to a greater Roman Empire) – but it’s how the world has become to understand the concept of fascism as time went on.

    This is the reason many see capitalism as sort of “diet fascism” – it’s entirely about a hierarchy based around socioeconomic class/groups, with highly restricted social mobility (although not completely closed off as fascism’s is), and it’s seen that your place in the hierarchy in a hypothetically purely capitalistic system is the natural order of things – your place in the hierarchy is supposedly based on how hard you work, rich people are rich because they’ve simply worked smarter and harder than the people under them, and anyone can go up the hierarchy if they simply just are a better person. Of course, in reality we know this doesn’t work and among other things generational wealth & systematic roadblocks created by the wealthy play a major factor in this hierarchy, but I digress. The reason classical liberalism / free market capitalism hates class equality, hates a system like socialism which calls for abolishing unjust hierarchies, is because it sees the abolition of the socioeconomic/class-based hierarchy as going against the natural order and forcibly placing people in the “wrong” places in the hierarchy (all on the same level) when some people deserve to be below others because they’re lazy, illegal immigrants, “criminals”, etc. In essence, they see equality not as equality, but as an “upside-down” hierarchy where the former upper class is forced below the formerly marginalized groups; to a more privileged person, equality feels like oppression. Capitalism needs an underclass to function, in a capitalistic system people with certain traits always have an unequal distribution throughout the hierarchy (scapegoated/marginalized groups significantly tending to pool at the bottom with only a few “token” examples truly traversing upwards, and people closer to the top of the pyramid being less and less prone to falling down the hierarchy). It sounds a lot like fascism, because fascism and capitalism are ideologies/systems with loosely equivalent structures but capitalism being far less pronounced.

    Additionaly, classical liberalism & moreso conservative capitalism are centered around reggressing to a supposed “golden age” of the past where things were better before “they” ruined it (whoever “they” is and what specifically “they” did is vague and changes from belief to belief but usually includes taxation/redistribution of wealth/power away from the people at the top of the hierarchy, or some shift in the hierarchy). It’s like a much less pronounced form of the mythologized predecessor civilization/society of fascism, instead of hundreds or thousands of years ago it’s more like 30-40 years ago.

    Fascism in the way we currently understand it doesn’t even strictly require dictatorial/autocratic rule, it can be enforced in a technically “democratic” system as long as certain groups are excluded from the democratic process. Of course, the line between democracy, broader oligarchy, narrower oligarchy, and autocracy becomes blurrier the more of the population you exclude, since democracy is more of a spectrum than anything, but generally there’s a lot of possible fascist systems where people would still consider it democratic enough. Your perspective is pretty deeply tied to which group you belong to as well – the average German thought Nazi Germany was a democracy even when Poland was invaded and throughout much of the war, but obviously the Roma and Jewish populace being genocided would definitely not agree. Capitalism does this exclusion to a large extent too – just usually not in the form of outright completely banning a group from participating – and the upper classes have signficantly more say in the democratic process, to the point where the upper classes can choose to completely eliminate options they collectively dislike enough from the equation regardless of the consent of the lower classes.

    Overall while fascism and capitalism aren’t a complete overlap, fascism is for the most part a progression of capitalism (or, as more and more people see it, capitalism is a derivation of fascism and/or feudalism where we keep trying to patch up the flaws using a few socialist/progressive/democratic qualities) and pretty much requires a capitalist (or capitalist-adjacent) system to exist. Fascism can’t use, say, a socialist system because socialism inherently requires working towards the abolition of the power structures/hierarchies which fascism is based around. Of course, in fascist systems the supposed “superior” class often has power redistributed to them in the form of e.g. social welfare benefits and infrastructure investments, which isn’t straight up classical liberalism obviously, but that doesn’t necessarily violate capitalism/the capitalist power structures as a whole, it’s just using a different form of capitalism in order to keep the currently-not-scapegoated but also-not-highest castes content and thinking that things aren’t so bad.

    If you have any questions about this or can’t see the reasoning of certain parts, I’m sure I (or someone else) will be happy to answer it for you.