Python Tip: Ternary Expression
status = 'even' if x % 2 == 0 else 'odd'
result = value if value is not None else default
Python's ternary operator is readable and concise. Replaces simple if/else blocks.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: Generator Expressions
# Memory-efficient: processes one item at a time
total = sum(x**2 for x in range(1_000_000))
# vs list comprehension that creates full list in memory
Generator expressions use constant memory regardless of input size. Essential for large data...
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
News includes Hackney v3.1.0 with pure #Erlang HTTP/3 support, Hornbeam running #Python apps on the BEAM, the Easel Canvas 2D drawing library for #LiveView, Hologram v0.7.0 reaching 96% Erlang runtime coverage, and more! #ElixirLang @elixir-lang.org@bsky.brid.gy www.youtube.com/watch?v=DBuH...
Thinking Elixir Podcast 293: T...
A major #update to #icalendar for #Python has been released!
Read about new features, ease of use and improved #compatibility in our announcement: https://github.com/collective/icalendar/discussions/1229
We thank @nlnet for their #funding to make so much work possible!
#PythonIcalendar #rfc5545 #rfc7265
Show HN: SNKV – SQLite's B-tree as a key-value store (C/C++ and Python bindings)
https://github.com/hash-anu/snkv
🎉 Ah, yet another attempt to turn SQLite's #B-tree into a groundbreaking #key-value store! Because, you know, #reinventing the #wheel is the new black. 🚀 Let’s all pretend it's not just #Ctrl+C, #Ctrl+V with a fancy name and sprinkle of #Python #bindings for extra spice! 😂
https://github.com/hash-anu/snkv #SQLite #store #HackerNews #ngated
Can anyone recommend any Python trainers in Brazil? It's not clear if this will come to anything, but I may need some in the next couple of months. #Python #Brazil
SNKV – SQLite's B-tree as a key-value store (C/C++ and Python bindings)
https://github.com/hash-anu/snkv
#HackerNews #SNKV #SQLite #B-tree #key-value #store #C++ #Python #bindings #GitHub
Как я построил Graph RAG систему с точностью 96.7% за 5 дней: от научных статей до production-ready пайплайна
Я реализовал Graph RAG систему, которая комбинирует 5 техник из свежих научных статей (KET-RAG, HippoRAG 2, VectorCypher) в единый пайплайн с декларативным Datalog reasoning-движком, полной провенансной трассировкой и типизированным API. Результат: 174/180 (96.7%) на билингвальном бенчмарке из 30 вопросов, оценённых в 6 режимах retrieval. Три режима достигли 100%. В статье — архитектура, 10 уроков оптимизации и эволюция от 38% до 96.7% за 10 итераций.
https://habr.com/ru/articles/1003064/
#GraphRAG #RAG #Neo4j #NLP #LLM #Python #Datalog #Knowledge_Graph #embeddings #PageRank
Sentry is hiring Software Engineer, Issue Processing
🔧 #javascript #python #rust #typescript #django
🌎 San Francisco, California
⏰ Full-time
🏢 Sentry
Job details https://jobsfordevelopers.com/jobs/software-engineer-issue-processing-at-sentry-io-jan-27-2025-9e23b4?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
An Erlang backed, ASGI compatible HTTP server has been released by the author of gunicorn.
https://github.com/benoitc/hornbeam