There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

trachemys , to linux in How to check if Zenbleed mitigation(chicken bit) is properly set?
<pre style="background-color:#ffffff;">
<span style="color:#323232;">echo $(($(rdmsr -c 0xc0011029) & (1<<9) )) 
</span>

Should return 512. You might need a ‘sudo’ before the rdmsr (any permission errors in any of this means it didn’t work). Unfortunately, this needs to be done every time you reboot. The next security update for linux will do this automatically.

waspentalive , to technology in How Stuff Works replaced writers with GPT-generated content and laid off editors

ChatGPT comments on the news:

Prompt : In recent news, the management of “How it’s Made” has fired all the writers and editors on the show and intends to replace them with a large language model. What do you think?

ChatGPT

As an AI language model, I don’t have personal opinions or feelings, but I can provide an analysis based on the information available up to my last update in September 2021.

If the management of “How It’s Made” decides to fire all the writers and editors on the show and replace them with a large language model like me, there are both potential benefits and drawbacks to consider:

Benefits:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Cost Savings: Employing an AI language model could potentially reduce production costs as it eliminates the need for paying human writers and editors.
</span><span style="color:#323232;">Speed and Efficiency: AI models can generate content at a rapid pace, which may allow for more frequent episode releases or updates.
</span><span style="color:#323232;">Access to Data: AI models have access to vast amounts of data, which could result in more comprehensive and detailed explanations of the manufacturing processes.
</span><span style="color:#323232;">Consistency: AI-generated content can maintain a consistent style and tone throughout the episodes.
</span>

Drawbacks:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Lack of Creativity: While AI models can provide factual information, they might struggle to inject creative elements or engage with the audience on a more emotional level.
</span><span style="color:#323232;">Human Touch: Human writers and editors bring their unique perspectives and storytelling abilities to the show, which might be missed with an AI-only approach.
</span><span style="color:#323232;">Reliability: AI-generated content can sometimes produce errors or inaccurate information, which would require careful human oversight and fact-checking.
</span><span style="color:#323232;">Audience Response: The audience's perception of AI-generated content might not be as positive as content created by human professionals, leading to a potential decrease in viewership.
</span>

Ultimately, the success of this decision would depend on how well the AI language model can replicate the engaging and informative aspects that made “How It’s Made” popular in the first place. It’s important for the management to carefully evaluate the pros and cons and ensure a seamless transition if they decide to go down this route. Additionally, audience feedback and receptiveness to the AI-generated content will play a significant role in determining the long-term viability of such a change.

aliens , to selfhosted in Docker + Nextcloud = why is it so difficult?
@aliens@infosec.pub avatar

Here’s my docker-compose.yml for nextcloud (with minor privacy changes) that includes onlyoffice and drawio containers. SSL is not included and should be handled by NPM and you’ll need a proxy host for both drawio and onlyoffice. I use NPM in docker so I just add it to the docs network instead of exposing any additional ports. For onlyoffice the secret key gets regenerated each time the container starts so you’ll need to update onlyoffice setting in nextcloud each time (unless someone has a better solution). You can get the secret key by logging into the onlyoffice container and running

cat /etc/onlyoffice/documentserver-example/local.json

I’ve been running this solution for a few years without any major issues.

docker-compose.yml

<pre style="background-color:#ffffff;">
<span style="color:#323232;">version: '3.5'
</span><span style="color:#323232;">
</span><span style="color:#323232;">networks:
</span><span style="color:#323232;"> docs:
</span><span style="color:#323232;">  name: docs 
</span><span style="color:#323232;">  driver: bridge
</span><span style="color:#323232;">
</span><span style="color:#323232;">services:
</span><span style="color:#323232;"> nextcloud:
</span><span style="color:#323232;">  image: linuxserver/nextcloud
</span><span style="color:#323232;">  container_name: nextcloud
</span><span style="color:#323232;">  environment:
</span><span style="color:#323232;">   - PUID=1000
</span><span style="color:#323232;">   - PGID=1000
</span><span style="color:#323232;">   - MYSQL_DATABASE=nextcloud
</span><span style="color:#323232;">   - MYSQL_USER=nextcloud
</span><span style="color:#323232;">   - MYSQL_PASSWORD=P@ssWord321!
</span><span style="color:#323232;">   - MYSQL_HOST=nextcloud_db
</span><span style="color:#323232;">   - TZ="America/Chicago"
</span><span style="color:#323232;">  volumes:
</span><span style="color:#323232;">   - /home/user/docker/configs/nextcloud:/config
</span><span style="color:#323232;">   - /home/user/docker/configs/nextcloud_data:/data
</span><span style="color:#323232;">  restart: unless-stopped
</span><span style="color:#323232;">  depends_on:
</span><span style="color:#323232;">   - nextcloud_db
</span><span style="color:#323232;">  networks:
</span><span style="color:#323232;">   - docs 
</span><span style="color:#323232;">
</span><span style="color:#323232;"> nextcloud_db:
</span><span style="color:#323232;">  image: linuxserver/mariadb:110.4.21mariabionic-ls31
</span><span style="color:#323232;">  container_name: nextcloud_db
</span><span style="color:#323232;">  restart: always
</span><span style="color:#323232;">  environment:
</span><span style="color:#323232;">   - PUID=1000
</span><span style="color:#323232;">   - PGID=1000
</span><span style="color:#323232;">   - MYSQL_ROOT_PASSWORD=P@ssWord123!
</span><span style="color:#323232;">   - MYSQL_DATABASE=nextcloud
</span><span style="color:#323232;">   - MYSQL_USER=nextcloud
</span><span style="color:#323232;">   - MYSQL_PASSWORD=P@ssWord321!
</span><span style="color:#323232;">  volumes:
</span><span style="color:#323232;">   - /home/user/docker/configs/nextcloud_db/mysql:/config
</span><span style="color:#323232;">  restart: unless-stopped
</span><span style="color:#323232;">  networks:
</span><span style="color:#323232;">   - docs 
</span><span style="color:#323232;">
</span><span style="color:#323232;"> onlyoffice:
</span><span style="color:#323232;">  image: onlyoffice/documentserver
</span><span style="color:#323232;">  container_name: onlyoffice
</span><span style="color:#323232;">  restart: always
</span><span style="color:#323232;">  depends_on:
</span><span style="color:#323232;">   - nextcloud
</span><span style="color:#323232;">  networks:
</span><span style="color:#323232;">   - docs 
</span><span style="color:#323232;">
</span><span style="color:#323232;"> image-export:
</span><span style="color:#323232;">  image: jgraph/export-server
</span><span style="color:#323232;">  container_name: nextcloud-drawio-export
</span><span style="color:#323232;">  networks:
</span><span style="color:#323232;">   - docs 
</span><span style="color:#323232;">  volumes:
</span><span style="color:#323232;">   - ./fonts:/usr/share/fonts/drawio
</span><span style="color:#323232;">  restart: unless-stopped
</span><span style="color:#323232;">
</span><span style="color:#323232;"> drawio:
</span><span style="color:#323232;">  image: jgraph/drawio
</span><span style="color:#323232;">  container_name: nextcloud-drawio
</span><span style="color:#323232;">  networks:
</span><span style="color:#323232;">   - docs 
</span><span style="color:#323232;">  depends_on:
</span><span style="color:#323232;">   - image-export
</span><span style="color:#323232;">  environment:
</span><span style="color:#323232;">   - VIRTUAL_HOST=drawio.example.com
</span><span style="color:#323232;">   - VIRTUAL_PORT=8080
</span><span style="color:#323232;">   - EXPORT_URL=http://image-export:8000/
</span><span style="color:#323232;">  restart: unless-stopped
</span>
2xsaiko , to technology in Apple already shipped attestation on the web, and we barely noticed
@2xsaiko@discuss.tchncs.de avatar

I just wrote a funny script and corresponding web page:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">"use strict";
</span><span style="color:#323232;">
</span><span style="color:#323232;">(() => {
</span><span style="color:#323232;">  if (navigator.getEnvironmentIntegrity !== undefined) {
</span><span style="color:#323232;">    window.location.href = "https://dblsaiko.net/no-wei";
</span><span style="color:#323232;">  }
</span><span style="color:#323232;">})()
</span>

If this API actually becomes a thing, I might put it on all my pages.

“We’ve Changed the Game”: Teamsters Win Historic UPS Contract (teamster.org)

Today, the Teamsters reached the most historic tentative agreement for workers in the history of UPS, protecting and rewarding more than 340,000 UPS Teamsters nationwide. The overwhelmingly lucrative contract raises wages for all workers, creates more full-time jobs, and includes dozens of workplace protections and improvements....

TransplantedSconie , to workreform in “We’ve Changed the Game”: Teamsters Win Historic UPS Contract

Highlights of the tentative 2023-2028 UPS Teamsters National Master Agreement include:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Historic wage increases. Existing full- and part-time UPS Teamsters will get $2.75 more per hour in 2023, and $7.50 more per hour over the length of the contract.
</span><span style="color:#323232;">
</span><span style="color:#323232;">Existing part-timers will be raised up to no less than $21 per hour immediately, and part-time seniority workers earning more under a market rate adjustment would still receive all new general wage increases.
</span><span style="color:#323232;">
</span><span style="color:#323232;">General wage increases for part-time workers will be double the amount obtained in the previous UPS Teamsters contract — and existing part-time workers will receive a 48 percent average total wage increase over the next five years.
</span><span style="color:#323232;">
</span><span style="color:#323232;">Wage increases for full-timers will keep UPS Teamsters the highest paid delivery drivers in the nation, improving their average top rate to $49 per hour.
</span><span style="color:#323232;">
</span><span style="color:#323232;">Current UPS Teamsters working part-time would receive longevity wage increases of up to $1.50 per hour on top of new hourly raises, compounding their earnings.
</span><span style="color:#323232;">
</span><span style="color:#323232;">New part-time hires at UPS would start at $21 per hour and advance to $23 per hour.
</span><span style="color:#323232;">
</span><span style="color:#323232;">All UPS Teamster drivers classified as 22.4s would be reclassified immediately to Regular Package Car Drivers and placed into seniority, ending the unfair two-tier wage system at UPS.
</span><span style="color:#323232;">
</span><span style="color:#323232;">Safety and health protections, including vehicle air conditioning and cargo ventilation. UPS will equip in-cab A/C in all larger delivery vehicles, sprinter vans, and package cars purchased after Jan. 1, 2024. All cars get two fans and air induction vents in the cargo compartments.
</span><span style="color:#323232;">
</span><span style="color:#323232;">All UPS Teamsters would receive Martin Luther King Day as a full holiday for the first time.
</span><span style="color:#323232;">
</span><span style="color:#323232;">No more forced overtime on Teamster drivers’ days off. Drivers would keep one of two workweek schedules and could not be forced into overtime on scheduled off-days.
</span><span style="color:#323232;">
</span><span style="color:#323232;">UPS Teamster part-timers will have priority to perform all seasonal support work using their own vehicles with a locked-in eight-hour guarantee. For the first time, seasonal work will be contained to five weeks only from November-December.
</span><span style="color:#323232;">
</span><span style="color:#323232;">The creation of 7,500 new full-time Teamster jobs at UPS and the fulfillment of 22,500 open positions, establishing more opportunities through the life of the agreement for part-timers to transition to full-time work.
</span><span style="color:#323232;">
</span><span style="color:#323232;">More than 60 total changes and improvements to the National Master Agreement — more than any other time in Teamsters history — and zero concessions from the rank-and-file.
</span>

Sounds like a win to me.

pglpm , to fediverse in Instance Assistant v1.2.3 is now available on Chrome & Firefox + New Features
@pglpm@lemmy.ca avatar

It has helped me invaluably, thank you!

By the way, the “trigger search” button at the moment leads to a search with text

<pre style="background-color:#ffffff;">
<span style="color:#323232;">[email protected]
</span>

but the first community should be dropped. OK this is not the place for tracking issues, sorry!

jarfil , (edited ) to technology in The Fall of Stack Overflow
<pre style="background-color:#ffffff;">
<span style="color:#323232;">chinesescholarshadasimilarst
</span><span style="color:#323232;">anceagainstallkindofpunctuat
</span><span style="color:#323232;">ionclaimingtheabilitytodeliv
</span><span style="color:#323232;">eranddetectmeaningwithouttra
</span><span style="color:#323232;">iningwheelswasalayerofcommun
</span><span style="color:#323232;">icationpeopleneededandcouldn
</span><span style="color:#323232;">otaffordtoabandoninordertoma
</span><span style="color:#323232;">intainaproductiveconversatio
</span><span style="color:#323232;">nalenvironmentwithanyoneunab
</span><span style="color:#323232;">letoreflectuponanddiscernthe
</span><span style="color:#323232;">intendedmeaningbeingafoolnot
</span><span style="color:#323232;">worthyoftheloftymessageswrit
</span><span style="color:#323232;">tencommunicationwasintendedf
</span><span style="color:#323232;">ortodiscern
</span>

en.m.wikipedia.org/wiki/Chinese_punctuation

(This is a lesson in history, so I’ll let the discerning reader to decide for themselves whether there is sarcasm contained in it)

arvere , to mildlyinfuriating in Thanks Spez!

[-] thunderbox666 « 1 point 2 months ago

Pretty much any subdomain will go to the nginx server and it will only do something if youve configured that subdomain in the config - everything else just gets ignored, or you can setup a catchall to handle all the unconfigured stuff

so you will need something like this (might not be exact, been a long time since i had to configure NGINX haha)

<pre style="background-color:#ffffff;">
<span style="color:#323232;">server {
</span><span style="color:#323232;">server_name ha.mydomain.duckdns.org;
</span><span style="color:#323232;">location / {
</span><span style="color:#323232;">proxy_pass http://hostnameOrIP1:port1;
</span><span style="color:#323232;">}
</span><span style="color:#323232;">}
</span><span style="color:#323232;">server {
</span><span style="color:#323232;">server_name nextcloud.mydomain.duckdns.org;
</span><span style="color:#323232;">location / {
</span><span style="color:#323232;">proxy_pass http://hostnameOrIP2: port
</span><span style="color:#323232;">}
</span><span style="color:#323232;">}
</span>

an easier way would be to use Nginx Proxy Manager which gives you a nice GUI to add and manage all the sites.

pglpm OP , (edited ) to newcommunities in Typography & fonts: A community to discuss and share information about typography and fonts.
@pglpm@lemmy.ca avatar

It should appear if you do a search in your instance about “communities”, with this string:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">[email protected]
</span>

The community link should appear, and if you click on it you should be redirected to it through your instance.

PS: give my regards to Merry and Pippin! :)

Reset flash drive

I’ve been messing with my flash drives trying to follow some random documentation with dd and now both of my flash drives are reporting 0 bytes of free space. I was trying to clear out everything and start from scratch as if they were new. I wonder if there are any program out there that can just sudo reset-everything /dev/sdX

psud , to linux in Reset flash drive
<pre style="background-color:#ffffff;">
<span style="color:#323232;">sudo gparted /dev/sdX
</span>

You have blanked the partition table, gparted can create a new one with a friendly GUI

GnuLinuxDude , to piracy in What is your ratio? 😅
@GnuLinuxDude@lemmy.ml avatar
<pre style="background-color:#ffffff;">
<span style="color:#323232;">User statistics
</span><span style="color:#323232;">All-time upload: 	12.436 TiB
</span><span style="color:#323232;">All-time download: 	3.021 TiB
</span><span style="color:#323232;">All-time share ratio: 	4.11
</span>

That’s starting from about May 1 on one device. There have been and are others, of course. My provider no longer offers port forwarding and that really curtailed the upload part, but I tried to maximize that while I could.

While I do miss what cd dearly, I haven’t been on a private tracker since. I prefer freeing the bits as much as possible for all people, so that means public torrents and trackers.

chat_mots , to technology in Help with Building a Computer for Self-Hosting?
@chat_mots@jlai.lu avatar

I’m not sure about Plex, it is not really 100% self hosting, because authentication come from their server. You should try and see if it works. But their is no reason it should not. It’s just an addition in your caddyfile :

<pre style="background-color:#ffffff;">
<span style="color:#323232;">plex.mydomain.com {
</span><span style="color:#323232;">    reverse_proxy 192.168.0.123:32400 (your address:port)
</span><span style="color:#323232;">}
</span>

However, i can assure you it works with Jellyfin.

oatscoop , to lemmyshitpost in grrr

Check this out. You can embed images in your comment with this:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">![](https://files.catbox.moe/lrz0re.jpg)
</span>

And it looks like this:

No, I don’t think I will.

QuazarOmega , to technology in Twitter is now X as the little blue bird disappears

It symbolizes the wider breadth of the project, you’ll run everything through it just like a windowing system

<pre style="background-color:#ffffff;">
<span style="color:#323232;">⠀⠀⠉⠛⠛⠻⢿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣶⣶⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠚⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠘⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⢿⣿⣿⣿⠟⠛⠋⠉⠉⠉⠙⣿⣿⣿⣿⣶⣀⠀
</span><span style="color:#323232;">⠀⠀⠀⠰⠶⠿⢰⣿⣶⣦⠀⠀⢸⣿⣿⣦⡄⠀⢀⣴⣾⣿⣿⣿⡿⠿⣿⣿⣿⠇
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠻⠿⠃⠀⠀⠀⣿⣿⣿⣧⠀⠀⠉⣉⣉⣩⣥⡶⠀⠀⠀⣿⡇
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⠀⠀⣻⣿⣿⣿⠃⠀⠀⢠⣿⠃
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠁⣴⣿⣿⣿⠟⠃⡀⠀⢠⣿⠟⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣄⠀⣤⣤⣤⢰⣿⡦⣿⠀⣿⣿⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠛⠛⠀⠛⠛⠋⠈⠉⠀⠀⢀⣿⣿⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢴⡆⣤⣤⣄⡄⢀⣀⣀⢀⣀⢀⡄⠀⢨⣿⣿⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠃⣿⣿⣿⠇⣿⣿⡋⣿⠏⠛⣃⣤⣾⣿⣿⠀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣤⣄⣠⣤⣠⣴⣶⣾⣿⣿⣿⣿⣿⣿⡀⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀
</span><span style="color:#323232;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁
</span>
PlutoniumAcid OP , to selfhosted in (Why) would it be "bad practice" to separate CPU and storage to separate devices?
@PlutoniumAcid@lemmy.world avatar

I think you are saying what I am also saying, but my post was not clear on this:

The container files live on the server, and I use the volume section in my docker-compose.yml files to map data to the NFS share:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">        volumes:
</span><span style="color:#323232;">            - '/mnt/nasvolume/docker/picoshare/data:/data'
</span>

Would you say this is an okay approach?

palitu OP , to selfhosted in [advice] Hosting Matrix Server & Bridges

yep, i have my sub-domain proxying to the host <server>:8448, and i can use it locally. however the android element app is not able to connect, but the browser element can.

it is a dilly of a pickle, and i am not sure what is missing.

the docs at gitlab.com/famedly/conduit/-/blob/next/DEPLOY.md tell me to curl directly to port 8448… oh, dumbass! just typing this out i saw that it was an if not an and port 8448… never mind! i iwll post this to indicate my stupidity and hopefully figure out what i am doing wrong!

<pre style="background-color:#ffffff;">
<span style="color:#323232;">$ curl https://your.server.name/_matrix/client/versions
</span><span style="color:#323232;">
</span><span style="color:#323232;"># If using port 8448
</span><span style="color:#323232;">$ curl https://your.server.name:8448/_matrix/client/versions
</span>
itsnotlupus , to linux in raw man files?

You can list every man page installed on your system with man -k . , or just apropos .
But that’s a lot of random junk. If you only want “executable programs or shell commands”, only grab man pages in section 1 with a apropos -s 1 .

You can get the path of a man page by using whereis -m pwd (replace pwd with your page name.)

You can convert a man page to html with man2html (may require apt get man2html or whatever equivalent applies to your distro.)
That tool adds a couple of useless lines at the beginning of each file, so we’ll want to pipe its output into a | tail +3 to get rid of them.

Combine all of these together in a questionable incantation, and you might end up with something like this:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">mkdir -p tmp ; cd tmp
</span><span style="color:#323232;">apropos -s 1 . | cut -d' ' -f1 | while read page; do whereis -m "$page" ; done | while read id path rest; do man2html "$path" | tail +3 > "${id::-1}.html"; done
</span>

List every command in section 1, extract the id only. For each one, get a file path. For each id and file path (ignore the rest), convert to html and save it as a file named $id.html.

It might take a little while to run, but then you could run firefox . or whatever and browse the resulting mess.

Or keep tweaking all of this until it’s just right for you.

Self hosted SSH key repository?

I have too many machines floating around, some virtual, some physical, and they’re getting added and removed semi-frequently as I play around with different tools/try out ideas. One recurring pain point is I have no easy way to manage SSH keys around them, and it’s a pain to deal with adding/removing/cycling keys. I know I...

kool_newt , to selfhosted in Self hosted SSH key repository?

Are you initiating SSH connections from all these hosts?

If you just need to SSH to these hosts, use a single key and copy the public key only to the hosts you need to connect to. If you don’t want to copy the pubkeys to target hosts, use LDAP + SSSD or certificates.

Then, if you do need to initiate connections from these hosts and use an SSH agent you can forward your agent and SSH to another host

<pre style="background-color:#ffffff;">
<span style="color:#323232;">client> ssh -A host1
</span><span style="color:#323232;">host1> ssh host2
</span><span style="color:#323232;">host2>
</span>
<pre style="background-color:#ffffff;">
<span style="color:#323232;">client> ssh -A host1
</span><span style="color:#323232;">host1> ssh -A host2
</span><span style="color:#323232;">host2> ssh -A host3
</span><span style="color:#323232;">host3> 
</span>
Deestan , to technology in Twitter To Rebrand As X
<pre style="background-color:#ffffff;">
<span style="color:#323232;">__import__("difflib").SequenceMatcher(None,"billion","billion").ratio()
</span><span style="color:#323232;">1.0
</span>

Que?

herrfrutti , to selfhosted in Docker Container/Service with Same Port: Best Practices?

Caddy would have the bridge proxy network and the port 443 exposed.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">version: "3.7"
</span><span style="color:#323232;">
</span><span style="color:#323232;">networks:
</span><span style="color:#323232;">  proxy-network:
</span><span style="color:#323232;">    external: true
</span><span style="color:#323232;"># needs to be created manually bevor running (docker create network proxy-network)
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  caddy:
</span><span style="color:#323232;">    image: caddy
</span><span style="color:#323232;">    container_name: caddy
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 80:80
</span><span style="color:#323232;">      - 443:443
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./data:/data
</span><span style="color:#323232;">      - ./config:/config
</span><span style="color:#323232;">      - ./Caddyfile:/etc/caddy/Caddyfile:ro
</span><span style="color:#323232;">    networks:
</span><span style="color:#323232;">      - proxy-network
</span>

Other services:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">version: "3.7"
</span><span style="color:#323232;">
</span><span style="color:#323232;">networks:
</span><span style="color:#323232;">  proxy-network:
</span><span style="color:#323232;">    external: true
</span><span style="color:#323232;">
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  app:
</span><span style="color:#323232;">    image: app
</span><span style="color:#323232;">    container_name: app
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./app-data:/data
</span><span style="color:#323232;">    networks:
</span><span style="color:#323232;">      - proxy-network
</span>

Caddy can now talk to the app with the apps container_name.

Caddyfile:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">homepage.domain.de {
</span><span style="color:#323232;">    reverse_proxy app:80
</span><span style="color:#323232;">}
</span>

So the reverse proxy network is an extra network only for containers that need to be exposed.

null , to piracy in how to uninstall readarr on linux?
@null@zerobytes.monster avatar

Idk but this world is near to end 😔

wiki.servarr.com/readarr/installation/linux

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Uninstall
</span><span style="color:#323232;">
</span><span style="color:#323232;">To uninstall and purge:
</span><span style="color:#323232;">
</span><span style="color:#323232;">    Warning: This will destroy your application data.
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo systemctl stop readarr
</span><span style="color:#323232;">sudo rm -rf /opt/Readarr
</span><span style="color:#323232;">sudo rm -rf /var/lib/readarr
</span><span style="color:#323232;">sudo rm -rf /etc/systemd/system/readarr.service
</span><span style="color:#323232;">sudo systemctl -q daemon-reload
</span><span style="color:#323232;">
</span><span style="color:#323232;">To uninstall and keep your application data:
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo systemctl stop readarr
</span><span style="color:#323232;">sudo rm -rf /opt/Readarr
</span><span style="color:#323232;">sudo rm -rf /etc/systemd/system/readarr.service
</span><span style="color:#323232;">sudo systemctl -q daemon-reload
</span>
d_k_bo , (edited ) to linux_gaming in Team Fortress 2 crashing

If it crashes when launching the game:

github.com/ValveSoftware/Source-1-Games/…/5043

Tl;dr; Use the Flatpak or replace libtcmalloc_minimal.so.4

<pre style="background-color:#ffffff;">
<span style="color:#323232;">cd "~/.local/share/Steam/steamapps/common/Team Fortress 2/bin/"
</span><span style="color:#323232;">rm libtcmalloc_minimal.so.4
</span><span style="color:#323232;">ln -s /usr/lib/libtcmalloc_minimal.so.4 ./
</span>

If it crashes on VSH maps:

github.com/ValveSoftware/Source-1-Games/…/5044

Unfortunately, there is no known fix.

PDF Editor

I need a PDF editor to create internal hyperlinks in a document. I purchased a huge PDF and would like to be able to link internally to keep me from having to scroll or search the relevant data when needed. This thing is massive, over 1100 pages, and it’s for ttrpg so there are a lot of tables, locations, special items, etc....

BitSound , to linux in PDF Editor

You’ll probably get decent results by trying out pdf2htmlex with a command like this:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">docker run -it --rm -v /path/to/pdf/folder:/pdf bwits/pdf2htmlex pdf2htmlEX --zoom 1.3 my-pdf.pdf
</span>
iByteABit , to world in Polarised Spain eyes the hard-right ahead of election

Except if you happen to be in one of the minorities they are targeting.

Here is a quote that will probably go over your head, but I’ll post it regardless in the hopes that you’re better than the rest of the far-right voters:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">First they came for the Communists
</span><span style="color:#323232;">And I did not speak out
</span><span style="color:#323232;">Because I was not a Communist
</span><span style="color:#323232;">
</span><span style="color:#323232;">Then they came for the Socialists
</span><span style="color:#323232;">And I did not speak out
</span><span style="color:#323232;">Because I was not a Socialist
</span><span style="color:#323232;">
</span><span style="color:#323232;">Then they came for the trade unionists
</span><span style="color:#323232;">And I did not speak out
</span><span style="color:#323232;">Because I was not a trade unionist
</span><span style="color:#323232;">
</span><span style="color:#323232;">Then they came for the Jews
</span><span style="color:#323232;">And I did not speak out
</span><span style="color:#323232;">Because I was not a Jew
</span><span style="color:#323232;">
</span><span style="color:#323232;">Then they came for me
</span><span style="color:#323232;">And there was no one left
</span><span style="color:#323232;">To speak out for me
</span>
gnzl , to selfhosted in Can FreshRSS Crawl?
@gnzl@nc.gnzl.cl avatar

Using .site-content container clearfix didn’t work because those are actually three separate CSS classes, so you’d have to use only one - for example .site-content. However, it looks like .site-content is too big, as it includes the website’s sidebar as well. You may already know this but in Firefox and Chrome you can right click anywhere on the website and use the Inspect option to look at the source, and clicking on a section of the source highlights the corresponding section of the website and this will help you find exactly the CSS class you’re looking for. I did this on a couple articles from Humble Bundle and found a couple of options:

  • .post: This includes only the content of the post, excluding the title and the image.
  • .site-main: This includes the title, author, image and the content.
<pre style="background-color:#ffffff;">

Another useful tool in FreshRSS I forgot to mention is “CSS selector of the elements to remove”. You can use it to remove certain section from the full article, I’d recommend removing .sharedaddy and .entry-footer (the sharing links at the end of the article), and also .entry-header if you use .site-main as the CSS selector for the full article (.entry-header is the title of the article, but FreshRSS already fetches it from the RSS feed so you don’t need it in the body of the article as well). You can remove multiple sections by using a comma-separated list of CSS classes to remove:

.entry-header, .sharedaddy, .entry-footer

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines