python

Back Open Paginator
06.03.2026 15:12
habr (@habr@zhub.link)

FunGP: питоничность против церемониальности JavaCard

Всем привет! Традиционное вступление в стиле "плач Ярославны": GlobalPlatform, ISO 7816, JavaCard и прочие смежные стандарты - боль. Тонна материала написанная сухим языком так и навивает мысль, что авторы этого всего не инженеры, а юристы. Для примера скажу, что каждый стандарт ETSI начинается со смысловых определений глаголов "shall", "shall not", "should", "should not" и т.д. Нет, в канцелярском стиле ничего плохого нет. Плохо становится когда он плавно переходит поросячью латынь - и это одно из самых терпимых определений. Это же додуматься надо "размазать" требования к несчастной SMS-ске между пятью стандартами (ETSI 102-223/-225/-226 и 131-111/-115). Ну вот ты преодолел пучины стандартов, затем засел за написание JavaCard-апплета, с чем тоже успешно справился, ну а дальше начинается квест "найди все тулзы". Инструментарий от Oracle для сборки .cap-файлов недоступен из России, благо есть один удобный в открытом доступе. Там же рядышком лежит тулза для установки/удаления апплетов (да и вообще управления жизненным циклом карты). Итак, ты скомпилировал и загрузил апплет на карту. Классно! А дальше? А дальше поговорим в статье.

habr.com/ru/articles/1007392/

#java_card #globalplatform #python #тестирование




Show Original Post


06.03.2026 14:56
dn_mason (@dn_mason@mas.to)

@JontyTownson @inkscape was always pretty high on my list for figure generation.

Any data analysis needs? #Octave, #Python ?

#NotepadPlusPlus is also a must for me.

Hope that helps




Show Original Post


06.03.2026 14:25
smach (@smach@masto.machlis.com)

25 free resources, presentations & tip sheets so far added to my searchable table of #NICAR26 materials, including
10 Things you Didn't Know You Could Do in R
AI Glossary for Journalists
Decoding Deportation Data
apps.machlis.com/shiny/nicar20
Plus lots from prior yrs
##RStats #Python #GenAI #DDJ




Show Original Post


06.03.2026 14:12
habr (@habr@zhub.link)

Мониторинг того, что нельзя «пощупать»: как следить за cron-задачами, бэкапами и серверами за NAT с помощью Heartbeat

Heartbeat-мониторинг — единственный способ проверить cron-задачи, фоновые процессы и устройства за NAT. Рассказываю, как работает эта технология в PingZen, и почему она проще и надежнее self-hosted решений.

habr.com/ru/articles/1007420/

#мониторинг #администрирование #администрирование_вебсерверов #сервер #python #cicd #uptime #уведомления #nat #бэкапы




Show Original Post


06.03.2026 13:50
event (@event@evenemang.inorrbotten.se)

Pythonkväll

kulturskolan Kiruna, torsdag 12 mars kl. 17:00 CET

Nu är det

Pythonkväll!

Dagens ämnet är matplotlib.

Välkommen till Pythonkväll hos hacKRNspace!

evenemang.inorrbotten.se/event





Show Original Post


06.03.2026 13:49
publicwondering (@publicwondering@mastodon.me.uk)

@pikhq I have had ~25 years coding professionally. The first job I had beat all the love for it out of me. I partially regained that when I learnt #Python 15 years ago. Lately I've realised that most of my jobs were BS to make a rich guy richer.

The ethical places I've chosen to work lately bring interesting coding, but also some tedious grind. I despise AI, but I'm encouraged to use it to get things done quickly. We all have bills to pay and sadly caring doesn't pay them. #capitalism




Show Original Post


06.03.2026 13:34
alvinashcraft (@alvinashcraft@hachyderm.io)

Dew Drop Weekly Newsletter 473 - Week Ending March 6, 2026

zc.vg/MIJVH?m=0

#dewdrop #newsletter #javascript #aspnetcore #azure #xaml #windowsdev #dotnetmaui #csharp #dotnet #winui #ai #mcp #devops #agile #python #appdev #podcasts #m365 #sqlserver #data #powershell #cpp




Show Original Post


06.03.2026 13:08
qiita (@qiita@rss-mstdn.studiofreesia.com)

"なくても困らない" は本当か? ― 博物館削減が日本を弱くする理由 : Pythonで学ぶ マクロ経済学入門 (54)
qiita.com/maskot1977/items/55c

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




Show Original Post


06.03.2026 12:57
infoq (@infoq@techhub.social)

#GitHub Octoverse 2025: The “Convenience Loop” where AI coding assistants are shaping language choice:

🔹 #TypeScript has surged 66% to the #1 spot. Why❓ Because static types provide essential guardrails for LLMs.
🔹 #Python still leads AI research, but stacks that minimize AI friction are dominating. The result❓ Niche languages are finding it harder to compete.

Read about the report here ⇨ bit.ly/4rcUZ6M

#AI





Show Original Post


06.03.2026 12:39
mopicmp (@mopicmp@mastodon.social)

Python Tip: str.removeprefix/removesuffix

filename = 'test_utils.py'
module = filename.removesuffix('.py') # 'test_utils'
name = module.removeprefix('test_') # 'utils'

Python 3.9+ added removeprefix() and removesuffix(). No more error-prone string slicing.

raccoonette.gumroad.com/l/Pyth




Show Original Post


06.03.2026 12:39
mopicmp (@mopicmp@mastodon.social)

Python Tip: operator.itemgetter for Sorting

from operator import itemgetter
students = [('Alice', 92), ('Bob', 87), ('Eve', 95)]
sorted(students, key=itemgetter(1), reverse=True)
# [('Eve', 95), ('Alice', 92), ('Bob', 87)]

itemgetter is faster than lambda and more readable for sorting by index or key.

raccoonette.gumroad.com/l/Pyth




Show Original Post


06.03.2026 12:27
Edent (@Edent@mastodon.social)

OK, the problem is now with 's Requests.

It see the HTTP 302, but doesn't follow it until the connection is terminated. There's no obvious way to tell requests "Follow the redirect header as soon as you see it and ignore the body."




Show Original Post


1 ...371 372 373 374 375 376 377 378 379 380 381 ...1592
UP