Categories
Uncategorized

Talking to Strangers

Talking to Strangers: What We Should Know About the People We Don't Know


A very entertaining book, but I feel it doesn’t really go anywhere other then to say what we already know.
– strangers lie, and we are not very good at detecting this.

It was like listening to a very long episode of Gladwell’s Revisionist History podcast. Always entertaining, but in this case without a strong actionable conclusion.

Talking to Strangers
What We Should Know About the People We Donโ€™t Know


Categories
Uncategorized

I am listening

I have been reading a few books or I should say listening to audio books.

Thank You for My Service cover art
The autobiography of Mat Best by Mat Best, a very funny anti-PC book about his life so far. Inspiring, and more importantly funny. Well worth listening too. Just like his YouTube channel –> https://www.youtube.com/user/MBest11x
Funny ๐Ÿ™‚ and inspiring because he created a YouTube empire and a coffee company, all the while having a lot of fun
The Terminal List cover art
The first in a trilogy of books about a navy seal written by a former navy seal.
There is an almost pornographic level of detail about the weapons used by the protagonist of the story. The plot is enjoyable. Well worth a listen, but I don’t think they match the Bourne series or Tom Clancy’s Jack Ryan books & movies


Amazon.com: True Believer: A Novel (2) (Terminal List ...

The third book is Savage Son.



Categories
Uncategorized

R 4.0

R 4.0 is out Friday, April 24 (American time), so Saturday for me.
It seems I will have to install all my packages for R again. To find out what packages you have, run this R code:

ip <- as.data.frame(installed.packages()[,c(1,3:4)])
rownames(ip) <- NULL
ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
print(ip, row.names=FALSE)

https://stackoverflow.com/questions/38390548/how-to-uninstall-r-completely-from-os-x

To uninstall R:
1. Delete the R app in the applications folder and empty the trash.
2. sudo rm -rf /Library/Frameworks/R.framework

Now, install R 4.0

Change Log

Categories
Uncategorized

Korean Englishman ์˜๊ตญ๋‚จ์ž

Categories
Uncategorized

Real Python

Just purchased a new book on Python to get me through the CO-VID-19 situation.

https://realpython.com/products/python-basics-book/

Python Basics Book

At USD $39 it is a reasonable price, but with the drop in the Australian dollar this comes to AUD $63 …. for a PDF ๐Ÿ™


So why buy it?
– I don’t want to wait for the physical book which is months away.
– I am no longer twenty, the font in some books is too small making it hard to read.
But with a PDF I can read it on a 24″ monitor next to my main 29″ monitor so no problems with font size.
– The content is really good. The Real Python site has many excellent articles on python that have helped me. So this is my way of supporting their free content.

The book uses Python 3.8
I use Anaconda Python which is currently at version 3.7 So I have to install a 3.8 environment.
In Conda you can do this by:

$ conda create -n py38 python=3.8

Useful links for my purchase:

https://realpython.com/lessons/python-basics-book-downloads/

https://realpython.com/python-basics/resources/

https://github.com/realpython/python-basics-exercises

Categories
Uncategorized

Convert PDF pages to JPEGs using R

I often get PDFs which have interesting images in them, but the problem is how to extract them?
This R Code will find every PDF in the current folder and covert each page to a 200 dpi JPEG

library(tidyverse)
library(pdftools)
library(fs)

# Uses the fs library to list all files ending in PDF in the current directory and store them in file_list

file_list <- dir_ls(glob = "*.pdf")

# The eqivualent of a FOR loop, it iterates through each element of file_list and converts each PDF page to a 200dpi jpg using the pdftools library
lapply(file_list, FUN = function(files) {
  pdf_convert(files, format = "jpeg",dpi = 200)
})

# https://stackoverflow.com/questions/49941158/how-do-i-pull-in-multiple-pdfs-into-pdf-convert-using-r-and-pdftools-package

Categories
Uncategorized

Get Lucky – Russian Style

The Red Army (Police?) Choir version of Daft Punk’s Get Lucky.
A real hoot … I couldn’t stop laughing for the first few times I watched it.

Categories
Uncategorized

The Handmaiden (2016)

Just finished watching the 2016 Korean film The Handmaiden.
It is a beautiful film to watch and the soundtrack is very well done, particularly: IMI ONEUN SORI (์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ) The Sound Of You Coming

The Sound Of You Coming from The Handmaiden (2016) film

IMI ONEUN SORI (์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ) The Sound Of You Coming

(Gain)
Like the sound of you coming
I hear something from somewhere
A sound that pinches my heart
(Gain)
์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ ๊ฐ™์ด
์–ด๋””์„œ ๋“ค๋ฆฌ๋Š” ์†Œ๋ฆฌ
๋‚ด ๊ฐ€์Šด์„ ์กฐ์ด๋Š” ๊ทธ ์†Œ๋ฆฌ
(Minseo & Gain)
But youโ€™re not coming, even when the night passes
My sad heart doesnโ€™t know how to stop
Just waiting for the sound of you to come
Just waiting for the sound of you to come
(Minseo & Gain)
๊ทธ๋Ÿฌ๋‚˜ ์˜ค์ง€ ์•Š๋„ค ์ด ๋ฐค์ด ์ง€๋‚˜๋„๋ก
์•ˆํƒ€๊นŒ์šด ๋‚ด ๋งˆ์Œ์€ ๊ทธ์น  ์ค„ ๋ชจ๋ฅด๊ณ 
์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ๋งŒ ๊ธฐ๋‹ค๋ ค์ ธ
์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ๋งŒ ๊ธฐ๋‹ค๋ ค์ ธ
(Minseo)
In my waiting heart
Joy overflows
You have found me, youโ€™re coming over there
(Minseo)
๊ธฐ๋‹ค๋ฆฌ๋Š” ๋‚ด ๋งˆ์Œ์—
๊ธฐ์จ์ด ๋„˜์ณ ํ˜๋Ÿฌ๋ผ
๊ทธ๋Œ€ ๋‚˜๋ฅผ ์ฐพ์•„์„œ ์ €๊ธฐ ์˜ค๋„ค
(Minseo & Gain)
Holding onto blue dreams, holding onto happiness
My heart that is waiting is blooming
Hurry and come, Iโ€™ve been waiting
Letโ€™s dream a happy dream, just like long ago
(Minseo & Gain)
ํ‘ธ๋ฅธ ๊ฟˆ ๊ฐ€๋“ ์•ˆ๊ณ  ํ–‰๋ณต์„ ๊ฐ€๋“ ์•ˆ๊ณ 
๊ธฐ๋‹ค๋ฆฌ๋Š” ๋‚ด ๋งˆ์Œ์— ๊ฝƒ์„ ํ”ผ์šฐ๋„ค
์–ด์„œ ์™€์š” ๊ทธ๋Œ€์—ฌ ๊ธฐ๋‹ค๋ ธ์–ด์š”
ํ–‰๋ณตํ•œ ๊ฟˆ์„ ๊ฟ”์š” ์˜›๋‚  ๊ฐ™์ด
Holding onto blue dreams, holding onto happiness
My heart that is waiting is blooming
ํ‘ธ๋ฅธ ๊ฟˆ ๊ฐ€๋“ ์•ˆ๊ณ  ํ–‰๋ณต์„ ๊ฐ€๋“ ์•ˆ๊ณ 
๊ธฐ๋‹ค๋ฆฌ๋Š” ๋‚ด ๋งˆ์Œ์— ๊ฝƒ์„ ํ”ผ์šฐ๋„ค
Just waiting for the sound of you to come
Just waiting for the sound of you to come
์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ๋งŒ ๊ธฐ๋‹ค๋ ค์ ธ
์ž„์ด ์˜ค๋Š” ์†Œ๋ฆฌ๋งŒ ๊ธฐ๋‹ค๋ ค์ ธ

https://lyricstranslate.com/en/imi-oneun-sori-์ž„์ด-์˜ค๋Š”-์†Œ๋ฆฌ-sound-you-coming-์ž„์ด-์˜ค๋Š”-์†Œ๋ฆฌ.html

Categories
Uncategorized

Web Links for March 2020

R

Python

Visual Studio Code

Raspberry Pi

Compile/install Python 3.8 on Raspberry Pi | Michael Hirsch, Ph.D.
Raspberry Pi 4 Bootloader Firmware Updating / Recovery Guide
Hass.io – Home Assistant
Turns your Raspberry Pi (or another device) into the ultimate home automation hub powered by Home Assistant
Dual Fan Aluminium Heatsink Case for Raspberry Pi 4 Black Australia
Raspberry Pi 4 USB Boot Config Guide for SSD / Flash Drives
GitHub – log2ram: ramlog like for systemd (Put log into a ram folder)
Log2Ram: Extending SD Card Lifetime for Raspberry Pi

Cycling

JaYoe World Tour Homepage | Follow Matt Cycling Around The World!

Purchased โ€œThe Art of Statisticsโ€ from Amazon for $30

Statistics has played a leading role in our scientific understanding of the world for centuries, yet we are all familiar with the way statistical claims can be sensationalised, particularly in the media. In the age of big data, as data science becomes established as a discipline, a basic grasp of statistical literacy is more important than ever.

In The Art of Statistics, David Spiegelhalter guides the reader through the essential principles we need in order to derive knowledge from data. Drawing on real world problems to introduce conceptual issues, he shows us how statistics can help us determine the luckiest passenger on the Titanic, whether serial killer Harold Shipman could have been caught earlier, and if screening for ovarian cancer is beneficial.

How many trees are there on the planet? Do busier hospitals have higher survival rates? Why do old men have big ears? Spiegelhalter reveals the answers to these and many other questions – questions that can only be addressed using statistical science.

https://dspiegel29.github.io/ArtofStatistics/
The Art of Statistics: Code, Data, Errata and Additions | ArtofStatistics

Categories
Uncategorized

Korean Drama

Netflix and Amazon Prime are serious impediments to productivity.

I watched Parasite a month or so ago. I really enjoyed it. One of the themes of the movie is social inequality and the lack of ability to move up in status / income.
It’s interesting that Korea’s income distribution is not too different to America’s.
But you always hear Americans talk about “pulling yourself up by your bootstraps” whereas in Korean films this is not that common.

It does have Song Kang-ho in it as did 2017’s A Taxi Driver which I also liked. I will watch anything with Song Kang-Ho in it.

The Fiery Priest

It consisted of twenty 50 minute episodes. It is a typical Korean drama involving the heroes fighting corruption, but it is very slapstick.

They should have cut back on some of the slapstick because at times it became very annoying, but overall a Solid B, but not worth a repeat watch.

Ssongsak and Yo Han, two of my favourite characters

Priest Kim and Detective Goo