<?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>Musings&#60;Biefeld&#62; &#187; Design</title>
	<atom:link href="http://sbiefeld.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://sbiefeld.com</link>
	<description>- curiosities of development, life, the universe and everything -</description>
	<lastBuildDate>Thu, 17 Nov 2011 04:01:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>No Fluff News &#8211; Coming soon</title>
		<link>http://sbiefeld.com/2009/05/no-fluff-news-coming-soon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=no-fluff-news-coming-soon</link>
		<comments>http://sbiefeld.com/2009/05/no-fluff-news-coming-soon/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:44:04 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[no fluff news]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=372</guid>
		<description><![CDATA[I am ramping up on my next personal project, No Fluff News. The site is going to be designed to sort out real news from non-news. The objective so far: Aggregate news, weed out non-news, link to true news, create an insightful, non-PC, sarcastic description and picture per item. For updates on the site follow [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>I am ramping up on my next personal project, <a href="http://nofluffnews.org" target="_blank">No Fluff News</a>.  The site is going to be designed to sort out real news from non-news. The objective so far: Aggregate news, weed out non-news, link to true news, create an insightful, non-PC, sarcastic description and picture per item. For updates on the site follow on twitter, <a href="http://twitter.com/nofluffnews" target="_blank">@nofluffnews</a>.</p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/no-fluff-news-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated MonoChrome Firefox theme</title>
		<link>http://sbiefeld.com/2009/05/updated-monochrome-firefox-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=updated-monochrome-firefox-theme</link>
		<comments>http://sbiefeld.com/2009/05/updated-monochrome-firefox-theme/#comments</comments>
		<pubDate>Wed, 13 May 2009 04:16:38 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[MonoChrome]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=274</guid>
		<description><![CDATA[Hey just wanted to let everyone know that I updated my Firefox theme, MonoChrome, for version 3.5b4pre.You can grab it from the link below: https://addons.mozilla.org/en-US/firefox/addon/8791 Screen shot: If you would like to contribute or grab the source, it is hosted on google code: http://code.google.com/p/monochrometheme]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>Hey just wanted to let everyone know that I updated my Firefox theme, MonoChrome, for version 3.5b4pre.<br />You can grab it from the link below:</p>
<p><br/></p>
<p><a target="_blank" title="MonoChrome" href="https://addons.mozilla.org/en-US/firefox/addon/8791">https://addons.mozilla.org/en-US/firefox/addon/8791</a></p>
<p><br/></p>
<p>Screen shot:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/monochromeBrowserAll.png" /></p>
<p>If you would like to contribute or grab the source, it is hosted on google code:</p>
<p><a target="_blank" title="monochrome theme" href="http://code.google.com/p/monochrometheme">http://code.google.com/p/monochrometheme</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/updated-monochrome-firefox-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Visual Studio Twilight theme</title>
		<link>http://sbiefeld.com/2009/04/my-visual-studio-twilight-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-visual-studio-twilight-theme</link>
		<comments>http://sbiefeld.com/2009/04/my-visual-studio-twilight-theme/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 05:54:05 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ASPX]]></category>
		<category><![CDATA[Color Scheme]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=208</guid>
		<description><![CDATA[I just finalized my text color theme for visual studio. Just thought I would share it with everyone. It is geared towards those of you who have resharper installed, but it should still work fine without it. The theme is based off of the textmate twilight theme. I was going for a low contrast theme [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>I just finalized my text color theme for visual studio. Just thought I would share it with everyone. It is geared towards those of you who have resharper installed, but it should still work fine without it.</p>
<p><br/></p>
<p>The theme is based off of the <a href="http://wiki.macromates.com/Themes/UserSubmittedThemes" target="_blank">textmate</a> twilight theme. I was going for a low contrast theme that is easy on the eyes.&nbsp; I have tried the Vibrant Ink theme and it is too abrasive for me. My goal was to make warnings and errors blatantly obvious and distinguish classes from interfaces. I also love how the comments are dark and do not draw attention, I am not a big fan of comments.&nbsp; I think the code along with BDD tests should be self-explanatory of what is going on.</p>
<p><br/></p>
<p>All resharper warnings show up as red text. Build errors have red squiggly lines under them.&nbsp; Breakpoints have red background. </p>
<p><br/></p>
<p>Here is a c# example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightCs.PNG" /></p>
<p><br/></p>
<p>Here is an example of an aspx page:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightAspx.PNG" /></p>
<p><br/></p>
<p>Style sheet example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightCss.PNG" /></p>
<p><br/></p>
<p>JavaScript example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightJs.PNG" /></p>
<p><br/></p>
<p>Let me know if you have any suggestions.</p>
<p><br/></p>
<p><a target="_blank" href="http://www.lostechies.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/MyTwighlightTheme.zip">Grab the Visual Studio settings file here!</a></p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/04/my-visual-studio-twilight-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entity Validation Ideation</title>
		<link>http://sbiefeld.com/2009/02/entity-validation-ideation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=entity-validation-ideation</link>
		<comments>http://sbiefeld.com/2009/02/entity-validation-ideation/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 19:53:13 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Domain Driven Design]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=145</guid>
		<description><![CDATA[Issue at Hand: I have been recently sumo wrestling with the idea of entity validation in my mind. So far, the validation problem, which is like, E. Honda, has the advantage over my mind which is currently like, Chun Li. The worst thing is all the other thoughts in my head are constantly struggling against [...]]]></description>
			<content:encoded><![CDATA[<h3>Issue at Hand:</h3>
<p>I have been recently <a href="http://en.wikipedia.org/wiki/Sumo" target="_blank">sumo wrestling</a> with the idea of entity validation in my mind. So far, the validation problem, which is like, <a href="http://sbiefeld.com/Stuff/EHonda.png" target="_blank" rel="lightbox[145]">E. Honda</a>, has the advantage over my mind which is currently like, <a href="http://sbiefeld.com/Stuff/ChunLi.png" target="_blank" rel="lightbox[145]">Chun Li</a>. The worst thing is all the other thoughts in my head are constantly struggling against my entity validation thoughts. As <a href="http://en.wikipedia.org/wiki/Homer_Simpson" target="_blank">Homer Simpson</a> says, &#8220;Every time I learn something new, it pushes some old stuff out of my brain&#8221;. Except for me E. Honda is doing his grab move, where he squeezes his opponent between his fat, and squeezing all of my current thoughts out of my brain. I don&#8217;t understand how sumo wrestling evolved as a sport, do they really have nothing to do in Japan. I bet it was the master creation of some drunken emperor. Umm, let&#8217;s see I want to watch two super fat dudes wearing nothing but a diaper try to knock each other out of circle with their bellies, muahahaha, they&#8217;ll be playing this sport for centuries!</p>
<h3>Ideation:</h3>
<p>I have been pondering about the idea of validation. <a href="http://www.dictionary.com" target="_blank">Dictionary.com</a> says valid is: <i>&#8220;sound; just; well-founded, producing the desired result; effective&#8221;</i>. <a href="http://en.wiktionary.org" target="_blank">Wiktionary&#8217;s</a> valid definition in terms of logic is:<i>&#8220;A formula or system that evaluates to true regardless of the input values.&#8221;</i> When we think of validation in a programmers state of mind, the definition of valid in the logical sense, seems to jive the best. If x == y then it is valid if x != y it is invalid.</p>
<p><br/></p>
<p>Entity validation is determined by business rules and processes. It appears that there are two fundamental approaches to validation, proactive and reactive validation.</p>
<h4>Reactive Validation:</h4>
<p>The most common way I have seen validation handled is the addition of an IsValid state to the entity.  A good way of implementing this approach can be found in a <a href="http://grabbagoft.blogspot.com/2007/10/entity-validation-with-visitors-and.html" target="_blank">posting by Jimmy Bogard</a>. Whenever a business rule or process is broken the entity is no longer in a valid state. Then the user is informed of the problem in a different layer of the application. This form of validation is a very reactive way of handling validation. Meaning that it waits until something bad happens and then performs a function to cope with the contaminated actions. I don&#8217;t like this reactionary response, I would rather use something more preventative.</p>
<h4>Proactive Validation:</h4>
<p>What is valid validation? I wonder how many times I can use the word valid, or one of its etymological children in this post? What is a valid number of uses? I think the answer is <a href="http://en.wikipedia.org/wiki/42_(number)" target="_blank">42</a>.</p>
<p><br/>
<p>So, is valid validation a proactive or reactive approach? I believe that proactive is always the best approach. My definition of proactive entity validation is never allowing an invalid entity to exist. This means removing the concept of an IsValid state on the entity. Once that is removed you don&#8217;t have to do an IsValid check everywhere in the application, which is my main gripe with the reactive solution. Is it valid for your domain to ever contain an entity in an invalid state, something about this scenario makes my skin crawl and stomach churn, or maybe it has to do with something I ate last night. Hmm, it was spicy so maybe. An invalid entity just seems like a bad idea, it is a treacherous force that will actively work against you like <a href="http://en.wikipedia.org/wiki/Saruman" target="_blank">Saruman&#8217;s</a> voice being cast across middle earth. I think being proactive is a much cleaner approach, and will cleanse your domain of IsValid checks. Wow, that is just a proof less rant.</p>
<p><br/></p>
<p>Now the question is, what&#8217;s the best way to implement such a proactive solution? That&#8217;s the <a href="http://sbiefeld.com/Stuff/EHonda.png" target="_blank" rel="lightbox[145]">E. Honda</a> I have been wrestling with. Let&#8217;s go over the broad definition of proactive entity validation. An entity cannot be created if it does not meet the business rules. Once we have a valid entity it cannot be modified unless the modifications satisfy the business rules. The stumbling block arises when your entity&#8217;s validity is based on a certain context. For example, it is valid to have a physicians drug order without a signature. When the process requires that the order to be sent to the pharmacy, the order is only valid when it has a signature. Ah, now the proactive solution becomes tricky because valid is defined by context. Following the proactive approach I could not create the entity without a signature, because it would be an entity in an invalid state. The only solution that I have thought of to this is having a drug order without the signature and a drug order request that inherits drug order and has the signature. The pharmacy then receives that drug order request with the signature on it.</p>
<h3>Outro:</h3>
<p>I have not yet fully fleshed out the details of how exactly this would be implemented. I hope to hammer out a spike with a spiked drink. I do believe that using a proactive approach to entity validation falls more in line with domain driven design by having a tighter coupling to the business language. A drug order does not need a signature to exist. A drug order request with a signature fulfills the need of the drug order being sent to the pharmacy.</p>
<p><br/>
<p>Be a proactionary and not a reactionary.</p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/02/entity-validation-ideation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MonoChrome: A Firefox theme</title>
		<link>http://sbiefeld.com/2008/09/monochrome-a-firefox-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monochrome-a-firefox-theme</link>
		<comments>http://sbiefeld.com/2008/09/monochrome-a-firefox-theme/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 05:29:29 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Firefox theme]]></category>
		<category><![CDATA[MonoChrome]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=14</guid>
		<description><![CDATA[I just started working on a new Firefox theme, it is actually just a modification of the existing one.&#160; I went through and de-saturated all of the icons in the default Firefox 3 theme.&#160; I have plans to eventually create my own icons and provide monochromed icons for some of the popular extensions. &#160; Here [...]]]></description>
			<content:encoded><![CDATA[<p>I just started working on a new Firefox theme, it is actually just a modification of the existing one.&#160; I went through and de-saturated all of the icons in the default Firefox 3 theme.&#160; I have plans to eventually create my own icons and provide monochromed icons for some of the popular extensions.</p>
<p>&#160;</p>
<p>Here are some screen shots:<br />
  <br /><img src="http://sbiefeld.com/Stuff/preview.png" /> </p>
<p><a href="http://sbiefeld.com/Stuff/preview2.png" rel="lightbox[14]"><img src="http://sbiefeld.com/Stuff/preview2sm.png" /></a></p>
<p>&#160;</p>
<p>It was all fairly simple to do, but ran into a bit of an issue after uploading it Mozilla’s official add-on page.&#160; A good resource is Mozilla’s own documentation, <a href="http://developer.mozilla.org/En/Creating_a_Skin_for_Firefox">http://developer.mozilla.org/En/Creating_a_Skin_for_Firefox</a>.</p>
<p>Basically all I had to do was grab Firefox’s default theme folder, usually located at FireFox\chrome\classic.jar, then you have to extract the items, it is basically just a zip folder, so you can use 7zip or winrar.</p>
<p>&#160;</p>
<p>Then you’ll want to create a new folder somewhere else with the title of your theme, we’ll use <em>BadAssTheme</em>.&#160; Inside that folder you’ll want a <em>chrome</em> folder, copy the <em>browser</em>, <em>communicator</em>, <em>global</em>, <em>help</em> and <em>mozapps</em> folders from the classic theme into your new <em>chrome</em> folder, also copy the <em>icon.png</em> and <em>preview.png</em> files into your <em>chrome</em> folder.&#160; Create a <em>content.rdf</em> and <em>install.rdf</em>, follow the instructions in Mozilla’s documentation for what needs to be in those files.&#160; Go back up to the <em>BadAssTheme</em> folder, create a <em>chrome.manifest</em> file, and put a copy of the <em>icon.png</em>, <em>preview.png</em>, and <em>install.rdf</em> in here as well.&#160; I’ll get to what goes into the manifest next.</p>
<p>&#160;</p>
<p>Once you have gone through and modified all of the images and css you want its time to package everything up.&#160; The way that seems most commonly used is to have an xpi in the chrome folder and then a jar for what is in the root level.&#160; So zip everything up in the <em>chrome</em> folder, rename the file from <em>chrome.zip</em> to <em>chrome.xpi</em>.&#160; Inside of the chrome.manifest you need to specify where the skin files are located inside of the xpi, for example:</p>
<p>&#160;</p>
<p><em>skin browser BasAssTheme jar:chrome/chrome.xpi!/browser/ </em></p>
<p><em>skin communicator BasAssTheme jar:chrome/chrome.xpi!/communicator/</em></p>
<p><em>skin global BasAssTheme jar:chrome/chrome.xpi!/global/</em></p>
<p><em>skin mozapps BasAssTheme jar:chrome/chrome.xpi!/mozapps/</em></p>
<p><em>skin help BasAssTheme jar:chrome/chrome.xpi!/help/</em></p>
<p>&#160;</p>
<p>So now you should only have the xpi container in the chrome folder and a <em>manifest</em>, <em>icon.png</em>, <em>preview.png</em>, <em>install.rdp</em> in the <em>BadAssTheme</em> folder.&#160; Now zip everything in the BadAssTheme folder into a BadAssTheme.zip and rename to BadAssTheme.jar.&#160; You should be good to go now.</p>
<p>&#160;</p>
<p>The issue I ran into with Mozilla’s theme website is that the download works on one of my computers but doesn’t on my other.&#160; The error I am getting is:</p>
<p>&#160;</p>
<p>Firefox could not install the file at<br />
  <br /><a href="https://addons.mozilla.org/en-US/firefox/downloads/file/37146/monochrome-0.4-fx.jar">https://addons.mozilla.org/en-US/firefox/downloads/file/37146/monochrome-0.4-fx.jar</a> </p>
<p>because: Invalid file hash (possible download corruption) </p>
<p>-261</p>
</p>
</p>
<p>&#160;</p>
<p>I am not sure if this is actually a bug in Firefox or with Mozilla’s hosting, because it work on one PC and not the other, they both have the same version of Firefox installed.&#160; Have not been able to find anything helpful through google.&#160; It does install properly if you download it manually and drag and drop it onto Firefox’s add-on manager, so who knows.</p>
<p>&#160;</p>
<p>Source: <a href="http://code.google.com/p/monochrometheme">http://code.google.com/p/monochrometheme</a></p>
<p>&#160;</p>
<p>Theme: <a title="https://addons.mozilla.org/en-US/firefox/addon/8791" href="https://addons.mozilla.org/en-US/firefox/addon/8791">https://addons.mozilla.org/en-US/firefox/addon/8791</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2008/09/monochrome-a-firefox-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

