<?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 for Shanison</title>
	<atom:link href="http://www.shanison.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shanison.com</link>
	<description>For a better future with technology and stock investment</description>
	<lastBuildDate>Sun, 05 May 2013 02:55:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>Comment on Javascript Move table row up and down by shanison</title>
		<link>http://www.shanison.com/2010/03/20/move-table-row-up-and-down/comment-page-1/#comment-3195</link>
		<dc:creator>shanison</dc:creator>
		<pubDate>Sun, 05 May 2013 02:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=75#comment-3195</guid>
		<description>Hi,
I am not sure if I get your question quite clearly. I assume you are asking how would i submit the order information to the servers in the form. I think there are two ways to do this.
When you submit the form, you can use javascript to construct the order of each machines and submit that information dynamically.

$(&#039;your form selector&#039;).live(&#039;submit&#039;, function(){
 var machines;
 var form = $(this);
 $.each($(&#039;table &gt; tbody &gt; tr&#039;), function(index, value){
    // submit the order of each machines by appending an input box
    var input = $(&quot;&quot;).attr(&quot;type&quot;, &quot;hidden&quot;). attr(&quot;name&quot;, &quot;machine name&quot;). val(index);
    form.append($(input));
 });
});

Alternatively, you can embed the hidden input into the tables, and whenever reorder the rows, you should dynamically change the value of the input. So when form is submitted, the information of order is submitted.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am not sure if I get your question quite clearly. I assume you are asking how would i submit the order information to the servers in the form. I think there are two ways to do this.<br />
When you submit the form, you can use javascript to construct the order of each machines and submit that information dynamically.</p>
<p>$(&#8216;your form selector&#8217;).live(&#8216;submit&#8217;, function(){<br />
 var machines;<br />
 var form = $(this);<br />
 $.each($(&#8216;table &gt; tbody &gt; tr&#8217;), function(index, value){<br />
    // submit the order of each machines by appending an input box<br />
    var input = $(&#8220;&#8221;).attr(&#8220;type&#8221;, &#8220;hidden&#8221;). attr(&#8220;name&#8221;, &#8220;machine name&#8221;). val(index);<br />
    form.append($(input));<br />
 });<br />
});</p>
<p>Alternatively, you can embed the hidden input into the tables, and whenever reorder the rows, you should dynamically change the value of the input. So when form is submitted, the information of order is submitted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript Move table row up and down by icesurfer</title>
		<link>http://www.shanison.com/2010/03/20/move-table-row-up-and-down/comment-page-1/#comment-3194</link>
		<dc:creator>icesurfer</dc:creator>
		<pubDate>Tue, 16 Apr 2013 16:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=75#comment-3194</guid>
		<description>This is very elegant. However I would like to take it a step further and make it useful since it has many potential practical applications.

What I need is the ability to dynamically order machines on a production line.

Let&#039;s say we have these 3 machines in this order:
1) thingajigger
2) chingadero
3) whatchahoosie

now I need to place whatchahoosie before chingadero because the manufacturing process has changed:

1) thingajigger
2) whatchahoosie
3) chingadero

Now we have purchased a new digital zurtblurter that has to go between the thiungajigger and the whatchahoosie:

1) thingajigger
2) zurtblurter
3) whatchahoosie
4) chingadero

A database stores the machines and their order in the production line.

Administering the order of the machines would be a perfect application for something like this.

So I throw down the glove, can you help me extend this so it is part of a form that submits order changes to a db?</description>
		<content:encoded><![CDATA[<p>This is very elegant. However I would like to take it a step further and make it useful since it has many potential practical applications.</p>
<p>What I need is the ability to dynamically order machines on a production line.</p>
<p>Let&#8217;s say we have these 3 machines in this order:<br />
1) thingajigger<br />
2) chingadero<br />
3) whatchahoosie</p>
<p>now I need to place whatchahoosie before chingadero because the manufacturing process has changed:</p>
<p>1) thingajigger<br />
2) whatchahoosie<br />
3) chingadero</p>
<p>Now we have purchased a new digital zurtblurter that has to go between the thiungajigger and the whatchahoosie:</p>
<p>1) thingajigger<br />
2) zurtblurter<br />
3) whatchahoosie<br />
4) chingadero</p>
<p>A database stores the machines and their order in the production line.</p>
<p>Administering the order of the machines would be a perfect application for something like this.</p>
<p>So I throw down the glove, can you help me extend this so it is part of a form that submits order changes to a db?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to check which application is using port 80 in windows by shanison</title>
		<link>http://www.shanison.com/2010/07/03/how-to-check-which-application-is-using-port-80-in-windows/comment-page-1/#comment-3193</link>
		<dc:creator>shanison</dc:creator>
		<pubDate>Mon, 25 Mar 2013 14:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=356#comment-3193</guid>
		<description>Hi it has been a few years since I used wamp servers on windows. I am working only on linux servers now. Many things might changed for wamp so I can&#039;t really advise you how to solve the issues, but checking the logs file for wamp would be a great choice to see what&#039;s going on?</description>
		<content:encoded><![CDATA[<p>Hi it has been a few years since I used wamp servers on windows. I am working only on linux servers now. Many things might changed for wamp so I can&#8217;t really advise you how to solve the issues, but checking the logs file for wamp would be a great choice to see what&#8217;s going on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Me by Ian Cheong</title>
		<link>http://www.shanison.com/about/comment-page-1/#comment-3191</link>
		<dc:creator>Ian Cheong</dc:creator>
		<pubDate>Wed, 20 Mar 2013 01:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?page_id=2#comment-3191</guid>
		<description>Hi Shanison,

I came across your blog while researching on ShareInvestor&#039;s mobile app. I share your interests in investing and programming! I&#039;ve been investing since 2002 for my personal portfolio and used to be an equity research analyst. Currently, I run a mobile app development agency Floating Cube Studios. 

Our latest finance apps are:
https://itunes.apple.com/us/app/nutshel-stocks-fundamental/id534490159?mt=8
https://itunes.apple.com/us/app/nutshel-charts-live-stock/id591012412?mt=8

I would love to catch up and meet you as we have these common interests.

Cheers,
Ian</description>
		<content:encoded><![CDATA[<p>Hi Shanison,</p>
<p>I came across your blog while researching on ShareInvestor&#8217;s mobile app. I share your interests in investing and programming! I&#8217;ve been investing since 2002 for my personal portfolio and used to be an equity research analyst. Currently, I run a mobile app development agency Floating Cube Studios. </p>
<p>Our latest finance apps are:<br />
https://itunes.apple.com/us/app/nutshel-stocks-fundamental/id534490159?mt=8<br />
https://itunes.apple.com/us/app/nutshel-charts-live-stock/id591012412?mt=8</p>
<p>I would love to catch up and meet you as we have these common interests.</p>
<p>Cheers,<br />
Ian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to check which application is using port 80 in windows by shobhit</title>
		<link>http://www.shanison.com/2010/07/03/how-to-check-which-application-is-using-port-80-in-windows/comment-page-1/#comment-3189</link>
		<dc:creator>shobhit</dc:creator>
		<pubDate>Tue, 19 Mar 2013 13:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=356#comment-3189</guid>
		<description>hi, i am having a problem to install wamp server on window 7, we install the wamp server correctly but when i wamp icon the icon is orange not to get green color, and my apache server is showing offline. and i do above process netstat -o -n -a &#124; findstr 0.0:80 in cmd, the result is
 TCP    0.0.0.0:80             0.0.0.0:0              LISTENING  4  
 and no any pid is start number 4 how to find pid 4 and stop this process....</description>
		<content:encoded><![CDATA[<p>hi, i am having a problem to install wamp server on window 7, we install the wamp server correctly but when i wamp icon the icon is orange not to get green color, and my apache server is showing offline. and i do above process netstat -o -n -a | findstr 0.0:80 in cmd, the result is<br />
 TCP    0.0.0.0:80             0.0.0.0:0              LISTENING  4<br />
 and no any pid is start number 4 how to find pid 4 and stop this process&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install RVM and rails 3 on mac by shanison</title>
		<link>http://www.shanison.com/2011/02/20/how-to-install-rvm-on-mac/comment-page-1/#comment-2736</link>
		<dc:creator>shanison</dc:creator>
		<pubDate>Thu, 03 Jan 2013 15:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=527#comment-2736</guid>
		<description>Hi Rob,

Below is the contents of the rvm script that returns you the error. It is checking your contents of rvmrc.

&lt;code&gt;  if [[ ${rvm_ignore_rvmrc:-0} -eq 0 ]]; then

    for rvmrc in /etc/rvmrc &quot;$HOME/.rvmrc&quot; ; do

      if [[ -f &quot;$rvmrc&quot; ]] ; then

        if grep -q &#039;^s*rvm .*$&#039; $rvmrc ; then

          printf &quot;nError: $rvmrc is for rvm settings only.nrvm CLI may NOT be called from within $rvmrc. nSkipping the loading of $rvmrc&quot;

          return 1

        else

          source &quot;$rvmrc&quot;

        fi

      fi

    done

  fi&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>Below is the contents of the rvm script that returns you the error. It is checking your contents of rvmrc.</p>
<p>  if [[ ${rvm_ignore_rvmrc:-0} -eq 0 ]]; then</p>
<p>    for rvmrc in /etc/rvmrc \"$HOME/.rvmrc\" ; do</p>
<p>      if [[ -f \"$rvmrc\" ]] ; then</p>
<p>        if grep -q \'^s*rvm .*$\' $rvmrc ; then</p>
<p>          printf \"nError: $rvmrc is for rvm settings only.nrvm CLI may NOT be called from within $rvmrc. nSkipping the loading of $rvmrc\"</p>
<p>          return 1</p>
<p>        else</p>
<p>          source \"$rvmrc\"</p>
<p>        fi</p>
<p>      fi</p>
<p>    done</p>
<p>  fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install RVM and rails 3 on mac by shanison</title>
		<link>http://www.shanison.com/2011/02/20/how-to-install-rvm-on-mac/comment-page-1/#comment-2735</link>
		<dc:creator>shanison</dc:creator>
		<pubDate>Thu, 03 Jan 2013 15:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=527#comment-2735</guid>
		<description>What is your content in the  /Users/”username”/.rvmrc file and /etc/rvmrc file?</description>
		<content:encoded><![CDATA[<p>What is your content in the  /Users/”username”/.rvmrc file and /etc/rvmrc file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install RVM and rails 3 on mac by Rob</title>
		<link>http://www.shanison.com/2011/02/20/how-to-install-rvm-on-mac/comment-page-1/#comment-2731</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 01 Jan 2013 22:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=527#comment-2731</guid>
		<description>Hi Shanison!

This is all really helpful.  I&#039;ve run into a problem where it&#039;s throwing this error - I replaced my username in the error with &quot;username&quot;  Thanks for any help you can offer!  --Rob

Error: /Users/&quot;username&quot;/.rvmrc is for rvm settings only.
rvm CLI may NOT be called from within /Users/&quot;username&quot;/.rvmrc.
Skipping the loading of /Users/&quot;username&quot;/.rvmrc
new-host:~ &quot;username&quot;$</description>
		<content:encoded><![CDATA[<p>Hi Shanison!</p>
<p>This is all really helpful.  I&#8217;ve run into a problem where it&#8217;s throwing this error &#8211; I replaced my username in the error with &#8220;username&#8221;  Thanks for any help you can offer!  &#8211;Rob</p>
<p>Error: /Users/&#8221;username&#8221;/.rvmrc is for rvm settings only.<br />
rvm CLI may NOT be called from within /Users/&#8221;username&#8221;/.rvmrc.<br />
Skipping the loading of /Users/&#8221;username&#8221;/.rvmrc<br />
new-host:~ &#8220;username&#8221;$</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Set up Oracle Connection for Ruby on Rails by rails_fan</title>
		<link>http://www.shanison.com/2010/08/29/use-oracle-connection-for-ruby-on-rails-2-2-2/comment-page-1/#comment-2719</link>
		<dc:creator>rails_fan</dc:creator>
		<pubDate>Fri, 28 Dec 2012 04:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=403#comment-2719</guid>
		<description>i can connect oracle  means.. sql*plus (oracle) is working in my ruby and rails console window while i run rails db:console
but when i run rake db:create it shows 
rake aborted! active record oracle enhanced adapter could not load ruby-oci8 library.so pl install ruby-oci8 gem.</description>
		<content:encoded><![CDATA[<p>i can connect oracle  means.. sql*plus (oracle) is working in my ruby and rails console window while i run rails db:console<br />
but when i run rake db:create it shows<br />
rake aborted! active record oracle enhanced adapter could not load ruby-oci8 library.so pl install ruby-oci8 gem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Set up Oracle Connection for Ruby on Rails by shanison</title>
		<link>http://www.shanison.com/2010/08/29/use-oracle-connection-for-ruby-on-rails-2-2-2/comment-page-1/#comment-2713</link>
		<dc:creator>shanison</dc:creator>
		<pubDate>Thu, 27 Dec 2012 14:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.shanison.com/?p=403#comment-2713</guid>
		<description>Ruby is using ruby-oci8 library to connect to oracle so I don&#039;t quite understand what do you mean by you can connect oracle but can&#039;t load ruby-oci8 library.

You can test out if your ruby-oci8 library is working fine by running the following

ruby -r oci8 -e &quot;OCI8.new(&#039;username&#039;, &#039;pwd&#039;).exec(&#039;select * from table&#039;) do &#124;r&#124; puts r.join(&#039;,&#039;); end&quot;

http://www.oracle.com/technetwork/articles/fernandez-rails-connections-101759.html</description>
		<content:encoded><![CDATA[<p>Ruby is using ruby-oci8 library to connect to oracle so I don&#8217;t quite understand what do you mean by you can connect oracle but can&#8217;t load ruby-oci8 library.</p>
<p>You can test out if your ruby-oci8 library is working fine by running the following</p>
<p>ruby -r oci8 -e &#8220;OCI8.new(&#8216;username&#8217;, &#8216;pwd&#8217;).exec(&#8216;select * from table&#8217;) do |r| puts r.join(&#8216;,&#8217;); end&#8221;</p>
<p>http://www.oracle.com/technetwork/articles/fernandez-rails-connections-101759.html</p>
]]></content:encoded>
	</item>
</channel>
</rss>
