In Vitest 1.0 you can more easily share data between the main thread and your test files by using provide/inject API: https://vitest.dev/config/#globalsetup
If you are switching between #Flask and #FastAPI, I’ve got good news! 🎉
I just published a blog post outlining a collection of changes you’ll have to make if you are migrating between these two frameworks. 🚀
Read the full blog post here: https://jtemporal.com/tips-on-migrating-from-flask-to-fastapi-and-vice-versa/
Last night and this morning, I've had narrative games on my mind, and wondered if I could achieve a transition in PICO-8 that would suit heavier themes and not seem so "arcadey".
@mkennedy @talkpython @tiangolo @samuelcolvin how about @willmcgugan ?
@driscollis Option "C"
I usually use literal string concatenation in command line scripts that have long output lines.
Fun fact: the concatenation happens in bytecode compile time, so the tradeoff is some more cycles in startup time to save some cycles at runtime.
Reference: https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation
Les femmes québécoises travaillent gratuitement depuis samedi
https://pivot.quebec/2023/11/27/les-femmes-quebecoises-travaillent-gratuitement-depuis-samedi/
Le travail des femmes d’ici la fin de l’année équivaut à du travail gratuit en raison des iniquités salariales.
@yassie_j@0w0.is @mae it was funny that I read nvm as "Node Version Manager" even before looking at the image content 😅
Inter version 4.0 → https://rsms.me/inter/
After two years of work on a new version of Inter, I'm so proud that it's finally released. (It's been in beta for the past year)
The changes are vast. Most notably there are six additional "Display" designs for large delicious type
Dear Python developers on Linux
Workbench 45.3 is out and thanks to @capypara, now supports Python
Workbench is a code playground for GNOME and GTK
It features UI live reload, over a 100 demos and inline Python execution.
We hope you like it.
Superbe carte. Les superficies des pays sont représentées dans leurs tailles réelles (pas comme avec la classique projection de Mercator).
Attention par contre,
la boîte à l'origine de ce visuel, ArtLebedev, a commis une grosse faute impérialiste en comptant la Crimée dans la Russie. Cette région appartient à l'Ukraine, elle est envahit par la Russie contre le droit international.
#geographie #cartes #pays #map #worldmap #countries #geography
Under the assumption that you were doing something much more important, I took the screenshot for you. Show it to your kids, hang it on the wall, tattoo it somewhere, enjoy. :-)
The new GTK4 version of Foliate by John Factotum is finally out, and it's gorgeous ✨
This is one of the most polished, most useful third party apps out there, so it's really cool to see it updated to the latest version of the platform. It now also works on mobile, has a better library and navigation, and uses the standard Libadwaita preferences patterns, among other things.
#GitHubUniverse day 2:
- watched the keynote
- Hallway track: chatted with #Python and #PyLadies friends @pamelafox, @savannah, Jessica Temporal
- checked out sponsors' booths, got swag, and learned new tech
- learned about products being built by startups in Colombia and India (very cool stuff!!)
- speaker mentorship session
https://monaspace.githubnext.com
I have been working on this for the last 2-plus years alongside the terrific folks from Lettermatic type foundry led by @rileycran. All code is letters on a grid. We can make that code more expressive, and layer more meaning on to code.
@danielfeldroy my personal favorite combo:
- Sphinx: https://www.sphinx-doc.org
- Myst-parser: https://myst-parser.readthedocs.io
- Furo: https://pradyunsg.me/furo
New blog post: Life Critical Side Projects https://aeracode.org/2023/11/06/life-critical-side-projects/
In which I discuss how working on a social media server no longer brings me joy, look at ways to find others to help run it, and ponder on the good and bad of the Fediverse itself. (boosts are more than OK on this one!)
It's a difficult spell, I know, but you can do it 💜.
I started putting together a list of games to learn useful skills to build and maintain tech services.
If you are aware of other nice games that can help learning and testing interesting skills, let me know and I'll add them to the list!
🔄 Boosts welcome of course
tl;dr they give you a broken server and have you figure out how to fix it
like a CTF, but for devops instead of security!
@humrochagf Loved the final result #watercolor #painting #sketchbook
Learning #watercolor #painting #sketchbook