Alert ⚠️ Malicious PyPI Package soopsocks Infects 2,653 Systems Before Takedown
thehackernews.com/2025/10/aler... #Cybercrime #Python #PyPI
Alert: Malicious PyPI Package ...
Alert ⚠️ Malicious PyPI Package soopsocks Infects 2,653 Systems Before Takedown
https://thehackernews.com/2025/10/alert-malicious-pypi-package-soopsocks.html #Cybercrime #Python #PyPI
The #python 3.14rc3 installer for windows is broken.
I see the installer was redone, so that's probably where the issue is not supporting all the install options the old installer supported.
A fun Friday night hack superpowered by Claude Code. The original Django book by Adrian Holovaty and @jacob is now available again at DjangoBook.com.
I wrote up a short bit on how this came to be: https://wsvincent.com/djangobook-back-online/

الدرس (7)
تحويل نوع المتغيّر
تقدّم في الدرس (4) أن نوع المتغيّر قد يتحوّل أثناء تشغيل البرنامج وذلك تبعاً للقيمة التي يمثّلها، وهذا الأمر واضح في المثال التالي:
x=5; y=2; x= x/y
فإنّ المتغير "x" كان من نوع العدد الصحيح "int" ولكن بعد أن أعطيناه قيمة ناتج قسمته على 2 سيتحوّل نوعه ليصبح عدداً عشرياً "float". ولكن، هذا ليس كافياً في بعض الصور، لذا كانت الحاجة إلى وجود دوال لتحويل أنواع المتغيّرات بين بعضها البعض، وتسمى "دوال تحويل النوع".
- دوال تحويل النوع (type conversion functions):
هي دوال تُستخدم لتحويل البيانات بين الأنواع الأساسية (مثل int, float, str) والهياكل البيانية (مثل list, tuple, set, dict). وفيما يلي سنذكر هذه الدوال مع بعض التوصيات المهمّة في استخدامها، ويمكنك مشاهدة الصور المرفقة للتعرّف على جميع الصور الممكنة.
الدوال المدمجة لتحويل الأنواع هي:
دالة int(x): تحويل إلى عدد صحيح (integer)
دالة float(x): تحويل إلى عدد عشري (float)
دالة str(x): تحويل إلى نص (string)
دالة bool(x): تحويل إلى قيمة منطقية (True/False)
دالة list(x): تحويل إلى قائمة (list)
دالة tuple(x): تحويل إلى مترابطة بيانية (tuple)
دالة set(x): تحويل إلى مجموعة (set)
دالة dict(x): تحويل إلى قاموس (dictionary)
* توصيات لتجنب الأخطاء
تحقق من صلاحية البيانات: تأكد أن النص يحتوي على أرقام صالحة قبل تحويله إلى int أو float.
التكرار مطلوب: لتحويل إلى list، tuple، أو set، يجب أن يكون المدخل iterable (مثل قائمة، نص، ولا يمكن أن يكون int أو float مباشرة).
المفاتيح في dict: يجب أن تكون المفاتيح غير قابلة للتغيير (مثل str، int، tuple).
اقرأ رسائل الخطأ: إذا حصلت على ValueError (بيانات غير صالحة للتحويل) أو TypeError (نوع غير متوافق)، تحقق من نوع المدخل وصحته.
* تذكّر!!!:
ليست كل التحويلات ممكنة (مثل تحويل نص غير رقمي إلى int يسبب ValueError).
التحويل يعتمد على محتوى البيانات (مثل تحويل "5.5" إلى float ممكن، لكن إلى int يتطلب تحويل وسيط).
#python
#programming_languages
#بايثون
#لغات_برمجة

Looks like Tallinn’s got pretty good #Python adoption.

#Julialang and #Python: Slowly Converging
https://lee-phillips.org/juliabook/trigseriesFull_960.mp4
Only 2 weeks to go until PyBay 2025! ⏳
Get ready for a full day of incredible Python talks, hands-on workshops, and networking with the amazing Python community.
📍 Oct. 18, 2025, San Francisco, CA: https://pybay.org/
🎟️ Tickets: https://pretix.eu/bapya/pybay-2025/
🎤 More talks: https://pybay.org/speaking/talk-list-2025/

@Yhg1s cool I don't see myself using this all that often but it sounds like a neat feature!
Is there, by chance, an estimate of which #Python version this would be likely to appear in if it gets accepted?
Temos a honra de apresentar nosso keynote, Robert Silva!
Robert é DevOps Engineer no Santander, com mais de 10 anos de experiência em TI como consultor e arquiteto de soluções. Especialista em Kubernetes (CKA e CKAD) e automação, é apaixonado por compartilhar conhecimento e inspirar profissionais na transição para DevOps.
#python #bolhadev #pythonbrasil #devops #pybr2025

Abelbeck Aviation Checklist progress: back-end is on a good way.
✅ asyncio HTTP server
✅ API module "Pilot's Logbook"
✅ API module "Aircraft Database"
✅ API module "Navigation"
✅ API module "German AIXM AIP"
✅ API module "German Print AIP"
"Navigation" offers course and wind triangle calculations.
"Aircraft database" offers take-off/landing distance calculations.
My digital local-only flight bag is evolving...
#aviationnerd #python #asyncio
@maphew Ah I see, thanks! For some reason I was only thinking of Linux. (I had been looking at another utility earlier in the day that was Linux-only, maybe I got stuck in that mindset.)
BTW I have been exclusively using ~/.local/bin for user scripts on Linux, as per the XDG standard or whatever it is, so I think it should be safe to ignore all the rest, leaving /bin and /opt and other things outside the home directory to the system package manager. At least, it works for me.