RE: Web-Dedicated Metacard

2002-12-20 Thread Chipp Walters

 So, what kinds of strategies can anyone suggest to take this beyond the
 consensus reality barrier?


FWIW, I'm using RR/MC to build application which are web-aware.

The apps can update themselves using the web, and also download plugins by
just clicking on an image in a web page (which autolaunches the RR app). In
this way, users who are interested in using my apps automatically can access
them via the web.

ButtonGadget at:
www.buttongadget.com

ItemWizard at:
www.altuit.com/webs/hemingway/HemTools/LinksSubmittedbyItemWizardUsers.htm

best,

Chipp


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



RE: MC front end to PostgreSQL

2002-12-20 Thread Chipp Walters
Ray,

 17. Accidentally delete your complete web page ~ 1 second.

Just way *too* funny Now...how many steps does it take to build your
first hello world C DLL (I'm still counting)

-Chipp


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



standalone is crashing on Mac OS 8.0

2002-12-20 Thread kweto



Hello,

I've arelatively simple stackfor creating 
illustrated bingo-cards. The problem isthat, though itruns fine 
under Mac OS8.0 as a stack and also under Windows as both a stack and a 
standalone, it continually crashes the system when it runs as a standalone on 
Mac OS 8.0. Specifically, the crash happens while the script is setting the 
fileNames of the 25 image objects, laid out in a 5x5 grid; after the 10th or so 
image objects has been successfully loaded with an image (jpg or gif), 
theimage-object that comesimmediately afterthe last image that 
successfully loaded will remainempty (blank) and, instead, I can literally 
hear the computer's HDgrinding intosome kind of looped 
sound,which, after a few seconds, stops andthen everything on-screen 
freezes.

Perhaps a memory issue? But, if so, why would it work as a 
stack but not as a standalone? And, just in case, I tried setting the stack's 
buffer to both "always on" and "always off". No go with either.

Thank you.

Nicolas Cueto




Re: standalone is crashing on Mac OS 8.0

2002-12-20 Thread Ken Ray
Nicolas,
(B
(BIs the alwaysBuffer on for the images as well? If so, you should probably
(Bturn it off (it'll save memory). The only other thing I can think of is that
(Bthe MC application has a larger memory partition defined for it than the
(Bstandalones it creates (although I'm pretty sure this isn't the case, but
(Byou can check in Get Info).
(B
(BKen Ray
(BSons of Thunder Software
(BEmail: [EMAIL PROTECTED]
(BWeb Site: http://www.sonsothunder.com/
(B
(B- Original Message -
(BFrom: "kweto" [EMAIL PROTECTED]
(BTo: [EMAIL PROTECTED]
(BSent: Friday, December 20, 2002 8:06 AM
(BSubject: standalone is crashing on Mac OS 8.0
(B
(B
(B Hello,
(B
(B I've a relatively simple stack for creating illustrated bingo-cards. The
(B problem is that, though it runs fine under Mac OS8.0 as a stack and also
(B under Windows as both a stack and a standalone, it continually crashes the
(B system when it runs as a standalone on Mac OS 8.0. Specifically, the crash
(B happens while the script is setting the fileNames of the 25 image objects,
(B laid out in a 5x5 grid; after the 10th or so image objects has been
(B successfully loaded with an image (jpg or gif), the image-object that
(Bcomes
(B immediately after the last image that successfully loaded will remain
(Bempty
(B (blank) and, instead, I can literally hear the computer's HD grinding into
(B some kind of looped sound, which, after a few seconds, stops and then
(B everything on-screen freezes.
(B
(B Perhaps a memory issue? But, if so, why would it work as a stack but not
(Bas
(B a standalone? And, just in case, I tried setting the stack's buffer to
(Bboth
(B "always on" and "always off". No go with either.
(B
(B Thank you.
(B
(B Nicolas Cueto
(B
(B
(B
(B___
(Bmetacard mailing list
([EMAIL PROTECTED]
(Bhttp://lists.runrev.com/mailman/listinfo/metacard



Re: Subject: Short reads in CGI applications: THE SCOTT'S CHAMPAGNE WAY !

2002-12-20 Thread Dar Scott

On Friday, December 20, 2002, at 06:30 AM, Pierre Sahores wrote:


We'll look into supporting a simpler way to do this for 2.5 (not sure
whether to fix it so read .. for $CONTENT_LENGTH works, or to
support read .. until eof on pipes), but in the mean time something
like the above should solve the problem.
  Regards,
Scott


I like the idea (from my own non-CGI perspective) of both read .. until 
empty, meaning give me what you have, and read ... until eof, meaning 
read until the pipe is closed by the other end.  Might as well apply 
that to all reads where the difference is meaningful.

Dar Scott
(The voice in the back of the room.)

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


Re: clipboard

2002-12-20 Thread J. Landman Gay
On 12/20/02 12:00 AM, [EMAIL PROTECTED] wrote:


It seems Metacard empties the clipboard when it quits. Is this a bug? Is 
there a workaround?

Sounds like a bug to me.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

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



Re: standalone is crashing on Mac OS 8.0

2002-12-20 Thread kweto



Mark Talluto suggested:
 My guess is that 8.0 is the problem. Try upgrading to 8.1 as 
many OS  bugs were fixed in the update. It is a free 
update.
Thanks. I'll follow up on that and see what 
happens.

In the mean time, though, that wouldn't solve the problem for 
users still on 8.0 -- or, are there such few people still on 8.0 that this isn't 
a (big) concern?

Cheers,

Nicolas Cueto



Since we are at it

2002-12-20 Thread andu
A little something to share: this is a script which reads the width and 
height in a given JPEG file. I was planing to enable some weblog cgi 
scripts I made to handle photos and set the width and height parameters in 
html so that the images even if they are slightly bigger they will fit into 
a given rectangle and be scaled proportionally. True scaling of images 
usually requires extra software present on a server.
Put this in a button:

on mouseUp
 answer file 
 put url (binfile:  it) into rawFile
 put length(rawFile) into tLen
 put offset(numtochar(255)numtochar(217), rawFile) into eoj
 if eoj+2=tLen then put  0 into tCount
 else put  eoj into tCount
 repeat while tCounttLen
   put offset(numtochar(255), rawFile,tCount) into tOff
   put chartonum(char tCount+tOff+1 of rawFile)  into tChar
   if tChar is among the items of  192,193,194,195 then
 put char (tCount+tOff+5) to (tCount+tOff+8) of rawFile into rawSize
 put baseconvert(chartonum(char 1 of rawSize),10,16)\ 
baseconvert(chartonum(char 2 of rawSize),10,16) into hSize
 put baseconvert(chartonum(char 3 of rawSize),10,16)\ 
baseconvert(chartonum(char 4 of rawSize),10,16) into wSize
 put H=baseconvert(hSize,16,10)  space \ 
W=baseconvert(wSize,16,10) into dimensions
 exit repeat
   end if
   add tOff to tCount
 end repeat
 put  dimensions
end mouseUp

I'm sure it can be optimized but my knowledge of binary data is less then 
minimal. One thing the script doesn't check is if the file is a true JPEG.
A similar process can read/extract the thumbnail image if the JPEG has one 
and/or the exif data if it exists but I have a family to feed and my time 
for playing is over;-).


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