DjangoTricks's profile picture. on development with Django, Python, and JavaScript 🐍
founder, developer, author, creator, dad of 2, he/him
Currently developing https://pybazaar.com

Aidas Bendoraitis 💻

@DjangoTricks

on development with Django, Python, and JavaScript 🐍 founder, developer, author, creator, dad of 2, he/him Currently developing https://pybazaar.com

Fijado

A lightweight, extensible Django app for private messaging, built for easy integration. websightful.gumroad.com/l/django-messa…


Say something nice to so scared developer.

Scare a developer with zero words

florinpop1705's tweet image. Scare a developer with zero words


Aidas Bendoraitis 💻 reposteó

Pytest tip: Use "@pytest.mark.xfail" to mark tests expected to fail. This helps to highlight known issues without failing the test suite. Example 👇

testdrivenio's tweet image. Pytest tip:

Use "@pytest.mark.xfail" to mark tests expected to fail. This helps to highlight known issues without failing the test suite.

Example 👇

If you are like me, you probably think you know how to post data from the browser to the server. Think again. djangotricks.com/blog/2025/11/u…


Aidas Bendoraitis 💻 reposteó

Robot tiles that let you walk forever in VR Researchers at the University of Tsukuba built a tile that moves under your feet as you walk. It uses sensors to read your gait and predict where your next step will land. ✅ Each tile slides into place before your foot touches down.…


I’ve just published my new Django app on PyBazaar. You can get it on Gumroad for your next social website: pybazaar.com/resources/4RuY…


Today I learned about TOON - the new format to send structured data to LLMs. There is also a Python library for conversions: github.com/xaviviro/pytho…

If you’re still sending raw JSON into your LLMs, you’re burning tokens, latency, and budget! Try TOON (Token-Oriented Object Notation). Clear like YAML, compact like CSV: • 30–60% fewer tokens • Up to 50% lower costs • Shines for tabular data. Free and Open source 🧵↓

DataChaz's tweet image. If you’re still sending raw JSON into your LLMs, you’re burning tokens, latency, and budget!

Try TOON (Token-Oriented Object Notation).

Clear like YAML, compact like CSV:

• 30–60% fewer tokens
• Up to 50% lower costs
• Shines for tabular data.

Free and Open source 🧵↓


Aidas Bendoraitis 💻 reposteó

Pytest tip: Use pytest's custom markers to add metadata to tests. This helps organize and run specific groups of tests easily. Example 👇

testdrivenio's tweet image. Pytest tip:

Use pytest's custom markers to add metadata to tests. This helps organize and run specific groups of tests easily.

Example 👇

Aidas Bendoraitis 💻 reposteó

Python tip: The filterwarnings option in pytest allows you to control which warnings are shown during test runs by specifying categories and actions. 👇

testdrivenio's tweet image. Python tip:

The filterwarnings option in pytest allows you to control which warnings are shown during test runs by specifying categories and actions.

👇

Aidas Bendoraitis 💻 reposteó

teaching my dear macbook to count


Aidas Bendoraitis 💻 reposteó

hand-controlled boids


Aidas Bendoraitis 💻 reposteó

Python Tip: A namespace maps names to objects. Names in different namespaces don’t conflict - for example, functions in separate modules can share names safely.

testdrivenio's tweet image. Python Tip:

A namespace maps names to objects. 
Names in different namespaces don’t conflict - for example, functions in separate modules can share names safely.

Aidas Bendoraitis 💻 reposteó

We are officially certified for a greener future! Our locations in Germany are now EMAS certified, which proves our dedication to sustainable practices and responsible resource use. Every step we take helps reduce our environmental impact 🌍🌱 ➡️ htznr.li/EMAS

Hetzner_Online's tweet image. We are officially certified for a greener future! Our locations in Germany are now EMAS certified, which proves our dedication to sustainable practices and responsible resource use. Every step we take helps reduce our environmental impact 🌍🌱
➡️ htznr.li/EMAS

Loading...

Something went wrong.


Something went wrong.