Re: stupid Linux tricks
--On Wednesday, June 18, 2003 10:40:50 -0700 Richard Gaskin <[EMAIL PROTECTED]> wrote: andu wrote: --On Wednesday, June 18, 2003 09:59:20 -0700 Richard Gaskin <[EMAIL PROTECTED]> wrote: How does one associate file types with applications on Linux? That depends on the desktop manager but generally via mime types. How do I get a tar file to set MIME types? Mime info is preset in a file checked by the desktop manager when you do something with that file (i.e. click on it). What desktop manager you use? I'm not very knowledgeable with kde or gnome settings on this since I use rox. I imagine you want to untar a file by clicking on it or popup the application to do it for you. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: stupid Linux tricks
--On Wednesday, June 18, 2003 09:59:20 -0700 Richard Gaskin <[EMAIL PROTECTED]> wrote: How does one associate file types with applications on Linux? That depends on the desktop manager but generally via mime types. On Mac we have the Desktop Database, on Win the Registry, on Linux...? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
credit card processing
Some time ago a list member made available a credit card verification/processing stack which I had it but can't find it now when I need it. Is something like that still available? Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Fwd: altBrowser Question and MAC version of altBrowser...
--On Monday, June 16, 2003 00:25:57 -0700 Dan Shafer <[EMAIL PROTECTED]> wrote: And I would prefer a product I pay for and which is therefore supported to a free, Open Source solution for which I'd be on my own for support. First, my observation didn't imply that Open Source software support is poor, only that I'd prefer to pay for software than to end up with a poorly supported Open Source product in this case. What is that I'm missing here? Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Fwd: altBrowser Question and MAC version of altBrowser...
--On Sunday, June 15, 2003 19:06:46 -0700 Dan Shafer <[EMAIL PROTECTED]> wrote: And I would prefer a product I pay for and which is therefore supported to a free, Open Source solution for which I'd be on my own for support. This is a little off subject but you don't seem to have it very clear about open source software versus payed for, and support. I've been using both free operating system and software for more then I can remember and support was as good as metacard's which is the only not free one with still good support. All the tips we share on this list amount to free software. Most of the web that you use comes from free software: server, server side scripting, databases, browser, email, you name it. Doing some research before repeating Microsoft's mantra may prove beneficial to your mental health. This idea that you get what you pay for is so outdated that I'm surprised some people still remember it. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Fwd: altBrowser Question and MAC version of altBrowser...
--On Monday, June 16, 2003 12:11:18 +1200 Rodney Tamblyn <[EMAIL PROTECTED]> wrote: Forwarded posting Chipp Walters, to use-revolution. If members of this list are seriously interested in seeing a Mac external to display web content within a MC window, read on... Something like this would make sense to be based on Mozilla, I think. There are so many free products based on Mozilla that I think this one should be free too. It would be certainly convenient to have such an external but considering metacard can launch urls in browses as it is, I would definitely not pay for it (donations, maybe). I would pay for better integration with a web server and database though. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: How do you join lines in a container
--On Thursday, June 12, 2003 10:14:53 -0700 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: | | Allo Sadhu, | | > set itemdel to "|" | > tune your metatalk code What I have in the container is a bunch of lines. I want to join them into one long line. It doesn't matter if the items in each line are separated by | or not, or if there is only one item on each line. I just want to join the lines, or in other words, get rid of the end of line characters. How do I do that? You do this: "replace cr with empty in container" or if you want to: 'replace cr with "|" in container' Merci!! Sadhu ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: FTP File Access Trouble
--On Wednesday, June 11, 2003 13:27:35 +0200 Scott Rossi <[EMAIL PROTECTED]> wrote: I'm trying to use MC to save a stack to a password protected directory on a server. I created a designated username/password for the directory and I am using the past-offered convention for assembling the destination filepath: put the fileName of the topStack into tSourceURL put ("ftp://"; & tName & ":" & tPass & \ "@ftp.myserver.com/special/mystack.mc") into tDestURL put url ("binfile:"&tSourceURL) into url tDestURL The result is an error from the server reading "Error 550. Access denied by ACL." I assume this means the server is denying access to the username/password I'm supplying in the above string. You're not only trying to access a directory but also to write to it, maybe the user doesn't have write permissions like the admin. However, I have no problem accessing the destination directory using an FTP tool with the same login info provided in tName and tPass. Also, if I replace the tName/tPass variables with those of the server's admin login info, the script works fine. So I have to assume the server is expecting something that I (or MC) is not providing in the case of the designated username/password. Any ideas how I troubleshoot this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Upload the Local Cache
--On Saturday, June 07, 2003 08:58:51 -0700 Scott Rossi <[EMAIL PROTECTED]> wrote: Recently, I wrote: But if you download a stack via "go stack url xxx", how do you reference this cached stack to upload it back to the server? Is there a way to do this without saving it to the drive first? Something like this: put url xxx into temp go stack temp put temp into url tDestUrl Thanks Andu. Kind of works (I get a file of 0K in the destination URL but I'll keep working on it). In the meantime, the next question is, how to save changes to the stack stored in temp before uploading? I have this working now by saving the stack in the temp directory and then putting the stack's URL into the URL of the server-stored version. Is this the only way accomplish saving, or can saving be done in a variable? Is there a downside to saving files in the temp directory? The fact that you can't "put temp into url tDestUrl" seems to be a problem of libURL, afterall what you send to the server is the contents of a variable. The workaround is to write your own script for communicating with the server or just modify the relevant parts from libURL to your needs. (I don't know if other folks have already done this but it's way cool to be able to edit server stored stacks all within MC.) You can edit a loaded stack but you still need to save the changes (locally) before uploading so no point in changing libURL. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Upload the Local Cache
--On Friday, June 06, 2003 15:33:01 -0700 Scott Rossi <[EMAIL PROTECTED]> wrote: I'm looking at using the following to upload an MC stack to a server: put "ftp://"&;; tUser&":"&tPword&"@"&tHost&"/"&tFileName &"/" into tDestUrl put url ("binfile:"&tLocalFile) into url tDestUrl Looks fine for a local file. But if you download a stack via "go stack url xxx", how do you reference this cached stack to upload it back to the server? Is there a way to do this without saving it to the drive first? Something like this: put url xxx into temp go stack temp put temp into url tDestUrl Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: php & wikis
--On Friday, June 06, 2003 15:02:52 -0700 Alain Farmer <[EMAIL PROTECTED]> wrote: Hello David, Andu, and y'all, That's odd! My experience is exactly the contrary. Blogs are like un-threaded forums. The messages just pile in one after the other, most recent one on the top. That's the thing, blogs are not meant to be forums (and I noticed the link you provided is just that) they are closer to a public journal so to speak (http://mental.archeopterix.com). I've seen proper weblogs with several members but the entries were more like short essays, not a conversation. For conversations you have mailing lists or forums. Wikis, OTOH, are more like a editable website. The content is divided into hyperlinked pages. The info becomes hierarchically organized (a good thing) without sacrificing any of the hyper-linking to any other page or site. The knowledge being built with the wiki has a stable feel to it, and bits of it can be subsequently tweaked as many times as you like; whereas, in blogs, only the admin has the power to modify the content of the contributions. Weblogs are not supposed to be edited in the way wikis are because... they are not wikis. What I don't like about wikis, or rather the ones I have used so far, is that the web interface is the *only* way to interact with the wiki; whereas the blog can also be mailed to or accessed by any XML-RPC client. But I have since discovered that there are wikis that also do XML-RPC. Without this 'automation' potential, making global changes in a wiki is a nightmare. You literally have to go to each-and-every page as any 'user' would. Which is why I am still interested in systems like Zope. A global change of a footer on [a subset of] all pages is a cinch with Zope : all you have to do is change one file in the appropriate place in the object hierarchy. I don't get it, you want to read the wiki in a browser but to edit it in a different application, why use wiki. The thing with the footer is just a matter of design, you can have the script insert a footer in all pages as they are served. I'm not a friend of html but I recently discovered the potential of css (kind of late, I know) and I do believe that good design can make a difference. Zope is great but it comes with a learning curve. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC CGI system requirements
--On Friday, June 06, 2003 12:18:45 -0700 Richard Gaskin <[EMAIL PROTECTED]> wrote: andu wrote: Since apparently an ISP can have a functional BSD server running that's still missing libs MC requires, what are the complete system requirements for MC? Telnet to where mc is on the server and do: ldd mc. It will list the availabe and missing libraries. Thank you, but sadly my ISP doesn't support Telnet at this time ("security reasons"). Try ssh, they must support that. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC CGI system requirements
--On Friday, June 06, 2003 10:48:18 -0700 Richard Gaskin <[EMAIL PROTECTED]> wrote: During a system upgrade at my ISP my MC CGIs are no longer working. While I'm still diagnosing the issue with my ISP, at the moment it appears to be related to a problem Ken had in which his ISP had not installed certain libraries with their BSD installation. Since apparently an ISP can have a functional BSD server running that's still missing libs MC requires, what are the complete system requirements for MC? Telnet to where mc is on the server and do: ldd mc. It will list the availabe and missing libraries. The system requirements at <http://www.metacard.com/pi5.html> provide few details. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: php & wikis
--On Friday, June 06, 2003 16:46:02 +0100 David Bovill <[EMAIL PROTECTED]> wrote: Do you mean creating a server side implementation or did any one use it :) Server side I meant. I did a basic one a while ago in a couple of hours just to see what would involve. I've not used MC to create server side blog/Wiki stuff -- it's already been done, but adding custom stuff to the core structure is I think a more productive line to take. On the end-user side, I've never been a fan of Wikis, but liked Blog's, which is strange as I'm working on wiki based stuff at the moment. Blog's have proved more succesful in the short term, but the technologies are merging. Well, wikis are meant to do a different thing (i.e. documenting a group project), weblogs are personal expression. I'm not too crazy about wikis myself though if they are well designed they could be useful and easy to use. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: php & wikis
Did anyone bother with a metacard based weblog or wiki? Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Installing MC at your ISP, a "How-To"
I put the mc engine in /cgi-bin with the scripts and #!mc does it just fine. Upload binary. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: OSX console mode
--On Thursday, March 20, 2003 19:14:21 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: andu a écrit : Does anyone know how to start OSX 10.2.x in console mode, that is, without the finder and all that UI. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Allo Andu, I'm not sure about that because i did'nt try this for yet on my new IBook2.2 but the best is probably to install Darwin+XFREE86+the Fink ressource (Debian packages port available for both Darwin and MacOSX). Actually I found a how-to on that in the meantime. Also found out how to make all files and directories visible in OSX. My only need for the mac is Photoshop+scanning+printing and my upgrade to OSX is only for better memory management so that I can do all 3 of the above at the same time. The price, improved patience;-). in beetwin : i'm searching for a good tutorial (aka a complete guide) in how to install both linux (simple) and XFree86 (difficult) on my just brought IBook 2.2. I was'nt for yet able to run XFREE because the ATI-Raedon 7500 not supported by the regular Debian, YellowDog or Suse distribs. After trying to compile the BenH 2.4.20-ben8 kernel (with hangs up at the pcmcia-module install) and trying to install the unstable issue of Debian (hanging again), i just got a Sony x86 Laptop for the store and removed the IBook for my prefered Linux toys ;-( Any idea ? YellowDog 3 supposedly is out and I heard a mention about the iBook. I use Debian on my cube and it's perfect. Try the vesa driver. Check out a utility read-edid for getting the correct card/monitor settings. With X one never knows. Best Regards, Pierre ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
OSX console mode
Does anyone know how to start OSX 10.2.x in console mode, that is, without the finder and all that UI. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: CGI Questions
--On Friday, March 14, 2003 00:36:42 +1000 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Hi all, A couple of related questions regarding CGI: 1. If you have numerous CGI routines, and you want to split them up into libraries, and only use the appropriate ones when the need arises, what is the best way to go about doing this? With PHP for instance, you would use require(). Is there something similar on the MC side? 2. I currently am aware of 2 methods of doing the above with MC: a) Use "send to stack", and b) Use "start using stack" However, both require a stack to be loaded into memory (rather than just a faceless CGI text file). Is this a significant issue (memory and performance-wise), and if so, what would be a better way to do this? Also, if it was between the two methods mentioned above, which one would be more efficient? Start using is the better way and these are more or less the only methods available. Memory or performance are not really an issue. TIA, Valetia ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: writing files on HD vs overwriting files on Apache CGI
--On Wednesday, February 19, 2003 22:26:10 + jbv <[EMAIL PROTECTED]> wrote: Hi folks, When using the following script in a regular MC stack : open file myFile write myVar to myFile close file myFile MC overwrites an already existing file, or creates a new file with that name on the HD. But when MC is used as CGI on Apache for instance, no new file is created. The only way to achieve this, is to place in the right directory a file of same name & type, (and full access privilege : 777) and overwrite it with the script. Do cgis in other languages do what you want? Does the cgi-bin directory allow writing to it (777)? For instance, I have a web page with a form allowing users to upload jpg & gif files of their own. The cgi script parses these files and is supposed to store them in a specific directory with specific names. In order to achieve this, I need to put in advance in that directory as many empty files as possible uploads, with the right names. Then when a file is uploaded, the content will overwrite the corresponding file. Could some CGI / Apache / Unix guru be kind enough to explain why this is so ? Thanks, JB ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Norton Internet Security (NIS) and Post failure
--On Friday, February 07, 2003 00:06:55 -0500 Tariel Gogoberidze <[EMAIL PROTECTED]> wrote: This problem was already mentioned either on this or Rev list by Rich Herz >There are problems with MC access to internet with Norton >Internet Security (NIS) installed on Win XP. NIS must >be uninstalled, not merely turned off. -- > NIS on Win 98 seems to be working OK. >Rich Herz We are also badly hit by this issue. Our users with windows XP and NIS installed can't send post command from MC. Sometimes Norton askes for permision to allow MC stanalone to work but then blocks it anyway. I really hope somebody have a solution for this I think the problem is with the Norton thing which is either needs configuration or is bad by nature. To find out exactly what's going on you need a program which can intercept the communication between the application which sends the post and NIS. Basically you want to see what's different between a regular browser sending a post and your app. MetaCard 2.4.3, post command used either with libUrl 1.0.8b1 or with our own costume function with post Thanks in advance for suggestions Tariel Gogoberidze ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
re: cgi scripting
--On Thursday, January 30, 2003 11:43:26 -0800 RCS <[EMAIL PROTECTED]> wrote: Thanks Andu...here is the 'analyzed' packet from the device to the server (I used CommView...minus the hex info): GET /cgi/input.cgi?INPUT=RGB1&lang=e&x=39&y=11 HTTP/1.0..Accept: image/gif , image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */*..Referer: http://192.168.4.9/base_e.htm..Accept-Language: en-us..User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)..Host: 192.168.4.9..Connection: Keep-Alive Try something like this: put "INPUT=RGB1&lang=e&x=39&y=11" into tData put "POST /cgi/input.cgi HTTP/1.0" & crlf &\ "Accept: */*" & crlf &\ "Accept-Language: en-us" & crlf &\ "Connection: Keep-Alive" & crlf &\ "User-Agent: Metacard-Tool" & crlf &\ "Content-Length: " & length(tData) & \ crlf & crlf & tData into tRequest write tRequest to socket x Post is the correct way to do it. You get the idea, each line of the header is separated by crlf and you have crlf & crlf between the header and the content, that's the standard. If you still get errors play with the above or repost to the list ('INPUT=RGB1' is the actual 'command' or syntax) The server responds with : HTTP/1.0 2 OK..Server: Dahlia/1.0.9a..Connection: Keep-Alive.. And the very next packet is: Content-Type: text/html When I try to send this information, the server responds, but instead of 'OK', there is an 'ERROR 400' or something...and obviously it does not do anything to the device. I hope this makes sense... (This is a web browser based interface to get the status of a device on the network...from IE or Netscape, etc.). Thanks, John (RCS) --On Wednesday, January 29, 2003 11:18:34 -0800 RCS <[EMAIL PROTECTED]> wrote: > Hello, > > I just thought I would post this in the hopes that someone has already > worked this out: > > I need to respond to a device that has a simple server (a network > appliance). The server needs to be 'fed' cgi responses (i.e. GET or POST), > and I have 'analyzed' the device that I am trying to emulate for the > format (basically a web interface from within a browser). I have the > format that the device is sending, but it has information embedded that I > do not think is relevant to me (referrer: Mozilla, etc.). So when I > simply send this 'GET' command from an open socket (port 80) from > MetaCard, I get a response from the server, but it tells me there is an > error in the format. > > I suppose my question is: when replying to a server in this manner...who > should I say the referrer is? Do I need this? I know I need to read up on > cgi scripting, but I thought this might be a simple procedure... It is simple when you know it, why don't you post what exactly the server sends and what your script replies, you give no "helpful" information. > > Thanks for any info, > RCS > > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: cgi scripting and MetaCard
--On Wednesday, January 29, 2003 11:18:34 -0800 RCS <[EMAIL PROTECTED]> wrote: Hello, I just thought I would post this in the hopes that someone has already worked this out: I need to respond to a device that has a simple server (a network appliance). The server needs to be 'fed' cgi responses (i.e. GET or POST), and I have 'analyzed' the device that I am trying to emulate for the format (basically a web interface from within a browser). I have the format that the device is sending, but it has information embedded that I do not think is relevant to me (referrer: Mozilla, etc.). So when I simply send this 'GET' command from an open socket (port 80) from MetaCard, I get a response from the server, but it tells me there is an error in the format. I suppose my question is: when replying to a server in this manner...who should I say the referrer is? Do I need this? I know I need to read up on cgi scripting, but I thought this might be a simple procedure... It is simple when you know it, why don't you post what exactly the server sends and what your script replies, you give no "helpful" information. Thanks for any info, RCS ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: unable to create cards???
--On Tuesday, January 28, 2003 09:31:01 -0800 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: One thought occurs to me just now is, I notice I have 2.4.3 at home and 2.4.1 at work and I was passing the stack file back and forth to work on it. Using resource mover for example. Could this have messed up my stack? Resource mover adds some stacks to your main stack and depending of what resources you move (libURL) a little script. My impression is that when you can create a new cd successfully you use the correct defaultStack(), otherwise not. If the stack is locked then you get an error. Copy your scripts to a fresh stack but without any other "resources", see if it helps. Or just remove whatever resources you may have moved to your stack and give it a try. Don't forget to save... / FROM: Sadhunathan Nadesan <[EMAIL PROTECTED]>, Jan 28 8:13 2003 | ABOUT: unable to create cards??? | | | Strange, somewhere between a version of a stack I had | yesterday, and today, I can't create new cards. But | I don't know how/where this problem crept in?? | | If I go into the message box and say create card or | say clone this card, and then ask put the number of | cards or put the number of this card, it is always 1. | | If I go into the same stack, yesterdays version, it | works properly. If I put in the message box next card | or create card or clone this card, I get cards 2, | 3, 4 ... etc. | | the can't modify property is not set, anyone have an | idea how i might have caused this? mc version 2.4.3. | | Gosh, save your work often often under different names | or use an rcs system i guess is the lesson! | \ END: Sadhunathan Nadesan ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, January 23, 2003 18:12:32 -0800 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: create table abook ( name text primary key, company_ text, street__ text, city text, state___ text, zipcode_ text, telepho1 text, telepho2 text, mail text, web_ text, recordid serial not null ); I didn't have time to play with Pierre's thing yet but I kept wondering what's the benefit of padding each name with ___ to keep a fixed number of chars in the column names? Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: CGI Frustration
--On Wednesday, January 22, 2003 12:11:01 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: ># !linux Try #!mc and make the script executable too. The script's already executable (755), but the name of the executable for linux is just called "linux". I tried it, though, and got the same error. Are you sure that you gunzip-ed the mc.gz out of the folder named linux after you un-tar-ed the linux.tar file? You should obtain a mc executable. Thanks anway, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: CGI Frustration
--On Wednesday, January 22, 2003 11:32:43 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: OK, I'm finally trying to get MC set up as a CGI. I have an ISP that uses Linux, so I DL'ed the linux engine and uploaded it to my cgi-bin folder. I set the permissions to 755, and have a simple script called "test.mt" that sits in the cgi-bin folder as well, and its permissions are 755. The script is this... # !linux Try #!mc and make the script executable too. on startup put "Hello World!" into tResponse put "Content-Type: text/html" & crlf put "Content-Length:" & (the length of tResponse) & crlf & crlf put tResponse end startup ... and I keep getting an internal server error 500. I tried exactly the same thing on another ISP using BSD (with the exception of the first line being "#!mc"), and got the same result. I'm convinced I'm just not calling it properly... any ideas? Thanks for any help anyone can provide. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re:Clean it it guys!
--On Monday, January 20, 2003 13:13:13 -0800 "Ray G. Miller" <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] (Domi) Date: Mon, 20 Jan 2003 07:43:47 +0100 Reply-To: [EMAIL PROTECTED] > This is a multi-part message in MIME format. Oh you guys, your posts are almost illegible!!! Use plain text instead... -- Regards, (-8 Dominique I'll second that! It takes a few seconds to trim the stuff that's not applicable and switching to plain text should be a requirement for this list... The only cure is the server to reject multi-part messages (not going to happen, we are too polite) This came up in the past several times, the majority of people don't even know the difference or how to switch to plain text or why. Beware of digitally signed messages!! Ray G. Miller --- Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:[EMAIL PROTECTED] (V) 510.530.1971 (F) 510.482.3491 ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: scripting style issue
--On Tuesday, January 14, 2003 01:13:08 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: 3. Is this boring? Painfully so ;-). I'm pretty sure that all of us at one point or another have agonized on "the best way" to name variables, functions, handlers, etc. until the boredom took over. Here's what I think, unless every one enforces a standard with the idea that code must be easily readable by others, conceiving one is useless. A "personal" standard eventually emerges on its own by necessity. What I found to be useful is naming for example variables storing the same kind of data with the same name in different scripts. Copy/pasting between scripts is easier. I always wanted to write variables in uppercase only, so that they are more visible but never got to, the "tVar" kind of notation using the least amount of characters possible was always sufficient. Arrays are usually distinct by having [] at the end most of the time so it was never an issue for me. I can't think of many ways to make metatalk easier then it already is. Structuring the script (from keeping all scripts at one level as opposed to all over the place, to speed/debugging optimization techniques), that would be a more entertaining topic (though not much;-). Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: SelectedText and ItemOffset
--On Monday, January 13, 2003 17:01:43 -0800 Scott Rossi <[EMAIL PROTECTED]> wrote: Recently, "andu" wrote: How do you determine the number of the item that corresponds to where mouse was clicked? Something like: # set the style of each item to link first set the itemdel to tab put the clickText into cText put itemOffset(cText, the_Line) This is a good suggestion, however, items can be made up of multiple words separated by spaces; the clickText only seems to return single words (not groups of words). Any way to this into account? Like I said, set the textStyle of each item in the field to link (a.k.a group) FIRST! That way the clickText will return all the words in the group. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: SelectedText and ItemOffset
--On Monday, January 13, 2003 16:16:48 -0800 Scott Rossi <[EMAIL PROTECTED]> wrote: How does one determine the number of the item in which the selectedText falls? Situation: a field containing several tab-delimited items on a line. Set 1Set 2Set 3Set 4Set 5 The mouse is clicked somewhere in the line of text. How do you determine the number of the item that corresponds to where mouse was clicked? Something like: #set the style of each item to link first set the itemdel to tab put the clickText into cText put itemOffset(cText, the_Line) Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re:The Case Of The Reluctant Field
--On Monday, January 13, 2003 11:36:55 -0800 "Ray G. Miller" <[EMAIL PROTECTED]> wrote: Metacardians, Looks like the field problem season... I've a case where a scrollngfield will NOT take the focus unless it is clicked into with the mouse. This field's properties are identical to the previous 5 fields, i.e.: Taverse on auto tab hilite on fixed line height This Reluctant Field was working propery in the past: tabbed from one field to the next Has anyone has a case where a field changed its properties on its own volition? Try to catch the focusedObject and see if the field shows up or not while you tab. Only the lockText seems to be doing that... Ray G. Miller --- Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:[EMAIL PROTECTED] (V) 510.530.1971 (F) 510.482.3491 ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: ANN: New xTalk discussion list
--On Saturday, January 11, 2003 12:10:05 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: It was an announcement... not an open season for OT rebuttal or commentary. If you want to participate, you have the link. If you don't, don't. Ken, when I will need your approval to write to the list about stuff I get from the list I will let you know. Let's move on, shall we? (BTW: That was rehetorical... please don't answer the question. ;-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: "andu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 6:24 AM Subject: Re: ANN: New xTalk discussion list --On Saturday, January 11, 2003 04:57:58 -0600 curry <[EMAIL PROTECTED]> wrote: > Hi all, > > There is a new mailing list for Christian xTalk programmers at: > "...to find ways to use scripting technology in ways that ... glorify God" and to add injury to insult "...Discussions about Revolution are also permitted." Others have tried to glorify God using flying technology. > http://groups.yahoo.com/group/cxtalk/ > > Feel free to join us and discuss with others who share both of these > passions! > > Thanks, > > Curry > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: ANN: New xTalk discussion list
--On Saturday, January 11, 2003 04:57:58 -0600 curry <[EMAIL PROTECTED]> wrote: Hi all, There is a new mailing list for Christian xTalk programmers at: "...to find ways to use scripting technology in ways that ... glorify God" and to add injury to insult "...Discussions about Revolution are also permitted." Others have tried to glorify God using flying technology. http://groups.yahoo.com/group/cxtalk/ Feel free to join us and discuss with others who share both of these passions! Thanks, Curry ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: [OT] invisible files on Windows
--On Friday, January 10, 2003 11:16:22 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Any other tips for preventing the copying of QT media from a CD? It doesn't have to be capable of stopping an experienced hacker type, just enough to make it at least inconvenient or unobvious for the average user. I'd say you either sell the cds (and QT media on it) or if you give them away freely don't worry about it. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Creating thumbnail
--On Thursday, January 09, 2003 12:25:31 -0600 Karl Becker <[EMAIL PROTECTED]> wrote: On Thursday, January 9, 2003, at 02:52 AM, andu wrote: --On Thursday, January 09, 2003 00:12:37 -0600 Karl Becker <[EMAIL PROTECTED]> wrote: Oh yes, it changes a lot. It's for a golf game, actually. The group I'm taking a snapshot of is the course itself, made up of graphic objects. It changes every time a new hole is loaded. Did you try using a duplicate set of images you use for the game but smaller which are loaded into the navigation window at the same time and location as the main window? I wanted to do that all along, but I don't know how to resize a bunch of graphics and keep the positions of each other correct in relation to one another. Is there some simple technique I'm overlooking? I'm thinking that if you resize the images to 20% their location should also be 20%x, 20%y. Thanks, Karl Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: darwin mc?
--On Thursday, January 09, 2003 10:19:03 + Dave Cragg <[EMAIL PROTECTED]> wrote: At 11:09 am -0500 8/1/03, Richard MacLemale wrote: It's the metacard engine for Darwin. You can slap it into your CGI-EXECUTABLES folder and then write MetaTalk scripts to do cool CGI stuff. Changing topic slightly... I've seen a number of recommendations recently to put the mc cgi engine in the same folder as the cgi scripts themselves. Is there any possible security issue with this? For example, there are many warnings on the Web not to put the Perl engine for Win32 systems in the public cgi-bin directory. The reason is that the executable can be called directly from a url reference and a script passed as a parameter, allowing all kinds of untold damage to be done. I was wondering whether something equally devious was feasible with Metacard. While I haven't found a way to expoit this myself, I'd love the reassurance that it was perfectly safe approach. You can't pass commands to mc engine and have it execute them (as with perl), only using a script and if the script is not there... I put the engine in /cgi-bin simply because sometimes I have no access to /usr/bin. Cheers Dave ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Creating thumbnail
--On Thursday, January 09, 2003 00:12:37 -0600 Karl Becker <[EMAIL PROTECTED]> wrote: Oh yes, it changes a lot. It's for a golf game, actually. The group I'm taking a snapshot of is the course itself, made up of graphic objects. It changes every time a new hole is loaded. Did you try using a duplicate set of images you use for the game but smaller which are loaded into the navigation window at the same time and location as the main window? Thanks for the suggestion anyhow :-) On Wednesday, January 8, 2003, at 11:30 PM, thinkertoys wrote: Does the group's appearance change? If not then I think your best bet would be to take a series of screen snapshots, combine/merge/modify/Resize in Photoshop & then import back into your project. This will give you the best result. Eric Thinker Toys,Inc. ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Multi-user databases for Medical Office
--On Wednesday, January 08, 2003 22:08:11 -0500 [EMAIL PROTECTED] wrote: I've just moved into a new medical office and am trying to build a multiuser, multi workstation database where doctors can input patient notes simultaneouslyI know it can be done, but here's the problem... I build a stack which I put on the share drive and two or three doctors open it up and use it, but how can information or a record be saved so a Doctor who is in open room can see the note written in another office? Seems like I have to save and then close the stack and then run to another room and open the same stack from the share drive to be able to retrieve info written in a different part of the office. I can think of 2 ways: 1. save and store all the data to text file (or a separate stack for that matter) and have the application update itself every other second. This works for your shared drive setup but it is not very elegant. 2. use a client-server setup where all data is sent by client applications to the server which upon receiving new data propagates it to the other clients. The communication between clients and server is done using sockets and a simple protocol and it doesn't require a shared drive. scott ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: darwin mc?
--On Wednesday, January 08, 2003 16:08:46 -0800 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: | | It's the metacard engine for Darwin. You can slap it into your | CGI-EXECUTABLES folder and then write MetaTalk scripts to do cool CGI | stuff. | Ok, I get it. Call me ignorant, but I had no idea what Darwin was. Your response gave me enough of a clue to do a search on the net and uncover the fact that it's probably a Mac operating system code name or component or something. I found this on an Apple site which makes it sound like Darwin is a code name for the Unix kernel. Darwin is a Unix flavor in its own right based on FreeBSD and Next. OS X sits on top of it providing extra functionality just like XFree86 but certainly more complex. There is a port to i386 but device support is extremely limited at this point. Mac OS X also marks the debut of true preemptive multitasking. Darwin, Mac OS X's underlying code, constantly analyzes your computer needs. It works on processing tasks on the background. But when you receive an e-mail or have an urgent need, Darwin will allocate processing power to your immediate tasks. As you can probably tell, I'm not too familiar with Mac's. Anyway, thank you! ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: regexp
--On Wednesday, January 08, 2003 09:11:05 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: Sorry about that... hit the Send button too soon. The key to remember in MC (after 2.4.2 where PCRE was added) is the modifier "(?s)" which means to "treat the entire chunk of text as my string, ignoring newlines". So if you want to get the chunk from the beginning of the "W" in "Welcome" to the end ">" in "", you can use this: -- I have your text snippet in field 1 on mouseUp local tStart,tEnd get matchChunk(fld 1,"(?s)(Welcome.*?)",tStart,tEnd) select char tStart to tEnd of fld 1 end mouseUp Hope this helps! Thanks Ken, I knew there was something... The learning curve for metacard is very mild but endless. Scott makes sure that we age properly too ;-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
regexp
I need some help with matchChunk(). Here's the problem, I need to parse html pages for a certain chunk and replace it with an other. Unfortunately I cant use the good old "replace x with y in z" because the chunk sometimes is on one line other times on many. Here's an example: Welcome to our site I want to replace "Welcome to" with "This is", for example. I've spent hours trying to find the right matchChunk() expression given I know the first (Welcome) and last word (to) of the chunk but without success, I can only get one of them at a time. Thanks in advance for any suggestions. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Tuesday, January 07, 2003 15:01:23 -0800 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: In other words, something where the front end is running on the client (an MC app) and the back end is a data base across the web on the server. Something with rich a interactive nature, the kind of application you can build native with MC for strictly local use. Such as, you bring up the stack and it displays all the fields in the current record. You click next, next, next buttons and it is paging through .. not cards in your stack, but records in your data base on the back end. You want to change something, you just change it, press the update button, and the back end data base is updating. Without, hopefully, having to hand code a lot of SQL statements to make everything work, but if so, so be it. Anyone have anything like that happening? I'm working on such a stack right now for a client. It "posts" queries to a http server + mc cgi which in turn passes them to the database using shell(), then replies the results back to the client. I can't make it publicly available though, just a confirmation that it can be done without much hustle and it works nicely. SQL must be used in communicating to the database, no way around it but that's the easy part. Mahalo Sadhu ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Database Encryption
--On Saturday, January 04, 2003 20:45:14 +0200 Ruslan Zasukhin <[EMAIL PROTECTED]> wrote: on 1/4/03 3:13 PM, andu at [EMAIL PROTECTED] wrote: Hi Andu, But problem is that MC 2.4.2 on some incredible reason returns UNIX paths on OS X ? What is so incredible about mc returning unix path on OSX, isn't OSX UNIX? Besides, this behavior is the same on all platforms and has never changed. I agree when we speak about MC 2.4.3 Macho. But MC 2.4.2 Carbon -- which is claimed to use CARBON API, Which claim to support CARBON plugins, Must work with MacOS Classic paths. Otherwise plugin, (now we speak about Valentina) expect to work with CARBON API, which DO NOT have unix paths. So why I need deal with unix paths in CARBON plugin ??? Can you explain me? And again, all rest products like REALbasic and Director Carbon, work correctly here. They return MacOS paths. Okay, I see that this will be never changed in MetaCard. So this is private headache of MetaCard developers. Metacard has used unix path on mac since it was first ported (version 2.0 I think) and it never bothered me but keep in mind that the only time this conflicts with the mac path(:) is when it interacts with another app in such a way that it needs to pass or get a path, which is rare. The conversion function is only 2 lines so it was never an issue, on the contrary, it is more convenient for cross platform development. In Director I can simply put cursor on function, click button, and wow, I am on that function. Well, I just frustrated. Again and again, in case I get project from developer to test MetaCard, is nightmare for me. Sounds to me as if you use Metacard only accidentally, why do you expect it to feel familiar? I felt the same as you do first (and last) time I opened Director. Almost true, but Director DO HAVE that features, and with time I can find them and use, MetaCard do NOT have them. Correct but metacard has an OK button for closing the script editor without any confirmation and you didn't have the time to figure it out;-). And remember, people choose Metacard for the language not IDE, most newbies have a hard time with the IDE until they discover the superior pleasure of using the language and the power of it. But agree, that if add great IDE to great language you will be more happy? :-) Too late now, I'm just as hard to satisfy as you are;-). May be Revolution solve this problem ? Just no time to look on it deeply... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] - e-mail: [EMAIL PROTECTED] web: http://www.paradigmasoft.com To subscribe to the Valentina mail list send a letter to [EMAIL PROTECTED] - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Database Encryption
--On Saturday, January 04, 2003 11:23:55 +0200 Ruslan Zasukhin <[EMAIL PROTECTED]> wrote: And Scott, again, I believe this is NOT correct, that MC 2.4.2 which is CARBON, returns UNIX paths. It must return MacOS paths from Choose dialog. I just remembered, the metacard example stack for Valentina XCMD is well aware of this and has a unix to mac path conversion function... Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Database Encryption
--On Saturday, January 04, 2003 11:23:55 +0200 Ruslan Zasukhin <[EMAIL PROTECTED]> wrote: But problem is that MC 2.4.2 on some incredible reason returns UNIX paths on OS X ? What is so incredible about mc returning unix path on OSX, isn't OSX UNIX? Besides, this behavior is the same on all platforms and has never changed. In Director I can simply put cursor on function, click button, and wow, I am on that function. Well, I just frustrated. Again and again, in case I get project from developer to test MetaCard, is nightmare for me. Sounds to me as if you use Metacard only accidentally, why do you expect it to feel familiar? I felt the same as you do first (and last) time I opened Director. And remember, people choose Metacard for the language not IDE, most newbies have a hard time with the IDE until they discover the superior pleasure of using the language and the power of it. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Export text from tabbed field
--On Friday, January 03, 2003 13:27:26 +0100 Signe Marie Sanne <[EMAIL PROTECTED]> wrote: MC 2.5B1 - buildnumber 3 - MacOS 9.2, Windows 2000 Happy new year to all from Norway Is it possible to export a field with fixed tab stops to a text file with the tab stops being maintained in the file? You can save the tabs but not the graphical representation of the stops, there is no such character as a tabstop. You could write a converter to html tables and save that if that's what you're looking for. I have used: put fld 1 into url tUrl. I have as well tried the stack "Print field" but the paper print shows the same negative result. -- Try printing the card with the field, it should show the tabstops. 1. amanuensis Signe Marie Sanne e-mail: [EMAIL PROTECTED] Romansk Institutttel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: [ANN] RevNet launched
--On Tuesday, December 31, 2002 00:41:35 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: andu wrote: Also, all three of the people who've reported issues are power users -- I know a lot of reative newbies running without difficulty. I'm not exactly the image I have of a power user but I'll try to downgrade ;-). In some ways the MC engine is like an OS, and is prone to the same vulnerability: geeks will add stuff to their environment and modify it much more so than a relative newcomer, and with such tinkering comes conflict... :) I stopped doing that a long time ago , the only modification still in use (from my "newbie" days;-) is a smaller home stack. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: [ANN] RevNet launched
--On Monday, December 30, 2002 11:48 PM -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Also, all three of the people who've reported issues are power users -- I know a lot of reative newbies running without difficulty. I'm not exactly the image I have of a power user but I'll try to downgrade ;-). Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: [ANN] RevNet launched
--On Monday, December 30, 2002 9:44 PM -0800 Scott Rossi <[EMAIL PROTECTED]> wrote: Hey Don Gaskin, got your email and I think I figured out what the problem with RevNet is: I believe revGoURL is a Rev-only command and I'm using MetaCard. I don't believe the MC folks included revGoURL as a synonym in MC, unless you know something I don't. Or, perhaps you designed RevNet to be Revolution-compatible only and I didn't catch it. That would explain a lot... This looks like it was meant for Don Gaskin's eyes only but nevertheless I second Scott's remarks, didn't work here either and looking at the script, it wasn't meant to work with Metacard. Did Richard post the announcement to the wrong list? Happy new year list! Anyway, Happy New Year to you, and again, nice work on RevNet. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Web-Dedicated Metacard
Here's a less microsoftian solution for a "sane" MC helper application for browsers: make a stack which opens off screen or invisible with something like... on startup answer "Ready to format your hard drive??"\ with "OK" and "Cancel" if it is "Cancel" then quit exit startup Move the answer dialog into the stack, save and make it a standalone. Use this standalone as the helper application instead of MC engine and send me $300 every year. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Web-Dedicated Metacard
--On Tuesday, December 24, 2002 08:11:48 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Chipp Walters wrote: The 3rd party 'certification' I was referring to is through Verisign Certificates (not Microsoft), the *same* guys who do the SSL server IDs. Over 90% of SSL (Secure Socket Layer) websites use Verisign, so apparently they are a trustworthy source. What specific steps would be needed to use a Verisign certification for RunRev stacks? $300 for a 1 year subscription or $700 for 2 years plus all the personal information about you and your family. That's all. And since Dr. Kissinger won't reveal his client list, how do we know Verisign isn't on it? ;) Ok, then we go with OJ, he's also certified "not guilty", as a bonus. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Web-Dedicated Metacard
--On Monday, December 23, 2002 18:59:14 -1000 Sannyasin Sivakatirswami <[EMAIL PROTECTED]> wrote: What's being proposed here is a responsible security concern, IMHO. Ken, I am embarrassingly naive about these issues. when you say "responsible security concern" What do you mean? How is this any different security wise, than distribution of the Supercard Player (which we knew and loved) of the past? If my SC project wanted to read and write file and "do stuff" with that player, nothing was there to stop it. Is it just the auto boot from a web page we are concerned about? There is no difference. Sivakatirswami ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Web-Dedicated Metacard
--On Tuesday, December 24, 2002 00:27:41 -0600 Chipp Walters <[EMAIL PROTECTED]> wrote: b) be certified as 'safe' by a reputable 3rd party (the Microsoft approach). My thinking on the subject is that a 3rd party could build a player and infrastructure for registering (certifying) stacks. Then the player would check in with the 3rd party to verify the signature of the certification. At the minimum, all unsigned stacks would be pre-empted by a warning notice such as: "This program is unsigned and could possibly damage your computer!" This is what tripped me in your previous message too, and this is what I was referring to as the illusion of security being worse then no security at all. I can see dr Kissinger (or OJ) running such an enterprise. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Creating thumbnail of graphic objects?
--On Monday, December 23, 2002 21:27:10 -0600 Karl Becker <[EMAIL PROTECTED]> wrote: Thanks Chipp! Just one question: How can you get the id of the image that was created when importing? I've tried getting "it" and "the result" and neither give me anything. The newImage message: on newImage put the name of the target end newImage Karl On Sunday, December 22, 2002, at 02:05 PM, Chipp Walters wrote: Do an import snapshot of the grcs you want and then resize the resulting image and lock the loc of it to keep it from resizing. You may want to do another import snapshot of the newly lockloc 'ed image if you're trying to keep the filesize small. -Chipp ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Web-Dedicated Metacard
--On Monday, December 23, 2002 15:50:01 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: What's being proposed here is a responsible security concern, IMHO. Ok you convinced me Ray. I think the solution though is not going to be easy or pleasant. On the same note, this player might want to disable internet communications also since a malicious stack could read important preferences files and post them. This can go on forever... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Web-Dedicated Metacard
--On Monday, December 23, 2002 14:31:40 -0600 Chipp Walters <[EMAIL PROTECTED]> wrote: > Chipp Walters wrote: > >> The big problem with a *sanctioned* web-savvy MetaCard or RunRev >> player is the potential for *very dangerous viruses*!! > I don't understand this discussion, one can D&D a stack on the engine on all platforms which support it and have it "play". For browsers one can add MC as helper application and have stacks "play" as soon as they download, what would a "player" do differently and why would it be more dangerous then a plain engine?? Sure I can make a stack which erases the hard drive "on startup" but so can any application. Regards, Andu Novac Hi Andu, Neither Shockwave (Director and Flash), JAVA, nor ActiveX will imediately deploy and execute a program upon a simple javascript ON LOAD event which allowed file access (the first time loaded). A correctly registered MIME for MetaCard/RR could execute with file access permissions, without so much as a warning (see my ButtonGadget example). A 'correct' MC/RR player would involve registering itself as the correct MIME and then doing some sort of certification and/or file check *before* automatically downloading and running. There is a BIG difference between just registering MC automatically as a valid MIME and building a player which provided some safety measures. Like what kind of safety measures, a warning that the script (like any script) *could* do this and that to the data on the hard drive if executed? As to Shockwave it never asks me if it's ok to load this or that moving thing once I have the plugin installed. Java also, it just displays that stupid running text in my browser without any questions. What I'm trying to say is that there is a difference between legitimate security concerns and constant fear or the illusion of security. If there is fear then not using the computer on a public network is the best solution for sanity, the illusion of security is worse then no security at all. The idea is to create a generic 'player' so that anyone who has installed it, can playback any content with just a click of a button on a webpage. Like I said, that can be done manually in the browser's preferences. -Chipp ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Web-Dedicated Metacard
--On Monday, December 23, 2002 09:46:31 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Chipp Walters wrote: The big problem with a *sanctioned* web-savvy MetaCard or RunRev player is the potential for *very dangerous viruses*!! I don't understand this discussion, one can D&D a stack on the engine on all platforms which support it and have it "play". For browsers one can add MC as helper application and have stacks "play" as soon as they download, what would a "player" do differently and why would it be more dangerous then a plain engine?? Sure I can make a stack which erases the hard drive "on startup" but so can any application. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Since we are at it
A little something to share: this is a script which reads the width and height in a given JPEG file. I was planing to enable some weblog cgi scripts I made to handle photos and set the width and height parameters in html so that the images even if they are slightly bigger they will fit into a given rectangle and be scaled proportionally. True scaling of images usually requires extra software present on a server. Put this in a button: on mouseUp answer file "" put url ("binfile:" & it) into rawFile put length(rawFile) into tLen put offset(numtochar("255")&numtochar("217"), rawFile) into eoj if eoj+2>=tLen then put 0 into tCount else put eoj into tCount repeat while tCount put offset(numtochar("255"), rawFile,tCount) into tOff put chartonum(char tCount+tOff+1 of rawFile) into tChar if tChar is among the items of "192,193,194,195" then put char (tCount+tOff+5) to (tCount+tOff+8) of rawFile into rawSize put baseconvert(chartonum(char 1 of rawSize),10,16)\ &baseconvert(chartonum(char 2 of rawSize),10,16) into hSize put baseconvert(chartonum(char 3 of rawSize),10,16)\ &baseconvert(chartonum(char 4 of rawSize),10,16) into wSize put "H="&baseconvert(hSize,16,10) & space &\ "W="&baseconvert(wSize,16,10) into dimensions exit repeat end if add tOff to tCount end repeat put dimensions end mouseUp I'm sure it can be optimized but my knowledge of binary data is less then minimal. One thing the script doesn't check is if the file is a true JPEG. A similar process can read/extract the thumbnail image if the JPEG has one and/or the exif data if it exists but I have a family to feed and my time for playing is over;-). Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, December 19, 2002 22:36:42 + jbv <[EMAIL PROTECTED]> wrote: Pierre & Andu , andu a écrit : > > When it comes to browsers they should be considered bugged when they > work... I'd like to understand why people use javascript when they can > do with plain html. Allo Andu, I agree with you. Most browser-side problems are happening in parsing ..js code. Sorry folks, but I totally disagree with you... Yes, parsing JS can be a problem sometimes (especially between the same browser version running on different platforms), but according to my humble experience, HTML is much worse !!! JS + CSS (actually DHTML) is the less painful solution... Unless of course, your use of HTML is limited to forms... Aren't we all saying the same thing though, just looking from different angles? In my case JS can and does crush Opera on Linux i386 but it does fine on Mac, html doesn't crush ever but it can look like shit in older browsers as to css when it works it's nice but sometimes things overlap and it's a mess. Sometimes on one platform or another the page is just blank. With Macromedia stuff I have a problem to begin with (am I difficult??). Depends which mess you prefer. As for Flash, I just can't understand why most ppl fall in love with it... It's a totally self-contained environment that can't interact with anything else on your webpage... Furthermore, the scripting language is the most absurd thing I've ever seen (although I must confess I don't have a long experience with it : what I mostly do is trying to write a few lines of script to help our graphic designer when he's facing a critical situation); for instance, I never managed to create a global variable in Flash... Telling the truth, I'm seriously thinking of using SVG in the future, coz I like the way it can be embeded in webpages and interact with JS. And BTW did anyone notice that SVG has been recommended by the W3C, and that they never mentioned Flash ? Last but not least : as for web-dedicated MC apps, I'm working on a rather ambitious project that would combine cgi, DHTML and MC (and a few other techniques). The problem is with our client (and even with many ppl in the company I'm working for) : the shift in the approach is so big that they need a long time (much more than I expected actually) to get used to it, before they take any decision... The "funny" thing is that the main reason for the client to take the plunge is when I say that in the long run, development costs will be reduced (and in my company, it's the opposite : it's a good reason to ignore my project and stick to the good old webpages)... Side with the client;-), MC solutions are so much more reliable and in my case the client ends up wanting more not less so the money is the same just better spent. JB ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, December 19, 2002 10:42:11 -0800 Scott Rossi <[EMAIL PROTECTED]> wrote: IMO, HTML has evolved; look at all the spinoffs: DHTML, XML, SMIL, etc. The bigger problem is (lack of) standards. You just mentioned a few, the even bigger problem seems to be sticking to just one ;-). No doubt we are moving that direction with HTML specs, etc, but it's interesting to note that free competition has worked to our disadvantage in this area: while each browser technology attempts to out-feature the other, developers are left having to create workarounds to make their pages accessible everywhere. The original promise of the Web (write once, read anywhere) has been grossly unfulfilled and even undermined by competition. Exactly my point, competition is about money and power not quality. Speaking as someone who has faced these issues for years, I am quite tired of dealing with them and am more than ready to embrace a technology that makes my life easier instead of harder, whether it's Javascript, Flash, or a MetaCard/Web implementation. You're probably be right that someone is making a buck somewhere, but IMO it's at the expense of those folks trying to build sites for a living. Me? Bitter? No... :-) Alone? Hardly.;-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, December 19, 2002 08:54:59 -0800 Scott Rossi <[EMAIL PROTECTED]> wrote: Recently, andu wrote: I'd like to understand why people use javascript when they can do with plain html. Speaking for myself, Javascript allows me to script interactivity that is not possible with straight HTML: functions, variables, image management, etc. The biggest issue to deal with is consistent (or inconsistent as it were) support of the language across browsers/versions/platforms. I've built some fairly complex Javascripts myself and after wrestling with these issues, it seems to me that Flash is really the way to go: a self-contained environment that runs fairly consistently across most browsers/versions/platforms. Granted, Flash support may be absent on some platforms/browsers, but if your goal is absolute accessibility everywhere, you're pretty much limited to HTML images and text -- kind of like when the Web browser was first introduced. :-) If we talk about public web sites the goal should be "absolute accessibility everywhere". Unfortunately as long as somebody is going to make a buck out of it, html will never evolve and the public will be served only half. The excuse that the backward compatibility will sufer is false, people do upgrade when they have a reson. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, December 19, 2002 16:49:34 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: andu a écrit : --On Thursday, December 19, 2002 15:00:53 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: > Did you try Opera 5 (Andu said, previously, that Opera 6 linux is > bugged) or, else Mozilla, whoses works fine there on both Linux and > Jaguar ? When it comes to browsers they should be considered bugged when they work... I'd like to understand why people use javascript when they can do with plain html. Allo Andu, I agree with you. Most browser-side problems are happening in parsing .js code. Do you have a way you use to manage "..." tags conditional selections in plain html ? if yes, i would realy be intersted in learning the method you use. If you are referring to checking the password length and such I do that server side by good old reliable Metacard, the first lines check the posted data for accuracy before processing it and "puts" an error message when appropriate. It only take a second or 2 more, besides it's always a good practice to have a little text letting the user know what the restrictions are. It may seem more cumbersome but it's browser safe. Thanks :) Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard -- Cordialement, Pierre Sahores Inspection académique de Seine-Saint-Denis. Applications et bases de données WEB et VPN Qualifier et produire l'avantage compétitif ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC front end to PostgreSQL
--On Thursday, December 19, 2002 15:00:53 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: Did you try Opera 5 (Andu said, previously, that Opera 6 linux is bugged) or, else Mozilla, whoses works fine there on both Linux and Jaguar ? When it comes to browsers they should be considered bugged when they work... I'd like to understand why people use javascript when they can do with plain html. -- Cordialement, Pierre Sahores Inspection académique de Seine-Saint-Denis. Applications et bases de données WEB et VPN Qualifier et produire l'avantage compétitif ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: [Semi-OT] Another "They shoulda used Rev/MC" story :)
--On Friday, December 13, 2002 17:49:03 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Here's what Macintouch calls "an interesting excuse for cancelling Mac software development" from Cerious Software: It has been more difficult that you could ever know to port ThumbsPlus to the Macintosh. Unlike Windows, applications cause many problems on the Mac side. For example Quicktime installations totally crash ThumbsPlus so that the application doesn't even launch. Also, the cross compiler applications don't work any longer with new Mac versions. Any new software install has the ability to take Thumbs to its knees. Sorry we don't have better news. We expect to be taking down all Mac info from the pages in the next few weeks. <http://www.cerious.com/faq_pcq.shtml#PCQ_mac> If they were using Rev or MC they'd still be shipping on Mac, and their Windows effort would cost only a fraction to maintain and enhance. This got me thinking: Do any of you have a Rev- or MC-based image database program? That's a trivial exercise, I did something like that with Valentina while I was evaluating it, auto creation of thumbnails and so on. The complain that "...the cross compiler applications don't work any longer with new Mac versions", I think tells the whole story. I was tempted to throw one together and send it off to Ric Ford at Macintouch, but I have my hands full at the moment. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC 2.5 Script editor
--On Friday, December 13, 2002 09:00:07 +1100 Terry Judd <[EMAIL PROTECTED]> wrote: Cool it may be but I'm not sure enhancements like the one you describe make life easier for the scripter. The time one spends hitting the space key, reading a dropdown menu, choosing something and so on, is most likely longer then just typing the command. Surely this depends on the length of the command. For mine, this approach has clear benefits (both accuracy and speed) when typing urls into browser location bars. You are missing the point, having the browser remember the last visited sites and auto-complete them for you is quite different from typing mouseDown, openStack or even doubleMouseUp - a "long" one. I used to get excited at script coloring until I noticed that reading text of different colors was just harder then plain black text. One of the reasons I never felt for Revolution was exactly this richness of features and controls with which I found myself spending more time reading and clicking then writing script. Maybe it's really helpful for the beginners though I remember when I first started with Supercard I spent most of the time in the less featured environment. Provided there is a careful choice of colours and they are not overused script colouring can help you identify many structural and syntax errors at a glance. It may decrease readability of the script as a whole but then who reads script as prose? For example those who are beyond syntax errors and are more concerned with optimizing the script. Considering the huge acceptance and love for Hypercard which was the bare minimum, I tend to believe that this hunger for artifacts has it roots in marketing rather then need for extra functionality, sort of like the popularity of hamburgers world wide. I think there are plenty of people in the business of instructional design/usability business that will disagree with you (not hamburgers). To be honest, I don't really care to speculate on what I imagine people in the business of instructional design/usability really think or sell or whether or not they agree with me, I was just expressing my opinion on the issue based on my experience. There might be just as many experts if not more who will agree with me. Cheers, Terry... Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard -- _ __ Dr Terry Judd Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Email: [EMAIL PROTECTED] Phone: 03 9344 0187 Fax: 03 9344 4998 _ __ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC 2.5 Script editor
--On Thursday, December 12, 2002 14:22:04 -0600 Ken Ray <[EMAIL PROTECTED]> wrote: Personally, I like the approach that programs like Flash, Visual Basic and Homesite do - you type a word as part of the command, hit space, and a dropdown menu with the available options appears with none of the items in the menu highlighted. You can continue to type (doing so removes the popup), or you can use the up/down arrows to navigate the dropdown menu. As soon as you type the first down-arrow key, the first entry in the dropdown is highlighted; after that, you can type characters to jump to an entry, or continue using the arrow keys to find the item you want. Type Tab (or Enter, depending on the program) and it inserts it for you with the insertion point in the proper spot ready to continue typing. So for example, to do an "on openbackground", you'd type: o n (space) [dropdown appears] (down arrow) [highlights first item in the list - probably "arrowkey"] o [jumps to "openbackground"] (enter) [puts in "openbackground " after "on " If you ever want to bail on the dropdown, you can hit Escape, and it will disappear. It's really cool... Cool it may be but I'm not sure enhancements like the one you describe make life easier for the scripter. The time one spends hitting the space key, reading a dropdown menu, choosing something and so on, is most likely longer then just typing the command. I used to get excited at script coloring until I noticed that reading text of different colors was just harder then plain black text. One of the reasons I never felt for Revolution was exactly this richness of features and controls with which I found myself spending more time reading and clicking then writing script. Maybe it's really helpful for the beginners though I remember when I first started with Supercard I spent most of the time in the less featured environment. Considering the huge acceptance and love for Hypercard which was the bare minimum, I tend to believe that this hunger for artifacts has it roots in marketing rather then need for extra functionality, sort of like the popularity of hamburgers world wide. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Mac and file-types
--On Thursday, December 12, 2002 15:37:52 +0900 kweto <[EMAIL PROTECTED]> wrote: Hello, I'm looking to convert a stack from Windows to Mac. Here's the question. The stack I made works with file extension suffixes (eg, ".jpg", ".gif")) to restrict which files get displayed. To do this I use a script line something like: if char -1 to -4 is ".jpg" then ... Check out "filter" in the help stack. Can I assume file extensions identified in this way will also work as is on Macs? If not, how would I I.D. file-types on Mac? Yes. Thank you. Nicolas Cueto Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: MC on Apache and CGI
--On Sunday, December 08, 2002 19:39:59 + jbv <[EMAIL PROTECTED]> wrote: Pierre, It's, basicaly, two ways you can install mc to have it running behind Apache. 1.- As a simple cgi engine : just drop the mc engine where you want (but not in a directory where any bad guy will expect to find it) and add the right path head your mc-cgi scripts, alike "#!/the path/mc". Verify that the right permissions are ok to let the cgis lauchables by the mc engine and it will be ok. That's what has been done (AFAIK) and it works OK. Although your comments raise a few important questions that I'll have to discuss with the UNIX guy : - what is the best directory to drop the mc engine so that no bad guy finds it ? There is no such thing, I usually put it in the cgi-bin directory with the scripts but it can be anywhere as long as you specify the path in the script. You can rename it if you wish. - and what can happen if any bad guy finds it ? Nothing, he never heard of it, only good people know Metacard;-). - is there anything specific that can be done (by a bad guy) with MC as a simple cgi engine that can't be done with a php or perl engine ? No. Usually bad guys don't think of something called mc as something to play with and judging from the logs of the servers I service *all* bad guys look for a directory structure specific to windows NT not Linux. - does it have to do with the presence of a "wrapper" (I've seen that word at times in articles / discussions about cgi engines) ? - are there any safety measures to take to prevent that ? No And as for permissions : I know that the right permissions have to be set to mc-cgi scripts and text files used by those scripts, but have the feeling that there must be some specific other permissions to set in the Apache configuration to allow mc-cgi scripts to be triggered by external requests... If yes, can those permissions be set for one domain name only ? Just add .cgi sufix to scripts to avoid changes to Apache config file and make sure scripts are executables. More on this issues, please... Thanks a lot, JB ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Answer File Command
--On Thursday, December 05, 2002 13:05:40 -0500 Gregory Lypny <[EMAIL PROTECTED]> wrote: My apologies for the last message; I forgot to include a subject. Let me try again Hello everyone, I'm writing a handler to open files and restrict the choices to text files. answer file "Choose your data file " with filter TEXT Try answer file "Choose your data file " with filter "*.txt" When I use the filter above in OS X, AppleWorks text files are recognized but plain text files are not (they're dimmed). I'd like to be able to choose among all files with a .txt extension. What am I doing wrong? Greg ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Metacard beginner question
--On Wednesday, December 04, 2002 22:42:52 +0100 Mr X <[EMAIL PROTECTED]> wrote: just upgrade to netscape 7 or downgrade to explorer ;)) works fine with both... That's what I call good web design, glad somebody keeps the tradition alive! Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Dumb sort question
--On Wednesday, December 04, 2002 18:26:32 + jbv <[EMAIL PROTECTED]> wrote: Hi everybody, Sorting a variable made of various lines with several items in each line with the sort command is easy : sort lines of Myvariable by item 2 of each But how can I sort a variable featuring 4 lines with several hundreds of items in each, so that (for instance) items of line 4 are sorted numeric ascending, and (that's important) items of other lines being moved according to the new position of each item of line 4 ? For instance : line 1 :b,d,c,a line 2 :2,4,3,1 after sorting line 2, the content would become : line 1 :a,b,c,d line 2 :1,2,3,4 I have the feeling this can't be done in MC, while I remember doing it in OMO using the spreadsheet control... Thanks for any suggestion. JB P.S. I need to do it FAST on large variables, therefore a repeat loop won't do. I don't think you can do it without at least one repeat since we don't have the concept of columns in MC. This sounds good as a feature request - columns, columnDelimiter. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Valentina
--On Wednesday, December 04, 2002 18:34:53 +0200 Ruslan Zasukhin <[EMAIL PROTECTED]> wrote: on 12/3/02 11:58 PM, andu at [EMAIL PROTECTED] wrote: I used it in the past and it's a fine complex product, the learning curve is also "complex". Hi MetaCard List, Just in contrast to words of Andu. Words of Andu compliment not criticism!! Good wine takes long time. Just only I have got this letter from Lars. :-) So it looks "complexity" and "simplicity" is very subjective, And probably depends on experience of developer. Sure, like almost everything else but I guess, if he needed a sales pitch he would've been satisfied with "user testimonials" from your web site. *> Has anyone on the list had experience using this product with Metacard? *> Would be interested in your comments, either privately or to the list. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: metacard positioning of objects when window resizes
--On Wednesday, December 04, 2002 17:09:17 +1300 Rodney Tamblyn <[EMAIL PROTECTED]> wrote: I'm coming back to Metacard programming after spending some time recently in Project Builder and Interface Builder on some other projects. In Interface Builder when you create an object (button, field etc) one of the properties you can set controls how the position of that object is dynamically adjusted when the window is resized. For example, you can specify that the topleft of a field should stay the same, but that the bottomright should scale when the window is scaled. It seems to me that having a similar capability in Metacard would be useful. At present (correct me if I'm wrong) you would need to calculate and adjust the size/position of objects using code, and then apply. Yes but that's done dynamically, the only difference is that the behavior is hardcoded in Interface Builder. Rodney ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Metacard beginner question
--On Tuesday, December 03, 2002 15:34:25 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: JDMST wrote: I'm wondering if there are stacks available for download that I can use to examine and to get ideas from... ie.. learn how they all work? Does this make sense? Here are a few repositories: <http://www.RunRev.com/revolution/developers/developerdownloads/usercontr ibu tions.html> <http://www.fourthworld.com/rev/index.html> <http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/devre s/r evolution/revolution.htm> <http://www.altuit.com/webs/altuit2/RunRev/default.htm> And in case you don't know, this revolution thing where all these links point you to, is metacard in disguise so the stacks are compatible. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Valentina
--On Wednesday, December 04, 2002 09:51:52 +1300 Rodney Tamblyn <[EMAIL PROTECTED]> wrote: I've been considering using Valentina database (http://www.paradigmasoft.com/files/vxcmd.html) for a Metacard project going to start work on shortly. Has anyone on the list had experience using this product with Metacard? Would be interested in your comments, either privately or to the list. I used it in the past and it's a fine complex product, the learning curve is also "complex". Thanks. Rodney ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Metacard Apache and Windows 2000
--On Monday, December 02, 2002 11:04:25 -0500 "Peter J. Bower, M.D." <[EMAIL PROTECTED]> wrote: Dear Andu, I think I have generated every error code possible trying to get the cmc.exe to work on the apache 2.0.43 win 2000 server. By any chance do you have a copy of the config file you used to get this blasted thing up and running? If not, any ideas where I could find such a beast? Using the default config file it works here (made me start up Windows again!!). Make sure you put the correct path to cmc.exe at the top of your script: #!C:/Progam Files/Apache Group/Apache2/bin/cmc.exe --in my case on startup put "It works!" into temp put "Content-Length: " & length(temp) & crlf put "Content-Type: text/html" & crlf&crlf put temp end startup But I'm sure you know all these... Thanks again. Peter - Original Message - From: "andu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 5:00 AM Subject: Re: Metacard Apache and Windows 2000 --On Thursday, November 28, 2002 22:05:15 -0500 "Peter J. Bower, M.D." <[EMAIL PROTECTED]> wrote: > Hi folks, > > I've been trying to set up an apache web server on my windows 2000 > computer. All is well but I've not found a way to have MC run an > executable script. The list archives I've been able to find have been > very discouraging about this on non unix based systems. > > Has anyone been successful in doing this? > If not... any suggestions on how to proceed with making this possible? > What engine are you using? Should be the one named cmc.exe or something (ftp.metacard.com). I got that working once without problems. Should probably be in /cgi-bin/ with the scripts. > I can't exchange the windows for unix, and can't swap apache for the mc > based httpd server . I feel your pain... > > Thanks > > Peter Bower > > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: launching on Wintel/inter-process communication
--On Monday, December 02, 2002 18:36:31 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: So unless there's a reliable way to use UDP or other socket method on a machine with no IP, I may be back to polling. Can't you use localhost (127.0.0.1)? Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Metacard Apache and Windows 2000
--On Thursday, November 28, 2002 22:05:15 -0500 "Peter J. Bower, M.D." <[EMAIL PROTECTED]> wrote: Hi folks, I've been trying to set up an apache web server on my windows 2000 computer. All is well but I've not found a way to have MC run an executable script. The list archives I've been able to find have been very discouraging about this on non unix based systems. Has anyone been successful in doing this? If not... any suggestions on how to proceed with making this possible? What engine are you using? Should be the one named cmc.exe or something (ftp.metacard.com). I got that working once without problems. Should probably be in /cgi-bin/ with the scripts. I can't exchange the windows for unix, and can't swap apache for the mc based httpd server . I feel your pain... Thanks Peter Bower ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: To-be-saved changes are not saved
--On Thursday, November 28, 2002 11:07:39 +0100 Axel Buchner <[EMAIL PROTECTED]> wrote: Here is an instance of really bad behavior of MetaCard, and I wonder whether anyone knows a solution. (1) I close a stack script. This is your problem, I think, you close the script editor from the close box in the title bar. You should close the script editor from the OK button at the bottom of the window in order to save the script!! In 2.5.x looks like it's different... all of a sudden. (2) A "Save changes?" dialog pops up (3) I click "Yes" Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Time display
--On Tuesday, November 26, 2002 09:24:46 -0800 Ray Horsley <[EMAIL PROTECTED]> wrote: on 11/25/02 11:04 PM, Phil Davis at [EMAIL PROTECTED] wrote: Actually that should be: Idle handlers are the devil's workshop. With all respect to Dominique and Phil, I would like to disagree here. I use to avoid idle handlers like crazy in HyperCard until one day one of the guys from Heizer Software said simply "There's nothing wrong with idle handlers". I've used them ever since with no problem. You just have to remember they're there when you look for bugs. If you search the archive you'll find at least one instance where "one of the guys" from Metacard explains what's wrong with using idle in MC and then decide whom to believe. Ray Horsley Developer, LinkIt! Software ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Announcement MetaCard Script Editor and debugger Enhancements
--On Tuesday, November 26, 2002 13:29:32 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: Allo, Just to tell that load fine under Opera 5 linuxppc and don't load under Netscape 4.7 linuxppc (the page is only displayed as an blue background). For what it's worth, Opera 6.03 on Linux-i386 quits after about 40 sec. with a segmentation fault. -- Cordialement, Pierre Sahores Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: How to start mc sons...
--On Saturday, November 23, 2002 21:07:26 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: You can't do it that way though as you know, the engine will start a new process if it receives a new request while it is still busy processing one. Do you say that while a process is still running to parse a first request, the engine start automatically new ones to process the supplementary incoming querys ? If yes, it's just what i need. But, if i understand that this is trougth in console-cgi mode, i'm still not sure that it's the case in the way you know i use mc (as web apps long running process engine) :in waiting for tcp/ip sockets listeners requests on port and replying to them. It only works the way I described as a console-cgi, so you are correct. As a server, which is the way you say you use it, you have a problem. The only improvement I know of is to not block the mc server until you finish with the reply. When the server "accepts connection on port y with message x" , once that message starts its job, the server is ready to accept another connection. The trick is to keep track of each connection and reply them independent of the order they were accepted. Kind of how libURL is (still is?) handling multiple requests. Also check out the archives ("more cgi stuff"-thread) for a method Brian Yennie was using for something similar. For me, but i would be happy to be mistaking there (say it, if it's the case), all incoming requests are processed one after each other, by the main mc process i lauched once to activate the web service binded to the port . In fact, i figured me out that this mc process was just acting alike a postcript printer queue engine acts. Am i false, there ? If you can make it work the way I described, yes. While on this issue, is there any demand for supporting SSL? I imagine most uses for an http enabled app are not for general browsing but more specialized applications in which case https (privacy) should be a top priority as a feature. Sure... and i will probably use extensivelly thoses features if SSL become directly available from inside MC ! This (as well as banning Windows) should be on the "Homeland Security" list under "protecting communications". What better way to keep criminal (terrorist) eyes from praying enviously into our lives.;-) Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: How to start mc sons...
--On Saturday, November 23, 2002 16:13:22 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: Aloha Fiends, I'm mostly using mc to build web apps running betwin apache and sql or flatfiles databases. I would yet be able to have my mc-based web applications servers running in multiprocesses mode just alike Apache or PostGreSQL are doing : Those two deamons are each one running a primary main process and each time they are recieving an incoming request, a secondary son process is inited to parse each incoming request and build the reply to be send back to the client. To become able to serve in about some thousand connections peer second in both read and write modes, i will need to build something equivalent to get mc running in the same way. Does anyone, there, have some idea in about a starter point to build the mc app witch will be ok with this kind of job ? You can't do it that way though as you know, the engine will start a new process if it receives a new request while it is still busy processing one. While on this issue, is there any demand for supporting SSL? I imagine most uses for an http enabled app are not for general browsing but more specialized applications in which case https (privacy) should be a top priority as a feature. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Taking stacks from Windows to Mac (fwd)
-- Forwarded Message -- Date: Wednesday, November 20, 2002 07:13:51 -0800 From: "Billings, Kristen" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Taking stacks from Windows to Mac => I am running mc 2.3 on Mac OS 9 and on a PC laptop. I have no problem => opening stacks on the PC that were saved on the Mac, but when I try to => open stacks saved on the Mac that were saved on the PC, mc does not => recognize them. I really need to be able to work both ways => cross-platform. Is this not possible? Make sure type/creator are set correctly on Mac when you bring them over from windows. => => Thanks for all the help! => => Kristen Billings => Geriatric Research, Education, and Clinical Center => VA Healthcare System, Pittsburgh => ___ => metacard mailing list => [EMAIL PROTECTED] => http://lists.runrev.com/mailman/listinfo/metacard => -- End Forwarded Message -- Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Limits on text typed in fields
--On Thursday, November 14, 2002 13:08:10 -0600 [EMAIL PROTECTED] wrote: I am working on a program that requires users to type answers into fields, which are later sent to fields on another page that is printed. I need to limit the amount users can type into the fields, as opposed to the scrolling that occurs now (even with a rectangular field instead of a scrolling one), so that the answers will fit into the printed fields. I can't for the life of me figure out how to do this. I think the idea is to constantly compare (every key) the formattedHeight of the field with its actual height and "pass" any keys when the 2 are equal, or something like that. Thanks in advance! Kristen Billings Geriatric Research, Education, and Clinical Center VA Healthcare System, Pittsburgh ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
off-YAIR
Yet another intresting read somehow related to Metacard and the world at large. http://www.joelonsoftware.com/articles/LeakyAbstractions.html Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Testing on multiple platforms
--On Monday, November 11, 2002 20:39:49 +0100 Pierre Sahores <[EMAIL PROTECTED]> wrote: andu a écrit : --snip-- The point here is resentment for change as was mentioned in a couple of messages, not lack of solutions. My mac contains os 9.2.2, OS X (Darwin), Linux on one drive with the option of running os 9.2.2 within either Linux or OS X. --snip-- Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Allo Andu, Could you explain a little more how you run MacOS 9, directly, from within Linux. Because some fine apps (Dreamweaver, Excel) are not availables under Linux, i would be realy interested in running them without to have to switch to Jaguar and quit the main Suse-LinuxPPC environment i'm using most of the time on my Dual-USB IBook2. Are you running MOL ? Is the MacOS 9 running as fast as it works under classic in the Jaguar env. ? Else, what config are you running ? I use mol and the speed of os 9 is unnoticeable compared with native. You do control+option F8/F7 to switch between the 2 once os 9 is up and running. Thanks a lot for your help :) -- Cordialement, Pierre Sahores Inspection académique de Seine-Saint-Denis. Applications et bases de données WEB et VPN Qualifier et produire l'avantage compétitif ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Testing on multiple platforms
--On Monday, November 11, 2002 11:33:09 -0600 [EMAIL PROTECTED] wrote: Shari writes: [snip] I have one OS. Some people have my OS, others do not. Unless you have 5 or 10 computers, you CANNOT test on all OS's. A Window's developer would need at least 4 to test on the various flavours of Windows. Minimum. A Mac developer would need at least 3. Minimum. A cross platform developer would need a minimum of 7 computers, if you own all the flavours that your program might run on. Shari C Shari, You need to make a distinction between "computers" and "operating systems". You can have one computer that runs many flavors of Windows through different means. For example, Windows has dual-boot option, enabling installing of a variety of OSs on a single drive, and SELECTION of which OS to actually boot at startup. Another method is to have several hard drives in removable boxes, each drive a different OS. Then, simply swap drives as needed and boot up the required OS. Perhaps the Mac world has similar capabilities? The point here is resentment for change as was mentioned in a couple of messages, not lack of solutions. My mac contains os 9.2.2, OS X (Darwin), Linux on one drive with the option of running os 9.2.2 within either Linux or OS X. So you see, a considerable amount of Mac/Windows cross-platform testing can be done on as little as only two computers--a Mac and a PC--not the "5 or 10 computers" that you proclaim. miscdas ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: the large file challenge
--On Sunday, November 10, 2002 13:21:04 -0800 Sadhunathan Nadesan <[EMAIL PROTECTED]> wrote: Here's another try for whatever it's worth. I tested it on a file with 7000 lines of about 800k and it takes less then a sec: on startup put 0 into tCount put "mystic_mouse" into tWord put empty into line 3000 of tChunk put "/gig/tmp/log/access_log" into tFile open file tFile for read put 0 into fOffset repeat read from file tFile at fOffset+1 for 3000 lines #can play with that number for best results put it into tChunk put 0 into tSkip repeat get offset (tWord,tChunk,tSkip) if it is not 0 then add 1 to tCount add it+length(tWord) to tSkip else put 0 into tSkip exit repeat end if end repeat add length(tChunk) to fOffset if the num of lines of tChunk<3000 then exit repeat end repeat put tCount end startup Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Metacard menu?
--On Saturday, November 09, 2002 22:07:01 -0500 Shari <[EMAIL PROTECTED]> wrote: 1. If you can't or don't want to test/troubleshoot your work on a platform why bother to publish possibly broken apps for that platform. One of the reasons I purchased Metacard was the ability to do it cross platform. I do not expect to have to OWN each platform. It was my understanding that you code one time, and compile three times. And with a few exceptions, such as the Mac having a Preferences folder and Windows not, I was under the distinct impression that most of the cross platform issues are handled internally, within the engine. Most of them, yes but the 50 or so "Re: Metacard menu?" messages should tell you better by now. Shari C -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Metacard menu?
--On Saturday, November 09, 2002 11:12:20 -0500 Shari <[EMAIL PROTECTED]> wrote: I hate changing computers, and OS's. Change breaks things. One of my favorite games broke with the last change. I still miss that game. Civilization from Microprose. I have Civ II, but it just ain't as fun. I have 6 gigs worth of programs that I actually use a lot. The havoc of having even 20% of them go belly up... whooof... I do not wish to even fathom. 2 things I don't understand: 1. If you can't or don't want to test/troubleshoot your work on a platform why bother to publish possibly broken apps for that platform. 2. If you want to keep your OS 9.x (for the good reasons you have) why not go the dual boot option: os X on one partition or drive and os 9.x on the other. It may take some initial extra work but I think it's worth it. Shari C -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: the large file challenge
--On Friday, November 08, 2002 19:15:59 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: # !/usr/local/bin/mc on startup put "/gig/tmp/log/xaa" into the_file put url ("file:"&the_file) into the_text put 0 into the_counter put 1 into tPointer -- repeat for each line this_line in the_text get offset("mystic_mouse", the_text, tPointer) if it = 0 then exit repeat add 1 to the_counter add it to tPointer end repeat put the_counter end startup Here's my take considering "mystic_mouse" can occur only once on a line and loading 300MG into ram is not an issue: on startup put url ("file:"&"/gig/tmp/log/xaa") into the_text put 0 into the_counter repeat for each line this_line in the_text get offset("mystic_mouse", this_line) if it is not 0 then add 1 to the_counter end repeat put the_counter end startup ...and I'm sure it could be improved. This is off the top of my head. If it runs I'd be interested in how it compares. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.0: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: the large file challenge
--On Friday, November 08, 2002 18:24:56 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Sadhunathan Nadesan wrote: # !/usr/local/bin/mc on startup put "/gig/tmp/log/xaa" into the_file put 1 into start_read put 0 into the_counter put 1 into the_offset open file the_file for read read from file the_file until eof put the num of lines of it into end_read close file the_file repeat while (start_read < end_read) open file the_file for read read from file the_file at the_offset for 99 lines put it into the_text put the number of chars of it + the_offset into the_offset repeat for each line this_line in the_text if (not eof) then if (this_line contains "mystic_mouse") then put the_counter + 1 into the_counter end if end if end repeat close file the_file add 100 to start_read end repeat put the_counter end startup Now, I feel sure we could improve this, fix my errors, etc anyone? I'm confused: if the point is to avoid reading the entire file into memory, isn't what what line 8 does? And if it's already in memory, why is it read again inside the loop? I think I missed something from the original post No, you got it right. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.0: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Read and Analyze Giant Files
--On Thursday, November 07, 2002 18:42:42 -1000 Sannyasin Sivakatirswami <[EMAIL PROTECTED]> wrote: metacard, 13 lines # !/usr/local/bin/mc on startup put empty into the_message put 0 into the_counter read from stdin until empty put it into the_message repeat for each line this_line in the_message if (this_line contains "mystic_mouse") then put the_counter + 1 into the_counter end if end repeat put the_counter end startup is there a more efficient way in Transcript to do this? In Transcript maybe not but you can try metatalk;-). First of all, I don't understand how you feed the file to the script in your script (read from stdin until empty?). Since the file is so huge you should probably use something like: open file x for read read from file x at for # so that you don't have to load 300MB into ram unless you want to. # do a repeat for each line x in it get offset("mystic_mouse",i) if it is not 0 then add 1 to the_counter Just an other possibility... Even better, have the server write a log each day to keep it shorter (unless it's google;-). Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
metacard@lists.runrev.com
Question for Windows gurus: Can metacard interact (and how) with an ActiveX control written in Visual Basic 5.0? I'm totally ignorant of what ActiveX is and does but like most of us here, I am, therefore I learn or the other way around. Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Mix and match components
--On Monday, November 04, 2002 16:29:03 -0800 Richard Gaskin <[EMAIL PROTECTED]> wrote: Alain Farmer wrote: Imagine if we could do that with monolithic wares like MS-Office... If the readers here will pardon this off-topic post, I think you migh enjoy this open letter to Microsoft's Regional Manager for South and East Africa from Joris Komen, Founding Executive Director of SchoolNet Namibia and NetDay Namibia, on why their school district will not be upgrading Windows: <http://www.schoolnet.na/pr/msftrelease.html> It took a while but the world is awakening [thank god], one company at a time. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.0: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Cursor in popup stack
--On Monday, November 04, 2002 00:02:57 -0600 "J. Landman Gay" <[EMAIL PROTECTED]> wrote: I'm popping up a stack under the cursor to simulate a contextual menu. The stack pops up over an editable field, so the cursor is initially an I-beam when the stack appears. I can't get the cursor to change to an arrow while it is over the menu stack. I've tried setting the cursor when the popup stack opens, and also repeatedly in a mousemove message, as well as in various other mouse messages (mouseWithin, mouseEnter, etc.), but the cursor doesn't change. Has anyone been able to do this? I cloned the "MC SelectedObject Menu" stack to make the popup stack, if it matters, but I don't see any scripts in there that would interfere. I wonder if removing the focus from the field might make a difference. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: New on this list but not a newbie
--On Saturday, November 02, 2002 16:38:37 -0800 Alain Farmer <[EMAIL PROTECTED]> wrote: Things in the lab I work for are at a turning-point right now. One of our objectives is to create a communication, collaboration and E-learning platform where the components can be mixed-and-matched at will, forming whole systems ( value-added solutions ) whose components interoperate seemlessly. I've heard this before mostly in ads for various java[script] based products but never could figure out what exactly such contraption would look like and how exactly could one mix-and-match components and with what purpose, could you please enlighten me? The point of all of this is that I am trying to convince the lab I work for to opt for an xCard approach (breakthru) instead of the web-only approach (conformity & mediocrity) that so many are resorting to now. My presentations on this issue have had a definite impact on my colleagues, but they are still hesitating a bit because not-conforming to what everyone is doing is perceived as risky. The only things really missing in Metacard regarding your project are direct database integration and maybe encryption. There is no "breakthru" in using Metacard for your project just a more efficient spending of time and energy but I know what you mean. Alain Farmer [EMAIL PROTECTED] __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Random Redirect
--On Friday, November 01, 2002 21:09:21 -0700 Nelson Zink <[EMAIL PROTECTED]> wrote: I'm using MetaCard/ Reveloution for cgi at my website and want to be able to randomly redirect to pages at my site. How does one send a redirect to the browser? on startup put "Location: " & any item of "urls, separated, by, comma" & crlf put "Content-Type: text/html" & crlf & crlf end startup This works with Apache. Nelson ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Regards, Andu Novac ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard