<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>spantz.org</title><generator>Tumblr (3.0; @spantz)</generator><link>http://tumblr.spantz.org/</link><item><title>Preventing Spotify Crashes in the Linux Client Preview</title><description>&lt;p&gt;This may only be relevant for &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt; users. Anyway, after I’ve ran the Spotify client preview for some time, it crashes without a good explanation why. After a crash the client won’t run again until the cache is cleared.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ rm -rf ~/.cache/spotify
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It’s likely that you can be more fine-grained when clearing the cache. I haven’t investigated it much, but it may be sufficient to remove &lt;code&gt;~/.cache/spotify/Storage&lt;/code&gt;. Note that the cache directory is configurable in &lt;em&gt;Edit→Preferences…&lt;/em&gt;.&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/967402358</link><guid>http://tumblr.spantz.org/post/967402358</guid><pubDate>Tue, 17 Aug 2010 18:35:00 +0200</pubDate><category>spotify</category><category>linux</category><category>preview</category></item><item><title>Applying patches using SCons</title><description>&lt;p&gt;A project has third-party dependencies that need to be patched before being used. I’m new to &lt;a href="http://www.scons.org/"&gt;SCons&lt;/a&gt;, but here is my go at applying patches using the build tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;site_scons/site_init.py&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;import os

def TOOL_VENDOR(env):
    def patch_generator(source, target, env, for_signature):
        """Generate a patched version of source in target (both being
        directories). If a patch is missing, do nothing.
        """
        target = target[0]
        source = source[0]
        patch_path = '%s.patch' % source.path
        cmds = []
        if len(Glob(patch_path)):
            cmds += [
                Delete(target),
                Copy(target, source),
                "cd %s &amp;&amp; patch -p1 &lt; %s" % (target.path, os.path.abspath(patch_path)),
                ]
        return cmds
    env.Append(BUILDERS = {'VendorPatch': Builder(generator=patch_generator)})
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;SConstruct&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;env = Environment(tools=['default', TOOL_VENDOR])
SConscript([
        'vendor/SConscript',
        ], exports='env')
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;code&gt;vendor/&lt;/code&gt; is a directory with third-party libraries. The &lt;code&gt;vendor/SConscript&lt;/code&gt; file will&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;find directories such as &lt;code&gt;vendor/acme-parser/repo&lt;/code&gt; and create a patched version of it in &lt;code&gt;vendor/acme-parser/patched&lt;/code&gt;, if &lt;code&gt;vendor/acme-parser/repo.patch&lt;/code&gt; exists, and&lt;/li&gt;
&lt;li&gt;run any existing library &lt;code&gt;SConscript&lt;/code&gt; files.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;&lt;code&gt;vendor/SConscript&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Import('env')
import os

for repo in Glob('*/repo'):
    env.VendorPatch(Dir(os.path.join(repo.dir.name, 'patched')), repo)

SConscript(Glob('*/SConscript'), exports='env')
&lt;/code&gt;&lt;/pre&gt;</description><link>http://tumblr.spantz.org/post/959328373</link><guid>http://tumblr.spantz.org/post/959328373</guid><pubDate>Mon, 16 Aug 2010 00:31:00 +0200</pubDate><category>SCons</category><category>programming</category></item><item><title>Solitary Man</title><description>&lt;p&gt;&lt;img src="http://watch-solitary-man-movie.webs.com/Solitary%20Man%20Movie.jpg" alt="Solitary Man"/&gt;&lt;/p&gt;

&lt;p&gt;Great movie with awesome music.&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt1294213/"&gt;IMDb: Solitary Man&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://open.spotify.com/track/2gHsf4yTz5ATp55JEXEM67"&gt;Spotify: Johnny Cash Experience — Solitary Man&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tumblr.spantz.org/post/937748719</link><guid>http://tumblr.spantz.org/post/937748719</guid><pubDate>Wed, 11 Aug 2010 19:04:00 +0200</pubDate><category>movies</category><category>solitary man</category></item><item><title>The Smell of Hell</title><description>&lt;a href="http://www.dadhacker.com/blog/?p=1274"&gt;The Smell of Hell&lt;/a&gt;: &lt;blockquote&gt;
  &lt;p&gt;It’s gonna be another FORTRAN day. How often have you wished Moses had written a bunch of extra commandments, just for programming?&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.spantz.org/post/937599590</link><guid>http://tumblr.spantz.org/post/937599590</guid><pubDate>Wed, 11 Aug 2010 18:20:27 +0200</pubDate><category>programming</category></item><item><title>(BBC article.)</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_l4ou4b2HUM1qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;(&lt;a href="http://news.bbc.co.uk/2/hi/6187080.stm"&gt;BBC article.&lt;/a&gt;)&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/742846464</link><guid>http://tumblr.spantz.org/post/742846464</guid><pubDate>Sun, 27 Jun 2010 21:28:58 +0200</pubDate><category>slouching</category></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l3zx7yOY161qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://tumblr.spantz.org/post/696862018</link><guid>http://tumblr.spantz.org/post/696862018</guid><pubDate>Mon, 14 Jun 2010 10:35:57 +0200</pubDate><category>vuvuzela</category><category>World Cup 2010</category></item><item><title>Student 2010, Västermalm, Sundsvall</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=12498036&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12498036&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=12498036&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Student 2010, Västermalm, Sundsvall&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/689909759</link><guid>http://tumblr.spantz.org/post/689909759</guid><pubDate>Sat, 12 Jun 2010 10:57:45 +0200</pubDate><category>student</category><category>västermalm</category><category>sundsvall</category></item><item><title>Nigera vs. Germany</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_l3sokmHPFZ1qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Nigera vs. Germany&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/683288467</link><guid>http://tumblr.spantz.org/post/683288467</guid><pubDate>Thu, 10 Jun 2010 12:45:57 +0200</pubDate><category>world cup 2010</category></item><item><title>"People are more violently opposed to fur than leather because it’s safer to harass rich women..."</title><description>“People are more violently opposed to fur than leather because it’s safer to harass rich women than motorcycle gangs.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Dave Barry&lt;/em&gt;</description><link>http://tumblr.spantz.org/post/672351346</link><guid>http://tumblr.spantz.org/post/672351346</guid><pubDate>Mon, 07 Jun 2010 09:17:25 +0200</pubDate></item><item><title>“Only white man dumb enough to think he could improve system...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l34svjNckF1qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;h3&gt;“Only white man dumb enough to think he could improve system like that.”&lt;/h3&gt;&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/640709033</link><guid>http://tumblr.spantz.org/post/640709033</guid><pubDate>Fri, 28 May 2010 15:16:30 +0200</pubDate></item><item><title>Video</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bSywiwgC4Dk&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/bSywiwgC4Dk&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://tumblr.spantz.org/post/637918434</link><guid>http://tumblr.spantz.org/post/637918434</guid><pubDate>Thu, 27 May 2010 17:56:20 +0200</pubDate></item><item><title>“250 men and women asked to draw how several emotions felt in...</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_l2yz7bPzTp1qzfg9yo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;“250 men and women asked to draw how several emotions felt in their bodies. These are the combined results.”&lt;/p&gt;

&lt;p&gt;Quite interesting, totally useless. Found &lt;a href="http://www.reddit.com/r/reddit.com/comments/c7qwp/250_men_and_women_asked_to_draw_how_several/"&gt;at reddit&lt;/a&gt;, of course.&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/630870525</link><guid>http://tumblr.spantz.org/post/630870525</guid><pubDate>Tue, 25 May 2010 11:47:34 +0200</pubDate><category>random</category></item><item><title>Zdzisław Beksiński, Polish fantasy artist
More pictures
</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_l2rkjdsWHg1qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Zdzis%C5%82aw_Beksi%C5%84ski"&gt;Zdzisław Beksiński&lt;/a&gt;, Polish fantasy artist&lt;/li&gt;
&lt;li&gt;&lt;a href="http://lurkerspath.blogspot.com/2010/05/zdzisaw-beksinski.html"&gt;More pictures&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/618806697</link><guid>http://tumblr.spantz.org/post/618806697</guid><pubDate>Fri, 21 May 2010 11:47:37 +0200</pubDate><category>fantasy</category></item><item><title>10 Genres of Metal in 3 Minutes</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qpZ18recO9A&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/qpZ18recO9A&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;h3&gt;10 Genres of Metal in 3 Minutes&lt;/h3&gt;&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/618787558</link><guid>http://tumblr.spantz.org/post/618787558</guid><pubDate>Fri, 21 May 2010 11:33:00 +0200</pubDate><category>music</category><category>metal</category></item><item><title>"Study finds that 100% of people who think they have constipation are full of shit."</title><description>“Study finds that 100% of people who think they have constipation are full of shit.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.reddit.com/r/funny/comments/c6b9k/"&gt;CaptainMaxxpower at reddit&lt;/a&gt;&lt;/em&gt;</description><link>http://tumblr.spantz.org/post/616794642</link><guid>http://tumblr.spantz.org/post/616794642</guid><pubDate>Thu, 20 May 2010 20:34:15 +0200</pubDate><category>funny</category></item><item><title>"This is my theory of the film. Oskar will eventually become what the old man was. She uses people to..."</title><description>“This is my theory of the film. Oskar will eventually become what the old man was. She uses people to get an advocate, then move on. I think it is a great story about how being immortal destroys your humanity, or makes it so you can manipulate them. It is a great film, and gets the vampire genre right. Vampires are monsters, and they prey on more than the flesh. Vampires aren’t shiny pedophilic faggots with crushes on high school seniors.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.reddit.com/r/movies/comments/c5g60/i_just_watched_the_movie_let_the_right_one_in_on/c0q8h34"&gt;megatom0 at reddit, about “Let the Right One In”&lt;/a&gt;&lt;/em&gt;</description><link>http://tumblr.spantz.org/post/610822720</link><guid>http://tumblr.spantz.org/post/610822720</guid><pubDate>Tue, 18 May 2010 21:52:52 +0200</pubDate><category>movies</category><category>let the right one in</category></item><item><title>Photo</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l2gf2c7p7R1qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://tumblr.spantz.org/post/600434947</link><guid>http://tumblr.spantz.org/post/600434947</guid><pubDate>Sat, 15 May 2010 11:15:47 +0200</pubDate></item><item><title>Photo</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_l2dcqpk4G11qzfg9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://tumblr.spantz.org/post/595685224</link><guid>http://tumblr.spantz.org/post/595685224</guid><pubDate>Thu, 13 May 2010 19:32:49 +0200</pubDate><category>funny</category></item><item><title>“Giant Herring” Found in Sweden</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_l29u9cj8Z81qzfg9yo1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;h3&gt;“Giant Herring” Found in Sweden&lt;/h3&gt;&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/590290135</link><guid>http://tumblr.spantz.org/post/590290135</guid><pubDate>Tue, 11 May 2010 22:00:00 +0200</pubDate><category>sweden</category><category>fish</category></item><item><title>Defendor</title><description>&lt;a href="http://www.imdb.com/title/tt1303828/"&gt;Defendor&lt;/a&gt;: &lt;p&gt;&lt;img src="http://goodfilmguide.co.uk/wp-content/uploads/2010/03/Woody-Harrelson-Defendor.jpg" alt="Woody Harel"/&gt;&lt;/p&gt;

&lt;p&gt;A great Canadian production. I think it got a vague resemblance to &lt;a href="http://www.imdb.com/title/tt0401792/"&gt;Sin City&lt;/a&gt; but is much brighter and less complex. Woody Harrelson is excellent in the main role.&lt;/p&gt;</description><link>http://tumblr.spantz.org/post/568834487</link><guid>http://tumblr.spantz.org/post/568834487</guid><pubDate>Mon, 03 May 2010 21:43:07 +0200</pubDate><category>movies</category><category>defendor</category></item></channel></rss>
