Install airflow scheduling on linux system

Create airflow user groupadd airflow useradd airflow -g airflow Install python3 yum -y update yum -y install gcc — will be used later to install mysqlclient yum -y install gcc-objc gcc-objc + + libobjc — does not install and reports error gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory yum -y […]

arduino simple smart flowerpot

Editor: arduino IDE Motherboard: arduino uno Sensor: 0.96-inch OLED screen (four legs) sound module Soil temperature and humidity module DS18B20 temperature module (waterproof is used here) Photoresistor module (the one bought with three pins can only display high and low, it can be replaced with four pins to display numbers) arduino expansion board (depending on […]

Raspberry Pi Zero 2 W Development Flower Pot Pet

1. Materials required for hardware First, you need a Raspberry Pi board. Here we use the Raspberry Pi Zero 2 W. At the heart of the Raspberry Pi Zero 2 W is the RP3A0, a custom system-in-package designed by Raspberry Pi UK. Powered by a quad-core 1-bit ARM Cortex-A512 processor clocked at 53GHz and 2MB […]

[Open Source Project] Research on snakeflow process engine

Project address https://gitee.com/yuqs/snakerflow https://toscode.mulanos.cn/zc-libre/snakerflow-spring-boot-stater (recommended) https://github.com/snakerflow-starter/snakerflow-spring-boot-starter Common API Deployment process processId = engine.process().deploy(StreamHelper. getStreamFromClasspath(“test/task/simple/leave.snaker”), null, 10001L); Create process instance Order order = engine.startInstanceById(processId, “1”, args); Perform tasks List<Task> tasks = engine.executeTask(activeTasks.get(0).getId(), “1”); Get a person’s tasks that require approval List<Task> activeTasks2 = engine.query().getActiveTasks(new QueryFilter().setOperator(“admin”)); Leave process xml configuration <process displayName=”Leave process test” instanceUrl=”/snaker/flow/all” name=”leave”> <start […]

Apache Airflow (4): Airflow scheduling shell command

Personal homepage: IT Pindao_Big data OLAP system technology stack, Apache Doris, Clickhouse technology-CSDN blog Private chat with bloggers: Join the big data technology discussion group chat to get more big data information. Blogger’s personal B stack address: Brother Bao teaches you about big data’s personal space – Brother Bao teaches you about big data personal […]

Deep Neural Networks – Convert a TensorFlow piecewise model and start using OpenCV v4.8.0

Goals In this tutorial you will learn how to Convert a TensorFlow (TF) segmentation model Run the converted TensorFlow model using OpenCV Evaluate TensorFlow and OpenCV DNN models We will discuss the above points using the DeepLab architecture as an example. Introduction Apart from the graph optimization stage, the key concepts involved in TensorFlow classification […]

[Distributed] tensorflow 1 distributed code practice and explanation; running 2 distributed worker threads on a single node

tensorflow.python.framework.errors_impl.UnknowError: Could not start gRPC server 1. tf distributed A computer = server = server is a node that contains multiple GPUs. First of all, the distributed method is to let the GPUs on multiple computers work together. Distributed work is divided into two parts, parameter server (ps) and worker. PS and worker look familiar, […]

Parse overflow attribute in css

Table of Contents 1. overflow definition and attribute values 2. Attribute effect display 2.1 overflow: visible; do not crop the part beyond the box 2.2 overflow: hidden; hide the content beyond the box; clear the float 2.3 overflow: scroll scroll bar 2.3.1 overflow-y: auto; overflow-x: hidden; 2.3.2 overflow-x: auto; overflow-y: hidden; 2.3.3 overflow: scroll forces […]

Android data flow carnival: Channel and Flow

In the development of Android applications, handling asynchronous data streams is a common requirement. To better address these needs, Kotlin coroutines introduce Channel and Flow, which provide powerful tools to handle data flows, implement producer-consumer patterns, and build reactive applications. This article will take a deep dive into the internals of Channel and Flow, advanced […]