It's winter here, and I am wearing fluffy slippers and a lot of layers. I keep on shocking myself when I touch my printer due to a static charge. So I had to add this.
I'll look into it. Then maybe we can add it as a feature to the bot. You send it the parameters as a DM, and it sends a temporary download link for an STL back.
Everything runs in the cloud with serverless functions, and I am not hosting anything. That's why it has been offline except for once when the demand was too high and users crashed the boosting function for a day or 2 due to a bug in my code.
What about doing it in #OpenSCAD and doing it server side. The user enters the paramters, the OpenSCAD is rendered server side and the user downloads the STL.
That's how I would do it. I love #Python, it is my favorite language and my best, but honestly I've never done something like this in Python and would rather use OpenSCAD.
When I did my 5 minute review of TikTok (quick APK decompile, 5 minute glance at code, shuddered and closed window), I mentioned that here and people thought I was nuts for not taking better notes.
So in this blog post I do a very quick review of Debian 12 to see if it warranted me taking it serious enough to fully evaluate it. At least this time I explain why I didn't go further...
In praise of Reverse Polish Notation (RPN) with Python or C
For whatever reason, RPN didn’t really succeed in the general marketplace, and you might wonder why it was ever a thing. The biggest reason is that RPN is very easy to implement compared to working through proper algebraic, or infix, notation. In addition, in ...continues
🐍 #pytest is a powerful tool for testing your #Python projects. In this pytest 201 presentation, I covered some of the more advanced features beyond the core assertion ability of the library (e.g., fixtures, parameterization). https://www.youtube.com/watch?v=fv259R38gqc
@python foundation announced that they've hired a new developer in residence, as part of a year-long security enhancement initiative to make the #Python ecosystem more secure. @openssf 's Alpha Omega is proud to sponsor this role.
It's Talk Tuesday time over in @python#community . Head over and submit your favorite #python related conference talk and let us know what made it great.
#Lesson learned; perhaps this will save someone else some time.
If you have #Python 3.11 installed on Bullseye from the "#deadsnakes" ppa, uninstall it before attempting the upgrade. It conflicts with the Python 3.11 package in Bookworm in a way that causes the upgrade to #fail partway through. Then you have to manually fix it all...
#Python language lawyers, we're seeing some interesting issue with #PyPy / ijson.
ijson is calling the async function's wait() method and iterating over the results until it gets StopIteration exception, and it uses it to get the return value. This works in Python both in CPython and PyPy but within C API, CPython tp_iternext() raises StopIteration while in PyPy it does not — is that a bug or is there some other way to get the return value?
"@ThePSF has received funding from the Center for Security and Emerging Technology (CSET) to develop and improve the infrastructure for malware detection on PyPI. This project will be executed over the coming year."
"If you or your colleagues are currently performing malware analysis of PyPI uploads, we would love to hear from you at":
Some Gotchas with OpenAI's Function Call Feature and How to Handle Them (codeconfessions.substack.com)
How to handle function name hallucinations, function call chaining and more accurate function call arguments