this post was submitted on 17 Jul 2024
33 points (100.0% liked)

Comradeship // Freechat

2451 readers
48 users here now

Talk about whatever, respecting the rules established by Lemmygrad. Failing to comply with the rules will grant you a few warnings, insisting on breaking them will grant you a beautiful shiny banwall.

A community for comrades to chat and talk about whatever doesn't fit other communities

founded 4 years ago
MODERATORS
 

I'm still sometimes getting broken pictures that are not supposed to be broken

top 15 comments
sorted by: hot top controversial new old
[–] ksynwa@lemmygrad.ml 14 points 1 year ago

Best I can do is restart it

[–] muad_dibber@lemmygrad.ml 12 points 1 year ago (1 children)

For some reason our pictrs server is constantly crashing... I'm asking in the pictrs dev chats.

[–] thefreepenguinalt@lemmygrad.ml 6 points 1 year ago (1 children)

Can you also ask in the lemmy-ui dev chat why they made i386 theme black and if they can make it blue again

[–] Kultronx@lemmygrad.ml 5 points 1 year ago (1 children)

i actually prefer it this way now tbh

[–] thefreepenguinalt@lemmygrad.ml 3 points 1 year ago (1 children)

Why? Black background themes are boring

Make a theme called TFP's theme: Use i386 as the base but make the following changes:

  1. Make the font size smaller

  2. Make the background blue again (perhaps even #0000FF)

  3. Turn all roundrects sharp

[–] Kultronx@lemmygrad.ml 1 points 1 year ago (1 children)

easier to see in low light. that's about it

[–] thefreepenguinalt@lemmygrad.ml 1 points 1 year ago (1 children)

Wha? It's easier to see light themes in low light :p

Here's a picture of my custom Revolt theme. Please make i386 theme like this

[–] thefreepenguinalt@lemmygrad.ml 8 points 1 year ago (1 children)

UPDATE: You need to tell your server to stop throwing 400s and just process the request, no matter how "malformed" it may think it is

[–] ksynwa@lemmygrad.ml 8 points 1 year ago (1 children)

I am assuming by server you mean pict-rs. Is there a reason you think why pict-rs assumes valid requests are malformed?

[–] thefreepenguinalt@lemmygrad.ml 6 points 1 year ago* (last edited 1 year ago) (2 children)

GET
https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png

Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8
Accept-Encoding
gzip, deflate, br
Accept-Language
en-US,en;q=0.5
Connection
keep-alive
Cookie

Host
lemmygrad.ml
Referer
https://lemmygrad.ml/
Sec-Fetch-Dest
document
Sec-Fetch-Mode
navigate
Sec-Fetch-Site
same-origin
Sec-Fetch-User
?1
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Here are the request headers. This is a perfectly valid requests. Please change your server settings to process these requests rather than throwing 400s.

[–] ksynwa@lemmygrad.ml 7 points 1 year ago

Thanks. I'll look into it tomorrow.

[–] davel@lemmygrad.ml 3 points 1 year ago* (last edited 1 year ago)

Huh?

$ curl -o /dev/null -s -w "%{http_code}\n" https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png
200
$

It looks like your Accept is lacking image/png; maybe that’s the issue?

[–] Ocommie63@lemmygrad.ml 8 points 1 year ago
[–] EmmaGoldman@hexbear.net 7 points 1 year ago* (last edited 1 year ago)

dprk-soldier

But yeah, that sucks.