<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Platform as a Service (PaaS) for Developers &#38; &#039;Normals&#039;</title>
	<atom:link href="http://younicycle.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://younicycle.wordpress.com</link>
	<description>Platform as a Service that enables Experts to Collaborate with Novices.  Develop SaaS solutions with this comprehensive set of Integrated Tools - and do it all directly on the Web.</description>
	<lastBuildDate>Mon, 03 Oct 2011 17:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='younicycle.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Platform as a Service (PaaS) for Developers &#38; &#039;Normals&#039;</title>
		<link>http://younicycle.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://younicycle.wordpress.com/osd.xml" title="Platform as a Service (PaaS) for Developers &#38; &#039;Normals&#039;" />
	<atom:link rel='hub' href='http://younicycle.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PostgreSQL and Recurve Archery.  How can you miss?</title>
		<link>http://younicycle.wordpress.com/2011/02/01/postgresql-and-recurve-archery-how-can-you-miss/</link>
		<comments>http://younicycle.wordpress.com/2011/02/01/postgresql-and-recurve-archery-how-can-you-miss/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 01:38:38 +0000</pubDate>
		<dc:creator>Younicycle, the Platform as a Service (PaaS)</dc:creator>
				<category><![CDATA[archery]]></category>
		<category><![CDATA[Knowledge Management]]></category>
		<category><![CDATA[online charts]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Saas]]></category>
		<category><![CDATA[Software as a Service]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://younicycle.wordpress.com/?p=48</guid>
		<description><![CDATA[As I sit here, watching my Xerox printer run 14,000 personalized, Increase 401(k) Enrollment documents,  I realized I hadn&#8217;t posted to this blog in a way-long-time.   Rather than write about the money making project at hand, I decided that Archery (at the moment) is more interesting. My Spousal Unit is a Recurve Archer, which is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=younicycle.wordpress.com&amp;blog=9216849&amp;post=48&amp;subd=younicycle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I sit here, watching my Xerox printer run 14,000 personalized, <strong>Increase 401(k) Enrollment</strong> documents,  I realized I hadn&#8217;t posted to this blog in a way-long-time.   Rather than write about the money making project at hand, I decided that Archery (at the moment) is more interesting.</p>
<p>My Spousal Unit is a Recurve Archer, which is Olympic style.  You&#8217;ll never see her in the Olympics, but she&#8217;s pretty good for our backyard (New York) and has won a tournament or two in the last 7 or 8 years.  My role is to drive her to the tournaments, haul her equipment around, set up her scope and sit on my tail in a lawn chair for one or two days.</p>
<p>If you&#8217;ve never watched an Archery tournament then it&#8217;s akin to watching your lawn for 7 or 8, unabated hours.  The first day is much fun, but day two can be draining.</p>
<p>Archers practice for hours on end.  Most of the time &#8211; in competition &#8211; they shoot 144 arrows, in batches (<em>Ends</em> is their terminology) of 3 or 6 at a time.  Usually, there are two people shooting at a target and when their time is up (one hour in dog years), another crew of two step up (the 2nd Line).  When it becomes obvious everyone is done, they walk to the target, write down their score for each arrow, draw little lines in the target, then walk back.  Whistles blow at different times to keep them from killing each other.  Sometimes people miss the target, then the chubby guy with the whistle walks around with a metal detector.  Eventually, they come back and start again.</p>
<p>Bored yet?  Good.  I need company.</p>
<p>Anyway, I decided to make a way for Archer&#8217;s to record their practice scores via the web &#8211; knowing that no archer would ever use it.</p>
<p>Here&#8217;s how I did it:</p>
<p>1)  I used our<a title="On demand database" href="http://younicycle.com" target="_blank"> Online CMS &amp; Knowledge Management System </a>(the Template tool), to draw a set of concentric circles of the correct color.  Positioned each of them correctly &#8211; and rasterized the vectors into an image.</p>
<p>2)  Next, I made a web page, a couple of Tables (for storing the data) and a bit of Javascript that records the position of a mouseclick and submits it to the Table that holds the x,y position of each arrow.</p>
<p>3)  Step 3 (give or take), was to write a couple of queries that would calculate the score (based on the mouseclick position), sum all the scores &#8211; and also allow for clearing all the arrows off the target &#8211; and store in a history Table.</p>
<p>4) Finally, I made a dot chart &#8211; which plots every arrow dynamically &#8211; and returns the dot to the page.</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 410px"><a href="http://younicycle.files.wordpress.com/2011/02/1924.gif"><img class="size-full wp-image-50" title="1924" src="http://younicycle.files.wordpress.com/2011/02/1924.gif?w=500" alt=""   /></a><p class="wp-caption-text">was a vector, now an image</p></div>
<p>The query:</p>
<p>SELECT &#8220;xyarchery&#8221;.&#8221;archer&#8221; as &#8220;archer&#8221;, &#8220;xyarchery&#8221;.&#8221;session&#8221; as &#8220;xyarchery_session&#8221;, &#8220;xyarchery&#8221;.&#8221;arrow_number&#8221; as &#8220;arrow&#8221;, IF(mod(&#8220;xyarchery&#8221;.&#8221;arrow_number&#8221;, 6) = 0, 0, 1) + IF(&#8220;xyarchery&#8221;.&#8221;arrow_number&#8221; = 1, 0, &#8220;xyarchery&#8221;.&#8221;arrow_number&#8221;) / 6 :: integer as &#8220;end&#8221;, &#8220;xyarchery&#8221;.&#8221;xx&#8221; as &#8220;x&#8221;, &#8220;xyarchery&#8221;.&#8221;yy&#8221; as &#8220;y_display&#8221;, 400 &#8211; &#8220;xyarchery&#8221;.&#8221;yy&#8221; as &#8220;y&#8221;, round(GREATEST(10.5 &#8211; sqrt(((&#8220;xyarchery&#8221;.&#8221;xx&#8221; &#8211; 200) ^ 2) + ((&#8220;xyarchery&#8221;.&#8221;yy&#8221; &#8211; 200) ^ 2)) / 20, 0)) as &#8220;score&#8221;, &#8216;    &#8212;&#8212;&gt;&#8217; as &#8220;spacer&#8221;, IF(&#8220;xyarchery&#8221;.&#8221;lock&#8221; = &#8216;true&#8217;, &#8216;Practice arrow&#8217;, IF(CASE   WHEN &#8220;xyarchery&#8221;.&#8221;xx&#8221; &lt; 190 THEN &#8216;left&#8217;  WHEN &#8220;xyarchery&#8221;.&#8221;xx&#8221; &gt; 210 THEN &#8216;right&#8217;  ELSE &#8221;  END || &#8216; &#8216; || CASE   WHEN &#8220;xyarchery&#8221;.&#8221;yy&#8221; &lt; 190 THEN &#8216;hi&#8217;  WHEN &#8220;xyarchery&#8221;.&#8221;yy&#8221; &gt; 210 THEN &#8216;lo&#8217;  ELSE &#8221;  END = &#8216; &#8216;, &#8216;Nice! 10x&#8217;, &#8216;Was &#8216; || CASE   WHEN &#8220;xyarchery&#8221;.&#8221;xx&#8221; &lt; 190 THEN &#8216;left&#8217;  WHEN &#8220;xyarchery&#8221;.&#8221;xx&#8221; &gt; 210 THEN &#8216;right&#8217;  ELSE &#8221;  END || &#8216; &#8216; || CASE   WHEN &#8220;xyarchery&#8221;.&#8221;yy&#8221; &lt; 190 THEN &#8216;hi&#8217;  WHEN &#8220;xyarchery&#8221;.&#8221;yy&#8221; &gt; 210 THEN &#8216;lo&#8217;  ELSE &#8221;  END)) as &#8220;adjust?&#8221;<br />
FROM<br />
&#8220;younicycle_com&#8221;.&#8221;xyarchery&#8221; AS &#8220;xyarchery&#8221;<br />
WHERE &#8220;xyarchery&#8221;.&#8221;arrow_number&#8221; &gt; 1<br />
ORDER BY &#8220;arrow&#8221; desc<br />
LIMIT ALL<br />
OFFSET 0</p>
<p><span style="color:#ff0000;"><strong>If anyone has an overwhelming interest in testing it, the page is here: <a title="PostgreSQL and Archery" href="http://www.younicycle.com/web/younicycle_com/xml-hr/ex_12_a.html" target="_blank">Archery Scoring<br />
</a></strong></span></p>
<p>Printer just jammed.  Back to work.  btw for any archers -&gt; my wife shoots around 1,200&#8230;. 1,220.  Hoping for a 1,250 this year.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/younicycle.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/younicycle.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/younicycle.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=younicycle.wordpress.com&amp;blog=9216849&amp;post=48&amp;subd=younicycle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://younicycle.wordpress.com/2011/02/01/postgresql-and-recurve-archery-how-can-you-miss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/880515f841890db1a4203721900aba9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">younicycle</media:title>
		</media:content>

		<media:content url="http://younicycle.files.wordpress.com/2011/02/1924.gif" medium="image">
			<media:title type="html">1924</media:title>
		</media:content>
	</item>
		<item>
		<title>SaaS and QR Code</title>
		<link>http://younicycle.wordpress.com/2009/10/08/saas-and-qr-code/</link>
		<comments>http://younicycle.wordpress.com/2009/10/08/saas-and-qr-code/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 17:50:45 +0000</pubDate>
		<dc:creator>Younicycle, the Platform as a Service (PaaS)</dc:creator>
				<category><![CDATA[Benefit statements]]></category>
		<category><![CDATA[Employee Communications]]></category>
		<category><![CDATA[Knowledge Management]]></category>
		<category><![CDATA[online charts]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Saas]]></category>
		<category><![CDATA[Software as a Service]]></category>

		<guid isPermaLink="false">http://younicycle.wordpress.com/?p=34</guid>
		<description><![CDATA[I&#8217;ve been a bit buried of late working on swfs, creating user forms, adding content and redoing the Employee Communications website but I thought it is time I added a post about a new SaaS Tool we are adding to Younicycle. Much of my &#8216;old &#8211; line&#8217; business includes the entire process of Benefit Statements [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=younicycle.wordpress.com&amp;blog=9216849&amp;post=34&amp;subd=younicycle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a bit buried of late working on swfs, creating user forms, adding content and redoing the<span style="color:#800000;"> <a title="Employee Communications" href="http://24hrhr.com" target="_blank"><strong>Employee Communications</strong></a><span style="color:#000000;"> website</span></span> but I thought it is time I added a post about a new<span style="color:#800000;"><strong> <a title="SaaS Software" href="http://younicycle.com" target="_blank">SaaS Tool we are adding to Younicycle</a>.</strong></span></p>
<p>Much of my &#8216;old &#8211; line&#8217; business includes the entire process of <span style="color:#800000;"><strong><a title="Benefit Statements" href="http://24hrhr.com/ss_statements.html" target="_blank">Benefit Statements</a></strong></span> (Total Compensation Statements), to include data manipulation, design, print and fulfillment.  Personalized, financial documents have more impact &#8211; but there is only so much information that you can squeeze onto one piece of paper, which leads to the topic at hand &#8211; SaaS and QR Code.  If you aren&#8217;t familiar with QR Code ( a type of 2D barcode), it is definitely worth a <strong><span style="color:#800000;"><a title="QR Code" href="http://en.wikipedia.org/wiki/QR_Code" target="_blank">look</a></span></strong>.  Pretty interesting concept &#8211; an example:</p>
<p style="text-align:center;">
<div id="attachment_37" class="wp-caption aligncenter" style="width: 76px"><img class="size-full wp-image-37 " title="qr_yc" src="http://younicycle.files.wordpress.com/2009/10/qr_yc.png?w=500" alt="SaaS QR Code"   /><p class="wp-caption-text">SaaS QR Code</p></div>
<p>1) Create a document</p>
<p>2) Create a QR Code with entered data (example: &#8216;http://postgresql.org&#8217;)</p>
<p>3) Place the QR Code on your doc &#8211; and print it.</p>
<p>4) Assuming you have a smart phone (may require a small software install) &#8211; point your smart phone at the printed QR Code &#8211; and you will be prompted to &#8216;Go online&#8217;.  If yes, you would be directed immediately to the web page for <span style="color:#800000;"><strong><a title="PostgreSQL, the World's Most Advanced Open Source database" href="http://postgresql.org" target="_blank">PostgreSQL</a></strong></span> (example).</p>
<p>Of course &#8211; the actual website page could also have a user form, where user info could be submitted.  We already have all the other necessary SaaS Tools (database builder, query editor, report &amp; pdf generator, CRON, etc), so it will be a snap to schedule the creation of a Report within an SaaS Account, which would in turn be emailed to us at a certain time each day.</p>
<p>Short version?  Printed documents need not be &#8216;dead-end&#8217;, but can become living and allow for dynamic interaction.</p>
<p>So &#8211; I decided this is just too interesting to delay until 2010, so we are testing an implementation now on our testbox and should apply to our Production servers by the end of next week.  We still have a few items that need to be added:</p>
<p>1) Allow creation not only of gif, jpg or png &#8211; but also eps &#8211; which can be scaled.  This will allow creation of QR Code signage (say for a url of a restaurant menu &#8211; or a list of upcoming events) &#8211; really large output.</p>
<p>2) Add capability for QR Code color &#8211; and background color.</p>
<p>3) Add capability to use a datasource or a Table with values that will store the various settings and initial data input.  This is where the Benefit Statements come back in play as  we will be able to make <em>personalized </em>QR Code.</p>
<p><strong>Below is the current GUI we used for testing.  It will change significantly, as outlined above.</strong></p>
<p style="text-align:center;"><strong><img class="aligncenter size-large wp-image-43" title="qr_gui" src="http://younicycle.files.wordpress.com/2009/10/qr_gui2.jpg?w=491&#038;h=227" alt="qr_gui" width="491" height="227" /><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/younicycle.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/younicycle.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/younicycle.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=younicycle.wordpress.com&amp;blog=9216849&amp;post=34&amp;subd=younicycle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://younicycle.wordpress.com/2009/10/08/saas-and-qr-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/880515f841890db1a4203721900aba9b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">younicycle</media:title>
		</media:content>

		<media:content url="http://younicycle.files.wordpress.com/2009/10/qr_yc.png" medium="image">
			<media:title type="html">qr_yc</media:title>
		</media:content>

		<media:content url="http://younicycle.files.wordpress.com/2009/10/qr_gui2.jpg?w=1024" medium="image">
			<media:title type="html">qr_gui</media:title>
		</media:content>
	</item>
	</channel>
</rss>
