PyCUDA build error handling memorandum

After building the environment of PyCUDA, I will suffer from build errors, so I will leave a memorandum of remedies. # Environmental information * OS: Ubuntu20.04 LTS * GPU: NVIDIA RTX2080 SUPER * C

[Python] The biggest weakness / disadvantage of Google Colaboratory [For beginners]

I won't talk about Google Colaboratory, but I usually use Google Colaboratory and have the disadvantage of "this is ...", so I will explain it. There are two main disadvantages. ### 1. Cannot be e

[Note] Useful linux command collection

# Introduction I will forget the linux command, so I leave it as a personal memo. .. # Command collection ```bash #Check disk capacity df -h #Check how to use command man (command) ```

Specification generation and code generation in REST API development (Python edition)

# Contents * For the efficiency of REST API development, I think that I will use tools for specification generation, code generation, style check, and automatic formatting. * For Python, here are so

How to enjoy Python on Android !! Programming on the go !!

# I want to enjoy Python on Android !! Hello. This is PyLoc. Many people want to do Python on Android. Here, I would like to introduce how to do Python on various Androids. # App edition You can

Run Ansible from Python using API

# at first Ansible is convenient, isn't it? I think it's God when you do the same work on many servers. It feels like it's fully automated just by hitting the playbook, but I also wanted to automat

Try using Python's networkx with AtCoder

# Networkx available in AtCoder With the language update of AtCoder, Python became 3.8 series, but networkx can be used. Considering the processing time, I think that the cases to use are limited, b

I made a configuration file with Python

# I made a configuration file based on Python I used various file formats, but the readability is low except for json, yaml, and toml. Json was dissatisfied with not being able to write comments, and

How to calculate the autocorrelation coefficient

# 1 This article Explain how to calculate the autocorrelation coefficient with python. # 2 methods Automatically calculate the autocorrelation coefficient of data with a 3-day cycle. (Use plot_a

Tweet regularly with the Go language Twitter API

### What to prepare ・ MAC (PC) ・ AWS Lambda ・ Twitter API ・ Twitter account ### What i did #### 1. Twitter API application Apply for Twitter API from the URL below. https://developer.twitter.com

Color code list

## Color code list Since I studied about colors, I made a list of color codes. --Note) The following is a list of color codes for Web Safe Colors (explained below). --Note) The range of possible v

[Note] Beginning of programming

# Introduction Currently, my main business is research in natural sciences. It does not handle a huge amount of data that is difficult to analyze, and Excel is almost enough for data analysis. A litt

100 image processing knocks !! (021-030) I want to take a break ...

# 1.First of all Practice this to improve the technical capabilities of image preprocessing [100 knocks for image processing !!](https://github.com/yoyoyo-yo/Gasyori100knock) I will do it with Colab

Note the frequently used options in Python + Selenium + Chrome

# Introduction Note the frequently used options in Python + Selenium + Chrome ## Environmental information * python: 3.9.0 * chrome: 86.0.4240.198 * selenium: 3.141.0 # Frequently used options in P

(Bad) practice of using this in Python

Overview --- A technique found in a certain OSS. ```python bs = BookShelf('Introduction to XX', 'First time YY', 'ZZ I can't hear anymore') bs.map_(lambda: print(this)) ``` #### **`stdout`** ```t

Kill including small processes

# Overview A tool for killing, including small processes. For python. (It is tied up in the python process.) Verification is done only on linux. How to use If you execute it as it is, a list of

Connect to Postgresql with GO

## Start Postgre with Docker #### **`docker-compose.yml`** ```yml version: "3" services: postgres: image: postgres container_name: postgres ports: - 5432:5432 environment:

Tweet from python with Twitter Developer + Tweepy

Click here to register for Twitter Developer: [The story of the difficulty in registering for Twitter Developer for the second time](https://qiita.com/harus2rock/items/ad50c927e103f0302885) If you a

Blender 2.9 Python Extrude extrude

Today's challenge is the extrusion function. Even if I search for "extrude blender 2.8 python" etc., it seems that there are few codes using extrude in blender 2.8 (2.9) in both English and Japanese.

Linux Summary

# command ; $pwd;ls Execute the right command regardless of whether the left command causes an error or succeeds. &&  $ls prog/ruby && pwd Execute the second command only when the first command co

3. Natural language processing with Python 3-1. Important word extraction tool TF-IDF analysis [original definition]

* When performing natural language processing, one of the specific aims is to "extract important words that characterize a certain sentence." * When extracting words, first pick up the words that ap

command not found: django-admin

# command not found: Resolve django-admin ## 1. django is not installed ## 2. Not in venv environment ### Regarding 1 #### **`Terminal`** ```java (env)$ pip install django ``` ### Regarding 2 ####

AtCoder Beginner Contest 184 Participation Report

# AtCoder Beginner Contest 184 Participation Report The first time I couldn't solve the C problem with ABC ……. [ABC184A - Determinant](https://atcoder.jp/contests/abc184/tasks/abc184_a) Break th

Goroutine (parallel control) that can be used in the field

``` func main() { ch := make(chan struct{}, 10) var wg sync.WaitGroup for i := 0; i < 1000; i++ { ch <- struct{}{} wg.Add(1) go func(i int) { defer func() { <-ch wg.Done() }()

Qiskit: I implemented VQE

# I implemented VQE with Qiskit. This time, we will implement VQE (Variational Quantum Eigen solver) using the open source framework for quantum computers provided by IBM. This algorithm is expected

How to use the asterisk (*) in Python. Maybe this is all? ..

# Overview I didn't understand how to use the asterisk (*) in Python (3.7 I'm using now), so I looked it up. https://docs.python.org/ja/3.7/reference/ # ## ![image.png](https://qiita-image

python comment out

-Line-by-line comments are written after # ```php # Hello, world!Show print "Hello, world!" ``` -Comment out across multiple lines The part enclosed by'''(3 single quotation marks) or "" "(3 doub

Building a virtual environment with Python 3

## Introduction I will explain how to build an environment using'venv', which is a lightweight module of python. By developing using a virtual environment, the library package used in the project is

HTTP environment variables in Flask

I don't know if the term HTTP environment variable is correct. #### **`app.py`** ```py from flask import Flask, request app = Flask(__name__) @app.route('/') def hello_world(): for k in req

[Python] Get insight data using Google My Business API

## Introduction I couldn't find much information in Japanese to get insight data using Google My Business API, so I'll keep it as a memorandum. ## reference https://developers.google.com/my-business