• 2 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle

  • OmnipotentEntity@beehaw.orgtoMemes@lemmy.mlmhmm...
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    27 days ago

    An environmental posadist. Not a stance I’ve normally seen. Imo, if nothing came out of deep water horizon, there’s no oil accident big enough to matter.

    Transocean received an early partial insurance settlement for total loss of the Deepwater Horizon of US$401 million about 5 May 2010.[60] Financial analysts noted that the insurance recovery was likely to be more than the value of the rig (although not necessarily its replacement value) and any liabilities – the latter estimated at as much as US$200 million.





  • A problem that only affects newbies huh?

    Let’s say that you are writing code intended to be deployed headless in the field, and it should not be allowed to exit in an uncontrolled fashion because there are communications that need to happen with hardware to safely shut them down. You’re making a autonomous robot or something.

    Using python for this task isn’t too out of left field, because one of the major languages of ROS is python, and it’s the most common one.

    Which of the following python standard library functions can throw, and what do they throw?

    bytes, hasattr, len, super, zip








  • (please attend to primaries next time…)

    So… should I have voted for Marianne Williamson or Dean Phillips, keeping in mind Dean Phillips formally withdrew from the race before my state’s primary, and Marianne Williamson couldn’t have won if she had sweeped every state after and including mine?

    I think the problem is mostly that the US system of elections is turbo mega fucked.


  • To add, let’s do some math!

    Let s be the total annual salary of every employee using Adobe. Our goal is to find the productivity ratio r such that changing to Gimp and open source more generally is a net positive from the standpoint of productivity and labor.

    s/r will be the total annual salary after changing over, because (for instance) if r = 0.8 then LTT will need to either hire or work his existing hires 1/0.8 times longer, giving (at best, ignoring overtime and so on) s/r as the new labor cost.

    We then subtract the current labor cost to get the switching cost s/r - s, and if this is greater than $10,000 then the switch is not worth it.

    For instance, let’s say LTT employs 1 person at $50k/year. He’s a bit of a skinflint. We solve for r and arrive at a ratio of 5/6 or 83.33%.

    If we have a different world where LTT hires 10 people and pays each of them $100k, we solve for r and get about 99%.

    In other words, the switch is worth it only if the labor cost is small, so the extra labor is not very expensive, or the difference between the two software is negligible.







  • Most closely matches the behavior of actual SNES consoles.

    This requires very careful emulation of the timings of the various buses and co-processors, as well as on-cart chips which may or may not be present. For instance, a Speedy Gonzales game has a button in the final stage which crashes almost every emulator because enters an infinite loop reading from an open bus and waiting for the value to attain a specific pattern. However reading from an open bus is generally specified to be the last value loaded into the bus, which in this case is the load instruction itself, $18. So the value is read to be $1818 by most emulators, which doesn’t match the pattern expected.

    However, this is only if you’re emulating with instruction level accuracy. It is possible for the value of the bus to change in between the instruction being loaded and the value of the bus being loaded due to an HDMA load being triggered, but this requires a cycle accurate emulator.