<?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>Max Schmeling</title>
	<atom:link href="http://maxschmeling.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxschmeling.me</link>
	<description>&#34;It is not enough to have a good mind; the main thing is to use it well.&#34; - Rene Descartes</description>
	<lastBuildDate>Tue, 28 Feb 2012 15:59:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Humongous: A useful MongoDB browser</title>
		<link>http://maxschmeling.me/2012/02/28/humongous-a-useful-mongodb-browser/</link>
		<comments>http://maxschmeling.me/2012/02/28/humongous-a-useful-mongodb-browser/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 15:59:01 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[gems]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[mongodb]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=192</guid>
		<description><![CDATA[<p>I just discovered <a href="http://github.bagwanpankaj.com/humongous/">Humongous</a> (<a href="https://github.com/bagwanpankaj/humongous">on GitHub</a>) by <a href="http://bagwanpankaj.com/">Pankaj Bagwan</a> while listening to one of the most recent <a href="http://ruby5.envylabs.com/episodes/253-episode-249-february-24th-2012">Ruby5</a> podcast episodes. I gave it a try and it worked as promised.</p> <p>To get it working it was just a matter of installing the gem and running the humongous command:</p> &#62; sudo gem install humongous<br /> [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered <a href="http://github.bagwanpankaj.com/humongous/">Humongous</a> (<a href="https://github.com/bagwanpankaj/humongous">on GitHub</a>) by <a href="http://bagwanpankaj.com/">Pankaj Bagwan</a> while listening to one of the most recent <a href="http://ruby5.envylabs.com/episodes/253-episode-249-february-24th-2012">Ruby5</a> podcast episodes. I gave it a try and it worked as promised.</p>
<p>To get it working it was just a matter of installing the gem and running the humongous command:</p>
<address>&gt; sudo gem install humongous<br />
&gt; humongous</address>
<address> </address>
<p>It is supposed to launch the browser automatically when you run the command, but it failed for me. When I ran the command again it told me that it was already running on http://0.0.0.0:9000/ so I just navigated to that URL manually and it worked like a charm.</p>
<p><a href="http://maxschmeling.me/wp-content/uploads/2012/02/Screenshot-at-2012-02-28-0944371.png"><img class="wp-image-197 alignnone" title="Screenshot of Humongous" src="http://maxschmeling.me/wp-content/uploads/2012/02/Screenshot-at-2012-02-28-0944371.png" alt="" width="522" height="314" /></a></p>
<p>I&#8217;m sure there are lots of advanced features of MongoDB that are not supported in the UI but for quick and easy MongoDB browsing and editing, I think this is pretty slick. Kudos to the author.</p>
<p>I also discovered a <a href="https://github.com/bagwanpankaj/humongous/issues/3">minor issue</a> with Humongous that I logged in the project&#8217;s GitHub issue tracker. I plan to fix this issue and submit a pull request unless the author gets to it first.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2012/02/28/humongous-a-useful-mongodb-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MongoDB presentations</title>
		<link>http://maxschmeling.me/2012/02/17/mongodb-presentations/</link>
		<comments>http://maxschmeling.me/2012/02/17/mongodb-presentations/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 22:41:53 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[nosql]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=187</guid>
		<description><![CDATA[<p>If you&#8217;re working with MongoDB, are playing with the idea of using MongoDB, or you&#8217;re just interested in learning about NoSQL in the real world you should check out the presentations on 10gen&#8217;s (the company behind MongoDB) website: <a href="http://www.10gen.com/presentations">http://www.10gen.com/presentations</a>.</p> <p>I watched the <a href="http://www.10gen.com/presentations/mongosf2011/craigslist">presentation</a> by <a href="http://blog.zawodny.com/">Jeremy Zawodny</a> of Craigslist about their lessons learned from migrating [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working with MongoDB, are playing with the idea of using MongoDB, or you&#8217;re just interested in learning about NoSQL in the real world you should check out the presentations on 10gen&#8217;s (the company behind MongoDB) website: <a href="http://www.10gen.com/presentations">http://www.10gen.com/presentations</a>.</p>
<p>I watched the <a href="http://www.10gen.com/presentations/mongosf2011/craigslist">presentation</a> by <a href="http://blog.zawodny.com/">Jeremy Zawodny</a> of Craigslist about their lessons learned from migrating a system with more than 2 billion documents. It was well worth watching even if you aren&#8217;t using MongoDB.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2012/02/17/mongodb-presentations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Competition Works</title>
		<link>http://maxschmeling.me/2012/01/28/the-importance-of-ruby-on-rails-to-the-microsoft-developer-community/</link>
		<comments>http://maxschmeling.me/2012/01/28/the-importance-of-ruby-on-rails-to-the-microsoft-developer-community/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 21:12:37 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[web-development]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=178</guid>
		<description><![CDATA[<p>I was just reading a <a href="http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/">blog post</a> from <a href="http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/">Adam Caudill</a> and it got me thinking about Ruby on Rails has done for web developers using the Microsoft stack. The first web MVC framework that I used was ASP.Net MVC and I loved it. I used it from the day it came out and [...]]]></description>
			<content:encoded><![CDATA[<p>I was just reading a <a href="http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/">blog post</a> from <a href="http://adamcaudill.com/2011/10/15/why-cringely-is-wrong-about-java/">Adam Caudill</a> and it got me thinking about Ruby on Rails has done for web developers using the Microsoft stack. The first web MVC framework that I used was ASP.Net MVC and I loved it. I used it from the day it came out and used version two and three also. However, I&#8217;ve more recently switched to primarily working with Ruby on Rails when I have the opportunity instead of ASP.Net MVC.</p>
<p>That said, I still love ASP.Net MVC and would recommend it just as highly as Ruby on Rails. Both have their pros and cons and both are very good frameworks.</p>
<p>I think it&#8217;s very cool that an open source MVC web framework has pushed a hugh multi-billion dollar company into investing heavily in their web development stack in order to compete. With the way Ruby on Rails has improved and become a very high quality and productive web framework, I would think that without the introduction of ASP.Net MVC (and the continuous improvement) that Ruby on Rails would be completely dominating the web world right now. Instead, there is still a HUGE community in both camps and the web has become a much better place because of &#8220;competition&#8221;.</p>
<p>That&#8217;s the way it&#8217;s supposed to work. I love it.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2012/01/28/the-importance-of-ruby-on-rails-to-the-microsoft-developer-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What can families learn from businesses?</title>
		<link>http://maxschmeling.me/2012/01/05/what-can-families-learn-from-businesses/</link>
		<comments>http://maxschmeling.me/2012/01/05/what-can-families-learn-from-businesses/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 19:44:15 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=119</guid>
		<description><![CDATA[<p>I&#8217;ve often thought to myself, why don&#8217;t we run our family/personal lives more like a business? We have income like a business, expenses like a business, and a family is run by a group of people just like a business. Surely some of the practices that businesses implement to make it manageable would be useful [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve often thought to myself, why don&#8217;t we run our family/personal lives more like a business? We have income like a business, expenses like a business, and a family is run by a group of people just like a business. Surely some of the practices that businesses implement to make it manageable would be useful at home, right?</p>
<p>I think it&#8217;s obvious that a family does not operate like a typical business. However, I&#8217;ve thought a lot about the aspects of family life that could benefit from business-like practices and compiled some of those thoughts into this post. I&#8217;m sure there are many other areas that I haven&#8217;t thought about yet, but maybe there will be something here you hadn&#8217;t thought about before. These ideas aren&#8217;t completely thought through and some will be better than others. I plan to go into more detail in later posts as I think each of them through in more detail.</p>
<h3>Budgeting</h3>
<p><a href="http://maxschmeling.me/wp-content/uploads/2012/01/docs_highres.jpg"><img class="wp-image-158 alignright" title="docs_highres" src="http://maxschmeling.me/wp-content/uploads/2012/01/docs_highres-300x286.jpg" alt="" width="126" height="120" /></a>This is something that a lot of families already do on a regular basis. Some people budget with simple spreadsheets, some with massive and complicated spreadsheets, and others use commercial software to manage a budget. I&#8217;m a believer that every family should have a budget; it doesn&#8217;t matter if you&#8217;re pinching pennies to buy food or if you&#8217;re buying a new Lamborghini for every day of the week, you should have a plan for your money.</p>
<h3>Expense Tracking</h3>
<p><a href="http://maxschmeling.me/wp-content/uploads/2012/01/expenses1.jpg"><img class="alignright size-medium wp-image-159" title="expenses1" src="http://maxschmeling.me/wp-content/uploads/2012/01/expenses1-247x300.jpg" alt="" width="247" height="300" /></a>The flip side of budgeting is expense tracking. Once you have the budget nailed down, you must keep track of your expenses in order to know how well you&#8217;re keeping to the budget. Businesses will often have an approval process for expenses over a certain amount to make sure they can be reviewed ahead of time to ensure they do not harm budget compliance and are smart purchasing decisions. A rigid process for approvals isn&#8217;t necessarily important, but the concept should be used to make decisions.</p>
<h3>Forecasting</h3>
<p>Every business must plan for the future. What do we think our sales will be for the next six months? Do we have any major purchases coming this year? Are we going to have to hire a new employee? And so on. To avoid last minute surprises families should do the same. You can&#8217;t plan for everything, but you often know things like: &#8220;I need new tires in a couple of months&#8221;, &#8220;we need to remodel the kitchen&#8221; or &#8220;the kids need school supplies next month.&#8221;</p>
<p>These things should be captured and planned for financially as soon as possible.</p>
<h3>Shared Knowledge</h3>
<p>In a business you typically do not want any one person to have information locked in their head without someone else having the same information. In a business this can be a problem due to employee turnover,  vacation time, sickness or even death.</p>
<p>A family can experience similar issues. If a husband is in the military and deployed overseas, the husband can&#8217;t have account numbers and passwords locked in his head that his wife may need. And although it&#8217;s not fun to talk about, in the event of an unexpected death in the family, there&#8217;s no way to get that information.</p>
<p>However, if the family kept all of this kind of information in a secure wiki of some sort instead of locked in their heads, this wouldn&#8217;t be an issue. Sure, you aren&#8217;t going to type up <strong>everything</strong> you know, but maybe you&#8217;ll be able to get the critically important stuff on &#8220;paper&#8221;.</p>
<h3>Reporting and Analysis</h3>
<p>What good does entering data do if you never see it again? A business must report on their data and analyze their reports to make improvements in business processes over time. Families should do the same. It&#8217;s not just enough to have a report; you have to look at them and use them to make decisions about your future for them to do you any good.</p>
<h3>Document Management</h3>
<p><a href="http://maxschmeling.me/wp-content/uploads/2012/01/document-management.jpg"><img class="alignright  wp-image-148" title="document-management" src="http://maxschmeling.me/wp-content/uploads/2012/01/document-management-300x225.jpg" alt="" width="240" height="180" /></a></p>
<p>This is a major one for me personally. Businesses generate a lot of documents &#8211; invoices, purchase orders, blueprints, proposals, contracts, etc &#8211; and must have a system in place to store these documents in a way that they are easily retrieved. This used to be accomplished with rooms full of filing cabinets, but in the modern age, document management systems can store everything in digital filing cabinets that require just as much room as the computer where they are stored.</p>
<p>Although we won&#8217;t personally generate as many documents as most businesses, families have to deal with receipts, tax documents, insurance cards,  birth certificates, various letters and all kinds of random documents. It may not take a room full of filing cabinets, but storing and organizing all of these documents can be a hassle without the right system.</p>
<p>I&#8217;ve often needed a document that&#8217;s in the office at home when I&#8217;m not at home. For example, have you ever gone to the DMV and needed an electric or water bill to verify your address? If your documents were stored in a digital document management system they could be accessed via a smart phone or table from anywhere in the world.</p>
<h3>Project Management System</h3>
<p>Many businesses use a project management system to manage the many different activities going on within the company. A project management system can help a business track what things have to happen for a project to get completed, what has already happened, who&#8217;s working on what, how much longer it will take, and what problems have been encountered.</p>
<p>I don&#8217;t know about you, but at our house, we have a lot of projects: the screens need replaced on our windows, the trim needs fixed in several rooms, we need to remodel our master bathroom one of these days, and much more. There are so many things that need done I can&#8217;t keep track of them all. Why don&#8217;t we have a system that lets us keep track of how much we need to do, what resources we will need to accomplish it, and how much progress we&#8217;ve made?</p>
<p>You don&#8217;t need a project management system for doing the dishes or putting air in the tires, but for some of those bigger things, wouldn&#8217;t it be helpful?</p>
<h3>Inventory</h3>
<p>I live in Joplin, MO which was recently devastated by an EF-5 tornado that passed through the middle of our city.</p>
<div id="attachment_145" class="wp-caption alignright" style="width: 310px"><a href="http://maxschmeling.me/wp-content/uploads/2012/01/Joplin_Tornado_Aerial.jpg"><img class="size-medium wp-image-145" title="Joplin_Tornado_Aerial" src="http://maxschmeling.me/wp-content/uploads/2012/01/Joplin_Tornado_Aerial-300x174.jpg" alt="" width="300" height="174" /></a><p class="wp-caption-text">Aerial view of Joplin, MO after the tornado.</p></div>
<p>My wife, son, in-laws, and nephew were all huddled in the middle of our house with me 3 blocks from absolute destruction while the tornado ripped up our roofing, blew down our fence,  and thew a pile of debris all over our house and yard. Fortunately we were all safe, and all of the damage was easily fixable. However, one of my coworkers &#8211; <a href="http://jedwards14.blogspot.com/">Josh</a> and his wife <a href="http://tornadoblessings.blogspot.com">Anna</a> &#8211; was not so lucky. Josh and Anna were on vacation when I called to let them know their house was completely gone. They lost everything but what they had in their bags and a few things that were salvageable from the rubble. For insurance purposes they had to list everything that was lost in the tornado in order to get money to replace their belongings. It took them weeks upon weeks and they still didn&#8217;t get everything listed.</p>
<p>What if they had already made a list &#8211; a living list &#8211; that they kept up to date as the bought, sold, or gave away items?</p>
<h3>Customer Relationship Management</h3>
<p>I&#8217;ll let Wikipedia do the background on this one.</p>
<blockquote><p><em><strong>Customer relationship management (CRM)</strong> is a widely implemented strategy for managing a company’s interactions with customers, clients and sales prospects. It involves using technology to organize, automate, and synchronize business processes—principally sales activities, but also those for marketing, customer service, and technical support. The overall goals are to find, attract, and win new clients, nurture and retain those the company already has, entice former clients back into the fold, and reduce the costs of marketing and client service. Customer relationship management describes a company-wide business strategy including customer-interface departments as well as other departments. Measuring and valuing customer relationships is critical to implementing this strategy.</em></p>
<p style="text-align: right;"><em></em><em></em><strong><em><a href="http://en.wikipedia.org/wiki/Customer_relationship_management">Wikipedia</a></em></strong></p>
</blockquote>
<div id="attachment_151" class="wp-caption alignright" style="width: 310px"><a href="http://maxschmeling.me/wp-content/uploads/2012/01/friends.jpg"><img class="size-full wp-image-151 " title="friends" src="http://maxschmeling.me/wp-content/uploads/2012/01/friends.jpg" alt="" width="300" height="239" /></a><p class="wp-caption-text">FRIENDS (TV Show)</p></div>
<p>You may be wondering where I&#8217;m going with this one because &#8220;families don&#8217;t have customers!&#8221; However, people do know other people &#8212; well, most of us do anyways. Maybe you want to send a small Christmas gift to many of your acquaintances this year and you need to keep track of what you&#8217;re going to send and to whom you&#8217;re going to send it. Maybe you&#8217;re hosting a Superbowl party and are going to invite several other families. How many people are coming? How many kids are there going to be? How old are the kids? How much food will I need? What is Bob&#8217;s youngest son&#8217;s name again?</p>
<p>&nbsp;</p>
<p>Can you think of any other things to add to my list? I&#8217;d love to hear your thoughts.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2012/01/05/what-can-families-learn-from-businesses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I fixed my WiFi driver that Windows Updates broke</title>
		<link>http://maxschmeling.me/2011/06/06/how-i-fixed-my-wifi-driver-that-windows-updates-broke/</link>
		<comments>http://maxschmeling.me/2011/06/06/how-i-fixed-my-wifi-driver-that-windows-updates-broke/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 19:54:03 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=81</guid>
		<description><![CDATA[Note: My laptop is a Dell Latitude E6510 running Windows 7 64 bit.   <p>I usually do not have any issues when installing Windows Updates, but this last time it severely crippled my networking capabilities. As soon as I installed the latest updates and restarted my computer, my wireless card was gone. It wasn&#8217;t in [...]]]></description>
			<content:encoded><![CDATA[<address>Note: My laptop is a Dell Latitude E6510 running Windows 7 64 bit.</address>
<address> </address>
<p>I usually do not have any issues when installing Windows Updates, but this last time it severely crippled my networking capabilities. As soon as I installed the latest updates and restarted my computer, my wireless card was gone. It wasn&#8217;t in my network adapters, device manager didn&#8217;t recognize it, Windows Updates couldn&#8217;t find a driver for it, Device Manager couldn&#8217;t find a driver for it when I told it to search, and worst of all Dell didn&#8217;t have a driver for it.</p>
<p>I spent almost two weeks off and on trying to fix my wireless adapter. I finally figured out what I needed to do: use Linux to figure out what specific wireless card I have and then search for a driver online somewhere. I was never able to figure out what specific wireless card I had with Windows.</p>
<p>Using the lspci command, a coworker with the same laptop was able to tell me that the wireless card was a <span style="font-size: small;"><strong>03:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)</strong>. Armed with this information, I set out to find a driver online, but had no luck. I eventually figured out that I could tell Windows what my device is using the following method:</span></p>
<ol>
<li>I found the device in Device Manager (not hard because it was the only one with an exclamation mark and it was preselected because Windows didn&#8217;t know what it was). It knew enough to call it &#8220;Network Controller&#8221;, however.</li>
<li>I right clicked the device and selected &#8220;Update Driver Software&#8221;.</li>
<li>I selected the second option in the dialog: Browse my computer for driver software&#8221;.<br />
<img class="size-full wp-image-82 aligncenter" title="Step1" src="http://maxschmeling.me/wp-content/uploads/2011/06/Step1.png" alt="" width="565" height="414" /></li>
<li>Now instead of actually giving it a path and letting it browse for driver software, I clicked the option at the bottom of the wizard that says &#8220;Let me pick from a list of device drivers on my computer&#8221;.<a href="http://maxschmeling.me/wp-content/uploads/2011/06/Step2.png"><img class="aligncenter size-full wp-image-83" title="Step2" src="http://maxschmeling.me/wp-content/uploads/2011/06/Step2.png" alt="" width="565" height="414" /><br />
</a></li>
<li>
<address>At this point I was able to use the information my coworker had given me about the specific type of wireless card to select the manufacturer (<em>Broadcom</em>) and the network adapter type (<em>Broadcom 43224 AG 802.11 a/b/g/draf-n Wi-Fi Adapter</em>). NOTE: If your network adapter isn&#8217;t in the list you may need to download and install the driver. For my laptop, the driver can be downloaded from <a title="wireless-driver.com" href="http://www.wireless-driver.com/broadcom-4321ag4322ag43224ag-windows7-driver-v560188/">wireless-driver.com</a>, but you may be able to go to your manufacturers website or somewhere else.<a href="http://maxschmeling.me/wp-content/uploads/2011/06/Step3.png"><img class="aligncenter size-full wp-image-84" title="Step3" src="http://maxschmeling.me/wp-content/uploads/2011/06/Step3.png" alt="" width="565" height="414" /><br />
</a></address>
</li>
<li>I clicked Next and the wizard gave me a stern warning about the possibility that I&#8217;m screwing up my computer, but since it was already screwed up, I dismissed the warning and it installed successfully.</li>
<li>Without even restarting my wireless started working. <img src='http://maxschmeling.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/06/06/how-i-fixed-my-wifi-driver-that-windows-updates-broke/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debugging Adobe AIR applications on 64-bit Linux</title>
		<link>http://maxschmeling.me/2011/05/14/debugging-adobe-air-applications-on-64-bit-linux/</link>
		<comments>http://maxschmeling.me/2011/05/14/debugging-adobe-air-applications-on-64-bit-linux/#comments</comments>
		<pubDate>Sat, 14 May 2011 02:49:04 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[64-bit]]></category>
		<category><![CDATA[adobe-air]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=68</guid>
		<description><![CDATA[<p>Today I tried picking up on <a title="OpenFlame on GitHub" href="https://github.com/MaxSchmeling/OpenFlame" target="_blank">a project I started</a> a while back in Adobe AIR. I quickly ran into an issue when trying to run it with ADL (the Adobe Debug Launcher). It didn&#8217;t matter what I tried, whenever I would run ADL, I would get an error saying [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried picking up on <a title="OpenFlame on GitHub" href="https://github.com/MaxSchmeling/OpenFlame" target="_blank">a project I started</a> a while back in Adobe AIR. I quickly ran into an issue when trying to run it with ADL (the <strong>A</strong>dobe <strong>D</strong>ebug <strong>L</strong>auncher). It didn&#8217;t matter what I tried, whenever I would run ADL, I would get an error saying &#8220;No such file exists&#8221;.</p>
<p>After a lot of searching, I finally realized this was because ADL is a 32 bit file, and I&#8217;m running 64 bit Linux. After that, I quickly found a <a href="http://maketecheasier.com/run-32-bit-apps-in-64-bit-linux/2009/08/10/" target="_blank">helpful article</a>, executed the following command to install 32 bit libraries, and everything worked great.</p>
<pre class="brush: plain; title: ; notranslate">sudo apt-get install ia32-libs</pre>
<address> NOTE: I&#8217;m using Ubuntu. If you&#8217;re using a different distro, you&#8217;ll need to find the appropriate package.</address>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/05/14/debugging-adobe-air-applications-on-64-bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start campfires with Matches.NET</title>
		<link>http://maxschmeling.me/2011/03/05/start-campfires-with-matches-net/</link>
		<comments>http://maxschmeling.me/2011/03/05/start-campfires-with-matches-net/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 01:30:00 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[matches.net campfire .net]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=21</guid>
		<description><![CDATA[<p>My company, <a href="http://grayhills.com/">Gray Hills Software</a>, has just published <a href="http://www.grayhills.com/products-services/matches-net/">the .Net Campfire API</a> that I wrote. This library was written during the development of <a href="http://www.grayhills.com/products-services/flamecage/">FlameCage</a>, our soon to be released <a href="http://campfirenow.com/">Campfire</a> client.</p> <p>We&#8217;ve created a NuGet package and uploaded it to the <a href="http://nuget.org/">NuGet Gallery</a> so you should be able to search [...]]]></description>
			<content:encoded><![CDATA[<p>My company, <a href="http://grayhills.com/">Gray Hills Software</a>, has just published <a href="http://www.grayhills.com/products-services/matches-net/">the .Net Campfire API</a> that I wrote. This library was written during the development of <a href="http://www.grayhills.com/products-services/flamecage/">FlameCage</a>, our soon to be released <a href="http://campfirenow.com/">Campfire</a> client.</p>
<p>We&#8217;ve created a NuGet package and uploaded it to the <a href="http://nuget.org/">NuGet Gallery</a> so you should be able to search for it using NuGet inside of Visual Studio <span>(<a href="http://haacked.com/archive/2010/10/06/introducing-nupack-package-manager.aspx">more info</a>)</span>. However, there are two downloads (one for binaries, and one for source) on our bitbucket site if you prefer the old fashioned approach.</p>
<p>We look forward to hearing from you about the API. We welcome thoughts, suggestions, bug reports, and we especially welcome pull requests.</p>
<p>I will be following up soon with a few posts about how to use Matches.NET.</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/03/05/start-campfires-with-matches-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain service extension method</title>
		<link>http://maxschmeling.me/2011/01/31/domain-service-extension-method/</link>
		<comments>http://maxschmeling.me/2011/01/31/domain-service-extension-method/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 19:22:00 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[ria-services .net-4 silverlight C#]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=19</guid>
		<description><![CDATA[<p>This little extension method is something I wrote to help cleanup domain context code&#8230; just thought I would share:</p> <p>Enjoy!</p>]]></description>
			<content:encoded><![CDATA[<p>This little extension method is something I wrote to help cleanup domain context code&#8230; just thought I would share:</p>
<pre class="brush: csharp; title: ; notranslate">

public static class DomainContextExtensions
{
  public static void Load(this DomainContext domainContext,
                          EntityQuery query,
                          Action&lt;LoadOperation&gt; preprocessCallback,
                          Action&lt;LoadOperation&gt; successCallback,
                          Action&lt;LoadOperation&gt; errorCallback,
                          Action&lt;LoadOperation&gt; postprocessCallback = null)
    where TEntity : Entity
  {
    domainContext.Load(query, load =&gt;
    {
      if (preprocessCallback != null)
        preprocessCallback(load);

      if (load.HasError)
      {
        if (errorCallback != null)
        {
          errorCallback(load);
          load.MarkErrorAsHandled();
        }
      }
      else
      {
        successCallback(load);
      }

      if (postprocessCallback != null)
        postprocessCallback(load);
    }, null);
  }
}
</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/01/31/domain-service-extension-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T4MVC and absolute URLs</title>
		<link>http://maxschmeling.me/2011/01/21/t4mvc-and-absolute-urls/</link>
		<comments>http://maxschmeling.me/2011/01/21/t4mvc-and-absolute-urls/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 23:19:00 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[t4mvc asp.net-mvc]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=18</guid>
		<description><![CDATA[<p>I&#8217;ve been using <a href="http://mvccontrib.codeplex.com/wikipage?title=T4MVC">T4MVC</a> for quite some time now, but I&#8217;ve just discovered a wonderful feature: the ability to generate absolute URLs using the standard T4MVC strongly typed helpers. It&#8217;s extremely simple, compared to doing it the manual way. If you have a controller named AccountController with an action called Login, the following line [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://mvccontrib.codeplex.com/wikipage?title=T4MVC">T4MVC</a> for quite some time now, but I&#8217;ve just discovered a wonderful feature: the ability to generate absolute URLs using the standard T4MVC strongly typed helpers. It&#8217;s extremely simple, compared to doing it the manual way. If you have a controller named AccountController with an action called Login, the following line will return a string with the absolute URL to the login page:</p>
<div>
<pre>
<pre style="font-family: consolas;">Url.ActionAbsolute(<span style="color: #2b91af;">MVC</span>.Account.Login())</pre>
</pre>
</div>
<p>I love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/01/21/t4mvc-and-absolute-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting by without a DataTemplateSelector in Silverlight</title>
		<link>http://maxschmeling.me/2011/01/12/getting-by-without-a-datatemplateselector-in-silverlight/</link>
		<comments>http://maxschmeling.me/2011/01/12/getting-by-without-a-datatemplateselector-in-silverlight/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 06:50:00 +0000</pubDate>
		<dc:creator>Max</dc:creator>
				<category><![CDATA[silverlight .net]]></category>

		<guid isPermaLink="false">http://maxschmeling.me/?p=16</guid>
		<description><![CDATA[<p>I was working on a Silverlight 4 project with <a href="http://jedwards14.blogspot.com/">a coworker</a> a few days ago and needed to display a list of objects with different editors based on the type of object. The first thing that came to my mind was to use a DataTemplateSelector. I found out quickly that the Silverlight team &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a Silverlight 4 project with <a href="http://jedwards14.blogspot.com/">a coworker</a> a few days ago and needed to display a list of objects with different editors based on the type of object. The first thing that came to my mind was to use a DataTemplateSelector. I found out quickly that the Silverlight team &#8211; for whatever reason &#8211; decided they didn&#8217;t want to include a DataTemplateSelector.  Frustrated, we turned to Google and found a  <a href="http://www.c-sharpcorner.com/blogs/BlogDetail.aspx?BlogId=1937">blog post</a> by <a href="http://www.c-sharpcorner.com/Blogs/BloggerDetails.aspx?BloggerId=mgold">Mike Gold</a> that was basically exactly what we needed.  I made a few modifications to how he implemented this solution (which I think make it simpler), so I&#8217;m posting it here in case it might help someone else.</p>
<div>The idea is to use a custom <a href="http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter.aspx">IValueConverter</a> to convert data templates into content inside of a <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.contentcontrol.aspx">ContentControl&#8217;s</a> <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.contentcontrol.content.aspx">Content property</a>. Here is the code for the converter that I used in my sample:</div>
<pre>
<pre class="brush: plain; title: ; notranslate">
public class CustomerDataTemplateSelectorConverter : IValueConverter
{
    public DataTemplate ActiveCustomerDataTemplate { get; set; }
    public DataTemplate InactiveCustomerDataTemplate { get; set; }

    public object Convert(object value, Type targetType,
                            object parameter, CultureInfo culture)
    {
        var customer = value as Customer;
        if (customer != null)
        {
            return customer.IsActive
                        ? ActiveCustomerDataTemplate.LoadContent()
                        : InactiveCustomerDataTemplate.LoadContent();
        }
        return null;
    }

    public object ConvertBack(object value, Type targetType,
                                object parameter, CultureInfo culture)
    {
        // this method should never be called
        throw new NotImplementedException();
    }
}
</pre>
</pre>
<div>
<div>I&#8217;ve put the sample code up on BitBucket: <a href="https://bitbucket.org/schmeling88/datatemplateselector-workaround/src">https://bitbucket.org/schmeling88/datatemplateselector-workaround/src</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://maxschmeling.me/2011/01/12/getting-by-without-a-datatemplateselector-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

