• 0 Posts
  • 5 Comments
Joined 9 months ago
cake
Cake day: December 26th, 2023

help-circle
  • Biden tried to restart the deal back in 2021, and has been trying ever since.

    However, it turns out that the US is not the only party involved in international treaties. We can’t just pick up the ball and go home mid game, then come back in a year with a new coach and expect everyone to continue playing like nothing happened

    The original deal was a difficult achievement on its own. Now, we need to not only repeat that, but also deal with the fact that Iran does not trust us to follow through with our end of the deal. Overcoming that needs good negotiation, and a lot of concessions we did not want to make.

    This is why administrations of both parties have historically upheld deals made by the opposing party that they didn’t like. Unilaterally breaking deals every 4 years because of who wins an election makes the US a non-credible partner in negotiations. You can’t just wave a wand and fix that.


  • I think what happened here is that something went wrong and messed up the permissions of some of the users files. MS help suggested that he login as an administrator and reatore the intended permissions.

    I don’t work with Windows boxes, but see a similar situation come up often enough on Linux boxes. Typically, the cause is that the user elevated to root (e.g. the administrator account) and did something that probably should have been done from their normal account. Now, root owns some user files and things are a big mess until you go back to root and restore the permissions.

    It use to be that this type of thing was not an issue on single user machines, because the one user had full privileges. The industry has since settled on a model of a single user nachine where the user typically has limited privileges, but can elevate when needed. This protects against a lot of ways a user can accidentally destroy their system.

    Having said that, my understanding of Windows is that in a typical single user setup, you can elevate a single program to admin privileges by right clicking and selecting “run as administrator”, so the advice to login as an administrator may not have been nessasary.




  • Back when I was learning, I made a flashcard program. It had a class that was essentially a constant array, so you could call get(int i), and it would return an object describing both sides of the card.

    How did I implement such a class you ask? First, I made a spreadsheet with 2 collumns to hold the data, with a third collumn of incrementing integers. Then, in the 4th column, I used string concatanation to right a java if statement that compared a variable against the index collumn; and if they match, return an object constructed from the 2 data columns.

    Click and drag the 1 cell I wrote in the 4th collumn to replicate it in all the rows, then copy and paste the 4th collumn into notepad++.

    I’d like to say I’ve moved past this; but my most successful projects have mostly been code generation ones; so really I’ve just moved past Excell.