<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>method &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/method/</link>
	<description>Feed of posts on WordPress.com tagged "method"</description>
	<pubDate>Sun, 27 Dec 2009 06:00:07 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[The Smart World of Ogle]]></title>
<link>http://seansturm.wordpress.com/2009/12/27/the-smart-world-of-ogle/</link>
<pubDate>Sat, 26 Dec 2009 19:49:33 +0000</pubDate>
<dc:creator>Sean Kohingarara Sturm</dc:creator>
<guid>http://seansturm.wordpress.com/2009/12/27/the-smart-world-of-ogle/</guid>
<description><![CDATA[Richard Ogle, Smart World: Breakthrough Creativity and the New Science of Ideas (Harvard Business Sc]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;">Richard Ogle, <em><a href="http://books.google.co.nz/books?id=BkCmmTF6PTAC&#38;lpg=PP1&#38;ots=8VDuvvgjSD&#38;dq=smart%20world%20ogle&#38;pg=PP1#v=onepage&#38;q=&#38;f=false">Smart World: Breakthrough Creativity and the New Science of Ideas</a></em> (Harvard Business School P, 2007)</p>
<p>See <a href="http://www.amazon.com/Smart-World-Breakthrough-Creativity-Science/dp/1591394171">Smart World at Amazon.com</a> and <a href="http://richardogle.typepad.com/site/2007/03/smart_world_bre.html">Ogle&#8217;s blog</a> (with <a href="http://richardogle.typepad.com/site/smart_world_excepts/">some excerpts</a>).</p>
<p><img class="aligncenter" src="http://richardogle.typepad.com/site/images/2007/04/13/smart_world.jpg" alt="" width="100" height="151" /></p>
<p>Creativity is an emergent process in networks, not a property or product of individual actors or their actions.</p>
<p>The mind is embodied (<a title="Being There: Putting Brain, Body, and World Back Together Again" href="http://books.google.co.nz/books?id=i03NKy0ml1gC&#38;lpg=PA9&#38;ots=ZO1ZP3xmLI&#38;dq=%2522Andy%2520Clark%2522%2520%2522outing%2520the%2520mind%2522&#38;pg=PA9%23v=onepage&#38;q=&#38;f=false">Andy Clark</a>, <a href="http://www.expo-cosmos.or.jp/letter/letter12e.html">Francisco Varela</a> <em>et alii</em>): we cannot understand it if we confine it to what happens inside a skull but have to understand it as inextricably woven into the environments in which it exists. In fact, the mind is extended—it stretches out to network with other minds. (Clark calls this “outing the mind” [9].)</p>
<p style="padding-left:30px;"><strong>We don’t create with our brains</strong> (the mind-inside-the-head or MITH model of conscious human agency—what Clark calls “pure thought” [xii]).</p>
<p style="padding-left:30px;"><strong>We create an environment</strong>, i.e., a world of technological artefacts and systems (tools)—or, indeed, “myths, cultural or social practices, scientific paradigms, business models, and . . . art forms” (Ogle 12)—<strong>that thinks for us</strong> (the embedded intelligence or EI model—what Clark calls “embodied thought” with the “mind as controller” (Clark xii, 7).</p>
<p>“Idea spaces” are the hubs or “hotspots” in the network. These are like the “attractors” of complex systems, for example, websites that all of a sudden attract huge numbers of visitors and links. These hotspots can generate tipping points, like the “bifurcators” of complex systems, where the systems undergo a “phase transition” into a new state (see <a href="http://heroesnotzombies.wordpress.com/2007/09/16/smart-world/">Bob Leckridge&#8217;s blog</a>).</p>
<p style="padding-left:30px;"><strong>Creative people</strong> <strong>let the environment or system think for them</strong>.</p>
<p>Thus,</p>
<blockquote><p>[W]e constantly have recourse to a vast array of culturally and socially embodied <em>idea-spaces</em> that populate the extended mind. These spaces . . . are rich with embedded intelligence that we have progressively offloaded into our physical, social, and cultural environment for the sake of simplifying the burden on our minds of rendering the world intelligible. <em>Sometimes the space of ideas thinks for us</em>. We live in a smart world. (Ogle 2, unfortunately plagiarising Daniel Dennett&#8217;s <em><a href="http://books.google.com/books?ei=b3s2S_m0LpTmlASvoNypAQ&#38;cd=1&#38;id=2fV9AAAAMAAJ&#38;dq=Dennett+&#34;Kinds+of+Minds&#34;+offloading&#38;q=offloading#search_anchor">Kinds of Minds</a></em> [NY, NY: Basic Books, 1996] 134)</p></blockquote>
<p>Ogle discusses the “revolution” of Picasso&#8217;s <em>Les </em><em>Demoiselles d&#8217;Avignon</em> (1907):</p>
<p style="text-align:center;"><img class="aligncenter" title="Demoiselles D'Avignon" src="http://www.leninimports.com/pablo_picasso_demoiselles_davignon_2.jpg" alt="" width="211" height="219" /></p>
<div style="padding-left:30px;">Picasso didn’t make a sudden “leap” on his own,</div>
<div style="padding-left:60px;">i.e., it wasn’t genius + inspiration → leap;</div>
<div style="padding-left:30px;">“the leap he made over what preceded it is due primarily to the powerful effect of African sculpture,”</div>
<div style="padding-left:60px;">i.e., it was genius surrendering to an inspiring world → leap.</div>
<blockquote>
<div id="_mcePaste">[H]e surrendered his genius to a strangely exotic world, that, with the shock of the new, radically reorganized and reshaped his art. Picasso invented neither the nonrepresentational, fractured plains nor the exorcist function that would leave such a searing mark on twentieth-century art. African art possessed its own aesthetic and logic, and this became a space to think with. Almost immediately, its energy, forms, and purposes began to drive his own. Encountering a powerful new idea-space, he entered it fully and let its strange but compelling logic think for him. (9)</div>
</blockquote>
<div>Debbie A. Foster visualizes the book in her excellent blog, <a href="http://mymindonbooks.com/?p=279">My Mind on Books</a>:</div>
<div><img class="aligncenter" src="http://mymindonbooks.com/wp-content/uploads/2007/11/smart-world1.jpg" alt="" width="371" height="502" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Wishing you a focused 2010]]></title>
<link>http://webnomena.com/2009/12/26/wishing-you-a-focused-2010/</link>
<pubDate>Sat, 26 Dec 2009 04:38:29 +0000</pubDate>
<dc:creator>Keren Dagan</dc:creator>
<guid>http://webnomena.com/2009/12/26/wishing-you-a-focused-2010/</guid>
<description><![CDATA[My wish for you for the coming year is the same one I wish myself. I wish us many focused hours, day]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://usingit.files.wordpress.com/2009/12/image.png"><img style="display:inline;margin-left:0;margin-right:0;border:0;" title="image" src="http://usingit.files.wordpress.com/2009/12/image_thumb.png?w=244&#038;h=164" border="0" alt="image" width="244" height="164" align="right" /></a>My wish for you for the coming year is the same one I wish myself.</p>
<p><strong>I wish us many focused hours, days, weeks, and months.</strong></p>
<h3>Why focused?</h3>
<p>For me, at work, there is nothing that feels better than leaving the office after having a focused day or week. I enjoy having this sense of accomplishment seeing the tasks lists dwindling down or after solving a tough problem that was risking the current project schedule or customer success. The opposite, having an unfocused day, takes away so much energy thinking about what that is still left hanging.</p>
<h3>Why now?</h3>
<p>As soon as we login to the laptop or any other smart device we are at beginning of a constant struggle. An endless cross roads expends from that point on. Even while waiting, watching the task bar expends from left to right while the OS loads application after application to memory, already new communication channels opens up and start streaming bytes charged with high potential energy for driving your next few minutes, or hours away from the original purpose that motivated you to turn the device on in the first place. Outlook, IM, Twitter desktop client, Firefox with open Gmail, Google Wave, Facebook and WordPress tabs to name a few. There is a race for your attention and every program pushes itself in front of the other.</p>
<p>It is so easy to notice, and so hard to resist to react to, the recent Facebook notification, new Google wave, email from SlideShare or YouTube channel with a bunch of links, follow the current Trending Topic, @reply or IM @friend, reply immediately to that email you were just CCed on with a question that you so know the answer to, but others can handled that as well (and maybe this is there job).</p>
<p>Multi-tasking, enabled by the operating system, along with social media, enabled by the digital multi-media, can create this constant notion of not being on the right thread at any time. And that&#8217;s not even includes doing your work. Some times participating in the real-time search race feels more like “what am I’m missing now?” instead of “what is happening right now?”. The truth is that “now” happens all the time.</p>
<p>We some times have this tendency to follow the <a href="http://en.wikipedia.org/wiki/Shortest_job_next" target="_blank">Shortest job next</a> scheduling algorithm at work. Although this algorithm is great at “minimizing the <span style="text-decoration:underline;">average</span> amount of time each task has to wait until its execution is complete” it could also lead to tasks starvation (i.e. never getting to address it). It could also lead to developing the habit of replacing short with easy or fun.</p>
<h3>Focused does not mean a single goal</h3>
<p>When I say that I’m wishing all of you to have a focused year I don’t mean to focus necessarily on one goal only . It could be ideal to be laser focused on a single goal but it could almost be too ambitious of an objective or even an out of balance way of living, it could kill your health and relationships. <strong>You may choose to focus on multiple goals this year, and it is a big miss not to participate in the social media party, the key is to be focused at the current task at hand.</strong> So, when you work on that paper, problem, long email, and etc, it is OK to be fully present with your eyes, ears, mind and mouse cursor on the current thread. It is OK to tune out for a bit.</p>
<h3>Some ideas for keeping your focus on a single task at the time</h3>
<ul>
<li>Go to Services in Windows and set any application’s with disruption potential “Start-up Type” option to auto.</li>
<li>Define priority policy attribute and categorize emails by it – <em>immediate response, can wait, to do, follow-up</em>. Keep it simple so it will not take a lot of your time implementing it. There are lots of email handling tips out there just Google “email management tips” and you’ll find a tone of info – just don’t spend too much time reading about it:)</li>
<li>Break large tasks to manageable goals – this helps with both motivation and focus.</li>
<li>Treat yourself to some social media action <strong><span style="text-decoration:underline;">after</span></strong> the task is completed.</li>
<li>More suggestions <a href="http://www.davecheong.com/2006/08/14/18-ways-to-stay-focused-at-work/k" target="_blank">here</a> via <a href="http://www.delicious.com/" target="_blank">Delicious</a></li>
</ul>
<h3>Before leaving this blog post</h3>
<p>If you made it all the way here (unless you were skipping few paragraph on the way)  than, for what it worth, you earned my appreciation for your focus.</p>
<p>And before leaving, I would like to share with you this very insightful phrase that I heard somewhere and it stuck deeply in my mind:</p>
<blockquote><p><strong> “What you focus on expands”</strong></p></blockquote>
<p>Happy Holidays and have a great focused year.</p>
<p><span style="font-size:xx-small;">Picture credit </span><a href="http://www.flickr.com/photos/iexisthere/3554512587/" target="_blank"><span style="font-size:xx-small;">emmaphotos</span></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Harold Mitchell's Trumpet Method, Book 2 (Sheet Music)]]></title>
<link>http://mytrumpetsheetmusic.wordpress.com/2009/12/25/harold-mitchells-trumpet-method-book-2-sheet-music/</link>
<pubDate>Fri, 25 Dec 2009 21:25:03 +0000</pubDate>
<dc:creator>kidsmusicsongs</dc:creator>
<guid>http://mytrumpetsheetmusic.wordpress.com/2009/12/25/harold-mitchells-trumpet-method-book-2-sheet-music/</guid>
<description><![CDATA[Harold Mitchell&#8217;s Trumpet Method, Book 2 (Sheet Music) Review Check Price Now! Harold Mitchell]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Harold Mitchell&#8217;s Trumpet Method, Book 2 (Sheet Music) Review</h2>
<p align='center'><a href='http://www.amazon.com/Harold-Mitchells-Trumpet-Method-Sheet/dp/B000CMQR8A?tag=track200c-20'><img src="" border='0'></a><br />
<h2> <a href='http://www.amazon.com/Harold-Mitchells-Trumpet-Method-Sheet/dp/B000CMQR8A?tag=track200c-20'>Check Price Now!</a></h2>
</p>
<h2>Harold Mitchell&#8217;s Trumpet Method, Book 2 (Sheet Music) Feature</h2>
<h2>Harold Mitchell&#8217;s Trumpet Method, Book 2 (Sheet Music) Overview</h2>
<h2>Harold Mitchell&#8217;s Trumpet Method, Book 2 (Sheet Music) Specifications</h2>
<p>
*** Product Information and Prices Stored: Dec 25, 2009  15:25:03</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Puzzles - The Method to the Madness (part 1)]]></title>
<link>http://lucidcode.wordpress.com/2009/12/25/puzzles-the-method-to-the-madness-part-1/</link>
<pubDate>Fri, 25 Dec 2009 17:42:37 +0000</pubDate>
<dc:creator>lucidcode</dc:creator>
<guid>http://lucidcode.wordpress.com/2009/12/25/puzzles-the-method-to-the-madness-part-1/</guid>
<description><![CDATA[Alright, no demo quite yet, but I&#8217;ve gotten it almost working to a point where it takes basica]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Alright, no demo <em>quite</em> yet, but I&#8217;ve gotten it almost working to a point where it takes basically no time to solve a 3 x 3.</p>
<p>Unfortunately, the key word is &#8220;almost&#8221;. Because of that, I&#8217;ll use this post to delve into the inner workings (planned and implemented) of the puzzle-solving-engine.</p>
<p>The solver represents each edge &#8216;type&#8217; as a number &#8211; either 1, -1, 2, -2, 3, -3, 4, or -4.</p>
<p>Edge types that sum to zero are &#8216;matching edges&#8217; &#8211; that is, if one edge displayed the TOP half of a basketball, its counterpart would show the BOTTOM half of the basketball and they could &#8216;connect&#8217; on that edge.</p>
<p>There are two main classes powering the engine that use this system -</p>
<p><strong>PuzzleNode:</strong><br />
A PuzzleNode is a space in the game board to place a puzzle piece.</p>
<p>Much like a linked list, PuzzleNodes contain references to their <em>bordering</em> PuzzleNodes &#8211; north, east, south, and west.</p>
<p>They also contain a list of constraints, imposed on them by their neighbors (in the sense that every puzzle piece you place into a puzzle will limit in some way what additional pieces you can add).</p>
<p>Finally, the solver-driving function contained in the PuzzleNode class is the method fitsConstraints(), which takes a PuzzePiece object as input and checks to see if it (or any of its orientations) could fit into the slot/constraints in the PuzzleNode (specific details of how this works in a later post).</p>
<p><strong>PuzzlePiece:</strong></p>
<p>The PuzzlePiece class is, well, <a href="http://tvtropes.org/pmwiki/pmwiki.php/Main/ExactlyWhatItSaysOnTheTin">Exactly What It Says On The Tin</a>. It stores a piece for the puzzle, with a list of values for each edge (+/- 1 to 4). </p>
<p>It also has another solver-imperative function &#8211; rotate(), which takes an edge value and a direction. It then rotates the piece so that the specified edge points in the specified direction. This is very useful, as a PuzzlePiece may not fit a PuzzleNode&#8217;s constraints as-is, but a <em>rotation</em> of it might. rotate() allows for a piece to be quickly oriented in the proper direction by pointing an edge toward its correct counterpart. </p>
<p>Of course, this breaks down pretty quickly if there are duplicate edge values (say, both the north and south edges of a piece are -1) &#8211; but hopefully I can change that soon.</p>
<p>Whew. Apologies if any of this is less than clear. I&#8217;m not used to explaining my thinking in great detail.<br />
Hopefully my next post will contain a demo as well as a fuller description of how the system works.</p>
<p>Cheerio.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Cleaning Granite and Quartz Countertops]]></title>
<link>http://theclevercleaner.wordpress.com/2009/12/24/cleaning-granite-and-quartz-countertops/</link>
<pubDate>Thu, 24 Dec 2009 18:04:14 +0000</pubDate>
<dc:creator>theclevercleaner</dc:creator>
<guid>http://theclevercleaner.wordpress.com/2009/12/24/cleaning-granite-and-quartz-countertops/</guid>
<description><![CDATA[Finding the right cleaning product and method is key to keeping the luster and lifetime of your ston]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Finding the right cleaning product and method is key to keeping the luster and lifetime of your stone, granite or quartz countertops.</strong></p>
<p><a href="http://theclevercleaner.files.wordpress.com/2009/12/granitetexture.jpg"><img style="display:inline;border-width:0;" title="granitetexture" src="http://theclevercleaner.files.wordpress.com/2009/12/granitetexture_thumb.jpg?w=403&#038;h=128" border="0" alt="granitetexture" width="403" height="128" /></a></p>
<p>Stone is one of the easiest surfaces to clean and maintain. In new construction, many contractors will provide the homeowner with a preferred cleaning product to purchase or proper care instructions when the new granite, stone or quartz countertops are installed. For many homeowners, they have already purchased a home with existing stone countertops and learn of the best products and cleaning tips by word-of-mouth or trial and error methods.</p>
<p>Stone countertops are extremely durable and can withstand daily cleaning. The standard solution of mild dishwashing liquid and warm water works just fine, but sometimes your countertops need something more to enhance their beauty and shine that you cannot get  from soap and water.</p>
<p><strong><span style="text-decoration:underline;"><a href="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark.jpg"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="grn_checkmark" src="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark_thumb.jpg?w=40&#038;h=38" border="0" alt="grn_checkmark" width="40" height="38" align="left" /></a> <span style="font-size:medium;">The Clever Cleaner Recommends:</span></span><br />
<a href="http://methodhome.com" target="_blank">method daily granite – granite + stone cleaner</a></strong></p>
<p><a href="http://theclevercleaner.files.wordpress.com/2009/12/method_daily_granite.jpg"><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="method_daily_granite" src="http://theclevercleaner.files.wordpress.com/2009/12/method_daily_granite_thumb.jpg?w=145&#038;h=240" border="0" alt="method_daily_granite" width="145" height="240" align="left" /></a></p>
<p>method daily granite is a great product because it not only cleans and brightens your stone counters, but it is also good for the environment.</p>
<p>The main ingredient in this product is <a href="http://www.methodhome.com/tidbit-collection/text-tidbit-collection/alkyl-polyglucoside.aspx?c=black&#38;p=621">Alkyl polyglucoside</a>, a <a href="http://www.methodhome.com/tidbit-collection/text-tidbit-collection/non-toxic.aspx?c=black&#38;p=621">non-toxic</a>, <a href="http://www.methodhome.com/tidbit-collection/text-tidbit-collection/biodegradable.aspx?c=black&#38;p=621">biodegradable</a> and super effective cleaner made from corn and <a href="http://www.methodhome.com/tidbit-collection/image-tidbit-collection/coconut-oil.aspx?c=black&#38;p=621">coconut oil</a>. It’s what gives this method daily granite its marble- and granite-polishing magic while being safe for people and the planet. It has a <a href="http://www.methodhome.com/tidbit-collection/image-tidbit-collection/100-recycled-plastic.aspx?c=black&#38;p=621">100% recycled plastic</a> bottle and a <a href="http://www.methodhome.com/tidbit-collection/image-tidbit-collection/dfe-recognized.aspx?c=black&#38;p=621">dfe-recognized</a> formula like the other home cleaning sprays by method.</p>
<p><a href="http://theclevercleaner.files.wordpress.com/2009/12/approved_by_caesarstone.jpg"><img style="display:inline;border-width:0;" title="approved_by_caesarstone" src="http://theclevercleaner.files.wordpress.com/2009/12/approved_by_caesarstone_thumb.jpg?w=40&#038;h=41" border="0" alt="approved_by_caesarstone" width="40" height="41" /></a> This product is also tested and approved by <a href="http://www.caesarstoneus.com/" target="_blank">CaesarStone</a>,  the original quartz surface manufacturer.</p>
<p><a href="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark.jpg"><span style="text-decoration:underline;"><strong><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="grn_checkmark" src="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark_thumb.jpg?w=40&#038;h=38" border="0" alt="grn_checkmark" width="40" height="38" align="left" /></strong></span></a><span style="font-size:medium;"><span style="text-decoration:underline;"><strong>The Clever Cleaner Criteria:<br />
</strong></span></span><span style="font-size:x-small;">Why<strong> method daily granite</strong> is a preferred product </span></p>
<p><strong>1. SMELL</strong> – great,  yummy scent</p>
<p><strong>2. </strong><strong>PRICE</strong> &#8211; retail value of approximately $5</p>
<p><strong>3. </strong><strong>SIZE</strong> – 12 fl oz. spray bottle and  28 fl oz Refill bottle available</p>
<p><strong>4. GREEN</strong> – Environmentally-friendly ingredients and packaging, bottle is made of 100% recycled plastic, never tested on animals</p>
<p><strong>5. AVAILABILITY</strong> – Available for purchase at grocery stores, drug stores and online.</p>
<p><a href="http://www.drugstore.com/qxp153139_333181_sespider/method/the_daily_granite_granite__marble_cleaner.htm" target="_blank"><strong>Buy Now at Drugstore.com</strong></a></p>
<p><a href="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark.jpg"><span style="text-decoration:underline;"><span style="font-family:Georgia;"><strong><img style="display:inline;margin-left:0;margin-right:0;border-width:0;" title="grn_checkmark" src="http://theclevercleaner.files.wordpress.com/2009/12/grn_checkmark_thumb.jpg?w=40&#038;h=38" border="0" alt="grn_checkmark" width="40" height="38" align="left" /></strong></span></span></a><span style="font-family:Georgia;"><span style="font-size:medium;"><span style="text-decoration:underline;"><strong>The Clever Cleaner Caddy:<br />
</strong></span></span></span><span style="font-family:Georgia;"><span style="font-size:x-small;">Tools, Tips and Tricks for Cleaning your Countertops</span></span></p>
<p>1. Use a Soft Dust Cloth for wiping up spills and applying cleaning solution.</p>
<p>2. For stuck-on goo or crusty chunks left on your stone, granite or quartz counter tops, use an expired credit card to scrape off the unwanted substance.</p>
<p><strong>TIP:</strong> <em>Keep the plastic card handy – Put it in the top draw where it is easily accessible OR store it in your cleaning caddy. If you don’t have an expired or unwanted credit card, look for one of the many offers that arrive in your mailbox that is imprinted on a plastic card.</em></p>
<p>3.<em> </em>Call a professional stone supplier, installer, or restoration specialist for problems that appear too difficult to treat.</p>
<p><strong>*****<br />
</strong><strong>Was this information helpful? If so, please post a comment. Need help removing a tough stain or have a specific topic you would like The Clever Cleaner to find a solution for?</strong></p>
<p>Email The Clever Cleaner at <a href="mailto:theclevercleaner@gmail.com">theclevercleaner@gmail.com</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Calculator Demo -- Part 6]]></title>
<link>http://understandingcsharp.wordpress.com/2009/12/24/calculator-demo-part-6/</link>
<pubDate>Thu, 24 Dec 2009 01:44:26 +0000</pubDate>
<dc:creator>jmancine</dc:creator>
<guid>http://understandingcsharp.wordpress.com/2009/12/24/calculator-demo-part-6/</guid>
<description><![CDATA[For the sake of organization and time, I have completed the animations as promised and I added all t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For the sake of organization and time, I have completed the animations <a href="http://understandingcsharp.wordpress.com/2009/12/20/calculator-demo-part-5/">as promised</a> and I added all the other buttons to the grid. However, I only fully implemented the &#8220;+/-&#8221; operation because I thought it best to visit each operation in the next part.</p>
<ul>
<li>Rendering the buttons
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: true;">
&#60;Button Name=&#34;BPM&#34; Click=&#34;OperBtn_Click&#34; Background=&#34;Darkgray&#34; Style=&#34;{StaticResource DigitBtn}&#34;  Grid.Column=&#34;6&#34; Grid.Row=&#34;5&#34; &#62;+/-&#60;/Button&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
Button BPM = new Button();
BPM.Name = &#34;BPM&#34;;
BPM.Click += new RoutedEventHandler(OperBtn_Click);
BPM.Background = Brushes.DarkGray;
BPM.Style = DigitBtn; //try without resources
Grid.SetColumn(BPM, 6);
Grid.SetRow(BPM, 5);
BPM.Content = &#34;+/-&#34;;
MyGrid.Children.Add(BPM);
</pre>
</li>
<li>Notes:<br />
This is exactly as <a href="http://understandingcsharp.wordpress.com/2009/12/20/calculator-demo-part-5/">the buttons I looked at previously</a> except with a different event handler: <code>BPM.Click += new RoutedEventHandler(OperBtn_Click);</code>. Also, when doing some of the other operations there is a tooltip property set (eg. <code>BMemPlus.ToolTip = "Add To Memory";</code> for the &#8220;M+&#8221; button).
</li>
</ul>
</li>
</ul>
<p>I wanted the &#8220;+/-&#8221; button to work as expected so I followed the Click event:</p>
<ul>
<li>OperBtn_Click
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
private void OperBtn_Click(object sender, RoutedEventArgs e)
{
    ProcessOperation(((Button)sender).Name.ToString());
}
</pre>
</li>
<li>Notes:<br />
All the buttons have their name properties set. In the case of the &#8220;+/-&#8221; button we have <code>BPM.Name = "BPM";</code>. When the above handler is invoked it will then pass the name of the button as an argument to the ProcessOperation method.
</li>
</ul>
</li>
<p />
<li>ProcessOperation
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
private void ProcessOperation(string s)
{
    Double d = 0.0;
    switch (s)
    {
        case &#34;BPM&#34;:
            LastOper = Operation.Negate;
            LastValue = Display;
            CalcResults();
            LastValue = Display;
            EraseDisplay = true;
            LastOper = Operation.None;
            break;
        ...
    }
}
</pre>
</li>
<li>Notes:<br />
Here we see what happens when calling <code>ProcessOperation("BPM");</code>. The variable &#8220;d&#8221; is not applicable to this case. First, the most recently clicked operation is saved into &#8220;LastOper&#8221; and the most recent value displayed is saved into &#8220;LastValue&#8221;. By doing this before the calculation, the program is overriding whatever operation was clicked beforehand (that means, if you try to do &#8220;2*-2&#8243; by clicking &#8220;2,*,2,+/-&#8221; the multiplication will be forgotten). &#8220;LastValue&#8221; and &#8220;LastOper&#8221; deserve a closer look later. Next, the calculation is performed by calling &#8220;CalcResults&#8221;. When the calculation is completed, the current display is again saved however the operation is set to null which is force other operations to not negate again. It is very important to do it this way because this calculator works with infix notation. When I first saw <code>EraseDisplay = true;</code> I thought it meant to actually erase the display but that doesn&#8217;t make sense. What it is actually doing is taking a note so that the next operation will know whether it should erase the display (in the case of &#8220;ProcessKey&#8221;) or whether to simply treat the display as empty (as in several cases of &#8220;ProcessOperation&#8221;).
</li>
</ul>
</li>
<p />
<li>Operation LastOper
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
        private enum Operation
        {
            None,
            Devide,
            Multiply,
            Subtract,
            Add,
            Percent,
            Sqrt,
            OneX,
            Negate
        }
        private Operation LastOper;
</pre>
</li>
<li>Notes:<br />
I&#8217;ve used enums before for setting many properties in but the <a href="http://understandingcsharp.wordpress.com/2009/12/07/alarm-clock-sample-%e2%80%94-part-5/">Alarm Clock Sample</a> and this <a href="http://understandingcsharp.wordpress.com/2009/12/12/calculator-demo-part-3/">Calculator Demo</a> but this is the first time I&#8217;ve really seen how they are useful. Here, they set us up so it will be very clear which operation is being used and we don&#8217;t need to deal with strings. The compiler gives them numbers which is good for computers and we get a descriptive name which is good for us.
</li>
</ul>
</li>
<p />
<li>LastValue
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
private string LastValue
{
    get
    {
        if (_last_val == string.Empty)
            return &#34;0&#34;;
        return _last_val;
    }
    set
    {
        _last_val = value;
    }
}
</pre>
</li>
<li>Notes:<br />
This is a very simple property declaration but it shows us exactly why getters and setters are useful. This is a calculator application and it&#8217;s not very mathematical to show an empty display area so it checks if the last value is an empty string (from &#8220;Clear All&#8221;) and returns the string &#8220;0&#8243;.
</li>
</ul>
</li>
<p />
<li>CalcResults
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
private void CalcResults()
{
    double d;
    if (LastOper == Operation.None)
        return;

    d = Calc(LastOper);
    Display = d.ToString();

    UpdateDisplay();
}
</pre>
</li>
<li>Notes:<br />
First, a variable, &#8220;d&#8221;, is declared to save the numerical result of the upcoming calculation. If there is no operation to be performed (as is the case after &#8220;+/-&#8221; is completed), this method just returns and nothing happens. However, if there is an operation to be performed it calls the &#8220;Calc&#8221; method to do the dirty work. The result of the operation is sent to the display and the display is updated. Again, I am very aware of object oriented programming at work (I guess it&#8217;s actually more of an example of procedural programming since all these functions/methods are in the same class).
</li>
</ul>
</li>
<p />
<li>Calc
<ul>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: true;">
private double Calc(Operation LastOper)
{
    double d = 0.0;

    try {
    switch (LastOper)
    {
        ...
        case Operation.Negate:
            d = Convert.ToDouble(LastValue) * (-1.0F);
            break;
        }
    }
    catch {
        d = 0;
        Window parent = (Window)MyPanel.Parent;
        //Paper.AddResult(&#34;Error&#34;);
        MessageBox.Show(parent, &#34;Operation cannot be perfomed&#34;, parent.Title);
    }

    return d;
}
</pre>
</li>
<li>Notes:<br />
Again, I am only highlighting &#8220;+/-&#8221;. The variable &#8220;d&#8221; is used store the result of the calculation and then we come to a Try/Catch block for exception handling. Many of the operations check the calculation to make sure there&#8217;s nothing strange like infinities and then throw an exception which will be caught by the &#8220;catch&#8221; block. I will look at those next time. Notice the Operation.Negate case won&#8217;t forcefully throw an exception since it&#8217;s only multiplying the last value displayed by negative one and the last value should have already been checked for sanity. However, if something were to go wrong we can see that the error will be noted by adding it to &#8220;Paper&#8221; (not relevant now) and a standard message box will be rendered.
</li>
</ul>
</li>
</ul>
<p>When you click on a button, a lot of things happen. I think it&#8217;s really good that I chose to continue the Calculator Demo. In this part, I got to understand enums, try/except, and a bit more about properties and modular code. I will go through the other operations in the next part though I won&#8217;t have to be nearly as detailed as here.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting Started In Risk Management]]></title>
<link>http://zenkara.wordpress.com/2009/12/23/getting-started-in-risk-management/</link>
<pubDate>Wed, 23 Dec 2009 06:46:56 +0000</pubDate>
<dc:creator>zenkara</dc:creator>
<guid>http://zenkara.wordpress.com/2009/12/23/getting-started-in-risk-management/</guid>
<description><![CDATA[A client recently described an interesting situation – she had purchasing the new ISO31000 risk mana]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A client recently described an interesting situation – she had purchasing the new <a href="http://en.wikipedia.org/wiki/ISO_31000" target="_blank">ISO31000</a> risk management standard, she had done the training with her team, conducted a risk identification and assessment workshop, and done the analysis and prioritization.  Yet no one seemed to be managing risks – they were something off to the side that people occasionally looked at.</p>
<p>What else could she do?</p>
<p>Risk management is one of the more overused, misunderstood and abused terms in project management these day.  There is a large body of work on risk management and a plethora of material available on the web to be used.</p>
<p>Yet many projects do not manage risk well.  They record their risks, identify the mitigations/treatments and review them during the project.  But for all of their planning, obvious risks seem to slip through the cracks.</p>
<p>Here are a few ideas that we can use:</p>
<p>Make sure everyone has a common understanding of what constitutes a risk, what constitutes an issue, and the difference between risks/issues and consequences/impacts.  This may seem trivial but different organisations have difference definitions of risk e.g.  “Only risks that we can influence”, “don’t include dependencies or constraints&#8221;, “the person who raises a risk deals with it”, ad infinitum</p>
<p>Keep it simple – have 3 ratings – negligible, moderate, project-killer – and review against schedule, scope, cost, technical and people.  Don’t have 5 ratings as it doesn’t really add value. And don’t have percentages as they are disguising a subjective guess with a number that makes it look quantitatively managed.</p>
<p>When introducing risks, don’t argue over the wording or structure – just make it understandable to stakeholders</p>
<p>Focus on mitigation/treatment actions.  These are the most critical component so you must make sure that every action has someone assigned and they understand the action and the deadline and that these actions are done just like any other project task.  Very often risk mitigations are seen as distinct and are reported separately.  No wonder they’re not afforded the appropriate focus.  Out of sight, out of mind.  Out of mind, out of time…</p>
<p>Set the bar lower to start, then as project management practices mature, you can be stricter when it comes to wording, ratings, severity etc.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[10 Suggested Resolutions for Real-World Economist in 2010]]></title>
<link>http://shredecon.wordpress.com/2009/12/23/10-suggested-resolutions-for-real-world-economist-in-2010/</link>
<pubDate>Wed, 23 Dec 2009 05:27:54 +0000</pubDate>
<dc:creator>Peter Earl</dc:creator>
<guid>http://shredecon.wordpress.com/2009/12/23/10-suggested-resolutions-for-real-world-economist-in-2010/</guid>
<description><![CDATA[As 2010 approaches, real-world economists should be thinking about what they can do in the New Year ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>As 2010 approaches, real-world economists should be thinking about what they can do in the New Year to advance the cause of real world economics. Here, I offer 10 suggestions to add to the exhortations of Fred Lee in his outgoing editorial of the Heterodox Economics Newsletter.  Since I’m from a similar generation to Fred and 2009 marked the start of my fourth decade as an academic economist, this has been a year of somewhat frustrated reflection. However, I’ve tried to ensure that these do not look like the suggestions of a Grumpy Old Real-World Economist.</p>
<p><em>First, stop teaching anything that you do not believe to be a good representation of the real world, even if an unrealistic model is part of the standard curriculum.</em> If I am ever asked to teach a core course I will teach it without wasting time ‘going through’ mainstream ideas, such as the theory of perfect competition and indifference analysis, that are logically flawed and/or based on wildly unrealistic assumptions. As regards the absolute core of mainstream thinking, namely, constrained optimization, all I shall do is say that it would be nice if we could work out the best way of meeting our objectives but that it is logically impossible to do so in most cases; I shall explain why and then move on to explain what is known about how choices are actually made in the real world.</p>
<p><em>Second, use every opportunity available to point out that what is currently attracting widespread interest under the banner of ‘behavioural economics’ is merely a lip-service pretence of being seriously concerned with real-world economics. </em>This new behavioural economics is largely a means for clinging to constrained optimization mode of thinking. If you weren’t aware of this, see Esther-Mirjam Sent’s HOPE2004 paper via the link <a href="http://hope.dukejournals.org/cgi/pdf_extract/36/4/735?ssource=mfc&#38;rss=1">here</a>. All they are offering, really, is standard constrained optimization with distorted preferences or perceptions. I’ve nothing against making use of what is known about ‘heuristics and biases’ of real-world decision makers, but I believe that economists need to stare in the face the implications of cognitive problems for how they do their work. If they did so, they would not, for example, build models of time inconsistent choices that on the one hand portray people as not very smart and on the other presume they do constrained optimization (with the twist of hyperbolic discounting). This lack of consistency is a sure sign of a degenerating scientific research programme.</p>
<p><em>Thirdly, suggest to your heterodox colleagues who devote their careers to writing about methodology that they should spend their time instead actually doing some real-world economics.</em> This may upset them a bit, but it is important that they reflect on how they are spending their time. We have some great minds in the method area and, of course, things remain to be said about method. However, more of them need to use someone like Sheila Dow as a role model and contribute to theoretical and/or applied economics as well as writing about economic philosophy. The mainstream folk might benefit from reading more about method and learning the errors of their ways, but they probably don’t bother. Those who know what the typical methodological errors are should just get on with doing economics. With heterodox economists in a tiny minority of the profession, their talents should be aimed at dealing with the real world and showing the difference it makes in practice to use different methods. For example, rather than writing about the theoretical case for pluralism, try doing some pluralistic applied economics and show the value it adds.</p>
<p><em>Fourth, seek out and use opportunities to make contributions to parliamentary inquiries and other public forums. </em>Not only is this a means to contributing to your employer’s goals regarding ‘engagement’; it is also a way of raising the profile of real-world economics and making a difference. It is easier than you might think: once you’ve make a submission to one high-profile inquiry you will find that secretaries of subsequent ones in related areas will approach you for submissions. These will get noticed by the press, who may then phone you for an interview (and may even pay you to write opinion pieces), and reports there can lead to requests to do radio interviews. We can’t all expect to have media profiles like Jeffrey Sachs, but we can at least make a start.</p>
<p><em>Fifth, form research teams and chase external funding.</em> If you are successful, you can offer more to real-world economics and less funding may get into the hands of non-real-world economists. Sure, it is a serious investment of time to do a grant application that will have a decent chance of success but if you work with a new team in an area that requires you to engage with unfamiliar literature, it is a great way of opening up new research possibilities. Even if the grant application isn’t successful, it is likely to lead you to projects you otherwise wouldn’t have done and papers you otherwise wouldn’t have written and it may also give you the chance to educate colleagues towards heterodox ways of thinking.</p>
<p><em>Sixth, if you care about making an impact, write what you think is worth saying, rather choosing what to write based on the ranking of the journal likely to take it</em>.  It might not help your career in the short-term, but you’ll have more fun and feel better in yourself for writing it, and it will probably get you more citation hits if it is something that is actually useful.</p>
<p><em>Seventh, when you are refereeing be civil at all times but take the time to try to educate the authors of papers who seem oblivious of real-world perspectives offered by heterodox approaches to economics</em>. If you set out a critique in some detail, including the necessary references, you make it easier for the author to do the changes and you make it harder for the editor not to request them; so your report helps stop the rot.</p>
<p><em>Eighth, don’t just carry on using standard texts that perpetuate fallacies an fail to show students contending perspectives; instead, take the time to look for and consider non-toxic texts, even if it means you’ll need to do a bit of re-tooling of your teaching.</em> (To judge from the dismal sales of my latest pluralistic text – Earl and Wakeley, 2005, Business Economics: A Contemporary Approach, published by McGraw-Hill UK – not much of this goes on, despite what heterodox economists say to publishers about being sick of the standard fare.)</p>
<p><em>Ninth, if the department in which you work has an intranet and uses its discussion board facilities, make the most of the technology as a means to have your say about curriculum design, degree structures, PhD coursework requirements, and so on.</em> Your non-real-world colleagues may not heed what you say, but at least they may read it and start to see the world a bit more like you do: it may be about the only chance you’ll have of such colleagues reading anything you write about economic method!</p>
<p><em>Tenth, if there’s something you think needs to be said about real-world economics that isn’t suited to the format of a regular article or needs to be said urgently, contribute to the Real-World Economics Blo</em>g.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet]]></title>
<link>http://mytrumpetsheetmusic.wordpress.com/2009/12/22/alfred-publishing-00-el00077-edwards-hovey-method-for-cornet-or-trumpet/</link>
<pubDate>Tue, 22 Dec 2009 15:10:04 +0000</pubDate>
<dc:creator>kidsmusicsongs</dc:creator>
<guid>http://mytrumpetsheetmusic.wordpress.com/2009/12/22/alfred-publishing-00-el00077-edwards-hovey-method-for-cornet-or-trumpet/</guid>
<description><![CDATA[Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet Review Check Price Now! Alfr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet Review</h2>
<p align='center'><a href='http://www.amazon.com/Alfred-Publishing-00-EL00077-Edwards-Hovey-Trumpet/dp/B001OTE9HG?tag=track200c-20'><img src="http://ecx.images-amazon.com/images/I/31NQ2QKjjGL._SL500_.jpg" border='0'></a><br />
<h2> <a href='http://www.amazon.com/Alfred-Publishing-00-EL00077-Edwards-Hovey-Trumpet/dp/B001OTE9HG?tag=track200c-20'>Check Price Now!</a></h2>
</p>
<h2>Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet Feature</h2>
<ul>
<li>Contributors: By Austyn R. Edwards and Nilo W. Hovey</li>
<li>Instrument: Trumpet</li>
<li>Format: Book</li>
<li>Category: Brass &#8211; B-Flat Cornet (Trumpet) Method or Collection</li>
<li>Satisfaction Ensured</li>
</ul>
<h2>Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet Overview</h2>
<p>The aim of the Edwards-Hovey Method for cornet or trumpet is to develop a method in which the material is arranged logically from the standpoint of (a) Rhythmic development, (b) gradual extension of the range, and (c) development of finger dexterity. Melodies have been selected which adapt themselves easily to correct phrasing, and exercises, while in keeping with limited range and technical ability of the beginning pupil, have been made as melodious as possible, avoiding monotonous and constant repetition of rhythmic patterns.Contributors: By Austyn R. Edwards and Nilo W. HoveyInstrument: Trumpet Format: BookCategory: Brass &#8211; B-Flat Cornet (Trumpet) Method or Collection</p>
<h2>Alfred Publishing 00-EL00077 Edwards-Hovey Method for Cornet or Trumpet Specifications</h2>
<p>
*** Product Information and Prices Stored: Dec 22, 2009  09:10:05</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Leadership 4 Humanity]]></title>
<link>http://nkgktg.wordpress.com/2009/12/22/leadership-4-humanity/</link>
<pubDate>Tue, 22 Dec 2009 05:16:56 +0000</pubDate>
<dc:creator>Krishnakant Gandhi</dc:creator>
<guid>http://nkgktg.wordpress.com/2009/12/22/leadership-4-humanity/</guid>
<description><![CDATA[(Yogi) Leader, he who sacrifices his life for Human Welfare! Team, Working for a Goal set for over a]]></description>
<content:encoded><![CDATA[(Yogi) Leader, he who sacrifices his life for Human Welfare! Team, Working for a Goal set for over a]]></content:encoded>
</item>
<item>
<title><![CDATA[Theory and Method of Our Practice]]></title>
<link>http://marksun.wordpress.com/2009/12/20/theory-and-method-of-our-practice/</link>
<pubDate>Mon, 21 Dec 2009 07:19:32 +0000</pubDate>
<dc:creator>marksun</dc:creator>
<guid>http://marksun.wordpress.com/2009/12/20/theory-and-method-of-our-practice/</guid>
<description><![CDATA[Dec 13 2009 &#8211; notes from class&#8230; More on the concepts are the foundation of our practice,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="_mcePaste">Dec 13 2009 &#8211; notes from class&#8230;</div>
<div>More on the concepts are the foundation of our practice, and we are starting to explore them more directly than before, gradually tying them together. theory and method</div>
<p>The model we work with consists of three levels<br />
Jing,Qi, and Shen  , corresponding to our physical body (jing), the vital force/energy of the living body (qi), and shen &#8211; the higher level of our selves and spiritual being.  The focus is often on Qi because it links all layers of our being.<br />
The methodology of our practice can be summarized  song, chen, shen &#8211; relaxing completely, letting the weight settle , and shen exemplified in carefullness<br />
All of us over time have a tendency for the bodies center of gravity to gradually move upward over time against where the body bodies true center of gravity which is down in the lower abdomen. Thus our method stresses the sensation and visualization of a heavy tailbone, a sandbag pulling the tailbone down to allow body and mind,  to experience and feel.  There is a stress on &#8220;feeling&#8221;, or &#8220;sensing&#8221; the effect, with emphasis on effect, of the heavy tailbone.  Song,chen, shen are incorporated into the method of relaxing, weight down, sensing with care and conciousness of this physical practice.<br />
We recognize that ultimately everything is energy. We choose what to practice and where our consciousness is directed&#8230;  Jing, Qi, Shen,  Song, Chen, Shen.<br />
Another thing Limin touched upon going back to the fact that everything is energy on one hand and the healing aspect of our practice on the other.  Our practice of Taiji and Qigong are health/healing oriented and motivated by the intention we share of trying to make a change inside, internally.  To do this the higher the level of energies and spirit we marshall, the greater is the healing effect  - from Shen, to Qi, to Jing  through practice of song,chen,shen.  The higher levels have greater healing because &#8220;there is more room for things to move around&#8221;.  Then she used the analogy of steam, water, and ice as corresponding to the energies comparable to shen,Qi,jing&#8230;<br />
(This also brings back the images  of the chinese character for Qi  - steam over rice &#8230;  water, raw rice, and heat bring about transformation of the raw into spiritual and life giving substance through the energy permeating the universe.  We&#8217;ve returned to this profound realization of Qi a number of times.)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Undercurrent of hostility in Orissa; Christians facing challenges]]></title>
<link>http://pbaptist.wordpress.com/2009/12/21/undercurrent-of-hostility-in-orissa-christians-facing-challenges/</link>
<pubDate>Mon, 21 Dec 2009 07:18:47 +0000</pubDate>
<dc:creator>Particular Kev</dc:creator>
<guid>http://pbaptist.wordpress.com/2009/12/21/undercurrent-of-hostility-in-orissa-christians-facing-challenges/</guid>
<description><![CDATA[Up to 20,000 Indian Christians remain refugees two years after a wave of attacks by militant Hindus ]]></description>
<content:encoded><![CDATA[Up to 20,000 Indian Christians remain refugees two years after a wave of attacks by militant Hindus ]]></content:encoded>
</item>
<item>
<title><![CDATA[Writing: My Method]]></title>
<link>http://lauralascarso.com/2009/12/21/writing-my-method/</link>
<pubDate>Mon, 21 Dec 2009 05:40:55 +0000</pubDate>
<dc:creator>lauralascarso</dc:creator>
<guid>http://lauralascarso.com/2009/12/21/writing-my-method/</guid>
<description><![CDATA[I’m always interested to know how other writers write–how, when, where, for how long and why (ha, ha]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<p>I’m always interested to know how other writers write–how, when, where, for how long and why (ha, ha). So, in the hopes that my compatriots will jump in with their own method, I’m going to give a quick breakdown of my process.</p>
<p>HOW: Before I begin a story, I visualize it in my head, not necessarily things like character names or setting, but conflict, storyline, themes. I’m big on themes. Sometimes I use other stories that I really admire as models, or pick elements from other stories that are done well and ask myself how I can incorporate that into my own. When the daydreaming is done and the writing begins, I stop reading stories that may be even remotely like mine. Because nothing shatters the confidence more than finding out your story’s already been told. Every story has already been told, but none have been told the way you would tell it. (I think I read that somewhere.)</p>
<p>I’m not a big outliner, which has been my unravelling in the past, but every time I try, it’s like eating overcooked pasta. Yuck. So, instead, I think of high points in tension that will serve my story. And sometimes, I don’t even do that. In fact, let’s skip this planning part altogether. Hopefully, someone else will step in here.</p>
<p>WHEN: I don’t have a lot of free time. Everyone says that, but in my case, it’s true, really, I swear. So, when I’m not writing, I’m thinking about what I’m going to write when I get the chance. I’m running lines between characters in my head, thinking of their motivations, their emotional reactions to plot happenings, good and bad choices as well as snappy one-liners and lots of soap opera cliffhangers. I love a good cliffhanger. I do this so that when I actually sit down to write, the hard part is done, mostly. There are still moments when I don’t want to actually do it (the daydreaming is so much more fun), but in those moments, I treat writing like a really crummy job, and I’ve had a few. When faced with a dirty, smelly, gross toilet, do you shut the lid and walk away? No, you roll up your sleeves, get your noxious toilet bowl cleaner and scrub the sugar out of it.</p>
<p>I also think about my story every day. If I know I won’t have time to write that day, I scan it over quickly so that it’s still with me. And when I do write, I plow through it, with plenty of __________ all over the page. Usually after I finish a chapter, I go back and fact check, fill in the names and try to make the dialogue smoother, give the scenes more color and movement, work on transitions and make sure that I’m including my themes, overall conflict, motivations, oh and grammar too!</p>
<p>WHERE: I’m not too fussy about where I write. I don’t need absolute silence or solitude or mood music or a special keyboard. I often keep my story on a flash drive and plug it into any old computer I come across. I can sometimes carry on a conversation while writing. It’s not preferred, but I’ve learned that if you wait for ideal circumstances to write, you’ll be waiting a long time. And if I’m not inventing the story, I’m improving sentence flow, adding poetic phrases when possible, fixing stilted dialogue or asking myself, overall, why does this scene suck so bad?</p>
<p>HOW LONG: As long as I can.</p>
<p>WHY: I love writing, even more than the actual writing, I love stories–reading them, watching them, inventing them. I also love communicating thoughts and ideas that are hard to articulate in conversation. I didn’t always love sharing my writing with others, but my writer friends will say I have made great strides in overcoming my shyness. I also think that after spending so much time in self-imposed isolation, I am eager to get feedback and fairly good at emotionally distancing myself from my writing. Being able to give and receive good criticism is, I think, nearly as important as being able to write.</p>
<p>But that is the subject of another post.</p>
<p>So there you have it, my method, laid bare. What’s yours?</p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Method Review: 3- Other Immersion Types ]]></title>
<link>http://mikotoneko.wordpress.com/2009/12/20/method-review-3-other-immersion-types/</link>
<pubDate>Mon, 21 Dec 2009 03:39:49 +0000</pubDate>
<dc:creator>mikotoneko</dc:creator>
<guid>http://mikotoneko.wordpress.com/2009/12/20/method-review-3-other-immersion-types/</guid>
<description><![CDATA[Immersion Methods Since the last two methods really encompass a lot of other popular methods out the]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><strong>Immersion Methods</strong></p>
<p style="text-align:left;">Since the last two methods really encompass a lot of other popular methods out there with similar concepts, I decided not to really restate them in detail. Rather, talk about programs that use immersion.</p>
<p><span style="text-decoration:underline;"><strong>Defense Language Institute</strong> (<strong>DLI</strong>)</span></p>
<p>If you are one of the lucky ones joining the Military who pass the required DLAB test, you may qualify for a position that allows you to come to this nifty school. As Wiki provided it basically:</p>
<blockquote><p>The <strong>Defense Language Institute</strong> (<strong>DLI</strong>) is a <a title="United States Department of Defense" href="http://en.wikipedia.org/wiki/United_States_Department_of_Defense">United States Department of Defense</a> (DoD) educational and research institution, which provides linguistic and cultural instruction to the Department of Defense, other Federal Agencies and numerous and varied other customers. The Defense Language Institute is responsible for the Defense Language Program, and the bulk of the Defense Language Institute&#8217;s activities involve educating DoD members in assigned languages. Other functions include planning, curriculum development, and research in second-language acquisition.</p>
<p>As of 2009<sup><a rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=Defense_Language_Institute&#38;action=edit">[update]</a></sup>, over 40 languages are taught at the DLIFLC including <a title="Afrikaans language" href="http://en.wikipedia.org/wiki/Afrikaans_language">Afrikaans</a> in Washington, DC and the following in Monterey: <a title="Arabic language" href="http://en.wikipedia.org/wiki/Arabic_language">Arabic (Modern Standard)</a>, <a title="Dari (Persian)" href="http://en.wikipedia.org/wiki/Dari_%28Persian%29">Dari</a>, <a title="Standard Mandarin" href="http://en.wikipedia.org/wiki/Standard_Mandarin">Chinese (Mandarin)</a>, <a title="French language" href="http://en.wikipedia.org/wiki/French_language">French</a>, <a title="German language" href="http://en.wikipedia.org/wiki/German_language">German</a>, <a title="Greek language" href="http://en.wikipedia.org/wiki/Greek_language">Greek</a>, <a title="Hebrew language" href="http://en.wikipedia.org/wiki/Hebrew_language">Hebrew</a>, <a title="Hindi language" href="http://en.wikipedia.org/wiki/Hindi_language">Hindi</a>, <a title="Italian language" href="http://en.wikipedia.org/wiki/Italian_language">Italian</a>, <a title="Japanese language" href="http://en.wikipedia.org/wiki/Japanese_language">Japanese</a>, <a title="Korean language" href="http://en.wikipedia.org/wiki/Korean_language">Korean</a>, <a title="Kurmanji" href="http://en.wikipedia.org/wiki/Kurmanji">Kurmanji</a>, <a title="Pashto language" href="http://en.wikipedia.org/wiki/Pashto_language">Pashto</a>, <a title="Persian language" href="http://en.wikipedia.org/wiki/Persian_language">Persian</a>, <a title="Portuguese language" href="http://en.wikipedia.org/wiki/Portuguese_language">Portuguese</a>, <a title="Russian language" href="http://en.wikipedia.org/wiki/Russian_language">Russian</a>, <a title="Sorani" href="http://en.wikipedia.org/wiki/Sorani">Sorani Kurdish</a>, <a title="Serbo-Croatian language" href="http://en.wikipedia.org/wiki/Serbo-Croatian_language">Serbo-Croatian</a>, <a title="Spanish language" href="http://en.wikipedia.org/wiki/Spanish_language">Spanish</a>, <a title="Tagalog language" href="http://en.wikipedia.org/wiki/Tagalog_language">Tagalog</a>, <a title="Thai language" href="http://en.wikipedia.org/wiki/Thai_language">Thai</a>, <a title="Turkish language" href="http://en.wikipedia.org/wiki/Turkish_language">Turkish</a>, <a title="Urdu language" href="http://en.wikipedia.org/wiki/Urdu_language">Urdu</a>, and <a title="Uzbek language" href="http://en.wikipedia.org/wiki/Uzbek_language">Uzbek</a>.</p>
<p>As of 2009<sup><a rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=Defense_Language_Institute&#38;action=edit">[update]</a></sup>, DLIFLC began teaching the Iraqi dialect.</p></blockquote>
<p>Having been stationed there I can verify that it&#8217;s a pretty cool place. The school really focuses on the whole immersion environment. You not only spend 8+ hours in classes, but afterwards you have lots of studying to do before the next day. Because of this, a lot of the languages can be learned really fast. Imagine spending more than 8 hours a day studying a language with intense immersion. It&#8217;s hard not to learn a language doing this!</p>
<p>Is it for you? Maybe, maybe, but not for the average person (though you could sorta mimic this environment if you wanted)</p>
<p><strong>PROS:</strong></p>
<p>*immersion environment extreme!</p>
<p>*lots of handholding, as it is in class formation</p>
<p>*free (so to speak)</p>
<p>*lots of people learning with you, interaction with native teachers, ect.</p>
<p>*tests to show your progression, ect.</p>
<p>*Fast fast pace</p>
<p><strong>CONS:</strong></p>
<p>*you have to join military/gov in order to get into it (normally)</p>
<p>*no life, really <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>*military specific vocabulary over general vocab</p>
<p>*focus more on listening/reading comprehension versus speaking/writing (input &#62;output)</p>
<p><span style="text-decoration:underline;"><strong>Classes/Tutors</strong></span></p>
<p>There are some schools out there who claim they can give you that immersion environment through their classes. This isn&#8217;t all schools that claim this, but a good handful of them (especially ones done by independent groups). Because they vary and depend on where you go, whose teaching you, and what system they use, I wont go into any particular details.</p>
<p><strong>PROS:</strong></p>
<p>*Teacher/tutor guidance (hand holding comfort)</p>
<p>*invested time that someone can call you out on (you&#8217;re accountable vs. self-study)</p>
<p>*often other students that you can practice with that share the same desire to learn the language (hopefully)</p>
<p>*course work laid out for you</p>
<p><strong>CONS:</strong></p>
<p>*most never reach true immersion environment (because you&#8217;re only there x hours a week)</p>
<p>*sometimes very costly</p>
<p>*often teaches from  course books with very proper outdated unused language</p>
<p>*often not customized to you, but rather generalities</p>
<p>*tend to focus on literal translations (never monolingual usually)</p>
<p>Classes may be for you if you have a very very hard time self studying. This might just be what you need to supplement your own studies, to give you motivation with accountability. Often people find learning a language is like doing a diet, getting together with others (weight watchers for example) makes things very easy. That support group sometimes gives you the confidence to pursue your language. I do not normally knock classes in general because you cannot deny the comfort factor, but I feel that they could be vastly improved in terms of what and how they teach languages.</p>
<p>Some tutors out there however do not use those kinds of books and class like structure. They&#8217;d be a sort of exception. The real thing is you just gotta do your research with the classes. Ask what books they use, what methods they believe in, if there will be a turn to monolingual at some point, ect. Great thing about classes is most have a syllabus that you can look at before you jump into the boat.</p>
<p><strong><br />
</strong></p>
<p><span style="text-decoration:underline;"><strong>Rosetta Stone</strong></span><br />
In case you live under a rock and have never heard of the much overpriced Rosetta Stone, here is an in-depth summary of it straight from their site about their program:</p>
<blockquote><p><strong>Learn naturally:</strong></p>
<p><span style="text-decoration:underline;">A completely immersive environment.</span></p>
<p>As a child, you learned to speak instinctively by experiencing the world around you. Our solution recreates this experience through a fully immersive environment right on your computer.</p>
<p><span style="text-decoration:underline;">No translation or memorization.</span></p>
<p>We’ve eliminated the traditional approach of using translation and grammar rules, empowering you to think in your new language. There are no flash cards, dictionaries or memorization drills.</p>
<p><span style="text-decoration:underline;">A carefully designed sequence of activities.</span></p>
<p>By surrounding you with words, images and the voices of native speakers, our method lets you progress naturally from words and phrases to sentences and conversations.</p>
<p><strong>Engage Interactively:</strong></p>
<p><span style="text-decoration:underline;">Start fast and stay motivated.</span></p>
<p>Unlike tapes, videos or books that passively feed you language, you’ll constantly interact with our program. Instead of repeating the same action over and over, you’ll:</p>
<p>* Hear, write and pronounce words and match them to images<br />
* Speak aloud to finish sentences or phrases<br />
* Refine your pronunciation by emulating native speakers</p>
<p><span style="text-decoration:underline;">Retain what you’ve learned.</span></p>
<p>Our exclusive Adaptive Recall™ feature brings back review exercises to help you transfer what you’ve learned into your long-term memory.</p>
<p><strong>Speak Confidently:</strong></p>
<p><span style="text-decoration:underline;">Build your conversational skills.</span></p>
<p>Step-by-step, you will gain the confidence to speak on your own. You&#8217;ll develop your intuitive ability to create sentences from scratch in a conversational setting. Before long, you&#8217;ll be in the middle of conversations and you&#8217;ll be doing the talking!</p>
<p><span style="text-decoration:underline;">Pronounce words correctly.</span></p>
<p>Our proprietary speech-recognition technology helps you pronounce syllables, words and sentences in your new language, and provides immediate, ongoing feedback.</p>
<p><strong>Have Fun:</strong></p>
<p><span style="text-decoration:underline;">&#8220;Ah-ha&#8221; moments</span></p>
<p>Our approach taps into your innate puzzle-solving instinct. As you learn with us—and solve one language-learning puzzle after another—you&#8217;ll experience a series of &#8220;ah-ha&#8221; moments that keep you motivated.</p>
<p><span style="text-decoration:underline;">Serious fun<br />
</span><br />
Our program is so addictive, you&#8217;ll want to keep learning more. With every step, you&#8217;ll move forward and feel a sense of accomplishment.</p></blockquote>
<p>So yeah, there is a lot they have to say about themselves and their approach right on their site before you dish out the astounding minimum of $299 for each lvl apiece or $539 for all 3 lvls. Don&#8217;t forget they now have the special Totale for almost $1k. Seems like a bit much to me. Their marketing team does really well selling their product, as you can see from their super nice website and quality commercials/advertisements.</p>
<p><strong>PROS:</strong></p>
<p>*immersion environment</p>
<p>*course laid out for you, no extra work</p>
<p>*pictures, audio, games, the works</p>
<p>*touches all needs for your language</p>
<p><strong>CONS:</strong></p>
<p>*expensive as hell</p>
<p>*romaji is in it, which people tend to use over kana/kanji</p>
<p>*some sentences are ambiguous to their pictures and hard to figure out exactly what their meaning sometimes</p>
<p>*some claim the system is outdated and doesn&#8217;t work for a lot of languages where it excels for others</p>
<p>Of all the reviews I read, sometimes I do wonder how many of the reviews are real. A lot of them sound really fabricated and unrealistically happy. Though I have met a few people who&#8217;ve done Rosetta, I have not met many who are fluent that used the program primarily. Most have used this system as a springboard or for fun on the side. Though I personally wouldn&#8217;t dish $600-1k out for learning languages, some of you richies out there might.</p>
<p><span style="text-decoration:underline;"><strong>Live Mocha</strong></span></p>
<p>If you&#8217;re looking in the market for a much less (how about free?) Rosetta ripoff, try Live Mocha instead! Live Mocha toots the following themselves.</p>
<blockquote><p>Livemocha is the world&#8217;s largest online community for language learners, with free lessons and a global community to help you learn a new language.</p>
<p>Boost your grammar and vocabulary with fun, engaging lessons. These lessons develop reading, listening, speaking, and writing skills. Members of the Livemocha community keep the lessons fresh by collaborating on translations and leaving tips to help others.</p>
<p>The best way to learn a language is through total immersion. Livemocha emulates this experience by allowing members to interact in our global online community. We believe&#8230;to become truly proficient and conversational you need to work with actual native speakers.</p>
<p>&#8230;you can build your skills and confidence by submitting writing or speaking exercises to the community for review&#8230;</p>
<p>Connect with native speakers from all over the world and help them to learn your native language&#8230;.</p>
<p>Livemocha wants to support you along every step to learning a new language, and we give you the tools to help you quickly and confidently achieve your goals.</p>
<p>Phrase Translator: Get a kick-start with the Phrase Translator to help you understand forgotten or unknown phrases.</p>
<p>Conversation Scenarios: Not ready for a conversation with a native speaker? Practice a scripted conversation using common scenarios you encounter when meeting people or travelling.</p>
<p>Virtual Keyboard: We&#8217;ve made it easy to insert special characters and accents when typing.</p></blockquote>
<p><strong>PROS:</strong></p>
<p>*Free</p>
<p>*community to speak to natives</p>
<p>*easy to navigate and participate</p>
<p>*immersion likeness</p>
<p>*focus on all key points to language learning</p>
<p>*earn mocha points for various things by completing exercises and helping others</p>
<p><strong>CONS:</strong></p>
<p>*because its free, there are problems (spelling ect.)</p>
<p>*short comings are similar to Rosetta</p>
<p>*have to have internet to do it, no offline working</p>
<p>If you find that you&#8217;re interested in something like Rosetta Stone, I&#8217;d say try Live Mocha first, since it&#8217;s a free version and similar. Though it has a great community base that to me makes it more valuable, it does have errors in it from time to time. (I noticed a few in the English programs myself)</p>
<p><strong>Instant Immersion Language Lab, and other immersion software programs:</strong></p>
<p>There are many many more language immersion software programs out there, and a simple google search will bring out countless of them. I personally don&#8217;t like them. They come out looking pretty snazzy on their boxes, talking about how easy it will all be, and how great their program is for you, and all that goodness, but I haven&#8217;t tried a single one of those types and liked it. The IILL for instance to me was unbearably outdated and hooky. It taught horribly, and even wrong things in it from time to time. I honestly think all this type of thing is a gimmick that you should run far away from. Don&#8217;t buy into this junk. At least with Rosetta/Live Mocha, there are people who claim success. The rest have very few tooting their horn about its goodness.</p>
<p>Be wary and do a lot of research on it before you spend money on it. I at least had the luxury of finding friends with some of this stuff in the beginning for me to realize how horrible they were before I wasted any money on it.</p>
<p><strong><br />
</strong></p>
<p style="text-align:center;">
<p style="text-align:left;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Calculator Demo -- Part 5]]></title>
<link>http://understandingcsharp.wordpress.com/2009/12/20/calculator-demo-part-5/</link>
<pubDate>Sun, 20 Dec 2009 08:46:20 +0000</pubDate>
<dc:creator>jmancine</dc:creator>
<guid>http://understandingcsharp.wordpress.com/2009/12/20/calculator-demo-part-5/</guid>
<description><![CDATA[It took so much effort to style the buttons that I&#8217;m not going to do the animations until next]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It took so much effort to style the buttons that I&#8217;m not going to do the animations until next time. Instead of playing around with the animations <a href="http://understandingcsharp.wordpress.com/2009/12/14/calculator-demo-part-4/">like I said I would</a>, I just made sure pressing the buttons would put the respective value into the display area.</p>
<p>I had to do a lot of research to translate the XAML for this part into C# so I will follow the same structure that I tried in <a href="http://understandingcsharp.wordpress.com/2009/12/09/alarm-clock-sample-part-6/">Alarm Clock Sample — Part 6</a> (this time using the <a href="http://en.support.wordpress.com/code/posting-source-code/">sourcecode shortcode</a>).</p>
<ul>
<li>Defining the button style
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Style x:Key=&#34;DigitBtn&#34;  TargetType=&#34;{x:Type Button}&#34;&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
            Style DigitBtn = new Style();
            DigitBtn.TargetType = typeof(Button);
</pre>
</li>
<li>Notes:<br />
I simply looked up the <a href="http://msdn.microsoft.com/en-us/library/ms753322.aspx">x:Type Markup Extension</a> and followed my nose after reading &#8220;x:Type is essentially a markup extension equivalent for a typeof() operator in C#&#8221;. Basically, this is telling the complier that the program will only be applying this style to Button objects.
</li>
</ul>
</li>
<p />
<li>Setting the &#8220;Focusable&#8221; property
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Setter Property=&#34;Focusable&#34; Value=&#34;False&#34;/&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
Setter setter1 = new Setter(Button.FocusableProperty, false);
DigitBtn.Setters.Add(setter1);
</pre>
</li>
<li>Notes:<br />
Since this is the first &#8220;Setter&#8221; I&#8217;ve seen, I needed to look up the <a href="http://msdn.microsoft.com/en-us/library/ms587945.aspx">constructor</a>. However, I still didn&#8217;t understand what all this was for until I read <a href="http://blogsprajeesh.blogspot.com/2009/03/wpf-data-binding-datatriggers.html">WPF Data Binding &#8211; DataTriggers</a> though I only cared about the Data Binding part. It seems that because we are targeting buttons, we can set any properties that buttons have. This really makes me think of CSS classes because this program is going to have a bunch of buttons all with the same style so it makes sense to set up the style first and then, when you create the button element, you specify which style to use (similar to <code>&#60;input type="button" value="Submit" class="DigitBtn"&#62;</code> for HTML+CSS).
</li>
</ul>
</li>
<p />
<li>Setting the &#8220;FontSize&#8221; property
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Setter Property=&#34;FontSize&#34; Value=&#34;14pt&#34;/&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
LengthConverter lc = new LengthConverter();
string qualifiedDouble = &#34;14pt&#34;;
Setter setter2 = new Setter(Button.FontSizeProperty, lc.ConvertFrom(qualifiedDouble));
DigitBtn.Setters.Add(setter2);
</pre>
</li>
<li>Notes:<br />
Wow, so much work for something so simple. I would have never guessed this on my own&#8230;I know, I tried for quite a while. Thankfully, someone from the internets had <a href="http://stackoverflow.com/questions/1279102/how-do-you-set-the-frameworkelement-width-property-to-the-value-of-a-qualifieddou">the answer</a> (and a pretty good explanation).
</li>
</ul>
</li>
<p />
<li>Setting the &#8220;Margin&#8221; property
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Setter Property=&#34;Margin&#34; Value=&#34;0&#34;/&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
Setter setter3 = new Setter(Button.MarginProperty, new Thickness(0));
DigitBtn.Setters.Add(setter3);
</pre>
</li>
<li>Notes:<br />
Who would have guessed <a href="http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.margin.aspx">margins</a> take values of <a href="http://msdn.microsoft.com/en-us/library/system.windows.thickness.aspx">Thickness Structures</a>? It makes sense now that I look closer. Instead of specifying that something has a left, top, bottom, and right margin you just say it has a margin and you define a margin to be something that has left, top, bottom, and right properties.
</li>
</ul>
</li>
</ul>
<p>The final property &#8220;Template&#8221; is much more involved so I will describe what I did from the inside-out. Of course, I didn&#8217;t deal with any animations or other triggers. I just wanted the buttons to show up and work.</p>
<ul>
<li>Presenting the button&#8217;s content
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;ContentPresenter Content=&#34;{TemplateBinding Content}&#34; HorizontalAlignment=&#34;Center&#34; VerticalAlignment=&#34;Center&#34;/&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
FrameworkElementFactory CP = new FrameworkElementFactory(typeof(ContentPresenter));
Binding TBinding = new Binding(&#34;Content&#34;){RelativeSource = RelativeSource.TemplatedParent, Mode = BindingMode.OneWay};
CP.SetValue(ContentPresenter.ContentProperty, TBinding);
CP.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Center);
CP.SetValue(VerticalAlignmentProperty, VerticalAlignment.Center);
</pre>
</li>
<li>Notes:<br />
All of this gets nested inside a <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.controltemplate.aspx">ControlTemplate </a>which was giving me a lot of problems because it doesn&#8217;t work the same way as other containers (in C#&#8211;they all look the same in XAML). Fortunately, a quick Google search came up with <a href="http://www.vistax64.com/avalon/23416-changing-drawing-style-button-code-c-c.html">Changing the drawing style of a button from code </a> which introduced me to <a href="http://msdn.microsoft.com/en-us/library/system.windows.frameworkelementfactory.aspx">FrameworkElementFactory</a>. I had to read two more sources of information to figure out <code>Content="{TemplateBinding Content}"</code>: one, <a href="http://msdn.microsoft.com/en-us/library/ms742882.aspx">TemplateBinding Markup Extension</a>, told me that &#8220;A TemplateBinding is an optimized form of a Binding for template scenarios, analogous to a Binding constructed with {Binding RelativeSource={RelativeSource TemplatedParent} Mode=OneWay}.&#8221;; two, <a href="http://msdn.microsoft.com/en-us/library/ms742863.aspx">How to: Create a Binding in Code</a>, had an extremely useful comment by LukeSkywalker (of all people). I tried running the code without the ContentPresenter and, lo and behold, the button&#8217;s content, which holds the text, didn&#8217;t show.
</li>
</ul>
</li>
<p />
<li> Styling the Button
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: true;">
&#60;Ellipse Width=&#34;57&#34; Height=&#34;49&#34; x:Name=&#34;TB&#34;  StrokeThickness=&#34;1&#34; Stroke=&#34;{TemplateBinding Foreground}&#34; Fill=&#34;{TemplateBinding Background}&#34; HorizontalAlignment=&#34;Center&#34; VerticalAlignment=&#34;Center&#34; /&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
FrameworkElementFactory TB = new FrameworkElementFactory(typeof(Ellipse), &#34;TB&#34;);
TB.SetValue(Ellipse.WidthProperty, 57.0);
TB.SetValue(Ellipse.HeightProperty, 49.0);
TB.SetValue(Ellipse.StrokeThicknessProperty, 1.0);
TB.SetValue(Ellipse.StrokeProperty, new Binding(&#34;Foreground&#34;) { RelativeSource = RelativeSource.TemplatedParent, Mode = BindingMode.OneWay });
TB.SetValue(Ellipse.FillProperty, new Binding(&#34;Background&#34;) { RelativeSource = RelativeSource.TemplatedParent, Mode = BindingMode.OneWay });
TB.SetValue(Ellipse.HorizontalAlignmentProperty, HorizontalAlignment.Center);
TB.SetValue(Ellipse.VerticalAlignmentProperty, VerticalAlignment.Center);
</pre>
</li>
<li>Notes:<br />
I quickly discovered, thanks to the compiler, that Height, Width and StrokeThickness need to have values of type Double so I simply added the decimal point to squash those errors. As for the bindings, this time I went for in-line declarations. I think that looks more organized.
</li>
</ul>
</li>
<p />
<li>Completing the Template setter
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Setter Property=&#34;Template&#34;&#62;
    &#60;Setter.Value&#62;
        &#60;ControlTemplate TargetType=&#34;{x:Type Button}&#34;&#62;
            &#60;Grid Width=&#34;60&#34; Height=&#34;50&#34;&#62;
                ...
            &#60;/Grid&#62;
        &#60;/ControlTemplate&#62;
    &#60;/Setter.Value&#62;
&#60;/Setter&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
Setter setter4 = new Setter();
setter4.Property = Button.TemplateProperty;

ControlTemplate ct = new ControlTemplate(typeof(Button));

FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid));
grid.SetValue(Grid.WidthProperty, 60.0);
grid.SetValue(Grid.HeightProperty, 50.0);

...

grid.AppendChild(TB);
grid.AppendChild(CP);

ct.VisualTree = grid;

setter4.Value = ct;
DigitBtn.Setters.Add(setter4);
</pre>
</li>
<li>Notes:<br />
Because I was going to have to separate this setter&#8217;s Value property, I used the empty constructor and then acted on the instance. Setting the setter&#8217;s property property (that was fun to write) was as straight forward as the others. To set the setter&#8217;s value property, I first created a ControlTemplate targeting a Button. Then I created a grid to hold the Ellipse and ContentPresenter. After instantiating the object to go into the grid, I discovered that I couldn&#8217;t treat this grid object like I have before because it&#8217;s actually a FrameworkElementFactory object. It was easy to find out how to add children to it though. Finally, thanks to <a href="http://www.vistax64.com/avalon/23416-changing-drawing-style-button-code-c-c.html">Douglass Stockwell</a>, I knew how to use VisualTree to complete the setter.
</li>
</ul>
</li>
<p />
<li>Adding the style to the main grid
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Grid.Resources &#62;
    ...
    &#60;/Style&#62;
&#60;/Grid.Resources&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
MyGrid.Resources.Add(&#34;DigitBtn&#34;, DigitBtn);
</pre>
</li>
<li>Notes:<br />
The style is defined inside the &#8220;Grid.Resources&#8221; tag so I added the style to MyGrid.Resources collection in the same way as adding the storyboard to the Window.Resources collection of the <a href="http://understandingcsharp.wordpress.com/2009/12/09/alarm-clock-sample-part-6/">Alarm Clock Sample</a>.
</li>
</ul>
</li>
</ul>
<p>Now that I got the style set up, I moved on to rendering the buttons. This part is just copy/paste once you get the first button to show. (In fact, I think it&#8217;s so copy/paste that I might rewrite it using a loop.)</p>
<p>It was a little tricky for me because I haven&#8217;t dealt with this level of customized UI before (at least with C#. I have done a complex GUI in Python with TkInter but TkInter&#8217;s grid and pack managers are much less sophisticated).</p>
<ul>
<li>Initializing the grid
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
      &#60;Grid.ColumnDefinitions&#62;
        &#60;ColumnDefinition/&#62;
        ...
        &#60;ColumnDefinition/&#62;
      &#60;/Grid.ColumnDefinitions&#62;
      &#60;Grid.RowDefinitions&#62;
        &#60;RowDefinition/&#62;
        ...
        &#60;RowDefinition/&#62;
      &#60;/Grid.RowDefinitions&#62;
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
MyGrid.ColumnDefinitions.Add(new ColumnDefinition());
...
MyGrid.RowDefinitions.Add(new RowDefinition());
</pre>
</li>
<li>Notes:<br />
I tried rendering a button without this and it just overlapped with the DisplayBox. The grid geometry manager in TkInter automatically creates the cells and I assumed WPF grids worked the same. I saw all this XAML which did nothing but create default objects and thought, <em>the code doesn&#8217;t need this</em>, but I was wrong. You explicitly have to create the rows and columns first, otherwise every visual object will overlap even if you&#8217;ve told the grid to put it somewhere else.
</li>
</ul>
</li>
<p />
<li>Creating the buttons
<ul>
<li>XAML:
<pre class="brush: xml; light: true; wrap-lines: false;">
&#60;Button Name=&#34;B7&#34; Click=&#34;DigitBtn_Click&#34; Style=&#34;{StaticResource DigitBtn}&#34; Grid.Column=&#34;4&#34; Grid.Row=&#34;2&#34;&#62;7&#60;/Button&#62;
...
</pre>
</li>
<li>C#:
<pre class="brush: csharp; light: true; wrap-lines: false;">
Button B7 = new Button();
B7.Name = &#34;B7&#34;;
B7.Click += new RoutedEventHandler(DigitBtn_Click);
B7.Style = MyGrid.Resources[&#34;DigitBtn&#34;] as Style;
Grid.SetColumn(B7, 4);
Grid.SetRow(B7, 2);
B7.Content = &#34;7&#34;;
MyGrid.Children.Add(B7);
</pre>
</li>
<li>Notes:<br />
It all made sense until the little &#8220;7&#8243; stuck between the tags. I looked up how to get the text for a button to show up and that led me to <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button(VS.100).aspx">the wrong Button Class</a>. It was telling me to set the Button.Text property but the compiler told me it doesn&#8217;t exist. Someone else said, &#8220;<a href="http://www.daniweb.com/forums/thread196582.html">WPF C# .text not working</a>&#8221; and later said they were being an idiot because one should set the Button.Content property. I went back to the .NET Framework Class Library and discovered that I, too, was being an idiot because the correct place to look is <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.button.aspx">the System.Windows.Controls.Button Class</a> which does, indeed, have a Button.Content property. Oh, and also note &#8220;as Style&#8221; when grabbing the Style resource. In the <a href="http://understandingcsharp.wordpress.com/2009/11/30/alarm-clock-sample-part-3/">Alarm Clock Sample</a>, the storyboard resource is grabbed with a cast <code>(Storyboard)clockWindow.Resources["clockHandStoryboard"]</code>. The big difference between using a cast and using &#8220;as&#8221; is <a href="http://msdn.microsoft.com/en-us/library/cscsdfbt.aspx">a cast will raise an exception but &#8220;as&#8221; will just yield null</a>.
</li>
</ul>
</li>
</ul>
<p>I then copied the DigitBtn_Click method into my Window1 class and now my unfinished calculator is at least looking much more finished. (I still don&#8217;t know why they are converting the string into a character array instead of indexing the string itself&#8230;)</p>
<p>I planned on animating the buttons in this installment but just getting the buttons to render correctly was enough work for this time. I promise to do the animations next. I may even add in the operations.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Method Review: 2- AJATT]]></title>
<link>http://mikotoneko.wordpress.com/2009/12/19/method-review-2-ajatt/</link>
<pubDate>Sun, 20 Dec 2009 04:07:19 +0000</pubDate>
<dc:creator>mikotoneko</dc:creator>
<guid>http://mikotoneko.wordpress.com/2009/12/19/method-review-2-ajatt/</guid>
<description><![CDATA[All Japanese All The Time: AJATT method by Khatzumoto One faithful day a fellow smart.fm user told m]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><strong>All Japanese All The Time: AJATT method by Khatzumoto</strong></p>
<p style="text-align:left;">One faithful day a fellow smart.fm user told me that I&#8217;d want to check out a &#8220;cool happening website&#8221; about learning Japanese. Since I never turn down any new outlooks on life and learning I decided to give it a read. As Ka-san put out on his about page it is:</p>
<blockquote><p>&#8220;This site is about how you can learn Japanese without taking classes, by having fun and doing things you enjoy—watching movies, playing video games, reading comic books—you know: fun stuff! Stuff that you feel guilty about doing because you should be doing “serious things”.</p>
<p>I am your host, Khatzumoto. ..I learned Japanese in 18 months by having fun. In June 2004, at the ripe old age of 21&#8230; I started learning Japanese. By September 2005, I had learned enough to read technical material, conduct business correspondence and job interviews in Japanese. By the next month, I landed a job as a software engineer at a large Japanese company in Tokyo (yay!).I didn’t take classes&#8230;I didn’t read textbooks and I had never lived in Japan.</p>
<p>So how did I do it? Well, by spending 18-24 hours a day doing something, <em>anything</em> in Japanese (”all Japanese, all the time”)&#8230;</p>
<p>&#8230;I’m [not] better than you or smarter than you. I am not. I am not special—in fact, I have an embarrassing history of making incredibly dumb mistakes that other people just never make. But I achieved some good results and there were reasons for that, namely:</p>
<p>1. The belief that I could become fluent in Japanese<br />
2. Constantly doing fun stuff in Japanese</p>
<p>&#8230; So this site exists for 2 reasons:</p>
<p>1. To tell you how I learned Japanese by having fun, so that you can do it, too.<br />
2. To give you some new cool tools that I did not have, and that would have made things much faster and easier for me.</p>
<p>&#8230; I am telling you that if you start giving your life to Japanese every-single-day-24/7/365, then you will not just learn Japanese, you will <strong>become</strong> Japanese. And I am telling you that the way to do that is to do fun things and only fun things: boring classes, boring textbooks and whiny classmates are out! Despite what you may have been raised to believe, boredom is not the same as learning; it’s the opposite; it is by enjoying ourselves that we truly learn.&#8221;</p></blockquote>
<p>What a selling pitch eh? So what is his method? Here is a super fast rundown in picture form!</p>
<p style="text-align:center;"><a href="http://mikotoneko.wordpress.com/files/2009/12/ajatt.png"><img class="aligncenter size-medium wp-image-28" title="ajatt" src="http://mikotoneko.wordpress.com/files/2009/12/ajatt.png?w=300" alt="" width="300" height="225" /></a></p>
<p style="text-align:center;">
<p style="text-align:left;">Basically Ka-san says, go get the <strong>RTK</strong> (Remembering the Kanji) by Mr. James W. Heisig book and begin learning kanji. While you begin inputing these into an SRS (like anki, http://kanji.koohii.com/learnmore, ect.) you should be destroying all things English in your life. Complete Immersion! He tries to impart the idea that you should become Japanese, pretend, act, and totally be Japanese. You should also only do fun things during this time. He has lots of little advice for motivation and switching out your stuff, but that&#8217;s all on the site.</p>
<p style="text-align:left;">Once you&#8217;re through with the RTK book 1, go through RTKana really quick before starting up the wonderful world of Sentence Mining. Basically you learn grammar, usage, and pronunciation through srs&#8217;ing sentences you encounter in your Japanese environment. He also recommends a whole 10k of them, tells you to focus on input over output, on monolingual, no subtitled things, ect. Once you accrue 10k sentences, 1mil words and over 10k listening hours, he deems that your Japanese will be awesome sauce, and from there its just gravy.</p>
<p style="text-align:left;">Of course, this review is pretty short and leaves out a lot of super fine details and great motivational speeches Ka-san likes to give, I figured since the website is still up and very much well maintained, it wont kill you to go read his site yourself! Ka-san has also released three wonderful products along side his FREE website. (If you read everything, you don&#8217;t need these things, he even says this himself) It is the QRG book, movie, and First Sentence Pack. The QRG means Quick Reference Guide and its exactly that: a straight to the point reference guide that sums up all of his site in a concise manner with a few more tips. The movie goes into a lot more detail as well. The sentence pack is an &#8220;<strong>electronic book</strong> in <strong>PDF format</strong>, clocking in at just over <strong>200 pages</strong>, containing <strong>more than 560 Japanese sentences, with English translations</strong> and brief <strong>explanations</strong> where necessary&#8221;.</p>
<p style="text-align:left;"><strong>PROS:</strong></p>
<p style="text-align:left;">*Flexibility to be as cheap or as expensive as you want it to be</p>
<p style="text-align:left;">*immersion environment</p>
<p style="text-align:left;">*learns usage/sounds of kanji and grammar through natural use versus grammar points</p>
<p style="text-align:left;">*never fall into the romaji trap, thank god</p>
<p style="text-align:left;">*Addresses all language learning needs</p>
<p style="text-align:left;">*variety</p>
<p style="text-align:left;">*detailed instructions that fit Japanese, as well as generalities to encompass any language</p>
<p style="text-align:left;">*fun witty humor alongside lots of motivational speeches</p>
<p style="text-align:left;">*great site recommendations, resources, and large following to talk to</p>
<p style="text-align:left;">*Sounding native is more natural due to the immersion of &#8220;real&#8221; Japanese versus outdated books or proper stale language usage.</p>
<p style="text-align:left;"><strong>CONS:</strong></p>
<p style="text-align:left;">*You get accused of being in an occult!</p>
<p style="text-align:left;">*This method is sooo immersion that some feel you abandon your &#8220;real life&#8221; or that it conflicts with spouses/kids/job/ect.</p>
<p style="text-align:left;">*requires a lot of reading through a very giant site to get the full picture (time consuming unless you skip to the QRG)</p>
<p style="text-align:left;">*Beginning sometimes feels slow, drawn out, without progression (Going through RTK stops  a lot of people due to its length)</p>
<p style="text-align:left;">*Some accuse its lack of learning through grammar points bad!</p>
<p style="text-align:left;">*if you hate SRS then this is just not for you, mostly</p>
<p style="text-align:left;">All in all, AJATT has captured many language learner&#8217;s attention. I&#8217;d dare say that Ka-san is a bit of an internet fame when it comes to Japanese language learning. Does it work? Yea, lots of people go on and on about how successful they&#8217;ve been with the method, and tweaking it to fit their needs is really easy! Not many tend to banish AJATT altogether, though some will say that the method just wasn&#8217;t for them (completely reasonable).</p>
<p style="text-align:left;">Are AJATT followers truly occultists? Nah! Though those of us who are currently following the method (or at least most of it) will never hesitate to talk about its goodness, we are all very sane people with normal lives. None of us (at least I hope so) go around tattooing Ka-san&#8217;s face on our shoulders while saying the language learner&#8217;s prayer! I think its just great smarts to share something that works.</p>
<p style="text-align:left;">I must say that I do disagree with only one major stepping stone in the whole process. I believe that one should learn the kana before learning the kanji. My reason for this is: I just happened to have done Kana before Kanji and I found when watching dramas, tv, ect, I was able to hear the sounds of the language far easier because I knew what the basic building blocks of their sounds were. My ability then to innately understand more improved vastly compared to some I have met that didn&#8217;t. Just my feeling anyways, plus the kana is short and simple to get through and it feels like I learned something fast before I went through a period where I felt I learned slower.</p>
<p style="text-align:left;">While AJATT does provide a lot of sources for you to go through, it does not do the footwork (WTH! refund!) for you. You will still have to go through and find all the 10k sentences and you&#8217;ll have to enter them all in yourself! You&#8217;ll have to find all your own dramas, music, ect. But hey, Ka-san isn&#8217;t <em>God</em>, now is he? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p style="text-align:left;">
<p style="text-align:left;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[a welcoming wreath]]></title>
<link>http://rachelemiliejackson.wordpress.com/2009/12/18/a-welcoming-wreath/</link>
<pubDate>Fri, 18 Dec 2009 23:14:10 +0000</pubDate>
<dc:creator>rachelemiliejackson</dc:creator>
<guid>http://rachelemiliejackson.wordpress.com/2009/12/18/a-welcoming-wreath/</guid>
<description><![CDATA[It&#8217;s time for another piece that I&#8217;ve made as part of the Stamp Attic &#8216;design team]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s time for another piece that I&#8217;ve made as part of <a href="http://www.thestampattic.co.uk" target="_blank">the Stamp Attic</a> &#8216;design team&#8217;, using the lovely <a href="http://www.thestampattic.co.uk/everyday_clear_stamps.htm" target="_blank">Delicate Branches</a> set of stamps. I used the very small sprig to build a wreath shape, and added a few small leafy branches. I then trimmed it simply with buttons.</p>
<div id="attachment_857" class="wp-caption alignnone" style="width: 354px"><a href="http://rachelemiliejackson.wordpress.com/files/2009/12/delicatewreath.jpg"><img class="size-full wp-image-857" title="delicatewreath" src="http://rachelemiliejackson.wordpress.com/files/2009/12/delicatewreath.jpg" alt="" width="344" height="458" /></a><p class="wp-caption-text">a wreath for every door</p></div>
<p>I added berries with a fine pen. I also used that same leafy branch to make a repeat pattern in the band below the wreath.</p>
<p>Here&#8217;s a closer look at the detail&#8230;</p>
<div id="attachment_858" class="wp-caption alignnone" style="width: 440px"><a href="http://rachelemiliejackson.wordpress.com/files/2009/12/delicatewreathclose.jpg"><img class="size-full wp-image-858" title="delicatewreathclose" src="http://rachelemiliejackson.wordpress.com/files/2009/12/delicatewreathclose.jpg" alt="" width="430" height="323" /></a><p class="wp-caption-text">December, but cosy.</p></div>
<p>When winter is a far-away memory, these branches could be used likewise to create a bird&#8217;s nest design, simply by leaving a smaller space in the middle. That&#8217;s versatile!</p>
<p><span style="color:#999999;">{ Rachel . Emilie . Jackson }</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Convert a string to Guid]]></title>
<link>http://daomingworks.wordpress.com/2009/12/18/convert-a-string-to-guid/</link>
<pubDate>Fri, 18 Dec 2009 15:12:35 +0000</pubDate>
<dc:creator>daomingworks</dc:creator>
<guid>http://daomingworks.wordpress.com/2009/12/18/convert-a-string-to-guid/</guid>
<description><![CDATA[It&#8217;s simple like this: var guid = new Guid(guidID);]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s simple like this:</p>
<blockquote><p>var guid = new Guid(guidID);</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Create a file based on string in C#]]></title>
<link>http://daomingworks.wordpress.com/2009/12/18/create-a-file-based-on-string-in-c/</link>
<pubDate>Fri, 18 Dec 2009 15:08:23 +0000</pubDate>
<dc:creator>daomingworks</dc:creator>
<guid>http://daomingworks.wordpress.com/2009/12/18/create-a-file-based-on-string-in-c/</guid>
<description><![CDATA[// Create an instance of StreamWriter to write text to a file. // The using statement also closes th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><pre>        // Create an instance of StreamWriter to write text to a file.
        // The using statement also closes the StreamWriter.
        using (StreamWriter sw = new StreamWriter("TestFile.txt"))
        {
            // Add some text to the file.
            sw.Write("Hello, how are you? DY");
        }</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Method Overriding in Java]]></title>
<link>http://technofreaky.wordpress.com/2009/12/17/method-overriding-in-java/</link>
<pubDate>Thu, 17 Dec 2009 06:08:49 +0000</pubDate>
<dc:creator>technofreaky</dc:creator>
<guid>http://technofreaky.wordpress.com/2009/12/17/method-overriding-in-java/</guid>
<description><![CDATA[Sample code for Method overirding. File:meoride.java class a { void get() { System.out.println(]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sample code for Method overirding.</p>
<p>File:meoride.java</p>
<div style="background-color:#969a9b;">
class a<br />
{<br />
void get()<br />
{<br />
System.out.println(&#8220;hi&#8221;);<br />
}<br />
}<br />
class b extends a<br />
{<br />
void get()<br />
{<br />
super.get();<br />
System.out.println(&#8220;Nice&#8221;);<br />
}<br />
}<br />
class meoride extends b<br />
{<br />
public static void main(String ar[])<br />
{<br />
meoride c=new meoride();<br />
c.get();<br />
}<br />
}
</div>
<p>Output:<br />
hi<br />
Nice</p>
<p>Share your queries and comments.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
