<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>chorny</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/" />
    <link rel="self" type="application/atom+xml" href="http://blogs.perl.org/users/chorny/atom.xml" />
    <id>tag:blogs.perl.org,2009-11-03:/users/chorny//176</id>
    <updated>2011-07-19T12:01:44Z</updated>
    <subtitle>A blog about the Perl programming language</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.38</generator>

<entry>
    <title>How to get rid of withoutworldwriteables?</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/2011/07/how-to-get-rid-of-withoutworldwriteables.html" />
    <id>tag:blogs.perl.org,2011:/users/chorny//176.1988</id>

    <published>2011-07-18T20:39:07Z</published>
    <updated>2011-07-19T12:01:44Z</updated>

    <summary>When you upload module to CPAN, PAUSE checks that archive does not contain world writable files, because if you install files with such permissions, files may be changed by any user. If files are found, PAUSE creates modified archive, with...</summary>
    <author>
        <name>chorny</name>
        <uri>http://chorny.net</uri>
    </author>
    
    <category term="pause" label="PAUSE" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tar" label="tar" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="worldwriteables" label="worldwriteables" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/chorny/">
        <![CDATA[When you upload module to CPAN, PAUSE checks that archive does not contain world writable files, because if
you install files with such permissions, files may be changed by any user.
If files are found, PAUSE creates modified archive, with correct permissions and uploads it with the same name,
only "-withoutworldwriteables" is added. Usually such archives are created by tar on Windows, but they can
be created on Linux too - it depends on permissions of files on authors hard drive.
<p>
Solution of this problem depends on which module framework you are using.
<p>
Module::Build version 0.31 creates archives itself and does not suffer from this problem.
<p>
Users of ExtUtils::Makemaker can:<br>
1. migrate to Module::Build using my <a href="http://search.cpan.org/perldoc?App::EUMM::Migrate">App::EUMM::Migrate</a><br>
2. use <a href="http://search.cpan.org/perldoc?ptar">ptar from Archive::Tar</a> with "-C" (CPAN) option that I've added. Just upgrade to version 1.66 and add<br>
<code>
        dist => {
            TAR      => 'ptar',
            TARFLAGS => '-c -C -f',
        },
</code><br>
to WriteMakefile call.
<p>
For Module::Install you can use <a href="http://search.cpan.org/perldoc?Module::Install::PerlTar">Module::Install::PerlTar</a> 1.001, it also uses Archive::Tar 1.66.<br>
Add following code to your Makefile.PL:<br>
<code>
use_ptar() if author_context; #from Module::Install::PerlTar
</code>

<p>
Comments about errors in English can be sent to alexchorny@gmail.com
]]>
        
    </content>
</entry>

<entry>
    <title>about compatibility</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/2011/03/about-compatibility.html" />
    <id>tag:blogs.perl.org,2011:/users/chorny//176.1564</id>

    <published>2011-03-16T19:48:49Z</published>
    <updated>2011-03-16T19:54:05Z</updated>

    <summary>From article Carmack: Direct3D is now better than OpenGL. John Carmack, co-founder of id Software: &quot;I actually think that Direct3D is a rather better API today. ... Microsoft had the courage to continue making significant incompatible changes to improve the...</summary>
    <author>
        <name>chorny</name>
        <uri>http://chorny.net</uri>
    </author>
    
    <category term="compatibility" label="compatibility" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/chorny/">
        <![CDATA[<p>From article <a href="http://www.bit-tech.net/news/gaming/2011/03/11/carmack-directx-better-opengl/1">Carmack: Direct3D is now better than OpenGL</a>.</p>

<p>John Carmack, co-founder of id Software: "I actually think that Direct3D is a rather better API today. ... Microsoft had the courage to continue making significant incompatible changes to improve the API, while OpenGL has been held back by compatibility concerns. Direct3D handles multi-threading better, and newer versions manage state better."</p>

<p>Also from article: "While newer versions of OpenGL have kept up-to-date with some of the features found in DirectX, they usually have to be implemented via extensions, rather than the main API.".</p>]]>
        
    </content>
</entry>

<entry>
    <title>mention of Perl in a fun story</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/2010/12/mention-of-perl-in-a-fun-story.html" />
    <id>tag:blogs.perl.org,2010:/users/chorny//176.1259</id>

    <published>2010-12-19T00:05:57Z</published>
    <updated>2010-12-19T00:46:09Z</updated>

    <summary>Especially I like last line. Wikileaks To Leak 5000 Open Source Java Projects With All That Private/Final Bullshit Removed. P.S. Stevey&apos;s Tech News, Issue #1 is also fun....</summary>
    <author>
        <name>chorny</name>
        <uri>http://chorny.net</uri>
    </author>
    
    <category term="fun" label="fun" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/chorny/">
        <![CDATA[<p>Especially I like last line. <a href="http://steve-yegge.blogspot.com/2010/07/wikileaks-to-leak-5000-open-source-java.html">Wikileaks To Leak 5000 Open Source Java Projects With All That Private/Final Bullshit Removed</a>.</p>

<p>P.S. <a href="http://steve-yegge.blogspot.com/2007/09/steveys-tech-news-issue-1.html">Stevey's Tech News, Issue #1</a> is also fun.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Playing games and fixing bugs</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/2010/11/playing-games-and-fixing-bugs.html" />
    <id>tag:blogs.perl.org,2010:/users/chorny//176.1159</id>

    <published>2010-11-06T20:56:18Z</published>
    <updated>2010-11-09T18:04:21Z</updated>

    <summary>Playing games can be useful too. While playing &quot;Lacuna Expanse&quot; and using a bot to find a good asteroid to mine, I found a bug in YAML and fixed it. Later I found out that this bug was already reported...</summary>
    <author>
        <name>chorny</name>
        <uri>http://chorny.net</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/chorny/">
        <![CDATA[<p>Playing games can be useful too. While playing <a href="https://us1.lacunaexpanse.com/#referral=1669f41c-82bc-34ce-bf8e-16ca96021873">"Lacuna Expanse"</a> and using a bot to find a good asteroid to mine, I found a bug in YAML and fixed it. Later I found out that this bug was already reported 4 years ago.</p>]]>
        
    </content>
</entry>

<entry>
    <title>blog moving</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/chorny/2010/09/blog-moving.html" />
    <id>tag:blogs.perl.org,2010:/users/chorny//176.1053</id>

    <published>2010-09-27T14:52:28Z</published>
    <updated>2010-09-27T14:54:39Z</updated>

    <summary>Moving my blog here from blog on use.perl.org...</summary>
    <author>
        <name>chorny</name>
        <uri>http://chorny.net</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/chorny/">
        <![CDATA[<p>Moving my blog here from <a href="http://use.perl.org/~chorny/journal/">blog on use.perl.org</a></p>]]>
        
    </content>
</entry>

</feed>
