ferric_carcinization

joined 1 year ago
[–] ferric_carcinization@lemmy.ml 22 points 4 days ago (1 children)

But that would be communist!

Don't you know that a society can't be truly free unless the ones with power have the freedom to oppress those who don't?

Sorry, but could I ask you to file the issue? I would rather not associate my social accounts with my real identity.

I probably should have filed an issue to begin with.

[–] ferric_carcinization@lemmy.ml 0 points 6 days ago (2 children)

That doesn't explain why urls in code blocks are rewriten as well. When the image is surrounded by backticks, it shouldn't be parsed but rather displayed verbatim as the code block's content.

[–] ferric_carcinization@lemmy.ml 0 points 6 days ago (4 children)

Does it really help that much? It's trivial to reverse and no requests are made to the server, by clients or instances, if it's in a code block.

Either way, this seems non-obvious and I can't remember seeing it documented anywhere.

 

When a code block contains syntax for an image, lemmy seems to replace the image's url with a proxied one.

This instance's web UI's preview displays the original url correctly. The proxied url is also distributed trough federation, so users on other instances or for example Piefed should also see the lemmy.ml url in the example below.

This behavior is unexpected, as the contents of a code block should not be parsed as markdown, and thus no image should be displayed and no requests to the server should be made.

Example: I entered "https://media.piefed.zip/posts/bT/UD/bTUDGZRAcKZdXyO.png" as the url in the following code block in the web UI: ![alt text](https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Fmedia.piefed.zip%2Fposts%2FbT%2FUD%2FbTUDGZRAcKZdXyO.png)

Lemmy UI version: 0.19.17
Lemmy backend version: 0.19.18-beta.0

No problem, happy to help!

[–] ferric_carcinization@lemmy.ml 3 points 6 days ago* (last edited 6 days ago) (2 children)

I'm not sure how or if Piefed's UI shows it, but posts are written in Markdown.

When you add an image, text gets added to your post or comment in the following format: ![alt text](image url). So, in your post the "image" is just the string ![bTUDGZRAcKZdXyO.png](https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Fmedia.piefed.zip%2Fposts%2FbT%2FUD%2FbTUDGZRAcKZdXyO.png), which clients (Lemmy's & Piefed's web UI and applications) replace with the actual image.

So, if your post/comment editor has an option with something like "source", "plain text" or "Markdown" in the name, you can enter a description for the image in the brackets right after the exclamation mark.

Fixed image example: ![Unfinished Projects - In solidarity we can build a future that benefits us all.](https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Fmedia.piefed.zip%2Fposts%2FbT%2FUD%2FbTUDGZRAcKZdXyO.png)

The alt text is used by things like screen readers, and even normal browsers, if the image fails to load. So, something like the following might be better:

Logo of Unfinished Projects, with the tagline "In solidarity we can build a future that benefits us all"

If anything is still unclear, I'm happy to answer any questions you may have.

Edit: Lemmy keeps "fixing" "https://media.piefed.zip/posts/bT/UD/bTUDGZRAcKZdXyO.png" to a proxied url for some reason. If you copy the Markdown from this comment, please fix it on your end, as I can't seem to on mine.

[–] ferric_carcinization@lemmy.ml 2 points 6 days ago (4 children)

A small nitpick, but could you do something about the image alt text in your post? A filename, especially a non descriptive one, is not exactly great for accessibility.

[–] ferric_carcinization@lemmy.ml 9 points 1 week ago (1 children)

Real or imaginary billions?

It looks like the pull requests were authored by humans, then edited by the bot. I use codeberg, not github, so I'm not that familiar with the service. Does github have some kind of opt-in/opt-out llm editor feature, or is the bot just going around editing random pull requests?

I've been pretty happy with OCR.

 

Nvidia claims to have developed AGI, not that anyone should care. The real question is: How long until AI achieves CHIM?

[–] ferric_carcinization@lemmy.ml 3 points 2 weeks ago (1 children)

being scrapped by bots.

I think you might have meant "scraped'. I don't think that AI companies would throw away valuable training data without a goo reason.

[–] ferric_carcinization@lemmy.ml 22 points 3 weeks ago

But, but! You can change ~~the system~~ people from within by voting!

view more: next ›