python

Back Open Paginator
20.11.2025 16:46
shawnhymel (@shawnhymel@masto.ai)

Time for another #ROS video! In part 9, I cover launch files in both #Python and #XML. ROS 2 offers a slick launch system to handle spinning up your nodes (with parameters). Check it out!
👇
youtube.com/watch?v=nVZJCV07ED4

#robotics #programming #ros2





Show Original Post


20.11.2025 16:21
GripNews (@GripNews@mastodon.social)

🌗 10 個讓 Python 程式碼執行更快的智慧效能技巧
➤ 精通 Python 的效能調校:從入門到專家
blog.jetbrains.com/pycharm/202
這篇文章介紹了十種能顯著提升 Python 程式碼執行速度的實用技巧。作者從利用集合 (set) 進行成員測試、避免不必要的物件複製、使用 `__slots__` 節省記憶體,到善用 `math` 模組的內建函數,並預先分配記憶體空間,提供了多項經過驗證且易於實現的方法。這些技巧結合了 Python 的內建功能、高效的資料結構和低階優化策略,旨在幫助開發者在不犧牲程式碼清晰度的前提下,大幅縮短執行時間,從而將 Python 編程能力提升至新的境界。
+ 感謝分享!尤其是 `__slots__` 和 `set` 的用法,確實能大幅改善效能,非常實用。
+ 我一直以為 `math.sqrt` 和 `**0.5` 沒什麼差別,看了測試數據才知道差異這麼大!
效能優化




Show Original Post


20.11.2025 16:09
kukuk (@kukuk@toot.community)

get your latest and greatest #python on #wsl #ubuntu

cloudbytes.dev/snippets/upgrad




Show Original Post


20.11.2025 16:00
tweag (@tweag@social.tweag.io)

Didn't make it to #BazelCon?

Watch Guillaume Maudoux’s talk on Python dependency management with FawltyDeps in Bazel. 🐍

🎥 Check out the recording: youtube.com/watch?v=5j2bb44CV1

#Python #Bazel #FawltyDeps




Show Original Post


20.11.2025 15:54
Python_Ireland (@Python_Ireland@mastodon.ie)

The #PyConIE after party was amazing!

Check out jigsaw, our new favourite band, thanks for introducing (most of) us to math rock!
Thanks to EdgeTier for the food, drinks, and good vibes!

Who’s ready for next year???

#PyConIe #Python #PyCon #PythonIe





Show Original Post


20.11.2025 15:50
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Smart Performance Hacks for Faster Python Code

blog.jetbrains.com/pycharm/202




Show Original Post


20.11.2025 15:47
sekurakbot (@sekurakbot@mastodon.com.pl)

ShadowMQ – niebezpieczny wzorzec deserializacji pickle wykryty w wielu silnikach wnioskowania AI

Badacze bezpieczeństwa z Oligo Security wykryli szereg podatności pozwalających na zdalne wykonanie kodu w głównych frameworkach do wnioskowania sztucznej inteligencji. Luki bezpieczeństwa występują w produktach oferowanych przez Meta, NVIDIA, Microsoft, vLLM oraz SGLang. Problem tkwi w niebezpiecznej kombinacji ZeroMQ i deserializacji pickle w Pythonie. Co ciekawe, szczególną uwagę badaczy zwrócił...

#Aktualności #Ai #Cve #Deserializacja #Llm #Python #Rce #Shadowmq #Zeromqv

sekurak.pl/shadowmq-niebezpiec




Show Original Post


20.11.2025 15:44
ben_tinc (@ben_tinc@chaos.social)

I am delving deeper into #jsonld frames and I must say I am not exactly thrilled about the available #python libraries. However, the browser based JSON-LD Playground is really nice!

json-ld.org/playground/next/




Show Original Post


20.11.2025 15:43
emilyselect (@emilyselect@mastodon.social)

Kotlin基础教程十分钟速成✌️ 快速上手Kotlin

emilyselect.com/kotlin%e5%9f%b

...





Show Original Post


20.11.2025 15:32
dougortiz (@dougortiz@mastodon.social)

Is LangChain Just a Glorified Wrapper? 🧠

Stop calling it magic. It's just a pipeline. 🛠️

Many think AI integration is complex, but look at the code. In this short, I break down exactly how a Hugging Face model gets wrapped into

LangChain. We cover:✅ Defining parameters✅ Setting temperature✅ Tokenizing data

Is your pipeline optimized, or are you just copying code?

📺 Short: youtube.com/shorts/AENjrkTEQXU




Show Original Post


20.11.2025 13:50
davepotts (@davepotts@mastodon.org.uk)

I wish I'd found the #termux specific PyPI package index sooner. A life saver!

davepotts.software/mobile/2025

#programming #python




Show Original Post


20.11.2025 13:41
joel (@joel@gts.tumfatig.net)

Ladies, gentleman and all other nice people, hold on to your keyboard, I’m gonna say something nice about #FreeBSD

I like the fact that pkg provides various versions of #Python, down to the latest 3.10 stable release!

On other OSes I played with, I needed to grab the sources and build it myself. Given how some projects are tightly linked to a particular Python version, this can be a little tedious.

like and subscribe for more 2 cents

#SysAdminLife




Show Original Post


1 ...957 958 959 960 961 962 963 964 965 966 967 ...1569
UP