<?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 Psychic Origami</title>
	<atom:link href="http://www.psychicorigami.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.psychicorigami.com</link>
	<description>folding with my brain</description>
	<lastBuildDate>Thu, 16 May 2013 17:50:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on A 5K Java Guitar Tuner by jack stonewall</title>
		<link>http://www.psychicorigami.com/2009/01/17/a-5k-java-guitar-tuner/comment-page-1/#comment-15569</link>
		<dc:creator>jack stonewall</dc:creator>
		<pubDate>Thu, 16 May 2013 17:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=159#comment-15569</guid>
		<description><![CDATA[It works like a charm on java, thanks Mr.John.
I&#039;ll wait for android version as i tried that didn&#039;t work on.

keep your great job,]]></description>
		<content:encoded><![CDATA[<p>It works like a charm on java, thanks Mr.John.<br />
I&#8217;ll wait for android version as i tried that didn&#8217;t work on.</p>
<p>keep your great job,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A 5K Java Guitar Tuner by john</title>
		<link>http://www.psychicorigami.com/2009/01/17/a-5k-java-guitar-tuner/comment-page-1/#comment-15567</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 16 May 2013 15:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=159#comment-15567</guid>
		<description><![CDATA[Hi Jack,

I depends on what you&#039;re doing, but I&#039;d probably just start a new project in eclipse, then copy GT.java from the source tar.gz file (http://www.psychicorigami.com/source/5KTuner.tar.gz) into the project&#039;s directory.  That should be enough really.

Just a warning though - I&#039;m not sure this code will work on Android as is.  It&#039;s also not &quot;good&quot; code - as it was written to optimise for code size.  It&#039;s just a curiosity that you made find useful to look at.

cheers,

John]]></description>
		<content:encoded><![CDATA[<p>Hi Jack,</p>
<p>I depends on what you&#8217;re doing, but I&#8217;d probably just start a new project in eclipse, then copy GT.java from the source tar.gz file (<a href="http://www.psychicorigami.com/source/5KTuner.tar.gz" rel="nofollow">http://www.psychicorigami.com/source/5KTuner.tar.gz</a>) into the project&#8217;s directory.  That should be enough really.</p>
<p>Just a warning though &#8211; I&#8217;m not sure this code will work on Android as is.  It&#8217;s also not &#8220;good&#8221; code &#8211; as it was written to optimise for code size.  It&#8217;s just a curiosity that you made find useful to look at.</p>
<p>cheers,</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A 5K Java Guitar Tuner by jack stonewall</title>
		<link>http://www.psychicorigami.com/2009/01/17/a-5k-java-guitar-tuner/comment-page-1/#comment-15555</link>
		<dc:creator>jack stonewall</dc:creator>
		<pubDate>Wed, 15 May 2013 16:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=159#comment-15555</guid>
		<description><![CDATA[Hi Mr.John,

i&#039;m a student and learning android application.
your video really interesting, and i want to know how to open your source code in eclipse environment.

Thanks &amp; be my teacher.]]></description>
		<content:encoded><![CDATA[<p>Hi Mr.John,</p>
<p>i&#8217;m a student and learning android application.<br />
your video really interesting, and i want to know how to open your source code in eclipse environment.</p>
<p>Thanks &amp; be my teacher.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django simple admin ImageField thumbnail by EW</title>
		<link>http://www.psychicorigami.com/2009/06/20/django-simple-admin-imagefield-thumbnail/comment-page-1/#comment-15478</link>
		<dc:creator>EW</dc:creator>
		<pubDate>Tue, 30 Apr 2013 12:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=168#comment-15478</guid>
		<description><![CDATA[Just to report that the above widget and this Model form is merrily working in django 1.5 in Apr-2013:

Like a charm:

    class AdminObjectForm(forms.ModelForm):
        def __init__(self, *args, **kwargs):
            super(AdminObjectForm, self).__init__(*args,**kwargs)
            self.fields[&#039;graphic&#039;].widget = AdminImageWidget()

Thank you!]]></description>
		<content:encoded><![CDATA[<p>Just to report that the above widget and this Model form is merrily working in django 1.5 in Apr-2013:</p>
<p>Like a charm:</p>
<p>    class AdminObjectForm(forms.ModelForm):<br />
        def __init__(self, *args, **kwargs):<br />
            super(AdminObjectForm, self).__init__(*args,**kwargs)<br />
            self.fields['graphic'].widget = AdminImageWidget()</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A quick Halloween Cylon Pumpkin using an Arduino and a few LEDs by Peter Newman</title>
		<link>http://www.psychicorigami.com/2012/11/01/a-quick-halloween-cylon-pumpkin-using-an-arduino-and-a-few-leds/comment-page-1/#comment-15470</link>
		<dc:creator>Peter Newman</dc:creator>
		<pubDate>Sat, 27 Apr 2013 06:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=541#comment-15470</guid>
		<description><![CDATA[Hello, 
I have been looking at any examples of Arduino PWM code for Cylon / Knightrider type effects, and yours is by far the best. Nice clean code, you obviously know what you are doing. Great job
thanks from Pedro]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have been looking at any examples of Arduino PWM code for Cylon / Knightrider type effects, and yours is by far the best. Nice clean code, you obviously know what you are doing. Great job<br />
thanks from Pedro</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ATtiny85 RGB nightlight using Fimo and a piece of salvaged wood by Psychic Origami &#187; Blog Archive &#187; Fimo dinosaurs</title>
		<link>http://www.psychicorigami.com/2013/02/28/attiny85-rgb-nightlight-using-fimo-and-a-piece-of-salvaged-wood/comment-page-1/#comment-15354</link>
		<dc:creator>Psychic Origami &#187; Blog Archive &#187; Fimo dinosaurs</dc:creator>
		<pubDate>Fri, 29 Mar 2013 08:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=602#comment-15354</guid>
		<description><![CDATA[[...] folding with my brain      &#171; ATtiny85 RGB nightlight using Fimo and a piece of salvaged wood [...]]]></description>
		<content:encoded><![CDATA[<p>[...] folding with my brain      &laquo; ATtiny85 RGB nightlight using Fimo and a piece of salvaged wood [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino powered, temperature sensing, RGB LED nightlight by Psychic Origami &#187; Blog Archive &#187; ATtiny85 RGB nightlight using Fimo and a piece of salvaged wood</title>
		<link>http://www.psychicorigami.com/2012/09/04/arduino-powered-temperature-sensing-rgb-led-nightlight/comment-page-1/#comment-15250</link>
		<dc:creator>Psychic Origami &#187; Blog Archive &#187; ATtiny85 RGB nightlight using Fimo and a piece of salvaged wood</dc:creator>
		<pubDate>Thu, 28 Feb 2013 20:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=468#comment-15250</guid>
		<description><![CDATA[[...] recently created a second nightlight for my nephew&#8217;s first birthday. For this one I opted to use an ATtiny85 instead of an [...]]]></description>
		<content:encoded><![CDATA[<p>[...] recently created a second nightlight for my nephew&#8217;s first birthday. For this one I opted to use an ATtiny85 instead of an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tackling the travelling salesman problem: simulated annealing by john</title>
		<link>http://www.psychicorigami.com/2007/06/28/tackling-the-travelling-salesman-problem-simmulated-annealing/comment-page-1/#comment-15249</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 27 Feb 2013 16:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://psychicorigami.com/2007/06/28/tackling-the-travelling-salesman-problem-simmulated-annealing/#comment-15249</guid>
		<description><![CDATA[Hi Ryan,

well it sounds like you&#039;re no longer doing the Travelling Salesman Problem then.  That means the representation of your solution, objective function and operators need to be different.  They might end up being similar to the TSP, but the key thing with this sort of stuff is to get your representation right - otherwise you&#039;ll never get any good results.

You should probably store the solution as a list of line segments (equivalent of pairs of cities), then modify the objective function to calculate the total distance the plotter pen would travel to draw that solution (as that&#039;s what you are trying to optimize).

The reverse sections operator would still then work.  It&#039;d just re-order which lines get drawn when.  You might also want to consider adding an extra operator that will reverse the direction of a line too or building that in to the reverse sections operator.

Unfortunately their is a whole topic of research over choosing annealing schedules - it&#039;s not very clear cut at all.  It&#039;s also been a while since I&#039;ve had to pick any myself, but in the past I&#039;d basically start of with a few values, then do multiple runs to see what seemed to work ok and didn&#039;t get stuck too quickly.  In short though the longer the annealing schedule (higher initial temperature and larger values of alpha) the better the final solution will be, but it will take longer...

cheers,

John]]></description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>well it sounds like you&#8217;re no longer doing the Travelling Salesman Problem then.  That means the representation of your solution, objective function and operators need to be different.  They might end up being similar to the TSP, but the key thing with this sort of stuff is to get your representation right &#8211; otherwise you&#8217;ll never get any good results.</p>
<p>You should probably store the solution as a list of line segments (equivalent of pairs of cities), then modify the objective function to calculate the total distance the plotter pen would travel to draw that solution (as that&#8217;s what you are trying to optimize).</p>
<p>The reverse sections operator would still then work.  It&#8217;d just re-order which lines get drawn when.  You might also want to consider adding an extra operator that will reverse the direction of a line too or building that in to the reverse sections operator.</p>
<p>Unfortunately their is a whole topic of research over choosing annealing schedules &#8211; it&#8217;s not very clear cut at all.  It&#8217;s also been a while since I&#8217;ve had to pick any myself, but in the past I&#8217;d basically start of with a few values, then do multiple runs to see what seemed to work ok and didn&#8217;t get stuck too quickly.  In short though the longer the annealing schedule (higher initial temperature and larger values of alpha) the better the final solution will be, but it will take longer&#8230;</p>
<p>cheers,</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tackling the travelling salesman problem: simulated annealing by Ryan</title>
		<link>http://www.psychicorigami.com/2007/06/28/tackling-the-travelling-salesman-problem-simmulated-annealing/comment-page-1/#comment-15243</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 23 Feb 2013 19:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://psychicorigami.com/2007/06/28/tackling-the-travelling-salesman-problem-simmulated-annealing/#comment-15243</guid>
		<description><![CDATA[Hi John,

Firstly, thanks for this great write-up!  It&#039;s incredibly helpful.  I&#039;m trying to implement this for line segments rather than points (to draw more efficiently with a pen plotter) but my results don&#039;t seem so optimal.  I&#039;m doing it such that lines are one-way roads and have approached things very simply:

I modified the cartesian matrix function so that for each start point of a line, the distances are calculated from the end point of that line to the start point of all the other lines.  Should that be enough, or is the fact that I&#039;m using &quot;reversed sections&quot; likely problematic considering that when you reverse the route between line a and line b you get a very different result?  What strategy would you take instead?
The current strategy does something at least, and in a few places it seems to be doing alright...which leads me to a second question:
What is your general strategy for choosing start_anneal_temp and anneal_alpha?  Is there some kind of intuitive ratio you use based on the number of points you are feeding in?  I find that I sometimes get a divide-by-zero error by guessing the wrong ratio...

Many thanks!
Ryan]]></description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Firstly, thanks for this great write-up!  It&#8217;s incredibly helpful.  I&#8217;m trying to implement this for line segments rather than points (to draw more efficiently with a pen plotter) but my results don&#8217;t seem so optimal.  I&#8217;m doing it such that lines are one-way roads and have approached things very simply:</p>
<p>I modified the cartesian matrix function so that for each start point of a line, the distances are calculated from the end point of that line to the start point of all the other lines.  Should that be enough, or is the fact that I&#8217;m using &#8220;reversed sections&#8221; likely problematic considering that when you reverse the route between line a and line b you get a very different result?  What strategy would you take instead?<br />
The current strategy does something at least, and in a few places it seems to be doing alright&#8230;which leads me to a second question:<br />
What is your general strategy for choosing start_anneal_temp and anneal_alpha?  Is there some kind of intuitive ratio you use based on the number of points you are feeding in?  I find that I sometimes get a divide-by-zero error by guessing the wrong ratio&#8230;</p>
<p>Many thanks!<br />
Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A 5K Java Guitar Tuner by จูนกีตาร์ด้วย Raspberry Pi &#124; Raspberry Pi Thailand</title>
		<link>http://www.psychicorigami.com/2009/01/17/a-5k-java-guitar-tuner/comment-page-1/#comment-15201</link>
		<dc:creator>จูนกีตาร์ด้วย Raspberry Pi &#124; Raspberry Pi Thailand</dc:creator>
		<pubDate>Tue, 12 Feb 2013 07:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychicorigami.com/?p=159#comment-15201</guid>
		<description><![CDATA[[...] สำหรับโปรแกรมใช้ 5K tuner ซึ่งเป็น Java  [...]]]></description>
		<content:encoded><![CDATA[<p>[...] สำหรับโปรแกรมใช้ 5K tuner ซึ่งเป็น Java  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.143 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-22 08:09:57 -->
