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 corny.

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."

Continue reading “Edge interview with Kai-Fu Lee”

Isle of Dogs

Last night we went to see the movie "Isle of Dogs" at the Duke of York's PictureHouse cinema in Brighton. Apparently the Duke of York is one of the oldest continuously run movie theatres in the World! The movie was fantastic! Both Helen and I thoroughly enjoyed it. Definitely a must see.

The Reputation Age

We need to deal with so much information from all sorts of media these days, that reputation is becoming a larger and larger factor in our society.

In the past the path to publication was much harder, so something that was published acquired a reputation simply by virtue of the publication process. These days however, it's cheap and easy to publish. Fake news sites are ones that have the trappings of a real news site, but initially attract people by appealing to biases. They trade off the gain in reputation simply by appearing like a reputable site and having a plausable domain name.

We often rely on "reputation chains" to validate information. We believe a study because scientists have reviewed the study as part of the peer review process. The study has gained from the reputation of the journal, and to the more knowledgable - from the reputation of the reviewing scientists. Unfortunately sometimes people with good reputations can spread misinformation, so we still need to be critical as to the veracity of the information we receive. Our cognative biases can cause us to reject true information, so we need to be caution when rejecting information from a reputable source.

We also have more reputation transmission mechanisms these days. We have accreditations, charter groups, and social networking sites for signalling reputation. We have awards and prizes for boosting reputation. Reputation is an increasingly bankable attribute these days.

Falling Asleep Quickly

There is a blog post here about How to Fall Asleep Fast. The technique comes from the Second World War and making WW2 pilots get enough sleep. A person called Bud Winter was tasked with training pilots to fall asleep quickly. The trick is to physically relax and then mentally relax. If you can keep your mind clear of thoughts for 10 seconds, apparently you will be asleep. 96% of pilots who had been trained on this technique by Winter were able to fall asleep within two minutes or less.