UnicodeEncodeError:'cp932' during python scraping
# Overview I want to extract only the store name from the store name list of [goToEat](https://premium-gift.jp/eatosaka/use_store?events=page&id=2&store=1addr=1dustry) and output it to CSV. Beautifu
I built an AWS Chalice development environment with docker and tried deploying a serverless application at super high speed
# I built an AWS Chalice development environment with docker and tried deploying a serverless application at super high speed Chalice and Lambda are new to me, I'm excited about my first serverless
I tried to notify slack of Redmine update
# Introduction This time, I decided to notify slack of Redmine ticket update in business, so I will summarize it. # Background of correspondence My company uses Redmine for outsourcing a certain bu
[Drawing and labeling multiple graphs] Plotly dynamic visualization [python3, make subplot, xlabel, ylabel]
python==3.8 plotly==4.10.0 With plotly settings I'm going to add something I use often # Subplot the drawing ```python from plotly.subplots import make_subplots import plotly.graph_objects
How to reflect validation error and input contents on the previous page without using render in the action
# Introduction If you get stuck in validation when submitting form content Render the new post screen with the `render` method There should be many people who learned by displaying the error or the
Codeforces Round # 610 (Div. 2) Bacha Review (10/5)
# This time's results  # Impressions of this t
Python learning memo for machine learning by Chainer Chapters 1 and 2
What This is an article that summarizes what I noticed and researched when learning machine learning using Chainer. It is written based on my understanding, so it may be incorrect. I will correct a
Python development on Ubuntu on AWS EC2 (using JupyterLab)
# Overview I had the opportunity to use EC2 in my research, so I will write down what I did at that time. I hope it will help people who develop Python on EC2 from now on. The execution environmen
Let's try Fizz Buzz in Python
# rule 1. Prepare numbers from 1-100 2. If it is divisible by 3, display "Fizz!" 3.5 When it is divisible by 5, "Buzz!" Is displayed. 4. If it is divisible by 3 and 5, display "Fizz Buzz!" <br> N
I tried using the Google Cloud Vision API
## What is Google Cloud Vision? Google Cloud Vision is an image analysis service provided by Google. This time, I used it to read the text in the image. ## Step 1 Register with Google Cloud Platfor
Operate ubuntu on VScode (windows10)
I used ubuntu when building the development environment for python3 (django), A memorandum that I found when I checked if I could type a command on VScode used when coding # Advance preparation V
Scraping data wrangling of statistical information on new coronavirus infection in Yamanashi Prefecture
Scraping data wrangling of statistical information on new coronavirus infection in Yamanashi Prefecture # Introduction + Scraping from [Statistical information on new coronavirus infection (outbre
Bubble sort without using sort
Good evening. If you are a Python user, you can use sort, I wanted to taste the way of thinking I tried to summarize ٩ (ˊᗜˋ *) و For the time being, let's arrange the following arrays in ascendi
Use julius (speech recognition) on raspberryPi. ② Installation
# Related article [Use raspberryPi and julus (speech recognition). ① Microphone](https://qiita.com/chiapis2/items/347a9b422706c2d8ebe2) [Use julius (speech recognition) on raspberry Pi. ② Installati
Memo of deploying Django × Postgresql on Docker to Heroku
## Introduction The Django app created in tutorials such as Django Girls has been converted to Docker. And I want to deploy the app to Heroku. The tutorial also describes how to deploy Heroku, so bas
real-time-Personal-estimation (new model construction)
## Introduction Environment construction two times before Last time I came with the learning edition. Next, I would like to build a model that can be used properly. ## Goal of this project Last ti
Blender 2.9, Python Odd Even Building
blender 2.9, python. movie 1sec. 400 * 300px resolution. Two colors are painted by overlapping large and small rectangular parallelepipeds with odd and even numbers. Move along the circumference of t
[Go] I want to separate endpoints by Read / Write to DB
# Introduction In order to support replication, I decided to divide the DB endpoint by Read / Write. I examined how to handle it with Go / Gorm2. ## Usage environment - Go: 1.15.2 - Gorm2: v1.20.1
[Python] I tried to automatically create a daily report of YWT with Outlook mail
# Overview I'm tired of making daily YWT emails every day ... Even if I create an email template, I still have to put today's date in the subject line ... This is an article that tried to automat
Use raspberryPi and Julius (speech recognition). ⑤ i2c character display
# Related article It's been a long way so far, and I don't know what it is anymore, but I would like to leave it as a reference site for myself. [Use raspberryPi and julus (speech recognition). ① Mi
Python: How to use pydub
How to edit an audio file. Input file  Output file  where waterway width and waterway floor elevation change
Track the water surface shape of the sand basin by unequal flow calculation. Although the cross-sectional shape is rectangular, the water surface shape is calculated when the channel width and chann
[Pyxel] Solution for "failed to initialize SDL Audio in'Audio'"
Install pyxel and run the sample program for the time being ... ``` pyxel error: failed to initialize SDL Audio in 'Audio' ``` A pyxel error has occurred. I've solved it safely, so I'll write a sol
What to do if you get a TypeError with numpy min, max
```php x_min, x_max = X[:, 0].min - 0.5, X[:, 0].max + 0.5 ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-65
Support Vector Machine (for beginners) -Code Edition-
This time, we will summarize the implementation of support vector machines (classification). * Hereafter, it may be abbreviated as SVM. ## ■ Support vector machine procedure Proceed with the nex
Use raspberryPi and Julius (speech recognition). ④ L Chika
# Related article [Use raspberryPi and julus (speech recognition). ① Microphone](https://qiita.com/chiapis2/items/347a9b422706c2d8ebe2) [Use julius (speech recognition) on raspberry Pi. ② Installati
Security settings required after launching an EC2 instance
After logging in to EC2 with SSH, we will summarize the minimum required settings. ## User settings ### Add user, set password ``` #Add user and set password sudo useradd hogehoge sudo passwd hoge
Python: How to use pydub (playback)
How to play with pydub. #### **`play.py`** ```py #! /usr/bin/python # # play.py # # Oct/06/2020 # # ------------------------------------------------------------------ import sys from pydub im
[SIGNATE] Challenge for forecasting accommodation prices for private lodging services
# Introduction Due to the influence of Corona, the time spent at home has increased, so from April this year I started to work hard on machine learning. In the process, I had many opportunities to wo