I got a Pluralsight membership for a year. It was 30% off.
Right now I am going through some Java 8, Spring and microservices tutorials. My Java skills are out of date. After that, I think I will look at some Go again. There is one on microservices in Go that looks interesting.
I still would like to get through all the books in “The Little Schemer” series and then go through SICP. But sometimes I wonder if spending all that time on Scheme may have been a mistake. Perhaps I should have just been building some web apps in Clojure. Maybe going for “enlightenment” was not the best idea.
I have also been struggling with updating my laptop to the latest version of Ubuntu. I think the issue might be that I have snap disabled. There were a few stories on Hacker News that convinced me to disable snap (see here and here), and now I cannot upgrade.
For my next laptop, I plan on buying one with Linux pre-installed. I might get a Dell, but since they only offer Ubuntu I might go with another vendor. I am looking at System76 (submissions to Hacker News at this page) or Purism (Hacker News submissions at this page). They both offer systems with either Ubuntu or their own Linux. I think in both cases their OSes are derived from Ubuntu. Purism’s is PureOS, and System76’s is PopOS.
One thing I would really like is to be able to disable the mousepad. If I don’t attach a USB keyboard, I always hit the mousepad with my thumb. In all seriousness, who came up with that gesture anyway? It’s not like anyone ever lifts up their mouse and puts it down.
There is not a whole lot to report this week. Not much progress on the Clojure front.
I did upgrade one of my laptops to the newest version of Ubuntu. I will use some of the updated packages to update my firewalls to nftables, although I have a feeling there will be more work that just running the scripts on the nftables website. This is part of completing my Groovy mail server.
Once I do that, I plan on running another mail server in another domain so I can send emails with TLS and not worry about getting banned. I hope mail-in-a-box is as easy as it sounds.
This week (and especially this weekend) were not too productive. I was hoping to look at some Clojure libraries for TensorFlow.
But I started out updating one of my laptops to Ubuntu 17, and I was unable to log in. So I downloaded Ubuntu Gnome and spent a lot of time trying to get that right. I hate hate hate the default Gnome window manager (I think it is called “mutter”). I tried to switch to another window manager, locked myself out, and then I tried to install Mint.
For some reason I was not able to burn the iso files, so I re-installed Ubuntu Gnome and figured out how to get compiz t work to make it somewhat usable.
I also thought about working on an nftables firewall, but there are some migration utilities that will be available in the next version of Ubuntu. I think the next version is coming out in a month.
I have going through backup CDs and DVDs lately. Some of the files were tar files. The names of the tar files had names of my computers as part of them. I have had a lot of computers over the past decade, desktops and laptops, running Linux and Windows.
Here are some of the computer names that I found:
Per the advice of Nathan Marz and Dan Vega, I will try to blog more often.
I got a new laptop. At least new to me. My main laptop was starting to use the battery even if the charger was still plugged in. I took it to Discount Electronics, and they couldn’t find anything wrong. But I saw a used Dell for a good price. I asked how much would it cost with more memory and a 500GB hard drive, and it was still a good price. Cheaper than a new one.
From what I understand, UEFI and Secure Boot have made installing Linux a bit trickier than before. It used to be that you could just go to Best Buy, get a random laptop, put in an install DVD, and keep hitting “Next” until you had Linux installed. This seems like a step backwards. Some admins say “all you need to do is hit F$RANDOM_NUMBER, so into the BIOS and disable Secure Boot.” I am tired of going into the BIOS. That reminds me of what installing Linux used to be like.
If I buy a laptop with Linux pre-installed, I will probably go to System 76.
After installing, I locked myself out of my laptop because the GUI would not start. I went with Ubuntu, and usually one of the first things I do is get rid of Unity. I have never liked it. I ran a few commands to get rid of it, but when I rebooted I got a black screen. So I had to re-install and try again.
Now it looks like Ubuntu is dropping Unity. Fine with me.
For future reference, the magic command is:
apt-get install gnome-session-flashback
Sometimes my Ubuntu laptop malfunctions and the file system goes into read-only mode.
This might mean it’s time to upgrade to a new laptop. Which I will probably do in a few months.
But I want to note how I can get back to normal.
The obvious way is just to reboot. But sometimes the system goes into a initramfs prompt.
To solve the issue, I need the location of my drive in the /dev file system, which I can get by running df -h:
Filesystem Size Used Avail Use% Mounted on
udev 2.9G 0 2.9G 0% /dev
tmpfs 588M 8.9M 579M 2% /run
/dev/mapper/ubuntu--vg-root 453G 407G 23G 95% /
tmpfs 2.9G 344K 2.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
/dev/sda1 236M 119M 105M 54% /boot
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 588M 52K 588M 1% /run/user/1000
/home/ericm/.Private 453G 407G 23G 95% /home/ericm
The one I want is “/dev/mapper/ubuntu–vg-root”.
So in the initramfs prompt, I run this:
fsck /dev/mapper/ubuntu--vg-root -y
I got this answer from the Ask Ubuntu site (see another answer here). As long as I can access my site from another machine, I should be able to solve this.
I may need to get a new laptop soon because sometimes my laptop does not detect the power chord is plugged in, so it starts using the battery.
Last week my older laptop running Windows XP died. So I got one running Windows 8. The only reason I run Windows is because my mp3 player will not connect to my Linux laptop.
So far, it is okay. I have not worked with the touch screen. I like the fact that if you hit Windows-X you can have the old XP interface. It is nice that Microsoft is actually giving people some degree of choice. I guess that the newer way of doing things might someday become the standard, so I should probably look at it at some point. Maybe it will be like Intel’s Itanium: Consumers will ignore it and it will just die.
When I was setting up my user account it tried to force me to get a Microsoft account. I did some googling on my other machine, and one of the results pointed out there was a link in fine print that would allow me to log in without a Microsoft account. One thing that I did not like was that Windows 8 tried to call the mothership. I have my router set up to only allow explicit ethernet addresses through. But I could not get the ethernet address without logging in, so I had to disable that on my router. I got the ethernet address, entered it, and re-enabled that feature. I am not a security expert. Maybe the Russians are using my WiFi to plan their next invasion of Estonia. But I do not like doing something that I know for sure will make me less secure.
I then downloaded Firefox, the JDK, and a few other apps that I use, like jEdit and aTunes. For one of those, I downloaded an installer from Sourceforge by mistake that installed a browser add-on called mysearchdial. I got id of it from Firefox. I was only able to disable it in IE. I have not figured out how to delete it. I was a bit surprised that Sourceforge was installing spyware on machines. It is not that hard to avoid doing it, you just have to be careful what you click on.
But so far Windows 8 seems nice.
I did not get as much done today as I hoped I would. I upgraded my laptop to Ubuntu Precise Pangolin.
First off, it took more than two hours, a lot longer than I thought. Then some things did not work. When I tried to get my laptop to wake up when I lifted up the lid, I did not get a login prompt. I saw the background image, but no prompt. So I had to pull out the plug and removed the battery to restart it. Then I tried the “Unity” interface (which I hate) and I had the same problem. I have to use the “Gnome (No Effects)” interface to login. So far no problems anymore.
I was also not getting my regular wireless network at first. Now I am. The login/bootup process is still pretty slow. But so far things seem okay.
Image from World Digital Library, assumed allowed under Fair Use. Image from the Ashburnham Pentateuch, or Tours Pentateuch, a Latin manuscript of the first five books of the Old Testament from the 6th century or 7th century. Its place of origin is unknown.
I run Ubuntu on a Toshiba laptop. As I have stated in the past, I am pretty much done with desktops and going strictly with laptops (see previous entries here). But sometimes the wireless card does not work. The message is that the wireless card is “disabled by hardware switch”.
I did some searching, and here is a solution that I found that worked.
First as root, I ran the command
Then I pressed the FN-F8 key combination (function key and the F8 key, or whichever one has the wireless icon).
Image from Wikimedia, assumed allowed under Fair Use. Image from the Ambrosian Iliad, a 5th century manuscript of the Iliad.
The machine I was using for my firewall died last week. So I went to Best Buy and got a small wireless router and I am now using that for my firewall. I ran ShieldsUP! on all my systems, and so far everything seems to be running as expected. I paid only $70 for this thing, a lot less than I would pay for a desktop system. Perhaps someday when I have some more money I will go back to being a Real Man and running a firewall on my own system, but for now I think this will do.
And I think I will be sticking to laptops for a while. All three of my desktops have died on me in the past few months. One was still under warranty so I got that one fixed. The others will just take up space for a while.
Image from Wikimedia, assumed allowed under Fair Use. Image from the Roman Vergil, a 5th century manuscript of poems by Virgil.