• 0 Posts
  • 13 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.