#Yellowjackets
SPOF: very good for performance.
My sites are so much faster now that I introduced a single point of failure. Can highly recommend.
It also gets rid of $30 on my Amazon bill. The storage I was using may be only 6 dollarcents (using intelligent tiering) and accessing the data normally only around one dollar (a month), but I had an extra $30 cost because I was using an inefficient setting and was too lazy too figure out how to access the data properly.
(Something was doing more than 100 metadata calls per second to NFS, likely directory listings or date checks, and I still don't know what. Only figured out it's something in php, even after I set opcache to only check every 15 minutes. This is just above the allowed throughput baseline, so I set 'elastic throughput' which scales throughput automatically, but you pay for that too.)
Two titbits from yesterday's Tudum, Netflix's fan event, that I gather from clips posted:
Wednesday season 2 is going to introduce another Addams Family character. Many people have asked for Cousin Itt to appear, but the cast say they don't know yet who it will be. Also, from the fact that the cast announcing this was Jenna, Emma, Joy and Hunter, you can guess their characters are back.
You is going to be the final season, as announced earlier, and there was no news. Just the suggestion that Joe is going to face (an) opponent(s) related to the many loose ends. The clips to illustrate these loose ends included Jenna Ortega as Ellie. My favourite story would be where Ellie and Nadia team up to take Joe down.
#Wednesday #You #Netflix #JennaOrtega
"How many visitors does your site draw?"
"Some". "Oh, do you mean with or without the bots?"
"Without"
"Then none"
Tommy Prezioso likes this.
Zeewater likes this.
I mean, how does mod_cache, or varnish for that matter, not take into account the Accept or Content-type headers when caching something?
I mean "I want the html at this address", results in "here have this json because someone before you asked for the json". They are like "the server should have sent an Vary header". Yeah, but what if it doesn't? Shouldn't the cache, as the thing that is taking over serving content, serve the right content according to standard specifications?
And why doesn't the Location directive in Apache's config match with a path like you'd expect? So if you were to add a Vary header to the path /friendica, you can't because it's subject to rewrite rules. You would have to match /index.php?pagename=friendica. But that doesn't work for me either, probably due to the query string. I can only add the header to the whole site, like this:
<IfModule mod_headers.c>
<Location "/index.php">
Header merge Vary "Accept"
</Location>
</IfModule>and
CacheQuickHandler offand then finally mod_cache serves the correct content types. With a much larger cache.
BTW, the same problem existed on profiles and posts, that are served machine-to-machine as json and to a browser as html, but sometimes from the same address.
I found that switching between other distributions can better be done in a separate partition. One extra thing to do, though, is that some OS's like Ubuntu only autodetect other OS's like Windows and show these as options in the bootloader screen, but they don't do the same for other Ubuntu-like OS's like Kubuntu. So to get the options to boot into either Ubuntu or Kubuntu (or others) if you have both installed, you need to add the following line to /etc/default/grub and follow the instructions to run update-grup:
GRUB_DISABLE_OS_PROBER=falseEDIT: forgot that I may need to run the following too afterwards, from the OS to be considered the main OS:
sudo dpkg-reconfigure grub-efi-amd64-signed
#ActiveState
Today is World Ocean Day, and while we celebrate the ocean, we need to rethink our relationship with it. The blue of our blue planet isn’t just a colour - it’s a critical part of our own identify as citizen of this planet.
We cannot afford to speak of the ocean as though it is simple or empty or worthless. We have to see this dynamic engine as a critical part of our existing planetary life support system, in whose shadow we are privileged to live.
Gidi Kroon likes this.
Gidi Kroon reshared this.
Interesting how the Netflix video to announce this year's Tudum event (17 June) says there's also going to be an announcement about Wednesday. Weird because season 2 was already announced and it hasn't even been written yet.
Also they suggest an announcement for Queen Charlotte, which I thought was a one season spin-off of Bridgerton.
#Netflix #Wednesday #QueenCharlotte
Gidi Kroon likes this.
Gidi Kroon reshared this.
Finally watching Prey on Disney+, I am really slow at going through my watchlist. Pre-opening title we already have the twist that this tale which follows these 18th century indigenous people in the Americas also seems to involve spaceships and monsters. We'll see what it turns out to be.
The main character, a girl who wants to become a hunter, is played by Amber Midthunder and is super cool.
#Prey #AmberMidthunder
Today, 1 June, iCarly S3 is out on Paramount+. This is one of the photos Miranda posted on her Instagram about it.
I checked a bit early, over here they clearly don't think it's today yet. While it's 20 minutes past midnight already! (And why is my service saying it will actually disappear in 18 days?)
#MirandaCosgrove #iCarly
Steven likes this.
Alastair McKinstry likes this.
The first twelve days of each month are the most dangerous.
(Was reminded again of Americans writing their dates wrong)
Peertube now supports remote runners for the transcoding jobs! That's the one thing I was missing, I had no idea it was in the pipeline... (I had looked into adding it myself, but found it required substantial changes to how jobs are configured, which looks like they now did).
If only I wasn't on an old Debian version which blocks upgrading...
Beko Pharm (deprecated) likes this.
I should now be running the media proxy via a separate domain, which is advisable anyway. The local media were already done via a separate domain years ago so they can be served by cdn.
Weirdly the setting for using a separate domain for the remote media proxy applies immediately, to old posts and new. While the setting for local media applies to new posts only; old posts keep having their old url in their html content blob. Further weirdly, sometimes old posts with local media get captured by the remote proxy as well.
Preview media, whether remote or local, always goes via the remote media proxy, bypassing your cdn.
I was first thinking about writing about a blogpost about how to make these settings, but I’m still too confused myself.
Gidi Kroon reshared this.
#chatgpt's tic-tac-toe advice is confident and longwinded.
It is terrible at #tictactoe
aiweirdness.com/optimum-tic-ta…
Optimum tic-tac-toe
ChatGPT text can sound very knowledgeable until the topic is something you know well. Like tic-tac-toe. Once I heard that ChatGPT can play tic-tac-toe I played several games against it and it confidently lost every single one.Janelle Shane (AI Weirdness)
Gidi Kroon likes this.
Gidi Kroon reshared this.
location ~ ^/(media|proxy) {
add_header Content-Security-Policy "sandbox;";Most people will already not be vulnerable to this for a variety of reasons, but this will absolutely stop it.
Gidi Kroon reshared this.
both header ?
like this ?
add_header Content-Security-Policy “sandbox;”;
add_header Content-Security-Policy “script-src ‘none’;”;
can you please elaborate what is this attack you’re speaking of ?
#Friendica
Gidi Kroon likes this.
Gidi Kroon reshared this.
Gidi Kroon
in reply to Gidi Kroon • •