Re: [dev] [wmii] Remove titlebar
Le Wed, 8 Sep 2010 03:22:25 +0300, Nikhilesh S a écrit : > Is there a way to disable drawing of titlebars? > > -- > Nikhilesh S > http://www.nikhilesh.info > I suppose there isn't, at least for the use of stack mode. But you can use dwm instead ;)
Re: [dev] [wmii] Remove titlebar
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 there isn't, at least for the use of stack mode. But you can use dwm instead ;) Or RatPoison or LarsWM or XMonad or Rio. No window manager 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 that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the solution set rather than the problem set? --Edsger W. Dijkstra
Re: [dev] [wmii] Remove titlebar
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 there isn't, at least for the use of stack mode. But you can > >use dwm instead ;) > > Or RatPoison or LarsWM or XMonad or Rio. No window manager 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. I've tried all of those - I'm sticking with wmii due to the 'freedom' in making layouts. I thought there must've been some quick option I missed so I asked. If it's a deep-in feature and requires some messing I guess I'm fine with the titlebar - the other parts of wmii I like till now. :) Maybe if I figure it out I could patch it... -- Nikhilesh S http://www.nikhilesh.info
Re: [dev] [wmii] Remove titlebar
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 there isn't, at least for the use of stack mode. But you can >use dwm instead ;) Or RatPoison or LarsWM or XMonad or Rio. No window manager 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. I've tried all of those - I'm sticking with wmii due to the 'freedom' in making layouts. I thought there must've been some quick option I missed so I asked. If it's a deep-in feature and requires some messing I guess I'm fine with the titlebar - the other parts of wmii I like till now. :) Maybe if I figure it out I could patch it... It wouldn't be hard. The managed mode code does assume that all windows have titebars, but it's only hard coded at the tops of a few functions in column.c (where labelh(def.font) is assigned to variables). There's already code to deal with titleless floating windows. You just need to change frame_client2rect/frame_rect2client remove the floating window check. -- 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.
[dev] Re: [dvtm] buffered text on resize
Whoops, looks like my patch won't compile if you are using strict C - I declared an int in a for loop (forced habit, I work in C++ all day). When I get home from work tonight I'll update the patch but even a Gnome user should be able to figure out how to fix it. On Wed, Sep 8, 2010 at 12:41 AM, Niki Yoshiuchi wrote: > When resizing a window in dvtm, the text buffers for each row are resized > to reflect the number of columns. When making a window smaller, this has > the effect of deleting all the text that has gone off the edge of the > window. If you then make the window larger, that text won't be redrawn - it > has been lost. > > I've attached a patch for dvtm that changes the way it handles resizes. > Now it will only resize the buffers if the window is resized so it is > larger than the previous largest. This way the text in the buffers never > gets lost. It has the unfortunate side effect of forcing a redraw on each > row everytime you resize (unless the number of columns doesn't change) but I > think it's worth it. It also reduces the number of memory > allocations/reallocations. > > -Niki Yoshiuchi >
[dev] [OT] Music?
What kind of music do you listen to? Your favourite artists, genres, etc.? -- Nikhilesh S http://www.nikhilesh.info
Re: [dev] [OT] Music?
Nikhilesh S dixit (2010-09-09, 00:12): > What kind of music do you listen to? Your favourite artists, genres, > etc.? Seems this has been discussed a little in one the recent „yet another quest for sucklessness” thread. Mozart, Haydn, Chopin were talked about and liked. There seem to be some [extremely non-suckless] Wagner lovers around, too ;). -- [a]
Re: [dev] [OT] Music?
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, no, no... This is going to be one of those threads that turns into a series of long, off-topic threads about things like off-topic threads, isn't it? Hm. Not good. But, I'll answer. :) I don't use an audio player that keeps statistics, and Last.FM is useless for my collection, but I think my top played artists are Mahler, Beethoven, Brahms, Chopin, Holst, Sibelius, Tchaikovsky, Rachmaninoff, Debussy, Ravel, Bad Religion, 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 a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. --Bill Bryson
Re: [dev] [OT] Music?
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, no, no... This is going to be one of those threads > that turns into a series of long, off-topic threads about things > like off-topic threads, isn't it? Hm. Not good. But, I'll > answer. :) > > I don't use an audio player that keeps statistics, and Last.FM > is useless for my collection, but I think my top played artists > are Mahler, Beethoven, Brahms, Chopin, Holst, Sibelius, > Tchaikovsky, Rachmaninoff, Debussy, Ravel, Bad Religion, with > some generous helpings of Tim Minchin, Flogging Molly, Tool, > Clapton, The Who, Sublime, System of a Down, The Beach Boys, and > Falling You. I love the fact that there isn't even a beat before you turn from the classics to Bad Fng Religion! Peter
Re: [dev] [OT] Music?
On 8 September 2010 15:12, Nikhilesh S wrote: > What kind of music do you listen to? Your favourite artists, genres, > etc.? > Interesting. Suckless music may be classics as Beethoven, Brahms,Chopin, Ravel, Tchaikovsky... Besides, I like metal (rock sub-genre), classic rock, national folk, and some "universal" pop. There's a lot of bands in metal, mostly heavy metal bands, such as Iron Maiden, Tierra Santa, Avalanch, Stratovarious, Megadeth, others like Gojira, Rammstein, Tool... kind of it. My favorite band in classic rock is Pink Floyd, followed by Led Zeppelin, Black Sabbath, The Doors, Santana, Jimi Hendrix... etc. In Pop, there's many more as Duran Duran, Mano Negra, Sting... sort of it. This thread will be painful :) -- Joel Dávila (505)8816-9911
Re: [dev] [OT] Music?
An answer from a leecher: Avant-progressive rock Thinking Plague, 5uu's Progressive rock Yes, Genesis, King Crimson, Banco del Mutuo Soccorso David Sylvian Iva Bittova Jazz-rock Soft Machine, Hatfield and the North Frank Zappa John Zorn (Naked city and Masada) Thrash metal Metallica, Slayer, Megadeth, Evile, Nevermore, Sepultura, Anthrax, Exodus, Diamond Head, King Diamond Black Sabbath, Motorhead Death metal Entombed, Enslaved, Meshuggah, Portal, Gorguts Type 0 Negative (R.I.P. Peter) 1900's classical music Alban Berg, Arnold Schoenberg, Debussy, Satie, Prokofiev, Stockhausen, Scriabin ( fav ever: Horowitz plays Scriabin's "Vers la flamme" http://www.youtube.com/watch?v=WlqGkVc29Gw&feature=fvwd) Jazz Too many. Just to name a few of the classics: Parker, Brubeck and his quartet, Scofield, Coltrane, Petrucciani, Corea, Gershwin, Metheny, Pastorius, Swallow... Mainstream Simply Red, A-ha, Tears for Fears, Celine Dion, Run DMC, Spin Doctors, Massive Attack, Muse, Everything but the girl, Jamiroquai, Daft Punk... and really many more. Nikhilesh S wrote: > What kind of music do you listen to? Your favourite artists, genres, > etc.? --- Wyrmskull
Re: [dev] [OT] Music?
On Wed, Sep 8, 2010 at 10:35 PM, Joel Davila <6336...@gmail.com> wrote: > On 8 September 2010 15:12, Nikhilesh S wrote: >> >> What kind of music do you listen to? Your favourite artists, genres, >> etc.? > > Interesting. > > Suckless music may be classics as Beethoven, Brahms,Chopin, Ravel, > Tchaikovsky... I thought the only music that would count as suckless is John Cage's 4′33″. It's the only piece where there's just no bloat. Even that Nokia "classic" ringtone has 13 notes that are unnecessarily inflates the NOM (notes of music) metric. [I'm sorry, this is cruel caricaturing but I couldn't resist]. -- cheers, dave tweed__ computer vision reasearcher: david.tw...@gmail.com "while having code so boring anyone can maintain it, use Python." -- attempted insult seen on slashdot
Re: [dev] [OT] Music?
Paolo dixit (2010-09-08, 15:21): > ( fav ever: Horowitz plays Scriabin's "Vers la flamme" > http://www.youtube.com/watch?v=WlqGkVc29Gw&feature=fvwd) Basically, Horowitz's anything is in the fav-ever category. He's certainly the best represented single artist in my (probably largish) CD collection. And yes, vers la flamme along with a few other Scriabin's works are the fav-ever of the fav-ever. -- [a]
Re: [dev] [OT] Music?
On Thu, Sep 09, 2010 at 12:35:17AM +0200, Antoni Grzymala wrote: Paolo dixit (2010-09-08, 15:21): ( fav ever: Horowitz plays Scriabin's "Vers la flamme" http://www.youtube.com/watch?v=WlqGkVc29Gw&feature=fvwd) Basically, Horowitz's anything is in the 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 flexible than Ruby, more typeful than C#, more robust than Java, and has absolutely nothing in common with PHP. --Autrijus Tang
Re: [dev] [OT] Music?
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. --Norman Diamond
Re: [dev] [OT] Music?
And yes, by the way, the "minimalist" music is also interested in general. La Monte Young - http://www.youtube.com/watch?v=a7tmxHhcH0w Terry Riley - http://www.youtube.com/watch?v=OjR4QYsa9nE Jeff Greinke ... SL On 2010-09-08, à 23:27:40 +0100, David Tweed wrote : > On Wed, Sep 8, 2010 at 10:35 PM, Joel Davila <6336...@gmail.com> wrote: > > On 8 September 2010 15:12, Nikhilesh S wrote: > >> > >> What kind of music do you listen to? Your favourite artists, genres, > >> etc.? > > > > Interesting. > > > > Suckless music may be classics as Beethoven, Brahms,Chopin, Ravel, > > Tchaikovsky... > > I thought the only music that would count as suckless is John Cage's > 4′33″. It's the only piece where there's just no bloat. Even that > Nokia "classic" ringtone has 13 notes that are unnecessarily inflates > the NOM (notes of music) metric. > > [I'm sorry, this is cruel caricaturing but I couldn't resist]. > > > -- > cheers, dave tweed__ > computer vision reasearcher: david.tw...@gmail.com > "while having code so boring anyone can maintain it, use Python." -- > attempted insult seen on slashdot >
Re: [dev] [OT] Music?
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, no, no... This is going to be one of those threads that turns into a series of long, off-topic threads about things like off-topic threads, isn't it? Hm. Not good. But, I'll answer. :) I don't use an audio player that keeps statistics, and Last.FM is useless for my collection, but I think my top played artists are Mahler, Beethoven, Brahms, Chopin, Holst, Sibelius, Tchaikovsky, Rachmaninoff, Debussy, Ravel, Bad Religion, with some generous helpings of Tim Minchin, Flogging Molly, Tool, Clapton, The Who, Sublime, System of a Down, The Beach Boys, and Falling You. I love the fact that there isn't even a beat before you turn from the classics to Bad Fng Religion! Well, the way I see it, any band that's been making music for 30 years without losing its edge, with a Ph.D. for a lead singer, that can write a song about Boltzmann's orchestration of the law of entropy on the same album as songs about heroin abuse, social justice, superstition, and other just general awesomeness, easily deserves to be listed among the likes of Ravel, Holst, and Debussy. Maybe it's just me. -- Kris Maglione Real misanthropes are not found in solitude, but in the world; since it is experience of life, and not philosophy, which produces real hatred of mankind. --Giacomo Leopardi
[dev] [st] key compose patch
hi, thanks for 'st' here is a mini patch for key compose events support. saludos -f diff -r 6fd3c7b38f7c st.c --- a/st.c Fri Sep 03 00:15:43 2010 +0200 +++ b/st.c Wed Sep 08 20:31:22 2010 -0300 @@ -106,6 +106,8 @@ Display* dis; Window win; Pixmap buf; + XIM xim; + XIC xic; int scr; int w; /* window width */ int h; /* window height */ @@ -1212,6 +1214,14 @@ /* gc */ dc.gc = XCreateGC(xw.dis, xw.win, 0, NULL); + /* input methods */ + xw.xim = XOpenIM(xw.dis, NULL, NULL, NULL); + xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing | +XIMStatusNothing, +XNClientWindow, xw.win, +XNFocusWindow, xw.win, +NULL); + /* event mask */ XSelectInput(xw.dis, xw.win, ExposureMask | KeyPressMask | StructureNotifyMask | FocusChangeMask | PointerMotionMask @@ -1382,10 +1392,11 @@ int len; int meta; int shift; + Status status; meta = e->state & Mod1Mask; shift = e->state & ShiftMask; - len = XLookupString(e, buf, sizeof(buf), &ksym, NULL); + len = XmbLookupString(xw.xic, e, buf, sizeof(buf), &ksym, &status); if((customkey = kmap(ksym))) ttywrite(customkey, strlen(customkey)); @@ -1456,6 +1467,8 @@ } while(XPending(xw.dis)) { XNextEvent(xw.dis, &ev); + if (XFilterEvent(&ev, xw.win)) + continue; if(handler[ev.type]) (handler[ev.type])(&ev); }
Re: [dev] [OT] Music?
* David Tweed [2010-09-09 00:28]: > On Wed, Sep 8, 2010 at 10:35 PM, Joel Davila <6336...@gmail.com> wrote: > > On 8 September 2010 15:12, Nikhilesh S wrote: > >> > >> What kind of music do you listen to? Your favourite artists, genres, > >> etc.? > > > > Tchaikovsky... > > I thought the only music that would count as suckless is John Cage's > 4′33″. It's the only piece where there's just no bloat. +1 Not sure whether there are some SLOC that can be possibly removed without losing expressiveness. :o) * * * Since we are on a OT thread anyway, let me drop an ad for the place whose wifi spot I'm just in: If you happen to go to Plymouth, UK, have a pint of ale in the Nowhere Inn. And some random fine stuff from the last hours: metheny, bowie, iggy pop, elbow. -- stanio_
Re: [dev] [OT] Music?
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.? > funkst??rng, autechre, gridlock, the flashbulb, cepia, chris clark, boards of canada, four tet, the books, efterklang, fredrik, lcd soundsystem, sufjan stevens, iron & wine (favorite). i also write a lot of electronic music. -w
Re: [dev] [OT] Music?
On Thu, Sep 09, 2010 at 12:35:17AM +0200, Antoni Grzymala wrote: > Paolo dixit (2010-09-08, 15:21): Isn't his name just 'Paolo'? > > ( fav ever: Horowitz plays Scriabin's "Vers la flamme" > > http://www.youtube.com/watch?v=WlqGkVc29Gw&feature=fvwd) > > Basically, Horowitz's anything is in the fav-ever category. He's > certainly the best represented single artist in my (probably largish) > CD collection. This is cool, I was just checking this out on YouTube. I'm more into silly electronic music like 'Aphex Twin', 'Squarepusher' or 'Photek'. :) -- Nikhilesh S http://www.nikhilesh.info
Re: [dev] [OT] Music?
On Thu, Sep 09, 2010 at 03:31:09AM +0300, Nikhilesh S wrote: On Thu, Sep 09, 2010 at 12:35:17AM +0200, Antoni Grzymala wrote: Paolo dixit (2010-09-08, 15:21): Isn't his name just 'Paolo'? > ( fav ever: Horowitz plays Scriabin's "Vers la flamme" > http://www.youtube.com/watch?v=WlqGkVc29Gw&feature=fvwd) Basically, Horowitz's anything is in the fav-ever category. He's certainly the best represented single artist in my (probably largish) CD collection. This is cool, I was just checking this out on YouTube. Call me a 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] [surf] which version of WebKitGTK+ do you use?
On 10.09.06, Alex Puterbaugh wrote: > libwebkit version 1.2.3 from webkitgtk.org > Soup version 2.30.2 > icu version 4.4 > > Good luck :) > Thanks for those pointers, Alex. Libwebkit and surf compiled and working. :)
Re: [dev] [OT] Music?
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 tend to listen to classical music when gaming and death metal the rest of the time.