Month 3 of my 12 month challenge is in the books. This time, I had challenged myself to do some more writing and to write 1 thoughtful blog post per week during the month of March. And, although I can’t say that I successfully wrote 4 posts over the course of the month, I did decide to move ahead with a new blog dedicated to educating parents on technology. You can check it out at geekinthefamily.com. I have written 2 posts and have a 3rd one nearly complete so , I would say between the time it took to set up the site and write the posts I’d have to call this one a success.
Despite the fact that my March goal did not go as well as planned, I still firmly believe in my approach of setting a single goal per month that is measurable and attainable. One of the things I’ve read a lot is that making writing part of your routine can have many positive impacts. So, for March’s goal, I’d like to do some writing. I’m going to try to write 1 well-thought out blog post per week for the entire month. I’m not sure what these posts will be yet, but i want them to be thoughtful and well-written.
Well, month 2 of my 12 goals challenge for 2016 has come and gone and unfortunately I can’t say I had the same success this month as I did in January. If you recall, the goal was to lose 5 lbs. Well, I weighed in today and my weight is pretty much identical to what it was when I started 4 weeks ago.
For whatever reason I just had a really tough time getting motivated for this one. I did make an effort to hit the gym more this month but I was never able to get into a habit going. I also had a hard time following through with the dietary restrictions I had in mind. I also think the goal itself may have been too generic. I may have been much better off trying something like “go to the gym 3 times a week” or “brown bag my lunch 4 days a week”. In fact, it’s very likely that an upcoming goal will look very similar to one of these because although this go around did not work out as planned, I certainly am not giving up on better health!
Month 1 of my 12 goals experiment is in the books and it was a big success. Time to make a goal for February. I’ve been thinking a lot about how I should select my goals and what kinds of goals I want to achieve. I’ve decided that I should consider not just setting goals that are good for me (exercise, flossing, etc.) but also goals that are just things that I’ve always wanted to do but never seem to get around to it. I have an ongoing list of both types of goals and I think I’m going to try to do 2 goals that are not necessarily fun and then 1 “fun” goal as a reward of sorts. So, since I did a not fun goal last month I need to do 1 more before I can shoot for a fun one.
Like most people, I’ve got a few extra pounds that are hanging around that I could stand to lose (I’m not an overweight person by any means but It would be nice if my jeans weren’t quite as snug). I knew that this month I wanted to do a fitness/exercise/diet goal but I wasn’t too keen on doing something like “go to the gym 3 days a week” or something like that just because if felt a little too much like my last goal where I had to do something every day. So, I decided to see if I could combine the fitness/diet goals into one. This may turn out to be a mistake but we’ll just have to see. My goal this month is to lose 5 lbs. That is enough in my opinion. It should be attainable without being burdensome which is sort of the point of this whole endeavor.
I weighed myself this morning
Starting Weight: 169 lbs.
Target Weight: 164 lbs.
Stretch Goal : 160 lbs.
Now that January is complete it’s time for final update on my first goal of the year. If you read the initial post you’ll know that I’m trying somthing new with my 2016 resolutions and instead of making some generic, unmeasurable statments about improving myself, I’ve decided to break it down into 12 specifc goals, one for each month. I’ll be writing about my progress here. I decided to start with a fairly simple goal for the first month - flossing. I wanted to turn flossing into a daily habit so I wanted to floss every single day in January. I even set up a twitter account to track the progress.
I have to say that this first goal was a roaring success. I may have slacked off on updating the twitter feed toward the end of the month but I did not slack off on the flossing. I can recall missing maybe 1 or 2 days during the month but I think 29 out of 31 days is pretty solid. It’s still something I have to consciously remember to do (it hasn’t quite become a habit yet). So, I’m going to have to keep it going but I’m hoping that after a few more weeks it will become engrained in my daily routine which, of course, is the ultimate goal.
So, I’ve managed to keep up with flossing my teeth every day for a month. Do I see any positive results? How do I feel about it? First of all, making flossing a regular habit is something I’ve tried countless times in the past without success. So, this feels pretty darn good to have acheived even if it is a fairly simple thing. Validation that this idea has got some legs for sure. Also, I have to say that my teeth feel REALLY clean. Now, to be fair, this could just be because I’m more conscious of how they feel because of this experiment but regardless, they do feel cleaner. I also noticed, within the first week, that my gums were no longer bleeding after flossing which can’t be a bad thing. The real validation will be at my next dental visit when they ask that good ol’ “Hows the flossing going?” question.
In my last post I talked about the reasons that I’ve decided to move away from Wordpress toward a static site generator called Hexo. In this post I’m going to go into some detail about how Hexo works and discuss some pros and cons.
In a nutshell, Hexo uses NodeJS to convert a number of configuration files, template files, and content files (written in markdown) into a static HTML website. If you’re interested in getting started you can find information in the Hexo documentation.
Because there is no database or admin panel like there is in other content management systems, working with Hexo really requires the use of a source control tool like git. Once you get all of your files into git your workflow is very straight forward. You can create a new post with a simple command:
$ hexo new my-post-title
This creates a new markdown file in the source/_posts folder. Simply open this file in your favorite text editor and get writing. You can add a title, tags, and categories at the top of the file. When you’re ready to see what your post looks like on the site you can run it locally with the command:
$ hexo server
This will spin up a local web server at localhost:4000 where you can view your site in real-time. Once your post is up to snuff, you can run the hexo generate command:
$ hexo generate
This will create your HTML website. It’s then a simple matter of publishing the generated site to your webserver. There are built-in deployment commands that can publish your site automatically but I’ve had mixed results trying to deploy in this way.
One area that I haven’t spent too much time playing around with yet is themes. There are a number of themes available for download on the Hexo themes page but I have yet to dive into creating my own theme as of yet. There’s a good chance that I will do that in the future and I’ll be sure to post about the process.
- No database or server-side code to deal with!
- The resulting site is very light-weight and blazing fast (remember, there are no server-side calls or database table look-ups, just raw HTML)
- The entire site can be managed within a text editor
- No security concerns
- No updates that can break your site
- No wysiwyg editor for managing content (although there are plugins that provide this functionality)
- Requires more technical know-how in order to manage your site
- Dependency on Disqus for comments
- Built-in deployment is hit or miss
We’ve been working with Wordpress a lot lately over at Solar Sail. A lot of our clients are interested in implementing a content management system to make it easier for them to update the content on their websites. Over the years Wordpress has become the big man on campus in the world of content management systems so it is often requested by name. The problem is that our clients don’t tend to have huge budgets that allow us to bring in a designer to create a custom design for them. Instead, what we tend to do is go out and find a free or inexpensive theme that they like and then “tweak” it for our needs. Often, these themes are purchaed from a theme shop such as Theme Forest. And, although they always look nice on the surface they tend to be absolute nightmares to work with. These theme developers go out of their way to make things as difficult as possible to modify. I don’t know how many times I’ve been trying to do something as simple as change the background color of a div so I take a look at the source code and see this:
<div style="background-color: #FFF !Important;">Awesome Content!</div>
So much for modifying the CSS…and of course this HTML is nowhere to be found in any template file. No, no, it’s being generated by Wordpress so it’s time to start wading through what can be literally hundreds of php functions trying to find the one that creates this code. It’s just a horrible experience.
This isn’t my only problem with Wordpress. It has gotten seriously bloated over the years. The wordpress core files along with a theme and a handful of plugins can easily be thousands of files and be gigabytes in size. Not to mention the MySQL database that needs to go along for the ride. Now, if you’re managing a large site and you’re using WooCommerce or somethign similar for ecommerce on your Wordpress site than maybe all of this is necessary. But, if you’re running a blog or small-scale site do you really need to be managing all of those files. Not only that, but Wordpress is constantly needing to be updated to account for all of the security vulnerabilites.
So, what are the alternatives? Are other content management systems better? Joomla! maybe? Or Drupal? No, these platforms all suffer from the same problems in my opinion. I really started to think that maybe the best thing to do is just manage static HTML files in a source control system. I mean, I know HTML, it would be no problem for me to edit posts and pages directly as opposed to the wysiwyg editor that comes with Wordpress. But there are problems with this approach of course. First of all, Wordpress provides a lot of functionality that you may take for granted such as categories, tagging, comments, archives, and friendly URLs. Although the HTML files themselves would not be hard for me to manage, this other stuff would be very difficult.
I began doing some research and came across the concept of a static site generator. This was something new to me but as I read more I realized how much sense it makes! Without server-side code and databases you are virtually eliminating security vulnerabilites. Not to mention the fact that you are streamlining your entire development and maintenance workflows down to editing a bunch of text files. After dealing with Wordpress and all the complexities that come along with it, the idea of going back to basics really intrigued me. So, I did some research and came across staticgen.com. This site lists all of the most popular site generators available today. I took a look at a few of them and finally settled on Hexo because it was blog-focused and a blog is exactly what I was looking to build.
In the next post I’ll go over how Hexo works and talk about some of its pros and cons.
Next: Working with Hexo
2 weeks ago I wrote a post about how I’m taking a different approach to my new year’s resolutions this year by focusing on one goal per month. I decided to go with something fairly straight forward and attainable for the first month: daily flossing. It’s been 2 weeks since I started so it’s time for an update. So far, I’ve managed to keep up the routine every day but it’s still something I have to consciously think about doing each night. The hope is that by the end of the month it will be a habit that I don’t have to think twice about.
In Off To Be The Wizard author Scott Meyer tells the story of Martin, a regular guy living a regular life who discovers a hidden file on the Internet that controls the entire world. A simple edit to the file can teleport Martin to new locations, send him back in time, or even fill his bank account. This last one gets Martin in a little bit of hot water with the authorities so he decides that the obvious solution is to go back to medieval England and become a wizard. Little does Martin know that not only is he not the first person to find this file but he’s also not the only one to think it might be a good idea to go back in time in order to use the files powers to be the next Merlin. Martin soon meets a wide variety of colorful characters who ultimately need to team up to defeat a Rouge wizard who is using the file to violate the natural order of things.
Despite the very far-fetched plot line, I found Off To Be The Wizard to be a very entertaining read. The story is fast paced with just enough action and humor to keep you turning pages. The humor in the book leans heavily on geek culture and the book is clearly geared towards readers who are self-described “geeks.” Meyer uses a lot of computer vernacular when describing how the wizards interact with the file that may be a turn-off to anyone who isn’t very computer literate.
On the character front, Off To Be The Wizard is really dominated by the the wizards themselves and their interactions with each other. There is really only one or two scenes in which the wizards have any lengthy interaction with the common folk of medieval England. This doesn’t really pose a problem since much of the story revolves around Martin coming to grips with his new found power and the community of wizards he is trying to become a part of. I’m interested to see if Meyer takes the story in a different direction in the second book of the series.
Off To Be The Wizard is not without its flaws. As I mentioned before, the plot line is very far-fetched. There is only a brief discussion of the implications of time-travel. The changes that the characters make in the past have no effect on their future. However, they really don’t get into how the changes will impact some other future. Meyer is hoping you don’t spend too much time thinking about the paradoxes that his world produces. There is also the matter of how all these wizards end up going back to the exact same time in history. This is discussed briefly but seems like another area where the author is just hoping you suspend your disbelief.
In conclusion, if you are a self-described geek who enjoys computers, time travel paradoxes, and fantasy then I think you’re going to enjoy the first novel in Scott Meyer’s Wizard 2.0 series. If you find any of these things boring you may want to stay away.
Buy Off To Be The Wizard from Amazon
Well, It’s the beginning of a new year yet again. The time when we look back at the crater-pocked wasteland that was the last 12 months and wonder “what the heck just happened?” We declare in that moment that we’re going to make some changes or “resolutions”. Maybe we’re going to eat better or lose a few pounds or start writing that novel we’ve always wanted to write. The problem is that 2 or 3 weeks later the gyms are empty, the fast food joints are hopping again and the keyboard is collecting dust.
Usually, these goals are very generic and difficult to quantify which usually leads to failure. That’s why this year I’m trying something a little different. Instead of making some year-long, generic resolutions I’m going to make 12 1-month commitments that are quantifiable and maintainable. I’m not sure what all of the goals are going to be yet (I have a list that I’ll pull from each month) The ultimate goal is that I’ll achieve each of my 12 goals throughout the year but one of the nice side-effects of this approach is that even if I’m only successful in 25% of my goals that’s still 4 successes. I’m hoping to report on the progress of each goal about halfway through and then again at the end of each month where I’ll decide if I was successful or not and decide on the next months goal.
I’m hoping that early successes will build some momentum so I’m going to start with something very simple: Flossing. You know, that thing that you’re always lying to your dentist about? Well, my goal for January is to make flossing a daily ritual. I’ve even set up a twitter account @Did_I_Floss where I’ll be posting to each time I floss so you can follow along at home. My home is that if I can keep it up for 4 weeks that it will just become part of my daily ritual.
Check back in 2 weeks when I’ll hopefully be telling you how clean my teeth are…