"lightening" a color

2016-09-10 Thread Dr. Hawkins
I am adding the ability to have multiple clients open, and want to use colors as a cue. Is there a way to "lighten" a color. That is (I suppose), to grab the numeric representation, and convert that to a much paler shade of the color? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: SQL joining from list of values to match single value?

2016-09-09 Thread Dr. Hawkins
On Fri, Sep 9, 2016 at 5:34 AM, Mike Kerner wrote: > If you really only have hundreds of records, and you aren't doing many > queries as part of the same operation, you have spent more time fighting > through this than you will save in the rest of your life running it.

Re: Threading (plus random question)

2016-09-08 Thread Dr. Hawkins
On Thu, Sep 8, 2016 at 4:12 PM, Monte Goulding wrote: > Yep, still tokenized… obviously this is low hanging fruit for optimization > where users don’t want colorization > That used to be the only use I saw for color displays, so I generally stayed to monochrome, which was

Re: Debugger forgetting soft breakpoints

2016-09-08 Thread Dr. Hawkins
On Thu, Sep 8, 2016 at 11:25 AM, J. Landman Gay wrote: > On 9/7/16 3:26 PM, Monte Goulding wrote: > >> ay, because nobody did any work on the debugger for 8.1 so it’s good >> that it didn’t break all by itself ;-) >> > > *I* broke all by myself. I wish I could blame it

Re: SQL joining from list of values to match single value?

2016-09-08 Thread Dr. Hawkins
On Thu, Sep 8, 2016 at 11:22 AM, Mike Kerner wrote: > I would make IS IN work, and do it in two queries, > Something like put revDataFromQuery(tab,vtab, theDb,"SELECT uniqDna, parDnas FROM theTable WHERE (parDnas <>'');" into theData split theData by vtab and tab

SQL joining from list of values to match single value?

2016-09-08 Thread Dr. Hawkins
I've been trying to wrap my head around this query for weeks, and hope someone can point out what I'm missing. In my table, the main key is uniqDna, an integer. There can also be dpdnDnas and parDnas, the uniqDna of a dependent or parent dna. I'm not seeking any good way to keep the dndDnas and

Re: Debugger forgetting soft breakpoints

2016-09-07 Thread Dr. Hawkins
On Wed, Sep 7, 2016 at 10:22 AM, Bob Sneidar wrote: > How about front and back scripts? > Nope. A single stack is used as a library, but there is no change in behavior from when it was the script of the main stack. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: Debugger forgetting soft breakpoints

2016-09-07 Thread Dr. Hawkins
On Wed, Sep 7, 2016 at 9:57 AM, Ben Rubinstein wrote: > FWIW the script I was playing with last night wasn't using any externals. > So I'm not sure that's always implicated. > I have no externals at all, anywhere. I have now broken down to multiple stacks which are loaded

Re: Debugger forgetting soft breakpoints

2016-09-07 Thread Dr. Hawkins
On Tue, Sep 6, 2016 at 9:27 PM, J. Landman Gay wrote: > What I usually do is put a breakpoint dot on the line right below the one > that doesn't trigger so it will break immediately afterward. I've generally rested to surrounding breakpoints with if, as the

Re: Standalone stops running

2016-08-31 Thread Dr. Hawkins
On Wed, Aug 31, 2016 at 4:27 PM, Bob Sneidar wrote: > So I always use a-z, A_Z, 0-9 _ and - and NOTHING ELSE. I don't even like > using spaces if I can help it. > I allow periods, but not hyphens. I've used things over the year where they have meaning . . . --

Re: postgres "serial primary key" recycling values

2016-08-31 Thread Dr. Hawkins
the problem. I tried MIN(1001, MAX(unqKy)) but it didn't like the min On Wed, Aug 31, 2016 at 11:13 AM, Dr. Hawkins <doch...@gmail.com> wrote: > > I create my table with > > *CREATE TABLE dhdbt_testy_xxiv___001 (unqKy SERIAL PRIMARY KEY, ktyp > * > > *

postgres "serial primary key" recycling values

2016-08-31 Thread Dr. Hawkins
I create my table with *CREATE TABLE dhdbt_testy_xxiv___001 (unqKy SERIAL PRIMARY KEY, ktyp * * CHAR(1), kywd VARCHAR(50) UNIQUE, usr VARCHAR(20), tstmp TIMESTAMP WITH * * TIME ZONE, scr TEXT, dltd BOOLEAN, cmd TEXT );* *ALTER TABLE dhdbt_testy_xxiv___001 OWNER TO hawk ;*

Re: Missing a chance

2016-08-31 Thread Dr. Hawkins
On Wed, Aug 31, 2016 at 5:12 AM, Richmond wrote: > her Mum doesn't want to watch it alone because she takes all of it > literally and needs my wife to hold her hand whenever some gets shot, ends > up in prison, Joey, have you ever . . . :) -- Dr. Richard E.

Re: Missing a chance

2016-08-30 Thread Dr. Hawkins
On Mon, Aug 29, 2016 at 11:51 PM, Richmond wrote: > It must be one of the few Dr Seuss books that didn't make it "across the > pond" as I was brought > up on Dr Seuss books even though I wasn't a child in the USA. > > I would be glad of the reference so I can have a

Re: Missing a chance

2016-08-29 Thread Dr. Hawkins
On Mon, Aug 29, 2016 at 10:17 AM, Bob Sneidar wrote: > If you can think without think, then you sir, are a better man than I. ;-) > Also, I can read with both eyes shut. (hmm, probably means nothing to non US folks. It's a very late Dr. Seuss book). -- Dr.

Re: Missing a chance

2016-08-28 Thread Dr. Hawkins
On Fri, Aug 26, 2016 at 4:23 PM, Bob Sneidar wrote: > There are no hobbyist C++ developers (who produce useful > applications/utilities that is). Just offhand,there's LyX . . . And for straight C, I can think of a couple of huge examples without even thinking . .

Re: Wouldn't it be neat...

2016-08-21 Thread Dr. Hawkins
On Sat, Aug 20, 2016 at 8:29 PM, Mike Bonner wrote: > Made a button with this.. > on mouseUp > I'd actually go with popping up a script on mouseDown . . . I have somewhat more elaborate code from mouseover popups in my application, on mouseDown btNo switch case (btNo =2)

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Dr. Hawkins
On Fri, Aug 19, 2016 at 10:42 AM, Mark Waddingham wrote: > LiveCode doesn't use what is generally referred to as 'garbage collection' > as it generally frees 'things' up as soon as they are no longer referenced. In that case, what are the several second pauses in the IDE,

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Dr. Hawkins
On Thu, Aug 18, 2016 at 11:09 AM, Jeanne A. E. DeVoto < revolut...@jaedworks.com> wrote: > I've had ugly crashes with large or complex arrays (that weren't anywhere > near the 4G limit). It's not just LiveCode where I trip over obscure bugs . . That's actually how I found met buy in Cray's

Re: [ANN] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-17 Thread Dr. Hawkins
On Wed, Aug 17, 2016 at 11:33 AM, mwieder wrote: > Right... that would be an IV... > :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: [ANN] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-17 Thread Dr. Hawkins
On Wed, Aug 17, 2016 at 11:08 AM, Dr. Hawkins <doch...@gmail.com> wrote: > > > On Tue, Aug 16, 2016 at 4:09 PM, Alex Tweedly <a...@tweedly.org> wrote: > >> On 16/08/2016 14:44, Richard Gaskin wrote: >> >>> >>> Anyone here have an idea what

Re: [ANN] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-17 Thread Dr. Hawkins
On Tue, Aug 16, 2016 at 4:09 PM, Alex Tweedly wrote: > On 16/08/2016 14:44, Richard Gaskin wrote: > >> >> Anyone here have an idea what it would take to add a vimKeyBindings? >> >> A brief attack of insanity. > > (as in - if you already have Emacs, you'd be insane to waste time

Re: [ANN] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-16 Thread Dr. Hawkins
On Tue, Aug 16, 2016 at 7:12 AM, Peter TB Brett wrote: > but Emacs remains nice and responsive. Wow. In over 30 years, that's the first time I've heard *anyone *say that. :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: No data in application browser in 8.0.2

2016-08-12 Thread Dr. Hawkins
On Fri, Aug 12, 2016 at 8:27 AM, Richard Gaskin wrote: > 7 is EOL, and the Application Browser is still in v8 as a plugin as it was > in v7. Yes, but it doesn't work at the moment. It opens, and displays nothing. And I'll point out again, until 8 works properly, 7

Re: No data in application browser in 8.0.2

2016-08-12 Thread Dr. Hawkins
On Fri, Aug 12, 2016 at 5:00 AM, Mike Kerner wrote: > If you mean the project browser, there is a bug report. No, I mean the application browser. I'm one of the ones that finds the project browser impractical, enough so that I rarely fire up 8 and stay with 7. --

Re: Can use assign multiple behaviors to a single object?

2016-08-11 Thread Dr. Hawkins
On Thu, Aug 11, 2016 at 3:26 PM, Richard Gaskin wrote: > With the current nesting setup we have the same ability to use multiple > scripts to define a single class of objects, but much greater clarity with > being able to know which will override/overload others.

No data in application browser in 8.0.2

2016-08-11 Thread Dr. Hawkins
I took one of my brief forays into version 8 today--shorter even than usual. The application browser window comes up, but it's completely empty--with a dozen stacks loaded! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list

Re: Trouble setting the font of the text of a field

2016-08-11 Thread Dr. Hawkins
On Thu, Aug 11, 2016 at 12:53 PM, Jeanne A. E. DeVoto < revolut...@jaedworks.com> wrote: > set the textFont of char 1 to -1 of tgTg to empty > > That should work. > It did, it did! I had been trying "char 1 to -1 of the text of tgTg", which I suppose gets past the same way as "the text of" .

Trouble setting the font of the text of a field

2016-08-11 Thread Dr. Hawkins
This code has been around a while; it's part of the maintenance routines. But now it's glitching. tgTg holds the long id of a field Inside a conditional, the last line of the code set the txtFnt of tgTg to "ArialMt" ck tgTg & cr & the long name of tgTg set the textFont of the

Re: [SQL] placeholders work for SQLite but not for mySQL

2016-08-09 Thread Dr. Hawkins
On Mon, Aug 8, 2016 at 7:00 PM, Kay C Lan wrote: > As I said I'll get around > to completely rebuilding the db > Now that you mention that . . . is it possible that past runnings have created db entries of "NULL" rather than NULL? -- Dr. Richard E. Hawkins, Esq.

Re: typo

2016-07-30 Thread Dr. Hawkins
On Sat, Jul 30, 2016 at 8:00 AM, [-hh] wrote: > [2] The sentence you cite is not there. > https://livecode.com/services/ > > Were it Ireland instead of Scotland, I'd suggest the wee folk had taken care of it . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: typo

2016-07-30 Thread Dr. Hawkins
On Sat, Jul 30, 2016 at 8:15 AM, Peter Bogdanoff wrote: > It's Scots. Or maybe Scotch. For that matter, it could have been caused by bourbon to tequila . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode

Re: "after after" for behaviors?

2016-07-29 Thread Dr. Hawkins
*bump* any ideas, anyone? On Sat, Jul 23, 2016 at 11:05 AM, Dr. Hawkins <doch...@gmail.com> wrote: > > I am trying to implement a generalized behavior that triggers after the > entire execution path, rather than after the immediate script, but before > the next script in the

"after after" for behaviors?

2016-07-23 Thread Dr. Hawkins
I am trying to implement a generalized behavior that triggers after the entire execution path, rather than after the immediate script, but before the next script in the path. Actually, having control return to a handler after "pass someHandler" would also solve my issues. A control might be

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-22 Thread Dr. Hawkins
On Fri, Jul 22, 2016 at 3:04 PM, JB wrote: > Around a year or so ago I read Apple was thinking > of making xCode open source. If they do then it > seems like they could incorporate Livecode open > source to develope similar features in xCode. > If apple were to do that,

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-22 Thread Dr. Hawkins
On Fri, Jul 22, 2016 at 7:10 AM, Rick Harrison wrote: > If the GPL license is overly restrictive perhaps LC should consider > releasing the > community version under a license similar to that used by PostgreSQL, MIT, > or create it’s own Community License. Clearly

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-22 Thread Dr. Hawkins
On Thu, Jul 21, 2016 at 9:57 PM, Kay C Lan wrote: > It is important to understand that the Company's (LC) 'intention' can > NOT deviate from the GPL v3 legal requirements which the FSF will > enforce, i.e. just because the Company (LC) would like to interpret a >

Re: New(ish) option on the filter command

2016-07-18 Thread Dr. Hawkins
On Sat, Jul 16, 2016 at 4:10 PM, Alex Tweedly wrote: > It should simply concatenate. Just like > put myVar after myOtherVar > does. > I see the logic in that, but just about any conceivable use would be dealing with items separated by data. maybe filter tear with abc after

Re: Do guinea pigs' eyes fall out if you hang them upside down by their tails?

2016-07-12 Thread Dr. Hawkins
On Tue, Jul 12, 2016 at 1:04 PM, Richmond wrote: > 3. Guinea pigs don't have tails. For the record, they start with one, but it's quite weak. Once Richard lifted it by the tail, it simply broke off, and brother Lamark never let another one have a tail . . --

Re: Windows Equivalents for Shell: cp (copy)

2016-07-12 Thread Dr. Hawkins
On Tue, Jul 12, 2016 at 12:18 AM, [-hh] wrote: > save stack as When I use this one, though, execution stops. I've been meaning to ask about this . . . I use it in a bmpVrsn routine to increment the file name of my various stacks (it also checks for and changes the date,

rotating the entire rendered playing field on mobile, and collisions

2016-07-10 Thread Dr. Hawkins
As mentioned in the advertising section, I"m starting to work with my game again. I'm trying to figure out a sane way to rotate the entire playing field by a few degrees. I'll have probably a dozen or two objects (borders and groups) as well the player (a group). If it was all a png except for

Re: Advertising in iOS or android apps

2016-07-10 Thread Dr. Hawkins
Here is the Interactive rejection. Does anyone know what the "criteria" are? If it's already having distributed the app, that's kind of a catch-22--and why would I switch over *after* coding to use something else? Thank you for your interest in Inneractive. Unfortunately, at this time, your

Re: revUpdateGeometry throwing error

2016-07-07 Thread Dr. Hawkins
. In 7, the breakpoint if "pause" is chosen is obeyed; in this RC, it is not. On Fri, Jul 1, 2016 at 9:42 AM, Dr. Hawkins <doch...@gmail.com> wrote: > *bump* > > Does anyone have an idea for this? I've done everything I can to try to > find a way to debug it, but I'

Re: revUpdateGeometry throwing error

2016-07-01 Thread Dr. Hawkins
, Dr. Hawkins <doch...@gmail.com> wrote: > Sometime after processing the open scripts for my main stack, but before > processing messages sent from there with "send0", there is an error thrown > by revUpdateGeometry. As near as I can tell, its has to do with the &g

revUpdateGeometry throwing error

2016-06-25 Thread Dr. Hawkins
Sometime after processing the open scripts for my main stack, but before processing messages sent from there with "send0", there is an error thrown by revUpdateGeometry. As near as I can tell, its has to do with the message box. If I put answer "!!!";breakppoint at the beginning of the

Re:

2016-06-19 Thread Dr. Hawkins
That's longways from when I had to replace checkbox buttons with field scored for X because they insisted on printing at 72dpi with grainy scaling . . . On Sun, Jun 19, 2016 at 6:44 AM, James Hale wrote: > My app had some 20 or so buttons, each with a carefully drawn

Re: "Error description: set: license limit exceeded"

2016-06-15 Thread Dr. Hawkins
On Wed, Jun 15, 2016 at 11:35 AM, Dar Scott wrote: > I would very much like to be Indy disqualified. > > Me too . . . a couple of years of that, and I'd retire. For that matter, that revenue would let me sell for enough to retire. Even given that my retirement needs have gone

"Error description: set: license limit exceeded"

2016-06-15 Thread Dr. Hawkins
I am getting this error message. This should not be happening on an indy license with more than a year left. For that matter, I have no idea what it means: Error description: set: license limit exceeded -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

neither error nor change on internal mySQL query

2016-06-14 Thread Dr. Hawkins
It seems to me that I should either get an entry or an error out of this: Where dcmd is *BEGIN ;* *CREATE TABLE dhdbt_testy_zeke___001 (unqKy SERIAL PRIMARY KEY, ktyp CHAR(1), kywd VARCHAR(50) UNIQUE, usr VARCHAR(20), tstmp TIMESTAMP WITH TIME ZONE, scr TEXT, dltd BOOLEAN, cmd TEXT );*

Re: [OT-ish] WWDC things of interest

2016-06-14 Thread Dr. Hawkins
On Mon, Jun 13, 2016 at 4:07 PM, Mark Wieder wrote: > > Also, they're opening up the Siri and messaging apis to developers. > This is what I've been waiting for--I want to be able to tell Siri to record billing information while out and about. -- Dr. Richard E.

Re: "LiveCode Infinity": lexically-scoped variables and bytecode blocks

2016-06-07 Thread Dr. Hawkins
On Tue, Jun 7, 2016 at 11:27 AM, Mike Kerner wrote: > I respectfully disagree. > It all depends upon what you are doing. I, by necessity, have layers of nested loops. Not being able to exit an outer loop (or, for that matter, to identify the companion beginning of a

Re: "LiveCode Infinity": lexically-scoped variables and bytecode blocks

2016-06-07 Thread Dr. Hawkins
On Tue, Jun 7, 2016 at 8:51 AM, Peter TB Brett wrote: > Lexically-scoped variables are completely incompatible with the current > execution model of LiveCode Script. If you changed it, it would be from > many perspectives a different language. > So are things such as

Re: "LiveCode Infinity": lexically-scoped variables and bytecode blocks

2016-06-07 Thread Dr. Hawkins
On Tue, Jun 7, 2016 at 4:05 AM, Peter TB Brett wrote: > Variables in LCB are going to become lexically scoped ( > https://github.com/livecode/livecode/pull/4113). This means that > variables declared inside an "if" or "repeat" block won't be accessible > after the end

Re: Storing and retrieving data from a SQL database

2016-05-21 Thread Dr. Hawkins
On Fri, May 20, 2016 at 12:24 PM, Mike Kerner wrote: > That's what I do when I have an indeterminate number of keys, or if I am > writing generic code that handles data from dissimilar tables in a similar > way. > The more I think of it, it would become a nightmare to

Re: Storing and retrieving data from a SQL database

2016-05-20 Thread Dr. Hawkins
On Wed, May 18, 2016 at 7:17 PM, Mike Kerner wrote: > Why not just use parameterized queries? Is this practical when using a compound query (in a BEGIN/END with dozens to hundreds of commands)? It would seem that I would have to make an "interesting" loop to create

Re: Arrays vs databases

2016-05-20 Thread Dr. Hawkins
On Fri, May 20, 2016 at 10:35 AM, Mark Talluto wrote: > Using arrays to make your own key/value type database is very doable. The > performance is probably indistinguishable with other databases for many > types of apps. You can store data to disk easily with

Re: [OT] Politics

2016-05-15 Thread Dr. Hawkins
On Sat, May 14, 2016 at 11:59 AM, RM wrote: > I'd just like to state that I'm sorry I made a political statement > a few messages back (pace Donald Trump). > On a lighter note . . . are you aware that Trump wants to ban the sale of shredded cheese? Yes, he's going

Re: Positive Infinity forever

2016-05-13 Thread Dr. Hawkins
On Fri, May 13, 2016 at 10:18 AM, [-hh] wrote: The following is correct math. > Always a *dangerous thing to say.* > > Let N be a finite positive number, may be real. > > • Infinity > N > • Infinity = Infinity + N > • Infinity = Infinity - N > • Infinity = N * Infinity > >

inconsistencies in treatment of empty properties

2016-05-11 Thread Dr. Hawkins
It's taken a while to figure out what was bugging me on this. As near as I can tell, there is an inconsistency in how unset custom properties get treated. I don't have this nailed down yet, but I have had expressions like "if the ckAlwNul of the target then" cause handlers to bomb out without

can enter a field, but text beeps

2016-05-10 Thread Dr. Hawkins
I have a field that I can click into, but typing causes a beep instead of text. I even added the handler *on* keyUp ky ck ky & cr & the long name of the target *pass* keyUp *end* keyUp which confirms that the key is indeed triggering in the correct field. I put a red dot on the pass,

Re: 8.0--huh???

2016-05-06 Thread Dr. Hawkins
On Fri, May 6, 2016 at 3:04 PM, J. Landman Gay wrote: > > > The application browser is still available but has moved to the > Development / Plugins menu. > > Ahh. Found it I used to open it by name in my startup script. There seems to be an utterly random compilation

Re: 8.0--huh???

2016-05-06 Thread Dr. Hawkins
On Fri, May 6, 2016 at 12:14 PM, wrote: > > I am with you about the height of the inspector. Sometimes, when looking > at the contents of menu-style buttons, say, it is nice to see many lines > without scrolling. > > They also won't scroll from the trackpad, *Bug 17586

Re: 8.0--huh???

2016-05-06 Thread Dr. Hawkins
On Fri, May 6, 2016 at 10:55 AM, Scott Rossi wrote: > In v8, the default background of new stacks appears to be light grey. So > you can either set the backColor of your stack to (am guessing) white, or > you can try setting the theme of your stack to "legacy", which has

Re: 8.0--huh???

2016-05-06 Thread Dr. Hawkins
Oh, and is it a bug that I can't stretch the height of an inspector window, or are we meant to be limited in this way? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

8.0--huh???

2016-05-06 Thread Dr. Hawkins
I just opened my project in 8.0. I'll give it that it caught a syntax error in a switch that had been there for ages. It's changed the background color of my stacks--or is this a new default. It also seems to handle margins differently (and I'll grant that the behavior / consistency of such in

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 5:40 PM, Alex Tweedly wrote: > Do you simply want to *see with certainty", or do you want to use these > tags (e.g. for exiting a control structure) ? > > Both, actually. Exiting an outer loop from within an inner takes contortions, but figuring out

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 2:19 PM, Bob Sneidar wrote: > The best place to get C style scoping is to use a C style development > environment. Really. The last thing I want is to make Livecode MORE like > all the dev environments I simply do not have enough life left to

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 8:21 AM, Richard Gaskin wrote: > If you find yourself needing to clear variables of a particular scope, > maybe that's reason to consider a narrower scope. > C-style variable scope is near the top of met live code wishlist . . . -- Dr.

Re: inheriting a custom property from a supergroup ("effective" custom property)

2016-04-28 Thread Dr. Hawkins
On Wed, Apr 27, 2016 at 5:00 PM, Monte Goulding wrote: > Actually if not being set has value then I don't think you want effective > either. I think you need a property on any parent that should be ignored > when recursing through the hierarchy. > Ack. You're right;that's

inheriting a custom property from a supergroup ("effective" custom property)

2016-04-27 Thread Dr. Hawkins
I have an id number, call it unDna, for entries in my database. When elements are displayed or manipulated, either the card or the group I've placed has unDna set as a custom property. The handlers for close field check for a unDna of the field or the owner of a field. This backfires, though,

Re: OT: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-26 Thread Dr. Hawkins
On Tue, Apr 26, 2016 at 12:04 AM, Tiemo Hollmann TB wrote: > I have some 3.5" diskettes from my Mac from the beginning 90th with some > HyperCard stacks which I just regained again. > I successfully transferred some a couple of years ago by using a FreeBSD machine with a

Re: 7.1.4 RC1 on OS X gets scanned every opening

2016-04-19 Thread Dr. Hawkins
On Tue, Apr 19, 2016 at 1:12 PM, J. Landman Gay wrote: > It's a known bug, already reported. The fix is here: > < > http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-0-0-RC-1-tp4703364p4703441.html > > > Wow; that seems a pretty insecure solution . . . just

7.1.4 RC1 on OS X gets scanned every opening

2016-04-19 Thread Dr. Hawkins
As many times as I open 7.1.4 RC1, it always gets scanned again like a new program. Are other people seeing this, or is something funny happening? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list

Re: Common Background Group Across Multiple Stacks

2016-04-18 Thread Dr. Hawkins
On Sun, Apr 17, 2016 at 1:25 PM, Sannyasin Brahmanathaswami < bra...@hindu.org> wrote: > On preopenStack ># assume the main stack the trigger this is still open ># but on Mobile the new stack will take over the screen ># where > so that the group can be updated: if there is a group

Re: Common Background Group Across Multiple Stacks

2016-04-17 Thread Dr. Hawkins
On Sun, Apr 17, 2016 at 6:06 AM, AndyP wrote: > You could just copy the group from a card in the main stack and paste it > into > the cards of the module stacks at open stack if the group does not already > exist. > > If you do this, though, you need an automated way

Re: Error: Unable to open the database file

2016-04-08 Thread Dr. Hawkins
On Thu, Apr 7, 2016 at 5:04 PM, Mark Wieder wrote: > Kids... don't try this at home... Err, yes. One of the reasons I made no effort to insure that it was correct! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: Error: Unable to open the database file

2016-04-07 Thread Dr. Hawkins
On Wed, Apr 6, 2016 at 1:03 PM, Peter Haworth wrote: > Now you've got me worried! I had the impression that since the php scripts > run on my server and access the mySQL database on the same server, there > wouldn't be any sql injection issues, particularly since I never send

Re: Error: Unable to open the database file

2016-04-06 Thread Dr. Hawkins
On Wed, Apr 6, 2016 at 10:38 AM, Ray wrote: > So Richard, what did you end up going with when neither sqLite nor mySQL > worked out for you? postgreSQL It's more mature in some ways than mySQL, but more importantly, I can give compound transaction (there's a 500+ statement

Re: Error: Unable to open the database file

2016-04-06 Thread Dr. Hawkins
On Wed, Apr 6, 2016 at 9:42 AM, Peter Haworth wrote: > > mySQL does have transactions, as do all SQL implementations. They're part > of the SQL spec. postGresql may well have advantages over mySQL but that > isn't one of them. > Now I'm trying to remember: is it that livecdoe

Re: Error: Unable to open the database file

2016-04-06 Thread Dr. Hawkins
On Wed, Apr 6, 2016 at 8:32 AM, Ray wrote: > Richard - thanks for this advice. It's really quite helpful. We've > abandoned the sqLite idea but I think mySQL should work fine. The purpose > of this database is to maintain an index of bug reports. The bug reports > themselves

Re: Error: Unable to open the database file

2016-04-06 Thread Dr. Hawkins
On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: > I thought of downloading it, updating it, and then putting it back on the > server but that wouldn't work if two users simultaneously did so. Since > I'll have many users using the database simultaneously everything has to be > done

Re: Female form of 'guru'?

2016-04-03 Thread Dr. Hawkins
On Sun, Apr 3, 2016 at 1:52 PM, -hh wrote: > > Is there also a designation for a "female guru" in use here? > 'Lady guru'? I've never thought that "guru" implied gender. But then, "guress" could be cool . . . gurista? gurque? Jacu? -- Dr. Richard E. Hawkins, Esq.

Re: PDF text extraction?

2016-04-02 Thread Dr. Hawkins
On Sat, Apr 2, 2016 at 8:55 AM, RM wrote: > I know that Supercard has been around for donkey's ages (recall playing > with it [and finding it > rather awkward compared with Hypercard 2.4.1] about 20 years ago), > I switched my projects from Hypercard 1 to Supercard

Re: PDF text extraction?

2016-04-01 Thread Dr. Hawkins
On Fri, Apr 1, 2016 at 10:55 AM, Richard Gaskin wrote: > -hh wrote: > > My first choice for that is 'ghostscript'. >> > > Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. > > From the command line, there are also pdf2txt and pdftotxt (these are

Re: negating in a regexp

2016-03-30 Thread Dr. Hawkins
On Wed, Mar 30, 2016 at 1:35 PM, Roger Eller wrote: > "[^0-9]" instead of "[^0-9\ ]" is what works for me. When we get down it, I want spaces, too. Then again, I guess the result is identical whether or not the space is included; there is no need to change a space

Re: negating in a regexp

2016-03-30 Thread Dr. Hawkins
On Wed, Mar 30, 2016 at 12:30 PM, Peter Haworth wrote: > ^ outside [] means start of line. [insert head-banging here . . .] Argh. Thank you. That's exactly what I need. "[^0-9\ ]" is exactly what I'm trying to do. Thank you all so much. -- Dr. Richard E. Hawkins, Esq.

negating in a regexp

2016-03-30 Thread Dr. Hawkins
I'm trying to filter a string to change everything but digits to spaces. It would seem that replaceText("ab26 g9", "^\d",space) should produce " 26 9", but for the live of me, I can't get ^ to work in any context. I've even tried playing with the regex builder plugin, with no success. Am

Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread Dr. Hawkins
On Wed, Mar 30, 2016 at 10:52 AM, Phil Davis wrote: > > It sounds like you want the pasted text to leave behind any source > document-based properties and use those of the field you're pasting into. > Right? > Not quite. I want to keep font, italic, bold,size, and the like,

line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread Dr. Hawkins
I am having a problem when pasting text from pdf and .doc into fields. There are some properties that I can't find documented in livecode that survive the paste. Particularly, I'm seeing line number attributes and line spacing separate from textHeight survive. >From pdf, I seem to be able to

Re: [OT] KickStarter - OLO 3d Printer

2016-03-28 Thread Dr. Hawkins
Gee, will someone now have one base on that kid that printed his own braces? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: (way OT, WAS: )Re: Delete the first entry of an array.

2016-03-27 Thread Dr. Hawkins
On Sun, Mar 27, 2016 at 4:36 PM, Alex Tweedly wrote: > Hmmm ... not real Fortran. (that should be said in a deep, impressive > voice) > Real Fortran died when Fortran 77 took over :-( > I've been out-crankied! > > And, AFAIK, only those modern variants from (I think)

Re: Delete the first entry of an array.

2016-03-27 Thread Dr. Hawkins
On Sat, Mar 26, 2016 at 4:40 PM, Alex Tweedly wrote: > e, and hence be able to do completely dense arrays, just like Fortran etc. > (he said, making about 50 wild assumptions about a language he can't find a > spec for :-) Just to throw gas on the flames (petrol for you

losing groups while editing them when stack saves?

2016-03-24 Thread Dr. Hawkins
Do to losing large amounts of work at times, I have routines set up that auto-save stacks. I think, though, that I've noticed an issue--from time to time, I've lost groups from cards. Can it be that, as the group doesn't exist to the engine while editing, that if the underlying stack is saved,

Re: Thanks to Dr. Richard E. Hawkins, Esq.

2016-03-10 Thread Dr. Hawkins
On Thu, Mar 10, 2016 at 9:22 AM, Mark Mitchell <cowh...@mac.com> wrote: > OMG! I’ve done this for 20 years and this never ever occurred to me! What > an elegant solution! I’ve always been able to work around it in other > ways, but nice one Dr. Hawkins! > Thanks. It to

Re: Target controls on a card that are *not* part of a placed groups

2016-03-06 Thread Dr. Hawkins
On Sat, Mar 5, 2016 at 10:57 PM, Charles Warwick < char...@techstrategies.com.au> wrote: > You can get a list of the shared groups that are being used on a card by > using "get the sharedGroupNames of card xxx". > Is it reliable? The undocumented function for unplaced groups produces both false

Re: Release 6.7.10 RC 1 / 7.1.3 RC 1

2016-03-03 Thread Dr. Hawkins
On Thu, Mar 3, 2016 at 9:33 AM, Mark Wieder wrote: > Yes and no. The application can't be dragged onto the Applications folder > icon in the DMG folder, like most other installers I was able to to that with no problem at all, and it successfully launched, activated its

Re: Possible enhancement

2016-02-28 Thread Dr. Hawkins
On Sat, Feb 27, 2016 at 1:21 PM, Mark Wieder wrote: > What I'd rather see, and I think Robert Calliau has suggested this before, > is the ability to have named loops. Then you could exit from a loop by > specifying its name. > Yes; this is how modern Fortran does it.

Re: updating progress to user during long handler

2016-02-26 Thread Dr. Hawkins
On Thu, Feb 25, 2016 at 7:28 PM, Kay C Lan wrote: > Now test some 'descending' wait after the text has been placed in the > field: > > wait 1 sec > wait 1 tick > wait 1 millisec > What about "wait 0 with messages"? Isn't the "with messages" necessary if you want

Re: Assigning behaviors

2016-02-17 Thread Dr. Hawkins
On Wed, Feb 17, 2016 at 10:30 AM, William Prothero wrote: > Sounds interesting. If you’re willing to share, I’d love to take a peek at > it. It's very specific to how my program functions; the code wouldn't translate directly. But something to the effect of repeat

Re: Assigning behaviors

2016-02-17 Thread Dr. Hawkins
On Wed, Feb 17, 2016 at 6:54 AM, William Prothero wrote: > Anybody got a smoother method than typing in the command to set a behavior > into the message box? I have a script that automatically runs on a version increments change that cycles through the stacks & cards,

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