• 0 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: August 16th, 2023

help-circle


  • Other languages: if a is null return b.

    Rust: here is an array of strings, we are going to parse the array to numbers. If that conversion fails we handle the exception and return the minimum integer value. We then save the result in a new vector. We also print it.

    I like rust, but I hate the example too. It’s needlessly complex. Should have just been a.unwrap_or(b).












  • There are places delivery with drones makes a lot of sense and is the best way to do it. It depends what the most important metric is.

    In an African country they are delivering medicin and bloodbaths with a drone plane to hospitals that need them for emergencys. That way they only need to have one central stock of these supply’s that can be quickly dispatched. Driving wouldn’t be an option that would take several hours over bad roads. Veritasium did a video about it.

    For Amazon deliveries it makes no sense at all.


  • They were bought last year by epic games. Now they were sold to songtradr, probably because it wasn’t profitable enough for EPiC. As part of that more than half the people were let go.

    They’ll want their money’s worth, so prices fo up, or in this case the percentage cut. My bet is also the enshitification is starting soon. For now it’s fine, the future, probably not. But that’s just my guess.

    As for alternatives, I’ve got none.