Just a lvl 27 guy from 🇫🇮 Finland. Full-stack web developer and Scrum Master by trade, but more into server-side programming, networking, and sysadmin stuff.

During the summer, I love trekking, camping, and going on long hiking adventures. Also somewhat of an avgeek and a huge Lego fanatic.

  • 12 Posts
  • 153 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle
  • For me, this post seems to have the NSFW tag. In a recent update to Lemmy, the devs removed the NSFW checkbox from the interface when posting to a community that is marked as an NSFW community. I guess the idea is that posts to such communities should automatically be marked as NSFW, but this doesn’t seem to always work correctly. The confusion is worsened by the fact that in many Lemmy apps (such as Voyager, which I use) the checkbox is still there even when posting to an NSFW community.

    But AFAIK, even non-NSFW posts from NSFW communities have always been treated as NSFW by Lemmy.














  • Seems to be a CORS issue. A GET request to https://discuss.tchncs.de/pictrs/image/2254acd7-9ce1-4b07-b334-15631f2847e2.png is correctly responded to with a single Allow-Origin header:

    Access-Control-Allow-Origin: *
    

    However, the problem occurs when a browser makes that request. It adds an Origin header (For example, Origin: https://aeharding.github.io/ in this case), and then the server responds with two Allow-Origin headers, which is invalid:

    access-control-allow-origin: https://aeharding.github.io/
    Access-Control-Allow-Origin: *
    

    (Note the different capitalization.)

    Ignoring that, it also seems that the server does not support the Range header. Requesting the same image with the header:

    Range: bytes=0-1
    

    returns the full image instead of the requested partial content. This effectively means that while video/audio files hosted on this instance will play, features like fast forwarding won’t work properly. This is something @milan@discuss.tchncs.de will probably want to take a look at some point.





  • Drawing. And maybe some calligraphy. I take shifts at the local cafeteria during summers and we have a markerboard thingy outside to display our opening hours, daily special discounts and whatnot. I’ve seen others write on it with beautiful lettering and then decorating it with cool doodles. I tried it once and let’s just say it didn’t turn out well…