How to use Nix package manager

## Nix is good I use Windows (company-supplied) for work, MacBook Pro (given by a friend) for everyday use, and Manjaro Linux (given by a senior company) for experimentation, all of which are packag

100 language processing knocks (2020): 00-09

# Chapter 1: Preparatory movement ## 00. Reverse order of strings ```py s = "stressed" print(s[::-1]) ``` ## 01. "Patatokukashi" ```py """ 01."Patatoku Cassie" 1 of the character string "Patat

Convert PIL format images read from form with Django to base64 format

# Introduction It's just a memo, so I'll omit the detailed settings of Django. The project is image_pred and the app name is myapp. The settings are only basic, as in the first part of the official

What is a super user?

# What is a super user? --Apart from general users, Linux users are `special users with administrator privileges`. --Also called ** `" root user "` ** because the user name is root. --A user wit

100 language processing knocks (2020): 31

```py """ 31.verb Extract all the surface forms of the verb. [[{'surface': '', 'base': '*', 'pos': 'BOS/EOS', 'pos1': '*'}, {'surface': 'one', 'base': 'one', 'pos': 'noun', 'pos1': 'number'}, {'s

100 Language Processing Knock (2020): 38

```py """ 37.Top 10 words that frequently co-occur with "cat" Display 10 words that often co-occur with "cat" (high frequency of co-occurrence) and their frequency of appearance in a graph (for exampl

100 language processing knocks (2020): 48

```py """ ## 48.Extracting paths from nouns to roots[Permalink](https://nlp100.github.io/ja/ch05.html#48-Extractingpathsfromnounstoroots) For a clause that contains all the nouns in the sentence, ext

Solution when HDMI audio output is not possible on Ubuntu 20.04.1 LTS

## Symptoms I usually connect my own PC to an external monitor and operate it on Ubuntu. Audio is output from the monitor via HDMI. However, the sound stopped coming out a few days ago. When I check

100 language processing knocks (2020): 44

```py """ ## 44.Visualization of dependent trees[Permalink](https://nlp100.github.io/ja/ch05.html#44-Visualizationofdependenttrees) Visualize the dependency tree of a given sentence as a directed gra

100 language processing knocks (2020): 41

```py """ 41.Reading the dependency analysis result (phrase / dependency) In addition to 40, implement the clause Chunk class. This class has a list of morphemes (Morph objects) (morphs), a list of re

Recursion challenge to Tower of Hanoi

Good evening. Thank you for your continued support. I have seen various opinions of experts, but It was quite difficult. It's probably a matter of my understanding, so I can't help it. Let's d

100 language processing knocks (2020): 37

```py """ 37.Top 10 words that frequently co-occur with "cat" Display 10 words that often co-occur with "cat" (high frequency of co-occurrence) and their frequency of appearance in a graph (for exampl

100 language processing knocks (2020): 25

```py """ 25.Template extraction Extract the field names and values of the "basic information" template included in the article and store them as a dictionary object. """ import json import re impor

matplotlib this and that

# Introduction A note on the details of matplotlib # Localizing into Japanese First, install japanize-matplolib below ``` pip install japanize-matplotlib ``` Then add the following line when you w

100 language processing knocks (2020): 23

```py """ 23.Section structure Section names and their levels contained in the article (eg ""==Section name==If ", display 1). """ import json import re def get_uk_text(path): with open(path) a

[Capacity indicator, Gantt chart, UI] Plotly dynamic visualization [python, gauge display, Gantt chart]

python==3.8 plotly==4.10.0 Introducing indicators and Gantt charts as tips to help you create a dashboard # indicator ## Basic To display the indicator, from the indicator of graph_objects

100 language processing knocks (2020): 33

```py """ 33."A's B" Permalink Extract a noun phrase in which two nouns are connected by "no" [[{'surface': '', 'base': '*', 'pos': 'BOS/EOS', 'pos1': '*'}, {'surface': 'one', 'base': 'one', 'pos':

100 language processing knocks (2020): 20

Question 20 Read JSON data Read the JSON file of the Wikipedia article and display the article text about "UK". In problems 21-29, execute on the article text extracted here. Answer ```py im

100 language processing knocks (2020): 27

```py """ 27.Removal of internal links In addition to the 26 processes, remove MediaWiki's internal link markup from the template value and convert it to text (reference):Markup quick reference table)

Deep Learning with Shogi AI on Mac and Google Colab Chapter 7 9

[TOP PAGE](https://qiita.com/kazunoriri/items/d7875d7f1121edcc807a) 7.9 ### Learning execution Learning execution. ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/485337/9

Install PostgreSQL from source code on CentOS

# Background I wanted to install it easily with package management (yum, apt, etc.), but I had the opportunity to install PostgreSQL on CentOS 7.5 for the first time in about 20 years from the source

Construction of Cortex-M development environment for TOPPERS using Raspberry Pi

## Introduction Previously an article on building a ** TOPPERS / ASP ** development environment using WindowsPC + VirtualBox + Linux "** <a href="https://qiita.com/Yukiya_Ishioka/items/9ecbe080939600

Deep Learning with Shogi AI on Mac and Google Colab Chapter 7 8

[TOP PAGE](https://qiita.com/kazunoriri/items/d7875d7f1121edcc807a) 7.8 ### Automatic use of GPU and CPU Added a process to automatically determine the PC environment with gethostname () and use GP

[Python] How to compare datetime with timezone added

# Overview When I tried to compare datetime (aware) with timezone and datetime (naive) without timezone in Python, an error occurred, so I summarized the solution. # environment ``` $ sw_vers Produc

Learn with Shogi AI Deep Learning on Mac and Google Colab Use Google Colab

[TOP PAGE](https://qiita.com/kazunoriri/items/d7875d7f1121edcc807a) # Get Google Colab ready for use ## Local side Make sure Google Drive and local are in sync. Google backup and sync.app ![image

100 language processing knocks (2020): 46

```py """ ## 46.Extraction of verb case frame information[Permalink](https://nlp100.github.io/ja/ch05.html#46-Extractionofverbcaseframeinformation) Modify 45 programs and output the terms (the clause

100 language processing knocks (2020): 21

```py """ 21.Extract rows containing category names Extract the line that declares the category name in the article. """ import json def get_uk_text(path): with open(path) as f: for li

Install Python 3.6 on Docker

# Overview Install Python 3.6 in the Ubuntu (20.04) container. # Script content ## Preparation ``` apt-get update apt-get install wget gcc make zlib1g-dev libssl-dev ``` ## Python installation ``

[Golang] About Go language Producer and Consumer

Today I learned about Go's Producer and Consumer, so I will output about it. ## Prerequisite knowledge --Basic grammar of Go --Channel - Goroutine I think this article will be easier to understa

After a clean installation of ubuntu18.04 until ROS is installed and explanation of its commands

<br> It's not particularly difficult, but I've often done a clean install, so I'll write it down. ## First of all, maintenance around the kernel From above -Kernel update -Updated the list of pa