Lazy weekend day. Not a lot of computer time. I’ve been thinking about information products, and how it might be fun / challenging / educational to create an ebook or technical screencast site, and what the content plan for such a thing might look like.
The Important of Being Prolific: The value of working fast and shipping more, vs toiling slowly and perfecting a smaller body of work.
How to Get Guaranteed Results in Anything: Never ship. The results are guaranteed – nothing.
Exploring Everyday Things with R and Ruby. Explore a wide range of questions by learning how to assemble, process, simulate, and analyze the available data. Looks like a cool book.
Bloom Filters: A very cool interactive visualization and explanation of how bloom filters work.
Data Stories: A podcast on data visualization. Latest episode interviews Jeff Heer, creator of 4 data visualization toolkits, including D3.
Comments Off on Lazy weekend day
So today I ran the best distance yet – 2.59 miles in 25 minutes, controlling for time. This was the third run of the month. I actually experienced a “runners high” for the first time, felt like I could just keep going. I also love using the Nike+ iPhone app, it’s so much more motivating when your competing against your previous time and knowing you’re improving.
I just discovered an awesome app for tracking cycling, and racing courses vs other people called Strava, so I’m psyched to try that too.
Workwise – I also worked through adding features, refactoring, and adding tests to a couple existing rails apps for clients. Steady improvement. No progress on internal product work this week.
This afternoon I went for the second time to the bouldering gym for an hour and a half. Just tried it for the first time a couple weeks ago. It might be my new favorite thing – its exercise, but it’s like a puzzle, using your spatial reasoning to figure out how to get to the top. It sounds and looks easier than it is in reality. I slightly twisted my ankle as well! Feels better now though. That would be awesome, make a bet to run every other day for a month and immobilize myself. We have an alternate plan – if this happens the injured will meditate for an hour instead.
If it sounds like I’m phoning it in this time, it’s because I am! Literally writing this entry from my phone at a bar an hour before deadline. I’m happier with some of the entries from this week more than others. This weekend I’m going to content plan and start drafting early for next week, and hopefully generate something useful for the outside world.
Comments Off on And I Ran
So, over the weekend, I ordered a solid state drive (SSD) and a hard drive enclosure from OWC – Other World Computing. (This might be very uninteresting to others, and that’s fine, but I’m going to rant about it because I’m annoyed.) I ordered it 2 day air, assuming it would arrive on Tuesday. It arrived today, Thursday. 4 day air. Ok fine, whatever. When it arrived, I excitedly dug into the package, like the nerd that I am.
The purpose of this SSD is to extend the life of my Late 2008 model MacBook Pro, because although I’d love a retina display MBP, I’d rather wait for the 13-inch model, or a MacBook Air with a retina. So for now, I can squeeze some extra speed out of this old puppy by dropping an SSD into it. The purpose of the enclosure is to simply transfer the data from my old hard drive to the new one. The enclosure (OWC Express) was only $15. And it worked for about 5 minutes. You get what you pay for. With Mac OS X Lion you can’t use Disk Utility to restore from the boot partition while its running in normal mode. You have to go into “safe” mode. To do that, you must reboot. So after rebooting, the enclosure became defective, because I now consistently get a message from the machine that says “Because a USB device was drawing too much power from your computer, one or more of your USB devices has been enabled.”
If you do some searching around the internet, like I thoroughly did, you’ll get various suggestions like resetting the Mac’s SMC or PRAM. I did this repeatedly, to no effect. No amount of reboots will revive this enclosure. The iPhone still works when plugged in, so I know it’s not the ports on the machine. And apparently these enclosures are known for this. I just don’t understand why a company would sell a known-to-be-defective product as part of a “kit” to upgrade hard drives.
I contacted OWC’s chat-based tech support, and after receiving being greeted by a support technician, I gave a very detailed description of the problem and asked for help. The person I was chatting with never said another word for 10 minutes. I assumed our connection had been lost and ended chat, tried to reconnect, but never got reconnected with another support technician. So much for support!
I went to the local Best Buy and found a powered enclosure for $50. I decided to try to save money and find a cheaper one elsewhere. I went to Staples and found a nice employee there who actually lent me a cable for free that he thought would fix it – a split USB cable that draws power from one USB port and transfers data over another. Drove home, and the cable doesn’t work, of course. I was sure it wouldn’t, but decided to try it anyway. I also tried plugging it into a powered USB hub, no luck there either. I’m thinking the error message is erroneous and that either the enclosure and/or the drive itself is fried. Long story short, a waste of a Thursday night! Rest assured I’ll be returning the defective junk. Better luck tomorrow.
Comments Off on Solid Waste of Time
It’s the 4th of July. I spent the morning getting some client work done, then getting my second run in for the month. 2.39 miles in 25 minutes. Getting faster! About to head out for the rest of the day.
Interesting things I’m thinking about when time permits:
Functional Reactive Programming or FRP: a programming paradigm for reactive programming using the building blocks of functional programming. Reactive programming itself is a paradigm oriented around data flows and the propogation of change. (Data binging anyone?) Data Flow is the idea that changing the value of a variable should automatically force recalculation of the values of variables which depend on it. Spreadsheets are the most widely used embodiment of data flow.
Session – Reinventing the REPL: I haven’t watched this whole talk yet, only the first half, but it’s about making a richer and more widely accessible REPL for Clojure and ClojureScript. The first half of the talk takes a look at the very advanced REPL within Mathematica. I’m now super curious about Mathematica and hoping to get some time to dig into it soon.
Comments Off on Happy 4th
In the world of software development, there are two similar goals that run somewhat opposed to each other. One is speed and ease of creating new software. It’s important to go fast and get things done. Another goal is code that’s simple to reason about and easy to maintain and extend. It’s very easy to quickly generate reams of code that basically works, but leaves behind a complex web of entangled logic. If you’d like to learn more about these two somewhat opposed ideas, and the characteristics of each, do yourself a favor and watch Rich Hickey’s talk Simple Made Easy. (There are two recordings of this talk. This is a more recent version given in March of 2012.) Once you watch it, wait a week and watch it again. Many have reported getting more out of it with repeated viewings.
What are the key components of maintainable software? One is code that is simple to reason about. Another is doing more with less. If solution A takes 20 lines and the functionally equivalent solution B takes 10, is solution B better? Possibly, unless it abstracts away the details to the point where if a second developer comes along, they cannot understand it.
Clojure is a relatively new language, created in 2008 by the previously mentioned Rich Hickey and designed with simplicity over ease in mind. It’s based on Lisp which is relatively old, but remains relevant. Clojure runs on the JVM and achieves near native-Java speed while leaving behind a lot of the cruft of the host language. It encourages (but doesn’t enforce) functional programming concepts. Everything distills down to functions that operate on data structures. Ideal functions are pure, free of side effects and simply transform data from one representation to another. Since side effects are still required to do something useful like output to the screen or write to disk, Clojure allows side effects. But they tend to be explicit. The core data structures in Clojure are immutable, which means once they are set, they do not change. This does not mean things must remain static. To make a change, you make a copy of the original data to a new location with the required change. Loops are declared using functional iterators and recursion instead of being constructed manually with counters.
It’s a different way of thinking. Those accustomed to imperative programming where variables can be set and changed at will, and object oriented design where object methods modify state will have some initial learning curve to get over before becoming truly productive. The side effect of learning these concepts is the ability to build software that is simple to reason about, and ready for concurrency, since data stored in memory does not change and can be accessed safely across threads.
At Open Source Bridge in Portland last week, I gave an introduction to using Clojure to build web apps, and the slides are below.
There are many resources on the web for Clojure and Lisp, and if you decide to pick it up, you’ll likely need to go over the ideas repeatedly and from a few different sources for it to really sink in. I think it’s worth it!
Comments Off on Closing Over Simplicity
So it’s 11:45pm, cutting it a bit close to the wire for day two of the July challenge. I had a long day and wasn’t able to sit down to write until about an hour ago. Tomorrow I plan to get started earlier.
A new wrinkle in the challenge has appeared: my friend Kevin Lynagh has proposed a wager to make things more interesting, and I’ve accepted. He’ll do the challenge as well – write every day and run three times a week for July. If either of us fails, we pay the other $500. Not only would I fail publicly and suffer the embarrassment, I’d also lose a significant chunk of change. Or 100 IPAs.
So today I ran for the first time in the fancy new shoes. I also used the Nike+ app to quantify and track my progress. 2.23 miles in 25 minutes, around the ol’ neighborhood. Not bad for the first in over a month. Feels great. Also helped a friend move this afternoon and played drums for an hour this evening, so all in all an active day.
2012 Midpoint Review
Now that it’s July, it’s a good time to review the past six months. This year I planned to go back to working for myself, and did so. In February I started Olio Apps, a company dedicated in part to web development consulting, and also in part to launching new products. The classic strategy. On the consulting side, I’ve got a steady stream of work coming in. On the product side, I’ve made good start/stop progress on a couple projects, and hope to get one of them out the door in the next month or so. I need to update the website, start a company blog, and a host of other things. I love the freedom to pick and choose which projects to work on, who to work with, and what technology is used.
I also planned to do some slow travel and working remotely with my girlfriend, and we successfully accomplished that earlier this year – staying a month in Hawaii and a month in Florida. It was a great experience in both instances. I now feel a basic freedom of movement. The trade off for this freedom is a small amount of additional stress. Figuring things out, securing plans for a place to stay and transportation, the additional expenses involved, finding someone to take care of the cat, and receiving important mail. Both places we stayed this spring were in the United States, so it’s still relatively easy. We’re considering going somewhere outside of the county next time.
I picked up Clojure, a very cool programming language based on Lisp and focused on simplicity. I’ve absorbed the functional programming dogma and have started preaching the good word to others. More on that soon as well.
So the goals for the rest of the year – continue to build on Olio Apps initial success. Refine the messaging and post an online portfolio. Launch a product that’s currently in the works. Possibly travel later in the fall. More tomorrow.
Comments Off on 2012 Midpoint Review
As a guy who’s fond of personal challenges and setting goals for myself, I started thinking about what the theme for July would be a couple weeks ago. I’ve decided to make July “improve personal communication” month, and to that end, I’m going to try to blog every day this month. Maybe it’ll become a habit, maybe I’ll fail after a week. But I’m going to give it a shot. Yesterday I sat down and brainstormed a bunch of ideas and content planned the first week. It’s going to be a mixture of personal, tech, business, music, travel, how-tos, and whatever else comes up.
I’m also going to incorporate one fitness goal into this month: start running again! Not that I’ve ever been a huge runner, but I get into it now and then. While I was in Hawaii, the weather was so nice and there was a marsh near the house with a long running trail, and it was so easy to just go out for a couple miles. The beaches in both Hawaii and Florida were also great places to run.
Once I got back to Portland, I planned to get running shoes at some point. And then a month passed! So today I went to Portland Running Company, where they really took the time to help me out and had me try on like 4 pairs of shoes. After checking my stride, they said I’m a slight over pronator, which is normal for runners with low arches. Pronation is where the foot rolls inward after the heel strikes the ground. About 15 degrees of roll is normal. More than that and you’re over pronating. Less than that, you guessed it – under pronating. So, you get shoes which help compensate for that. The shoes I bought (“Brooks” is the brand) felt awesome at the store, massive improvement over what I had been running with. Feels like I’m just gliding over the ground. Tomorrow I’ll give them the field test.
The dude at the shoe store suggested running every other day to get back into it, and try to aim for time, not distance, so that’s what I’ll do. 25 minutes every other day.
But I haven’t gone running yet, instead this evening I went on a 15 mile bike ride around the Portland waterfront, down the springwater corridor and back. We also stopped by the Doug Fir Lounge for “Pickin’ on Sundays” on the Back Patio. NodeConf is starting tomorrow at the Jupiter Hotel here, and though I don’t have a ticket to this one, it was funny to see the telltale signs of a tech conference underway – dudes sitting around staring at Mac laptops in the bar / lounge area. Normal at a coffee shop, not an everyday occurance at the Doug Fir. Having just gone to and presented at Open Source Bridge last week, I’m all nerd-conferenced out at the moment, so I’m fine with not going to NodeConf. Might stop by the evening parties though.
Other goals for July: Go camping atleast once. Bike to Hood River and back with a group. Possibly combine the previous two things. Fix some issues with my FL house and my car. Do lots and lots of client work. And not fail to post every day. Until tomorrow…
When I last wrote, it was the beginning of February and I’d just finished my January challenge of dietary restrictions. It’s now mid May, and of course, much has changed!
On February 10th, I left my full time job at Jive Software to start a new company, Olio Apps, a software development and consulting firm, with a focus on mobile, social, and web apps. There are many challenges that go along with starting a new company – getting all of the paperwork in place, setting up systems for accounting and time tracking, getting booked up with work, and generally getting acclimated with juggling many more balls at once than an employee at a mid-size firm has to deal with. It’s been challenging, and I love it.
Along with that, my girlfriend and I have been achieving our goal of traveling slowly – living and working in one place for a month at a time. In late February we travelled to Oahu Hawaii and lived there for a month, staying with some family/friends who recently moved there, working on our laptops during the weekdays, and exploring Oahu on the nights and weekends. A month is a long time, and it’s quite a different experience than a shorter trip. It’s not quite like a vacation, since we’re still working. We’re also cooking meals, doing laundry, paying bills, visiting friends, and doing all of the other things you do over the course of a month. There is enough time to explore most of an area, and even go back and revisit favorites.
After Hawaii, we came back to Portland, travelled to Scottsdale Arizona for a few days to attend a conference (JSConf), came back to Portland for a couple weeks, and then flew to Florida for a month, where we are now. Why Florida? For one it’s where I grew up, and much of my family still resides here. Living in Portland, I don’t get much chance to see family and old friends that much, except electronically through email and Facebook, and that doesn’t always cut it. Secondly, being a native of Florida, I start to go a little nuts in the spring time in Portland, when it generally stays cold and rainy a bit longer than the rest of the country. All that has made me wonder over the past couple years – “wouldn’t it be nice to go live in Florida for a bit in the spring?” So, this year I managed to do it.
Has it been worth it? Absolutely. When I lived in Florida permanently, I lived about 45 minutes from the beach. For this trip we got a place a couple minutes from the beach. It’s quite a different experience, and we have a routine of having a nightly evening walk or run on the beach at sunset, which does wonders for decompressing from a day of work. We’ve also managed to squeeze in a lot of time with friends and family, checked out a lot of new places to eat, drink, and get coffee that didn’t exist before, and even attended a couple great concerts – Beach House in Orlando, and a reunion show for a local band I used to look up to and admire, Spiller.
We’re here for a few more days, and I’m excited to get back to Portland, be in my own space, see Portland friends, start playing music again, be closer to work colleagues, and generally enjoy all that Portland has to offer. So yeah, travel works. Energy renewed.
I have more to say, but lets not blow it all in one giant post eh? Stay tuned for the next post, “Just Ship It”, about writing, recording, and mixing a new song in one day.
Comments Off on Working to Live, Traveling Slow
January is over, which means the challenge is complete!
Over the holidays I was inspired by the coming new year and made up a few rules to impose on myself for a month. Why? To see what I could accomplish in a month, instead of a longer term, unrealistic resolution. It was a test of willpower and a forced break in habits. The challenge was to eat out only once a week, be vegetarian except the occasional fish, drink no alcohol, consume less sugar, stay away from coffee and drink tea instead, and stop all recreational internet surfing.
How did it go? Overall, quite well. The first week was the hardest – I’d developed a habit of going out to eat nearly all the time, and having a drink or two a few times a week. Changing that habit was tough at first. Humans develop grooves, like records, and you can go outside those grooves for a couple days, but you naturally fall back into your old way, and it was hard not to. By the second week I was more used to it, and by the third and forth it became normal.
For example – I’ve been drinking tea this past month instead of coffee. My morning routine now is to go fix myself a cup of tea, and when I arrived at work this morning, I just automatically made tea without thinking about it. Then I realized “hey! I can drink coffee! I’ll get a latte later!” but I never made it to the coffee shop. No guarantees for tomorrow.
- Eating out once a week: B, I stuck to this for breakfast and dinner, but I made a few exceptions to go out to lunch with co-workers, and forgot to bring it a couple other times. On the eating at home front, each week we sat down and developed a meal plan, and bought all of our groceries in one shot. Gotta give my girlfriend a lot of the credit for this. It worked amazingly well, the food was never boring, and we made some amazing dishes. My cooking repertoire has expanded quite a bit, and cooking is no longer a rare event, its the default.
- No meat except fish once a week: A, I ate no beef, pork or poultry in January. We made some very tasty meals, mostly vegetarian, and a few with fish.
- no alcohol: A – This was challenging, but doable. This despite my work having a scotch tasting party. I’m used to drinking casually a couple times a week. Glad to not have this restriction anymore, but I do feel a bit less obligated to buy a drink when I go out now.
- no excess sugar: B – I don’t drink soda, but I do love desserts. I mostly stayed away, but I did have a cupcake.
- no coffee: A – Stayed off the sauce. Had a headache the first few days but then got back to normal. This was part of what made week #1 hard. But this has been great, I need less caffeine now, and I drink more tea than coffee.
- no recreational internet: B – I stayed off Facebook except to check my messages a couple times, snuck a few glances at Twitter, and mostly stayed away from the various news and tech sites I tend to frequent. Not being able to read internet news, I started to read more “offline” materials again, like books. Crazy talk. Towards the second half of the month I started checking sites I go to again, but with less frequency. It’s hard not to when you work on a computer all day.
Overall I’ve started a few good habits – especially the meal planning bit. Cutting back on things you normally do makes space for new kinds of experiences to happen.
It’s January 1st, 2012! According to some wackos, this might be the year the world ends. It probably won’t, since from the beginning of mankind there have been countless predictions of the end of the world and so far they’ve all been wrong, so I’m gonna guess this year follows that pattern. On the off chance that they’re right, or that it might be my last year personally, I’ve decided to make it count. This year will be my “year of hustle“, as shall soon be further detailed.
It’s the season for resolutions and fresh starts, so in that spirit, one of the first things I’m doing is a “cleanse” of my own design for the month of January. I’m actually calling this cleanse a “challenge” since that sounds more fun and I enjoy challenges. This challenge isn’t forever. No new years resolution of “from now on, I’ll never _____ again!” because that’s unrealistic and doomed to fail. This is a rational one month challenge that any person with self control ought to be able to achieve.
The challenge includes
- No eating out (more than once a week)
- No meat (fish is allowed once a week)
- No excess sugar
- No alcohol
- No coffee
- No recreational internet
I got this idea from an article I read online called the “Argon Challenge“, where a guy who goes by the name of Argon takes an even more extreme approach than what I outline here, eliminating many other things I have not listed. He’s been doing it for years, and each year he adds another element to his challenge. This is my first year, so I’m starting from a different place. I’ll call it the Becker Challenge.
Feel free to play along. My girlfriend has decided to do most of this along with me, which makes things easier, as we’ll both be helping to motivate the other and cook meals together. She’s foregoing the recreational internet challenge, as she actually has to use Facebook and Twitter as part of her job. This is comforting, since if something actually important happens to scroll past Facebook she can be my liaison to the social web through which I can communicate for the month.
To go into a bit more detail:
No eating out
My girlfriend and I have become a little shall we say, “dependent” on restaurants, food carts, and drive throughs for about 80% of our dietary needs. One could argue this is primarily my influence, being the lazier of the two in the kitchen, but she loves to try new places and eat out, so it’s a perfect storm. This is a) expensive, and b) not so healthy. Food at restaurants is generally very rich and fatty, to maximize the deliciousness, which is understandable. I want to challenge myself to pay better attention to what I eat and take more responsibility for being healthy. There’s no better way to do this than making your own food. It’s a skill I obtained as a teenager working as a food prep in the kitchens of various restaurants, but slowly neglected over time since leaving the food service industry. I hope to regain and hone my chef skills this month and add a few new recipes to my limited repertoire. My girlfriend’s pro kitchen skills will ease the transition a bit, but doing this the entire month might get a bit extreme, so we’ll have one restaurant outing a week as a reward for our cook-at-home / eat-healthy efforts.
I once challenged myself to be vegetarian, in order to eat healthier, and also just to see if I had the willpower. Turns out I do. I lasted a year. Eventually I gave in to my cravings for chicken and fish, and then the flood gates opened and I was back to eating burgers, steak, bacon, and anything else from the animal kingdom that found its way on to my plate. I am most definitely an omnivore, but that year taught me a few things. A) If you’re only eating vegetables, you’re going to eat ALL your vegetables, because you need sustenance and a feeling of “fullness”, and anything on your plate that counts as food will be eaten in order to get closer to that aim. B) Vegetarian dishes can be way more colorful, creative, spicy, and delicious than your typical meat and potatoes dish. To be vegetarian is to buck the status quo, and force yourself to think outside the box. That alone is worth doing for a month, to force yourself to think different.
No excess sugar
Refined sugar makes things taste sweeter, and provides a quick energy and mood boost. The problem is it provides an equally fast energy and mood crash. I’m not much of a sugar addict now. I don’t drink soda, but I love chocolate, such as an occasional cafe mocha or chocolate chip cookie. I’m stepping off the sweets train for the month. This should help level out my moods and allow me to sleep better.
I live in Portland Oregon, which has a thousand awesome drinking establishments, which I quite enjoy. I don’t drink to excess on any particular night, typically having a max of two drinks, but I estimate I’ve had at least one drink per day for probably 75% of last year. I don’t have a highly addictive personality, and I don’t drink at home alone, only socially with friends, or sharing a couple glasses of wine with my girlfriend. I don’t think I have an alcohol problem. But I’m curious to see what happens. If I eliminate it for a month, will I crave it? Will I not miss it at all? Sometimes you don’t know if you’ve become dependent on something until its gone.
There’s no question with this one. I have a coffee dependency. In the last few years I’ve gone from drinking 0-1 cups of coffee a day to 3-4, refilling at breakfast a few times, or getting a late afternoon latte. Many of these being outings to Portland’s numerous amazing coffee shops. I can’t get enough of that delicious espresso. Like sugar, coffee gives us an energy boost and corresponding crash. I’m not going to strictly cut out caffeine though, just minimize it. I’m allowing myself 1-2 cups of black tea a day. This is to ease off the caffeine, without causing headaches. I’ll need to drink twice as much tea to get the same effect as a cup of coffee. This too should help the sleep cycle.
No recreational internet
This one is huge. I have a slight internet addiction. As a software engineer, I work on the internet every day, and I need it to search for solutions to issues and questions that come up, but in between those times, I’ve allowed myself quite a bit of free reign to read interesting articles, blog posts, friend’s updates on Facebook and Twitter, and other things that aren’t really contributing to my productivity. It’s become my substitute for TV, which I don’t watch, but this is just as bad as channel surfing. It is a muscle memory reflex I do without thinking whenever I start getting bored. I love Hacker News, and there’s tons of good information on there, but there comes a time when you need to stop consuming and start producing. The internet is a two-way communication medium, so this month I’m focusing on trying to produce more and consume less. After this month I’ll resume reading blogs and social networking sites, and hopefully find a more healthy balance.
That about wraps it up. I’m already experiencing the positive benefits of this challenge. We made our own breakfast today, planned our meals and shopped for groceries for the week. Normally I would have then hopped on the internet and read a bunch of blogs and news sites. Instead of surfing the internet, I freed up the time in order to write this blog post. I’ll update as we go along, and announce a few other things happening soon as well.
Comments Off on A Fresh Start and a One Month Challenge