social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#copy

1 post1 participant0 posts today
(1784–1836). Made in bronze by “Compagnie des Bronzes” in Brussels, 1900. 💿

(Source: Rijksmuseum)

This statue is a copy of a marble sculpture from 1828, which was made for the Duke of Devonshire. ©️

The original is located at Chatsworth House in England, while the plaster model is preserved in Brussels. In 1900, this model was used to cast the bronze version for “Rijksmuseum”. 🏛️

#amsterdam #discuswerper #discusthrower #sculpture #museum #athlete #bronze #art #matthieukessels #copy #artiseverywhere #statue
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" ]