Thread View: news.software.readers
18 messages
18 total messages
Started by andrew
Wed, 25 Mar 2009 06:33
[leafnode] lua-enabled version
Author: andrew
Date: Wed, 25 Mar 2009 06:33
Date: Wed, 25 Mar 2009 06:33
16 lines
1522 bytes
1522 bytes
Hi, I have just started work on a creating an installation package of the newest leafnode 2 which now has lua scripting available. http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/ Has anybody made any use of this scripting and any thoughts on its usage? I will admit that I am still struggling to get it going successfully :-). Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: [leafnode] lua-enabled version
Author: houghi
Date: Wed, 25 Mar 2009 09:47
Date: Wed, 25 Mar 2009 09:47
15 lines
1705 bytes
1705 bytes
andrew wrote:
> Hi,
>
> I have just started work on a creating an installation package of the
> newest leafnode 2 which now has lua scripting available.
Great, another scripting language to learn just for this. Why did they
not use one of the more used options?
houghi
--
Theologians can pursuade themselves of anything. Anyone who can worship
a trinity and insists that his religion is a monotheism can believe
anything -- just give him time to rationalize it.
Robert A. Heinlein, JOB: A Comedy of Justice
Re: [leafnode] lua-enabled version
Author: Peter J Ross
Date: Wed, 25 Mar 2009 10:41
Date: Wed, 25 Mar 2009 10:41
21 lines
2073 bytes
2073 bytes
In news.software.readers on Wed, 25 Mar 2009 10:47:51 +0100, houghi <houghi@houghi.org.invalid> wrote: > andrew wrote: >> Hi, >> >> I have just started work on a creating an installation package of the >> newest leafnode 2 which now has lua scripting available. > > Great, another scripting language to learn just for this. Why did they > not use one of the more used options? It should be possible in future to use scripts written in other languages, but LUA is the only language implemented so far. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [leafnode] lua-enabled version
Author: houghi
Date: Wed, 25 Mar 2009 11:20
Date: Wed, 25 Mar 2009 11:20
22 lines
2120 bytes
2120 bytes
Peter J Ross wrote:
>> Great, another scripting language to learn just for this. Why did they
>> not use one of the more used options?
>
> It should be possible in future to use scripts written in other
> languages, but LUA is the only language implemented so far.
I looked at the site, but did not find any real information about the
scripting part. A search for the language brought me to gaming language.
:-\
So from that point I think it is very strange that they decided to go
with that and not something obvious like bash or awk or just copy the
filtering abilities from slrn or any other filtering that is already out
there.
houghi
--
Theologians can pursuade themselves of anything. Anyone who can worship
a trinity and insists that his religion is a monotheism can believe
anything -- just give him time to rationalize it.
Robert A. Heinlein, JOB: A Comedy of Justice
Re: [leafnode] lua-enabled version
Author: Sidney Lambe
Date: Wed, 25 Mar 2009 17:59
Date: Wed, 25 Mar 2009 17:59
38 lines
2587 bytes
2587 bytes
houghi <houghi@houghi.org.invalid> wrote: > Peter J Ross wrote: >>> Great, another scripting language to learn just for this. Why did they >>> not use one of the more used options? >> >> It should be possible in future to use scripts written in other >> languages, but LUA is the only language implemented so far. > > I looked at the site, but did not find any real information about the > scripting part. A search for the language brought me to gaming language. >:-\ > > So from that point I think it is very strange that they decided to go > with that and not something obvious like bash or awk or just copy the > filtering abilities from slrn or any other filtering that is already out > there. > I am with you all the way here, houghi. Never understood why slrn had to use slang instead of bash. Looks like what we have are developers with their pet languages who think we all have nothing better to do than learn these obscure languages that aren't useful for anything else. They write a valuable application like leafnode or slrn and figure they have us over the barrel. Because of this I have avoided anything else that uses slang, because I don't like being manipulated in this way. At least in my case, the developers' strategy is backfiring. They haven't created supporters of slang and lua, they have created enemies of them. But getting back to the main issue here, another example: I can't for the life of me figure out why leafnode needs PRCRE's when bash regexes and extended regexes are just as good. Sid
Re: [leafnode][AC] lua-enabled version
Author: »Q«
Date: Wed, 25 Mar 2009 22:45
Date: Wed, 25 Mar 2009 22:45
52 lines
3598 bytes
3598 bytes
On Wed, 25 Mar 2009 10:59:21 -0700 Sidney Lambe <sidneylambe@nospam.invalid> wrote: > I am with you all the way here, houghi. Never understood why slrn had > to use slang instead of bash. Bash is a shell, not a scripting language per se. It's possible to write scripts for bash, but that doesn't make a particularly good choice for scripting other applications. And if an app is supposed to be cross-platform, bash is ruled out. Leafnode is designed to work with GNU/Linux, FreeBSD and Solaris and "most other Unix flavors", so it can't depend on bash. Likewise, slrn is meant to run on "various Unix and Unix-like operating systems (including Linux), Windows, OS/2, BeOS, MacOS X and VMS", so bash is out. > Looks like what we have are developers with their pet languages who > think we all have nothing better to do than learn these obscure > languages that aren't useful for anything else. "Connor hasn't heard of it" != "It's obscure" "Connor has no use for it" != "It's not useful" On the face of it, lua looks like a pretty good choice because it's small enough and free enough to ship a statically-linked version with leafnode itself. OTOH, if you want to feel oppressed in some way, your idea that someone is choosing languages primarily to manipulate you works much better. Digressing here, but ISTM the fundamental change that's happening in GNU/Linux's user base isn't about things like more users preferring a GUI (or a DTE) -- it's about more and more users who view *learning* about things as a burden, a waste of precious time. IMO, those users would be better off paying for a proprietary OS. > Because of this I have avoided anything else that uses slang, > because I don't like being manipulated in this way. Having installed slang, you refuse to install more than one app that makes use of it, so couldn't you install lua just for leafnode then just refuse to install anything else that uses lua? > At least in my case, the developers' strategy is backfiring. They > haven't created supporters of slang and lua, they have created > enemies of them. In your case (singular), they have created enemies (plural)? Do you mean Sidney Lambe and Alan Connor and Tom Newton? Do you have meetings of the Anti-Lua Committee in which you plot strategy and tactics and if so are you doing something other than whinging on Usenet?
Re: [leafnode] lua-enabled version
Author: Troy Piggins
Date: Wed, 25 Mar 2009 23:22
Date: Wed, 25 Mar 2009 23:22
31 lines
2845 bytes
2845 bytes
* houghi wrote : > Peter J Ross wrote: >>> Great, another scripting language to learn just for this. Why did they >>> not use one of the more used options? >> >> It should be possible in future to use scripts written in other >> languages, but LUA is the only language implemented so far. > > I looked at the site, but did not find any real information about the > scripting part. A search for the language brought me to gaming language. >:-\ > > So from that point I think it is very strange that they decided to go > with that and not something obvious like bash or awk or just copy the > filtering abilities from slrn or any other filtering that is already out > there. IIRC the LUA scripting was originally introduced as a patch by Clemens Fischer on the leafnode mailing list. He was trying to implement some scripting capability, probably started out for his personal use only and he chose something he was familiar with. Since then he has been very active in its integration and in doing so has become familiar with the leafnode code, adding value in the leafnode list and development. IMO it's a good thing and will only make leafnode more extensible in the near future. As PJR says, hopefully you'll be able to plug in any script eventually. -- Troy Piggins
Re: [leafnode][AC] lua-enabled version
Author: houghi
Date: Wed, 25 Mar 2009 23:27
Date: Wed, 25 Mar 2009 23:27
27 lines
2305 bytes
2305 bytes
»Q« wrote:
> Digressing here, but ISTM the fundamental change that's happening in
> GNU/Linux's user base isn't about things like more users preferring a
> GUI (or a DTE) -- it's about more and more users who view *learning*
> about things as a burden, a waste of precious time.
Software should be about usability and using, not about learning and the
willingness to learn or not. And yes, if learning is forced, then it IS
a burden.
> IMO, those users
> would be better off paying for a proprietary OS.
I am willing to learn. However _I_ want to determine what I spend my
time on and this should not be enforced by the developer in his ivory
tower.
Perhaps people view determing the spending of your own time as a
burden.
IMO, those users would be better of paying for a proprietary OS.
houghi
--
You can have peace. Or you can have freedom.
Don't ever count on having both at once.
-- Robert A. Heinlein
Re: [leafnode] lua-enabled version
Author: houghi
Date: Wed, 25 Mar 2009 23:31
Date: Wed, 25 Mar 2009 23:31
15 lines
1829 bytes
1829 bytes
Troy Piggins wrote:
> IMO it's a good thing and will only make leafnode more extensible
> in the near future. As PJR says, hopefully you'll be able to
> plug in any script eventually.
Indeed. Let's wait and see. And it is not as if I will be forced to use
scripting. I hardly do any filtering with leafnode now. I rather do it
in slrn, so I can always go back in the thread and read the things I
filterd.
houghi
--
You can have peace. Or you can have freedom.
Don't ever count on having both at once.
-- Robert A. Heinlein
Re: [leafnode] lua-enabled version
Author: Troy Piggins
Date: Wed, 25 Mar 2009 23:42
Date: Wed, 25 Mar 2009 23:42
38 lines
3287 bytes
3287 bytes
* Troy Piggins wrote : > * houghi wrote : >> Peter J Ross wrote: >>>> Great, another scripting language to learn just for this. Why did they >>>> not use one of the more used options? >>> >>> It should be possible in future to use scripts written in other >>> languages, but LUA is the only language implemented so far. >> >> I looked at the site, but did not find any real information about the >> scripting part. A search for the language brought me to gaming language. >>:-\ >> >> So from that point I think it is very strange that they decided to go >> with that and not something obvious like bash or awk or just copy the >> filtering abilities from slrn or any other filtering that is already out >> there. > > IIRC the LUA scripting was originally introduced as a patch by > Clemens Fischer on the leafnode mailing list. He was trying to > implement some scripting capability, probably started out for his > personal use only and he chose something he was familiar with. > Since then he has been very active in its integration and in > doing so has become familiar with the leafnode code, adding value > in the leafnode list and development. > > IMO it's a good thing and will only make leafnode more extensible > in the near future. As PJR says, hopefully you'll be able to > plug in any script eventually. I should add that he has provided this patch and capability for free, for all to use, coded in his spare time. It's an extension to leafnode, also free yet powerful. And you guys are complaining that you need to learn another language to tap into the high-end scripting capabilities of it? -- Troy Piggins
Re: [leafnode] lua-enabled version
Author: andrew
Date: Wed, 25 Mar 2009 23:44
Date: Wed, 25 Mar 2009 23:44
14 lines
1719 bytes
1719 bytes
On 2009-03-25, Troy Piggins <usenet-0903@piggo.com> wrote: > IMO it's a good thing and will only make leafnode more extensible > in the near future. As PJR says, hopefully you'll be able to > plug in any script eventually. Mind you I am still attempting to get the lua-enabled version to run without a shower of error messages :-). Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: [leafnode] lua-enabled version
Author: andrew
Date: Wed, 25 Mar 2009 23:55
Date: Wed, 25 Mar 2009 23:55
20 lines
2083 bytes
2083 bytes
On 2009-03-25, houghi <houghi@houghi.org.invalid> wrote: > Indeed. Let's wait and see. And it is not as if I will be forced to use > scripting. I hardly do any filtering with leafnode now. I rather do it > in slrn, so I can always go back in the thread and read the things I > filterd. Of course lua scripting is actually disabled by default in the latest leafnode, you have to pass --enable-lua to see it in action so there will be no force involved :-). My actual original query was more directed at finding anybody who has had some experience with the lua-enabled leafnode. That is: installing it successfully, using it, comments on results etc. Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: [leafnode] lua-enabled version
Author: Troy Piggins
Date: Thu, 26 Mar 2009 00:14
Date: Thu, 26 Mar 2009 00:14
17 lines
2007 bytes
2007 bytes
* andrew wrote : > > I have just started work on a creating an installation package of the > newest leafnode 2 which now has lua scripting available. > > http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/ > > Has anybody made any use of this scripting and any thoughts on its > usage? I will admit that I am still struggling to get it going > successfully :-). G'day mate. Installed it, been using it just as "plain" leafnode with some filtering. Have enabled the LUA side, but haven't had time to get into using it at all. -- Troy Piggins
Re: [leafnode][AC] lua-enabled version
Author: »Q«
Date: Thu, 26 Mar 2009 00:43
Date: Thu, 26 Mar 2009 00:43
16 lines
1939 bytes
1939 bytes
On Thu, 26 Mar 2009 00:27:08 +0100 houghi <houghi@houghi.org.invalid> wrote: > »Q« wrote: > > Digressing here, but ISTM the fundamental change that's happening in > > GNU/Linux's user base isn't about things like more users preferring > > a GUI (or a DTE) -- it's about more and more users who view > > *learning* about things as a burden, a waste of precious time. > > Software should be about usability and using, not about learning and > the willingness to learn or not. And yes, if learning is forced, then > it IS a burden. With FLOSS, it's *never* forced. *You* get to decide whether or not you want to learn how to script leafnode.
Re: [leafnode] lua-enabled version
Author: Adam Funk
Date: Thu, 26 Mar 2009 12:09
Date: Thu, 26 Mar 2009 12:09
13 lines
1678 bytes
1678 bytes
On 2009-03-25, Sidney Lambe wrote: > But getting back to the main issue here, another example: I can't > for the life of me figure out why leafnode needs PRCRE's when > bash regexes and extended regexes are just as good. Hey, I can't figure out why anybody uses other kinds of regexes when PCREs are the ones I'm most familiar with, erm, I mean the best. -- The generation of random numbers is too important to be left to chance. [Robert R. Coveyou]
Re: [leafnode][AC] lua-enabled version
Author: Whiskers
Date: Thu, 26 Mar 2009 13:41
Date: Thu, 26 Mar 2009 13:41
41 lines
3242 bytes
3242 bytes
On 2009-03-25, »Q« <boxcars@gmx.net> wrote: [...] > Digressing here, but ISTM the fundamental change that's happening in > GNU/Linux's user base isn't about things like more users preferring a > GUI (or a DTE) -- it's about more and more users who view *learning* > about things as a burden, a waste of precious time. IMO, those users > would be better off paying for a proprietary OS. [...] Those who want 'everything done for them' can choose to use one of the big distros that offers pre-compiled binaries of selected software, and just go with the defaults or recommendations for their chosen distro. They can even pay. When those people want to start learning and tinkering, any of those big distros will let them do so to their hearts' content (or to their utter confusion, of course). Aternatively, the non-geek can choose an 'appliance' type netbook, with a pre-installed heavily restricted and locked-down system and applications as 'firmware', and learn to live with it and never know they're using Linux. (Oddly, geeks seem to love the challenge of such machines too!). Then there are all the distros that only a geek can handle, and even the possibility of building one's own from scratch. FOSS seems to cover all the bases these days. That's an improvement, surely, as it gives a larger user-base than the uber-geeks-only community who were the only ones who dared to touch it 'in the early days'. The transition from 'basic user' to 'nearly a geek' can still be a bit rough on all those around, of course, and there seem to be more of us in that category these days. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [leafnode] lua-enabled version
Author: Sidney Lambe
Date: Thu, 26 Mar 2009 18:37
Date: Thu, 26 Mar 2009 18:37
17 lines
1685 bytes
1685 bytes
Adam Funk <a24061@ducksburg.com> wrote: > On 2009-03-25, Sidney Lambe wrote: > >> But getting back to the main issue here, another example: I can't >> for the life of me figure out why leafnode needs PRCRE's when >> bash regexes and extended regexes are just as good. > > Hey, I can't figure out why anybody uses other kinds of regexes when > PCREs are the ones I'm most familiar with, erm, I mean the best. They are fine. But so are the bash/POSIX regexes, and we have to learn them anyway. Sid
Re: [leafnode] lua-enabled version
Author: houghi
Date: Thu, 26 Mar 2009 19:52
Date: Thu, 26 Mar 2009 19:52
14 lines
1843 bytes
1843 bytes
Troy Piggins wrote:
> I should add that he has provided this patch and capability for
> free, for all to use, coded in his spare time. It's an extension
> to leafnode, also free yet powerful. And you guys are
> complaining that you need to learn another language to tap into
> the high-end scripting capabilities of it?
Uh, yes. Why not?
houghi
--
You can have peace. Or you can have freedom.
Don't ever count on having both at once.
-- Robert A. Heinlein
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads