Sir Keir Starmer worked with criminals!
#comedy #satire #funny #funnyvideo #keirstarmer #politics #ukpolitics
Sir Keir Starmer worked with criminals!
As the year in politics get going, the Conservatives have found a new angle of attack on Keir Starmer - his legal work before he went into politics. What doe...YouTube
Andy H3 reshared this.
Shared by my Daughter
"I need privacy, not because my actions are questionable, but because your judgement and intentions are"
In response to "if you have nothing to hide you have nothing to fear"
reshared this
[SPAM] One for your block list
Hello !Friendica Admins
If you don't like endlessly-long Wordpress posts, filled with advertisement, you may want to block this:
ebookfriendly.com Spam: Dedicated sales/ marketing host that mostly distributes amazon affiliated links en masse
The moment of finding oneself,
On mountainous waters in far away borderland.
Noam Bergman likes this.
Correct permission for /var/lib/php/sessions ?
Hello !Friendica Admins
What's the correct permission for /var/lib/php/sessions
?
On this VPS's Debian 11 the permission was set to 600
and it caused this error log entries like this:
[error] 278592#278592: *61 FastCGI sent in stderr: "PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/friendica/src/Core/Session/Type/Native.php on line 54" while reading response header from upstream, client:
I've temporarily changed it to chmod 777 -R /var/lib/php/sessions/
. The owner remains unchanged as www-data:www-data
.
Actually, I didn't explain it correctly. On my system, owner: group of /var/lib/php/sessions
is root:root
, but the files in that directory are www-datat:www-data
, as I run Friendica under www-data
.
Unfortunately 733
and 773
still bring up the error message on my system, whereas only 777
seems to work.
Then something else might be the reason. In my case all the contents in /var/lib/php have ownership of
root:root
, my webserver runs as www-data and php-process runs as a different user again and I also have 733 733 (more precisely 1733 on the sessions folder) and file permsions of 644
Does your php-process have proper access on the whole path? Remember: to able to access a folder properly executable permission is the minimum for the folders as owner or the group the account has to be member of.
Thanks @Rebeka Catalina
Yes, sounds like something might be causing it. I have to investigate this further later on. I'm out of time now, unfortunately.
@Andy H3
Well... I give an example:
in my case the user of the php-process does not own any of the directories, nor is the account member of a group that owns the directories. That means that "others" need to have the permission to access every directory on the whole path - so beginning from /.
This can be done by setting 0755 for /var
, for /var/lib
and the /var/lib/php
.
As next step you can set all the directories in /var/lib/php to 0755:
cd /var/lib/php
find . -type d -exec chmod 0755 {} \;
and then as last step for the directories set /var/lib/php/sessions
with chmod to 1733. On Debian systems this is per default the only directory with sticky bit set below the /var/lib/php directory.
All the files in /var/lib/php
are 0644
cd /var/lib/php/
find . -type f -exec chmod 0644 {} \;
Afterwards it should work.
Andy H3 likes this.
@Rebeka Catalina thank you very much for the detailed explanations! ๐
I will try this tomorrow and will report back.
Rebeka Catalina likes this.
@Rebeka Catalina No worries! I'll try once I'm back home in a week or so.
Thanks for your tremendous efforts. Have a good holiday. ๐
Rebeka Catalina likes this.
@Rebeka Catalina I think I finally got it working!!
So each directory up to /var/lib/php
is set to 0755
and all are owned by root:root
.
But /var/lib/php/sessions/
is now set to 0700
and is owned by www-data:www-data
.
I checked the following:
cat /etc/php/8.2/fpm/pool.d/www.conf |grep www-data
and saw this:
user = www-data
group = www-data
listen.owner = www-data
listen.group = www-data
So this rather strict setting of the session directory is possible with the appropriate owner:group settings.
Thanks to your hints Rebeka, I understand more now about UNIX file types and their notations, as well as sticky, SGID and SUID bits. ๐
Rebeka Catalina likes this.
Mastodon.ie blocks threads.net.
We use authorised fetch in server config to prevent posts from our members appearing on blocked servers.
We have no plans to block other servers based on their decisions about Facebook/Meta.
Being commercial is still fine once you're not hurting anyone.
1/2
Andy H3 reshared this.
Our decision to block Threads is based on Metaโs history of non-moderation of harassment, abuse and disinformation campaigns, their psychological experiments on non-consenting people, as well as their data collection business model.
We want Mastodon.ie to remain safe for individuals in a way that Metaโs business model would not permit.
2/2
Cฤtฤ likes this.
Libranet Support reshared this.
COOL! The spicy article I wrote about satellite pollution is FINALLY published! "Bright satellites are disrupting astronomy research worldwide" in Nature News & Views.
This article required weeks of back-and-forth with the editor, the editor-in-chief, and Nature's lawyers, so I hope that means it's a good one.
During this process, I learned that satellite companies are so powerful and litigious that even giant publishers like Nature are terrified of getting sued. Which is...rather worrying.
Andy H3 likes this.
reshared this
Great piece!!
Iโve been low-key obsessed with the problem of space junk since I wrote this piece back in 2020 about the boom in private sector space activity: https://newrepublic.com/article/160303/monetizing-final-frontier
๐ค ๐ค
I'm really glad you wrote that piece -- this issue needs a lot more attention
Absent good regulation, companies and governments are gonna turn LEO into escape-velocity scene from WALL-E
We updated our Terms of Service.
This includes significant modifications to sections 4. Provision of Service and 5. Termination of Service.
For further information please see here: https://friendica.hubup.pro/tos
Meta is looking to make their platforms compatible with the fediverse. This sounds good in theory, but in reality, it will allow them to make their own closed-source implementations of fedi, which will of course be way more popular, and eventually make them not compatible with the rest of fedi. Google did this with XMPP, and Microsoft did this with their file formats that only Microsoft Office can handle properly. There's a more detailed retelling here: https://ploum.net/2023-06-23-how-to-kill-decentralised-networks.html
So, in summary, if the admin of your instance wants to make it compatible with Meta's platforms, you have to convince them not to. The fediverse is (apparently) confusing enough for most lay people as it is, they shouldn't also need to know which instances can't communicate with Meta, or why that's even a good thing.
How to Kill a Decentralised Network (such as the Fediverse)
How to Kill a Decentralised Network (such as the Fediverse) รฉcrit par Ploum, Lionel Dricot, ingรฉnieur, รฉcrivain de science-fiction, dรฉveloppeur de logiciels libres.ploum.net
reshared this
You do you, but I've decided to domain block threads.net.
Even though I doubt what I post would be of much interest to many threads users, and even though I am unlikely to see much by way of threads-originated traffic, I am unpersuaded that mega-instances are a good thing, and while I love seeing people's small businesses here, I'm very much unsure about larger corporate instances.
Andy H3 reshared this.
reshared this
@Joan Westenberg Isn't that kind of the point? From example watch Jules White's video lecture on Prompt Engineering (on coursera for free*) how he wrote basic examples and used an LLM to incrementally develop them further.
Aren't the real issues how LLMs were trained: i.e. whether by using stolen data or with carefully curated open source data? Or, how much existing biases get amplified in LLMs?
Or even more broadly, how much the deployment of AI will improve or impoverish everyone's lives? How much mission-critical decision making should be allowed for AI? ....
I'm beginning to think that we need much, much more dialogue before we jump onto the bandwagons of condemnation or celebration.
Today's #FreeSoftwareAdvent is ventoy
If you need to boot from different .iso / other image files routinely, ventoy is a lifesaver. You install it onto a USB stick, and then copy the image files onto the USB stick.
When you boot from the USB stick, you boot into ventoy, and then choose what .iso you want to load.
It even handles Secure Boot.
https://ventoy.net/en/index.html
Ventoy
Ventoy is an open source tool to create bootable USB drive for ISO files. With ventoy, you don't need to format the disk again and again, you just need to copy the iso file to the USB drive and boot it.ventoy.net
Andy H3 reshared this.
In the US, Zelenskyy is meeting with representatives from factories making weapons for Ukraine, and talking about his deep felt gratitude towards the US workers, who are producing the weapons which allows Ukraine to defend itself.
Politically this is a brilliant move, which clearly illustrates how helping Ukraine is tied closely to US employment. Zelenskyy is effectively making anti-aid equal to anti-US workers โ a position which will be very expensive for Republicans to take.
utzer [Friendica] likes this.
reshared this
This looks like fun!
In North America, we have rails-to-trails, turning old rail lines into bike and hiking trails.
In #Japan, they kept the rails...
The Kamioka Line, discontinued in 2004, is now a โrail-mountain bikeโ attraction known as โGattan Go!!โ
reshared this
itโs the perfect match for my short-ish memory that, being afraid of heights, I still conjure up the energy to go on some of Japanโs more famous bike tours like shimanamikaido
Rail Mountain Bike Gattan Go!!
่ช่ปข่ปใจใฌใผใซใง้ขจใซใชใใๅฒ้็้ฃ้ฉๅธใฎใญในใใฉใคใณใปใขใฏใใฃใใใฃ๏ผRail Mountain Bike Gattan Go!!
jackLondon
in reply to Matt Green • • •Sir Liam Fox once worked with some really sick people!
https://en.wikipedia.org/wiki/Liam_Fox
British politician (born 1961)
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)