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

help-circle


  • lot of copied variables, because of c I suppose? Things like var = self.var

    If we’re very charitable, there’s a micro-optimization w/ Python (or at least, older Python) where assigning to a local variable like this inside a method is faster than the full self.var lookup, so you’ll see it in Python’s library code while setting up some loops, etc. as a small speedup. “lots of copied variables”, though, is likely an anti-pattern if not in a heavily used piece of library code, imo.

    What’s really crazy is when people write modified Python language pre-processors where: var = var is a necessary thing (to bring the var into the right context for the pre-processor to recognize it; yes, I’ve seen this…)



  • The proposition that led to California’s enacting of the “fair” redistricting was originally funded by conservatives who wanted to improve their chances, and came somewhat as a response to discussion around Texas’ 2003 redistricting: https://en.wikipedia.org/wiki/2003_Texas_redistricting

    At the time that California’s redistricting amendment was being discussed, as the obvious Republican “trick” to benefit them in California, many called out the hypocrisy of only advocating for it where it’d help, and explicitly fighting where it’d hurt them. (Hilariously, after the California amendment drew up new “fair” districts, in the next election that used them the Republicans still lost seats in California, just due to them being so generally hated at the time).

    So yeah, their hypocrisy on this matter has been called out many times. But they are shameless, and frankly cannot win long-term with a “fair” electoral system.