News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Search Results
Post Author Forum Replies Views Posted []
  Thread: Praise for murgalua
Post: Praise for murgalua

I've only been using lua/murgalua a very short time. I've found it to be very easy to learn and there are great features other languages don't have. The flexible way of expressing string literals ...
asafp MurgaLua - General 13 19,934 03-07-2008, 01:05 PM
  Thread: User Prompt
Post: RE: User Prompt

Good examples. Thanx.
asafp MurgaLua - General 4 9,361 03-05-2008, 03:34 PM
  Thread: string.find bug
Post: string.find bug

I have something like this in a loop i=string.find(string,lookfor,icur,true) In some cases, it seems that [i]i[/i] is being set to 1 when a match is found at the end of the string, which caused...
asafp MurgaLua - General 2 5,488 03-01-2008, 11:53 AM
  Thread: User Prompt
Post: User Prompt

Does anyone know how to prompt a user for input from a console application? Ideally, it would be able to mask the input for a password type field.
asafp MurgaLua - General 4 9,361 02-27-2008, 08:04 AM
  Thread: License
Post: RE: License

The ability to freely distribute murgalua with very limited restrictions would be a great boon to the project. In my opinion, the open source world has shot itself in the foot with legalese in the GP...
asafp MurgaLua - General 7 9,737 02-23-2008, 07:16 AM
  Thread: luasocket help
Post: RE: luasocket help

I have built a rudimentary cookie parser intended for use in client side HTTP applications using luasocket. It has met my needs for some simple applications. It lacks handling of expires, domain, an...
asafp MurgaLua - General 5 9,573 02-18-2008, 04:55 AM
  Thread: luasocket help
Post: RE: luasocket help

ltn12.source.string(postdata) syntax did seem to work. thanx. However, in order to get the results I want, I need to be able to handle cookies. Doesn't seem to be much doc or examples out there. ...
asafp MurgaLua - General 5 9,573 02-15-2008, 03:13 AM
  Thread: Linux Portability
Post: RE: Linux Portability

I am not sure what linux distro this is. How can I tell? I do know it's a stripped down shell provided by a web hosting company. Permissions and available commands are limited.
asafp MurgaLua - General 7 11,541 02-15-2008, 02:40 AM
  Thread: luasocket help
Post: luasocket help

I'm trying to do a HTTP POST and can't figure out how to send the postdata. Doc http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/http.html states "source: simple LTN12 source to provi...
asafp MurgaLua - General 5 9,573 02-14-2008, 02:06 PM
  Thread: Linux Portability
Post: RE: Linux Portability

[quote=TerryW] Hi asafp, Have a look at the version of murgaLua provided by John Murga in the thread "murgaua - distro compatibility" about 5 below your entry. This seemed to work for me without ...
asafp MurgaLua - General 7 11,541 02-14-2008, 03:17 AM
  Thread: Linux Portability
Post: RE: Linux Portability

oops. Disregard previous about socket error. Ran lua instead of murgalua. oops.
asafp MurgaLua - General 7 11,541 02-08-2008, 04:21 PM
  Thread: Linux Portability
Post: RE: Linux Portability

I did a google search on "download libstdc++.so.5" and got a bunch of stuff on rpm packages which wouldn't have done me much good. So, my point is that anything that could be done with murgalua packag...
asafp MurgaLua - General 7 11,541 02-08-2008, 03:25 PM
  Thread: Linux Portability
Post: Linux Portability

I have a few questions/comments based on my first experience running murgalua on linux. The first thing I encountered was an error because libstdc++.so.5 was not present. I didn't have root auth...
asafp MurgaLua - General 7 11,541 02-08-2008, 02:42 PM
  Thread: How to advertise?
Post: RE: How to advertise?

John, thanks for a working coroutine example. Now I just have to figure out how to put it to practical use. It's nice to have an active user community for an open source project. The more I get i...
asafp MurgaLua - General 20 37,075 02-01-2008, 04:06 AM
  Thread: How to advertise?
Post: RE: How to advertise?

[quote=mikshaw] Have you tried putting the functions above the rest of the commands? Lua (or at least murgaLua) seems to run line-by-line, meaning that if it tries to run receive before the receive f...
asafp MurgaLua - General 20 37,075 01-25-2008, 08:42 AM
  Thread: How to advertise?
Post: RE: How to advertise?

John, I'd like to help however I can with the skills that I have. I am working on client side spider type applications. It would be fantastic to be able to retrieve multiple URLs in a straightforw...
asafp MurgaLua - General 20 37,075 01-25-2008, 06:52 AM
  Thread: How to advertise?
Post: RE: How to advertise?

This is the coroutine download function from the 5.1 "Programming in Lua" book. It gives error "attempt to call global 'receive' (a nil value)". http=require('socket.http') function download (ho...
asafp MurgaLua - General 20 37,075 01-25-2008, 06:27 AM
  Thread: How to advertise?
Post: RE: How to advertise?

I fixed the problem with headers. I had an [b]ipairs[/b] loop to process them. I changed it to [b]pairs[/b] and everything is cool. Greenhorn mistake. This luasocket http get request program demo...
asafp MurgaLua - General 20 37,075 01-25-2008, 06:12 AM
  Thread: How to advertise?
Post: RE: How to advertise?

One problem with something like murgalua is it's only as strong as it's weakest link. If one of the components has a problem, all of murgalua is tarnished. Right now, it seems like luasocket is pret...
asafp MurgaLua - General 20 37,075 01-23-2008, 04:19 AM
  Thread: Dynamic Library
Post: RE: Dynamic Library

What I was getting at was being able to use a dll that has all the nice features of murgalua, but in a dll instead of exe. In my case, I want to embed murgalua in a freepascal application. I know ...
asafp MurgaLua - General 3 6,945 01-22-2008, 09:20 AM