• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle





  • I always right my code linearly like on the left example with comments like further in the articles. Actually what I do if I right all the comments first and then add the code. If I push my code like that everyone immediately understand my code find bugs & potentiel issues with it and then tells me to refactor it in whatever flavor of best practice they like. If I structure it like on the right reviewers still complain about the structure I choose but never identify any bug or other real issues.

    All my career everyone would say elegance and cleverness are bad but everyone who gets promoted are the one who insist on elegant and clever code. I guess it’s because their confident and vocal and that’s what human are programmed to pick as leaders



  • If you go into the detailed explanation (and can read French) they do have some hydraulic pumping included in their “batteries” section.

    In their 100% renewables scénario on a peak consumption (105gw) hour and peak energy production (sun at zenith) they would store the excess production like such:

    • 7.2gw to water pumping
    • 22gw to static batteries
    • 2gw back to the grid (chatting electric vehicles I guess).

    Also even in their most nuclear scenario (50% nuclear, 50% renewables) they still include 7.2gw of water pumping.

    I’m curious of why you put so much value in water pumping? As a Quebecois I have a small notion of how disruptive (flooding of vast areas of land, massive amounts of concrete, dead rivers downstream of the dam ) water reservoirs for hydroelectricity can be and I have a hard time imagining a viable way of relying extensively on that technique.



  • I feel like Inflation is not hitting me as much as my suburban friends. They keep complaining about the big grocery store chain collusion (they got caught increasing bread prices a few years back).

    Where I live there’s line 3 mom&pop produce/pastry/butcher between me and the big chain grocery store. My big chain grocery store is cheaper then other store of the same franchise.

    We built huge expensive highway sso huge corps could build mega stores that killed all the locally owned stores. Now they so what they want.




  • A more useful guideline would be something like: how to steer a conversation to be constructive for both parties.

    I couldn’t get chatgpt to make this into a spectrum like in the pyramid but if you invert the order of the negative impact section and concatenate it after the positive liste you get the text for that pyramid. It does make sense though

    Positive Impact:

    1. Collaborative problem-solving
    2. Active listening and empathy
    3. Finding common ground
    4. Constructive feedback
    5. Open-ended questions
    6. Positive tone and inclusive language
    7. Clarifying and paraphrasing
    8. “I” statements
    9. Avoiding defensiveness and judgment
    10. Seeking solutions together

    Negative Impact:

    1. Interrupting or talking over the other person
    2. Dismissing or invalidating the other person’s perspective
    3. Using aggressive or confrontational language
    4. Making personal attacks or insults
    5. Ignoring or belittling the other person’s feelings
    6. Dominating the conversation and not allowing equal participation
    7. Stonewalling or refusing to engage in discussion
    8. Manipulating or twisting the other person’s words
    9. Engaging in passive-aggressive behavior
    10. Refusing to consider alternative viewpoints


  • “Google is in every part of this value chain. As we see it they hold a dominant position in both the sell side and the buy side in order to favor their own ad exchange,”

    I have seen ad tech middlemens that ~75% of the ads they “buy” come from Google dv360 and ~75% of all ads they sell was to Google ad manager.

    The only close competition to Google is Facebook and Amazon mostly because they have their own closed garden big enough to sustain ad exchange. On the open web (random apps and websites) it’s all Google.


  • pec@sh.itjust.workstoProgramming@beehaw.orgWhy Perl?
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Not sure about the scaling part

    I have work on a large application using perl and the readability and maintability where horrendous. The performance where surprisingly good enough (millionsn of request a day); although switching to go (direct translation without any refactoring or usage of fancy go features) yield huge gains in latency and memory usage.

    I have work with go, PHP, java, and JavaScript on large application and they all way better than perl. Not even comparable.