<?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: Run! AIR SQL query authoring/testing tool</title>
	<atom:link href="http://probertson.com/projects/run-air-sqlite-query-testing-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Tue, 02 Mar 2010 04:14:51 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul Robertson</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-73452</link>
		<dc:creator>Paul Robertson</dc:creator>
		<pubDate>Thu, 18 Feb 2010 17:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-73452</guid>
		<description>Hi Jim,
Right now there isn&#039;t a way to add new templates. It has been in the back of my mind as a potential feature, but in truth I never knew whether people found the templates useful in the first place.

Now that I know this is something that would be useful to you, I&#039;ll definitely move it up the &quot;priority ladder&quot; for the next release.</description>
		<content:encoded><![CDATA[<p>Hi Jim,<br />
Right now there isn&#8217;t a way to add new templates. It has been in the back of my mind as a potential feature, but in truth I never knew whether people found the templates useful in the first place.</p>
<p>Now that I know this is something that would be useful to you, I&#8217;ll definitely move it up the &#8220;priority ladder&#8221; for the next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-73435</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 17 Feb 2010 16:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-73435</guid>
		<description>Paul, 
I&#039;m just getting into Air, usually use html and ajax. However I downloaded Run! and can see it being very useful for mac and pc clients searching for media, based on a query about content of the metadata fields held in the SQLite database on our storage area network.

How can I delete your templates and add some of my own? For most of the query&#039;s I need to include a lot of processing for dates and time code values.

here&#039;s a typical query to find clips with &quot;Karl&quot; in the metadata fields or in the clip name;

SELECT strftime(&#039;%d-%m-%Y %H:%M:%S&#039;, m.createTime, &#039;6612 year&#039;, &#039;+1 month&#039;, &#039;+5 day&#039;, &#039;-12 hour&#039;) as &#039;Create Date&#039;, mg2.binName as &#039;Parent/Session&#039;, mg.binName as &#039;Bin Name    &#039;, m.name as &#039;Clip Name     &#039;, m.assetType as&#039;Asset&#039;, e.name as &#039;Metadata Type&#039;, e.data as &#039;Metadata&#039;, 

cast((m.maxLength / 3000) as text) &#124;&#124; &#039;:&#039; &#124;&#124; cast((m.maxLength % 3000) / 50 as text) &#124;&#124; &#039;:&#039; &#124;&#124; cast((m.maxLength % 50) / 2 as text) as &#039;Duration&#039;,  

cast(m.firstTimecode &gt;&gt; 24 &amp; 31 as text) &#124;&#124; &#039;:&#039; &#124;&#124;
cast(m.firstTimecode &gt;&gt; 16 &amp; 63 as text) &#124;&#124; &#039;:&#039; &#124;&#124; 
cast(m.firstTimecode &gt;&gt;  8 &amp; 63 as text) &#124;&#124; &#039;:&#039; &#124;&#124; 
cast(m.firstTimecode &gt;&gt;  1 &amp; 31 as text) as &#039;MarkIn&#039;,

cast(m.lastTimecode &gt;&gt; 24 &amp; 31 as text) &#124;&#124; &#039;:&#039; &#124;&#124;
cast(m.lastTimecode &gt;&gt; 16 &amp; 63 as text) &#124;&#124; &#039;:&#039; &#124;&#124; 
cast(m.lastTimecode &gt;&gt; 8 &amp; 63 as text) &#124;&#124; &#039;:&#039; &#124;&#124; 
cast(m.lastTimecode &gt;&gt; 1 &amp; 31 as text)  as &#039;MarkOut&#039;

FROM Extension e, Movie m, MovieGroup mg, MovieGroup mg2
WHERE m.id=e.movieId
AND mg.BinId=m.binId
AND mg2.BinId=mg.parentId
AND (e.data LIKE &#039;%Karl%&#039; OR m.name LIKE &#039;%Karl%&#039;)
ORDER BY mg2.binName, mg.binName, m.createTime, m.name ASC;

thanks,
Jim</description>
		<content:encoded><![CDATA[<p>Paul,<br />
I&#8217;m just getting into Air, usually use html and ajax. However I downloaded Run! and can see it being very useful for mac and pc clients searching for media, based on a query about content of the metadata fields held in the SQLite database on our storage area network.</p>
<p>How can I delete your templates and add some of my own? For most of the query&#8217;s I need to include a lot of processing for dates and time code values.</p>
<p>here&#8217;s a typical query to find clips with &#8220;Karl&#8221; in the metadata fields or in the clip name;</p>
<p>SELECT strftime(&#8216;%d-%m-%Y %H:%M:%S&#8217;, m.createTime, &#8216;6612 year&#8217;, &#8216;+1 month&#8217;, &#8216;+5 day&#8217;, &#8216;-12 hour&#8217;) as &#8216;Create Date&#8217;, mg2.binName as &#8216;Parent/Session&#8217;, mg.binName as &#8216;Bin Name    &#8216;, m.name as &#8216;Clip Name     &#8216;, m.assetType as&#8217;Asset&#8217;, e.name as &#8216;Metadata Type&#8217;, e.data as &#8216;Metadata&#8217;, </p>
<p>cast((m.maxLength / 3000) as text) || &#8216;:&#8217; || cast((m.maxLength % 3000) / 50 as text) || &#8216;:&#8217; || cast((m.maxLength % 50) / 2 as text) as &#8216;Duration&#8217;,  </p>
<p>cast(m.firstTimecode &gt;&gt; 24 &amp; 31 as text) || &#8216;:&#8217; ||<br />
cast(m.firstTimecode &gt;&gt; 16 &amp; 63 as text) || &#8216;:&#8217; ||<br />
cast(m.firstTimecode &gt;&gt;  8 &amp; 63 as text) || &#8216;:&#8217; ||<br />
cast(m.firstTimecode &gt;&gt;  1 &amp; 31 as text) as &#8216;MarkIn&#8217;,</p>
<p>cast(m.lastTimecode &gt;&gt; 24 &amp; 31 as text) || &#8216;:&#8217; ||<br />
cast(m.lastTimecode &gt;&gt; 16 &amp; 63 as text) || &#8216;:&#8217; ||<br />
cast(m.lastTimecode &gt;&gt; 8 &amp; 63 as text) || &#8216;:&#8217; ||<br />
cast(m.lastTimecode &gt;&gt; 1 &amp; 31 as text)  as &#8216;MarkOut&#8217;</p>
<p>FROM Extension e, Movie m, MovieGroup mg, MovieGroup mg2<br />
WHERE m.id=e.movieId<br />
AND mg.BinId=m.binId<br />
AND mg2.BinId=mg.parentId<br />
AND (e.data LIKE &#8216;%Karl%&#8217; OR m.name LIKE &#8216;%Karl%&#8217;)<br />
ORDER BY mg2.binName, mg.binName, m.createTime, m.name ASC;</p>
<p>thanks,<br />
Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Freedman</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-70345</link>
		<dc:creator>Chuck Freedman</dc:creator>
		<pubDate>Sat, 12 Dec 2009 13:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-70345</guid>
		<description>Great work on this SQL Admin tool. UI is great and it&#039;s letting me peak into my otherwise hard-to-read SQL Lite table for my AIR app.</description>
		<content:encoded><![CDATA[<p>Great work on this SQL Admin tool. UI is great and it&#8217;s letting me peak into my otherwise hard-to-read SQL Lite table for my AIR app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-66400</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 11 Sep 2009 18:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-66400</guid>
		<description>Hi Charlie,

Thanks for asking this question. It turns out there&#039;s a small incompatibility in the encryption keys that Lita generates versus the ones that Run expects. Fortunately I&#039;m on good terms with David Deraedt (and I&#039;m a contributor to Lita) so we were able to figure out the issue. I&#039;ve talked with David and we think we&#039;ve figured out the best way to resolve the incompatibility. (It will probably involve changes to both Run and Lita.)

In the mean time, if you want to open your database with Run (don&#039;t laugh =) I&#039;ve built &lt;a href=&quot;/resources/projects/run-air-sqlite-query-testing-tool/lita_key/&quot; rel=&quot;nofollow&quot;&gt;a Flex app to convert a Lita encryption key hash to the base-64 encoded encryption key format that Run uses&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi Charlie,</p>
<p>Thanks for asking this question. It turns out there&#8217;s a small incompatibility in the encryption keys that Lita generates versus the ones that Run expects. Fortunately I&#8217;m on good terms with David Deraedt (and I&#8217;m a contributor to Lita) so we were able to figure out the issue. I&#8217;ve talked with David and we think we&#8217;ve figured out the best way to resolve the incompatibility. (It will probably involve changes to both Run and Lita.)</p>
<p>In the mean time, if you want to open your database with Run (don&#8217;t laugh =) I&#8217;ve built <a href="/resources/projects/run-air-sqlite-query-testing-tool/lita_key/" rel="nofollow">a Flex app to convert a Lita encryption key hash to the base-64 encoded encryption key format that Run uses</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Key</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-66363</link>
		<dc:creator>Charlie Key</dc:creator>
		<pubDate>Thu, 10 Sep 2009 16:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-66363</guid>
		<description>Quick question, say i encrypt a database using Lita and got my hash, what is the value I enter when opening the database in Run!? Thanks for the tool.</description>
		<content:encoded><![CDATA[<p>Quick question, say i encrypt a database using Lita and got my hash, what is the value I enter when opening the database in Run!? Thanks for the tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Pedro Pereira</title>
		<link>http://probertson.com/projects/run-air-sqlite-query-testing-tool/comment-page-1/#comment-63828</link>
		<dc:creator>João Pedro Pereira</dc:creator>
		<pubDate>Sun, 12 Jul 2009 14:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=242#comment-63828</guid>
		<description>I loved this tool! It has been very usefull for me! Thanks</description>
		<content:encoded><![CDATA[<p>I loved this tool! It has been very usefull for me! Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
