<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: Simplicity Rules the Day</title>
	<atom:link href="http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/</link>
	<description>Blogging with Attitude</description>
	<pubDate>Thu, 20 Nov 2008 10:03:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3-9791</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1220</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 28 Feb 2007 19:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1220</guid>
		<description>Nah, it was local ... The original was only changing element 22 to 'wp_adv' ... but it was actually element 21 that needed to be changed, anyway, to make it look right.  

Here's the array... 
&lt;blockquote&gt;$mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'separator', 'bullist', 'numlist', 'outdent', 'indent', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'link', 'unlink', 'image', 'wp_more', 'separator', 'spellchecker', 'separator', 'wp_help', 'wp_adv_start', 'wp_adv', 'separator', 'formatselect', 'underline', 'justifyfull', 'forecolor', 'separator', 'pastetext', 'pasteword', 'separator', 'removeformat', 'cleanup', 'separator', 'charmap', 'separator', 'undo', 'redo', 'wp_adv_end'));&lt;/blockquote&gt;
Warped, yes.  But... ;-)

As for Global Warming --- for damn sure it is.  Increased energy production equals increased production of environmental ozone, carbon pollution and any number of waste gases.  Decreased energy production always equals less... And if the demand isn't there... Hey.

I had an environmental, political and economic angle.  So there.  ;-)</description>
		<content:encoded><![CDATA[<p>Nah, it was local &#8230; The original was only changing element 22 to &#8216;wp_adv&#8217; &#8230; but it was actually element 21 that needed to be changed, anyway, to make it look right.  </p>
<p>Here&#8217;s the array&#8230; </p>
<blockquote><p>$mce_buttons = apply_filters(&#8217;mce_buttons&#8217;, array(&#8217;bold&#8217;, &#8216;italic&#8217;, &#8217;strikethrough&#8217;, &#8217;separator&#8217;, &#8216;bullist&#8217;, &#8216;numlist&#8217;, &#8216;outdent&#8217;, &#8216;indent&#8217;, &#8217;separator&#8217;, &#8216;justifyleft&#8217;, &#8216;justifycenter&#8217;, &#8216;justifyright&#8217;, &#8217;separator&#8217;, &#8216;link&#8217;, &#8216;unlink&#8217;, &#8216;image&#8217;, &#8216;wp_more&#8217;, &#8217;separator&#8217;, &#8217;spellchecker&#8217;, &#8217;separator&#8217;, &#8216;wp_help&#8217;, &#8216;wp_adv_start&#8217;, &#8216;wp_adv&#8217;, &#8217;separator&#8217;, &#8216;formatselect&#8217;, &#8216;underline&#8217;, &#8216;justifyfull&#8217;, &#8216;forecolor&#8217;, &#8217;separator&#8217;, &#8216;pastetext&#8217;, &#8216;pasteword&#8217;, &#8217;separator&#8217;, &#8216;removeformat&#8217;, &#8216;cleanup&#8217;, &#8217;separator&#8217;, &#8216;charmap&#8217;, &#8217;separator&#8217;, &#8216;undo&#8217;, &#8216;redo&#8217;, &#8216;wp_adv_end&#8217;));</p></blockquote>
<p>Warped, yes.  But&#8230; <img src='http://www.blogitude.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>As for Global Warming &#8212; for damn sure it is.  Increased energy production equals increased production of environmental ozone, carbon pollution and any number of waste gases.  Decreased energy production always equals less&#8230; And if the demand isn&#8217;t there&#8230; Hey.</p>
<p>I had an environmental, political and economic angle.  So there.  <img src='http://www.blogitude.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monty</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1219</link>
		<dc:creator>Monty</dc:creator>
		<pubDate>Wed, 28 Feb 2007 18:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1219</guid>
		<description>That array_push() function probably is actually the same as your code if you saw it, globalized.

"Just imagine the ENERGY we would save, globally, if developers weren’t maxing out every CPU and amount of memory they possibly could…"

Maybe this is causing global warming!</description>
		<content:encoded><![CDATA[<p>That array_push() function probably is actually the same as your code if you saw it, globalized.</p>
<p>&#8220;Just imagine the ENERGY we would save, globally, if developers weren’t maxing out every CPU and amount of memory they possibly could…&#8221;</p>
<p>Maybe this is causing global warming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1218</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 28 Feb 2007 18:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1218</guid>
		<description>The point is to do things the simplest way, without modifying core code.  This function is an abstraction in quite a complicated piece of code.  You've seen it, and worked with it, so quit being pedantic.  ;-)

Is there a need for Conserving CPU and Memory ---- YES!  It's a "spoiled brat" attempt at software development to say, "It's here, so I'm gonna use it all!"  A LAZY development methodology...

This is ESPECIALLY critical for shared hosting scenarios.

I can think of a couple of CMS's --- which I won't bash specifically, as most people already know that silly dance and its freeware couterpart --- which REQUIRE each customer to use MINIMUM 32M of memory per session.  You get 100 simultaneous visitors (which isn't hard!) and all of a sudden, you're out of memory, and the whole server bogs.  Doesn't that suck?

And don't EVEN get me started about optimizing SQL queries where some of these programs do literablly hundreds of the most intense and complex table joins with custom variables per pageview, thereby filling up an entire 32 Meg MySQL cache and forcing every other program on a shared server to re-query the database... and bogging it all down again...

Just imagine the ENERGY we would save, globally, if developers weren't maxing out every CPU and amount of memory they possibly could...</description>
		<content:encoded><![CDATA[<p>The point is to do things the simplest way, without modifying core code.  This function is an abstraction in quite a complicated piece of code.  You&#8217;ve seen it, and worked with it, so quit being pedantic.  <img src='http://www.blogitude.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Is there a need for Conserving CPU and Memory &#8212;- YES!  It&#8217;s a &#8220;spoiled brat&#8221; attempt at software development to say, &#8220;It&#8217;s here, so I&#8217;m gonna use it all!&#8221;  A LAZY development methodology&#8230;</p>
<p>This is ESPECIALLY critical for shared hosting scenarios.</p>
<p>I can think of a couple of CMS&#8217;s &#8212; which I won&#8217;t bash specifically, as most people already know that silly dance and its freeware couterpart &#8212; which REQUIRE each customer to use MINIMUM 32M of memory per session.  You get 100 simultaneous visitors (which isn&#8217;t hard!) and all of a sudden, you&#8217;re out of memory, and the whole server bogs.  Doesn&#8217;t that suck?</p>
<p>And don&#8217;t EVEN get me started about optimizing SQL queries where some of these programs do literablly hundreds of the most intense and complex table joins with custom variables per pageview, thereby filling up an entire 32 Meg MySQL cache and forcing every other program on a shared server to re-query the database&#8230; and bogging it all down again&#8230;</p>
<p>Just imagine the ENERGY we would save, globally, if developers weren&#8217;t maxing out every CPU and amount of memory they possibly could&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monty</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1216</link>
		<dc:creator>Monty</dc:creator>
		<pubDate>Wed, 28 Feb 2007 16:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1216</guid>
		<description>Is this 1980? Is CPU time and memory a precious thing? It's a Microsoft world where all code gets bigger and slower as our computers get faster and more powerful. Each new version of Windows brings your latest computer's blazing new speed back down to the standard slowness. As coders, we don't worry about such things. Not any more. Load your entire library of functions every time and then use one of them. Add huge amounts of graphic crapola so that even if your code is fast, the graphics card is still running behind the bus screaming "Wait, I haven't redrawn the screen!"

Why is that a function anyway? Is there a need to call it more than once? That's why I say change it as I do. Make it a function to add any button. Just looks like a pointless way to hide a piece of code somewhere else and make the program more complicated than it needs to be.

Trust the engineers. They hand you a black box and tell you, "stick X in here and Y will come out the other side." That's all we need to know. The parameters of X and Y. What goes on inside the box is not for us to know. &lt;i&gt;Trust the box Luke.&lt;/i&gt;</description>
		<content:encoded><![CDATA[<p>Is this 1980? Is CPU time and memory a precious thing? It&#8217;s a Microsoft world where all code gets bigger and slower as our computers get faster and more powerful. Each new version of Windows brings your latest computer&#8217;s blazing new speed back down to the standard slowness. As coders, we don&#8217;t worry about such things. Not any more. Load your entire library of functions every time and then use one of them. Add huge amounts of graphic crapola so that even if your code is fast, the graphics card is still running behind the bus screaming &#8220;Wait, I haven&#8217;t redrawn the screen!&#8221;</p>
<p>Why is that a function anyway? Is there a need to call it more than once? That&#8217;s why I say change it as I do. Make it a function to add any button. Just looks like a pointless way to hide a piece of code somewhere else and make the program more complicated than it needs to be.</p>
<p>Trust the engineers. They hand you a black box and tell you, &#8220;stick X in here and Y will come out the other side.&#8221; That&#8217;s all we need to know. The parameters of X and Y. What goes on inside the box is not for us to know. <i>Trust the box Luke.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1215</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 28 Feb 2007 16:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1215</guid>
		<description>Why bother making it dynamic?  It's as simple as it can get now.  Core functions are still functions, and still cost memory for more variables and CPU cycles to process.

Can't pass anything to it --- it is what it is.

$x is a local variable and "global $x;" is undefined --- there's no chance of collision.

*flip!*  And you're getting contrary in your old age, ya bloody Swede!  *snicker*

You're just pissed cuz I singled out precious Universities, who fund ridiculous projects like proving that bees can fly. ;-)</description>
		<content:encoded><![CDATA[<p>Why bother making it dynamic?  It&#8217;s as simple as it can get now.  Core functions are still functions, and still cost memory for more variables and CPU cycles to process.</p>
<p>Can&#8217;t pass anything to it &#8212; it is what it is.</p>
<p>$x is a local variable and &#8220;global $x;&#8221; is undefined &#8212; there&#8217;s no chance of collision.</p>
<p>*flip!*  And you&#8217;re getting contrary in your old age, ya bloody Swede!  *snicker*</p>
<p>You&#8217;re just pissed cuz I singled out precious Universities, who fund ridiculous projects like proving that bees can fly. <img src='http://www.blogitude.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monty</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1213</link>
		<dc:creator>Monty</dc:creator>
		<pubDate>Wed, 28 Feb 2007 15:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1213</guid>
		<description>I am bothered by this static $buttons[&lt;b&gt;22&lt;/b&gt;] thing. I would want to make that dynamic. $buttons[&lt;b&gt;count($buttons) + 1&lt;/b&gt;] Yeah, that uses a &lt;i&gt;function&lt;/i&gt;, but it will always work correctly. Or pass "22" into the function so that is a real function, i.e. reusable. &lt;i&gt;And&lt;/i&gt; your code has that added potential bomb called &lt;b&gt;$x&lt;/b&gt;.  $x is so ubiquitous that everybody uses it as a throw away. And then, next thing you know, your code dies because some asshat used $x in his function you called and you were using it in your for loop... Sure, the variable in the function is not &lt;i&gt;the same&lt;/i&gt; as the $x in the main code per se, but, it's a risk.

This is using PHP core functions, which I would tend to trust. You'r egetting grumpy in your old age...</description>
		<content:encoded><![CDATA[<p>I am bothered by this static $buttons[<b>22</b>] thing. I would want to make that dynamic. $buttons[<b>count($buttons) + 1</b>] Yeah, that uses a <i>function</i>, but it will always work correctly. Or pass &#8220;22&#8243; into the function so that is a real function, i.e. reusable. <i>And</i> your code has that added potential bomb called <b>$x</b>.  $x is so ubiquitous that everybody uses it as a throw away. And then, next thing you know, your code dies because some asshat used $x in his function you called and you were using it in your for loop&#8230; Sure, the variable in the function is not <i>the same</i> as the $x in the main code per se, but, it&#8217;s a risk.</p>
<p>This is using PHP core functions, which I would tend to trust. You&#8217;r egetting grumpy in your old age&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Couple WP Plugins &#187; Solo Technology</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1209</link>
		<dc:creator>Couple WP Plugins &#187; Solo Technology</dc:creator>
		<pubDate>Wed, 28 Feb 2007 03:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1209</guid>
		<description>[...] by tonight and fixed it up quite nicely, and then very politely and with many nice compliments made me feel about 3 feet tall. Anywho, between those two links you can find the pieces you need to make a little editor plugin. [...]</description>
		<content:encoded><![CDATA[<p>[...] by tonight and fixed it up quite nicely, and then very politely and with many nice compliments made me feel about 3 feet tall. Anywho, between those two links you can find the pieces you need to make a little editor plugin. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/comment-page-1/#comment-1207</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 28 Feb 2007 02:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogitude.com/2007/02/27/simplicity-rules-the-day/#comment-1207</guid>
		<description>Ouch.

As a soon-to-be 39 year old part-time coder who's never used PHP in his life, you've ensured I'll never share any fledgling PHP attempts again.

Your function works great, thanks for correcting me.  You should bundle it up and release it as a plugin -- lots of folks seem interested.</description>
		<content:encoded><![CDATA[<p>Ouch.</p>
<p>As a soon-to-be 39 year old part-time coder who&#8217;s never used PHP in his life, you&#8217;ve ensured I&#8217;ll never share any fledgling PHP attempts again.</p>
<p>Your function works great, thanks for correcting me.  You should bundle it up and release it as a plugin &#8212; lots of folks seem interested.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
