Re: Livecode Login stuck pinging Facebook?

2024-05-03 Thread Geoff Canyon via use-livecode
I'm completely locked out -- my Mac happened to open dp8, took me to the registration saying I wasn't recognized, and now all versions of LC take me to the registration page. I can't login at the web site either, and trying to reset my password doesn't email me. very sad face gc On Fri, May 3, 2

Re: Does the browser widget work?

2023-12-08 Thread Geoff Canyon via use-livecode
t; But I suppose your problem isn’t that simple, right…? :) > > > > 8 dec. 2023 kl. 22:42 skrev Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com>: > > > > set the url of widget 1 to “http://www.google.com” — nothing > > > > set the url

Does the browser widget work?

2023-12-08 Thread Geoff Canyon via use-livecode
set the url of widget 1 to “http://www.google.com” — nothing set the url of widget 1 to “file:///Users/gcanyon/Desktop/test.html” — also nothing Am I doing it wrong? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: All Versions of LC crashing in Sonoma

2023-09-29 Thread Geoff Canyon via use-livecode
Confirming that 9.6.9 dies immediately on launch for me. I have a standalone I built with one of the 9.6.x builds, and that doesn't die (at least not immediately). gc On Fri, Sep 29, 2023 at 7:23 AM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > I've not tested personall

Re: Your scripts as a flowchart

2023-09-17 Thread Geoff Canyon via use-livecode
t; The tool will not look for behaviors and auto-include them. Every stack >> that has relevant code must be included manually in the project pane. If >> you have many SoSs, you can quickly add them all by adding the whole folder >> they are in. >> >> How many handl

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
at has relevant code must be included manually in the project pane. If > you have many SoSs, you can quickly add them all by adding the whole folder > they are in. > > How many handlers does the analysis find? > > /Andreas > > > > 16 sep. 2023 kl. 22:43 skrev Geoff

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
> -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 16, 2023 11:15:00 AM Geoff Canyon via use-livecode > wrote: > > > Does it not handle script-only stack behaviors? I get a blank display for > >

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
Does it not handle script-only stack behaviors? I get a blank display for Navigator (which has no code other than SoS behaviors). gc On Fri, Sep 15, 2023 at 10:32 AM Andreas Bergendal via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all! > > Those frequenting the forums may have see

Re: sort bug

2023-09-06 Thread Geoff Canyon via use-livecode
From the original email: If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. To be clear:

Re: Sort bug

2023-09-01 Thread Geoff Canyon via use-livecode
With 9.6.9 on a mac and a field where the second and third items of each line are numbers: sort lines of fld 1 numeric by item 2 of each + item 3 of each -- works sort lines of fld 1 numeric by value(item 2 of each + item 3 of each) -- works sort lines of fld 1 numeric by merge("[[item 2

Re: Behaviors

2023-08-24 Thread Geoff Canyon via use-livecode
I'll admit it's not very intuitive, but: In Navigator, right-click any button. On the context menu, select Copy > Objects. Navigate to any control or card, stack, etc. Bookmarks are fine for this as well. Right-click any other control. On the context menu, select Set Copied Btn as Behavior. On Th

Re: Variable Watcher disappeared

2023-08-09 Thread Geoff Canyon via use-livecode
You can also accomplish most of this by right-clicking a stack in Navigator, and selecting Go > Show on the popup menu. That centers the stack on screen and shows it. It's meant to be guaranteed, so if there are other steps to take to ensure a stack presents itself, I'm happy to add them. On Tue,

Re: If you're using the github version of Navigator, please update

2023-08-08 Thread Geoff Canyon via use-livecode
Probably most LC users have no idea what they are missing! > https://gcanyon.wordpress.com/navigator-documentation/ > > Regards > Bernard > > On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Turns out I ha

If you're using the github version of Navigator, please update

2023-08-05 Thread Geoff Canyon via use-livecode
Turns out I had a glitch I didn't notice with my github client, and no updates were making it to main for some time now. So if you happen to have installed Navigator by cloning the repo, now would be a good time to update. Some improvements that have happened: 1. I completely did away with the st

Re: Tab button is not getting messages

2023-08-01 Thread Geoff Canyon via use-livecode
place background onto card There are other ways (cough, Navigator has built in support), but that will do it. On Tue, Aug 1, 2023 at 9:11 AM Dar Scott via use-livecode < use-livecode@lists.runrev.com> wrote: > > There’s a tab widget? Cool. > > I guess I’m using a tab button. > > I think I know

Re: Reorder fields

2023-07-30 Thread Geoff Canyon via use-livecode
om> wrote: > Also good time to mention revNavigator where the grouping would be > immediately obvious and you can drag to reorder. > > Sent from my iPhone > > > On Jul 29, 2023, at 15:22, Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > >

Re: Reorder fields

2023-07-29 Thread Geoff Canyon via use-livecode
One trick to this is that objects are included into a group if relayerGroupedControls is set to true and the layer of the control is set to the layer above the group. Meaning that if you have this arrangement: stack "Untitled 1" card id 1002 | group id 1005 (1005) | | button "Button" (1006) |

Re: Reorder fields

2023-07-28 Thread Geoff Canyon via use-livecode
Also check out the relayerGroupedControls property. It probably would have led to even greater confusion in this instance, but it's good to know about it and what it does. From the dictionary: "Specifies whether you can change the layer of controls in a group even if not in group-editing mode." I

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

2023-07-25 Thread Geoff Canyon via use-livecode
So, not to be too much of an apologist, but the issue doesn't seem like a showstopper to me. On Tue, Jul 25, 2023 at 10:36 AM Dick Kriesel via use-livecode < use-livecode@lists.runrev.com> wrote: > > > > On Jul 25, 2023, at 11:37 AM, Geoff Canyon via use-li

Re: Has anyone experimented with using Python within LC?

2023-07-25 Thread Geoff Canyon via use-livecode
On Fri, Jul 21, 2023 at 4:10 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Out of curiosity, what can be done in in Python that cannot be done in LC > Script? > I'm learning more as I study python. This is pretty nice: import re x = re.split('[a|t]','this is a test an

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

2023-07-25 Thread Geoff Canyon via use-livecode
Maybe a silly question, but that issue lists "turn on bracket completion" as a step to reproduce. If bracket completion is off, is it safe? On Mon, Jul 24, 2023 at 11:55 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > It's particularly frustrating because there are so

Re: Has anyone experimented with using Python within LC?

2023-07-22 Thread Geoff Canyon via use-livecode
Both are turing complete, so there's technically nothing one can do that the other can't, but some examples: Suppose you want to generate prime numbers. In LiveCode you might write this algorithm: https://github.com/gcanyon/primelist Generating the primes up to 1,000,000 takes over 1.3 seconds on

Re: What is your best practice for setting a script in a script?

2023-07-21 Thread Geoff Canyon via use-livecode
Way back when (in the metacard era) I wrote code to create an XML representation of a stack, and build a copy of the stack from that XML file. Oh, I just checked and I still have a copy of the file. It almost certainly does not address all the nuances that have been added since then -- behaviors,

Re: Has anyone experimented with using Python within LC?

2023-07-21 Thread Geoff Canyon via use-livecode
gt; In the real world you'd probably want to set up a single external file (or > set of files? if performance is important and the files need to be used > repeatedly?) and check to make sure you're not accidentally overwriting > something. > > On Thu, Jul 20, 2023 a

Re: Has anyone experimented with using Python within LC?

2023-07-20 Thread Geoff Canyon via use-livecode
hey python file? Or does the Python script need to be processed by Python > first? > > Bob S > > > > On Jul 20, 2023, at 12:33 PM, Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I've now figured out that calling a Pytho

Has anyone experimented with using Python within LC?

2023-07-20 Thread Geoff Canyon via use-livecode
I've now figured out that calling a Python file from within LC is as easy as: put shell(quote & "" & quote && quote & "" & quote) Then whatever gets print()'ed in Python gets returned to LC. Has anyone done work this way and has ideas on best practices for some sort of 1. generate python code 2.

Re: What is your best practice for setting a script in a script?

2023-07-15 Thread Geoff Canyon via use-livecode
Custom properties would definitely be my go-to, similar to what others have said. That said, I think the merge command is your friend here. This script in a button does what you want: on mouseUp set the script of button "Sample" to \ merge("on mouseUp[[cr]]" &\ "ask [[quote]]

Shell + Python?

2023-07-15 Thread Geoff Canyon via use-livecode
In terminal, this works: python -c "print('hello world')" In LiveCode, this: *put* shell("python -c " & quote & "print('hello world')" & quote) puts this: /bin/sh: line 1: python: command not found while this: *put* shell("pwd") puts this: /Applications/LiveCode 9.6.9.app So any idea why

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

2023-07-13 Thread Geoff Canyon via use-livecode
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 put some python into the script of that button and have it just work, with access t

Re: Training the AI to write better LiveCode

2023-01-24 Thread Geoff Canyon via use-livecode
On Tue, Jan 24, 2023 at 8:10 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I don't think it needs to store ALL the permutations, only the viable > ones, the ones that lead to success. That has to be a much smaller number. There are only three outcomes: win, lose, draw

Re: Training the AI to write better LiveCode

2023-01-23 Thread Geoff Canyon via use-livecode
On Mon, Jan 23, 2023 at 4:09 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Meh. Don't like using Chess as a measurement of AI competence. Chess is in > AI's wheelhouse. Once a computer can store all the possible permutations of > chess, > I agree on the sentiment, but

Re: Training the AI to write better LiveCode

2023-01-21 Thread Geoff Canyon via use-livecode
Forgot to include: in the '10s I would have added rogue AI. On Sat, Jan 21, 2023 at 2:47 PM Geoff Canyon wrote: > > > On Sat, Jan 21, 2023 at 10:50 AM Richard Gaskin via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> >> Human-generated disinformation is already a significant destabi

Re: Training the AI to write better LiveCode

2023-01-21 Thread Geoff Canyon via use-livecode
On Sat, Jan 21, 2023 at 10:50 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > Human-generated disinformation is already a significant destabilizing > force. When we trust machine-generated content we run that same risk at > light speed. > Absolutely agreed -- If you

Re: Training the AI to write better LiveCode

2023-01-21 Thread Geoff Canyon via use-livecode
Those only interested in LiveCode, click "next" now. On Sat, Jan 21, 2023 at 10:40 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > After all, the Codex had been trained on billions of > publicly available source code lines – including code > in public re

Re: Training the AI to write better LiveCode

2023-01-21 Thread Geoff Canyon via use-livecode
Eliza never passed a Turing Test, not even remotely. I've been doing a ton of other research with ChatGPT, and it definitely is able to pass a Turing test in some circumstances. Example below. No, it doesn't "understand" the way a human does. AlphaZero doesn't "understand" chess the way a human d

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
I'm sure someone has done the work to create a more efficient algorithm for this. Off the top of my head if I were trying to I'd probably do something like: 1. Grab two points at random (in case the points are pre-sorted in some way) and get the distance. 2. Assume that's a reasonable average dis

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
Whoa, TIL. Of course ChatGPT was easily able to make the substitution. I've updated the doc. gc On Fri, Jan 20, 2023 at 9:46 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > On 20/01/2023 15:55, Geoff Canyon via use-livecode wrote: > > > Respo

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
On Fri, Jan 20, 2023 at 6:57 AM Craig Newman via use-livecode < use-livecode@lists.runrev.com> wrote: > Geoff. > > Startling, and beautifully presented. > > I had no idea ChatGPT was that powerful and knowledgeable. > > We are doomed. > > Craig > Doomed like the guys walking behind the horses wer

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
> put item 2 of pPoints[j] - item 2 of pPoints[i] into t2 > put t1 * t1 + t2 * t2 into dist > if dist < minDist then > put dist into minDist > put pPoints[i] & " " & pPoints[j] into closestPoints >

ChatGPT examples

2023-01-19 Thread Geoff Canyon via use-livecode
I tested three use cases, with variations, using ChatGPT for (live)code generation. There was a lot of back and forth. In the end, I solved all the problems I set, but in some cases I had to hold ChatGPT's hand pretty tightly. That said, I learned some things as well -- about LiveCode. ChatGPT's c

Tab groups broken?

2023-01-16 Thread Geoff Canyon via use-livecode
I have LC 9.6.8 on a Mac. I drag a tab group onto a card, and it shows up with the primary tab looking...disabled? And it doesn't work at all. It also doesn't receive mouseUp messages? So confused. ___ use-livecode mailing list use-livecode@lists.runrev.

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Sat, Jan 14, 2023 at 9:44 AM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > > Keep in mind,though, that there's lots of example fizzbuzz code for the > algorithms to draw from. > Definitely. I'll have to think about a (possibly) original challenge. gc _

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Sat, Jan 14, 2023 at 12:08 PM Mark Smith wrote: > > Quite weird for me to comprehend how it knows that. Unless of course, you > were somehow more specific than your examples illustrate. > I posted the exact prompts I gave it, no hidden tricks :-) __

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Fri, Jan 13, 2023 at 7:22 PM Geoff Canyon wrote: > > If I were writing it, I'd probably do something like > > [my code] > > That might be a bit faster, but probably not as clear. > I just checked, and my code is about 20% *slower* and still less clear. Good grief, I'm about to be replaced by

Re: Standalone riddle

2023-01-13 Thread Geoff Canyon via use-livecode
This doesn't solve the puzzle, but: use a stack property to store the value instead? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Re: Training the AI to write better LiveCode

2023-01-13 Thread Geoff Canyon via use-livecode
So just now I put this in to chatgpt: "fizz bin" is a program that counts from 1 to 100, replacing every number divisible by 5 with "fizz" and every number divisible by 7 with "bin"; and numbers divisible by both 5 and 7 with "fizz bin". Write code in the programming language livecode to execute "

Re: Sad news about Brahmanathaswami

2022-12-27 Thread Geoff Canyon via use-livecode
I worked with Swami a few times -- he liked Navigator, so of course I think he was awesome :-) It's always sad to hear of someone passing. The memories they leave behind live on in all of us. ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: So, looks like we'll be able to run LiveCode on an iPad at some point

2022-12-16 Thread Geoff Canyon via use-livecode
Sorry, I should have said "technically able" -- but surely (if this happens) this means that it would be possible to ship an iOS app capable of being licensed, creating an interface within it, modifying scripts of that interface, and possibly even saving that as a new iOS app? The multi-window asp

So, looks like we'll be able to run LiveCode on an iPad at some point

2022-12-16 Thread Geoff Canyon via use-livecode
https://sixcolors.com/post/2022/12/answering-the-burning-questions-about-apples-reported-app-store-plans/ Being able to work on an iPad the same as I do on my MacBook would be very nice. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Build in Answer Dialog

2022-12-06 Thread Geoff Canyon via use-livecode
On Tue, Dec 6, 2022 at 9:35 AM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > > are you sure that we are allowed save a file inside of an application > bundle > inside of the APPLICATION folder on macOS? > Since it already gives fairly easy access to the IDE/code, toward

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
; > Brian Milby > br...@milby7.com > > > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > A random thought: if you converted to script-only stack behaviors first, > > then you would have a bunc

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
One small point on this: it doesn't matter since we're dealing with HC files here, but in LC there can be backgrounds that don't appear on any card. So it would be necessary to add: repeat with j = 1 to the number of backgrounds in stack i repeat with k= 1 to the number of controls of back

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
My first thought is to export all scripts to a single file, with customized headers for each object (maybe with a user-definable format). Then look for that same format when pasting, to restore/update the scripts. Does that make sense? Or would it be better to have an export function to create indi

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
Navigator has support for test-based filtering of controls, and can copy/paste scripts, but it doesn't support copying/pasting to more than one control at a time. That would be an interesting problem to solve. What's your time frame? gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livec

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm updating a very old set of st

Re: Anyone any experience with Livecode under Ventura?

2022-11-10 Thread Geoff Canyon via use-livecode
eryone. One day someone is going to lock the doors... > > Bob S > > > On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> > wrote: > > I upgraded to Ventura over a week ago. No problems so

Re: Anyone any experience with Livecode under Ventura?

2022-11-08 Thread Geoff Canyon via use-livecode
I upgraded to Ventura over a week ago. No problems so far with one exception: the OS suggested that I consolidate everything onto iCloud for universal access and backups. I did so. That resulted in oddities like cmd-shift-D now opening iCloud/Desktop instead of something in my home directory. Or mo

Not LC-related, but this will give old-timers a blast of nostalgia

2022-11-07 Thread Geoff Canyon via use-livecode
https://beyondloom.com/decker/tour.html Interestingly, it works almost identically native and on web. You literally save with an .html extension and it's web-able. The language is *not* HyperTalk. ___ use-livecode mailing list use-livecode@lists.runrev.

Re: Set behavior of standalone

2022-10-18 Thread Geoff Canyon via use-livecode
If you mean set the behavior *after* creating the standalone, that should be possible, but it won't stick. You would have to set it each time. If you mean set a behavior of a e.g. a stack or a card (or anything) before creating the standalone, then it should be possible and should be permanent. Is

Quick and simple web demos?

2022-09-30 Thread Geoff Canyon via use-livecode
Back in the day, I would create quick and simple demos of something I was building as a concept, create standalones, and send them to the people I wanted to demonstrate to. As an example of an example, suppose I wanted to build a simple Eliza-like chatbot. I could throw a field on a card, put a "st

Re: Weird performance issue

2022-09-23 Thread Geoff Canyon via use-livecode
On Fri, Sep 23, 2022 at 4:44 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Letting the engine do it for you is always faster. > Interestingly, *just* getting the names and ids for a 1500 card stack is only about 15 times faster using the functions rather than a loop

Re: Weird performance issue

2022-09-23 Thread Geoff Canyon via use-livecode
| jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 23, 2022 5:46:24 PM Geoff Canyon via use-livecode > wrote: > > > On Fri, Sep 23, 2022 at 11:08 AM Mark Wieder via use-livecode < > > use-livecode@lists.runrev.com>

Re: Weird performance issue

2022-09-23 Thread Geoff Canyon via use-livecode
On Fri, Sep 23, 2022 at 11:08 AM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 9/23/22 10:40, J. Landman Gay via use-livecode wrote: > > It may be related to the size of the stack. LC would have to load it all > > into memory before checking the cards. Also, do the resu

Re: Weird performance issue

2022-09-23 Thread Geoff Canyon via use-livecode
u > lock messages? > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 22, 2022 3:01:48 PM Geoff Canyon via use-livecode > wrote: > ___ use-livecode mailing list use-livecode@

Re: Weird performance issue

2022-09-23 Thread Geoff Canyon via use-livecode
t > that does not appear in the “stacks” list? > > Craig > > > On Sep 22, 2022, at 3:58 PM, Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I was testing something for Navigator and found the following: > > > >

Weird performance issue

2022-09-22 Thread Geoff Canyon via use-livecode
I was testing something for Navigator and found the following: put the long seconds into T repeat 1 get there is a card 1 of stack "untitled 1" --get there is a card 1 of stack "revnavigator" end repeat put the long seconds - T into T put T -- puts 0.005 or so put the long seconds

Re: Stylistic question.

2022-09-10 Thread Geoff Canyon via use-livecode
I do the > right-click single object method, sometimes the focus does NOT change, and > I have to do the right-click thungummy again. > > Bob S > > > On Sep 8, 2022, at 24:54 , Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.ru

Re: Stylistic question.

2022-09-08 Thread Geoff Canyon via use-livecode
rties, but if this is not the > intended behavior I figured you'd want to know. > > Bob S > > > > On Sep 7, 2022, at 08:03 , Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Awesome good job. > > > > Bob S &g

Re: Stylistic question.

2022-09-08 Thread Geoff Canyon via use-livecode
esome good job. > > > > Bob S > > > > > >> On Sep 7, 2022, at 24:16 , Geoff Canyon via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> > >> Okay, I figured it out. When Navigator is displaying whatever the > contents >

Re: Stylistic question.

2022-09-07 Thread Geoff Canyon via use-livecode
; had. Not sure where to look for the most recent version. Issue persists for > me. > > Bob S > > > > On Sep 6, 2022, at 08:11 , Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I'll have a look. > > > > Bob S &

Re: Stylistic question.

2022-09-06 Thread Geoff Canyon via use-livecode
Ha, I just realized that I responded to the Navigator part of the conversation without responding to the style part. When I wrote the "convert a control(s) to behaviors" code, I didn't think twice about what to apply it to or not -- I selected everything and converted it all. That was something lik

Re: Stylistic question.

2022-09-05 Thread Geoff Canyon via use-livecode
On Thu, Sep 1, 2022 at 10:32 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I will however ask for just one enhancement: If I am filtering the list and have an item or items selected, and then I clear the filter, it also clears the selection. It would be great if the sele

Re: propertyChanged message

2022-09-03 Thread Geoff Canyon via use-livecode
> what if I wanted to change the font settings again, but only for say, labels, and only certain labels and not others? There are multiple ways to do (something like) this in Navigator. 1. Navigator can display all the controls in a stack (show the card list, select all the cards, right click and

Re: Stylistic question.

2022-09-02 Thread Geoff Canyon via use-livecode
On Thu, Sep 1, 2022 at 10:32 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I will however ask for just one enhancement: If I am filtering the list > and have an item or items selected, and then I clear the filter, it also > clears the selection. It would be great if the

Re: lcb missing manual

2022-09-02 Thread Geoff Canyon via use-livecode
On Thu, Sep 1, 2022 at 10:08 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Its much faster than C but slower than Script. Should that be "much slower than C but faster than Script"? In which case, what happened to the "faster than script" part?

Re: Livecode / Github

2022-08-31 Thread Geoff Canyon via use-livecode
So all this discussion reminded me that I wrote an export/import stack some time ago. I definitely don't still have a copy on my computer, so I went looking on the web: geoff canyon livecode export -- nothing useful, maybe it was in the runrev era? geoff canyon runrev export -- no luck. I rememb

Re: lcb missing manual

2022-08-31 Thread Geoff Canyon via use-livecode
pull out some code from a while back where we were doing some speed > > tests. > > > > Sent from my iPhone > > > > > On Aug 30, 2022, at 5:31 PM, Geoff Canyon via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > > Is

Re: lcb missing manual

2022-08-30 Thread Geoff Canyon via use-livecode
Is there a page that discusses the pros of LCB? I looked and didn’t find it. I’m thinking of a simple list (I’m making this up because I didn’t find the page) — N times faster execution than LCS — interface with code libraries using simple hooks — bundle code and graphics together into widge

Re: BN Guides

2022-08-30 Thread Geoff Canyon via use-livecode
15(?) years ago I wrote an app that bounced a bunch of balls across the screen. Each was a shaped-stack. It has no trouble being pretty smooth even with twenty or so stacks, as I recall. It would be more than enough for guides, especially with the 100x hardware we have today. Positioning a sta

Re: BN Guides

2022-08-30 Thread Geoff Canyon via use-livecode
He's also throwing controls into the stack to show guides for the alignment, and then disposing of those. So maybe in for a penny? If I were doing something like this I think I'd try: 1. A frontscript, as you say, or just setting up to receive IDE messages -- pretty sure there's an objectMoved ID

Re: BN Guides

2022-08-29 Thread Geoff Canyon via use-livecode
rent version here > > https://forums.livecode.com/viewtopic.php?f=4&t=31920 < > https://forums.livecode.com/viewtopic.php?f=4&t=31920> > > > Regards, > Matthias > > > > Am 28.08.2022 um 19:38 schrieb Geoff Canyon via use-livecode < > use-livecode@lists.runrev.co

Re: Livecode / Github

2022-08-28 Thread Geoff Canyon via use-livecode
To be clear: if anyone wants to try Navigator's export to script behaviors function -- work on a copy, and I'd love feedback. On Sun, Aug 28, 2022 at 10:35 AM Geoff Canyon wrote: > The same applies to the code in Navigator. I wrote it about five years ago > when I was preparing to transform Navi

Re: BN Guides

2022-08-28 Thread Geoff Canyon via use-livecode
Where are the BN guides? I'd be curious to see how this is happening. As I recall, Navigator is designed to dive through whatever behaviors are set regardless of how deep the rabbit hole goes to find the actual behavior, but I haven't looked at that part of the code in years. gc On Thu, Aug 25, 2

Re: Livecode / Github

2022-08-28 Thread Geoff Canyon via use-livecode
The same applies to the code in Navigator. I wrote it about five years ago when I was preparing to transform Navigator itself to use script behaviors. Always work on a copy. That said, it worked fine for Navigator, and no one has ever told me it broke anything. gc On Thu, Aug 18, 2022 at 10:06

Re: Is syntax a dead issue?

2022-07-25 Thread Geoff Canyon via use-livecode
On Mon, Jul 25, 2022 at 12:08 AM Jacques Clavel via use-livecode < use-livecode@lists.runrev.com> wrote: > just curious : what about using LCB for the repeat loop ? > > jc > I confess I haven't touched LCB ___ use-livecode mailing list use-livecode@list

Re: Is syntax a dead issue?

2022-07-25 Thread Geoff Canyon via use-livecode
On Mon, Jul 25, 2022 at 12:00 AM jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Just curious : why do you use "read from file F for 1 line" ? > Instead, why don't you read the file in one go, load the content > into a variable and then use "for each line j in myVar" ? > Wouldn't th

Re: Is syntax a dead issue?

2022-07-24 Thread Geoff Canyon via use-livecode
As a meta point, I wrote a version closer to the actual requirements -- lowercase everything, process an external input line by line to allow for arbitrary input size. The result is about 8-10x slower than most other languages -- not as bad as I feared, not as good as I hoped. Here's the code for t

Is syntax a dead issue?

2022-07-24 Thread Geoff Canyon via use-livecode
On this Hacker News thread , I read this programming interview question . Roughly, the challenge is to count the frequency of words in input, and return a list with counts, sorted from most to least frequent.

Re: Stylistic question.

2022-07-24 Thread Geoff Canyon via use-livecode
Sorry for the late response, but thanks for the shoutout. I'll also mention that some time ago I put a fair bit of effort into enabling Navigator to behavior-ify any set of controls, automatically extracting their built-in code to script-only-stacks. I did it as part of the migration of Navigator t

Re: A question/survey of sorts for users of Navigator

2022-01-10 Thread Geoff Canyon via use-livecode
I was thinking about something to support this, but I worry that it would be over-engineered: Allow defining a set of conditions, matched with actions, and then run the conditions in order and the first (all?) that match execute the corresponding action. Meaning in your case you'd do something lik

Re: OT: Wordle

2022-01-09 Thread Geoff Canyon via use-livecode
FYI, the game Deduce http://www.obviouslygenuine.com/Obviously_Genuine/Products.html does a roughly similar game mechanic with six-letter words, and offers many interesting UI features -- e.g. you can propose that a letter is correct, and the game will show you the consequences of that choice. gc

Re: A question/survey of sorts for users of Navigator

2022-01-04 Thread Geoff Canyon via use-livecode
> > Sincerely, > Clarence Martin > Email: chi...@themartinz.com > Cell: (626)696-5561 > > -----Original Message----- > From: use-livecode On Behalf Of > Geoff Canyon via use-livecode > Sent: Monday, January 3, 2022 11:01 PM > To: How to use LiveCode > Cc: Geoff Ca

A question/survey of sorts for users of Navigator

2022-01-03 Thread Geoff Canyon via use-livecode
After twenty years, I still use Navigator every time I open LiveCode, and still think of new features. One of the very first things I put in Navigator was to make double-clicking a control open the script for that object, because I edit scripts far more often than I set properties. There are now

Re: Layers in PBrowser

2020-09-02 Thread Geoff Canyon via use-livecode
Geoff is that when I drag the window to a location, I would like > it to remain there, even when minimized. It always reverts to a default > location when first opened, which happens to overlap the GLX2 bar. > > Bob S > > > On Aug 29, 2020, at 12:54 AM, Geoff Canyon via use-li

Re: Layers in PBrowser

2020-08-29 Thread Geoff Canyon via use-livecode
Hey Sean, Late to the conversation because Navigator is a hobby, but: I've worked *really* hard to make drag-and-drop relayering work properly. I've implemented it almost from scratch something like five times over the years, each time because I reached a dead end with the previous method (or som

Re: Navigator won't go away!

2020-06-28 Thread Geoff Canyon via use-livecode
Just came across this -- sorry for the frustration. I'll reach out to the LC crew about either updating or removing Navigator. gc On Fri, Mar 27, 2020 at 12:51 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > OK Sorry for the noise. I see now that the Files & Memory/User

Re: 9.5 on Windows seems terribly unable to deal with fields full of text?

2019-09-09 Thread Geoff Canyon via use-livecode
I’ve now modified my stacks to include a closecard handler to clear the large field’s content when exiting. Stack is now much faster to work with and save — far out of proportion to the size savings. ___ use-livecode mailing list use-livecode@lists.r

Re: 9.5 on Windows seems terribly unable to deal with fields full of text?

2019-09-08 Thread Geoff Canyon via use-livecode
Just running a script with large variables, no viewers open, and setting a breakpoint took 20 seconds. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

9.5 on Windows seems terribly unable to deal with fields full of text?

2019-09-08 Thread Geoff Canyon via use-livecode
The ide seems slow in general, but put the contents of a 1 mb 80k line file, and the message box disables the IDE, with multi-second delays. Examine that value as a variable, and similarly but to a lesser extent things slow down. I remember having no trouble doing things like this in 8, maybe ev

Browser widget cookies?

2019-08-27 Thread Geoff Canyon via use-livecode
If I set the url for the browser widget to a url, and the server sets a cookie, can I read/modify/delete that cookie? gc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscrip

  1   2   3   4   >