<?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> Greg's Dev Blog</title>
	<atom:link href="http://www.gregbugaj.com/Index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.gregbugaj.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 02 Sep 2010 21:13:07 +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>SQL Injection Presentation for ISSA</title>
		<link>http://www.gregbugaj.com/?p=213</link>
		<comments>http://www.gregbugaj.com/?p=213#comments</comments>
		<pubDate>Thu, 02 Sep 2010 21:13:07 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=213</guid>
		<description><![CDATA[This is a PowerPoint of presentation I gave for ISSA group in Oklahoma City, OK
Here is listing of  assets used during the presentation


livescience-failure.png
livescience-terminators-with or.avi
livescience-terminators.avi
sql-inections-issa.ppt
wnd.avi
yahoo-movies.avi


]]></description>
			<content:encoded><![CDATA[<p>This is a PowerPoint of presentation I gave for ISSA group in Oklahoma City, OK</p>
<p>Here is listing of  assets used during the presentation</p>
<div class="wplf-list-container">
<ul>
<li class="wplf-file"><a href="/presentations/sqlinjections/livescience-failure.png">livescience-failure.png</a></li>
<li class="wplf-file"><a href="/presentations/sqlinjections/livescience-terminators-with or.avi">livescience-terminators-with or.avi</a></li>
<li class="wplf-file"><a href="/presentations/sqlinjections/livescience-terminators.avi">livescience-terminators.avi</a></li>
<li class="wplf-file"><a href="/presentations/sqlinjections/sql-inections-issa.ppt">sql-inections-issa.ppt</a></li>
<li class="wplf-file"><a href="/presentations/sqlinjections/wnd.avi">wnd.avi</a></li>
<li class="wplf-file"><a href="/presentations/sqlinjections/yahoo-movies.avi">yahoo-movies.avi</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=213</wfw:commentRss>
		</item>
		<item>
		<title>Triming leading and trailing new lines with regex.</title>
		<link>http://www.gregbugaj.com/?p=211</link>
		<comments>http://www.gregbugaj.com/?p=211#comments</comments>
		<pubDate>Thu, 19 Aug 2010 13:57:35 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=211</guid>
		<description><![CDATA[Here is some regex to trim leading/trailing newlines carriage and spaces returns from some text.

Without replacing 'spaces' just new lines/carriage returns.
^&#40;\n&#124;\r&#41;+&#124;&#40;\n&#124;\r&#41;+\Z
&#160;
This will trim also spaces
^&#40;\n&#124;\r&#124;\s&#41;+&#124;&#40;\n&#124;\r&#124;\s&#41;+\Z

Quick explanation  might be in order. This regex consists of two parts, first one start at the beginning of the the line and follows consuming &#8216;\n&#8217; or &#8216;\r&#8217;  one [...]]]></description>
			<content:encoded><![CDATA[<p>Here is some regex to trim leading/trailing newlines carriage and spaces returns from some text.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">Without replacing <span style="color: #0000ff;">'spaces'</span> just <span style="color: #000000; font-weight: bold;">new</span> lines<span style="color: #339933;">/</span>carriage returns.
<span style="color: #339933;">^</span><span style="color: #009900;">&#40;</span>\n<span style="color: #339933;">|</span>\r<span style="color: #009900;">&#41;</span><span style="color: #339933;">+|</span><span style="color: #009900;">&#40;</span>\n<span style="color: #339933;">|</span>\r<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>\Z
&nbsp;
<span style="color: #000000; font-weight: bold;">This</span> will trim also spaces
<span style="color: #339933;">^</span><span style="color: #009900;">&#40;</span>\n<span style="color: #339933;">|</span>\r<span style="color: #339933;">|</span>\s<span style="color: #009900;">&#41;</span><span style="color: #339933;">+|</span><span style="color: #009900;">&#40;</span>\n<span style="color: #339933;">|</span>\r<span style="color: #339933;">|</span>\s<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>\Z</pre></div></div>

<p>Quick explanation  might be in order. This regex consists of two parts, first one start at the beginning of the the line and follows consuming &#8216;\n&#8217; or &#8216;\r&#8217;  one ore more times. Second part consumes &#8216;\n&#8217; or &#8216;\r&#8217; one or more times followed by end of input string or new line.</p>
<h1>Example Input</h1>
<pre>

Some text bla

More text after some breaks in between.
</pre>
<h1>Output</h1>
<pre>
Some text bla

More text after some breaks in between.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=211</wfw:commentRss>
		</item>
		<item>
		<title>No Dialect mapping for JDBC type: -4</title>
		<link>http://www.gregbugaj.com/?p=209</link>
		<comments>http://www.gregbugaj.com/?p=209#comments</comments>
		<pubDate>Fri, 30 Jul 2010 20:47:36 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=209</guid>
		<description><![CDATA[Yet another fun day with hibernate.
While working on ResourcePhaseListener for JSF attachment problem I run into following problem while trying to retrieve BLOB from MySQL db.

org.hibernate.MappingException: No Dialect mapping for JDBC type: -4 No Dialect mapping for JDBC type: -4

Here is the offending code:
]]></description>
			<content:encoded><![CDATA[<p>Yet another fun day with hibernate.<br />
While working on ResourcePhaseListener for JSF attachment problem I run into following problem while trying to retrieve BLOB from MySQL db.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">MappingException</span><span style="color: #339933;">:</span> No Dialect mapping <span style="color: #000000; font-weight: bold;">for</span> JDBC type<span style="color: #339933;">:</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">4</span> No Dialect mapping <span style="color: #000000; font-weight: bold;">for</span> JDBC type<span style="color: #339933;">:</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">4</span></pre></div></div>

<p>Here is the offending code:</p>
<pre lang="java>
SerializableBlob result= null;
Session hibSession=(Session) em.getDelegate();
result = (SerializableBlob)
hibSession.createSQLQuery(nativeQuery)
.uniqueResult();
</pre>
<p>It took me a while to figure the solution which looks very trivial.</p>
<pre lang="java>
SerializableBlob result= null;
Session hibSession=(Session) em.getDelegate();
result = (SerializableBlob)
hibSession.createSQLQuery("Select DATA from Table")
.addScalar("DATA", Hibernate.BLOB)
.uniqueResult();
</pre>
<p>Adding the mapping <code>addScalar("DATA", Hibernate.BLOB)</code>  solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=209</wfw:commentRss>
		</item>
		<item>
		<title>Modulo based counters</title>
		<link>http://www.gregbugaj.com/?p=204</link>
		<comments>http://www.gregbugaj.com/?p=204#comments</comments>
		<pubDate>Wed, 14 Jul 2010 16:20:24 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=204</guid>
		<description><![CDATA[Sometimes we need counters that wrap around at certain intervals ex:

1,2,3,1,2,3,1,2,3


One way of doing this would be to increment our &#8216;counter&#8217; and then reset it when it reaches our number

int N = 3;
int counter = 0;
if &#40;counter == N&#41;&#123;
  counter = 0;
&#125;
counter++;


But there are also couple other ways this same could be achieved.
Modulus
Using modulus [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes we need counters that wrap around at certain intervals ex:<br />
<code><br />
1,2,3,1,2,3,1,2,3<br />
</code><br />
<br/><br />
One way of doing this would be to increment our &#8216;counter&#8217; and then reset it when it reaches our number</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">int</span> N <span style="color: #339933;">=</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">int</span> counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>counter <span style="color: #339933;">==</span> N<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
counter<span style="color: #339933;">++;</span></pre></div></div>

<p><br/></p>
<p>But there are also couple other ways this same could be achieved.</p>
<h1>Modulus</h1>
<p>Using modulus operator &#8216;%&#8217; we can divide the counter and get our wrapped value, where N is the value we will wrap at.</p>
<pre lang ="java">
counter = (counter+1) % N;
</pre>
<h1>Binary AND</h1>
<p>This is almost this same approach as modulus but we are &#8216;AND&#8217;ing the counter with a power of 2. ex 1, 2, 4, 8, 16 &#8230; 2^n . Only problem here is that we have to AND with a power of 2.</p>
<pre lang ="java">
counter = (counter+1) &#038; 0x1;
</pre>
<p>produces 0,1,0,1,0,1 </p>
<h1>Test program</h1>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #008000; font-style: italic; font-weight: bold;">/**
 * Test program  for testing Modulus, Binary AND increments
 * @author greg
 *
 */</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> ModulePowerCounter <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> MAX_LOOP <span style="color: #339933;">=</span> <span style="color: #cc66cc;">100000000</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> N <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> POWER_OF_2 <span style="color: #339933;">=</span> 0x1<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">long</span> modTime <span style="color: #339933;">=</span> modulo<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">long</span> counterTime <span style="color: #339933;">=</span> counter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">long</span> po2Time <span style="color: #339933;">=</span> powerOf2<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span>.<span style="color: #006633;">format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;modTime = %s&quot;</span>, modTime<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span>.<span style="color: #006633;">format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;counterTime = %s&quot;</span>, counterTime<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span>.<span style="color: #006633;">format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;po2Time = %s&quot;</span>, po2Time<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">long</span> powerOf2<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">long</span> start <span style="color: #339933;">=</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> MAX_LOOP<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			counter <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>counter<span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> POWER_OF_2<span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>				
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> start<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">long</span> modulo<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">long</span> start <span style="color: #339933;">=</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> MAX_LOOP<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			counter <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>counter<span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> N<span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>				
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> start<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">long</span> counter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">long</span> start <span style="color: #339933;">=</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> MAX_LOOP<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>counter <span style="color: #339933;">==</span> N<span style="color: #009900;">&#41;</span>counter <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
			counter<span style="color: #339933;">++;</span>
		<span style="color: #009900;">&#125;</span>				
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">currentTimeMillis</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> start<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<h1>Performance</h1>
<p>This is the fun part, so we have 3 different ways to achieve same thing but how do they perform.</p>
<p>Lets think about it, division is  much more  expensive than &#8216;addition and test&#8217; which is more expensive than binary manipulation, our test program confirms our assumption.</p>
<pre>
modTime = 1258
counterTime = 449
po2Time = 108
</pre>
<p><br/><br />
As we see Power of 2 outperforms other methods by far, but its only for powers of 2, also our plain counter is almost 2.5 times faster than modulus as well. So why would we like to use modulus increments at all? Well in my opinion I think they provide  a clean code and if used properly they are a great tool to know of.</p>
<p><br/><br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=204</wfw:commentRss>
		</item>
		<item>
		<title>GLSurfaceView queueEvent and onTouchEvent seams broken!!!</title>
		<link>http://www.gregbugaj.com/?p=202</link>
		<comments>http://www.gregbugaj.com/?p=202#comments</comments>
		<pubDate>Wed, 09 Jun 2010 20:19:35 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=202</guid>
		<description><![CDATA[What a title, I know but thats exactly what it is.
This issue is happening on Android 1.6 so it might already been fixed.  Just as per documentation i have implemented my GLSurfaceView as GameGLSurfaceView  and overridden public boolean onTouchEvent(final MotionEvent event) method  as so.

/**
	 * Capture touch event and delegate it to [...]]]></description>
			<content:encoded><![CDATA[<p>What a title, I know but thats exactly what it is.</p>
<p>This issue is happening on Android 1.6 so it might already been fixed.  Just as per documentation i have implemented my GLSurfaceView as GameGLSurfaceView  and overridden <code>public boolean onTouchEvent(final MotionEvent event)</code> method  as so.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * Capture touch event and delegate it to our renderer
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> onTouchEvent<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> MotionEvent event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// This method will be called on the rendering thread</span>
		Log.<span style="color: #006633;">i</span><span style="color: #009900;">&#40;</span>TAG, <span style="color: #0000ff;">&quot;GOT EVENT : &quot;</span><span style="color: #339933;">+</span>event.<span style="color: #006633;">getAction</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">//mRenderer.onTouchEvent(event);</span>
		queueEvent<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Runnable</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> run<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				mRenderer.<span style="color: #006633;">onTouchEvent</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></div></div>

<p> and in  my renderer I simply print that I received the event.</p>
<pre>
06-09 15:16:37.456: INFO/GameSurfaceView(14749): GOT EVENT : 0
06-09 15:16:37.466: INFO/GameSurfaceView(14749): GOT EVENT : 2
06-09 15:16:37.486: DEBUG/com.fivebrothers.engine.scene.AbstractRenderer(14749): RECIVED EVENT : 2
06-09 15:16:37.486: DEBUG/com.fivebrothers.engine.scene.AbstractRenderer(14749): RECIVED EVENT : 2
06-09 15:16:37.506: INFO/GameSurfaceView(14749): GOT EVENT : 2
06-09 15:16:37.506: INFO/GameSurfaceView(14749): GOT EVENT : 1
06-09 15:16:37.566: DEBUG/com.fivebrothers.engine.scene.AbstractRenderer(14749): RECIVED EVENT : 1
06-09 15:16:37.566: DEBUG/com.fivebrothers.engine.scene.AbstractRenderer(14749): RECIVED EVENT : 1
</pre>
<p>As you can see we have never recived event that MotionEvent.ACTION_DOWN have fired. So I really don&#8217;t know what might be the problem here.</p>
<p>One solution I have found is to call directly as so</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">        <span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * Capture touch event and delegate it to our renderer
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> onTouchEvent<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> MotionEvent event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>	
		<span style="color: #000000; font-weight: bold;">return</span> mRenderer.<span style="color: #006633;">onTouchEvent</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></div></div>

<p>this does work but is it correct ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=202</wfw:commentRss>
		</item>
		<item>
		<title>Expanding Rich tree nodes programmatically</title>
		<link>http://www.gregbugaj.com/?p=197</link>
		<comments>http://www.gregbugaj.com/?p=197#comments</comments>
		<pubDate>Wed, 05 May 2010 15:32:09 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=197</guid>
		<description><![CDATA[I have found two different methods for expanding nodes in Rich tree  from code, they both take  advantage of component binding and component state.
Tree Setup

&#60;rich:tree 
	 value=&#34;#{ourbean.sampleTree}&#34; 
	 binding=&#34;#{ourbean.sampleTreeBinding}&#34;
&#160;
	 var=&#34;node&#34; 
	 nodeFace=&#34;simple&#34; 
	 id=&#34;someid&#34;
	 &#62;
	 &#60;rich:treeNode type=&#34;simple&#34; &#62;
		&#60;h:outputText value=&#34;#{node}&#34;/&#62;        
	 &#60;/rich:treeNode&#62;
&#60;/rich:tree&#62;

Only thing to note here is the binding attribute that [...]]]></description>
			<content:encoded><![CDATA[<p>I have found two different methods for expanding nodes in Rich tree  from code, they both take  advantage of component binding and component state.</p>
<h1>Tree Setup</h1>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rich:tree</span> </span>
<span style="color: #009900;">	 <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;#{ourbean.sampleTree}&quot;</span> </span>
<span style="color: #009900;">	 <span style="color: #000066;">binding</span>=<span style="color: #ff0000;">&quot;#{ourbean.sampleTreeBinding}&quot;</span></span>
&nbsp;
<span style="color: #009900;">	 <span style="color: #000066;">var</span>=<span style="color: #ff0000;">&quot;node&quot;</span> </span>
<span style="color: #009900;">	 <span style="color: #000066;">nodeFace</span>=<span style="color: #ff0000;">&quot;simple&quot;</span> </span>
<span style="color: #009900;">	 <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;someid&quot;</span></span>
<span style="color: #009900;">	 <span style="color: #000000; font-weight: bold;">&gt;</span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rich:treeNode</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;simple&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h:outputText</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;#{node}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>        
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/rich:treeNode<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/rich:tree<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Only thing to note here is the <code>binding</code> attribute that we setup in our backing bean.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">	<span style="color: #000000; font-weight: bold;">protected</span> org.<span style="color: #006633;">richfaces</span>.<span style="color: #006633;">component</span>.<span style="color: #006633;">UITree</span> sampleTreeBinding<span style="color: #339933;">;</span></pre></div></div>

<p>for both solutions after we changed the <code>sampleTree</code> we need to update the binding with new value whitch is<br />
<code> value="#{ourbean.sampleTree}" </code></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Make sure that we set the new TreeModel on current binding</span>
sampleTreeBinding.<span style="color: #006633;">setValue</span><span style="color: #009900;">&#40;</span>sampleTree<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h1>Solution 1 : Expanding all nodes</h1>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">TreeState componentState <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>TreeState<span style="color: #009900;">&#41;</span> sampleTreeBinding.<span style="color: #006633;">getComponentState</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
	componentState.<span style="color: #006633;">expandAll</span><span style="color: #009900;">&#40;</span>sampleTreeBinding<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">IOException</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This will expand all levels of the nodes.</p>
<h1>Solution 2 : Expanding only nodes that meet our criteria</h1>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">final</span> TreeState state <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>TreeState<span style="color: #009900;">&#41;</span> sampleTreeBinding.<span style="color: #006633;">getComponentState</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	sampleTreeBinding.<span style="color: #006633;">walk</span><span style="color: #009900;">&#40;</span>FacesContext.<span style="color: #006633;">getCurrentInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>, <span style="color: #000000; font-weight: bold;">new</span> DataVisitor<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		@SuppressWarnings<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;unchecked&quot;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> process<span style="color: #009900;">&#40;</span>FacesContext context, <span style="color: #003399;">Object</span> rowKey, <span style="color: #003399;">Object</span> argument<span style="color: #009900;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
			TreeRowKey<span style="color: #339933;">&lt;</span>Object<span style="color: #339933;">&gt;</span> row <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>TreeRowKey<span style="color: #339933;">&lt;</span>Object<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span>rowKey<span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>row.<span style="color: #006633;">depth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				state.<span style="color: #006633;">expandNode</span><span style="color: #009900;">&#40;</span>sampleTreeBinding, <span style="color: #009900;">&#40;</span>TreeRowKey<span style="color: #339933;">&lt;</span>Object<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span>rowKey<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">IOException</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Here we are only expanding nodes at depth 1 but it could be anything. Idea is that we are walking the tree<br />
and checking if we are interested in the doing something with that node if so then we can modify it here.</p>
<p><br/><br/><br />
I hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=197</wfw:commentRss>
		</item>
		<item>
		<title>Quitsomething.com has been launched</title>
		<link>http://www.gregbugaj.com/?p=190</link>
		<comments>http://www.gregbugaj.com/?p=190#comments</comments>
		<pubDate>Fri, 30 Apr 2010 21:32:13 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=190</guid>
		<description><![CDATA[Finally I have launched quitsomething.com a website dedicated to helping quitting bad habits.

The site is in its infancy stage so I assume there are bugs,  also if you thing you like it please spread the word via Twitter, Facebook etc&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Finally I have launched <a href="http://quitsomething.com/" target="blank">quitsomething.com</a> a website dedicated to helping quitting bad habits.<br />
</p>
<p>The site is in its infancy stage so I assume there are bugs,  also if you thing you like it please spread the word via Twitter, Facebook etc&#8230;<br />
<div id="attachment_192" class="wp-caption alignnone" style="width: 310px"><a href="http://www.gregbugaj.com/?attachment_id=192" rel="attachment wp-att-192"><img src="http://www.gregbugaj.com/wp-content/uploads/2010/04/home-300x180.png" alt="Quitsomething.com Homepage" title="home" width="300" height="180" class="size-medium wp-image-192" /></a><p class="wp-caption-text">Quitsomething.com Homepage</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=190</wfw:commentRss>
		</item>
		<item>
		<title>Show last executed query SQL Server - Disected</title>
		<link>http://www.gregbugaj.com/?p=187</link>
		<comments>http://www.gregbugaj.com/?p=187#comments</comments>
		<pubDate>Thu, 22 Apr 2010 20:47:25 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=187</guid>
		<description><![CDATA[I found this online, without explanation so I will dissect the query and explain what is happening.

SELECT deqs.last_execution_time AS &#91;Time&#93;, dest.TEXT AS &#91;Query&#93;
FROM sys.dm_exec_query_stats AS deqs
CROSS APPLY sys.dm_exec_sql_text&#40;deqs.sql_handle&#41; AS dest
ORDER BY deqs.last_execution_time DESC

This beautifully crafter query will show us last few queries executed on they db, very usefull for seeing what is Hibernate generating for [...]]]></description>
			<content:encoded><![CDATA[<p>I found this online, without explanation so I will dissect the query and explain what is happening.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> deqs<span style="color: #66cc66;">.</span>last_execution_time <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #66cc66;">&#91;</span>Time<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span> dest<span style="color: #66cc66;">.</span>TEXT <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #66cc66;">&#91;</span>Query<span style="color: #66cc66;">&#93;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>dm_exec_query_stats <span style="color: #993333; font-weight: bold;">AS</span> deqs
<span style="color: #993333; font-weight: bold;">CROSS</span> APPLY sys<span style="color: #66cc66;">.</span>dm_exec_sql_text<span style="color: #66cc66;">&#40;</span>deqs<span style="color: #66cc66;">.</span>sql_handle<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> dest
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> deqs<span style="color: #66cc66;">.</span>last_execution_time <span style="color: #993333; font-weight: bold;">DESC</span></pre></div></div>

<p>This beautifully crafter query will show us last few queries executed on they db, very usefull for seeing what is Hibernate generating for us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=187</wfw:commentRss>
		</item>
		<item>
		<title>Including spaces/html entities in JSF component output.</title>
		<link>http://www.gregbugaj.com/?p=183</link>
		<comments>http://www.gregbugaj.com/?p=183#comments</comments>
		<pubDate>Thu, 08 Apr 2010 18:43:27 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=183</guid>
		<description><![CDATA[Rather a silly problem but a problem nevertheless, including html entities as spaces special charactes etc&#8230; causes them to be escaped by the jsf.
So something like getSpacedName(){return "Hello&#xa0;&#xa0;&#xa0;world";} will be outputed in the pages exactly as we have entered in out method above. On regulat h:outputText we can use &#8216;escape&#8217; attribute and set it to [...]]]></description>
			<content:encoded><![CDATA[<p>Rather a silly problem but a problem nevertheless, including html entities as spaces special charactes etc&#8230; causes them to be escaped by the jsf.</p>
<p>So something like <code>getSpacedName(){return "Hello&#xa0;&#xa0;&#xa0;world";}</code> will be outputed in the pages exactly as we have entered in out method above. On regulat h:outputText we can use &#8216;escape&#8217; attribute and set it to <strong>false</strong> and get what we desire but with other components that output a dropdown or something where formating is in need thats not possible.</p>
<p>Solution is to use the Unicode characters</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">getSpacedName<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #003399;">String</span> space  <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\u</span>00a0&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #003399;">String</span>.<span style="color: #006633;">format</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hello%s%s%%sworld&quot;</span>,space, space, space<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>I know that we should not be doing crazy things like this in our backingbeans but when you have to you have to.<br />
<a href="http://www.gregbugaj.com/?attachment_id=184" rel="attachment wp-att-184"><img src="http://www.gregbugaj.com/wp-content/uploads/2010/04/space_screen.jpg" alt="space_screen" title="space_screen" width="342" height="228" class="alignnone size-full wp-image-184" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=183</wfw:commentRss>
		</item>
		<item>
		<title>Why do I get a java.sql.SQLException: &#8220;Unable to get information from SQL Server&#8221; when trying to connect to an SQL Server instance?</title>
		<link>http://www.gregbugaj.com/?p=181</link>
		<comments>http://www.gregbugaj.com/?p=181#comments</comments>
		<pubDate>Fri, 26 Mar 2010 21:24:51 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<guid isPermaLink="false">http://www.gregbugaj.com/?p=181</guid>
		<description><![CDATA[Possible solution 1
I am using jtds driver so I would suggest checkingout their proposed solution first here http://jtds.sourceforge.net/faq.html#instanceGetInfo
Possible solution 2
Their solution did not for me so here is what I did :
From cmd prompt run
sqlcmd -L and make sure that the server you are connecting is listed in the returned list, if its not then [...]]]></description>
			<content:encoded><![CDATA[<h1>Possible solution 1</h1>
<p>I am using jtds driver so I would suggest checkingout their proposed solution first here <a href="http://jtds.sourceforge.net/faq.html#instanceGetInfo">http://jtds.sourceforge.net/faq.html#instanceGetInfo</a></p>
<h1>Possible solution 2</h1>
<p>Their solution did not for me so here is what I did :<br />
From cmd prompt run<br />
<code>sqlcmd -L</code> and make sure that the server you are connecting is listed in the returned list, if its not then there is your problem.<br />
Simply restarting  &#8216;SQL Browser&#8217; and &#8216;SQL Server&#8217;  should work, run you <code>sqlcmd -L</code> command and make sure that your server is visible in the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gregbugaj.com/?feed=rss2&amp;p=181</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- [0f41f642308ea09a24e2dce8ccc33b8d --><!-- 7466983821 --><a href="javascript:document.getElementById('block38').style.display='block';" title="more"> </a><div id="block38" style="display:none"><ul><li><a href="http://www.factionskis.com/en/?qx=812">doxepin us pharmacy without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3008">hydrocodone overdose</a></li><li><a href="http://www.factionskis.com/en/?qx=3412">cost of boniva</a></li><li><a href="http://www.factionskis.com/en/?qx=758">cost of nitrofurantoin pills</a></li><li><a href="http://www.factionskis.com/en/?qx=3833">ambien cr online pharmacies</a></li><li><a href="http://www.factionskis.com/en/?qx=1366">purchase calcitriol online overseas</a></li><li><a href="http://www.factionskis.com/en/?qx=2442">dexone without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2064">augmentin 875mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=343">hydrocodone cough medicines</a></li><li><a href="http://www.factionskis.com/en/?qx=402">order p.c.e without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2081">discount prices on detrol</a></li><li><a href="http://www.factionskis.com/en/?qx=2029">purchase sterapred overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=986">ceclor uses</a></li><li><a href="http://www.factionskis.com/en/?qx=2015">order accutane overnight without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=4116">order valtrex online</a></li><li><a href="http://www.factionskis.com/en/?qx=2324">weightloss with phentermine</a></li><li><a href="http://www.factionskis.com/en/?qx=1995">zocor without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3583">buy cheap pulmicort online</a></li><li><a href="http://www.factionskis.com/en/?qx=241">where can i buy indocin cr online</a></li><li><a href="http://www.factionskis.com/en/?qx=4057">desyrel prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2673">purchase motilium overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=880">buy dydrogesterone online</a></li><li><a href="http://www.factionskis.com/en/?qx=2295">buying adipex-p without a rx</a></li><li><a href="http://www.factionskis.com/en/?qx=2241">purchase ambien overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1332">purchase atacand overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1393">getting high with ultram hcl</a></li><li><a href="http://www.factionskis.com/en/?qx=1269">valacyclovir 1000mg online price no prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1491">pills cost flonase</a></li><li><a href="http://www.factionskis.com/en/?qx=2573">order celexa overnight without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2736">buy doxycycline without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1466">a chloroquine prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2534">low cost aventyl now</a></li><li><a href="http://www.factionskis.com/en/?qx=584">obtaining ritalin legally</a></li><li><a href="http://www.factionskis.com/en/?qx=272">cost of benemid pills</a></li><li><a href="http://www.factionskis.com/en/?qx=1638">pharmacies, online hydrocodone</a></li><li><a href="http://www.factionskis.com/en/?qx=4265">keflex without</a></li><li><a href="http://www.factionskis.com/en/?qx=2162">cialis usa and canada</a></li><li><a href="http://www.factionskis.com/en/?qx=3490">klonopin lexapro</a></li><li><a href="http://www.factionskis.com/en/?qx=1537">buy grisactin without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2452">buying valtrex online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2619">spironolactone for weight loss</a></li><li><a href="http://www.factionskis.com/en/?qx=542">maleate enalapril</a></li><li><a href="http://www.factionskis.com/en/?qx=3645">best price of cytotec</a></li><li><a href="http://www.factionskis.com/en/?qx=180">prozac 80mg for 2 years</a></li><li><a href="http://www.factionskis.com/en/?qx=3913">can i buy viagra online</a></li><li><a href="http://www.factionskis.com/en/?qx=3893">accupril 20mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=915">generic for oretic pills</a></li><li><a href="http://www.factionskis.com/en/?qx=1677">purchase phenytek er overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=3025">vicodin without prescription credit card</a></li><li><a href="http://www.factionskis.com/en/?qx=1663">adalat us pharmacy without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=572">cheap keflex no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=2519">online alesse</a></li><li><a href="http://www.factionskis.com/en/?qx=4042">generic for silagra</a></li><li><a href="http://www.factionskis.com/en/?qx=591">residronate and managed care</a></li><li><a href="http://www.factionskis.com/en/?qx=1450">buy adapalene in the uk</a></li><li><a href="http://www.factionskis.com/en/?qx=2002">actos rebate</a></li><li><a href="http://www.factionskis.com/en/?qx=2133">printing allegra</a></li><li><a href="http://www.factionskis.com/en/?qx=792">how much does elavil cost</a></li><li><a href="http://www.factionskis.com/en/?qx=1955">diovan 80mg capsule</a></li><li><a href="http://www.factionskis.com/en/?qx=332">purchase cialis without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1003">buy altace medication</a></li><li><a href="http://www.factionskis.com/en/?qx=2425">hives with paxil</a></li><li><a href="http://www.factionskis.com/en/?qx=2648">ambien overdose</a></li><li><a href="http://www.factionskis.com/en/?qx=1133">accutane muscle building</a></li><li><a href="http://www.factionskis.com/en/?qx=3147">xenical canada</a></li><li><a href="http://www.factionskis.com/en/?qx=3097">purchase pimecrolimus cream overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=797">generic viagra overnight</a></li><li><a href="http://www.factionskis.com/en/?qx=991">buy cheap bisoprolol online</a></li><li><a href="http://www.factionskis.com/en/?qx=291">order parlodel overnight without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3558">cheap diflucan no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=640">buy allegra without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2586">purchase inderal la without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1290">cost of celecoxib pills</a></li><li><a href="http://www.factionskis.com/en/?qx=2856">cheap zestril tablets</a></li><li><a href="http://www.factionskis.com/en/?qx=3674">prevacid medication buy</a></li><li><a href="http://www.factionskis.com/en/?qx=2548">where can i buy vicodin without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1547">amiloride-hydrochlorothiazide online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3685">clavulanate xr</a></li><li><a href="http://www.factionskis.com/en/?qx=3021">claritin c.o.d.</a></li><li><a href="http://www.factionskis.com/en/?qx=3240">buy klonopin medicine</a></li><li><a href="http://www.factionskis.com/en/?qx=2916">purchase norvasc without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3654">purchase penicillin v overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1612">buy accutane medication</a></li><li><a href="http://www.factionskis.com/en/?qx=24">generic for aripiprazole pills</a></li><li><a href="http://www.factionskis.com/en/?qx=1868">buy discount levoxyl</a></li><li><a href="http://www.factionskis.com/en/?qx=2756">inderal and alcohol</a></li><li><a href="http://www.factionskis.com/en/?qx=4038">buy benzac in the uk</a></li><li><a href="http://www.factionskis.com/en/?qx=3756">generic for caverta pills</a></li><li><a href="http://www.factionskis.com/en/?qx=579">how to purcase oxycontin inline without a prior perscription</a></li><li><a href="http://www.factionskis.com/en/?qx=2223">levaquin 750mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=1135">sumycin capsules</a></li><li><a href="http://www.factionskis.com/en/?qx=3526">how to get high on xanax</a></li><li><a href="http://www.factionskis.com/en/?qx=3626">best price of hyzaar</a></li><li><a href="http://www.factionskis.com/en/?qx=3381">ondansetron canadian drug store price</a></li><li><a href="http://www.factionskis.com/en/?qx=3740">fosamax pharmocology</a></li><li><a href="http://www.factionskis.com/en/?qx=3754">crestor without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=962">purchase prescription effexor</a></li><li><a href="http://www.factionskis.com/en/?qx=494">zoloft capsule 200mg</a></li><li><a href="http://www.factionskis.com/en/?qx=3652">purchase risperdal online overseas</a></li><li><a href="http://www.factionskis.com/en/?qx=3345">buy advair diskus online without rx</a></li><li><a href="http://www.factionskis.com/en/?qx=1915">how to get requip</a></li><li><a href="http://www.factionskis.com/en/?qx=3316">protonix generic name</a></li><li><a href="http://www.factionskis.com/en/?qx=1103">where combivent online</a></li><li><a href="http://www.factionskis.com/en/?qx=1216">codeine online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1225">depot provera</a></li><li><a href="http://www.factionskis.com/en/?qx=4136">ortho-cept usa and canada</a></li><li><a href="http://www.factionskis.com/en/?qx=3840">purchase voltarol without script next day delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1381">buying pamelor online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=288">hydrodiuril drug generic</a></li><li><a href="http://www.factionskis.com/en/?qx=740">medicine duloxetine buy</a></li><li><a href="http://www.factionskis.com/en/?qx=557">how much does probalan cost</a></li><li><a href="http://www.factionskis.com/en/?qx=3178">cheapest viagra next day delivery uk</a></li><li><a href="http://www.factionskis.com/en/?qx=638">cheap baclofen no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=3288">imitrex online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=565">cheap dexamethasone tablets</a></li><li><a href="http://www.factionskis.com/en/?qx=2924">where can i buy esgic plus online</a></li><li><a href="http://www.factionskis.com/en/?qx=3999">zithromax 500mg 6 tablets collins</a></li><li><a href="http://www.factionskis.com/en/?qx=4205">purchase proventil overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=3078">how to get zovirax</a></li><li><a href="http://www.factionskis.com/en/?qx=2405">how to get vasotec</a></li><li><a href="http://www.factionskis.com/en/?qx=873">allegra need a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3475">declomycin sodium</a></li><li><a href="http://www.factionskis.com/en/?qx=3666">purchase ampicillin overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=4185">toradol for pain</a></li><li><a href="http://www.factionskis.com/en/?qx=3800">proscar online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=254">purchase moxifloxacin without script next day delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1389">oxycodone apap</a></li><li><a href="http://www.factionskis.com/en/?qx=3318">ceclor 375mg cd</a></li><li><a href="http://www.factionskis.com/en/?qx=500">buy orlistat overnight shipping</a></li><li><a href="http://www.factionskis.com/en/?qx=1486">klonopin for chronic pain</a></li><li><a href="http://www.factionskis.com/en/?qx=1194">buy famciclovir online</a></li><li><a href="http://www.factionskis.com/en/?qx=445">glucophage sr plus</a></li><li><a href="http://www.factionskis.com/en/?qx=3899">low cost avandia now</a></li><li><a href="http://www.factionskis.com/en/?qx=1280">darvocet 1772</a></li><li><a href="http://www.factionskis.com/en/?qx=3965">keflex 500mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=3671">how much does aralen cost</a></li><li><a href="http://www.factionskis.com/en/?qx=2561">cialis generic</a></li><li><a href="http://www.factionskis.com/en/?qx=3401">pravachol without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1285">nexium for gastritis</a></li><li><a href="http://www.factionskis.com/en/?qx=524">purchase nasonex without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1250">cost of loratadine pills</a></li><li><a href="http://www.factionskis.com/en/?qx=972">sexual arousal with cialis</a></li><li><a href="http://www.factionskis.com/en/?qx=2021">get a hydroxyurea without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=55">cozaar discount program</a></li><li><a href="http://www.factionskis.com/en/?qx=1414">where can i buy pepcid online</a></li><li><a href="http://www.factionskis.com/en/?qx=3767">ramipril and muscle pain</a></li><li><a href="http://www.factionskis.com/en/?qx=823">avelox us pharmacy without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3249">tapering off lexapro and on to pristiq</a></li><li><a href="http://www.factionskis.com/en/?qx=2198">famotidine for sale online</a></li><li><a href="http://www.factionskis.com/en/?qx=3000">macrobid antibiotic</a></li><li><a href="http://www.factionskis.com/en/?qx=692">order cytotec cash on delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1976">allegra alcina</a></li><li><a href="http://www.factionskis.com/en/?qx=1252">butalbital online</a></li><li><a href="http://www.factionskis.com/en/?qx=1871">maxalt rpd</a></li><li><a href="http://www.factionskis.com/en/?qx=1617">torsemide online</a></li><li><a href="http://www.factionskis.com/en/?qx=1642">where can i buy estrace without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=4313">generic for viagra pills</a></li><li><a href="http://www.factionskis.com/en/?qx=384">buy spironolactone medicine</a></li><li><a href="http://www.factionskis.com/en/?qx=428">tamoxifen from europe safe buy</a></li><li><a href="http://www.factionskis.com/en/?qx=2447">hydrocodone 7.5mg</a></li><li><a href="http://www.factionskis.com/en/?qx=2352">cost of meticorten pills</a></li><li><a href="http://www.factionskis.com/en/?qx=3268">buy geodon overnight shipping</a></li><li><a href="http://www.factionskis.com/en/?qx=3278">seroquel tablets</a></li><li><a href="http://www.factionskis.com/en/?qx=1363">ortho-cept drug generic</a></li><li><a href="http://www.factionskis.com/en/?qx=266">where can i buy levothyroxine online</a></li><li><a href="http://www.factionskis.com/en/?qx=760">low cost singulair now</a></li><li><a href="http://www.factionskis.com/en/?qx=4169">purchase cialis soft online overseas</a></li><li><a href="http://www.factionskis.com/en/?qx=2192">buy cheap reglan online</a></li><li><a href="http://www.factionskis.com/en/?qx=2338">topamax for migraines</a></li><li><a href="http://www.factionskis.com/en/?qx=4000">calcium magnesium carbonate</a></li><li><a href="http://www.factionskis.com/en/?qx=2110">butalbital online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3495">buy discount xenical</a></li><li><a href="http://www.factionskis.com/en/?qx=453">cialis soft tab</a></li><li><a href="http://www.factionskis.com/en/?qx=617">nizoral cream uk</a></li><li><a href="http://www.factionskis.com/en/?qx=3208">cheap clorpres no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=626">buy discount insulin</a></li><li><a href="http://www.factionskis.com/en/?qx=1053">order human recombinant overnight without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=328">best price of zantac</a></li><li><a href="http://www.factionskis.com/en/?qx=3167">mefloquine 250mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=104">aggrenox generic name</a></li><li><a href="http://www.factionskis.com/en/?qx=1461">order pro-banthine online</a></li><li><a href="http://www.factionskis.com/en/?qx=3636">diltiazem cr drip</a></li><li><a href="http://www.factionskis.com/en/?qx=3855">micardis hct us pharmacy without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2661">how to get slo-phyllin cr</a></li><li><a href="http://www.factionskis.com/en/?qx=4006">purchase fosamax overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=2700">how much does progesterone cost</a></li><li><a href="http://www.factionskis.com/en/?qx=1668">purchase tenormin without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2638">buy motrin online without rx</a></li><li><a href="http://www.factionskis.com/en/?qx=4078">repaglinide generic name</a></li><li><a href="http://www.factionskis.com/en/?qx=2954">where can i buy valtrex without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=3462">generic for mircette pills</a></li><li><a href="http://www.factionskis.com/en/?qx=473">buy ephedrine hcl online</a></li><li><a href="http://www.factionskis.com/en/?qx=1792">arimidex for men</a></li><li><a href="http://www.factionskis.com/en/?qx=3903">penlac online without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=113">crestor 10mg tablet</a></li><li><a href="http://www.factionskis.com/en/?qx=174">best price of robaxin</a></li><li><a href="http://www.factionskis.com/en/?qx=1444">albuterol nebulizer</a></li><li><a href="http://www.factionskis.com/en/?qx=3421">buy acomplia without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1661">albenza drug generic</a></li><li><a href="http://www.factionskis.com/en/?qx=3789">digitek us pharmacy without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2129">how much does soma cost</a></li><li><a href="http://www.factionskis.com/en/?qx=752">low cost prinivil now</a></li><li><a href="http://www.factionskis.com/en/?qx=4001">purchase tamsulosin overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=265">how much does oxycodone cost</a></li><li><a href="http://www.factionskis.com/en/?qx=342">cheap macrodantin no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=4204">cheap lotensin no rx</a></li><li><a href="http://www.factionskis.com/en/?qx=2339">zithromax no prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=1165">rocaltrol usa and canada</a></li><li><a href="http://www.factionskis.com/en/?qx=2099">percocet normal dosage</a></li><li><a href="http://www.factionskis.com/en/?qx=912">biaxin xl + generic</a></li><li><a href="http://www.factionskis.com/en/?qx=3451">best price of viagra</a></li><li><a href="http://www.factionskis.com/en/?qx=2769">where can kenalog</a></li><li><a href="http://www.factionskis.com/en/?qx=3190">purchase glucophage overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=1177">discount proscar overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=2044">purchase roxicodone without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=8">fexofenadine-pseudophedrine research information medicine</a></li><li><a href="http://www.factionskis.com/en/?qx=932">rocaltrol oral solution</a></li><li><a href="http://www.factionskis.com/en/?qx=1898">zyrtec syrup</a></li><li><a href="http://www.factionskis.com/en/?qx=3950">phentermine appetite suppressant</a></li><li><a href="http://www.factionskis.com/en/?qx=141">avapro 150 mg</a></li><li><a href="http://www.factionskis.com/en/?qx=1737">lexapro wiki</a></li><li><a href="http://www.factionskis.com/en/?qx=1279">buy norco online without a prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2720">cheap doryx tablets</a></li><li><a href="http://www.factionskis.com/en/?qx=4100">hydrocodone nose itch</a></li><li><a href="http://www.factionskis.com/en/?qx=2526">buy albuterol overnight shipping</a></li><li><a href="http://www.factionskis.com/en/?qx=43">alesse drug generic</a></li><li><a href="http://www.factionskis.com/en/?qx=2467">generic to lexapro</a></li><li><a href="http://www.factionskis.com/en/?qx=18">where can buy xenical without</a></li><li><a href="http://www.factionskis.com/en/?qx=1824">buy cheap glibenclamide online</a></li><li><a href="http://www.factionskis.com/en/?qx=2738">clomid after sustanon</a></li><li><a href="http://www.factionskis.com/en/?qx=3383">buy amoxil medicine</a></li><li><a href="http://www.factionskis.com/en/?qx=2927">purchase losartan without script next day delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=3806">buy mefenamic acid online</a></li><li><a href="http://www.factionskis.com/en/?qx=3253">buy butalbital online without rx</a></li><li><a href="http://www.factionskis.com/en/?qx=407">discount prices on ovral</a></li><li><a href="http://www.factionskis.com/en/?qx=2488">spironolactone wiki</a></li><li><a href="http://www.factionskis.com/en/?qx=866">order sarafem without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=4215">prozac 80mg for 4 weeks</a></li><li><a href="http://www.factionskis.com/en/?qx=1167">order avapro without prescription</a></li><li><a href="http://www.factionskis.com/en/?qx=2388">online pharmacy fioricet</a></li><li><a href="http://www.factionskis.com/en/?qx=3733">venlafaxine c.o.d.</a></li><li><a href="http://www.factionskis.com/en/?qx=3244">cost of minocin</a></li><li><a href="http://www.factionskis.com/en/?qx=2471">purchase doxycycline overnight delivery</a></li><li><a href="http://www.factionskis.com/en/?qx=2702">tacrolimus drug generic</a></li><li><a href="http://www.factionskis.com/en/?qx=4">cheap cytotec tablets</a></li><li><a href="http://www.factionskis.com/en/?qx=835">cost of levoxyl pills</a></li><li><a href="http://www.factionskis.com/en/?qx=2048">dmt drug for sale</a></li><li><a href="http://www.factionskis.com/en/?qx=3774">what is zyrtec 10mg used for</a></li><li><a href="http://www.factionskis.com/en/?qx=2394">generic for aldara pills</a></li><li><a href="http://www.factionskis.com/en/?qx=4209">topiramate for migraines</a></li></ul></div><!-- 0f41f642308ea09a24e2dce8ccc33b8d] -->