Obtain location information (latitude and longitude) from the address. Geocode in Python ~ Geocoder and pydams ~

Use Google Colaboratory Geocoder https://qiita.com/yoshi_yast/items/bb75d8fceb712f1f49d1 See pydams Details below https://github.com/hottolink/pydams http://newspat.csis.u-tokyo.ac.jp/geocode/mod

[Samba] File sharing between Linux and Windows machines

## Target File sharing between Linux machines and Windows machines is realized by using Samba server and Samba client. ## Basic knowledge of Samba Regarding the basic knowledge of Samba, the follow

POST variously with Python and receive with Flask

I wanted to POST json and images with python, so I summarized them all. I receive them all in Flask. # First of all, POST data normally #### **`post.py`** ```python import requests import json

Try normal Linux programming Part 2

It seems to be a famous book so I bought it <a target="_blank" href="https://www.amazon.co.jp/gp/product/4797328355/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=4797328355&linkCode=as2&t

Try implementing XOR with PyTorch

# Introduction If you want to do what you want with Keras, you end up using tensorflow, so PyTorch is better, right? So I immediately implemented XOR. # environment - Python 3.6 - pytorch 1.7.0 # S

Existence from the viewpoint of Python

What is identical to itself exists, otherwise not. Pythonic Zen: ```python world = [0, 1, 2, 3, float("nan")] [x for x in world if x == x] ``` Result: ```text [0, 1, 2, 3] ``` Explanation Accor

Try normal Linux programming Part 3

It seems to be a famous book so I bought it <a target="_blank" href="https://www.amazon.co.jp/gp/product/4797328355/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=4797328355&linkCode=as2&t

Regularly post to Twitter using AWS lambda!

# Overview I thought it would be convenient if I could post regularly on Twitter using AWS Lambda, so I summarized it. ![スクリーンショット 2020-10-16 23.34.23.png](https://qiita-image-store.s3.ap-northeast-

Develop a Slack app to survive the corona disaster and improve communication

# What I made [Azure free tier has ended suddenly, so we are migrating. ] It is a Slack app called "[comawari](https://slack.com/apps/A01CJ8CHWGL-comawari)" that communicates with cartoons instead

Apache Flink Challenges and Opportunities

In this blog post, ** Apache Flink ** and its ecosystem discuss the potential for something great to happen in the field of machine learning, despite the many challenges. * This blog is a translat

GCP's Cloud Shell Editor was clogged up with the Python development environment, so I managed to rebuild it in a vacant lot.

# Overview From around the end of 2019, I was working on developing Python on GCP's Cloud Shell and deploying it to Cloud Function. After developing for a while and leaving it for a few months, a n

How to calculate space background X-ray radiation (CXB) with python by specifying the flux range

# background When estimating space background X-ray radiation (CXB), we not only want to know some of the total brightness, but also how much when imaging observations, excluding the bright point so

I made a LINE Bot with Serverless Framework!

# What is Serverless Framework? ![https___camo.githubusercontent.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/533652/d1dec5fc-f941-c194-85f1-3d2c04dd7060.jpeg) <a href="https:

Try normal Linux programming Part 4

It seems to be a famous book so I bought it <a target="_blank" href="https://www.amazon.co.jp/gp/product/4797328355/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=4797328355&linkCode=as2&t

Completely personal note

<h1> This is a very personal note. </ h1> Make a note of the Linux commands that you tend to forget. <h2> How to get the full path </ h2> ``` $ find `pwd` -name "file name.sh" ``` <h2> How to wri

Summary of go json conversion behavior

I tried various json behavior of go, so I will summarize it. ## How to convert to json First of all, how to convert to json. The easiest way to do this is to do something like this: ```go import

Codility lesson time complexity and my answer memo (Python)

Task: Maxcounters It is an individual impression. ①Speed N*M def solution(N, A): anslist = [0] * N maxvalue = 0 for i in A: try: anslist[i-1]

[Linux] Build a jenkins environment with Docker

## Introduction Note how to build a jenkins environment with Docker ### Environmental information * OS:Redhat 7.7 * Docker:19.03.6-ce * docker-compose:1.27.4 * apache:2.4.46 * jenkins:2.264 ## Dock

Process the dotted line as a solid line with camelot (Hough transform)

# Introduction camelot is not good at dotted lines and often fails, so when I looked it up, I found the following reference article Since camelot is extracted with opencv, it seems that you can re

What is TCP / IP?

# What is TCP / IP? -It is a "protocol used as a standard in the Internet world". -"TCP" and "IP" are often expressed as a set, but they are different communication protocols. ## What is a protocol

Trying normal Linux programming Part 1

It seems to be a famous book so I bought it <a target="_blank" href="https://www.amazon.co.jp/gp/product/4797328355/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=4797328355&linkCode=as2&

POST JSON in Python and receive it in PHP

# POST JSON in Python ```python import requests json_data = {'data':'Strawberry'} requests.post(url='***********************', json=json_data) ``` # Server-side code that receives JSON values in PHP

Twitter API: Get a list of accounts that you follow but are not followed back

# Twitter API: Get a list of accounts that you follow but are not followed back The more followers you have, the harder it is to do this manually. It's a waste of time ... So I decided to make it se

[AI algorithm] About dimensionality reduction (t-SNE)

This time, I will write an article about unsupervised learning of machine learning, the algorithm of "dimension reduction (t-SNE)". There are several well-known algorithms for dimensionality reducti

Python code that makes DNA sequences complementary strands Which method is faster?

# Introduction Let's create a function that converts DNA to a complementary sequence in python. Let's make 4 ways and compare which one is faster. # To make it a complementary strand Convert A to T

Can Python implement the Dependency Inversion Principle (DIP) in the first place?

# Introduction I've been worried about design and architecture a lot these days, but I wrote my own opinion on whether Python, a dynamically typed language, can also implement the Dependency Inversi

Install PHP 7 series on Amazon Linux 2 with Amazon Linux Extras

# I can't install PHP7 on Amazon Linux2! !! ?? ?? Until 30 minutes before writing this article, I was fighting the console halfway. For some reason, when I tried to install the remi version of PHP

Partially read parameters in old TensorFlow 1.x

Thankfully, it's been a long time since TensorFlow 2.x was released to the world. We used to struggle a lot with v1.x, but with v2.x, we have implemented a lot of very nice features such as making i

Play MJ4 (Mahjong game) on Linux Mint 20

When I tried to run MJ4 with Wine on Linux Mint20, I couldn't do it at all, so I will describe how to deal with it. # What is MJ4? SEGA Mahjong Game There are smartphone apps, Windows apps, and ar

EV3 x Pyrhon Machine Learning Part 3 Classification

The content of this article is in beta and is subject to change. In this article, we will use the educational version [LEGO® MINDSTORMS EV3](https://afrel.co.jp/product/ev3-introduction) (hereafter