<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<?xml-stylesheet type="text/css" href="http://hawking.nonlogic.org/styles/feed.css"?>
<title type="html">hawking's weblog</title>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org" />
<link rel="self" type="application/atom+xml" href="http://hawking.nonlogic.org/atom.xml" />
<updated>2008-06-30T22:43:18+03:00</updated>
<author>
<name>hawking</name>
<uri>http://hawking.nonlogic.org</uri>
</author>
<id>http://hawking.nonlogic.org/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.3">NanoBlogger</generator>
<entry>
<title type="html">Vote now!</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/06/30/vote_now/" />
<id>http://hawking.nonlogic.org/archives/2008/06/30/vote_now/</id>
<published>2008-06-30T22:32:56+03:00</published>
<updated>2008-06-30T22:32:56+03:00</updated>
<category term="english" />
<category term="gentoo" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[(102/253 ballots submitted so far, voting ends on the 4th, 23:59 utc)<br>
Not much left and more than half of us haven't voted yet!<br>
Vote <b>NOW!</b><br>
<br>
<img src="http://dev.gentoo.org/~hawking/fun/vote.png" alt="Voted" />]]>
</div>
</content>
</entry>
<entry>
<title type="html">paludis-utils</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/06/26/paludis-utils/" />
<id>http://hawking.nonlogic.org/archives/2008/06/26/paludis-utils/</id>
<published>2008-06-26T18:00:57+03:00</published>
<updated>2008-06-26T18:00:57+03:00</updated>
<category term="paludis" />
<category term="english" />
<category term="gentoo" />
<category term="python" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<a href="http://github.com/hawking/paludis-utils/tree/master">paludis-utils</a>
is a paludis replacement for
<a href="http://packages.gentoo.org/package/app-portage/portage-utils">portage-utils</a>.
It uses paludis <a href="http://paludis.pioto.org//api/python/">python bindings</a>.
Currently there are four applets available:
<pre>
alip@trippin&gt; p
Usage: p &lt;applet&gt; &lt;args&gt;
Invoke a paludis-utils applet

Currently defined applets:
p &lt;applet&gt; &lt;args&gt;    : Virtual applet
patom [options] &lt;pkgname&gt;  : Split atom strings
pfile [options] &lt;filename&gt; : List packages owning files
plist [options] &lt;pkgname&gt;  : List contents of packages matching requirements
psize [options] &lt;pkgname&gt;  : Calculate size of installed packages
</pre>

Contributions are welcome :-)]]>
</div>
</content>
</entry>
<entry>
<title type="html">when a nerd irc addict gets high...</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/21/when_a_nerd_irc_addict_gets_high/" />
<id>http://hawking.nonlogic.org/archives/2008/04/21/when_a_nerd_irc_addict_gets_high/</id>
<published>2008-04-21T23:56:46+03:00</published>
<updated>2008-04-21T23:56:46+03:00</updated>
<category term="phun" />
<category term="weed" />
<category term="english" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<pre>
17:15:38 [Users #gentoo-vim]
17:15:38 [@hawking]
17:15:38 -!- Irssi: #gentoo-vim: Total of 1 nicks \
&nbsp;&nbsp;&nbsp;&nbsp;[1 ops, 0 halfops, 0 voices, 0 normal]
17:16:05 -!- Channel #gentoo-vim created Mon Apr 21 17:15:34 2008
17:18:11 -!- Irssi: Join to #gentoo-vim was synced in 196 secs
20:05:41 <@hawking> I'm so lonely!
20:06:01  * hawking stabs hawking
23:40:40 <@hawking> hey there
23:40:57 <@hawking> what's up charlie? :)
23:41:01 <@hawking> you know you're high!
23:41:10 <@hawking> and it's hard to speak when you are :-]
23:41:27 <@hawking> set the controls for the heart of the sun!
23:41:58 <@hawking> oh sacrifice me to death for pink floyd!
23:42:04 <@hawking> aaaa aaaa
23:42:07 <@hawking> aaaa aaaa
23:42:12 <@hawking> set the controls for the heart of the sun...
23:42:46 <@hawking> it's also very hard to speak english, when you're \
&nbsp;&nbsp;&nbsp;&nbsp;... erm .. high :)
23:42:54 <@hawking> so!
23:43:03 <@hawking> see emily play!
23:46:01  * hawking is listening to Pink Floyd - See Emily Play
23:46:40 <@hawking> arghh for a second I lost ncmpc :) couldn't find it \
&nbsp;&nbsp;&nbsp;&nbsp;for 3 minutes :-]
23:47:19 <@hawking> there's no other day
23:47:29 <@hawking> :) ( I can't speak so I decided to sing! )
23:47:38 <@hawking> emily++
23:48:55 <@hawking> emily ftw!
23:48:58  * hawking hugs emily
23:49:09  * hawking is listening to Pink Floyd - \
&nbsp;&nbsp;&nbsp;&nbsp;The Happiest Days Of Our Lives
23:49:21 <@hawking> ouch! not now! change it!
23:49:40 <@hawking> just a right song for the moment!
23:49:52  * hawking is listening to Pink Floyd - Learning To Fly
23:50:08 <@hawking> nice one indeed, quite relaxing.. lovely song!
23:50:45 <@hawking> I'm so relaxed, I can't type
23:51:12  * hawking grins
23:51:40  * hawking waves bye to channel
23:51:44 <@hawking> *shrug*
</pre>]]>
</div>
</content>
</entry>
<entry>
<title type="html">vim and lzma</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/21/vim_and_lzma/" />
<id>http://hawking.nonlogic.org/archives/2008/04/21/vim_and_lzma/</id>
<published>2008-04-21T00:22:46+03:00</published>
<updated>2008-04-21T00:22:46+03:00</updated>
<category term="english" />
<category term="vim" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[To edit .lzma files with vim add the following snippet to your vimrc:
<pre>
augroup lzma
        au!

        au BufReadPre,FileReadPre       *.lzma setlocal bin
        au BufReadPost,FileReadPost     *.lzma call gzip#read("lzma -d")
        au BufWritePost,FileWritePost   *.lzma call gzip#write("lzma")
        au FileAppendPre                *.lzma call gzip#appre("lzma -d")
        au FileAppendPost               *.lzma call gzip#write("lzma")
augroup END " augroup lzma
</pre>

Note you need to have <a
href="http://packages.gentoo.org/package/app-arch/lzma-utils">lzma-utils</a>
, not <a href="http://packages.gentoo.org/package/app-arch/lzma">lzma</a>, for
this to work.]]>
</div>
</content>
</entry>
<entry>
<title type="html">Latest news from Gentoo/Python</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/19/latest_news_from_gentoopython/" />
<id>http://hawking.nonlogic.org/archives/2008/04/19/latest_news_from_gentoopython/</id>
<published>2008-04-19T02:01:28+03:00</published>
<updated>2008-04-19T02:01:28+03:00</updated>
<category term="english" />
<category term="gentoo" />
<category term="python" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[I've done some major work under dev-lang/python today. I've backported many
patches from upstream. Here is a list of issues fixed:<br />
<ul>
        <li> <b>Buffer overflow in zlib extension</b>, <a
                href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1721">CVE-2008-1721</a>.
                <br />Gentoo bug: <a
                        href="https://bugs.gentoo.org/show_bug.cgi?id=217221">217221</a>
                <br />Upstream bug: <a
                        href="http://bugs.python.org/issue2586">2586</a>
                <br />Upstream fix: <a
                        href="http://svn.python.org/view?rev=62235&view=rev">r62235</a>
                <br />Fixed Gentoo/Python versions: <strong>2.3.6-r5</strong>, <strong>2.4.4-r10</strong>, <strong>2.5.2-r1</strong>
        <li> <b>PyString_FromStringAndSize() unsafe</b>
                <br />Upstream bug: <a
                        href="http://bugs.python.org/issue2587">2587</a>
                <br />Upstream fix: <a
                        href="http://svn.python.org/view?rev=62262&view=rev">r62262</a>
                <br />Fixed Gentoo/Python versions: <strong>2.3.6-r5</strong>, <strong>2.4.4-r10</strong>, <strong>2.5.2-r1</strong>
        <li> <b>distutils doesn't respect CXXFLAGS</b>
                <br />Gentoo bug: <a
                        href="https://bugs.gentoo.org/show_bug.cgi?id=145206">145206</a>
                <br />Fixed Gentoo/Python versions: <strong>2.4.4-r10</strong>, <strong>2.5.2-r1</strong>
                <br />Thanks to <em>Mark Peloquin</em> for the patch.
        <li> <b>Thread unsafe file objects</b>
                <br />Upstream bugs: <a
                        href="http://bugs.python.org/issue595601">595601</a>,
                        <a href="http://bugs.python.org/issue815646">815646</a>
                <br />Upstream fix: <a
                        href="http://svn.python.org/view?rev=62195&view=rev">r62195</a>
                <br />Fixed Gentoo/Python versions: <strong>2.5.2-r1</strong>
        <li> <b>a bunch of infinite C recursions</b>
                <br />Upstream bug: <a
                        href="http://bugs.python.org/issue1202533">1202533</a>
                <br />Upstream fix: <a
                        href="http://svn.python.org/view?rev=58032&view=rev">r58032</a>
                <br />Fixed Gentoo/Python versions: <strong>2.5.2-r1</strong>
</ul>

<p>
I've also added <em>wininst</em> USE flag fixing bug <a
        href="https://bugs.gentoo.org/show_bug.cgi?id=198021">198021</a> and
converted <em>nothreads</em> and <em>nocxx</em> USE flags to <em>threads</em>
and <em>cxx</em> adding USE defaults. The only issue left is internal build of libffi - bug <a
        href="https://bugs.gentoo.org/show_bug.cgi?id=209673">209673</a> - which
should wait until some issues about libffi is clarified.
</p>
<p>
If you're using a python extension written in C++ like wxpython, reemerge it
to make use of your CXXFLAGS.
</p>
<p>
This is all for now. Have a nice weekend :-)
</p>]]>
</div>
</content>
</entry>
<entry>
<title type="html">rest in peace, bride of peace</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/18/rest_in_peace_bride_of_peace/" />
<id>http://hawking.nonlogic.org/archives/2008/04/18/rest_in_peace_bride_of_peace/</id>
<published>2008-04-18T10:47:08+03:00</published>
<updated>2008-04-18T10:47:08+03:00</updated>
<category term="peace" />
<category term="english" />
<category term="hitchhiking" />
<category term="murder" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<img src="/images/random/bride_of_peace.gif" alt="Bride of Peace" />
<br />
Rest in peace, bride of peace, rest in peace... :'(]]>
</div>
</content>
</entry>
<entry>
<title type="html">viewing man pages with vim</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/06/viewing_man_pages_with_vim/" />
<id>http://hawking.nonlogic.org/archives/2008/04/06/viewing_man_pages_with_vim/</id>
<published>2008-04-06T12:29:17+03:00</published>
<updated>2008-04-06T12:29:17+03:00</updated>
<category term="english" />
<category term="gentoo" />
<category term="vim" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[There are two ways to use vim to display man pages. The first one is using
vimmanpager and the second one is using the :Man command from within vim.
Today I fixed <a href="https://bugs.gentoo.org/show_bug.cgi?id=212844">bug
212844</a> which was a problem about vimmanpager and colour codes. You'll have
to reinstall vim to get the updated vimmanpager.
<br /><br />
To use vimmanpager as your default man pager build vim with vim-pager USE flag
and set the environment variable <strong>MANPAGER</strong> to vimmanpager.
<br /><br />
For those who want to use the command <strong>:Man</strong> from within vim,
here is a trick to get things right. Add the following lines to your vimrc:
<pre>
" make :Man command avaliable
source $VIMRUNTIME/ftplugin/man.vim
" Default MANPAGER vimmanpager doesn't play well
" with the :Man command and we don't want to see raw colour codes
" so we use sed to strip them.
let $MANPAGER = "sed -e 's:\\x1B\\[[[:digit:]\\+m::g'"
</pre>
<br />
Happy vimming :-)]]>
</div>
</content>
</entry>
<entry>
<title type="html">back</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2008/04/04/back/" />
<id>http://hawking.nonlogic.org/archives/2008/04/04/back/</id>
<published>2008-04-04T12:37:00+03:00</published>
<updated>2008-04-04T12:37:00+03:00</updated>
<category term="english" />
<category term="gentoo" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[After a while, I'm back to blogging and gentoo :). I was in the hospital
for 10 days 2 weeks ago. I'm diagnosed with 
<a href="http://en.wikipedia.org/wiki/Dissociative_identity_disorder">dissociative identity disorder</a>.
Currently I'm using <a href="http://en.wikipedia.org/wiki/Olanzapine">olanzapine</a> to keep
myself in reality and <a href="http://en.wikipedia.org/wiki/Sertraline">sertraline</a> to have
a good mood. I stopped school until september. I'll spend this time doing my
usual gentoo work and reading some books which I couldn't read due to lack of
time.
<br /><br />
I'm slowly recovering and started to commit fixes to our CVS.
I'm taking things slow though. Fortunately dev-zero is back and lordvan
requested to take care of twisted packages.
<br /><br />
I've updated my blog and added <a href="http://www.haloscan.com/">haloscan</a>
comment support and buttons to ease submitting to
 <a href="http://digg.com/">digg</a>,
 <a href="http://del.icio.us/">del.icio.us</a>,
 <a href="http://www.furl.net/">furl</a>,
 <a href="http://reddit.com/">reddit</a>,
 <a href="http://slashdot.org/">slashdot</a> and
 <a href="http://www.stumbleupon.com/">stumble upon</a>.
<br /><br />
This post is meant as an explanation for my slacking in the last months :).]]>
</div>
</content>
</entry>
<entry>
<title type="html">python developers guide 2</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2007/07/11/python_developers_guide_2/" />
<id>http://hawking.nonlogic.org/archives/2007/07/11/python_developers_guide_2/</id>
<published>2007-07-11T05:07:47+03:00</published>
<updated>2007-07-11T05:07:47+03:00</updated>
<category term="english" />
<category term="gentoo" />
<category term="python" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[As I said before I've been working on python developers guide. I added some
useful information about usual problems like byte-compiling of .py files,
handling of use_setuptools and _requires and committed the new version.
<br /><br />
Thanks nightmorph for correcting my crappy grammar and guide-xml ;)]]>
</div>
</content>
</entry>
<entry>
<title type="html">python developers guide</title>
<author>
<name>hawking</name>
</author>
<link rel="alternate" type="text/html" href="http://hawking.nonlogic.org/archives/2007/06/30/python_developers_guide/" />
<id>http://hawking.nonlogic.org/archives/2007/06/30/python_developers_guide/</id>
<published>2007-06-30T21:10:29+03:00</published>
<updated>2007-06-30T21:10:29+03:00</updated>
<category term="english" />
<category term="gentoo" />
<category term="python" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p><a href="http://www.gentoo.org/proj/en/Python/developersguide.xml">Gentoo Python Developers Guide</a>
is rather superficial thus I decided to improve it which can be helpful for
everyone writing ebuilds for python packages. The initial version is 
<a href="http://dev.gentoo.org/~hawking/python/developersguide.xml">here</a>.
It's far from perfect now but well it's a start :).]]>
</div>
</content>
</entry>
</feed>
