Damn I missed it - happy 20th birthday!

2024-03-17 Thread Ben Rubinstein via use-livecode
Sorry it's two days late, but happy 20th birthday to https://quality.livecode.com/show_bug.cgi?id=1372 ... and many happy returns? (I would have forgotten altogether but a colleague asked me how to do this conversion and I had to tell him about the workaround, and that he'd then have to code

Re: tsNetCustomUploadSync: what am I doing wrong? (Answer: RTFM-P)

2024-01-24 Thread Ben Rubinstein via use-livecode
For the record: > put tsNetCustomUploadSync(tURL, "POST", tRequestData, tHeaders, ... should have been > put tsNetCustomUploadSync(tURL, "POST", tHeaders, tRequestData, ... :facepalm-emoji: Ben On 22/01/2024 21:48, Ben Rubinstein via use-livecode

tsNetCustomUploadSync: what am I doing wrong?

2024-01-22 Thread Ben Rubinstein via use-livecode
I'm trying to use tsNetCustomUploadSync, but something is going wrong. To establish a baseline, I'm using it to do a POST request. I can prove that my data is good because this works: set the httpHeaders to tHeaders post tRequestData to URL tURL put it into fld "ResultData"

Re: [OT] The Fall of the British Empire???

2023-11-18 Thread Ben Rubinstein via use-livecode
> When exactly did the British Empire fall?? Just like Hemingway's bankruptcy: slowly at first, then suddenly. Lost the American colonies 1776-1783. Canada 1867 - 1931 Australia and New Zealand 1901 - 1931 South Africa 1910- 1931 Ireland (mostly) 1919-1937 Egypt 1922 Iraq 1932 1940s India,

Re: Modify timeout for shell function

2023-11-02 Thread Ben Rubinstein via use-livecode
Hi Mark, That's helpful, thank you. Ben On 01/11/2023 15:16, Mark Waddingham via use-livecode wrote: On 2023-11-01 11:20, Ben Rubinstein via use-livecode wrote: An install which runs daily and makes a number of calls using the shell function occasionally reports The process

Modify timeout for shell function

2023-11-01 Thread Ben Rubinstein via use-livecode
An install which runs daily and makes a number of calls using the shell function occasionally reports The process "..." exceeded the timeout of 10 seconds. I'm not sure where this timeout is defined; I'm not totally sure where this message is coming from (the shell? LiveCode? the

Re: OAuth2 broken in LC 10 (dp6)

2023-09-08 Thread Ben Rubinstein via use-livecode
and copy the url the browser is trying to open that would be helpful but we can do that once we have the parameters. Thanks Monte On 8 Sep 2023, at 7:02 am, Ben Rubinstein via use-livecode wrote: Am I doing something wrong, or is OAuth2 broken in LC 10? (Using dp6, but also true of dp5). When I

OAuth2 broken in LC 10 (dp6)

2023-09-07 Thread Ben Rubinstein via use-livecode
Am I doing something wrong, or is OAuth2 broken in LC 10? (Using dp6, but also true of dp5). When I call OAuth2, it attempts to open a link in my default browser, instead of in a sheet on the stack. This doesn't display anything. Same stack works fine in 9.6.10 and all earlier versions I've

Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-08-21 Thread Ben Rubinstein via use-livecode
- but it's not mentioned in the release notes for 10.0.0dp6. :-( On 26/07/2023 09:58, Ben Rubinstein via use-livecode wrote: Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture back into 10dp5 and turn that off. Thanks Geoff! On 26/07/2023 03:49, Geoff Canyon via use

Browser widget: "Navigation request cancelled"

2023-08-15 Thread Ben Rubinstein via use-livecode
Trying to use the browser widget to access an internal site, I'm having a lot of trouble. If I send it (by setting the URL property of the widget) to the root of the hostname, it loads the page succesfully, although the widget gets a browserDocumentLoadFailed message "navigation request

Browzer widget zoom/scale?

2023-08-10 Thread Ben Rubinstein via use-livecode
Is there a way to set the 'zoom level' for the browser widget? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-26 Thread Ben Rubinstein via use-livecode
Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture back into 10dp5 and turn that off. Thanks Geoff! On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote: So, not to be too much of an apologist, but the issue doesn't seem like a showstopper to me. On Tue, Jul 25,

How to persuade LC to accept Xcode for mobile support?

2023-07-25 Thread Ben Rubinstein via use-livecode
Apologies for what is surely a FAQ, but I can't find this in the archives. Using LC 9.6.8 on macOS 12.6.7 with Xcode 13.4.1, trying to get set up for building to iOS for the first time in a long while; and failing at the first hurdle. In Preferences, Mobile Support, under iOS SDKs, I click

Re: Which Livecode/Xcode/macOS/iOS version

2023-07-25 Thread Ben Rubinstein via use-livecode
On 25 Jul 2023, at 11:06, Ben Rubinstein via use-livecode wrote: Somewhere on the livecode.com there used to be a very useful table which showed which versions of Livecode could run on which versions of macOS with which versions of Xcode in order to build to which versions of iOS. I can't find

Which Livecode/Xcode/macOS/iOS version

2023-07-25 Thread Ben Rubinstein via use-livecode
Somewhere on the livecode.com there used to be a very useful table which showed which versions of Livecode could run on which versions of macOS with which versions of Xcode in order to build to which versions of iOS. I can't find it now... can anyone point me at it? Many thanks, Ben

Re: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-25 Thread Ben Rubinstein via use-livecode
It's particularly frustrating because there are some good things in LC 10 that I'd like to be looking at/exploiting; but there's a vicious bug in the current DP script editor that can cause loss of work*, which prevents me doing anything with it. Just a new DP that includes a fix for this bug

Re: Crazy question: is it possible/reasonable to use Python in LC?

2023-07-17 Thread Ben Rubinstein via use-livecode
"do ... as python" ?? On 13/07/2023 21:03, Geoff Canyon via use-livecode wrote: I've been playing with Python, and it has a lot of nice qualities, but a built-in GUI isn't one of them (no apologies to tkinter). So it would be interesting/nice to be able to open LC, add a button to a stack, and

Browser widget "Navigation request cancelled"/"NSURLErrorDomain error -999"

2023-07-16 Thread Ben Rubinstein via use-livecode
I'm finding intermittent issues with the browser widget failing to load an internal site. In 9.6.8, the error (in browserDocumentLoadFailed) will usually be "NSURLErrorDomain error -999". In 10.0.0 (dp 5) it will be "Navigation request cancelled". Alternatively, sometimes (at least in

Re: [OT ish] Visual Code Editor and Line Endings

2023-07-12 Thread Ben Rubinstein via use-livecode
I agree that the behaviour of the editors is very annoying. But LC is also needs to get with the program. On the positive side, it interprets any combination of LF, CR, CRLF as a line break when reading a file as text. But it persists in writing text files with a platform dependent encoding

Re: Inclusions and JSON

2023-05-10 Thread Ben Rubinstein via use-livecode
Further to this: dear LiveCode, please make the Inclusions selector in the standalone settings window navigable - at least sortable by name, platform, selected; even-better-if can be filtered. See also https://quality.livecode.com/show_bug.cgi?id=18199, which includes a comment in 2017

Re: Problem using AppleScript of "system events" to click a location on screen

2023-04-27 Thread Ben Rubinstein via use-livecode
rather than clicking it (in LC 9.6.7 IDE, or standalone built from any version); or execution error in later IDEs. On 27/04/2023 16:42, Ben Rubinstein via use-livecode wrote: I had a need to click on an element in a web page loaded in a browser widget on a card. There might be an elegant way to do t

Problem using AppleScript of "system events" to click a location on screen

2023-04-27 Thread Ben Rubinstein via use-livecode
I had a need to click on an element in a web page loaded in a browser widget on a card. There might be an elegant way to do this using javascript injected into the widget, but I'm too ignorant to figure it out. So to save time (hah!), I though I could use the accessibility functionality to

Re: "get in widget"?? How can I get a value out of a browser widget into LiveCode?

2023-04-18 Thread Ben Rubinstein via use-livecode
t "Browser" to "myJSHandler" ... and then have javascript pass the expression to that handler: do "liveCode.myJSHandler(document.title);" in widget "browser" On 17/04/2023 16:17, Ben Rubinstein via use-livecode wrote: Thanks Klaus, I tried both of t

Re: "get in widget"?? How can I get a value out of a browser widget into LiveCode?

2023-04-17 Thread Ben Rubinstein via use-livecode
nt.title" in widget "browser"; put the result just put empty. Any other ideas? I don't know whether I need to do something different in the livecode end (probably) or in the javascript end. TIA, Ben On 17/04/2023 16:11, Klaus major-k via use-livecode wrote: Hi Ben, Am

"get in widget"?? How can I get a value out of a browser widget into LiveCode?

2023-04-17 Thread Ben Rubinstein via use-livecode
Thanks to this list, I know about "do in widget" that can cause some javascript to be evaluated in the current page in the browser widget. Which is great. But how do I get (into LiveCode) the result of a javascript expression? TIA, Ben ___

Debugging LiveCode Builder scripts (widgets)

2023-03-30 Thread Ben Rubinstein via use-livecode
I'm trying to track down an obscure crashing bug in a widget. With thanks to Mikey for https://github.com/macMikey/LCB-missing-manual/wiki/debugging, I've mostly been able to get by using 'log' as my primary debugging method, for all my simple scripting errors. However in this case the

Re: Is it possible to use a reverse direction for offset

2023-03-23 Thread Ben Rubinstein via use-livecode
https://quality.livecode.com/show_bug.cgi?id=584 (20th anniversary this September!) Also https://quality.livecode.com/show_bug.cgi?id=8353 On 23/03/2023 11:35, François via use-livecode wrote: I would like to search for a string within another string, starting at a given position, but

Re: LCB development (LCB CLM module)

2023-03-15 Thread Ben Rubinstein via use-livecode
://github.com/macMikey/LCB-missing-manual On Wed, Mar 15, 2023 at 6:43 AM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: I didn't even know (had forgotten) that there was an extension builder! That's great. Searching the archives to find out where this special thing

Re: BBEdit/Textwrangler LCM for livescript

2023-03-15 Thread Ben Rubinstein via use-livecode
The links below, alas, are no longer live (well it has been seven+ years). Are these CLMs or later versions available anywhere? Many thanks, Ben On 10/09/2015 15:35, jameshale wrote: Updated livecodeBuilder CLM to adjust function regex so that function names appear in BBEdit's function

Re: LCB development

2023-03-15 Thread Ben Rubinstein via use-livecode
is obviously what I should have read in the first place. Thanks all! Ben On 14/03/2023 18:02, Mark Wieder via use-livecode wrote: On 3/14/23 10:08, Ben Rubinstein via use-livecode wrote: I last dabbled with LCB about five years ago - but now I have a need to get in there again

LCB development

2023-03-14 Thread Ben Rubinstein via use-livecode
I last dabbled with LCB about five years ago - but now I have a need to get in there again. Are there any tips that you-all can share? In particular: - what if anything is available for debugging LCB widgets? - I've found a reference to a LiveCode Builder CLM module developed by James Hale

Re: Browser Widget navigation and urls

2023-02-06 Thread Ben Rubinstein via use-livecode
The website might be actually a JavaScript 'app' that's displaying different information rather than navigating to different pages, which is now a very popular web dev technique. A responsible implementation of this approach includes a non-JS fallback, for accessibility purposes; and makes

Re: Cross-platform font comparison

2023-01-30 Thread Ben Rubinstein via use-livecode
Thank you Neville for this diligent work! A very useful contribution. Ben On 29/01/2023 03:56, Neville Smythe via use-livecode wrote: I have at last completed the compilation of a font database to examine the issues concerning the differences in rendering text on Mac Monterey, Windows 10 and

Re: Ignoring accented characters

2022-09-27 Thread Ben Rubinstein via use-livecode
Hi jbv, This one of a number of gaps that exist in the jungle of character processing in LiveCode. I don't think there is a 'diacriticSensitive' property. Some part of LiveCode are clever about accents, see e.g. https://quality.livecode.com/show_bug.cgi?id=15312

Re: Complete Advanced Networking Layer?

2022-07-15 Thread Ben Rubinstein via use-livecode
letes Am 15.07.2022 um 16:22 schrieb Ben Rubinstein via use-livecode : Is there reference documentation anywhere for the "Complete Advanced Networking Layer" which is included in the "Pro Features Pack"? TIA, Ben ___ use-live

Complete Advanced Networking Layer?

2022-07-15 Thread Ben Rubinstein via use-livecode
Is there reference documentation anywhere for the "Complete Advanced Networking Layer" which is included in the "Pro Features Pack"? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: What is the best way to trigger an action at a certain time?

2022-07-13 Thread Ben Rubinstein via use-livecode
suppose. Bob S On Jul 12, 2022, at 13:15 , Ben Rubinstein via use-livecode wrote: I think I may not have been very clear. This isn't LiveCode doing anything special; just a standalone LiveCode app that either does something immediately on launch (and then quits), or inspects the command line

Re: What is the best way to trigger an action at a certain time?

2022-07-12 Thread Ben Rubinstein via use-livecode
a use-livecode wrote: It seems to me that if you have an open socket to listen for commands, you could have the chron or windows scheduler send those commands to your LC app. Ben, some syntax would be helpful. Bob S On Jul 12, 2022, at 07:48 , Ben Rubinstein via use-livecode wrote: Hi Tim,

Re: What is the best way to trigger an action at a certain time?

2022-07-12 Thread Ben Rubinstein via use-livecode
Hi Tim, On 11/07/2022 12:35, Tim Selander via use-livecode wrote: I want to have an LC app running on a computer doing nothing but watching the time. At predetermined times, I then want it to run a command. A call to an API on a website. My $0.02, FWIW: it this is really all your app is

Re: Have we lost the Oracle driver?

2022-06-09 Thread Ben Rubinstein via use-livecode
next...? TIA, Ben On 03/03/2022 17:14, Ben Rubinstein via use-livecode wrote: Hi Panos, Alas, that's made no difference. Does this error message "revdberr,invalid database type" actually indicate a failure to load the driver, or can it also occur if the driver was loaded but there

Re: Would anyone miss convertOctals?

2022-06-09 Thread Ben Rubinstein via use-livecode
1) No (or didn't until I looked just now) 2) N/A 3) N/A 4) N/A On 09/06/2022 13:44, Mark Waddingham via use-livecode wrote: So I'm currently sitting here about to embark on fixing (which is the final thing to sort out before being able to

Re: MacOS on M1: forcing universal app to open using rosetta from terminal?

2022-06-07 Thread Ben Rubinstein via use-livecode
x86-terminal-apps-like-homebrew-on-your-new-m1-mac-73bdc9b0f343> Regards, Matthias Am 07.06.2022 um 00:01 schrieb Ben Rubinstein via use-livecode : Not strictly speaking a LiveCode question, but... I've resolved what I thought was possibly an LC confusion as my misunderstanding. With a uni

MacOS on M1: forcing universal app to open using rosetta from terminal?

2022-06-06 Thread Ben Rubinstein via use-livecode
Not strictly speaking a LiveCode question, but... I've resolved what I thought was possibly an LC confusion as my misunderstanding. With a universal app on an M1 Mac, you can set a checkbox in the "Get Info" properties inspector of the app to "Open using Rosetta". But this checkbox only

Reporting Apple Silicon anomalies (Re: [[ ANN ]] Release 9.6.8 RC-1)

2022-06-06 Thread Ben Rubinstein via use-livecode
Hi Panos, This is very exciting, thank you. If we find anomalies in the Apple Silicon side, should we raise them in the first instance - to you directly? - on this list? - straight into LQCC? thanks, Ben On 31/05/2022 16:27, panagiotis merakos via use-livecode wrote: Dear list members,

Re: Re Pulldownmenu button bug on Windows

2022-05-12 Thread Ben Rubinstein via use-livecode
Ditto that. There should be a "Lifetime contribution" award for Livecode heroes. Ben On 09/05/2022 14:54, Craig Newman via use-livecode wrote: Richard. So glad to have you in this world. Craig On May 7, 2022, at 5:35 PM, Bob Sneidar via use-livecode wrote: Well put. I wonder what the

Re: Tools & techniques for one-off consolidation of multiple 'similar' CSV files?

2022-04-04 Thread Ben Rubinstein via use-livecode
Hi Keith, I feel your pain. I spend a lot of time doing this kind of manipulation. I generally avoid CSV, the format of the devil. If necessary I have a library that does a reasonable job of converting CSV to TSV, and run everything through that. Let's just assume for now that you've already

Can't get jsonToArray in standalones ?

2022-04-04 Thread Ben Rubinstein via use-livecode
Building a standalone that uses jsonToArray. Works fine in the IDE. If I use "search for required inclusions" when building the standaline, then when the script calls jsonToArray it throws error 219 (Function: error in function handler). If I use "select inclusions", and check "JSON

Re: revOpenDatabase over SSH tunnel?

2022-03-14 Thread Ben Rubinstein via use-livecode
I can't speak for most of the world, but in the past where we've directly connected to MySQL over the internet that's always been limited by IP (which as you doubtless know is built-in to the permissions system). The difference for me in this case is that instead of talking to a dedicated

revOpenDatabase - ODBC - on Ubuntu - failing with empty error

2022-03-10 Thread Ben Rubinstein via use-livecode
Thanks to everyone who's responded to my woes over the last few days. I'm making progress, but have hit a new hurdle. I know have the LC-built app running in a Docker container on Ubuntu 18. It's set up with an ODBC connection to an Oracle database. I can test the connection on the command

Re: What version of Ubuntu does LiveCode (9.6.6) support?

2022-03-10 Thread Ben Rubinstein via use-livecode
To record an answer to my own question, for completeness: it appears that standalones built from LiveCode 9.6.6, at least, seems to work fine on Ubuntu 18.04.2 LTS, at least. You may need to install some additional libraries. Phew! Ben On 10/03/2022 15:29, Ben Rubinstein via use-livecode

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
it worked for me. No unencrypted data went "over the wire". The reason I developed this method is because I do not want to deal with expiring security certificates or secure websites to handle the data transfer. The method works out of the box. Bob S On Mar 10, 2022, at 03:34 , Be

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
wait i could send you that guide. Regards, Matthias Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode : I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
ike: sudo apt-get install expat or sudo apt-get install libexpat Kind regards, Panos On Thu, 10 Mar 2022 at 17:15, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Stephen, Built on Mac. I didn't zip it because I've got a folder shared with the Docker container,

Re: revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
send you that guide. Regards, Matthias Am 10.03.2022 um 12:34 schrieb Ben Rubinstein via use-livecode : I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
ile before uploading ? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Mar 10, 2022 at 6:50 AM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: I'm trying to develop an app which will run headless on Linux (actually in a docker container). I've done this b

What version of Ubuntu does LiveCode (9.6.6) support?

2022-03-10 Thread Ben Rubinstein via use-livecode
Just read the release notes (for 9.6.6, but also for 10.0.0.dp2) which say LiveCode supports the following Linux distributions, on 32-bit or 64-bit Intel/AMD or compatible processors: Ubuntu 14.04 and 16.04 Fedora 23 & 24 Debian 7 (Wheezy) and 8 (Jessie) [server]

Re: Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
... same result. Thanks anyway! Ben On 10/03/2022 14:56, Stephen Barncard via use-livecode wrote: Hi Ben, Did you make the standalone on mac or win and zip the file before uploading ? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Mar 10, 2022 at 6:50 AM Ben Rubinstein via use

Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

2022-03-10 Thread Ben Rubinstein via use-livecode
I'm trying to develop an app which will run headless on Linux (actually in a docker container). I've done this before... so long ago that I can't remember... with an earlier version of this app. Normally I run this on Mac and Windows. So (under LiveCode 9.6.6) I simply checked the Linux 64

revOpenDatabase over SSH tunnel?

2022-03-10 Thread Ben Rubinstein via use-livecode
I need to access a (MySQL) database on a remote service - which has to be done over an SSH tunnel. Has anyone done this in LiveCode? Is it trivial/possible/impossible? TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Have we lost the Oracle driver?

2022-03-03 Thread Ben Rubinstein via use-livecode
3 Mar 2022 at 15:25, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Panos, LiveCode 9.6.6 on macOS 10.15.7 (Catalina). I've downloaded the Oracle stuff but it doesn't seem to have an install script - where should I put "libclntsh.dylib.11.1"? thanks for

Re: Have we lost the Oracle driver?

2022-03-03 Thread Ben Rubinstein via use-livecode
-macos.x64-11.2.0.4.0.zip Kind regards, Panos -- On Tue, 1 Mar 2022 at 19:46, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Mark, Thanks for responding. Indeed 'the revLicenseInfo` returned "...commercial". After re-licensing, it now says "...p

Re: Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
s good; but I still can't get at the database! Can you suggest where my next issue might be? Many thanks, Ben On 01/03/2022 16:08, Mark Waddingham via use-livecode wrote: On 2022-03-01 15:51, Ben Rubinstein via use-livecode wrote: Hi Matthias, Good spot! Thanks for checking. I wonder whe

Re: Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
are there. Matthias Am 01.03.2022 um 16:24 schrieb Ben Rubinstein via use-livecode : A long time ago I used to access Oracle directly from a LiveCode app. For some years now I've only done this via ODBC, though I don't recall why that changed. The Dictionary entry for revOpenDatabase lists five

Have we lost the Oracle driver?

2022-03-01 Thread Ben Rubinstein via use-livecode
A long time ago I used to access Oracle directly from a LiveCode app. For some years now I've only done this via ODBC, though I don't recall why that changed. The Dictionary entry for revOpenDatabase lists five variants ("mysql", "odbc", "sqlite", "postgresql", "oracle"); but the User Guide

Re: Extracting Unicode text from Oracle over ODBC

2022-03-01 Thread Ben Rubinstein via use-livecode
: With the caveat that I know nothing about it, the normalize and formSensitive functions sound related. On 2/28/22 11:50 AM, Ben Rubinstein via use-livecode wrote: I'm trying to extract text from an Oracle database, via ODBC, on Windows. (Using the 64 bit "Oracle in instantclient_19_5".) Gene

Extracting Unicode text from Oracle over ODBC

2022-02-28 Thread Ben Rubinstein via use-livecode
I'm trying to extract text from an Oracle database, via ODBC, on Windows. (Using the 64 bit "Oracle in instantclient_19_5".) Generally fine, except that where the text contains Unicode characters beyond the Windows Latin1/CP512 character set, I'm not getting them. I'm not getting random

Re: MobileVibrate

2022-02-27 Thread Ben Rubinstein via use-livecode
Hi Jacque, On 27/02/2022 21:00, J. Landman Gay via use-livecode wrote: I didn't see an inclusion for it, so either I missed it or we don't need one. (It would sure help if we could search for inclusions in that long list.) According to this https://quality.livecode.com/show_bug.cgi?id=18199

Re: [ANN] Release 9.6.6 RC-1

2021-12-21 Thread Ben Rubinstein via use-livecode
Christmas is a time of gifts indeed! Thanks to everyone at LiveCode for all your hard work. best wishes, Ben On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: Dear list members, We are pleased to announce the release of LiveCode 9.6.6 RC-1. Getting the Release

Re: regex backreferences

2021-12-17 Thread Ben Rubinstein via use-livecode
it. Anything we can do to support this request and expedite it? On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > If there isn't a featur

Re: regex backreferences

2021-12-17 Thread Ben Rubinstein via use-livecode
On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: If there isn't a feature request for it, there should be. https://quality.livecode.com/show_bug.cgi?id=21534 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

OT Re: Record audio on Mac

2021-12-10 Thread Ben Rubinstein via use-livecode
Marc, we can tell you're not in the UK. Right now, the phrase that "I have been assured" has quite low credibility on this side of the Atlantic! Ben On 10/12/2021 14:14, Marc Siskin via use-livecode wrote: I have been reasonably assured that in LC 10 there will be a simplified/unified way

Re: How to restrain impatient tsNet?

2021-11-09 Thread Ben Rubinstein via use-livecode
formation Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Ben Rubinstein via use-livecode Sent: Sunday, November 07, 2021 4:55 PM To: use-livecode@lists.runrev.com Cc: Ben Rubinstein Subject: Re: How to restrain

Re: How to restrain impatient tsNet?

2021-11-07 Thread Ben Rubinstein via use-livecode
m 18:50 schrieb Mark Waddingham via use-livecode : I think tsNetSetTimeouts is what you need :) Warmest Regards, Mark Sent from my iPhone On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote:  I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the

How to restrain impatient tsNet?

2021-11-07 Thread Ben Rubinstein via use-livecode
I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it

Re: Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
ll problem? Maybe your standalone was blocked without any notification. Regards, Matthias Am 24.09.2021 um 13:39 schrieb Ben Rubinstein via use-livecode : Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? What I'm seeing is that the process is su

Re: Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
Hmmm. Thanks Trevor. On 24/09/2021 13:00, Trevor DeVore via use-livecode wrote: On Fri, Sep 24, 2021 at 6:40 AM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? … Be

Building Windows standalones on Mac with LC 9.6.4 or later - apps not launching?

2021-09-24 Thread Ben Rubinstein via use-livecode
Has anyone else encountered an issue building Windows standalones from LC 9.6.4 or 9.6.5 on Mac? What I'm seeing is that the process is suspiciously fast; but generates the expected files (.exe, the various dlls); and the .exe is the expected size, almost identical to what is produced under

Re: export a stack and recreate it it by script

2021-09-15 Thread Ben Rubinstein via use-livecode
Hi Malte, I have one (not used for many a year) that exports to XML including scripts, properties, contents etc. I used it to diff - never wrote an importer for it. But if you don't find what you need elsewhere, this might do half the job. Let me know if you want it. Ben On 15/09/2021

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-13 Thread Ben Rubinstein via use-livecode
Thanks Mark, now I get it! Ben On 12/09/2021 12:09, Mark Waddingham via use-livecode wrote: On 2021-09-10 19:10, Ben Rubinstein via use-livecode wrote: The other was The only caveat is that it might cause apps mutating lots of medium->large strings concurrently to take up more mem

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-10 Thread Ben Rubinstein via use-livecode
Hi Mark, Thank you for this, very promising. Only two things puzzled me. One you've already addressed when you corrected the specified cheese. The other was The only caveat is that it might cause apps mutating lots of medium->large strings concurrently to take up more memory in general... >

Re: RCs and DPs

2021-09-09 Thread Ben Rubinstein via use-livecode
Aha, thanks Martin - I missed that. cheers, Ben On 09/09/2021 17:37, Martin Koob wrote: Hi Ben This is a change, they used to be there but then there was a policy change by LiveCode that was announced back in May On May 6, 2021, at 7:25 AM, The LiveCode Team

RCs and DPs

2021-09-09 Thread Ben Rubinstein via use-livecode
As well as the expected stripping out of community versions from https://downloads.livecode.com/livecode/, it seems that all RCs and DPs have gone, leaving only STABLE versions (or have I just mis-remembered that they used all to be there?). Is there going to be a change in how RCs and DPs

Re: Send a table in an email.

2021-09-09 Thread Ben Rubinstein via use-livecode
Hi Sean, Not to wind you up with yet another 'helpful' suggestion... but here's what I would do, if I've understood you correctly. I think you're formatting a nice message in a field using LC styling; then using the Mime Encoder feature to format it to include in an email. But when you try

Re: SE Show Globals inverted

2021-09-08 Thread Ben Rubinstein via use-livecode
I've not knowingly seen this issue. But while we're discussing viewing global variables, I still mourn this regression introduced in LC 8, when the message box stopped allowing inspection of arrays in global variables (the SE still does): https://quality.livecode.com/show_bug.cgi?id=17478 And

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
On 08/09/2021 14:20, Mark Waddingham via use-livecode wrote: I also wonder whether this might be the moment to introduce another bit of (completely non-breaking) syntactic sugar: https://quality.livecode.com/show_bug.cgi?id=8945 Hehe - with integers being unbounded, there are plenty more

Re: Text encoding: summary of results and times.

2021-09-08 Thread Ben Rubinstein via use-livecode
S On Sep 8, 2021, at 02:42 , Ben Rubinstein via use-livecode wrote: On 07/09/2021 17:22, Bob Sneidar via use-livecode wrote: This makes sense to me (I think) because if I am not mistaken, UTF16 is Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was precicely the support

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
Array["a"]["b"] or tArray[1][2] ? On 08/09/2021 14:20, Mark Waddingham via use-livecode wrote: On 2021-09-08 13:09, Ben Rubinstein via use-livecode wrote: I'm also excited by the items in this list, at least the ones that I understand. I am a bit disturbed by

Re: AW: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Ben Rubinstein via use-livecode
and is chilling for every newbe! I tried all tweaks without result. For me the hassle started with LC 7 (if I remember right) Tiemo -Ursprüngliche Nachricht- Von: use-livecode Im Auftrag von Ben Rubinstein via use-livecode Gesendet: Mittwoch, 8. September 2021 14:14 An: Andre Garzia via use

Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Ben Rubinstein via use-livecode
May I repeat my request that anyone experiencing these issues on Windows (Andre, Lagi, Bob), could if possible confirm whether they find the same applies using LC 6.7? It would be good to understand if this has always been an issue, or whether it came in with the switch to LC7, as we know

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Ben Rubinstein via use-livecode
I'm also excited by the items in this list, at least the ones that I understand. I still haven't fully understood the one Alex raises below, but I'm content that it won't bother me until I do. I am a bit disturbed by the Tail Expressions one, because to the extent that I do understand it, I

Re: Text encoding: summary of results and times.

2021-09-08 Thread Ben Rubinstein via use-livecode
On 07/09/2021 17:22, Bob Sneidar via use-livecode wrote: This makes sense to me (I think) because if I am not mistaken, UTF16 is Unicode, and UTF8 is simple ASCII. The slowdown from 6.7 to 7.0 was precicely the support for Unicode text. Someone will correct me if I am wrong about this. As a

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-03 Thread Ben Rubinstein via use-livecode
Regards, Bernard. On Mon, Aug 30, 2021 at 8:23 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: Thanks to Mark Waddingham's advice about using a buffer var when accumulating a large text variabel in stages, I've now got a script that took 8 hours under LC9, and (8 min

IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-03 Thread Ben Rubinstein via use-livecode
I was wondering this too: when Lagi mentioned 'fix the IDE' I thought this might be a reference to some of a number of usabiity snags - it didn't occur to me that it was just speed. I develop on a nine-year old MacBook and have never noticed a speed issue with the IDE. I wonder if it's

Re: Text encoding.

2021-09-03 Thread Ben Rubinstein via use-livecode
I always have to double check this as well. I think the point is that LC knows what its internal format is, but doesn't know what the source format is. So you always have to specify the 'external' format, but never the internal one. With that in mind, it feels (at least in my language

Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-08-30 Thread Ben Rubinstein via use-livecode
Thanks to Mark Waddingham's advice about using a buffer var when accumulating a large text variabel in stages, I've now got a script that took 8 hours under LC9, and (8 minutes under LC6) down by stages to just under 1 hour under LC9. However I have some remaining issues not amenable to this

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
I'm just asking purely selfishly, because if it's soon I might get away without having to address my 5,000 line code jungle nightmare...! Many thanks for this tip-off, Ben On 26/08/2021 12:23, Mark Waddingham via use-livecode wrote: On 2021-08-25 18:15, Ben Rubinstein via use-livecode wrote

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
Thanks Curry. In fact (apologies I didn't make this clear in my already too-long email) it really is just the accumulating of text, at least in this instance, that's the issue. After I added a test on each extracted (i.e. looped over) line to see if it was "strictly a binary string", and

Re: Accumulating text is *VERY* slow in LC9 on Windows

2021-08-26 Thread Ben Rubinstein via use-livecode
a Win machine)   put 1 into tLineCount   repeat for each line tRow in tWorkTable   put tRow into tNewTable[tLineCount]       add 1 to tLineCount   end repeat   combine tNewTable using CR Alex. On 25/08/2021 18:15, Ben Rubinstein via use-livecode wrote: Some 20 months ago, I reported

Accumulating text is *VERY* slow in LC9 on Windows

2021-08-25 Thread Ben Rubinstein via use-livecode
Some 20 months ago, I reported that I was in a situation where an app written in 6.7 needed to be updated to access 64bit drivers, which meant updating to 9.5 - which displayed horrifying increase in processing time. In fact I was able to put off the evil day - but now it has returned, and

Re: Most streamlined method to get data

2021-07-29 Thread Ben Rubinstein via use-livecode
As grepophile, I'd go for some variation on get matchText(last line of myVar, \ ",+Total,.*\"\$(\d*,?\d+\.\d\d)\",+", \ myTotal) obviously details depend on what variations you expect within the data. Note that there's a nasty aspect of LC parsing: in

  1   2   3   >