- 16 Posts
- 51 Comments
Don’t forget to stock up on Rooster of Barcelos towels when you visit Portugal

(yes, that’s the same rooster in Nando’s logo)
The OP on Mastodon shared screenshots of the replies (can’t tell if they were originally in the forum post, or if it’s a DM):
The post on Mastodon has a screenshot of the post edit history:

And a copy-pasted response from a moderator (the most relevant bit):
So in my opinion, if your intention was to show political support for diversity, you should avoid using this flag. This will allow us to refuse the use of a flag for instance saying ‘non-queer’, If we allow your flag, then we have to admit also other similar political flags, both supporting and opposing diversity.
Olissipoto
Mechanical Keyboards•Weekly mechanical keyboards discussion thread - Any updates to share, questions to ask?
1·4 months agoThe silent keys part were a disappointment, it is way louder than the previous one (had cherry MX silent keys). However, the rest is pretty nice.
Did you try O-rings? They dampen the sound of the keycap hitting the base of the keyboard.
https://www.gloriousgaming.com/en-eu/products/glorious-mx-o-ring-switch-dampeners
Maybe it won’t matter with those switches, but they also helped with the switch actuation of my MX Blues. I noticed some high-pitch sound from the springs, and that also got dampened.
Olissipoto
Europe@lemmy.dbzer0.com•Portugal Is the Most Desirable Country for Americans to Emigrate to, Survey Finds
7·7 months agoTo note that there is one positive type of gentrification that has appeared in Portugal. In the interior there are many small villages that are mostly empty and which have been a target for some richer immigrants.
Hotels and Airbnbs too, it’s not an issue when most of the houses are empty anyway.
Funny you call it magic, what actually does the conversion is Imagick.
In my project I have it integrated in the upload process. You upload a PNG/JPG and it does its thing. Since it’s written in PHP (my project), and PHP has an extension to call Imagick, I didn’t need to write any complicated code.
You can see on this page if your programming language of choice has any integration with Imagick.
But there’s always the command line interface. Depending on your process it may be easier to create a script to “convert all images in a folder”, for example.
but 2KB vs 200KB is paltry on even a terrible connection in the 2000s).
You still need to resize the images and choose the right ones (even if only for the device’s performance).
So we might as well do that small extra step and add conversion to the process.
What I really wish is that we could get more browsers, sites, and apps to universally support more modern formats to replace the overly bloated terribly performing and never correctly pronounced animated formats like GIF with something else like AVIF, webm, webp (this was a roughly ~60MB GIF, and becomes a 1MB WEBP with better performance), or even something like APNG…
Isn’t that the users’ fault? And of the websites for allowing those huge GIFs.
Apparently browsers have supported MP4 for a long time.
Even using the highest compression levels, barely any difference. Not worth it

If I understand correctly gzip, brotli and similar are best used to compress text.
Font files also shouldn’t be compressed. A TTF file compresses a bit, but a WOFF2 file will be even smaller than that (and WOFF2 also doesn’t compress well). So might as well use WOFF/WOFF2
For most of the images that I tried you can only see differences with the images side by side. It’s really subtle.
I do have one example for which my config must be bad, compresses a lot but introduces a lot of noise
In case you still can’t load the image, for the largest width the JPG file has 229.9KB, WEBP has 123.5KB, AVIF has 72KB.
I’m working on a project which generates images in multiples sizes, and also converts to WEBP and AVIF.
The difference in file size is significant. It might not matter to you, but it matters to a lot of people.
Here’s an example (the filename is the width):

Also, using the
<picture></picture>element, if the users’ browsers don’t support (or block) AVIF/WEBP, the original format is used. No harm in using them.(I know this is a meme post, but some people are taking it seriously)
Olissipoto
Formula 1@lemmy.world•2025 FORMULA 1 ARAMCO PRE-SEASON TESTING [DAY 1] discussion thread
2·10 months agoMultiViewer (which is an unofficial program, mind you) does support Linux, but you need to download the installer manually to install and update.
Other than that it works great
Olissipoto
Formula 1@lemmy.world•2025 FORMULA 1 ARAMCO PRE-SEASON TESTING [DAY 1] discussion thread
19·10 months agoThey started blocking access to the F1TV’s website on Firefox…

Funny how everything works like it used to when I use an extension to pretend to be Chrome

Fortunately MultiViewer still works
The point is evaluating your stack once in a while. Eventually, you may need to switch or it may be worthwhile, even if you can stick with your current stack at a disadvantage.
For an extreme example, WordPress with crap page builders. It may not have been “that bad” when you started with it. But by now its very much worthwhile to switch. You don’t “need to”, but you should.
Back to this post, maybe they really are at that point that slowly switching is worthwhile. At least partially, where it makes the most sense (they mention using some microservices written in Go).
Personally I doubt I’ll ever reach the switching point. But the trend for PHP devs seems to be switching to Go (when they do switch).
I don’t have a favourite new feature, but I’m just learning about the Compound constraint which I’ll definitely put to use in the near future.
I do have a favourite deprecation, of Removing the Default Garbage Collector Probability option. I’ve had weird and spaced out crashes when developing before I knew about this. Apparently this is to remove stale sessions once in a while. According to this comment, Debian based distros already handle it cleanly with a cron job, so I just unset that Symfony setting
Olissipoto
PHP•Should I create functions for packages/libraries that allow optional parameters to accept null as a value?
2·1 year agoAs long as optional parameters are placed last, I don’t see why not.
PHP8’s named parameters lessen the pain of using a function with optional parameters spread around, but I still stick to that rule.
Olissipoto
Today I Learned@lemmy.world•TIL mass fatality causing "humam stampedes" and "hysterical masses" are myths which shift responsibility from organisers for fatal crowd incidents which "invariably" result from poor organisationEnglish
6·1 year agoThis one in South Korea is pretty recent (October 2022).
A special police team conducted an investigation of the disaster within a few days of it occurring, and concluded on 13 January 2023 that the police and governments’ failure to adequately prepare for the crowds, despite a number of ignored warnings, was the cause of the incident.





















Yes. From their v0.0.1 blog post: