• 0 Posts
  • 46 Comments
Joined 1 year ago
cake
Cake day: August 8th, 2023

help-circle



  • I wasn’t implying anything here, no need to be a dick about it. Like I said: I’m my country we don’t have this system.

    The kind of possibilities I was thinking about were more along the lines of an abusive spouse forcing their partner to sign a ballot, someone stealing a neighbours ballot out of their mailbox and forging their signature, or some family member doing the same to other family members.

    Signatures can be forged quite easily if you have access to other signatures from that person, so I was honestly wondering what kind of system they have in place to ensure the kind of things mentioned above don’t happen.

    Also, I guess I was kind of assuming ballots weren’t signed, in order to protect the anonymity of the voters, and that there was some more sophisticated system in place.





  • This take just baffles me… you can disapprove of a war, and still respect people willing to put their life on the line for something they believe is right. Even in war, opposing sides have a long history of showing their enemy a certain amount of personal respect, even though they clearly disagree about something to the point of killing each other over it.

    Your take is just condescending and unempathetic. You can respect someone for sacrificing themselves without agreeing with them about what they’re sacrificing themselves for. Regardless, it shouldn’t be hard to see how someone fighting to depose an infamously brutal dictator (Iraq) or a fundamentalist regime that stones women for wanting a divorce (Afghanistan) can believe that they are doing something good.


  • I am very fond of the idea of “stateless” code, which may seem strange coming from a person that likes OOP. When I say “stateless”, I am really referring to the fact that no class method should ever have any side-effect. Either it is an explicit set method, or it shouldn’t affect the output from other methods of the object. Objects should be used as convenient ways of storing/manipulating data in predictable/readable ways.

    I’ve seen way too much code where a class has methods which will only work"as expected" if certain other methods have been called first.


  • Sounds reasonable to me: With what I’ve written I don’t think I’ve ever been in a situation like the one you describe, with an algorithm split over several classes. I feel like a major point of OOP is that I can package the data and the methods that operate on it, in a single encapsulated package.

    Whenever I’ve written in C, I’ve just ended up passing a bunch of structs and function pointers around, basically ending up doing “C with classes” all over again…



  • This makes sense to me, thanks! I primarily use Python, C++ and some Fortran, so my typical programs / libraries aren’t really “pure” OOP in that sense.

    What I write is mostly various mathematical models, so as a rule of thumb, I’ll write a class to represent some model, which holds the model parameters and methods to operate on them. If I write generic functions (root solver, integration algorithm, etc.) those won’t be classes, because why would they be?

    It sounds to me like the issue here arises more from an “everything is a nail” type of problem than anything else.







  • Yup, who would have though that Russia invading their neighbour suddenly caused the entirety of western Europe to start the largest investments in military and weapons manufacturing since the cold war?

    Looking at the results of this war so far (major expansion of NATO in the North, massively increased military spending in all of NATO, massively increased size of the Ukrainian military), you would almost think Putins goal was something completely different than preventing NATO expansion and “de-militarizing” Ukraine.

    It’s almost like the best way of preventing your neighbours from building huge militaries and joining alliances is by cooperating with them and helping them feel safe, rather than threatening, coercing and bombing them.


  • It’s sad, but countries like Russia show us very clearly why nations that want peace need to prepare for war.

    I would love to not need to spend a cent on our military, or weapons manufacturing, but the hard reality is very clearly that if we aren’t capable of mass producing weapons, we’ll likely be invaded and killed.

    That’s a major part of the issue Europe is facing now: We’ve scaled down weapons production since the 90’s, and now that we suddenly need millions of artillery shells it takes time to rebuild production capacity.

    Hopefully Russia gets the picture soon, that we’ll keep scaling up until every Russian invader is gone, and we can go back to not spending money on war…


  • Wow, I Wonder why everyone that’s left in the regime that deports and persecutes dissenters says they are in support of that regime?

    Ukraine never invaded anybody. Giving them weapons so they can throw out the people invading them, taking their land and molesting their people is a good thing. Russia has clearly shown that the only way to get rid of the plague that is Russian soldiers on foreign soil is to kill them. That’s why we have this war that Russia has chosen to engage in, and which Russia can choose to withdraw from at any time. That’s why Russians are dying by the hundreds of thousands.