Re: [Dng] OT: separate GUI from commands

2015-06-02 Thread Isaac Dunham
On Sun, May 31, 2015 at 12:19:51PM -0400, Hendrik Boom wrote: On Thu, May 28, 2015 at 07:16:55PM -0700, Isaac Dunham wrote: On Wed, May 27, 2015 at 04:54:53PM +0200, Laurent Bercot wrote: On 27/05/2015 12:12, Hendrik Boom wrote: I'm in the process of writing (yet) a(nother) editor and

Re: [Dng] OT: separate GUI from commands

2015-06-01 Thread Didier Kryn
Le 31/05/2015 22:34, Laurent Bercot a écrit : On 31/05/2015 18:35, Didier Kryn wrote: AFAIU, this thread has turned to be about interfacing whatever app to a scripting language. I consider this a very usefull feature for all but basic applications. In particular, I consider that interfacing

Re: [Dng] OT: separate GUI from commands

2015-06-01 Thread Steve Litt
On Mon, 01 Jun 2015 11:25:03 +0200 Didier Kryn k...@in2p3.fr wrote: Laurent, I know the argument that init should be kept small to be rock-solid. Does it mean that it must be written in C and not in Lua or Ash? Yes. In my opinion it does. Init must be tiny, and it must be rock

Re: [Dng] OT: separate GUI from commands

2015-06-01 Thread Didier Kryn
Le 01/06/2015 12:59, Laurent Bercot a écrit : Oh, sure - I'm all for learning by experimenting and hacking away. It's just that this mailing-list is about a distribution that aims to be Debian-sized, so I thought you were suggesting it for Devuan. I think you'll agree that on a distribution,

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Hendrik Boom
On Sun, May 31, 2015 at 01:54:50PM +, Arnt Gulbrandsen wrote: If I may... If you google me you will find old old reasons to hate me, and those reasons are connected to GUIs. I do know one or two thinks about the subject. It is possible to make a good GUI that is separated from its

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Didier Kryn
AFAIU, this thread has turned to be about interfacing whatever app to a scripting language. I consider this a very usefull feature for all but basic applications. In particular, I consider that interfacing init - The init program which is pid 1 - with a scripting language would provide

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Steve Litt
On Sun, 31 May 2015 08:51:58 -0400 Hendrik Boom hend...@topoi.pooq.com wrote: On Thu, May 28, 2015 at 11:58:55PM -0400, Jude Nelson wrote: (II) Lua Lua is also popular as a scripting language. I believe it was *designed* as a scripting language. I already mentioned that I'd prefer each

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Laurent Bercot
On 31/05/2015 18:35, Didier Kryn wrote: AFAIU, this thread has turned to be about interfacing whatever app to a scripting language. I consider this a very usefull feature for all but basic applications. In particular, I consider that interfacing init - The init program which is pid 1 - with a

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Jonathan Wilkes
On 05/31/2015 05:01 AM, Jude Nelson wrote: Hi Jonathan, Yes I know, I was trolling. But it was a friendly troll. See, I included a hash at the end of my email. Here is my Proof-of-Troll(tm) that matches that hash: echo Sorry but I couldn't resist trolling you here. :) Still

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Hendrik Boom
On Thu, May 28, 2015 at 07:16:55PM -0700, Isaac Dunham wrote: On Wed, May 27, 2015 at 04:54:53PM +0200, Laurent Bercot wrote: On 27/05/2015 12:12, Hendrik Boom wrote: I'm in the process of writing (yet) a(nother) editor and output formatter, and on reading this, I started to wonder -- just

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Martin Steigerwald
Am Donnerstag, 28. Mai 2015, 23:58:55 schrieb Jude Nelson: Just imagine the possibilities if Powerpoint gave you access to an environment like that! It didn't occur to me when I wrote my original email, but it turns out Powerpoint can be scripted with VBA. So can Libreoffice (it supports

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Jude Nelson
Hi Jonathan, Yes I know, I was trolling. But it was a friendly troll. See, I included a hash at the end of my email. Here is my Proof-of-Troll(tm) that matches that hash: echo Sorry but I couldn't resist trolling you here. :) Still intrigued by your file-system based widget idea,

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Arnt Gulbrandsen
If I may... If you google me you will find old old reasons to hate me, and those reasons are connected to GUIs. I do know one or two thinks about the subject. It is possible to make a good GUI that is separated from its functionality in the manner many contributors to this thread are

Re: [Dng] OT: separate GUI from commands

2015-05-31 Thread Hendrik Boom
On Thu, May 28, 2015 at 11:58:55PM -0400, Jude Nelson wrote: Hi Jonathan, Shell-based command access to software like Powerpoint would indeed be great. But I wonder if we can raise the bar a bit and consider an approach that could serve the largest audience. Especially users who

Re: [Dng] OT: separate GUI from commands

2015-05-29 Thread Jonathan Wilkes
On 05/28/2015 11:58 PM, Jude Nelson wrote: Hi Jonathan, Shell-based command access to software like Powerpoint would indeed be great. But I wonder if we can raise the bar a bit and consider an approach that could serve the largest audience. Especially users who themselves

Re: [Dng] OT: separate GUI from commands

2015-05-28 Thread Isaac Dunham
On Wed, May 27, 2015 at 04:54:53PM +0200, Laurent Bercot wrote: On 27/05/2015 12:12, Hendrik Boom wrote: I'm in the process of writing (yet) a(nother) editor and output formatter, and on reading this, I started to wonder -- just how could one separate a command-line version from the UI? I can

Re: [Dng] OT: separate GUI from commands

2015-05-28 Thread Jude Nelson
Hi Jonathan, Shell-based command access to software like Powerpoint would indeed be great. But I wonder if we can raise the bar a bit and consider an approach that could serve the largest audience. Especially users who themselves aren't developers or programmers. It seems to me such a

[Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Hendrik Boom
On Wed, May 27, 2015 at 03:32:00PM +0200, Laurent Bercot wrote: As a rule of thumb, developers should always use the smallest possible amount of dependencies for a project, and clearly separate layers - e.g. if a project comes with an engine and a GUI, then the engine should come as a

Re: [Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Jude Nelson
Hi Hendrik, On Wed, May 27, 2015 at 6:12 AM, Hendrik Boom hend...@topoi.pooq.com wrote: On Wed, May 27, 2015 at 03:32:00PM +0200, Laurent Bercot wrote: As a rule of thumb, developers should always use the smallest possible amount of dependencies for a project, and clearly separate layers

Re: [Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Teodoro Santoni
On Wed, May 27, 2015 at 06:12:15AM -0400, Hendrik Boom wrote: On Wed, May 27, 2015 at 03:32:00PM +0200, Laurent Bercot wrote: As a rule of thumb, developers should always use the smallest possible amount of dependencies for a project, and clearly separate layers - e.g. if a project comes

Re: [Dng] OT: separate GUI from commands

2015-05-27 Thread Laurent Bercot
On 27/05/2015 12:12, Hendrik Boom wrote: I'm in the process of writing (yet) a(nother) editor and output formatter, and on reading this, I started to wonder -- just how could one separate a command-line version from the UI? I can see that the output formatter can be so separated (and very

Re: [Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Ángel Ramírez Isea
Hi, Hendrik. Your post reminds me of a chapter in The Art of Unix Programming, by Eric Steven Raymond, which I always recommend. http://catb.org/~esr/writings/taoup/ El 2015-05-27 06:12, Hendrik Boom escribió: ... I am testing the limits of the advice to separate interaction from command

Re: [Dng] OT: separate GUI from commands

2015-05-27 Thread Hendrik Boom
On Wed, May 27, 2015 at 04:54:53PM +0200, Laurent Bercot wrote: On 27/05/2015 12:12, Hendrik Boom wrote: I'm in the process of writing (yet) a(nother) editor and output formatter, and on reading this, I started to wonder -- just how could one separate a command-line version from the UI? I can

Re: [Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Hendrik Boom
On Wed, May 27, 2015 at 02:27:17PM -0400, Jude Nelson wrote: Hi Hendrik, ... (much snipped) (I'm sorry, I hadn't meant to take you away from vdev for the amount of time it took to write this lengthy and interesting reply) An interesting consequence of structuring applications this way

Re: [Dng] OT: separate GUI from commands (was: Re: The more things change, the more they remain the same

2015-05-27 Thread Steve Litt
On Wed, 27 May 2015 14:27:17 -0400 Jude Nelson jud...@gmail.com wrote: I've been thinking about the general form of this problem (and a general solution) for months, and I think I'm almost ready to provide a formal design document. [The Problem] Many programs couple the business logic to

Re: [Dng] OT: separate GUI from commands

2015-05-27 Thread Jonathan Wilkes
On 05/27/2015 02:27 PM, Jude Nelson wrote: Hi Hendrik, On Wed, May 27, 2015 at 6:12 AM, Hendrik Boom hend...@topoi.pooq.com mailto:hend...@topoi.pooq.com wrote: On Wed, May 27, 2015 at 03:32:00PM +0200, Laurent Bercot wrote: As a rule of thumb, developers should always use the