Re: Beyond PowerStatus: Concurrency options

2015-03-08 Thread Pierre Sahores
Well done Mike !

Two other possible ways in mind :

1.- home made : i7 8 logical cores under windows :
- 1 core runs an LC controller app in client mode and dispatch tasks to :
- 7 cores running an LC functional server accepting sockets connections on 
port xxx

2.- Runrev’s doable : implementation’s of the Scala’s actors model (AKKA, etc…) 
in LC 8.xx

Pierre ;D


 Le 7 mars 2015 à 21:59, Richard Gaskin ambassa...@fourthworld.com a écrit :
 
 Nicely done, Mike.
 
 Using Apache for this is a good solution - it's already set up to herd 
 workers in a way with CGI, and it handles the forking so we don't have to.
 
 -- 
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com
 
 
 Mike Bonner wrote:
 
 The last thing I did this way was more like a seti online type of work
 load.
 My web server is on the same machine as my LC in this case, so I had lc
 create individual data files for the web server to go through, used the
 load command to tell the web server which file it was, and turned it loose
 with a with message.. so that when the web server returned results, a
 message to handle the results would fire.
 
 In this way, the web server handles most of the load, spawns threads and lc
 server instances (could be php, perl, whatever) and my app continues on its
 merry way, offloading another chunk.
 
 So, yes I used files to make some of it easier, and the web server handed
 the results back directly on completion.  I could have gone an entirely
 file based method, where the results were dropped into files by the web
 server, then re-assembled after completion.
 
 Queue order in this specific case didn't matter.  Each chunk was designated
 a job number, and the results were then shoved back together in the same
 order.
 
 For the example here, race conditions did not apply.
 
 All the webserver method does is use apache, rather than spawning worker
 processes, but the end result is the same, but the threading capability is
 already set up.  All one must do is write the code to do the actual
 processing, and return the result.  This is what I would like to see built
 in to lc.
 
 Another thought just occurred to me.  Perhaps it could be made stack
 based.. go to stack whatever as new thread.  (with the option for
 invisible, etc still available)  that way, all the scripts of a stack could
 be accessible.  So, if you had a stack that you were using for a progress
 bar, you could easily modify the behavior of the bar. I think the current
 answer to this is to spawn a worker process and full blown socket
 communications.  Instead you could just dispatch whateverMessage to stack
 mystack in thread.
 
 No clue if there is anything useful here, its not very well thought out
 yet.
 
 ___
 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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: [ANN] Rel 33 of MasterLibrary is available

2015-03-08 Thread William Prothero
Michael:
This is a wonderful assortment of handlers and functions. I may have missed 
some of the intentions for the library. Is this also a personal handler 
management library also? Do we add our own commonly used handlers? Are these 
ultimately incorporated into the library, which I imagine would require some 
kind of vetting?? Or is this a personal “starter library” where we have a lot 
of great stuff, then add our own? If we add our own handlers, what happens to 
our personal code when you generously offer another update? 

Best,
Bill

 On Mar 8, 2015, at 12:07 PM, Michael Doub miked...@gmail.com wrote:
 
 Release 33
 * By popular demand all of the double quotes have been removed from handler 
 names and functions.
 * added displayHex, displayBinary, displayDump, FormatNumber
 * updated caseSwitch, added PowerSource
 * stripDupLines, removeDupLines (regexp implementations!)
 * There is now an even faster parser!  Thierry Douez implemented a new parser 
 in a very concise
   finite state machine.
 
 https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
 
 
 
 ___
 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: Power Status (was Re: Because LC can't do two things at once.)

2015-03-08 Thread Mark Wieder
Peter-

Sunday, March 8, 2015, 1:43:17 AM, you wrote:

 Oddly, I find that LC's file I/O routines don't work with *NIX virtual
 file system elements.  I can use cat in shell to get those values, but
 neither LC's open/read/close nor get url options for work me.

 Ouch.  Please file a bug report - I think this is something we need to
 look into.  Thanks!

I find that the open/read/close functions work fine when slicing
through the symbolic links, but if the link is the target then it's
not recognized.

Richard - if you file a bug report I'll add my results to it.

-- 
-Mark Wieder
 ahsoftw...@gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


___
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: Unconference in NYC 3/2-12 ???

2015-03-08 Thread dunbarx
I will be there Thursday. Most of the old NY HC user group will be as well.

I have a demo.

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Unconference-in-NYC-3-2-12-tp4689878p4689884.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: [ANN] Rel 33 of MasterLibrary is available

2015-03-08 Thread Mike Doub
You are cirtainly welcome to add your own functions and handlers.  It is
best to add them at the bottom of script of btn Lib.  The meta data
needed is very straight forward.   You will have to cut and paste your
routines into any new version, but that is pretty easy.

Or just send me any routine that you want to add to the collection.  I will
add in the extra meta data and do some light testing of each routine, then
will make an update.   There really is no formal vetting process and I am
happy to do it.

I read the list all the time and try and capture routines that people post,
add a little documentation.   Folks on the list have been so helpful to me
over the years.  This my small way of trying to give back and help the new
folks get started with some interesting routines.  But to be honest, I have
learned a lot by just by reading the code.

Regards,
Mike


On Sunday, March 8, 2015, William Prothero proth...@earthednet.org wrote:

 Michael:
 This is a wonderful assortment of handlers and functions. I may have
 missed some of the intentions for the library. Is this also a personal
 handler management library also? Do we add our own commonly used handlers?
 Are these ultimately incorporated into the library, which I imagine would
 require some kind of vetting?? Or is this a personal “starter library”
 where we have a lot of great stuff, then add our own? If we add our own
 handlers, what happens to our personal code when you generously offer
 another update?

 Best,
 Bill

  On Mar 8, 2015, at 12:07 PM, Michael Doub miked...@gmail.com
 javascript:; wrote:
 
  Release 33
  * By popular demand all of the double quotes have been removed from
 handler names and functions.
  * added displayHex, displayBinary, displayDump, FormatNumber
  * updated caseSwitch, added PowerSource
  * stripDupLines, removeDupLines (regexp implementations!)
  * There is now an even faster parser!  Thierry Douez implemented a new
 parser in a very concise
finite state machine.
 
  https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
 
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com javascript:;
  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 javascript:;
 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: Unconference in NYC 3/2-12 ???

2015-03-08 Thread Colin Holgate
I’m not going to the little workshop events, but the actual unconference day is 
Thursday, and a few of us here will attend that one.


 On Mar 8, 2015, at 1:16 PM, hyperch...@aol.com mailto:hyperch...@aol.com 
 wrote:
 
 Did anyone on the list attend? Care to report? Thank you.
 

___
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

[ANN] Rel 33 of MasterLibrary is available

2015-03-08 Thread Michael Doub

Release 33
* By popular demand all of the double quotes have been removed from 
handler names and functions.

* added displayHex, displayBinary, displayDump, FormatNumber
* updated caseSwitch, added PowerSource
* stripDupLines, removeDupLines (regexp implementations!)
* There is now an even faster parser!  Thierry Douez implemented a new 
parser in a very concise

   finite state machine.

https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0



___
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


is image 2 in image 1?

2015-03-08 Thread Bernard Devlin
Is it possible to do this in livecode?

It would seem obvious to my naive mind, that since we have the imagedata,
and if image 2 is a crop of image 1, then we ought to be able to find out
if image 1 contains image 2.

Or am I insanely optimistic?

Regards,
Bernard
___
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: Text Field in LC 7

2015-03-08 Thread BNig
Hi Jerry,

modTableField has the same performance as a similar field (i.e. tabbed date,
vScroll on) without mod.

The performance of live resizing in LC 7.x.x is less than stellar for a
field with more than about 1000 lines.

The overhead of resizeControl in modTableField is negligible.

Until LC 7.x.x speeds up rendering of text field for larger amount of data
during live resizing I resorted to a trick.
When resizing I only leave only 100 lines of data in the field and then live
resizing is quite good. After resizing is done I put the original amount of
data back into the field.

I have put up a stack with a sample modTableField that has 5000 lines of
data that demonstrates this.

-
http://berndniggemann.on-rev.com/resizestack/ResizeStackMTF3.livecode.zip
-

Of course this is a hack but I figure since resizing a stack is not done
very often the improved performance will compensate for some pecularities.

But sort order is preserved and selectedLine restored after resizing.

I think this is better than not being able to live resize the stack at all.

the resizeStack script is in the card script.



Kind regards

Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Text-Field-in-LC-7-tp4689761p4689872.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: RunRev 2015

2015-03-08 Thread Dave Kilroy
I also really enjoy the conferences and recommend any and all to attend if
they possibly can - very useful technically and very enjoyable - and I could
(kinda) make a case that it is useful professionally!

But Jo if you're listening I would like it this side of the Atlantic this
year please...





-
The difference between genius and stupidity is; genius has its limits. - 
Albert Einstein
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689875.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: Power Status (was Re: Because LC can't do two things at once.)

2015-03-08 Thread Peter TB Brett

On 2015-03-07 16:33, Richard Gaskin wrote:

Mark Wieder wrote:


And now that I'm looking at it again, I don't think that's the proper
format for the url command. It should be

put url file:///sys/class/power_supply/BAT0/status into tStatus


Oddly, I find that LC's file I/O routines don't work with *NIX virtual
file system elements.  I can use cat in shell to get those values, but
neither LC's open/read/close nor get url options for work me.


Ouch.  Please file a bug report - I think this is something we need to 
look into.  Thanks!


Peter

--
Dr Peter Brett
LiveCode Engine Development Team

___
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: RunRev 2015

2015-03-08 Thread Peter Haworth
I'd echo all the other posts about the conference.  My first one last year
and it was great to meet some of the folks I see on the list every day,
with the added benefit that a lot of them are customers.  My only regret
was that I had a pretty tight schedule due to other commitments so was not
able to attend the evening frolics which I plan to correct next time around.

On Sat, Mar 7, 2015 at 1:56 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 J. Landman Gay wrote:
  It is so great to hang out with like-minded people, I never have as much
  fun as I do there. You just can't have conversations like those with
  anyone else, your other friends will look at you like you're nuts.

   +1

 The only thing I could add is that in addition to finally meeting in
 person so many people I've come to know here like Ralph DiMola and Peter
 Haworth, I also got a chance to meet people I'd never even corresponded
 with before, like Lloyd Rieber and Wayne Vovil.  Great people doing very
 interesting work with LiveCode.

 Speaking of Lloyd, if you haven't read his blog it's well worth it - he
 posts fairly regularly, with good tips, code snippets, and examples:
 http://learninglivecode.blogspot.com/

 --
   Richard Gaskin
   Fourth World Systems
   Software Design and Development for the Desktop, Mobile, and the Web
   
   ambassa...@fourthworld.comhttp://www.FourthWorld.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: Beyond PowerStatus: Concurrency options

2015-03-08 Thread Dr. Hawkins
On Sun, Mar 8, 2015 at 1:17 PM, Pierre Sahores s...@sahores-conseil.com
wrote:

 1.- home made : i7 8 logical cores under windows :


Not that promising--remember when intel's virtual cores (or whatever
they're called) came out?  We all got excited about what sounded like a
great idea, but it never met it promise.  The only time it really seems to
beat not using it is when  one virtual core uses the FP, and the other
integer--which is certainly not the case when you're running several of the
same thing.   In almost all (or is it all?) real world cases, a 4 core i7
will do as well as or better with the virtual cores off.

- 1 core runs an LC controller app in client mode and dispatch tasks to :
 - 7 cores running an LC functional server accepting sockets connections
 on port xxx


Unless you're CPU intensive, constantly fully loaded (which is a real issue
for some), the OS and processor is going to do a better job at worrying
about how many jobs to run simultaneously than either you or livecode
will.  Just queue 'em up, and let it happen.


My big concern is that *some* level of concurrency exist.  Heck, I'd settle
for ssl or postgres being done correctly :)



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: [ANN] Rel 33 of MasterLibrary is available

2015-03-08 Thread William Prothero
Mike:
I do similar saving of code snippets that I think might be useful to me in the 
future. But you’ve done a marvelous job of standardizing and collecting them. I 
also note you have a test routine for each handler. This is a great thing to 
have as well.

Best,
Bill

 On Mar 8, 2015, at 1:57 PM, Mike Doub miked...@gmail.com wrote:
 
 You are cirtainly welcome to add your own functions and handlers.  It is
 best to add them at the bottom of script of btn Lib.  The meta data
 needed is very straight forward.   You will have to cut and paste your
 routines into any new version, but that is pretty easy.
 
 Or just send me any routine that you want to add to the collection.  I will
 add in the extra meta data and do some light testing of each routine, then
 will make an update.   There really is no formal vetting process and I am
 happy to do it.
 
 I read the list all the time and try and capture routines that people post,
 add a little documentation.   Folks on the list have been so helpful to me
 over the years.  This my small way of trying to give back and help the new
 folks get started with some interesting routines.  But to be honest, I have
 learned a lot by just by reading the code.
 
 Regards,
Mike
 
 
 On Sunday, March 8, 2015, William Prothero proth...@earthednet.org wrote:
 
 Michael:
 This is a wonderful assortment of handlers and functions. I may have
 missed some of the intentions for the library. Is this also a personal
 handler management library also? Do we add our own commonly used handlers?
 Are these ultimately incorporated into the library, which I imagine would
 require some kind of vetting?? Or is this a personal “starter library”
 where we have a lot of great stuff, then add our own? If we add our own
 handlers, what happens to our personal code when you generously offer
 another update?
 
 Best,
 Bill
 
 On Mar 8, 2015, at 12:07 PM, Michael Doub miked...@gmail.com
 javascript:; wrote:
 
 Release 33
 * By popular demand all of the double quotes have been removed from
 handler names and functions.
 * added displayHex, displayBinary, displayDump, FormatNumber
 * updated caseSwitch, added PowerSource
 * stripDupLines, removeDupLines (regexp implementations!)
 * There is now an even faster parser!  Thierry Douez implemented a new
 parser in a very concise
  finite state machine.
 
 https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com javascript:;
 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 javascript:;
 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

Mobile app templates?

2015-03-08 Thread Geoff Canyon
Are there any template apps available? (free or paid) So far what I've seen
are construction kits or graphics packages. I'm wondering if anyone has
made a splash screen with main app page with nav elements leading to other
pages app, or other variant of that?

I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can
create a splash screen, paste some graphics into it, or put in a styled
text field, and build a splash screen plus one screen app in about
fifteen minutes, while nothing even remotely that quick seems possible on
mobile.

Or am I barking up the wrong tree here?
___
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: Data Grid graphics buttons

2015-03-08 Thread JB
Thanks for the link, Mike!

John Balgenorth


On Mar 8, 2015, at 8:27 AM, Mike Bonner bonnm...@gmail.com wrote:

 Look here:
 http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns
 
 
 On Sat, Mar 7, 2015 at 10:54 PM, JB sund...@pacifier.com wrote:
 
 Is there a way to set a graphic or button in
 a data grid table column using a script?
 
 So if I want line 12 of column name to be
 a graphic can I change the behavior like
 I can with Haken’s script that modifies the
 number format and instead of displaying a
 different value for the number display either
 a graphic or button instead?
 
 John Balgenorth
 
 
 
 
 
 
 
 ___
 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: Text Field in LC 7

2015-03-08 Thread Peter Haworth
Very clever Bernd, I like it!  I tried it with v6 and v7 and the v7
improvement is great.  I still see a little stutter compared to v6 but's
hardly noticeable and certainly way better than before this tweak.

On Sun, Mar 8, 2015 at 12:18 AM BNig bernd.niggem...@uni-wh.de wrote:

 Hi Jerry,

 modTableField has the same performance as a similar field (i.e. tabbed
 date,
 vScroll on) without mod.

 The performance of live resizing in LC 7.x.x is less than stellar for a
 field with more than about 1000 lines.

 The overhead of resizeControl in modTableField is negligible.

 Until LC 7.x.x speeds up rendering of text field for larger amount of data
 during live resizing I resorted to a trick.
 When resizing I only leave only 100 lines of data in the field and then
 live
 resizing is quite good. After resizing is done I put the original amount of
 data back into the field.

 I have put up a stack with a sample modTableField that has 5000 lines of
 data that demonstrates this.

 -
 http://berndniggemann.on-rev.com/resizestack/ResizeStackMTF3.livecode.zip
 -

 Of course this is a hack but I figure since resizing a stack is not done
 very often the improved performance will compensate for some pecularities.

 But sort order is preserved and selectedLine restored after resizing.

 I think this is better than not being able to live resize the stack at all.

 the resizeStack script is in the card script.



 Kind regards

 Bernd



 --
 View this message in context: http://runtime-revolution.
 278305.n4.nabble.com/Text-Field-in-LC-7-tp4689761p4689872.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

___
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: Beyond PowerStatus: Concurrency options

2015-03-08 Thread stephen barncard
On Sun, Mar 8, 2015 at 6:53 PM, Dr. Hawkins doch...@gmail.com wrote:

 Not that promising--remember when intel's virtual cores (or whatever
 they're called) came out?  We all got excited about what sounded like a
 great idea, but it never met it promise.


Only recently for us Pro Tools users.

--
Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words
___
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: Beyond PowerStatus: Concurrency options

2015-03-08 Thread Pierre Sahores
Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL in 
localhost mode ?

 Le 9 mars 2015 à 02:53, Dr. Hawkins doch...@gmail.com a écrit :
 
 Heck, I'd settle
 for ssl or postgres being done correctly :)

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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: is image 2 in image 1?

2015-03-08 Thread Mark Schonewille

Hi Bernard,

If you use the select tool to copy a part of an image object to the 
clipboard, the data get converted to PNG by default. When you paste the 
image from the clipboard, the image is converted back to image data. 
Usually, a few bits change here and there and the imagedata in the new 
data is not equal to the imagedata of the copied part of the original image.


If you duplicate an image and control-drag the handles of the image 
object to crop it or use the crop command, you will get a new image with 
imagedata that were never converted. The imagedata of this new image are 
indeed equal to the imagedata of the corresponding part of the original 
image.


So, your optimism is justified.

--
Best regards,

Mark Schonewille

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

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/8/2015 10:32, Bernard Devlin wrote:

Is it possible to do this in livecode?

It would seem obvious to my naive mind, that since we have the imagedata,
and if image 2 is a crop of image 1, then we ought to be able to find out
if image 1 contains image 2.

Or am I insanely optimistic?

Regards,
Bernard



___
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: Data Grid graphics buttons

2015-03-08 Thread Mike Bonner
Look here:
http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns


On Sat, Mar 7, 2015 at 10:54 PM, JB sund...@pacifier.com wrote:

 Is there a way to set a graphic or button in
 a data grid table column using a script?

 So if I want line 12 of column name to be
 a graphic can I change the behavior like
 I can with Haken’s script that modifies the
 number format and instead of displaying a
 different value for the number display either
 a graphic or button instead?

 John Balgenorth







 ___
 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

Unconference in NYC 3/2-12 ???

2015-03-08 Thread hyperchris

Did anyone on the list attend? Care to report? Thank you.





LiveCode Unconference
The whole series concludes with a special LiveCode “Unconference” with a 
keynote by Kevin Miller, and a day of talks by you, the users. There are 
rumours there could be an LC8 related announcement, with demo’s of the new 
Widgets technology. If you can only make one session, this is the one you don’t 
want to miss. Did we mention it was completely free? Come and join in the 
LiveCode Lovefest :).


Throughout the month there will be free live training, open to all at a range 
of venues in the city. Todd Fabacher will be leading some of the sessions, and 
he invites you to join him: “Anyone, regardless of age, gender, location or 
socio-economic class can learn to create an app. We spend most of our time 
using technologies, browsing, texting and gaming – so there is no better time 
than NOW to learn how to do it yourself.”


http://livecode.com/nyc/
___
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