Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-06 Thread Kris Maglione
On Sat, Aug 06, 2011 at 12:42:15PM +0100, Rob wrote: On 6 August 2011 12:15, Kris Maglione wrote: http://hg.suckless.org/vp is. Last updated: 19 hours ago Just about :P Well, YouTube only broke things again yesterday. -- Kris Maglione It's all right to tell a man to lift himse

Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-06 Thread Kris Maglione
On Sat, Aug 06, 2011 at 11:09:26AM +0100, Ethan Grammatikidis wrote: On Sat, 6 Aug 2011 09:19:24 +0100 Rob wrote: On 5 August 2011 17:39, Kris Maglione wrote: > On Fri, Aug 05, 2011 at 09:31:40AM -0700, Suraj Kurapati wrote: >> # see http://www.reddit.com/r/linux/comments/dky73/ &

Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-05 Thread Kris Maglione
On Fri, Aug 05, 2011 at 09:26:11PM +0100, Ethan Grammatikidis wrote: On Fri, 5 Aug 2011 12:35:35 -0400 Kris Maglione wrote: On Fri, Aug 05, 2011 at 03:24:36PM +0100, Ethan Grammatikidis wrote: >On Fri, 5 Aug 2011 14:39:23 +0200 >Eckehard Berns wrote: > >> I also have encounter

Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-05 Thread Kris Maglione
s That's only the case for HTTP streams. RTMP streams are never written to disk. And there are quite a lot of cases where it automatically unlinks the files, in any case. Even then, you still need to let the non-fullscreen player buffer the things, which kind of defeats the point. -- Kr

Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-05 Thread Kris Maglione
blem. %uname -a Linux kris 2.6.38-bfs #1 SMP PREEMPT Thu Apr 14 22:31:00 EDT 2011 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 AuthenticAMD GNU/Linux -- Kris Maglione The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, f

Re: [dev] [wmii] Flash in fullscreen regularly freezes screen

2011-08-04 Thread Kris Maglione
ave noticed if this were a regular problem. -- Kris Maglione The sorrow which has no vent in tears may make other organs weep. --Henry Maudsley

Re: [dev] Cleanup of (hg.)suckless.org - wmii & libixp mirror

2011-06-21 Thread Kris Maglione
b.com/sunaku/libixp There's no need. They've been available on Google Code for some years now: http://wmii.googlecode.com/ http://libixp.googlecode.com/ -- Kris Maglione Sufficiently advanced incompetence is indistinguishable from malice.

Re: [dev] wmii floating window titlebar decoration

2011-05-31 Thread Kris Maglione
ent versions. For a long time, the most requested feature was to make floating windows more distinguishable from managed windows. That's why it was added. -- Kris Maglione Programming X Windows is like trying to find the square root of Pi using roman numerals. --Henry Spencer

Re: [dev] Re: [PATCH] wmii - client mapping events

2011-04-21 Thread Kris Maglione
On Sun, Apr 03, 2011 at 12:15:08PM -0700, Suraj Kurapati wrote: On Sun, Apr 3, 2011 at 7:38 AM, Kris Maglione wrote: I like this idea, but I don't like that it only applies to the selected view. I'll add an attach event that includes the client and the view. Sure, emitting an event

Re: [dev] Re: [PATCH] wmii - client mapping events

2011-04-03 Thread Kris Maglione
ected view. I'll add an attach event that includes the client and the view. I'm not sure I see the point of the map and unmap events. -- Kris Maglione There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. An

Re: [dev] [PATCH] wmii hg - witray in normcolors

2011-04-03 Thread Kris Maglione
blue and black color scheme, don't you? -- Kris Maglione Lovers of problem solving, they are apt to play chess at lunch or doodle in algebra over cocktails, speak an esoteric language that some suspect is just their way of mystifying outsiders. Deeply concerned about logic and sensitive

Re: [dev] [wmii] Chromium always starts as a floating window

2011-03-17 Thread Kris Maglione
managed by wmii, so browser will not start in a floating window. Ah, I knew there was a reason it didn't try to start floating for me. -- Kris Maglione Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe tr

Re: [dev] [wmii] Chromium always starts as a floating window

2011-03-17 Thread Kris Maglione
a tag rules (i.e., the inverse of ~). I assume this is by design because windows should start as non-floating by default. Has anyone else encountered this problem, or have any insight into it? I suspect that on 3.9, you'd want: /^chrom/ -> -~ In tip, it'd be: /^chrom/ flo

Re: [dev] [wmii] likely memory leak

2011-02-23 Thread Kris Maglione
ucture was allocated directly rather than taken from the free list, and was re-added to the free list later, and thus the free list grew without bound by one structure for each filesystem walk. It should be fixed by revision 141:339db5c6d2c9 in the libixp repo. -- Kris Maglione Lisp doesn't look

Re: [dev] [wmii] likely memory leak

2011-02-19 Thread Kris Maglione
find any non-outdated mentions about such issue. Strangely, does anyone observe this issue? That's interesting. I hadn't noticed it before, but wmii's resident size is up to 15MB for me. I'll look into it. -- Kris Maglione Oh, come *on*. Revelation was a mushroom dream

Re: [dev] [wmii] wedged indication does not go away

2011-02-14 Thread Kris Maglione
he wedged indication. This is indeed the same bug. -- Kris Maglione I had a running compiler and nobody would touch it. They told me computers could only do arithmetic. --Rear Admiral Grace Hopper

Re: [dev] [wmii] wedged indication does not go away

2011-02-14 Thread Kris Maglione
forget to fix it. If it only happens for a select few clients which aren't actually unresponsive then it's hard to say and the most likely explanation is that they advertise that they'll respond to pings but for some reason don't. However, I don't think I've se

Re: [dev] libixp-hg and gnu make 3.82 build failed

2011-02-07 Thread Kris Maglione
Same here. No such problem. On Mon, Feb 07, 2011 at 12:20:01PM +0300, LionMV wrote: libixp freshly checked out from mercurial and gmake 3.82 07.02.2011, 12:17, "Kris Maglione" : I don't get that. Have you edited your config.mk, and what version of gmake are you using? -

Re: [dev] libixp-hg and gnu make 3.82 build failed

2011-02-07 Thread Kris Maglione
I don't get that. Have you edited your config.mk, and what version of gmake are you using? On Mon, Feb 07, 2011 at 11:51:46AM +0300, LionMV wrote: Thanks for quick reply and fix, but: config.mk:21: *** missing separator. Stop. :) 06.02.2011, 07:04, "Kris Maglione" : On Sun,

Re: [dev] libixp-hg and gnu make 3.82 build failed

2011-02-05 Thread Kris Maglione
; \    else echo /bin/sh; fi) BINSH != echo /bin/sh #<= line48 Sorry about that. I fixed that in the wmii repo ages ago, but I never noticed it myself in the libixp repo because I use BSD make. It's fixed. -- Kris Maglione Microsoft is not the answer. Microsoft is the question. N

Re: [dev] wmii put computer to sleep/suspend

2011-01-26 Thread Kris Maglione
being able to switch users instead of logging off. I use uswsusp's s2ram. -- Kris Maglione First, solve the problem. Then, write the code. --John Johnson

Re: [dev] wmii unicode in the status? [SOLVED]

2011-01-24 Thread Kris Maglione
Lucky for me right now, however, the new build works perfectly. However Ubuntu does things seems to have made it so the upgrade build took hold automatically. So I'm good to go. Thanks everyone for the help. -Eitan -- Kris Maglione Technology is dominated by two types of people: Those w

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
kage at runtime should be sufficient. -- Kris Maglione Question with boldness even the existence of God; because if there be one, He must approve the homage of Reason rather than that of blindfolded Fear. --Thomas Jefferson

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
trying to build? I recommend building from hg. It doesn't require libxft-dev. Or xft at all for that matter (it's loaded only on request). -- Kris Maglione If C gives you enough rope to hang yourself, C++ gives you enough rope to bind and gag your neighbourhood, rig the sails in a

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
-13-*-*-*-*-*-*-*', because it seems to have the most reliable support under standard X font rendering. -- Kris Maglione Real Programmers don't believe in schedules. Planners make up schedules. Managers "firm up" schedules. Frightened coders strive to meet schedules. Real Programmers ignore schedules.

Re: [dev] [bug] wmii segfaults on sudo wireshark

2011-01-23 Thread Kris Maglione
On Sun, Jan 23, 2011 at 05:26:30PM +0100, dtk wrote: On 01/14/2011 04:52 PM, Kris Maglione wrote: On Fri, Jan 14, 2011 at 04:13:34PM +0100, dtk wrote: Running wireshark as my default non-priviledged user works fine, as does running wireshark as root under awesome/gnome. The wireshark splash

Re: [dev] wmii freezes momentarily and regularly

2011-01-18 Thread Kris Maglione
or is it everything? Does it happen with other window managers? I don't think this is related to wmii at all. As it happens I use wicd and I don't have any such issues. -- Kris Maglione Lisp has jokingly been called "the most intelligent way to misuse a computer". I thin

Re: [dev] wmii: Chrome does not open in a wmii managed window for some reason.

2011-01-18 Thread Kris Maglione
My best guess is that the new version tries to open sans window decorations, which makes it automatically float. You can fix it in /rules (You'll need a hg version for that. Sorry) with something like: /^google-chrome:/ floating=off -- Kris Maglione “Did God have a mother?” Children,

Re: [dev] write to 9p mount problem

2011-01-15 Thread Kris Maglione
am supposed to work with 9p mounts? Did I do something wrong? Use >> rather than >. The virtual files don't support truncation, which > tries to do. -- Kris Maglione I have always found that plans are useless, but planning is indispensable. --Dwight Eisenhower

Re: [dev] [bug] wmii segfaults on sudo wireshark

2011-01-14 Thread Kris Maglione
some lua functionality has been disabled, due to being run as root, before wmii crashes, gdm reloads and prompts me with the user selection to log me in again. Can anybody confirm this behaviour? No. Can you perchance provide a backtrace? Thanks, -- Kris Maglione If the lessons of history teach us

Re: [dev] Re: [wmii] Is it possible *not* to select a category of spawned clients?

2010-12-20 Thread Kris Maglione
that Dieter has the same problem as me. Did you fix that? No-one's asked for this before, so it hasn't been implimented, but it's certainly doable. -- Kris Maglione I just hate to be pushed around by some fucking machine. --Ken Thompson

Re: [dev] Problem starting wmii with fresh ruby github wmiirc

2010-11-12 Thread Kris Maglione
;t seem to help. So ... help! Ideas? I can't say for certain, but I believe that the version of Suraj's wmiirc on github is currently compatible with wmii-hg rather than the 3.9 release. -- Kris Maglione Good judgement comes from experience, and experience comes from bad judgement. --Fred Brooks

Re: [dev] [wmii] Changing view, but not launching programs in the new view

2010-10-31 Thread Kris Maglione
that it works in 3.9: /gnome-terminal/ -> sel -- Kris Maglione Programming X Windows is like trying to find the square root of Pi using roman numerals. --Henry Spencer

Re: [dev] python configuration

2010-10-31 Thread Kris Maglione
f you prefer (though I don't recommend it). What's the difference between using the python files in /etc/wmii/python and installing pywmii? I have no idea what pywmii is. -- Kris Maglione I think conventional languages are for the birds. They're just extensions of the von Neuman

Re: [dev] [wmii] Changing view, but not launching programs in the new view

2010-10-30 Thread Kris Maglione
n only change the views, but when I try to execute a terminal or other things, they still appear on the other view. Any ideas on how to make it work? It's probably because of something you have in tagrules, or, failing that, you're using a terminal that for some reason marks all

Re: [dev] [wmii] grow command does not work on floating mplayer

2010-10-28 Thread Kris Maglione
direction gets shrunk accordingly.) Is there any way to still grow floating mplayer windows without the mouse? Fixed in tip. -- Kris Maglione A program is portable to the extent that it can be easily moved to a new computing environment with much less effort than would be required to write it

Re: [dev] [wmii] grow command does not work on floating mplayer

2010-10-28 Thread Kris Maglione
early problematic with the keyboard. I guess I'll have take the aspect ratio hint into account for keyboard resizes. -- Kris Maglione ...the designer of a new system must not only be the implementor and the first large-scale user; the designer should also write the first user manual. ... If

Re: [dev] [wmii] sh wmiirc broken and Arch Python changes

2010-10-13 Thread Kris Maglione
mii-hg/python/wmiirc still uses "#!/usr/bin/env python". Should be fixed in 2784:9466b4993b71. -- Kris Maglione Good judgement comes from experience, and experience comes from bad judgement. --Fred Brooks

Re: [dev] [wmii] sh wmiirc broken and Arch Python changes

2010-10-13 Thread Kris Maglione
e. That's a change I certainly didn't expect any time soon. It builds when changing the supplied PKGBUILD to depend on python2 and using the PYTHON=python2 flag, but /etc/wmii-hg/python/wmiirc still uses "#!/usr/bin/env python". Thanks. Easy fix. -- Kris Maglione Anyone

Re: [dev] wmii recommended release

2010-10-11 Thread Kris Maglione
works, then there's no reason to update. -- Kris Maglione It is a farce to call any being virtuous whose virtues do not result from the exercise of its own reason. --Mary Wollstonecraft

Re: [dev] debugging wmii

2010-10-07 Thread Kris Maglione
X quits when it does? -- Kris Maglione The tragedy of modern war is not so much that young men die but that they die fighting each other, instead of their real enemies back home in the capitals. --Edward Abbey

Re: [dev] Wmii - wmiirc from 3.5 not working on 3.9

2010-09-24 Thread Kris Maglione
think your main problem is that wmiiloop has been replaced by a function in wmii.sh. In fact, if you cut out the customization that are important to you, I'll format them as a wmiirc_local file for you. -- Kris Maglione Get and set methods are evil. --Allen Holub

Re: [dev] [OT] Music?

2010-09-21 Thread Kris Maglione
and none of them support mplayer. It would require an external process to prefetch for every play (or a real OS mount of the filesystem, and opening the data stream file with the player), which means no live seeking. -- Kris Maglione The computing scientist's main challenge

Re: [dev] [OT] Music?

2010-09-21 Thread Kris Maglione
=IcY0a8gKCzc Ugh, YouTube links on d...@suckless.org? See http://hg.suckless.org/vp -- Kris Maglione He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would suffice. --Albert Einstein

Re: [dev] wmii display size issue

2010-09-11 Thread Kris Maglione
have historically changed it to Mod4. It should have promped you, I think. Perhaps I added that after the 3.9 release, though... -- Kris Maglione Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi. --Larry Wall

Re: [dev] wmii display size issue

2010-09-11 Thread Kris Maglione
e easiest tests are, ps ax | grep wmiirc # Should list 1 or 2 processes wmiir read /keys# Should list all of your key bindings wmiir read /event # Press some key bindings, should show up If all else fails, try this from the console: wmii -r python/wmiirc -- Kris Maglione You do no

Re: [dev] wmii display size issue

2010-09-11 Thread Kris Maglione
Arch install as well however I cannot, for the life of me, remember how I fixed it. I don't have the time to research now since I'm at work. Anything come to mind that I should check? I suspect it's a config file issue. Try renaming ~/.wmii -- Kris Maglione One can promise a

Re: [dev] wmii display size issue

2010-09-11 Thread Kris Maglione
BTW, what version are you using? That looks like dmenu that you're running, but newer versions use wimenu. I believe that the last release that used dmenu was 3.6, and that didn't support Xinerama. I simply need a way to tell it that it should be using 1050x1680 -- Kris Maglione M

Re: [dev] wmii display size issue

2010-09-11 Thread Kris Maglione
ove a client to the right off the edge of the screen, it'll take up the entire screen (either over or under any clients in the smaller area). As for the menus, they always open on whichever screen has the mouse. Try, xrandr --output VGA1 --right-of LVDS1 -- Kris Maglione Sufficientl

Re: [dev] wmii display size issue

2010-09-10 Thread Kris Maglione
very bottom of the screen (outside of the little wmii window in the upper left). How can I force wmii to start using the entire resolution of the screen? Can you post the output or `xrandr -q` Thanks, -- Kris Maglione It's always good to take an orthogonal view of something

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Kris Maglione
and added yet another symbolic preprocessor just to insult to insanity. For an example of what C++ should have been, have a look at D, which is easily as simple as C and more powerful than C++. And now there's Go, and there's always been Lisp and Objective-C, both of which have clean

Re: [dev] [OT] Music?

2010-09-09 Thread Kris Maglione
x27;s actually good. And orders of magnitude better at finding related music. Last.fm had an annoying habit of playing Roy Orbisson in the classical channels, for instance (it was so bad that I had to write my own client to automatically stop and ban certain artists). -- Kris Maglione On the m

Re: [dev] [OT] Music?

2010-09-09 Thread Kris Maglione
On Thu, Sep 09, 2010 at 10:03:11AM +0200, Antoni Grzymala wrote: Kris Maglione dixit (2010-09-08, 19:05): On Wed, Sep 08, 2010 at 03:21:52PM -0700, Paolo wrote: > Alban Berg, Arnold Schoenberg, Debussy, Satie, Schönberg. 12 Tone... Ah, would that he were never born. Please do

Re: [dev] [OT] Music?

2010-09-09 Thread Kris Maglione
On Wed, Sep 08, 2010 at 11:07:44PM -0400, Jacob Todd wrote: On Wed, Sep 08, 2010 at 07:10:56PM -0400, Kris Maglione wrote: social justice Social justice is just yet another way of saying slavery and theft. I suppose when I say social justice you read socialism, which is a different matter

Re: [dev] [OT] Music?

2010-09-08 Thread Kris Maglione
typography nerd, but the thing that struck me most about that video was the beautifully hand-engraved sheet music. -- Kris Maglione Intellectual laziness is punishable by brain death. It is a natural law. --Eric Naggum

Re: [dev] [OT] Music?

2010-09-08 Thread Kris Maglione
On Wed, Sep 08, 2010 at 05:37:56PM -0400, Peter John Hartman wrote: On Wed, Sep 08, 2010 at 05:29:06PM -0400, Kris Maglione wrote: On Thu, Sep 09, 2010 at 12:12:24AM +0300, Nikhilesh S wrote: >What kind of music do you listen to? Your favourite artists, genres, >etc.? Oh no... No,

Re: [dev] [OT] Music?

2010-09-08 Thread Kris Maglione
On Wed, Sep 08, 2010 at 03:21:52PM -0700, Paolo wrote: Alban Berg, Arnold Schoenberg, Debussy, Satie, Schönberg. 12 Tone... Ah, would that he were never born. -- Kris Maglione Just because the standard provides a cliff in front of you, you are not necessarily required to jump off it

Re: [dev] [OT] Music?

2010-09-08 Thread Kris Maglione
fav-ever category. He's certainly the best represented single artist in my (probably largish) CD collection. That's interesting. I've got a lot more Rubinstein than Horowitz. -- Kris Maglione Haskell is faster than C++, more concise than Perl, more regular than Python, more

Re: [dev] [OT] Music?

2010-09-08 Thread Kris Maglione
ion, with some generous helpings of Tim Minchin, Flogging Molly, Tool, Clapton, The Who, Sublime, System of a Down, The Beach Boys, and Falling You. -- Kris Maglione For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that

Re: [dev] [wmii] Remove titlebar

2010-09-08 Thread Kris Maglione
On Wed, Sep 08, 2010 at 12:19:56PM +0300, Nikhilesh S wrote: On Wed, Sep 08, 2010 at 03:47:25AM -0400, Kris Maglione wrote: On Wed, Sep 08, 2010 at 09:32:20AM +0200, thuban wrote: >Le Wed, 8 Sep 2010 03:22:25 +0300, >>Is there a way to disable drawing of titlebars? > >I suppose

Re: [dev] [wmii] Remove titlebar

2010-09-08 Thread Kris Maglione
nager can be everything to everyone, and I prefer not to pollute wmii with every possible option. That said, it would be an easy patch to write, and I may experiment with it after 3.10 is released, but the changes of it making it to the main line are low. -- Kris Maglione Are you quite sure tha

Re: [dev] libdraw development

2010-09-06 Thread Kris Maglione
to 20 times as long to compile if you split it. That said, I don't use that kind of GNU extension gunk so I split my files anyway. And the convention is less common with the advent of dynamic linking. Only libraries which are explicitly intended for static linking split their files anymore

Re: [dev] [OT] c syntax tree dumping tool

2010-09-06 Thread Kris Maglione
see a simple documentation extractor. My current solution requires adding 'Function: foo' or 'Variable: foo' and then grepping the documents from the C files and the prototypes from the output of cproto. I'd rather not need the Function: lines and cproto is crap. -- K

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-06 Thread Kris Maglione
Lucida Sans Lucida Sans Std LucidaTypewriter Lucida Typewriter Std false -- Kris Ma

Re: [dev] libdraw development

2010-09-06 Thread Kris Maglione
same. -- Kris Maglione Lisp doesn't look any deader than usual to me. --David Thornley

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Sun, Sep 05, 2010 at 11:28:17PM -0400, Josh Rickmar wrote: On Sun, Sep 05, 2010 at 11:02:58PM -0400, Kris Maglione wrote: I still don't think that the auto-hinter is nearly up to par with designer hinted fonts. For the fonts that I have screen and print varieties from different found

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
;t have to. But I'd say that designer hinted fonts are actually significantly easier to render than auto-hinted fonts, which means that it only makes it easier on font designers, not implemenenters. -- Kris Maglione The easy confidence with which I know another man's reli

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
ting support, though. -- Kris Maglione Understand this, I mean to arrive at the truth. The truth, however ugly in itself, is always curious and beautiful to seekers after it. --Agatha Christie

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Mon, Sep 06, 2010 at 02:20:47AM +0100, Ethan Grammatikidis wrote: On 1 Sep 2010, at 8:30 pm, Kris Maglione wrote: On Wed, Sep 01, 2010 at 06:00:17PM +0100, Ethan Grammatikidis wrote: Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it could be

Re: [dev] [OT] c syntax tree dumping tool

2010-09-05 Thread Kris Maglione
http://pcc.ludd.ltu.se (actually http://golang.org/src/cmd/cc/cc.y is cleaner, but seemed more work to cut out and make c99/gcc compatible, might take another look at it later..) Thank you. I've been wantingsomething like this for a long time. -- Kris Maglione i've wondered whether Linux

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-03 Thread Kris Maglione
was to use bitmap fonts for small glyph sizes and low resolution displays, even for vector fonts, and I'm glad to see the end of that. -- Kris Maglione Don't surrender your loneliness / So quickly. / Let it cut more deeply. / Let it ferment and season you / As few human / Or even di

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-02 Thread Kris Maglione
ated than using one of the X libraries. I'd considered doing it in the past, but it's not worth it. I'm currently planning to replace the godawful fontconfig XML configuration on with a Scheme-based lookup system which may save my sanity, though. -- Kris Maglione It's always

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
nts by default, and requires significantly more effort not to support them than to. -- Kris Maglione He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would suffice. --Albert Einstein

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
han typesetting programs like InDesign and XeTeX. -- Kris Maglione Every program has (at least) two purposes: the one for which it was written, and another for which it wasn't. --Alan J. Perlis

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
/libstuff/x11/colors/parsecolor.c lib/libstuff/x11/colors/xftcolor.c lib/libstuff/x11/xft.c There's really no good way to deal with colormaps in X11 except using RENDER everywhere, so it will always come down to a hack, in my opinion. -- Kris Maglione You can get into a habit of thoug

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
lso deals with UTF-8 significantly better than the Xlib implementation, which is the reason I've started using it locally (with non-AA fonts nonetheless). -- Kris Maglione Question with boldness even the existence of God; because if there be one, He must approve the homage of Reason rather

Re: [dev] [wmii] "multiplication" after wmiirc

2010-09-01 Thread Kris Maglione
s problem existed in 3.9.2. -- Kris Maglione Make everything as simple as possible, but not simpler. --Albert Einstein

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 04:31:09PM -0400, Kris Maglione wrote: On Thu, Aug 26, 2010 at 09:22:00PM +0100, Ethan Grammatikidis wrote: On 26 Aug 2010, at 7:33 pm, Kris Maglione wrote: On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I've actually considered this myself.

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 09:22:00PM +0100, Ethan Grammatikidis wrote: On 26 Aug 2010, at 7:33 pm, Kris Maglione wrote: On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I've actually considered this myself. I've written scripts which have looked rather bad with the item

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
(2, " %s [-a ] [-i ] [-p ] menitem[:command] ...\n", argv0); exit(0); } @@ -306,7 +320,7 @@ c = &cnorm; r = rectsetorigin(r, Pt(0, i * high)); fill(menuwin, r, &c->bg); -drawstring(menuwin, font, r, Center, labels[i], &c->fg); +

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 09:51:10AM +0200, yy wrote: 2010/8/26 Kris Maglione : It does not work that way in postscript and, as I already said in another message, it does not work that way in forth, neither in toka or raven. Would you mind explainning why your way is more logical? I think it

Re: [dev] Stripping html from email

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 11:24:11AM +0100, Kai Hendry wrote: I noticed no one mentioned http://packages.qa.debian.org/m/mpack.html `munpack` Indeed, I've been using mpack and ripmime for years, but I think that altermime would be cleaner in this case. -- Kris Maglione Religion began

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread Kris Maglione
h, neither in toka or raven. Would you mind explainning why your way is more logical? I think it could get compicated once you introduce else or nested if blocks. It does work that way in forth. At least, the conditional comes just before the if token (though the branches come after it). -- Kris M

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread Kris Maglione
ld I use 'bison' or something instead? God no! The whole point of stack based language is that they don't need anything nearly as complicated as a LALR grammar. Or, as lispers are so fond of saying, they have no grammar. The most complicated thing you have to do is parse {} blo

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread Kris Maglione
even remotely buried. Most high end printers are still PS based, and I don't see that changing any time soon. -- Kris Maglione The wireless telegraph is not difficult to understand. The ordinary telegraph is like a very long cat. You pull the tail in New York, and it meows in Los Angeles. Th

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread Kris Maglione
def keyword, so: 2 $var def or { 'hi' print } $foo def or the reverse, or another quoting character. It could also replace &foo to push a block onto the stack, since executing the quoted word would be equivalent to executing its associated block. -- Kris Maglione

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread Kris Maglione
mple interpolation. * I will probably swap the order of the conditional clauses: (what do you think about it) 3 3 == { 'Is equal duppy\n' print } if --> { 'Is equal duppy\n' print } 3 3 == if I agree. It's cleaner, and it's closer to forth, which is al

Re: [dev] [wmii] colrules percentages?

2010-08-25 Thread Kris Maglione
r columns when a new one is created. I intend to fix this in 3.10 (where you can already specify a column width in pixels rather than as a percentage of the screen), but I haven't decided on the exact semantics yet. -- Kris Maglione I can hardly see how anyone ought to wish Christianity t

Re: [dev] [9base] /bin/rc

2010-08-25 Thread Kris Maglione
script that modifies them all, especially since my scripts tend to either live on a network filesystem or move around a lot via rsync or hg. -- Kris Maglione UNIX is simple. It just takes a genius to understand its simplicity. --Dennis Ritchie

Re: [dev] [9base] /bin/rc

2010-08-24 Thread Kris Maglione
e to use /usr/bin/env because it might hit on Byron's incompatible rc, but it's the best shot at having scripts work everywhere. I should probably update or remove most of the scripts on that page... I didn't even realize that it was ever migrated from the old diri setup. -- Kris

Re: [dev] Re: [dev] [dev] Usage , -h, --help, help, synopsis, …

2010-08-17 Thread Kris Maglione
>= 65) print 65 if($cols < 65) print $cols } ! exec /usr/bin/man $* | 9 tr − - | less -- Kris Maglione He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife. --Douglas Adams

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread Kris Maglione
you suggest, the simplest approach would be to specify for each object which requires an argument a shell script to produce the results, such as: lp: -o echo media=a4 landscape sides=two-sided-long-edge sides=two-sided-short-edge number-up=N The script to make use of it would be fairly simple (the key would be to check $(NF - 1) above rather than $NF and pass the part of the line following the option to system()), but I'm not going to write it at the moment. -- Kris Maglione Common sense is the collection of prejudices acquired by age 18. --Albert Einstein

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread Kris Maglione
uldn't make use of it. I take it the unmodified script that I posted works (as it does for me)? -- Kris Maglione I cannot agree with those who rank modesty among the virtues. To the logician all things should be seen exactly as they are, and to underestimate one's self is as much a departure from truth as to exaggerate one's own powers. --"Sherlock Holmes"

Re: [dev] [wmii] wimenu custom completion

2010-08-16 Thread Kris Maglione
On Tue, Aug 17, 2010 at 02:15:13AM +0200, LuX wrote: On Sun, 15 Aug 2010 18:51:55 -0400, Kris Maglione wrote: Yes, I already fixed that problem when I made it into an example file for distribution. Attached. I have a few unessential remarks, if you allow me: Of course. - Although I

Re: [dev] [wmii] C configuration

2010-08-16 Thread Kris Maglione
On Tue, Aug 17, 2010 at 03:05:34AM +0300, Nikhilesh S wrote: Any of you guys use a program in C with libixp for wmii configuration? I have in the past, but not for my entire configuration, just for certain operations. -- Kris Maglione It is impossible to defeat an ignorant man in argument

Re: [dev] [wmii] wimenu custom completion

2010-08-15 Thread Kris Maglione
On Mon, Aug 16, 2010 at 12:37:54AM +0200, LuX wrote: On Thu, 12 Aug 2010 21:19:52 -0400, Kris Maglione wrote: But if you're looking for a start, this is the above modified to (crudely) complete a command and then files in the current directory: I have an issue with this second variant,

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Kris Maglione
On Sun, Aug 15, 2010 at 02:14:51PM -0700, Robert Ransom wrote: On Sun, 15 Aug 2010 16:45:13 -0400 Kris Maglione wrote: On Sat, Aug 14, 2010 at 03:29:35PM -0700, Suraj Kurapati wrote: >On Sat, Aug 14, 2010 at 5:18 AM, Alexander Teinum wrote: >> http://github.com/alexan

Re: [dev] [vp] A media website video player/fetcher

2010-08-15 Thread Kris Maglione
ld method which I had to give up when it began to fail for some videos (which is unfortunate, since it also removed the need for a cookie jar and thus allowed direct streaming by vlc). -- Kris Maglione Testing can only prove the presence of bugs, not their absence. --Edsger W. Dijkstra

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Kris Maglione
nd is just as clear. Plus, it explicitly extends its rights to the documentation and explicitly allows for sublicensing, which ISC doesn't. P.S. I know that that was tongue-in-cheek, but I'm in the mood to rant... -- Kris Maglione I have always found that plans are useless,

Re: [dev][wmii] wimenu custom completion

2010-08-15 Thread Kris Maglione
On Sun, Aug 15, 2010 at 06:25:49AM +, carmen wrote: I couldn't have said it better myself. -- Kris Maglione Lisp has jokingly been called "the most intelligent way to misuse a computer". I think that description is a great compliment because it transmits the full flavo

  1   2   3   4   5   >