python

Back Open Paginator
19.11.2025 08:05
ros (@ros@techhub.social)

Advanced RAG: LongRAG, Self-RAG and GraphRAG Explained:
glukhov.org/post/2025/11/advan
#RAG #longrag #selfrag #graphrag #python #ai #llm




Show Original Post


19.11.2025 07:58
post (@post@lemmy.world)

5,000+ Stars on GitHub: Our Journey Building Droidun in Public

lemmy.world/post/39006830





Show Original Post


19.11.2025 07:51
hlfshell (@hlfshell@hachyderm.io)

I feel like I keep having the same conversation with other devs about just lately, so I wrote a mini "Hey, just is awesome" post. And if you don't know what it is I highly recommend adding it to your project.

hlfshell.ai/posts/justfiles/

#just #coding #tooling #golang #python #software




Show Original Post


19.11.2025 07:24
bgrier (@bgrier@universeodon.com)

Fun to be getting back to a project I've not touched in 5 months. Yes, it's a text-based interactive adventure / RPG based on the Classic #Traveller ruleset.

Big goal is it'll support user-designed story-modules and have a module editor etc... but that's down the road. First I have to get enough basic interaction, RPG structure, and 'stuff' in so that it'll at least be interesting.

#InteractiveFiction #RPG #TravellerRPG #TextAdventure #Python





Show Original Post


19.11.2025 07:21
clonbg (@clonbg@masto.es)

Un par de cursos de Youtube sobre programación myblog.clonbg.es/un-par-de-cur #Programación #VueJs #Python clonbg.es





Show Original Post


19.11.2025 06:09
ngate (@ngate@mastodon.social)

Ah yes, the age-old quest for enlightenment: writing Fizz Buzz without so much as a hint of logic 🙄. Our intrepid coder Evan has managed to turn the venerable challenge into a Pythonic act, cycling through sequences like a caffeine-fueled hamster on a wheel 🚴‍♂️. Who needs simplicity when you can overcomplicate everything with itertools? 🤹‍♂️
evanhahn.com/fizz-buzz-without




Show Original Post


19.11.2025 04:19
GripNews (@GripNews@mastodon.social)

🌘 不用條件判斷與布林值實現 Fizz Buzz
➤ 巧思解題:告別條件判斷,用 Python 實現 Fizz Buzz
evanhahn.com/fizz-buzz-without
本文介紹一種創新的 Python Fizz Buzz 解法,摒棄傳統的條件判斷和布林值,而是運用循環序列和字串遮罩技巧,巧妙地生成正確的輸出。作者透過 `itertools.cycle` 創造無窮盡的「Fizz」、「Buzz」字串循環,並結合數字序列,再利用自定義的 `string_mask` 函數將數字字串與「Fizz」、「Buzz」字串進行拼接,達成無條件判斷下的 Fizz Buzz 邏輯。雖然此方法在數字達到 10,000 時會因字串長度問題產生錯誤,但仍提供了一個極具巧思的解決方案。
+ 這方法真的太有創意了!完全沒想到可以用字串操作來替代條件判斷,長知識了。
+ 很有趣的挑戰!不過 `string_mask` 的字串長度限制是個有趣的發現,或許可以再想想如何克服。
Buzz




Show Original Post


19.11.2025 02:28
teguhteja (@teguhteja@mastodon.social)

Boost with typing class generation! Eliminate bugs, enhance code, and speed up development. Check out this guide!

teguhteja.id/odoo-typing-class




Show Original Post


19.11.2025 02:24
treyhunner (@treyhunner@mastodon.social)

The strftime method does the opposite of strptime: it converts datetime objects to strings, allowing us to specify the format we'd like to use during that conversion.

Read more 👉 trey.io/l4b84k




Show Original Post


19.11.2025 01:57
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


19.11.2025 01:12
km (@km@mastodon.babb.no)

I must have spent an hour or so trying to figure out why cancels did not work... until i noticed missing comma. d'oh

#Python





Show Original Post


19.11.2025 01:02
offseq (@offseq@infosec.exchange)

🚨 CRITICAL: CVE-2025-65015 in authlib joserfc (1.3.3–1.3.5, 1.4.0–1.4.2). Oversized JWTs can trigger DoS & leak payloads in logs. Patch to 1.3.5/1.4.2, set strict header limits, review logging configs. Details: radar.offseq.com/threat/cve-20 #OffSeq #CVE202565015 #Python #Vuln





Show Original Post


1 ...966 967 968 969 970 971 972 973 974 975 976 ...1568
UP