Vote Charlie!

Software Archives

Insync broken with GDAuthError

Posted at age 30.

The backup and sync saga never ends! Now on my desktop I have been unable to open the Insync UI or apparently get it to sync at all. I killed it and run it by console to see if there was any output, and it fails before it starts syncing anything with an error: GDAuthError: Access token refresher stopped. Only two search results appear for “GDAuthError Insync”. One from a year ago has no solution, but someone commented recently that it happened to them, so perhaps there was a regression.

Read more

Starting with DigiKam

Posted at age 30.

I’m starting to figure out my photography workflow on Arch Linux. Previously I used Adobe Lightroom for organization but still did almost all editing in Photoshop. I never quite figured out an editing workflow I was happy with in Lightroom. But now I get to circumvent that step and figure it out on Linux. :-)

Read more

uWSGI socket activation configuration

Posted at age 29.

I sat down this week to start writing a small Python application to aggregate my data and generate a status page like the AWS Service Health Dashboard but with my goal completion instead. This is largely supposed to motivate me to find ways to spend more time doing deep work, but more automatically planned than my past efforts. Well, as I feared, it has taken a few days to lay the groundwork. The last piece involved more trial and error than I would have liked due to lacking documentation, but perhaps someone can make use of this configuration.

Read more

Switching to Typora Markdown editor

Posted at age 29.

I almost pried myself from reading news story after story this morning thanks to Google Now’s suggestions and the endless shenanigans of the current administration. Then I clicked one more, a SitePoint article “The Best Markdown Editors for Mac“. I skimmed it, mostly looking to see if MacDown was mentioned. It was not, but another caught my eye, and I was converted to Typora before I even tried it. The editor itself is the live preview!

typora.png

typora.png

Read more

Distracted learning Vim

Posted at age 29.

I spent some time today reading Vim documentation and a handful of blog posts. I learned the extreme basics of Vim many years ago, but I have not graduated much past cut-paste and search-replace until this year. In my mission to memorize more things I never bothered to for lack …

Read more

Nikon camera live tethering, and I need to run

Posted at age 28.

I spent a bit of today taking photos of creatures in my saltwater tank, and while I had my Tamron 90mm f/2.8 macro lens out, I figured I would take a photo of Alan’s eye and then my eye. One thing led to another, and I tried to figure out how to tether my Nikon D800 to my laptop so I could use the screen as a viewfinder, making self eye portraits easier. It was not easy.

Read more

Years of photos, comments gone from Facebook

Posted at age 28.

I noticed May 11 I could not upload photos to Facebook via the Adobe Photoshop Lightroom Facebook plugin I had been using for several years. This was not a surprise, as I have been having intermittent issues with my publisher connections through my recent reformatting and data shuffling process. I thought the worst case would be needing to reauthorize the plugin and perhaps create a new “May 2017” album to continue uploading to. Then I checked Facebook and saw it was much worse. Thousands of photos were missing, and I was not alone.

Read more

Brief addiction to 2048 game

Posted at age 28.

I don’t know what came over me the other day, but I looked at the popular apps for macOS Sierra, and I downloaded the game 2048. It looked simple and thus I thought it would be a quick diversion. Oops.

2048-4x4a.png

2048-4x4a.png

Read more

Runkeeper’s paid charts still aren’t working

Posted at age 27.

I started using Runkeeper to track my runs in July 2010, and soon after I started paying $19.99 per year to support the service. The additional features for the money were limited, basically boiling down to some extra charts and a live run feature where others can see your run in real time. This wasn’t as cool as it could be, or even as similar features from competitors. I’ve seen friends using a Nike app, I think, where it would post to Facebook at the start of a run, and the phone would read comments and cheers as friends interacted with the post. As far as I know, Runkeeper never did anything like that. And I’m not sure I would have used it anyway.

Read more

Raspberry Pi and Smokeping network monitoring

Posted at age 27.

We’ve had some network issues lately, so I dug out one of the Raspberry Pi Model Bs I got for free from Adafruit with my first couple of orders in September 2013. I then set it up to do network monitoring using Smokeping. Since it takes 10 or 20 seconds to generate the graphs, I switched to a master-slave setup where the graphs could be generated on my web server, but the measurements taken from the Raspberry Pi on my home network.

Read more

Alignment in Python code

Posted at age 27.

Since my first programming book 15 years ago, I remember the convention of using extra spaces to align the equal signs in lines of variable assignments. This has been pretty standard in most of the languages I’ve used over the years. It’s not a big deal, but it’s something I do instinctively. I struggle much more with other spacing and indentation issues, and seeking guidance, I read Python’s PEP8. And I’m not sure I like with what I found.

Read more

Rough start with SmartThings

Posted at age 27.

Soon after I moved in here last year, there were a number of suspicious incidents in the shared garage. I’m told a rental car was stolen and later found by police, and another time a rummager took some items, including keys to some motorcycles. At least one of the incidents did not involve the door being accidentally left open, but we weren’t sure if they had a key or taped a lock open or something.

Anyway, it seemed some more theft might be imminent, so Paul bought a Nest camera and installed it in the garage. It’s worked pretty well, sending notifications to all our phones on activity in the garage. There are false notifications due to light changes from vehicles driving by, but it’s alerted me to the door being left open many times. One such time, we got the alert in the middle of the night and found a video of someone poking around. He took a few things, but we’re not sure what exactly.

Read more

Apple still flunks first grade math

Posted at age 27.

One third of four multiplied by three is not four, according to the OS X calculator. I know this quirk is due to behind the scenes floating point arithmetic, but it’s interesting Apple hasn’t found a way to cosmetically fix this considering this calculator might be the most commonly used one in the world!

4/3*3=3.9999999999

4/3*3=3.9999999999

Read more

Back up OSX Messages attachments incrementally

Posted at age 27.

The Apple OS X Messages app stores files sent and received in a folder with a structure that doesn’t lend well to browsing. If you want to separately back up the family photos and videos received via iMessage on your computer, you can use some ideas here to help.

OSX Messages attachments folder

OSX Messages attachments folder" class="mt-image-none" height="602

Read more

Handwriting font service automates what took me hours 10 years ago

Posted at age 27.

While I was looking for some old political test results in my files, I stumbled across a font I made of my handwriting in high school. The filename is charlie2006.ttf, though I seem to remember making the font earlier than that. Perhaps I made two. Making that font using some program I don’t remember took many hours of painstaking curve plotting and adjustments, but I figured there might be an easier way now. And sure enough, Google showed me myscriptfont.com.

FCNG6438.jpg

The automated handwriting font creator from myscriptfont.com is slick, but I needed to redo my scans a few times to make corrections for thickness and more.

Read more

Software solution to drug shortages

Posted at age 27.

Deciding how to fix health care is hard enough. But when huge problems I didn’t even know were problems come to light, it makes me wonder how we can ever hope to change. Then again, every problem is a solution waiting for someone to take charge.

In this case, drug shortages could be studied and solved through smart tracking software run by a national health organization or on a smaller scale within a hospital system.

Read more

Drobo ‘data protection’ triggered upon switching to Thunderbolt

Posted at age 27.

Last week I built a hackintosh, and it took a few days of troubleshooting to get the USB ports working properly so I could access all my data, which is stored on a Drobo 5D. I had to wait several days before I could fully access my data, and now it seems I have to wait yet again.

I am not sure what event I have to thank for the current edition of 'data protection', but I am hoping it finishes faster than the 290 hours it initially reported!

I am not sure what event I have to thank for the current edition of 'data protection', but I am hoping it finishes faster than the 290 hours it initially reported!" class="mt-image-none" height="736

Read more

Built hackintosh, gained respect for Microsoft

Posted at age 27.

Since I bought my first (Micron) computer when I was 10, I’ve had a thing for desktops and customizability. I did buy a giant Dell laptop in around 2003, but after that, I always built my own desktops.

Moving across the country in 2012, though, started convincing me to try to make a laptop work as a primary computer. I had to fit everything I owned in a small SUV, and desktops take up a lot of space! MacBook Pros around that time were starting to get sufficiently powerful to use with external monitors and play movies and everything else, so it seemed it was time to chuck the desktop. Also, all the travel I’ve done in the last two years was infinitely more feasible while using a laptop as a primary.

IMG_20151227_152349.jpg

The 2015 MacBook has only one port for USB and power, so you need a special adapter. This one didn't work, though, even to connect to my SSD. The 36 inch cable caused too much power loss to keep the drive connected, and it didn't work at all with the power plugged in. I was only able to access data while using a six inch USB2.0 cable and no power. USB3.0 caused intermittent disconnects.

Read more

Generate nested redirects from CSV file

Posted at age 27.

One of my work clients is undergoing a migration from Movable Type to WordPress, and the decision was made to change the URL structure of basically every piece of content. While not ideal, this move can make sense, especially if the old structure wasn’t very future proof and started causing duplicate URL conflicts.

Read more

Runkeeper heatmaps

Posted at age 27.

This morning my friend Walter sent me a link to his cycling heat map on Strava, and it was pretty cool. Even cooler than my silly temperature + Fitbit history chart maker app, Weatherbit .

Update: Check out an example map from CityStrides.

Walter's cycling heat map

Walter's cycling heat map

This morning my friend Walter sent me a link to his cycling heat map on Strava, and it was pretty cool. I figured there must be a web service that creates these based on Runkeeper data, so I Googled "runkeeper heatmap." Apparently there isn't a readymade service, but the top result gave me exactly what I needed to do it myself.

Running heat map: San Francisco, California

Read more

Week in review: drugs, overtime and genetics

Posted at age 27.

This week involved not much more than working 56 hours (unusual), though it was at least in the company of my dog, Vera, since her new owner was out of town.

Work has been pretty crazy lately, as two of my large clients are undergoing migrations and redesigns. One of those launched this week, which went pretty smoothly, but just took a lot of time I didn’t have. The other has a lot of work left, but I hopefully finished most of my role and provided enough documentation for others on my team to fill in the gaps. Time will tell, there. As for me, I supposedly have off two days next week in exchange for the overtime this week, and I am already planning to take off the entire following week to get caught up on personal stuff.

I almost forgot to get a new Adderall prescription this week. I am prescribed one 25mg capsule daily, but because amphetamines are Schedule II drugs, it is somewhat inconvenient to actually obtain what I am prescribed. For most drugs, I can get 90 day prescriptions automatically filled by the mail order pharmacy my insurance uses, OptumRx. The two drugs I take, however, aren’t so easy. (Truvada as PrEP is a story for another time.)

Amphetamine and methylphenidate

Amphetamine and methylphenidate

Read more

Moving MySQL data with Vagrant and Ubuntu 14.04

Posted at age 26.

I recently started doing my local development on virtual machines using Vagrant, and PuPHPet. I really should have started this long ago given all the hoops I’ve had to jump through setting up Perl and friends with every new version of OSX. And even though the new OSXes lately barely qualify as a new version and come out more and more frequently, they still break nearly everything about my development environments. So, virtual machines are super convenient.

Read more

Runkeeper hiring via hidden message

Posted at age 26.

Though maybe not hidden to their target audience.

Earlier this year, at the top of Runkeeper’s HTML (actually, after 50 blank lines, for some reason), I found this cute message:

<!doctype html>
<!---


      ,------. ,--. ,--.,--.  ,--.,--. ,--.,------.,------.,------. ,------.,------.     
      |  .--. '|  | |  ||  ,'.|  ||  .'   /|  .---'|  .---'|  .--. '|  .---'|  .--. '    
      |  '--'.'|  | |  ||  |' '  ||  .   ' |  `--, |  `--, |  '--' ||  `--, |  '--'.'    
      |  |\  \ '  '-'  '|  | `   ||  |\   \|  `---.|  `---.|  | --' |  `---.|  |\  \     
      `--' '--' `-----' `--'  `--'`--' '--'`------'`------'`--'     `------'`--' '--'


      ,--. ,---.      ,--.  ,--.,--.,------. ,--.,--.  ,--. ,----.                       
      |  |'   .-'     |  '--'  ||  ||  .--. '|  ||  ,'.|  |'  .-./                       
      |  |`.  `-.     |  .--.  ||  ||  '--'.'|  ||  |' '  ||  | .---.                    
      |  |.-'    |    |  |  |  ||  ||  |\  \ |  ||  | `   |'  '--'  |                    
      `--'`-----'     `--'  `--'`--'`--' '--'`--'`--'  `--' `------'

                                                                              ,---.,---. 
      ,--.,--.  ,--.    ,-----.   ,-----.  ,---. ,--------. ,-----. ,--.  ,--.|   ||   | 
      |  ||  ,'.|  |    |  |) /_ '  .-.  ''   .-''--.  .--''  .-.  '|  ,'.|  ||  .'|  .' 
      |  ||  |' '  |    |  .-.  \|  | |  |`.  `-.   |  |   |  | |  ||  |' '  ||  | |  |  
      |  ||  | `   |    |  '--' /'  '-'  '.-'    |  |  |   '  '-'  '|  | `   |`--' `--'  
      `--'`--'  `--'    `------'  `-----' `-----'   `--'    `-----' `--'  `--'.--. .--.  
                                                                              '--' '--'

      It's dangerous to go alone!

      Take this!

      /jobs.

      or email us directly! jobs[at]runkeeper[dot]com

  -->
<html xmlns:og="http://opengraphprotocol.org/schema/">

Read more

How to stop Spotify from killing the Internet, and Backblaze uploads

Posted at age 25.

Overall, I feel left out of the conversation, as Spotify is not very forthcoming about how it uses your connection. The only mention I can find in their help documents is a question "How much disk space and bandwidth does Spotify use?" where it states without answering the question:

To reduce download data, increase the cache size. To reduce upload data, reduce the cache size.

Or, just block Spotify from uploading and leave your cache alone, and Spotify will respond much faster and allow your household to enjoy the Internet again. And Backblaze can resume uploading my data. :-)

Read more

Stop taking naps

Posted at age 24.

I need to stop taking naps midday. Or stop being tired midday. Or something. But I hate just getting to work in the afternoon! When I could be almost done for the day!

I started using the app Sleep Cycle last night. We’ll see.

Read more

Simple PHP file caching

Posted at age 23.

Note to self that might be useful for others doing really basic stuff:

Often I use Random Web Service’s API to get a JSON file of data repeatedly, but that file doesn’t need to be refreshed 600 times a second. I can then use a simple PHP script to store the file and retrieve it from disk until it gets to be a certain age.

Read more