• 49 Posts
  • 2.55K Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle


  • “If nature has made any one thing less susceptible than all others of ex- clusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it. Its peculiar character, too, is that no one possesses the less, because every other pos- sesses the whole of it. He who receives an idea from me, receives in- struction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. That ideas should freely spread from one to another over the globe, for the moral and mutual instruction of man, and improvement of his condition, seems to have been peculiarly and benevolently designed by nature, when she made them, like fire, expansible over all space, without lessening their density at any point, and like the air in which we breathe, move, and have our physical being, incapable of confinement or exclusive appropriation. In- ventions then cannot, in nature, be a subject of property. . . .”

    —Thomas Jefferson














  • Yeah, I think “a slice of bread” is a lot more common than “a bread slice”. Not to say I haven’t ever heard “a bread slice” used. I’m sure I have at least a few times. It would be pretty rare, however.

    Though, I’m not sure “a pizza slice” is all that much more common. Maybe there are regions where it’s very common? Or maybe it’s more common in certain contexts? Like maybe sell-by-the-slice pizza places might tend to refer to “a pizza slice” rather than “a slice of pizza” when talking with coworkers? (That said, I’d imagine they’d just shorten it further to “a slice” since the “pizza” part would tend to be obvious in that case.)

    Also, @eager_eagle@lemmy.world mentioned “water bottle”. I think if I hear “a water bottle” rather than “a bottle of water”, I’m probably going to assume it may or may not be an empty bottle intended for water rather than a bottle filled with water as “a bottle of water” would imply.

    Way off the topic of programming, but linguistics is fascinating too!


  • The Go programming language documentation makes a big deal about how it “reads from left to right.” Like, if you were describing the program in English, the elements of the Go program go in the same order as they would in English.

    I say this as someone who likes Go as a language and writes more of it than any other language: I honestly don’t entirely follow. One example they give is how you specify a type that’s a “slice” (think “list” or “array” or whatever from other languages) of some other type. For instance a “slice of strings” would be written []string. The [] on the left means it’s a slice type. And string on the right specifies what it’s a slice of.

    But does it really make less sense to say “a string slice”?

    In Go, the type always comes after the variable name. A declaration might look like:

    var a string
    

    Similarly in function declarations:

    func bob(a string, b int, c float64) []string { ... }
    

    Anyway, I guess all that to say I don’t mind the Go style, but I don’t fully understand the point of it being the way it is, and wouldn’t mind if it was the other way around either.

    Edit: Oh, I might add that my brain will never use the term “a slice of bytes” for []byte. That will forever be “a byte slice” to me. I simply have no choice in the matter. Somehow my brain is much more ok with “a slice of strings”, though.



  • My company recently announced to the whole IT department that they’re contracting with Google to get Gemini for writing code and stuff. They had someone from Google even give a presentation rife with all kinds of propaganda about how much Gemini will “help” us write code. Demoed the IntelliJ integration and everything. I wouldn’t say we were “asked” to use it, but we were definitely “encouraged” to." But since then, there’s been no information on how actually to use our company-provided Gemini license/integration/whatever. So I don’t think anyone’s using it yet.

    I’d love to tell everyone on my team not to use it, and I am kindof “in charge” of my team a bit. But it’s not like there aren’t many (too many) levels of management above me. And it’s clear they wouldn’t have my back if I put my foot down about that. So I’ve told my team not to commit any code unless they understand it as well as they would had they written it themselves. I figure that’s sufficiently noncommittal that the pro-Gemini upper management won’t have a problem with it while also (assuming anyone on my team heeds it) minimizing the damage.



  • Yeah, maybe they were just more “sneaky” about keeping me from getting into Pokemon. I didn’t have cable, and nobody broadcast the Pokemon anime in my area. I was dissuaded from the card game because it was a money sink. (After Pogs, they didn’t want me participating in any other collectable stuff. They liked to pretend I had a “problem” or something with Pogs.) I don’t really know why I never had any of the video games. It’s likely my parents engineered that behind the scenes or something.

    Of course, my whole peer group was obsessed with Pokemon. And I was unable to participate in that. Really made me an outsider. So when my local Fox affiliate started carrying Digimon from episode 1, it was kindof my opportunity to have something over which to actually finally connect with my peer group in a way I couldn’t before.

    But my mother, who had a habit of not showing her face until at least noon most days, happened to get up that one Saturday morning for some reason and found me in the middle of an episode of Digimon. She never made a “thing” about Pokemon. I had no way to know before right then that watching the Digimon anime was something “against the rules.” But she flipped her shit about Digimon that day. I guess she didn’t realize I was watching it until that day, or maybe it was seeing the art style that tipped her off or something. Who knows.

    I should also mention that was far from the first thing that was banned for similarly bad and fundamentalist Christian reasons. Just a few others that I remember:

    • The Mighty Max animated series
    • He-Man (“there’s only one ‘master of the universe’”)
    • A great Sega Genesis dungeon crawler game called “Shining in the Darkness”
    • All anime. (Digimon was kindof the first time she realized that “satanic Japanese brainwashing shit” was getting into our house, I guess)
    • Popular secular music