<?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>Dubi Kaufmann's Blog</title>
	<atom:link href="http://www.dubster.com/p/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.dubster.com/p</link>
	<description>Exciting and New</description>
	<pubDate>Fri, 24 Feb 2012 16:22:18 +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>Tumblr tag list</title>
		<link>http://www.dubster.com/p/?p=787</link>
		<comments>http://www.dubster.com/p/?p=787#comments</comments>
		<pubDate>Fri, 24 Feb 2012 14:56:20 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

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

		<guid isPermaLink="false">http://www.dubster.com/p/?p=787</guid>
		<description><![CDATA[In two of my tumblr blogs, Type Nesting and Looking For Glove there is a list of all the tags used in that blog.  Tumblr offers a way to generate such list via its api, but the api is very slow and there is always a need for more then one call. 
Below is [...]]]></description>
			<content:encoded><![CDATA[<p>In two of my tumblr blogs, <a href="http://typenesting.tumblr.com">Type Nesting</a> and <a href="http://lookingforglove.tumblr.com">Looking For Glove</a> there is a list of all the tags used in that blog.  Tumblr offers a way to generate such list via its api, but the api is very slow and there is always a need for more then one call. </p>
<p>Below is a PHP script that makes crates a js file that has all the tags in a sorted array that looks like this</p>
<pre class="brush:js">
var tagsArray=new Array("BLACK","BLUE","CAPITAL A","CAPITAL B");
</pre>
<p>I have a cron that runs it every couple of hours on my server.</p>
<pre class="brush:php">

$myblog="lookingforglove"; //     modify this line     http://myblog.tumblr.com
$filename=$myblog.".js";
$stack = array();
$done=false;
$postsCounter=0;
$chunk = 50;
while (!$done)
{
	$url="http://".$myblog.".tumblr.com/api/read/json?callback=json&#038;num=".$chunk."&#038;start=".$postsCounter;
	$ch = curl_init($url);
	curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,5);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
	$buffer = curl_exec($ch);
	curl_close($ch);
	if (empty($buffer))
		{
    	$done=false;
		}
	else
		{
		$buffer= substr($buffer, 5,-3);
		$json_o=json_decode($buffer,true);
		$jpost= $json_o['posts'];

		foreach  ($jpost as $jpostItem)
			{
			$jtags=$jpostItem['tags'];
			foreach  ($jtags as $jtagsItem)
				{
				array_push($stack,strtoupper($jtagsItem));
				}
			}
		}
	$postsCounter=$postsCounter+sizeof($jpost);
	if (sizeof($jpost)< $chunk)   ///no more posts
		{ $done=true;}
}
$stack=array_unique($stack);
asort($stack);
$longString="var tagsArray=new Array(\"";
$longString.=implode("\",\"", $stack);
$longString.="\");";

$fp = fopen($filename, 'w');
fwrite($fp, $longString);
fclose($fp);
</pre>
<p>The javascript used in the theme where I want to have the tags.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=787</wfw:commentRss>
		</item>
		<item>
		<title>Sir John Lithgow</title>
		<link>http://www.dubster.com/p/?p=777</link>
		<comments>http://www.dubster.com/p/?p=777#comments</comments>
		<pubDate>Thu, 09 Feb 2012 08:30:08 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=777</guid>
		<description><![CDATA[Nation, it is not a secret that am a big fan of the Colbert report. As a matter of fact I professed that fandom in a form of a graphic. There is a comment in clip below that made me laugh very hard, Stephen Colbert is referring to the actor John Lithgow as sir John [...]]]></description>
			<content:encoded><![CDATA[<p>Nation, it is not a secret that am a big fan of the Colbert report. As a matter of fact I professed that <a href="http://www.flickr.com/photos/dubster/6828362043">fandom in a form of a graphic</a>. There is a comment in clip below that made me laugh very hard, Stephen Colbert is referring to the actor <a href="http://www.imdb.com/name/nm0001475/">John Lithgow</a> as sir John Lithgow. I like the fact that writers of the show choose to knight him because it worked well with the comic bit. </p>
<div style="background-color:#000000;width:520px;">
<div style="padding:4px;"><embed src="http://media.mtvnservices.com/mgid:cms:video:colbertnation.com:387040" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="." flashVars=""></embed></div>
</div>
<p>Last week the knighthood of a <a href="http://www.bbc.co.uk/news/uk-politics-16821650">banker</a> was stripped. He was not accused of a crime, He just made some bad business decisions that led to a loss of jobs. This odd incident reminded me of the clip above. For some reason in other times when John Lithgow was mentioned in the colbert report he was not referred to as Sir which made me sad. I think it fits with the shows hyper patriotic sentiment to mock the English monarchy. I wonder why the writers did not call him sir again. My wild guess is that John Lithgow objected. Why do I think that? Gut feeling. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=777</wfw:commentRss>
		</item>
		<item>
		<title>A flow of people.</title>
		<link>http://www.dubster.com/p/?p=751</link>
		<comments>http://www.dubster.com/p/?p=751#comments</comments>
		<pubDate>Sat, 26 Nov 2011 17:35:21 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=751</guid>
		<description><![CDATA[
This is a variation on the videos I have done with motion trails.What is different here is that the length of the &#8220;trail&#8221; varies over time.
]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/32557703?title=0&amp;byline=0&amp;portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><br />
This is a variation on the videos I have <a href="http://vimeo.com/13046280">done</a> <a href="http://vimeo.com/25750256">with</a> <a href="http://vimeo.com/10186667">motion</a> <a href="http://vimeo.com/7778573">trails</a>.What is different here is that the length of the &#8220;trail&#8221; varies over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=751</wfw:commentRss>
		</item>
		<item>
		<title>Meme Revival</title>
		<link>http://www.dubster.com/p/?p=748</link>
		<comments>http://www.dubster.com/p/?p=748#comments</comments>
		<pubDate>Wed, 26 Oct 2011 22:20:28 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

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

		<category><![CDATA[Something I just learned]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=748</guid>
		<description><![CDATA[In October 30, 2008 I took this photo and added it to the then popular flickr group called money shots where it got a lot of views.

Recently that meme got a pseudo political spin in the form of a tumblr blog called  The 99% Behind The Money and I noticed that the image was [...]]]></description>
			<content:encoded><![CDATA[<p>In October 30, 2008 I took this photo and added it to the then popular flickr group called <a href="http://www.flickr.com/groups/moneyshots/pool/with/2986577562/">money shots</a> where it got a lot of views.</p>
<p><a href="http://www.flickr.com/photos/dubster/2986577562/in/pool-25731865@N00/"><img class="alignnone size-medium wp-image-749" title="lill_prince" src="http://www.dubster.com/p/wp-content/uploads/2011/10/lill_prince-420x313.jpg" alt="lill_prince" width="420" height="313" /></a><br />
Recently that meme got a pseudo political spin in the form of a tumblr blog called <a href="http://99percentbehindthemoney.tumblr.com/"> The 99% Behind The Money</a> and I noticed that the image was getting more traffic. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=748</wfw:commentRss>
		</item>
		<item>
		<title>Thrill the world 2011</title>
		<link>http://www.dubster.com/p/?p=747</link>
		<comments>http://www.dubster.com/p/?p=747#comments</comments>
		<pubDate>Tue, 25 Oct 2011 18:09:08 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=747</guid>
		<description><![CDATA[A million years ago learned about an attempt to to break the world record of the most people participating in the same dance. The dance is thriller by Michael Jackson and it is a global annual event called Thrill The World. I tried to organize a local contingent at the time.
This year the good people [...]]]></description>
			<content:encoded><![CDATA[<p>A million years ago learned about an attempt to to break the world record of the most people participating in the same dance. The dance is thriller by Michael Jackson and it is a global annual event called <a href="http://thrilltheworld.com/">Thrill The World</a>. I tried to organize a local contingent at the time.<br />
This year the good people of the <a href="http://happycollaborationists.com/">Happy Collaborationists</a> are organizing it. It should be cool.<br />
This year the good people of the   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=747</wfw:commentRss>
		</item>
		<item>
		<title>My response to spam from China</title>
		<link>http://www.dubster.com/p/?p=351</link>
		<comments>http://www.dubster.com/p/?p=351#comments</comments>
		<pubDate>Tue, 19 Jul 2011 07:01:58 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=351</guid>
		<description><![CDATA[I have a passive-aggressive response. I let the Chinese police take care of the spammers for me. When I get spam in Chinese, I reply:
Thank you for sending me the encoded message about how you are planning to overthrow the Chinese government and assassinate top communist party officials.
P.S. Mao sucks.
I originally wrote this few months [...]]]></description>
			<content:encoded><![CDATA[<p>I have a passive-aggressive response. I let the Chinese police take care of the spammers for me. When I get spam in Chinese, I reply:</p>
<p><b>Thank you for sending me the encoded message about how you are planning to overthrow the Chinese government and assassinate top communist party officials.</p>
<p>P.S. Mao sucks.</b></p>
<p>I originally wrote this few months ago. A friend  commented on Facebook how annoyed she is by Chinese spam that is not even in English. I put it here as a public service. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=351</wfw:commentRss>
		</item>
		<item>
		<title>The Rahm Emanuel portrait stays in Andersonville</title>
		<link>http://www.dubster.com/p/?p=349</link>
		<comments>http://www.dubster.com/p/?p=349#comments</comments>
		<pubDate>Wed, 30 Mar 2011 20:01:07 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=349</guid>
		<description><![CDATA[As I walking to take down the Lego portraits show in Sunburst Flowers, I passed by a toy store that had Lego in the window. Of course it caught my attention. The sign next to it read &#8220;Toys Et Cetera wants your creations for its 3rd annual Lego window display.&#8221; There is a theme for [...]]]></description>
			<content:encoded><![CDATA[<p>As I walking to take down the Lego <a href="http://www.flickr.com/photos/dubster/5518687427/">portraits show</a> in <a href="http://www.sunburstflowers.com/">Sunburst Flowers</a>, I passed by <a href="http://www.toysetcetera.com/">a toy store</a> that had Lego in the window. Of course it caught my attention. The sign next to it read &#8220;Toys Et Cetera wants your creations for its 3rd annual Lego window display.&#8221; There is a theme for the display and it is Chicago of the future. The portrait of the future mayor is perfect for it.<br />
<iframe src="http://player.vimeo.com/video/20450541?title=0&amp;byline=0&amp;portrait=0&amp;color=ff9933" width="480" height="360" frameborder="0"></iframe><br />
The display will be unveiled on April 12th and will go on until May 13th. Toys Et Cetera is at 5311 N. Clark <a href="http://maps.google.com/maps?q=5311+North+Clark+Street,+Chicago,+IL">map</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=349</wfw:commentRss>
		</item>
		<item>
		<title>Shows</title>
		<link>http://www.dubster.com/p/?p=345</link>
		<comments>http://www.dubster.com/p/?p=345#comments</comments>
		<pubDate>Tue, 15 Mar 2011 13:39:48 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=345</guid>
		<description><![CDATA[1) My Lego portraits are on display at Sunburst Flowers in Andersonville at 5337 N. Ashland map. It is going on until April 1st.
2) I am taking part in the Bike Winter Art Show at CUAS at 2229 S. Halsted map. I am showing the bike salute photos I took at the World Naked Bike [...]]]></description>
			<content:encoded><![CDATA[<p>1) My <a href="http://www.flickr.com/photos/dubster/sets/72157623493309585">Lego portraits</a> are on display at Sunburst Flowers in Andersonville at 5337 N. Ashland <a href="http://maps.google.com/maps?q=5337+N.+Ashland+60640">map</a>. It is going on until April 1st.<br />
2) I am taking part in the Bike Winter Art Show at <a href="http://chicagourbanartsociety.tumblr.com/post/3733316144">CUAS</a> at 2229 S. Halsted <a href="http://maps.google.com/maps?q=2229+s.+Halsted+60608">map</a>. I am showing the bike salute photos I took at the World Naked Bike Ride last June. The closing event is on March 25th.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=345</wfw:commentRss>
		</item>
		<item>
		<title>Elysees Champs</title>
		<link>http://www.dubster.com/p/?p=343</link>
		<comments>http://www.dubster.com/p/?p=343#comments</comments>
		<pubDate>Mon, 13 Dec 2010 04:03:31 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=343</guid>
		<description><![CDATA[Here is the song Champs Elysees by Joe Dassin edited backwards. I found a better way to streamline the process using ffmpeg and a simple bash script. The ideal way would be a script for audacity. I am working on it.
    Elysees Champs by Dubi Kaufmann. Other SoundCloud works by Dubi Kaufmann.
]]></description>
			<content:encoded><![CDATA[<p>Here is the song <a href="http://www.youtube.com/watch?v=M4C6cqo4EjY">Champs Elysees by Joe Dassin</a> edited backwards. I found a better way to streamline the process using <a href="http://www.ffmpeg.org/">ffmpeg</a> and a simple bash script. The ideal way would be a script for <a href="http://audacity.sourceforge.net/">audacity</a>. I am working on it.<br />
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F7993475&amp;show_comments=true&amp;auto_play=false&amp;color=ff7700"></param><param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F7993475&amp;show_comments=true&amp;auto_play=false&amp;color=ff7700" type="application/x-shockwave-flash" width="100%"></embed></object>   <span><a href="http://soundcloud.com/dubikaufmann/elisehamps">Elysees Champs by Dubi Kaufmann</a>. <a href="http://soundcloud.com/dubikaufmann">Other SoundCloud works by Dubi Kaufmann</a>.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=343</wfw:commentRss>
		</item>
		<item>
		<title>Bike Salute installation in The Loop</title>
		<link>http://www.dubster.com/p/?p=339</link>
		<comments>http://www.dubster.com/p/?p=339#comments</comments>
		<pubDate>Wed, 03 Nov 2010 06:00:38 +0000</pubDate>
		<dc:creator>Dubi</dc:creator>
		
		<category><![CDATA[Original Work]]></category>

		<guid isPermaLink="false">http://www.dubster.com/p/?p=339</guid>
		<description><![CDATA[Photos from my Bike Salute project are on display in a storefront in The Loop. They will be on display until mid-December. The display is part of Pop-Up Art Loop.

]]></description>
			<content:encoded><![CDATA[<p>Photos from my <a href="http://www.bikesalute.com/bike">Bike Salute</a> project are on display in a storefront in The Loop. They will be on display until mid-December. The display is part of <a href="http://www.popupartloop.com/">Pop-Up Art Loop</a>.<br />
<object width="500" height="375"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fdubster%2Fsets%2F72157625263690880%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fdubster%2Fsets%2F72157625263690880%2F&#038;set_id=72157625263690880&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fdubster%2Fsets%2F72157625263690880%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fdubster%2Fsets%2F72157625263690880%2F&#038;set_id=72157625263690880&#038;jump_to=" width="500" height="375"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dubster.com/p/?feed=rss2&amp;p=339</wfw:commentRss>
		</item>
	</channel>
</rss>

