Re: Using MySQL on (headless) Linux

2021-02-03 Thread Dr. Hawkins via use-livecode
That the deployment needs to be headless doesn’t prevent you from running it n the IDE to gain access to single stepping, breakpoints, and the like. I don’t remember why offhand, but before finding the -ui option, I did some experimenting and fount that I could get the linux version of

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Dr. Hawkins via use-livecode
bob bumbled, > > Last time I plotted an equation while bifurcating, I was pretty drunk, and > don't remember much. I once wrote a program that compiled without error and executed on the very first try. And, umm, the university would not have approved of what I consumed before I went to the

Re: Layers in PBrowser

2020-08-12 Thread Dr. Hawkins via use-livecode
sean sputtered, >But why does Project Browser STILL NOT WORK? The project browser is a form of penance for your sins. I find facing it somewhere between grabbing a boiling pan and puncturing an eardrum with an ice pick . . . I still don’t use it, and stick with the old stack browser . . .

Re: Help me understand infinity

2020-07-29 Thread Dr. Hawkins via use-livecode
On Jul 29, 2020, at 12:08 PM, Alex Tweedly via use-livecode wrote: > > Any number compared to positive infinity (other than itself) *will* be less > than it. Bah, ℵ2> floating point infinity (which is ℵ1) (I took that class from Halmos himself . . .) — Richard E. Hawkins, Esq. The

Re: Ready to go

2020-04-03 Thread Dr. Hawkins via use-livecode
On Mar 31, 2020, at 12:13 PM, Tom Glod via use-livecode wrote: > > I know you guys just had a 30% sale to start the year...but Christmas > killed us with customer missing in action so I couldn't do it at the > time. :( > They don’t have much left to sell me but a lifetime upgrade from

Re: Admob integration

2020-01-15 Thread Dr. Hawkins via use-livecode
On Jan 15, 2020, at 1:03 PM, JJS via use-livecode wrote: > > No one interested in putting ads in mobile apps to get some extra income? Oh, I’m interested, but I’ve given up. I have aa parta program on hold. I assume I’ll end up just writing it in swift. There is *supposedly* a partnership

Re: "empty" background in printed pdf is actually grey

2019-11-01 Thread Dr. Hawkins via use-livecode
On Nov 1, 2019, at 4:37 PM, Mark Wieder via use-livecode wrote: > > Untested, but maybe setting the opaques to true and the blendlevel to 100? A > bit counerintuitive, but ya never know... No less intuitive than there being fundamental technical reasons that it was necessary to sacrifice

Re: "empty" background in printed pdf is actually grey

2019-10-31 Thread Dr. Hawkins via use-livecode
On Oct 30, 2019, at 10:39 PM, Tom Glod via use-livecode wrote: > Don't things inherit attributes?. so if empty, that means the card > would inherit the stacks background color?? The card and the stack also are set to empty backgroundcolor I’ve also set the opaque of stack, card, and

"empty" background in printed pdf is actually grey

2019-10-30 Thread Dr. Hawkins via use-livecode
I’m within spitting distance on this merging of pdfs, using livecode to generate python code and using the PyPDF2 library. My last problem is that the pdf generated by livecode creates a great background, whereas it should be transparent. set the backgroundColor of otCd to empty print otCd

Re: cr, lf, and reading in terminals/vim

2019-10-30 Thread Dr. Hawkins via use-livecode
On Oct 30, 2019, at 2:57 PM, Klaus major-k via use-livecode wrote: > > no idea, but it worked for me years ago. :-) which is the ultimate test . . . and, now that you mention it, *far* for the oddest fix . . . — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232

Re: cr, lf, and reading in terminals/vim

2019-10-30 Thread Dr. Hawkins via use-livecode
On Oct 30, 2019, at 2:42 PM, Matthias mentioned > I am not sure, if this will help with your task, but if i want to avoid that > the os replaces the line breaks with it´s default i am writing a binary file > instead of a text file. So in your case you would open the file for "binary >

cr, lf, and reading in terminals/vim

2019-10-30 Thread Dr. Hawkins via use-livecode
I’ve tried every combination of cr, lf, and crlf, but whenever I assemble into a file, I get something that neither the OSX terminal or vim recognizes as having lf in it I build a set of commands in mrgCmds, appending cr as I go, but I get a bunch of ^M in the otherwise uninterrupted stream

Re: Merge PDF

2019-10-21 Thread Dr. Hawkins via use-livecode
Silly question now that I think of it . . . does t avoid the pixelization that the pdf widget performs? And for that matter, does it work with cropped sections, or just full pages? — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702)

Re: Merge PDF

2019-10-21 Thread Dr. Hawkins via use-livecode
On Oct 21, 2019, at 10:55 AM, hh via use-livecode wrote: > > I had it ready yesterday for Mac and tried a full day to work I’ll start pounding the mac version was soon as I get my hands on it . . — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV

Re: Where LiveCode is Now

2019-10-04 Thread Dr. Hawkins via use-livecode
On Oct 4, 2019, at 9:27 AM, Bob Sneidar via use-livecode wrote: > > Talk to Jacgue about that. Bring extra socks. I’ll bring it up when we meet last week. She seems to have misplaced next month’s message . . . — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite

making outputted pdf background transparent [ was:high resolution when printing to pdf, ...]

2019-09-10 Thread Dr. Hawkins via use-livecode
I’ve managed to make overlay of pdfs work with PyPDF2. Now I have the problem that livecode outputs a background color to the pdfs I make. Even if I et the background color of my card, the groups, etc. to empty, I still get a grey background, instead of a transparency. This means that when I

Re: high resolution when printing to pdf, either from images or pdf widgets

2019-09-06 Thread Dr. Hawkins via use-livecode
On Aug 28, 2019, at 12:07 AM, Mark Waddingham via use-livecode wrote: > > On 2019-08-27 17:24, Dr. Hawkins via use-livecode wrote: >> I’ve seen references, even in the bug report, to “directly” printing >> to pdf from a widget. > > I'm not entirely clear what Mont

Re: Another list test

2019-08-29 Thread Dr. Hawkins via use-livecode
On Aug 29, 2019, at 7:40 AM, Bob Sneidar via use-livecode wrote: > > If an SMTP relay cannon contact the destination mail server, there usually is > a time period in which it will retry. By the time someone takes a cannon to a server, it’s usually to late to retry! :) — Richard E.

Re: another list test

2019-08-27 Thread Dr. Hawkins via use-livecode
On Aug 27, 2019, at 7:51 AM, Dar Scott Consulting via use-livecode wrote: > > I still don't see this: > http://quality.runrev.com > > That’s because a side-effect of the outage is to render livecode

high resolution when printing to pdf, either from images or pdf widgets

2019-08-27 Thread Dr. Hawkins via use-livecode
I’ve seen references, even in the bug report, to “directly” printing to pdf from a widget. My experience has been that it still reduces the pdf to screen resolution. I still insist they the fact that the engine *renders* the pdf, rather than including it, is a hard-core bug. I attached an

Re: LC expectations

2019-08-23 Thread Dr. Hawkins via use-livecode
On Aug 23, 2019, at 1:51 PM, Richmond via use-livecode wrote: > > Well . . . The website is accessible in "darkest" Bulgaria, OK, but do you have sunbeam retirement homes, like in darkest Peru? :) — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV

Re: Should the scope of WholeMatches be expanded?

2019-08-08 Thread Dr. Hawkins via use-livecode
On Aug 5, 2019, at 7:43 AM, Paul Dupuis via use-livecode wrote: > > I'd like to see wholeMatches apply to: Gee, that would do just what I need in searches . . . and the check is already there, and applies in the IDE search/replace feature . . . hmmm . . . set the whole matches to true

Re: DragDrop for Datagrids

2019-08-07 Thread Dr. Hawkins via use-livecode
On Aug 6, 2019, at 3:20 PM, J. Landman Gay via use-livecode wrote: > > Nonsense. Every woman knows it's always the man's fault. We don’t have to take this abuse from you—we have our own wives waiting to abuse us! :) — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd.

Re: replacing only exact matches in script

2019-08-07 Thread Dr. Hawkins via use-livecode
On Aug 7, 2019, at 1:05 PM, Bob Sneidar via use-livecode wrote: > > Again, this is probably better handled with database queries. The catch is that I’m doing this to *build* those queries (or, actually, to invoke a combination)! the combination I mentioned would cause another value to be

replacing only exact matches in script

2019-08-07 Thread Dr. Hawkins via use-livecode
I’m finally writing my new version of dependency calculation for database variables, with a supposedly clever easy format fo entry and machine calculated script. I need to replace only exact true words, though. So I need to be able to take an input string such as 5*pay - 2*monthlypay

Re: How does OSX tell what app to open when you double click a file?

2019-08-07 Thread Dr. Hawkins via use-livecode
On Aug 7, 2019, at 2:31 AM, David V Glasgow via use-livecode wrote: > > No idea if this is any help at all, but I run two versions of Apple Pages (I > have my reasons… ;-) > No wisecracks from me—I ran Word 4.0 and 5.1 on the same computer for years. It was the rare case where msft didn’t

Re: Transparent layer between pdf widget and field?

2019-08-02 Thread Dr. Hawkins via use-livecode
On Aug 1, 2019, at 5:54 PM, Dar Scott Consulting via use-livecode wrote: > > Maybe your rectangle can have its blend level and ink tweaked to provide the > look you want. Ahh. blendLevel is the keyword I was looking for. I was looking for “transparency” and the like. Blendlevel 85 and

Re: V9.5 may still have issues

2019-08-02 Thread Dr. Hawkins via use-livecode
On Jul 31, 2019, at 7:26 PM, J. Landman Gay via use-livecode wrote: > > Only once an hour? ;) > > Yeah, something is off. Download version 6; that should solve the problem . . . :) I *never* managed to get 6 to either stay up long enough or respect a red dot enough to do any work. I had

Re: Launching a cli server as background process in OSX

2019-08-01 Thread Dr. Hawkins via use-livecode
On Jul 31, 2019, at 3:56 PM, David Bovill via use-livecode wrote: > > The issue is that as the shell command runs until you forcibly exit (somecommand & | sleep 1) will launch somecommand as a background process and then sleeps 1 second before returning. somecommand could be a simple

breakpoint conditions scrambled?

2019-07-25 Thread Dr. Hawkins via use-livecode
This is in 9.5-rc1. I’ve braved tried to use some conditional breakpoints. However, when it opens one, it seems to show a previously used condition, and when I replace it, it seems to not get saved, instead remaining blank when I reopen, and not breaking at all. Do other people see this? —

Error description: Stack: stack is password protected

2019-07-24 Thread Dr. Hawkins via use-livecode
I have never seen this before, and the stacks (and routine) involved are a few years old! The procedure dhDevBldFlds loops through my source stacks and finds controls that need to be handled for output, and sets appropriate attributes. All of a sudden, it’s bombing with Message execution

import from multi-page png, and automating pdf-> png

2019-07-12 Thread Dr. Hawkins via use-livecode
As I’m trying to get a temporary workaround for the engine pixel-rendering a pdf widget rather than including the pdf, I have a two part question: 1) is there a straightforward way to batch convert pdf to png of specified density? 2) for a multipage png, is there a “decent” way to use import

Re: Rename object

2019-07-09 Thread Dr. Hawkins via use-livecode
On Jul 4, 2019, at 9:33 AM, Dar Scott Consulting via use-livecode wrote: > > clone control "gizmo" as "blivet" Wow, I can do that? All these years, and still little details . . . — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702)

Re: PDF Widget

2019-07-03 Thread Dr. Hawkins via use-livecode
On Jun 24, 2019, at 3:33 PM, Monte Goulding via use-livecode wrote: > > In order to resolve the report we need to add a way for a widget to draw > something different into a printing context than it does normally. I’ve just uploaded some files with the core of a solution. Having never gone

Re: Catalina

2019-06-26 Thread Dr. Hawkins via use-livecode
richmond rumbled, > > That's lovely to hear: but as almost all the software I depend on does not > seem to have 64-bit versions yet > I'm sticking with 10.14. this machine, my main one, is stuck forever at 10.13, so I don’t need to worry about that :) And Adobe 8, for which I have a pro

Re: Catalina

2019-06-26 Thread Dr. Hawkins via use-livecode
On Jun 25, 2019, at 1:01 PM, Richmond via use-livecode wrote: > > I got macOS Catalina (10.15) beta "shoved up my nose" by my > Mac's Software update thingy this afternoon. I went out of my way to get it yesterday, and put it on my MacBook. 9.5 launches and runs just fine so far. —

Re: PDF Widget

2019-06-24 Thread Dr. Hawkins via use-livecode
> Paul provided, > The same issue exists in the external OR in any printing based on printing > cards in LiveCode. If you want someone at higher than screen resolution (like > 2x or 4x, you sort of need to size the image or pDF at 2x or 4x off screen > (or locked screen) and take a export of

Re: Setting conditional breakpoints

2019-06-24 Thread Dr. Hawkins via use-livecode
On Jun 24, 2019, at 10:32 AM, Mark Wieder via use-livecode wrote: > > Unfortunately, it's still not possible to use setProp and getProp handlers > with built-in properties, so catching a change to the visible of an object > won't work. It's been in bugzilla for 14 years now. > >

math on widths doesn't add up

2019-06-14 Thread Dr. Hawkins via use-livecode
Playing around with a couple of things needing alignment, I’ve noticed that the math on widths and edges isn’t quite right. For example, I have a boundary rect of width 12, with a left of 0 and a right of 12. One of these is wrong . . . a width of 12 would go from 0 to 11; 0 to 12 is 13

one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread Dr. Hawkins via use-livecode
Can anyone else confirm this, or see a pattern? On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is working—not the evil red PCD, not “breakpoint”, nor anything else I can think of. On may late 2018 MacBook Pro, latest mohave, they work. The iMac has also told me a

Re: critical: new pdf widget causes stack to crash when opening

2019-05-31 Thread Dr. Hawkins via use-livecode
On May 31, 2019, at 9:38 AM, panagiotis merakos wrote: > > Hello Richard, > > What happens if you first lock messages and then open the stack that crashes? I tried that, a and got the same result. I suspect that it has to do with attempting to render it, but . . . I also later saw a crash

critical: new pdf widget causes stack to crash when opening

2019-05-31 Thread Dr. Hawkins via use-livecode
I put in the last pdf widget on a card to produce a 6 page form out of smaller pieces. With the last one, the ide crashed. Not only did it crash, but loading that card causes it to crash again. I’ve also tried opening with 9.0.3-rc1, and it also crashes trying to open the card. workaround:

property that shows a group is being edited?

2019-05-29 Thread Dr. Hawkins via use-livecode
This came up a few months ago, and someone mentioned a property that is set while editing a group in the IDE. I can’t find it in the dictionary or with Mr. Google. Can anyone remember the name of the property? — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las

Re: textHeight changing again when copying fields from one stack to another

2018-08-27 Thread Dr. Hawkins via use-livecode
On Mon, Aug 27, 2018 at 5:06 PM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > > I would expect you need to explicit set the textHeight of the field > before copying. Otherwise it inherits the textHeight value from its > parent object all the way up to the stack (or

textHeight changing again when copying fields from one stack to another

2018-08-27 Thread Dr. Hawkins via use-livecode
I licked this a few years ago, but forget how. I have fields being copied from one stack to another (actually, the group is copied) for output purposes. the sharedText and lockText are both set to true, and maintenance routines cause the textHeight to be set to my custom property txtHgt. I'm

execution doesn't stop when multiple function calls in a line

2018-05-22 Thread Dr. Hawkins via use-livecode
It seems to me I filed a bug about this a couple of years ago, and it was fixed. If I have a line like setVal "someVal", getVal("abc", dbtr) + getVal("def", dbtr)+getVal("ghi", dbtr) + getVal("jul", dbtr) and I stop the IDE in the first getVal() with the blue box when it hits a breakpoint,

losing font info in fields again

2018-05-22 Thread Dr. Hawkins via use-livecode
I think I ask this every couple of years (and it would be more often, but I sometimes find the answer in my archives). As my program copies groups from one stack to another, I am losing field formatting information. This time, the offending fields have, iirc, both ArialMt and dingbat text,

Re: PDF

2018-05-12 Thread Dr. Hawkins via use-livecode
the utilities pdf2txt and pdftotxt (or do they spell out text?) On Sat, May 12, 2018 at 9:58 AM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > I haven't needed to do this before, but is there a (relatively) easy way to > extract the text from a bunch of pdf files? I'm

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Dr. Hawkins via use-livecode
On Thu, Apr 26, 2018 at 11:58 AM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > I had no clue you could do that! Thank you! > Yeah, but if you're doing any level of *serious* matrix multiplication, there's no substitute for Fortran: it's a basic feature of the

Re: do. command. safety. ?

2018-03-31 Thread Dr. Hawkins via use-livecode
On Fri, Mar 30, 2018 at 9:02 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > do "put " && quote & user input & quote && "into x" -- not safe > Thus, do "initiate global thermonuclear war" :) Was shazam the statistical package that actually implemented that

Re: representing this character from a pdf

2018-02-08 Thread Dr. Hawkins via use-livecode
On Thu, Feb 8, 2018 at 1:08 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > > That is the actual ASCII 63 wingdings character. He wants the right arrow, something not even IN the wingdings character set (at least on Mac). > I went into LibreOffice (where it won't paste

Re: representing this character from a pdf

2018-02-08 Thread Dr. Hawkins via use-livecode
These government pdfs are nasty in general, and made with something sloppy. When I try pasting it into LibreOffice, I get nothing at al! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please

representing this character from a pdf

2018-02-08 Thread Dr. Hawkins via use-livecode
For the form at http://www.uscourts.gov/file/19456/download, I am trying to replicate the fat little arrow to the right of question 1 (and so forth)> When I paste into live code, though, it doesn't work, orator gets converted. Does anyone know how to to keep this character in a livecode field?

Re: Execute multiple MySQL commands

2018-02-08 Thread Dr. Hawkins via use-livecode
On Thu, Feb 8, 2018 at 8:20 AM, Ludovic THEBAULT via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Just for infos, multiple statements works with SQLite but not with Mysql. They also work with postgreSQL. This was a major factor in my switching. I think mySQL now has rollback,

Re: any tricks to make SHELL non blocking?

2018-02-06 Thread Dr. Hawkins via use-livecode
On Tue, Feb 6, 2018 at 3:28 PM, Warren Samples via use-livecode < use-livecode@lists.runrev.com> wrote: > >> > With all due respect, this is not all correct information. It is perfectly > valid to escape using single quotes (and double quotes) on the command line hmm, for spaces, that seems to

Re: any tricks to make SHELL non blocking?

2018-02-06 Thread Dr. Hawkins via use-livecode
On Tue, Feb 6, 2018 at 12:03 PM, Stephen Barncard via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike Bonner: I'll try the Open Process suggestion you made - again with > more syntax variations this time. thanks! > > Dr Hawkins - I don't have control over the name of the CD source

Re: any tricks to make SHELL non blocking?

2018-02-06 Thread Dr. Hawkins via use-livecode
On Mon, Feb 5, 2018 at 9:46 PM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > > > (./ffmpeg -i '/Volumes/Audio CD/1 Audio Track.aiff' '/Volumes/20160518 > KJAZ > > ARCHIVE MASTER/JULY - JAN 2017/20040315-2-JD0211b.wav' &) > double quotes cause evaluation (for shell

Re: any tricks to make SHELL non blocking?

2018-02-05 Thread Dr. Hawkins via use-livecode
On Mon, Feb 5, 2018 at 2:18 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 02/05/2018 12:02 PM, Dr. Hawkins via use-livecode wrote: > > disintegrated (and so did that plumber). >> > > !!! > > *shrug* So I'm a vengeful homeowner. :)

Re: any tricks to make SHELL non blocking?

2018-02-05 Thread Dr. Hawkins via use-livecode
On Sun, Feb 4, 2018 at 10:13 AM, prothero--- via use-livecode < use-livecode@lists.runrev.com> wrote: > Totally ot, > My mother in law had an iron drain deteriorate, with roots and cracks all > through it, and Roto Rooter was able to ream it and put in some kind of > epoxy liner, so nothing had

Re: any tricks to make SHELL non blocking?

2018-02-04 Thread Dr. Hawkins via use-livecode
On Sat, Feb 3, 2018 at 4:51 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > The Husband loves plumbing, it gives him the inspiration to learn all > kinds of new colorful words. He puts it off as long as possible to savor > the anticipation > There's nothing like

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Dr. Hawkins via use-livecode
On Fri, Feb 2, 2018 at 1:41 PM, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > > Any hints on how to make this NON blocking somehow? > I need a solution for Mac and Win. > > I don''t know about darkside machines, but on \begin{condescending snark} mac and other real

Re: Do script-only stacks support "chained" behaviors?

2018-01-22 Thread Dr. Hawkins via use-livecode
On Mon, Jan 22, 2018 at 6:10 AM, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > > The way he suggested structuring the projects was putting the ui elements > and their behaviors into /ui/stackName (and then the behaviors for that > stack into /ui/stackName/behaviors/).

Re: SQL Query not working

2018-01-05 Thread Dr. Hawkins via use-livecode
On Fri, Jan 5, 2018 at 11:04 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > > put revOpenDatabase("sqlite", "MEMORY") into tDBID -- verified tDBID > returns a number > > I think you need ":MEMORY:" rather than "MEMORY" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: delete the customproperty (of a card)

2018-01-01 Thread Dr. Hawkins via use-livecode
For removing a single property while leaving the rest intact, I have a library routine rmProp. on rmProp prop, tgt --remove a property from the basic property set local props if tgt is empty then put the long id of me nto tgt end if put the customProperties of tgt into props repeat for

Re: screenloc not actually centered after changing scalefactor (was Screen Resolution for Desktop Apps)

2018-01-01 Thread Dr. Hawkins via use-livecode
On Sun, Dec 31, 2017 at 5:31 PM, Nicolas Cueto via use-livecode < use-livecode@lists.runrev.com> wrote: > > To do "some calculations", I thought of comparing the loc to the > scalefactor. So ran the standalone on three devices, but saw no consistent > corelation between the differing locs and the

Re: Error deleting a stack

2018-01-01 Thread Dr. Hawkins via use-livecode
On Mon, Jan 1, 2018 at 8:03 AM, Graham Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: >The thing is, this used to work, probably in the LC 7 series. I think that is the error here--it shouldn't be possible to delete the stack containing a target while that target's script is

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Dr. Hawkins via use-livecode
On Fri, Dec 29, 2017 at 5:05 PM, Mike Bonner via use-livecode wrote: > On mysql.. can't you prebuild your multi-command transaction in a variable > (with a beginning and ending to the transaction) and then use revexecutesql > with a single call for the one big

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Dr. Hawkins via use-livecode
On Fri, Dec 29, 2017 at 12:53 PM, Matthias Rebbe via use-livecode wrote: > Executing the 2000 update commands in one take using revexecuteSQL > or should i execute one update command after each other within a repeat loop? Unless something has changed, you can't

Re: [ANN] Release 9.0.0 DP-11

2017-12-22 Thread Dr. Hawkins via use-livecode
On Fri, Dec 22, 2017 at 2:12 PM, Jim Lambert via use-livecode wrote: > For anyone playing with the new MAP widget, the dictionary entry for > regionChanged states: !!! I dunno about the rest of you, but *I* am not going near any teleport that isn't even beta

mumbling towards a crash cause

2017-12-21 Thread Dr. Hawkins via use-livecode
I *may* have just had an insight on a cause of IDE crashes. A moment after I changed a custom property, and before the stack was saved, I ran something else that accessed that property from a script. Or, it could be coincidence, but this may be consistent with some of met other crashes. Just

Re: [off] Apple to unify ios/macos apps next year

2017-12-20 Thread Dr. Hawkins via use-livecode
On Wed, Dec 20, 2017 at 3:35 PM, JB via use-livecode wrote: > Is Apple going to have enough intelligence to > make the ios compatible with the os desktop > or will they do away with the desktop to make > the new mac os like the ios? *shudder* I'd be back on

Re: advertising,again, and is anyone actually making money from it?

2017-12-11 Thread Dr. Hawkins via use-livecode
I guess I make it three. I signed up, and didn't log in, the day they announced their own email, just to stop someone else from being labeled dochawk. Then at my reunion a couple of months ago, it came up that someone had a page for our class. We went through a comedy of errors trying to find

Re: advertising,again, and is anyone actually making money from it?

2017-12-11 Thread Dr. Hawkins via use-livecode
If nothing else, there is a ghostery browser for iOS; it is what I use on the rare time I need one on my phone. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: The Detailed and Long files

2017-12-11 Thread Dr. Hawkins via use-livecode
On Mon, Dec 11, 2017 at 9:06 AM, Mark Wieder via use-livecode wrote: > > Point taken. Thanks - that was me typing without being sufficiently > caffeinated. set the detailed caffeination of Mark to "High. VERY high." :) -- Dr. Richard E. Hawkins, Esq. (702)

advertising,again, and is anyone actually making money from it?

2017-12-11 Thread Dr. Hawkins via use-livecode
I've tried to get this discussion going before, and failed. So perhaps a crasser start: Is anyone actually making money from livecode app's advertising, either iOS or android? If so, how did you get it done, who did you use, etc.? All I have so far is that the folks that livecode supposedly

Re: sorting with number late in name

2017-12-06 Thread Dr. Hawkins via use-livecode
On Wed, Dec 6, 2017 at 3:34 PM, Klaus major-k via use-livecode wrote: > set itemdel to "_" > sort lines of fld 1 numeric by item 2 of each I *thought* that that was in there somewhere, but I didn't see it when I pulled the dictionary page :( For that matter,

crumbly IDE

2017-12-06 Thread Dr. Hawkins via use-livecode
This is in the 8.2 series, but I think folks have sen it before. I haven't nailed it down yet, but I seem to permanently lose parts of the IDE, possibly after toggling messages off and back on from the toolbar. The message box still works, and can close stacks, but the stats seem to completely

sorting with number late in name

2017-12-06 Thread Dr. Hawkins via use-livecode
Now that I've hit ten numbered items, I'm having an issue with maintenance routines. If I have the items p13_1.07 p13_1.08 p13_2.04 p13_10.01 I want them to sort in that order. However, the 10 will sort between the 1s and 2s. Is there a "decent" way to do this without a custom

Re: IDE breaks down over time

2017-12-01 Thread Dr. Hawkins via use-livecode
On Fri, Dec 1, 2017 at 10:24 AM, Bob Sneidar via use-livecode wrote: > You are saying the IDE process is maxing out? There was a known issue with > notifications doing this in > MacOS 10.11. Are you creating alerts in your apps? Was this to me? I don't create

Re: IDE breaks down over time

2017-12-01 Thread Dr. Hawkins via use-livecode
On Fri, Dec 1, 2017 at 9:53 AM, Mark Wieder via use-livecode wrote: > Just got this situation again. The IDE completely unresponsive, all other > open apps working properly. Top shows LC using 98% of the CPU, and a kill -9 > got things back to normal. I suppose

Re: [OT] Google TensorFlow Lite

2017-11-14 Thread Dr. Hawkins via use-livecode
I must say . . . I've never heard "tensor" and "light' used together. By the time you're serious about things being tensors, rather than simple values or vectors, you're into *serious* mathematics . . . ___ use-livecode mailing list

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname =

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:39 PM, Monte Goulding via use-livecode wrote: > It would probably be nice to have some explicit syntax to govern this > behavior so that you could explicitly declare > you want clobbering behavior or first come best dressed. explicit is

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname =

results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
If I use split such that keys are not unique, will that have the effect of filtering out duplicates? For example, if I have dog 3 dog 5 cat 8 and SPLIT it, will I end up with 5 in entry dog? More specifically, is this a defined behavior, or "just how it currently works" I'm trying to

Re: Script editor - what about the handlers with the red cross?

2017-10-30 Thread Dr. Hawkins via use-livecode
On Mon, Oct 30, 2017 at 6:52 AM, Tiemo Hollmann TB via use-livecode wrote: > a list of system messages with a red cross (below my used > handlers). > > Which selection of handlers are shown in that list? What can I do with it? That depends--these are reserved for

system user dialog data colliding

2017-10-04 Thread Dr. Hawkins via use-livecode
I finally found the source of this oddness after a couple of years . . . On startup in development environment, there is a check that updates the main stack if it is not from today, using "save as". The name is to the effect of "mcp.171004a.livecode" This invariably triggers a live code message

Re: Best way to copy from one stack to another

2017-09-21 Thread Dr. Hawkins via use-livecode
On Thu, Sep 21, 2017 at 4:05 AM, Randy Hengst via use-livecode < use-livecode@lists.runrev.com> wrote: > > > copy this card to stack “targetStack" Or even make the old stack (or a copy of oil) a sub stack of the new stack. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: Parent of Target

2017-08-29 Thread Dr. Hawkins via use-livecode
On Wed, Aug 23, 2017 at 1:30 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > We could parse the message being sent and check if there’s a handler that > can handle it at the time it’s being sent but that would be a dangerous > change > > Wouldn't it be a bit less

"cleanser" for SQLite and UTF

2017-08-23 Thread Dr. Hawkins via use-livecode
I've really never paid much attention to UTF; 7 bit ASCII is fine for everything I've ever needed to do (save immigration forms, but that was handled by someone else's software). Is there a "cleanser" hidden somewhere in livecode that converts arbitrary text to plain old boring (and those

Re: attaching my group id to a control in a subgroup

2017-08-22 Thread Dr. Hawkins via use-livecode
On Tue, Aug 22, 2017 at 3:28 PM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote: > Can you have a function in the appropriate group that returns its unDna? > This way, it will not matter about any subgrouping. > > Function MyUnDna > Return the unDna of me > End MyUnDna > >

attaching my group id to a control in a subgroup

2017-08-22 Thread Dr. Hawkins via use-livecode
I have a uniqDna value for each datum in my data. This is used to store and retrieve it from a database. When I create an output group for one of these (and there are a great many different output groups), the group is labeled with these IDs. The output group will typically contain label fields

Re: Completely OT - flat earth

2017-08-22 Thread Dr. Hawkins via use-livecode
On Tue, Aug 22, 2017 at 6:25 AM, Colin Holgate via use-livecode < use-livecode@lists.runrev.com> wrote: > I was in the southwest of England that day. It was very dense cloud, so we > didn’t see the sun at all. Here’s a time-lapse of what we saw: > > Same here: very heavy cloud cover and

Re: answer with...

2017-08-16 Thread Dr. Hawkins via use-livecode
On Wed, Aug 16, 2017 at 12:07 PM, jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi > I have a blank... > I need to use a prompt in the form of > answer "Your choice" with "John" or "Mary" or "Cancel" > > the problem is that the number of options depends on the > result of a DB

Re: Forum: Waves of Russian Nonsense

2017-08-15 Thread Dr. Hawkins via use-livecode
On Tue, Aug 15, 2017 at 5:51 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Anyway, this has been on Heather's mind - hopefully she will come up with > an alternate solution in due course. > I assume that the software uses either mySQL or postgreSQL? The

Re: Forum: Waves of Russian Nonsense

2017-08-12 Thread Dr. Hawkins via use-livecode
On Sat, Aug 12, 2017 at 6:38 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > The Forums are filling up quickly with a whole lot of nonsense about > cars in Russian > Maybe they mistook it for an election? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: common code patterns

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 3:08 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/11/2017 02:59 PM, Mike Kerner via use-livecode wrote: > >> That is not easier to read. >> > > Heh. Mike beat me to it. . . . After seven chalkboards of deprivation, the calculus

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 9:54 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Well, I always drive below the speed limit and I always wear a seatbelt > (and have always done so whether or not it was > a legal requirement in the country I happened to be living in

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Dr. Hawkins via use-livecode
On Thu, Aug 10, 2017 at 6:24 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > 2. automagical maintenance if the comments exist and you change the > conditio > Oooh, yes; automagical maintenance would be wonderful! (really? my spellchecker recognizes "automagical"

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 8:44 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > > It is important to remember that the majority of people who use mobile > phones, tablets and computers use them like they do their car or washing > machine. They have little interest in

  1   2   3   >