Re: [dev] Ranger, a textbased filemanager

2011-10-24 Thread lolilolicon
On Mon, Oct 24, 2011 at 6:01 AM, Bjartur Thorlacius svartma...@gmail.com wrote: if the task is 'waste a bunch of screen real estate' then no, ranger is a far better choice The current combination of a shell and a terminal emulator is horrible. I've found myself doing stuff like: exec

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

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 are

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 would

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 Stephen Paul Weber
Somebody claiming to be mikshaw wrote: From: Kurt H Maier karmaf...@gmail.com   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

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 karmaf...@gmail.com only an idiot compares a software license to slavery. As far as

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

2011-10-24 Thread Connor Lane Smith
On 24 October 2011 12:52, Florian Limberger f...@snakeoilproductions.net 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

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] 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 Paul Onyschuk
On Sun, 23 Oct 2011 14:54:18 +0200 Andreas Krennmair a...@synflood.at 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

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Kurt H Maier
On Mon, Oct 24, 2011 at 2:00 PM, mikshaw mrb...@yahoo.com 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

Re: [dev] Anti-GPL hipsters

2011-10-24 Thread Corey Thomasson
On 24 October 2011 14:00, mikshaw mrb...@yahoo.com 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*

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 mrb...@yahoo.com 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

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

2011-10-24 Thread Anselm R Garbe
On 10 October 2011 20:53, Connor Lane Smith c...@lubutu.com wrote: On 10/10/2011, Matthew Phillips ma...@cpan.org 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

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

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

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] [dwm] x11 corner case bug

2011-10-24 Thread Connor Lane Smith
Hey, On 24/10/2011, Anselm R Garbe garb...@gmail.com 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

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

2011-10-24 Thread Anselm R Garbe
On 24 October 2011 22:46, Connor Lane Smith c...@lubutu.com wrote: On 24/10/2011, Anselm R Garbe garb...@gmail.com 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

[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] 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 yvl...@gmail.com 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

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

2011-10-24 Thread mikshaw
- Original Message - From: Džen yvl...@gmail.com 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

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=:;

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 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] [dwm] x11 corner case bug

2011-10-24 Thread Connor Lane Smith
On 24/10/2011, Anselm R Garbe garb...@gmail.com 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

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 garb...@gmail.com 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

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] 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