Error Python pacckages in Docker

Today, I encountered an issue on a Synology container where a service plugin triggered an error: [Plugin / stashdb performer gallery] ModuleNotFoundError: No module named 'stashapi' If you attempt to troubleshoot and resolve this, follow these steps: Connect to the container Assuming you know how to execute commands in the terminal: docker exec -it <name_or_container_id> /bin/sh Create a virtual environment: Inside the container, choose a location for your virtual environment and create it:...

May 4, 2024 · 1 min

Photoswipe 5 with hugo

Adding PhotoSwipe to Your Project PhotoSwipe is a popular JavaScript library designed to create responsive and accessible image galleries. Here is a detailed guide on how to integrate PhotoSwipe into your project. Step 1: Installing PhotoSwipe Start by installing the PhotoSwipe package using npm. Open your terminal and execute the following command: npm install photoswipe Alternatively, you can fetch the necessary files from the repository. Step 2: Copying Necessary Files After installation, you need to manually copy the PhotoSwipe files from the node_modules/photoswipe/dist folder to the static directory of your project....

April 27, 2024 · 2 min

Мысли про работу

Несколько цитат которые подзацепили когда писал статью про работу basecamp. But crisis mode is reserved for true crisis. What we have found to be true is Parkinson’s Law: “Work expands to fill the time available.” Give something 3 months and it’ll take 3 months. Give something 6 weeks and you’ll figure out how to get it done in 6 weeks. No OKRs, no metrics. We build what we think the product needs based on our own ideas and the distillation of customer requests....

March 9, 2023 · 1 min

Что такое хорошая [продуктовая] задача.

A Small Lyrical Introduction Once upon a time, I played basketball, and our coach constantly drilled into us: “If your pass isn’t caught, it’s your fault” or simply put—"The passer is to blame." Surprisingly, years later, I often recall this statement in work scenarios with developers, colleagues, or top management. Have you ever faced situations where a developer repeatedly comes to you with questions about a task? Or, on the flip side, doesn’t come at all, but new additions keep cropping up for an already completed task?...

October 27, 2020 · 3 min

Уведомления Jenkins в Telegram

One of the rules of working with CI (Continuous Integration) is that everyone should be able to see the build status, i.e., synchronization. And what could be better than receiving notifications about failed or successful builds directly in the chat? 3cky/jenkins-telegram-uploader-plugin: Jenkins CI post-build action that uploads artifacts generated during build process to Telegram chats. jenkinsci/telegram-notifications-plugin: This plugin allows you to send messages from Jenkins jobs to Telegram chat. Use the post-functions section in the pipeline....

October 19, 2020 · 3 min

Лицензии при разработке программных продуктов софта

В разработке ПО часто является разумным использовать уже готовые фреймворки и библиотеки для решения тех или иных задач. Важно помнить, что несмотря на статус open source, использование чужого кода несет права и обязанности. Вы часто можете взять чужие исходники, использовать их но вы обязаны соблюдать требования которые они возлагают на разработчика. Так недавняя история с использованием чужого кода в одном из проектов крупного интернет холдинга привела к маленькому, но неприятному скандалу1....

August 13, 2020 · 2 min

How to Tame Metadata in App Store Connect with Fastlane Deliver

Let’s chat about App Store Connect. Unlike Google Play Console, it’s not exactly the friendliest neighbor on the block, especially when you’re tasked with prepping materials in multiple languages for new app versions. If you’ve got loads of apps and updates in the pipeline, you’re gonna need some serious help. Enter Fastlane Deliver. This tool is a true lifesaver. Here’s what it can do for you: Upload literally hundreds of screenshots across different languages and platforms—no kidding!...

September 14, 2019 · 2 min

Как эффективно использовать массивы во Framer

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

February 6, 2018 · 1 min · Alexey S

Медиа-клавиши в iTunes.

У Apple есть потрясающая способность принимать решения в дизайне продуктов вопреки здравому смыслу и логике. iTunes это вероятно один из самых невидимых миром монстров который по идее должен делать только одну работу, но при этом оброс кучей других возможностей, при этом несколько последних апдейтов сделали его еще менее осмысленным. Что бесит лично меня: Больше нельзя с помощью iTunes удаленно установить/купить приложение на iOS устройство (через браузер тоже, привет Google Play!). Медиа-клавиши Macbook больше не управляют iTunes по-умолчанию!...

February 5, 2018 · 1 min · Alexey S

iTunes и внешняя колонка (AirPlay/BlueTooth)

Часто при работе дома, транслирую музыку из iTunes на внешнюю колонку Bowers & Wilkins Z2. В свое время я специально искал устройство с поддержкой AirPlay. Самое большое неудобство — невозможность регулировать звук на внешнем устройстве через медиа-клавиши Macbook, так как они отвечают исключительно за системный звук Mac, а значит что бы отрегулировать звук нужно: переключиться в iTunes курсором найти ползунок и изменить звук (либо ⌘↑/↓) Варианта назначить штатными средствами глобальные сочетания клавиш не нашел а поиск по сети подсказал несколько достаточно старых приложений ставить которые желания не было....

December 22, 2017 · 1 min