Git Finds
24 subscribers
212 photos
12 videos
5 files
1.25K links
Download Telegram
Forwarded from Tech Crimes (Architector #4)
"Objects implement methods and properties on-the-fly using LLM reasoning"

https://github.com/awwaiid/gremllm
leaked-system-prompts - репозиторій, який містить колекцію витоків системних промптів від широко використовуваних сервісів на основі LLM. Тут ви знайдете системні промпти від таких гігантів як OpenAI ChatGPT, Google Gemini, Anthropic Claude, Microsoft Copilot та багатьох інших. Це чудовий ресурс для розробників та дослідників, які цікавляться внутрішньою роботою популярних AI-асистентів та хочуть краще зрозуміти, як вони налаштовані.

#AI, #LLM

@sourcefuture
Chainguard запилили инструмент под себя, что бы пользователь в своих образах быстрее мог мигрировать на их базовые

(d)ocker(f)ile (c)onverter: CLI to convert Dockerfiles to use Chainguard Images and APKs inFROM and RUN lines etc.
https://github.com/chainguard-dev/dfc
https://edu.chainguard.dev/chainguard/migration/dockerfile-conversion/

В целом задачи и цели инструмента понятны: у вас есть пачка Dockerfile, вы с помощью этой тулы можете легко перекатиться на реджистри и образы Chainguard

cat <<DOCKERFILE | dfc -
FROM node
RUN apt-get update && apt-get install -y nano
DOCKERFILE

FROM cgr.dev/ORG/node:latest-dev
USER root
RUN apk add --no-cache nano


Но это не так интересно среднестатестическому "пользователю". А вот что может быть полезно, так это то что замены можно кастомизировать под свои нужды

- Через опцию реджистри

$ dfc --registry="r.example.com/mirror" ./Dockerfile

FROM r.example.com/mirror/<image>


- Через маппинг значений в конфигурационном файле (дефолтный тут для примера - https://github.com/chainguard-dev/dfc/blob/main/pkg/dfc/builtin-mappings.yaml)

$ dfc --mappings="./custom-mappings.yaml" ./Dockerfile


Например юзкейс, как я думаю, во время массового перетаскивания базовых образов снаружи внутрь или внутри между реджистри

Что поддерживается и как работает "из коробки"

FROM line modifications

For each FROM line in the Dockerfile, dfc attempts to replace the base image with an equivalent Chainguard Image.

RUN line modifications

For each RUN line in the Dockerfile, dfc attempts to detect the use of a known package manager (e.g. apt-get / yum / apk), extract the names of any packages being installed, try to map them via the package mappings in mappings.yaml, and replacing the old install with apk add --no-cache <packages>.

USER line modifications

If dfc has detected the use of a package manager and ended up converting a RUN line, then USER root will be appended under the last FROM line.

In the future we plan to handle this more elegantly, but this is the current state.

ARG line modifications

For each ARG line in the Dockerfile, dfc checks if the ARG is used as a base image in a subsequent FROM line. If it is, and the ARG has a default value that appears to be a base image, then dfc will modify the default value to use a Chainguard Image instead.


Эту балалайку так же можно использовать как Go-шный модуль
https://github.com/chainguard-dev/dfc#using-from-go
Forwarded from Linuxgram 🐧
Alternative to n8n (suggested in the group by @Gse user)

Huginn is an open-source system that lets you create automated agents on your own server, acting as a customizable version of IFTTT or Zapier. It monitors the web, integrates various services, and automates tasks, giving you full control over your data.

—> https://github.com/huginn/huginn
Resume-Matcher - Покращуйте свої резюме за допомогою цього інструменту! Resume Matcher аналізує ваше CV та опис вакансії, надаючи корисні поради щодо оптимізації. Отримайте миттєвий рейтинг відповідності, ключові слова для додавання та рекомендації щодо покращення. Проект працює локально, використовуючи відкриті AI-моделі, тому ваші дані в безпеці. Ідеальний помічник для проходження ATS-систем та створення резюме, яке виділяється!

#Python, #AI, #NextJS

@sourcefuture