python

Back Open Paginator
29.03.2026 04:16
objects (@objects@pleroma.envs.net)
pyenv is not a solution to #python devs breaking shit in 3.10+, but a blank cheque for out-of-touch developers who don't care a single bit about backwards compatibility


Show Original Post


29.03.2026 04:07
villares (@villares@pynews.com.br)

Obrigado aos amigos do LHC (Laboratório Hacker de Campinas) pelo dia sensacional!
The sketch-a-day archives and tip jar are at: abav.lugaralgum.com/sketch-a-d Code for this: github.com/villares/sketch-a-d #Processing #Python #py5 #CreativeCoding





Show Original Post


29.03.2026 04:03
praetor (@praetor@mstdn.social)

I love #C++ but, I haven't done much of it since college and that was C++03, and still using makefiles because #cmake had just barely came on the scene. And package management? What package management? vcpkg is so nice. So I've been watching Youtube videos to get up to date, and some dude did a whiny ass 2-hour video complaining how ugly C++ is next to... #python dude...that is apples and oranges. Quite literally. C++ isn't built to be pretty. It's built for speed! I honestly don't like python.




Show Original Post


29.03.2026 03:42
feed (@feed@igeek.gamer-geek-news.com)

🐧 MetPy – read, visualize and perform calculations with weather data

MetPy is a Python library that provides a comprehensive suite of tools for working with meteorological data. The post MetPy – read, visualize and perform calculations with weather data appeared fir...

📰 Source: LinuxLinks
🔗 Link: https://www.linuxlinks.com/metpy-read-visualize-perform-calculations-weather-data/

#Python #DataScience




Show Original Post


29.03.2026 03:42
habr (@habr@zhub.link)

Космос из школьного кабинета: Как мы научили ИИ законам Кеплера после «разноса» от ученых

Существует стереотип, что современная наука об экзопланетах — это прерогатива NASA и ученых с миллионными грантами. Мы — команда обычных школьников и наш наставник — решили доказать, что для открытия новых миров достаточно ноутбука, Python и понимания того, что Машинное Обучение (ML) без физики — это просто генератор случайных чисел. Это история проекта ExoLogica AI : путь от сокрушительного провала на конференции до создания гибридного интеллекта, который видит то, что иногда пропускают профессиональные телескопы.

habr.com/ru/articles/1016416/

#экзопланеты #Астрофизика #машинное_обучение #Python #XGBoost #ExoLogica_AI #Kepler #NASA #KOI4878_b_масса #KOI4878_b




Show Original Post


29.03.2026 01:31
diazona (@diazona@techhub.social)

@glyph @lattera Indeed. And in fact, now that I take a closer look at that code, there are some *really* inadvisable formatting choices in there. Including cases where the author was actively fighting against the way #Python normally encourages one to write code.

Not that I think this is what actually happened, but if someone specifically decided to create an example of how you can write code that's "properly indented" but still badly formatted and organized, I could see them coming up with something that looks like this.




Show Original Post


29.03.2026 01:03
diazona (@diazona@techhub.social)

@lattera Those are exceptionally long lines and high levels of indentation, compared to most #Python code I see. (Or honestly, compared to most mainstream languages... Java is the only one that comes to mind where the code tends to look a bit more like that.)




Show Original Post


29.03.2026 00:47
qiita (@qiita@rss-mstdn.studiofreesia.com)

税は財源ではない?― 格差是正と成長を同時に実現する政策設計 : Pythonで学ぶ マクロ経済学入門 (65)
qiita.com/maskot1977/items/2bb

#qiita #Python #grok #ChatGPT #ChatGPTに聞いてみた #マクロ経済学




Show Original Post


29.03.2026 00:42
lattera (@lattera@bsd.network)

#Python makes such great use of that horizontal real estate. /s





Show Original Post


29.03.2026 00:29
ros (@ros@techhub.social)

Learn what text embeddings are, how they power RAG and semantic search, and how to call embedding APIs from Python using Ollama or an OpenAI-compatible server (for example llama.cpp). Includes persistence, retrieval, and links to chunking, vector stores, and reranking on this site.

#Embeddings #RAG #Python #Ollama #LLM #Self-Hosting #Vector Database

glukhov.org/rag/embeddings/




Show Original Post


29.03.2026 00:20
askubuntu (@askubuntu@ubuntu.social)

Can't install Ansible 2.18 in Ubuntu 24.04 anymore #apt #server #python #2404 #ansible

askubuntu.com/q/1565244/612




Show Original Post


28.03.2026 23:37
feed (@feed@igeek.gamer-geek-news.com)

📰 SystemD Contributor Harassed Over Optional Age Verification Field, Suggests Installer-Level Disabling

It's FOSS interviewed a software engineer whose long-running open source contributions include Python code for the Arch Linux installer and maintaining packages for NixOS. But "a recent change he m...

📰 Source: Slashdot
🔗 Link: https://news.slashdot.org/story/26/03/28/2215230/systemd-contributor-harassed-over-optional-age-verification-field-suggests-installer-level-disabling?utm_source=rss1.0mainlinkanon&utm_medium=feed

#Python #Linux #OpenSource #AI #ArtificialIntelligence




Show Original Post


1 ...3 4 5 6 7 8 9 10 11 12 13 ...1357
UP