Machine Learning in LC?

2018-06-25 Thread Alan via use-livecode
Has anyone integrated any machine learning models in LiveCode at all? Anyone experimenting with it? Just considering having a play with TensorFlow.js and seeing if it'll work... Any hints/ideas welcome! cheers Alan ___ use-livecode mailing list use-l

Re: Examples of encryption for database access

2018-06-25 Thread Brian Milby via use-livecode
One thing this misses is that the IV is not another private key/password. It should be random/different for every use of the key. https://en.m.wikipedia.org/wiki/Initialization_vector https://crypto.stackexchange.com/questions/3965/what-is-the-main-difference-between-a-key-an-iv-and-a-nonce htt

Re: Examples of encryption for database access

2018-06-25 Thread William Prothero via use-livecode
Mark: Thanks, that makes it a lot easier. I have been tearing my limited hair out over trying to set Apache environmental variables and deleted a load of files on my server, accidentally. This I can do. Best, Bill > On Jun 25, 2018, at 4:04 PM, Mark Wieder via use-livecode > wrote: > > On 0

Re: Examples of encryption for database access

2018-06-25 Thread Mark Wieder via use-livecode
On 06/25/2018 02:17 PM, William Prothero via use-livecode wrote: Mark: I’ve been exploring, Googling, and my Web Host Manager to figure out where to set the environmental variables for the security keys. It might be nice if I could set different values for different subdomains on my server, but

Re: Browser Widget Layer on mobile

2018-06-25 Thread Dan Friedman via use-livecode
Monte, Ok, good to know I wasn’t losing my mind! I have put in the bug report. I have to release this app in about a month. Maybe it will get fixed by then. https://quality.livecode.com/show_bug.cgi?id=21386 Thank you!! > Hi Dan > > This sounds like a bug to me. For widgets that are in g

Re: Examples of encryption for database access

2018-06-25 Thread William Prothero via use-livecode
Mark: I’ve been exploring, Googling, and my Web Host Manager to figure out where to set the environmental variables for the security keys. It might be nice if I could set different values for different subdomains on my server, but my Web Host Manager program states that it will put a copy of the

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-25 Thread panagiotis merakos via use-livecode
I have it working with LC Server 9 on an Ubuntu 16.04 64bit but only tested on localhost. But if I remember correctly there are a couple of people using tsnet with LC server on an actual server (Ralf maybe??) Folks if you read this and use tsnet with LC Server could you share some details about yo

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-25 Thread Matthias Rebbe via use-livecode
Hi Panos, thanks for the explanation. And yes, i was asking about the tsNet/LC server issue. I am in urgent need to get it working. Btw., as it even does not work on your own hosting platform On-Rev/Livecode Hosting, did someone at Livecode ever used tsNet with LC server successfully? And if s

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-25 Thread panagiotis merakos via use-livecode
Hi Matthias, Pending status means that the LC team needs to take action in order to confirm (or not confirm) the bug. We usually set this status when a bug requires a bit of setup to test. I assume you ask about the tsnet with LC server issue. Best, Panos On Mon, Jun 25, 2018, 18:32 Matthias Reb

RE: Open source iOS and Android

2018-06-25 Thread Linda Miller, DVM via use-livecode
Thank you, BR, for the suggestion! "Do you know GIT? A lot of us (developers) have "stuff on GIT" . You do a deep search through mailings Search for "https://github.com/ " Linda ___ use-livecode mailing list use-livecode@lists.ru

What exactly does the status pending in Livecode Quality Control Center mean

2018-06-25 Thread Matthias Rebbe via use-livecode
Hi, does anyone know what exactly the status “pending” in the LQCC does mean? Regards, Matthias ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: h

Re: Examples of encryption for database access

2018-06-25 Thread William Prothero via use-livecode
Mark: Thanks so much! This is just the advice I needed. I was wondering about the security of the keys. I’m setting up a general db library stack. One of the apps will be distributed for free to teachers and students. The other apps are mobile and will be used either by me alone, or distributed

Re: Examples of encryption for database access

2018-06-25 Thread Mark Wieder via use-livecode
Bill- Nicely done. For security though, I wouldn't store the encryption keys in either the LC stack or (especially) the php script. In the php script you can set the environment variable on the server and then access it as $encryption_key = .$_ENV["ENCRYPTION_KEY"] Same thing, obviously, f

Re: Examples of encryption for database access

2018-06-25 Thread William Prothero via use-livecode
Corrections to the posted code: I changed the code to encrypt the returned text. I also note that using openSSL in php returns base64 data. Bill temp, testing iv for encryption --To test this on your own server, upload the php script where you put cgi's -- and modify the myURL setting. //

Re: Datagrid Behaviors Moved??

2018-06-25 Thread Tom Glod via use-livecode
thats a good tip for me as well..thanks Bob. you are right. looking at the handlers in there is pretty helpful, there may be a bunch of undocumented nuggz. On Mon, Jun 25, 2018 at 11:44 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Whoa! Just discovered that when

Re: Datagrid Behaviors Moved??

2018-06-25 Thread Bob Sneidar via use-livecode
Whoa! Just discovered that when the datagrid library sends selectionChanged to a datagrid, it passes 2 parameters: sHilitedIndexes and pPreviouslyHilitedIndexes! Well THAT is a useful tidbit of information! I go to some effort to save the prior selection in a custom property of each datagrid, s

Re: Datagrid Behaviors Moved??

2018-06-25 Thread Bob Sneidar via use-livecode
Ahah! So the correct syntax would be: edit the script of the behavior of the behavior of group "dgCustomers" Bob S > On Jun 25, 2018, at 08:26 , Tom Glod via use-livecode > wrote: > > the scripts got moved over to script only stacks in v9i had the same > experience just yesterday lis

Re: Datagrid Behaviors Moved??

2018-06-25 Thread Tom Glod via use-livecode
the scripts got moved over to script only stacks in v9i had the same experience just yesterday list the ide stacks and its in therelook for the one with the most amount of lines. On Mon, Jun 25, 2018 at 11:23 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > H

Datagrid Behaviors Moved??

2018-06-25 Thread Bob Sneidar via use-livecode
Hi all. I enter in the message box: edit the script of the behavior of group "dgCustomers" I get an empty script LC 9 community. Same with other datagrids. Yet the datagrid works as expected. Am I missing something?? Bob S ___ use-livecode mailing l

Re: Stripping styling from the clipboard...

2018-06-25 Thread Bob Sneidar via use-livecode
I always run code from the SE through a plain text editor before pasting on this list. Bob S > On Jun 24, 2018, at 07:04 , Richmond Mathewson via use-livecode > wrote: > >> >> Richmond. why does your code paste that way? >> >> > > I don't know: looks terrible! > > Over "here" on Th

Re: Stripping styling from the clipboard...

2018-06-25 Thread Bob Sneidar via use-livecode
Or it's being trapped/interceped somewhere earlier. Have you tried fresh launch (no libraries running) and a new stack? Bob S > On Jun 23, 2018, at 13:07 , Paul Dupuis via use-livecode > wrote: > > If I just have a pasteKey handler with a beep (or anything else) as the > sole instruction, t

[ANN] This Week in LiveCode 134

2018-06-25 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #134 here: https://goo.gl/gHVa6q This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: Stripping styling from the clipboard...

2018-06-25 Thread Tom Glod via use-livecode
I see...good to know. thanks J On Sun, Jun 24, 2018 at 10:39 AM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Using an intermediate text editor also works, and would take care of any > UTF8 conversion too if that's causing issues. But since you're in LC > already

Re: Examples of encryption for database access

2018-06-25 Thread William Prothero via use-livecode
Folks: Woke up this morning and realized I need to clarify a couple of points on my post. 1. For a test, you can use the LC script I included, exactly as given, which will access the included php test script on my server. 2. The php script just returns the decrypted text that you put in the tPo

Re: Tessellated hexagonal grid?

2018-06-25 Thread Rick Harrison via use-livecode
Hi David, The old “Traveller” space game used to use hexes a lot. Now that computers are so powerful you can do almost anything. Here’s an example using hexes. Try zooming in and out. Play around with the eye candy settings etc. It’s quite impressive! https://travellermap.com/?options=25591&sca

Re: Tessellated hexagonal grid?

2018-06-25 Thread Richmond via use-livecode
I have fooled around with hexagons as well, and they have to be, either; 1. Hexagonal SVG widgets, or 2, Hexagons embedded in transparent squares as PGN images - with the inevitable consequence that if you start using INTERSECT you must be very careful to set a transparency "trap" a bit lik

Tessellated hexagonal grid?

2018-06-25 Thread David V Glasgow via use-livecode
Quite a few old school (and a few newer) games use a tessellated hexagonal grid. Remember Railway Rivals, anyone? I just started to play around with the idea of a grid using Livecode polygons. Specifically, a map that can grow organically by sprouting hexes at the edges. I was surprised and

Re: Align baselines of 2 fields

2018-06-25 Thread Niggemann, Bernd via use-livecode
I rethought the alignment of baselines of 2 fields and did not like my previous solution to just move the fields Here is a solution that uses the margins to do the alignment. The two fields should accommodate for the expected textSizes and should be horizontally aligned. There are occasional di