Show more
paul boosted

Test factory functions in Django

When writing tests for Django projects, you typically need to create quite a lot of instances of database model objects. This page documents the patterns I recommend, and the ones I don’t.

lukeplant.me.uk/blog/posts/tes

paul boosted

someone tried formatting these windows in a Word doc

paul boosted

To all Mastodon-admins: seems like there's an attack on all instances by troll accounts. Servers get slow because of it.
They use thousands of subdomains of activitypub-troll.cf. My 'pull' queues skyrocketed.

I now blocked the domain activitypub-troll.cf and all is back to normal. Please check if you're hit too.

paul boosted

Accidental violent language 

paul boosted
paul boosted

I developed a tool to show you your twitter friends on #mastodon: movetodon.org/

👉 All data stays in your browser
👉 No CSV import neccesary
👉 List can be sorted by sign-up date, so that you can find new accounts fast

paul boosted
paul boosted

Some days I look at the timeline and think about getting this tattooed on my back:

paul boosted

7 things all kids need to hear

1 I love you

2 I'm proud of you

3 I'm sorry

4 I forgive you

5 I'm listening

6 RAID is not backup. Make offsite backups. Verify backup. Find out restore time. Otherwise, you got what we call Schrödinger backup

7 You've got what it takes

paul boosted

Confession: I enjoy writing #regex. I am part of the problem.

paul boosted
paul boosted

Be sure to catch the end of this clever NASA "climate spiral" video showing monthly global temperature changes between 1880 and 2021
climate.nasa.gov/climate_resou

paul boosted

Doing some math, making some assumptions based on what I know about newsie.social/.

Estimating that it's costing your instances 75¢-83¢ user/mo to provide base level service

That's hardware cost doesn't include extras like translation API's, and things like sysadmin and infosec costs.

Let's just call that $1/mo.

and then remember there are no ads. No data mining, no trackers.

Support the instance you're on!

paul boosted

Everything’s control at the birdsite 🐦 

paul boosted
paul boosted

Almost 180k new users joined #mastodon yesterday, a new record. This third #twitterMigration wave happened after Musk's Twitter 2.0 ultimatum to #Twitter workers. Each wave is stronger than the previous one. Here is my updated plot showing the three consecutive waves.

paul boosted

Might have to bite the bullet and do this:

Who has static website/blog software to recommend. #python tools preferred but open to all as long as it looks good and is based on markdown.

paul boosted

One thing is very clear to me today, as @atomicpoet put it well, we need to #FundtheFedi.

Today's surge of new users, maybe the largest wave yet, will seem insignificant in comparison to what transpires when Twitter has a full outage. Or goes broke.

We must build server & human infrastructure. Now. Stat.

We are only one terrible Elon Tweet or one sustained Twitter FailWhale away from experiencing traffic that essentially resembles a massive Denial of Service Attack.

media.giphy.com/media/3o7WIPku

paul boosted
Show more
Pythonistas Mastodon

Pythonist.as is for Pythonistas! Whether you are a Python pro or want to learn from scratch this #python community is for you :-)