Re: [dev] [PATCH] Simplify README

2014-08-18 Thread Weldon Goree
On Mon, 2014-08-18 at 12:58 +0200, Claudio wrote: > AFAIK a terminal is an hardware device. Since st is only a software > implementation it's ok to call it a virtual terminal emulator, isn't? > A virtual terminal presents the kernel the capabilities of a physical terminal (eg, /dev/tty3 or /dev/

Re: [dev] Looking for simple, alpha supporting image format

2014-07-18 Thread Weldon Goree
On 07/18/2014 10:45 PM, Charlie Murphy wrote: > > Interesting. How could a header change the compression so much? > http://en.wiktionary.org/wiki/Shannon_entropy Ideal compression is based on a known PMF. Actual compression is based on a heuristic PMF. A header changes that heuristic PMF, some

Re: [dev] Attempt at a suckless syslog

2014-07-18 Thread Weldon Goree
On 07/18/2014 10:27 PM, Weldon Goree wrote: > On 07/18/2014 06:46 PM, Zack Breckenridge wrote: >> \>> >> Of course you never know... Is it possible to make severity and >> facility unsigned integers? >> > > It comes over the wire as an ASCII char which is

Re: [dev] Attempt at a suckless syslog

2014-07-18 Thread Weldon Goree
On 07/18/2014 06:46 PM, Zack Breckenridge wrote: > > Regarding line 91-92 of logwd.c: > >> if ((severity > 7) || (severity < 0)) { severity = 8; } >> /* Sue me. I'm paranoid. I'm aware of how this "can't happen"... */ > > Of course you never know... Is it possible to make severity and > facilit

[dev] Attempt at a suckless syslog

2014-07-18 Thread Weldon Goree
Hi all, So, I got tired of trying to make sysklogd play nice with musl, and I built this[0]. It probably needs work, but I thought I would request comments. It's the syslog for my toy/personal obsession distro. I think it adheres to the suckless philosophy pretty well. It opens a UNIX socket at /

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Weldon Goree
(Sorry, Norman, you'll get this twice. One day I'll get "reply list" down...) On 07/17/2014 03:39 PM, Norman Köhring wrote: > What about Meta-Data? Like with audio files, meta data can be very useful to > have. I have two proposals for this: > Why add metadata capability to a format whose expres

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Weldon Goree
On 07/17/2014 02:43 PM, FRIGN wrote: > > I love this approach! Instead of trying to compress the image in the > format itself (like PNG), we just leave it to the compressor to > determine certain similarities and patterns. > I suppose LZMA will give even better results. > I'm thinking back to my

Re: [dev] suckless arg.h

2014-07-14 Thread Weldon Goree
On 07/14/2014 09:54 PM, Carlos Torres wrote: > Enjoy! I do! Huge thanks to all of those who made this. Weldon

Re: [dev] suckless arg.h

2014-07-14 Thread Weldon Goree
On 07/14/2014 09:57 PM, Dimitris Papastamos wrote: > > so for a single foo.c: > > #include "arg.h" > > char *argv0; /* not static */ > Ah, that was it. I had static char const *argv0; Removing the staticness fixed it. Weldon

[dev] suckless arg.h

2014-07-14 Thread Weldon Goree
How much of util/ needs to be pulled in if one copies arg.h and its fairly awesome ARGBEGIN, etc.? Weldon

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-02 Thread Weldon Goree
On 07/02/2014 04:39 PM, FRIGN wrote: > > What I noticed is that the code I write without syntax-highlighting is > easier to read if you look at it with syntax highlighting than > comparable code written with SH and then looked at without. > Depends on the language, I guess. I do a lot of stuff i

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Weldon Goree
On 07/01/2014 07:34 PM, FRIGN wrote: > > I'm sure it's not, given I deal with lemmata every day being a > mathematician. What you have presented simply is a question. > In a rare event on mailing lists, I concede: it wasn't a lemma, but an invitation to make one. > See the "."-suggestion as a s

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Weldon Goree
On 07/01/2014 07:21 PM, FRIGN wrote: > > This is not a lemma. > > I know a good program. It's called ".". Check it out! > Pretty sure it's a lemma. Dot is great. It also doesn't do what I'm looking for, and isn't even a "program" in most sense of the word. Cheers, Weldon

Re: [dev] Why do you use tmux/screen?

2014-06-30 Thread Weldon Goree
On 07/01/2014 06:18 AM, Dimitris Zervas wrote: > > After a year or so in the list, I think each and every one is using tmux or > screen (I think more tmux, but do not start a war please, that's not the > subject). > Why is that? For the tabs? > Why not use tabbed? or DWM's mono-view (how is it c

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-06-29 Thread Weldon Goree
On 06/29/2014 08:28 PM, Dimitris Papastamos wrote: > > Using curses is pretty much the only option and the most sensible. > There's a small lib for text programming[0] but at the moment is in > its infancy. Some people have mentioned termobox[1] to me but I > have never looked at it. > I don't

Re: [dev] suckless distro

2014-06-25 Thread Weldon Goree
On 06/26/2014 12:08 AM, Sylvain BERTRAND wrote: > > Could you repost on the thread I was rightfully requested to > create for this topic. > No, I have neither a dog in this fight (use whatever works for you, seriously) nor a desire to alienate a list which 1) I only joined a few days ago, 2) Is

Re: [dev] suckless distro

2014-06-25 Thread Weldon Goree
On 06/25/2014 05:35 PM, Sylvain BERTRAND wrote: > > Using a makefile is overkill. Should be a sh script. > > Makefiles should be used only when there are too many source > files to recompile for a build increment. Huh. Make strikes me as one of the more suckless tools out there. It does exactly

Re: [dev] suckless distro

2014-06-24 Thread Weldon Goree
On 06/24/2014 06:27 PM, Markus Teich wrote: > > please fix your mailservers time. > Gah! Sorry, all. Worse yet, it was the local time on my laptop (though I thought I had set postfix to mangle supplied Date: headers), and now I have a ~24h clock skew in the middle of a large cross-compile. WMG

Re: [dev] suckless distro

2014-06-24 Thread Weldon Goree
On 06/24/2014 04:22 PM, Dimitris Papastamos wrote: > > There's also smdev[0] if you are interested. > Neat, thanks. I'll definitely try it out.

Re: [dev] suckless distro

2014-06-24 Thread Weldon Goree
On 06/24/2014 04:20 PM, Dimitris Papastamos wrote: > > Systemd is not the only issue. > Specifically, maintaining a stable platform is something of an impossibility. Upstream fixes are too-rarely backported (and what the else would I use a distro for?), and so when Heartbleed_2.0 or whate

Re: [dev] suckless distro

2014-06-24 Thread Weldon Goree
On 06/24/2014 11:58 AM, Markus Teich wrote: > I've built me a hardware tailored kernel, containing only the drivers, my > laptop > needs and mostly statically linked. Only a few drivers (UMTS modem, wifi, > audio) > are built as modules for convenience reasons, so I don't have to reboot if one >