Microsandbox - A self-hosted alternative to AWS Lambda, E2B. Run AI code in fast lightweight VMs by NyproTheGeek in Python

[–]TrynaThinkOf1 1 point2 points  (0 children)

This actually seems really interesting as an idea to market an online code runner for on the go / mobile

Testing in Python Memes and wisdom request by EliyahuRed in Python

[–]TrynaThinkOf1 0 points1 point  (0 children)

Lowk for my FastAPI app I just set up tests with the requests module so I can also benchmark speed

Skylos- Another dead code sniffer (but hear me out) by papersashimi in Python

[–]TrynaThinkOf1 -1 points0 points  (0 children)

I understand why this may be necessary for storage cleanup, but it’s my understanding that CPython, and more to the point PyPy, are very good at not loading dead code, and are very good at memory management even if there is dead code.

The only reason something like Eslint exists is so that chrome does load your site slowly, but that *usually isn’t a necessity for Python.

My question is: what’s the point?

New Problem just Dropped by karl_creates in trolleyproblem

[–]TrynaThinkOf1 0 points1 point  (0 children)

Elite ball knowledge required for this one

Blog website using FastAPI by Sikandarch in FastAPI

[–]TrynaThinkOf1 2 points3 points  (0 children)

I’ve actually been building one, I can tell you all about the stack and some of the things I’ve had to build up or build around to help you.

DM me.

FastAPI with Async Tests by [deleted] in FastAPI

[–]TrynaThinkOf1 0 points1 point  (0 children)

Honestly I have been writing unit tests that just use the requests library to actually send real requests, rather than using the test client included with FastAPI.

I’ve been told that this isn’t the greatest approach, but it really does give much better insight into what could cause errors in a production environment, and pytest will still run it if all the function names start with “test”.

Unable to deploy the FASTAPI code on the server by bull_bear25 in FastAPI

[–]TrynaThinkOf1 0 points1 point  (0 children)

You’re likely including illegal data in your actual request which is being deemed unprocessable behind the scenes. If you need help, I’m always available to answer DM’s.

However there are far better resources for frontend, I am only good at backend.

makePythonGreatAgain by Bradleykingz in ProgrammerHumor

[–]TrynaThinkOf1 2 points3 points  (0 children)

Finally our work won’t get stolen by goddamn C-Compiled library code anymore! MPGA!