@laurenshof @obenland @mattwiebe trust me, we do not help you to move to Ghost!
...even if I have to write a special check for the @fediversereport that hides the UI!
thanks @johnonolan !!!
@laurenshof @obenland @mattwiebe trust me, we do not help you to move to Ghost!
...even if I have to write a special check for the @fediversereport that hides the UI!
thanks @johnonolan !!!
What does magnesium do for the body? https://www.diningandcooking.com/1988944/what-does-magnesium-do-for-the-body/ #(Industry) ##swift #And #Curious #dietary #DietarySupplements #food #Food(Industry) #Just #JustCurious #nutrition #Overall #OverallPositive #point #positive #SEO #SEOWellness #supplements #taylor #TaylorSwift #the #to #ToThePoint #u0026 #Vitamins #VitaminsAndSupplements #VitaminsU0026Supplements #wellness
"On this sunny day, standing on this vast land, I silently prayed: May this city shine with new brilliance through openness and inclusivity; may Chinese #culture leave a deeper mark on this land of #Canada. Let the idea of “天下为公” no longer just be a symbol, but a profound emblem of this city’s #multiculturalism, leading us toward a more #harmonious, #inclusive, and #just #world in the years to come."
#yeg Thank you #YanjianLuo
https://edmontonjournal.com/opinion/columnists/opinion-edmontons-quarters-lrt-station-inspires-and-disappoints
https://www.alojapan.com/1227078/jesse-mulligans-kyoto-travel-guide-is-largely-unplanned-but-supremely-serene/ Jesse Mulligan’s Kyoto Travel Guide Is Largely Unplanned, But Supremely Serene ##Forget #but #capital #former #guide #instead #is #Japans #jesse #just #Kyoto #KyotoTopics #largely #mulligans #mustsee #peaceful #popular #serene #still #supremely #Surprisingly #travel #unplanned #visiting #京都 #京都府 Visiting Kyoto? Forget the must-see and instead ‘just be’ in Japan’s popular, but still surprisingly peaceful, former capital. “It’s my favourite cit…
What supplements lower cortisol? https://www.diningandcooking.com/1981170/what-supplements-lower-cortisol/ #anxiety #AnxietyU0026Stress #conditions #Curious #dietary #DietarySupplements #emotional #health #HealthConditions #Just #JustCurious #literature #medical #MedicalLiteratureU0026Resources #nutrition #Overall #OverallPositive #point #positive #resources #SEO #SEOWellness #stress #Stress(emotional) #supplements #the #to #ToThePoint #u0026 #wellness
Can you eat kiwi skin? https://www.diningandcooking.com/1972603/can-you-eat-kiwi-skin/ #Affiliate #And #Curious #food #Fruits #FruitsU0026Vegetables #health #Just #JustCurious #Kiwifruit #local #LocalAffiliateFood #LocalAffiliateHealthAndWellness #Neutral #nutrition #Overall #OverallNeutral #point #SEO #SEOWellness #the #to #ToThePoint #u0026 #Vegetables #Vegetarian #wellness
Can you eat salmon skin? https://www.diningandcooking.com/1963713/can-you-eat-salmon-skin/ #Affiliate #And #Curious #diet #DietAndNutrition #food #harvard #HarvardUniversity #health #Just #JustCurious #local #LocalAffiliateFood #LocalAffiliateHealthAndWellness #Meat #MeatU0026Seafood #Neutral #nutrition #Overall #OverallNeutral #point #Salmon #Seafood #SEO #SEOWellness #the #to #ToThePoint #u0026 #University #Vegetarian #wellness
How the Ranch, the Houston Rodeo’s Fine Dining Destination, Rakes In $3 Million in Just 20 Days https://www.diningandcooking.com/1963706/how-the-ranch-the-houston-rodeos-fine-dining-destination-rakes-in-3-million-in-just-20-days/ #days #Destination #dining #eater #FeaturedStories #fine #FrontPage #Houston #HoustonRodeo #how #in #Just #million #rakes #ranch #RestaurantNewsBusinessFoodIndustry #Rodeo #s #the
Prolific South Bay Chef David LeFevre Just Opened Mezze and Skewer Restaurant Attagirl in Hermosa Beach https://www.diningandcooking.com/1956841/prolific-south-bay-chef-david-lefevre-just-opened-mezze-and-skewer-restaurant-attagirl-in-hermosa-beach/ #And #attagirl #Bay #beach #chef #david #eater #FrontPage #hermosa #in #Just #la #lefevre #Mediterranean #MediterraneanRestaurants #mezze #opened #prolific #restaurant #RestaurantNewsBusinessFoodIndustry #RestaurantOpenings #skewer #south
Is asparagus good for you? https://www.diningandcooking.com/1954363/is-asparagus-good-for-you/ #Affiliate #And #Curious #diet #DietAndNutrition #food #Fruits #FruitsU0026Vegetables #Just #JustCurious #local #LocalAffiliateFood #nutrition #Overall #OverallPositive #point #positive #SEO #SEOWellness #the #to #ToThePoint #u0026 #Vegetables #Vegetarian #wellness
Experimenting with just
I took some time this weekend to experiment with just
—a modern, make-inspired command runner. I’m interested in using it for managing the routine tasks of the Cifonauta database (a Django-based app), which are currently handled by Fabric.
Fabric is a Python library for running shell commands locally or remotely via SSH. I use it for interacting with the Cifonauta’s servers, like fetching the latest database from production or running the deployment routine after code updates.
Although Fabric works mostly fine, I’ve encountered a few command quirks over the years. I also often get confused when creating tasks because of all its lower level libraries (Invoke, Paramiko, Invocations, and Patchwork…). So, in the back of my mind, I’ve been roaming for a simpler alternative.
just
seems to have a nice set of features and appears to be gaining some momentum lately.
Justfile
‘s syntax is similar to that Makefile
‘s. It was straightforward to create some recipes for the standard manage.py
commands of Django, like runserver
or shell
. Here are a few of them:
# Cifonauta's justfile
# Set the default shell to bash
set shell := ["bash", "-cu"]
# List all available recipes
default:
@just --list
# Run Django development server
runserver:
@echo "Starting Django development server..."
python manage.py runserver
# Run Django shell
shell:
@echo "Starting Django shell..."
python manage.py shell
# Run Django database shell
dbshell:
@echo "Starting Django database shell..."
python manage.py dbshell
# Run Django makemigrations
makemigrations:
@echo "Making migrations..."
python manage.py makemigrations
# Run Django migrate
migrate:
@echo "Applying migrations..."
python manage.py migrate
# Run Django collectstatic
collectstatic:
@echo "Collecting static files..."
python manage.py collectstatic --noinput
# Run Django test
test:
@echo "Running tests..."
python manage.py test
I run the manage.py
commands every time I work on the Cifonauta code. They are simple enough, but running just runserver
or just migrate
is even simpler and feels semantically right. And the autocomplete is also snappier than the standard django_bash_completion
. I liked it.
A note: just
prints the command itself to the terminal by default. Adding the @
in front hides the command; only the output is shown when running the recipe.
The first issue I had was trying to activate Cifonauta’s Python virtual environment automatically for each of the recipes above. Based on intuition, I created a recipe to activate the environment and added it as a dependency to other recipes. However, this didn’t work out.
It turns out that each line in just
runs a new shell instance. After digging a bit, the solutions I found were complicating the code too much, so for now, I’m sticking with activating the environment myself beforehand—it’s quick enough (a one-key alias).
After this initial setup, I started migrating some fabfile
tasks of the Cifonauta workflow to justfile
recipes. One very nice feature I discovered is that you can run a just
recipe in any language using shebangs. Different from regular recipes, the variables will persist across lines like in a standard script.
Here’s a simple Bash recipe to dump the local database to a file for backup:
# Backup local database
backup-local-db:
#!/usr/bin/env bash
echo "Dumping local database to file... ({{dbname}})"
set -euo pipefail
mkdir -p {{local_bkp_dir}}
FILEPATH="{{local_bkp_dir}}/$(hostname)_{{dbname}}_$(date +%Y-%m-%d_%H%M).sql.gz"
pg_dump {{dbname}} | gzip -c9 > "$FILEPATH"
echo "Backup created: $FILEPATH"
And this one is a bit more complex as it runs a couple of commands remotely via SSH to get the latest production database.
# Fetch latest database from production
get-production-db:
#!/usr/bin/env bash
echo "Fetching latest database from production..."
set -euo pipefail
mkdir -p {{local_bkp_dir}}
LATEST_DBNAME=$(ssh {{user}}@{{prod_server}} "readlink -f {{prod_bkp_dir}}/latest.sql.gz")
FILENAME=$(basename "$LATEST_DBNAME")
scp {{user}}@{{prod_server}}:"$LATEST_DBNAME" {{local_bkp_dir}}/"$FILENAME"
echo "File copied: {{local_bkp_dir}}/$FILENAME"
There was only one idea left that I wanted to test: can I run some code from the Django app within a recipe? I made a test recipe to count the number of taxa in our database using the --command
parameter of manage.py shell
and it works!
# Test recipe for counting taxacount-taxa-test:@echo "Counting taxa..."@python manage.py shell --command "\from meta.models import Taxon;\taxa = Taxon.objects.all();\print(f'Total: {taxa.count()}')\"
While this type of query is probably better as a standard Django management in the long term, just
recipes can be a handy shortcut to quickly draft and test commands before they graduate to the codebase.
To summarize, just
feels promising. And it’ll most likely be easier to maintain than Fabric, since I can just create recipes in Bash or Python. But let’s see how it goes. I still need to migrate other, more complex tasks like the staging and production deployment routines, which will be some work.
#BillyHart #batería
#EthanIverson #piano
#MarkTurner #saxotenor
#BenStreet #contrabajo
#Just
#ECMRecords #ECM #EditionOfContemporaryMusic 2025
Cuando se encuentran músicos fantásticos ocurren cosas, y si lo hacen en el "Barrio ECM" eso es maravilla pura.
https://ecmrecords.com/product/just-billy-hart-ethan-iverson-mark-turner-ben-street/
[17:24] John Gilligan’s nephew awarded €4,000 after taking €60,000 personal injury claim
A nephew of John Gilligan who was seeking up to €60,000 in damages after tripping and falling on a pavement has been awarded just €4,000.
https://www.independent.ie/irish-news/courts/john-gilligans-nephew-awarded-4000-after-taking-60000-personal-injury-claim/a43633485.html
#JohnGilligan #upto€60,000 #just€4,000
#JustinTrudeau about #Ukraine :
" #Russia illegally and unjustifiably invaded #Ukraine.
For three years now, #Ukrainians have fought with #courage and #resilience .
Their fight for democracy, freedom, and sovereignty is a fight that matters to us all.
#Canada will continue to #stand with #Ukraine and #Ukrainians in achieving a #just and #lasting #peace . "
Is lettuce good for you? https://www.diningandcooking.com/1921455/is-lettuce-good-for-you/ #Affiliate #c. #Curious #food #Fruits #FruitsU0026Vegetables #Just #JustCurious #local #LocalAffiliateFood #nutrition #Overall #OverallPositive #point #positive #salads #SEO #SEOWellness #the #to #ToThePoint #u0026 #Vegetables #Vegetarian #Vitamin #VitaminC #wellness
You can take advantage of #pipelight features
While keeping using #Just.
- logging
- #git hooks
- parallel execution
- background process
You only need to edit a small pipelight.[toml, js...] file. And call Just from there.
This way you don't have to rewrite your every pipelines.
Hungover, Going For PR | Mega Man X 100% Speedrun
https://www.twitch.tv/superjagops
#stream #Twitch #pantsareon #Just Chatting