Tuesday, 2017-11-07

New host

For a number of years my friend Thomas has graciously hosted this blog, a shell account, and a number of other things that are essential to the modern person (IMHO). However external circumstances will deprive me of this service, for which I am sorry, for Thomas has been the best sysadmin, and it’s been free!

I’ve shelled out a couple FIAT dollars a month for a “droplet” at Digital Ocean, and worked to transfer stuff from the old server to the new. These are some notes in case I have to do it again.

I chose Ubuntu as a distro because I like the Debian-based packaging.

Web hosting and Perl CGI

I installed Nginx because I’ve vaguely heard it’s “better”. Getting it to deal with CGI scripts in Perl was a bit fiddly but it worked out OK.

You need the fcgiwrap and spawn-fcgi packages.

The following addition was made to the server section of Nginx config for my site.

# we have separate htdocs and cgi-bin dirs under the gerikson.com dir
# this location is to make sure we can have a specific section for cgi-bin
location /cgi-bin/ {
    root /home/www/gerikson.com/;
    try_files $uri =404;
    gzip off;
    fastcgi_pass unix:/var/run/fcgiwrap.socket;
    fastcgi_index index.pl;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
}

Added packages

These are needed for some stuff I host

libcgi-pm-perl
libconfig-simple-perl
libdate-calc-perl
libdatetime-perl
libdbd-sqlite3-perl
libdbi-perl
libjson-perl
libnumber-format-perl
libstatistics-linefit-perl
libtext-csv-perl
libwww-perl
lynx
mutt
sqlite3
zip
perltidy
tree
cpanminus
perl-doc

These are needed for coding contests

libmath-bigint-gmp-perl
libmath-prime-util-gmp-perl

Python 3 stuff

python3
python-pip
virtualenv

Tuesday, 2017-10-31

Tuesday, 2017-10-24

Fotografiska, October 2017

Höstsalongen

The traditional fall salon. My friend Ylva had an exhibit with pictures from Yakutsk. Other than that there wasn’t that much that stood out, apart maybe some tiny, almost contact-print sized photos from a horse race in Ireland taken with a panoramic camera.

Last Night in Sweden

A photographic counterpoint to El Trumpo’s blathering about imagined happenings in Sweden during last year’s presidential campaign.

Viviane Sassen — UMBRA

Arty stuff, but some decent bits among the dross.

Saturday, 2017-09-30

Tuesday, 2017-09-26

Dissing Disqus

I’ve removed the Disqus integration as I almost never get any comments anyway. If you have a comment, ping me on Twitter.

Thursday, 2017-08-31

August

Hammarby kaj

Aug 2016 | Aug 2015 | Aug 2014 | Aug 2013 | Aug 2012 | Aug 2011 | Aug 2010 | Aug 2009

Saturday, 2017-08-26

The Politics of Bitcoin: Software as Right-Wing Extremism by David Golumbia

A good overview of some of the weirder ideological views behind Bitcoin, and internet libertarianism in general.

While I’m sure there’s a lot of background to get if you follow the sources, the book itself makes a lot of assumptions about the reader’s own political stances, which are assumed to be more or less the same as the author’s.

Friday, 2017-08-25

Two books on the Korean War

This Kind of War by T.R. Fehrenbach

The Coldest Winter: America and the Korean War by David Halberstam

These books are good read together. Fehrenbach’s, written in the 1960s, is better at describing the actual course of the war , while Halberstam excels in the top-level politicking between Truman and MacArthur.

Thursday, 2017-08-17

Fotografiska, August 2017

Irving Penn — Resonance

A greatest hits collection. I like Penn better than a lot of other fashion photographers in that he has a bit more range.

Berning & Di Battista — Confluence

A pretty vapid collection of huge prints of scratched images of stereotypical blonde models. Forgettable.

Like a Horse

The sleeper hit of this visit. Great collection of works centered around horses and the people who ride and care for them. Horse culture is coded feminine here in Sweden and it was great to see that side shown in the work from Swedish artists.

Thursday, 2017-08-03

The Liberation Trilogy by Rick Atkinson

Comprising of the books An Army at Dawn: The War in North Africa 1942-1943 · The Day of Battle: The War in Sicily and Italy, 1943-1944 · The Guns at Last Light: The War in Western Europe 1944-1945.

An excellent history of the US involvement in the Western theatre of the Second World War.

Atkinson is deft at moving between the highest and lowest levels of combat, leading to a very readable account of the main points of the entire series of campaigns. He almost always points out the number of casualties and deaths after each action, which through constant repetition brings the entire awful conflict into perspective.

His narrative is marred by frequent set phrases (“sheets” of artillery fire, units “sidle” into position) that over the course of three fat books become a bit jarring.