Debugging libraries

2022-07-19 Thread Bob Sneidar via use-livecode
Hi all. There is a global variable, I thought it was gRevDevelopment, where you set it to true if you need to debug a script which begins with "lib". I cannot think what that global is! Bob S ___ use-livecode mailing list use-livecode@lists.runrev

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Monte, I'll do that in the morning. They are kicking me out of the building. :-| Bob S > On Jul 13, 2022, at 16:07 , Monte Goulding via use-livecode > wrote: > > Hi Bob > > Could you create a bug report about this? The remote debugger obviously > shouldn’t be throwing bugs itself. It should

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Returns "Professional" Bob S > On Jul 13, 2022, at 16:20 , matthias rebbe via use-livecode > wrote: > >> Am 14.07.2022 um 01:02 schrieb Bob Sneidar via use-livecode >> : >> >> Yup. Don't we all have to be on that license if we are running 9.

Re: remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Yup. Don't we all have to be on that license if we are running 9.6.8? But I found the problem, just not how to prevent remoteDebugger from throwing unknown errors, or how to figure out what the error is. I basically had to step through my code until I found the culprit. Thanks though. I am goi

remoteDebugger error

2022-07-13 Thread Bob Sneidar via use-livecode
Whenever I open my Forms Generator project, I get a dialog pop up saying an error occured in the stack com.livecode.library.remotedebugger, and that there is no more information because the stack is password protected. It does not seem to affect to workings of my project though. Other stacks d

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

2022-07-12 Thread Bob Sneidar via use-livecode
Hmmm. Ok, but it seems having the LC app running invisibly all the time, listening for a command, something the cron service could do through the terminal easily enough, you could make it much more efficient. Just methods and madness I suppose. Bob S > On Jul 12, 2022, at 13:15 , Ben Rubinst

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

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

Re: macOS Ventura (13.x.x)...

2022-07-12 Thread Bob Sneidar via use-livecode
Ah. I stand corrected. Of course, nothing in nature is linear. And I still need to figure out how a stomache would have done us any good withour a circulatory system to get the food to the cells, or lungs to get oxygen to everything for that matter. It seems if you think about it that no vit

Re: macOS Ventura (13.x.x)...

2022-07-11 Thread Bob Sneidar via use-livecode
Like how did our stomaches evolve without a circulatory system, and without a circulatory system, how did we develop stomaches? Bob S > On Jul 10, 2022, at 23:53 , Richmond Mathewson via use-livecode > wrote: > > Running RevMedia 4 on Xubuntu 22.04 serves as a reminder of some of the > nigg

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

2022-07-11 Thread Bob Sneidar via use-livecode
Slight improvement: local lInterval constant cInterval = 300 on openStack put cInterval into lInterval checkTime end openStack on checkTime -- your code send checkTime to me in lInterval seconds end checkTime setProp interval, pInterval if pInterval is empty then ask "Ent

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
> >> On Jul 8, 2022, at 17:48 , Mark Wieder via use-livecode >> wrote: >> >> On 7/8/22 16:49, Bob Sneidar via use-livecode wrote: >>> Well I disabled encryption alltogether, sending and receiving an encoded >>> array instead. Upon trying to decode I

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
Okay apparently base64Encode/Decode is my friend. I have this working now without encryption. I will re-enable encryption and see if that works. Bob S > On Jul 8, 2022, at 19:14 , Bob Sneidar via use-livecode > wrote: > > It looks after the agent receives it generally like h

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
es on the other end now, arrayDecode fails. I guess the question I *should* be asking is, how do I encode binary data to be sent over the wire so that it doesn't become corrupted? Bob S > On Jul 8, 2022, at 17:48 , Mark Wieder via use-livecode > wrote: > > On 7/8/22 16:4

Re: Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
works every time. Bob S > On Jul 8, 2022, at 16:35 , Mark Wieder via use-livecode > wrote: > > On 7/8/22 16:14, Bob Sneidar via use-livecode wrote: > >> My suspicion is that the hash contains a linefeed (sometimes). So the >> question I have is, what character is

Encrypted Data over Sockets

2022-07-08 Thread Bob Sneidar via use-livecode
Hi all. I'm running into a curious thing. I am sending encrypted data over a socket connection. When I send the data, I am using blocking mode, where the commands look like this: if tCurrentConnectionA ["ssl"] is true then put slyEncrypt(tSocketData) into tSocketData

Re: Is LC encryption different for Mac than for Windows??

2022-07-06 Thread Bob Sneidar via use-livecode
Thanks. I still have to test outside the network. If I have issues I will definitely check the socketTimeoutInterval. Currently it is 1. I take it that is milliseconds. Bob S > On Jul 5, 2022, at 21:57 , Neville Smythe via use-livecode > wrote: > > Bob Sneider wrote >> So strange. I bu

Re: Is LC encryption different for Mac than for Windows??

2022-07-05 Thread Bob Sneidar via use-livecode
So strange. I built in some logging, removed the base64 stuff, and now it works! Timing problem of some sort? Who knows. Sent from my iPhone > On Jul 3, 2022, at 15:03, Bob Sneidar via use-livecode > wrote: > > Ill check later. > > Sent from my iPhone > >&g

Re: Images and arrays...

2022-07-05 Thread Bob Sneidar via use-livecode
Put the imageData? Sent from my iPhone > On Jul 5, 2022, at 18:40, Paul Dupuis via use-livecode > wrote: > > I am drawing a blank: > > If I have the following code: > > export snapshot from rect tRect of player "mediaConvert" of > stack "libHrAPI" to tImage as PNG >

Re: Is LC encryption different for Mac than for Windows??

2022-07-03 Thread Bob Sneidar via use-livecode
Ill check later. Sent from my iPhone > On Jul 2, 2022, at 17:20, Neville Smythe via use-livecode > wrote: > > Is socketTimeOut set high enough? > > > Neville > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit t

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
pe" for the data before network >> transfer. But I have LC on both ends of the transfer, and you may not. But >> ultimately it shouldn't matter. >> >> Phil Davis >> >> >> On 7/1/22 6:05 PM, Bob Sneidar via use-livecode wrote: >>> Okay so I ba

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
I do. The server agent was written in LC and I am running it in a community version. Just to eliminate the possibility that things are different between Community 9.5 and Pro 9.6.8, I am DL'ing the latest (which I am running on the Mac). I'll try with that. Basically I encrypt and decrypt usin

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Okay so I base64Encoded the encrypted string before sending over the wire, and base64Decoded on the receiving end. Same thing coming back. I am still getting the error. It's not a problem with sending data over the wire. Bob S > On Jul 1, 2022, at 17:55 , Bob Sneidar via use-

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
That's supposed to be Binary Encoding > On Jul 1, 2022, at 17:08 , Bob Sneidar via use-livecode > wrote: > > Also when I was running it on my Mac, the client in the server we’re running > on the same Macintosh. On the windows machine however I’m going over the > w

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Also when I was running it on my Mac, the client in the server we’re running on the same Macintosh. On the windows machine however I’m going over the wire. Should I buy Ineri encoded or something? Sent from my iPhone > On Jul 1, 2022, at 16:57, Bob Sneidar wrote: > > Hmmm... I th

Re: Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
data somehow. Bob S > On Jul 1, 2022, at 16:49 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > As I may have mentioned I wrote an SQL Server agent that uses sockets to > listen for data from a client. The client first arrayEncodes an array, then > encr

Is LC encryption different for Mac than for Windows??

2022-07-01 Thread Bob Sneidar via use-livecode
Hi all. As I may have mentioned I wrote an SQL Server agent that uses sockets to listen for data from a client. The client first arrayEncodes an array, then encrypts the result using an encryption library I wrote. Then it sends the data to the Server Agent. The Agent receives the encrypted s

Re: nsScriptDatabase (and long id's)

2022-06-30 Thread Bob Sneidar via use-livecode
OIC this is for your library. I didn’t realize that your need was to access objects in projects you didn’t have control of. 😟 Sent from my iPhone > On Jun 30, 2022, at 18:45, Neville Smythe via use-livecode > wrote: > > I have uploaded version 3 of nsScriptDatabase to Sample Stacks, and the

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Or are you talking about sorting the DATA of a datagrid? put the dgText of group "myDataGrid" into tText set the itemDelimiter to tab repeat with i = 1 to the number of lines of tText put item i of tText into tLine sort items of tLine ascending put tLine into line i of tText end repeat

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Sure there is! put the dgProp ["columns"] of group myDatagrid into tGridColumns sort tGridColumns ascending set the dgProp ["columns"] of group myDataGrid to tGridColumns I would store the original sort order first though so you can recover. Bob S > On Jun 30, 2022, at 15:59 , Hershel F via

Re: long id trap for the unwary

2022-06-29 Thread Bob Sneidar via use-livecode
So the *actual* long id reference to any object looks something like: field id 1388156 of group id 1388155 of group id 1388175 of card id 1002 of stack "/Users/bobsneidar/Documents/Livecode Projects/Forms Generator 8/Forms Generator 8.livecode" If you don't provide all of that as a reference,

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
You can find the definition of both send and dispatch in the dictionary. So an example of Dispatch being called from a card of a substack would be: put the long id of me into tParentCard dispatch extract to card "Main" of stack "Forms Generator" with tRecordA, tParentCard, tExclusions -- if

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
Send IF you need in time. Stupid spell correct. It cannot be me mistyping. Sent from my iPhone > On Jun 28, 2022, at 12:08, Bob Sneidar wrote: > > Send in you need in time. Dispatch if you are not sure the handler exists in > the target. Dispatch will not throw an error if

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
gt; > I’m unclear as to how I would structure the command to call a function in a > card that’s not in the message path. > > send … ? > > Peter Bogdanoff > >> On Jun 28, 2022, at 8:34 AM, Bob Sneidar via use-livecode >> wrote: >> >> Your poin

Re: long id trap for the unwary

2022-06-28 Thread Bob Sneidar via use-livecode
Your point brings up something that was discussed before on this list. It's going to be cleaner in the long run to "compartmentalize" your handlers so that a handler is not trying access objects that are not in the message path, or belong to an object in the message path. A handler should not if

Re: On API keys...

2022-06-24 Thread Bob Sneidar via use-livecode
Mr. (Or should I say Doctor) Waddingham! This is a really brilliant essay on the risk, benefits and rewards in multiple scenarios concerning the storage of keys. I’ve mentioned before that I came up with the idea of “poisoning” the encrypted data before the data was transmitted. If intercepted i

Using card with the long id in a variable

2022-06-23 Thread Bob Sneidar via use-livecode
Hi all. I just ran across an interesting "bug". In the IDE I had erroneously used the keyword "card" with a reference to the long id of the card as in card pParentCard. Since the long id already contains the keyword card it resolved to card "card ID 12345 of stack x of stacks". The strange t

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
OIC I didn't grok you were talking about standalone apps. Bob S > On Jun 23, 2022, at 10:25 , J. Landman Gay via use-livecode > wrote: > > Breakpoints work fine in the IDE. But script only stacks do not retain them > when remote debugging, or at least they didn't for me. Are you talking abo

Re: Stylistic question.

2022-06-23 Thread Bob Sneidar via use-livecode
Hi Jacqueline. I use script only stacks a LOT, and the red dot breakpoints are working for me. Try Clear All Breakpoints from the SE Debug menu (I think it will only clear breakpoints from open scripts though.) Also in the SE under the Breakpoints tab, you can uncheck all the existing breakpoint

Re: Stylistic question.

2022-06-22 Thread Bob Sneidar via use-livecode
Well then Navigator is for you! If an object has a behavior and no script of it's own, it's color in the list is green. If it has a script but no behavior, it's color is blue. If it has both, it's purple. Simply double clicking an object opens it's behavior script if it has one, and it's native

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Okay I looked up JSON and can see these are two different animals. JSON looks like an xml-ish sort of format or a bit like the PDF fdf format for data files. (In fact, now that I think about it Adobe may be using JSON as their format. Bob S > On Jun 22, 2022, at 09:13 , Richard Gaskin via use

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Richard I think I hear you say that JSON is an alternative to arrayEncode? What about storing to SQL blob and binary files? Will it suffice? I'd consider converting all my arrayEncoding to JSON if so. Bob S > On Jun 21, 2022, at 19:43 , Richard Gaskin via use-livecode > wrote: > > For bett

Re: Stylistic question.

2022-06-19 Thread Bob Sneidar via use-livecode
Well code shared commonly between multiple objects should generally be in an object shared by those objects. That can be the card, stack, behavior or front/back script. The script of a group as well. For example I have a behavior for all my datagrids. Each datagrid has a property called gridco

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
That’s absurd. Everyone knows it was a Sherland pony. Sent from my iPhone > On Jun 17, 2022, at 10:28, Richmond Mathewson via use-livecode > wrote: > > As I, or anyone else could write on Wikipedia about Hamlet being > Shakespeare's coded love notes to a camel he met in Oxford, I really wonde

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
I think no matter what you go to, inevitably you are looking for what other people have said in critiquing hamlet or anything else. We call some people experts because other people called experts certified them as such. It can’t be any other way. But I often wonder who the first expert in any fi

Re: Referencing Livecode

2022-06-17 Thread Bob Sneidar via use-livecode
I wonder why that is? While you may find inaccurate information on Wikipedia, the vastly overwhelming information there is absolutely accurate. But isn't that true of EVERY source? In my life experience I have found that settled science is very unsettled indeed. Salt causes high blood pressure.

Re: Challenge: converting python (or Javascript) code to Livecode

2022-06-15 Thread Bob Sneidar via use-livecode
For extra credit, try writing a handler in LC to convert the python/js code to LC script. Bob S > On Jun 15, 2022, at 02:46 , David Bovill via use-livecode > wrote: > > Thanks Craig - I dug around but no joy. I hate it when you loose code as I > had a function somewhere… The javascript and

Re: char as word boundary

2022-06-13 Thread Bob Sneidar via use-livecode
"dirty hack" is my middle name! :-) Bob S > On Jun 13, 2022, at 09:13 , Mark Waddingham via use-livecode > wrote: > > This was primarily a very dirty hack (which was done before my time!) ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: Best way to update a large DB ?

2022-06-13 Thread Bob Sneidar via use-livecode
If ID is a unique identifier, you should not need the limit. I agree with Mike, you shouldn't need to do anything fancy. A button and a loop should do it. If the data is critical, you may want to step through a few loops to verify, or backup the database first, always a good idea. Nothing worse

Re: Property sheets

2022-06-10 Thread Bob Sneidar via use-livecode
Hi Neville. A direct link, or where to go to get it would be helpful. Thanks. Bob S > On Jun 9, 2022, at 17:51 , Neville Smythe via use-livecode > wrote: > > I have uploaded version 2.2 of nsScriptDatabase which can display supported > properties of widgets, with their current and default v

Re: Would anyone miss convertOctals?

2022-06-10 Thread Bob Sneidar via use-livecode
So it has nothing to do with eye surgery?? Dang. I thought I was going to get a prize or something. Bob S > On Jun 10, 2022, at 24:45 , Mark Waddingham via use-livecode > wrote: > > Given the responses so far, it looks to me like convertOctals is an > exceptionally rarely used feature (the

Re: Would anyone miss convertOctals?

2022-06-09 Thread Bob Sneidar via use-livecode
Does it have something to do with eye surgery? Bob S > On Jun 9, 2022, at 05:44 , Mark Waddingham via use-livecode > wrote: > > So I'm currently sitting here about to embark on fixing > (which is the final > thing to sort out before bein

Re: Case sensitivity in Livecode ??

2022-06-07 Thread Bob Sneidar via use-livecode
I thought we already had global constants?? I think they are called, "Literals." ;-) Bob S > On Jun 7, 2022, at 24:18 , Mark Waddingham via use-livecode > wrote: > > On 2022-06-01 19:54, Alex Tweedly via use-livecode wrote: >>> Also, you'll be able to do things like: >>> constant kPiBy2

Re: Limit on the number of parameters?

2022-06-06 Thread Bob Sneidar via use-livecode
useUp > > > command tryThis >put the params -- the handler name and all 10 params are there > end tryThis > > > I often stuff lots of data items into an array and use the array as a param. > For me, that makes life easier. YMMV. > > Phil Davis >

Limit on the number of parameters?

2022-06-06 Thread Bob Sneidar via use-livecode
Is the number of parameters passed to a custom handler limited to 4? I do not seem to be getting a 5th parameter to pass to a function I use. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubs

Re: storing binary data in a "memory" database

2022-06-05 Thread Bob Sneidar via use-livecode
ent from my iPhone > >> On Jun 3, 2022, at 6:56 PM, Bob Sneidar via use-livecode >> wrote: >> >> Hi Doc thanks for the response. I am using aes256 encryption so an ascii >> hash is not viable. If this were a file based sqLite database I could >> perhaps cha

Re: storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Hi Doc thanks for the response. I am using aes256 encryption so an ascii hash is not viable. If this were a file based sqLite database I could perhaps change the encoding. Maybe I can with a :memory: database too! Here's my code. I have posted this before, it's an incredibly useful handler. If y

Re: storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Right now I am querying for the hash directly from the source database when I need it. Just curious why sqLite cannot handle storing an encrypted string. Bob S > On Jun 3, 2022, at 14:29 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have set up a kind o

storing binary data in a "memory" database

2022-06-03 Thread Bob Sneidar via use-livecode
Hi all. I have set up a kind of database caching method where I take currently selected data in my display form and save it in a :memory: database. Everything works EXCEPT that the value for the encrypted hash is getting corrupted. It's not coming back the way it was stored. It looks like it i

Re: MrSign'n'Notarize

2022-06-03 Thread Bob Sneidar via use-livecode
If I were Matthias, I would charge cash money for that. But then having LC release it in the distribution would kill the sales of it. Bob S > On Jun 3, 2022, at 10:01 , Richard Gaskin via use-livecode > wrote: > > Mark Smith wrote: > > > Hey Matthias, I just wanted to drop you a quick note

Re: char as word boundary

2022-06-03 Thread Bob Sneidar via use-livecode
I get a compile error when using your syntax. If I insert the word "of" after "chars" I get 5 for version 9.6.8 as you would expect. Do you have the *actual* syntax that is causing you the problem? . Bob S > On Jun 3, 2022, at 06:56 , Jean-Jacques Wagner via use-livecode > wrote: > > Hi, >

Re: Right click in field for menu

2022-06-02 Thread Bob Sneidar via use-livecode
More gems of LC wisdom from Klaus! Bob S > On Jun 2, 2022, at 03:07 , Klaus major-k via use-livecode > wrote: > > Hi Peter, > >> Am 01.06.2022 um 22:53 schrieb Peter Bogdanoff via use-livecode >> : >> >> Hi, I finding that after right-clicking in the field and then showing the >> button

Re: Right click in field for menu

2022-06-01 Thread Bob Sneidar via use-livecode
I didn't know mouse events were handled in an unlocked field! Nice to know. Curiously however, in that handler I substituted a put statement for the popup command using send "put " & quote & "this worked" & quote to me in 2 seconds In two seconds I get "worked" not "this worked" in the messag

Re: Case sensitivity in Livecode ??

2022-06-01 Thread Bob Sneidar via use-livecode
Not only that, but revOpenDatabase("sqlite", ":MEMORY:") will not work on Windows, but DOES on Mac. revOpenDatabase("sqlite", ":memory:") works on both platforms. Do you know why?? No you do not. No one knows, and will likely NEVER know. LOL! I suppose :memory: is a kind of system constant?!?

Re: Android,iOS stay in background?

2022-05-31 Thread Bob Sneidar via use-livecode
It's my understanding that iOS does not "load" apps like Android or other operating systems do. It simply "activates" apps already in "memory". The app may allocate more memory for itself of course, or access other services that are constantly running. Bob S > On May 30, 2022, at 23:53 , mat

Re: Substacks

2022-05-28 Thread Bob Sneidar via use-livecode
Hide the mainstack, when opening the substack, then show the mainstack in the substack’s closestack handler. Sent from my iPhone > On May 28, 2022, at 12:41, General 2018 via use-livecode > wrote: > > Thanks for the tip but still no good. > > So button in “xyz” substack with close stack “x

Re: A test, move along

2022-05-27 Thread Bob Sneidar via use-livecode
Define, "all." Currently I have some code that is giving me fits... ;-) Bob S > On May 27, 2022, at 04:20 , Heather Laine via use-livecode > wrote: > > Just checking all is working as it should. > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >

Re: Maximum length of mySQL request ?

2022-05-24 Thread Bob Sneidar via use-livecode
There may be an environment variable you need to set to increase it. Because it's network based, it stands to reason that an unlimited query string can be exploited as a denial of service strategy. Bob S > On May 24, 2022, at 10:19 , doc hawk via use-livecode > wrote: > > When opening a “f

Re: Formatting code in word

2022-05-24 Thread Bob Sneidar via use-livecode
One word solution: Don't. (Actually two words it's a contraction. Word's grammar checker would probably have corrected that.) Bob S > On May 24, 2022, at 04:00 , Mark Smith via use-livecode > wrote: > > Hello list, > > Do you use anything to make code look more readable when inserted into a

Re: Is it a bug?

2022-05-24 Thread Bob Sneidar via use-livecode
If you are seeing a different behavior then perhaps something in my code is doing it. I'll check the executionContexts to see. Bob S > On May 23, 2022, at 14:03 , Ralph DiMola via use-livecode > wrote: > > I also expect nothing is done if I click on anything and move the mouse > outside the

Is it a bug?

2022-05-23 Thread Bob Sneidar via use-livecode
I found one thing I think is a bug, and I'd like to report it, but I want to see if anyone else thinks this may be the expected behavior: It seems to me that when clicking and holding the mouse button down on an pulldown menu, then releasing outside that menu so that no menu item is actually s

Re: Maximum length of mySQL request ?

2022-05-20 Thread Bob Sneidar via use-livecode
arrays, THEN the time to query your SQL database with the IDs to make that comparison equal. Bob S > On May 20, 2022, at 08:56 , jbv via use-livecode > wrote: > > Le 2022-05-20 11:24, Bob Sneidar via use-livecode a écrit : >> I googled around a bit and there doesn'

Re: HTML font size in percentages

2022-05-20 Thread Bob Sneidar via use-livecode
I know that typically cmd +/- (or ctrl for Win) will increase or decrease the zoom of a web page. You can try that, or else use a browser widget. (I wonder if that trick would work in a widget?? It should...) Bob S > On May 20, 2022, at 09:32 , J. Landman Gay via use-livecode > wrote: > > I

Re: Maximum length of mySQL request ?

2022-05-20 Thread Bob Sneidar via use-livecode
I googled around a bit and there doesn't seem to be a limit on statement length. I will say though that the nature of the query indicates a possible design issue with the database. I suspect however that you are at the mercy of someone else's schema. That there is no common denominator you can q

Re: Set HTMLText and Get Effective HTMLText

2022-05-18 Thread Bob Sneidar via use-livecode
Haha! I forget sometimes that everything is just some bit of memory. I keep thinking for example that if I store values I want in a script local that it will somehow be much faster than a custom property of an object, but of course that can only be true if the code for accessing custom propertie

Re: Set HTMLText and Get Effective HTMLText

2022-05-18 Thread Bob Sneidar via use-livecode
Can't you just put URL VarURL into VarHTMLText ? Bob S > On May 18, 2022, at 09:40 , Rick Harrison via use-livecode > wrote: > > Thanks! It’s a bummer though, > because variables are much faster. > > Rick > >> On May 18, 2022, at 12:28 PM, Tore Nilsen via use-livecode >> wrote: >> >>

Re: Set HTMLText and Get Effective HTMLText

2022-05-18 Thread Bob Sneidar via use-livecode
If I may add something to this, the reason why the syntax did not throw an error at compile time is because the compiler does not know whether or not VarHTMLText is a variable that contains the value "field HTMLTextField1" or the name of any object to be precise. If it did then it would be valid

Re: Divide Large Data Blob?

2022-05-16 Thread Bob Sneidar via use-livecode
OK so it appears there is a log2 property. The log2 of 1000 yields 9.965784 so I suppsoe if you round up, that would give you the maximum number of iterations to isolate a single line in a 1000 line sorted list. Bob S > On May 16, 2022, at 15:44 , Bob Sneidar via use-livecode >

Re: Divide Large Data Blob?

2022-05-16 Thread Bob Sneidar via use-livecode
trying to figure out what a basic math formula for this is, given n values. Bob S > On May 16, 2022, at 15:23 , Bob Sneidar via use-livecode > wrote: > > A maximum of 7 recursions are necessary to isolate a single instance of 100 > possible values. 1000 requires a maximum of 1

Re: Divide Large Data Blob?

2022-05-16 Thread Bob Sneidar via use-livecode
recursions is child's play. Bob S > On May 16, 2022, at 15:00 , Bob Sneidar via use-livecode > wrote: > > Do you know exactly which lines you need to toss, or do you need to searc the > data to find out where the beginning and end of the useful data is? > If the former,

Re: Divide Large Data Blob?

2022-05-16 Thread Bob Sneidar via use-livecode
Do you know exactly which lines you need to toss, or do you need to searc the data to find out where the beginning and end of the useful data is? If the former, then just put line x to y of your data into a new variable. If the latter, then a divide and conquer approach might be the answer. Get

Re: Sqlite and Monterey on M1

2022-05-12 Thread Bob Sneidar via use-livecode
Sandboxing. I don't think the latest Apple operating systems allow the writing to the App Support folder, even if you have explicit write permissions. It's better if you put the file into her documents folder somewhere. To answer the question you are about to ask, it's likely that her old Mac OS

Re: Re Pulldownmenu button bug on Windows

2022-05-11 Thread Bob Sneidar via use-livecode
I'm going to have a look at that Richard. Thanks. Bob S > On May 11, 2022, at 11:27 , Richard Gaskin via use-livecode > wrote: > > Neville Smythe wrote: > > Thanks again Richard > > > > In my case I don’t actually need a workaround. Once I had corrected > > my own error, the only effect of t

Re: use-livecode Digest, Vol 224, Issue 8

2022-05-10 Thread Bob Sneidar via use-livecode
You can read for x characters then check the result for empty. So no you do not need to read the entire file into memory. Bob S > On May 10, 2022, at 12:14 , Mark Clark via use-livecode > wrote: > > Thanks Tom, Mike and Craig. Sorry for the late response, I’m on the digest > version. > >

Re: Re Pulldownmenu button bug on Windows

2022-05-07 Thread Bob Sneidar via use-livecode
Well put. I wonder what the real world effect of the order of messages is, and whether or not it could be compensated for by send in time? Sent from my iPhone > On May 7, 2022, at 13:44, Richard Gaskin via use-livecode > wrote: > > It's definitely an inconsistency, but the bug's status as re

Re: Anybody tried to import data to Quicken for Mac?

2022-05-06 Thread Bob Sneidar via use-livecode
Is QIF a text based format, or is it encrypted? If the latter (and it probably is), it is doubtful that there is a way to do this without software (of which there are some options if you google it). Bob S > On May 6, 2022, at 13:40 , William Prothero via use-livecode > wrote: > > Folks: >

Re: Zip file problem on Mac

2022-05-06 Thread Bob Sneidar via use-livecode
Should be an enhancement request. Bob S > On May 6, 2022, at 24:09 , matthias rebbe via use-livecode > wrote: > > Hm, > is it really a bug or does revZip just stick to the zip specs? ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Zip file problem on Mac

2022-05-05 Thread Bob Sneidar via use-livecode
Open a bug report and I will +1 it. Bob S > On May 4, 2022, at 15:35 , matthias rebbe via use-livecode > wrote: > > Neville, i can confirm that behavior even under BigSur. > > I've created a small standalone with LC 10DP3 on BigSur and created 2 zip > files from the output folder using

Re: getProp and passing values

2022-05-03 Thread Bob Sneidar via use-livecode
if end maingridData Bob S > On May 3, 2022, at 15:00 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I seem to recall the ability to define a virtual custom property in such a > way that I could for example code: > > put the maingriddata ["

getProp and passing values

2022-05-03 Thread Bob Sneidar via use-livecode
Hi all. I seem to recall the ability to define a virtual custom property in such a way that I could for example code: put the maingriddata ["customers"] of card "Main" into tCustomersA As is I cannot pass args to a getprop handler. I can only pass args to a setProp handler. Any ideas? I ch

Re: devcon 2022 recap

2022-04-29 Thread Bob Sneidar via use-livecode
before, with MetaCard. Appli is made 100% in LiveCode. > It is a comprehensive example of a complex solution made in LiveCode. > > The LiveCode team has plans to express the goals of our suite soon. When they > announce, I am confident they will clearly articulate the value proposition. >

Re: devcon 2022 recap

2022-04-28 Thread Bob Sneidar via use-livecode
Well I downloaded the Appli app. The starting level is $45 / month, and storage is pretty sparse, which I can pay more for later. Doesn't look cost effective for me when I could just create my own web portal. Bob S > On Apr 28, 2022, at 13:58 , Richard Gaskin via use-livecode > wrote: > >

Re: devcon 2022 recap

2022-04-28 Thread Bob Sneidar via use-livecode
Richard, I've been pounding the pulpit on this one for some time. Besides the default datagrid behavior, I have a whole library of handlers that I use for my datagrids that I need to access. To do this, I need my library to be inserted *between* the datagrid and the default behavior. This is not

Re: devcon 2022 recap

2022-04-28 Thread Bob Sneidar via use-livecode
NVM I found it. Not on the app store. Bob S > On Apr 28, 2022, at 13:26 , Bob Sneidar wrote: > > That looked really interesing to me. The ability to create a no code web app > was especially intriguing. I was not able to find the app on the Apple Store > though. Where do I

Re: devcon 2022 recap

2022-04-28 Thread Bob Sneidar via use-livecode
That looked really interesing to me. The ability to create a no code web app was especially intriguing. I was not able to find the app on the Apple Store though. Where do I get the 45 day demo?? Bob S > On Apr 28, 2022, at 12:02 , Mike Kerner via use-livecode > wrote: > > * The whole low-co

Re: devcon 2022 recap

2022-04-28 Thread Bob Sneidar via use-livecode
Anytime I get to thinking I'm a pretty smart guy, I can just watch one of Mark Waddingham's sessions, and be duly humbled. ;-) Bob S > On Apr 28, 2022, at 09:06 , Mark Smith via use-livecode > wrote: > > I thought it was a pretty good conference Mike, and surprisingly well handled > by Zoom

Re: Curved text possible?

2022-04-28 Thread Bob Sneidar via use-livecode
Great ideas Martin. I'm going to grant you an honorary doctorate from the institute of Sly Laboratories. Bob S > On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode > wrote: > > I was thinking that SVG might work as someone else has said. > > At first I thought you could create indivi

Re: Single Window LC IDE?

2022-04-27 Thread Bob Sneidar via use-livecode
I watched the keynote by Kevin, and I think all your concerns are slated to be addressed. Bob S > On Apr 27, 2022, at 09:24 , Paul Dupuis via use-livecode > wrote: > > On 4/27/2022 11:58 AM, J. Landman Gay via use-livecode wrote: >> I like the new look very much, but most of us old timers h

Re: Advantages of Memory based sqLite databases

2022-04-22 Thread Bob Sneidar via use-livecode
So I tested this when I got in the shop this morning. The memory database is roughly 450:1 over an sqLite database on the LAN. That is incredibly significant, if the goal is to start with a certain dataset, then query it over and over. Bob S > On Apr 21, 2022, at 19:52 , Bob Sneidar via

Re: Advantages of Memory based sqLite databases

2022-04-21 Thread Bob Sneidar via use-livecode
I made a client server proof of concept which encrypted messages before sending and decrypted them on the other end. The upshot was that I can send an encrypted query string from the client to the server, the server which handles the database connection stuff performs the query, then returns the

Advantages of Memory based sqLite databases

2022-04-21 Thread Bob Sneidar via use-livecode
Hi all. Just an exercise in semi-futility here. I was curious about the actual difference in performance between querying a memory based sqLite database, as opposed to querying a mySQL database over a slow (iPhone hotspot) connection. I expected it to be significant, but HOW significant I had

<    1   2   3   4   5   6   7   8   9   10   >