On This Day

One of the many potential projects that I’ve been thinking about, ever since I moved to WordPress, was to write a plug-in that would show past blog posts in a widget, just stuff that was posted on the current day, in past years. It seemed like it would be a good little project that I could use to learn more about programming for WordPress. Well, I never got around to writing it, and now I’ve found an existing plugin that does just what I wanted: On This Day. So I’ve added it to this blog. Since I’ve been blogging for more than ten years now, there’s almost always a few interesting things showing up in it.

2014 Year in Review and 2015 Goals

By many measures, 2014 was a horrible year for the world. Dave Barry wrote a fairly amusing (and somewhat depressing) year in review article for the Washington Post. And Charlie Booker wrote a similar article, from a UK perspective, for the Guardian. Bill Gates has a fairly upbeat take on 2014 though. All three of those articles are worth reading, if you want to get some perspective on the past year.

Personally, I think I had a pretty good year, though things were pretty static, and I didn’t make as much progress as I would have liked on some fronts. But I did a really good job with my weight loss goals, and with some other stuff.

I wrote a relatively short year in review post last year. This year’s post is going to be pretty long. I’ve had a lot of this stuff banging around in my head for the last few weeks, and I really want to get it down in writing, partly so I have it to refer back to in a year, and partly just so I can organize my thoughts and move forward.

Weight & Health
I started a diet in September 2013, at 230 pounds. I got down to 200 lbs as of January 1, 2014. I hit 165 about a month ago, and have been hovering around there, +/- 3 lbs, since then. So I think I’ve done a generally good job on this front.

For 2015, I’m not sure if I want to just maintain at 165 or set a new goal for 160. I don’t see much point in trying to go any lower than 160. I should probably switch gears in 2015 and try to work a bit harder on fitness. Through most of 2014, until it got cold, I was going out for walks almost every day. I think that really helped get the pounds off. I definitely want to pick up on that, when the weather gets warmer. Until then, I’m not sure what I want to do. But I know I should be doing something. My neck and shoulders have been bothering me a bit recently, so maybe I need to do something about that before I try to do anything new on the exercise front. I tried using my exercise bike a bit in 2014, but I’ve found that my back starts bothering me after about five minutes on the bike. So I probably need to figure that out before I can get any further with the exercise.

Education / Programming
I made an attempt to get through Algorithms I and II on Coursera in 2013. I got most of the way through part one, and never started part two. In 2014, I took another shot at part one, but gave up when I got sick not long after the course started. I never got back to it. I’m still interested in doing something with Coursera and/or EdX in 2015, but I don’t have any particular plans.

On a couple of other fronts, I did manage to learn a bit about WordPress and F# in 2014. I read two books on WordPress, one general and one on plugin development, and I successfully moved my blog from Blogger to a self-hosted WordPress install. So that was an accomplishment. I didn’t actually do any meaningful WordPress development, though, aside from tweaking a few things in my template, and working through some of the examples in the plugin dev book.

On F#, I started reading a few books on the subject, but didn’t finish any of them. I learned enough to solve a few Project Euler problems with F#, but not enough to do anything really useful with the language.

Speaking of Project Euler, I had solved through to problem 25 at the end of 2013, and I’ve now solved through to # 65, so that’s 40 problems solved in 2014. I used C# for all of the problems I solved, and reworked a handful of them with F#. For 2015, I’d like to continue working on Euler problems, using a combination of C# and F#.

I’m not sure if I want to try to learn any new languages in 2015. I think I want to concentrate on C# and F# for now. It might be nice to learn Swift, and get back to doing some Mac and/or iOS development, but I don’t have any particular plans to do so. If possible, I’d like to get back to doing some web development using some of the new stuff around ASP.NET that I really didn’t get a chance to play with in 2014.

Work
I started my job at SHI in January 2013, so I’m now just about to hit the two-year mark. Things were pretty static with SHI in 2014. I worked almost exclusively on Dynamics AX projects, using X++. I did a smattering of C# work, but only to support stuff I was doing in X++. The one big thing that changed, early in 2014, was a reorganization, so I’m now under a different boss than I was in 2013. But the new boss was already my project manager, so there wasn’t really much of a change there.

During my year-end review for 2013, there was some talk about the possibility that I might be getting involved in a SharePoint project, but nothing ever came of that. I did read an introductory SharePoint development book, but I never got as far as even setting up a local environment to play around with. If I learned anything about SharePoint, it was mostly that it’s a mess, and trying to learn it, in a general way, on your own, probably isn’t a great idea. If the SharePoint project resurfaces in 2015, I’ll definitely jump back in, but I’m not going to mess around with SharePoint any more without some specific direction.

I haven’t had my 2014 review yet, so I’m not sure what will come out of that. The boss has talked, in general, about some upcoming changes, but hasn’t gotten into specifics. I’m cautiously optimistic about things at SHI, but we’ll see what comes out of my review, and what kind of changes occur this year.
One specific thing she did mention was that we’ll have a training budget this year, so that might be good. She didn’t mention how much the budget was, or what it might be spent on, so I’m not getting my hopes up about going to any tech conferences on the company dime, but hopefully it’s not just a $500 budget that gets spent some CBT software or something like that.

Consulting and/or Volunteering
I haven’t done any consulting work at all in 2014. I’m OK with that, though it would have been nice to have done at least one independent project.

I signed up for Catchafire in 2014, in the hope of finding a good volunteer programming project to work on. But I never did find anything there that I thought would be a good match for my skills and my interests. I’ll keep an eye on it in 2015, but maybe I should look around for other opportunities.

I also applied for volunteer positions at a few museums in NYC, including the Met, The Morgan, and the Museum of Natural History. The only one I heard back from was the Morgan, but they needed someone who was available on weekdays, so that was out. I’ll keep an eye out for volunteer opportunities in 2015, but I’m not hopeful that I’ll find anything interesting that would actually fit into my schedule.

Reading
According to Goodreads, I finished 30 books in 2014, but most of them were comics. (Not that there’s anything wrong with that!) I read The Strain trilogy at the beginning of the year, then spent the rest of the year slowly working my way through Kate Elliot’s Spirit Gate. So I can’t really say I read any fiction over the past year that wasn’t just escapist fantasy. (Again, not that there’s anything wrong with that!) For non-fiction, I read through two books on WordPress, started (but didn’t finish) a couple of F# books, and recently started David Allen’s Making It All Work. I’ll likely finish the David Allen book this month.

I don’t have any specific reading goals for 2015, though I’d like to read more non-fiction, and I definitely have a lot of comics I’d like to read, when I can find the time. But I’m not setting any real goals.

Blogging
I moved this blog to WordPress in May, and I’ve been pretty happy about that. I think it worked out well, and I learned a lot about WordPress in the process.

I wrote a little over 100 posts in 2014, including a few that were actually useful enough to attract a few page views, so that’s good. I only had 33 posts in 2013. (I’m still not making any money on AdSense though. I might just remove ads entirely this year, since they don’t seem to be doing me any good.)

I think I want to keep going with WordPress, and I’m happy enough with 1&1 that I think I’ll stick with them as a host. I might mess with the template a bit in 2015, but I don’t think I need to.

Travel
I didn’t really do any travel in 2014, aside from several trips into NYC, and one trip to Georgia for a funeral. Most of the trips into NYC were day trips, but I did go to WordCamp NYC over the summer, and stayed in the city for that. I made several visits to the Met and MoMA over the past year, so I’m pretty happy about that. The trip to Georgia was not a happy one; my brother’s best friend passed away.

I didn’t make it to even a single comics convention in 2014, so I’d like to try and get to either San Diego or NYCC this year. Or maybe I should consider WonderCon in Anaheim. I know the chance of getting SDCC tickets is low, but I’ll give it a shot, when they go on sale. And I’m sure I can get NYCC tickets, if I don’t wait until the last minute like I did last year.

Hardware
I recently swapped out the hard drives in my ThinkPad and MacBook with SSDs. I re-installed Windows 8.1 on the ThinkPad several months ago, and wiped & reinstalled OS X on the MacBook as part of the SSD switch. So both of those machines are clean, speedy, and up to date. I think I’ll keep both of them through 2015.

I am currently in the middle of doing a clean install of Windows 8 on my desktop machine. I’m hoping that works out, but I have some doubts. I don’t really want to have to replace that machine this year, but I might have to. I’ll think about that some more once I’ve got it all set up.

I got a new iPhone 5s in October 2013, so I’m going to stick with that through most of 2015. I might replace it at the end of the year, or I might wait until 2016. And I only just recently picked up an iPad Air, so I shouldn’t need to replace that until 2016, I hope.

Apartment and Car
I think I’m going to renew the lease on my current apartment again this year. I keep thinking about moving, but I can never quite talk myself into it. I’ll need to review my thinking on that this month, since I’ll need to make a decision on the lease in February. I do have a lot of stuff that I want to get cleaned up and/or fixed in the apartment this year, assuming I stay in it. Some of that will require some action from the landlord, which I’m not optimistic about, but I’ll make an effort, and see how far I can get.

And I’m hoping to keep my car through 2015. It’s got about 65,0000 miles on it and it’s running well. I just need to keep up with maintenance on it, and I think I’ll be fine.

Personal Organization
I made a number of changes in my systems for personal organization in 2014, and I’m pretty happy with the direction I’m going in on that. I got all of my passwords moved from KeePass to 1Password. And I consolidated all of my personal notes into Evernote, and canceled my old Backpack account. I’ve been making a concerted effort to reapply myself to following the general principles of GTD, and have managed to get a lot of random stuff done in the last few months.

Summary
Well, that was a pretty long post. Probably longer than it needed to be, but I feel like I’ve worked some stuff out and cleared some stuff out of my head. Happy New Year!

Dinah and other WordPress stuff

Well, I just updated this blog to WordPress 4.1 “Dinah”. So far, so good. The new distraction-free writing thing is kind of cool. I’ll probably leave it turned on. Other than that, there’s not really any other obvious UI changes that will affect my own use of WordPress.

I’m getting better at doing updates through wp-cli. (I don’t have to search through Evernote to remember the syntax anymore.) And 1&1 seems to have ironed out whatever was causing their install of wp-cli to throw a bunch of PHP warnings every time I ran it. So that’s good.

The big security scare this week shouldn’t affect this site. Still, it’s got me thinking that maybe it’s time to install something like WordFence.

WordPress security woes and Jetpack observations

For anyone who might be wondering: nope, I’m not using the plugin that got hacked today.

Also: interesting to see the new stuff in Jetpack 3.3. I only have the one site, so centralized multi-site management doesn’t help me much, but it’s interesting how much stuff they’re building into Jetpack that ties back to WordPress.com. Though I don’t want to give up basic control of my site, I actually like the ability to pick and choose a few things to “offload” to WordPress.com, as long as it’s still possible to disconnect it all without actually losing any content.

WP-CLI on 1&1

After coming back from WordCamp, I mentioned that I wanted to start messing with WP-CLI. Well, today, I decided to give that a try under my 1&1 account. I first tried installing it with curl and running it, as described on the WP-CLI home page. But (to make a long story short), I had some problems getting it to work.

Then, I did some searching, and found some indication that WP-CLI might already be installed and configured on my account. So, I just typed in “wp cli info” and hey, it’s there and working. (Thanks, 1&1!) I’ve had some problems installing Jetpack updates from the WP admin page, so now I can just ssh in and type “wp plugin update jetpack”. Much smoother!

Of course, nothing’s perfect, so right now, some of the WP-CLI commands are throwing a whole bunch of warnings up on the screen, but they’re all working, so I’ll see if I can fix the warnings later.

WordCamp NYC notes

I just got back home, after attending WordCamp NYC this weekend. Overall, it was pretty good. The presentations were mixed, with a couple of really good ones, and a few that weren’t really useful to me (but might have been to others). I’m kind of surprised at how much they were able to do for only a $40 registration fee. Free t-shirt, and free breakfast and lunch on Saturday. And all in a nice hotel. (I guess a lot of the cost is borne by the corporate sponsors?)

I was going to write up a long post with links to some of the more interesting topics that came up, but I think I’m too tired to do that now. I’ll just link to two things that I’d like to look into a bit further: Piklist and WP-CLI. Maybe I’ll post more detail later, if I can find the energy.

 

WordCamp NYC

I’m Attending WordCamp NYC – August 2-3, 2014
I’m planning on going to WordCamp NYC this weekend, barring any unforeseen circumstances. I’m looking forward to it, since I haven’t been to anything like this since Drupal Camp in 2012. The schedule looks pretty interesting; I should be able to learn some stuff.

WordCamp won’t really make up for missing San Diego this year, but hey, it should be fun!

WordPress 3 Plugin Development Essentials

In my continuing quest to pick up some useful WordPress skills, I just finished reading WordPress 3 Plugin Development Essentials by Brian Bondari & Everett Griffiths.

This book covers all the basics you’d need to develop a plugin, from setting up a local dev environment, to pushing code to the WordPress.org plugin directory.

This is definitely an overview book, covering a bunch of stuff without trying to be exhaustive about any particular thing. There is some coverage of necessary PHP and JavaScript topics, though this wouldn’t be a good book for someone with absolutely no background in PHP or JavaScript. The coverage of the WordPress API in general is sufficient to cover the basics, and to point you in the right direction on the topics that it doesn’t cover.

The book was published in 2011, and is somewhat out of date. For example, there’s a whole chapter on using Subversion, which is still useful in some circumstances, but I think most people would be using git for their day-to-day work at this point. And the first example plugin is built around Digg’s API, from the previous version of Digg (before it was re-launched in 2012), so it doesn’t work anymore. (It’s still a useful example to read through, but you wouldn’t be able to make it work.) I’m not entirely sure, but I’m pretty sure that all the core WordPress stuff that’s covered is still recent enough to be useful.

The heart of the book walks through a number of sample plugins, devoting a chapter to each. The author builds each plugin up a little at a time, explaining what he’s doing, before going on to the next part. In general, he builds things up in such a way that the plugin is functional at each stage, so you can run and debug your code as you go. This is a good approach, especially for less experienced developers.

For my own purposes, I didn’t bother actually working through the examples, as I found the explanations clear enough, and I know enough about web development that I didn’t feel like I needed to. And I skimmed over a lot of the material that was either out of date (e.g. the Subversion stuff) or that I already know (e.g. PHP and JavaScript basics).

If there were an updated version of this book available, I’d recommend it to anyone looking to get started with WordPress plugin development. As it stands, though, I’d really only recommend it if you don’t mind skipping over the stuff that’s out of date. If you can get the ebook version when Packt is having a sale, it’s worth picking up.

A little more on Drupal vs WordPress

Here’s a link to an interesting question on Quora about WordPress vs Drupal that got a thoughtful answer from Dries Buytaert, the guy who created Drupal. A number of the other answers are pretty interesting too. It’s actually an older question, but it rose to the top of my Quora feed today, for some reason. Quora is sometimes very good at surfacing useful answers to questions, and avoiding the flame wars and trolling that would normally clutter up any “X vs Y” discussion on the internet.

And, hey, here’s an article on migrating from Drupal to WordPress. I’m curious as to why anyone would want to do that though. If you already had a site up & running in Drupal, what would you get by migrating to WordPress? I could see cases where you’d want to go in the other direction, since Drupal has some functionality that doesn’t exist in (base) WordPress. I guess I could think of a few cases where you’d want to go from Drupal to WordPress, if you were dealing with a simple site and didn’t need all the overhead of Drupal, and/or wanted the WP admin interface, which (for some things) is nicer looking & friendlier than Drupal’s.