<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>simsandwich &#187; Nerdy</title>
	<atom:link href="http://www.simsandwich.com/categories/nerdy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simsandwich.com</link>
	<description></description>
	<lastBuildDate>Wed, 21 Jul 2010 05:11:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The Engagement</title>
		<link>http://www.simsandwich.com/2008/11/18/the-engagement/</link>
		<comments>http://www.simsandwich.com/2008/11/18/the-engagement/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 00:38:19 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2008/11/18/the-engagement/</guid>
		<description><![CDATA[I&#8217;m engaged! I proposed to Joni last night and she said yes! How did I do it? Well&#8230; It was Monday night, after class. We both got done around 8:00 and headed home. While Joni waited unsuspectingly at home, I set my plan into action. After getting everything set up, I called her and asked [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m engaged! I proposed to Joni last night and she said yes!</p>
<p>How did I do it? Well&#8230;</p>
<p style="text-align: center;"><img src="http://www.simsandwich.com/wp-content/uploads/2008/11/ring-story.jpg" alt="ring-story.jpg" width="400" height="314" /></p>
<p>It was Monday night, after class. We both got done around 8:00 and headed home. While Joni waited unsuspectingly at home, I set my plan into action. After getting everything set up, I called her and asked her to come over.</p>
<p>I intercepted her before she got to my place, and I told her I had to mail a package. The post office is just a couple buildings down, so we made the walk down there. On our return, we walked through the water park, just by my building. You can see it on the map above &#8211; it&#8217;s the circle below the stick figures.</p>
<p>As we passed through the park, I reached into my pocket and with my iPhone, signaled the show to start. I pointed at the building across the street, where big strange white boxes were flying across the building. It was mysterious, but clearly patterned. Then it stopped, and in giant letters across the building we saw this:</p>
<p style="text-align: center;">2 years, 2 months, 27 days, 20 hours</p>
<p style="text-align: center;">7 months, 19 days, 9 hours</p>
<p style="text-align: left;">It was how long we had known each other and how long we had been dating, respectively. As I narrated the display, Joni realized what was going on. Next we saw words that reminded us of places we had been, things we had experienced and other things that we have shared: Munich, 1L year, Punkin Chunkin, etc.</p>
<p>This is the building:</p>
<div style="text-align: center;">
  <img src="http://www.simsandwich.com/wp-content/uploads/2008/11/patio-panorama.jpg" alt="Patio Panorama.jpg" width="400" height="124" />
</div>
<p>Next, the side of the building turned into a re-enactment of a conversation I had with Chris Landrigan just a couple days before I asked Joni out for the first time. It went something like this:</p>
<p style="text-align: center;">Chris: yo &#8211; so you and joni should go out</p>
<p style="text-align: center;">me: wait&#8230; what?</p>
<p style="text-align: center;">[...]</p>
<p style="text-align: center;">me: i definitely don&#8217;t want to miss an opportunity here by letting it pass</p>
<p style="text-align: center;">
<p style="text-align: center;"><img src="http://www.simsandwich.com/wp-content/uploads/2008/11/building-sample.jpg" alt="Building-Sample.jpg" width="400" height="250" /></p>
<p style="text-align: left;">So with &#8220;I LOVE YOU JONI&#8221; in giant letters, music playing in the water park, and among the trees, I got down on one knee, presented a ring and asked Joni to marry me. She managed to get the first two letters of YES! out.</p>
<p style="text-align: left;">We couldn&#8217;t be happier. This has been a long time in the making, and I&#8217;m so glad to be at this point now. Joni is amazing and I look forward to getting married next year!</p>
<div style="text-align: center;">
  <img src="http://www.simsandwich.com/wp-content/uploads/2008/11/img-1707-tm.jpg" alt="IMG_1707.JPG" width="400" height="300" />
</div>
<div style="text-align: left;">
<p style="text-align: left;">
    How did I do it? With my iPhone, I sent the command to a computer on my balcony to start the show. The computer was connected to a projector, which displayed everything on the building directly across the street. You can see the outline of that in the diagram at the top.
  </p>
<p style="text-align: left;">
    What&#8217;s the plan now? Joni and I both graduate in the Spring and will be moving back to Las Vegas, where we&#8217;re both from. We&#8217;ll take the bar exam and then get married soon after that. We both have jobs with law firms and will start sometime after moving back. It&#8217;s going to be a big year!
  </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2008/11/18/the-engagement/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Block Blog Music</title>
		<link>http://www.simsandwich.com/2008/08/15/block-blog-music/</link>
		<comments>http://www.simsandwich.com/2008/08/15/block-blog-music/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 07:05:57 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2008/08/15/block-blog-music/</guid>
		<description><![CDATA[I&#8217;m tired of the music on your blog. What makes you think you can play your music on my computer? I found a nerdy solution to the problem. Since most of those annoying &#8220;playlists&#8221; found on blogspot blogs all come from playlist.com, you can eliminate most of the problem with this command (for fellow mac [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m tired of the music on your blog. What makes you think you can play your music on my computer?</p>
<p>I found a nerdy solution to the problem. Since most of those annoying &#8220;playlists&#8221; found on blogspot blogs all come from playlist.com, you can eliminate most of the problem with this command (for fellow mac users):</p>
<blockquote>
<p>ipfw add deny tcp from any to 66.97.180.235</p>
</blockquote>
<p>That&#8217;s it. They seemingly have dozens of domains, all pointing to that single IP. Block outbound traffic to the IP, and you&#8217;ll be free of that awful music people think you want to hear.</p>
<p>Windows users, try adding these lines to your c:\windows\system32\drivers\etc\hosts file:</p>
<blockquote>
<p># stop stupid blog music insanity</p>
<p>127.0.0.2 www.greatprofilemusic.com</p>
<p>127.0.0.2 www.myplaylist.org www.profileplaylist.net</p>
<p>127.0.0.2 www.playlistproject.net</p>
<p>127.0.0.2 www.mp3asset.com</p>
<p>
</p></blockquote>
<p>There are more domains than that, but I got tired of looking for them. Blocking the IP above is the best way to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2008/08/15/block-blog-music/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Church: A Nondeterministic Finite State Automata</title>
		<link>http://www.simsandwich.com/2008/07/14/the-church-a-nondeterministic-finite-state-automata/</link>
		<comments>http://www.simsandwich.com/2008/07/14/the-church-a-nondeterministic-finite-state-automata/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 08:26:49 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2008/07/14/the-church-a-nondeterministic-finite-state-automata/</guid>
		<description><![CDATA[The Black Box Consider a black box. The box takes, as inputs, a number of things. As output, the box produces some output that is both expected and desired. How the box works and what&#8217;s inside of it is of no moment. What matters, for now, is whether it works or not. Not understanding the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Black Box</strong></p>
<p>Consider a black box. The box takes, as inputs, a number of things. As output, the box produces some output that is both expected and desired. How the box works and what&#8217;s inside of it is of no moment. What matters, for now, is whether it works or not.</p>
<p>Not understanding the inner workings, the only way to properly test the operation of the box is by observation. Put in some expected inputs and see if you get the right output. If the box works on the expected cases, then you have, in the least, a mediocre box.</p>
<p>The greatness of the box (and its component parts and design) is evidenced at the boundaries and the extremes &#8211; not in the predictable. So give to the box something quite unexpected. If, for example, you were supplying numbers, give really big numbers, followed by the number zero and some negative numbers. If the black box still produces the correct and intended result, then you have a superior box.</p>
<p>A poor designer, after finding that some inputs produce the wrong answer, will look to create exceptions, carve-outs and work-arounds for such inputs. The engineer should instead recognize that his design is flawed and change the contents of his black box or how they operate.</p>
<p>A perfect black box will work in every situation, on any input and will always produce the right answer.</p>
<p><strong>The Church as an Organization</strong></p>
<p>Today, at church, I taught about the <a rel="lightbox" href="http://broadcast.lds.org/Handheld/Curriculum/joseph_smith/TPTC_2008_JosephSmith_15_11_TrueAndLivingChurch_36481_eng_015.pdf">organization and destiny of the church</a>. Merely as a way to frame my thinking about the organization of the church, I considered it a black box.</p>
<p>The Church of Christ is necessarily the perfect organization. It takes, as inputs, every time period, every culture and every one. The Church has to take all these varied inputs, and perform the exact same operation on all of them, and lead them all to salvation. See Acts 10:34 (God is no respecter of persons); Malachi 3:6 (God doesn&#8217;t change); Moses 1:39 (God&#8217;s work is to bring eternal life and immortality to all).</p>
<p>God, as the architect of our salvation, has created a plan and has organized a way to bring salvation to His children. This organized way is His church and has been established at various times throughout history. But the Church has not changed. We believe in the same organization that existed in the Primitive Church, namely, apostles, prophets, pastors, teachers, evangelists, and so forth. <a rel="lightbox" href="http://scriptures.lds.org/en/a_of_f/1/6">Article of Faith 6</a>. And so, regardless of the historical input or scenario, the Church has not changed. That same organization which existed at the time of Christ exists again &#8211; unchanged.  And given different historical inputs, it still produces the right output.</p>
<p>The Church has grown from just a few members to include millions across the world. The input changes from a few people to millions. It changes from a small community, to dozens of nations. The politics, economics and culture vary across the inputs. But the Church doesn&#8217;t need to change. It continues to grow and produce the same results it always has.</p>
<p>Those same observations about the inputs generally are true about individuals specifically. Everyone needs to be able to come inside, receive the same treatment and eventually gain the same promise of salvation.</p>
<p><strong>The Automaton</strong></p>
<p>Let&#8217;s now peer inside the black box and consider why it works. This is also where the discussion turns irreversibly nerdy. I will now consider the black box in computing terms &#8211; that of algorithms and data structures. Inputs will come in, they will be operated upon, then output.</p>
<p>The principles of computing are based on the idea that you can have states and transitions. Any computing operation can be defined in this way, no matter how complicated. At the most fundamental level, it is asking the question, &#8220;I&#8217;m here. Where do I go next?&#8221; Usually, you know where to go based on something about yourself. &#8220;What color am I? If I&#8217;m red, go here. Otherwise, go there.&#8221;</p>
<p>From any given state, you can follow a particular transition and arrive at a new state. When you&#8217;re at a state, and there are rules about which transition to take, you are considered to be deterministic. That is, given some facts about you, your next step is determined beforehand. &#8220;I&#8217;m green, so I&#8217;ll go here.&#8221;</p>
<p>But we don&#8217;t always know everything. Sometimes, we just want things to progress to the <em>right</em> state. &#8220;If I&#8217;m going to turn blue in the future, I&#8217;ll go this way.&#8221; Not knowing beforehand the transition you will make, you take a nondeterministic step. But the key is taking the right step, based on what will happen in the future. Eventually, that step will lead to the right result, thus making each nondeterministic step the right one.</p>
<p>A state diagram from Wikipedia illustrates a nondeterministic step (they are the epsilon transitions from S0):</p>
<p> </p>
<div style="text-align: center;"><a href="http://www.simsandwich.com/wp-content/uploads/2008/07/300px-nfaexamplesvg.jpg"><img src="http://www.simsandwich.com/wp-content/uploads/2008/07/300px-nfaexamplesvg-tm.jpg" alt="300px-NFAexample.svg.png" width="300" height="276" /></a></div>
<p><strong>How the Black Box Church Operates</strong></p>
<p>But how do you know which step is the right one? Based on your current state and what you know about yourself, you can&#8217;t know which step is the right one. Sure, you can use intuition or even good guessing, but this leads to the condition described in Ephesians 4:14 (being tossed about by every wind of doctrine).</p>
<p>You need to know the end from the beginning. See Abraham 2:8. The element in our black box that makes this all work is revelation. The Holy Ghost can inspire our minds with which step will, in our eventual hindsight, turn out to be the right one.</p>
<p>As an organization, the Church must have revelation to know what to do. The eternal doctrines of the Gospel define which states are available (that&#8217;s why it&#8217;s a finite state automata &#8211; the doctrine only allows for certain things to happen). The Spirit directs which step to take. This produces the right result, every time, no matter what state you&#8217;re in.</p>
<p>This principle is true for individuals, and applicable to the organization of the church. It has a structure, and a defined way of operating. But there are choices to be made &#8211; inputs are rarely, if ever, the same. In computing we might just guess at different options, or try them all (like doing Sudoku). But &#8220;God does not play dice with the universe&#8221; as Einstein said.</p>
<p><strong>Conclusion</strong></p>
<p>The Church is perfect. It does not, and will not, need to change. God gave it the ability to operate in any circumstance. But it is not a rigid structure, with everything defined beforehand. Rather, it is able to operate by continuing revelation to those appointed to lead it. Because of that, it will always produce the right result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2008/07/14/the-church-a-nondeterministic-finite-state-automata/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>On  Blogs</title>
		<link>http://www.simsandwich.com/2008/04/16/on-blogs/</link>
		<comments>http://www.simsandwich.com/2008/04/16/on-blogs/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 02:41:43 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2008/04/16/on-blogs/</guid>
		<description><![CDATA[(Warning: nerdy, but skippable, portions found in [brackets]) The other night I was thinking about a friend who shares an email account with his wife. I know there are a lot of efficiencies that come from sharing &#8211; but does that apply online, when things are free and no real resources are consumed? Sharing an [...]]]></description>
			<content:encoded><![CDATA[<p>(Warning: nerdy, but skippable, portions found in [brackets])</p>
<p>The other night I was thinking about a friend who shares an email account with his wife. I know there are a lot of efficiencies that come from sharing &#8211; but does that apply online, when things are free and no real resources are consumed? Sharing an email account seemed more like a bother than anything. Do I write to both of them? Then who responds? Do they have to confer?</p>
<p>Couples share blogs, too, and this is pretty common. But again, rather than having separate authoring accounts, every post comes from Jim &amp; Kathy, Susan &amp; Richard, Bramlet &amp; Chartreuse. That doesn&#8217;t make sense. Let&#8217;s be honest &#8211; it&#8217;s the wife writing it.</p>
<p>I started seeing shared profiles on facebook recently, too. Facebook even provides a way to link profiles through a marriage indicator. I didn&#8217;t go to high school with both of you &#8211; that just doesn&#8217;t make sense. Again.</p>
<p>So I decided to see if my friend with the shared email account had a blog. I took a pretty good guess that it would be his_nameandher_name.blogspot.com. The site existed, but it wasn&#8217;t them. Surprise. Frankly, it might as well have been them. I can&#8217;t tell the difference between most personal blogs anyway &#8211; more on that later.</p>
<p>But I wondered &#8211; how interconnected are all these silly blogs? People tend to link to the blogs of their friends. But friends seem to form circles. So, the big question: is there enough overlap, that <strong>I could navigate from a random blog back to my own?</strong></p>
<p>There&#8217;s only one way to find out, really. So I developed a heuristic [from computing: proceeding by trial and error or by rules that are only loosely defined] for how to traverse the blog-space:</p>
<ul>
<li>Prefer last names that I know</li>
<li>Prefer geographical locations where I have a connection</li>
<li>Prefer other commonalities</li>
<li>Prefer anything familiar</li>
<li>Don&#8217;t follow links already followed (obvious) [cycles don't help anyone here]</li>
</ul>
<p>[nerdy: If you consider blogs a tree, I was doing a depth-first pre-order traversal, with a self-imposed depth when I felt I wasn't getting anywhere. But if you consider blogs a tree, you're crazy. Obviously a tree isn't the right topology for how the blogs are connected. They're more like a disconnected graph (and therefore I was doing a Prim-Jarnik traversal?). I suggest they're disconnected because it's certainly not a complete graph and I don't believe every blog is connected - unless you count google as some kind of super-node, but google isn't a blog. Really, I was building a minimum spanning tree representing my paths. And I think anyone with even the simplest of advanced degrees in computer science would recognize that. ;) And that's an allusion to a line from Simpsons, to take this nerdy post up another notch.]</p>
<p>So I started clicking on links. I obviously had no idea how long it would take. [nerdy: Worst-case big-O(time) would look like the number of all connected nodes to that particular blog, which is not just unknown but potentially huge.] At first I had no hope that it would actually work. But I stuck to my rules, and kept clicking.</p>
<p>I was so shocked that only 37 blogs later <strong>I had connected back to my own blog.</strong> Now, that was 37 trials [there were 37 nodes on my constructed tree]. But if you follow the direct path, I was only 15 steps away from my own blog [15 nodes on the tree before reducing it].</p>
<p>Would you have guessed that? That is, from a random blog, I was only 15 clicks away. It may actually be fewer clicks if I took different paths and found a shorter one [a reductive step].</p>
<p>What did I learn along my journey?</p>
<ul>
<li>Blogs look the same.</li>
<li>For some reason, when people decide to have music on their blog, it&#8217;s usually country &#8211; so, doubly obnoxious.</li>
<li>People blog about really mundane things. I wasn&#8217;t reading blogs as I went, but I could tell it was nothing exciting. But while neither I nor the internet at large cares about what people are doing &#8211; whoever is reading that blog does. That is, I care about what my sister is doing, but I don&#8217;t care what your sister is doing &#8211; unless you&#8217;re my other sister.</li>
<li>People have strange last names.</li>
</ul>
<p>
[Edit: Ok, I realized that it's not necessarily a Prim-Jarnik algorithm. That would be used on a weighted graph, which this isn't. All paths here have equal weight. And this exercise was more about searching than about finding minimum-paths.]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2008/04/16/on-blogs/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The Grade Checker</title>
		<link>http://www.simsandwich.com/2007/06/06/the-grade-checker/</link>
		<comments>http://www.simsandwich.com/2007/06/06/the-grade-checker/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 20:00:12 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2007/06/06/the-grade-checker/</guid>
		<description><![CDATA[I got tired of constantly checking for new grades. I wrote some software that does the job for me. It worked well enough that I thought I&#8217;d share it. So I created a little website where GW students can sign up and have my system automatically check for them. When new grades arrive, they can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://www.thegradechecker.com"><img src="http://www.simsandwich.com/wp-content/uploads/2007/06/Logo.jpg" width="300" height="82" border="0" /></a></p>
<p>I got tired of constantly checking for new grades. I wrote some software that does the job for me. It worked well enough that I thought I&#8217;d share it. So I created a little website where GW students can sign up and have my system automatically check for them. When new grades arrive, they can receive notification via email or SMS. It&#8217;s pretty sweet.</p>
<p>The biggest drawback is that in order for my system to check grades for them, they have to hand over their sacred login credentials. Yikes. I think that&#8217;s going to be a problem. So my next version will allow people to download the software itself and put their login info into that so it never leaves their hands.</p>
<p>In the meantime, it&#8217;s been more than a month since we started finals. We&#8217;re still waiting on a couple grades &#8211; I&#8217;m looking in your direction, Civ Pro II and Property. <br/>
                </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2007/06/06/the-grade-checker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio in Vista</title>
		<link>http://www.simsandwich.com/2007/06/06/visual-studio-in-vista/</link>
		<comments>http://www.simsandwich.com/2007/06/06/visual-studio-in-vista/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 19:42:16 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://www.simsandwich.com/2007/06/06/visual-studio-in-vista/</guid>
		<description><![CDATA[So it should be pretty clear by now that Windows Vista breaks everything. Not even the Zune worked with it. But recently I found the most ironic incompatibility: Visual Studio. For the less tech-savvy, Visual Studio is what you can use to make programs in Windows. Microsoft released a new version some time ago, in [...]]]></description>
			<content:encoded><![CDATA[<p>So it should be pretty clear by now that Windows Vista breaks everything. Not even the Zune worked with it. But recently I found the most ironic incompatibility: Visual Studio. For the less tech-savvy, Visual Studio is what you can use to make programs in Windows. Microsoft released a new version some time ago, in anticipation of Vista. It was the tool software developers were supposed to use to make new software and update existing software so that it worked with Vista.</p>
<p>Here&#8217;s what I got when I installed Visual Studio 2005 in Vista:</p>
<p style="text-align:center;"><img src="http://www.simsandwich.com/wp-content/uploads/2007/06/Snapshot-2007-05-24-22-46-131.jpg" width="425" height="197"  /></p>
<p style="text-align:center;"><img src="http://www.simsandwich.com/wp-content/uploads/2007/06/Snapshot-2007-05-24-22-44-551.jpg" width="425" height="208" /><br/>
			    </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simsandwich.com/2007/06/06/visual-studio-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
