Developer Diary, Fashion Revolution Day
Today the non-profit Fashion Revolution holds demonstrations calling for reforms of the fashion industry and supply chain, the date chose to memorialize the Rana Plaza disaster in 2013. You might remember Rana Plaza, because the media picked up on how it came almost exactly 102 years after the Triangle Shirtwaist fire, and had many similarities.
This applies more widely than clothing, but as a society, we definitely donāt question the origins of what we buy nearly enough, enabling entire industries to exploit people at almost every level. And we pay for that. Anybody who sews knows that we donāt pay nearly enough for clothing for the business to make sense without serious abuses.
And hey, if you donāt want to worry about your clothes, we also observe World Day for Laboratory Animals. All around, March 24th makes a great day to question your consumption habitsā¦
My projects pale in comparison to fixing the fashion industry, but I try to do what I can.
Mastodon Tool Trunk
As mentioned last time, displaying attached media became the highest priority for the Rummager. It now does that, including blurring out media marked as āsensitiveā by the poster, using the same CSS that I use on the blog, plus presenting URLs as the CSS classes suggest.
Actually, that last bit warrants some explanation. You might never have noticed it on Mastodon, but toot statuses break URLs in the text into three pieces, including the protocol, the first bunch of characters, and the remainder. They slap a class of ellipsis
onto the middle piece, and invisible
on the first and last. I make use of those classes by applying the following styles.
.ellipsis:after {
content: 'ā¦';
}
.invisible {
display: none;
}
As an example, this post has a URL of https://john.colagioia.net/blog/2023/04/24/fashion.html
, but it will appear as john.colagioia.net/blog/2023/0ā¦
when I toot out the announcement.
Making HTTP GET requests also now allows for an authorization token and a callback function to do something useful with the returned data. This allows a straightforward shiftāusing the same access token as the other scriptsāto pull the user timeline.
It has even started laying out headers, to make it clear what the user sees on the timeline.
Next
I imagine that Iāll continue with the Rummager, since it has gone fairly well so far.
Credits: The header image is Rana Plaza commemoration - Who Made My Clothes, April 22nd 2015 (faces blurred by me) by greensefa, made available under the terms of the Creative Commons Attribution 2.0 Generic license.
No webmentions were found.
By commenting, you agree to follow the blog's Code of Conduct and that your comment is released under the same license as the rest of the blog. Or do you not like comments sections? Continue the conversation in the #entropy-arbitrage chatroom on Matrix…
Tags: programming project devjournal