Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Trevor DeVore via use-livecode
Ugh. I accidentally hit send before finishing the email. Here is the finished version. On Wed, Dec 26, 2018 at 1:09 PM Sannyasin Brahmanathaswami via use-livecode wrote: > > With that in mind, though you say "Levure doesn't have a strong opinion > one way or the other. There is no code that is

Re: Websockets Problem on LiveCode

2018-12-26 Thread Charles Warwick via use-livecode
Hi Todd, Did you try the sample LC stack that I sent you with the socket external? It allows you to send basic websocket messages to a server. If you did try it, what happened? The beta version should work on Windows, Mac and iOS (Android version is easy to add if needed). Regards,

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Trevor DeVore via use-livecode
On Wed, Dec 26, 2018 at 1:09 PM Sannyasin Brahmanathaswami via use-livecode wrote: > > With that in mind, though you say "Levure doesn't have a strong opinion > one way or the other. There is no code that is designed specifically around > the Model-view-controller (MVC) > pattern." I want to

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Trevor DeVore via use-livecode
On Wed, Dec 26, 2018 at 2:42 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Besides the impact of my current workload, I'm afraid this complexity is > what prevented me from continuing to work on Swami's project. There are > now > so many disparate parts and pieces

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Richard Gaskin via use-livecode
J. Landman Gay jacque at hyperactivesw.com > I know there is enthusiasm for script only stacks and they are really > helpful for those who use git. But when git isn't a target, the old > fashioned way is really much easier to follow and debug. Being script-only is just the storage format on

Websockets Problem on LiveCode

2018-12-26 Thread Todd Fabacher via use-livecode
This is a 911 call for HELP from anyone. We are using a Socket IO server. We tried using the web browser to send websockets messages...no problems. but when we listen and receive the websocket message, that is where the problem is created. If we don't call LiveCode from the web browser, we don't

Probably a No-Brainer

2018-12-26 Thread Roger Guay via use-livecode
As an example, I want to replace the contents of a field that contains x^n with x^1 or x^2 or x^3 as n= 1 or 2 or 3 etc. But I can’t seem to find find a script that works. Help please?? Roger ___ use-livecode mailing list use-livecode@lists.runrev.com

RE: Image Remove Perimeter White Space

2018-12-26 Thread Ralph DiMola via use-livecode
Thanks! I'll give it a try in the am. All of the images are 512/512 or less(icons). Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -Original Message- From: use-livecode

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
Here is a pure LC Script handler from one of my "early" images stacks. For large images this may become pretty slow... ## CROP image to opaque pixels on cropIt ft put the width of img ft into w; put the height of img ft into h put the maskdata of img ft into mData put numToByte(0) into

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
> Ralph wrote: > I will just have to go pixel by pixel and check > left, top, right and bottom sides for any non-zero > RGB and delete rows/columns until one of the sides > has an RGB that is not zero. Here is a comparison value for that. Using javascript from a hidden browser widget autocropping

RE: Image Remove Perimeter White Space

2018-12-26 Thread Ralph DiMola via use-livecode
Thanks All! I was not totally clear. The area around the visible center is transparent(not white). I need to do this invisibly in real-time without user interaction. Luckily all the images are square so I don't have to worry about keeping the aspect ratio intact. I will just have to go pixel by

Re: Image Remove Perimeter White Space

2018-12-26 Thread J. Landman Gay via use-livecode
On 12/26/18 5:13 PM, Ralph DiMola via use-livecode wrote: I am downloading various images from a customer with varying unpredictable amount of white space around the image. I want to make the visible center portion images the same size. Before I start coding is there any native LC way or

Re: Image Remove Perimeter White Space

2018-12-26 Thread hh via use-livecode
> Ralph D.wrote > I am downloading various images from a customer with > varying unpredictable amount of white space around the > image. I want to make the visible center portion images > the same size. Assuming the white space around is symmetric, at least proportional to width and height, you

Re: Image Remove Perimeter White Space

2018-12-26 Thread Bob Sneidar via use-livecode
Oh that's a pickle! Nothing native I'm sure. There is no telling from the image itself that you want "white" to equal "overlap" at least not without a mask of some sort. So it's going to be a pixel by pixel job, and then hope and pray that "white" actually means "0,0,0" as opposed to "1,0,0" or

Image Remove Perimeter White Space

2018-12-26 Thread Ralph DiMola via use-livecode
I am downloading various images from a customer with varying unpredictable amount of white space around the image. I want to make the visible center portion images the same size. Before I start coding is there any native LC way or existing example stacks that do this? Thanks! Ralph DiMola IT

Re: Navigator 6.7rc1 is available

2018-12-26 Thread Geoff Canyon via use-livecode
I updated to 6.7.1rc1 -- based on a suggestion from Sannyasin Brahmanathaswami, selecting a script-only stack on the target menu now immediately edits the script for that stack instead of showing it in Navigator. As usual, you can get Navigator here

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread J. Landman Gay via use-livecode
Besides the impact of my current workload, I'm afraid this complexity is what prevented me from continuing to work on Swami's project. There are now so many disparate parts and pieces that unless you have a firm knowledge of every library and behavior script, there is no easy way to

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Sannyasin Brahmanathaswami via use-livecode
Happy Holidays Trevor Thank you for the thorough response. The Levure architecture, and what we came up with SivaSiva app is very close. It would not really be to difficult to port it one day to Levure. With that in mind, though you say "Levure doesn't have a strong opinion one way or the

FrameTalkHTML5_v100

2018-12-26 Thread hh via use-livecode
FrameTalkHTML5 is my end-of-year gift 2018 to the community. It is a HTML5 standalone that can talk (send/ receive messages) to other instances of itself in frames of the same browser window. The instances of the standalone can come from different (local or remote) servers. The "installation"

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Trevor DeVore via use-livecode
On Wed, Dec 26, 2018 at 8:44 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Always interest in improving (often terrifying beginning) my architecture, > having read Andre's book on MVC. It comes to mind that we could use a > standard structure, like > > 1) Card or Group > 2) Assigned

Re: Versions 7.1.1 and 8.1.3 no long working properly

2018-12-26 Thread Richmond Mathewson via use-livecode
Yesterday I woke my Mac mini running 10.14.2 from sleep and got nothing but 'snow' on the monitor. Turning off all 'sleep' settings solved the problem. Richmond. On Wed, Dec 26, 2018, 5:53 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Curious. I woke up my Mac with

Re: Versions 7.1.1 and 8.1.3 no long working properly

2018-12-26 Thread Bob Sneidar via use-livecode
Curious. I woke up my Mac with 10.14.2 with an external monitor plugged in. The laptop monitor backlight lit, but no image was displayed. Rebooting resolved the issue. Bob S > On Dec 22, 2018, at 03:19 , JJS via use-livecode > wrote: > > I've read that 10.14.3 will come in Januray or

Musings on Architect, MVC, Nested Behaviors

2018-12-26 Thread Sannyasin Brahmanathaswami via use-livecode
Always interest in improving (often terrifying beginning) my architecture, having read Andre's book on MVC. It comes to mind that we could use a standard structure, like 1) Card or Group 2) Assigned in a unique view e.g. "behavior_viewHomeStory" * handles the controls on the card and

Re: LC-apps for HC

2018-12-26 Thread Ingar Roggen via use-livecode
Richmond I must have been sleeping at the time of your offer. Sorry! — When Andy right now offers his whole bundle at Xmas prices I would gladly buy it all. I hope he reads this. BUT ONLY IF it helps to bridge and bond HC with LC! Including the complete original MacPaint. — In order not to

[ANN] 30% End of Year discount on my new book and tools

2018-12-26 Thread Andre Alves Garzia via use-livecode
Hi Friends, Following LiveCode fantastic end of year promotions of 30% discount on a ton of stuff and since it is boxing day here in the UK, I decided to create a end of year promotion of my own. Starting today and going until the end of the year, there is a 30% discount on the following