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

help-circle
  • Yeah. ‘lib’ isn’t a standard Python library, it’s the name of the abomination that this person created. Since python has quite a bit of useful introspection, they can do something like:

    • get the stack
    • find the exact call to abomination.add()
    • reparse the text of that line, turn the text of the comment into actual numbers, and add them

    Now, I don’t know if python keeps the comments around, so it may involve getting the filename and line number, reading the file, and manually extracting the comment text from that line.



  • Sure, but let’s just clarify that this is someone going out of their way to create this problem, using Python’s ability to read it’s own code.

    Basically, you can load any text file, including a source code file, and do whatever you want with it.

    So, a function can be written that finds out whatever’s calling it, reads that file, parses the comments, and uses them as values. This can also be done with introspection, using the same mechanism that displays tracebacks.



  • Cursed ring of acrobatics.

    Gives the player great acrobatic skill, but sticks to their finger when they wear it. And they can’t stop getting around acrobatically. Any action attempted fails, unless it is done acrobatically. Player has normal or only slightly improved stamina.

    Player: i’ll get my rope and grappleing hook and scale the wall.

    DM: lifts eyebrow you think so, do you?

    Player: sigh I throw my pack into the air and leap after it. At the peak of its arc, I flip over it, grabbing my grappling hook and flinging it over the wall as I do.

    DM: ok, sounds like difficulty of 15…


  • Yes. It’s a scalable hobby, and can run from virtually no cost to why-are-you-burning-money. But you can do a lot in gaming with little monetary investment.

    There are lots of budget indie games that are lots of fun, and if you find out you like gaming and want to try more fancy titles, you can always upgrade hardware.

    Minimal entry: your current pc. Install steam, and buy/try what you like, returning it if it’s too slow/doesn’t work.

    Light entry: get familiar with your pc’s ram size, hd/ssd size, cpu speed/type, and graphics card. Use that to ensure your pc can handle the game by looking at the game’s minimum requirements.

    Medium-heavy entry: Upgrade things.

    • ssd if you don’t have one. The difference between that and spinning disks is night and day. If you wished things loaded faster, get this.
    • 8 gb graphics card in the $150 range, amd or nvidia-based. Get this if you want a smoother experience / if you can notice individual frames happening. You don’t need the most expensive tech to play most games that are out there.
    • Genuine XBox or PS4/5 controller. These standard controllers are generally pretty solid and durable. $60ish
    • new cpu ($$$, and may not even be an option): most games won’t be processor-bound. But some are cpu-heavy. Get this if you really want to upgrade overall, or have a particular title in mind that needs it. Or…
    • Low-mid range gaming computer ($900 ($600-$1500)): wait until you want to do a pc upgrade, and get a low-end gaming computer. I recommend Lenovo LOQ or Legion. Lenovo in general has provided laptops that don’t fall apart on me, and that’s not something I can say about most computer manufacturers. That said, keep them long enough and you’ll have to replace the keyboard - but that’s every laptop out there that I’ve run across.
    • or: go crazy and buy everything all the time at the moment it his the market because it is a game or has “game” written on, near, or associated with it (not recommended)

  • Late stage capitalism.

    The issue is that capitalism fundamentally requires forward thinkers and enlightened (or at least rational) perspective to function sustainably.

    But capitalism rewards short term thinking, everywhere from corporate leadership, to the workforce, to the consumers caught by ads designed to catch and hold their ever-shortening attention spans.

    Fundamentally, it needs regulation to thrive. The true cost of a purchase, including environmental and decommissioning/disposal costs must be tied to the initial purchase value. Through this, we might get a functional capitalism.








  • Sovereignty is the deeper moral right. It is any sovereign individual or group’s right to accept or reject an authority they choose to, and they must deal with the consequences of that (often implicit) choice.

    A sovereign entity who is by choice or otherwise subject to a malign power will become a channel for that malign power, regardless of whether or not they intend to. And even when there is no malign intent, there can be fundamental disagreements between sovereign states.

    It is very possible the individuals don’t support Russia. But aside from aiding and supporting defection, there’s not much we can do until Russia demonstrates a will to relinquish a hold on Ukraine, who has clearly demonstrated their sovereignty.


  • There are points of power (like code run all over the world) that are desirable targets for malicious actors.

    So, those who are subject to a malicious foreign power, whether they are innocent or not, because they are subject to a power that is not innocent.

    We don’t need to attack those people, but we need to deny the Russian state the capacity to affect those points of power where we can. They claim Russian citizenry, and so they are impacted by Russia’s choices, and the international responses to Russia’s actions.