• 0 Posts
  • 689 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.


  • This is a circumstance born, in no small part, of the idea that manual labor and menial labor is meaningless and has no real value.

    Our economy has been sold from beneath us, and the overall cultural ideologies result in most people avoiding these things. But it is the only thing that is actual production - the rest of the economy is all efficiencies or expenditure.

    Slowly, the wealth has slipped away, and now it’s becoming apparent to people, and they don’t know who to blame.

    Find or make an enclave and survive together.





  • 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)