Re: Writing Extensions

2017-05-16 Thread William Prothero via use-livecode
Herman: Your doAsJavascript suggestion is very cool. I might use it and might learn some javascript in order to use it. Great idea! Bill > On May 16, 2017, at 4:02 PM, hh via use-livecode > wrote: > >>> Alejandro T. wrote: >>> How fast is LCB working with

Re: Incorporating ImageMagick into an LC program?

2017-05-16 Thread Jonathan Lynch via use-livecode
I don't know. I was just wondering about interfacing through an LCB library or widget. That way, the LC folks would not have to be involved. If you don't mind a 2 second delay, the command line option works fine, but I think it should be faster. I have all the tools I need now, to get

Re: Incorporating ImageMagick into an LC program?

2017-05-16 Thread hh via use-livecode
Dictionary: open process There is also a MagickWand C-API ( https://www.imagemagick.org/script/magick-wand.php ). But who should do that incorporation into the engine? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Writing Extensions

2017-05-16 Thread James Hale via use-livecode
This is why the LiveCode Infinity project had such attraction to me. There were to be fully documented examples. Oh well. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Incorporating ImageMagick into an LC program?

2017-05-16 Thread Jonathan Lynch via use-livecode
I once made an app that used command line calls to ImageMagick. That worked fine, but with a slight delay. Would it be difficult to create an lcb script that directly interfaces with ImageMagick? As long as you give them credit, their license would allow it.

Re: SVG widget?

2017-05-16 Thread Mark Wieder via use-livecode
On 05/13/2017 01:46 PM, Alejandro Tejada via use-livecode wrote: Peter Thirkell wrote a widget that import SVG with multiple colors. Download this widget source code from this forum post: http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286 I added my updates to that forum post,

Re: Writing Extensions

2017-05-16 Thread hh via use-livecode
>> Alejandro T. wrote: >> How fast is LCB working with imagedata? Slower than slowest LC Script ever seen. I Stopped all my experiments with imagedata after one full day (was 12 hours). For a first own test simply take an image of screensize and walk through the pixeldata for each byte applying

Re: Writing Extensions

2017-05-16 Thread Mark Wieder via use-livecode
On 05/16/2017 02:47 PM, Stephen Barncard via use-livecode wrote: On Tue, May 16, 2017 at 1:48 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: It took me three hours today to figure out how to convert a hex number into decimal format. Why? Because the IP is IPV6 ?

Re: Android Touchscreen Malfunction

2017-05-16 Thread Phil Davis via use-livecode
I assume flushEvents() isn't available for mobile? At least the 8.1.3 dictionary shows it is for desktop only. So would something like this work? local sTaskStatus, sTaskRequests on mouseUp send "doTask" to me in 0 seconds put the result & CR after sTaskRequests end mouseUp

Re: Writing Extensions

2017-05-16 Thread Matthias Rebbe via use-livecode
Thanks for this post. I was already thinking it is just me who struggles with LCB. I tried a bit, gave up and decided to wait for the announced course. Matthias Matthias Rebbe +49 5741 31 ‌matthiasrebbe.eu ‌ > Am 16.05.2017 um 22:48 schrieb Mark Wieder via

Re: Writing Extensions

2017-05-16 Thread Stephen Barncard via use-livecode
On Tue, May 16, 2017 at 1:48 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > It took me three hours today to figure out how to convert a hex number > into decimal format. Why? Because the IP is IPV6 ? Large hex number that overflows? -- Stephen Barncard - Sebastopol

Re: Writing Extensions

2017-05-16 Thread Jonathan Lynch via use-livecode
I also am curious about this. Sent from my iPhone > On May 16, 2017, at 4:03 PM, Alejandro Tejada via use-livecode > wrote: > > Hi Mark, > > Did you choose this task to measure how fast > is LiveCode Builder? > > I want to know the answer too. > How fast is

Writing Extensions

2017-05-16 Thread Alejandro Tejada via use-livecode
Hi Mark, Did you choose this task to measure how fast is LiveCode Builder? I want to know the answer too. How fast is LCB working with imagedata? How fast is LCB working with transform matrices? Al On Tue, May 16, 2017 at 4:48 PM, Mark Wieder via use-livecode < use-livecode at

Re: Android Touchscreen Malfunction

2017-05-16 Thread Paul Dupuis via use-livecode
On 5/16/2017 4:32 PM, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > in your handler for mouseDown (or mouseUp) check the pendingMessages > > (see Dictionary if unfamiliar with pendingMessages) for any other > > mouseDown (or mosueUp) messages pending for the same object and the

Re: Writing Extensions

2017-05-16 Thread Mike Kerner via use-livecode
yep. it's not fun, yet. On Tue, May 16, 2017 at 4:48 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > Having spent a bit of the day experimenting with LCB, I have this to say: > > the documentation is atrocious > > ...also, the only thing I have to say about error

Writing Extensions

2017-05-16 Thread Mark Wieder via use-livecode
Having spent a bit of the day experimenting with LCB, I have this to say: the documentation is atrocious ...also, the only thing I have to say about error reporting in the Extension Builder is that it lets you know there's an error. There's a caret displayed under the error line that

Re: Android Touchscreen Malfunction

2017-05-16 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > in your handler for mouseDown (or mouseUp) check the pendingMessages > (see Dictionary if unfamiliar with pendingMessages) for any other > mouseDown (or mosueUp) messages pending for the same object and the > one executing. Wouldn't the pendingMessages be limited to timers?

Re: Android Touchscreen Malfunction

2017-05-16 Thread Paul Dupuis via use-livecode
On 5/16/2017 2:55 PM, Alejandro Tejada via use-livecode wrote: > Hi All, > > Recently, while testing a stack in an Android Phone, > I found with surprise that mouseup and mousedown > messages were triggered very fast (2 or 3 times in > succession). > > After checking the phone screen, I noticed a

Android Touchscreen Malfunction

2017-05-16 Thread Alejandro Tejada via use-livecode
Hi All, Recently, while testing a stack in an Android Phone, I found with surprise that mouseup and mousedown messages were triggered very fast (2 or 3 times in succession). After checking the phone screen, I noticed a small (almost unnoticeable) crack in the corner. How could we change our

Re: WannaCry [OT]

2017-05-16 Thread Stephen Barncard via use-livecode
It is not trivial that the main character in *The Matrix *is a coder. On Tue, May 16, 2017 at 9:20 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > We won't all be absorbed. Some will need to work as slaves in the real > world. > -- Stephen Barncard - Sebastopol Ca.

Re: Dispatching Messages to Closed Stacks Which Are Not in Memory

2017-05-16 Thread J. Landman Gay via use-livecode
On 5/15/17 10:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: ut seems like we have to work too hard… would be neater to have a way to dispatch and toplevel at the same time. They serve different purposes. "Dispatch" controls the message path. "Open" controls the state of the stack

Re: Dispatching Messages to Closed Stacks Which Are Not in Memory

2017-05-16 Thread Sannyasin Brahmanathaswami via use-livecode
Bob:I think you are confusing the meaning of "open" with "running in the IDE". Library stacks open but may have no windows or controls created in the IDE. In fact a script only stack has no graphical elements at all. "Open" means "Open as a file that loads into memory". Indeed, I have

Re: WannaCry [OT]

2017-05-16 Thread Dr. Hawkins via use-livecode
On Mon, May 15, 2017 at 10:46 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Ditto. But I do want a smart home and I've had one for years. We still use > the older X10/Insteon protocol, wasn't that the one that had the add with the girl in the flesh-colored tshirt

Re: Identical and similar blend modes

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-16 12:32, Roger Eller via use-livecode wrote: Results may vary depending on OS, video card, and/or video drivers. Many of these appear subtly different to me. They shouldn't - all the blend mode code is cross-platform - so if there is a difference across platform (which isn't down

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-16 14:51, hh via use-livecode wrote: Yes, thanks. [You did probably test on Mac only. It's not worth to mix in the problem of linux (and Raspi) with blend modes/transparency here.] I don't recall seeing any bug reports about inks/transparency on Linux - could you elaborate?

Re: WannaCry [OT]

2017-05-16 Thread Bob Sneidar via use-livecode
We won't all be absorbed. Some will need to work as slaves in the real world. Bob S > On May 16, 2017, at 07:54 , Jonathan Lynch via use-livecode > wrote: > > Right before it absorbs us into the machine overlord. > > Sent from my iPhone

Re: WannaCry [OT]

2017-05-16 Thread Bob Sneidar via use-livecode
Agreed. Bob S > On May 15, 2017, at 17:23 , Richard Gaskin via use-livecode > wrote: > > Good thoughts, Kay. > > The DDoS last October only reinforced my inherent distrust of IoT devices. > > Until we see some enforced security standards, I have no interest

Re: Dispatching Messages to Closed Stacks Which Are Not in Memory

2017-05-16 Thread Bob Sneidar via use-livecode
I think you are confusing the meaning of "open" with "running in the IDE". Library stacks open but may have no windows or controls created in the IDE. In fact a script only stack has no graphical elements at all. "Open" means "Open as a file that loads into memory". Bob S > On May 15, 2017,

Re: WannaCry [OT]

2017-05-16 Thread Roger Eller via use-livecode
http://hackaday.com/2017/05/04/google-aiy-artificial-intelligence-yourself/ On Tue, May 16, 2017 at 10:54 AM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote: > Right before it absorbs us into the machine overlord. > > Sent from my iPhone > > > On May 16, 2017, at 10:45

Re: WannaCry [OT]

2017-05-16 Thread Jonathan Lynch via use-livecode
Right before it absorbs us into the machine overlord. Sent from my iPhone > On May 16, 2017, at 10:45 AM, Alejandro Tejada via use-livecode > wrote: > > Mark Waddingan wrote: >> the fact that there are probably not just billions >> but trillions of lines of

WannaCry [OT]

2017-05-16 Thread Alejandro Tejada via use-livecode
Mark Waddingan wrote: > the fact that there are probably not just billions > but trillions of lines of C/C++ code in the world > means that things are probably not going to change > much soon - the cost to rewrite all of that in a language > such as Rust would probably be larger than the entire >

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread hh via use-livecode
Yes, thanks. [You did probably test on Mac only. It's not worth to mix in the problem of linux (and Raspi) with blend modes/transparency here.] Anyway, I updated my stack to a simple Theme-switcher, usable as tiny plugin and included it to post RaspberryPi stacks #89 (

Re: Seeking recommendations / suggestions for use of library stacks.

2017-05-16 Thread pink via use-livecode
what about putting the process into the library stack files themselves? For example, when I use my CouchDB library I also load fastJSON: on libraryStack if "couchDBLib" is not among the lines stacksInUse then start using stack "couchDBLib" if "fastJSONlib" is not among the lines

Re: Identical and similar blend modes

2017-05-16 Thread Roger Eller via use-livecode
Results may vary depending on OS, video card, and/or video drivers. Many of these appear subtly different to me. ~Roger On May 15, 2017 11:39 PM, "Alejandro Tejada via use-livecode" < use-livecode@lists.runrev.com> wrote: > After a quick test, these are my results > looking for identical and

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-15 21:11, Roger Eller via use-livecode wrote: I just looked in the dictionary of 6.7.5 (my daily driver), and only srcCopy concerns me, as it is the default for any image placed as a control. I also found an image that I had placed with addMax applied. This saved me the trouble of

Re: WannaCry [OT]

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-16 02:23, Richard Gaskin via use-livecode wrote: Until we see some enforced security standards, I have no interest in "smart cars", "smart TVs" or "smart homes". When I look at those products I just see one big botnet. I'd at least hope that 'smart cars' software is engineered to a

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-15 21:21, hh via use-livecode wrote: Mark W. wrote: > and most of these legacy Blend Modes: > clear, noop, notSrcAnd, notSrcAndReverse, > notSrcCopy, notSrcOr, notSrcOrReverse, > notSrcXor, reverse, set, srcAnd, > srcAndReverse, srcCopy, srcOr, > srcOrReverse, srcXor, blend, addPin >

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-15 22:05, Richmond Mathewson via use-livecode wrote: "the modern era" Ah; such an awful pity that both Thee and Me have more important things to do; we could have such fun playing "semantic squash". Hehe - indeed, modern should have been 'modern'* with: * 'Modern' in the

Re: [ANN] This Week in LiveCode 82

2017-05-16 Thread Mark Waddingham via use-livecode
On 2017-05-15 23:22, Alejandro Tejada via use-livecode wrote: This Skia feature named: Perlin Noise Shader could have this syntax: set the fractalperlinNoise of selobj to "0.05, 0.05, 4, 0.0" set the turbulenceperlinNoise of selobj to "0.05, 0.05, 4, 0.0" This Skia feature named: Blur Mask