python

Back Open Paginator
01.01.2026 10:18
GripNews (@GripNews@mastodon.social)

🌗 寶可夢隊伍最佳化:運用混合整數規劃打造最強戰隊
➤ 當科學家決定「過度設計」他的童年回憶
nchagnet.pages.dev/blog/pokemo
作者回憶起童年對《寶可夢》的熱愛,但身為一名科學家,他在成年後重新接觸這款遊戲時,忍不住運用專業技能進行「數值極大化」(Min-maxing)。他不滿足於隨意組隊,而是將隊伍組建視為一個典型的工業運籌學問題,透過「混合整數規劃」(MIP)來尋找最優解。這篇文章詳細介紹瞭如何將遊戲機制轉化為數學模型,目標是在確保隊伍能抵抗所有屬性攻擊的前提下,讓全隊的總種族值(Base Stats)達到最高。這不僅是一次遊戲體驗的升級,更是一場將物流路徑規劃等工業技術應用於娛樂領域的有趣實踐。
+ 這真是極客(Geek)浪漫的極致表現,竟然用解決工業物流的數學模型來打道館!
+ 以前我只會用噴火龍一路碾壓,沒想到背後可以有這麼深奧的線性規劃理論。




Show Original Post


01.01.2026 10:15
isazajuancarlos (@isazajuancarlos@mastodon.social)

🚀 ¡Revoluciona la gestión de tu empresa con nuestro Sistema de Automatización de Cumplimiento Normativo! Self-hosted, sin pagos recurrentes y desarrollado en Python puro. Optimiza auditorías y trazabilidad con NiceGUI y SQLAlchemy. ¡Lleva tu negocio al siguiente nivel! 🌐





Show Original Post


01.01.2026 10:11
mmornati (@mmornati@techhub.social)

Another deep dive 🔐
This article focuses on the technical architecture of Cyber Code Academy and, more importantly, how we securely execute untrusted Python code.
I explain the isolation strategy, execution limits, containerization choices, and the safeguards protecting the server while keeping fast feedback.

Feel free to try to break the platform 😈 — and if you actually manage to reach the target, please share what wasn’t secured. That feedback is gold.
It’s also fascinating to see how AI-driven coding (even when carefully guided) explores and challenges security boundaries.

👉 blog.mornati.net/securing-pyth

#Python #Security #AICoding #Dev #EdTech #Architecture




Show Original Post


01.01.2026 10:08
mmornati (@mmornati@techhub.social)

If you are interested in go deepers,
in this article, I go behind the scenes of Cyber Code Academy and focus on the admin section that powers the platform.

I explain how challenges are created and managed, how real-time code battles are supervised, and how moderation and tooling help keep everything scalable and fun. And part of the sections are supported by AI.

👉 blog.mornati.net/behind-the-sc

#Python #EdTech #AICoding #Dev #SideProject




Show Original Post


01.01.2026 10:01
mmornati (@mmornati@techhub.social)

During the Christmas holidays, I built a full Python learning platform in just 5 days using AI (Cursor + Copilot). 🚀
The goal: help my son, who’s starting to learn coding in high school.

Cyber Code Academy
✅ 100+ challenges (beginner → expert)
⚔️ Real-time code battles
🔒 100% free & no tracking
Devs, come try it (or break it 😉)
👉 play.pygame.ovh/

Full article: mmornati.hashnode.dev/building

#Python #AICoding #Dev #EdTech




Show Original Post


01.01.2026 09:37
posts (@posts@mikka.is)

I'm mostly doing this for myself, a way to look back and see the year for what it was. Negatives tend to stand out in our memories: pain, anger, a slight we didn't appreciate, a loss we did not anticipate... all this quickly coalesces into a gloom and doom spiral, a "search and you will find" approach to seeing things as dark as possible.

2025 in Code.

The first months were all about learning and using Dart and Flutter. We wrote Camino Now, got out first 20,000 users, and celebrated on the Camino Francés in a Hot Tub.

To fully make Camino Now work, I also had to learn more about Django to write the backend. That one was a bit of a drag, but worked out, and by May we had a working version that served those 20,000 users with ease.

Around October, I started using Ruby more, including Rails, and was often blown away by how much easier things got, when redid them in Ruby. I still love Python and can't think of any language more suitable for my needs, but rewriting all of Camino Now's backend in Ruby took a week, which was astounding.

The next version of Camino Now will be web based, not bound to an app, and might be written in Ruby and Rails.

Other Projects

Hule (this website) is written in Python. It features a Microblog-Macroblog backend, federation into the ⁂ Fediverse, Photo-First approach, Wiki pages, and Fediverse threads being displayed intelligently. Hule works rather well, serves me well, and seems to make me want to write more and more coherently. The Wiki will slowly become a collection of "Days in Medical History" over this year.

Train Track has nothing to do with Trains and will be my personal training tracker for 2025. The goal is to reach a very healthy 75 kilos by the end of this year, run a half marathon, and get fit enough to do even higher ascents and mountains. I'll show you guys what I wrote in a few days.

Conclusion

I got more fluent in Python, learned Dart and Flutter, and rediscovered Ruby for web based projects and quick CLI scripting. All in all, a good year in that regard, and one that sets the foundation for 2026.




Show Original Post


01.01.2026 09:32
Sarah_Lea (@Sarah_Lea@techhub.social)

Chunk size in RAG systems defines the size of the text segments into which documents are split before embedding.

I wanted to understand the impact of three different chunk sizes, so I built a small RAG system to test it: towardsdatascience.com/chunk-s

:blobcoffee: Wishing you all a successful start to 2026

#ai #datascience #datascientist #ki #artificialintelligence #python #rag #towardsdatascience #programming #Technology




Show Original Post


01.01.2026 09:31
canderson (@canderson@chaos.social)

PyPI in 2025: A Year in Review

blog.pypi.org/posts/2025-12-31

#python




Show Original Post


01.01.2026 08:19
TechKeysX (@TechKeysX@mastodon.social)

V - S1 EP14 Lab 4 - Machine Learning in Python - Object Representation - Fallback Order





Show Original Post


01.01.2026 08:00
coatless (@coatless@mastodon.social)

{webrarian} walked so {pyrarian} could... also walk? Ported 's 4-panel editor to Pyodide. Already loading pandas and plotting with matplotlib in the browser. The librarians are going multilingual.





Show Original Post


01.01.2026 06:37
mig5 (@mig5@goto.mig5.net)

Gave Enroll its own flagship site! Demos and docs, feels a lot easier to absorb.

Enroll (and JinjaTurtle) can also now be installed on Fedora 43!

https://enroll.sh

I was going to put it on HN but they won’t make it public for some reason. So into the fedivoid it goes…

#Ansible #Sysadmin #Automation #Python




Show Original Post


01.01.2026 06:28
sheerluck_dev (@sheerluck_dev@mastodon.social)

Published article on Vector Dot Product Properties with Proofs.

> Learn Why Dot Product of 2 vectors is distributive, generally not Associative and Commutative with detail proofs

This one was a fun one to write as it has lots of maths and proofs.

blog.sheerluck.dev/p/vector-do




Show Original Post


1 ...730 731 732 733 734 735 736 737 738 739 740 ...1581
UP