GORM version 2 changes
# Preface In August 2020, GORM v2.0 was released. There are a lot of changes and some functions aren't compatible with v1, so I'd like to cover them in this article. [change log link](https://gorm.
[Python] Representing the number of complaints from life insurance companies in a bar graph
# Overview ――Recently, I got a life insurance policy from an acquaintance. ――But can you really trust the insurance company? ?? I thought, I looked at the number of complaints on this [site](https:/
[Reading Notes] Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow Chapter 1
The Machine Learning Landscape Why Use Machine Learning? Programming a spam filter is the next step. 1. Notice that spam emails use some language, there are patterns in the sender's name and ema
Let's get notified of the weather in your favorite area from yahoo weather on LINE!
# Development history "Communication restrictions" that everyone should have encountered in modern times It's painful that you can't use your smartphone freely on the go. ~~ It's just a matter of i
It's fast, garuda linux from the arch family
Installation  is not it for btrfs core2duo memory 4G 2.5inch mechanical
Linux system architecture [runlevel]
[Linux runlevel] Linux runlevel summary. ## init 0 ~ init 6 (init 4 free) init 0 Shut down the system → System stop init 1 Start in single user mode → Mode in which only root can log in C
Stumble when converting bidirectional list to JSON in Go
# What happened While coding with Go, I had to convert something like a bidirectional list to my own & JSON. The policy is to use ʻencoding / json`, but it's a mess. # in short * If you have yourse
Implementation of Dijkstra's algorithm with python
# Introduction I implemented Dijkstra's algorithm in python. I'm not used to posting, but I intend to write it as clearly as possible (a lie) Having recently studied graph theory at university, I
Paiza Python Primer 7: Understanding Functions
Python3 is completely free on Paiza, so I summarized it. <a href="https://paiza.jp/works/python3/primer"> Paiza Python3 Primer </a> ## 01: Let's learn about functions #### **`lesson.py`** ```py
Implementation of quicksort in Python
Code that generates a list of 100 integers with random numbers and quickly sorts them. I implemented it with a simple quicksort that does not use partitions. Finally, a code to measure the executi
A program that sends a fixed amount of mail at a specified time by Python
# Import the module. import datetime import smtplib import ssl from email.mime.text import MIMEText import sys, codecs sys.stdout = codecs.getwriter("utf-8")(sys.stdout) gmail_account = "" # → Pleas
Create a high-level synthesis language assembler. Part 6
# Overview Create a high-level synthesis language assembler. I tried to find a logical formula from the truth table with python. # Sample code ``` import sympy as sym #xor print (sym.POSform(['a
[CRUD] [Django] Create a CRUD site using the Python framework Django ~ 5 ~
# Series list (will be updated when all articles are completed) ## Add user registration app ### Create an app Create a user registration app (register). ```python python manage.py startapp regis
Display Google Maps on a web page (Spring Boot + Thymeleaf)
# Overview I was learning Spring Boot and wanted to display Google Maps on a web page, so I tried using the Maps JavaScript API. This time, we will use a Thymeleaf fragment to display Google Map on
Application of graphs with plotly sliders
# Introduction This is a memo because I often create graphs with sliders with plotly. Since the code is officially used to move one plot with the slider, I will describe a little application such a
Escalator simulation
# Introduction Hello, you who are doing a three-year high school student. This is my first post, and I would like to introduce an escalator simulation. The language is Python3. # About the escalator
[Python] I tried substituting the function name for the function name
## Conclusion The assigned one will be rewritten to the assigned one. Below are the experimental results. #### **`Colab`** ```python #Define func def func(x, y): return x - y func(1, 2) # -1
Use Go language recommended directory structure (golang-standards / project-layout) for local (private source) projects
go version go1.15.2 According to [Recommended Directory Structure of Go Language Community](https://github.com/golang-standards/project-layout), the standard package management system "[Go Modules]
I want to pin Datetime.now in Django tests
# Introduction I really wanted to fix Datetime.now (timezone.now) when I was making a Django test. That memo. ## things to do * Make a mock with mock.patch ## code #### Code to test #### **`test
Python real division (/) and integer division (//)
# problem Input in [Problem A](https://atcoder.jp/contests/arc107/tasks/arc107_a) ``` 1000000000 987654321 123456789 ``` When typing ``` A, B, C = map(int, input().split()) ans = (A * (A + 1) * B
Find out the age and number of winnings of prefectural governors nationwide
From the [Governor's File](http://www.nga.gr.jp/app/chijifile/) of the [National Governors' Association](http://www.nga.gr.jp/index.html), the incumbent governor Scraping ```python import datetime
100 natural language processing knocks Chapter 4 Commentary
100 natural language processing knocks Chapter 4 is my solution Install mecab for use with python. https://qiita.com/Sak1361/items/47e9ec464ccc770cd65c
Data analysis Titanic 2
[Aidemy](https://aidemy.net/) 2020/10/30 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy
[Circuit x Python] How to expand and calculate transfer functions using Lcapy
# Introduction I wrote an article about how to symbolically analyze the transfer function of a circuit using Lcapy, a linear circuit analysis package in Python. [[Circuit x Python] How to find the
[Circuit x Python] How to find the transfer function of a circuit using Lcapy
# Introduction Python has a package called [Lcapy](http://lcapy.elec.canterbury.ac.nz/index.html) that can analyze linear circuits. Lcapy has many functions, but this article describes how to find t
Solution when pip install from other than the official website and SSL Error (SSL authentication error) occurs
```pip install```I think that there are many cases where an ssl authentication error occurs when inserting a package with. ``` WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None
[All-new best browser] Let's change the way the Internet works and how it works with the Brave browser.
## Introduction ~~ This is more than just a plugin. It symbolizes the hope and passion of all people of the same generation, summarized in the two most famous words sung by Louis Armstrong, Hello,
Getting Started with Python Web Applications
# Introduction This article is Zenn's online book ["Introduction to self-made Python web applications for third-year web engineers who are sluggish"](https://zenn.dev/bigen1925/books/introduction-t
Create a simple GUI app in Python
Python has recently been active in fields such as AI and analysis, but it can also be used to create ordinary desktop applications. This time, we will use the GUI library "Tkinter" that comes sta
I tried the least squares method in Python
# Introduction Thanks. This time I wrote an article about how to implement the least squares method in Python. As I mentioned earlier, I don't know if I don't have the following knowledge of mathemat