Emacs, gpg and pinentry on Mac

I use Emacs and GnuPG to save my passwords to an encrypted file. I’m really happy with this, as I save the encrypted file in Dropbox, and I can decrypt it across all machines and Operating Systems, and it syncs automatically. My Emacs config looks as follows:

(setenv "GPG_AGENT_INFO" nil)
(require 'password-cache)
(require 'epa-file)
(epa-file-enable)
(setq password-cache-expiry (* 15 60))
(setq epa-file-cache-passphrase-for-symmetric-encryption t)

Continue reading “Emacs, gpg and pinentry on Mac”

JetBrains

I’ve been using IntelliJ as my Java editor instead of Eclipse – and I absolutely love it! So much so that I bought a license for all of JetBrains’ programmer editors! I’m still learning how to use all the functionality of IntelliJ, but I am finding my productivity has dramatically increased a few days after I started using it.

Hever Castle

Last weekend we went to Hever Castle to watch the jousting. The castle was really impressive – more like a fortified house – but full of interesting antiques.

The jousting was cool – quite theatrical. The sword and axe fighting was staged and a bit corney.

Prague

Last night we arrived back in Prague. I think that it’s been around 10 years since we were here last. My memory of the city was quite different – I remember narrow cobble-stoned streets, and the main bridge being absolutely magical. This time my initial impression was of wide streets and of it being cleaner and more modern. I think because we were staying around the palace last time, whereas this time we are at an AirBnb near the city center. I do love Prague!

We had a weird experience last night, watching a Don Giovanni opera performed by Marionettes. From our bedroom we could see this fairytale spire lit up with coloured lights.

Today we went on a river boat tour and then walked up to the palace and had a look around there.

Assignments

I’ve had a lot of sequential maths assignments due lately, and I haven’t been doing much other than to study maths! Most of my other work has fallen by the wayside, unfortunately. My exams are starting in a month, and then my study will be over for the year!

I’ve been loving devoting so much time to just doing maths, but I feel a bit guilty about letting all my other stuff go. Oh well. I’ll get back to doing lots of coding soon!

A few weeks since posting

It’s been a few weeks since I last posted. I’ve been totally absorbed in doing assignments for my Masters. Much to the detriment of all the other stuff I need to do! I’ve been avoiding doing a lot of tasks on my todo list, so a lot of my day-to-day routine has been disrupted. I’m slowly getting back to normal now.

Edge interview with Kai-Fu Lee

The Edge interview with Kai-Fu Lee is very good. He is one of the original A.I. researchers and has worked in the industry for most of the big name technology companies.

He discusses the history of A.I., the current situation involving Deep Learning, and goes on to talk about the future.”We’re all going to face a very challenging next fifteen or twenty years, when half of the jobs are going to be replaced by machines. Humans have never seen this scale of massive job decimation.”

He talks about areas that will see a lot of growth in the immediate future. Micro-payments, the Internet of Things, social networks delivering profiles that will trade privacy for convenience.

He talks about the Haves and the Have Nots: “The people who are inventing these AI algorithms, building AI companies, they will become the haves. The people whose jobs are replaced will be the have nots. And the gap between them, whether it’s in wealth or power, will be dramatic, and will be perhaps the largest that mankind has ever experienced.”

He also talks about a growing inequality amoung countries: “Lastly, and perhaps most difficult to solve, is the gap between countries. The countries that have AI technology will be much better off. They’ll be creating and extracting value. The countries that have large populations of users whose data is gathered and iterated through the AI algorithm, they’ll be in good shape.”