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

<channel>
	<title>Kahsm &#187; technology</title>
	<atom:link href="http://kahsm.com/index.php/topics/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://kahsm.com</link>
	<description>Technology policy in Canada.</description>
	<pubDate>Thu, 22 Oct 2009 19:23:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Speculative economics: What does new growth theory say about the demise of the ZENN car?</title>
		<link>http://kahsm.com/index.php/politics/178</link>
		<comments>http://kahsm.com/index.php/politics/178#comments</comments>
		<pubDate>Thu, 22 Oct 2009 18:25:51 +0000</pubDate>
		<dc:creator>Kahsm</dc:creator>
		
		<category><![CDATA[politics]]></category>

		<category><![CDATA[technology]]></category>

		<category><![CDATA[economics]]></category>

		<category><![CDATA[fiction]]></category>

		<category><![CDATA[policy]]></category>

		<category><![CDATA[ZENN]]></category>

		<guid isPermaLink="false">http://kahsm.com/?p=178</guid>
		<description><![CDATA[Awhile ago, I heard a rumour that ZENN, the Toronto-based electric car manufacturer, was ceasing production.  I originally assumed that meant the company was finished.  As it turns out, they are just slowing down until battery technology catches up with our automotive demands.  But what if it had gone under?  Now, it strikes me as [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_180" class="wp-caption alignleft" style="width: 500px"><a href="http://kahsm.com/wp-content/uploads/2009/10/zenn.jpg"><img class="size-full wp-image-180 " title="zenn" src="http://kahsm.com/wp-content/uploads/2009/10/zenn.jpg" alt="ZENN Car" width="490" height="284" /></a><p class="wp-caption-text">Image from <a href='http://www.zenncars.com'>ZENN Cars</a>.</p></div>
<p>Awhile ago, I heard a rumour that ZENN, the Toronto-based electric car manufacturer, was ceasing production.  I originally assumed that meant the company was finished.  As it turns out, they are just slowing down until battery technology catches up with our automotive demands.  But what if it had gone under?  Now, it strikes me as strange how casually I took the news.  &#8220;Oh, another small business has fallen through, better luck next time.&#8221;  After all, that&#8217;s what capitalism is all about right?</p>
<p>Well that seems to be how people are currently programmed to think, including me.  However, as a progressive student of innovation, I am also a proponent of New Growth Theory (Evolutionary Economics), and to follow this new economic thinking is to realize that the loss or impediment of ZENN could have enormous detrimental effects on the future Canadian economy.</p>
<p>In New Growth Theory, economic growth is not created by building capital stockpiles, but by generating new knowledge that lets an economy use their current resources in a more efficient, and valuable, way.  To generate wealth in a knowledge based economy - we need to invent and innovate.  It may be true that not all ideas are good ideas, but we always learn something, and all knowledge is valuable.</p>
<p>Furthermore, instead of suffering from equilibrium-trending, diminishing returns, knowledge-based economies in New Growth Theory have positive returns.  It may cost millions to write a piece of software, but subsequent copies are all nearly free.  If there are a million customers, and you can produce a million widgets for the same per-unit cost as one widget, then your goal would be to sell one million widgets to all one million customers.  However, to reach monopoly or a legally-acceptable oligopoly status, a company must make sure its product becomes the standard amongst competitors.  This often happens through a process whimsically called QWERTYnomics.  While Dvorak is generally accepted as a superior keyboard layout for speed and efficiency, society is already accustomed and <em>locked-in</em> to the QUERTY style.</p>
<p>QWERTYnomics demonstrates how important the decisions of the past are on our economic future.  How much more productive would we be if we could all type slightly faster on Dvorak keyboards?  We probably won&#8217;t ever know.  And had ZENN actually folded, we would never know what future Canada could have had in the electric car industry.  As it is, we could already be strangling our economic future in all the red tape around making the ZENN car road-legal.  It is not about one company being profitable or not.  It is about the knowledge that company produces, and how it evolves new generations of transportation, battery technologies, and power generation.</p>
<p>Yes its true, I am inanely suggesting that some incalculable number of our infinite possible futures have ZENN as the foundation of some major economic driver in the Canadian economy.  I have no opinion on the likelyhood, I only suggest that it could happen.  What is certain, however, is that if we continue to prop up businesses with old norms and routines, then entreprenurial effots in those fields will be undermined, and new knowledge generation will be suppressed.  And according New Growth Theory, this ultimately harms future economic growth.</p>
<p>The thought of letting a company like GM fail is almost infathomable, but maybe its time has come? <em>Creative destruction</em> is a concept well known to innovation academics; <em>chaos theory</em> is aptly named in biology; and <em>natural selection</em> makes no qualms about what happens to those who do not get &#8217;selected&#8217;.  New Growth Theory recognizes that change can be painful, but in trying to avoid the pain, you could seriously retard the economy and suppress long-term economic growth by hindering knowledge creation, adoption, and diffusion.</p>
<p>For an indepth summary of New Growth Theory and Evolution Economics, try <a href="http://www.eda.gov/PDF/1G3LR_7_cortright.pdf" tareget="_new">this well-written and comprehensible article</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://kahsm.com/index.php/politics/178/feed</wfw:commentRss>
		</item>
		<item>
		<title>A fix for Patch 3.1 Self Buff / Own Buff Problems in WoW Addons</title>
		<link>http://kahsm.com/index.php/technology/52</link>
		<comments>http://kahsm.com/index.php/technology/52#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:45:07 +0000</pubDate>
		<dc:creator>Kahsm</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[technology]]></category>

		<category><![CDATA[addons]]></category>

		<category><![CDATA[gaming]]></category>

		<category><![CDATA[mmo]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[WoW]]></category>

		<guid isPermaLink="false">http://kahsm.com/?p=52</guid>
		<description><![CDATA[In World of Warcraft 3.1 they changed the result from a LUA call to UnitAura() from a true/false isMine to a much more detailed UnitId.  This is going to create A LOT of flexibility in future addons people. Imagine a grid that can track every hot and tell you which person cast it. Or addons [...]]]></description>
			<content:encoded><![CDATA[<p>In World of Warcraft 3.1 they changed the result from a LUA call to UnitAura() from a true/false isMine to a much more detailed UnitId.  This is going to create A LOT of flexibility in future addons people. Imagine a grid that can track every hot and tell you which person cast it. Or addons that highlight the buffs/debuffs on people of your current target. Impressive!<span id="more-52"></span></p>
<p><a href="http://kahsm.com/wp-content/uploads/2009/04/grid.png"><img src="http://kahsm.com/wp-content/uploads/2009/04/grid.png" alt="grid" title="grid" width="513" height="210" class="alignleft size-full wp-image-152" /></a>However, despite the awesome potential of this change, the result is that all our healing addons are currently busted.  And I don’t know about you, but having the hots from every Druid show up on my unit frames almost cripples my healing ability.  I don’t know which are mine and what needs refreshing!</p>
<p>Since I couldn’t handle this, I read up and found the interim hacks for some popular mods.</p>
<p><strong>Elkano’s Buff Bars</strong><br />
Note: Thanks to pigmonkey on curse.com for pointing this out. I used that, it worked great, and applied it to the other addons listed here.</p>
<p>Open up your ElkBuffBars.lua in notepad and search for this line :<br />
<code>  local name, rank, texture, count, debuffType, duration, expiryTime, isMine = UnitAura(unit, i, filter)</code></p>
<p>Go to the end of this line and press enter to create a blank line and add the following:<br />
<code>  if isMine == "player" then<br />
   isMine = true<br />
  else<br />
   isMine = false<br />
  end</code></p>
<p>Once upon a time that UnitAura function would return true or false to whether or not that buff/debuff was cast by the current player.  However that changed, as I described above.  So to hack these addons back together we simply have to convert the more detailed return (in this case “player”) back into the simple true/false.</p>
<p><strong>Grid</strong></p>
<p>For grid, open up GridStatusAuras.lua and find the following line:<br />
<code>  name, rank, icon, count, debuffType, duration, expirationTime, isMine, isStealable = UnitAura(unit, buff_name, nil, "HELPFUL")</code></p>
<p>Go to the end of this line and press enter to create a blank line and add the following:<br />
<code>  if isMine = "player" then<br />
   isMine = true<br />
  else<br />
   isMine = false<br />
  end</code></p>
<p>Looks very familiar doesn’t it?  It really is that simple. If you have any other addons that have this problem, all you need to do is find the instances where they use UnitAura() function and change the isMine variable (hopefully they use that common name, they might not) into a true/false.</p>
<p>Keep searchign through the auras lua for grid, the use UnitAura a few times and you have to add that if block each time it&#8217;s used.</p>
<p>Xperl has a similar issue with it’s big-self-buffs.  However, I have looked through the lua files and can’t actually find where they have hidden UnitAura functions&#8230; wish I had comments setup so someone could let me know.  Oh well&#8230; I use Elkano’s anway.</p>
<p>Good raiding!</p>
]]></content:encoded>
			<wfw:commentRss>http://kahsm.com/index.php/technology/52/feed</wfw:commentRss>
		</item>
		<item>
		<title>Use the right tag for the right purpose!  Standards are your friend.</title>
		<link>http://kahsm.com/index.php/technology/9</link>
		<comments>http://kahsm.com/index.php/technology/9#comments</comments>
		<pubDate>Mon, 08 Dec 2008 00:08:50 +0000</pubDate>
		<dc:creator>Kahsm</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[Blog]]></category>

		<category><![CDATA[technology]]></category>

		<category><![CDATA[web development]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://kahsm.com/?p=9</guid>
		<description><![CDATA[I'm gettin sick and tired of these wordpress developers putting tags where they don't belong...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting sick and tired of these wordpress developers putting tags where they don&#8217;t belong. It&#8217;s true that back when I did serious web development, we were using whatever tag would get the job done. I&#8217;m talking back in the days of tables being used to design a page layout. I know some of you just gasped, but it&#8217;s true. However, we don&#8217;t do that anymore. We have custom tags and CSS files for a reason, but things seem to be reverting back to those dark days.<span id="more-9"></span></p>
<p>Why the hell dose wordpress use an unordered list (&lt;ul&gt;&lt;/ul&gt;) to organize their widgets. I&#8217;m sorry&#8230; but that&#8217;s not a list. Normally, I would not bother posting about other people&#8217;s foolish programming practices. After all, they are fairly abundant in any language. But now every widget seems to include &lt;li&gt; tags, and if I don&#8217;t wrap my sidebar in UL tags, I&#8217;m going to get validation errors. I hate you all. Plus, li tags are tricky things in CSS. For example, Mozilla uses padding to make the default tab and IE uses margins. This means I’m adding two styles to my CSS just to remove default formatting that a proper div tag wouldn’t have had in the first place.</p>
<p>Furthermore, what&#8217;s with the plethora of paragraph tags! &lt;p&gt; is a paragraph&#8230; meaning text. I don&#8217;t want to see any parts of widgets or tools wrapped in paragraph tags. The ONLY place I should see paragraph tags is around the paragraphs in my blog. Now I have to make special &#8220;exception&#8221; entries in my CSS file so that the spacing and text line-height rules for paragraphs don&#8217;t get applied to my widgets!</p>
<p>Years ago we developers decided we would separate design from content. I&#8217;m just asking the Widget developers, theme developers, and wordpress developers to adhere to that doctrine a little more strictly.</p>
<p>Oh and P.S. Read some PHP coding standards, your source code is a mess. This isn’t Unix.</p>
]]></content:encoded>
			<wfw:commentRss>http://kahsm.com/index.php/technology/9/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

