-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (88 loc) · 7.87 KB
/
Copy pathindex.html
File metadata and controls
122 lines (88 loc) · 7.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="en-us" http-equiv="Content-Language" />
<meta content="The online writing of Anthony Bull" name="description" />
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="/css/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
<title>Anthony Bull — Online Writing</title>
</head>
<body>
<header>
<h1 id="title">
The Bull Og
</h1>
<h2 id="subtitle">
Online since 1994. Offline since 1976.
</h2>
<h3>
See also the <a href="/archive.html" title="Archive">archive</a>
</h3>
</header>
<div id="wrapper">
<h2 id="intro">The five most recent posts.</h2>
<div class="post">
<h2 id='getting_a_fitbit'>Getting a Fitbit</h2>
<p>Back in 2006, my wife came up with an idea for her Master’s thesis around the concept of a <a href='http://dl.acm.org/citation.cfm?id=1125797'>gamified pedometer</a> and “tackled the challenge of motivating people <span>…</span> to exercise more <span>using</span> a device which encourages physical activity of its users in an entertaining way and reinforces positive exercise habits.” Here I am in 2014; considering getting a Fitbit (a little pre-Christmas gift to myself?)</p>
<p>Which one should I get?</p>
<h3 id='making_a_choice'>Making a Choice</h3>
<p>As I scan the <a href='http://www.fitbit.com/compare'>Fitbit website</a>, it’s obivous I need to figure out what my main Use Case is going to be.</p>
<p>Checking out the <a href='http://www.fitbit.com/chargehr'>Charge HR</a>, I’m reminded of a time years ago when I used something very similar: my Timex Ironman Triathlon heart-rate monitor! Wondering where it was, I dug around in my belongings and sure enough, I found it (albeit dusty):</p>
<p><img alt='Timex Ironman Triathlon' src='./images/photos/timex_ironman.jpg' /></p>
<p>Wow; not sure how long ago I got that. I think I was living in Vienna, so it’s at least eight years old. I could have sworn I got it shipped to me via Amazon but I don’t see it listed anywhere in my last 12 years (12!) of order history with them, so I must have picked it up there at some brick-and-mortar store.</p>
<p>Anyways, the Charge HR isn’t even available yet and judging by how much dust the Timex has collected in the last five years, maybe that’s not the best model for me right now.</p>
<p>The <a href='http://www.fitbit.com/surge'>Surge</a> looks like it does everything under the sun. “Music Control” - very intriguing. One problem; also not yet available.</p>
<p>While comparing the wearable models, I came across the <a href='http://www.fitbit.com/aria'>Aria</a> and wonder how it compares with the <a href='http://www.withings.com/us/smart-body-analyzer.html'>Withings scale</a>. I bet the value-add is how well it integrates within the Fitbit ecosystem.</p>
<p>I’m a little hesitant to even consider any of the timepiece models as a replacement for the <a href='http://www.skagen.com/us/en/products/grenen-mens-steel-mesh-and-titanium-case-watch-pdp233lttmp.html'>beautiful watch</a> my wife got me for my birthday years ago, so that rules out the Charge, Charge HR, and the Surge and really only leaves the Zip, One, and Flex.</p>
<p>I’ve been waking up fairly early recently so I definitely think it would be helpful to have a model that tracks my sleep habits, eliminating the Zip.</p>
<h3 id='conclusion'>Conclusion</h3>
<p>Between the One and the Flex, I think I’m going to go with the <a href='http://www.fitbit.com/one'>One</a>. I really don’t want to wear a second item on my wrist in addition to my watch so the One it is.</p>
<p class="signoff">
—<a href="/2014/12/10/getting-a-fitbit.html">Dec 10, 2014</a>
</p>
</div>
<div class="post">
<p>I’ve seen this error a number of times:</p>
<p><code>Cannot perform operations on a Metamorph that is not in the DOM</code></p>
<p>… and I’ll admit, I’ve not known exactly what a Metamorph is but for the most part, I can usually remember whatever it was that I just did that caused the error, undo, and find a different way.</p>
<p>Today, the thought crossed my mind: “What <em>is</em> a Metamorph?” and that’s when I went digging.</p>
<p>I knew from having seen the “metamorph-#-start/end” references in script tags that it was part of the magic that makes Ember.js bindings work, but I didn’t know exactly where it came from.</p>
<p>Suprisingly, I couldn’t find any search results answering the question. It was only after digging through some stackoverflow answers that my curiosity was satisfied when I found <a href='https://github.com/tomhuda/metamorph.js/'>this</a>.</p>
<p class="signoff">
—<a href="/what-is-a-metamorph/index.html">Oct 29, 2012</a>
</p>
</div>
<div class="post">
<p><strong>tl;dr : Capybara with phantomjs is the fastest solution around</strong></p>
<p>Years ago, I loved <a href='http://seleniumhq.org/'>Selenium</a> for everything it made possible, particularly for the <a href='https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/'>Firefox plugin</a> that made it so easy to script-record a user acceptance test and dump it for automation.</p>
<p>Over the years, I have done my fair share of futzing around with Selenium, and when I took a look at <a href='https://github.com/FrozenCanuck/Lebowski'>Lebowski</a> a few months ago, I thought I had found a silver bullet. It’s really a clean solution for managing everything around acceptance testing, that is, if you’re going to use Selenium.</p>
<p>Today, my solution of choice is <a href='https://github.com/jnicklas/capybara'>Capybara</a> with <a href='http://phantomjs.org/'>PhantomJS</a>/<a href='https://github.com/jonleighton/poltergeist'>poltergeist</a></p>
<p>So far, Capybara’s DSL is so clean and robust for programmatically defining any user action I’ve come up with. I don’t have any benchmarks to share at this time for vanilla-Capybara tests vs. Capybara w/headless JS (poltergeist) but suffice it to say, I spend noticably less time at the command line.</p>
<p>More to come on how to (acceptance) test your Ember.js apps using Capybara/poltergeist.</p>
<p class="signoff">
—<a href="/acceptance-testing-primer-for-emberjs/index.html">Oct 15, 2012</a>
</p>
</div>
<div class="post">
<p>Get started with #emberjs and #yeoman with a simple “yeoman init ember-starter”</p>
<p class="signoff">
—<a href="/emberjs-with-yeoman/index.html">Sep 10, 2012</a>
</p>
</div>
<div class="post">
<p>I finally brought <a href='https://github.com/inkredabull/resumatic'>Resumatic</a> into the 21st century; it’s now a Rails 3.2.0 app.</p>
<p>While I originally intended to go <a href='http://railscasts.com/episodes/225-upgrading-to-rails-3-part-1'>step-by-step</a>, whereby I was going to wrap the app with some regression tests, upgrade, run the tests to prove I didn’t (or did) break something, and then be happy, I soon tired of that given the many dependencies (RSpec, rvm, Rails, etc.)</p>
<p>Given the size of the app, I just decided to get a fresh gemset, install Rails 3.2.0, create a new container project via ‘new’, and then copy all the necessary files from the Rails 2 version in to the Rails 3 container, tweaking wherever new syntax was required.</p>
<p>Someday I’ll add tests…</p>
<p class="signoff">
—<a href="/resumatic-is-now-rails3-based/index.html">Jul 23, 2012</a>
</p>
</div>
<footer id="footer">
<a href="/" title="Home">Home</a> •
<a href="/archive.html" title="Archived writing">Archive</a>
</footer>
</div>
</body>
</html>