Stark9837, to 3DPrinting
@Stark9837@techhub.social avatar

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.

@3dprinting #3dprinting

Stark9837,
@Stark9837@techhub.social avatar

@nobodyinperson @Jupyter

This is sort of how I am running the @3dprinting bot. Serverside #Python and #Javascript.

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.

Stark9837,
@Stark9837@techhub.social avatar

@nobodyinperson @Jupyter

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.

@3dprinting #3dprinting

shapr, to random

Idea from @meejah :
Have a watch or entr command that creates a git WIP commit whenever your code successfully compiles.

This would let you explore freely and easily jump back to "when the code worked".

This would be great for C++ / Haskell / more?

meejah,
@meejah@mastodon.social avatar

@shapr For #Python the version of this is "all the unit-tests pass" (commit!)
:)

hugovk, to programming
@hugovk@mastodon.social avatar
hugovk,
@hugovk@mastodon.social avatar
simplenomad, to infosec
@simplenomad@rigor-mortis.nmrc.org avatar

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...

https://www.markloveless.net/blog/2023/6/20/debian-12-quick-review

vpz,

@simplenomad For Kali (build on Debian unstable) it was announced in March. https://www.kali.org/blog/kali-linux-2023-1-release/#python-updates--changes

Posit, to python
@Posit@fosstodon.org avatar

We recently took the stage at #PyData Seattle, delivering talks on amazing #Python tools!

1️⃣ J.J. Allaire: Publishing Jupyter Notebooks with Quarto https://youtube.com/watch?v=rGgqP0othsM&list=PLGVZCDnMOq0q81_-rt5jzJ--ZEgcNArKb&index=22

2️⃣ Joe Cheng: Shiny: Data-centric web applications in Python https://youtube.com/watch?v=0ovCLxttJGE&list=PLGVZCDnMOq0q81_-rt5jzJ--ZEgcNArKb&index=23

Thanks for having us, Seattle!

danie10, to math
@danie10@mastodon.social avatar

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

See https://gadgeteer.co.za/in-praise-of-reverse-polish-notation-rpn-with-python-or-c/

#math #python #RPN #technology

rml, to python

"Now you C me, now you don't: exploiting the in-between"

On exploiting #python, #perl and #js FFI

https://securitylab.github.com/research/now-you-c-me-part-two/

mblayman, to python
@mblayman@mastodon.social avatar

🐍 #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

pybites, to python
@pybites@fosstodon.org avatar

We just cracked Bite 371. Python3.9 - Dictionary Merge - and now We Challenge You! https://codechalleng.es/bites/371

#Python #CodeChallenges

Omkhar, to python

@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.

jnovinger, to community
@jnovinger@mastodon.social avatar

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.

Fair warning, it's going to be hard to beat mine, my first @raymondh talk, https://pyvideo.org/pycon-us-2013/transforming-code-into-beautiful-idiomatic-pytho.html! 😛

qlp, to python
@qlp@linh.social avatar

It looks like talks from #PyData Seattle 2023 have been published on YouTube

https://www.youtube.com/playlist?list=PLGVZCDnMOq0q81_-rt5jzJ--ZEgcNArKb

#Python

jbzfn, to python
@jbzfn@mastodon.social avatar

🐍 Compiling typed Python | Max Bernstein
#Python
#Types
#TypeChecking https://bernsteinbear.com//blog/typed-python/

jbzfn, to python
@jbzfn@mastodon.social avatar

🐍 Designing Pythonic library APIs | Ben Hoyt


https://benhoyt.com/writings/python-api-design/

talkpython, to python

Kicking off another @talkpython live stream in a few minutes! Join us and be part of the show with @mkennedy and guests. https://talkpython.fm/stream/live

talkpython, to python

Kicking off another @talkpython live stream in a few minutes! Join us and be part of the show with @mkennedy and guests. https://talkpython.fm/stream/live

abbienormal, to python Italian

I'm pretty printing some dictionaries (mappings) in #python in order to gauge the layout in a clear form

I don't like the order the keys are printed in

Can I do anything about that ?

cazabon, to debian

#Debian #major #releases come along so rarely I always forget something since the last time I upgraded.

#Bullseye -> #Bookworm this time, and that was fun 😂

#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...

jbzfn, to rust
@jbzfn@mastodon.social avatar

🐍 Making Python 100x faster with less than 100 lines of Rust
#Rust
#Python https://ohadravid.github.io/posts/2023-03-rusty-python/

lamp, to python

whats the fastest way to generate a 10 second still video with text in , i just need to show error text in video player

mgorny, to python

language lawyers, we're seeing some interesting issue with / 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?

https://github.com/ICRAR/ijson/issues/101
https://foss.heptapod.net/pypy/pypy/-/issues/3956

hugovk, to python
@hugovk@mastodon.social avatar

"@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":

https://discuss.python.org/t/pypi-malware-detection-project/28222?u=hugovk #PyPI #Python #PSF #security

gregorni, to python
@gregorni@fosstodon.org avatar

This is more or less a perfect description of #Python: https://youtu.be/YnL9vAFphmE

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • Durango
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines