Reddit -> Beehaw until I decided I didn’t like older versions of Lemmy (though it seems most things I didn’t like are better now) -> kbin.social (died) -> kbin.run (died) -> fedia.

Japan-based backend software dev.

  • 0 Posts
  • 27 Comments
Joined 1 month ago
cake
Cake day: August 14th, 2024

help-circle


  • tiredofsametab@fedia.iotoMemes@sopuli.xyzRip
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    The only time I ever liked plain milk was still warm out of the cow. These days, I just don’t drink milk except for a very rare (couple of times a year) chocolate milk or milkshake where I don’t taste the milk itself, really.

    Breed and diet definitely impact milk flavor and fat percentage, but some types of pasteurization seem to as well.

    This is not an endorsement to drink milk that has not been pasteurized.

    Aside from that, particularly with regard to colostrum, some people think treating the milk can damage things. As mentioned, I’m not a milk drinker to begin with, but I have no idea if (a) there are any studies showing benefits or even effects of drinking colostrum, particularly as an adult and from something other than a human or (b) regardless of point a if there is even any study on heat damaging it. I watch a lot of farming/homesteading content and some people are really into this.










  • After the massive blunder of Starfield, I cannot see how Elder scrolls 6 could possibly be successful

    I mean, this statement alone supposes that the company will not learn anything from the failure. Even if you assume they do not care about the game or its players, they do care about their bottom line and profits and that alone is motivation to learn from mistakes.

    I’ve personally not given them a dime since their bait-and-switch and other shady tactics around the launch of Fallout 76 (I was a paying ESO customer and I cancelled because of that). So far as I know, they didn’t do anything like that for Starfield which would demonstrate some learning of lessons (unless I haven’t heard of it).


  • I can’t address the first part, but for your last paragraph, if you’re sharing with humans, csv is fine. If you’re sharing with humans and machines, JSON or yaml or something similar is probably fine. If you’re only moving things around to give to machines, what to use depends on constraints you might have and use cases







  • Very TL;DR version: a variable has an owner. If you pass it off to another function, you no longer own it and can’t use it until/unless it gives the variable back. Rust can be really strict on making sure you aren’t trying to use something you don’t own at that time. The documentation explains it better than this (and I wrote a longer post but accidentally closed the window and lost it). See also mutability and lifetimes for some pain points people might not be used to.


  • I agree with the others who say to start with The Book – https://doc.rust-lang.org/book/

    From there, start trying to create small things that you might want or need to do (parsing JSON is something that I needed to do and I started there).

    From there, you will learn to fight the borrow checker and start to feel how rust is working. This will be annoying at first, but get better over time (at least in older versions of Rust; I haven’t used it in a while so it may be different now).