Re: Mosquitto library.

2024-06-08 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > * if you're on mobile, you can use push Desktop push isn't supported in LC's notifications API? > * you can also set up a small web server in your app to receive messages. > levure uses this technique to receive messages from a plugin in sublime > text that a script has

Re: Snapshot question

2024-06-04 Thread Richard Gaskin via use-livecode
Craig wrote: > The docs must be wrong. I just tested with all seven of the graphic > options in the tools palette, and they all rotate just fine. I'd guess that Dictionary entry was written before July 7, 2007. In the revcommonlibrary script you'll find the revRotatePoly command on lines 496

LiveCode on Social Media

2024-06-03 Thread Richard Gaskin via use-livecode
For LC support nothing beats this use-list and the LC Forums, but for spreading the word about LC and the cool stuff you're making with it nothing beat social media. Two of the largest social media discussion groups for LC are: LinkedIn: "LiveCode Developers" Best social media platform for

Re: Saving data in standalone

2024-05-22 Thread Richard Gaskin via use-livecode
When I've used a group as a document view, sometimes I just copy the group to an invisible stackfile for storage. The engine handles stackfiles efficiently and robustly. If we had viewers it'd save me the copy step. https://quality.livecode.com/show_bug.cgi?id=2786 Richard Gaskin

Re: UPDATE: filterArray()

2024-05-20 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I’m surprised about the time differential. I was too, but in the end it kinda makes sense. Both LC and SQLite are complex scripting engines, where code has to be parsed and interpreted into executable machine instructions. The one advantage of filtering LC arrays in LC

Re: UPDATE: filterArray()

2024-05-17 Thread Richard Gaskin via use-livecode
Thank you, Bob. It reminded me of a test I started a while back, and prompted me to finish the relevant part of it: go url "https://fourthworld.net/lc/Array%20vs%20SQLite.livecode; Richard Gaskin FourthWorld.com ___ use-livecode mailing list

Re: LC compilation

2024-04-30 Thread Richard Gaskin via use-livecode
Kinda perfect, really. ;) Richard Gaskin FourthWorld.com Bob Sneidar wrote: > That LC compilation should read GROKING stupid spell correct. > Seemed like a good idea at the time… > > Bob S > > >> On Apr 29, 2024, at 4:28 PM, Bob Sneidar wrote: >> >> I have a hard enough time growing >>

Re: Websockets ... again.

2024-04-27 Thread Richard Gaskin via use-livecode
Bernard Devlin wrote: > One thing to bear in mind is that Livecode does not support secure sockets > (despite what the Dictionary might say). This is based on the Dictionary example for the "open socket" command. It runs without error, and the callback works. on mouseup open secure

Re: Websockets ... again.

2024-04-26 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Can we get a measure again as to the interest in web sockets implementation > in livecode? Requested 2015, last activity 2020: https://quality.livecode.com/show_bug.cgi?id=16091 Given the elapsed time so far, maybe we can find another way to do this. - How hard would it be to

Re: Enhanced HTTPD - native HTTP 1.1 Livecode Socket Server

2024-02-28 Thread Richard Gaskin via use-livecode
FWIW I haven't heard from David, but with the economic numbers off to a good start this year I suspect he's just been as busy as most I know. I know of at least one other LC fan with an interest in decentralized protocols, but I'm not sure how far he's gotten with his implementations. I've

Deployment: a plea/opportunity

2023-10-13 Thread Richard Gaskin via use-livecode
We see it here in this list. We see it in the forums. We see it wherever app deployment is discussed: OS requirements for packaging/stapling/signing apps are onerous. At the edge of, and sometimes exceeding, being prohibitively so. There's no point in making a standalone if you can't ship it.

[OT] Re: Forum Software LC?

2023-09-28 Thread Richard Gaskin via use-livecode
Dan Brown wrote: > A lot of corporations are indeed making a ton of money off > the back of free labour and free software. Thanks Stallman   Public goods benefit the public. I trust that those who choose to volunteer to contribute to public goods understand that will include businesses as well

[OT] Re: Forum Software LC?

2023-09-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Richard wrote: >> That said, my circle of friends include a good many who still use IRC >> daily... > > You seem like a World Of Warcraft guy to me.   Worse: Mage Knight :)   --   Richard Gaskin Fourth World Systems   ___

Re: Forum Software LC?

2023-09-28 Thread Richard Gaskin via use-livecode
Keith Martin wrote: > To me, Discord looks like a refugee from a moderately poorly > designed BBS from 30 years ago. I use it (it's the student > comms platform of choice for a course I teach on) and it does > work well in the sense of being very functional, but it offends > me on multiple

Re: Livecode 10dp6 and web fonts

2023-09-28 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > So this is sort of an informal poll among Livecoders who MAKE > multi-platform apps (defined as 2 or more platforms of (macOS, > Windows, Linux, iOS, Android, Web) > > (A) Do you try to make your interfaces across platforms the > SAME (as much as possible)? > > OR > > (B) Do

Re: Forum Software LC?

2023-09-28 Thread Richard Gaskin via use-livecode
William Prothero wrote: > Discord looks really interesting. I'm thinking of trying it out. > One thing I wonder about is user privacy. I know there are private > channels, but does the entity supporting discord have access to > user data, emails, names, etc? > > That will be the first question

Re: Forum Software LC?

2023-09-21 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Richard Gaskin wrote: >> >> Bob Sneidar wrote: >>> Erm… neither of those are free. :-) >> >> Please explain. >> https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md >> https://discord.com/blog/starting-your-first-discord-server > > > Well, if I go to my

Re: Forum Software LC?

2023-09-21 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Erm… neither of those are free. :-)   Please explain.   https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md https://discord.com/blog/starting-your-first-discord-server   -- Richard Gaskin Fourth World Systems  

Re: Forum Software LC?

2023-09-20 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > On Sep 20, 2023, at 11:38 AM, Richard Gaskin wrote: >> >> The project is open source, so you can also host it yourself: >> >> https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md > > > Thanks for the additional information. > > If I host it myself do I

LC domain for sale: livecodeworld.com

2023-09-20 Thread Richard Gaskin via use-livecode
I had two extra LC-related domains, one of them sold quickly to a member of our community, and I have one remaining: livecodeworld.com I'd taken out the domain with the vision of using it to replace livecodejournal.com, but for SEO reasons I've decided to build out going forward on that

Re: Forum Software LC?

2023-09-20 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > On Sep 18, 2023, at 1:57 PM, Richard Gaskin wrote: >> >> Use Discourse. There are others, but Discourse is currently the >> go-to choice for new forums. Great UX, open source. > > Discourse is $50 per month! No free option for that. If you want the core team to also

Re: Forum Software LC?

2023-09-18 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Has anyone built Forum Software with LiveCode? There are a lot of PHP > ones, but I have yet to find one that was built with LiveCode. PHP is > hacked all the time, and I have found hacker bots that try to hack my > server all the time by exploiting holes in PHP.  They even

Re: Responsive Layout and Opencard

2023-09-07 Thread Richard Gaskin via use-livecode
James wrote: > Is it my imagination or does using the responsive layout on a card  > trap the opencard message?   I haven't used that widget, but I would imagine any moving/resizing of controls would be triggered by the resizeStack message, which on mobile is also sent when a stack opens.  

Update RE: LC domains for sale

2023-08-01 Thread Richard Gaskin via use-livecode
learnlivecode.com is being sold (buyer has good plans for teachingLiveCode scripting, and I wish him the best with that).   livecodeworld.com remains available for now.   -- original message -- I had taken out these domains some time ago for possible projects, but now I'm planning on having

LC domains for sale

2023-07-31 Thread Richard Gaskin via use-livecode
I had taken out these domains some time ago for possible projects, but now I'm planning on having those proposed services become part of the existing livecodejournal.com domain instead.   If anyone here is interested in these domains they're listed at AfterNIC.com, and I'd be happy to negotiate

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

2023-07-20 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > So in the instances where you have a script that creates an object > and then sets the script of that object (example below), what is you > best practice for having the script in a script and still be readable?   Why?   Among other concerns (robustness, debugging,

Re: permanency of an unsigned Android app on the phone?

2023-07-20 Thread Richard Gaskin via use-livecode
J. Landman Gay jacque wrote: > Depending on the Android version the user may need to bypass > a scary warning, accept some permissions, and turn on the ability > to download from unknown sources in system settings   ...and after the app is installed then immediatel turn sideloading back off.  

User Experience Success (or not quite) (was Re: Code-Signing Frustration)

2023-06-16 Thread Richard Gaskin via use-livecode
William Prothero wrote: > Matthias' document on code-signing is very detailed. I should > have used it from the start. You would have been more likely to use it if it was built in with guidance to do so. The value opportunity of tools like LiveCode is: The shortest path from ideation to

Re: The Backdrop's Purpose In Life

2023-05-26 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > HA! I just figured out what the purpose of the backdrop is! > If you have multiple LC windows open and you tab to another > app's window, then tab back to the LC window, ONLY that LC > window will appear in the foreground. With Backdrop on, ALL > the LC windows will become

Re: Latest video -- integration of AI into script editor

2023-05-19 Thread Richard Gaskin via use-livecode
Mark Smith wrote: > On 18 May 2023, at 10:14 pm, Richard Gaskin wrote: > >> If you need to do that again: >> http://fourthworld.net/lc/4W_FormMaker.rev > > Hi Richard, do you have a short introduction to FormMaker? "It makes forms." :) I have a large number of simple tools (a GB by now?) I've

Re: Latest video -- integration of AI into script editor

2023-05-18 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > I had to make a form yesterday with lots of fields and while it isn't > hard, it took 20 minutes to name everything and align the labels and > entry fields. If you need to do that again: http://fourthworld.net/lc/4W_FormMaker.rev -- Richard Gaskin Fourth World

Looking for recent, complete Google OAuth2 example

2023-05-16 Thread Richard Gaskin via use-livecode
Anyone know of a good and *recent* example of using Monte's great OAuth2 lib with Google's API? I'm updating some stuff and have found that after the Big G changed their API in March my stuff needs revision. But the vastness of their docs have me poking around when I'm sure it's not a hard

Re: Livecode script on Raspberry pi

2023-04-14 Thread Richard Gaskin via use-livecode
Hello Heriberto - I haven't run the old LC/ARM-Linux build in so long I have no idea how well it works anymore. It was created as a weekend side project of an LC staff member who's long since moved on. Back in the open source days I tried to find someone to maintain it, but I was unable to

Re: iOS Device orientation confusion!

2023-04-12 Thread Richard Gaskin via use-livecode
Henry Lowe wrote: > The problem is that when the iPhone is in Landscape Left mode > (according to the simulator and to Apple’s definition of that mode > - see below), Livecode is returning Landscape Right. When the > device is in Landscape Right mode, Livecode returns Landscape > Left - via the

Re: [[ ANN ]] Release 9.6.9

2023-04-12 Thread Richard Gaskin via use-livecode
Quite a long list of enhancements - thank you, esp for the field alignment. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.com

Re: REGRESSION in LC 9.6.9rc2

2023-03-07 Thread Richard Gaskin via use-livecode
Craig Newman wrote: > What modal dialog has a dropDown menu? In this example it's an option control, similar to what we see for account types in Apple's Users and Groups details sheet, the file type filter at the bottom of the OS geFile and putFile dialogs, various selectors in the OS Print

Re: Sort list alphabetically- ignoring first character if it is a space

2023-02-20 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > I am trying to alphabetically sort a list of unique strings, some of > which have a leading space character. I need these to sort as if the > second character is the first character rather than all space prefixed > strings being bunched together. Would using the word

Re: Chat and textarea formatting

2023-02-16 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Richard wrote: >> I find that a lot of this boils down to the Clipboard more >> than a browser being able to know what it's rendering. .. > When I copy colored text or bold faced text > from TextEdit and pasted it into the box it > doesn’t carry over. > > Of course if I

Re: Chat and textarea formatting

2023-02-15 Thread Richard Gaskin via use-livecode
What is the "junk" you're seeing for apostrophes? Could it be the Unicode number or character entity? RE lost styles, like bold and color, are those rendered in the editable field before obtaining the innerHTML? I find that a lot of this boils down to the Clipboard more than a browser being

Re: Chat and textarea formatting

2023-02-15 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > I have to create a little chat program with LiveCode on a LiveCode > server. Currently I have a textarea text box to accept the user’s > input, but it won’t keep any formatting at all, not even carriage > returns, line feeds, or bold faced text. I also have to put that >

Re: Training the AI to write better LiveCode

2023-01-25 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > If we get to the point where mankind no longer has to work > to live (universal basic income), then I fear we will come > to experience intimately what the old saying hints at, "An > idle mind is the devil's playground." You'd be in good company. Camus, Sartre, and others

XML external: differences between Mac and Linux?

2023-01-23 Thread Richard Gaskin via use-livecode
Anyone here aware of any significant differences with the XML external implementation between Mac and Linux? I have some XML files about 250 MBs in size that parse well enough on my M1 Mac, but crash on Linux. I expected that Linux box to be slower given the CPU age, but not a crash. Both

Re: Training the AI to write better LiveCode

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

Re: Training the AI to write better LiveCode

2023-01-21 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Microsoft thinks it's a good idea. They'll eventually own 49% of > ChatGPT when talks are finalized. > > No doubt. The power to control a content engine that valuable is enticing to the few in

Re: Training the AI to write better LiveCode

2023-01-21 Thread Richard Gaskin via use-livecode
Geoff Canyon wrote: > Eliza never passed a Turing Test, not even remotely. Formally, no. Nothing yet has. https://dataconomy.com/2021/03/which-ai-closest-passing-turing-test/ But Weizenbaum himself was surprised to see how readily people attributed human-like feeling to its rudimentary algo,

Re: Training the AI to write better LiveCode

2023-01-21 Thread Richard Gaskin via use-livecode
Kevin Miller wrote: > Richard wrote: >>> So before we donate much time to providing index fodder for the >> owners of ChatGPT, we might ask whether this is an investment we want >> to make, or perhaps at least ask for compensation for having provided >> the data that makes ChatGPT valuable for

Re: Training the AI to write better LiveCode

2023-01-21 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Hi Richard, > > That’s for sure! > > We should never let an AI write code that we don’t have a prayer > to understand. > It should always write code that is humanly readable and correctable. Advanced pattern-matching software (these day mislabeled "Intelligence") is in

Re: Maximum field size

2023-01-20 Thread Richard Gaskin via use-livecode
David Epstein wrote: > Richard Gaskin asks “Why?” > > I have developed a set of routines to analyze tabular data. For KB > or MB-sized files, it is convenient to display them in a field. It > would be simplest if I could also load GB-sized files and use my > routines unchanged, but I accept

Re: Training the AI to write better LiveCode

2023-01-20 Thread Richard Gaskin via use-livecode
If ChatGPT can write script, it can write machine code. If it can write machine code, scripting is unnecessary. If scripting goes, so goes scripting tools. So before we donate much time to providing index fodder for the owners of ChatGPT, we might ask whether this is an investment we want to

Re: Maximum field size

2023-01-19 Thread Richard Gaskin via use-livecode
David Epstein wrote: > How many rows or columns or characters can reasonably be displayed > in a LiveCode field? A 1.39 GB text file seems pretty clearly to > surpass the limit, but how much do I need to subdivide it? Jacque noted the machine limits, but I'm curious about a human question: At

Re: Mobile Clipboard?

2022-12-23 Thread Richard Gaskin via use-livecode
Mark Talluto wrote: On Fri, Dec 16, 2022 at 10:54 AM Richard Gaskin wrote: >> Unless there's been a very recent change, I don't believe LC-made >> mobile apps can use the clipboard at all outside of user interactions >> within scripted instantiations of mobile-native fields. >> >> Do we have any

Re: Lock screen and animated gif

2022-12-20 Thread Richard Gaskin via use-livecode
How many chars in the text? I'd wager that unless it's uncommonly enormous, you may find that the one-time cost of writing a handler to use the styledText array of the field will speed things up so much you may not even need anything more than a brief watch cursor. If you can post a sample

Re: What ever happened to LC blockchain?

2022-12-18 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Hi Richard, > > I just read an article about Ethereum, and smart contracts. > > How one would approach this with LiveCode would be > an interesting topic, although it does raise some questions. All good questions, which is why I was quick to note that I have no interest

Re: ChatGPT

2022-12-18 Thread Richard Gaskin via use-livecode
A Twitter thread with ChatGPT botsplaining how 77 is a prime number: https://twitter.com/bellafusari1/status/1603161415678046208 -- Richard Gaskin Fourth World Systems ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: What ever happened to LC blockchain?

2022-12-16 Thread Richard Gaskin via use-livecode
ood resources/examples please let me know. Thanks for getting back to me! Rick On Dec 16, 2022, at 1:57 PM, Richard Gaskin via use-livecode wrote: Hard to say what became of that particular group from so long ago, and given how blockchain use cases have expanded in the years since it

Re: What ever happened to LC blockchain?

2022-12-16 Thread Richard Gaskin via use-livecode
Hard to say what became of that particular group from so long ago, and given how blockchain use cases have expanded in the years since it can be challenging just identifying what types of blockchain integrations would be most useful with a GUI toolkit like LC. I've started dipping my toe in

Re: Mobile Clipboard?

2022-12-16 Thread Richard Gaskin via use-livecode
Dan Friedman wrote: > Is there a way to set the clipboard text on a mobile (iOS and Android) > device? Something equivalent to "set the clipboardData to someText"? Unless there's been a very recent change, I don't believe LC-made mobile apps can use the clipboard at all outside of user

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

2022-12-16 Thread Richard Gaskin via use-livecode
Geoff Canyon wrote: 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. I must be slow today. How does Apple's potential policy shift with app stores to

Re: Anyone any experience with Livecode under Ventura?

2022-11-10 Thread Richard Gaskin via use-livecode
Portable drives are just $50/terabyte. Time is irreplaceable. -- Richard Gaskin Fourth World Systems Mark Smith wrote: > I tend towards lazy myself, backing up only after the umpteenth prompt > from Time machine that I haven’t backed up in XX months. But I am also > the anxious type so if

Re: Really OT, but i need the help of native English speakers

2022-10-31 Thread Richard Gaskin via use-livecode
Matthias wrote: > Now i am stumbling over a question i do not understand and Google > Translate is also not of great help. > What exactly does this question mean? Could someone on this list > please help and describe it with own words? > I do not understand what they are asking me. I really

Re: LC -> Applescript -> Chrome

2022-10-11 Thread Richard Gaskin via use-livecode
jbv wrote: I have a stack that interacts with Chrome via Applescript. It has been running fine for months. Suddenly, one command line began to stall the whole process, with the spinning wheel spinning forever. And when I run the same Applescript in the script editor, it still runs fine as

Re: Standardize Font Appearance

2022-09-14 Thread Richard Gaskin via use-livecode
Neville wrote: > You can see screen grabs of the resulting Mac and Windows standalones > at > https://www.dropbox.com/s/v2hzwe159ep6nep/My%20beautiful%20app%20on%20Mac.png?dl=0 > > https://www.dropbox.com/s/wr2limdozwob9v7/My%20beautiful%20app%20on%20Windows.png?dl=0 Thank you for the

Re: Standardize Font Appearance

2022-09-13 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > On Sep 12, 2022, at 19:51 , Richard Gaskin wrote: >> The team worked hard in v9 to deliver font management in a way that >> makes it easier than ever to deliver apps that meet user expectations >> and OS design specs on the platforms deployed to. Mac looks like >> Mac, Win

Re: Standardize Font Appearance

2022-09-12 Thread Richard Gaskin via use-livecode
This discussion has been very interesting to me. The team worked hard in v9 to deliver font management in a way that makes it easier than ever to deliver apps that meet user expectations and OS design specs on the platforms deployed to. Mac looks like Mac, Win looks like Win, all with one

Re: Standardize Font Appearance

2022-09-07 Thread Richard Gaskin via use-livecode
Sneidar wrote: Yes but I had more in mind then display properties like font size and style. Bob S On Sep 6, 2022, at 15:30 , Richard Gaskin via use-livecode mailto:use-livecode at lists.runrev.com>> wrote: Bob Sneidar wrote: That's great for buttons. I'd like to implement something for all o

Re: Standardize Font Appearance

2022-09-06 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > That's great for buttons. I'd like to implement something for all > objects. My goal is to be able to offer the end user a way to change > their "motif" with a single click. Imagine being able to set the > properties of an object designated as a "class object", the object >

Re: Standardize Font Appearance

2022-09-02 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > See, this is the exact reason why I would love to be able to employ > an OOP style system. Simply changing the font, size and style of a > few "Master Class" objects could change the entire project's look > and feel in a matter of a second or two. As it is, it took me almost

Re: propertyChanged message

2022-09-01 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I would like to see a propertyChanged message implemented that gets > sent to any object when any of it's properties change. There could > even be two messages, one for built-in properies and another for > custom properties. I like the idea (I'd love messages for all sorts

Re: lcb missing manual

2022-09-01 Thread Richard Gaskin via use-livecode
Geoff Canyon wrote: > I've put off LCB because I don't much bother with widgets. > I suppose I could update Navigator, but it already works well, > so ¯\_(ツ)_/¯ > > So if it isn't faster, dare I say it, why would I? Foreign Function Interface, and certain custom control needs. In short, the

Re: BN Guides

2022-08-30 Thread Richard Gaskin via use-livecode
Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: Geoff Canyon wrote: > Okay, so it looks like BN Guides works by assigning behaviors to > controls and temporarily adding controls to your stack as you drag > things. I think this is meant to be transient as yo

Re: the script of with line numbers?

2022-08-29 Thread Richard Gaskin via use-livecode
Another option: Automate it, replacing Bugzilla's web UI with LC Mod Ken Ray's RevZilla to retrieve support emails, reformat them however needed, tuck them in the DB, integrate the report display with things like double-clicking a line in the executtionContexts to open scripts, etc.

Re: Why is Livecode not on this list?

2022-08-29 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > As such, there will always be very few advertisements for LiveCode > programmers. But still many good stories to tell. And apparently LC Ltd just hired a new Brand & Digital Marketing Lead, so I imagine we'll see those stories told.

Re: Why is Livecode not on this list?

2022-08-29 Thread Richard Gaskin via use-livecode
Gregg wrote: > https://spectrum.ieee.org/top-programming-languages-2022 Demand. Their methodology note explains it's based on job listings. When was the last time you saw a job posting for LC skills? It's also a short list (50?). This one ranks by usage, listing the hundred most popular,

Re: BN Guides

2022-08-29 Thread Richard Gaskin via use-livecode
Geoff Canyon wrote: > Okay, so it looks like BN Guides works by assigning behaviors to > controls and temporarily adding controls to your stack as you drag > things. I think this is meant to be transient as you drag controls. Instinctively I'd be inclined to try a frontscript before something

Re: Livecode performance problem

2022-08-21 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > For strange legacy application reasons, when lines get added to the > set of fields (a frequency action by users - sometimes adding hundreds > of lines a day), the data has to be repackaged into this tab delimited > structure in a single variable to run some procedures on. >

Comparison chart for DataGrid, PolyList, PolyGrid, list fields....

2022-08-18 Thread Richard Gaskin via use-livecode
If a newcomer needs to display a list, how can they know what to use? Currently we have: - list field - Table field - DataGrid - PolyGrid - PolyList - others? Is there a chart listing the features of each that I can point new users to when this question comes up? -- Richard Gaskin

Re: issue related to Print.PrintSupport.Source.dll

2022-08-18 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > The suggested fix in the bug report has worked for us: > > https://quality.livecode.com/show_bug.cgi?id=23659 > > Basically, delete the driver that comes with Windows and get the > driver from Epson. Most of the problems seem to be with Epson > printers but if your

Re: Is there a way to create a generic setprop handler?

2022-08-03 Thread Richard Gaskin via use-livecode
David Epstein wrote: > Control “A” has many custom properties that are set by a variety > of other controls. If Control “A” has a "setProp property1” > handler, it can react when property1 gets set. But is there a > way to give Control “A” a general handler that will be triggered > whenever

Re: Dispatch

2022-08-03 Thread Richard Gaskin via use-livecode
Sean Cole write: > I was particularly asking if there was any 'advantage/disadvantage' > in using > > dispatch myHandler with myVar > > over just using > > myHandler In coding as in life, when in doubt leave it out. If something isn't needed it's usually simplest to not go out of your way

Re: Tree Widget: hilitedValue?

2022-07-10 Thread Richard Gaskin via use-livecode
Brian Milby wrote: > You could also turn the path into an array (but lose the error > checking above): > > function getValue pArray, pPath > split pPath by comma > return pArray[pPath] > end getValue Thanks, Brian. I keep forgetting we can use an array as an element specifier. Has that

Tree Widget: hilitedValue?

2022-07-08 Thread Richard Gaskin via use-livecode
I see the Tree widget supports a hilitedElement property, which is useful for managing the selection in the UI. Is there a one-liner for obtaining not the element path but the value? It wouldn't kill me to extract the arrayData and turn a hilitedElement path like: level1,level2,level3,

Re: On API keys...

2022-06-27 Thread Richard Gaskin via use-livecode
Heather Laine wrote: > Tom Glod wrote: >> This is a great best-practice explanation. Perhaps someone can turn >> it into a blog post and put it on the site. > > Yes indeed. See Blog. https://livecode.com/best-practice-for-api-keys-and-security/ Tip: Dropping in-bound links to relevant content

Re: Stylistic question.

2022-06-23 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Breakpoints work fine in the IDE. But script only stacks do not > retain them when remote debugging Breakpoints are a runtime-settable property, so those who enjoy C-flavored workflows with lots of tiny text files could save their breakpoints out to text files and have

Re: How to color a "cell"?

2022-06-23 Thread Richard Gaskin via use-livecode
Thanks Mark - works. I could have sworn I'd tried "line" earlier when attempting to set the backgroundColor, and when it failed was when I switched to trying "paragraph". But it works now so I don't mind being mistaken. Oddly, "paragraph" appears to be synonymous with "line" for the

Re: How to color a "cell"?

2022-06-23 Thread Richard Gaskin via use-livecode
Craig wrote: > Richard wrote: >> I had hoped the paragraph-level formatting options introduced in >> v5.x would help, but alas as far as I can tell I can only set the >> backgroundColor of a run of text, not the full cell. > > I think this was discussed on the forum a while back. I do not

How to color a "cell"?

2022-06-22 Thread Richard Gaskin via use-livecode
I need to set the backgroundColor of a complete "cell", where "cell" is defined as the portion of a row in a table field between tabs when the vGrid is set. I had hoped the paragraph-level formatting options introduced in v5.x would help, but alas as far as I can tell I can only set the

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > Nevertheless, my central point remains (afact) valid - the support > for JSON in Livecode seems incomplete, and in particular it seems > flaky/missing on LCServer. Making externals easily findable by the LC Server engine should be a quick fix for them, no? -- Richard

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > On 22/06/2022 17:02, Richard Gaskin via use-livecode wrote: >> [ ... about using JSON ... ] >> But if you don't need interoperability, you wouldn't need to write a >> parser, since LC includes a good one built into the engine. >> >&

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Richard I think I hear you say that JSON is an alternative to > arrayEncode? I'm apparently writing so badly maybe I should skip the shorthand "LSON" and just write the full form: "output from LC's built-in arrayEncode". I'd adopted "LSON" to help position its role as

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hello Richard, thanks for the detailed answer. > There are 2 reasons why I am considering this. > > 1. I can skip the encoding and decoding from and to json. > 2. it supports binary, and does not require base encoding and its > 33% inflation. > > For interoperability for the

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Martin Koob wrote: > Hi Richard > > Thanks for the explanation. I think it is a helpful term or > distinction to have. I think it would be good to actually have > that term with a formal definition published by LiveCode or > the community with references to BSON so it will show up in > web

Re: arrayencode

2022-06-21 Thread Richard Gaskin via use-livecode
Martin Koob wrote: > What is LSON? A web search doesn’t turn up anything. A shot > in the dark here but Is it something internal to LiveCode i.e. > Livecode Script Object Notation that is the basis for LiveCode > arrays? Sorry, Martin. I need to get out more. I've been using LSON ("LiveCode

Re: arrayencode

2022-06-21 Thread Richard Gaskin via use-livecode
l oTom Glod wrote: > I am wondering if anyone here knows the encoding algorithm > that arrayencode() uses? Yes. > Is it one that can be implemented in another language or is > it proprietary? It should be technically possible to implement any algo in any sufficiently-complete language.

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Try rolling 2 six-sided dice. 7 is the number that appears the > most so it’s at the middle of the curve, while 2 and 12 are at > the ends of the distribution. Roll the dice multiple times to > generate a distribution. > > Now simulate rolling the dice with random

Re: Generating Random numbers to conform a distribution

2022-06-07 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > Quite a lot of stats and maths packages offer a feature whereby the N, > the Mean and the SD are variables specified by the user, and N random > numbers are then generated with the required mean and SD. I remember > the venerable and excellent Hypercard HyperStat >

Calling all Grognards

2022-06-05 Thread Richard Gaskin via use-livecode
One of the unexpected personal upsides to the pandemic has been a discovery of tabletop games, at last recognizing them as forms of systems design. Of the many types of board games I've developed a particular interest in hex-and-counter wargaming. While mostly used to model historical

Re: Property Sheet for LC (was Re: Right click in field for menu)

2022-06-05 Thread Richard Gaskin via use-livecode
-3935 -Original Message- From: use-livecode On Behalf Of Richard Gaskin via use-livecode Douglas A. Ruisaard wrote: > Richard Gaskin wrote: >> So I made a Property Sheet for LC some time ago, accessible right >> from your IDE: in the Development menu see Plugi

Re: Property Sheet for LC (was Re: Right click in field for menu)

2022-06-05 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > I'll add my thanks for such a useful tool. Thank you for the kind words. > I don't know if it's an anomaly or another failing in widget support > :-) > > The NavBar widget has a number of properties (itemNames, itemStyle, > hilitedItem, itemArray, ..) which are visible

Re: Property Sheet for LC (was Re: Right click in field for menu)

2022-06-04 Thread Richard Gaskin via use-livecode
Douglas A. Ruisaard wrote: > Richard Gaskin wrote: >> So I made a Property Sheet for LC some time ago, accessible right >> from your IDE: in the Development menu see Plugins -> GoLiveNet, >> and you'll find "4W Props" in the Stacks section. > > Looks like a very nice utility ... *BUT*, I get an

Re: Property Sheet for LC (was Re: Right click in field for menu)

2022-06-04 Thread Richard Gaskin via use-livecode
Kind of you to say, Roger. Thank you. Roger Guay wrote: > This is very cool, Richard! I truly appreciate all you do for us. > Richard wrote: >> So I made a Property Sheet for LC some time ago, accessible right >> from your IDE: in the Development menu see Plugins -> GoLiveNet, >> and you'll

  1   2   3   4   5   6   7   8   9   10   >