Re: LC Server style survey: co-mingle code w/HTML?

2017-12-05 Thread Simon Smith via use-livecode
PHP is definitely the most popular language for letting you code this way, but then it is pretty much only for the web unlike most other languages. Other languages can work this way too - e.g. Python has PSP, Java has JSP as does Ruby, Lua etc. but not as popular as PHP. Carpe diem *Simon

Re: Sending a message to users that floats above everything

2017-12-05 Thread Mark Waddingham via use-livecode
On 2017-12-04 00:22, Brian Milby via use-livecode wrote: There are actually 2 PRs for toast... one LCB and another in the engine itself. 5860 & 5018 Indeed - the LCB one started off as a transliteration of the engine implementation provided by @HedgeHao... It has the advantage of being a

Re: Why is node.js faster than LC server?

2017-12-05 Thread Mark Waddingham via use-livecode
On 2017-12-05 18:55, Richard Gaskin via use-livecode wrote: Can you describe what you mean by fork() here? In a discussion a while back I made reference to an earlier post you'd made about fork(), but the response from the engine team left me with the impression that it's merely the way

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-05 Thread Rick Harrison via use-livecode
Hi Richard, I regularly mix both .lc scripts and HTML. I liked the original LC Web-Plugin with the exception of the very scary download message that was forced upon us all without any option to tone it down a bit. Once the mothership decided to abandon it, it was doomed. It was still great for

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-05 Thread Richard Gaskin via use-livecode
Simon Smith wrote: > Personally I do prefer to mix HTML / code together. If you mix them together with the implied extended merge of LC Server rather than an explicit merge with LC Script, I'm afraid nothing in my toolkit can help. > I don't think it right to say it is a PHP way to do

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-05 Thread Simon Smith via use-livecode
Personally I do prefer to mix HTML / code together. I don't think it right to say it is a PHP way to do things though :) - PHP does not encourage one to go this route for what I think is usually called spaghetti code. While some platforms, like WordPress have done quiet a bit to encourage this

Re: Mac color chooser swatches do not work?

2017-12-05 Thread panagiotis merakos via use-livecode
Hi Klaus, Are you on MacOS 10.13? If yes, what you see is this bug: quality.livecode.com/show_bug.cgi?id=20727 Best, Panos -- On Tue, Dec 5, 2017 at 9:55 PM, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi friends, > > before I create a report, can someone please

Re: Mac color chooser swatches do not work?

2017-12-05 Thread Terry Judd via use-livecode
Hi Klaus - the swatches work fine for me (and from memory always have). I'm still on Yosemite (10.10.5) though, so perhaps it's a High Sierra thing? Terry... On 6/12/2017 8:56 am, "use-livecode on behalf of Klaus major-k via use-livecode"

Re: Mac color chooser swatches do not work?

2017-12-05 Thread Klaus major-k via use-livecode
Hi all, > Am 05.12.2017 um 23:18 schrieb Klaus major-k via use-livecode > : > > Hi Tore, > >> Am 05.12.2017 um 23:03 schrieb Tore Nilsen via use-livecode >> : >> Seems as if you are right, I cannot use the swatches either in LC 8.2

Re: Mac color chooser swatches do not work?

2017-12-05 Thread Klaus major-k via use-livecode
Hi Tore, > Am 05.12.2017 um 23:03 schrieb Tore Nilsen via use-livecode > : > > Seems as if you are right, I cannot use the swatches either in LC 8.2 (dp2) > with MacOS 10.13 beta (17A360a). Using the eyedropper tool to pick the colour > from the swatches works

Re: Mac color chooser swatches do not work?

2017-12-05 Thread Tore Nilsen via use-livecode
Seems as if you are right, I cannot use the swatches either in LC 8.2 (dp2) with MacOS 10.13 beta (17A360a). Using the eyedropper tool to pick the colour from the swatches works here. Tore > 5. des. 2017 kl. 22:55 skrev Klaus major-k via use-livecode > : > > Hi

Mac color chooser swatches do not work?

2017-12-05 Thread Klaus major-k via use-livecode
Hi friends, before I create a report, can someone please confirm that we cannot use the "swatches" at the bottom of the Mac color chooser? Clicking them does nothing, we have to"re-create" the color with the sliders (or Crayons or whatever we choose for selecting a color). Works of course in

Re: Datagrid 2

2017-12-05 Thread Mike Kerner via use-livecode
Oh I'm an idiot. It's not mobtablefield, it's modtablefield Email: bernd@bernd.niggem...@uni-wh.de to make sure you have the latest version. On Tue, Dec 5, 2017 at 3:44 PM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike, > > do you have an url where i can find

Re: Datagrid 2

2017-12-05 Thread Kevin Miller via use-livecode
I gave a demo of the progress on it in the last LCG. Its still on track for completion in the last DP before Christmas. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 05/12/2017, 18:50, "use-livecode on behalf of Tom

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
I don’t really know if it was DropBox exactly, but I got a temporary glitch that made my Mac freeze the first time I tried to download your zip file via the linkg. I tried it again just now and it worked. If I find out any more about what I did, I’ll let you know! Graham > On 5 Dec 2017, at

Re: Datagrid 2

2017-12-05 Thread Matthias Rebbe via use-livecode
Mike, do you have an url where i can find mobTableField or more information about it? Regards, Matthias > Am 05.12.2017 um 20:52 schrieb Mike Kerner via use-livecode > >: > > Tom, > The other option is to use mobTableField

Re: libUrl tsNet and socketTimeoutInterval

2017-12-05 Thread Sannyasin Brahmanathaswami via use-livecode
Finding answers faster than expected. Spotify seems to want minimum 96kbps. If we use this for our own app/mp3's delivered by CloudFlare -- God only knows it that makes any sense at all… but we have to start somewhere… Now, I'm not super savvy on these units but I think this means 96 X 125

Re: Datagrid 2

2017-12-05 Thread Mike Kerner via use-livecode
Tom, The other option is to use mobTableField (I think Bernd is the author) if you don't need all the bells and whistles of the DG. I'm using both in different mobile apps. The original DG works fine even for large DG's with horizontal and vertical scrolling, but MTF is even more responsive. ETA

Re: libUrl tsNet and socketTimeoutInterval

2017-12-05 Thread Sannyasin Brahmanathaswami via use-livecode
@ Charles (and anyone else) using tsNetSetTimeouts 30, 0, 30, 6, 30, 1000 I need to implement this in our app… "minimum amount of data…" is obviously different from "no connection whatsoever" Your example assumes that for this use case, 30 seconds is acceptable. That may well be

Re: Naive Player Questions

2017-12-05 Thread Richmond Mathewson via use-livecode
I stand corrected! You are indeed right: I moved my "carrot.mp3" file out of the same folder as the stack and, no, no sound despite their being an embedded "carrot.mp3" file in the stack. What a bu**er. Richmond. On 5/12/17 8:45 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am

Datagrid 2

2017-12-05 Thread Tom Glod via use-livecode
Hi folks, I'm bidding on a project and would like to get a sense as to the eta of datagrid 2 especially on mobile. I would love to buy a LC Indy License and do the job. During Campaign the eta was oct/november, but i get they are just estimates. Is there a more up to date eta? Thanks, Tom

Re: Naive Player Questions

2017-12-05 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 05.12.2017 um 19:38 schrieb Richmond Mathewson via use-livecode > : > > NO: a player does not "demand" an external file as my example stack > demonstrates: > https://www.dropbox.com/s/9v2juqqu7ojb83v/Carrot%20Player.livecode.zip?dl=0 > [ and I

Re: Naive Player Questions

2017-12-05 Thread Richmond Mathewson via use-livecode
NO: a player does not "demand" an external file as my example stack demonstrates: https://www.dropbox.com/s/9v2juqqu7ojb83v/Carrot%20Player.livecode.zip?dl=0 [ and I would be VERY interested to know, Graham, what that did to your DropBox ] The player in that stack plays an embedded mp3

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
Thanks to Panos and to Jacque (and earlier to Richmond, even if his link had an alarming effect on my DropBox!). Am I right to think the LC documentation is deficient in this area, or did I just miss it? For example, although it’s in the LC dictionary, “playstopped” can’t be found by searching

LC Server style survey: co-mingle code w/HTML?

2017-12-05 Thread Richard Gaskin via use-livecode
I have some tools I developed for server apps, which allow me to develop and test both client and server within the same local LC IDE instance. As you can imagine, this has improved development efficiency by orders of magnitude. It's much a much more xTalk-like way of working, and once you

Re: Why is node.js faster than LC server?

2017-12-05 Thread Jonathan Lynch via use-livecode
As always, Mark - thank you for that excellent detailed response. It gave me much to consider. Sent from my iPhone > On Dec 5, 2017, at 12:55 PM, Richard Gaskin via use-livecode > wrote: > > Andre Garzia wrote: > > > Some other languages support full threads

Re: Why is node.js faster than LC server?

2017-12-05 Thread Richard Gaskin via use-livecode
Andre Garzia wrote: > Some other languages support full threads and some even allow you to > fork(). Can you describe what you mean by fork() here? In a discussion a while back I made reference to an earlier post you'd made about fork(), but the response from the engine team left me with the

Re: Naive Player Questions

2017-12-05 Thread J. Landman Gay via use-livecode
Specialfolderpath("resources") is especially convenient in another way. In a standalone it points to the location of the files that were added to the Copy Files pane of the standalone settings. But in the IDE it points to the folder containing the current mainstack. If you organize your files

Re: Why is node.js faster than LC server?

2017-12-05 Thread Mark Waddingham via use-livecode
Apologies for the top post, but it seemed easier than responding to the rather long single-track thread this has generated. :) On 2017-12-04 12:32, Jonathan Lynch via use-livecode wrote: In looking at node.js it seems that two things stand out - LC server waits for the database to send a

Re: Naive Player Questions

2017-12-05 Thread panagiotis merakos via use-livecode
Lol hahaha, sorry :) I meant "playrate", and indeed I wrote "playrate", but Safari auto-complete keeps changing it to "playmate" :) Best, Panos -- On Tue, Dec 5, 2017 at 3:58 PM, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Panos, > > > Am 05.12.2017 um 14:17

Re: Why is node.js faster than LC server?

2017-12-05 Thread Jonathan Lynch via use-livecode
Hello again - this page describes some of the things I am talking about: https://mariadb.com/kb/en/library/using-the-non-blocking-library/ If LC had a mechanism to use the non-blocking functions in a database, like the library for MariaDB described in that page, then we could eliminate all of

Re: Naive Player Questions

2017-12-05 Thread Klaus major-k via use-livecode
Hi Panos, > Am 05.12.2017 um 14:17 schrieb panagiotis merakos via use-livecode > : > ... > You can do that by checking "the playmate of player 1". ... where "Player 1" = Hugh Heffner (RIP)? :-D Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de

Re: Naive Player Questions

2017-12-05 Thread Sannyasin Brahmanathaswami via use-livecode
Panos wrote: You can do that by checking "the playmate of player 1". If it is 0, then the player does not play "playmate" ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Why is node.js faster than LC server?

2017-12-05 Thread Jonathan Lynch via use-livecode
Thank you Andre, The fact that one of the bottlenecks is in waiting for the database to get the data back is what I was targeting. If LC just sends a request to a different program, and that program spawns a new thread for each request, then LC is free to keep working. In this way, LC would be

Re: Why is node.js faster than LC server?

2017-12-05 Thread Andre Garzia via use-livecode
Jonathan, It is not that simple. There is no silver bullet that can be added to a language to make it scale by couple orders of magnitude like this. LiveCode engine while is executing your business logic is not doing anything else (it might be tidying up the house bit, I haven't looked at it but

Re: Naive Player Questions

2017-12-05 Thread panagiotis merakos via use-livecode
Hi Graham, In short: *- embedding an MP3, or alternatively providing a path to the default folder for the MP3 file for standalone creation* Include the .mp3 file (say "myFile.mp3") in the "Copy Files" section. This will be accessible from the **standalone** using the

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
Thanks Panos - I know that. I am however looking for comprehensive instructions as to how to use a player object via script, e.g - embedding an MP3, or alternatively providing a path to the default folder for the MP3 file for standalone creation - starting the player - monitoring the player

Re: Why is node.js faster than LC server?

2017-12-05 Thread Jonathan Lynch via use-livecode
To make this happen, it seems like we would need an external that multithreads database queries and sends the query results back to LC as a new message. It would have to bring in a new ID for each request and return that ID with the result. Can the ODBC external do that? Sent from my iPhone

Re: Naive Player Questions

2017-12-05 Thread panagiotis merakos via use-livecode
Hi all, The command "play ' on desktop plays the file as an audioclip, and audio clips can be in WAV, AIFF, or AU format. If you want to play an mp3 file, you have to use a player object. Best, Panos -- On Tue, Dec 5, 2017 at 11:06 AM, Richmond Mathewson via use-livecode <

Re: Naive Player Questions

2017-12-05 Thread Richmond Mathewson via use-livecode
Happy, Happy 5th of December: by sheer chance I stumbled on how to do this . . . In fact the whole thing is dead easy (not, admittedly clear from the Dictionary). http://forums.livecode.com/viewtopic.php?f=7=30258=161069#p161069 Best, Richmond. On 5/12/17 12:47 am, Graham Samuel via

Re: Naive Player Questions

2017-12-05 Thread Richmond Mathewson via use-livecode
https://www.dropbox.com/s/phplc4g1noardab/Carrot.livecode.zip?dl=0 No player object: on Macintosh the mp3 file comes out as "squishy noise". Richmond. On 5/12/17 12:47 am, Graham Samuel via use-livecode wrote: Hi - perhaps due to not picking the right search terms in the documentation, I am