[dev] strlcpy and strlcat

2013-12-20 Thread Daniel Bryan
I just read this message by an OpenBSD developer on the prevalence of strlcpy in the OpenBSD ports tree: http://marc.info/?l=openbsd-tech&m=138733933417096&w=2 I'd like to know what the opinion here is of these functions. I've so far avoided them, but it seems like there's an argument to be made

Re: [dev] music db editor

2013-10-12 Thread Daniel Bryan
The reason all the existing solutions are so sucky is that they try to solve too many problems. I think that if you deconstruct what you want this program to do, the concept falls apart a little. I'm not sure how "suckless" it is in terms of the code - for all I know it's a maintainers' nightmare

Re: [dev] [sbase] Adding tar

2013-07-06 Thread Daniel Bryan
On 06/07/2013 8:30 PM, "Daniel Bryan" wrote: > > tar xzf filename.tar.gz ~/scratch/ Sorry, this should have been: > tar xzf filename.tar.gz -C ~/scratch/

Re: [dev] [sbase] Adding tar

2013-07-06 Thread Daniel Bryan
tar xzf filename.tar.gz ~/scratch/ On 06/07/2013 8:20 PM, "Dmitrij Czarkoff" wrote: > On Jul 6, 2013 12:16 PM, "Galos, David" > wrote: > > > > In short, how do you fine folks invoke your tar? > > $ tar czf filename.tar.gz foldername > $ tar tzf filename.tar.gz > $ tar xzf filename.tar.gz > > ---

Re: [dev] client-server model

2013-06-30 Thread Daniel Bryan
Yes, there aren't enough Patterns in suckless software. Why doesn't st use a client server model? Why doesn't the sbase implementation of split? Perhaps dwm should follow a distributed pub-sub pattern over COM for window control. On 30/06/2013 6:30 PM, "Christoph Lohmann" <2...@r-36.net> wrote: >

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Daniel Bryan
> first of all, some things in moreutils would be awesome Especially if they weren't written in Perl.

Re: [dev] [st] windows port?

2013-04-11 Thread Daniel Bryan
> Please can we try not to be needlessly dramatic and unpleasant here? > > The tone of this list gets quite hard to handle sometimes, and seems > to have been going more in this direction lately. > I know the prevailing sentiment here is that people should be > treated with the respect their comme

Re: [dev] swaprootname -- a tool just a little bit more useful than xsetroot -name.

2013-02-22 Thread Daniel Bryan
On 23 Feb 2013 00:13, "Alexander Sedov" wrote: > > It does completely different job. Wouldn't the new message be replaced with the old so quickly as to be unnoticeable, unless you passed it many lines or delayed EOF with a script?

Re: [dev] FTP script: how to store password?

2013-02-09 Thread Daniel Bryan
On Feb 10, 2013 10:53 AM, "Rox 64" wrote: > > >I'm writing a little FTP client in pure shell + curl for my personal needs. > > Looks interesting, will you make a public release? +1. I spend far too much time in sucky clients like FireFTP.

Re: [dev] snotes v0.9 - a simple notes system

2013-02-04 Thread Daniel Bryan
On Mon, Feb 04, 2013 at 10:47:34AM +0100, Petr Ĺ abata wrote: > I'm not sure how many people have graphical vim installed, > though. Perhaps you could switch to 'xterm -e vi' or something > like that. Of course, no default will work for everybody but > this one might cover somewhat more users. +1

Re: [dev] convergence

2013-01-01 Thread Daniel Bryan
On Tue, Jan 01, 2013 at 11:03:08PM -0500, Jacob Todd wrote: > I was the others in the thread to unsubscribe. I suggest you take a few > more classes on the english language. Perhaps if you had quoted someone it would have been less of a non sequitur.

Re: [dev] convergence

2013-01-01 Thread Daniel Bryan
On Wed, Jan 02, 2013 at 10:01:10AM +1100, Sam Watkins wrote: > On Tue, Jan 01, 2013 at 02:13:14PM +1100, Daniel Bryan wrote: > > Bash is my go-to for system scripting, but for something that will run > > 100% of the time on my system for years it's not over-engineering to d

Re: [dev] [dwmstatus] wifi patch

2012-12-31 Thread Daniel Bryan
On Mon, Dec 31, 2012 at 02:05:48PM +0700, Comrade DOS wrote: > You mad, bro? Use bash! Stay higher when you can. There are good reasons to do this in C. I work on a system with very limited battery life and CPU power, but I want to update the status bar once a second for various reasons. There's