![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/13c64711-f6bb-429b-a54a-4e65e4e37046.png)
Choosing to have a child later on generally has fewer negative consequences than unchoosing a child you have already had.
Choosing to have a child later on generally has fewer negative consequences than unchoosing a child you have already had.
Unless the C++ code was doing something wrong there’s literally no way you can write pure Python that’s 10x faster than it. Something else is going on there.
Completely agreed, but it can be surprising just how often C++ really is written that inefficiently; I have had multiple successes in my career of rewriting C++ code in Python and making it faster in the process, but never because Python is inherently faster than C++.
Sure, but if you are not regularly expressing code that has the potential of summoning elder gods that will swallow your soul into a dimension of ceaseless screaming then are you really living?
I don’t always use regular expressions, but when I do, I use it to parse XML,
Something that definitely separates me from some of my less experienced coworkers is that, when I sit down and start to implement a plan I came up with in my head, if it turns out that things start exploding in complexity then I reevaluate my plan and see if I can find a simpler approach. By contrast, my less experienced coworkers buckle down and do whatever it takes to follow through on their plan, as if it has now become a test of their programming skills. This makes life not only more difficult for them but also for everyone who has to read their code later because their code is so hard to follow.
I try to push back against this when I can, but I do not have the time and energy to be constantly fighting against this tendency so I have to pick my battles. Part of the problem is that often when the code comes to me in a merge request it is essentially too late because it would have to be essentially completely rewritten with a different design in order to make it simpler. Worse, the “less experienced” coworker is often someone who is both about a decade older than me and has also been on the project longer than me, so even though I technically at this point have seniority over them in the hierarchy I find it really awkward to actually exercise this power. In practice what has happened is that they have been confined to working on a corner of the project where they can still do a lot of good without others having to understand the code that they produce. It helps that, as critical as I am being of this coworker, they are a huge believer in testing, so I am actually very confident that the code they are producing has the correct behavior, even when I cannot follow the details of how it works that well.
Sometimes this can help, but lately I’ve been running into the opposite problem where people have been following this advice to such a degree that one cannot ever figure out what is going on without having to constantly jump around to find the actual code involved in doing something.
Because some of us are bitter at the trees for generating so much pollen at this time of year and want revenge.
Spotted the INTERCAL programmer.
Because it looks like that functionality uses special compiler functionality only available on GCC and clang?
“This isn’t us encouraging you to gamble-it is us asking you to think about how bad you would feel years from now if you learned that you could have made a ton of money if you had only placed a bet right now! It’s completely different!”
Yeah, I miss living in Australia where you didn’t have your own waiter but on the other hand that meant that it wasn’t rude to flag down any of the wait staff if you need anything rather than being restricted to having to go through a single person.
Ah, yes, the good old git off --my lawn
command.
Yes. My rule of thumb is that generally rebasing is the better approach, in part because if your commit history is relatively clean then it is easier to merge in changes one commit at a time than all at once. However, sometimes so much has changed that replaying your commits puts you in the position of having to solve so many problems that it is more trouble than it is worth, in which case you should feel no qualms about aborting the rebase (git rebase --abort
) and using a merge instead.
The way I structure my commits, it is usually (but not always) easier and more reliable for me to replay my commits one at a time on top of the main branch and see how each relatively small change needs to be adapted in isolation–running the full test suite at each step to verify that my changes were correct–than to be presented with a slew of changes all at once that result from marrying all of my changes with all of the changes made to the main branch at once. So I generally start by attempting a rebase and fall back to a merge if that ends up creating more problems than it solves.
Horribly incompetent? No. Flawless, or even particularly prescient? No. They got a lot of big stuff right; they got a whole lot wrong.
So just to be clear: you think that this particular language was badly written because it is so easily bypassed?
I’m not the one you asked, but what I like isn’t really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL.
Oh, wow, I looked a little into this and hosting really is dirt cheap! That is a benefit that I genuinely was not expecting.
If, as you say,
I’m unconcerned with how it was intended since that’s totally irrelevant to what it actually is.
Then why did you waste time describing what you believed was the intention behind it earlier when you said,
I think of it as a rhetorical flourish to emphasize the importance they placed on representing states rather than people.
Regardless, the other point that I made that you haven’t addressed still stands: they put that prohibition against banning the slave trade in there for a reason, and that reason was presumably not “as a rhetorical flourish”, so either the people who insisted that it be present were horribly incompetent at writing legal language that would preserve their own interests, or your personal opinion as to how Constitutional law works in this case is missing something important.
If the purpose of that clause were to restrict the kinds of laws that Congress can pass instead of the kinds of amendments that are allowed, then why does it appear in Article V, which relates to amendments, rather than Article I, which relates to Congress?
Indeed, the limitation in what can be amended is in practice totally powerless. I think of it as a rhetorical flourish to emphasize the importance they placed on representing states rather than people.
It isn’t worded as a “rhetorical flourish”; it is worded incredibly clearly and explicitly as a prohibition:
Provided that no Amendment which may be made prior to the Year One thousand eight hundred and eight shall in any Manner affect the first and fourth Clauses in the Ninth Section of the first Article; and that no State, without its Consent, shall be deprived of its equal Suffrage in the Senate.
In fact, taking your reasoning a step further: are you likewise arguing that when the prohibition against banning the slave trade prior to 1808 was included here, that it was also understood to be a “rhetorical flourish” with no teeth behind it? If so, then why did they go to so much trouble to put it in? It seems like a lot of wasted effort in that case.
I think that sometimes what happens to people is that they build the life that they implicitly believe they are “supposed” to be living because that is what they see everyone else around them doing, rather than based on an honest self-assessment of whether this really is the what will make them happy. When they realize that this life is not actually making them very unhappy, they look for outside factors to blame because they did everything that they were “supposed” to be doing so it could not have been their own misinformed choices that led them to this point.
And in fairness, no one chooses where they are born and the cultural conditioning that we receive, so this is not entirely their fault. It is really a societal problem that we do not encourage enough people to engage in true self-introspection to figure out for themselves what is important to them and what they want to get out of life so that they make these kinds of decisions with great deliberation and personal self-insight rather than taking the default option.