<?xml version="1.0" encoding="iso-8859-1"?>

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">Another pyblosxom blog</title>
<subtitle type="html"><![CDATA[
blosxom with a touch of python
]]></subtitle>
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/index.atom</id>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi" />
<link rel="self" type="application/atom+xml" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/index.atom" />


<author>
<name>lesh</name>
<uri>http://lesh.sysphere.org/cb/pyblosxom.cgi/index.atom</uri>
<email>lesh@sysphere.org</email>
</author>
<rights>Copyright 2005 Joe Bobb</rights>
<generator uri="http://pyblosxom.sourceforge.net/" version="1.4.3 01/10/2008">
PyBlosxom http://pyblosxom.sourceforge.net/ 1.4.3 01/10/2008
</generator>

<updated>2010-01-04T22:51:21Z</updated>
<!-- icon?  logo?  -->

<entry>
<title type="html">bigdog is obsolete?</title>
<category term="/proj/robotics/klann1" />
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/2010/01/04/prototype_walks</id>
<updated>2010-01-04T22:51:21Z</updated>
<published>2010-01-04T22:51:21Z</published>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/proj/robotics/klann1/prototype_walks.htmllesh" />
<content type="html">
things I&apos;ve learned:
need two motors per four leggs, not one,
need stronger joints.
and I probbably don&apos;t need expensive motor speed controllers I bought.

&lt;a href=&quot;http://sysphere.org/gallery/album12?page=1&quot;&gt;gallery&lt;/a&gt; has been and will be updated periodically.

&lt;a href=&quot;http://www.youtube.com/watch?v=MbPDbVqqAIM&quot;&gt;http://www.youtube.com/watch?v=MbPDbVqqAIM&lt;/a&gt;

how does it turn/why am I holding it with a piece of wood?
this is just left part of the body.
</content>
</entry>

<entry>
<title type="html">klann walker!</title>
<category term="/proj/robotics/klann1" />
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/2010/01/04/prototype1</id>
<updated>2010-01-04T20:58:40Z</updated>
<published>2010-01-04T20:58:40Z</published>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/proj/robotics/klann1/prototype1.htmllesh" />
<content type="html">I&apos;m working on 8 legged, large spider-like robot (1.5x1.5 meters, about 50kilos)
Starting with a wooden prototype as opposed to computer simulations/cad drawings,
in order to save time.

&lt;a href=&quot;http://sysphere.org/gallery/album12&quot;&gt;gallery&lt;/a&gt;, will be updated as I progress.

and a short video
&lt;a href=&quot;http://www.youtube.com/watch?v=DAWtSfaqgIA&quot;&gt;http://www.youtube.com/watch?v=DAWtSfaqgIA&lt;/a&gt;

this leg design is called &quot;&lt;a href=&quot;http://www.mechanicalspider.com/&quot;&gt;klann linkage&lt;/a&gt;&quot;

just a prototype of a prototype, still walking kinda crappy.

</content>
</entry>

<entry>
<title type="html">rorschach generator</title>
<category term="/play" />
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/2009/12/05/rorschach</id>
<updated>2009-12-05T04:00:49Z</updated>
<published>2009-12-05T04:00:49Z</published>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/play/rorschach.htmllesh" />
<content type="html">
after looking at the rorschach test, I wanted more.
supirisingly, I couldn&apos;t find any rorschach generators online,
so, python, tkinter and randomwalk with random size blobs and simmetrical reflection,
I thought that some tweaking or more complicated algorithm would be needed but this works great.

click on a canvas for (re)generation.

&lt;a href=&quot;http://lesh.sysphere.org/images/inkblot/&quot;&gt;examples&lt;/a&gt; and &lt;a href=&quot;http://lesh.sysphere.org/images/inkblot/inkblot.py&quot;&gt;source.&lt;/a&gt;
</content>
</entry>

<entry>
<title type="html">automatic generation of desktop backgrounds.</title>
<category term="/crap" />
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/2009/12/02/wallpaper</id>
<updated>2009-12-02T17:59:30Z</updated>
<published>2009-12-02T17:59:30Z</published>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/crap/wallpaper.htmllesh" />
<content type="html">
while looking at &lt;a href=&quot;http://www.contextfreeart.org&quot;&gt;context free art&lt;/a&gt; I was thinking wow those pictures are very nice and I want them on my
desktop and on my walls and all over my body. 
(its a context free language used to describe recursive patterns whose execution is then represented by
&lt;a href=&quot;http://www.contextfreeart.org/gallery/view.php?t=rand&amp;num=25&quot;&gt;images&lt;/a&gt;. &lt;a href=&quot;http://www.contextfreeart.org/gallery/view.php?t=rand&amp;num=25&quot;&gt;images&lt;/a&gt; that tend to look &lt;a 
href=&quot;http://www.contextfreeart.org/gallery/view.php?t=rand&amp;num=25&quot;&gt;natural&lt;/a&gt; and &lt;a href=&quot;http://www.contextfreeart.org/gallery/view.php?t=rand&amp;num=25&quot;&gt;lifelike&lt;/a&gt; because lifelike things tend to describe
themselves in similar ways.)

when talking about things in this language, its all about probabilities and not about fixed
values, so every time a picture is generated from the same description, it looks different!

SO: hourly wallpaper generation.
here is my /etc/cron.hourly/wallpaper.sh:

&lt;table class=&quot;code&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
#!/bin/bash&lt;br&gt;&lt;br&gt;
/usr/bin/cfdg -w 1680 -h 1050 /etc/wallpaper/symchasm.cfdg /tmp/b.png &amp;&amp; /usr/bin/display -window root /tmp/b.png&lt;br&gt;
logger &quot;new wallpaper generated.&quot;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

I have tiling wm so this is useless for me.
but, just a thought. 
</content>
</entry>

<entry>
<title type="html">evolving prisoner&apos;s dilemma solution</title>
<category term="/play" />
<id>http://lesh.sysphere.org/cb/pyblosxom.cgi/2009/12/01/game-theory-evolution</id>
<updated>2009-12-01T17:59:30Z</updated>
<published>2009-12-01T17:59:30Z</published>
<link rel="alternate" type="text/html" href="http://lesh.sysphere.org/cb/pyblosxom.cgi/play/game-theory-evolution.htmllesh" />
<content type="html">
bunch of selfish prisoners having sex and mutating. WHOA.
very basic evolutionary algorithm, a last night&apos;s play.

a problem:

Will the two prisoners cooperate to minimize total loss of liberty, or will one of them,
trusting the other to cooperate, betray him so as to go free?

In the iterated &lt;a href=&quot;http://en.wikipedia.org/wiki/Prisoner%27s_dilemma&quot;&gt;prisoner&apos;s dilemma&lt;/a&gt; the game is played repeatedly.
Thus each player has an opportunity to &quot;punish&quot; the other player for previous non-cooperative play. 
Cooperation may then arise as an equilibrium outcome.

solutions:

I didn&apos;t get &lt;a href=&quot;http://en.wikipedia.org/wiki/Tit_for_Tat&quot;&gt;tit for tat&lt;/a&gt; which I originaly expected,
nor did I manage to get a cooperative equilibrium. cooperation does evolve, but it doesn&apos;t last,
strange, I expected that cooperative species will raise and &lt;b&gt;stay dominant&lt;/b&gt; as I enlarge the number of
interactions before a step in the evolution. (its rational to be nice if you need to stick around)

need to think about this some more.

I&apos;ll post more info and code later or never.
&lt;a href=&quot;http://sysphere.org/gallery/view_photo.php?set_albumName=screenshots&amp;id=evolucion2_5&quot;&gt;screenshot&lt;/a&gt; and &lt;a href=&quot;http://www.univie.ac.at/virtuallabs/Snowdrift/&quot;&gt;someone with a different approach and a spacial dimension.&lt;/a&gt;

</content>
</entry>
</feed>

