News and Musings login
[1] << Back 681 682 683 684  Next >> [789]
de-nesting functions in JavaScript posted: Wed 2013-06-19 20:49:44 tags: tech
Still wrestling with resolution of contingent AJAX calls in jQuery. Along the way I got some bright ideas about abstracting some of the "anonymous" functions littering my JavaScript. Functions are objects in JS, and the language lets you instantiate function objects in-place, anywhere another language structure takes a function as a parameter. Before we continue, consider the code: setTimeout(alert("hello"),5000); Now, alert() is not "anonymous", of course; it's a predefined named JavaScript functio... (...more)
man without plan posted: Wed 2013-06-19 16:08:01 tags: faith
If you spend any time investigating faith, you will encounter the concept of "God's plan". Evangelists (e.g. Joel Osteen, Rick Warren, Jamal Bryant) speak of God's plan, not as a hypothetical, but matter-of-factly. Usually the implication is that God's plan is quite specific and detailed. Bryant in particular has been attributed with the sentiment, "If things aren't going according to plan, then it wasn't God's plan". By this logic, if you're a serial killer and your serial killing is going according to pl... (...more)
chickpea biscuit alpha 2 posted: Mon 2013-06-17 21:29:34 tags: what I'm eating
tl;dr - a little egg helps a bind a little. I tracked down the Bisquick instructions for pancake mix for cross-reference: 2 cups dry Bisquick : 2 eggs : 1 cup milk On the rough guess that 2 cups of mush is about 1 cup of dry chickpea solids, I measured out 2 of the remaining 3 cups of chickpea mush and stirred in a couple spoons of green pesto, and an egg, and some salt, and finally, a couple teaspoons baking powder. In hindsight, I think I overestimated the mush:egg ratio; it should probably be ... (...more)
chickpea biscuit alpha posted: Sun 2013-06-16 22:41:16 tags: what I'm eating
tl;dr - chickpea mush, oil and baking powder doth not a bread make. A couple days ago I proper cooked the bag of chickpeas I'd soaked previously. They visibly expanded, which is a good sign. All that remained was to blenderize them to a paste and figure out how much baking powder to add, and plop the resulting dough in a pan with some olive oil and see what I end up with. How much baking powder? Better question to begin with: how much chickpeas? 1 bag of dry chickpeas makes a bit over 4 cups cooked. ... (...more)
Got and cooked down ground turkey last night. I needed cheese slices for scramble dog wraps so on a hunch I grabbed a package of Dutch Farms sharp cheddar slices at Western Beef, because it looked like about the same protein-per-calorie ratio and maybe cheaper than my usual Sargento XS cheddar clices. And I was right on both counts: same nutrition, 60 cents cheaper. I thought the pretzel-bread-turkey-bacon-cheese Lean Pockets were 14g protein per pocket. Recently they changed the package art a bit, and ... (...more)