I finally gave in and ordered 200 small but strong magnets to up my 3D printing game to cool gadgets that can open and close with the power of invisible attraction :)
Did you know that #algorithm based platforms like #insta have "tools" for creators to know when their audience is usually active so they can plan when to post for more "engagement?"
Guess who can't access those kind of "helpful tools" because it's inaccessible - cognitively broken me
More in this hoot train
Love a #Mastodon rant from my janky insta posts...
As a #DisabledCreator I make "content" when I am able, when I have the energy or #spoons and because of my #CPTSD I cannot plan when to push out or even #create future content especially when I'm fighting my #survival mechanisms daily
I make shit when and if I can, the more safe I feel the more I can do what I need and what I love
This is probably too hacky but can't help trying it out. Phanpy's shortcuts settings are saved as (private) notes on my own profile, which will allow export/import in the "cloud".
It's possible to use the API to add notes for other profiles, and they're hidden from (self, currently-logged-in) own profile. I'm using it to store data 🤪
NOT available on the dev site yet, still on my local machine.
almost at the point of looking into making some electro #music soon, but not like all the other yuppie mainstream stuff, the need to #create, just give it away for #free#online
This is why you use Sharkey and not Mastodon. You won't get these strange sports betting users trying to sign up for your instance just to advertise their betting site.
Sharkey does what Mastdon't. :sylveonsmug:
(But no joke, we get these accounts every day and I have to end up suspending them).
Hey #MastoAdmins or #Mastodon devs! I'm building a PHP listener to receive Web Push notifications from Mastodon.
I'm receiving the notification in the listener, but it is encrypted. I've been hurting my head to find a way to decrypt it, and the docs do not mention anything about how to decrypt a notification. Any help and boosts are appreciated.
subscription[keys][p256dh] and subscription[keys][auth] I believe you need to mangle those two together somehow to generate your decryption key. It's complicated and I've never done it myself.
https://github.com/web-push-libs/web-push-php is a PHP library that deals with sending WebPush notifications, including iirc encryption. So that might give you some hints on the decryption aspect of it.
But in short: decrypting webpush notifications is complex, and because it's usually done by a browser, there are no examples on how to do it in PHP that I’m aware of.
I took this photo at my favourite spot for abstract compositions. I keep going back there whenever the light is right and the sky is blue. I usually lost track of time and get completely absorbed by the reflections in the water. People walk by wondering why I photograph the water. They don't see what I see and that's fine with me.
Have you ever wondered how to create and start a live stick medium? Then you've come to the right place: We have written a guide 📒 in which you can read how to create a live stick under TUXEDO OS or under other operating systems. Whether graphically or in the terminal.
Many creative projects demand that we give them time and attention. And why not? When we're doing something that interests us, why rush through it? The very act of creating provides as much satisfaction as the finished product.
You know what irks me the most about this change to pip behaviour in Debian. Linux is such a foot gun by design, you can do anything you want with usually no resistance or warning by the distro or kernel but this is where the line is drawn??
It's not like you couldn't have gone the other way and wrap system python packages into their venv.
Let people do unwise things, there are so many better defaults they could have chosen (redirect to local user with warning).
Have separate distro and system user directories but for in-explicable reason this only happens if you compile and install upstream python yourself.
There is no reason that this could not be done as a default and have separate distro and user python installs. Which would be the sane thing to do.
Like yes, please do that, why aren't you doing that. Why do I first have to compile and install upstream Python for that to go into affect?!
And also to be clear because people bring that up all the time, this message comes up in any case, not just when running pip as root. Instead of installing the packages locally you still get presented with this message, its absurd.
I'm seeing more and more people, especially non-artists, saying things like 'My AI art skills are really improving,' as if AI is a discipline such as drawing, painting or whatever.
Like people in 1981 who pricked the cellophane on their frozen ready-meals, popped them in the microwave and said 'My cooking skills are really improving. Maybe I'm a chef now.'
And this goes in your theme's functions.php file. I've commented it as best I can. Let me know if you need more info.
function jetpackme_custom_related() { // Check that JetPack Related Posts exists if ( class_exists( 'Jetpack_RelatedPosts' ) && method_exists( 'Jetpack_RelatedPosts', 'init_raw' ) ) { // Get the related posts $related = Jetpack_RelatedPosts::init_raw() ->set_query_name( 'edent-related-shortcode' ) ->get_for_post_id( get_the_ID(), // ID of the post array( 'size' => 4 )// How many related items to fetch ); if ( $related ) { // Set the container for the related posts $output = "<h2 id='related-posts'>The Algorithm™ suggests:</h2>"; $output .= "<ul class='related-posts'>"; foreach ( $related as $result ) { $related_post_id = $result['id']; // Get the related post $related_post = get_post( $related_post_id ); // Get the attributes $related_post_title = $related_post->post_title; $related_post_date = substr( $related_post->post_date, 0, 4 ); // YYYY-MM-DD $related_post_link = get_permalink( $related_post_id ); // Get the thumbnail if ( has_post_thumbnail( $related_post_id) ) { $related_post_thumb = get_the_post_thumbnail( $related_post_id, 'full', array( "class" => "related-post-img", "loading" => "lazy" // Lazy loading and other attributes ) ); } else { $related_post_thumb = null; } // Create the HTML for the related post $output .= '<li class="related-post">'; $output .= "<a href='{$related_post_link}'>"; $output .= "{$related_post_thumb}<p>{$related_post_title}</p></a>"; $output .= "<time>{$related_post_date}</time>"; $output .= "</li>"; } // Finish the related posts container $output .="</ul>"; } // Display the related posts echo $output; }}add_shortcode( 'jprel', 'jetpackme_custom_related' ); // Shortcode name can be whatever you want