[dev] Suck less software discussion in reddit

2009-08-12 Thread Uriel
http://www.reddit.com/r/programming/comments/99yom/the_secret_of_success_suck_less/ Enjoy. uriel

Re: [dev] [PATCH] dwm -- Proper SIGCHLD usage , fix issue with uncollected processes

2009-08-12 Thread Neale Pickett
Premysl 'Anydot' Hruby writes: > This is much cleaner and portable way of using SIGCHLD. It also > disallow existence of defunct processes, one which are executed for > example from .Xsession before (on the end) exec /path/../dwm I contributed the original sigchld patch. I like your patch, Anyd

Re : [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Julien Steinhauser
IMO very bad idea. If you do that you won't be able to run command with arguments (eg. urxvt -e irssi). Regards, Slawek. You're right, but dmenu is small enough to have several version in /usr/local/bin. At the moment, I've one with Fresch patch for vertical display and xmms like matching, f

RE: [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Sławomir Gonet
IMO very bad idea. If you do that you won't be able to run command with arguments (eg. urxvt -e irssi). Regards, Slawek. -Original Message- From: Julien Steinhauser Sent: 12 sierpnia 2009 20:39 To: dev@suckless.org Subject: [dev] dmenu : auto confirm when only one item remains Hello, S

Re: [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Julien Steinhauser
On Aug 12, 2009, at 21:56 PM, Donald Chai wrote: >You're so close! > >Adding the following lines to the end of the match(void) procedure should do the trick: >if(item && item==itemend) { >fprintf(stdout, "%s", item->text); >fflush(stdout); >running =

Re: [dev] [PATCH] dwm -- Proper SIGCHLD usage , fix issue with uncollected processes

2009-08-12 Thread Jukka Salmi
Premysl Hruby --> dev (2009-08-12 17:39:26 +0200): > On (12/08/09 17:24), Jukka Salmi wrote: [...] > > Seems fine, but -- assuming POSIX.1 reliable signals -- you don't need > > to reestablish the handler before returning from it. Or should systems > > with the old semantics really be supported by

Re: [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Donald Chai
On Aug 12, 2009, at 11:39 AM, Julien Steinhauser wrote: Hello, Sorry, I don't write to bring a patch. I wander if someone has already patched dwm to make it auto confirm when, (as said in the subject) only one item remains. I've found something on the mailing list which is almost what I wish b

Re: [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Tadeusz Sośnierz
Dnia 2009-08-12, o godz. 14:45:47 Colin Shea napisał(a): > On Wed, Aug 12, 2009 at 08:39:41PM +0200, Julien Steinhauser wrote: > > Hello, > > Sorry, I don't write to bring a patch. > > I wander if someone has already patched dwm > > to make it auto confirm when, (as said in the subject) > > only

Re: [dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Colin Shea
On Wed, Aug 12, 2009 at 08:39:41PM +0200, Julien Steinhauser wrote: > Hello, > Sorry, I don't write to bring a patch. > I wander if someone has already patched dwm > to make it auto confirm when, (as said in the subject) > only one item remains. > > I've found something on the mailing list which is

[dev] dmenu : auto confirm when only one item remains

2009-08-12 Thread Julien Steinhauser
Hello, Sorry, I don't write to bring a patch. I wander if someone has already patched dwm to make it auto confirm when, (as said in the subject) only one item remains. I've found something on the mailing list which is almost what I wish but not exactly, it auto confirms on exact match. It could

Re: [dev] [PATCH] dwm -- Proper SIGCHLD usage , fix issue with uncollected processes

2009-08-12 Thread Premysl Hruby
On (12/08/09 17:24), Jukka Salmi wrote: > Date: Wed, 12 Aug 2009 17:24:24 +0200 > From: Jukka Salmi > To: dev@suckless.org > Subject: Re: [dev] [PATCH] dwm -- Proper SIGCHLD usage , fix issue with > uncollected processes > List-Id: dev mail list > User-Agent: Mutt/1.5.20 (2009-06-20) > > Premys

Re: [dev] [PATCH] dwm -- Proper SIGCHLD usage , fix issue with uncollected processes

2009-08-12 Thread Jukka Salmi
Premysl 'Anydot' Hruby --> dev (2009-08-11 23:43:58 +0200): > This is much cleaner and portable way of using SIGCHLD. It also disallow > existence of defunct processes, one which are executed for example from > .Xsession before (on the end) exec /path/../dwm > --- > dwm.c |8 +--- > 1 file

[dev] [last] lastfm interface

2009-08-12 Thread Henry
On 10.08.2009, at 21:22, Yoshi Rokuko wrote: a few days ago i tried out last[1]. i found out that it uses factotum and i managed to give factotum my lastfm-id but the sourcecode and/or the lastfm API is to complex for me to know how to use last[1]. i know inside last[1] there is the help comma

[dev] surf patch - null title

2009-08-12 Thread Ryan Zheng
Gdk-CRITICAL **: gdk_window_set_title: assertion `title != NULL' failed to reproduce: 1. open surf 2. surf-title.patch Description: Binary data