In nowadays, when we develop a web application, we usually apply CI (Continuous Integration) and CD (Continuous Deployment) to automate the processes of testing and deployment.
To run such automation, we use Jenkins [¹] and Travis [²] in the old days. However, in this decade, there are lots of tool popping up for our needs, and one of them is GitHub Actions. As a web developer and GitHub lovers, I would like to use GitHub Actions for not only can be easily integrated with GitHub projects but also show off my ability to customize GitHub Actions [³] for my needs…
In this article, I am going to present a Virtual YouTuber (VTuber) system just using an ordinary CPU and webcam written in C++. I will also talk about the phenomenon of VTuber and some basics of gaze tracking. At last, I will leave some personal thoughts after working on this system.
VTuber means a person streaming or uploading to YouTube with an anime avatar following his movement in real-time. [¹] Though VTuber originated in mid-2010 in Japan, it started to boom from the beginning of 2020 with the help of COVID-19 and the push of some commercial companies such as…
In this post, A Human-Computer Duet System for Music Performance , by Academia Sinica, is reviewed. In this paper:
This work is supported by the Automatic Music Concert Animation (AMCA) project of the Institute.
sudo is a commonly used linux command which grants a command with root permission temporarily. However, as its code is bloated and complicated settings, it usually happens of misconfiguration, not mention to commonly reports about vulnerabilities including the latest one .
As a consequence, there are many alternatives of
sudo not only to avoid security vulnerabilities but also configuration in simplicity.
On famous substitution is
doas. Originated from freeBSD,
doas aims to provide a light-weighted package and less complex setting for grant root permission .
On Dec. 15, 2020, GitHub released a post talking about they won’t accept account passwords for authenticating Git operations on GitHub after Aug. 13, 2021.  As a consequences, GitHub provides the following two methods for authentication:
As a person prefer using HTTPS (I switch working computer frequently, for instance, I use one computer at my workspace, and use another computer at home). What’s more GitHub recommends HTTPS method because of these reasons:
Recently, I have been working on a project using Django as an API server, and there is one special API which generates a file with arbitrary generating time and size. When calling this API, I always got a 502 error. In the beginning, I thought it might be the problem of timeout setting, so I changed the timeout settings of both Django and Apache (using as reverse proxy) to 300 seconds. However, I still received 502 error.
Then I started to investigate the cause and realized the meaning of worker setting of Gunicorn. After I altered the worker type from…
DATETIME(6), which is default when using
DateTimeField()in Django ORM, into
DATETIME, with the following two lines:
So here’s the plot, I was dedicating myself on a Django 3.x project recently. The database of this project is MySQL 5.1 due to historical reason. Every time when I tried to run migration, I always receive the following error on Django built-in tables:
Therefore, I read the Django document about supporting database, and I got a frustrating message :
Image segmentation plays a great role in order to realize which objects construct an image. In order to reach this goal, people have invented a lot of strategies — one of which is superpixel.
SLIC is a well-known algorithm that runs in linear time complexity and has been implemented in various image processing libraries including OpenCV and scikit-image. However, JulaImages has not implemented SLIC yet, though this Julia image processing package contains Felzenswalb and quick shift. Therefore, I want to implement SLIC in Julia to let me familiar with SLIC algorithm but also Julia.
Image segmentation is a process to…
As time passes, you have done a lot of machine learning projects, but you need a visualization or other guys won’t know the procedure and result of your project. What’s worse, some people think that you are not prepared because you cannot use Docker and PaaS deployment (many of the machine learning jobs in Taiwan need frontend or backend skills).
Therefore, I write this series to not only create a web-based app, but also show basic Docker…
Use this friend link to spread this post with unlimited access.
TL;DR You can get the example project here.
So you finally finish your machine learning project with streamlit for presentation, but you fell tedious that you have to create a virtual environment every time on a new computer. What’s worse, sometimes your virtual environment breaks because you are using different OS.
Hopefully, we can use Docker to ease the problems of setting up and deploying environments, and you create a microservice which is suitable for scaling.
For this part, I…
Enthusiastic of image processing, machine learning, and parallel computing. Current status: beggar on the street.