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.
https://lukeplant.me.uk/blog/posts/test-factory-functions-in-django/
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.
I developed a tool to show you your twitter friends on #mastodon: https://www.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
#Python developers, make sure you don’t fall foul of this nasty #security issue hitting hundreds of devs, also affecting #NodeJS devs: https://www.theregister.com/2022/11/16/wasp_python_malware_checkmarx/
Be sure to catch the end of this clever NASA "climate spiral" video showing monthly global temperature changes between 1880 and 2021
https://climate.nasa.gov/climate_resources/300/video-climate-spiral/
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!
watch a 2 layer neural network learn to separate two classes to the left and right
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.
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.
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.
I like computers and magic and writing and stuff o/