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

help-circle


  • One important thing to realize is that different dialects of English have slightly different grammars.

    One place where different dialects differ is around negation. Some dialects, like Appalachian English or West Texas English, exhibit ‘negative concord’, where parts of a sentence must agree in negation. For example, “Nobody ain’t doin’ nothing’ wrong”.

    One of the most important thing to understanding a sentence is to figure out the dialect of its speaker. You’ll also notice that with sentences with ambiguous terminology like “he ate biscuits” - were they cookies, or something that looked like a scone? Rules are always contextual, based on the variety of the language being spoken.



  • No.

    There’s two types of grammar rules. There’s the real grammar rules, which you intuitively learn as a kid and don’t have to be explicitly taught.

    For example, any native English speaker can tell you that there’s something off about “the iron great purple old big ball” and that it should really be “the great big old purple iron ball”, even though many aren’t even aware that English has an adjective precedence rule.

    Then there’s the fake rules like “ain’t ain’t a real word”, ‘don’t split infinitives’ or “no double negatives”. Those ones are trumped up preferences, often with a classist or racist origin.



  • Yeah, projects also exist in the real world and practical considerations matter.

    The legacy C/C++ code base might slowly and strategically have components refactored into rust, or you might leave it.

    The C/C++ team might be interested in trying Rust, but have to code urgent projects in C/C++.

    In the same way that if you have a perfectly good felling axe and someone just invented the chain saw, you’re better off felling that tree with your axe than going into town, buying a chainsaw and figuring out how to use it. The axe isn’t really the right tool for the job anymore, but it still works.


  • Pipoca@lemmy.worldtoProgrammer Humor@lemmy.mlSTOP WRITING C
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    10 months ago

    C is not how a computer truly works.

    If you want to know how computers work, learn assembly and circuit design. You can learn C without ever thinking about registers, register allocation, the program counter, etc.

    Although you can learn assembly without ever learning about e.g. branch prediction. There’s tons of levels of abstraction in computers, and many of the lower level ones try to pretend you’ve still got a computer from the 80s even though CPUs are a lot more complex than they used to be.

    As an aside, I’ve anecdotally heard of some schools teaching Rust instead of C as a systems language in courses. Rust has a different model than C, but will still teach you about static memory vs the stack vs the heap, pointers, etc.

    Honestly, if I had to write some systems software, I’d be way more confident in any Rust code I wrote than C/C++ code. Nasal demons scare me.


  • Pipoca@lemmy.worldtoProgrammer Humor@lemmy.mlSTOP WRITING C
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    10 months ago

    Right tool for the job, sure, but that evolves over time.

    Like, years back carpenters didn’t have access to table saws that didn’t have safety features that prevent you from cutting off your fingers by stopping the blade as soon as it touches them. Now we do. Are old table saws still the “right tool for the job”, or are they just a dangerous version of a modern tool that results in needless accidents?

    Is C still the right tool for the job in places where Rust is a good option?





  • Right.

    As described, for you to get two books, someone else got zero. For you to get three books, two people got zero.

    The median person gets zero books. A few lucky people get 2-36 books.

    Edit:

    She gives one book to her upline. She then sends out post to 36 more people to give her 36 books. Each one of them then needs to find 36 people each, which is now 1296 people in that level if they each want 36 books. Thus the exponential pyramid.

    If sounds like the book goes to your upline, and you only get as many books as you recruit people.






  • There’s more than 2 ways to get Israeli citizenship.

    Both of those fall under the “right of return” for Jews.

    Non-Jews with permanent residency can become citizens after 3 years if they give up their previous citizenship. Meanwhile, Jews are allowed to be dual citizens. For example, some Druze in the Golan Heights became Israeli citizens that way, particularly due to the Syrian Civil War.

    Also, in 1952, Israel passed a citizenship law that gave citizenship to anyone who had been a national of the British mandate in 1948, had registered as an Israeli resident in 1949, and hadn’t left Israel before claiming citizenship. So about 170k Arabs were granted citizenship, while the ~720k who fled or were expelled during the war were excluded, although they expanded eligibility a bit in 1980 to include Arabs who had returned to Israel after the war.