Posted in Miscellaneous

The Computer Wore Menace Shoes

One of my favorite Simpsons episodes – http://www.simpsonsworld.com/video/302843971598

I hadn’t spent much time on this site, despite my love of the Simpsons.  When FX aired “EVERY SIMPSONS EVER” last year I recorded them all…they took up about 1.5TB on my computer.  And then I never watched them.  It’s just too hard to decide, and there’s so much crap in the mix.  And I’ve already seen all the good episodes (like this one) dozens of times when they were in syndication when I was younger.  So I finally just deleted them all to free up space.  It’s a sad, sad day.

If I’d thought about it when I first started this site I probably would’ve named it Mr X’s Web Page, after Homer’s site on the show.  Yet another lost opportunity.

Posted in Miscellaneous

Lemonade

I like to think the couple pushing this cart are only buying all this because they intend to run the neighbor kid’s lemonade stand out of business.

Generated by the (beta) GIF Maker over at Frinkiac.  The full clip can be seen here:

http://www.simpsonsworld.com/video/311784003569

Lucky Me

I got pink eye (in my left eye) from my daughter a couple weeks ago.  I took my antibiotic eye drops four times a day for ten days…I never missed a dose.  Then I go on vacation, and everything’s great.

The very first morning back at home I wake up with my right eye glued shut, and it gradually gets itchier as the day goes on.  Great.

At least I still have plenty of medicine left.

Posted in Miscellaneous

End of Vacation

We got home a couple of hours ago, welcomed by two ecstatic little girls.  They were both standing at the window over the driveway just screaming “MOMMY DADDY!”  It was a good thing to come home to.  But I also miss vacation already, and wish I could have just a little more time without responsibilities.  So it goes.

Other than the loving affections of my daughters, the one thing I’m looking forward to most about being home is getting back on a regular diet.  I’ve been mostly following a ketogenic (low carb high fat) diet for the past few months, and feel great when I’m on it.  But this weekend was very high carb, and left me feeling very bleh.  So I can’t wait to kick that to the curb again.

Posted in Miscellaneous

Bridge Life

Today’s our last full day in Florida, and we asked the waitress at breakfast what we should do.  She gave a couple of touristy suggestions like visiting the lighthouse, but also said a good local hangout is to go under a nearby bridge.  It’s a nice calm access point into the water, and not over crowded with tourists (although that meant we did feel a little out of place).  But it was a cool spot with a decent amount of fish swimming underneath.  Unfortunately we never got to see the draw bridge go up while we were down there.

Posted in Miscellaneous

SUP

This morning a few of us went stand up paddleboarding.  It was great…now I want to move to a lake and do that every day.

Water sports are not conducive to cameras, so I don’t have pictures.  Above is a stock photo…Florida doesn’t have mountains.

The wedding is later today.  Hopefully I’m not too sunburned.

Up and at them

Tomorrow Jen and I are flying to Florida for a friend’s wedding.  Her parents are here to watch the girls.  This will be our first real trip away together without them.  In December we did a weekend in DC, but that barely counts since it was just 30 minutes from our house.

Posted in Miscellaneous

Engineering Happiness in Haircuts

A couple months ago I got a haircut at Sports Clips, because they just opened up near my house and were offering a free haircut to new clients.  Ordinarily I wouldn’t have gone there, since I have no interest in watching SportsCenter during the haircut, which is their main draw.  But it ended up looking really good, so yesterday I went back.

The haircut looked fine when I left the shop yesterday, but by the time I got home and it dried it just looked fluffy.  It was sticking out in weird places, and still all over my ears.  I gave it a shot, and washed it again to see if it would lay down alright, but I still wasn’t happy with it.  So today I went back in and asked them to clean it up a little.

Not only were they super happy to help, but they even gave me the full MVP experience (which is a shampoo and a light massage) on top of the trim (which was basically another full haircut).  And THEN they even gave me a coupon for another free haircut next time I go in.

So I originally picked this place because it’s in between a coffee shop and a BBQ place where I can spend all day working, but now it’s definitely my default barbershop.

However, they do lose points for not having a red/white/blue spinning pole outside like pictured above.  But to be fair, I don’t think I’ve seen one of those at any barbershop I’ve visited since I was a kid at Benny and Grover’s shop in Roanoke.

Posted in Miscellaneous

(Mostly) Secure File Sharing

Have you ever been working with a consultant for taxes, loans, other financial services, whatever, and needed to send them a copy of your ID or other sensitive information?  How do you get it to them in a way that can’t be intercepted?  I hope you didn’t just e-mail it to them.  In the past I’ve just uploaded it to Google Drive or Dropbox and given them the link, deleting it once they’ve got it.  That’s reasonably secure, since the odds of a bad actor guessing the 32+ character GUID at the end of the URL is pretty slim (although read this for information about using URL shorteners like http://bit.ly).  And deleting the file when they’ve confirmed receipt means that if somebody had intercepted the e-mail with the URL they only had a limited time window to grab the file.

But as much as I trust Google and Dropbox (and I do), the fact remains that you’re storing your file on somebody else’s computers.  Maybe tomorrow news will come out that somebody discovered a backdoor into Dropbox and has been siphoning off data for 6 months.  Like the OPM hack…everyone assumed it was secure, when it had actually been compromised for months while everyone’s information was stolen.  Or maybe when you delete a file from Dropbox they hang onto it for a while in case you want to undelete it, or in case the FBI asks for it, and it’s never really gone.

So here’s my new answer: https://owncloud.org/

It’s basically a free, Open Source version of Dropbox.  So now you can run the service yourself and have complete control over the data, secure in the knowledge that only the intended recipient accesses your files.  At the very least, you have the access logs to say when somebody downloads the file so you know if it’s been compromised.

Now, you could run this yourself from your home computer (or a Raspberry Pi), but that means you have to open up access to your home network from outside.  I have an easier solution: https://www.openshift.com/

That’s a cloud container hosting service built by RedHat.  One of my last assignments at my last job was evaluating this product for potential use in our department.  Now I just use them for little projects like this.  What I love is that you can get up to 3 containers (i.e. applications) running for free, and they only charge you for extra features like additional storage, faster processing, or deploying your application in different regions (it’s built on top of AWS).  They don’t even ask for a credit card.  They manage to keep it free by the fact that if you’re not using your application they acquiesce it (their words) so it doesn’t consume resources.  They have thousands of people who sign up for accounts and launch an app, only to abandon it.  So those apps are basically put on pause until somebody tries to access them again.  That lets RedHat run dozens of containers on a single computer (EC2 node), keeping their costs down to the point they can offer it for free.

To make things even easier, they have a lot of common applications and tech stacks prebuilt for you, including WordPress (which I use for testing Jetpack) and ownCloud (which is obviously where I’m going with this).  So here’s a quick walkthrough for getting ownCloud up and running on OpenShift.

I’ll assume that you were so excited when I first mentioned OpenShift three paragraphs ago that you immediately went and created an account.  If not, go do that now.  There’s a big red “SIGN UP FOR FREE” button at the top right of the page.  Once you’ve got an account and logged in, you should see your web application console.

Here’s a screenshot of mine (with my domain blocked out in blue).  You can see that I already have two “gears” running (their term for applications).  I’ve got a Telegram Bot and a WordPress site.  If you’re reading this, you probably don’t have anything here.  Go ahead and click Add Application…

Screen Shot 2016-05-10 at 11.14.36 AM

Next you should see a menu with a bunch of pre-defined gears (made up of cartidges…sorry, I’m not the one who made up this naming scheme).  Look around to see what’s available, or just search for owncloud and be done with it.

Screen Shot 2016-05-10 at 11.14.55 AM

Once you select ownCloud you’ll get a nice set of options for how to configure it.  But the only thing you should change is the Public URL.  I chose to name mine “share”, but you could call it anything you want, even Cher.  Leave everything else as default, and click the Create Application button at the bottom of the page.

Screen Shot 2016-05-10 at 11.15.10 AM

Now it’s going to take a few minutes to build, so you can just sit back and relax.  You’re waiting for a green screen like you see below.

Screen Shot 2016-05-10 at 11.21.52 AM

If you see this screen, great!  But a word of warning – one time when I did this the operation timed out.  The gear was still built and configured, but a quirk of ownCloud is that the default admin password is randomly generated and only displayed on this page.  So if you don’t get it here, you’ll have to delete and recreate the application.  Luckily this is a rare occurrence, but something to be aware of.

With that in mind, once you see the green screen, be sure to copy down that password.  Personally I like to ctrl/cmd-click the Continue to the application overview page link to open in a new tab, so the password is still visible on the old tab.

Screen Shot 2016-05-10 at 11.24.23 AM

Now you should be on the overview page, and see something like the above saying that your gear is Started.  Click the link (share-XXXXXXX.rhcloud.com) to open your application.

Screen Shot 2016-05-10 at 11.30.32 AM

Congratulations!  You have your own personal Dropbox.  Log in with the username admin and the password you copied down earlier.

From here you’re on your own.  OwnCloud has their own tutorials and help documentation on getting the most out of their product.

So now you’ve got a personal cloud storage solution that you can start and stop whenever you need (or just leave running) it, without opening up access to your home network.  It has all the features you need, which basically means you can easily upload and share files.

If you want to be extra paranoid about security I have a few remaining tips:

  1. Always access your site via https, and be sure to use that when sharing links.  There may be a way to force that option, but it also might not be possible with the permissions level granted by OpenShift.
  2. Look into encrypting your files (also read this)
  3. Delete the application after you’re done using it.

#3 is probably excessively paranoid, but hey, it’s an option.  It only takes a few minutes to rebuild the application when you need it again.

So you’re still storing your sensitive files on somebody else’s computer, but at least you have direct access (even via SSH if needed).