- 0 Posts
- 16 Comments
AckPhttt@beehaw.orgto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
3·3 months agolot 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.varlookup, 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 = varis a necessary thing (to bring thevarinto the right context for the pre-processor to recognize it; yes, I’ve seen this…)
How about another law: No state shall receive more in federal spending than that state contributes in federal taxes.
AckPhttt@beehaw.orgto
Politics@beehaw.org•Republicans file lawsuit challenging California’s redistricting measure
8·4 months agoThe 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.
Possibly many polled Sliwa supporters actually voted for Cuomo instead, to try to prevent a Mamdani win.
AckPhttt@beehaw.orgto
Technology@beehaw.org•Donors for Trump’s $300m White House ballroom include Google, Apple and Palantir
12·4 months agoWait, do you mean that ballroom that is $500m?
AckPhttt@beehaw.orgto
Politics@beehaw.org•AOC's 2028 decision: Run for president or Senate
1·5 months agoOnly the proper candidates win, as a rule
Was Trump winning an example of that rule, or a counterexample?
AckPhttt@beehaw.orgto
Technology@beehaw.org•Congress Moving Forward On Unconstitutional Take It Down Act
4·10 months agoIt’s not a counterpoint, but emphasizes an even stronger point. Few Presidents win a majority of those eligible to vote. But to become President without also winning the majority of cast votes is unusual, and it’s especially important to emphasize when such a President claims they have a mandate due to being “popular”, imo.
AckPhttt@beehaw.orgto
Technology@beehaw.org•Congress Moving Forward On Unconstitutional Take It Down Act
7·10 months agowhich wasn’t the majority, by the way, since not everyone votes
Um, even among the people who cast a vote for President in 2024, Trump didn’t get a majority of the votes. He got fewer than half of the Presidential votes: https://en.wikipedia.org/wiki/2024_United_States_presidential_election
AckPhttt@beehaw.orgto
/r/50501 Mirror@50501.chat•We should be pushing for legislation for Ranked Choice VotingEnglish
1·10 months agoIt’s worth remembering that the majority of votes cast for President in 2024 were for a candidate other than Donald Trump; he got less than 50% of the votes that were cast for President. Making it so that those majority of votes aren’t automatically split (and thus diminished) can be impactful, imo.
AckPhttt@beehaw.orgto
Politics@beehaw.org•Hopes of US golden age fade as investors start to worry about ‘Trumpcession’ risk
2·1 year agodeleted by creator
AckPhttt@beehaw.orgto
World News@beehaw.org•Musk's embrace of right-wing politics risks turning off car buyers and sinking Tesla's stock
9·1 year agoI’m on the DOGE team, and those values seem completely accurate and verified to me. /s
Edit: And if they are wrong, by our accounting that means that you just saved the government $399.6 Billion dollars.
AckPhttt@beehaw.orgto
Entertainment@beehaw.org•Netflix won the streaming wars, and we’re all about to pay for it
3·1 year agoJust curious; are you paying the extra toll for advertising-free viewing (on Prime)?
Try compression socks as the innermost-layer, which are long enough to run up the calf. With these on, I use one more layer of regular cotton sock and generally feel pretty warm (compared to just thick wool socks, or multiple other layers).
And since it’s mentioned in the article, there is a proposed path to having the popular vote decide the presidency that doesn’t require a constitutional amendment, and IMO it’s surprisingly further along than one might guess: https://en.wikipedia.org/wiki/National_Popular_Vote_Interstate_Compact
AckPhttt@beehaw.orgto
Free and Open Source Software@beehaw.org•NetBSD: the portable, lightweight, and robust UNIX-like operating system
3·1 year agoDo I count MacOS users in that search?
AckPhttt@beehaw.orgto
Politics@beehaw.org•Trump reportedly talked with Israel PM Netanyahu to avert a cease-fire deal in Gaza, fearing that this could help Vice President Kamala Harris win the U.S. presidential election
4·2 years agoWhat’s being discussed for Reagan is the " October Surprise" (not Iran-Contra, a different scandal).



Notably, it’s “just under half” of votes cast for President were cast for Donald Trump. He won without a majority of the vote, getting only 49.8% of the votes cast: https://en.wikipedia.org/wiki/2024_United_States_presidential_election
He is not, and never was, a “popular” President.