• 1 Post
  • 41 Comments
Joined 1 year ago
cake
Cake day: July 6th, 2023

help-circle



  • My issue with this is that it works well with sample code but not as well with real-world situations where maintaining a state is important. What if rider.preferences was expensive to calculate?

    Note that this code will ignore a rider’s preferences if it finds a lower-rated driver before a higher-rated driver.

    With that said, I often work on applications where even small improvements in performance are valuable, and that is far from universal in software development. (Generally developer time is much more expensive than CPU time.) I use C++ so I can read this like pseudocode but I’m not familiar with language features that might address my concerns.



  • ArbitraryValue@sh.itjust.workstoProgrammer Humor@programming.devStealing?
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    6
    ·
    edit-2
    1 month ago

    Pointing this out isn’t clever.

    Software piracy satisfies the colloquial understanding of theft as the act of obtaining something without paying for it, but not the colloquial understanding of theft as the act of depriving someone else of the thing you’ve obtained. Purchasing a software license satisfies the colloquial definition of ownership as the right to do something after having paid for that right, but not the colloquial understanding of ownership as the right to do anything you want with what you have purchased. Software piracy isn’t theft in the legal sense, and purchasing a software license is not a transfer of ownership in the legal sense.

    Memes like this are just pointless quibbling over words (barely more sophisticated than “You’re a doodoohead!” “No, you’re the doodoohead times a thousand!”) and contain zero insight into the morality or legality of software piracy or software licensing.












  • I sometimes wish my employer didn’t know that I can write Python code, so that I would never be assigned front-end work. I prefer to deal with programs that take lists of numbers and return lists of other numbers.

    (I’m not as bad as one guy I used to work with, because at least I accept ASCII input. His backend code only took binary-encoded configuration files for no reason I can think of except maybe to punish anyone except himself who tried to use it.)




  • When you say it’s common, are you talking about heat pumps or old-fashioned resistive heating? I’m not very familiar with heat pumps since they weren’t common at all when and where I bought a house, but at least where I lived it was normal to have either an oil or a gas furnace for heating. Resistive electric heating cost a lot more to operate and so it was generally used only where it would be too difficult or expensive to install a furnace and hot water pipes or hot air ducts. For example, some friends of mine lived in a 19th century house which was meant to be heated by a wood fireplace and they also had electric heaters in the bedrooms, whereas my own house was built in 1980 so it had an oil tank, a furnace in the basement, and hot-water radiators.

    (My own house also had a modern wood stove in the living room and buying firewood was even cheaper than buying heating oil, but the problem was that the wood stove took a lot of work and it only heated the living room since it wasn’t connected to any mechanism for spreading the heat to the rest of the house.)