Re: How do I interpret this Build Error dialog?

2021-02-15 Thread Mark Wieder via use-livecode

On 2/15/21 5:29 PM, J. Landman Gay via use-livecode wrote:
In Sample Stacks, search for LiveCode Error Lookup. I keep it my Plugins 
folder. You can paste the whole list of errors into it and it will tell 
you what they mean.


However, usually you only need the first line which is where a break 
would happen in the IDE. The other lines are, in reverse order, the 
messages that led up to the topmost error.


Actually, in this case the second line has more info.
Line #1 (error #219: error in function handler) is a more generic error 
message that I find singularly unuseful.
Line #2 (error #118: Operators &: error in left operand) gives a more 
specific reason.


At any rate, the problem seems to be on line 236 in the function 
getDesktopFolderPath, and is probably around char 8, although that isn't 
always accurate.


The stack frames leading up to the error were triggered by the build 
process invoking preOpencard:


preOpenCard
--> initFirstLoginScreen
> checkForLastLogInFile
--> getDesktopFolderPath

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Close Stack Cleanup

2021-02-04 Thread Mark Wieder via use-livecode

On 2/4/21 6:33 PM, Curry Kenworthy via use-livecode wrote:


The preOpenStack handler is NOT ideal for this type of cleanup.
"Literally, to "clear the fields" of a stack."
(And now we also know, a "complex" stack.)
That is NOT something best done in preOpenStack.

A complex stack usually has multiple cards.
The user is going from one card to the other - perhaps more than once.
You need this type of cleanup triggered by preOpenCard!
Whereas preOpenStack and startup are better for general init.
Keep it modular; preOpenCard and Clear Form can call the same code.


Ah... quite right. I do stand corrected there.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Close Stack Cleanup

2021-02-04 Thread Mark Wieder via use-livecode

On 2/4/21 4:19 PM, Bob Sneidar via use-livecode wrote:

NVM I found this bug has already been submitted… IN 2008! LOL! 
https://quality.livecode.com/show_bug.cgi?id=4617 Hey Kevin! 


Looking at that, here's a (completely untested) suggestion:

The revIDEHandleCloseStackRequest handler is in the IDE backscript, so 
it's ready to be overridden. If you don't override it then it executes a 
revSaveCheck before moving on. If you override this command then you 
might get what you want.


...at the risk of losing data...

so maybe in your stack script you have:
on revIDEHandleCloseStackRequest
  return "pass"
end revIDEHandleCloseStackRequest

That said, I agree with others that this isn't a Good Idea, and a 
cleaning routine in preOpenStack would do the trick nicely.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using MySQL on (headless) Linux

2021-02-04 Thread Mark Wieder via use-livecode

On 2/4/21 1:52 AM, Richard Gaskin via use-livecode wrote:

With all this flexibility in one lean install, for me the pros of LC 
Server for headless work are clear:


...plus the fact that there's an "include" command in the server, 
allowing for things like global constants.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Smooth scrolling

2021-02-02 Thread Mark Wieder via use-livecode

On 2/1/21 7:10 PM, Richard Gaskin via use-livecode wrote:


using Kafka's Metamorphosis...


...then you should expect bugs.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using MySQL on (headless) Linux

2021-02-01 Thread Mark Wieder via use-livecode

On 2/1/21 2:25 PM, Ben Rubinstein via use-livecode wrote:

1. I've not found how to access externals (in this case the database 
library) without explicitly setting the 'externals' property of the 
stack to a (generally unreliably) full path before the stack is saved.


If you type in the messagebox

put the externals of stack "Home"

you should see everything there. If not, your system is misconfigured.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using MySQL on (headless) Linux

2021-02-01 Thread Mark Wieder via use-livecode

On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote:


With thanks to friends here who helped me install and start using LC on 
a headless Linux box. I've now another little problem... my stack tries 
and fails to connect to a MySQL database.


When it attempts to call revOpenDatabase, it throws error 219, "error in 
function handler". I take it that this means it can't find or hasn't 
loaded the revdb external.


I've installed livecodecommunity-9.6.1.x86_64, and I launch it with
   ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ 
Community.x86_64 -ui 


I can see revdb.so and dbmysql.so are in the Externals directory. Is 
there something explicit I need to do to load these?


"error in function handler" is a pretty generic response - sort of the 
engine's version of ¯\_(ツ)_/¯. Is the MySQL database local to the server 
machine or on a different computer? Does this work locally before moving 
the stack to the headless linux box?


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: installing and running LC on 'headless' linux server

2021-02-01 Thread Mark Wieder via use-livecode

On 2/1/21 10:29 AM, kee nethery via use-livecode wrote:


Basically I needed a stack to launch and run in the IDE and LiveCode didn’t 
have a way to do that.


???

on preOpenStack
  choose pointer tool
  startMeUp
end preOpenStack

on startMeUp
  answer "I'm started"
end startMeUp

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: open secure socket... using certificate

2021-01-26 Thread Mark Wieder via use-livecode

On 1/26/21 6:05 AM, Bernard Devlin via use-livecode wrote:


Is it really the case that for the past 6 years LC documentation has been
misleading people concerning the implementation of certificates for secure
socket connections?


Sadly, yes.



I notice in the Dictionary the entry for "open socket" in the table of
options for this command has entries for "certificate" and "key", but these
are both empty.  As if these features were meant to be implemented but were
never implemented and the Dictionary was never updated to remove this
misleading information.

I just find that hard to believe.


https://quality.livecode.com/show_bug.cgi?id=13410

although the earliest bug report seems to be from 2006:

https://quality.livecode.com/show_bug.cgi?id=3737

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Considering work with livecode server

2021-01-18 Thread Mark Wieder via use-livecode

On 1/18/21 2:20 PM, William Prothero via use-livecode wrote:


Building a single web-based app that avoids the world of all the mobile apps 
and desktop idiosyncrasies is attractive.


I thought mobile stores (Apple, etc) explicitly disallowed apps that 
were essentially just web browsers to external content.


Am I wrong about this?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Printing borked for LC Linux?

2021-01-18 Thread Mark Wieder via use-livecode

On 1/16/21 10:30 AM, Richard Gaskin via use-livecode wrote:


Any of you able to print from LC in Linux?



You seem surprised that Yet Another Feature is broken on linux.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC & Mac M1 Chip

2021-01-14 Thread Mark Wieder via use-livecode

On 1/14/21 1:37 AM, Heather Laine via use-livecode wrote:

Did somebody say cheese??


Uh oh. Busted.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: disabling a group

2021-01-13 Thread Mark Wieder via use-livecode

On 1/13/21 11:32 AM, jbv via use-livecode wrote:

Hi list,
I have a group that contains various controls, including graphic objects.
When I disable the group, the colors of every object becomes lighter,
except for graphics whose colors remain the same.
What is the best way to make colors of graphics become lighter when the
group is disabled ?
I tried blending, but then the portions of other controls underneath the
graphic become visible...


A thought:

You might try overlaying the group or the graphic objects with another 
graphic rectangle, set the blending to make it translucent, and then 
toggle the visibility of said rectangular graphic.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: move cursor to the end of a line in a field

2020-12-23 Thread Mark Wieder via use-livecode

On 12/23/20 12:57 PM, matthias rebbe via use-livecode wrote:


That's the end of the *field* not the *line*.


But it would work, because Douglas wrote that it is a single line field.


Ah. I just assumed it was a bit of mistyping and should have been

"single line of a field"

...and yes, I know what they say about assuming... 

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: move cursor to the end of a line in a field

2020-12-23 Thread Mark Wieder via use-livecode

On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote:

To improve on my initial suggestion...

select after char -1 of field 1


That's the end of the *field* not the *line*.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debian 10 install failure

2020-12-17 Thread Mark Wieder via use-livecode

On 12/17/20 9:57 AM, Sean Cole (Pi) via use-livecode wrote:

Solved. Debian 10 buster has GTK 3.0 installed but LC needs GTK 2.0. I just
ran the following:

sudo apt-get install --reinstall libgtk2.0-0

This got me back down to gtk v2 and the installer for LC ran properly.


Cool. Maybe has to do with the way debian was installed? I didn't run 
into this problem. And I see


$ apt list libgtk2.0-0
Listing... done
libgtk2.0-0/stable.now 2.24.32-3 amd64 [installed.automatic]

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debian 10 install failure

2020-12-17 Thread Mark Wieder via use-livecode

On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote:

Hi all,

Continuing my study on Linux alternatives, I've just tried installing
LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in
Parallels from its add VM page). However, it comes up with an error when
installing LC right after double-clicking the installer: "Failed to load
library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x
installed. Is this the problem? Do I need to go back a build to Debian 9?
Or can I still install on 10 somehow with a tweak?


Sean-

Don't know about Parallels. I just loaded the latest debian build onto a 
15GB virtualbox VM, downloaded the latest stable LC, and installed. Had 
to restart the system in order for LiveCode to show up in the menu, but 
other than that no problems. I could launch from a commandline or after 
the restart from the menu. I installed debian using the semi-automated 
installer, which by default is using cinnamon as its desktop manager. I 
did have to fiddle with the display resolution to get the whole menubar 
on screen, but that's a virtualbox/debian thing and not LC.


Note that debian 10 is the only debian version that hasn't reached an 
end of life (and therefore no updates), so I wouldn't waste time trying 
earlier versions if you're putting something into production.


...and to correct my earlier statement, I revisited the docs and I see

"The x86-64 and x86 Linux build environments used for compiling LiveCode 
are based on Debian Wheezy."


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-16 Thread Mark Wieder via use-livecode

On 12/16/20 1:39 AM, Pi Digital via use-livecode wrote:


Back to my OP.
- What system build of Linux should I best install in Parallels virtual and 
Server Remote Host for deployment should I run with? Given the choices of 
potentially having LC IDE running as the ‘live’ software stack on the server 
itself (which is not the best way to run it, but potentially a method that is 
usable for our purposes perhaps).
- Which systems of Linux can we safely develop and test in?
- And then, which systems of Linux can we safely deploy and run in? And what 
are the known issues for both develop/test, and deploy/run?


Sean-

You're dangerously close to getting into religious wars here 
But for my money (ask any three linux devs and you'll get ten answers) 
I'd install the latest debian build, verify that everything's working, 
and leave it at that. I don't expect you'd get any surprises that way, 
but if you do then I'd back down to the latest ubuntu build.


That said, I'm running the latest linux mint cinnamon on a ubuntu base, 
and I tend to push the engine to its limits. I can always find ways to 
get into trouble, but I have to work at it. Otherwise rock solid.


...and the usual caveats apply, of course. No browser or media support.
Hope this helps.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-15 Thread Mark Wieder via use-livecode

On 12/15/20 3:48 AM, Richmond via use-livecode wrote:


2. Stir up trouble.

Personally I think that LiveCode central are being a bit @#$%^&* 
claiming that LiveCode
is cross-platform and not saying they support more recent versions than 
Ubuntu 16.04 and so on.


And stirring up trouble means that I think they deserve a collective 
kick in the source-code for that.


I may be in the minority on my opinion on this, and judging from the 
feedback I expect from this post that may be an understatement, but...


I think the team is correct in this.
Support means more than "we think this works".

Since they currently build and test each released version on an older 
linux distro, they can't really claim to "support" later versions, even 
though we can empirically verify that there is essentially no difference 
when running LC on other/later linuxes. Claiming support would mean 
dedicating resources to changing the build process, verifying that the 
resulting build performed to spec on whatever linux version, and also on 
an ongoing basis dedicating support team resources to whatever issues 
may arise on the newly officially supported platforms.


And at present there's very little ROI for making these changes. Even 
the modifications that a few of us do contribute require redirecting 
company resources to verify (or not) before merging into the corpus of 
releasable code, and with the current worldwide situation I doubt 
there's a lot of free time to squeeze into redirection from actual 
revenue-producing streams.


Since Ubuntu's EOL date is coming up in the next few months, I expect 
that the build platform may change soon. But since I can compile from 
source here on linux mint 20 (Ubuntu based) (as long as I modify the gyp 
file as in my PR) I don't expect major hiccups nor any major expense in 
team resources from this migration.




3. As far as I can see (probably not very far), there is no difference 
in functionality between Xubuntu 16.04 and 20.10;


See above, but yes, I agree.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-14 Thread Mark Wieder via use-livecode

On 12/14/20 3:17 PM, Sean Cole (Pi) via use-livecode wrote:

Hi Mark,

Are you able to say what particular bits were broken so I know what to be
on the lookout for and assess if these might affect our project?


Sure. Here's the PR
https://github.com/livecode/livecode/pull/7127

But note that you only need to do this if you're compiling the engine 
from source. No problems *running* LC on recent distros.


...beyond the usual LC-on-linux problems anyway.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-13 Thread Mark Wieder via use-livecode

On 12/13/20 4:20 PM, Pi Digital via use-livecode wrote:

Thanks all. These insights are useful. Hery’s explanation of their choice to 
move to Debian provides a good argument. I had just tried Ubuntu 20.04 in a 
parallels virtual machine and my server app worked ok. I will try a Debian 
build too. I wonder why LC don’t state support for later Ubuntu, Fedora or 
Debian builds?


Because the team builds the engine on an Ubuntu 16 machine and so 
doesn't want to say they support anything later.


The build process is broken on later versions. I submitted a PR to fix 
this (it works here) but apparently it doesn't fix things the "right" 
way, so...


And note that we are coming up on the end of Ubuntu 16.04 LTS support on 
30 April 2021.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Decrypt problem on Windows

2020-12-13 Thread Mark Wieder via use-livecode

On 12/13/20 1:46 AM, Neville Smythe via use-livecode wrote:


[I had just recovered strength  from fighting the gratuitously different syntax 
that Windows uses in its implementation of cURL to hit this problem]


I don't have an answer to the decryption problem (sorry), but...

I use (and have for some years now) httpie rather than curl.
Free, open source, much cleaner syntax, just better all around.
When you get tired of fighting with curl or wget, check it out.

https://httpie.io/

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: return "error" code from standalone compile

2020-12-12 Thread Mark Wieder via use-livecode

On 12/11/20 3:36 PM, Richard Gaskin via use-livecode wrote:

The bigger problem with these sorts of issues is how the public web site 
becomes so different from the ones we have installed.


Agreed. I think I wasn't even much aware that an online dictionary existed.

I was about to post that I don't see why updating the web version when 
there's a new release was a problem, but then I looked at the page 
source of the web dictionary. While the local dictionary that opens in a 
browser is clean easy-to-read-and-understand html, the web site is a mess.


It's 90% css and the other half is ad-tracking analytics.
Easy to see why it's not maintained.

Don't believe everything you read on the web.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: return "error" code from standalone compile

2020-12-11 Thread Mark Wieder via use-livecode

On 12/11/20 12:56 PM, Mark Wieder via use-livecode wrote:

On 12/11/20 10:57 AM, Richard Gaskin via use-livecode wrote:

@ Mark Weider: where did you learn about the quit command supporting 
an exit code?


I just always assumed this was part of the canon.


The dictionary entry for "quit"


I added a note to your bug report.
Why are you looking at the web version of the documentation instead of 
the local one?


...and again... tinyDictionary does an even better job of putting this 
dictionary entry into perspective.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: return "error" code from standalone compile

2020-12-11 Thread Mark Wieder via use-livecode

On 12/11/20 10:57 AM, Richard Gaskin via use-livecode wrote:

@ Mark Weider: where did you learn about the quit command supporting an 
exit code?


The dictionary entry for "quit"

Am I missing something here?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: return "error" code from standalone compile

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 5:53 PM, Douglas A. Ruisaard wrote:

Beauties!   .. thanks! ... should have remembered that!


Cool. And where you put it depends on your application.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: return "error" code from standalone compile

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:

On the completion of a stack, can the compiled executable return an error
code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
error code?  in the on closeStack call?


See the quit command in the dictionary.

quit 42

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Will Browser widget ever work on Linux?

2020-12-09 Thread Mark Wieder via use-livecode

On 12/9/20 8:40 AM, Curry Kenworthy via use-livecode wrote:

Yep, it actually feels great to be a Windows-first LiveCoder. 


I'm not gonna get sucked into religious wars here... 

Like the field, embedded Browser is a way to 
deliver and display so many different kinds of content that it should be 
considered a foundational part of LC. Can't afford to let it slip.


Yep. So... browser support on linux?

Now that I have an SSD, the LC script editor troubles are a thing of the 
past too. LC simply made the mistake of designing broadly-used software 
on high-end hardware, so it wasn't a great design, especially for the 
masses. (Strange because that's usually a beginner's mistake.)


When I worked at Apple I was always the guy who wanted to use the older 
hardware while everyone else was jumping for the latest models because I 
was dead set on finding compatibility bugs. My favorite discovery was 
uncovering a bug in the MPW C compiler because it had only previously 
been tested on the latest shiny new hardware.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Can LC read QR-Code?

2020-12-08 Thread Mark Wieder via use-livecode



On 12/8/20 7:15 PM, Richard Gaskin via use-livecode wrote:

> - Where is the documentation for QR *decoding* for both iOS and Android?

Ah. The QR library is for *generating* QR codes, not for reading them.

> - The Dictionary appears in my browser, not in a LiveCode window,
>so it appears the browser widget is still as dead as audio and
>video playback in LiveCode's Linux edition.

FWIW I can control wither mplayer or SMPlayer from LC on linux *as long 
as they're in separate windows*. Or I can play videos in the entire 
stack frame. Just not within a player rect.


>
>
> I have no deep affection for CEF.  How is this done without CEF on 
other platforms?  Does neither Firefox nor Chrome offer an embedded option?


Can't speak for Firefox... maybe Andre will chime in on this. But CEF is 
spawned from the Chrome codebase, so that's the option. The "problem" as 
I understand it, is that you're supposed to embed your application 
within the framework, and we're embedding the framework inside the LC 
engine. Somehow it works on Windows.


>
> Do you know offhand what Ubuntu was using when they were using an 
embedded browser a couple years ago for their dockable web apps?

>

Hey - *you're* the ubuntu expert here. Don't know these things.
AFAIK web apps are just browser launcher shortcuts.
https://www.maketecheasier.com/turn-website-to-app-linux/

--
 Mark Wieder
 ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Will Browser widget ever work on Linux?

2020-12-08 Thread Mark Wieder via use-livecode

On 12/8/20 3:12 PM, Mark Wieder via use-livecode wrote:


LC also has dropped using the CEF on Windows because reasons.


Oops. Have to correct myself here. It's actually OSX where CEF usage was 
dropped, not Windows.


More gory details here
<http://forums.livecode.com/viewtopic.php?f=11=34519=197830=CEF#p197830>


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Can LC read QR-Code?

2020-12-08 Thread Mark Wieder via use-livecode

On 12/8/20 11:08 AM, Richard Gaskin via use-livecode wrote:

Thanks. I'm familiar with tindyDictionary and admire Bernd's work, but 
had hoped there would be documentation available on the web. I can 
download tinyDictionary, or just look at my Mac, so if the only 
documentation for the QR code reader is in the not-online-Dictionary at 
least I know where to go.



As for separate matter of the IDE-provided Dictionary, that it's broken 
in the Linux edition is the smaller problem, the bigger being that the 
reason there's no Dictionary is that there's no working browser widget.


I find Bernd's plugin much preferable to the browser-based dictionary. 
But YMMV, of course.


But eh? If I click on the Dictionary link in the IDE toolbar in the Indy 
version I get my local dictionary:


file:///home/mwieder/.runrev/documentationcache/9_6_1_commercial/api.html

and from there searching for "qr" brings up the correct entries.
Are you seeing something different?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Will Browser widget ever work on Linux?

2020-12-08 Thread Mark Wieder via use-livecode

On 12/8/20 1:54 PM, Tom Glod via use-livecode wrote:

Hi folks,

I need to know whether there are any plans of making the CEF browser work
correctly on Linux?
I vaguely remember a conversation about it and it seeming like there is
very little hope of that.
Can anyone confirm?


Um. It's complicated.
LiveCode currently uses CEF build 74.1.19 (04 June 2019). The latest is 
build 87.1.12 (07 December 2020). LC also has dropped using the CEF on 
Windows because reasons.


The current maintainer of the CEF is Spotify. I don't know who else 
might be using the framework to provide an embedded browser.

https://cef-builds.spotifycdn.com/index.html#linux64
Although there looks like a good Go library available.
https://github.com/richardwilkes/cef

The problem isn't with CEF itself - I can compile and run the CEF sample 
apps with no problem, but rather with the way it's integrated into the 
LiveCode engine. And I don't know whether there's still a CEF in LC's 
browser future or whether it will go the way of the Windows browser. I 
haven't seen any github notifications of any work being done on the 
LiveCode browser on any platform lately.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Can LC read QR-Code?

2020-12-08 Thread Mark Wieder via use-livecode

On 12/7/20 6:07 PM, Richard Gaskin via use-livecode wrote:


Where is LC's QR code plugin documented?

I have Indy, but LiveCode has no functioning browser widget for Linux, 
and so it has no Dictionary; instead it opens the Dictionary from the 
public site, which apparently only documents things in the Community 
Edition.




If you use Bernd Niggeman's tinyDictionary plugin you'll have access to 
the documentation on linux, and in a much more usable and readable form.


Hint: you can set 4Wdevolution's 'Dictionary' button to address it, and 
then you don't have to deal with the browser version any more.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Some sad news

2020-12-05 Thread Mark Wieder via use-livecode

On 12/4/20 4:07 AM, Heather Laine via use-livecode wrote:

Dear List Folks,

I have today received some sad news.


Thanks for passing on the news, Heather.

Hermann and I met some years ago at one of the Edinburgh conferences and 
we spent several hours that week talking while walking around town, 
grabbing food, etc. We kept up our correspondence over time and he was a 
great and persistent beta tester for me, finding small details to fix 
and offering suggestions as to what might be improved. He corrected my 
mathematical thinking more than a few times. His contributions to both 
the Raspberry Pi and HTML5 topics on the web forum are consistently 
amazing and he kept pushing the envelope on both these fronts.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Google and OpenSource apps

2020-11-23 Thread Mark Wieder via use-livecode

On 11/23/20 10:50 AM, Richard Gaskin via use-livecode wrote:

The "free" described in the GPL and other open source licenses isn't 
about money ("gratis") but freedom ("libre"). This ambiguity with "free" 
is among the many limitations of our language, but few speak Latin so 
the license was written in English, with descriptions of how "free" 
applies. :)


Nadia Eghbal gave and interesting LongNow talk last week on opensource 
software maintenance, explaining along the way Jacob Thornton's 
distinction between


free as in beer
free as in speech
free as in puppy

https://www.youtube.com/watch?v=aX0pPg-gyX8

and if you've got a free hour, the whole talk is worth the listen
https://www.youtube.com/watch?v=YnI1nz2CBnI

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter

2020-11-20 Thread Mark Wieder via use-livecode

On 11/20/20 3:27 AM, David V Glasgow via use-livecode wrote:

Apologies for barging in, but I am confused by regex generally and in this 
specific example by the function of the terminal ‘+’  If you are only finding 
one character, why do you need to specify 'at least one' of one char?


Ha!
Yeah, I actually mistyped that (moi?).

"^\[" is all that's necessary for the filter command.

...but Klaus' form of "[[]*[]]" is actually better if the field has
[500] and then text

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter

2020-11-19 Thread Mark Wieder via use-livecode

On 11/19/20 9:09 AM, Klaus major-k via use-livecode wrote:

Hi Mark,


Am 19.11.2020 um 18:07 schrieb Mark Wieder via use-livecode 
:
On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote:

I think:
   filter fld 1 with "[[]*"
Should do the trick...

As an alternative,
filter fld 1 with regex pattern "^\[+"
also does the trick.


thanks, but REGEX is still a TAD over my head. ;-)


Not really... this is at least as simple as what you just coded:

^ = start at beginning of line
\[ = a literal "[" character ("\" escapes whatever comes next)
+ = at least one of those characters

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter

2020-11-19 Thread Mark Wieder via use-livecode

On 11/19/20 7:38 AM, Mark Waddingham via use-livecode wrote:


I think:

   filter fld 1 with "[[]*"

Should do the trick...


As an alternative,

filter fld 1 with regex pattern "^\[+"

also does the trick.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Delete Menu Item from Option Menu Button

2020-11-14 Thread Mark Wieder via use-livecode

On 11/14/20 4:03 PM, Roger Guay via use-livecode wrote:

Can someone tell me how to delete a menuItem from an Option Menu button 
programmatically?

Standing by ready to apply dope slap.


No dope slap necessary - it's not really obvious.
The menuItems are stored as the text of the button, so you can get and 
set it easily.


put button  into tText
-- edit tText here
-- you can do a lineOffset and delete line x of tText
put tText into button 

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Most Stupid Question Ever?

2020-11-08 Thread Mark Wieder via use-livecode

On 11/8/20 8:02 PM, Mark Wieder via use-livecode wrote:

On 11/8/20 6:57 PM, Roger Guay via use-livecode wrote:

Please tell me why this doesn’t work:


...and that is, btw, hardly a stupid question.
You want stupid you'll have to get in line after me.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Most Stupid Question Ever?

2020-11-08 Thread Mark Wieder via use-livecode

On 11/8/20 6:57 PM, Roger Guay via use-livecode wrote:

Please tell me why this doesn’t work:

on mouseUp

put "start"

wait for 5 seconds

put "stop"

end mouseUp

“start” never appears in the message box and after 5 seconds, “stop” appears


The wait command is blocking anything else from happening (like updating 
the messagebox). After five seconds the messagebox gets "start" followed 
immediately by "stop".


To allow events to happen while waiting try

on mouseUp
   put "start"
   wait for 5 seconds with messages
   put "stop"
end mouseUp

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Plotting Equations that Bifurcate

2020-11-04 Thread Mark Wieder via use-livecode

On 11/4/20 3:37 PM, Jerry Jensen via use-livecode wrote:

Neil DeGraph Tyson?


On Nov 4, 2020, at 3:09 PM, Roger Guay via use-livecode 
 wrote:

Oooh, I like it! How about VanDeGraph?


The Graph is Always Greener.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IOS Screen resizing /EXACT FIT not working as before

2020-11-03 Thread Mark Wieder via use-livecode

On 11/3/20 4:08 PM, Lagi Pittas via use-livecode wrote:


Thanks though - every suggestion comes in useful sometime (is that a Dean
Martin song?)


LOL

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mergeJSON on server problem

2020-10-31 Thread Mark Wieder via use-livecode

On 10/31/20 10:27 AM, David Bovill via use-livecode wrote:

I use mergeJSON to move back an forth between json and arrays for web services. 
It’s currently failing when I fetch json data from another source on the Ubuntu 
server, while the same code and data works on MacoS - presumably due to some 
encoding issues.

It’s a large amount of data and I can’t debug where the issue is easily. Maybe 
I can use jsonImport/Export on the server? Not sure. Any thoughts?


Is this any help? Hard to tell without knowing what's failing.

https://quality.livecode.com/show_bug.cgi?id=19698

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Mark Wieder via use-livecode

On 10/23/20 6:44 AM, Martin Koob via use-livecode wrote:


I figured out what caused it.   I am using Monte’s lcVCS plugin to keep the 
project  in bitbucket


Try Brian Milby's Script Tracker plugin.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: POST to https in LC5.0.2 - Error socket closed

2020-10-22 Thread Mark Wieder via use-livecode

On 10/22/20 9:48 PM, Sean Cole (Pi) via use-livecode wrote:


I don't know what else I can do. Curl is not an option as this will be
running as an app on clients Windows machines. But even put url("https://
returns error socket closed so that rules out setting up a server app too.
Nothing works!

I'm Delirious! HELP!


have you tried

libUrlSetSSLVerification false

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Websockets

2020-10-21 Thread Mark Wieder via use-livecode

On 10/21/20 7:09 AM, Tom Glod via use-livecode wrote:

Hi Livecoders,

Does anyone know if there are any plans for introducing websockets to
livecode?

Or if there are any working 3rd party implementations that are available?

its been a lot of years.

Thanks,



Charles Warwick has something in the oven. Might be worth pinging him to 
see what the status of that is.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Odd data in message box

2020-10-18 Thread Mark Wieder via use-livecode

On 10/18/20 10:56 AM, J. Landman Gay via use-livecode wrote:

I've seen error lists appear in the message box too

I've seen that sometimes as well, but don't have a repeatable recipe. I 
just always assume it's something screwy with my code.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Odd data in message box

2020-10-17 Thread Mark Wieder via use-livecode

On 10/17/20 10:13 AM, Dan Friedman wrote:


1. Why didn't the debugger throw an error?  Instead, it put this error chunk in 
the message box?


Dunno. I can't replicate your experience. Somewhat higher in your stack 
or in the message path?


If I try this on my system with an invalid sTime value the debugger gets 
triggered. If I take PowerDebug out of the picture I still end up in the 
builtin debugger. If I then check Suppress Errors from the menubar then 
the stack locks up on the error.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Odd data in message box

2020-10-17 Thread Mark Wieder via use-livecode

On 10/17/20 10:13 AM, Dan Friedman wrote:


2. Where did Jacque get that list of codes?   Is there some support docs I 
don't know about that explain these types of thing?


The error texts are in a global property, but there's a definite 
catch22ness involved because you have to know it's there in order to 
find it in the dictionary:

put the scriptExecutionErrors

In PowerDebug I added a helper function so that from the messagebox you 
can say


put explainerror(219)

which is basically just a wrapper:

function explainError pError
  return line pError of the scriptExecutionErrors
end explainError

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SSL cPanel mySql setup

2020-10-16 Thread Mark Wieder via use-livecode

On 10/16/20 10:14 AM, Pi Digital via use-livecode wrote:

The call to the server along with all the credentials had been copy 
pasted over 900 times inside 700 objects.


OMG!!!

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Fwd: Re: Odd data in message box

2020-10-16 Thread Mark Wieder via use-livecode

On 10/16/20 9:57 AM, Dan Friedman wrote:

Mark,

THANK YOU for the reply...   Line 2185 is:

put sTime + ((timeOffset*60)*60) into sTime


That's what I thought. The error you're getting (see Jacque's annotated 
list) is pointing to an invalid value for sTime in some iteration of 
that function call. My guess is either sTime is empty or not a numeric 
value.


Try something like this to pinpoint the error:

  if char 1 of timeOffset = "-" then
put ((timeOffset*60)*60) into pTimeOffset
put sTime - pTimeOffset into sTime
  else
try
put sTime + ((timeOffset*60)*60) into sTime
catch e
put the sTime & cr executionContexts & cr after msg
end try
  end if


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Odd data in message box

2020-10-16 Thread Mark Wieder via use-livecode

On 10/16/20 8:46 AM, Dan Friedman via use-livecode wrote:


There is no problem with this function, and it's producing the correct time.   
However, when it's all said and done, I get this in the message box:

394,2185,1


what's line 2185 look like?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Textsize of label of copied btn changes

2020-10-13 Thread Mark Wieder via use-livecode

On 10/13/20 5:54 PM, William Prothero via use-livecode wrote:


set the textsize of btnRef to the textsize of srcBtnRef


Try
set the textsize of btnRef to the effective textsize of srcBtnRef

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Anyone archived the information from http://andregarzia.com/async.irev

2020-10-11 Thread Mark Wieder via use-livecode

On 10/11/20 9:46 AM, William Prothero via use-livecode wrote:

Matthias:
Try: 
https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows
 



Bill-

That's an interesting archive. Thanks for the trip down memory lane, I'd 
completely forgotten that discussion.


Any idea why narkive stopped collecting posts two years ago?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Modal stacks cpu usage

2020-10-08 Thread Mark Wieder via use-livecode

On 10/2/20 5:08 PM, Neville Smythe via use-livecode wrote:

Looks like Elanor beat me to it Bug 22929 



Ian fixed the problem. It's currently awaiting a merge into the next 
release.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slightly OT: downloading Xcode

2020-10-04 Thread Mark Wieder via use-livecode

On 10/4/20 9:35 AM, Richmond via use-livecode wrote:

And as to "download yourself", all I can say is that while I have tried 
many, many daft things in my life I have

never tried to either download or upload myself . . .


Heh.
If I ever tried to upload myself I suppose I'd probably try to compress 
me first to remove the redundant redundancies.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slightly OT: downloading Xcode

2020-10-03 Thread Mark Wieder via use-livecode

On 10/3/20 8:09 AM, Richmond via use-livecode wrote:

I wonder:

https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ 


But thanks for the link. That's a very interesting website.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slightly OT: downloading Xcode

2020-10-03 Thread Mark Wieder via use-livecode

On 10/3/20 8:09 AM, Richmond via use-livecode wrote:

I wonder:

https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/ 


Looks interesting, but I'd be wary of anything that does
install.sh | bash
without checking the source first

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


TIL: JSON validator

2020-09-30 Thread Mark Wieder via use-livecode
I've been in the DeveloperWeek conference for the last couple of days, 
and in a morning session today about OpenAPI I learned about an online 
JSON Schema validator tool.


https://www.jsonschemavalidator.net/

Also, this JSON/YAML linter may be of use:

https://meta.stoplight.io/docs/spectral/README.md

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Back to School: Raspberry Pi fork?

2020-09-24 Thread Mark Wieder via use-livecode

On 9/24/20 11:33 AM, Richard Gaskin via use-livecode wrote:
I had yet another conversation this morning with a colleague who would 
love to use LC in his school district, but the two crasher  bugs prevent 
him from doing so. Now he's had no choice but to start looking into 
kid-friendly Python environments.


We have that conversation every year. This was the sixth time we've had it.

Surely somewhere in our community or beyond it we can find the resources 
to bring the LC Community build for Raspberry Pi up to 9.6.1.


Who can we hire, and how much would it cost?

If we can find the resource, I'll bet we can come up with the money to 
pay for that programmer's time.




Especially given that the future seems to be ARM.
https://stackoverflow.blog/2020/09/21/nvidia-has-acquired-arm-what-does-this-mean-for-the-future-of-ai-edge-computing-and-the-people-who-write-software-for-these-chips/?cb=1

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Converting from unicode to ASCII

2020-09-23 Thread Mark Wieder via use-livecode

On 9/23/20 4:50 PM, J. Landman Gay via use-livecode wrote:

Heh. Now you understand why I didn't want another lookup table.

:)


OTOH, one of the cardinal rules of data design is *not* to use real data 
as an index into data. YMMV.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Converting from unicode to ASCII

2020-09-23 Thread Mark Wieder via use-livecode

On 9/22/20 11:10 PM, J. Landman Gay via use-livecode wrote:

There's more to it than that; the server runs a cron job hourly that 
indexes all its files and creates AWS secure URLs for each. The app 
downloads that lookup file on demand. When the user selects a name from 
a list, the selection is munged to match the server name and the 
download URL is obtained from the cron job's lookup file.



LOL. This is starting to remind me of Hal Draper's classic
"Ms Fnd in a Lbry". Been out of print since 1985, but online:

https://folk.universitetetioslo.no/knuthe/kuriosa/draper.pdf

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Converting from unicode to ASCII

2020-09-22 Thread Mark Wieder via use-livecode

On 9/22/20 7:58 PM, J. Landman Gay via use-livecode wrote:

Is this just a temporary filename (not long-term storage)? 


No, the stacks are uploaded to AWS and remain there, retrieved from the 
server on request. There are currently hundreds of them with more added 
frequently. That's why I'm looking for a solution that doesn't involve 
changing all the file names, because renaming and re-uploading all those 
files would be way too much work.


How do the files get retrieved? Is there a database or something similar 
that stores the filenames? You could still use UUID filenames from now 
on and not have to mess with the existing ones.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Converting from unicode to ASCII

2020-09-22 Thread Mark Wieder via use-livecode

On 9/22/20 3:48 PM, J. Landman Gay via use-livecode wrote:
I have a stack with an index. When a user clicks a line, a handler uses 
the clicktext to create a file name which is always the clicktext plus 
the ".livecode" extension. The stack is then downloaded from an AWS 
server and displayed.


We are now translating some stacks to other languages which require 
unicode text. AWS recommends not using accented characters in file 
names, so we need to translate the clicktext into plain ASCII.


Is there a good way to do that without using a lookup table or metadata? 
The file names doesn't need to make sense syntactically. For example,


    l’Académie française -> lAcademiefrancaise.livecode

...or similar, whatever works. The user will never see the file name.



Is this just a temporary filename (not long-term storage)?
In that case why use the clicktext at all?
Can you use tempname() to create and retrieve the stack?
Or better yet uuid()?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Create image from SVG widget

2020-09-21 Thread Mark Wieder via use-livecode

On 9/21/20 12:57 PM, Klaus major-k via use-livecode wrote:

Hi friends,

I need a little hint, I forgot what command creates an image
from an SVG widget. 8-)
...
set the text of img 1 to ???(???)
...

Thanks for any hint!


Dunno.
I export a snapshot from the widget.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Mark Wieder via use-livecode

On 9/20/20 1:10 PM, J. Landman Gay via use-livecode wrote:


As an aside, I first thought that this would work:

   if the htmltext of field "mainText" <> the text of field "mainText" 
then -- plain text is in the field


which does return "false" correctly. But when I set the text of the 
field to the htmltext of the field and run the same test, it also 
returns "false". I'm not sure why.


I don't see why that would ever return true.
If you set the text of the field to the htmltext of the field, then 
isn't the htmltext of that the htmltext of the htmltext?



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Mark Wieder via use-livecode

On 9/20/20 7:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote:

Eureka! So easy, now to get back to the htmlText as per the code

if the htmlText of field "mainText"  then
   put the htmlText of field "mainText" into field "mainText"
else
   set the htmlText of field "mainText" to field "mainText"
   end if

we wonder how easy it to tell that "if" the clause is telling it is "true"

  if (set the htmlText of field "mainText" to field "mainText") then

does not work


if field "mainText" is not empty then

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Mark Wieder via use-livecode

On 9/17/20 5:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote:

Ralph,

So this did not work. I have

[ fld "Src" ]

My Trek to Siva
Magical Abodes

Join the author on a tour of ancient Siva temples
--
[ fld "Dest" ]

My Trek to Siva
Magical Abodes

Join the author on a tour of ancient Siva temples
---
It same for both fields. Neither one displays the htmltext text .


Brahmanathaswami-

Hard to tell exactly what you're looking for, but if you want to display 
the raw html, try


put the htmltext of field "Src" into field "Dest"

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sudo apt-get install livecode

2020-09-14 Thread Mark Wieder via use-livecode

On 9/14/20 10:47 AM, Richmond via use-livecode wrote:

Also: why is the installer app "silly"? It is no worse or no better 
than  the installer apps for Macintosh and Windows,

and I, for one, have no real problem with any of them.


Having "real" installers (.deb, .rpm) would enable LiveCode to get into 
the various repositories and thus get more exposure.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: THIS group

2020-09-14 Thread Mark Wieder via use-livecode

On 9/14/20 8:35 AM, Klaus major-k via use-livecode wrote:


thank your for your encouraging words! :-D


LOL. Well, having been down that rabbit hole before, I just thought I'd 
mention it.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: sudo apt-get install livecode

2020-09-14 Thread Mark Wieder via use-livecode

On 9/13/20 7:39 PM, Eric A. Engle via use-livecode wrote:

  I just get tired of downloading the silly installer app etc. why isn't it in 
a repo?

any way i will google it but if there is a terminal command line interface set of 
commands which will gksudo aptitude livecode OR SIMILAR please tell me On 
Wednesday, September 9, 2020, 12:01:04 PM EDT, 
 wrote:


It's been a topic of discussion for years, i.e.,

https://forums.livecode.com/viewtopic.php?f=20=29266

as to the "why not" of this, I don't have an answer. Building a .deb 
package isn't a huge task and would make uninstalling *much* easier than 
the current kludge.


(as an aside, note that gksudo has been deprecated for some time now in 
favor of pkexec, and is no longer included in most modern distros. But 
no doubt you meant "sudo" anyway.)


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: THIS group

2020-09-14 Thread Mark Wieder via use-livecode

On 9/14/20 2:00 AM, Klaus major-k via use-livecode wrote:

Hi friends,

I just field an enhancement request to make THIS also work for groups.
... of THIS GROUP

Would be a helpful addition.

Currently THIS only works for cards and stacks.


But as you point out "of the owner of me" already does the trick, and 
since Mr. Waddingham is allergic to synonyms, there's no chance this 
will ever get implemented.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Contesting for Idiot du Jour

2020-09-02 Thread Mark Wieder via use-livecode

On 9/2/20 9:25 PM, Dev via use-livecode wrote:


You do understand math much better than I do obviously!


Better than I do as well.
I was puzzling over that thing until Jerry came through with the answer.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers in PBrowser

2020-09-02 Thread Mark Wieder via use-livecode

On 9/2/20 8:22 AM, Bob Sneidar via use-livecode wrote:

Looks like revGLX2 status.


Interesting. I don't have that problem.
I see a different problem though.
I just tried minimizing Navigator and it's more or less centered on my 
main screen, but it's also unmovable when minimized, which is annoying.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Hacktoberfest is coming

2020-08-31 Thread Mark Wieder via use-livecode

On 8/27/20 9:05 AM, Mike Kerner via use-livecode wrote:


Please discuss, here, add a repo and/or an update that you would like to
see to a particular repo (include a link to the repo), and let's see if we
can get a bunch of LC Hackers, this year.



Kind of an exercise in futility, though, no?
I submitted... let's see... (goes off and counts)... nine pull requests 
against LC last October (two for the engine, seven for the IDE) and 
they're still sitting in the hopper waiting to be reviewed.

Why bother "fixing" things when nobody's paying attention?

(the above is somewhat rhetorical since I just submitted another PR 
earlier today.. not that I expect any action on it)


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


...and now for something completely off the wall...

2020-08-28 Thread Mark Wieder via use-livecode
Almost every article on the Scots version of Wikipedia is written by one 
American teenager who can't speak Scots


"A veelage is a clustered human settlement or community, larger than a 
hamlet but smawer than a toun, wi a population rangin frae a few hunder 
tae a few thoosand (sometimes tens o thoosands)."


https://boingboing.net/2020/08/27/almost-every-article-on-the-sc.html
https://www.scotslanguage.com/news/5724

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: DataGrid 2 swipe actions

2020-08-27 Thread Mark Wieder via use-livecode

On 8/26/20 9:36 PM, Andrew at MidWest Coast Media via use-livecode wrote:


The highlighted row when scrolling is a separate bug patched by Mike Wieder  
https://quality.livecode.com/show_bug.cgi?id=22798 
 awaiting a GitHub merge, 
but turning on delayTouches makes the swipe animation jerky because the scroller has 
to decide if it’s scrolling first so the swipe controls aren’t very responsive. Would 
be curious if these two things can live in harmony. Any DG2 advice?


That's actually Mike Kerner's fix. I just added a comment. Or two.
Trying to prioritize getting it looked at.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Old stack will not save or save as...

2020-08-19 Thread Mark Wieder via use-livecode

On 8/19/20 9:41 AM, Paul Dupuis via use-livecode wrote:


Why I can't save or save as a modeless stack in IDE is a mystery to me.


The save command saves (or attempts to save) the topstack.
Only stacks whose style is "toplevel" can be the topstack.
This prevents accidentally saving e.g. a modeless dialog box.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LibURL and TSNet in LC Indy

2020-08-19 Thread Mark Wieder via use-livecode

On 8/19/20 8:08 AM, Bob Sneidar via use-livecode wrote:

I get a 404 error on the download.


Change the directory to "tsnet" instead of "tsNet"





Bob S


On Aug 18, 2020, at 9:52 PM, Charles Warwick via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:



https://downloads.techstrategies.com.au/tsNet/tsNet_libUrl_loadUrl.livecode



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ProtonMail vs Apple

2020-08-14 Thread Mark Wieder via use-livecode

On 8/14/20 12:06 PM, Lagi Pittas via use-livecode wrote:


Same as winning the lottery - you have to have a ticket.


Winning the lottery is cheaper if you don't buy a ticket.
And the odds are about the same.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Wieder via use-livecode

On 8/14/20 2:54 PM, Ralph DiMola via use-livecode wrote:

Mark/Panos,

Thanks for all your help, this worked like a charm! I got the userAgent from
a v12 iPad and v13 iPad. For any other iPad OS version I use the v13
version.


Just curious... what userAgent string worked for you?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers in PBrowser

2020-08-14 Thread Mark Wieder via use-livecode

On 8/14/20 3:33 PM, Brian Milby via use-livecode wrote:


If I can get a stack that demonstrates the issue, I would like to poke around 
and see if anything jumps out.  If it is engine level, it is probably a bit out 
of my lane (although I have contributed a few lines of C++).  If it is IDE I 
may have a better chance.


Brian-

I'm pretty sure this is IDE-level and not in the engine. But I've stuck 
my toe into the PB pool before and I'm not inclined to go there again. 
Plus at the rate my pull requests get ignored I'm not very motivated to 
try to fix things.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode in terminal? (linux)

2020-08-10 Thread Mark Wieder via use-livecode

On 8/10/20 7:31 PM, Eric A. Engle via use-livecode wrote:

is there any way to invoke the livecode engine from the terminal in linux?


suppose e.g. i wanted to run "put 7" or "put 3 + 2" from xterm or such. Is that 
possible? If so, how?

Or e.g. running a stack or script from the terminal? If so, how?


Yep. I use the server build that way. Who needs a GUI?
Just invoke it from the command line, i.e.

./livecode-community-server test.lc

where test.lc is



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ProtonMail vs Apple

2020-08-10 Thread Mark Wieder via use-livecode

On 8/10/20 2:43 PM, J. Landman Gay via use-livecode wrote:
I forgot we had a lawyer in our midst. So is Apple a monopoly in the 
legal sense?


Ha! You used "legal" and "sense" in the same sentence!

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ProtonMail vs Apple

2020-08-04 Thread Mark Wieder via use-livecode

On 8/4/20 11:39 AM, Dev via use-livecode wrote:

> I think that the changes being made are actually done from a 
protectionist perspective in an increasingly hostile digital world.


The point here, though, is that Apple is now demanding that anything 
sold through mobile ads requires a 30% tribute, whether it's sold online 
or elsewhere in the real world. This is a different thing from the 
security arguments and gets us back to where you can owe your soul to 
the Company Store.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ProtonMail vs Apple

2020-08-03 Thread Mark Wieder via use-livecode
...catching up on some reading here. One of my email providers 
(ahsoftw...@protonmail.com) has gone public with some of the 
heavy-handed tactics Apple uses on developers. For example:


"Apple has now even gone so far as to ban apps from the App Store if 
they refuse to offer in-app purchases for paid features that are 
available for purchase elsewhere. In other words, Apple wants a nearly 
one-third cut of your sales, regardless of whether you want to sell on 
their platform or not. This was precisely what happened with Proton."


https://protonmail.com/blog/apple-app-store-antitrust

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Google Play SDK problem

2020-07-31 Thread Mark Wieder via use-livecode

On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote:

Well 2 things:

1. Since LC is no longer supporting ads, with which one might earn an extra
dime, they could better remove it. Maybe via lcb and an injection in the
manifest something is possible and one could choose it's own preferable ads
provider.


Looks like the fix is on the way for 9.6.1. Quick response from the team.

https://github.com/livecode/livecode/pull/7412

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help me understand infinity

2020-07-29 Thread Mark Wieder via use-livecode

On 7/29/20 5:31 PM, Brian Milby via use-livecode wrote:

This change first appeared in 9.5 DP 1, so it isn’t really new.


Right. I don't think anyone accused this change of popping up in the 
latest release though.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help me understand infinity

2020-07-29 Thread Mark Wieder via use-livecode

On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote:


Now you can do:

local tMin, tThisResult
put infinity into tMin
repeat for each element tElement in tList
-- perform some computation on tElement to get tThisResult
put min(tMin, tThisResult) into tMin
end repeat


Well, yes, that's clever, but considering that you already had a 
workaround and that there are so many unfixed bug reports and pull 
requests waiting to be accepted and merged, I'm wondering what pushed 
this enhancement to the top of the list?



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help me understand infinity

2020-07-29 Thread Mark Wieder via use-livecode

On 7/29/20 12:17 PM, Dr. Hawkins via use-livecode wrote:


Bah,

ℵ2> floating point infinity (which is  ℵ1)


Outside of the axiom of choice (or actually even with it) that's not 
something provable. OTOH, Kant's proofs of aleph null and aleph one are 
brilliant.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help me understand infinity

2020-07-29 Thread Mark Wieder via use-livecode

On 7/29/20 12:08 PM, Alex Tweedly via use-livecode wrote:


On 29/07/2020 18:57, Richard Gaskin via use-livecode wrote:

In the v9.6.1RC1 Release Notes there's this:

   Infinity constant
   The constant infinity has been added to the language in this release.
   As a result, theunquoted literal infinity is now reserved. Any
   existing uses of it should be quoted, as otherwiseit will resolve to
   the floating point value representing infinity, rather than the
   string "infinity".

What is the use-case prompting this?


A coupe of choices:

1. Less serious: It's a "bragging rights" thing. Every other (*almost*) 
computer language has a constant representing infinity, and as Livecode 
grows up, it felt it needed one too.


2. More serious: It is a reliable floating point number that can be 
represented in IEEE FP number space - and can therefore be relied on to 
act as you would expect in comparisons. Any number compared to positive 
infinity (other than itself) *will* be less than it.


Alex.


Having played in the group Aleph Null for some years (cdbaby) I can't 
resist jumping into this one:


less serious:
if x > infinity
  throw a_tantrum
then

more serious:
The new constant of infinity fits nicely into the IEEE FP space, so it 
will function here as aleph one, but I think LiveCode will internally 
cast an integer comparison, so it should also function as aleph null.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Object naming

2020-07-26 Thread Mark Wieder via use-livecode

On 7/26/20 5:31 PM, Alex Tweedly via use-livecode wrote:

I think my head is melting :-)

I have a group called 'A'.

Inside A, there is a rect called "R" and also a group called "B"

inside B there is a rect called "R"

How do I refer unambiguously to the first rectangle (i.e. A - R, not A - 
B - R) ?


If I say
    grc "R" of grp "B" of grp A
then I unambiguously get A-B-R; but if I say simply
    grc "R" of grp "A"
then I *also* get A-B-R.

There must be a way to do this (and maybe if it wasn't nearly 2 in the 
morning I would be able to figure it out).


Help! Please !


Sounds like a layering problem - the rect in group B is being 
encountered first. I think if you relayer it so that group B has a 
higher (later) layer number than the rect outside the group you'll get 
what you want.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Is "import snapshot" without parameters broken?

2020-07-24 Thread Mark Wieder via use-livecode
Also note that in Richard Gaskin's comment to 
https://quality.livecode.com/show_bug.cgi?id=15103 the "export snapshot" 
command may also be a workaround.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Is "import snapshot" without parameters broken?

2020-07-24 Thread Mark Wieder via use-livecode

On 7/24/20 3:31 PM, matthias rebbe via use-livecode wrote:

Hi,

today i've tried to do a screen capture using "import snapshot", but without 
parameter.
Livecode displays a crosshairs cursor, but i am not able to select an area with 
the mouse. Liveconde freezes then in some way and i have to force quit it..

Is this a bug or did the syntax change for importing a snapshot with the 
possibility to select the area  with the mouse? I am on Mac OS 10.14.6.


It's been broken for years. Subject of several bug reports, at least for 
Windows and linux.


If you absolutely need a workaround now, three years ago I posted some 
very ugly code that does work in


https://quality.livecode.com/show_bug.cgi?id=20104

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using OAuth2 with Microsoft API services

2020-07-22 Thread Mark Wieder via use-livecode

On 7/22/20 12:00 PM, Richard Gaskin via use-livecode wrote:

Oddly, it appears as though we're authentincating fine as it is using 
shared secret, the only problem being that we're not getting the 
redirect to close the browser widget and return the auth code to us.




What happens if you try this from a terminal or in Postman?
Do you see the redirect?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using OAuth2 with Microsoft API services

2020-07-22 Thread Mark Wieder via use-livecode

On 7/22/20 11:55 AM, Richard Gaskin via use-livecode wrote:


And I missed something - how does Amazon play into this?

Sorry - my bad. Doing too many things at once here.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using OAuth2 with Microsoft API services

2020-07-22 Thread Mark Wieder via use-livecode

On 7/22/20 9:26 AM, Richard Gaskin via use-livecode wrote:
I've run into a snag in which the OAuth2 redirect URI does not seem to 
be called when used to authenticate for Microsoft API services such as 
Dynamics 365.


Before getting into details (there are many) it would be helpful to know 
whether anyone here has successfully use LiveCode's OAuth2 library to 
connect to Microsoft Office 365 apps, or even other Microsoft services 
that use Azure's authentication service.


Haven't, but this seems to be what you need:



Microsoft and Amazon make for strange bedfellows. Use certificates if 
you can.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live code server with Debian 8 Jesse

2020-07-13 Thread Mark Wieder via use-livecode

On 7/13/20 11:25 AM, Heriberto Torrado via use-livecode wrote:

Hi Kevin,

I use Livecode server on several Linux machines:

Centos 7 / 8 and Ubuntu 14/16/18.

I didn't need 32bits libraries.

I created a brief installation tuto in my blog:

https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/

It is in Spanish, but you could use Google translator.


Ah... much better instructions, thanks.
Note that your fuente de inspiración: at the bottom no longer exists.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Live code server with Debian 8 Jesse

2020-07-13 Thread Mark Wieder via use-livecode

On 7/13/20 9:28 AM, Kevin Stallibrass via use-livecode wrote:
> Thanks Mark,
> Debian is 64bit and I’m using the linux64 downloads of live code 
server. Do I not need the 32bit libraries? Documentation is very unclear 
about this. I’d presumed that live code server was still 32bit


Ah... documentation...
I just looked at the release notes. Apparently Debian 7 and 8 are all 
that's officially supported. That's unfortunate.


and rereading your original post, I see you're looking at a "lesson" to 
figure this out. I assume that's


http://lessons.livecode.com/m/4070/l/36652-how-do-i-install-livecode-server-on-linux-with-apache

where I see the bewildering statement

"32bit libraries are required for LiveCode server to run on a 64bit 
Linux distribution"


I ran ldd on the server binary and I don't see any 32-bit dependencies. 
I assume that's an old statement in the lesson and should be deleted. 
Those instructions were written in 2013. I wouldn't trust them for any 
recent builds. I just assume that fiddling with .htaccess would get 
things working, the same as on other distros.


That said, I haven't tried to set this up on Debian so I can't really 
help with this. There is (now) a longer comment from Russell Martin on 
that lesson page, and it might help to follow his lead on that rather 
than the outdated lesson. Even Russell's comment, though, is from some 
six years ago, so YMMV.


--
 Mark Wieder
 ahsoftw...@gmail.com

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   3   4   5   6   7   8   9   10   >