Re: An idea on multithreading implementation

2011-01-29 Thread David C.
Geoff wrote:
> To those proposing a SWF player, why would that be better than an
> improvement in native LC graphics performance?
Sorry for taking this discussion in a different direction folks as I
never even looked at the title of the thread... just replied to what I
read. ooophs.

But since you ask Geoff, can't speak for anyone else, but the static
graphics that I use for (a very few) of my projects don't require any
performance enhancements. A browser control and working plugin for
Linux as well as an embeddable SWF player however, opens up a lot of
new territory. It's all just a matter of perspective and I hope that
each group gets what they need eventually. ;)

...now back your *your* topic at hand that I'm stomping around in and
trashing unmercifully.

Best regards,
David C.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Alejandro Tejada

Hi Geoff,


Geoff Canyon Rev wrote:
> 
> To those proposing a SWF player, why would that be better than an
> improvement in native LC graphics performance?
> 

Better? No, I could not say this, but less time to implement...
Yes, definitively less time. Notice that NeoBook had a SWF player
as an optional DLL many years ago and now it's part of the
default installation.

And Now, for a completely unrelated display of awesomeness,
visit this page with Google Chrome:
http://www.effectgames.com/demos/canvascycle/

8 bit color cycling was my second help request to
Scott Raney, back in the beginning of time... :-D

Al 

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/An-idea-on-multithreading-implementation-tp3224097p3246832.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-29 Thread Colin Holgate
A week tomorrow is the 19th anniversary of me moving to the US. Just before 
that date I had written the Expanded Books software, and the first task I had 
when I moved was to cowrite an Expanded Books Toolkit, that would allow you to 
publish your own Expanded Books.

If we could do all that in HyperCard 19 years ago, I suspect you could do 
something similar with LC now.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Geoff Canyon Rev
To those proposing a SWF player, why would that be better than an
improvement in native LC graphics performance?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Geoff Canyon Rev
On Sat, Jan 29, 2011 at 3:31 PM, Jeffrey Massung  wrote:

> Geoff (btw, Jeff here ;-)),
>
> Okay, I think I completely understand where the disconnect lies - and it's
> with my understanding of the LC internals. I put together a very simple
> stack that's nothing more than a field "Test" and a button. The button
> script looks like this:
>
...

>
> Now, if LC essentially already had coroutines, when done, the output in the
> field should be something like "1a2b3c..." (with newlines of course).
> However, that's not what's in the field. Instead the output is
> "123456...abcdef..." This is likely what you were alluding to and I wasn't
> getting, and this puts an entirely different face on the conversation.
>

Yep, that's what I was talking about. Sorry I wasn't clearer.


>
> The issue isn't coroutines vs. whatever so much as LC doesn't actually
> allow (from what I can tell) for multiple execution contexts. Coroutines -
> obviously - is one method of achieving this goal, and I would agree that it
> is a preferred solution.


> I hope the test above puts this discussion to rest and is a hint to the Rev
> team on a direction they can take.
>

I'd vote for that.


>
> Now, not to be pedantic, but your last paragraph didn't really make much
> sense [to me]. Coroutines - since they must yield and don't run in parallel
> - are are still single-threaded. This means that you could run 100 contexts
> on 100 HW threads, and your program will run at exactly the same speed as if
> they were on 1 HW thread (this assumes that the OS isn't hyperthreading your
> application with others).
>
>
In what way do you think threads would speed up performance?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


use-livecode@lists.runrev.com

2011-01-29 Thread John Patten
Thanks for looking into this with me!  The way you (Jim) appear to take what I 
did and turn it around in a fraction of the lines is amazing! Someday I want to 
be able to do that :-)

Jacqueline is correct. The fields make up a mixed up paragraph. I have it 
working where it lines up the mixed up fields nicely across and down the 
window. The user is to put the fields back in order. If one of the fields is a 
pixel lower on a line, or when the user has to start another line of fields 
below the first, there is a problem. I like your idea Jacqueline about the drop 
down fields but I'm afraid not being able to see all parts of the paragraph 
will make it too challenging at a beginning level.

I thought I could make each row of fields on the window a separate group. This 
could be done when the stack creates the fields for each line. However, that 
would mean that I would only have mixed up content for each line going across, 
and I couldn't make the user drag fields between lines. I want more mixed up 
flexibility...

Maybe I could have the fields snap to alignment some how when the user checks 
their answer and before the sort...but that still would not eliminate the issue 
with the subsequent lines of fields and their order over all... 

LiveCode doesn't do character recognition does it (OCR)? I could do a screen 
capture, covert the pict to text and then check its content ;-) ...

Hmmm? What if the user drags the fields over a target...the target could "suck 
the text" out of the field and spit it out in another field. (This essentially 
would be eliminating the user to type out their words on a keyboard.) However, 
how would I handle the user wanting to change their order? Could the text 
chunks they drag into the target be "special chunks" that act as quasi buttons 
that when clicked on by the users recreates that specific chunk text and 
deletes itself from the answer field? The user could still drag their fields 
around on the screen to order them the way they want, and then just drag them 
into the target one at a time. What do you think? This seem doable?

Thank you!

John Patten
SUSD


On Jan 29, 2011, at 11:35 AM, J. Landman Gay wrote:

> On 1/29/11 1:05 PM, Jim Ault wrote:
> 
>> It depends on the authors desired logic.
> 
> From the subject title, I'm assuming he wants "natural" reading order. Right 
> to left, top to bottom. One of the problems I ran into (and the OP mentioned) 
> is that if a field has a Y value slightly below another field, but not by 
> much, our eye will see it as "in line" with the field next to it, but a 
> sorting algorithm will see it as "below" the field next to it.
> 
> I tried looping to find successive topleft fields repeatedly, and that almost 
> works, but you still get Y-offset problem. I'm thinking you'd need to define 
> a cutoff point where a field location is arbitrarily defined as "below" the 
> current line; probably the height of the field, I guess.
> 
> To John: I think I'd cop out and avoid the whole issue by providing "drop 
> boxes" where fields will snap to known locations so that I know what order to 
> read them in.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The many faces of the thumb position

2011-01-29 Thread dunbarx

Jim:


And setting the numberformat property, which I thought might force the value x 
to show decimals, does not. That number is indeed always an integer. It does 
force the "x+1 value to display according to the format, useless as that is.


Here is one for you. Set the numberFormat to "0.0". Now drag slowly. The "x+1" 
value tracks the "x" value, but always changes by 0.1. That is, the decimal 
value simply counts up or down by 0.1 at regular intervals as you drag either 
left or right. No longer odd, or even buggy. Bogus.


I guess you always need to set the numberformat to "0" before trying anything 
as outlandish as you did.


Craig Newman







-Original Message-
From: James Hurley 
To: use-livecode@lists.runrev.com
Sent: Sat, Jan 29, 2011 2:54 pm
Subject: The many faces of the thumb position


I dissevered this the hard way.

Put this into the script of  a scrollbar:

on scrollbardrag 
   put the thumbposition of me into x
   put x into field 1
   put x*1  into field 2
end scrollbardrag

You will find that field 1 gets the round(x) while field 2 gets the decimal 
value of the thumb position, that is you may see 2 into field 1 but 2.3455 in 
field 2.

Furthermore, if one puts x into a variable, the script window shows only the 
round value. But if you use that value in a calculation the value becomes the 
decimal value.

It is helpful to have access to the decimal value of the thumb position, but it 
is confusing to see only the round of that value in the editor.

Is this an old issue that I am just stumbling over?

Jim Hurley

P.S. If you use "On scrollbardrag x" in the script of the scroll bar, then x is 
ONLY the whole number value of the scrollbar value. 

Beware of other scripts that use the scrollbar thumb position. That position 
will be DISPLAYED  as the whole number in the script, but will ACT as the 
decimal value of the thump position. This really hung me up. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread David C.
On Sat, Jan 29, 2011 at 7:06 PM, Alejandro wrote:

> Notice that the only DLL in my wish list for this
> platform is a SWF player, that allows to run
> movies inside a stack, just like the Quicktime
> externals. I do not want to see a Timeline
> in this platform...

Hi Al,
An SWF player that will work on all three platforms and/or at least a
browser control (and plugin) for Linux would be awesome! Where do we
sign up?  ;-)

Best regards,
David C.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: O/S Statistics and a SERIOUS Steak Dinner

2011-01-29 Thread Calvin Waterbury
Excellent suggestion!  

After digging for about a month, I'm not very far from where I started. 

Fair winds,
Calvin
Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Richard Gaskin 
Sender: use-livecode-boun...@lists.runrev.com
Date: Sat, 29 Jan 2011 16:49:01 
To: How to use LiveCode
Reply-To: How to use LiveCode 
Subject: Re: O/S Statistics and a SERIOUS Steak Dinner

Calvin Waterbury wrote:

> Perhaps some clarification will help...
>
> This whole "statistics" thing is motivated by a *serious* steak dinner
> wager that was planned in 2004, courtesy of either myself or my friend.
> Back in '04 my friend and I entered into a wager about *where* which
> O/S's would be by 12/31/2015.  Now, the loser of this wager gets to
> treat the other to a *serious* steak dinner, i.e, the loser has to pay
> all costs, except the tip(s).  When I say *serious*, I mean the winner
> gets to choose the restaurant of his choice anywhere in the USA and the
> loser gets to foot the bill for both round trip airfares, car rentals,
> hotel, dinner, etc. It's all in fun, but I need to determine if my piggy
> bank is going to start needing some attention soon!  ;)
>
> The end result is I am looking for the *real* statistics (or as close as
> I can I get).  What I really want to know is...
>
> "How many servers/desktops/laptops/tablets/etc. are running how many
> O/S's today?"

Good news:  you both get to keep your money.

It's impossible to know with any certainty the absolute market share of 
any OS, more so with one that's free where most of the hardware it runs 
on came bundled with another OS.

Maybe you should still have that dinner, just go Dutch. :)

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live LiveCode Code Event looking for presenters

2011-01-29 Thread Calvin Waterbury
Excellent post!  It will take a while before I get a chance to digest it all. 
Thanks to you and David for being so thorough.  

Fair winds,
Calvin
Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Richard Gaskin 
Sender: use-livecode-boun...@lists.runrev.com
Date: Sat, 29 Jan 2011 16:45:08 
To: How to use LiveCode
Reply-To: How to use LiveCode 
Subject: Re: Live LiveCode Code Event looking for presenters

David C. wrote:

> Hi there Calvin,
> With respect to all of the "other" operating systems and their various
> adherents, if you really want a comprehensive perspective as
> described, then you need to stop "watching with interest" and start
> TRYING it for yourself. If all of the waiting and watching is based on
> popularity of brand x, then you will never know the difference. ;-)

Well said.

Long-time Mac users know how difficult it is to be taken seriously based 
on market share alone, esp. considering how much such numbers vary:

W3CSchools.com says 5% of their visitors are running Linux:


Wikipedia says 1.53% worldwide:



What do those percentages mean in terms of numbers of happy people?

Gerry Carr at Canonical says there are 12 million users of Ubuntu alone:


And it looks like Red Hat is on target to make more than US$1 billion in 
revenue for 2011:


Not bad for free software. :)


Mac people should be the least concerned about what other people use, 
since here we are in 2011 at Apple's peak and we still see almost 90% of 
the world using Windows.

Use what makes you happy.

There are plenty of choices for OSes these days, and if you're thinking 
of giving Linux a spin there's a vast world of helpful support in the 
Ubuntu, Fedora, Debian, and other forums.   I read the Ubuntu forums 
almost daily, and have been having a great time there.


> Almost every modern Linux distro "out there" will have a Live CD for
> their offering, which means you can easily test it for yourself.
> Download the iso file, burn it to a blank CD (there's your only cost)
> and simply reboot with it in the tray.

The Ubuntu disk image can be installed on a USB drive as well, so you 
can try it out on a netbook before install.  I imagine many of the other 
popular distros have a similar option.

I keep a bootable USB drive handy for whenever I get a new machine: if 
it'll run Ubuntu off the USB, it gets partitioned right away for a 
dual-boot. :)   I have one machine that's so old it barely runs Ubuntu, 
so I switched it to Puppy and it's been running very well.  There's 
hardly any hardware out there for which you can't find a good Linux 
distro for - even ultra-tiny boxes like this one:



>>From a user experience, if you regularly watch commercial movie DVD's
> on the computer --or if-- you absolutely must run proprietary
> Windows/Mac software, -or if- you are joined at the hip with iTunes
> due of your choice in mobile devices and/or past music purchases, you
> may not like Linux very much (or at least for very long).

For licensing reasons Ubuntu doesn't ship with the proprietary codecs to 
run many commercial DVDs, but they maintain a repository where those can 
be downloaded and installed easily.  I've been able to watch DVDs well 
with that install.

The NVdia chip in my Dell blows the pants off the ATI x1600 in my 
MacBook Pro, so not only do I get smoother video performance but Google 
Earth just flies on that machine.


> Linux is certainly not for everyone, but you'll never know for sure by
> sitting and watching from the sidelines.

It's so easy to deploy to Linux using LiveCode it's almost a shame not 
to explore it for some markets, esp. for EDU software since Linux has a 
massive base in EDU throughout Europe and the developing world.

One of the things I've been enjoying as I migrate ever more of my work 
from my Mac to Ubuntu is having so much choice available over hardware 
configs, and at prices I had only dreamed of back when I used to buy 
Macs exclusively. :)

This video shows off some of the effects available with Compiz, the 
compositing engine available for every machine with a decent video card 
running Ubuntu and most of the other popular distros:


This is a more down-to-earth demo showing more practical workflows:


And here the famous Nixie Pixel shows you how to install Ubuntu in under 
5 minutes:


It's not her best video, but helpful.


I still think OS X has an edge in the "it just works" category, 
something no one else can do because it requires the uniquely tight 
integration

Re: An idea on multithreading implementation

2011-01-29 Thread Alejandro Tejada
Hi All,

It's nice to read discussions about features that
enhance this platform, but now I have one doubt:

How many developers (who use Livecode) want
to see this platform converted in a game engine?

Notice that the only DLL in my wish list for this
platform is a SWF player, that allows to run
movies inside a stack, just like the Quicktime
externals. I do not want to see a Timeline
in this platform...

At least in my mind, you could not build (easily)
the kind of applications created with Livecode
if it were a game engine. Am I wrong?

Or There are no boundaries anymore among
Software Development tools?

Al

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live LiveCode Code Event looking for presenters

2011-01-29 Thread David C.
Thanks for the additional info Richard!!
Perfect. :-)

Best regards,
David C.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: O/S Statistics and a SERIOUS Steak Dinner

2011-01-29 Thread Richard Gaskin

Calvin Waterbury wrote:


Perhaps some clarification will help...

This whole "statistics" thing is motivated by a *serious* steak dinner
wager that was planned in 2004, courtesy of either myself or my friend.
Back in '04 my friend and I entered into a wager about *where* which
O/S's would be by 12/31/2015.  Now, the loser of this wager gets to
treat the other to a *serious* steak dinner, i.e, the loser has to pay
all costs, except the tip(s).  When I say *serious*, I mean the winner
gets to choose the restaurant of his choice anywhere in the USA and the
loser gets to foot the bill for both round trip airfares, car rentals,
hotel, dinner, etc. It's all in fun, but I need to determine if my piggy
bank is going to start needing some attention soon!  ;)

The end result is I am looking for the *real* statistics (or as close as
I can I get).  What I really want to know is...

"How many servers/desktops/laptops/tablets/etc. are running how many
O/S's today?"


Good news:  you both get to keep your money.

It's impossible to know with any certainty the absolute market share of 
any OS, more so with one that's free where most of the hardware it runs 
on came bundled with another OS.


Maybe you should still have that dinner, just go Dutch. :)

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live LiveCode Code Event looking for presenters

2011-01-29 Thread Richard Gaskin

David C. wrote:


Hi there Calvin,
With respect to all of the "other" operating systems and their various
adherents, if you really want a comprehensive perspective as
described, then you need to stop "watching with interest" and start
TRYING it for yourself. If all of the waiting and watching is based on
popularity of brand x, then you will never know the difference. ;-)


Well said.

Long-time Mac users know how difficult it is to be taken seriously based 
on market share alone, esp. considering how much such numbers vary:


W3CSchools.com says 5% of their visitors are running Linux:


Wikipedia says 1.53% worldwide:



What do those percentages mean in terms of numbers of happy people?

Gerry Carr at Canonical says there are 12 million users of Ubuntu alone:


And it looks like Red Hat is on target to make more than US$1 billion in 
revenue for 2011:



Not bad for free software. :)


Mac people should be the least concerned about what other people use, 
since here we are in 2011 at Apple's peak and we still see almost 90% of 
the world using Windows.


Use what makes you happy.

There are plenty of choices for OSes these days, and if you're thinking 
of giving Linux a spin there's a vast world of helpful support in the 
Ubuntu, Fedora, Debian, and other forums.   I read the Ubuntu forums 
almost daily, and have been having a great time there.




Almost every modern Linux distro "out there" will have a Live CD for
their offering, which means you can easily test it for yourself.
Download the iso file, burn it to a blank CD (there's your only cost)
and simply reboot with it in the tray.


The Ubuntu disk image can be installed on a USB drive as well, so you 
can try it out on a netbook before install.  I imagine many of the other 
popular distros have a similar option.


I keep a bootable USB drive handy for whenever I get a new machine: if 
it'll run Ubuntu off the USB, it gets partitioned right away for a 
dual-boot. :)   I have one machine that's so old it barely runs Ubuntu, 
so I switched it to Puppy and it's been running very well.  There's 
hardly any hardware out there for which you can't find a good Linux 
distro for - even ultra-tiny boxes like this one:





From a user experience, if you regularly watch commercial movie DVD's

on the computer --or if-- you absolutely must run proprietary
Windows/Mac software, -or if- you are joined at the hip with iTunes
due of your choice in mobile devices and/or past music purchases, you
may not like Linux very much (or at least for very long).


For licensing reasons Ubuntu doesn't ship with the proprietary codecs to 
run many commercial DVDs, but they maintain a repository where those can 
be downloaded and installed easily.  I've been able to watch DVDs well 
with that install.


The NVdia chip in my Dell blows the pants off the ATI x1600 in my 
MacBook Pro, so not only do I get smoother video performance but Google 
Earth just flies on that machine.




Linux is certainly not for everyone, but you'll never know for sure by
sitting and watching from the sidelines.


It's so easy to deploy to Linux using LiveCode it's almost a shame not 
to explore it for some markets, esp. for EDU software since Linux has a 
massive base in EDU throughout Europe and the developing world.


One of the things I've been enjoying as I migrate ever more of my work 
from my Mac to Ubuntu is having so much choice available over hardware 
configs, and at prices I had only dreamed of back when I used to buy 
Macs exclusively. :)


This video shows off some of the effects available with Compiz, the 
compositing engine available for every machine with a decent video card 
running Ubuntu and most of the other popular distros:



This is a more down-to-earth demo showing more practical workflows:


And here the famous Nixie Pixel shows you how to install Ubuntu in under 
5 minutes:



It's not her best video, but helpful.


I still think OS X has an edge in the "it just works" category, 
something no one else can do because it requires the uniquely tight 
integration between the hardware and software possible only when both 
come from a single company.


But for flexibility, not so much.  Mac OS offers a choice between gray 
and blue in its Appearance Manager; check out Ubuntu's themes and then 
drop into Compiz Config and you get a very different idea of what it 
means to personalize your computing experience.


Ubuntu offers all the security we enjoy on our Macs, but IMNSHO a better 
user experience tha

Re: O/S Statistics and a SERIOUS Steak Dinner

2011-01-29 Thread Calvin Waterbury

Hi David,

[Note:  I changed the subject so I would not hijack the thread any further.]

You are correct about the only way I will *know* about an O/S (or 
anything) is to try it myself.  I appreciate your encouragement.  
Unfortunately, there may be some confusion.


I have already tried some distros of Linux and possess an iPad.  Right 
now I am very content with Win 7 64 (personal choice) for the present.  
Being able to use LiveCode on any O/S I chose was the strongest drawing 
card for me choosing LC as my development platform.


Perhaps some clarification will help...

This whole "statistics" thing is motivated by a *serious* steak dinner 
wager that was planned in 2004, courtesy of either myself or my friend.  
Back in '04 my friend and I entered into a wager about *where* which 
O/S's would be by 12/31/2015.  Now, the loser of this wager gets to 
treat the other to a *serious* steak dinner, i.e, the loser has to pay 
all costs, except the tip(s).  When I say *serious*, I mean the winner 
gets to choose the restaurant of his choice anywhere in the USA and the 
loser gets to foot the bill for both round trip airfares, car rentals, 
hotel, dinner, etc. It's all in fun, but I need to determine if my piggy 
bank is going to start needing some attention soon!  ;)


The end result is I am looking for the *real* statistics (or as close as 
I can I get).  What I really want to know is...


"How many servers/desktops/laptops/tablets/etc. are running how many 
O/S's today?"


Hope this straightens everything out.  Like I said, this is all just for 
fun... *serious* fun!  :)


Fair winds,
Calvin




David C. 
Saturday, January 29, 2011 5:55 PM


On Sat, Jan 29, 2011 at 4:53 PM, Calvin  wrote:


As afar as Linux is concerned, you piqued mu interest as I have been
watching Linux with a keen eye for years.  When I went to check out how
Torvald's O/S was doing, I found this...

http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar

Not very encouraging, is it.  Linux may not be a "wild coyote lurking on the
fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out for
itself.





I always like to get a comprehensive perspective.


Hi there Calvin,
With respect to all of the "other" operating systems and their various
adherents, if you really want a comprehensive perspective as
described, then you need to stop "watching with interest" and start
TRYING it for yourself. If all of the waiting and watching is based on
popularity of brand x, then you will never know the difference. ;-)

Almost every modern Linux distro "out there" will have a Live CD for
their offering, which means you can easily test it for yourself.
Download the iso file, burn it to a blank CD (there's your only cost)
and simply reboot with it in the tray.

 From a user experience, if you regularly watch commercial movie DVD's
on the computer --or if-- you absolutely must run proprietary
Windows/Mac software, -or if- you are joined at the hip with iTunes
due of your choice in mobile devices and/or past music purchases, you
may not like Linux very much (or at least for very long). If those
things do not apply, you have a very high chance of actually enjoying
the Linux experience completely. Dealing with the DVD issue is pretty
simple and inexpensive to correct... don't know what to say about the
iTunes ball and chain.

Linux is certainly not for everyone, but you'll never know for sure by
sitting and watching from the sidelines.

Best regards,
David C.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Calvin Waterbury 
Saturday, January 29, 2011 4:53 PM


Hi Richmond,

I tend to be more optimistic on people's responses.  :)

As afar as Linux is concerned, you piqued mu interest as I have been 
watching Linux with a keen eye for years.  When I went to check out 
how Torvald's O/S was doing, I found this...


http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar

Not very encouraging, is it.  Linux may not be a "wild coyote lurking 
on the fringes," but at #5 of 5 and only 0.75%, Linux has it's work 
cut out for itself.


FMI - If you know of other sites that have different results, please 
let me know.  I always like to get a comprehensive perspective.


Fair winds,
Calvin



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live LiveCode Code Event looking for presenters

2011-01-29 Thread David C.
On Sat, Jan 29, 2011 at 4:53 PM, Calvin  wrote:

> As afar as Linux is concerned, you piqued mu interest as I have been
> watching Linux with a keen eye for years.  When I went to check out how
> Torvald's O/S was doing, I found this...
>
> http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar
>
> Not very encouraging, is it.  Linux may not be a "wild coyote lurking on the
> fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out for
> itself.



> I always like to get a comprehensive perspective.

Hi there Calvin,
With respect to all of the "other" operating systems and their various
adherents, if you really want a comprehensive perspective as
described, then you need to stop "watching with interest" and start
TRYING it for yourself. If all of the waiting and watching is based on
popularity of brand x, then you will never know the difference. ;-)

Almost every modern Linux distro "out there" will have a Live CD for
their offering, which means you can easily test it for yourself.
Download the iso file, burn it to a blank CD (there's your only cost)
and simply reboot with it in the tray.

>From a user experience, if you regularly watch commercial movie DVD's
on the computer --or if-- you absolutely must run proprietary
Windows/Mac software, -or if- you are joined at the hip with iTunes
due of your choice in mobile devices and/or past music purchases, you
may not like Linux very much (or at least for very long). If those
things do not apply, you have a very high chance of actually enjoying
the Linux experience completely. Dealing with the DVD issue is pretty
simple and inexpensive to correct... don't know what to say about the
iTunes ball and chain.

Linux is certainly not for everyone, but you'll never know for sure by
sitting and watching from the sidelines.

Best regards,
David C.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live LiveCode Code Event looking for presenters

2011-01-29 Thread Calvin Waterbury

Hi Richmond,

I tend to be more optimistic on people's responses.  :)

As afar as Linux is concerned, you piqued mu interest as I have been 
watching Linux with a keen eye for years.  When I went to check out how 
Torvald's O/S was doing, I found this...


http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar

Not very encouraging, is it.  Linux may not be a "wild coyote lurking on 
the fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out 
for itself.


FMI - If you know of other sites that have different results, please let 
me know.  I always like to get a comprehensive perspective.


Fair winds,
Calvin




Richmond 
Wednesday, January 26, 2011 2:42 PM




First off: it seems well-nigh impossible to get a balanced comparison 
from anyone.


Second off: Linux is not "out there" like some wild coyote lurking on 
the fringes; it

  is already mainstream.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


Calvin Waterbury 
Wednesday, January 26, 2011 2:33 PM


Howdy from Texas, Y'all!

I would like to do my part in good time, but I am still learning; 
however, if somebody out there does work on Macs and Microsoft, I 
would really like to see an unbiased, or at least a fair comparison 
between strengths/weaknesses of these two titans of the personal O/S.  
Sort of down the lines of, "Macs really are much better at stringing 
foobars, but Windows wins out when it comes to gizwort constructs" and 
"Did you know Windows can do this...,but on a Mac you have to use this 
work around."


I have been a Microsoft user since DOS (1984), but have been quite 
intrigued by what I have garnered from the Mac discussions on the mail 
list.


Any takers?

Calvin

PS - I realize Lnx is out there too!  :)



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Richard Gaskin

Scott Rossi wrote:
> But fast graphics processing would be a very welcome addition.

Here's one option that would give order-of-magnitude speed increases to 
any object that takes advantage of the current graphic effects, 
implementable by merely extending existing syntax to allow an 
"alwaysBuffer" property for all controls:




As it is, any object that uses the otherwise-powerful graphic effects 
cannot be selected, moved or animated without prohibitive cost to 
performance.


We could convert such objects to bitmaps ourselves if not for a design 
decision not to allow it:



I'd be okay with the current lack of buffering of the rendering of 
graphic effects and a default of not allowing one to export snapshots of 
such objects as long as there were options to do otherwise.


But as it is, I find myself not using graphic effect nearly as often as 
I'd like to, instead making such treatments in other programs and then 
importing the masked PNGs


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Jeffrey Massung
Geoff (btw, Jeff here ;-)),

Okay, I think I completely understand where the disconnect lies - and it's with 
my understanding of the LC internals. I put together a very simple stack that's 
nothing more than a field "Test" and a button. The button script looks like 
this:

on mouseUp
   putNumbers
   putLetters
end mouseUp

command putNumbers
   repeat with i = 1 to 26
  put i & cr after fld "Test" 
  wait 0 ticks with messages
   end repeat
end putNumbers

command putLetters
   repeat for each char x in "abcdefghijklmnopqrstuvwxyz"
  put x & cr after fld "Test"
  wait 0 ticks with messages
   end repeat
end putLetters


Now, if LC essentially already had coroutines, when done, the output in the 
field should be something like "1a2b3c..." (with newlines of course). However, 
that's not what's in the field. Instead the output is "123456...abcdef..." This 
is likely what you were alluding to and I wasn't getting, and this puts an 
entirely different face on the conversation.

The issue isn't coroutines vs. whatever so much as LC doesn't actually allow 
(from what I can tell) for multiple execution contexts. Coroutines - obviously 
- is one method of achieving this goal, and I would agree that it is a 
preferred solution.

I hope the test above puts this discussion to rest and is a hint to the Rev 
team on a direction they can take.

Now, not to be pedantic, but your last paragraph didn't really make much sense 
[to me]. Coroutines - since they must yield and don't run in parallel - are are 
still single-threaded. This means that you could run 100 contexts on 100 HW 
threads, and your program will run at exactly the same speed as if they were on 
1 HW thread (this assumes that the OS isn't hyperthreading your application 
with others).

Anyway, yes, coroutines is one very nice way of achieving "parallelism" is LC 
w/o needing locks. However, I still think LC needs pre-emption in at least a 
basic form (like my example of forcing a coroutine to become live every so 
often).

Cheers, and hope you are having a good weekend!

Jeff M.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


The many faces of the thumb position

2011-01-29 Thread James Hurley
I dissevered this the hard way.

Put this into the script of  a scrollbar:

on scrollbardrag 
   put the thumbposition of me into x
   put x into field 1
   put x*1  into field 2
end scrollbardrag

You will find that field 1 gets the round(x) while field 2 gets the decimal 
value of the thumb position, that is you may see 2 into field 1 but 2.3455 in 
field 2.

Furthermore, if one puts x into a variable, the script window shows only the 
round value. But if you use that value in a calculation the value becomes the 
decimal value.

It is helpful to have access to the decimal value of the thumb position, but it 
is confusing to see only the round of that value in the editor.

Is this an old issue that I am just stumbling over?

Jim Hurley

P.S. If you use "On scrollbardrag x" in the script of the scroll bar, then x is 
ONLY the whole number value of the scrollbar value. 

Beware of other scripts that use the scrollbar thumb position. That position 
will be DISPLAYED  as the whole number in the script, but will ACT as the 
decimal value of the thump position. This really hung me up. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


use-livecode@lists.runrev.com

2011-01-29 Thread J. Landman Gay

On 1/29/11 1:05 PM, Jim Ault wrote:


It depends on the authors desired logic.


From the subject title, I'm assuming he wants "natural" reading order. 
Right to left, top to bottom. One of the problems I ran into (and the OP 
mentioned) is that if a field has a Y value slightly below another 
field, but not by much, our eye will see it as "in line" with the field 
next to it, but a sorting algorithm will see it as "below" the field 
next to it.


I tried looping to find successive topleft fields repeatedly, and that 
almost works, but you still get Y-offset problem. I'm thinking you'd 
need to define a cutoff point where a field location is arbitrarily 
defined as "below" the current line; probably the height of the field, I 
guess.


To John: I think I'd cop out and avoid the whole issue by providing 
"drop boxes" where fields will snap to known locations so that I know 
what order to read them in.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Alternating Column Colors?

2011-01-29 Thread Phil Davis

Scott,

Each cell in a data grid is a field, so it seems like it should be doable.

I created a DG and put some data in it. Then I did this from msg:

put the number of flds in selobj -- DG was selected
--> 57

put the name of fld 44 of selobj
--> field "Status 0008"

My DG has a column named "Status".

After further poking around, I see:
- each DG cell is a field
- the number of fields is related to the display rect of the DG, not to the 
number of lines of data in it

- fields are recreated when the DG's data is changed
- every field in the DG has a style of 'transparent'
- you can set a field's style to opaque and then any backColor you apply to it 
will show up

- the style changes you make seem to stick until the DG data is changed

Maybe some of the above will help you on your way.

Phil



On 1/28/11 3:54 PM, Bob Sneidar wrote:

Oh cool! Then you could make a chess or checkers game! I get it!

I read the API and none of the properties suggests you can do this. I think you 
will have to find the part of the parent script that draws the cells and change 
the background color on each one individually for odd or even rows.

The problem will then become, what happens if there is no data? Rows get 
colored even if there is no data, but no actual cells (cloned fields) get 
created until there is data.

I tried to edit the row template and put a colored square over the gray bar, 
but mine is a table not a form. You might be able to do it in a form, I'm not 
sure. At any rate it didn't work for me.

Bob


On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote:


Hi List:

The data grid nicely incorporates alternating line colors.  But does anyone
know if it's possible to make alternating column colors or cell colors?

I'm building a control that has a horizontal scrolling data grid with only
one row.  I'd like to be able to set alternating colors for cells or columns
in the row.  Possible?

Thanks&  Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


use-livecode@lists.runrev.com

2011-01-29 Thread Jim Ault


On Jan 29, 2011, at 10:43 AM, J. Landman Gay wrote:


On 1/29/11 6:12 AM, Jim Ault wrote:
Assuming all fields on a card are the target fields to sort and  
combine


on sortFlds
repeat with k = 1 to the number of fields
put the rect of field k after fieldList
put comma & k after fieldList
put cr after fieldList
end repeat
sort fieldList numeric by item 2 of each -- Y
sort fieldList numeric by item 1 of each -- X

repeat for each line LNN in fieldList
put fld (item 5 of LNN) after tWholeenchilada
put cr after tWholeenchilada
end repeat
put tWholeenchilada into msg box
end sortFlds

-- in the second repeat loop you could use ...
-- put item 5 of LNN into fldNum
-- put fld fldNum after tWholeenchilada



I tried something almost identical and it didn't work, so I was  
waiting to see if anyone else could come up with a solution. The  
task is harder than you'd think at first.


For testing, stagger the fields a little bit so their tops and lefts  
aren't aligned in any way.


My test I used did have scattered fields, but if all the X values are  
different, then that becomes the sort order and the Y values have no  
effect on the final order.  I think the idea is to sort based on the X- 
Y ratio, rather than the raw values.


Any algorithm will work and the result become the sort value, such as

get the rect of fleld k
get (item 2 of IT) div (item 1 of IT) after fieldList
put comma & k after fieldList
put cr after fieldList

It depends on the authors desired logic.

Jim Ault
Las Vegas



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-29 Thread Jim Ault

On Jan 29, 2011, at 7:31 AM, Javier Miranda V. wrote:

Dear friends, can you please give me your opinions on using LiveCode  
for e-book production?.  I know LiveCode, being so powerful, can  
handle complex projects involving lots of logic and structures, but  
is it suitable / practical to use it for e-book production?.  The  
possibility of compile for the new mobile operating systems is  
something wonderful that I would like to to use coupled with the  
multimedia capabilities.




It depends on what you mean by eBook.

These links were posted in the last day or so, and this shows a fine  
example of non-linear story telling.
The material is compelling, and the layout makes navigating the main  
text and sub-level text easy.


Three movies
http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4
http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4
http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4

Also, don't forget that Livecode can access databases, such as MySQL &  
Valentina, and display content in static containers as well as provide  
many kind of animation, blend levels, and transition effects.



Jim Ault
Las Vegas



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


use-livecode@lists.runrev.com

2011-01-29 Thread J. Landman Gay

On 1/29/11 6:12 AM, Jim Ault wrote:

Assuming all fields on a card are the target fields to sort and combine

on sortFlds
repeat with k = 1 to the number of fields
put the rect of field k after fieldList
put comma & k after fieldList
put cr after fieldList
end repeat
sort fieldList numeric by item 2 of each -- Y
sort fieldList numeric by item 1 of each -- X

repeat for each line LNN in fieldList
put fld (item 5 of LNN) after tWholeenchilada
put cr after tWholeenchilada
end repeat
put tWholeenchilada into msg box
end sortFlds

-- in the second repeat loop you could use ...
-- put item 5 of LNN into fldNum
-- put fld fldNum after tWholeenchilada



I tried something almost identical and it didn't work, so I was waiting 
to see if anyone else could come up with a solution. The task is harder 
than you'd think at first.


For testing, stagger the fields a little bit so their tops and lefts 
aren't aligned in any way.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Live LiveCode Code Event #8 is about to start

2011-01-29 Thread Mark Schonewille
Dear LiveCoders,

The 8th edition of the Live LiveCode Code Event will start in just over 45 
minutes. 

You can download ChatRev at http://bjoernke.com/chatrev .
More info is available at http://www.livecode.tv . 

I hope to see you there.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Scott Rossi
On Jan 29, 2011, at 9:53 AM, Geoff Canyon Rev  wrote:

> based on your OpenGL comment, I
> think we're both agreed that for game-style graphics performance, neither
> coroutines nor threads will fix the problem -- what's needed (if indeed
> people want this) is a new graphics library, either as a plugin or directly
> in the engine.

+100

Have wanted this for years.  Even moving a single object around on a card can 
result in tearing (though after recently learning about the syncRate property, 
one might be able work around this to a degree).  But fast graphics processing 
would be a very welcome addition.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-29 Thread Geoff Canyon Rev
I think we're talking apples and oranges. As I said, the difference between
yield() and wait 0 ticks is that one supports two (or more) pieces of code
running in parallel (not simultaneously) with state, and the other doesn't.
This would be a big benefit when programming things like:


> > Currently it is very difficult simply to program any sort of
> > background task whatsoever: processing a log file, making aliens attack,
> > etc. "wait 0 ticks" simply isn't a good answer for those sorts of issues.
> > Ask Malte what he could do for animationEngine (and how much more simply)
> > with coroutines.
>
> Agreed that "wait 0 ticks" isn't a good solution to these sorts of issues,
> and I wasn't trying to imply that it was (if my original email came across
> that way).
>

So I think we're agreed that coroutines would make this easier than wait 0
ticks.


> Coroutines are not pre-emptive.
>

I didn't say they were. I also didn't say they'd improve performance.
Coroutines would make several types of programming problems much easier to
code. I'm not saying they'd make them run faster, except that there are
things that are prohibitively hard to do with wait that would be easy with
yield. Those things would run much faster, since they can't run at all now.


> As long as someone took the time to make an OpenGL plugin for LC, rendering
> could be made fast enough for most simple 2D games
>

Yes, of course if you bolt an engine on your bicycle it will go faster. I'm
not saying LiveCode _can't_ be made faster, just that threads + the current
architecture is still way too slow. Threading current LiveCode
graphics across 2, 4, or even 8 cores is going to give you a sucky game that
eats batteries and still can't compete with Flash on graphics, let alone
native code.

The problem with yielding (or "waiting" in LC terms) is that it basically
> puts me back into the Atari 2600 days of cycle counting, without the
> precision of being able to actually count cycles ;-). I have no idea how
> often I should yield in order to make things nice and smooth. It would be
> SOOO much more convenient if I could just make LC pre-emptive and wait for
> me like so:
>
> send "renderFrame" to me every 30 milliseconds
>

Agreed that pre-emptive threads (or messages if you like) would make this
easier to manage.

Summary:
>
> * What people seem to want here is pre-emption (however that happens).
>

Well, _I_ would be happy with coroutines, and I think I I understand what
I'm asking for ;-)


> * Coroutines are cooperative threads, which means they are not pre-emptive.
>

Yep, totally agreed. I still want them.


> * If you have to yield, it doesn't matter how many HW threads you use.
>

Perhaps agreed. If the underlying engine breaks up tasks and can run them
across multiple cores your whole app will be faster, but that's independent
of what we're doing above the engine. And based on your OpenGL comment, I
think we're both agreed that for game-style graphics performance, neither
coroutines nor threads will fix the problem -- what's needed (if indeed
people want this) is a new graphics library, either as a plugin or directly
in the engine.

regards,

Geoff
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: on-rev upload limits and Amazon S3 as an alternative

2011-01-29 Thread Mark Wieder
Pete-

Saturday, January 29, 2011, 9:17:44 AM, you wrote:

> Hi Mark,
> I've successfully linked to individual files in dropbox but I
> don;t know if it would work for someone who didn't have a dropbox
> account. I just opened the file from dropbox, copied the url, and
> pasted it in as a link on the web page I wanted to access the file
> from. 

I copy links from my Public folder and email them around. Works fine.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: on-rev upload limits and Amazon S3 as an alternative

2011-01-29 Thread Peter Haworth
Hi Mark,
I've successfully linked to individual files in dropbox but I don;t know if it 
would work for someone who didn't have a dropbox account. I just opened the 
file from dropbox, copied the url, and pasted it in as a link on the web page I 
wanted to access the file from. 

Pete Haworth

On Jan 28, 2011, at 5:29 PM, Mark Wieder wrote:

> Martin-
> 
> Friday, January 28, 2011, 2:12:50 PM, you wrote:
> 
>> I was looking at the documentation for DropBox and it has shared
>> folders but can it have links to individual files.
> 
> https://www.dropbox.com/help/16
> 
> -- 
> -Mark Wieder
> mwie...@ahsoftware.net
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SPAM Square Up

2011-01-29 Thread Peter Haworth
Don't know about these guys but the credit card processing market is full of 
hidden charges - very much like cell phone plans.  For example, I get charged 
$10/month as a "statement fee"!!!  

Pete Haworth

On Jan 29, 2011, at 5:55 AM, Thomas McGrath III wrote:

> Thanks Pete,
> 
> This is all new to me. But I did have fun last night looking for things to 
> sell my friends so I could swipe their cards into my iPhone... H what 
> else can I sell.
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
> 
> On Jan 29, 2011, at 1:35 AM, Peter Haworth wrote:
> 
>> I have a wireless credit card terminal and they all want at least this level 
>> of personal info if not more.  Not saying if it's right or wrong, just that 
>> if you want a credit card account, that's what's required.  I got the 
>> terminal for free in exchange for signing up for a 2-year contract, so yes 
>> free swipers are available in exchange for commitments, just like cell 
>> phones.
>> 
>> Tom - watch out for keying in numbers rather than swiping the card - they 
>> will ding you a hefty surcharge for doing that.  For online orders, try 
>> Paypal - people can pay by credit card without having a PayPal account and 
>> their fees are pretty comparable to the credit card processors, especially 
>> for casual use.
>> 
>> Pete Haworth
>> 
>> On Jan 28, 2011, at 6:49 PM, Thomas McGrath III wrote:
>> 
>>> Yeah that's why I put spam in the subject cause I got the same feeling at 
>>> first. But after researching awhile I realized that that was how they keep 
>>> people honest with the thing. Still the process was a bit creepy.
>>> 
>>> So they are legit BUT I don't know how much info a normal credit card 
>>> company reader would ask for and they are not free.
>>> 
>>> I can enter numbers directly too and that means I can accept credit card 
>>> orders over the internet if by hand any way
>>> 
>>> YMMV
>>> 
>>> -- Tom McGrath III
>>> http://lazyriver.on-rev.com
>>> 3mcgr...@comcast.net
>>> 
>>> On Jan 28, 2011, at 8:28 PM, stephen barncard wrote:
>>> 
 yeah, I did the same thing - I just closed the browser abruptly before it
 got too personal.
 
 On 28 January 2011 17:24, Mark Wieder  wrote:
 
> Thomas-
> 
> Friday, January 28, 2011, 3:05:51 PM, you wrote:
> 
>> FYI -- I am not connected with these guys at all. I just got my
>> credit card reader from squareup.com for free and can now accept
>> credit card payments for my work (American Express too.) Very cool
>> and free. They send you the reader after signing up for the app. It
>> works on iPhone, iPad and Android. At first I thought it was weird
>> and suspect but after major research it turns out they are the
>> creator of Twitter along with the guy from digg and a bunch of
>> investors offering this.
> 
> I opted out when they wanted my FEIN and Social Security number.
> 
> --
> -Mark Wieder
> mwie...@ahsoftware.net
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
 
 
 
 -- 
 
 
 
 Stephen Barncard
 San Francisco Ca. USA
 
 more about sqb  
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: on-rev upload limits and Amazon S3 as an alternative

2011-01-29 Thread Martin Koob

Hi Andre

I copied the stack script of Mark Smith's AWS libraries and with some
tweaking to make them conform to how rev server works I got it to work to
sign and Authenticated URL using HMACSHA1.

However I get the same result as when I use the Shell command, the signature
does not match.

So It seems I was going at this from the wrong angle.

I think the stringtosign I am using is wrong.  Mark Smith's library is using
the following as the string to sign.

GET\n
\n
\n


expiry\n
URI

I suspect that on-rev is sending a different set of headers than the string
to sign so when Amazon compares the GET request and the string that was
signed they don't match.

I tried to use libURLlastHTTPheaders() to see what headers are being sent
but that does not work with on-rev.

Does anyone know what headers are sent?

Should I set my own headers to conform with what amazon is expecting with
the on-rev header command?

Thanks.

Martin



-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3246264.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode for e-book production

2011-01-29 Thread Javier Miranda V.
Dear friends, can you please give me your opinions on using LiveCode for e-book 
production?.  I know LiveCode, being so powerful, can handle complex projects 
involving lots of logic and structures, but is it suitable / practical to use 
it for e-book production?.  The possibility of compile for the new mobile 
operating systems is something wonderful that I would like to to use coupled 
with the multimedia capabilities.  

I will be looking forward for your impressions about this.


Saludos,

Javier Miranda V.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SPAM Square Up

2011-01-29 Thread Thomas McGrath III
Thanks Pete,

This is all new to me. But I did have fun last night looking for things to sell 
my friends so I could swipe their cards into my iPhone... H what else can I 
sell.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 29, 2011, at 1:35 AM, Peter Haworth wrote:

> I have a wireless credit card terminal and they all want at least this level 
> of personal info if not more.  Not saying if it's right or wrong, just that 
> if you want a credit card account, that's what's required.  I got the 
> terminal for free in exchange for signing up for a 2-year contract, so yes 
> free swipers are available in exchange for commitments, just like cell phones.
> 
> Tom - watch out for keying in numbers rather than swiping the card - they 
> will ding you a hefty surcharge for doing that.  For online orders, try 
> Paypal - people can pay by credit card without having a PayPal account and 
> their fees are pretty comparable to the credit card processors, especially 
> for casual use.
> 
> Pete Haworth
> 
> On Jan 28, 2011, at 6:49 PM, Thomas McGrath III wrote:
> 
>> Yeah that's why I put spam in the subject cause I got the same feeling at 
>> first. But after researching awhile I realized that that was how they keep 
>> people honest with the thing. Still the process was a bit creepy.
>> 
>> So they are legit BUT I don't know how much info a normal credit card 
>> company reader would ask for and they are not free.
>> 
>> I can enter numbers directly too and that means I can accept credit card 
>> orders over the internet if by hand any way
>> 
>> YMMV
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Jan 28, 2011, at 8:28 PM, stephen barncard wrote:
>> 
>>> yeah, I did the same thing - I just closed the browser abruptly before it
>>> got too personal.
>>> 
>>> On 28 January 2011 17:24, Mark Wieder  wrote:
>>> 
 Thomas-
 
 Friday, January 28, 2011, 3:05:51 PM, you wrote:
 
> FYI -- I am not connected with these guys at all. I just got my
> credit card reader from squareup.com for free and can now accept
> credit card payments for my work (American Express too.) Very cool
> and free. They send you the reader after signing up for the app. It
> works on iPhone, iPad and Android. At first I thought it was weird
> and suspect but after major research it turns out they are the
> creator of Twitter along with the guy from digg and a bunch of
> investors offering this.
 
 I opted out when they wanted my FEIN and Social Security number.
 
 --
 -Mark Wieder
 mwie...@ahsoftware.net
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> 
>>> -- 
>>> 
>>> 
>>> 
>>> Stephen Barncard
>>> San Francisco Ca. USA
>>> 
>>> more about sqb  
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


use-livecode@lists.runrev.com

2011-01-29 Thread Jim Ault

Assuming all fields on a card are the target fields to sort and combine

on sortFlds
   repeat with k = 1 to the number of fields
  put the rect of field k after fieldList
  put comma & k after fieldList
  put cr after fieldList
   end repeat
   sort fieldList numeric by item 2 of each -- Y
   sort fieldList numeric by item 1 of each -- X

   repeat for each line LNN in fieldList
  put fld (item 5 of LNN) after tWholeenchilada
  put cr after tWholeenchilada
   end repeat
   put tWholeenchilada into msg box
end sortFlds

--  in the second repeat loop you could use ...
--  put item 5 of LNN into fldNum
--  put fld fldNum after tWholeenchilada

Hope this helps.

On Jan 28, 2011, at 9:17 PM, John Patten wrote:


I have a card with four fields. The field can be dragged around by  
the user. I want to get the contents of each field and put them all  
in one container.


My attempt is below. I attempted to sort the list of fld locations  
but that is susceptible to the y coordinate being above the previous  
field and throwing off the sort.


Here is what I tried:

on mouseUp
-- sort item 1 of the field locations
  put 1 into x
  put 2 into y
  put the number of lines in cd fld "data" into tCount
  repeat for tCount-1
 put item x of line x of cd fld "data" into tFirstTest
 put item x of line y of cd fld "data" into tSecondTest
 if tFirstTest > tSecondTest then
put line y of cd fld "data" & return after cd fld "sortedData"
delete line y of cd fld "data"
 else
put line x of cd fld "data" & return after cd fld "sortedData"
delete line x of cd fld "data"
end if
 end repeat
 put line 1 of cd fld "data" after cd fld "sortedData"
 delete line 1 of cd fld "data"


-- sort item 2 of the fld locations
 put 1 into x
 put 2 into y
 put the number of lines in cd fld "sortedData" into tCount
 repeat for tCount-1
 put item y of line x of cd fld "sorteddata" into tFirstTest
 put item y of line y of cd fld "sorteddata" into tSecondTest
 if tFirstTest > tSecondTest then
put line y of cd fld "sorteddata" & return after cd fld "Data"
delete line y of cd fld "sorteddata"
 else
put line x of cd fld "sorteddata" & return after cd fld "Data"
delete line x of cd fld "sorteddata"
end if
 end repeat
 put line 1 of cd fld "sorteddata" after cd fld "Data"
 delete line 1 of cd fld "sorteddata"


--put the field contents in the user's order
 put the number of lines in cd fld "data" into tCount
 put 1 into x
repeat tCount
put item 3 of line x of cd fld "data" into tTargetField
put cd fld tTargetField of group "theFields" & " " after  
tWholeenchilada

add 1 to x
 end repeat
 put tWholeenchilada
end mouseUp



Jim Ault
Las Vegas



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode