Category Archives: Uncategorized

Diaspora API Dev Progress Report 2

Yep, two Diaspora API dev reports on one day.  After taking a break for dinner and just watching some TV I got back to figuring out how to properly interface with the authentication and API from an external client.  I was re-reading the OpenID spec, watching some videos, reading some presentations, et cetera.  If I’m going to be working on the API this is something I definitely need to be deep diving into a lot more.  My initial order of business however was just getting it working.

Continue reading Diaspora API Dev Progress Report 2

Ubuntu MATE 16.04 to 18.04 Upgrade Hiccup on VirtualBox Guest Additions

Since the release of Ubuntu 18.04 I’ve been using it a bunch in various VMs.  I do love the new minimal install feature.  Even though it doesn’t save that much hard disk space it does make things a lot less  cluttered, which I absolutely love.  Because I work in VMs I’ve been experimenting with migrating OS’s up to 18.04 rather than crushing old VMs, building from scratch, and porting data over.  This process has worked almost seamlessly the dozen or so times I’ve done it across many VMs from various different baselines: Mainline 16.04, Mainline 17.10, Ubuntu MATE 16.04.  The actual core software itself seems to work perfectly fine out of the box, but as I said it is almost seamless not seamless.  There seems to be a bit of a wrinkle with the Ubuntu MATE update with respect to the VirtualBox Guest Additions, specifically with respect to shared folder drives.

I first ran across this in one of my main VMs when I tried the update.  Everything went great, I re-applied the guest additions and voilà my shared folder drives mounted and I was in business.  The next day when I fired up the VM they were missing.  It was a hectic day, so I thought perhaps I had remembered it working so I applied the guest additions again.  The drives reappeared.  This time I rebooted to confirm it stuck but sadly they did not.  I’ve continued to do some experimenting and have come to discover that while they are there the systemd process doesn’t seem to want to start on reboot even though it is set to. So to fix it I just need to do the following command to get them to show up:

sudo systemctl restart vboxadd-service.service

I wasn’t having this problem on Ubuntu 18.04 or Ubuntu MATE 18.04 virgin machines so this was either a problem with the general Ubuntu 16.04 to 18.04 upgrade process or specific to Ubuntu MATE 16.04 to 18.04 upgrade.  I therefore went about creating two brand new VMs, one each for mainline Ubuntu 16.04 and one for Ubuntu MATE 16.04 and then went through the upgrade process directly.  Those steps are:

  1. Fresh install OS with 3rd party and upgrades turned on
  2. Follow https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/ for installing guest additions
  3. Shutdown/Power on
  4. Add user to the vboxsf group (sudo usermod -a -G vboxsf <username>)
  5. Restart
  6. Confirm RW shared folder
  7. Bring up graphical updater, do any additional updates
  8. Invoke Upgrade to 18.04 through graphical system:
    sudo apt update && sudo apt dist-upgrade
    update-manager -d
  9. See if shared folder drive there
  10. After Update re-apply kernel extensions
  11. Restart
  12. Confirm shared drive

I can repeatably show that mainline Ubuntu 16.04 goes through these updates without this artifact but the MATE version does not.  Again, a fresh Ubuntu MATE 18.04 install doesn’t have this behavior at all.  I wonder if this write up can shed some light on this problem for the Ubuntu MATE team.

Paleo Diet, The Quiet Phase

This seems to happen with each of the diet phases, at least the first two.  Like most people that change up their lifestyle we settle into a routine.  Once we are in a routine the goings on of a given day are actually quite boring.  While I could sit here and type out each day that I ate eggs (or a shake) for breakfast, had sushi (or a Chipotle Paleo Bowl) for lunch and had a huge salad (or one of other three options) for dinner, I really don’t see the point.  I have a food journal for that.   Some days may be interesting and worth blogging about.   Maybe I’ll try a new recipe.  Maybe I’ll have some training event that is especially noteworthy.  Other than that though it’s all starting to sound rather repetitive.  I’m therefore going to drop back to only blogging on days that really stand out to me and leave the rest to summary reports at the weekly and/or monthly level.

Post Deluge About To Commence

While I have been dutifully writing up my daily updates on the Paleo phase of my experiment, I haven’t had the chance to get them posted to the blog over the past few days.  Rather than just dump all of them at once, I’m rolling them out two at a time.  I’ll keep blogging about my days but add them to the back of the queue, so in essence I will be publishing two daily updates a day for awhile.  Everything should be caught up to real time by Saturday, if I’m doing my math right (I hope).

s

Monthly Measurements, February 2014

After a month of eating cleanly and getting some exercise, but not as much as I would like, my measurements have snapped back to the way they were before the end of year binge.  Depending on the measurement they have gone back even as far as before my October holiday binge as well.  I knew I had dropped a bunch of weight on this Virgin Diet.  That isn’t completely intentional.  Since I put on three pounds of excess weight during the holidays, I wanted to shed it over the first three months of the year.  It seems that I’ve done that in the first month plus a little more. I hope that levels off some, but unless I’m eating a ton of excess nuts, nut butters or oil it is really hard to bump up the calories enough to avoid more than a nominal calorie deficit eating this way.  I was glad to see that what little yoga and calisthenics I did do, which will hopefully ramp up in the next couple of weeks, already showed some gains on my arms.  It is amazing how fast things improve when you start from doing nothing at all :-).

MeasurementSites

Measurement 12/2013 01/2014
1 Neck (in) 16.25 15.75
2 Shoulders (in) 51.1 51.4
3 Chest (in) 43 42.75
4 Left Bicep (in) 13.25 13.5
5 Left Forearm(in) 11.5 11.5
6 Right Bicep (in) 13.25 13.5
7 Right Forearm (in) 11.6.25 11.625
8 Torso (in) 35.1 35
9 Waist (in) 36.25 36
10 Hip (in) 35.75 35.5
11 Left Thigh (in) 23 23.75
12 Left Calf (in) 16 16
13 Right Thigh (in) 23.375 22.75
14 Right Calf (in) 16.375 16.5
Weight (lb) 182 177.9
Skin Fold (mm) 13 11.5
Body Fat Percentage 17 16.

1465_371195512980157_982324736_n

Day 22 and 23: I think I’m switching to weekly updates

As the diet experiment drags on it’s clear that the novelty quickly wears off, and therefore so does the need to have literally daily updates.  Sure, it is interesting when I’m first getting the hang of a diet.  There will always be times when I have a new recipe I tried, or something along those lines as well.  However after a while this whole thing becomes rote, and the daily update is really just overkill.  I will still track all my foods and moods daily, but I think unless an interesting thing happens on a given day, I’ll be reverting back to once a week updates for this phase.

s

Day 18 Virgin Diet: Status Quo

After the day of dealing with snow, today was a rather bland day.  I’m kind of sore from yesterday, and even woke up in the middle of the night with my right lower back sort of spazzing out.  It settled down eventually though.  Tomorrow night is the night of my next set of pushups, so I still have one day to recover.  Food wise everything was incredibly ordinary.  The usual shake started the day and kept me full until lunch.  Lunch was a not so big salad.  I originally was intending to get some Chicken Tikki, but for some reason all the were making were sandwiches today.  That obviously wasn’t going to fly, but I wasn’t in the mood for a giant salad.  It was just the usual.  Dinner was just some bacon wrapped chicken breasts with a baked potato followed by some almond butter fudge and a bowl of grapes.  As I said, nothing too dramatic or interesting.