Advogato blog for munizaohttp://www.advogato.org/person/munizao/
Advogato blog for munizaoen-usmod_virguleSun, 2 Aug 2015 20:26:07 GMTTue, 18 Jul 2000 15:19:12 GMT18 Jul 2000http://www.advogato.org/person/munizao/diary.html?start=3
http://www.advogato.org/person/munizao/diary.html?start=3<tt><pre>
.*..*****.
....*...**
.**...**..
.*..*****.
.*.***.***
***.......
.***.....*
****.*.***
.*.*.*.*.*
.**.*...**
F21 I6 L20 N20 P23 T10 U10 V9 W12 X4 Y19 Z12
</pre></tt>
<p>
This is output from a program I am working on. Currently, it
creates a random field and finds the number of each
pentomino within. I want to use the pentomino counter to
find answers to questions like, "What is the minimal
2-succinct cover of the pentominoes?" See my <a
href="http://www.xprt.net/~munizao/polycover/">polyomino
cover</a> site if you care to know what that means. No,
that's not terminology you'll find anywhere else. If there
are real terms better than the ones I made up, I'd like to
know.Sun, 2 Jul 2000 03:10:22 GMT2 Jul 2000http://www.advogato.org/person/munizao/diary.html?start=2
http://www.advogato.org/person/munizao/diary.html?start=2<i>Bun-Bun's <a
href="http://www.sluggy.com/d/000629.html">Theatre of
Horrors</a> Presents: <b>Tasklist</b></i>
<p>
I've been looking at the tasklist applet since trying out <a
href=
"http://www.advogato.org/person/Iain/diary.html?start=163">Iain's</a>
"tooltip" patch that he mentioned here a bit ago. My first
impression on trying it was, "Yuck," (it doesn't follow the
tooltip style from my gtk theme, and it displays the tooltip
on the wrong part of the screen entirely.) Then I looked at
the patch itself and noticed it didn't use a real tooltip
but instead makes a halfbaked attempt at drawing a tooltip
from scratch.
<p>
What could posess someone to not use a real tooltip on the
buttons? I began to have the awful suspicion that mere
incompetance could not cause such ugliness, but something
deeper must have been going on.
<p>
And indeed, to my mounting horror as I read the tasklist
applet code, I found that there was. The buttons on the
tasklist are not real buttons, you see, but facsimiles
painted on a larger widget. So of course, they could not
have tooltips added to them. Suddenly, seemingly disparate
problems I had with tasklist began to make sense. The
buttons don't prelight, unlike any other button in any other
gtk+ app, because they're <i>not buttons</i>. You can't tab
between the buttons to switch windows, because they're
<i>not buttons</i>. At the expense of additional code
complexity, (to rewrite, (somewhat inadequately,) the bits
of gtk+ they chose not to use in the first place,) and loss
of functionality, a small amount of memory footprint has
been saved.
<p>
Now, this might be an understandable mistake, if it had been
made absent an example of how to do this right, but the
authors not only had the old gnome-pager around, but they
were writing it specifically as a replacement. Now, I have
heard that the old gnome-pager code was unmaintainable, but
that is no reason to replace the design with this
monstrosity.
<p>
That said, I should thank the tasklist authors for all the
hard work that they've put into it, and note that quite a
bit of it was done quite well.
Sat, 5 Feb 2000 17:22:26 GMT5 Feb 2000http://www.advogato.org/person/munizao/diary.html?start=1
http://www.advogato.org/person/munizao/diary.html?start=1Commited my customizable default list enhancement to
character picker yesterday. Yeah I know, gnome-applets is in
feature freeze, but charpick's uselessness is itself a bug,
and officially it is still in alpha, even though it's going
into its second stable release soon; (figure that one out.)
Kudos to George for adding the panel size/orient hint fixes,
and fixing the broken properties stuff, and to the others
who have fixed bugs. I've slacked off in developing charpick
since I no longer use it myself; (if I had known about
xmodmap I'd never have written it in the first place.) But
once gtk supports Unicode, charpick will once again become
interesting, so I'm keeping it on the back burner.
<p>
Front burner projects include my pitch-pipe applet, for
which I'll use bse as a backend for producing sound, and a
sawmill theme, code-named Xiqatclapgú. Clipboard applet,
(and my whole ill-concieved multiple selection + metadata
project,) is really a no burner project for the moment, and
would probably be an embarassment if it goes into
gnome-applets 1.2 as it stands.Sat, 4 Dec 1999 06:59:22 GMT4 Dec 1999http://www.advogato.org/person/munizao/diary.html?start=0
http://www.advogato.org/person/munizao/diary.html?start=0I am planning in the long term to play with adding metadata
imformation to x selections, and am looking at writing a
gedit plugin as a testbed. So to get my bearings I have been
playing with the reverse plugin, so that it will reverse
just the selection if there is one, rather than the whole
buffer. Fun.