Friday, February 7, 2014

How to make a delicious protein bar that tastes like a cookie.

Despite my excessive milk drinking (~2+ gallons/wk) I often crave additional protein, even after meat-rich meals. I've found a few protein bars recently that are quite tasty, but they all seem to retain that factory-fresh-oh,no,wait-preserved aftertaste to accompany the long list of chemical ingredients.

I realize I often satisfy off-hour snack/protein needs with an assembled medley of ingredients (e.g. nuts, dried fruit, oatmeal, aforementioned protein bars), none of which seem adequate alone. The closest I've found to a satisfying protein/snack bar, is Sparrow Market's everything but the kitchen sink cookie (oatmeal, nuts, fruit, chocolate, yum).

So I've been toying with the idea of making a soylent-esque food bar.

Today's attempt produced such a delicious product that I thought I'd share the recipe. It still needs a lot of work to increase the nutrition content, but it tastes as good as a cookie and uses very little sugar and no flour. Let me know if you have suggestions for the next iteration.

Madacipeb
(mad-aw-CHEE-peb)
mighty and delicious, almost cookie-like, irresistible protein enhanced bar

[Mission Statement]
To create a delicious, healthy (nutritionally balanced; low: sugar/simple carbs, high: ORAC, omega-3, & fiber) snack bar that's easy/fast and relatively cheap to make.
Attempt 2 - 2/7/2014 Taste: A- Nutrition: B-

- 1/2tsp salt
- 2tb sugar
- 1 1/2c oats
- 1tbsp dutch hot cocoa mix
- 1/4c choc protein powder
- 1 cup magic-bulleted nuts (1/3c e/ of walnuts, pecans, almonds)
- 1.5 bars hershey's dark chocolate
-1/2 cup halved dried cherries, cut in halves

prep:
- combine above, pour into a 12x12" pan
(tip: microwave/soften the butter, banana, coconut oil, almond butter)
- 350 degrees for ~30 mins, until a tooth pick comes out clean
- 3 eggs
- 1tsp vanilla
- 1 ripe banana (microwaved)
- 1tbsp coconut oil
- 3tbsp honey
- 3tbsp butter
- 1tbs of maple syrup
- 2tbsp almond butter

Nutrition Info (/bar)
Cals(fat)
197(105)
Fat(sat)
11.7g (4.2g)
Carbs(fiber, sugar)
18g (2.5g, 7.7g)
Sodium
100mg
Protein
5g
Potassium
73mg


Wednesday, January 8, 2014

How to check all of bestbuy's inventory to find which zip code has your desired product!

As an optimizer, I 'suffer' from a sometimes debilitating yearning for the best, or most efficient, product, solution, method, etc. Thus when the Yoga 2 Pro was released, I had to acquire one. However, BestBuy was/is the only distributor with the i7 8gb ram version (at a reasonable price and on-hand), and unfortunately they only had it available for in-store pickup at a select few locations.

Maybe this has happened to you. It's frustrating, is it not, that there's no way to find out WHERE the item is in stock!?

So I spent a few minutes throwing together an ad-hoc test/solution:
My solution requires:
1. Autohotkey
2. Chrome browser with Advanced page injector extension
3. Some ingenuity and ability to google how to do certain things (for example, how to use autohotkey's spy window to determine the coordinates you should have it automatically click)

Steps I took to get the Yoga 2 Pro:

1. Create a rule in advanced page injector options:
Match:
^http://www.bestbuy.com/site/ols*
Add JavaScript:
$(document).ready(function(){$('#frmStoresSearchFormId').attr('target','_blank'); if ($('span.ca-availablenow').length > 0){alert($("[name='TxtZipCode']").attr('value'))}else {window.close()}}) 
2. Open up the store locator from the item page on BestBuy.com and try a local zipcode.
 
3. Enter the following code into the Chrome console (open with f12 or ctrl+shift+i then click console), and press enter after you change the zips to include the ones you want (I found a list of all zips online and used SublimeText to add the comma and quotes):
$('#frmStoresSearchFormId').attr('target','_blank').attr('style','target-new: tab');
$('input.buttons-blue').attr('id','attack');
window.openBB = function(){console.log(window.curNum);console.log(window.zips[window.curNum]);$("[name='TxtZipCode']").attr('value',window.zips[window.curNum]); $('#frmStoresSearchFormId').submit(); document.getElementById('attack').click(); loadNewPage('storeSearch'); setTimeout(function(openBB){window.curNum = window.curNum + 1; window.focus; if (window.curNum < window.zips.length) {window.openBB()}}, 4000)}
window.curNum = 0

window.zips = ["00501","00544","00601"]
openBB() 
NOTE: The code redundantly attempts several methods for submitting the html form element - I didn't really bother with testing to determine which to use, so I just left them all in. This is messy and hack-y code but I got a Lenovo Yoga 2 Pro out of it :)
4. Run an autohotkey if necessary to restore form submission functionality (a Chrome bug prevents this from being consistent for most people)
My code is:
^!+b::
Loop {
Click 20, 27
Click 365, 483
Sleep 3000}
After installing autohotkey, run Window Spy to determine the location coordinates of your main item lookup tab and any of the form text boxes within it - then paste the above code in with your coordinates and save anywhere as a .ahk file. Then run it and the code will be summoned when you press ctrl+shift+alt+b

Note with the barebones code above your chrome window must be the active (in focus) window for Autohotkey to click in the right place.

This is a little bit less detailed than I would like but good luck & let me know if you find what you're looking for! I was able to convince the store manager to ship it to me if I emailed him a copy of my driver's license :)

Saturday, October 26, 2013

How to Fix & Install the Broken Makerbot Replicator USB Driver in Windows 8.1

http://goo.gl/hCSZNw

Despite all of the media buzz about Microsoft partnering with 3D printing companies (including selling Makerbot printers at their stores) & the announcement of 'built-in' or 'native' 3D printing integration in Windows 8.1, performing the upgrade from 8 to 8.1 actually breaks your machine's 3D printing capabilities!

The USB driver acquires the fated yellow exclamation mark, and you'll find your computer feebled in all attempts to connect to any of the Makerbot printers via USB. Attempts to reinstall MakerWare (or just the driver) produce a very vague error.

Fortunately, I found a simple driver signature enforcement workaround is sufficient to get back to printing!

1. Follow these instructions to restart with driver signature enforcement disabled

2. Press Windows+X (or right click on the Windows/Start button) and choose Device Manager. Scroll to where you see the yellow exclamation under USB devices or Ports (it will probably say Replicator). Right click on the device and choose Update Driver. Select "Browse my computer for driver software", then navigate to C:\Program Files (x86)\MakerBot\drivers and click next. Accept the terrifying red warning and your driver will be installed.

3. Happy printing!

Thursday, May 16, 2013

Isn't it about time you switched to a standing desk?

The idea of switching to a standing desk has plenty of initial appeal, but isn't so easy to realize (it might seem). And the longer you wait, the more the idea changes from a curiosity to a guilt-ridden inevitability thanks to the bombardment of countless health articles about why sitting for prolonged periods of time is bad & why standing is better.

Instead of treating the transition as an obligation, I decided to quench my intrigue without spending any money or too much time, and in such a way as to make it easy to reverse if needed.

I was most worried about getting the height & positioning right, so spent 5-10 minutes perusing the web for advice (links at end of post).

Starting with your typical 5-monitor wall-mounted-desktop home office,

the first step is to position your screens at standing eye-level. Ideally, the middle of your main screen should be directly in front of you (at eye level), and about 14-28" away.

I simply moved my main monitor to the shelf that used to hold the 4th (top) screen, then marked where to drill for the right and left wall-mounts & installed them. I didn't have a 3rd wall-mount, so 3D printed one for the 4th (top) monitor.



The tricky aspects of switching to a standing desk are 1. finding the best height for the desk/keyboard/mouse and 2. getting used to standing. For the former, I opted for a quick and dirty way to raise the desk to allow for trial and error.


A milkcrate-like bin was good enough for me.


After using the new setup for a bit, I noticed it really wasn't very comfortable for extended sessions. Prolonged static standing is actually too drastic of a transition for the feet, ankles, and back (and I'm a pretty fit 25-year-old)! Just because you can walk for 5 hours comfortably does not mean you can stand in one place for 5 hours without issue.

I tried using a bar stool, but it didn't provide much alleviation. Thus, I jerry-rigged a temporary standing-desk-chair using zip ties, the feet of an abandoned swivel desk chair from the basement, and some pvc pipe.
I had read that the keyboard should be at or below elbow-level, but definitely not above. I found that every inch makes a big difference, and after precariously propping up the desk further with additional spare wooden slabs, I installed a base platform using old IKEA parts & plastic bins.



All finally felt right, and I was even beginning to no longer need the ghetto office chair supplementation, so I installed some more permanent 'legs' in lieue of the plastic bins.
It's been about a week or so now, and I'm at the point where I'm totally acclimated to the standing desk- I would recommend you wear shoes though, to avoid hurt feet/achilles. Definitely enjoying it, too.

I needed another work space yesterday and noticed the new desk height makes it really easy to add desk real estate.... TBC




Some related external links/resources:
http://en.wikipedia.org/wiki/Standing_desk
https://myupdesk.com/updesk/maple-large
http://iamnotaprogrammer.com/Ikea-Standing-desk-for-22-dollars.html
http://www.opensoul.org/blog/archives/2012/01/09/the-40-standup-desk/
http://pinterest.com/makeuseof/behind-the-scenes/

Tuesday, May 7, 2013

I can't believe the Lenovo Yoga is still the best machine! How to fix the intermittent keyboard and mouse randomly stopping working bug

(for why the Yoga is the best, see my original post, here). Also be sure to pick up a stand dock to use/dock the yoga in portrait orientation!

The keyboard and mouse sometimes stop working on my Lenovo Yoga due to a bug with the ymc service + related device orientation sensor. The purpose of the service is to automatically disable the keyboard + mouse while the device is being used as a tablet so pressing keys/touchpad doesn't interfere with whatever you're doing.

However, for some reason these relatively important input devices seem to enjoy disabling themselves randomly during normal use.

Here's a 'hotfix':



1. create 2 files, ymcstop.bat & ymcstart.bat

2. open with text editor and type 'net stop ymc' and 'net start ymc', respectively (without quotes), then save
3. place a shortcut in C:\Users\Will\AppData\Roaming\Microsoft\Windows\Start Menu\Programs to each file (replace Will with your username)
4. right click and change the icon to something you like
5. press start and type 'ymc' - now right click on each (start and stop) and 'Pin to Start'

If the keyboard/mouse ever stop working, simply press the windows icon (or slide from the right) to get to the start screen and press the ymcstop you created. If you want to re-enable the service (which disables the keyboard for tablet use), simply do the same but click the ymcstart you created.

Hope this helps!

Friday, April 26, 2013

Predatorothology

I'm in episode 3 of Hemlock Grove and got curious about the term 'predatorothology'. Then Google told me there were literally 0 search results. That's ridiculous. Makes no sense whatsoever.

The werewolf transformation in episode 2 was the most visually striking & goriest one I've ever seen - and the show has thus far kept my attention piqued independently of that scene - so I'll continue to give it a go.

However, for all you Netflix subscribers out there, I'd highly recommend checking out these shows first (if you haven't already):

http://mobtechwatch.blogspot.com/2012/09/how-to-watch-any-tv-show-for-free.html

Friday, February 15, 2013

How to Wall-Mount Your Desktop for $0 and < 2 Hours

Last night I noticed not just one but TWO of my desktop's fans had stopped moving. This wasn't the first time Sully (the blue monster pictured (yellow is new)) needed some love, and I knew it wouldn't be the last. After about 3 years of occasional but recurring need for repair, I started growing tired of taking it apart and digging through its components to get to any particular problem zone (generally fans needing to be oiled).
At first, I started wondering if I needed a desktop at all. Perhaps I could hook my ultrabook up to all of my monitors and just use that?
Well, that was easy. A couple USB->HDMI adapters lying around & admittedly one splitter. Too easy. Back to Sully.

I was casually brainstorming more efficient ways to build a computer - both for better heat management and to prevent dust build-up. Perhaps I should just install it into an IKEA storage cube? 
Lucky for me, my girlfriend is a redditor, so she enlightened me about the possibility of wall-mounting a PC. Wow. Genius! This would mean the heat & exhaust could be positioned right next to the ventilation intake & near the ceiling, preventing my office from inevitably heating itself like a cauldron.

Proper preparation often diminishes both the fun and difficulty of a puzzle, so I typically MacGyver makeshift, ad-hoc solutions. 

I started by scrounging some supplies - most importantly, a mounting surface. Sharing a storage room in the basement with a restaurant and coffeeshop has its benefits- as I can often find very useful jetsam. 

 When I caught a glimpse of a spare metal storage shelf, I knew immediately the search was over - not only would it be strong enough to support a PC's weight, but it would have space for cable management and ventilation - not to mention a faster and more flexible mounting system. Zip ties!
 Another stroke of luck - mounting brackets leftover from deconstructing a wardrobe - meant I had everything needed to mount the shelf.

I dug around for supplies to mount the soon-to-be-external components. Zip ties, twist ties, and sticky felt pads seemed sufficient.

 I started with the mainboard and fan/heatsink. So far so good.
Next up: PSU and HDDs. Conveniently, my drives already had elastic attachment braces on them.

Last up- attach the wall mount brackets and drop it on!

 With no power button hooked up yet, I turned it on with a light tap of a screwdriver, and voila! -->


It's alive :)