Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Evan Gates
>> Something like >> >>        ls `IFS=:; echo $PATH` > > no no, just > > IFS=:; ls $PATH > > -Evan > Really wish I had an undo send feature... (IFS=:; ls $PATH) -Evan

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Evan Gates
> Something like > >        ls `IFS=:; echo $PATH` no no, just IFS=:; ls $PATH -Evan

Re: [dev] [dwm] x11 corner case bug

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 4:28 PM, Anselm R Garbe wrote: > Unmapping proved to be a bit slower, which is why I used the window > moving trick. I guess the best is to move the windows into negative x > land to have a proper fix. How much slower? Unmapping would seem to be more correct, even if we a

Re: [dev] [dwm] x11 corner case bug

2011-10-24 Thread Connor Lane Smith
On 24/10/2011, Anselm R Garbe wrote: > How come? The negative land is not mapped. I would have expected the window to reach the same invisible limit as it does when moved to the right. But according to Matt on IRC it works fine if you patch dwm to move the window left instead of right; something

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 5:22 PM, Džen > OK, regarding information density in a one-liner you win. can be extended: ls /{,usr/{,local/}}{,s}bin (at least it works in ksh) well, I'm glad we at least got something useful out of this thread. -- # Kurt H Maier

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Džen
On 24/10/2011 23:13, mikshaw wrote: What about ls /usr/{,local}/bin OK, regarding information density in a one-liner you win. -- Džen

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Džen
;) On 24/10/2011 22:59, Kurt H Maier wrote: why bother listing /usr/local/bin if /usr/bin isn't around? Why not? (actually I started with a much more complicated (and complete) version and edited it down to that. no optimization passes were performed.) Something like ls `IFS=:; e

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread mikshaw
- Original Message - > From: Džen > > On 23/10/2011 23:43, Kurt H Maier wrote: > [...] >> ls /usr/bin/ &&  ls /usr/local/bin > > Your one-liner sucks. Talking about CLI tools, most of all we should be > precise at how to use them correctly; otherwise how would we be able to > decide wh

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 4:43 PM, Džen wrote: >        ls /usr/bin /usr/local/bin why bother listing /usr/local/bin if /usr/bin isn't around? (actually I started with a much more complicated (and complete) version and edited it down to that. no optimization passes were performed.) -- # Kurt H

Re: [dev] Re: sharpening the suckless philosophy

2011-10-24 Thread Connor Lane Smith
Hey, On 24/10/2011, Anselm R Garbe wrote: > Is wmii relocated to a different domain/host now? The code is on Google Code [1], but it still points to Suckless "for anything other than the issue tracker." Judging by Kris's active refusal to comment, that probably won't change soon. I say let them

[dev] Re: sharpening the suckless philosophy

2011-10-24 Thread Anselm R Garbe
Is wmii relocated to a different domain/host now? Cheers, Anselm

Re: [dev] [dwm] x11 corner case bug

2011-10-24 Thread Anselm R Garbe
On 24 October 2011 22:46, Connor Lane Smith wrote: > On 24/10/2011, Anselm R Garbe wrote: >> Unmapping proved to be a bit slower, which is why I used the window >> moving trick. I guess the best is to move the windows into negative x >> land to have a proper fix. > > I suspect we'd have the same

Re: [dev] [dwm] x11 corner case bug

2011-10-24 Thread Connor Lane Smith
Hey, On 24/10/2011, Anselm R Garbe wrote: > Unmapping proved to be a bit slower, which is why I used the window > moving trick. I guess the best is to move the windows into negative x > land to have a proper fix. I suspect we'd have the same problem if we were to move the windows far to the left

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Džen
On 23/10/2011 23:43, Kurt H Maier wrote: [...] ls /usr/bin/ && ls /usr/local/bin Your one-liner sucks. Talking about CLI tools, most of all we should be precise at how to use them correctly; otherwise how would we be able to decide whether they are useful or not? How about ls /usr/bin

Re: [dev] List of tools for a CLI environment

2011-10-24 Thread Anselm R Garbe
On 24 October 2011 00:05, Bjartur Thorlacius wrote: > By the way, how's sta.li progressing? Still paused. Cheers, Anselm

Re: [dev] [dwm] x11 corner case bug

2011-10-24 Thread Anselm R Garbe
On 10 October 2011 20:53, Connor Lane Smith wrote: > On 10/10/2011, Matthew Phillips wrote: >> I stumbled on an odd dwm X11 bug yesterday. Resize any window (a terminal >> works) to 4-5 times the width of your screens resolution, and at some point >> the floating superwide window will appear on a

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Christoph Lohmann
Greetings comrades. On 24.10.2011 20:10, Corey Thomasson wrote: > On 24 October 2011 14:00, mikshaw wrote: > >> Unrestricted freedom is impossible > > And there's no such thing as restricted freedom. There is positive discrimination too. >> I just disagree with people who support those licens

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Corey Thomasson
On 24 October 2011 14:00, mikshaw wrote: > > > Unrestricted freedom is impossible > And there's no such thing as restricted freedom. > > I just disagree with people who support those licenses while rabidly > claiming the GPL to be some kind of evil cancer. > > But the GPL is *designed* to be a

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 2:00 PM, mikshaw wrote: >If you're stifling another person's freedoms, you're doing something bad. "Not giving you stuff" is not stifling your freedom. >They're free only up to the point when a dev decides to turn the code >into a proprietary product... At which point th

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Paul Onyschuk
On Sun, 23 Oct 2011 14:54:18 +0200 Andreas Krennmair wrote: > > Primarily, the GPL balances freedom towards the agenda of the FSF and > their specific interpretation of the term "freedom". > > -ak > Copyleft or not? This is never ending discussion, mostly ideological. GPL has many others pro

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread mikshaw
- Original Message - > From: Al Gest > In the real world a person's freedoms are very much decided by their > ability to obtain those freedoms. That might not fall in line with > your moralistic ideologies, but it is reality. > > The GPL is nothing more than Richard Stallman's highly

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Bryan Bennett
> The GPL is nothing more than Richard Stallman's highly encumbered > temper-tantrum against propriety software, it has almost nothing to do > with true freedom. Eloquently sums up my issue with the GPL itself as well as the FSF in general.

Re: [dev] Simple made Easy (Rich Hickey at StrangeLoop)

2011-10-24 Thread Connor Lane Smith
On 24 October 2011 12:52, Florian Limberger wrote: > Are you talking about Windows PowerShell? It's even object oriented!111 Object orientation is what happens when people who don't understand higher-order functions or multiple dispatch try to invent a programming language and end up with a

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Al Gest
On 23 October 2011 13:47, mikshaw wrote: > Claiming a person's freedoms are decided by their ability to obtain those > freedoms?  Very wrong.  Just as laws against slavery are there to balance the > freedoms of all, GPL is there to balance the freedoms of all users & devs, > present and future.

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Bjartur Thorlacius
On Mon, 24 Oct 2011 14:46:24 -, Stephen Paul Weber wrote: Somebody claiming to be mikshaw wrote: As far as the cc-nd license RMS apparently prefers for his own audio, I fully agree this is hypocritical and wrong. Not to wade into a flametroll war, but for the record (in case there are pe

Re: [dev] Ranger, a textbased filemanager

2011-10-24 Thread Bjartur Thorlacius
On Mon, 24 Oct 2011 06:09:14 -, lolilolicon wrote: On Mon, Oct 24, 2011 at 6:01 AM, Bjartur Thorlacius wrote: exec /dev/tty2 2>/dev/tty1 #optionally stty -echo while read doclear $REPLY done Why in Mímir's name do error messages and output get written to where my input is echoed

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Niki Yoshiuchi
So I guess that means no auto-tuned Richard Stallman huh? On Mon, Oct 24, 2011 at 10:46 AM, Stephen Paul Weber < singpol...@singpolyma.net> wrote: > Somebody claiming to be mikshaw wrote: > >> From: Kurt H Maier >> >>> only an idiot compares a software license to slavery. >>> >> As far as the

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Stephen Paul Weber
Somebody claiming to be mikshaw wrote: From: Kurt H Maier   only an idiot compares a software license to slavery. As far as the cc-nd license RMS apparently prefers for his own audio, I fully agree this is hypocritical and wrong. Not to wade into a flametroll war, but for the record (in case

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Manolo Martínez
On 10/24/11 at 10:30am, Kurt H Maier wrote: > > users don't give a shit about software licensing > I do. > > -- > # Kurt H Maier > --

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 10:26 AM, mikshaw wrote: > GPL is, in my opinion, a very good balance between dev and user. users don't give a shit about software licensing -- # Kurt H Maier

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread mikshaw
From: Kurt H Maier >  only an idiot compares a software license to slavery. It was not I who made, or agreed with, the original slavery comparison. As far as the cc-nd license RMS apparently prefers for his own audio, I fully agree this is hypocritical and wrong. I don't like some of the thin

Re: [dev] Simple made Easy (Rich Hickey at StrangeLoop)

2011-10-24 Thread Florian Limberger
On Sat, 22 Oct 2011 09:35:00 +0100, Connor Lane Smith wrote: [...] So I think the necessary next step would be to have a strongly typed shell. To pretty-print you'd need to add a polymorphic "à la carte" (multiple dispatch) pretty-printing function for the given data type. The type inference woul

Re: [dev] [st] Drawing optimizations

2011-10-24 Thread Stefan Mark
On 21.10.2011 00:00, Aurélien Aptel wrote: > Hi, > > I know st rendering is slow. I'm currently trying out different > solutions but I can tell you profiling X calls is no fun. > > tip now uses a simple dirty flag per line algorithm. > Each modified line has the flag set to 1. Only dirty lines ar

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-24 Thread Pierre Chapuis
On 24.10.2011 00:10, pancake wrote: Use sloccount. It doesnt matters how do you indent with this tool.. Well, some syntaxes are not handled at all like if().. And if()\n.. But you get proper loccount Thanks for the info. I've used sloccount before but never tried to understand how it computes i