Avatar

freamon

freamon@feddit.nl
Joined
36 posts • 169 comments

Parked account.

Currently using freamon@lemmy.world

Direct message

I’m guessing this is from the latest episode - if so, this Community is becoming my primary source for knowing when a new episode drops.

permalink
report
reply

Mysteriously, this isn’t currently playing via the standard web page on lemmy.world. But it does when viewed from other instances/frontends/apps, so I don’t understand.

permalink
report
reply

Casually hands over receipt:

permalink
report
reply

Have found it impossible to upload this file directly to Lemmy. It’s already a compressed WEBP file, but whatever settings I use, Lemmy insists on copying it and compressing it further, until there’s only about 5 pixels left. So the only options left are for the post to be a link to the external url, or for it to look like a comment post, but with an inline image squashed inside. Neither are ideal.

EDIT: My experience with Lemmy:

EDIT 2: Now have something a bit more acceptable, loaded directly to Lemmy.
Lemmy always seems to compress WEBP at 75% - I uploaded an image, it compressed it, I downloaded Lemmy’s version and re-up’d that, and it compressed it again. Presumably I could do this forever.

So, I created the original WEBP using the ‘lossless’ setting (it was about 2.5MB), uploaded that and let Lemmy convert it, and now it doesn’t look too bad. The only thing is I had to use the version I tested at enterprise.lemmy.ml, 'cos feddit.nl got confused by the transparent frames. So the trick seems to be: upload the least efficient version imaginable

permalink
report
reply

Ooops. I tested it before I posted, and the reason it worked is because it turns out that authentication isn’t needed for that query.

I’ve edited the comment now, and there only being one part means that there’s no need for an ampersand, so there’s no probs with special characters.

permalink
report
parent
reply

Hi. I’ve found the best place to test the api is here

Example script for making a post

my_instance="https://lemm.ee"

auth="YOUR-JWT"
community_id=COMMUNITY-ID
name="TITLE OF POST"
body="BODY OF POST"

API="api/v3"

create() {
        end_point="post"
        json_data="{\"auth\":\"$auth\",\"community_id\":$community_id,\"name\":\"$name\",\"body\":\"$body\"}"

        url="$my_instance/$API/$end_point"

        curl -H "Content-Type: application/json" -d "$json_data" "$url"
}

create

You’ll need to get your instance’s community.id for the community you want to post to. To use this community as an example, it would be:

my_instance="https://lemm.ee"

API="api/v3"

resolve() {
        end_point="resolve_object"
        www_data="q=https://lemmy.zip/c/linuxscripts"

        url="$my_instance/$API/$end_point?$www_data"

        curl "$url"
}

resolve

(lemmy will probably sanitise the ampersand in that query, so you’ll have to replace the HTML with a literal ampersand)

permalink
report
parent
reply

I replied to Blaze in another thread, essentially saying that !trendingcommunities@endlesstalk.org is currently a backup / potential replacement for this community (depending how things go with feddit.nl)

permalink
report
reply

I wasn’t trying to give you a hard time about it - I was just providing a alternative version of this meme (that was posted here a while back) with a jokey bit of text.

For clarity though: you’re not forbidden from reposting memes from other sites. Original content is preferred, but none of us can deny the popularity of the classic stuff. There might be some guidelines coming about them, and when/if we get flairs, we’ll ask for them to be tagged, but that’s about it.

permalink
report
parent
reply

Hey there OP with the OC, thanks for playing along with today’s theme. If you ever have any other suggestions for a Wednesday Theme, please feel free to get in touch (typically with me, RHO, or WhoRoger). So far, we’ve had Droids, Aliens, Pirates, Expanded Universe, D+ TV, and Rhymes. Things will cycle around of course, but if there’s anything else you want to dedicate a day too, we’ll do what we can (by which I just mean: create a sticky; have a crack at it myself; and hope someone else does too, but it’s something, at least)

permalink
report
reply

Example 3: Best, um, Discourse

permalink
report
reply