<?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: Opera Unite: Convenient tips and snippets for developers</title>
	<atom:link href="http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/</link>
	<description>Unlimited views, cleverness and love</description>
	<lastBuildDate>Wed, 15 Jul 2009 18:01:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: michaelo</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1949</link>
		<dc:creator>michaelo</dc:creator>
		<pubDate>Tue, 07 Jul 2009 09:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1949</guid>
		<description>&lt;blockquote&gt;António: I wouldn’t implement the “=” myself&lt;/blockquote&gt;
The &quot;=&quot; was a type, should been &quot;&gt;=&quot; :) Ah, thanks for the notice, added a list of allowed tags/elements under the comment-area now - and edited your comment.

&lt;blockquote&gt;António: But I think I’m missing something here, can you please comment to my e-mail?&lt;/blockquote&gt;
Yeah, I&#039;ll send you an email so we can discuss it further with more ease.</description>
		<content:encoded><![CDATA[<blockquote><p>António: I wouldn’t implement the “=” myself</p></blockquote>
<p>The &#8220;=&#8221; was a type, should been &#8220;>=&#8221; <img src='http://michaelodden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ah, thanks for the notice, added a list of allowed tags/elements under the comment-area now &#8211; and edited your comment.</p>
<blockquote><p>António: But I think I’m missing something here, can you please comment to my e-mail?</p></blockquote>
<p>Yeah, I&#8217;ll send you an email so we can discuss it further with more ease.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: António Afonso</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1948</link>
		<dc:creator>António Afonso</dc:creator>
		<pubDate>Tue, 07 Jul 2009 07:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1948</guid>
		<description>I tried using [quote] but the comment was reject,replaced them for &lt;quote&gt; but failed miserably :-)</description>
		<content:encoded><![CDATA[<p>I tried using [quote] but the comment was reject,replaced them for &lt;quote&gt; but failed miserably <img src='http://michaelodden.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: António Afonso</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1947</link>
		<dc:creator>António Afonso</dc:creator>
		<pubDate>Tue, 07 Jul 2009 07:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1947</guid>
		<description>&lt;blockquote&gt;I added some operators, but my operators were only useful when we allow other values then true/false, so a quick hack which made it work for me was to replace:

“return !!markuper.getData( data, key )” in markuper.evaluator.getBooleanValue, with:

return (markuper.getData( data, key )) ? !!markuper.getData( data, key ) : key;
uhm... then it stopped being a getBooleanValue right? ;)


The problem here is that it’s now three kinds of data to use in the attribute-values:

1. {{var}}, which will be replaced to it’s corresponding value – then treated as 2 or 3.
2. “var” which if matches a key in the dataset will be set to true/false
3. “var” which if not matches a key will be used as-is

So my thougts right now is that you should be consistent in using the {{var}}-format when dealing with variables, which in turn could be true or false to allow for easy checks – and otherwise treat the values as actual data.&lt;/blockquote&gt;

I&#039;m not really sure what you mean with &quot;you should be consistent in using the {{var}}-format when dealing with variables&quot;...
The 1. and 3. point only happens because you changed the code right? ;-)
But I think I&#039;m missing something here, can you please comment to my e-mail? it would be much easier for me to follow up and reply :)

&lt;blockquote&gt;This worked well when I implemented some operators through evaluator.operators, like “&gt;”, “&lt;&quot;, &quot;==&quot;, &quot;=”, “!=” etc. What do you think?&lt;/blockquote&gt;
I wouldn&#039;t implement the &quot;=&quot; myself but the other ones I was going to of course, just didn&#039;t have the time at the time (yeah yeah, I know it&#039;s just a few lines of code but I also create unit tests and more documentation, etc.)</description>
		<content:encoded><![CDATA[<blockquote><p>I added some operators, but my operators were only useful when we allow other values then true/false, so a quick hack which made it work for me was to replace:</p>
<p>“return !!markuper.getData( data, key )” in markuper.evaluator.getBooleanValue, with:</p>
<p>return (markuper.getData( data, key )) ? !!markuper.getData( data, key ) : key;<br />
uhm&#8230; then it stopped being a getBooleanValue right? <img src='http://michaelodden.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The problem here is that it’s now three kinds of data to use in the attribute-values:</p>
<p>1. {{var}}, which will be replaced to it’s corresponding value – then treated as 2 or 3.<br />
2. “var” which if matches a key in the dataset will be set to true/false<br />
3. “var” which if not matches a key will be used as-is</p>
<p>So my thougts right now is that you should be consistent in using the {{var}}-format when dealing with variables, which in turn could be true or false to allow for easy checks – and otherwise treat the values as actual data.</p></blockquote>
<p>I&#8217;m not really sure what you mean with &#8220;you should be consistent in using the {{var}}-format when dealing with variables&#8221;&#8230;<br />
The 1. and 3. point only happens because you changed the code right? <img src='http://michaelodden.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
But I think I&#8217;m missing something here, can you please comment to my e-mail? it would be much easier for me to follow up and reply <img src='http://michaelodden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>This worked well when I implemented some operators through evaluator.operators, like “&gt;”, “&lt;&quot;, &quot;==&quot;, &quot;=”, “!=” etc. What do you think?</p></blockquote>
<p>I wouldn&#8217;t implement the &#8220;=&#8221; myself but the other ones I was going to of course, just didn&#8217;t have the time at the time (yeah yeah, I know it&#8217;s just a few lines of code but I also create unit tests and more documentation, etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michaelo</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1925</link>
		<dc:creator>michaelo</dc:creator>
		<pubDate>Mon, 06 Jul 2009 13:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1925</guid>
		<description>Hehe, OK, I dissected the Fridge-app, I believe, in hope to find a version which eliminated some issues :)

I added some operators, but my operators are only useful when we allow other values then true/false, so a quick hack which made it work for me was to replace:

&quot;return !!markuper.getData( data, key )&quot; in markuper.evaluator.getBooleanValue, with:

return (markuper.getData( data, key )) ? !!markuper.getData( data, key ) : key;

- which then the method first will look for booleans, otherwise just return the key itself, which now only will be the value to compare. The problem here is that it&#039;s now three kinds of data to use in the attribute-values:

1. {{var}}, which will be replaced to it&#039;s corresponding value - then treated as 2 or 3.
2. &quot;var&quot; which if matches a key in the dataset will be set to true/false
3. &quot;var&quot; which if not matches a key will be used as-is

So my thougts right now is that you should be consistent in using the {{var}}-format when dealing with variables, which in turn could be true or false to allow for easy checks - and otherwise treat the values as actual data.

This worked well when I implemented some operators through evaluator.operators, like &quot;&gt;&quot;, &quot;&lt; &quot;, &quot;==&quot;, &quot;&gt;=&quot;, &quot;!=&quot; etc. What do you think?

What do you think?</description>
		<content:encoded><![CDATA[<p>Hehe, OK, I dissected the Fridge-app, I believe, in hope to find a version which eliminated some issues <img src='http://michaelodden.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I added some operators, but my operators are only useful when we allow other values then true/false, so a quick hack which made it work for me was to replace:</p>
<p>&#8220;return !!markuper.getData( data, key )&#8221; in markuper.evaluator.getBooleanValue, with:</p>
<p>return (markuper.getData( data, key )) ? !!markuper.getData( data, key ) : key;</p>
<p>- which then the method first will look for booleans, otherwise just return the key itself, which now only will be the value to compare. The problem here is that it&#8217;s now three kinds of data to use in the attribute-values:</p>
<p>1. {{var}}, which will be replaced to it&#8217;s corresponding value &#8211; then treated as 2 or 3.<br />
2. &#8220;var&#8221; which if matches a key in the dataset will be set to true/false<br />
3. &#8220;var&#8221; which if not matches a key will be used as-is</p>
<p>So my thougts right now is that you should be consistent in using the {{var}}-format when dealing with variables, which in turn could be true or false to allow for easy checks &#8211; and otherwise treat the values as actual data.</p>
<p>This worked well when I implemented some operators through evaluator.operators, like &#8220;>&#8221;, &#8220;< ", "==", ">=&#8221;, &#8220;!=&#8221; etc. What do you think?</p>
<p>What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: António Afonso</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1923</link>
		<dc:creator>António Afonso</dc:creator>
		<pubDate>Mon, 06 Jul 2009 08:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1923</guid>
		<description>Michaelo,

It seems that you&#039;re already looking at the latest version, I thought you were using the one documented at dev.opera.com.
Isn&#039;t the markuper.evaluator.operators array enough for you to add new operators? I wanted to have a very simple and easy-to-grasp expressions support but I can change it depending on developers feedback, so any feedback on this subject is most welcome :-) 
I can&#039;t say when the next release is coming out, the one with strings and numbers support, and some other goodies. But I&#039;ll (most likely) only be working on it after the final release.</description>
		<content:encoded><![CDATA[<p>Michaelo,</p>
<p>It seems that you&#8217;re already looking at the latest version, I thought you were using the one documented at dev.opera.com.<br />
Isn&#8217;t the markuper.evaluator.operators array enough for you to add new operators? I wanted to have a very simple and easy-to-grasp expressions support but I can change it depending on developers feedback, so any feedback on this subject is most welcome <img src='http://michaelodden.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
I can&#8217;t say when the next release is coming out, the one with strings and numbers support, and some other goodies. But I&#8217;ll (most likely) only be working on it after the final release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michaelo</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1922</link>
		<dc:creator>michaelo</dc:creator>
		<pubDate>Sun, 05 Jul 2009 19:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1922</guid>
		<description>Hi António,

That sounds great, I&#039;m looking forward to the next release. Do you have any estimates regarding when this will be? As I&#039;d like to know if it&#039;s worth it&#039;s time developing my own version, or just stick with my simple method, which will do during development.</description>
		<content:encoded><![CDATA[<p>Hi António,</p>
<p>That sounds great, I&#8217;m looking forward to the next release. Do you have any estimates regarding when this will be? As I&#8217;d like to know if it&#8217;s worth it&#8217;s time developing my own version, or just stick with my simple method, which will do during development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Jobs &#187; Opera Unite: Convenient tips and snippets for developers &#8230;</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1920</link>
		<dc:creator>Steve Jobs &#187; Opera Unite: Convenient tips and snippets for developers &#8230;</dc:creator>
		<pubDate>Sun, 05 Jul 2009 04:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1920</guid>
		<description>[...] Opera Unite: Convenient tips and snippets for developers &#8230; Social [...]</description>
		<content:encoded><![CDATA[<p>[...] Opera Unite: Convenient tips and snippets for developers &#8230; Social [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: António Afonso</title>
		<link>http://michaelodden.com/opera-unite/opera-unite-convenient-tips-and-snippets-for-developers/comment-page-1/#comment-1919</link>
		<dc:creator>António Afonso</dc:creator>
		<pubDate>Sat, 04 Jul 2009 20:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://michaelodden.com/?p=301#comment-1919</guid>
		<description>Hi,

Regarding the &quot;operatorsRegExp&quot;, it&#039;s quite different now (haven&#039;t released yet because I need to finish the documentation), and it will support more operations/numbers/strings in the next release.
The library is still under construction, we are adding new features as we need it.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Regarding the &#8220;operatorsRegExp&#8221;, it&#8217;s quite different now (haven&#8217;t released yet because I need to finish the documentation), and it will support more operations/numbers/strings in the next release.<br />
The library is still under construction, we are adding new features as we need it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
