I've started diving into the Mastodon --> Pleroma database migration. First roadblock: making the git repo easy to commit on.
We're writing Rake tasks in Ruby (for Mastodon exporting) and Mix tasks in Elixir (for Pleroma importing).
.rake files need to be in `/mastodon/lib/tasks`, and .ex files need to be in `/pleroma/lib/mix/tasks`. Symlinks don't work. What now? Copy the files over? I want to commit often, and I don't want to copy them manually every time.
We also can't easily run the tasks from within the repo. We need some commands, ideally like `masto migrator:export:users` and `pleroma migrator:import:users`. Rake has some CLI options like --libdir to set the taskfiles directory, but Mix doesn't.
I'm seriously considering adding JavaScript to this project, just so I can load user config and automate some stuff like copying files. That would of doing things is fragile, but to be fair the whole project is about transforming two moving targets, so it's inherently fragile.
Adding JS would mean I'll have to write code in 3 different languages to make this work, so I want to make sure I'm really making the right choice. The reason for JS is that it has automation libraries like Grunt and Gulp that are designed to transform files.
So to JS or not to JS? Or is there a fundamentally better way than the way I'm doing it?
You know guys, when I think about what a great employee I am, it brings a tear to my eye.
Here I am, enjoying a nice mid-afternoon nap and the phone rings. Its my pal from the old country. Well, pass because I’m sleepy.
Then as soon as I nod off again, the phone rings again — this time its work.
SIGH
Ok, I pick up and apparently every single fucker working the night shift at our larger yard called in sick or some shit and no there are no shunters in the whole yard.
Well, shit. Literally the day before my company gave my a t-shirt that said “I keep the world moving #thankadriver”.
Ooookay, fine. I guess the world needs me.
@moonman You're in luck, I computer a lot
#MSNBC: The food supply chain is not broken. No one is predicting that people won't be able to get food. It's just going to cost more.
Me: 😂😂😂
"I'd like to cancel our 60-day free trial of #socialism. I don't like it."
@michaeljknowles
What?
There are two kinds of people in this world:
Those who look at #JoeBiden and see a mentally I'll senior, and those who look at #JoeBiden and see #BarakObama.
@shpuld
yummi
@Phaedrus On the #CNN side, yes I agree.
As far as #Russophobia in the #Democrat party, I'd say #notalldemocrats. Some are reasonable, such as #TimPool
On the #Republican end, I'm not sure how well #Sinophobia rolls with being #prolife.
Am I the only one here on #Gameliberty who notices that you get a bunch of 500 errors when typing characters into the hashtag?
I've moved over to @realcaseyrollins for my private account
This is literally just here to archive my old posts now