<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for Alquimista</title>
    <link>http://www.advogato.org/person/Alquimista/</link>
    <description>Advogato blog for Alquimista</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Mon, 20 May 2013 17:03:05 GMT</pubDate>
    <item>
      <pubDate>Wed, 19 Feb 2003 05:15:06 GMT</pubDate>
      <title>19 Feb 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=9</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=9</guid>
      <description>&lt;p&gt;I should have known. I install KDE3.1 from CVS and the first thing that happens, Debian adds the first packages to testing.</description>
    </item>
    <item>
      <pubDate>Tue, 18 Feb 2003 13:07:57 GMT</pubDate>
      <title>18 Feb 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=8</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=8</guid>
      <description>&lt;p&gt;Ha. And I thought it was going to be hard.

&lt;p&gt; &lt;p&gt; &lt;p&gt;I won't lie: KDE is really complex. Waiting for it to compile would be boring if I had nothing else to do. But it was not really hard.

&lt;p&gt; &lt;p&gt; &lt;p&gt;Resume: First thing I did was to clean my spare 3gig partition that I use to compile big things. Then I mounted it in /opt. Unpackaged qt there, compiled, ready; I can run designer even before the compile finished. Noticed that I had compiled it with the stock g++ of Debian testing.

&lt;p&gt; &lt;p&gt; &lt;p&gt;Installed cvsup. Configured as indicated on the howto. arts didn't download at all. I was using KDE_3_1_1_RELEASE or something like that as tag. arts doesn't exist that way. Downloaded apart, using ARTS_1_1_BRANCH. Lost patience. Downloaded again kde-common, kdebase, kdelibs with KDE_3_1_BRANCH tag.

&lt;p&gt; &lt;p&gt; &lt;p&gt;Recompiled qt after doing an 'alias g++=g++-3.2". It works, I can't say anything about secondary effects. Meanwhile, KDE refuses to preconfigure with 'make -f Makefile.cvs'. Resolved after linking ../kde-common/admin, just as says the howto. 

&lt;p&gt; &lt;p&gt; &lt;p&gt;Some hours later everything is compiled. Hacking together a .xsession finally KDE3 runs fine. But not without scaring me a couple times (that mean thing :)). To make it finally work, the .xsession ended like that:

&lt;p&gt; &lt;p&gt; &lt;blockquote&gt;export KDEDIR=/opt&lt;br&gt;
export PATH=$KDEDIR/bin:$PATH&lt;br&gt;
export KDEHOME=$HOME/.kde3&lt;/blockquote&gt;

&lt;p&gt; &lt;p&gt; Probably one of this days I'll use HEAD tags...

&lt;p&gt; &lt;b&gt;Edit: added br tags&lt;/b&gt;</description>
    </item>
    <item>
      <pubDate>Tue, 18 Feb 2003 03:36:23 GMT</pubDate>
      <title>18 Feb 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=7</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=7</guid>
      <description>&lt;p&gt;Installing a local KDE repository for development purposes, &lt;b&gt;Day 1&lt;/b&gt;

&lt;p&gt; &lt;p&gt;First step: downloading qt-x11-free-3.1.1.tar.bz2 from trolltech. I wish myself luck and hope not to fill my hard drives before finishing the adventure.</description>
    </item>
    <item>
      <pubDate>Thu, 13 Feb 2003 10:28:14 GMT</pubDate>
      <title>13 Feb 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=6</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=6</guid>
      <description>&lt;p&gt;KDE is great. Autocompletion out of the box (I mean, lineedit) is something good to have :)

&lt;p&gt; &lt;p&gt;On a not related note, recursion rules. &lt;b&gt;$x_{n+1} = 1 + ax_{n}$&lt;/b&gt;!</description>
    </item>
    <item>
      <pubDate>Mon, 27 Jan 2003 20:34:08 GMT</pubDate>
      <title>27 Jan 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=5</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=5</guid>
      <description>&lt;p&gt;Currently learning to program KDE. Close to porting to it: hacked together QTGears and a KDE tutorial, commandline and python extension work fine.</description>
    </item>
    <item>
      <pubDate>Wed, 1 Jan 2003 12:11:42 GMT</pubDate>
      <title>1 Jan 2003</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=4</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=4</guid>
      <description>&lt;p&gt;New year's day!
&lt;p&gt;Here's the design for the intersection code. This is going to get more complex from here; keeping the code real clean is going to become a serious priority now. 
&lt;ol&gt;
&lt;li&gt;Intersection on 3d is very complex, but is going to have to be considered to future. Right now what's needed is a good 2d implementation, so I'll ignore the z coordinates for testing lines and will assign the average to the resulting intersection.
&lt;li&gt;Lines not on the same bounding box should not be tested. 
&lt;li&gt;Lines that may or not intersect should be tested first for intersection with a cheap algorithm before expending on finding the intersection itself.
&lt;li&gt;Lines that are found to intersect have their distance to the cursor tested for a minimum.
&lt;/ol&gt;

&lt;p&gt; Points one to three are easy to cache; such cache would then have to be updated after adding lines.

&lt;p&gt; 

&lt;p&gt; &lt;p&gt;I'll take advantage of this chance to advertise a shameless plug to my project, &lt;a href="http://www.advogato.org/proj/Fandango/" &gt;Fandango&lt;/a&gt;. Testers are welcome, and anybody that can understand the current code is encouraged to improve into it, on particular on the python modules that are really easy to hack. I'll be available by mail to help, and the project page has already some basic documentation.</description>
    </item>
    <item>
      <pubDate>Fri, 27 Dec 2002 01:40:58 GMT</pubDate>
      <title>27 Dec 2002</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=3</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=3</guid>
      <description>&lt;p&gt;I've been reading about porting Fandango to libSDL.That will ensure portability and reduce the window code size. The problem is, the fonts library depends directly on XLoadQueryFont.
&lt;p&gt;SDL_ttf is technically a good way to substitute it, but looks like the quality is not as good. I like better the crisp fonts that are produced by glXUseXFont.
&lt;p&gt;Advantages. Replacing the window/keyboard/mouse management code for something much cleaner. Better event handling (?). Easier potential port to Win32 or MacOS X. 
&lt;p&gt;Disadvantages. Requires an extra library. Using the current font code requires pulling font data on an unelegant and less portable (read: still requires xlib) way. Probable hidden porting issues.
&lt;p&gt;That's just planning, I'm not doing any real work before the holidays end.</description>
    </item>
    <item>
      <pubDate>Mon, 23 Dec 2002 19:59:10 GMT</pubDate>
      <title>23 Dec 2002</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=2</guid>
      <description>&lt;p&gt;Now that the END snap works for lines and line strips it's time to plan how to do INT snaps.

&lt;p&gt; &lt;p&gt;A naive approach to the problem would be to traverse all line-like entities, test for intersection and then test the results for distance to the click. With adecuate caching it may be feasible.</description>
    </item>
    <item>
      <pubDate>Fri, 20 Dec 2002 16:45:25 GMT</pubDate>
      <title>20 Dec 2002</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=1</guid>
      <description>&lt;p&gt;Well, I had a bit of fun testing the diary :)
&lt;p&gt;I decided to make a call similar to cadget.clicks() called cadget.snaps() that returns a tuple [[xyz][xyz][xyz]] of the already snapped clicks. The clicks queue remains untouched.</description>
    </item>
    <item>
      <pubDate>Fri, 20 Dec 2002 03:56:45 GMT</pubDate>
      <title>20 Dec 2002</title>
      <link>http://www.advogato.org/person/Alquimista/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/Alquimista/diary.html?start=0</guid>
      <description>Boring stuff today. I have commited the code to do vertex snaps in Fandango, but it still needs tweaks. It only finds a snap at a time. That complicates matters when drawing individual lines and having to snap both ends. I think that I'll do a parallel stack to iWindow::getClickQueue() that will return the snapped or clicked vertex instead of clicks only.</description>
    </item>
  </channel>
</rss>
