[–] 2 points 1 year ago

Not what you're asking, but I can probably do better.

I'd give decent odds that the issue you're hitting is the thing that many Fediverse instances are hitting. There have been a lot of badly-written and very aggressive scraper-bots hammering servers all over (the Web, not just the Threadiverse) to try to find text to train AI models. If you've seen discussion on Anubis recently, that was aimed at trying to mitigate the load from that.

Many instances dealt with this by disallowing anonymous access. This sucks, because it'd be nice to let people use an instance without logging in, but it did apparently drastically reduce the bot load.

You can probably just pick an instance that doesn't provide for anonymous access.

  • source
  • So wasm is just binary target for compliation that runs on a wasm runtime. This could be a service on a server or a brower.

    And since its just executing code the start up time is faster than starting up a whole OS (like co tainers almost do). It also is a more universal target than aws lamda.

  • source
  • parent
  • context
  • [–] 2 points 1 year ago

    From the top of my head: Replication, sharding and failovers, access control, security in general.

    None of these are dealbreakers, all of them have workarounds, and redis has proven to scale. It just requires a lot of work and maintenance to do right. So I'm always happy to evaluate alternatives :)

  • source
  • parent
  • context
  • [–] 3 points 1 year ago (1 child)

    Age is not always a bad thing for projects, sometimes it means less bugs left

    What is it with redis and memcached that shows they don't keep up with the times? We're using memcached and were considering redis, too, but not yet certain about it

  • source
  • parent
  • context
  • [–] 3 points 1 year ago (2 children)

    This looks very promising, thanks for sharing.

    I like memcached and redis as much as the next person, but they do show their age.

    I've been playing with nats.io instead, but haven't comitted yet. Will add the linked project to my list of alternatives to consider!

  • source
  • AI reads github issues and crapoverflow for us cuz that is where packages are mainly documented.

    The package documentation is a historical document according to every PEP ever. ;-)

    What if github issues&discussions disappeared tomorrow? That feeling in your ballsack is what free falling feels like?

    Forever wars? np we are due for some excitement.

    github disappearing suddenly ... that keeps me awake at night

    Is Copilot unemployment in it's future?

  • source
  • parent
  • context
  • Ah! Haven't yet reached stubborn old geezer stage.

    Don't immediately understand exactly what the code does? Must be cuz of mental slippage. Like brain plague or residual PHP or jinja2 knowhow that can't be purged.

    We all know it's not from drug use or excessive party lifestyle. Maybe excessive retro Linux gaming?

    Whatever it is, those exercises are great diagnosis tool.

  • source
  • parent
  • context
  • [–] 1 point 1 year ago (3 children)

    First i love the visualizations. It grew on me. And supportive of coding challenges posts. As long as there isn't a flood of them. Which there isn't.

    I get your position. That there just isn't an explanation for each and every exercise. The other comments made it seemed like there was.

    When i clicked on the Explanation link, the browser didn't initially scroll to the Mutability section. Went downhill from there.

    btw i'm too dumb to know the answer and too lazy to copy+paste the code into a REPR.

    All the other commenters are just dishonest pretending they totally got it without running the code ;-)

  • source
  • parent
  • context
  • [–] [S] 3 points 1 year ago

    20250903: I’ve made a lot of updates since my last post. Performance has improved thanks to the use of temp table. Please check it out and give it a try!

  • source
  • [–] [S] 2 points 1 year ago* (last edited 1 year ago) (4 children)

    Thanks for your feedback, much appriciated.

    I agree that an exercise14.rst would be nice, but to save time I've let the code speak for itself now together with the visualizaion. I'll probably revisit and better document the exercises later.

    At the Explanation link I try to give a general explanation about Pyrhon mutability (and copy later on), I agree some readers might find it hard to relate that to a specific exercise, but I don't want to write a specific explanation for each exercise.

  • source
  • parent
  • context
  • [–] 1 point 1 year ago (5 children)

    Here is the link to the code which is being in-browser remote executed

    exercise14.py

    There is no "explanation" next to or within the file. A exercise14.rst or test_exercise14.py would be nice.

    The Explanation link provided contains a mountain of visual shit (aka noise) none of which looks like exercise14.py code.

    The OP is trying to teach us, i get that. Looks like i'm failing the (mountain of visual shit) reading comprehension section of this exercise.

  • source
  • [–] 2 points 1 year ago (1 child)

    Yeah, I wrote code and pressed get URL, but then I copied what was shown in the window

    The clipboard content:

    https://memory-graph.com/#code=+%23+What+is%2Bthe+output+of+this+Python+program%3F%0A+++%0Adef+fun%28a+%3D+%5B%5D%29%3A+%0A++++a+%2B%3D+%5B1%5D%0A++++return+a%0Afun%28%29+print%28fun%28%29%29
    

    The window text:

    The following URL has been copied to your clipboard with:
    
        The current code
        Set breakpoints
        Playback timestep
        Play/Pause state
    
    https://memory-graph.com/#code=+%23+What+is+the+output+of+this+Python+program? +++ def+fun(a+=+[]):+ ++++a++=+[1] ++++return+a fun()+print(fun())
    

    The latter doesn't work, and I didn't think of checking the former

  • source
  • parent
  • context
  • view more: β€Ή prev next β€Ί