<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Elegant Code - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-bbaf89be" type="application/json"/><link>http://elegantcode01.disqus.com/</link><description></description><atom:link href="http://elegantcode01.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 08 May 2012 05:13:33 -0000</lastBuildDate><item><title>Re: Nancy : 0.11, more than the sum of its parts</title><link>http://elegantcode.com/2012/05/07/nancy-0-11-more-than-the-sum-of-its-parts/#comment-522525879</link><description>&lt;p&gt;awesome sauce&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Francisco Ruiz</dc:creator><pubDate>Tue, 08 May 2012 05:13:33 -0000</pubDate></item><item><title>Re: Nancy : 0.11, more than the sum of its parts</title><link>http://elegantcode.com/2012/05/07/nancy-0-11-more-than-the-sum-of-its-parts/#comment-522326379</link><description>&lt;p&gt;awesome&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vince</dc:creator><pubDate>Mon, 07 May 2012 23:12:07 -0000</pubDate></item><item><title>Re: Nancy : Now with Mono builds on every commit</title><link>http://elegantcode.com/2012/05/03/nancy-now-with-mono-builds-on-every-commit/#comment-518424362</link><description>&lt;p&gt;Nice! That means the agent can be used by others too? I am a huge fan of codebetter, but it is time for them to upgrade to the latest teamcity version! If only they'd incorporate new releases of TC a bit faster. But nonetheless great service, great support...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Marbach</dc:creator><pubDate>Fri, 04 May 2012 00:54:25 -0000</pubDate></item><item><title>Re: Nancy : Now with Mono builds on every commit</title><link>http://elegantcode.com/2012/05/03/nancy-now-with-mono-builds-on-every-commit/#comment-518051629</link><description>&lt;p&gt;Thanks for making Mono a first class citizen in Nancy!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dale Ragan</dc:creator><pubDate>Thu, 03 May 2012 18:01:26 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-509950830</link><description>&lt;p&gt;Have you considered you might be working in a hostile environment and might need a job change?  Or has "bitter" invaded you psyche to the point of non-extraction?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Brandsma</dc:creator><pubDate>Thu, 26 Apr 2012 14:19:56 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-509947446</link><description>&lt;p&gt;I'd agree with this.  As I am dealing with people that don't understand that they are 'being a dick', and can comprehend why they aren't liked (assuming they notice).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Brandsma</dc:creator><pubDate>Thu, 26 Apr 2012 14:16:10 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-508071122</link><description>&lt;p&gt;Do you go to work in a Barney suit? Just kidding. What a wonderful world it would be. I can certainly strive for all these. The only person I can reasonably expect to change is me. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">POD</dc:creator><pubDate>Tue, 24 Apr 2012 14:18:22 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-507880900</link><description>&lt;p&gt;See also &lt;a href="http://friendda.org/" rel="nofollow"&gt;http://friendda.org/&lt;/a&gt;, the "don't be a dick" of NDAs&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Bloom</dc:creator><pubDate>Tue, 24 Apr 2012 10:11:40 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-506714048</link><description>&lt;p&gt; I think Jose means that Giving credit where due should be in the code of ethics!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mohit</dc:creator><pubDate>Mon, 23 Apr 2012 07:40:12 -0000</pubDate></item><item><title>Re: Create a Custom Prism RegionAdapter</title><link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comment-505970218</link><description>&lt;p&gt;Good stuff, Brian.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wojo</dc:creator><pubDate>Sun, 22 Apr 2012 02:35:07 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-505969366</link><description>&lt;p&gt;Thanks for the thought-provoking post....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Wojo</dc:creator><pubDate>Sun, 22 Apr 2012 02:31:18 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-505661344</link><description>&lt;p&gt;All of this is why (as I wrote in the post) I came to the conclusion that this was simply a mental exercise not worthy of pursuit beyond my own consideration.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ElegantCoder</dc:creator><pubDate>Sat, 21 Apr 2012 14:25:08 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-505659830</link><description>&lt;p&gt;Perhaps you should re-read the post and follow the links in it. Yes, I read them all and found that they were not representative of me or my thoughts on our craft.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ElegantCoder</dc:creator><pubDate>Sat, 21 Apr 2012 14:23:59 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-505255889</link><description>&lt;p&gt;Oh ya, the IEEE and DPMA... who-wha? Seems like those have done a lot of good. Old ground is right.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ICanPostAnonymousToo</dc:creator><pubDate>Sat, 21 Apr 2012 04:11:32 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-505253933</link><description>&lt;p&gt;you are the reason lists like this exist&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ratSD</dc:creator><pubDate>Sat, 21 Apr 2012 04:09:31 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-504732179</link><description>&lt;p&gt;Have you looked at the code of ethics published by ACM many, many years ago? Or the IEEE Computer Society's either? How about the DPMA's professional code (forgot what the "newest" name of the association is)? This is old ground, do some real research before venturing in to this arena. There are professional societies that have addressed this issue beginning as much as 50 years ago.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cawolfe</dc:creator><pubDate>Fri, 20 Apr 2012 20:47:41 -0000</pubDate></item><item><title>Re: MVC Portable Areas</title><link>http://elegantcode.com/2012/04/06/mvc-portable-areas/#comment-504281382</link><description>&lt;p&gt; Many, many thanks !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sody</dc:creator><pubDate>Fri, 20 Apr 2012 14:58:14 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-504173795</link><description>&lt;p&gt;Hmm... seems to me that you're over-thinking it. My version goes like this: "Write the system because you love it. If you don't love it, don't write it... or if you must, then don't inflict the result on anyone else."&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Sutton</dc:creator><pubDate>Fri, 20 Apr 2012 13:17:01 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-504111992</link><description>&lt;p&gt;A professional code of ethics must come with sanctions for non-compliance or it is just mental masturbation. Going down that road means licensing, and malpractice insurance, and attempts to control the labor market for software engineers. Think hard before starting down that road. &lt;/p&gt;

&lt;p&gt;Sanctions must apply, not just to engineers, but to the corporations that employ them. If your building falls down, you can sue the contractor as well as the architect. As long as software companies can disclaim liability, software engineers ought not paint a target on their foreheads. &lt;/p&gt;

&lt;p&gt;Codes of conduct do not guarantee ethical behavior. Engineers are human beings, and they exhibit the same range of ethical conscience as the human population.&lt;/p&gt;

&lt;p&gt;I thought I admired physicians swearing to the ancient Hippocratic Oath, until I discovered (while writing this comment) that its original text had lost its direct relevance, and had been reworked and reimagined so many times as to lose its value. So there is danger in this path too.&lt;/p&gt;

&lt;p&gt;Can't we just swear by all the gods and goddesses not to be a dick?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kurt Guntheroth</dc:creator><pubDate>Fri, 20 Apr 2012 12:18:40 -0000</pubDate></item><item><title>Re: MVC Portable Areas</title><link>http://elegantcode.com/2012/04/06/mvc-portable-areas/#comment-504105522</link><description>&lt;p&gt;Hi Sody,&lt;/p&gt;

&lt;p&gt;So the simplest thing you could do is do this:&lt;/p&gt;

&lt;p&gt;1. Add this to your registration right below the scripts registration:&lt;/p&gt;

&lt;p&gt;            context.MapRoute(&lt;br&gt;                AreaName + "_content",&lt;br&gt;                base.AreaRoutePrefix + "/Content/{resourceName}",&lt;br&gt;                new { controller = "EmbeddedResource", action = "Index", resourcePath = "content" },&lt;br&gt;                new[] { "MvcContrib.PortableAreas" }&lt;br&gt;            );&lt;/p&gt;

&lt;p&gt;2. Add a style sheet, I called mine demo.css with this in it:&lt;/p&gt;

&lt;p&gt;div.helloworld {&lt;br&gt;    font-weight: bold;&lt;br&gt;}&lt;/p&gt;

&lt;p&gt;3. Mark that style sheet embedded resource, by going right clicking on the file and going to properties.&lt;/p&gt;

&lt;p&gt;4. Change the html to look like this in the view Hello.cshtml:&lt;br&gt;@model dynamic&lt;br&gt; &lt;br&gt;&amp;lt;link href="@Url.Content("~/Demo/Content/demo.css")"  rel="stylesheet" type="text/css"/&amp;gt;&lt;br&gt; &lt;br&gt;&amp;lt;div class="helloworld"&amp;gt;&lt;br&gt;Hello World    &lt;br&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;

&lt;p&gt;5. Build and run it. - Should see Hello World in bold&lt;/p&gt;

&lt;p&gt;Notice the link that references the stylesheet. This now has Demo in it. What we did was tell the portable area that whenever it sees the route with Content in it, use the embedded resource controller. The thing is, you might have image urls in the stylesheet. Make sure those images are embedded and the either exist in the images folder that already has a route set up for it or you set up another route for those images. Not bad, just always remember that whatever files like css, images, or javascript all have to be embedded. Then the EmbeddedResourceController (built into the MvcContrib) will take care of it from there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Moser</dc:creator><pubDate>Fri, 20 Apr 2012 12:12:37 -0000</pubDate></item><item><title>Re: MVC Portable Areas</title><link>http://elegantcode.com/2012/04/06/mvc-portable-areas/#comment-504069665</link><description>&lt;p&gt;Hi Mike,&lt;/p&gt;

&lt;p&gt;thank your for this article. This is exactly what I was searching for.&lt;br&gt;I've got a simple question. How cann I use CSS class in that PortableArea project ? Let's say...I will add a simple style /for instance font-bold/ to DIV with text HELLO WORLD und wannt to use it in  PortableAreaDemo.Mvc project.&lt;br&gt;Is there any chance to define also CSS styles in that PortableArea project und use it ?&lt;/p&gt;

&lt;p&gt;Please advice.&lt;/p&gt;

&lt;p&gt;Thx&lt;br&gt;Michal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sody</dc:creator><pubDate>Fri, 20 Apr 2012 11:38:27 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-504058774</link><description>&lt;p&gt;This is utopian pablum that bears no resemblence to reality. This type of thinking drives my nuts. It is feel good psychobabbel from someone who is in love with their own mind, usually masked by false humility.&lt;br&gt;1. Really? My company is exploiting me. And I hope they continue to do so. Perhaps you should look up the definition of exploiting.&lt;br&gt;2. Giving respect and being honest can be mutually exclusive.&lt;br&gt;5. No one does this, ever. Anyone who has worked in software quality knows defect prevention "whenever possible" is not the goal and is too expensive. "whenever possible" has a billion dollar price tag. And you still wouldn't prevent all the bugs.&lt;br&gt;7, 10 "best of my ability", no one does this. Everyone works at about their average most of the time. And who is to judge what the "best of my ability" is?&lt;br&gt;8, 12. How are these ethical issues?&lt;br&gt;You can eliminate any item that is not externally, observably verifiable, since we know that self assessment is the most error prone assessment.&lt;br&gt;You should provide examples for each item in the list. What action would be in compliance and what would not? Focus on the edge conditions.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DStar</dc:creator><pubDate>Fri, 20 Apr 2012 11:27:55 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-503945839</link><description>&lt;p&gt; In the DRY tradition - there is some redundancy here. 3 and 9 are very similar. It also seems to boil down to:&lt;/p&gt;

&lt;p&gt;Care about your customer.&lt;br&gt;Act with Integrity.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominic Amann</dc:creator><pubDate>Fri, 20 Apr 2012 08:59:50 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-503935243</link><description>&lt;p&gt;I like your list.  In my mind, it represents a "Pledge to customers" and I should add a section for that on this site: &lt;a href="http://www.programmerspledge.com/" rel="nofollow"&gt;http://www.programmerspledge.c...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Kraft</dc:creator><pubDate>Fri, 20 Apr 2012 08:44:49 -0000</pubDate></item><item><title>Re: Software Professional Code of Ethics</title><link>http://elegantcode.com/2012/04/18/software-professional-code-of-ethics/#comment-503515747</link><description>&lt;p&gt; This by far... is the best license agreement I've ever read! Made my day!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dwayne Hinterlang</dc:creator><pubDate>Fri, 20 Apr 2012 03:26:12 -0000</pubDate></item></channel></rss>
