Category Archives: Uncategorized

Upgrading to Xubuntu 18.04

At first it was painless. Then, yuck. Then everything happy again.

Tips:

  • I removed all extra (NTFS) drives prior to installing. Otherwise the installer would sit around trying to re-size the partitions on the NTFS drive(s).
  • Slack 3.1.1 is not compatible with Ubuntu 18.04, as of 2018-05-08. The workaround is to install with snap:​ sudo snap install slack --classic
  • I like gmusicbrowser, and not parole. To get it to show up in the sound menu, I used xfce4-settings-editor. Find channel ‘xfce4-panel’, and then the plugin for ‘pulseaudio’, then edit the ‘mpris-players’ string to the name of your preferred player.
  • I use a bunch of ethernet aliases (ie a bunch of IP addresses on the same interface). In 16.04, you could do this through /etc/network/interfaces, but in 18.04, you have to do it via /etc/netplan/. At first, I tried to do it with vlans, but that does not allow traffic to flow without communicating with a switch/router. So, basically useless for my purposes (testing and debugging devices with various subnets). My default install came with /etc/netplan/01-network-manager-all.yml. I didn’t have much luck creating a different file name. So I just modified the existing file:
    network:

    version: 2
      renderer: NetworkManager
      ethernets:
        eth0:
         dhcp4: no
         dhcp6: no
         addresses: [192.168.1.10/24, 192.168.44.6/24, 192.168.2.10/24, 192.168.221.143/24, 192.168.160.6/24]
        eth1:
         dhcp4: no
         dhcp6: no
         addresses: [10.7.56.252/26]
         gateway4: 10.8.246.193
         nameservers:
           addresses: [8.8.8.8, 8.8.4.4, 10.7.132.21, 10.1.184.22]
  • I’m not up todate with the times. I’m a bit of a luddite. Whatever. I use openssl to encrypt files, and I have a plugin script for vim that automatically prompts for passwords and does the encrypt/decrypt on write/read actions. However, Ubuntu 16.04 uses openssl 1.0.2 and ubuntu 18.04 uses openssl 1.1.0. They are not compatible. Uggh. However 18.04 has a package openssl1.0.
    So, my workaround looks like:

      • sudo apt install openssl1.0
      • sudo ln -s /usr/lib/ssl1.0/openssl /usr/bin/openssl1

     

    • Modify my vim script to check for openssl1 in the path, and use it if available

The crux of the openssl difference seems to be in how the key and IV are created from a password. If I use the same Key and IV arguments in both versions, I get compatible/identical results.

I’m sure that the openssl workaround is going to bite me soon. Probably once I upgrade macports at home, to coincide with my recent update to Mac OS High Sierra.

Those are the things that I’ve gotten to so far. I haven’t gotten around to any of the wine stuff or installing Xilinx tools, etc.

Creating Google Earth Fly-over Movie: Part 2

Ok, so in the previous post, I went through the steps to manually create a Google Earth fly through of a GPX file.

Since then, I’ve made it a little easier on myself, by creating a script to do some of the cleanup for you. Basically, the script creates a copy of the GPX path, and cuts out every Nth waypoint. It then re-times it, and creates a set of tracks. You’ll may have to play with the decimation value (N), and the the re-timing setting.

Run the script with something like this:
gpsbabel -i gpx -f trip.gpx -o kml -F trip.kml
python ~/scripts/kmldecimate.py -i trip.kml -o - -d 25 --folder Points

In the above example, you’ll end up with trip_dec.kml.

Once you’ve run the script, to create a KML, open it in Google Earth. If the decimated tracks don’t work too well for your flyover (Tour), then play with the folder of decimated ( “*_dec” ) waypoints, and as in the previous post, “copy as tracks” and create a new Tour. Repeat until satisfied, then export with the “Movie Maker” option.

Saw Sharpening

image

First attempt at saw sharpening. Went from doesn’t cut at all to mostly working. Used a needle-nose plier to set the teeth, instead of the proper tool (no lo tengo) but it worked.

Lesson (re)learned: a little wax goes a long way towards reducing friction.

I was surprised how straight it cut. Ripped a 3/4″ piece in half (the skinny way) and came pretty close to my line.

But until I get the saws running a little better, this task will continue to be difficult.

Awesome Soup Night

image

Thanks for coming everyone. Awesome soup night!  Thanks to the early birds, night hawks and gift elves!  Some spoontastic artifacts and cloth treasure were left with much thought. Someone forgot a wood trivet (or maybe just didn’t need one, in which case one is up for grabs). Some hard spirits were offered. 

Again thanks all. Nothing like ending a night amongst good friends.

Heavy snow

image

Saturday afternoon at Keystone. I only skied for about an hour, but there was almost 4″ on the car when I returned.

Massive, Bierstadt

I didn’t make it up Mt Massive last weekend. I just wasn’t “feelin’ it”, and it was much colder and windier than I expected.

This weekend’s sneak up Mt Bierstadt (because I’m waaaay too slow to attack a mountain) was successful, but also cold and windy. Winter is on it’s way if the mountains are to be believed.

Pictures of both in the 2014 hikes album.

10 Books

Robert Howard asked for my 10 most memorable books. Here are the ones I remember the best:

  1. Stranger in a Strange Land, Robert A. Heinlein, although I think Starship Troopers was my first Heinlein, and is also good (especially since it was written as juvy fiction). But Stranger is in its own class.

  2. The Sparrow, Mary Doria Russell. Again, this book, for me at least, is in a class by itself. Children of God (sequel) was also good.

  3. The Four Pillars of investing, William J  Bernstein. A Random Walk Down Wall Street, by Burton G. Malkiel covers the same material, and is the classic reference for this stuff, but I found Bernstein much less dry.

  4. So much less dry, that I also read Bernstein’s Birth of Plenty, which I thoroughly enjoyed, and really made me think about economic/political trends a bit.

  5. Snow Crash, Neil Stephenson. This is one of the first Sci-Fi authors that took it for granted that the reader was already familiar with computers, and general Sci-Fi concepts, which was refreshing. I’ve like a lot of his other stuff. This is just the first one that I read.

  6. Still Life with Woodpecker, Tom Robbins. For which, I think you need to also be listening to Maryn Cadell’s Angel Food For Thought, the whole time.

  7. The Many Colored Land, Julian May. I think I read the entire 10+ book series. One of the very few that I’ve done that with – Usually can’t get past book 3 or so in many series.

  8. The Magic of Recluse, L.E. Modesitt Jr. I really liked the philosophical ying/yang thing going on in the magic system.

  9. On a Pale Horse, Piers Anthony. Although A Spell for Chameleon is what got me started on Mr Anthony, and his many other series.

  10. Cat’s Cradle, Kurt Vonnegut

Honerable Mention

The White Dragon, Anne McCaffrey. Even though this is the 3rd book in the series, it was the first one that I read, and this is the first series that I can remember where I read most of them.

Chronicles of Thomas Covenant the Unbeliever, Stephen R. Donaldson. Pretty dense reading for a piece of fiction.

Dune, Frank Herbert. I think this might have been the book that really got me started on science fiction. As a kid, I found a hard copy of it lying on the sidewalk one day. I think it took a couple of years before I got around to reading it.

A Fire Upon The Deep, and Marooned in Realtime, Vernor Vinge. Two very different series.  Marooned is kinda neat in that it is really a detective/mystery story in a sci-fi setting. Fire, I just liked.

The God Engines, John Scalzi. I got this recently as part of a humble (book) bundle.

And may I say, that at this point the recommendations on Good Reads is turning into a giant time suck.

Lyons

On the way back from Chasm View Lake this morning, I saw this sign:

image

I don’t know if they didn’t buy flood insurance,  or if they did and Allstate didn’t make them whole. Either way, unfortunate.