Re: Thank you to Metacard and RunRev...

2005-11-05 Thread Pierre Sahores
Thank you to you too, Shari to remind us how lucky we are with those great xtalk's and i follow you in thinking all our so kind and intelligent peoples who fighted so hard over the years to give us the opportunity to switch from Hypercard to Supercard, fom Metacard to Revolution. From the Xerox Park Lab's guys to the RunRev Team, this all is just a dream human and technical success story !!!In beetwin many others, thanks to Bill Atkinson, Kevin Calhoun,..., Frederic Rinadi the XCmd man, Dr Scott Raney the sailor, Jeanne and Jacqueline, to all our so sweet RunRev Teamers, to our great dev lists helpfull coallegues and friends =-)A nice day to all of us,Kind Regards,PierreLe 5 nov. 05 à 17:19, Shari a écrit :No questions, no answers, just a happy thought that I love Metacard!I want to take a moment to say Thank You to Scott, for creating Metacard, and to RunRev, who has allowed Metacard to grow forth and flourish, and keep on being.I truly love this language and the doors that it opens.  It allows me to pursue a dream that I so enjoy.As a person who came into the computer world one generation too early, before computers became a mainstay, where manual typewriters still existed in the classroom and electric typewriters were all the rage... I say THANK YOU!As a person who did not experience computers in any capacity until my late-thirties was it?  Dunno, just a guess...As a person who, thanks to Hypercard, discovered the world of programming, never having studied an official programming language... never having even used a computer but almost immediately upon purchasing my first Macintosh, discovered Hypercard and created a program with it... albeit a simple program but one that opened the doors of creativity...That Metacard allows me to create that which I can imagine... I say THANK YOU!Shari-- Mac and Windows shareware gameshttp://www.gypsyware.com___metacard mailing listmetacard@lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/metacard  -- Bien cordialement, Pierre Sahores100, rue de ParisF - 77140 Nemours[EMAIL PROTECTED][EMAIL PROTECTED]GSM:   +33 6 03 95 77 70Pro:      +33 1 64 45 05 33Fax:      +33 1 64 45 05 33http://www.sahores-conseil.com/WEB/VoD/ACID-DB services over IP"Mutualiser les deltas de productivité" ___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MOV and AVI embedded files in Linux standalones

2005-09-20 Thread Pierre Sahores
Hello Mathewson,The XAnim linux stuff and some others QT to linux stuffs are all using a windows.dll based QT enabler. I tested all those stuff before and the emulation process make just them to poor to be serioulsly usables under Linux  in a real world production mode...Sorry not to be able to be more helpfull,Best Regards,Le 20 sept. 05 à 10:07, Mathewson a écrit :UM . . . I had a go with xanim, and, as you say, thequality of the video is very poor.I have 3 problems here:1. Isn't it possible to use Quicktime for Linux somehow?2. With Mac and Win packages it is quite easy to includea Quicktime detection routine, and, for instance, include aQT installer with a package. Now that LINUX is becomingmore mainline, maybe there should be a way to deliver clipson the Linux platform as easily as the 2 commercial ones.3. I am now working in Bulgaria (not a country oozing withready cash) and trying to set up a pile of Pentium 1 and 2s(!!!) with Linux. Now I own Dreamcard 2.6 and havedownloaded the player for Linux. I have now run into awfulproblems because of the way video is implemented in Ubuntu(favouring Edubuntu) means that software developed usingRR/MC doesn't run: it runs perfectly well with some otherforms of Linux.I realise that RR's priorities do not lie, in the firstinstance, with Linux (hence the lag in version numbers) butxanim is 5 years old: and Linux now is not what Linux wasin 1999.sincerely, Richmond Mathewson__See Mathewson's software at:http://members.maclaunch.com/richmond/default.html___---The Think Different Storehttp://www.thinkdifferentstore.com/For All Your Mac Gear---___metacard mailing listmetacard@lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/metacard -- Bien cordialement, Pierre Sahores100, rue de ParisF - 77140 Nemoursskype : psahores[EMAIL PROTECTED][EMAIL PROTECTED]GSM:   +33 6 03 95 77 70Pro:      +33 1 64 45 05 33Fax:      +33 1 64 45 05 33http://www.sahores-conseil.com/WEB/VoD/ACID-DB services over IP"Mutualiser les deltas de productivité" ___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: [ANN] StackRunner 1.0

2005-09-06 Thread Pierre Sahores
Very usefull utility, Ken ! Thanks for doing it available to us.Under Tiger, the "main.rev" option run perfectly there. The "config.srn" worked once only.Best Regards,Le 6 sept. 05 à 20:13, Ken Ray a écrit :Just a quick note to let you all know that I have uploaded a standaloneapplication called "StackRunner" which is similar to the DreamCard Player inthat it will "play" your MetaCard or Revolution stacks, but it is muchsimpler and doesn't present any user-interface elements so it runs"cleaner".When it is launched, it will check to see if there is a stack called"main.rev" in the same directory; if there is, it will open itautomatically. Otherwise it will check for a file called "config.srn" in thesame directory as the standalone and check inside there for information onwhat stack to run. Finally, if neither of these can be found, a simple'answer file' dialog box will be displayed with a generic prompt.StackRunner includes all Rev icons, cursors and libraries, so it should beable to run just about anything. OS 9, OS X and Windows versions areavailable.You can check it out (along with a full description) at:http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htmEnjoy!Ken RaySons of Thunder SoftwareWeb site: http://www.sonsothunder.com/Email: [EMAIL PROTECTED]___metacard mailing listmetacard@lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/metacard -- Bien cordialement, Pierre Sahores100, rue de ParisF - 77140 Nemoursskype : psahores[EMAIL PROTECTED][EMAIL PROTECTED]GSM:   +33 6 03 95 77 70Pro:      +33 1 64 45 05 33Fax:      +33 1 64 45 05 33http://www.sahores-conseil.com/WEB/VoD/ACID-DB services over IP"Mutualiser les deltas de productivité" ___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


scrolling text fields with embedded images

2005-07-01 Thread Pierre Sahores


Notwithstanding this - it would be really super to
have scrolling text fields with embedded images: at least
from an educational point of view.


Nativelly available in Rev and before in MC since i used it.


Richmond

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard





___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: A Philosophical Point (Mathewson)

2005-04-28 Thread Pierre Sahores

1.- As a long-time user of GPL and BSD licensed software, i just want to add that Linux is'nt a free OS as soon as we need to use it to run professional-grade solutions alike, DMZ solutions, Internet, Extranet or Intranet portals. In about security and ease of deployment of said free stuff, i always had to pay for licensed professional-grade linux distributions and updates (the Suse-Linux Pro one, in my case). Getting serious solutions running on top of full Free Software is'nt available at all today, even in the universities laboratories.

2.- The Rev Team need to be free to organise its time to think and design the Revolution product line. Without this freedom, Revolution would be a many more low-level core coding development framework, just because when we don't have enought time to think what we are building, we are going to lowest quality software sevelopment.

3.- If i compare what i'm paying each year to stay a registred Revolution user and the good luck i have to be able to use Revolution instead of any low-level core coding development framework, i just know that the licensied fees are still very reasonable, not to say low.

4.- The ones who don't want to help the Rev Team to continue to do its job are, in my mind, free to go to others developments paradigms... There is lots availables, including scripting tools, java or C/C++ frameworks and so on.

It's never very good to say to others : what is yours must become mine. In the real world, things are going otherwise and, i thing, it's good so.

Just my two cents...

Okay. And how exactly is the Rev company going to survive without revenue? Are you wishfully confusing HyperCard as an Apple computer freebie that is no longer supported, with Revolution as a commercial reality? Frankly, both these questions are rhetorical and do not warrant an expose'd rationale, wishful or otherwise.
 
 
/H
 
>What Runtime Revolution has done has ensured that their
>product will only be used by commercial developers (i.e.
>those who can pay), and stifled a whole section of the
>programming community who would otherwise have contributed
>to the growth of the product.___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]
[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33

http://www.sahores-conseil.com/>

WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: libUrl documentation and download

2004-10-26 Thread Pierre Sahores
Le 26 oct. 04, à 23:13, Scott Rossi a écrit :
Recently, Mark Talluto wrote:
Thank you very much for all of your work.  Many of the projects I work
on take advantage of this wonderful library.
Seconded, thirded, fourthed, and fifthed.
Thanks very much Dave.  As always, your help and contributions are 
very much
appreciated.

Rev/MC could'nt be the n-tier apps development platform of choice 
they are without embedding LibURL !!! So thanks again and again, Andu. 
So many thanks for going head with that all, Dave.

Best Regards, Pierre
--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/EAI services  ACID DB over IP
Mutualiser les deltas de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Using php

2004-09-21 Thread Pierre Sahores
Hello David,

In the way i use my PHP sockets listener and ports translator, we are only speaking from 20 lines of code (no need to know more about PHP). All the application logic is build and run by the MC or Rev application server.

To have an eye about the detail, you can get this example app i spoked about previously and pick inside the design logic ;)

Yes, it's a server side app directly speaking trought html forms on the client side and binded to a rock solid SQL databases server on the back-end. It works as a remplacement solution (and paradigm !) to the less stuitable Java-based stuffs built to run on top of Tomcat or JBoss servers.

To have an eye on what it does (whithout writting anything in this real production state app, please !), you can test it on line in both filling datas mode (login : 0931213N ; password: sais0093) and reporting mode (login : synt0734 ; password: collecte) by visiting http://acacia93.dyndns.org/classpac.xml>.

Best, Pierre

Le 21 sept. 04, à 13:18, [EMAIL PROTECTED] a écrit :


De: [EMAIL PROTECTED]
Date: 21 septembre 2004 12:39:19 GMT+02:00
À: Discussions on Metacard [EMAIL PROTECTED]>
Objet: Rép : Using php


Pierre Sahores wrote:

Le mer 18/02/2004 à 16:28, Brian Yennie a écrit :


FWIW, I've also used a method similar to Pierre's for PHP script -> MetaCard daemon work.
I have easily supported 50+ users hitting the system hard (with many database queries and a lot of HTML generation) on a modest server. Have yet to see where the maximum is.

I never experimented a maximum limit for yet... The most i can say is that +800 connections / seconds are OK under a four year old Linux/Athlon 800/1 Go RAM.

My php is not so good - but need to start interfacing with a whole bunch of php code on a web server - so finally going to have a go at adopting Pierre's method - especially now that I can see that using a root protected port should deal with the main security prob?

I'm working with TikiWiki which has a very nice templating system (http://smarty.php.net/). So what I need to be able to do is set variables in the php scripts that call the smarty templates - and I want to code these in Rev. Finally it would be great to call the huge library of small php functions (but this can be done ok using REST or shell scripts).

NB - if anyone is interested in robust templating systems and MC - have a look at ClearSilver (http://www.clearsilver.net/). Best I've found - light, fast, open source, used by big sites, and multi-language bindings. It's written in C - so all we need is to write some tiny little bit of C glue - and Rev has a world class templating system. I would absolutely love someone to help with that as my C is non-existent :(

As far as I can see this  php script is a generic way for a url posted to Apache / php to pass this data on to a Rev daemon running on the server - which can then do whatever it likes. Which is cool. But am I right that this is a one way process?

What would be great is if I knew enough php to write a function which would communicate over the same socket listener to Rev, and then return this back to php to set a variable or whatever - IAC in other words?

Now this can be done with RESTful type interfaces (http://www.devx.com/DevX/Article/8155), but it would be even better and more light weight to use a two way socket listening set up on root protected ports - or am I only getting half the picture here?

david



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33

WEB/EAI services  ACID DB over IP
Mutualiser les deltas de productivité

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Using php

2004-09-21 Thread Pierre Sahores
Le 21 sept. 04, à 21:28, [EMAIL PROTECTED] a écrit :
Pierre Sahores wrote:
Yes, it's a server side app directly speaking trought html forms on 
the client side and binded to a rock solid SQL databases server on 
the back-end. It works as a remplacement solution (and paradigm !) to 
the less stuitable Java-based stuffs built to run on top of Tomcat or 
JBoss servers.
Got the picture :)
To have an eye on what it does (whithout writting anything in this 
real production state app, please !), you can test it on line in both 
filling datas mode (login : 0931213N ; password: sais0093) and 
reporting mode (login : synt0734 ; password: collecte) by visiting 
http://acacia93.dyndns.org/classpac.xml.

Thanks Pierre had a good butchers (look) as they say over here. The 
basic thing I want to be clear on is what would a function in php look 
like that i can call from a php scrip to set a variable? Let's take an 
example. Below is a php script for getting data from a mysql database 
and setting some variables for use in a smarty template, the key bit 
is not really the database stuff which is what we would replace by 
calling Rev to act as middle ware, but the php function that could be 
written to talk to the socket listening Rev app and get the results 
back so as to set a variable in php (ie the 
$smarty-assign(url,$url); bit). I am thinking that we could have 
one generic php function that takes the name of a Rev based object to 
call and maybe some params, passes the usual post day suitable 
packaged, and then returns data (maybe as an array)?
Did you have a look to the PHP sockets listener/translator script I 
provide along the example app you can get below ? It's possibly this 
kind of stuff you are watching for. See the wmc.xml file (not xml at 
all but a simple php script witch don't say its name to the 
sad-side-of-the-force hackers...)

To get it, just type
http://acacia93.dyndns.org/rev_web_app.zip from
within your prefered Web browser.
Let me know if that helps.
Best, Pierre :-)
?
/*  PHP script, sends mysql result to a Smarty template
*/  
require_once(Smarty.class.php);
$smarty = new Smarty;
// connect db
mysql_connect('localhost', 'test', 'test');
mysql_select_db('test');
$query = select link, descr, DATE_FORMAT(date_added, '%e %M %Y') as 
date, name from intranet_links;

// search for $s
if ($s)
$query .=  where (descr like '%$s%' or link like '%$s%');
$result = mysql_query($query);
while ($data = mysql_fetch_array ($result)) {
$url[] .= $data[link];
$descr[] .= $data[descr];
$name[] .= $data[name];
$date[] .= $data[date];
}
$smarty-assign(url,$url);
$smarty-assign(descr,$descr);
$smarty-assign(name,$name);
$smarty-assign(date,$date);
$smarty-display(mysql.tpl);
// close db
mysql_close();
?
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
WEB/EAI services  ACID DB over IP
Mutualiser les deltas de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC paths

2004-09-10 Thread Pierre Sahores
Hello Rick,
Did you try in using ?
put the filename of the long name of this stack into tPath
Best, Pierre
Le 9 sept. 04, à 22:39, Rick Rice a écrit :
I'm using MC 2.4.3 on Mac OSX
I'm using the following to determine the correct path.
I have these functions in a standalone which then directs the user to 
a number of MC stacks.
Works great until I burn then to CD.
Please, can anyone help?
	Thanks
	Rick

function AppPath
  put the filename of this stack into tPath
  set the itemdel to /
  If (IsOSX()) then
get offset(.app/Contents/MacOS/, tPath)
if it  0 then -- 2.4.3 or later
  delete char it to len(tPath) of tPath
end if
  end if
  delete last item of tPath
  return tPath /
end AppPath
function IsOSX
  if the platform is not MacOS then return false
  get the systemversion
  set the itemdel to .
  if item 1 of it = 10 then return true
  return false
end IsOSX

Plan!  I'd rather be surprised.
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
WEB/EAI services  ACID DB over IP
Mutualiser les deltas de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: active plugins

2004-07-18 Thread Pierre Sahores
Bonsoir All,
If needed, transcript is, as is, full featured to let us start any new 
stack's add-ons at any time, without having to restart the main Rev 
running process. I use such  features trough http POST commands, each 
time i need to update a net accessible app. So, the best is probably to 
add my vote to the No range.

Best,
Pierre
Le 18 juil. 04, à 22:19, J. Landman Gay a écrit :
On 7/18/04 11:06 AM, Richard Gaskin wrote:
  Do we need an active mode for plugins in addition to
  the engine-supported open and library options?
I've never needed it. Just removing a library stack when I'm done with 
it seems to do the trick.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: sending mail from MC

2004-05-07 Thread Pierre Sahores
'Evening Rick,

Yes. In between other ways, Sao Sean's libSMTP 2 great stack is the 
perfect tool to handle such kind of services.

 Name: libSMTP
#Version : 1.5.0
#Build   : 2003.06.24.1
#Authour : Shao Sean [EMAIL PROTECTED]
#Website : http://shaosean.tk/
Best, Pierre

Le 8 mai 04, à 00:26, Rick Rice a écrit :

	Is it possible to mail directly from a MC stack?
	My users will complete several activities and a final grade will be 
given.
	This grade, users name, ID and several other bits of information are 
put into a variable.
	How do I have this variable mailed to me?
	Does anyone have the script to do this?
	Will they share it?
	Thanks

Rick Rice
Health Sciences
University College of the Cariboo
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Post command

2004-05-01 Thread Pierre Sahores
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 41 60 52 68
Dom:+33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Problem unlocking MC with MC_IDE

2004-04-11 Thread Pierre Sahores
Hi Jacque, Alejandro,

Jacque is true, Alejandro : The Rev and MC registrations are n't 
running in the same way : you have no chance to get your registred 
authentification key filled successfully in the MC IDE if only one 
letter is not in the right case. The MC registration code take care 
about the first, the second and the third lines of your registration 
invoice (a name, an organisation, a keycode number).

Hope this helps,

Best, Pierre

Le 11 avr. 04, à 19:44, M. en T.E. Alejandro Diaz Infante a écrit :

On Sunday 11 April 2004 12:27 pm, J. Landman Gay wrote:
When it happened to me, I found that I wasn't entering my name exactly
as it was registered. I have to use Jacqueline Gay without my maiden
name. Try some variations on your name and organization, maybe.
Nope. No luck here. Tried every possible variation of my name along 
with my
two last names, as well as I played with the name of my school without
results...

:(??
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Using php

2004-02-18 Thread Pierre Sahores
 {
   
   $connection = fsockopen(localhost, 4567,  $error_number, 
 $error_description, 30);
   if ($connection) {
   set_socket_blocking($connection, true);
   fputs($connection,);
   fputs($connection,$exAE.\r\n);
   fpassthru($connection);
   }
   else{
   $connection = fsockopen(localhost, 567,  $error_number, 
 $error_description, 30); 
   if ($connection) {
   set_socket_blocking($connection, true);
   fputs($connection,);
   fputs($connection,$exAE.\r\n);
   fpassthru($connection);
   }
   else print(erreur numéro $error_number 
 ($error_description)BR\n);
   }
   }   
 }
 
 else  {
 
   // $f = $_POST['f'];
   $f=$HTTP_GET_VARS['f'];
   
   if (substr($f,0,6)=='/tmp/p') {
 
   #Contrôle du fichier (à ne pas oublier !)
   if (substr($f,5,4)!='p093' or strpos($f,'.php') or strpos($f,'/') or 
 strpos($f,'\\'))
   {
   print (HTMLHEADTITLEERROR: File Not 
 Found/TITLE/HEAD.
   BODY background='/gif/fond-maison.gif'H1File Not 
 Found/H1P.
   H3Nom de fichier incorrect./H3.
   /BODY/HTMLBR\n);
   exit;
   }
   if (!file_exists($f))
   {
   print (HTMLHEADTITLEERROR: File Not 
 Found/TITLE/HEAD.
   BODY background='/gif/fond-maison.gif'H1File Not 
 Found/H1P.
   H3Le document attendu résulte d'une publication qui n'est 
 plus
   disponible. Renouvelez la requête initiale pour le 
 recharger./H3.
   /BODY/HTMLBR\n);
   exit;
   }
   if($HTTP_ENV_VARS['USER_AGENT']=='contype')
   {
   print (HTMLHEADTITLEERROR: File Not 
 Found/TITLE/HEAD.
   BODY background='/gif/fond-maison.gif'H1File Not 
 Found/H1P.
   H3Pour pouvoir consulter ce document, une mise-à-jour de 
 votre navigateur IE est nécessaire./H3.
   /BODY/HTMLBR\n);
   exit;
   }
   
   #Envoi du PDF
   header('Content-type: application/pdf');
   // header('Content-disposition: inline; filename=($f)');
   readfile($f);
 
   #Suppression du fichier
   unlink($f);
   exit;
   }
   
   else print(HTMLHEADTITLEERROR: File Not Found/TITLE/HEAD.
   BODY background='/gif/fond-maison.gif'H1File Not Found/H1P.
 H3The file you have requested does not exist on this server./H3.
   /BODY/HTMLBR\n);
   
   }
 
 ?

In this way, you will be able to build rocking MC/Rev applications servers, able to 
run faster than the best J2EE 
solution available today (JBoss) applications servers does, instead of, just, slow and 
a little capricious MC/Rev CGIs.

Hope this help ;-)

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Storing cgi data in stacks

2004-02-18 Thread Pierre Sahores
Hi All,

Even if MC/Rev is really able to perform good results in accessing datas
in write mode concurrent accesses with flat-files accesses and locking
procs on stacks, a best practice is to bind it to an ACID compliant
RDBMS (PostgreSQL and Sybase ASE best suitable than Oracle, today) for
such kind of jobs. I use this way all the time and it rocks, even in
about hundreds of concurrent requests peer second (i never had any
server crash over the years).

Le mar 18/02/2003 à 15:31, Brian Yennie a écrit :
 I can't speak for MetaCard's behavior here, although my hope would be 
 that it gives you an error message when you try to perform the second 
 write.
 
snip
 
 HTH,
 Brian
 
  And, more importantly, what steps could be taken in a cgi script to 
  make
  this approach work, if any?  Like, if a stack was currently being 
  written
  to, would darwin mc know that?  Is there some message returned like 
  stack
  is in use or something that you could trap for?  And maybe make your 
  own
  timeout?
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Storing cgi data in stacks

2004-02-18 Thread Pierre Sahores
Le mer 18/02/2004 à 15:07, Richard MacLemale a écrit :

--snip--

 I'm starting to look at more online calendar stuff and I'm wondering if I
 can get away with using metacard stacks instead of learning MySQL.  Stacks
 are, well, so much more fun to work with.  I'll learn and use MySQL if I
 have to, but it looks like a pain in the ass compared to just making a
 stack.  The stuff I'm looking at is for small group use - not something
 that's going to be hit a kabillion times from the web.

Richard,

Please, don't never spend time in binding MC/Rev to MySQL 3.23. MySQL is
not a real DB server (don't contain any transactions management engine)
and all it can perform (without crashing) will always be better done
inside MC/Rev (even, if needed in connecting the stacks to flat-files).
Else, you will get very good results too, in conecting MC/Rev to
rock-solid real ORDBMS (PostgreSQL, Sybase ASE, Oracle or, even,
OpenBase...).
 
 Thoughts?
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Using php

2004-02-18 Thread Pierre Sahores
Le mer 18/02/2004 à 16:28, Brian Yennie a écrit :
 FWIW, I've also used a method similar to Pierre's for PHP script - 
 MetaCard daemon work.
 I have easily supported 50+ users hitting the system hard (with many 
 database queries and a lot of HTML generation) on a modest server. Have 
 yet to see where the maximum is.

The same experience there. I never had to serve more than 200 write-mode
connections peer second for yet (with, at least, an idle rate always
over 90% !)... Good to have lots of RAM (1Go is my choice). I'm not far
from sure that PHP/MC-Rev/PG can handle thousands under XServe even if
my apps are still running under olds Linux/Athlon 800...
 
 - Brian
 
  And if the speed is as good as you keep telling us,
  then that's even more proof of MC/RR as an excellent
  platform for developing distributed business
  applications.
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


[Fwd: Re: Storing cgi data in stacks]

2004-02-18 Thread Pierre Sahores

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
---BeginMessage---
Alex, Brian and All,

You are true : MySQL 4.0.12 and above are clearly good choices too and
MySQL 5 will be a grat (SAPDB) issue. What i had in mind in speaking
about MySQL (in general) is that the newbies don't, firstly, care about
the issue of the MySQL server they are connecting to and, for yet, most
of the MySQL servers, installed by default, by the Linux distribs or the
providers are still the 3.23 issue, without the innoDB or MySQL-Max
add-ons...

Else, i full agree : MySQL 4/5 are/will be good choices too, even if i
prefer, for my own, the rock-solid options exclusivelly availables in
PostgreSQL 7.xx ;-)

Le mer 18/02/2004 à 16:20, Alex Rice a écrit :
 On Feb 18, 2004, at 7:48 AM, Pierre Sahores wrote:
 
  Please, don't never spend time in binding MC/Rev to MySQL 3.23. MySQL 
  is
  not a real DB server
 
 HA! I guess you haven't used MySQL recently, Pierre.
 
 Current MySQL versions are ACID as you call it, and they also have 
 another product MaxDB: MaxDB is the result of a strategic alliance 
 between MySQL and SAP to jointly develop and market an enterprise-class 
 Open Source database capable of running high-end business-critical 
 applications including SAP/R3.
 
 I would recommend PostgreSQL also though.

For the ones interested, just have an eye on the exclusive replication's
new features or the pg_dump ones (on-line db backups, without having
to stop, first, the connection accesses availability of the server).
 --
 Alex Rice | Mindlube Software | http://mindlube.com
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
---End Message---
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Using php

2004-02-18 Thread Pierre Sahores
Hello Jan,

At l'Ecole Pratique des Hautes Etudes (Sorbonne Univ - Paris), where i'm
back, this year, to learn algorithmic complexity, we are working, in
between other cool projects, about comparing JBoss and MC/Rev
performances... just for the fun to show that MC/Rev is always, at
least, as solid and as fast running as the JBoss/EJB2 solution can...

Secondary, i'm searching time to port the EJB2 design patterns
architectur to MC/Rev to help us to get a way to use MC/Rev in team
development projects.

Bests, Pierre

Le mer 18/02/2004 à 16:24, Jan Schenkel a écrit :

--snip--
 
 Bonjour Pierre,
 
 I would really like to thank you for sharing this
 information ; I had been experimenting with the
 CGI-engine, as well as an adapted version of the good
 old mchttpd.mc stack as webserver.
 But in both cases, I was concerned with the speed : if
 the cgi has to be loaded completely and connect to a
 database etc. every single time that's an enormous
 overhead ; and using MC/RR as a webserver without
 multithreading sounds like a suicide mission.
 
 The above scenario lets every app do what it does
 best, with the least overhead : Apache can serve
 files, PHP can do its hypertext processing, and the
 MC/RR app can be launched at starup, connect to the
 database and react to queries without having to serve
 up static content.
 And if the speed is as good as you keep telling us,
 then that's even more proof of MC/RR as an excellent
 platform for developing distributed business
 applications.
 
 Best regards,
 
 Jan Schenkel.
 
 PS: the thing I never really got about this setup was
 how PHP connected to MC/RR sockets ; with the sample
 code you posted, it's all become crystal clear :-)

Scott, Kevin, Tuviah and all are doing the core work for us ! We just
have to think how to get the power ;-)

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Announcement : IBook Ice 2.2 Apple's video-chipster extention of garantie to 3 years

2004-02-17 Thread Pierre Sahores
Le mar 17/02/2004 à 07:49, Chipp Walters a écrit :
 Thanks both Pierre and Alain!
 
 best,
 Chipp
 
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

You welcome, Chipp :-)

In between : All the owners of Ibook Ice 2.2 have to go back to the
Computer store in about a video-chipster possible problem. Apple extends
the garanty to three years about this. Mine are both back to Apple...
and i just brought an (hopefull more suitable) PWB G4 to avoid more
desagrements...
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Intelligent Agents......

2004-02-16 Thread Pierre Sahores
Dear All,

Thanks Alain, for sharing this,...

Runs perfectly after opened it under both HC 2.4.1 and Rev 2.1.2...



Electronics.rev.sit
Description: Macintosh archive


Le 16 févr. 04, à 08:33, Chipp Walters a écrit :


I have a HyperCard-based example of a forward-chaining
rule-based inference engine. It's very very simple to
understand and to use; so much so that you may not see
how ths is different from traditional scripting. Here
is the URL just in case your interested :
http://pan.uqam.ca/cgi-bin/usemod/wiki.pl?Electronics

Alain, any chance your stack (and/or the accompanying stack on Neural 
Nets) be converted to RR? I'm mostly on PC and don't have HC. I don't 
know how much trouble it would be, but if it's easy...

Are we having fun yet ?  ;-))
-- I am.
I'm too.

Chipp

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Intelligent Agents......

2004-02-15 Thread Pierre Sahores
Hi Alain,

Many Thanks too, from Paris, for your previous post.

I'm associating me to the Chipp's second question : how could we gohead 
with good practices to design and code to life a small team of 
intelligent agents in MC/Rev ?

There is, among some other great books about Artificial Life, an 
usefull title, unfortunally only available in french, i'm refering all 
the time, in about this matter : Vie Artificielle by Jean-Philippe 
Rennard. Editions Vuibert Informatique. 2002, 408 pages.

Le 15 févr. 04, à 09:40, Chipp Walters a écrit :

Hi Alain,

Thanks for the synopsis. How would you see a very basic agent as being 
able to accomplish all of what you said, in RunRev?

Do you typically need self-modifying code? If so, aren't RR's script 
limits somewhat of a problem. Also, how do IA's differ with Neural 
Nets? Expert Systems? Genetic Algorithms?

I'd be interested in seeing a very simple IA implemented to do 
something (find the best price online for a product) using RR. Do you 
know of such an example?

Thanks,

Chipp

Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Intelligent Agents......

2004-02-12 Thread Pierre Sahores
Alain,

I would be greatly interested, too.

Thanks,

Bests, Pierre

Le 13 févr. 04, à 05:20, Chipp Walters a écrit :

Alain,

w/out going too much into it, can you explain what an Intelligent 
Agent does
in MC? Perhaps an example? I'm interested in learning more:-)

-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


Re: Socket Time Out Interval

2004-01-30 Thread Pierre Sahores
Le ven 30/01/2004 à 17:01, Ray Horsley a écrit :
 Hi Pierre,
 
 
 That did the trick!
 
 Thanks again,
 
 
 Ray Horsley
 Developer, LinkIt! Software

Good Evening Ray,

Have fun and, please, believe me : even if the MC/Rev engine is mostly
undocumentend in about its ability to be used to develop
profesional-grade n-tier applications or server-side applications
servers, it's really one of the two or three best tools availables,
today (and since years - MC 2.32 and up), to share datas over TCP/IP.

Since i use it in such kind of networked workflow apps, i never had to
go back to others platforms such as Weblogic, WebSphere or WebObjects.

The best from the java world (Eclipse, JBoss, Tomcat, the J2EE EJB's
design patterns, Andromda or Hibernate,...) are great tools too but, the
java engines, by them self, ar'nt...

If you are searching about what ACID RDBMS to bind to your MC/Rev apps,
try PostgreSQL (best suited under *NIXes, including MacOSX, than under
Windows. It rooks in all the tasks we can have to manage.

Last but no last, the MC/Rev engine is NOT SUITABLE in about critical
cgi tasks. Choose PHP, Perl or Python instead, even to bind all kind of
MC/Rev applications servers to Apache trough a simple sockets
listener/ports translator.

Hope this helps,
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: URL Socket Time Out

2004-01-29 Thread Pierre Sahores
Hi Ray,

Try to set the sockettimeoutintervall to 10 and to prevent any 
unneeded pass message on the timeout global default setting by 
including a :

on sockettimeout
end sockettimeout
in your main stack script.

This works fine there under Linux and OSX.

Le 29 janv. 04, à 18:06, Ray Horsley a écrit :

Greetings,

Did I see a note or two a while back about sockets timing out?  When 
uploading a 2.6 meg stack on basic DSL (128k up) I'm consistently 
getting a socket error that it timed out.  I've tired switching from 
passive to active libUrlSetFtpMode, but it doesn't help.  Anybody know 
how to prevent the socket from timing out?

Thanks,

Ray Horsley
Developer, LinkIt! Software
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Font symbol in MC 2.5/Linux

2003-11-16 Thread Pierre Sahores
Le dim 16/11/2003  10:04, Christoph Wollek a crit :
 MC 2.5/Linux(intel) does not recognise the font Symbol I need that 
 font badly (MC 2.3 did! - Linux 7.1).
 
 Problem with standalones of MC 2.5/Linux (intel):
 1. the standalone appears not in the same folder, in which it was 
 created (= MC is in)
 2. the standalone on the CD opens not the stacks on the CD but those on 
 the harddisc (the standalone and the stacks were originally on the 
 harddisc).
 
 Any help and hints are highly appreciated!!!
 Thanks in advance!
 
 Christoph
 

 set the directory to /thepath/youneed/toget/active ;-)

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivit
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: spreadsheet ( was :10000 fields and crash)

2003-10-09 Thread Pierre Sahores
Le jeu 09/10/2003  13:10, jbv a crit :
 Richard Gaskin :
 
 
 
  That post explained _what_ was acheived, but not _why_ it couldn't be done
  with fewer fields.   Did I miss something obvious?
 
  I'm curious too:  Why not just one field, or at most a different field for
  each column.

As Richard suggest, why don't you try to use only one field set as a
table object ?

Bests, Pierre
 
 
 I tried that option (a different field per column) as a possibility to lower
 the number of flds, but actually dropped it as it made a few spreadsheet
 features more difficult to implement :
 - variable height of rows
 - multiple lines content of each cell
 - single cell selection
 
 As for the huge saving times I mentioned earlier, I made some progress
 on this issue : I discovered that it happens ONLY when all 3000 to 1
 flds have the same rect (which happens when one creates 1 fld and then
 use clone fld 1 in a repeat loop).
 But once flds are arranged in rows  cols (have different rect values),
 then saving is a snap.
 I don't why this happens like that : it seems that when too many controls
 have the same rect, MC gets lost, or has to crosscheck everything several
 times...
 
 Nevertheless, I choosed the option of creating flds on the fly, and it works
 like a charm...
 And therefore I was wondering whether enough list members would be
 interested in a spreadsheet made with MC (which could be of many uses,
 like GUI for a database...) ? If yes, I could put together a library of
 scripts
 allowing users to produce an Excel clone... Including bussiness graphics
 is also a possibility (and why not interactive 3D biz. graphics in openGL
 ?)...
 
 BTW, I have a question : as for the scripting language for cells, should I
 emulate the one implemented in Excel, or would it be better to use
 MetaTalk and the do command ?
 
 Thanks for any suggestion...
 
 JB
 
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC vs EXCEL

2003-09-18 Thread Pierre Sahores
Le jeu 18/09/2003  23:02, jbv a crit :
 Hi again,
 
 Is there a specialist of Excel on this list ?
 
 In a project for 1 of my clients, I have a flat database
 on a server whose content is set via a sophisticated
 HTML form and a couple of MC cgi scripts.
 This flat database is a tab-return file with 100 rows
 and 100 cols.
 My client wants to visualize / modify all the content
 at once like in a spreadsheet on his PC, and save
 modifications on the server.
 Further data processing will need to be done on the PC
 (not saved on the server), like generating PDF files
 from sections of the database content, etc.
 
 Is there a way to do that with Excel (view / modify /
 save the database) or do I have to simulate a spreadsheet
 with MC ?
 
 Thanks,
 JB

Hi JB

This could probably work :

Replace your flat-file database back-end by an SQL one (Access,
FileMaker, Valentina, MySQL, PostGreSQL,...) you can access trough an
ODBC driver in using the RevDB library on the Revolution CGI side and
Excel on the client-side (the recent issues of MS Excel are able to read
and write via ODBC).

Hope this help.

Bests,
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Message Box placement

2003-09-05 Thread Pierre Sahores
Le ven 05/09/2003  06:48, Richard Gaskin a crit :
 Currently the Message Box is opened below and center to the topmost window.
 Personally, I prefer it to open at the bottom of the display (aboce the
 Dock/Task Bar).
 
 In the next rev of the IDE, would you folks prefer to have it centered to
 the topstack or at the bottom of the display?

Hi Richard,

For my own, i always set it to the top right of the main screen, beside
the menubar stack.

Bests, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: SEX contributions anyone

2003-09-04 Thread Pierre Sahores
Le jeu 04/09/2003  18:17, MisterX a crit :

 
 I know Frederic Rinaldi's StripDup but it's Mac Only...
 Maybe Fred will share his source...
 
I would, for my own, will be really reconnaissant to get from Frederic
a port of its HowMany cross-command to the native transcript language
;-)

Bests, Pierre
 
 cheers
 Xavier
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


RE: Compress/decompress

2003-08-29 Thread Pierre Sahores
Le ven 29/08/2003  22:51, MisterX a crit :
 Shari,
 
 You can get the scripts back by opening your stack with a good editor
 such as ultraedit on win32 or BBEdit on MacOS.

or Nedit 5.xx under Linux
 
 Search for your script, bingo! copy paste... voila... nothing lost that
 is in a script or field that is not compressed or encrypted naturally...
 
 cheers
 Xa
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Shari
  Sent: Friday, August 29, 2003 18:22
  To: [EMAIL PROTECTED]
  Subject: Compress/decompress
  
  
  Compressing the data in a field and putting the compressed data into 
  a customProperty works like a charm.  Recalling the data is 
  instantaneous.
  
  The stack is now less than 1 MB.
  
  * very happy Shari :-) *
  
  Now for the questions:
  
  I could not figure out how to compress an array.  A multi-dimensional 
  array.  The array is stored as a customPropertySet.  Is there a way 
  to do it?
  
  Also, one of my stacks became corrupted with all the experimenting. 
  Unfortunately, it was the stack that holds some key pieces of code. 
  (The backups do not hold the successful pieces of code that I wrote 
  today.)  The code is in the script of several buttons.  There is no 
  ~stack.  Any way to get at these buttons?
  
  Shari
  
  -- 
  --Shareware Games for the Mac--
  http://www.gypsyware.com
  ___
  metacard mailing list
  [EMAIL PROTECTED]
  http://lists.runrev.com/mailman/listinfo/metacard
  
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: New tool proposal for the MetaCard IDE

2003-08-28 Thread Pierre Sahores
Le jeu 28/08/2003  22:48, Alejandro Tejada a crit :
 on Wed Aug 27 05:15:01 2003
 Pierre Sahores wrote:
 
 Thanks Alejandro for doing this great 
 stack available to the list. 
 It works just fine there (Suse-Linux Pro 8.2 x86)
 and i expect to use it to build graphic charts
 (Excel alike things) in next apps.
 Kind Regards, Pierre
 
 I'm glad you liked it, Pierre.
 Every enhancement to this code is welcome.

When i will work on this, i will be happy to send you the builted
stacks.
 
 By the way, you use Linux. Could you check
 the stack Ink Effects, from my
 webpage too?

It works too, even if the two top scrollbars objects are set before the
images (probably nothing, except needing to rearrange the placement of
some objects).
 
 I suspect that ink effects are switched
 in Mac or PC. srcOr becomes srcAnd and viceversa.
 
 Thanks in advance. 
 
 Alejandro
 
 
 
 
 =
 Visit my site:
 http://www.geocities.com/capellan2000/
 Search the mail list:
 http://mindlube.com/cgi-bin/search-use-rev.cgi
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 

Best Regards, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: New tool proposal for the MetaCard IDE

2003-08-27 Thread Pierre Sahores
Thanks Alejandro for doing this great stack available to the list. It
works just fine there (Suse-Linux Pro 8.2 x86) and i expect to use it to
build graphic charts (Excel alike things) in next apps.

Kind Regards, Pierre

Le mar 26/08/2003  19:03, Alejandro Tejada a crit :
 Hi Developers,
 
 Thanks to everyone that shows interest in
 the bezier drawing tool.
 
 Go to my webpage and download the file:
 Curved drawing pen.zip
 
 http://www.geocities.com/capellan2000/CurvedDrawingPen_v01.zip
 
 This stacks shows 3 different tools to draw
 curved polygon graphics: two parabolic
 curves (like a tool from Macromedia Flash)
 and one that could draw Bezier curves.
 
 Notice, with this stack you could only draw,
 not modify the curves. 
 Later, I'll post that stack too. 
 
 In fact, modify is simply replacing all 
 the points between two selected points of 
 a polygon graphic.
 
 Help is needed to make these drawing tools
 work as frontscripts within the IDE and any other
 fixed is happily welcome. :))
 
 Alejandro
 
 =
 Visit my site:
 http://www.geocities.com/capellan2000/
 Search the mail list:
 http://mindlube.com/cgi-bin/search-use-rev.cgi
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

Inspection acadmique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilit

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Looking for mc2.4.1 (Mac)

2003-08-16 Thread Pierre Sahores
[EMAIL PROTECTED] wrote:
Could someone be kind and let me know where I can get an copy of 2.4.1 
for Mac?

Deeply obliged...

/H
MacOS 9 ? MacOS X ?

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: An informal poll....

2003-08-15 Thread Pierre Sahores
jbv wrote:
BTW I think one should extend the poll to Rev list...
I'm wondering if the responses would be similar...
I am very sure that the results will be quite different. My feeling
is that dynamic scripting is not something that beginners and
hobbysts use much. MC was strongly geared to professional
developers (whatever that means) whereas Rev went after masses.


I share your opinion about different results for the poll on theRev list.

But Shari's original question didn't mention dynamic scripting...
I for one don't care too much about dynamic scripting : I understand
it's a powerful feature, but also know by experience that it's not
recommended bcause it's almost impossible to debug. Furthermore,
as several earlier posts showed, in numerous situations there are
workarounds and alternatives.
Actually I was more concerned by the way features of the engine
could be abandonned by the new RR team in a near future.
And gathering data about how Rev users envision / approach /
consider that tool, could give us insights on possible future
strategies from the RR team...
Unless a real poll proves me wrong, I guess we'd find hobbyists
(some of them quite experienced) looking for a HyperCard or
OMO reincarnation, or multimedia programers in search for a
nice (and cheaper) replacement for Director...
BTW, considering the number of bugs  crashes in Rev 1.0, I'm
surprised that licences brought enough money to buy MC...
As for me, I see it mostly these days as a LINK (or a hub) between
technologies.
Which other tool allows you to quickly prototype (and finalize) prof.
cross-platform apps that can, in a few lines of code, talk to other
similar
apps on a network, send CGI requests to a server, use XML / SQL /
PHP, eventually access openGL on each client, etc etc etc ?
Last week I had a meeting with a possible client, and I was explaining
that MC was the missing link between Director and Code Warrior.
Since I've been involved in prog. of externals in C for a few months,
I see many similarities between MC and C development : using MC
properties  functions is very closed to including libraries and using
APIs. And when the stuff is done, execution speed is pretty close.
But development time is quite different !
And last but not least, cross-platform compatibility can become a
real headache in C, while in MC it's a breeze...
And I won't even mention compilation !
And last but not least, I have the strong feeling that the future of
xTalk is not at all HC reincarnation, but rather to provide end users
with the power of Code Warrior (or eventually Visual C) without
the headaches...
And that more palettes and a less basic GUI is no big deal...
Perhaps does it mean more licenses right now, but things might
change in a near future, because end users are getting more  more
educated  experienced, projects more sophisticated, etc etc
Just compare the apps you were doing with HC in 1991 or OMO
in 1995 and what you are doing today... And imagine what you'll
be doing (or asked to do by clients) in 2006...
What will really help you : sophisticated palettes ? Or powerful
features like dynamic scripting, scriptable antialiased vector graphics,
scriptable interactive 3D, etc etc etc ?
So let's find a way to make sure that the strategy of ppl at RR (as
well as Rev list members if needed) isn't to tear up the existing
engine (by removing dynamic scripting, abandoning CGI, asking
for a license fee per platform, put your bigest fear here), but
rather to improve what already exists.
JB



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Thanks for this !

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC/RR and Email launching - windows?

2003-08-14 Thread Pierre Sahores
[EMAIL PROTECTED] wrote:
Is there a windows/MC solution to sending e-mail? I
haven't seen anything in the documentation on MC for
this and runrev just crashes repeatedly on my system (I
presume not due to rev's fault but to my OS).
My Home Page with free online legal information
Page perso avec liens juridiques
http://www.lexnet.bravepages.com/ind.htm
_
FindLaw - Free Case Law, Jobs, Library, Community
http://www.FindLaw.com
Get your FREE @JUSTICE.COM email!
http://mail.Justice.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Have an eye at the Shao Sean's LibSMTP.rev stack.

http://www.shaosean.tk/.

An usefull piece of code...

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: survey

2003-08-14 Thread Pierre Sahores
[EMAIL PROTECTED] wrote:
Hi all,

Just wondering whether the efforts are justified...

How many of you would like me to finish:
a) the enhanced script editor (incl. variable browser) I've made?
b) complete Control Browser (with all properties available for editing 
in any object)
c) both a and b
d) you prefer the editor in MC/RR

Survey 2
Assuming these tools work seemesly with (at least) MC
a) it should be freeware (no support guarantee, infrequent updates)
b) it should be shareware (some support for licensees, updates once in a 
while)
c) it should be commercial (support + regular updates)

Thanks very much for your answers.

-=-
Xavier Bury
TNS NT LAN Server
ext 6465|
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream 
International does not accept legal responsibility for the contents of 
this message.

The information contained in this e-mail is confidential and may be 
legally privileged. It is intended solely for the addressee. If you are 
not the intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful. Any views expressed in this e-mail are those of the 
individual sender, except where the sender specifically states them to 
be the views of Clearstream International or of any of its affiliates or 
subsidiaries.

END OF DISCLAIMER
|
Xavier,

The IDEs provided to us by the RR/MC team one side, by you second side, 
are not, for me, the most important parts of what i expect from our, 
even, greatfull, development tool of choice ;-/

In the way i'm using RR/MC to develop (80% of three-part networked apps, 
20 of statistics reports engines), the power i need comes from what is 
available inside Transcript/Metatalk, not how the IDE will help me to 
code the handlers. In other words, when my coding is up, it's always, in 
the standards RR/MC IDEs, enough power to let me build the end-users GUI 
needed to control the apps and the ways they are running and/or 
reporting calculations results.

Beside what ('1), i know you did a very great job to provide us the 
Xavier's MC GUI and i'm respectfully of that but i hope you can 
understand friendly my position.

Beside what ('2) and because i don't have time to build them myself, i'm 
looking for two unavailable tools, to be build from ground in 
Transcript/Metatalk... and i would pay lots (aka US $ 500, each) to have 
them available for a professional-grade use. The first tool i need is an 
app dedicated to build, from a RR/MC front-end app, great *NIX 
Firewalls, including multiple boxes solutions (IPTables, DMZ and 
such...). The second app i would pay for, if it could be done available 
: a Nessus/Saint clone, able to let me scan and control all the 
components of my networked processes, including over IP datas serving 
and corporate LAN management. Because the *NIX security management is 
still far from beeing a piece of cake, i believe it could be a 
interesting market for such kind of RR/MC apps.

Hope this help.

--
Kind Regards, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: mcnews.rev

2003-08-14 Thread Pierre Sahores
Richard Gaskin wrote:
Scott Rossi wrote:


On my end, I continue to work in MC and save in Rev.  The engines are
identical, but contrary to what others have posted on the lists, I believe
an MC stack must be saved from within Rev to make it Rev-compatible.

I got the same bug under OSX 10.2.6 but not under Linux, where the 
direct saving of MC stacks to Rev's ones works fine.

That would be a bug.  If it affects the IDEs in that way it may affect your
work.
Another great benefit of having multiple IDEs:  It keeps the engine
well-tested and the environments clean.
--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script limit - clarify please - BRAVO!

2003-08-11 Thread Pierre Sahores
Ken Ray wrote:
Kevin,

That was one heck of a post... thanks for making it all very clear that
it is and has always been RunRev's intent to do the best thing for its
customers.
Bravo!

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 


The same there, Kevin ! Thanks a lot. I'm, more and more, thinking that 
we have just to go head, all together and welcome to the next years...

Bravo, again !

Best Regards to the RunRev's Rockers Team, you too, Scott :-)

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: An informal poll....

2003-08-10 Thread Pierre Sahores
How many, who have purchased licenses, use MC/Rev to build
standalones, that will be distributed to others?
I don't create much for my own use.  99% of
everything I do, is for distribution, to produce income.
The rest of you?

The same, there.

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Multiple LAN cards mc server apps

2003-08-03 Thread Pierre Sahores
Alex Shaw wrote:
Hi,

I haven't tried this yet but I'm sure someone has:)

Using the metacard 'accept on port' command..

1. Will this cause the server app to listen on all available interfaces?

2. How do you restrict metacard listening to just one interface?

regards
alex
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Hi Alex,

The answer is no.

Because each different MC app is only able to listen at one port (aka 
one socket listener : a php or cgi script), at one time, you have just 
to name the port you want have each app to listen to, just alike below :

on newconnect s # reading the request from a new socket
  read from socket s for 1 line with message serverread
end newconnect

on serverread x,y # processing the request
  global PostIn,Retour,Debut,Lepath,Ppa
  put urldecode(y) into PostIn # données POST reçues de wmc.xml
  put cr into char (length(PostIn))-1 to (length(PostIn)) of PostIn
  put  into Retour
  set itemdelimiter to 
  doswitcher # the code the server app have to run goes here
  write Retour to socket x
  close socket x # x = adresse IP  |  n° d'ordre du socket fils reçu de wmc.xml
  repeat
if the num of lines in (opensockets())  1 then close socket line 2 of 
(opensockets()) else exit repeat
  end repeat
end serverread

on preOpenStack
  ...
  set the socketTimeoutInterval to 10 # to set up to lots more on client-side MC 
Jaguar-hosted apps
  if the windows is WMCPE (if the server app is running in console-mode in the 
background)
  then accept connections on port 765 with message newconnect
  else accept connections on port 7654 with message newconnect
  ...
end preOpenStack
It's in setting up the sockets listener script that you will choose the 
active interface, one at each time you want to listen to. See the php 
example below, witch is able to bind, Apache to the MC application 
server, in both console (on root protected port 765) and graphical (on 
port 7654) modes :

?

if ($REQUEST_METHOD == POST) {

$headers = $HTTP_POST_VARS;
while (list($header, $value) = each($headers)) $exAE .= $header=$value;
$exAE = urlencode($exAE);
$activapp = substr($exAE,0,5);

if ($activapp == ia832) {
		$connection = fsockopen(localhost, 765,  $error_number, $error_description, 30); 	 
		if ($connection) {
			set_socket_blocking($connection, true);
			fputs($connection,);
			fputs($connection,$exAE.\r\n);
			fpassthru($connection);
			}
		else 	{
			$connection = fsockopen(localhost, 7654,  $error_number, $error_description, 30); 	 
			if ($connection) {
set_socket_blocking($connection, true);
fputs($connection,);
fputs($connection,$exAE.\r\n);
fpassthru($connection);
			}
			else print(erreur numéro $error_number ($error_description)BR\n);
		}
	}
}

?


--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Multiple LAN cards mc server apps

2003-08-03 Thread Pierre Sahores
Alex Shaw wrote:
Hi,

I haven't tried this yet but I'm sure someone has:)

Using the metacard 'accept on port' command..

1. Will this cause the server app to listen on all available interfaces?

2. How do you restrict metacard listening to just one interface?

regards
alex
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Alex,

In the previous mail about the subject, please read (about the php 
sockets listener) :

...
if ($REQUEST_METHOD == POST) {  // PHP issue  4.10
$headers = $HTTP_POST_VARS;

// if (!empty($_POST)) {// PHP issue = 4.10
// $headers = $_POST;
...

--
Bien cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: environment question

2003-08-01 Thread Pierre Sahores
On Fri, 2003-08-01 at 11:13, MisterX wrote:
 Hi everyone,
 
 In view of the future, and with regards to what is running, 
 how can you know if it is MetaCard or RR running your stack?
 
 one for the language trivia...
 
 Thanks
 Xavier
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

 if the stacks contains .rev then
 ...
 else if the stacks contains .mc then
 ...
 end if

-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Buggy post url cmd - socket stays open

2003-07-24 Thread Pierre Sahores
Hi Alain,

Try this witch works for me perfectly from MC 2.32 to 2.5:

  set httpheaders to Content-type: application/x-www-form-urlencoded  return
  post fld 1 to url myURL

Hope this help.

Best,


On Thu, 2003-07-24 at 05:19, Alain Farmer wrote:
 Hello Scott and y'all,
 
 I have a persistant problem with the post url syntax
 of MetaCard 2.5, as I did with 2.4 as well. The client
 is a MetaCard 2.5 stack with the following handler in
 a button :
 
 on mouseUp
   put http://www.giguere.uqam.ca/; into myHost
   put myHost  XA/MenusXApost.cgi into myURL
   if the openSockets is empty then
 post field 1 to url myURL
 if the result is not empty
 then answer the result
 else answer it
   else
 beep
   end if
 end mouseUp
 
 The CGI program on the server-side is a
 HyperCard-based CGI which performs marvelously. It
 returns the minimum set of HTTP headers required by
 MetaCard. The proof of this is that the first click on
 the above button indeed returns what it is supposed
 to. Btw, I am using Webstar 2.1 on MacOS 8.6 on the
 server-side.
 
 The problem arises after the first click of this
 button. On the second and subsequent clicks of this
 button, the handler beeps, e.g. the openSockets is not
 empty which, IOW, means that the socket remains open
 after the first click. In fact, it (the socket)
 *never* closes, and this inhibits it from doing its
 thing more than once.
 
 My diagnostic, therefore, is that there is a bug in
 MC's post command whereby the socket that is opened is
 never closed. Please fix this *bug* by making the
 socket close automatically ASAP after the reply is
 received by the MC client. Or give us the new syntax
 we need to *close* the open sockets ourselves.
 
 If you disbelieve my account, then feel free to
 download a copy of my client stack which exhibits this
 problem :
 
   http://ufp.uqam.ca/MC/test_url_stuff.mc.zip
 
 Thank you for your time and earnest work,  :)
 
 Alain Farmer
 
 NB: This is relatively URGENT for me. Please respond
 as soon as you can [Scott]. It has nothing to do with
 the interface; this is clearly an engine issue.
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Buggy post url cmd - socket stays open

2003-07-24 Thread Pierre Sahores
On Thu, 2003-07-24 at 22:18, Alain Farmer wrote:
 Hello,
 
  Hi Alain,
  Try this witch works for me perfectly from
  MC 2.32 to 2.5:
  set httpheaders to Content-type:
  application/x-www-form-urlencoded  return
  post fld 1 to url myURL
  Hope this help.
 
 Thank you for the attempt, Pierre, but I tried it just
 now and my problem remains unchanged. My client stack
 is running on top of MacOS 8.6 ; do you have the same
 setup as me? Perhaps this socket bug only affects
 those using the classic MacOS, or perhaps just a bug
 in versions of MacOS less than 9.x ...
 
 Any further ideas?
 
 Distressed,
 
 Alain
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Hi Alain,

I don't use MacOS 8+Webstar+HC since 1999 and the up-on config is only
used on the linux and jaguar platforms (+Apache+PHP+MC+PostgreSQL).

You will probably get a best luck in listening to the Dave's and Brians
advices.
-- 
Bests, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: MySQL Support

2003-07-19 Thread Pierre Sahores
On Sat, 2003-07-19 at 01:14, Simon lord wrote:
 Hi all, I need to write an app that will allow me to read/write data to 
 MySQL.  I'd like to tinker with this on the weekend and I've seen it 
 mentioned here a few times but was not in the market to use such a 
 combination.
 
 That said, can some kind sole provide me with the following:
 
 1) Information about what I need in order read/write to MySQL
 2) A sample stack (I can change the MySQL table calls) just so get a 
 frame of reference
 
 This would be much appreciated, I look forward to playing with it.
 
 Sincerely,
 Simon
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Hi Simon,

David Bowill was the first one to find the way about how to do that. See
what he wrote about this in the list-archives and ask him directly about
more.

If it is not off-topics, i can, if needed, help you to connect a
PostgreSQL server from within MC (Linux or Jaguar platforms only).

Rgards,
-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Moving the MC IDE forward

2003-07-12 Thread Pierre Sahores
On Sat, 2003-07-12 at 20:04, J. Landman Gay wrote:
 On 7/12/03 10:02 AM, Geoff Canyon wrote:
 
-- snip --
 
 For those who prefer MC's simplicity, I don't see any harm in continuing 
 to assure it is compatible with the most current Rev engine. People will 
 still have to purchase Revolution to get full access to long scripts, so 
 RR won't lose any money by allowing folks a choice of IDEs. They have 
 already said they won't support alternate IDEs, so it won't cost them 
 anything.

And i wants to add that, because, some RR/MC apps needs to be build to
run with no GUI at all (backgrounder or console-mode apps and demons),
we needs to have a lightweight UI available to code, debug and maintain
this kind of apps, for a best usage of the memory and the processor by
the hosting servers.
-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


About MC/RR applications servers

2003-07-12 Thread Pierre Sahores
, it supports more concurrent 
accesses on the same record
(over 350 peer sec) than any other db server, Oracle included.

About MySQL : Its 3.23 issue dont support more than 10/15 writing-mode concurrent 
accesses. The 4.0.12-Max
issue is more sure (aka the same level of db like Sybase ASE 12.5 or MS SQL Server) 
but why use it when it's
no more harder to install and run PostgreSQL.

About Oracle 8/9i : i ran both issues of this server in binding them to one of my 
tests MC application server.
What i found was not so far from comic : the java-installer needs on-line corrections, 
from within the shell
to run up to the end of the installation. The footprint of the Oracle server is in 
100's of Megs where the
PostgreSQL one is in Megs. The only good news is probably that, by default, the Oracle 
SQL*Plus demon seems
always able to handle the requests very fast (cache).

III.- About a more detailled presentation :

a.- Read, beside my post on the Metacard archive list, what many of us wrote on the 
subject
(Sadhu, Andu, and many others of us..).

b.- Ask again fore more specifics responses when needed.

Hope this can help,
-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: About MC/RR applications servers

2003-07-12 Thread Pierre Sahores
On Sat, 2003-07-12 at 23:46, [EMAIL PROTECTED] wrote:
 Thanks Pierre for stepping in.  I had indeed misremembered what I had read a few 
 months ago.
 
 This makes very interesting reading and is a great overview of what you have done.
 
 Let me see if I understand your process:
 
 
 2.- The Apache demon (configured to accept up to 150 requests peer second) send the 
 request to a 
 .php sockets listener, witch open a socket on a root protected port to the MC/RR 
 demon app running
 in the backg
 
 Do I take it from this that Apache thinks it is talking to a PHP engine?  That your 
 MC app is answering as though it is going to process .PHP files?
 

Apache lets PHP do what he has to do and the .PHP sockets listener
script just open a tcp/ip socket on port xxx without care about the app
(MC/REV in our case) witch will respond to the socket embedded request.
The .PHP sockets listener will just block until he get a contents reply
to send back to the Apache demon.

 
 If the demand contains an SQL request, the MC/RR demon open a connection to the psql 
 command-line client of 
 the Postmaster demon of PostgreSQL trough a metatalk/transcript shell() request, 
 waits for the response,
 makes if needed calculations on the SQL datas reply and, send it back to the opened 
 .PHP socket
 
 If I understand so far, the MC demon app then processes the request, shelling out to 
 the OS and invoking the command-line interface to the PostgreSQL SQL interpreter.
 

Yes

 If I have understood it, then it is quite surprising that it should be so fast.  
 Surely the invokation of the shell() to connect to PostgreSQL is precisely the kind 
 of process forking that is advised against with CGI?
 

Just do tests and you will see as me that this works perfectly, faster
for example, than in using ASP's or PHP commands, because the linux bash
optimisations, because the psql perfect design to work in command-line
pipe mode.

 
 About using the shell() in place of ODBC or others middleware to bind the MC/RR 
 demon to the SQL server :
 just lots more faster, 
 
 This really does go against the prevailing wisdom.  
 

Yes, probably because this way is not as expensive as it could be in
using, instead, best knowed commercial middlewares ;-)

 
 add to the MC/RR demon many special procedure to replace the ones that don't
 work as easy and fast in the other parts of the server (aka. build-in replacements 
 of the SQL triggers,
 stoked procedure and vues).
 
 You mean by this, that triggers, SPs, views, etc all work via command line 
 interaction, but because they are slow you have replaced the functions they perform 
 with MC processing?
 

I just remplace all of them by metatalk/transcript calculations on very
simple SQL requests replies (all my tables have a dual column index key
- chars+unique integer - and internal sequences are controlling the
unicity of the records), available inside the MC/RR process as global
vars.

 
 1000 clients peer app
 
 Do I take it from this, that each of your servers is running just one of the MC 
 demons, and that this demon is expected to be able to serve 1000 client requests? 
 
No and yes : Some servers are running up to five different MC/RR demons,
each one listening for sockets requests on a different port. Two of my
MC/RR demons are serving an ERP app to 1000 clients but those are never
connected in writing mode at the same second (in practice, non more than
50 connections peer sec, aka 1/3 of what Apache is accepting before
queuing the more requests he could receive). The others MC/RR demons are
no serving more than 250 clients. The two first apps are each hosted on
a different Suse 8 Pro x86 - Athlon 800 1 Go Ram - server. All the other
apps are hosted on 3 st box, again Suse 8 Pro x86 - Athlon 800 1 Go Ram.
I'm in discussion about the possibility to switch some apps on an
XServe, but, for yet, because Jaguar is lots slower than Linux is, i
prefer wait and see until having testing Panther ;-)

 What is the specification of your server in terms of RAM and CPU?  
 How large is the database that the clients query?
 What is the proportion of reads to writes?

75% of writes on databases going from some megs (events statistics) up
to 250 Megs of datas, with, as an average, no more than 10 Megs peer
table (administrative forms).
 
 I'm sure you have only fuelled the interest in running server-side faceless 
 Revolution apps :-)
 
 Thanks again,
 Bernard.  
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
-- 
Bien cordialement, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Multiple instances on Mac OS X

2003-07-11 Thread Pierre Sahores
On Fri, 2003-07-11 at 20:04, Richard Gaskin wrote:
 Is there a flag that can be set on OS X to have an app run in a separate
 instance each time it is opened as it does on all other OSes?

Richard,

This is probably available in using the darwin engine in console mode
and, perhaps, from within the XDarwin XFree86 graphical interface.

--
Bests, Pierre Sahores

Serveurs d'applications  bases ACID SQL
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


A speed difference between MC and Rev ?

2003-07-11 Thread Pierre Sahores
Hello Any All there

My name is Pierre Sahores and i'm testing Rev 2.0.1 to see if i can
switch some of my MC 2.5 projects to Rev.

1.- After downloading the 30 days free trial issue of Revolution 2.0.1
(linux
x86),

2.- I open the main stack of the mc 2.5 project i'm just working on,

3.- I open, one after each other, the 12 substacks of this project : it
takes seconds to get each window displayed on screen where it takes some
ticks to get the same result in running the same project under MC 2.5 ?

Any idea about this speed bug ? Is that normal ? Do i have some thing
to do to get the same speed results in using Revolution than in using MC
?

Any help will be greatly apprecied. Thanks !
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Saving scripts

2003-07-10 Thread Pierre Sahores
Gregory Lypny a écrit:

Hello Everyone,

Is there a way to save scripts while you're working without having 
to close, and then reopen, the current script window in Mac OS X?

Greg

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Hello there,

This feature is yet available in Metacard 2.5. Try command-l to see if
it was an available but undocumented feature in the previous issues of MC.
Bests,

Pierre Sahores

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: [ANN] libSMTP v1.5.0

2003-07-10 Thread Pierre Sahores
Shao Sean a écrit:

well, i finally got around to getting it finished and
released, so here it is.. libSMTP v1.5.0
- plain text messages
- html messages (with inline/embedded images)
- file attachments
- smtp authentication
have fun
-Sean
http://shaosean.tk/
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
Thanks a lot Shoa to do this great stuff available to the list. I will 
test it as soon as possible.

Bests, Pierre Sahores

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: METACARD ACQUIRED BY RUN REV!!!

2003-07-10 Thread Pierre Sahores
Ken Ray a écrit:

Just went over to the RunRev site and saw this headline:

 Runtime Aquires MetaCard Technology

You can read all about it here:

  http://www.runrev.com/metacardpr.html

How does everyone feel about this? I can see good and not-so-good things
(depending on how RunRev acts on this)... 

Your thoughts?

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
 

Allo Friends,

I just hope that this will do both Kevin and Scott stronger and able to 
build great new issues of our prefered XTalk.

Bests, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Saving scripts

2003-07-10 Thread Pierre Sahores
Gregory Lypny a écrit:

Hello Everyone,

Is there a way to save scripts while you're working without having 
to close, and then reopen, the current script window in Mac OS X?

Greg

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Hello there,

This feature is yet available in Metacard 2.5. Try command-l to see if
it was an available but undocumented feature in the previous issues of MC.
Bests,

Pierre Sahores



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Customising the Metacard Environment

2003-07-10 Thread Pierre Sahores
W. Sanke a écrit:

On Mon, 07 Jul 2003 03:27:24 -0400, Mathewson
[EMAIL PROTECTED] wrote:
 

One of the best ways to customise (British 'S' in
'customise') Metacard (and vice versa) is to open its
components using Runtime Revolution to edit.
However (this will not make me popular) I personally find
that Runtime Revolution wipes the floor with Metacard - and
seems even more customisable.
Richmond Mathewson

   

One would have to go very much into details to compare and assess the
advantages and deficiencies of Metacard and  the Revolution GUI.
It is also a matter of personal taste and what demands you have as to
how organized and  how fast an environment should be. Another
difference would be the needs of beginners and power users - and even
power users may prefer quick access to the most needed functions, while
others are comfortable with walking through a maze.
And above all, it may depend on what you learned first: Most people like
what they already know.-
Concerning the language problem:

There are so few regional variations of written English that it is
indeed worth mentioning if you find any. Otherwise the English language
is very much like Chinese - with a common written basis and a great
number of mutually incomprehensible spoken dialects; a speaker of
Australian or Tamil English (the latter spoken around Madras) will
probably never understand a man from Texas. As for the British Isles,
George Bernard Shaw has competently described the situation of spoken
English.
Maybe we should start on the roadmap for international understanding
with a spelling bee?
Best regards,

Wilhelm Sanke

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
 

Hi Friends,

What is good for Runtime Revolution is good for the Metacard engine and
what is good in the Metacard engine makes Runtime Revolution more
powerfull. In a more subjective way, the ones who loves Revolution + the
ones who loves Metacard + the ones who loves both makes the professional
grade XTalk's market share bigger. Is't it not the best the developers,
we all are, can expect for our prefered RAD tool ?
Bests,

Pierre Sahores

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: METACARD ACQUIRED BY RUN REV!!!

2003-07-10 Thread Pierre Sahores
Ken Ray a écrit:

Just went over to the RunRev site and saw this headline:

 Runtime Aquires MetaCard Technology

You can read all about it here:

  http://www.runrev.com/metacardpr.html

How does everyone feel about this? I can see good and not-so-good things
(depending on how RunRev acts on this)... 

Your thoughts?

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
 

Allo Friends,

I just hope that this will do both Kevin and Scott stronger and able to
build great new issues of our prefered XTalk.
Bests, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: File Permissions

2003-07-10 Thread Pierre Sahores
Gregory Lypny a écrit :
 
 Hello everyone,
 
 Is there any way to set a file's permissions (e.g., locked, read only)
 on Mac OS X from within MC?
 
 Regards,
 
 Greg
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Yes.

Just try to get what you need in using the prompt shell and, than, paste
the issued function in a shell() mt script.
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: METACARD ACQUIRED BY RUN REV!!!

2003-07-10 Thread Pierre Sahores
 both best marketed and more
powerfull. It's good so and the some time i will spend to learn to adapt
my methods and apps to the RunRev 2.xx IDE is just the contribution i
need to do to let them be sure that there are developpers OK with the
strategic choice they did this week in contracting the acquisition of MC
by RR.
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Scott's legacy

2003-07-10 Thread Pierre Sahores
[EMAIL PROTECTED] a écrit :
 
 Regardless of whether you think MC's acquisition by Run Rev bodes good or
 bad, I think we can all agree that Scott has done a fantastic job with MC and his
 customer service is unsurpassed.  I have been the fortunate recipient of a
 number of Scott's instant responses (even one at 1:30 AM CST) as, I am sure,
 practically eveyone on this list has at some time or other.  I hope Run Rev
 recognizes the unequaled market value of this service and continues the
 tradition.
 
 Three cheers for Scott!
 
 Philip Chumbley
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

The same for me :-)
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBDR (Web/PGI)
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Re:METACARD ACQUIRED BY RUN REV!!!

2003-07-09 Thread Pierre Sahores
On Wed, 2003-07-09 at 20:31, Shari wrote:
 We've got MC 2.5 now, with a full license; but how does that apply 
 to Rev 2.0? Merely downloding the latest version of Rev will still 
 hold developers to the ten-line limit. Right?
 
 Do I hear a suggestion out there in the Rev world?
 
 Does this MC List get mereged into the Rev List?
 
 Will Scott's Wise Eye watch over us chickens when we start to PANIC?
 
 Ray G. Miller
 
 
 Gosh, think of those of us whose license ran out.  At least you can 
 *try* Rev for free, and make sure it really does run your projects 
 just as MC does.  I would have pay just to find out.  Not a happy 
 prospect.
 
 At least with MC, if I did a paid upgrade, I would know that I was 
 getting what I have, only better.
 
 Now, a paid upgrade means, well getting something unproven and 
 untried, for projects that are finally stable and productive.
 
 Scary.

Shari,

It was exactly my feeling the day i got my first Metacard license, six
years ago... At this point, i was searching for an Hypercard 2.41
competitor and i discovered the best XTalk never seen over any
platform...

As Scott explained us in his last mail, the best XTalk available today
needs the marketing power of the RunRev Team to grow more and more. He
must be right and, between us, only great people are able to know in
witch different spheres, they are at the top and in witch they are not
spending their best time and work.

What seems important, at this point, is that the Metacard core engine
design and development will stay in the hands of Scott, alike the Linux
kernel stays in the hands of Linus Torwalds, for the best of the MC/Rev
next issues, alike, for the best of the future of the best Linux
distributions...

It's probably time for to go head in subscribing to the RunRev mailing
list. There are probably interesting peoples to meet there too. I go,
for my own, to (re)subscribe to it, right now.

Bests,

-- 
Bien cordialement, Pierre Sahores

Applications WEB et ERP personnalisés
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Moving the MC IDE forward

2003-07-09 Thread Pierre Sahores
On Wed, 2003-07-09 at 22:34, Mark Talluto wrote:
 On Wednesday, July 9, 2003, at 01:23 PM, Richard Gaskin wrote:
 
  Tereza Snyder wrote:
 
  on 07.09.03 1:20 PM, Richard Gaskin wrote:
 
  Things we need to decide:
 
  - Is Yahoo Groups acceptable as a groupware solution for this 
  project?
  With its discussion list, file repository, calendar, and links it
  gets my vote, but there may be things I'm overlooking.
 
  - If so, is it simpler to alter the existing group or create a new 
  one?
 
 
  It seems like a good solution, and a good group to use. It hasn't had 
  much
  traffic since the action moved to the MetaCard list at RunRev.
 
  Thanks for the feedback.  In the absence of any dissenting opinion I'll
  contact that list admin and run this past him
 
 
 
 I am just curious to know how many people are planning on staying with 
 MC and being active in maintaining its IDE?
 
 
 Best regards,
 Mark Talluto
 http://www.canelasoftware.com
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 

Hello Mark,

In my developments (backgrounder client-server apps, web's and erp's
front-ends, the xtalk coding + engine power makes 90% of my products. I
think i will go to use both the MC IDE and the RunRev 2.xx in the
future.

Bests, Pierre
-- 
Bien cordialement, Pierre Sahores

Applications WEB et ERP personnalisés
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: CGI in Mac Classic (8.6)

2003-06-27 Thread Pierre Sahores
Alain Farmer a écrit :
 
 Hello Robert and y'all,
 
  Alain, you may want to provide a few more details
  of your setup as the above is somewhat confusing.
 
 Server-side = MacPPC running WebStar. HyperCard-based
 CGI program with the script at the bottom of this
 post.
 
 Problem = When the HTTP request comes from a web
 browser (Netscape 4.7.2 in this case), then the CGI
 does exactly what it's supposed to. But, OTOH, when
 the request comes a MetaCard 2.4 stack. e.g. by using
 MC's built-in syntax for doing this (get url myURL),
 is does NOT work at all. When the request comes a
 MetaCard 2.5 stack, again using the same native MC
 syntax (get url myURL), then it works once. Subsequent
 requests from the MC 2.5 client result in this error
 msg Error previous request not completed and
 eventually followed up by this msg: socket timeout
 132.208.44.158:8016925. The IP in this last error-msg
 is my server's IP (the one hosting my HC-based CGI).
 
  Where are the sockets coming in from?
  Not on the server I think.
 
 According to the error-msg it is the *server*.
 
  As I understand, your CGI talks to a web server
  program (are you using MacHTTP or sth else?)...
 
 WebStar (which in turn uses MacHTTP, I believe).
 
  using AppleEvents.
 
 That is how the CGI protocol is implemented in Mac OS
 Classic. It's AppleEvents or nothing in this case.
 
  The web server talks to a client using HTTP
  protocol. If the client uses an MC stack instead
  of a normal web browser, it still has to talk HTTP
  to the server.
 
 I totally agree with you, and this is indeed the case.
 
  So if there is a problem, it would seem to have
  nothing to do with your CGI per se but with the
  client stack.
 
 At first blush, it does indeed seem to be a problem
 with the CLIENT. The web-browser client handles it
 perfectly, but the MC clients don't. Hence the easy
 conclusion that it is the client who is a fault. But
 what about the 2nd error-message that points the
 finger at my SERVER? What if the server's CGI is not
 providing *all* the required HTTP-headers that are
 needed by the MC-2.5-client? Web browsers, you see,
 are rather tolerant when it comes to HTTP headers. Not
 long ago, and for several years, all of my CGI
 programs did NOT provide ANY HTTP-headers at all..
 none.. nada .. and yet it worked liked a charm. It
 still does work without any HTTP headers at all when
 the client is a commonly-used web-browser.
 
  Or are you trying having the client stack bypass
  the server and talk directly to CGI? If so, your
  CGI must act as a server not as a CGI then.
 
 No. Not at this stage of the game. But I will be soon,
 when I complete my first MetaCard-based BLOG client,
 e.g. direct communication to server-side programs via
 XML-RPC. Btw RPC stands for Remote Procedure Call.
 
  Robert
 
 Thanks for trying, Robert, but I'm afraid my problem
 remains un-solved. Below are my client-side and
 server-side components needing to be debugged :
 
 = Server-side CGI =
 
 on appleEvent class,event,sender
   if class is WWW* and event is sdoc then
 put the short date into content
 put the number of chars of content into cLength
 get minHeadersHTTP(cLength)  content
 reply it
   else
 pass appleEvent
   end if
 end appleEvent
 
 function minHeadersHTTP contentLength
   put the numToChar of 13  the numToChar of 10 into
 crlf
   put HTTP/1.0 200 OK  crlf into headers
   put Server: MC/2.3 ID/ACGI  crlf after headers
   put MIME-Version: 1.0  crlf after headers
   put Content-type: text/html  crlf after headers
   put Content-Length:  contentLength  crlf  crlf
 after headers
   return headers
 end minHeadersHTTP
 
 = Client-side MC stack =
 
 Download it (608 bytes) :
 
 http://ufp.uqam.ca/MC/clientStack.sit
 
 __


Hello Alain,

Your problem as to do with the use of the first one of the two below :

 set httpheaders to Content-type: application/x-www-form-urlencoded  return
 post retour to url (fld csrecents of cd 2 of stack ccitalis)

You must test and test again to find how the mc httpheaders command need
to be set. The above code works under linux but must probably be tunned
to work under MacOS 8 + WebSTAR.

Be carefull, too, about the urlencode/urldecode commands on both the
client and server side. As an example, they need to be set differently
on the linux and the macosx client-side front-ends, even if the
server-side is always the same (linux, in my case).

After getting the right tunning, your code will become 100% sure and
secure. MC is not in fault.

Hope this helps :-)

Bests, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: CGI in Mac Classic (8.6)

2003-06-27 Thread Pierre Sahores
Alain Farmer a écrit :
 
 Hello Robert and y'all,
 
  Alain, you may want to provide a few more details
  of your setup as the above is somewhat confusing.
 
 Server-side = MacPPC running WebStar. HyperCard-based
 CGI program with the script at the bottom of this
 post.
 
 Problem = When the HTTP request comes from a web
 browser (Netscape 4.7.2 in this case), then the CGI
 does exactly what it's supposed to. But, OTOH, when
 the request comes a MetaCard 2.4 stack. e.g. by using
 MC's built-in syntax for doing this (get url myURL),
 is does NOT work at all. When the request comes a
 MetaCard 2.5 stack, again using the same native MC
 syntax (get url myURL), then it works once. Subsequent
 requests from the MC 2.5 client result in this error
 msg Error previous request not completed and
 eventually followed up by this msg: socket timeout
 132.208.44.158:8016925. The IP in this last error-msg
 is my server's IP (the one hosting my HC-based CGI).
 
  Where are the sockets coming in from?
  Not on the server I think.
 
 According to the error-msg it is the *server*.
 
  As I understand, your CGI talks to a web server
  program (are you using MacHTTP or sth else?)...
 
 WebStar (which in turn uses MacHTTP, I believe).
 
  using AppleEvents.
 
 That is how the CGI protocol is implemented in Mac OS
 Classic. It's AppleEvents or nothing in this case.
 
  The web server talks to a client using HTTP
  protocol. If the client uses an MC stack instead
  of a normal web browser, it still has to talk HTTP
  to the server.
 
 I totally agree with you, and this is indeed the case.
 
  So if there is a problem, it would seem to have
  nothing to do with your CGI per se but with the
  client stack.
 
 At first blush, it does indeed seem to be a problem
 with the CLIENT. The web-browser client handles it
 perfectly, but the MC clients don't. Hence the easy
 conclusion that it is the client who is a fault. But
 what about the 2nd error-message that points the
 finger at my SERVER? What if the server's CGI is not
 providing *all* the required HTTP-headers that are
 needed by the MC-2.5-client? Web browsers, you see,
 are rather tolerant when it comes to HTTP headers. Not
 long ago, and for several years, all of my CGI
 programs did NOT provide ANY HTTP-headers at all..
 none.. nada .. and yet it worked liked a charm. It
 still does work without any HTTP headers at all when
 the client is a commonly-used web-browser.
 
  Or are you trying having the client stack bypass
  the server and talk directly to CGI? If so, your
  CGI must act as a server not as a CGI then.
 
 No. Not at this stage of the game. But I will be soon,
 when I complete my first MetaCard-based BLOG client,
 e.g. direct communication to server-side programs via
 XML-RPC. Btw RPC stands for Remote Procedure Call.
 
  Robert
 
 Thanks for trying, Robert, but I'm afraid my problem
 remains un-solved. Below are my client-side and
 server-side components needing to be debugged :
 
 = Server-side CGI =
 
 on appleEvent class,event,sender
   if class is WWW* and event is sdoc then
 put the short date into content
 put the number of chars of content into cLength
 get minHeadersHTTP(cLength)  content
 reply it
   else
 pass appleEvent
   end if
 end appleEvent
 
 function minHeadersHTTP contentLength
   put the numToChar of 13  the numToChar of 10 into
 crlf
   put HTTP/1.0 200 OK  crlf into headers
   put Server: MC/2.3 ID/ACGI  crlf after headers
   put MIME-Version: 1.0  crlf after headers
   put Content-type: text/html  crlf after headers
   put Content-Length:  contentLength  crlf  crlf
 after headers
   return headers
 end minHeadersHTTP
 
 = Client-side MC stack =
 
 Download it (608 bytes) :
 
 http://ufp.uqam.ca/MC/clientStack.sit
 
 __


Hello Alain,

Your problem as to do with the use of the first one of the two lines
below :

 set httpheaders to Content-type: application/x-www-form-urlencoded  return
 post retour to url (fld csrecents of cd 2 of stack ccitalis)

You must test and test again to find how the mc httpheaders command
need
to be set. The above code works under linux but must probably be tunned
to work under MacOS 8 + WebSTAR.

Be carefull, too, about the urlencode/urldecode commands on both the
client and server side. As an example, they need to be set differently
on the linux and the macosx client-side front-ends, even if the
server-side is always the same (linux, in my case).

After getting the right tunning, your code will become 100% sure and
secure. MC is not in fault.

Hope this helps :-)

Bests, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: resolution stats

2003-06-25 Thread Pierre Sahores
Richard Gaskin wrote:
 
 Do any of you have a link to current stats of the marketshare for various
 default screen resolutions?
 
 My specific question today is: What percentage of computer users are running
 a resolution of 1024x768 or greater?  Extra bonus points if we can turn up
 something that shows cross-tabs with demographic data.
 
 I'm wondering when it will become a good idea to start optimizing screen
 layouts for larger resolutions, when the majority will move past 800x600.
 Of course it would still be desirable to suport 800x600 for the next few
 years, just wondering if designing to optimize for that resolution is a
 mistake vs. focusing on making things look especially good at 1024x768
 
 --
  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

Allo Richard,

Most of the professional ERP front-end apps (SAP, Peoplesoft,...) are
still optimized to run in 800*600
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Purchasing latest Metacard OSX

2003-06-25 Thread Pierre Sahores
[EMAIL PROTECTED] wrote:
 
 Hi every1,
 
 Sorry to bother the list with what can only be called administrivia...but
 I've finally saved up enough money to purchase a full-blown copy of
 Metacard and wonder if anybody can help me with where I may purchase it in
 Australia. I'm a secondary school teacher and have *almost* convinced the
 heirarchy here that I can write a better report-writing program than the
 god-awful FileMaker-based thing we paid A$2500 for a few years back! (and
 believe me it IS clunky and NON-INTUITIVE!!!) :))

1.- Welcome to the Metacard friendly world ! You will, at least, be able
to build best reporting apps in using Metacard than in using dedicated
tools alike the Business Objects 5 i don't use anymore, even at the
office.

2.- Ask your regular computers reseller to purchase the Metacard license
for you (i did that before : Scott sended to my reseller the license to
my own name).

3.- Else, ask directly to Scott (Raney), how to get your license. He
will help you to find the right way to get it.

 
 I don't think the school has a policy of internet purchase so if any
 addresses may be forthcoming I'd much appreciate it!
 
 Cheers,
 Kevin Phyland
 Wycheproof P-12 College
 Wycheproof, Vic. Australia.
 
 Study Business at USQ's Australian Graduate School of Business.
 http://www.usq.edu.au/faculty/business/usqagsb/
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: UNIX help?

2003-06-25 Thread Pierre Sahores
[EMAIL PROTECTED] a écrit :
 
 Richard,
 
 Have you set the directory in Metacard to that which contains the
 file?
 In Terminal, you open in your home directory: in Metacard you'll start
 out in the application's directory.
 
 Try: set the directory to ~/
 
 If that's the case. Or, whichever directory you compose the messages
 in.
 
 HTH.
 
 --
 Brian Yennie
 Chief Technology Officer
 QLD Learning, LLC
 www.QLDLearning.com
 
 PH: (904)-997-0212
 EMAIL: [EMAIL PROTECTED]
 ---

Else, check the permissions to be sure you have access to the email file
in read mode from within your cgi script.
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: how to get the temp directory on *NIX

2003-06-21 Thread Pierre Sahores
Shao Sean wrote:
 
 how to get the temp directory on *NIX platforms? under
 windows and mac i can use specialFolderPath(Temporary)..
 can i just use $TEMP ?
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

On Suse-Linux, you will find it at /tmp/
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Queuing woes

2003-06-19 Thread Pierre Sahores
LK Hagen a écrit :
 
 I am running MC 2.4, and working on an app that sends off multiple url
 requests  to search engine in succession.  If I interrupt the process and
 start over, I inevitably get a queued message back from urlStatus(). the
 urlStatus() function currently resides inside the idle handler, so it's
 updated constantly.  If I quit and relaunch, however, and then use
 
 load url tURL
 
 everything works just fine again.  I have been careful to unload all urls.  Ny
 way of fixing this without quitting MC?
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Hi,

Did you try to add an :

if the shiftkey is down then 
get url  (or something like that, to be tested)
end if

inside your on idle handler ?

--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Fwd: altBrowser Question and MAC version of altBrowser...

2003-06-16 Thread Pierre Sahores
Dan Shafer a écrit :
 
 
 
 --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.
 
 And perhaps you'd benefit by doing a bit of research and careful reading before 
 firing off such a silly comment.
 
 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.
 
 Second, you couldn't necessarily know this but I'm one of the beset-known Microsoft 
 attack dogs on the planet. I am not spouting their mantra and I'm sure as hell not 
 backing their strategy.
 
 Careful reading is preferable to flames.
 
 Regards, Andu Novac
 ___

Hi All,

Beside MC, i use as my core development tool to build Web's and ERP's
apps, all the components i need and use to do my job are free and very
well supported pieces of software : Linux (Suse, YellowDog), Apache 1.3
to 2.0, PHP 3/4, PostgreSQL 7.xx, Netscape, Mozilla, HTMLDoc,
Javascript, the Bash,... What my clients are waiting for are not only
licensied products but mostly development, integration and support and,
i'm sure it's the right way a respected client have to pay for : only a
small amont of the payments are always about the end-user licensing of
my products, just to let all remember that, i hold, to the end, the
copyrights on the stuffs i'm designing and developing...
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: How do you join lines in a container (CGUPE)

2003-06-14 Thread Pierre Sahores
Sadhunathan Nadesan a écrit :
 
--snip--

What this is,
 is a utility program, a filter that takes a stream of input data from
 a front end data collection program, then looks up something in the
 data base which the data collection program is unable to do (without
 extensive re-engineering), inserts that value into the data stream,
 and passes it on to something else (a back end formatting program).
 So it is a pipe line like
 
 collect data | metacard filter | report formatter

aka :

1.- Use the SQL database back-end at his best level : parse SQL insert,
update, delete and select statements (the Xtalk-aware part of SQL),

2.1.- Avoid to use any other part of the SQL syntax, each time, metatalk
can do better and faster (SQL stocked procs, views or built-in
functions, etc...),

2.2.- Let Metatalk handle all the AI-style manipulations on the datas
before sending them back to the ERP's or Web's client-side front-end,
trough a TCP/IP stream.

Comment : There are lots of expensive products, on the market, that are
dedicated to handle the 2.x part. Most of these tools are mistaking,
about how to do the job, in choosing to clone the bad part of the SQL
methods instead of using an original great syntax (XTalk as my first
choice and PHP as an emergency wheel...) to get the expected power in
manipulating the SQL output streams

Bests, Pierre

 And writing this filter was a lot easier than re-engineering the collect
 data part.
 
 Sadhu
 
 ps, I'm sure the code could be improved further, for example, using a
 function call rather than globals, but it's good enough.
 
 #!/usr/local/bin/mc
 ###
 #
 #-= Payroll II =-
 # Copyright (c) Cast  Crew Entertainment Services, Inc. 2003
 #
 # Program name: sony_filter
 #File name: sony_filter.mt
 #   Author: Sadhunathan Nadesan
 # Date started: 06/11/2003
 #
 # Description:
 #   Get Walker Numbers from Data Base and replace tselect field
 #
 ###
 
 global sqlData, keywords
 
 on startup
   global sqlData, keywords
 
   -- Grab the tselect output in preparation for translation
   read from stdin until empty
   put it into inputData
   -- Now get the translation table from the data base
   sqlFetch
 
   -- Put the real product number into the data stream
   repeat for each line thisLine in inputData
 put thisLine into dataArray
 split dataArray by |
 -- The set code is in the 5th field, space padded
 put dataArray[5] into setCode
 replace space with empty in setCode
 -- Input data has constant 'walker number' instead of product code
 replace WALKER_NUMBER with sqlData[setCode] in thisLine
 -- Send the data on to RPT
 put thisLine
   end repeat
 
 end startup
 
 --
 on sqlFetch
 -- get the list of set codes and product numbers from the data base
   global sqlData, keywords
 
   -- build sql query
   put lines 0  cr into sqlQuery
   put select sub_code, string_value from proptl  cr after sqlQuery
   put where option_code = 'SONYACCT' /  cr after sqlQuery
   put sqlQuery into url file:/tmp/sonylist.sql
 
   -- run sql query and capture results
   put SQL /tmp/sonylist.sql  into command_string
   set shellCommand to /bin/sh
   put shell(command_string) into sqlData
 
   -- prepare data to be placed in an associative array
   replace space with empty in sqlData
   split sqlData by linefeed and |
   put keys(sqlData) into keywords
 
   -- cleanup
   put rm -f /tmp/sonylist.sql into command_string
   put shell(command_string)
 
 end sqlFetch
 --
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

--
Cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis.
Optimiser les processus de concrétisation
des résultats, sinon rien...
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: How do you join lines in a container

2003-06-12 Thread Pierre Sahores
andu a écrit :
 
 --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

--
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


Re: How do you join lines in a container so it becomes one line, so you can use split?

2003-06-11 Thread Pierre Sahores
Sadhunathan Nadesan a écrit :
 
 How do you join lines in a container?
 
 Question:  I have a container which contains an sql cursor, ie, a number
 of lines of data (in this case 2 fields separated by the pipe symbol).
 I want to place this in an indexed array so I can use it in a replacement
 algorithm.  Whenever the index field (field 1) is found in some data,
 replace it with the indexed field (field 2).
 
 So, I want to use the split command to create this array, but trying to
 split on return, or newline, or cr, or numToChar(10)  ... this is a Unix
 system .. does not work.
 
 Therefore I tried to replace the end of line character with something
 else in the container so I could do this split.  The = symbol.
 
 That did not work either.
 
 So I came up with the hokey method below .. putting the data out into an
 external file and basically running a tr on it to replace the newlines
 with =, then reading it back in to do the split.  Seems pretty hokey to
 me, why can't I just do it in place? Read in the sql data directly and
 split it?  No external files.  But that does not seem to work.
 
 Oh well, thanks in advance for any help.
 
 Sadhu
 
 ps, code snippet below illustrating hokey solution.
 
 on sqlFetch
 
   put select audio_date, audio_url from audio; into sqlQuery
   put sqlQuery into url file:/tmp/titlelist.sql
   put psql cybertalks -qt -f /tmp/titlelist.sql  /tmp/titlelist.dat into 
 command_string
 
   set shellCommand to /bin/sh
   put shell(command_string)
   replace numToChar(10) with = in url file:/tmp/titlelist.dat
   put url file:/tmp/titlelist.dat into sqlData
   split sqlData by = and |
   put keys(sqlData) into keywords
   repeat for each line x in keywords
 put x   :---:   sqlData[x]  cr
   end repeat
 
 end sqlFetch
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Allo Sadhu,

 set itemdel to |
 tune your metatalk code

--
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


Last MC minux-ppc available issue, please !

2003-06-06 Thread Pierre Sahores
Hello List, Friends,

I'm searching for two things that could realy help me :

The 2.4 issue of the mchome.mc, mctools.mc and mchelp.mc stacks,

The last complete issue of MC for the linux-ppc platform (2.4.1, if i
right remember).

Could anyone, here, be kind enough to send theses files as email ?

Thanks a lot for the help, Pierre 
-- 
Bien cordialement, Pierre Sahores

Applications WEB et ERP personnalisés
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Last MC linux-ppc available issue, please !

2003-06-06 Thread Pierre Sahores
Hello List, Friends,

I'm searching for two things that could really help me :

The 2.4 issue of the mchome.mc, mctools.mc and mchelp.mc stacks,

The last complete issue of MC for the linux-ppc platform (2.4.1, if i
right remember).

Could anyone, here, be kind enough to send theses files as email ?

Thanks a lot for the help, Pierre 
-- 
Bien cordialement, Pierre Sahores

Applications WEB et ERP personnalisés
Penser et produire l'avantage compétitif

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Last MC linux-ppc available issue, please !

2003-06-06 Thread Pierre Sahores
On Fri, 2003-06-06 at 20:56, Richard Gaskin wrote:
 Pierre Sahores wrote:
 
  
  I'm searching for two things that could really help me :
  
  The 2.4 issue of the mchome.mc, mctools.mc and mchelp.mc stacks,
  
  The last complete issue of MC for the linux-ppc platform (2.4.1, if i
  right remember).
  
  Could anyone, here, be kind enough to send theses files as email ?
 
 I don't have the version you're looking for, but since such requests come up
 from time to time it begs the question:  Could metacard.com archive old
 versions, at least a few versions back?

You right, Richard ! Is'nt it, Mister Raney ?

Bests, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


The last MC linux-ppc available issue : it's over. Thanks to all !

2003-06-06 Thread Pierre Sahores
On Sat, 2003-06-07 at 00:18, Ken Ray wrote:
 Pierre, 
 
 Mark Talutto has an MC mirror at:
 
 www.canelasoftware.com/mcmirror.html
 
 You can DL the entire 2.4 build from there (he has 2.3.2, 2.4.1, 2.4.2,
 2.4.3 and 2.5).
 
 Ken Ray
 Sons of Thunder Software
 Email: [EMAIL PROTECTED]
 Web Site: http://www.sonsothunder.com/
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Pierre Sahores
  Sent: Friday, June 06, 2003 1:21 PM
  To: [EMAIL PROTECTED]
  Subject: Last MC linux-ppc available issue, please !
  
  
  Hello List, Friends,
  
  I'm searching for two things that could really help me :
  
  The 2.4 issue of the mchome.mc, mctools.mc and mchelp.mc stacks,
  
  The last complete issue of MC for the linux-ppc platform 
  (2.4.1, if i right remember).
  
  Could anyone, here, be kind enough to send theses files as email ?
  
  Thanks a lot for the help, Pierre 
  -- 
  Bien cordialement, Pierre Sahores
  
  Applications WEB et ERP personnalisés
  Penser et produire l'avantage compétitif
  
  ___
  metacard mailing list
  [EMAIL PROTECTED] 
  http://lists.runrev.com/mailman/listinfo/metac ard
  

Thanks Andu, Ken, Mark, Richard ! The thread is over ;-)

A nice week-end, Friends.

Bests, Pierre
 

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: php

2003-06-03 Thread Pierre Sahores
On Tue, 2003-06-03 at 08:45, andu wrote:
 --On Tuesday, June 03, 2003 08:19:07 +0200 Pierre Sahores 
 [EMAIL PROTECTED] wrote:
 
  On Sat, 2003-05-31 at 18:56, andu wrote:
  Pierre, are you fluent in php? I just started to get serious about
  learning  it, do you think you could help me out with newbie questions
  once in a  while? Thanks.
 
 
  Regards, Andu Novac
 

-- snip --

 
 Merci Pierre for the script, something to study. The thing is (and this is 
 what I meant on the Xtalk mailing list) when I look for work and people 
 hear about something called metacard they turn their back to me and go to 
 someone who says php or asp. 


-- snip --

 
 Regards, Andu Novac
 

Andu,

I had the same problems before with some clients who don't care about
the reality : they are not aware about what web services are but just
speaking about them and because they are paying them self with empty
words, they thinks to become experts in what they are singing about...
They are just stupid guys out of the scope of the web apps reality !

Scott makes all his best as a genial xtalk designer. We, the developers,
needs to go head, against the ones (aka Apple, Oracle and others) that
killed the xtalk maket share for years because they understood that RAD
alike Hypercard or Oracle Media Objects went lots too power full to be
lets in the clients in-house developers hands...

Do you know that Microsoft Visual Interdev was first designed under
MacOS in using Supercard. Do you know that Reneault Cars Inc. is still
using an Hypercard solution as a pieces stocks documentation database.
Do you know that the first AI tool developed at the TOTAL/ELF petroleum
compagny was grounded on Hypercard + C libraries...

For me, it's no doubt that, to the end, the XTalks are going to come
back in front of the scene. The only question in suspend is to know when
: next year, in five, in teen years ? 

PHP is a great tool each time we need to build a web-aware end-user
interface dedicated to connect over TCP/IP SQL databases servers. In
others words, PHP is one of the bests tools available today to embed in
web pages SQL queries... no least, no more...

PHP is a small unusable toy if we need to run complexes calculations
(AI, statistics, conditional and recursive calculations, complexes
authentifications unavailable in using LDAP methods, etc...), if we
wants get the best speed in serving our replies to the web or if we
needs a power full enough RAD to build professional grade ERP solutions.

Here, the available applications servers development suite are almost
very expensive, difficult to use, very slow running in production mode 
(WebSphere, Weblogic, WebObjects, Oracle WAS,.. - J2EE based -
mainframes computers power needed) and not as power full as a great
xtalk can be.

For my own, lots of peoples i know don't like what i'm doing in a way
they can't understand... On the other hand, an happy few of clients and
bosses are asking me for products they could'nt never have or pay in
using others development ways. Theses peoples are always impressed to
get the results they asked me for some weeks before and, because that,
they are always asking me for more and more : i'm happy too and gets
enough money to go head...

Because, behind Java, Metacard is the only one development tool able to
build for any platform, the intelligent people are able to understand
that the Metacard developers are not always only comic guys ;-)

Apache+PHP+Metacard+PostgreSQL lets us do the top available apps any
client can expect to use. If, in about marketing tasks, i just say that
i'm using Apache+PHP+PostgreSQL to get the projects out, the clients can
feel they are controlling the development cycle and i know that they
will need me to update the apps, in fact, grounded on a metacard
client-server daemon.

Is'nt the developers life a complex and interesting thing ?

Best, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Type 2 error additional info

2003-05-31 Thread Pierre Sahores
On Fri, 2003-05-30 at 19:29, Mark Talluto wrote:
 On Friday, May 30, 2003, at 08:19 AM, Shari wrote:
 
  I forgot to add that this error only occurs when the stack is a stack. 
   When I turn it into a standalone, the error seems to go away. Hence 
  the conclusion that there is a conflict between a script of mine and a 
  script of Metacard, where the Metacard script does not exist in the 
  standalone.
 
  I'm guessing that it could lie in Metacard's frontscript/backscript, 
  as called from the Metacard Menu Bar, but this is just a guess.
 
  Shari C
  -- 
 
 
 
 Have you tried:
 
 1.  A fresh install of MC
 2.  Running with extensions turned off
 3.  Testing it in another OS and/or another computer
 4.  Running Macbus and getting a stdlog file
 
 Best regards,
 Mark Talluto
 http://www.canelasoftware.com
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 

Hi Shari,

Under Linux, all the mc-engine executions errors are directly provided
to the stdout console output and you can watch at them in opening the
system logs or a virtual console-mode terminal. It's probably a way to
get the sames infos under Jaguar but i did'nt test this for yet.

Bests, Pierre

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: indexing slow-down (i.e., speeding up programs)

2003-04-12 Thread Pierre Sahores
John Vokey a écrit :
 
Here's my task:  I've got two LARGE text files, one a spelling
 dictionary (from Excalibur) and the other a dictionary of lexical
 frequencies (i.w., item and frequency); there over 113,000 unique words
 (as lines) in the first, and about a million different entries (as
 separate lines) in the second, many not regular words (e.g., dates,
 numbers, etc.); furthermore, in the second, the same word is listed
 multiple times depending on use (e.g., ``rose'' as a noun and ``rose''
 as a verb).  I want to extract the lexical frequency (ignoring use
 type) of each of the words in the first from the second, including
 assigning a frequency of zero for those from the first not found in the
 second.
 
Fortunately, both are already alphabetised, so as I move sequentially
 through the first, I can simply start searching from where I last left
 off in the second, summing over multiple use listings of the same word.
   So far so good.   I use the ``repeat for each ... in ... '' construct
 for the first dictionary, and a variable pointer for the second that I
 advance as I find each word from the first (I call a simple function
 that skips over non-words and advances the pointer, returning the line
 of the next word in the lexical dictionary).  Both text files are read
 into memory at the start of the routine (which takes less than a second
 using the'' url file://...'' command (way to go, metacard!).
 
Here's my problem: initially, the routine takes much less than 1
 second per hundred words (which, when multiplied by the number of words
 remaining to index, results in an estimate of some small fraction of an
 hour to do the whole task).  However, it rapidly (as an exponential
 function) slows down, so that by the time it reaches the middle of the
 alphabet (M), it takes many minutes per 100 words, and an
 ever-increasing time estimate for the remaining items (now over 60
 hours!).  Clearly, either the ``repeat for each'' command for the first
 dictionary  or the ``get line pointer...'' for the second (or both)
 get(s) slower and slower as I progress through the dictionaries,
 presumably because to do one or the other (or both), metacard counts
 carriage returns from the beginning of the dictionary.
 
I've tried: deleting the items from the front of the lexical
 dictionary as I've searched them, so that each new search starts at
 line 1 of the edited list [i.e., put line pointer to (the number of
 lines of dict2) of dict2 into dict2)], but that slows it down even more
 (presumably because metacard needs to count crs to find the number of
 the last line each time).  I've tried various machinations of
 offset(,,skip) using the skip variable as an absolute pointer, but it
 also appeared to make things slower presumably because it counts chars
 from the start of the dictionary.  I guess I could divide dict2 (or
 dict1) into many small segments, moving to each successive segment as
 the previous one was exhausted, but I was hoping for something more
 elegant.
 
What I need are *absolute* pointers (preferably a memory address, or
 a pointer or a handle to such), rather than the relative (to the
 beginning of the list) pointers given by the line (and possibly ``for
 each'') construct.  Arrays presumably would work (but doesn't metacard
 then have to search the indices to resolve the array reference?), and
 reading the million length file into the array just sets the problem
 back one step.
 
Any suggestions would be appreciated.  As I receive the list in
 digest form, if you have a scathingly brilliant idea, please send a
 copy of it directly to my email address.  TIA
 --
 John R. Vokey, Ph.D.   |\  _,,,---,,_
 Professor  /,`.-'`'-.  ;-;;,_
 Department of Psychology and Neuroscience  |,4-  ) )-,_. ,\ (  `'-'
 University of Lethbridge  '---''(_/--'  `-'\_)
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Hi,

To get good speed results in parsing such kind of datas, you will need
to split each dictionaries in two series of small vars (beetwin 50 to
100 Ko each could be a good choice) and build arrays-based indexes to
access the two collections of splited vars (B-Trees nodes/keys and
transposition tables algorithms needed for best results). The best is to
do this once, at boot in a on openstack handler. I used this
technique, years ago under Hypercard 2.41/G3 266, and got very good
speed results in parsing multiple dictonaries up to 6 Mo each.
--
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


Re: Poor man's encrypted data

2003-04-05 Thread Pierre Sahores
Richard Gaskin a écrit :
 
 Dave Cragg wrote:
 
  At 9:46 am -0800 5/4/03, Richard Gaskin wrote:
  Dave Cragg wrote:
 
  At 8:21 am -0800 5/4/03, Richard Gaskin wrote:
  For sending data across the net in a semi-secure format, can you think of
  any downsides to simply storing the data in custom props in a
  password-protected stack?
 
  One possible downside is that, although the contents of the custom
  props will be encrypted, if someone is able to get the entire stack
  data, then with a copy of Rev/Metacard (the starter kit will do) you
  can still get the custom props. (Password-protecting only denies
  access to the scripts.)
 
  It was my successful test that prompted my post: with the MC 2.4.3 engine it
  seems custom props are also encrypted.
 
  The custom props are encrypted when you view the file data, but if
  you open the stack with Rev or Metacard, you can still get a custom
  property without setting the passkey.
 
 It should be easy for Scott to lock that custom prop access along with
 script editing.
 
 In the meantime, I just wrote these two simple handlers to tuck sizable data
 into a script by just making sure it only occupies one line:
 
 on SuckUp
   answer file Select a file:
   if it is empty then exit to top
   put url (binfile:it) into s
   put compress(s) into s
   -- Convert to ASCII:
   put base64encode(s) into s
   -- Remove returns:
   replace cr with RETURN_PLACEHOLDER in s
   set the script of fld 1 to s
 end SuckUp
 
 on SpitOut
   ask file Name new file:
   if it is empty then exit to top
   put the script of fld 1 into s
   replace RETURN_PLACEHOLDER with cr in s
   put base64decode(s) into s
   put decompress(s) into s
   set the filetype to MSIEWAFF
   put s into url (binfile:it)
 end SpitOut
 
 The filetype is only a convenience for my testing -- I used an MSIE page
 archive as it has a nice mix of ASCII and binary data, and I have several
 lying around that are a few hundred k.
 
 Interestingly, MC's limit of 64k per line only seems to affect fields, but
 not the script property itself.  I just ran this on a 142k file and it
 worked great.  The base64 adds some overhead to the file size, but at least
 withu any control chars its very save for transport.  Conceivably, one could
 use this to store up to 10 files per script with the scriptlimits at play.
 
 So with that out of the way, we're back to the original question:  for what
 uses would a hard-to-break but not military-grade encryption be acceptable?
 
 --
  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

Thanks Richard for this share. Stored for future uses.
--
Kind Regards, 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


Re: Network versions of applications

2003-03-22 Thread Pierre Sahores
Mark Talluto a écrit :
 
--snip--
 
 Thanks Pierre for the help.  My situation was to run an MC app that was
 installed on a server of a LAN.  Turns out that all you have to do is
 install the software on the server and have shortcuts run it from the
 clients.  I was not using any database or middleware to get this to go.
   My app handles all data.
 
 Running an app over the net as you explained using database
 connectivity looks a bit more complicated but quite interesting.  While
 I do not have a need for that right now, you never know what is waiting
 for you down the road.

Just ask about the setups, if needed, along the road :-)

 
 Best regards,
 Mark Talluto
 http://www.canelasoftware.com
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Best Regards, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: MetaCard 2.5 beta 6 now available

2003-03-22 Thread Pierre Sahores
Scott Raney wrote:
 
 MetaCard 2.5 beta 6 is now available in the directory:
 ftp://ftp.metacard.com/MetaCard/2.5/
 
 This is the last scheduled beta test release of 2.5, so if you haven't
 tried running your application(s) with one of the earlier betas, now
 would be a really good time to do a quick check to make sure that 2.5
 will work for you.
   Regards,
 Scott
 
 
 Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
 MetaCard: You know, there's an easier way to do that...
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

MC 2.5-b6 seems to work ok under linux x86.
--
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


Re: Network versions of applications

2003-03-21 Thread Pierre Sahores
Mark Talluto a écrit :
 
 Hello fellow list members.  I have been asked to make one of my
 application network ready.  What they want is for my app to sit on the
 server and allow clients to run the app from their workstations without
 installation on the workstations.  I was wondering if any one had any
 suggestions about how they have implemented this.


Hello Mark,

This should be pretty simple.

It's not what i would say... Metacard/Revolution can let you build very
elegant web/vpn-enabled client-server solutions : MC is one of the most
usefull development tools, and, perhaps the best, you can find to build
all kind of net apps you
can think and design. On the other hand, it no ways to become a web apps
developper than works and works again. Because, in the internet apps,
there is only two states availables for the end-users (aka the client
who give us money to get a new production app installed on his server) :
the server is up or down, there is lots of knoweage to
learn before beeing able to build great productions apps for the
web and vpn real world.

If real web applications servers (aka IBM Websphere, Macromedia
ColdFusion or
Apple WebObjects) and ACID RDBMS (aka Oracle, DB2, SAPDB or PostgreSQL)
are in
your previously knoweage, you will be incredible surprised by the
simplicity and elegance you can do all what you need in building from
scratch and using Metacard-based web/vpn applications servers, including
the RDBMS management and drive trought direct connections and SQL
requests in using the mc build-in shell commands to bind (instead of
ODBC or others middlewares) the databases
command-line databases front-end clients (works fine in production for
me in using
PostgreSQL and newly Oracle 8i backends).

In this case, you will see that Metacard lets you build in hours all
what needs weeks and months to get the same result in using Java, PHP or
cgi scripting tools alike perl or python (including ZOPE)
based solutions. If you can see, alike some of us, on this list, how
powerfull mc can be in this dev speciality, you wil for sure gohead with
MC over the internet :-)

The best to do is to find and learn all what has previously shared on
the metacard archive list by all the friends working hard on
thoses questions, alike Andu, Sadhu, Discoteck and others.

After that (binding all the needed knoweage to your own projects), you
will just have to ask us about the details...


 
 I know that the servers will be Windows NT or 2000 servers.  All the
 clients will be Win 95 - 2000.  The data files created will need to be
 saved on the server as well.  This should be pretty simple.


It's, perhaps, not the best choice to run those kind of apps under
Win32, but it can be done (i did it, previously, by installing apps,
first developped under and for linux, on the WinNT4 SP5 platform). If
you have to choose a Win32 enabled RDBMS to act as your backend
database, prefer MSSQL or, best, the ACID complient PostgreSQL (newly
available under windows) than MySQL, witch is only a realy unserious toy
in concurrent writes mode.


 
 Thanks for any input.
 
 Best regards,
 Mark Talluto
 http://www.canelasoftware.com
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard


Have fun and good luck in discovering all of that.

Kind Regards, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Network versions of applications

2003-03-21 Thread Pierre Sahores
Mark Talluto a écrit :
 
 Hello fellow list members.  I have been asked to make one of my
 application network ready.  What they want is for my app to sit on the
 server and allow clients to run the app from their workstations without
 installation on the workstations.  I was wondering if any one had any
 suggestions about how they have implemented this.


Hello Mark,

This should be pretty simple.

It's not what i would say... Metacard/Revolution can let you build very
elegant web/vpn-enabled client-server solutions : MC is one of the most
usefull development tools, and, perhaps the best, you can find to build
all kind of net apps you
can think and design. On the other hand, it no ways to become a web apps
developper than works and works again. Because, in the internet apps,
there is only two states availables for the end-users (aka the client
who give us money to get a new production app installed on his server) :
the server is up or down, there is lots of knoweage to
learn before beeing able to build great productions apps for the
web and vpn real world.

If real web applications servers (aka IBM Websphere, Macromedia
ColdFusion or
Apple WebObjects) and ACID RDBMS (aka Oracle, DB2, SAPDB or PostgreSQL)
are in
your previously knoweage, you will be incredible surprised by the
simplicity and elegance you can do all what you need in building from
scratch and using Metacard-based web/vpn applications servers, including
the RDBMS management and drive trought direct connections and SQL
requests in using the mc build-in shell commands to bind (instead of
ODBC or others middlewares) the databases
command-line databases front-end clients (works fine in production for
me in using
PostgreSQL and newly Oracle 8i backends).

In this case, you will see that Metacard lets you build in hours all
what needs weeks and months to get the same result in using Java, PHP or
cgi scripting tools alike perl or python (including ZOPE)
based solutions. If you can see, alike some of us, on this list, how
powerfull mc can be in this dev speciality, you wil for sure gohead with
MC over the internet :-)

The best to do is to find and learn all what has previously shared on
the metacard archive list by all the friends working hard on
thoses questions, alike Andu, Sadhu, Discoteck, Chipp and others.

After that (binding all the needed knoweage to your own projects), you
will just have to ask us about the details...


 
 I know that the servers will be Windows NT or 2000 servers.  All the
 clients will be Win 95 - 2000.  The data files created will need to be
 saved on the server as well.  This should be pretty simple.


It's, perhaps, not the best choice to run those kind of apps under
Win32, but it can be done (i did it, previously, by installing apps,
first developped under and for linux, on the WinNT4 SP5 platform). If
you have to choose a Win32 enabled RDBMS to act as your backend
database, prefer MSSQL or, best, the ACID complient PostgreSQL (newly
available under windows) than MySQL, witch is only a realy unserious toy
in concurrent writes mode.


 
 Thanks for any input.
 
 Best regards,
 Mark Talluto
 http://www.canelasoftware.com
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard


Have fun and good luck in discovering all of that.

Kind Regards, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Radical slowdown on one system

2003-03-21 Thread Pierre Sahores
Richard Gaskin wrote:
 
 Of the many folks using my MC-base WebMerge product over the last two years,
 I've never had a support case like this one, and am hoping some of you may
 be able to offer some insight:
 
 When I run the WebMerge tutorial here on the slowest machine I have (Win 95,
 300MHz), it generates the tutoprial pages in 3.9 seconds.   I have a
 customer running Win98 on a 1.7GHz maxchine and the same files take 4
 minutes to process.(!)
 
 Most of what WebMerge does is parsing and concatenating text, and of course
 creating files.  Not particularly atom-splitting stuff, and I've never seen
 a performance disparity even close to this.
 
 I've verified that we're using the same fles, have the same version of
 WebMerge (using the MC 2.4.2 engine), and in all other respects his system
 is far superior to the one I've been testing on.
 
 Any clues?
 
 --
  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


Hi Richard,

Did you ask him about testing others comparable stacks on both your and
his computer, other softs and so on ? In others words, are realy sure
that metacard and webmerge are realy in fault. For my own, i did'nt have
any speed troubbles in using webmerge.

Other questions ? Is the 1.7 GHz connected to a LAN ? Is this box
including in a Netware network ? Is the box running a desktop or a lan
anti-virus, etc...

Best Regards, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: OSX console mode

2003-03-21 Thread Pierre Sahores
andu wrote:
 
 --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;-).

Realy great ! I will ask you again about that when i will be back to the
IBook.
 
 
  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.

Thanks. I will check the yellowdog site for the YLD 3 and try the vesa
driver in betwin.

Kind Regards, Pierre
 
 
  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
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: OSX console mode

2003-03-20 Thread Pierre Sahores
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).

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 ?

Best Regards, Pierre
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Linux, anyone?

2003-02-28 Thread Pierre Sahores
Herve Proudhon a écrit :
 
 My nutrition shareware Diondine has been avaible for Linux, Windows and
 Mac for more than 3 years. My sales results :
 Mac : 15%
 Windows : 85%
 Linux : 1 sale with a stolen Credit Card (results : a Kagi chargeback
 and a free registration code available on the Internet !)
 
  From a Linux forum :
 - Is there a nutrition program available for Linux ?
 - Diondine  but
1 It's not Open source
2 It costs money
 
 So, the last version of my program is not avaible for linux !
 
 Herve Proudhon
 
 --
 Frenchdiet, a nutrition shareware : http://www.diondine.com
 Les calanques de Marseille : http://www.calanquesmarseille.com
 --
 
  Are any of you selling commercial Rev- or MC-based apps to the Linux
  market?
  I'd be interested in learning about your experiences there.
 
  With MC's speed on Linux, it should be able to compete favorably with
  most
  ported wares in terms of performance.  The OS itself seems to be moving
  quickly into a suitable desktop alternative in terms of both
  capabilities
  and ease of use (Business Week reports that 10% of desktop machines in
  India
  are Linux).
 
  Since building for Linux takes only a few seconds in Rev or MC, I
  wonder to
  what degree our choice of tools is handing us a good opportunity
 
  --
   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

Richard,

Linux provide both his Mister Jeckhill and Doctor Hyde faces...

First : a fast growing professional market with lots of money to do.
Second : an integrist community of players/speakers around (mostly,
students) unable to understand that real developpers are not able to
work for free.

If i expect we are sharing the same interest for the first one of thoses
faces, it's not always easy to find the good clients we can works with :
because Linux is mostly unknowed from the big companies IT Managers (as
an example, there is, today, only seven(7) SAP/R3 ERP Linux-hosted
solutions installed all over the world), because the propetary platforms
solutions vendors are hard fighting to stay alive (marketing dumping,
lobbing, etc...), we have to be very carefull about the people we can,
for yet, expect to get good contracts by proposing Linux hosted
solutions.

I'm, for my own, only working with two kind of clients : (1) public
administrations (because the french governement is not against the use
of linux in replacement of propetary platforms solutions), (2)
profesional internet providers (because they are good and right knowing
what linux is and what they can expect from it to set-up powerfull web
appliances).

-- 
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


Re: CGI Security, reminder to myself

2003-02-14 Thread Pierre Sahores
Allo Sadhunathan,
 
 Greetings,
 
 A few weeks ago I posted some 'how to' notes on this list for developing
 a web enabled, postgres based application, based on earlier work from
 Pierre.  It was a series of mails.  I've made it into a presentable
 single html doc so I can eventually post it maybe like Scott did with
 graphical top on Linux Journal.  Or somewhere. (Actually Scott's
 top is also on metacard.com under white papers and just like he said,
 it runs right out of the box using only the free trial version of MC).
 
 In any case, did anyone notice any gaping security holes in that cgi
 application I posted?
 
 There was one.
 
 Curious?

For sure ! Could you explain us what this security hole was ? For the
how-to ftp update, you know how to do ;-)
 
 This is a reminder to myself to write to y'all about that, and also
 update my how-to faq.
 
 Aloha,
 Sadhu
 

Thanks.

Kind regards, 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



Re: Konfabulator

2003-02-11 Thread Pierre Sahores
J. Landman Gay a écrit :
 
 Wired magazine talks about custom personal software as though this one
 company had invented it. Hm.
 
 http://www.wired.com/news/mac/0,2125,57620,00.html
 
 Somebody ought to tell them we've been doing this for years now.
 
 --
 Jacqueline Landman Gay | [EMAIL PROTECTED]
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

It's just one more poor marketing toy without any conceptual contents in
it...
-- 
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



Re: XFCN's in MetaCard

2003-02-10 Thread Pierre Sahores
Newendorp Bruce C a écrit :
 
 Can anyone provide the process to make XFCN's available as external
 functions in MetaCard?
 
 I am trying to use some old HyperCard XFCN's in MetaCard (running on Mac
 OS9).  I have tried using ResEdit to put the XFCN's into the MetaCard stack
 but the functions do not show up as external commands.
 
 These functions are not available within MetaCard.
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Hello,

Are you sure that those functions are'nt availables directly from within
Metatalk ? I just remember about two cross-commands without any
equivalent in Metacard : the Rinaldi's HowMany XFCN and the Maxum's
PopToFront XCMD.

-- 
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



Re: that pesky post command - version problem

2003-02-03 Thread Pierre Sahores
Allo Sadhu,
 
 |
 | You don't need, Sadhu, to rebuild all the app if you stick the commun
 | part of it in a first stack and the issue-specific part of it in a
 | second stack. You can even set each one as the substack of the other and
 | get them working together in using the start using command or a simple
 | send message to an object set in the second or substack ;)
 |
 
 Hi Pierre,
 
 Good idea.  I did eliminate the version dependencies in the code,
 the only one really was the 'split' command.  Seems I have MC 2.3 on
 my wife's Linux box, and 2.4.3 on my PC, and in this case the path of
 least resistance was to just rebuild the application.  As previously
 mentioned RH 6.2 does not support MC 2.4.3.
 
 I had this code in at first
 
  split this_line by |
  put this_line[1] into field title
  put this_line[2] into field contents
 
 I changed it to this so as to work with both versions
 
  put offset(|, this_line) into pipeOff
  put char 1 to pipeOff of this_line into field title
  put char pipeOff + 1 to length(this_line) of this_line into field contents
 
 So the majority of the common part is the main stack script file and
 that indeed is identical.  But what I found is that even removing
 all the resources, putting a 2.4.3 stack file from Windows onto the
 Linux box and trying to run it under 2.3 or even 2.4 it would not run,
 and the problem was somewhere in the interpreter code.  In other words,
 trying to run it under the IDE the exception handler I think it's called
 came up and showed me where the problem was, and it was not in my code,
 it was in the interpreter.  So trying to figure out what was causing
 that could have been .. ah .. 'trying' .. wherease, just building up
 the one card UI was a snap, drag and drop a few fields, didn't take long!
 
 Anyway, the good news is the application works on both Linux and Windows
 now, no more problem with the post command.
 
 Pretty much any changes I make in the future will be in the main stack
 script and again, that is portable, so I can just copy it over to the
 Linux machine and save it under the IDE there.  No problem.
 
 BTW, I have some documentation and sample stack to send you.  I'd post
 to the list but I think mailman won't accept attachments.
 
 Sadhu
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

That's a great piece of stuff and docs you did, Friend ! Thank's a lot
:-)
I just read the how-to.html file posted to the
ftp://crdp.intereduc.net ftp site and it's realy the joker piece we
needed. Thank's again for that. After reading your how-to, it will
become realy easy to switch to the MCtoPG solution...

I will switch my next apps to mc 2.43 linux in just some more weeks (a
new server is coming...) and i will no more use MC 2.32, even on the
actual installed production servers. I will probably have to run some
other new apps on the xserve platform (one of my clients use four xserve
boxes) and i will let you know how this works on this jaguar server
platform (probably fine...).

IBTW : Is Pierre Shores my real life name and, Pierre Sahores my pseudo
? I don't remember anymore ;)))

Thanks again, Sadhu. We are at the begining of something realy great for
the mc community, yet... For sure !
-- 
Kind Regards, 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



How to convert .dbf formated files to .txt formated files in using mc ?

2003-02-03 Thread Pierre Sahores
Allo List,

Does anyone, there, use an mc stack to convert .dbf formated files to
.txt formated files ? If yes, it would realy help me to know how this
kind of converter works.

Thanks for any 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



Re: No return from post on Linux? A bug?

2003-02-01 Thread Pierre Sahores
Allo Sadhu, Scott, List,
 
 Scott,
 
 Regarding this post, I have determined, it is not a bug.  Sorry to have
 bothered you.
 
 It is a portability issue (my problem).  I find the stack files are not
 portable between the slightly different versions of MC on the development,
 versus the deployment machines.  I certainly could have expected that.
 Hey, well .. it mostly worked!  It ran.  It just could not retrieve
 any data.  But almost doesn't count.
 
 My solution is to redevelop the application under the version of MC
 running on the target machine.

You don't need, Sadhu, to rebuild all the app if you stick the commun
part of it in a first stack and the issue-specific part of it in a
second stack. You can even set each one as the substack of the other and
get them working together in using the start using command or a simple
send message to an object set in the second or substack ;)

 Since it is a small and simple application, rebuilding the UI from scratch
 is not that hard - much easier than trying to upgrade the version of
 Linux on the target machine. (That would be required to bring the MC
 versions into synch.)  The main stack script file where most all the
 work is done still functions as is except, no split command on this
 earlier version of MC so I have to recode that part.  No biggie.
 
 The application now retreives the data from a PostgreSQL db and all
 is well.  Call this one a wrap.
 
 Sadhu
 
 ___
 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



Re: No return from post on Linux? A bug?

2003-01-31 Thread Pierre Sahores
Sadhunathan Nadesan wrote:
 
 Greetings Scott,
 
 Not sure actually if this is a bug report, or I am doing something wrong,
 a library mismatch, or maybe, just a request for a 'how to do it the
 right way'??  In any case I would appreciate any advice.
 
 Context:
 
 I have a stack that does a post command to a cgi script on a remote
 server.  The cgi runs some sql queries to standard out  (it has of course
 first set the correct html content type so that apache likes the output).
 
 Problem:
 
 On Windows, the sql output is returned as it right after the post
 command in the calling stack.
 
 On Linux, this does not happen.  Nothing is returned.
 
 More Details:
 
 I can confirm that the cgi is being called, that the sql is being
 invoked, and I can save the output in a temporary file from this cgi
 (which is an MC script) or even read this file back in to a buffer,
 but then when I do a 'put' of this buffer, it does not return to the
 calling stack on the remote client.
 
 Again, only if it is a Linux client.  It does return just fine to a
 Windows client.
 
 The stack itself was created using MC 2.4.3 and the MC interpreter on
 the webhost is 2.4 if that could be the problem, but it seems like the
 post would not work at all to invoke the cgi if it were.
 
 Anyway, any thoughts?  I can provide more details as needed.  Code samples
 below.
 
 Gracias,
 Sadhu
 
 - code sample, the calling stack 
 
 on AzzList
 
   AzzClear
   set the listBehavior of field contents to true
   put action=list into azzdata
   set httpheaders to Content-type: application/x-www-form-urlencoded  return
   # the real name of the host has been replaced to protect the innocent
   post urlEncode(azzdata) to url (http://localhost.com/cgi-bin/azz.cgi;)
   put it into sqldata
 
   if (the number of characters in sqldata is zero) then
 answer Sorry, your data base is empty  cr
   else
 put In the contents field below is a list of all the card titles into field 
title
 put sqldata into field contents
   end if
 
 end AzzList
 
 - code sample, the cgi stack 
 
 #!/usr/local/bin/mc
 on startup

#

   #put Content-Type: text/plain  cr  cr ## unneeded
   #put emtpy into formdata ## syntax error

#

put empty into formdata ## correction

   if ($REQUEST_METHOD = POST) then
 put empty into buffer
 repeat until (length(buffer) = $CONTENT_LENGTH)
read from stdin until empty
put it after buffer
 end repeat
   else
 read from stdin until empty
 put it into buffer
   end if
   put urlDecode(buffer) into formdata
 
   split formdata by  and =
   put keys(formdata) into keywords
 
   switch formdata[action]
 case list
   put select title from azz order by title; into the_query
   put the_query into url file:/tmp/azzlist.sql
   put psql azz -qt -f /tmp/azzlist.sql into command_string
   break
   end switch
 
   set shellCommand to /bin/sh
   put shell(command_string)
 
 end startup
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Sadhu,

I don't know if that's will be ok now but i didn't have the problem for
my own (mc 2.32 linuxppc).

-- 
Best Regards, 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



Re: No return from post on Linux? A bug?

2003-01-31 Thread Pierre Sahores
--snip--

Sadhu,

I don't know if that's will be ok now but i didn't have the problem for
my own (mc 2.32 linux and linuxppc).

-- 
Best Regards, 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



Re: sample db stack coming

2003-01-28 Thread Pierre Sahores
Sadhunathan Nadesan a écrit :
 
 | Perhaps if Pierre agrees I will post the actual stack on his ftp server,
 | similar to what he has put there.
 
 Pierre agreed.  Merci!
 
 BTW, another thing I plan to do is make available a publically
 accessible postgres db for this stack, so you can actually
 try it, if you are unable to set up your own data base.  I have
 a new server that just arrived at work recently still being
 which i'm sure you understand!
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

Great and cool ! For sure that i will try it when it will be up ;-)
-- 
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



Re: MC front end to PostgreSQL

2003-01-24 Thread Pierre Sahores
andu wrote:
 
 --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

Allo Andu,

To let Metacard help us to do what tools alike Sybase PowerDesigner or
Embarcadero ER/Studio are not able to do, i'm working on a next issue
of the MC to SQL solution, witch could become able to build
automatically the back-end database structure by converting, on demand,
the Metacard front-end objects structure (cards, fields, buttons) in
back-end tables and columns, all done, on the fly, in piping metatalk
code to the pg server, of course ;)

Else, if the tables are build in using the prompt or pgAccess, it's no
needs to use 8 chars length objects names.

-- 
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



Re: MC front end to PostgreSQL

2003-01-24 Thread Pierre Sahores
Sadhunathan Nadesan wrote:
 
 | Subject: Re: MC front end to PostgreSQL
 | Reply-To: [EMAIL PROTECTED]
 |
 | |
 | | Allo List,
 | |
 | | A build 3 issue of the MCSQL Address Book example app is available for
 | | download at :
 
 In an earlier post today I said I thought I should have posted to this
 list a few gotchas which I had sent to Pierre, so here they are:
 
 1) Don't forget to chmod a+x abook.html in your cgi-directory, even
 though it is an html file it is being executed as a cgi script.
 (Perhaps Pierre will explain that little twist to us). 

Simple : each time i watch to the logs of the production servers, i can
see that stupid and negative peoples are trying to hack them, day after
day and without success but they are trying... - It seems me a good
idea to do them confused in using firewalls, poxying apps and soo on
but, not only...

In beetwin : most of the attacks are inited from win32 boxes and
dedicated to hack win32 files-systems...

 That one got me.
  Changing it to have extension .cgi  (because I thought I might have to
 register html as a valid cgi extension with Apache if I didn't do this)
 caused it to fail.  ???  Well, anyway, it works the way Pierre designed
 it, so don't change the file name would be my humble advice.
 
 2) The instructions say to change the http://localhost etc to be your
 real cgi-bin directory.  I changed it and it didn't work.  Hmmm.. Ok,
 then I went back and realized this pattern occurs 4 or 5 times in the
 stack main script and I only hit the first one.  Gotta change them all.
 
 3) I got the db connection working when I ran the ap under the IDE
 but not stand alone.  Ah, gotta use the resource mover to put the url
 library in the stack.
 
 ___
 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



  1   2   3   >