• 0 Posts
  • 232 Comments
Joined 1 year ago
cake
Cake day: July 7th, 2023

help-circle
rss






  • In order to buy out Paradox, EA would have to make an offer for their entire existing share float, which would then have to be accepted by the shareholders. This means that they would almost certainly sell their stock at over market value (because why would they accept less?).

    From their point of view, this would be a good thing. So why then would the shareholders allow this project to be cancelled if it was about to net them a huge payout, according to your theory?




  • If it helps, think of the contents of the variable as being the result of the formula. If the formula is 2 + 2, the result is 4. The variable is the value we are trying to determine. If I want to know my speed, I calculate distance / time. So in Python I would say speed = distance / time, because speed is the unknown that I want to know.

    But then with Python we can have more complex “formulas”. For example, we can say laugh = “Ho” * 3

    Yeah, you can multiply a string. The result is that print(laugh) prints “HoHoHo”.

    In the example you gave, the function is the formula, so input() evaluates to a result that is stored in the variable.

    If functions are nested, each nested function resolves before the one that contains it. So, for example, you can do print(input("Who are you? ")). The nested function (input) resolves first, obtaining the user input, which is then printed. The difference is that doing it this way just prints directly without storing the input as a variable.

    You can also do print("Hello ", input("Who are you? ")). Again, the nested function resolves first, so the user is presented a prompt to give their name. Then print combines the two comma separated statements ("Hello ", and the result of the input function) to display “Hello <name>”. Try it for yourself.





  • Yeah, try to avoid using USB hard drives.

    A refurbished business PC is an excellent choice (or, better yet, make friends with someone who works in an IT department and grab a few machines when they’re being thrown out; you’d be amazed how often companies dump perfectly good hardware). Don’t worry about the windows license, you’re not actually paying for it by the time you get to refurb prices.

    You should easily be able to pick up something decent for under $200 (hopefully that fits your budget). If you go with a small form factor (not ultra small) you can probably get an SSD and two 3.5" drives in there (watch out for the small form factor Lenovos though, they only have one 3.5" slot). Alternatively, look for a larger desktop tower style that could have 3 or 4 drive bays if you want to do something like a RAID5.

    Don’t sweat too much about buying older hardware. What’s old and busted for Windows is lightning fast when we’re talking about self-hosting a file server or a Pihole.