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

2011-10-27 Thread hiro
Object orientation is downloading flash to participate in off-topic
meta discussions.



Re: [dev] Linux sucks!

2011-10-27 Thread Pierre Chapuis

"And here are the super fancy slides in OpenOffice format."

Stopped here. This guy is not qualified to rant.



Re: [dev] Re: sharpening the suckless philosophy

2011-10-27 Thread hiro
I guess no wmii guy will take your freedom to delete. But please also
remember potential new user's freedoms.

I reserve my rights to sue anybody involved in this megafuckup with
the help of net neutrality laws. I guess I'll also call RMS and ask
him to create a poll or so.



Re: [dev] Linux sucks!

2011-10-27 Thread Dieter Plaetinck
that guy is wrong in so many ways I won't even bother to mention any specifics.

Sure, the stuff he mentions is somewhat correlated to the real problems with 
"spare time open source software", but his interpretations and "solutions", oh 
my.  He doesn't really know what he's talking about.

Dieter



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

2011-10-27 Thread Jimmy Tang

On 26 Oct 2011, at 17:12, Kurt H Maier wrote:

> On Wed, Oct 26, 2011 at 11:34 AM, Jimmy Tang  wrote:
>> just showed this to a friend of mine and he cooked this up
>> 
>> ls ${PATH//:/ }
> 
> shit only works in bash
> 

oddly it worked in mksh which is the main shell that i tend to use. but yea, it 
is a bit of a bashism type thing there. in relation to spaces in a directory 
name, well that just sucks doesn't it ;)

Regards,
Jimmy Tang

--
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/




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

2011-10-27 Thread Bjartur Thorlacius
On 10/27/11, Jimmy Tang  wrote:
>
> On 26 Oct 2011, at 17:12, Kurt H Maier wrote:
>
>> On Wed, Oct 26, 2011 at 11:34 AM, Jimmy Tang  wrote:
>>> just showed this to a friend of mine and he cooked this up
>>>
>>> ls ${PATH//:/ }
>>
>> shit only works in bash
>>
>
> oddly it worked in mksh which is the main shell that i tend to use. but yea,
> it is a bit of a bashism type thing there. in relation to spaces in a
> directory name, well that just sucks doesn't it ;)
>
Directory names are a sequence of arbitrary nonzero bytes. Parsing a
concatenation of arbitrary strings sucks. Directories can only be
separated by zero bytes.



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

2011-10-27 Thread markus schnalke
[2011-10-27 09:05] Bjartur Thorlacius 
>
> Directory names are a sequence of arbitrary nonzero bytes. Parsing a
> concatenation of arbitrary strings sucks. Directories can only be
> separated by zero bytes.

That's actually a bug in Unix, discovered too late.


meillo



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

2011-10-27 Thread Troels Henriksen
Bjartur Thorlacius  writes:

> On 10/27/11, Jimmy Tang  wrote:
>>
>> On 26 Oct 2011, at 17:12, Kurt H Maier wrote:
>>
>>> On Wed, Oct 26, 2011 at 11:34 AM, Jimmy Tang  wrote:
 just showed this to a friend of mine and he cooked this up

 ls ${PATH//:/ }
>>>
>>> shit only works in bash
>>>
>>
>> oddly it worked in mksh which is the main shell that i tend to use. but yea,
>> it is a bit of a bashism type thing there. in relation to spaces in a
>> directory name, well that just sucks doesn't it ;)
>>
> Directory names are a sequence of arbitrary nonzero bytes. Parsing a
> concatenation of arbitrary strings sucks. Directories can only be
> separated by zero bytes.

Well, in a PATH variable, they're always separated by colons.

-- 
\  Troels
/\ Henriksen



[dev] [dwm] Where is monocle mode in dwm 1.7.1?

2011-10-27 Thread Martin Kopta
I just returned back to dwm after long time and I miss monocle mode. I 
was searching in mailing list and commit messages, but I couldn't find 
any mention of monocle mode being stripped out. Also, website of dwm 
says, there are three modes (tiled, monocle, floating). Did I miss 
something?


mkopta



Re: [dev] [dwm] Where is monocle mode in dwm 1.7.1?

2011-10-27 Thread Kurt H Maier
current dwm version is 5.9 try again


-- 
# Kurt H Maier



Re: [dev] [dwm] Where is monocle mode in dwm 1.7.1?

2011-10-27 Thread Martin Kopta

that explains few things..

thank you

On 10/27/2011 02:40 PM, Kurt H Maier wrote:

current dwm version is 5.9 try again






Re: [dev] Linux sucks!

2011-10-27 Thread Bryan Bennett
I watched this last night and raged pretty hard for 45 minutes. The
guy has somevalid points, but proposes absolutely no viable solution
for it. His pointregarding video editors requiring significant
dedicated development time andtheir non-existance for Linux, for
instance, is valid. Asking that distrossupport closed source software
is non-sensical at best and just plain fucking stupid at worst.
He also argues for a "unified package management system". We have this
already in the form of the source code, which just further displays
that he's an end user whining that he shouldn't have to manage his own
system. (He also places the burden of packaging on the developer,
which is just inane in my opinion.)
Honestly, the guy's a moron. He raises a couple of valid complaints
and proposes"solutions" - but his points don't hold enough water and
his solutions aresimply absurd. Not enough real content to justify him
sitting up in front ofusers for 45 minutes and whining about all of
it.



Re: [dev] Linux sucks!

2011-10-27 Thread hiro
"this video is not available" sucks



Re: [dev] Linux sucks!

2011-10-27 Thread hiro
You guys are so stupid if you think ./configure is great



Re: [dev] Linux sucks!

2011-10-27 Thread Justin Pogue
On Thu, 2011-10-27 at 16:04 +0200, hiro wrote:
> You guys are so stupid if you think ./configure is great
> 

beat me to it




Re: [dev] Linux sucks!

2011-10-27 Thread Bryan Bennett
I don't think anyone here actually feels that the monolith that most configure
scripts become is a good thing. However, that's not within the scope of what's
going on here - the idea being that ./configure is a necessary part of compiling
a sizable portion of software. Saying that we need a 'universal package
management' solution is absurd when we already have one.



Re: [dev] Linux sucks!

2011-10-27 Thread Pieter Praet
On Thu, 27 Oct 2011 16:02:46 +0200, hiro <23h...@googlemail.com> wrote:
> "this video is not available" sucks
> 

Don't worry, you're not missing out on anything, besides the guy
making a total fool of himself in front of a totally oblivious
audience (which is just annoying; no comical value whatsoever).


If you're really intent on wasting some time anyway, this works:

  youtube-dl 
http://blip.tv/jupiterbroadcasting/why-desktop-linux-sucks-and-what-we-can-do-about-it-2057606


Peace

-- 
Pieter



Re: [dev] Linux sucks!

2011-10-27 Thread Pieter Praet
On Thu, 27 Oct 2011 16:04:21 +0200, hiro <23h...@googlemail.com> wrote:
> You guys are so stupid if you think ./configure is great
> 

Nobody said anything of the like.

Are you projecting or something? ;)


Peace

-- 
Pieter



Re: [dev] Linux sucks!

2011-10-27 Thread Kurt H Maier
On Thu, Oct 27, 2011 at 10:54 AM, Bryan Bennett  wrote:
> I don't think anyone here actually feels that the monolith that most configure
> scripts become is a good thing. However, that's not within the scope of what's
> going on here - the idea being that ./configure is a necessary part of 
> compiling
> a sizable portion of software. Saying that we need a 'universal package
> management' solution is absurd when we already have one.

now it sounds like you're saying autoconf is a universal package
system, which is just as stupid as the original video


-- 
# Kurt H Maier



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

2011-10-27 Thread Bjartur Thorlacius

On Thu, 27 Oct 2011 10:36:20 -, markus schnalke 
wrote:


That's actually a bug in Unix, discovered too late.


Yeah, and SQL injection attacks are PEBKAC problems. Tokenization by
insertion of whitespace into arbitrary strings is plain harmful. The bug  
in Unix is caused by separating strings by colons. That's why we use rc  
(*cough*).




Re: [dev] Bugs in dwm

2011-10-27 Thread pancake

https://bugzilla.gnome.org/show_bug.cgi?id=662862

On 10/26/11 00:22, Kurt H Maier wrote:

On Tue, Oct 25, 2011 at 4:52 PM, pancake  wrote:

1) gtk3 apps when resized by using the corner widget (see gedit for example)
got hanged an capture the mouse. Only solution is to go to console and kill
it. Else your X got fucked up. This bug only happens in dwm. The other wm
work fine

this bug only happens in gtk3.  other toolkits work fine.  gedit also
hangs under twm and evilwm on the test vm I just built.  should be
filed as a bug with gnome.org.








Re: [dev] Linux sucks!

2011-10-27 Thread Christoph Lohmann
Greetings.

On 27.10.2011 02:04, Guilherme Lino wrote:
> yo
> 
> fund this.. it kind of old, but it rise some questions
> 
> http://lunduke.com/?p=429
> 
> how do you feel about this?

At least he is able to setup a website.


Sincerely,

Christoph Lohmann



Re: [dev] Linux sucks!

2011-10-27 Thread David

Am 27.10.2011 17:57, schrieb Christoph Lohmann:

Greetings.

On 27.10.2011 02:04, Guilherme Lino wrote:

yo

fund this.. it kind of old, but it rise some questions

http://lunduke.com/?p=429

how do you feel about this?

At least he is able to setup a website.


Sincerely,

Christoph Lohmann


Yeah wordpress, wow!



[dev] [dmenu] patch - multisel

2011-10-27 Thread Evan Gates
Hello,

After some discussion in #suckless here is a patch that allows
multiselect in dmenu.  Ctrl+enter prints the selected item without
exiting dmenu, and changes its color.

Enjoy,
-emg
diff -r bebcf140b8a9 dmenu.1
--- a/dmenu.1	Wed Oct 26 14:16:12 2011 +0100
+++ b/dmenu.1	Thu Oct 27 12:56:43 2011 -0700
@@ -85,2 +85,5 @@
 .TP
+.B Ctrl-Return
+Confirm selection.  Prints the selected item to stdout and continues.
+.TP
 .B Shift\-Return (Ctrl\-Shift\-j)
diff -r bebcf140b8a9 dmenu.c
--- a/dmenu.c	Wed Oct 26 14:16:12 2011 +0100
+++ b/dmenu.c	Thu Oct 27 12:56:43 2011 -0700
@@ -24,2 +24,3 @@
 	Item *left, *right;
+	Bool out;
 };
@@ -51,2 +52,4 @@
 static const char *selfgcolor  = "#ff";
+static const char *outbgcolor  = "#00";
+static const char *outfgcolor  = "#00";
 static unsigned int lines = 0;
@@ -54,2 +57,3 @@
 static unsigned long selcol[ColLast];
+static unsigned long outcol[ColLast];
 static Atom clip, utf8;
@@ -187,3 +191,4 @@
 			dc->y += dc->h;
-			drawtext(dc, item->text, (item == sel) ? selcol : normcol);
+			drawtext(dc, item->text, (item == sel) ? selcol :
+			 (item->out)   ? outcol : normcol);
 		}
@@ -199,3 +204,4 @@
 			dc->w = MIN(textw(dc, item->text), mw - dc->x - textw(dc, ">"));
-			drawtext(dc, item->text, (item == sel) ? selcol : normcol);
+			drawtext(dc, item->text, (item == sel) ? selcol :
+			 (item->out)   ? outcol : normcol);
 		}
@@ -280,2 +286,5 @@
 			return;
+		case XK_Return:
+		case XK_KP_Enter:
+			break;
 		default:
@@ -352,3 +361,6 @@
 		puts((sel && !(ev->state & ShiftMask)) ? sel->text : text);
-		exit(EXIT_SUCCESS);
+		if(!(ev->state & ControlMask))
+			exit(EXIT_SUCCESS);
+		sel->out = True;
+		break;
 	case XK_Right:
@@ -468,2 +480,3 @@
 			eprintf("cannot strdup %u bytes:", strlen(buf)+1);
+		items[i].out = False;
 		if(strlen(items[i].text) > max)
@@ -519,2 +532,4 @@
 	selcol[ColFG]  = getcolor(dc, selfgcolor);
+	outcol[ColBG]  = getcolor(dc, outbgcolor);
+	outcol[ColFG]  = getcolor(dc, outfgcolor);
 


Re: [dev] Linux sucks!

2011-10-27 Thread Guilherme Lino
yeah but the true is that a linux desktop is almost useless for a normal
person

i remember first time i used ubuntu. i started a openoffice presentation on
the 4th slide the system was already unusable. And wet back to windows, even
google docs was better for the job.

of course latex is cool, vim, dwm, but no one out of the professional field
of computer sience have the time or patience to learn this unix philosophy..
-- 


Guilherme Lino


Re: [dev] Linux sucks!

2011-10-27 Thread Peter John Hartman
I beg to differ.

beamer for my slideshows.
ledpar/ledmac for critical editions. (http://www.djdekker.net/)
latex for publications.
perl for searches (stanford encyclopedia of philosophy)
git for collaboration (buridanica.net)
antiword to read student papers

and i work in the HUMANITIES, baby.

Peter


On Thu, Oct 27, 2011 at 10:33:18PM +0100, Guilherme Lino wrote:
> yeah but the true is that a linux desktop is almost useless for a normal
> person
> 
> i remember first time i used ubuntu. i started a openoffice presentation on
> the 4th slide the system was already unusable. And wet back to windows, even
> google docs was better for the job.
> 
> of course latex is cool, vim, dwm, but no one out of the professional field
> of computer sience have the time or patience to learn this unix philosophy..
> -- 
> 
> 
> Guilherme Lino

-- 
sic dicit magister P
University of Toronto / Fordham University
Collins Hall B06; Office Hours TF10-12
http://individual.utoronto.ca/peterjh
gpg --keyserver pgp.mit.edu --recv-keys E0DBD3D6 



Re: [dev] Linux sucks!

2011-10-27 Thread Andrew Hills
On Thu, Oct 27, 2011 at 5:33 PM, Guilherme Lino  wrote:
> yeah but the true is that a linux desktop is almost useless for a normal
> person
> i remember first time i used ubuntu. i started a openoffice presentation on
> the 4th slide the system was already unusable. And wet back to windows, even
> google docs was better for the job.

OpenOffice = The Linux Desktop?

--Andrew Hills



Re: [dev] Linux sucks!

2011-10-27 Thread Kurt H Maier
On Thu, Oct 27, 2011 at 5:33 PM, Guilherme Lino  wrote:
>
> yeah but the true is that a linux desktop is almost useless for a normal
> person

who the fuck cares about normal people?


-- 
# Kurt H Maier



Re: [dev] Linux sucks!

2011-10-27 Thread Pieter Praet
On Thu, 27 Oct 2011 19:49:15 -0400, Kurt H Maier  wrote:
> On Thu, Oct 27, 2011 at 5:33 PM, Guilherme Lino  wrote:
> >
> > yeah but the true is that a linux desktop is almost useless for a normal
> > person
> 
> who the fuck cares about normal people?

+1

> 
> -- 
> # Kurt H Maier
> 

Peace

-- 
Pieter



Re: [dev] Linux sucks!

2011-10-27 Thread Pieter Praet
On Thu, 27 Oct 2011 22:33:18 +0100, Guilherme Lino  wrote:
> yeah but the true is that a linux desktop is almost useless for a normal
> person
> 

s/normal/uninformed

Also, see Kurt Maier's response [1].

> i remember first time i used ubuntu. i started a openoffice presentation on
> the 4th slide the system was already unusable. And wet back to windows, even
> google docs was better for the job.
> 

That's because Ubuntu sucks only marginally less than Windows
(whilst at the same time adding a learning curve for people
unfamiliar with Linux-based operation systems), and is *in no
way* representative of "The Linux Desktop".

Besides, "The Linux Desktop" is a term coined by "the industry",
in an effort to market their Linux-based offering to useless
Windows/MacOS-users who'd rather pick their nose than learn
something new, let alone make an actual contribution.

> of course latex is cool, vim, dwm, but no one out of the professional field
> of computer sience have the time or patience to learn this unix philosophy..

Time is what you *make*, e.g. by not wasting it on the useless
crap most "normal" people think (and want *you* to believe) is
important.

Patience is what you have when you know it'll be worth your while
(i.e. by saving you time, effort and frustration in the long run).

And neither a job nor a formal education (be it in CS or otherwise)
are required to "to learn this unix philosophy" [sic].  If you are
capable of reading English, you have all you need to go RTFM.

> -- 
> 
> 
> Guilherme Lino

Peace


-- 
Pieter

[1]
id:"camo156nys6ptfy-jb7kt1u+e0n25yoqjn00t9kcsxfipdhe...@mail.gmail.com"



Re: [dev] Linux sucks!

2011-10-27 Thread Suraj N. Kurapati
On Thu 27 Oct 2011 05:00:41 PM PDT, Pieter Praet wrote:
> Don't worry, you're not missing out on anything, besides the guy
> making a total fool of himself in front of a totally oblivious
> audience (which is just annoying; no comical value whatsoever).

Reminds me of a sketch from the IT Crowd:

http://www.youtube.com/watch?v=UTBsm0LzSP0

-- 
Reality is for people who lack imagination.


signature.asc
Description: PGP signature


Re: [dev] Linux sucks!

2011-10-27 Thread Dieter Plaetinck
On Thu, 27 Oct 2011 22:33:18 +0100
Guilherme Lino  wrote:

> latex is cool, vim, dwm, but no one out of the professional
> field of computer sience have the time or patience to learn this unix
> philosophy..

are you trolling or what?
"nobody will ever need more then 64k of memory"..
now "no professional computer scientist knows the unix philosophy" ?