veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

134
active users

#copy

0 posts0 participants0 posts today
Replied in thread

@rl_dane I am thanking you for pointing me to the books of that writer who gave them away for a short period at Amazon

A question I have now before doing any research; is there a command available where I can just copy my books that are within my Kindle library, convert them to the standard ebook format so that they can have them forever, because now I don't have a copy of the books Amazon has them

Replied in thread

Ein drei Jahre altes Basis-Dockerfile, mit dem ich mit Multi-Stage-Builds rumgeeimert habe.

Das Build-Image baut eine Compile-Umgebung auf, und baut dann aus der requirements-frozen.txt die notwendigen Wheels.

Die werden dann ins Deploy-Image rüber getragen. Dort wird dann auch der Code importiert (der hier nicht groß ist – es ist kaum mehr als ein hello_world.py).

Ich habe eine requirements.txt, die die Dependencies importiert und die so das Venv baut.

Dann mache ich ein

(venv) $ pip freeze -r requirements.txt > requirements-frozen.txt
(venv) $

Dies zeichnet nicht nur die bewußt importierten Dependencies auf, sondern auch deren Dependencies, mit fixierten Versionen.

Indem ich das Image mit der requirements-frozen.txt bauen (die mit eingecheckt wird), habe ich im Image dieselben Versionen wie beim Testen.

(base) kk:~ kris$ cd PycharmProjects/dockertest/
(base) kk:dockertest kris$ cat Dockerfile
FROM python:3.10-slim as builder
LABEL maintainer="isotopp" \
description="A test image"

WORKDIR /app

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

RUN apt-get update && \
apt-get install -y --no-install-recommends gcc git build-essential

COPY requirements-frozen.txt /tmp/requirements.txt
RUN cd /tmp && pip wheel --no-cache-dir --no-deps --wheel-dir=/tmp/wheels -r requirements.txt

# -----

FROM python:3.10-slim
WORKDIR /app
#COPY --from=builder /tmp/wheels /wheels
#RUN pip install --no-cache /wheels/*

COPY . /app
CMD [ "python3", "-u", "main.py" ]

In earlier days I was using #unison to two-way (mostly manually) sync a directory between hosts. But this is becoming a huge problem, as unison requires the very same version on both sides, and my systems are quite different these days.

What other Linux tools out there can do a reliable two-way sync of a directory?

Edit: use case is manually sync work between multiple devices, not online all the time.

#Linux#Sync#Copy

For the love of god if you're trying to convince your employer or an organization to "come over" to the #Fediverse, do NOT under any circumstances suggest that they set up a #Mastodon #instance!

Mastodon is the ONLY Fediverse platform that ...
by default ... forces #server #admins to #cache, #copy, and #proxy all #media that passes through its server. This means that not only are server admins paying to host the media their users #upload, but they have to pay to host the media everyone else on the fucking fediverse uploads as well.

Other platforms offer this feature, but
Mastodon is the only one that has this turned on by default.

This results in Mastodon server admins having to shell out thousands of dollars each month in
#S3 hosting costs for no reason whatsoever.

There are much better alternative instance platforms than Mastodon.

For people who know about frontend and accessibility, which of these methods would you use to show the trademark symbol?

I assume that the third option is the least favorable as it is not a single entity with semantic meaning. But what about the other two?