Treat the Interface class like that with Python type annotations
### Overview -In situations such as [Dependency Reversal Principle (DIP)](https://ja.wikipedia.org/wiki/%E4%BE%9D%E5%AD%98%E6%80%A7%E9%80%86%E8%BB%A2%E3%81%AE%E5%8E%9F%E5%89%87), that is, if you want
I want to add my own structure to the structure created by Python's C extension module!
# Thing you want to do Well, as the title says, this time I would like to talk about "I want to put my own structure in the structure created by Python's C extension module". It's crazy, and it's v
Easily implement login authentication function with Laravel
[Prerequisites] The Lamp environment has been installed normally. Node.js is installed. The database is set up. Can handle artisan command to some extent. If you haven't installed Node.js, plea
Organized feature selection using sklearn
* Articles sent by data scientists from the manufacturing industry * This time, I tried using the feature selection method that can be used with scikit-learn. ## Introduction Feature engineering i
Getting Started with Golang 4
Create a list/detail screen with Golang without using frameworks such as gorilla/mux, gin, and echo. Click here for the text: <a href="https://bizzare.me/post/golang4"> https://bizzare.me/post/gola
A way to understand Python duck typing
# Overview I've been looking at Python for a year or two, but I haven't got duck typing in my head. I thought of a way to understand. By the way, Maybe it's because of the textbook I'm using that
I made a segment tree with python, so I will introduce it
# Introduction There are many other articles about segment trees, so please choose the one that is easy for you to use! (If you like the segment tree in this article, please use it for competitive pr
Differences between Django's request.POST ['hoge'] and request.POST.get ('hoge')
What is the difference between request.POST ['hoge'] and request.POST.get ('hoge')? I used to use request.POST ['hoge'] without thinking about anything (sorry), but I was wondering how to use it pro
VBA users tried using Python / R: logical operations and comparison operations
# Introduction I am a VBA user who started studying machine learning. As a memorandum, I would like to summarize the Python / R grammar while comparing it with VBA. **table of contents** -[Log
Run Laravel-admin on Golang PHP application server RoadRunner
# New trends in application servers > In the PHP area these days, there are a few HTTP servers or application servers for PHP that have different execution methods from the conventional configuratio
Making a paper craft on Linux/macOS with OSS Memo
## background * For some reason, I wanted to make a paper craft that would be very popular with talented young people. * I want to make from a 3D model in Blender * There is a paper model designer
6 Ball puzzle implemented in python
# Introduction When I was thinking of implementing a 6-ball puzzle on python, the shit code was completed. I'm tired of it, so let's release it to the sea on the net and finish ... Method of opera
Differences between glibc, musl libc and go resolvers
The other day I wanted to adjust the timeout in resolv.conf, but in times like Docker and Kubernetes. Even if you're only using Linux, the resolver isn't necessarily that of glibc. So I investigated
[Blender x Python] How to use modifiers
# table of contents 0.Subdivision Surface 1.Array 2.Bevel 3.Boolean 4.Build 5.Decimate 6.Mirror 7.Screw 8.Skin 9.Solidify 10.ShrinkWrap (11.Shape Key) * Code comments will be added later. 0.Sub
[VS Code] ~ Tips when using python ~
# tips1: What to do if IntelliSense doesn't work with jupyter files Solved by the following method 1. Install Pylance with VS Code extension 2. Open the settings screen with the shortcut key (Win
[Gvm] Go version control
# Introduction Version matching needs to be matched in collective development, and version control is a must. This article keeps a record of version control in Go. # Go version control tool [gvm]
PyTorch Learning Note 2 (I tried using a pre-trained model)
# Introduction This is a continuation of [PyTorch Learning Memo (I made the same model as Karas)](https://qiita.com/makaishi2/items/3676d216fe9b34b63430). This time, I tried to make a model using th
How to create a kubernetes pod from python code
# Introduction To make a pod with kubernetes, you can first create a yaml file of the pod and then apply the created yaml file with a command, but I want to create a pod from python code without usin
I installed OpenCV-Python on my Raspberry Pi
## Overview Anyway, I want to install OpenCV safely, so I installed it by the official method. https://docs.opencv.org/master/d2/de6/tutorial_py_setup_in_ubuntu.html ## environment ### hard Raspberr
Translate I2C device driver for Arduino to Python for Raspberry pi
# Translate I2C device driver for Arduino to Python for Raspberry pi When I searched for a closet to see if there were any parts that could be used to make a robot, I bought a motor driver for Raspbe
A collection of important AI research themes as seen from a review of the Google AI Blog
In this article, we will introduce 19 themes, "What kind of AI-related research is important now" from the 2020 review article on the Google AI Blog. I would also like to introduce four studies tha
Convert DataFrame column names from Japanese to English using Googletrans
# Introduction When dealing with data frames in pandas, it may be inconvenient if the column name is Japanese. In such a case, it is troublesome to convert the Japanese column name manually, so I a
DL Laravel environment construction method (Linux)
[Prerequisites] The Lamp environment with composer installed has been built normally. You can run the Laravel project downloaded from github for the time being Set up to use. ## 1. DL the lar
Call anaconda virtual environment from ubuntu terminal memorandum
## Overview I usually use pyenv x virtualenv, but I had the opportunity to use anaconda as well, so as a memorandum. ## How to do ``` echo ". /home/<user>/anaconda3/etc/profile.d/conda.sh" >> ~/
I tried to introduce a serverless chatbot linked with Rakuten API to Teams
# Introduction This time I created a serverless chatbot that can search books and introduced it to Teams. When users enter a keyword in Teams, we've created a chatbot that displays five book titles
[Python] Get environment variables
# Get environment variables Get using the `os` module ``` import os env_dict = os.environ <-os module variable environ holds environment variables ``` --Official documentation: https://do
Since I made my own smart lock, I will summarize the difficult points
A beginner in IoT development tried to make a smart lock. I will summarize the jammed parts. # Made I made a smart lock. There are two ways to unlock and lock. * After sending a request to an en
Linux commands
Linux commands give commands to the PC from the terminal [Basic command collection] -Show current directory pwd -List files and directories ls -Move current directory cd [path of directory you w
Use Deep Q-Network to control road guide lights!
# Introduction I worked on a project with my friends using simple reinforcement learning, so I also wrote a record of it in an article. # background Many people may have had trouble finding a parki
I tried competitive programming
I'm studying because I want to be an engineer, but I can't find a job easily. (I know the portfolio is bad) So I'm playing with python to kill time (use that time to repair the portfolio!) I've