February 2012
1 post
propnc.snippet
<?xml version=”1.0” encoding=”utf-8” ?>
<CodeSnippets xmlns=”http://schemas.microsoft.com/VisualStudio/CodeSnippet”>
<CodeSnippet Format=”1.0.0”>
<Header>
<Title>NotifyPropertyChanged Code Snippet</Title>
<Shortcut>propnc</Shortcut>
<Author>David...
January 2012
2 posts
The nook needs a touchup
I had a particularly bad user experience with my nook eReader. Where to begin…
I like the idea of having my library digitally available with notes and highlights in a searchable format that is highly available. eReaders are not there yet, at least not the nook touch. The technology isn’t mindblowing, and the most interesting thing about the device is the display technology. I...
Pondering the Economic Vortex
Unbelievably, I didn’t realize that today was a day off until I rolled into the office. With the day free it gave me some time to take a look at the xkcd poster that is newly hanging on the wall.
At the dollar level it shows the relative cost of goods and services for different kinds of technology, pets, and food. There is a side-by-side comparison between average worker hourly...
December 2011
7 posts
Stranded on Git without a branch →
Flying by the seat of your pants on Git, I find myself without a branch for my just-committed changes. Getting back on was basically this:
git commit -a -m “commit merge with svn to head” git checkout -b merged_with_svn git checkout original_branch git merge merged_with_svn
Using ObservableVector (For Now) →
Without a reliable collection class that implements INotifyCollectionChanged, using ObservableVector is a a stopgap measure until (hopefully) the Beta bits are released.
Like Learning →
Challenge Accepted
//Given a list of numbers and a target number X, find the pairs of numbers in the list that add to yield X
//FIRST ATTEMPT: "THE LOOP"
public class Pair
{
int First{get;set;}
int Second{get;set;}
public Equals(Pair x, Pair y)
{
if(x.First == y.First && x.Second == y.Second || x.Second == y.Second && x.Second == y.First) return true;
else {return...
Broccoli Salad
Ingredients
2 heads fresh broccoli
1 red onion
1/2 pound bacon
3/4 cup raisins
3/4 cup sliced almonds
1 cup mayonnaise
1/2 cup white sugar
2 tablespoons white wine vinegar
Directions
Place bacon in a deep skillet and cook over medium high heat until evenly brown. Cool and crumble.
Cut the broccoli into bite-size pieces and cut the onion into thin bite-size slices. Combine with the bacon,...
If looking for pairs, a hash is there →
HTML5 Beginners Resources
Here are a few useful HTML5 resources to get you started:
http://en.wikipedia.org/wiki/HTML5
http://www.html5rocks.com/
http://diveintohtml5.org/
http://html5demos.com/
http://www.html5test.com/
http://www.w3schools.com/html5/html5_reference.asp
http://dev.w3.org/html5/html4-differences/
Source: http://www.adobe.com/devnet/html5/articles/html5-basics.html
November 2011
1 post
Windows 8 Tips & Tricks →
Debugging, Settings, OAuth, Async
Shows how to create a simple settings panel with a user control and settings panel
October 2011
1 post
Spreadable TED Talks
http://www.ted.com/talks/matthieu_ricard_on_the_habits_of_happiness.html
http://www.ted.com/talks/dan_gilbert_researches_happiness.html
January 2011
2 posts
Calories are a garbage system
Thats just one bit of wisdom shared at the nutritional clinic I attended at The Fitness Circuit. They wisely provided notepads which is the reason why I still have something to record here. Most of what I heard was already familiar, but a great reminder of changes that I have yet to implement. So here were the major points
Calories: A good ratio for sources of calories to keep is the zone...
Strong opinions, weakly held.