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: So what IS going on with MurgaLua
Post: RE: So what IS going on with MurgaLua

[quote=znarf] Hi all, I just want to express my continued interest in this project - although I've run into some limitations when trying to do serious work using it (e.g., a callback for the help_vi...
asafp MurgaLua - General 15 23,551 03-29-2008, 11:51 AM
  Thread: So what IS going on with MurgaLua
Post: RE: So what IS going on with MurgaLua

Maybe I should be more specific about what I'm trying to do. I want to use all the good stuff in murgalua, but now I want to add on mysql. I've looked at luasql and luarocks and find it confusing an...
asafp MurgaLua - General 15 23,551 03-30-2008, 12:37 AM
  Thread: So what IS going on with MurgaLua
Post: RE: So what IS going on with MurgaLua

Here's a sample luaaio script (linux) [code]package.cpath = "./lib/?.so;./lib/?.dll;./lib/?.dylib;" require "uname" print("uname.sysname=>"..uname("sysname")) print("uname.nodename=>"..uname("node...
asafp MurgaLua - General 15 23,551 03-30-2008, 07:42 AM
  Thread: iGame3D's uDeadGame
Post: RE: iGame3D's uDeadGame

mikshaw, it's a good feeling knowing I'm not the only one stuck in the previous century. I expect more people will be trying to resurrect their junk PCs with puppylinux now that the global economy ...
asafp MurgaLua - General 11 21,052 03-07-2009, 08:31 AM
  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 20,078 03-07-2008, 01:05 PM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

I should rephrase that. I have authority to install things into my own directory. I don't have authority to execute a compiled module that is not in the standard /usr/bin or /usr/lib/bin. So, in ot...
asafp MurgaLua - General 13 20,078 03-07-2008, 02:33 PM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

[quote] Have you tried to put the binary in your homedir, set the permissions and use "env ~/murgaLua" for example? [/quote] I tried that and get "permission denied". I also tried putting murgal...
asafp MurgaLua - General 13 20,078 03-11-2008, 10:38 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

Tried awk '{system("./murgaLua")}' and I get the simple message ./murgaLua: permission denied The same message no matter how I try to invoke any binary executable file.
asafp MurgaLua - General 13 20,078 03-13-2008, 10:28 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

Permission for murgaLua is 755, btw. I checked that.
asafp MurgaLua - General 13 20,078 03-13-2008, 10:40 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

When executing with env command, the error message is a little different. It refers to the directory. env ~ ./murgaLua env: /mnt/b02add6f/www: Permission denied
asafp MurgaLua - General 13 20,078 03-13-2008, 10:46 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

env ~/murgaLua env: /mnt/b02add6f/www/murgaLua: Permission denied env /bin/mount env: /bin/mount: No such file or directory cat /proc/$$/mounts cat: /proc/30800/mounts: No such file or direct...
asafp MurgaLua - General 13 20,078 03-14-2008, 03:01 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

You are right. It's freebsd. I found that out by running python. (The operating system displays when you run python in interactive mode.) So, there is no /proc and no uname command. I have en...
asafp MurgaLua - General 13 20,078 03-14-2008, 05:44 AM
  Thread: New stuff, 0.7.0 to be a public release
Post: RE: New stuff, 0.7.0 to be a public release

Glad you are back John! Can someone tell me exactly what is meant by embeddable web-server?
asafp MurgaLua - General 11 18,383 11-01-2008, 09:13 AM
  Thread: JNLua (Java Native Lua)
Post: JNLua (Java Native Lua)

Any chance of including this in murgalua? I'm not a big fan of java, but you have to admit it's an industry standard and there are cross-platform compiled libraries available for just about anythin...
asafp MurgaLua - General 0 13,227 06-25-2009, 01:17 PM
  Thread: LuaSocket image
Post: LuaSocket image

I'm using luasocket HTTP to download an image (.jpg). It downloads without any error, but when I view it, it's all garbled. I realize this is a bit off topic, but would appreciate any suggestions.
asafp MurgaLua - General 7 12,769 07-25-2008, 09:52 AM
  Thread: LuaSocket image
Post: RE: LuaSocket image

This is from a Windows ASP server to a Windows XP x86 machine. Downloads fine with curl. I was thinking it was something in the request header. Tried a few different things. Always same result. ...
asafp MurgaLua - General 7 12,769 07-26-2008, 12:07 AM
  Thread: LuaSocket image
Post: RE: LuaSocket image

[code]function GetFile(urlin,headin,redirin,fid) local http=require('socket.http') local url=require('socket.url') local ltn12 = require("ltn12") local mime = require("mime") local urlname=urlin ...
asafp MurgaLua - General 7 12,769 07-26-2008, 12:54 PM
  Thread: LuaSocket image
Post: RE: LuaSocket image

have to put a "b" after the "w" for binary mode on file open. fh=io.open(filename,'wb')
asafp MurgaLua - General 7 12,769 07-31-2008, 07:01 AM
  Thread: LuaSocket image
Post: RE: LuaSocket image

Yes, it works great now. I knew it had to be something simple.
asafp MurgaLua - General 7 12,769 08-01-2008, 02:31 AM
  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,636 02-08-2008, 02:42 PM