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 indy to 
business . . .


— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 . . .

— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 computer lab . . .

It used random numbers to see how many landed in the circle, allowing it to 
compute pi as 3.2 . . .

[ulp]

— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 5.something to 
begin execution.  It ran at least preOpenStack before attempting to start the X 
GUI
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


making transparent pdf output

2021-05-07 Thread Dr. Hawkins via use-livecode

I’m finally getting back to work on this project.  

The first thing I need to do is figure out how to make livecode pdf output 
transparent.

A page of one will be mostly fields with transparent backgrounds.  But when I 
pint to pdf, the background of the card, supposedly transparent, renders as 
grey when merged on top of another pdf (much as a card with no background 
color).

Is there a way to make livecode produce a pdf with a transparent background?

Or failing that, a way to edit its pdf output to make its background 
transparent?

I’m *trying* to find a forum for working with raw pdf, but the noise is so 
heavy from all the pdf software that I can’t find anything..   I’m stuck 
working from the adobe reference document at the moment, which is kind of like 
trying multivariate calculus without understanding algebra . . .

— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 hoping I can build some
> indexes for the boatload of files I want to go through.  (THough, I guess I
> could bipass LC and just grep my heart out)
>
> Any suggestions?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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,
probably both in different heights.

It appears that upon copy, I have a font with serifs, and the size changes.

The sharedText of the field is set to true.

I vaguely recall that the reis a field property that isn't in the inspector
that needs to be set, but I'm baffled at the moment :(



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, the other three getVal() still get called--and slowly, after a
delay of seconds for each.

I'm in (supposedly) the latest 9.0.

Are others seeing this, or is it out to get me again? :)
hawk
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 seeing fields change from a set textHeight of 12 to default/italic
displayed 11 on the new cards.

Could someone kindly remind me how to deal with this?

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 LiveCode) defaults.
>
> Oh, it's set alright.

When the project opens,  routines run, bumping versions for a new day.

And when that happens, it goes through every field and sets the textHeight
to the custom txtHgt.

textHeight is set for the source, but when it's group copies over, this
property is lost.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Bug 20255 - Simple Loop Labeling

2017-08-09 Thread Dr. Hawkins via use-livecode
Eureka!

I don't know why I didn't think of this earlier, but . . .

A simple way to get *some* level of control structure labeling . . .


So when finding the structure typed in the id of

 switch -- myLoop

instead of simply adding an end switch, the comment could be copied

 end switch -- myLoop


Better yet, perhaps, would be to insert "end " before the first word
of the comment.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug 20255 - Simple Loop Labeling

2017-08-10 Thread Dr. Hawkins via use-livecode
On Thu, Aug 10, 2017 at 1:02 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> I personally like this idea, and I find it pretty useful. And this does not
> sound too difficult to implement.
>

That was the flash of insight that triggered me:  something was *already*
happening that could bee piggy-backed.

>
> But I am not sure if everyone will like it, so if we do it, we should
> probably add a pref to turn it on/off.
>

That makes sense--but in my narrow proposal, it would only happen if
someone added the comment.

In fact, what I would *like* is modern Fortran style labelling or something
like that, and the ability to the those labels to controls like next and
exit.  This, however, would accomplish so much with so little.

In fact, I think I like Mark's labeling even better, if the preference
could be set to always include that moment on the terminating statement.

And Monte's mouseover tooltip, and the ability to jump to the matching end,
would be great . . .

While such things are being discussed, everyone realizes that indenting is
horribly broken in 8.x, don't they?
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: common code patterns

2017-08-10 Thread Dr. Hawkins via use-livecode
On Thu, Aug 10, 2017 at 11:12 AM, Jerry Jensen via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Switch constructs without breaks are almost like having a 21st century
> “goto”. You can really make a mess if you try.


While doing the code for my dissertation,  I actually found that I was
duplicating a good-sized block of code that could be resolved with a GOTO.

I forget the details, but I effectively had multiple entry and exit points
in a recursive problem, and using a GOTO did  something like passing the
alternate entry setup and going straight to the shared  code--but I
couldn't simply do an IF/ELSEIF block due to the entry.

Then again, that was the first GOTO I'd used since MBASIC 5 eliminated the
need to stash setup codes in high line numbers and then return for
performance reasons--so the first time in 20 years or so.

And it was still the (very) late 20th century.

Anyway, I'll remind those who worry about such things that the failure to
provide ENDIF to IF in livecode is inconsistent with the other control
structures.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 how the thing works, just that it
> does what they need to - does it well and does it safely.
>

This.

Word processor, spreadsheet, browser, email, and a few games probably
covers 99% of users.

On a phone, many want their facetwit applications, too.

My interest in a smart phone ends at navigation, camera, and caller ID.
Oh, and enough voice control to place calls.

I'd be tempted to switch to an android (I actually had the original
gphone), but the privacy, hacks, and whathaveyou stop me.

Security and privacy *are* what I'm buying when I pay extra for an iOS
device.



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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" as a word?)

And to be clear, I am *NOT* suggesting in any way that Livecode get a GOTO;
I was suggesting that there are *very* rare cases where they are useful.
 (I can probably count the number I have *ever* used on my fingers,
possibly of one hand [unless you count the ones driven by performance and
how memory was accessed in interpreters, but that still gave you two per
program {jump to high/slow area for onetime setup, then to mid-memory main
loop above time critical subroutines, and possibly a third from the end of
the main loop to the beginning if the language couldn't loop forever}]).

(and as dust drifts about the cobwebs of my memory, I think that on what I
think of as "my goto" was used instead of putting the common section into
another routine to avoid the computational cost of that context switch;
this was in the recursive core routine that was called zillions of times in
the program which ran for a couple of days [initially more than that].   If
you need that kind of optimization/performance, livecode will be fairly low
on your list of choices . . .)

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 at the time).
>

I won't leave the driveway without a seat belt, but if you drive below the
posted speed around here, you better check your medical insurance first . .
.

With our new law, our Highway Patrol is actually citing people now for
driving below the posted speed in the left lane . . .

>
> This is not quite the same as keeping goats and hens in the back of your
> car (which was not illegal last time I looked).
>
> While keeping goats and hens in the car may prove extremely smelly it


Both would be quite heavy objects to be flying around in a collision . .
 --
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 professor
announce, "therefore, A is obviously equal to B"

A student timidly raised her hand, and said, "That's not obvious,
professor."

He scrawled three more boards, and triumphantly announced, "See, I told you
it was obvious!"

:)

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 direct command
  DELETE FROM theMessageDatasbase WHERE USER='thatScumbag';

should do the trick.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 request, and can vary from 2 to 6...
>

put "answer " & quote & "Your  Choice" "e & " with" into myCmd
repeat for each word who in theLIst

put who & " or " after myCmd

end repeat

delete char -4 to -1 of yCmd
do myCmd


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 thunderstorms in las vegas, so it
was too dark to see the eclipse :)

By the time the sun threatened to come through, there wasn't enough left to
be fascinating.

In an unrelated oddity, this siamese cat that adopted us took his
fascination with running water further, and watched out our screen door
until the thunderstorm was over . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 and graphics, but gets
its unDna set to the corresponding uniqDna.  It also contains fields for
output.

When an output field is modified, the handler calls the seal routine,
passing the field name, new value, and the unDna.

I had made, for performance reasons, the strong assumption that the output
fields would always be a top level member of the output group.  I also
designed output groups which, for organizational reasons, group the output
fields . . . oops . . .

The closeField handler follows the rule, and assumes that the unDna of the
owner of the target is the uniqDna value it needs.  This backfires when not
true :(

One obvious solution would be to simply ungroup the offending groups--but
there are good reasons to want it have subgroups (such as sharing subgroups
for maintenance of similar outputs with shared elements).

At the moment, the three possibilities I see are,
1) recurse upwards until a group with a unDna is found (well, close; there
are universal fields with no unDna)
2) check the owner of the owner of the target
3) redundantly set the uDna of every output field at group creation/copying
time.

I need this to be blindingly fast, too (although I doubt that this is a
problem in 2017).

Am I missing an obvious way to do this?
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
>
> It would need to be a group-level function, which isn't a problem.  I'm
always hesitant, though, to rely on "me"  [and finding "me" in the
dictionary is an adventure in itself . . .  {now *Bug 20289*
 - "me" is nearly
impossible to find in dictionary }]

if I have the structure

  rawRow
someGroup
anotherGroup
   myControl

and define in rawRow (actually, in it's behavior)

on getProp uDna

return the uDna of me

end getProp



will this do what I mean?

Seems nice, clean, elegant and fast . . . and doesn't involve a bunch of
redundant setting . . .
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


"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 SQLite-able) text? ("UTF" itself yields
no dictionary hits . . .)

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 drastic to simply allow an error handler to be
specified?

send "foo" to field "bar" in 7 seconds handle with button "oops" of
this stack

?

With a rule naming the handler to be used in a script?  (perhaps, "on
errorHandler (target, error)"


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 asking what to do with the old
stack (and sometimes a flurry  alternating between the old and new stack as
I save each).

There is also a custom dialog that automatically loads and asks for the
database table to open (with client names, not raw table names).

The second of these to launch blocks the first.  The result is that I have
to hit "cancel" on my own dialog, but execution remains stopped until I
deal with the system message.  In turn, that means that the dialogData
becomes "save" rather than the "cancel" associated with my own dialog.

It never occurred to me that the system portion would be using this
property.  (To add insult to injury, I changed from setting a custom
property in my dialog to using dialogData).

I suppose that since the IDE tries to be written in live code as much as
possible this may not be a bu, but it is certainly unexpected . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 regular blood donors.

:)

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 find a quick & clean way around SQLite's lack of
"DISTINCT ON"--I need to keep those numbered keys attached to work
with, and DISTINCT alone won't due that.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 = mytable2animalname
>

You just shot *way* over my SQL :)

does that last line search for any mytable.animalname that occurs in
mytable2.animalname?

(and if it's that easy, why in the world isn't DISTINCT ON part of SQLite???

thanks




-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 (almost) always nice (says the guy mulling over a PARALLEL
REPEAT syntax . . .)


>If more than one part of the variable delimited by the primaryDelimiter has 
>the same first portion delimited by the
>secondaryDelimiter, only the element corresponding to the first part is 
>created.

ARGH.  I need stronger glasses.  I even went to the Dictionary and
looked, and couldn't see that phrase . . .


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 = mytable2animalname


You're a bit over my head, but . . .

wouldn't that left join bring *all* the entries for table2 and their
numbers in, so that I would still get repeated animals?

Should there be a . in the middle of the last word?

In test,

Select debtor_table uniqDna, debtor_table cname from  (select
distinct cname FROM debtor_table as mytable2) left join debtor_table
ON debtor_table.cname = mytable2.cname ;

and I get,

   revdberr,Database Error: no such column: mytable2.cname


(in fact, I need cname||cadr, not just name, as some creditors end up
with multiple addresses)


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 leaving the IDE open overnight wasn't a
> good idea.

Overnight doesn't seem to make a difference for me.  This seems to
happen suddenly during the day while working.

I don't use it after overnight; though; I quit to force it to bump the
version of my source stacks.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 alerts, but there's the occasional dialog box.

Haven't looked to see which process has gone nuts; it's just that
sometimes things go non responsive and/or
the message box cannot be brought up.  I think the rest of the menu is
active but does nothing when this happens,
but it hasn't bitten me enough to make sure.




-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 function?

All I'm coming up with so far is a script that looks for a single
digit number and renames to put a 0 in front of it . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 ignore messages forevermore.

About 5 times today, I think . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, the one I just
pulled didn't look a lot like what I was reading earlier.

Yes, that did it.  I had the item del, but had used "ascending" in the
second line (probably from a prior misread of the dictionary years ago
:)  )

thanks

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 set up
have no interest in dealing with us until we have sufficient volume to
interest them.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 and login to my account.  Or maybe that I could  login, but that
my name didn't show (as I'd never given it more than initials).

Somehow, we connected one of them to my wife, and I guess that let me
see a name and send a message, or maybe they sent her some kind of
invitation.

And then they were exasperated that I hadn't filled out a "profile" or
some such.

I logged in for a while, wondering if anything interesting would
happen.  I found that adblock could make a couple of particularly
annoying columns it through at me go away, but really did not get
interested in the blather.

And then, once you don't log in often enough, it sends you messages
offering to help . . .

I go back to 1984 on usenet, but just don't understand this whole
facetwit and tell the world what I had for breakfast thing . . .

On Mon, Dec 11, 2017 at 4:16 PM, Mark Wieder via use-livecode
 wrote:
> On 12/11/2017 03:29 PM, J. Landman Gay via use-livecode wrote:
>> I don't know, I'm one of the six people on earth who doesn't have or want
>> a Facebook account. But Ghostery blocks any unwanted junk that comes in via
>> a web page, and since you're viewing Facebook inside a web page then it's
>> worth a try. Can't hurt.
>
> I'm one of the other six. Never been tempted by it.
> I used to have Ghostery installed, and probably it's still on my Firefox
> browser. But I switched over to Chrome a while back and I guess I never
> bothered to install it. My experience has been that all those tools do a
> pretty good job of filtering, and none of them is perfect.
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 FreeBSD in a couple of days.

It's Spotlight and the power management on portables that has me using
mac as my unix platform. OK, and iCloud Drive now.

Mess with those (and spotlight has seriously regressed over the last
ten years) and I'm gone.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 throwing it out to check on collective experience and thoughts; I
certainly don't have enough for a bug report yet.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 yet!

If I need to be in another region, I'll  go the old fashioned way, not
jut try to set my properties . . ..


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 submit multiple mySQL commands
at once from LiveCode, whether you immediately execute them or not.
If the server is not local, you may find 2000 consecutive latencies to
be brutally long (as in minutes, not seconds)

You can, however, with postgreSQL and SQLite.  In fact, it's a couple
of insertions  done as a singe transaction with SQLite every time I
open a client, and a similar one to the posts server when I create a
new one.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 transaction?

Not when I was trying a couple of years ago.

I tried both with and without including the BEGIN/END, which gets
added by LiveCode under some circumstances, and there's a thread in
the archives from it (err, do we keep those?  google my email,
livecode, and mySQL to get a start on one of the parasitic sites).

Apparently, the issue is (was?) livecode, and not mySQL.

As the only reason I had to use mySQL was that my web host provided
it, I switched to postgresql

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 running.

For my transient stacks, it's

send ("delete stack " & the short name of this stack) to stack "mcp" in 0



(where "mcp" is the main stack with routines, etc.)
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 each word prp in prop

delete variable props[prp]

end repeat

set the customProperties of tgt to props

end rmProp



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 scalefactor.
>
> I took a stab at it a few years ago, and failed.

I found no coherent relationship between the location on my iMac screen and
what livecode reported once I changed  the scaleFactor of the stack.  With
each 10% increase, the stack seems to move (usually) right, and also up or
down, possibly causing the menubar to be above the screen.

I also see an intermittent issue that livecode things the mouse pointer is
about an inch higher on the screen than it is, but the horizontal seems
correct.  This also seems be be limited to browse rather than select mode.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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/).


How about something similar to the unix convention of  indicating the shell
to use in the first line of a text executable (e.g., #!/bin/tcsh ) as a
comment?

so the first line starting with, perhaps, "--#" would indicate that  what
follows is an expression which evaluates to a button or other stack that is
to be the behavior of the stack?

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 operating systems \end{snark}, you can launch
commands into the background by suffixing  with  &

You may (or may not; it was years ago) need to enclose the command  in
parenthesis, which makes the whole parenthetical a block.  You might also
need to redirect output.

 so

shell ( "(domycommand > myoutput &)"  )

or something like that, and come back later to check myoutput



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 the joy of going weeks of carting the water from the
kitchen sink down the hall, as it drains into a five gallon bucket, because
the sewer line is 100% blocked a couple of feet under the concrete slab
under the the living room.

Not even the thrill of the redneck connection of a garden hose to the
washing machine to run down the driveway, or even the 2'x22' trench three
feet deep across the room that you get to step over for a couple of days
 as the work is done and you wait for inspectors.

On the bright side, we replaced with ABS rather than cast iron, so it
should last a touch longer, and even the same 50 years means i wont be here
when it happens . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 to be dug up.
>

We had thought, from the video, that the bottom half of the iron pipe had
disintegrated (and so did that plumber).

It turned out that, no, that was the beginning of a blockage that grew to
100%.

Petrified fat.

Given what we know from going through the shower floor (last tenant poured
concrete down the drain in spite), the pipes likely weren't at the proper
angle to drain (a retired pipe-fitter friend could tell the shower wasn't
angled right at a glance!).

(Our house was built during the mob's heyday in Las Vegas, late 60s).




-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.

:)

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 variables?), back quote (`)
causes contents to execute.  You seem to be using ', which is a literal.

Oh, I see.

You have *SPACES* in file names.

This *ALWAYS* leads to suffering.

Quoting a filename does not make it ok; it's still multiple words. If you
want to keep such evil names, you'll have to escape those spaces with \
 (backslash).

A better idea is to get all the spaces out of filenames.  I only allow
letters, dot, and underscore.

You also have hyphens, which have meaning on some operating systems.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 file..
>

You can change them.   once you have the name in filNam,

put filNam into newFilNam

replace space with "\ " in filNam

replace space with "_" in newFilNam

get shell ("mv filNam newFilNam")


or, just use newFilNam--but spaces in filenames are always going to hurt
and cause problem, not mater the source.

>
>
> Dr Hawkins:  when you say "escape spaces" do you mean something like
>
> \%20
>
ack, no!  that's html!


>
> or
>
> \[actual space char]
>

yes, this--it's not a regex, but the shell recognizes this an a couple of
others, some with different meanings than in a regex


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 be correct.

But that just proves the point; spaces in filenames are evil :)

I learned unix on a cluster PDP-11 over three decades ago, and I'm still
off on this.

There are other things, however, notably environmental variables, that do
not get escaped in the weak quoting of double quotes.



> and it works inside a LC shell function.
>
> Just to save time, here are some sources for verification:
>
> https://www.tech-otaku.com/mac/file-folder-paths-os-x-terminal/
>
> http://wiki.bash-hackers.org/syntax/quoting (see "Weak quoting" and
> "Strong quoting"


careful;  OSX defaults to tcsh, not bash.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, but it didn't have fun rollback at the
time, either.

Overall, postgres is the more mature/stable of the two, but it doesn't come
"canned" on very many ISPs.
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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?

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 this character from the pdf)
and used the insert special character to find the one that looked right.

I pasted this in one, and it does seem to be windings, size 12.

I then found an error in my maintenance routines:  it checked for the text
font of the last char being "Windings", rather than "Wingdings" in a
case-sensitive section.

So then I set a script to loop through every field n the stack, and when it
found offset("",the text of tgTg) >0, it sets the textFont to windings and
the textSize to 12.

I'm not sure I have the same character, but it sure looks right.

And something funny is definitely going on . . .

Thanks so much; thus aspect of my forms *finally* looks right after a
couple of years . ..

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 (only
partially, we hoped!)


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 language.
You can approach the speed by optimizing C, but you're putting in work for
what could come from "C=MATMUL(A,B)" (and you're not limited to
one-dimensional arrays, either).

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: save stack as filename failing most of the time

2017-01-05 Thread Dr. Hawkins via use-livecode
On Thu, Jan 5, 2017 at 9:47 AM, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Searching my entire hard drive doesn’t show
> any file named “TestSaveStack”.
>

Do you get the same result if you make a stack in a known location, perhaps
InitialTestStack, and then use the button.

What I see is the stack saving under it's original name.

Also, yesterday the first time I hit this line of code, it worked properly,
and failed every time after that.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: save stack as filename failing most of the time

2017-01-10 Thread Dr. Hawkins via use-livecode
livecode has been unable to reproduce the bug.  Could someone who was able
to make a stack to manifest this please upload?

*Comment # 1  on bug
19042  from Panos
Merakos *

Hi Richard,

Thank you for the report. I have tried to reproduce this bug with no success. I
have created a stack called "panos.livecode" with a button with the following
script:

on mouseUp
  save this stack as "/Users/panos/Desktop/panos.to_compile.livecode"
end mouseUp

Clicking the button creates a new "panos.to_compile.livecode" stack on Desktop
folder.

Can you please attach a sample stack that demonstrates the problem for you?

Best regards,
Panos
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: side effect on mac with LC

2017-01-17 Thread Dr. Hawkins via use-livecode
On Tue, Jan 17, 2017 at 12:42 PM, Yves COPPE via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is it possible with LC to have a sliding on side effect when moving
> horizontally the finger on the mouse as to let appear a « red btn »
> underneath another on front with label for example « Remove » ?


If you mean what I think you mean, you can use "on mouseMove":

on mouseup

if the thumbpos of me <> the savedThumPos of this stack then

--it changed

doSomething

end if

set the  savedThumPos of me to the thumbPos of me

end mouseup

(you might need to set the new value before doSomething if that takes a
moment and the thumbPos could change while it happens.  I like it where it
is so that it isn't set if the script bombs.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: side effect on mac with LC

2017-01-17 Thread Dr. Hawkins via use-livecode
On Tue, Jan 17, 2017 at 2:44 PM, Yves COPPE via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sorry, but your answer is not enough clear to help me…
> can you explain more with a more developed sample
>

Not without writing one from scratch; that one is pretty much out of my own
code line for line.

You need to save where the position *was,* possibly as a custom property of
the slider.  When the mouse moves, see where it *is.*If that has changed,
then "doSomething"--display or move your red dot to the x-coordenate of the
mouseLoc, or whatever you want to happen.

Come to think of it, I thought there were scrollbar specific messages
(scrollbarDrag ?), but I don't see them in the dictionary, other than
scrollbarPageInc.




-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Boring but important - selling a download product for Windows

2017-01-23 Thread Dr. Hawkins via use-livecode
On Sun, Jan 22, 2017 at 12:53 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> First caveat: I do not sell my software in large quantities (anyone for
> Sanskrit?).


I have an uncle fluent in both 14th Dynasty Egyptian and Etruscan; does
that count ?

:)


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Storing and object reference in a var

2017-01-24 Thread Dr. Hawkins via use-livecode
On Tue, Jan 24, 2017 at 4:19 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> But better news: Zombies will buy anything. We'll be rich.


I think the average zombie has far less money than my average bankruptcy
client . . . they always seem to get cheated by the prior merchant.

Zombie:  uhh. [puts down $100 and a small jar of mouthwash]
Merchant:  Hey, look!  leaky brains!
Zombie: [spins slowly . .  ]
Merchant: [puts down receipt and 47 cents change]
Zombie: [ . . . turns back, picks up stuff, and leaves]



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


set the menubar activates in-window menu on mac

2017-01-24 Thread Dr. Hawkins via use-livecode
I'm battling new stacks having one of the menus largely disabled.  I'm
starting to wonder if the right menu is even being used, but stepping
through in the IDe in itself switches the menu, so . . .

Anyway to force things, I tried

set the menubar of stack st to stMen

This causes a X-style menu to appear in the stack window, not what I was
aiming for . . .

According to the dictionary, this should simply set the menu, not override.
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Delete element from array

2017-01-27 Thread Dr. Hawkins via use-livecode
On Thu, Jan 26, 2017 at 3:32 PM, Ali Lloyd via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Goes without saying perhaps but it would be extremely helpful if you could
> articulate *why* you find this information harder to come by in the current
> dictionary. Thanks!
>

The new dictionary, like the project browser, is targeted to people who
think exactly that way, and access things in that pointy-clicky way.

And even then, pulldown for categories rather than clicking.

Those of us that run the other way in accessing a UI will *never* find this
approach an adequate replacement.

I suspect the preference for the larger amount of *actual* information that
could be displayed in the older forms will run with this preference, too.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Delete element from array

2017-01-27 Thread Dr. Hawkins via use-livecode
On Fri, Jan 27, 2017 at 8:55 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What is "the other way?"
>
> I almost never click anything other than results from the search list. I
> open the Dict window, type my query, review the results.
>
> What would we do to improve this?
>

In 7, you can click on the side to narrow, but the default is "all"

In 8, it's a pull-down button, and as near as I can tell, there is nothing
resembling "all"

7 could also filter to sub levels by clicking the triangles for the
subcategories.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: "lightening" a color

2017-01-27 Thread Dr. Hawkins via use-livecode
[hopefully pulling the colors brought this down to the size limit]
Bringing up an old topic . . .

I got interrupted after asking, but here's a cute way to do it.

Hopefully, someone can help with a couple of the deficiencies of this
script:
1) backgroundPixel no longer works.  Older examples to convert a color to a
triplet used it (set the backgroundPixel to a color, then set it to its own
color producing the triplet).
2) I see no way to set the mouse position other than with screenMouseLoc
3) selectedLoc when a line win a field is selected seems to do
nothing--putting it doesn't even change the output in the message box!
4) can I scroll a field to a selection?  if so, the scrolling fields in
this might even be useful!
5) because I'm monkeying around with the mouse position, I can hardly slide
at all.
6) if I could change the color of the slider on the scrollbar, this would
work much better, but I can't see a way to do that

To try, make a new card, add a slider, and put this into it's script:

on scrollbarDrag sVal

--REH, 170124

local oMloc, oClr, nClr,clrScl, oVl, linLoc

lock screen

lock messages

if not  there is a field 1 then

create field 1

set the rect of it to 10, 40, 226, 400

exit scrollBarDrag

end if

set the vScrollBar of field 1 to true

set the left of me to the left of field 1

set the top of me to the bottom of field 1 + 18

set the textheight of field 1 to 18

if not there is a field 2 then

clone field 1

exit scrollBarDrag

end if

put empty into field 2

set the top of field 2 to the top of field 1

set the left of field 2 to the right of field 1 + 18

set the textheight of field 2 to the textHeight of field 1

set the vScrollbar of field 2 to true

set the opaque of field 1 to true

set the opaque of field 2 to true

set the pageInc of me to .05

put the screenMouseLoc into oMloc

repeat with i = 1 to the number of lines in field 1

switch

case line i of field 1 is a color

case item 3 of line i of field 1 is a number

put line i of field 1 into oClr

set the backgroundColor of line i of field 1 to oClr

break

default

set the backgroundColor of line i of field 1 to empty

next repeat

break

end switch
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


revDatabaseColumnNames fails to recognize table

2017-01-30 Thread Dr. Hawkins via use-livecode
After opening a database, I check for the names of a table

*put* revDatabaseTableNames(licMkrDb) into theRes

*filter* theRes with "dhbk_*"

ck char -1 of theRes

*put* revDatabaseColumnNames(licMkrDb,theRes) into clmNms

at this point, clmNms contains

revdberr,invalid table name

Uhm, how can this possibly be?


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revDatabaseColumnNames fails to recognize table

2017-01-30 Thread Dr. Hawkins via use-livecode
On Mon, Jan 30, 2017 at 6:41 PM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Most likely thing I can think of is that on opening the database, something
> is wrong with the path so it created a new and empty database.. somewhere..
> Just to test, I would "put theRes" and see whats actually in there.
>

theRes holds "dhbk_lcnsees", as it should.  The name was created,
found in revDatabaseTableNames,
and filtered to the sole line of theRes.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revDatabaseColumnNames fails to recognize table

2017-01-30 Thread Dr. Hawkins via use-livecode
On Mon, Jan 30, 2017 at 7:03 PM, Dr. Hawkins  wrote:

> theRes holds "dhbk_lcnsees", as it should.  The name was created, found in 
> revDatabaseTableNames,
> and filtered to the sole line of theRes.
>

I just checked with 7.1.4 rc and got the same behavior.




-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Dr. Hawkins via use-livecode
On Mon, Jan 30, 2017 at 8:07 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What's the type of db, and did you try sending a pragma to pull the table
> names to doublecheck?
>

It's postgreSQL

I'll be doing that kind of read today.  I was so mystified yesterday, and
my wife started serving dinner, so . . .

I've used cut & paste for the name of the table; I only went to
revDatabaseColumnNames() when using the name it *should *have, but get the
same results.

I do have my own tableNames() function, as the rev version sometimes fails
to list them all . . .


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Dr. Hawkins via use-livecode
On Tue, Jan 31, 2017 at 7:35 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> SELECT table_name FROM information_schema.tables WHERE
> table_schema='public' AND table_type='BASE TABLE';
>

It wasn't so much getting the names, but trying to find out what the db
thought it should be.

I think I have it figured out--it looks like I was using different admin
names.  (IN which case, though, I don't think that postgres even should
have told me the table name, but that's another issue.  Either that, or I
should have got a permission error, not an existence error . . .)

Thanks to all.  Off to more posters battles . . .

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Auto scrolling a locked field when mouse comes to edge

2017-02-01 Thread Dr. Hawkins via use-livecode
On Wed, Feb 1, 2017 at 3:33 PM, David Epstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When the mouse drags across text in an unlocked (horizontally and
> vertically) scrolling field, the field automatically scrolls at a legible
> rate to display the (previously hidden) text that the mouse was dragging
> toward.
> Has anyone scripted a way to reproduce this effect for a locked field?
>

you could play with mouseMove and MouseStillOver


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


repeated crashing on save in 8.x

2017-02-03 Thread Dr. Hawkins via use-livecode
My project is in a dozen or so stacks which I turn into substacks before
filing.

In 8.x, as I go through this dance, in addition to the bug that stops "save
as" from working (although it does seem to change the name on the next save
after, some of the time.  I've worked around it with "set the filename" and
a gratuitous save), I am now seeing crashes  when saving after adding a sub
stack.

Even looping through, and saving after each added substack, I get crashes
at different points each run.  Off the cuff, I'm estimating a crash (of
livecode itself) about 10% of the time, so getting through the whole set is
 rather rare event.

I've found that if I run the combination code in 7.1.4, it works (but
doesn't compile correctly, failing to add the database and other support
modules [it identifies them, and gives a list of failures at the end]).

So for the moment, I'm combing in 7 and compiling in 8.

Another odd observation is that when I *do* manage to combine in 8,
compilation takes something like 10 minutes when it succeeds (but it
usually crashes on the way).   If I combine in 7 and compile in 8,
compilation is quick (maybe a minute; I haven't measured), and no crash.



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
more hair-pulling time . . .

I paste a group from a source stack to an output stack in a script.

Some, but not all, of the custom properties that I set survive this pasting.

For example, my source field has properties mrgns, txtFnt, txtSiz, and
txtHgt.

Its group, supergroups, card, and stack have no such properties.

Nonetheless, all I have after paste are mrgns and txtFnt.


I've single stepped through the paste point, and the behavior remains; the
properties aren't there as soon as it is pasted, but remain in the source
group.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
On Wed, Feb 8, 2017 at 1:34 PM, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> All properties and
> values were copied.
>

They had been for me until recently.

At this point, I have it cleared, but I'm suspecting a deeper bug is behind
it.

I had set the properties for a few fields at a time, and these survived
multiple save/quit/load cycles.

And then the properties disappeared.

I reset them individually, and now they stuck.

>
> Now I was reminded the the custom property tab in the Project Browser is
> wacky - I would click the add new element "plus", select the default "1"
> for the key, rename it, click in the value box and enter a value and
> then click on the plus for a new element and the value never got set.
>

This one is, indeed, maddening.  Even used to it, it bites quite frequently.

You also need to click out of the data area to get the data to fix with
this.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


How big of a request can be sent with https?

2017-02-08 Thread Dr. Hawkins via use-livecode
I am contemplating the changes to, instead of direct postgres
communication, using an https wrapper.

How big of an inquiry can I send?  Most are small, but when opening the
file, there are something like a thousand queries as a single transaction,

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PUT method where is returned data?

2017-02-10 Thread Dr. Hawkins via use-livecode
On Fri, Feb 10, 2017 at 6:52 AM, Trevor DeVore via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It’s been so long I don’t recall the exact reasons why ‘it’
> wasn’t used but I much prefer reading ’the urlresopnse’ in my code than
> dealing with ‘it’ which is meaningless until put into another variable.
>

I have been horrified by "it" since HyperCard 1.0 was released . . .


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How big of a request can be sent with https?

2017-02-10 Thread Dr. Hawkins via use-livecode
On Fri, Feb 10, 2017 at 9:00 AM, Mark Talluto via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The size of the request is determined by your PHP settings. Most default
> settings range from 5MB to 10MB. You can set it to a much higher value if
> you really need it. But, it would be better to control the sizes of the
> requests client side for performance/robustness reasons.
>

Mine should be well below a megabyte.

It's a single request, as I need the queries to succeed/fail together, or I
could get an inconsistent state.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Dr. Hawkins via use-livecode
On Fri, Feb 10, 2017 at 8:54 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Granted LC should never crash, it whould warn the end user that the data
> exceeds limits, but if I understand what you are doing, it's unreasonable
> to expect any application to do this.
>
>
An, err, long time ago, I found that I could consistently crash both
FreeBSD and Linux by loading a file larger than virtual memory into a
binary editor . . .  (I had had to make an image of a hard disk to search
for versions of a paper when ~ got deleted.  While an older machine, the
hard drive than even VM on the other machine.  I eventually got the paper
back [maybe I split the file?]   . . . just manipulating it was no small
task.  [maybe I finally filtered the disk through strings or tr to a file
on a zip disk for transport?])


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


automating enabling of plugin settings on new versions

2017-02-10 Thread Dr. Hawkins via use-livecode
WE went through parts of this a while ago, and being naturally lazy, I came
up with

chmod -R u+w `ls -rtd
/Applications/LiveCode*/Contents/Tools/Plugins/revapplicationoverview.rev |
tail -1`


as an invocation to write enable the plugin folder and its contents for the
most recent version (OS X; linux will be similar and depend upon variant)

This changes the mode (chmod) recursively; the ls finds the version with
the latter date stamp.

However, even though the mode changes, I still can't write, and have to
manually load the application browser.

Isn't that folder the only thing we used to need to changer am I missing
something?
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ ANN ] Release 8.1.3 RC-2

2017-02-10 Thread Dr. Hawkins via use-livecode
I opened and tried to build my compilation amalgam of stacks.

It promptly crashed "unexpectedly"

This is consistent (and was the case with rc1, 8.1.1, etc.)

Back to combining with 7.1 . . .

&suig



-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: automating enabling of plugin settings on new versions

2017-02-14 Thread Dr. Hawkins via use-livecode
On Mon, Feb 13, 2017 at 7:51 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think that changing the permissions of the app bundle may cause issues
> with OSX's Gatekeeper. If you want to customize or change the settings (and
> make sure the changes do stick) of the Application Browser, I suggest you
> put a copy of it in your Plugins folder.
>

The issue is that as shipped, there is an option in the plugin settings to
save changes/choices--and it just plain doesn't work, failing silently due
to the permissions.

Rather than saving inside of the application bundle, it seems that the
"correct" way for this to happen is to be writing to ~/Library/Application\
Support

In fact, my understanding is that *not* writing there is, by apple's
definition, a bug/wrong/heresy/etc.

Copying plugins on each release opens its own can of worms.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: automating enabling of plugin settings on new versions

2017-02-14 Thread Dr. Hawkins via use-livecode
On Tue, Feb 14, 2017 at 4:12 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> I did that and it works fine. The user plugins folder is shared with all
> copies of LC you have installed. I put my own copy in there some months ago
> after submitting the bug report.
>

But as I understand, that is "incorrect" behavior--preferences should be by
user, not shared.

And I'm not sure about doing it from the finder, but in general on unix,if
you move (mv) or copy (cp) folder b to a and there si already a folder a/b,
young  up with a/b/b rather than replacing b.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to run a hidden standalone under OSX?

2017-02-15 Thread Dr. Hawkins via use-livecode
On Wed, Feb 15, 2017 at 12:09 PM, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is there any way under OSX to make launch/run/open a standalone under
> script control where it really is a background process and in no way
> appear to the user?
>

perhaps a & at the end of the shell() command to launch it as a background
process?

This is a very real need with livecode not having multiple threads.

-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


restore table exported with pg_dump from within livecode?

2017-02-16 Thread Dr. Hawkins via use-livecode
I have a table that I want each customer to get as a starting point
(abbreviations for creditors)>

I've tried exporting with pg_dump for only the table

/Library/PostgreSQL/9.5/bin/pg_dump -t stockabrevs -f abrev_bkp.sql
-Udhadmin dhbk_dbtrs


I then use this within a script,

put "BEGIN TRANSACTION;" & cr & url
"file:~/Documents/dhbk/dflt_fls/abrev_bkp.sql" & cr & "END TRANSACTION;" &
cr into dcmd

revExecuteSql dbUsrDbNo, dcmd


This, however, gives me

ERROR: syntax error at or near "scum"

LINE 232: scum \N \N S f f f f the scummiest lending company under t...

^

The relevant section of the dumped file seems to be

--

-- Data for Name: stockabrevs; Type: TABLE DATA; Schema: public; Owner:
dhadmin

--


COPY stockabrevs (abrev, usr, tstmp, chrtype, unliq, disp, cont, codbt,
cd_adr, rpinterest, cname, cadr, ijkey, due, acctno, pmt, reason, prtype,
npramount, hwjc, asset, value, atype, exemption_1, exval_1, scintent,
exemption_2, exval_2, exemption_3, exval_3, arrears, pmtsleft, pmtmt,
incins, inctax, unsecprt, gsl, parentdna, dpnddna, contact, prtyp, extyp_1,
extyp_2, extyp_3, dfl_exval_1, dfl_exval_2, dfl_exval_3, dfl_pmtmt,
dfl_unsecprt, dflcrd, dflcrdchps, claimno, claimamt, pramount, dodbt,
intexpl, intent, exempt, cecfeml, srv704, srvecf, srvinc, arint, cpmtstr,
grtottrpy, othvals, arint1, armnt1, arpmt1, arstr1, conduit, dfl_arint1,
dfl_armnt1, dfl_arpmt1, dfl_arstr1, dfl_grtotdbpy, dfl_grtottrpy,
dfl_p13_value, dfl_scint1, dfl_scint2, dfl_scmnt1, dfl_scmnt2, dfl_scpmt1,
dfl_scpmt2, dfl_scstr1, dfl_scstr2, grtotdbpy, p13_value, scint1, scint2,
scmnt1, scmnt2, scpmt1, scpmt2, scstr1, scstr2, cpmtmnt, dfl_cpmtmnt,
dfl_cpmtstr, dfl_matdate, matdate, p13_pstpetpby, rate, cg_chrtype,
ck_codbt, ck_cont, ck_disp, ck_exempt, ck_gsl, ck_incins, ck_inctax,
ck_srv704, ck_srvecf, ck_srvinc, ck_unliq, dfl_p13_pstpetpby, othvals2,
setoff, dfl_pramount, totliens, dfl_totliens, dat1, dat2, leased, linnodbt,
valuetot, dfl_valuetot, dfl_linnodbt, dfl_linnumdbt, linnumdbt,
dfl_linnoast, linnoast, prothexp, prtypexp, asubtype, unstyp, unstypexp,
dat3, dat4, dbtcp, dfl_exvaltot, dfl_linnoxmp, exvaltot, linnoxmp, xmpmax,
bnfnsdr, dfl_prfpydats, dfl_totpref, paynsdr, prfpydats, prfsofa, prftyp,
prftypexp, totpref, dfl_prfpydat1, prfpydat1, prfpydat2, prfpydat3,
atypeexp, astoinfo, dfl_insbnfpmtexp, dfl_inspmtexp, dfl_linnomtr,
dfl_propszedscr, dfl_propszeval, dfl_rpinterest, dfl_value, insbnfpmtexp,
inspmtexp, linnomtr, propszedat, propszedscr, propszeval, sctypexp,
dfl_prfpmtexp, dfl_prftypexp, prfpmtexp, dfl_prftot, prftot, pardnatyps,
dfl_parlinnosec, dfl_parlinnouns, parlinnosec, parlinnouns,
dfl_paractnosec, paractnosec, dfl_paractnouns, paractnouns, setoff90,
sftyp, dat5, exlbl_1, exlbl_2, exlbl_3) FROM stdin;


And line 232 is

scum\N  \N  S   f   f   f   f
the scummiest lending company   under the bridge with the trolls\nAmes,
IA  50010   mrt1\N  \N  \nFirst mortgage on primary
residence   \N  \N  R   NRS 21.090(l)
\N  \N  \N  \N  \N  \N  f
f   800 f   \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N

\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N
\N  \N  \N  \N  \N  \N  \N  \N  \N  \N



This doesn't look right to me; I had thought that I should have a file with
CREATE and a bunch of INSERTs.

Am I using pg_dump wrong?


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


preOpenCard not called when opened from project browser

2017-02-22 Thread Dr. Hawkins via use-livecode
I just found, after trying to open a stack from the project browser, that
preOpenCard is not called when the stack is opened this way, whereas it is
when using the application browser.

Is this correct behavior?


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


back to slow compile with 8.1.3?

2017-02-23 Thread Dr. Hawkins via use-livecode
I mentioned a bit ago that with the RC sequences of 8.1.3, I had to go to
7.1 to combine my stacks, but then they compiled quickly with 8.1.3.

Now, I'm at 8 minutes and counting with the released 8.1.3 . . .
-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-25 Thread Dr. Hawkins via use-livecode
On Sat, Feb 25, 2017 at 5:15 AM, Keith Martin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> While Google may include a backdoor (something I consider unlikely but I
> realise that's no less conjecture than '100% certainty'), the Natural News
> issue isn't what the site owners paint it to be. This
> https://www.google.co.uk/amp/s/www.seroundtable.com/amp/
> google-natural-news-deindex-23463.html is a good place to start for
> reference.
>

Just reading a couple of paragraphs of that site was enough to tell me that
the connection with reality was, well, tenable.   Black helicopters, the
trilateral commission, VWRC, and Yeti conversations would have fit in . . .


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Goofy Drawing question

2017-02-25 Thread Dr. Hawkins via use-livecode
On Sat, Feb 25, 2017 at 2:07 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Assuming you wish to draw, not to paint:
>

I assumed he wanted to see it draw, so . . .

>
> local gg="goofy", fc="255,0,0", ls=3
>
> local x0=250, x1=375,y0=250, y1=275 --starting & ending coordinates
local x,y, xstep, ystep

local drwTm = 500 --time to take to draw it


on mouseUp
>   lock screen
>   if there is no grc gg then create grc gg
>
 set points of grc gg to (x0,y0)
 unlock screen

  set style of grc gg to "polygon" -- or "line"
>
 set lineSize of grc gg to ls
set forecolor of grc gg to fc

steps = max(x1-x0, y1-y0)

put (x1-x0)/steps into xstep

put (y1-y0)/steps into ystep

tinc = round(drwTm /steps)

repeat with i = 1 to steps

lock screen


  set points of grc gg to (x0,y0),(x0+i*xstep, y0+i*ystep)
>


wait tinc milliseconds with messages
unlock screen

 end repeat


>
>
> end mouseUp
>
> --
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-26 Thread Dr. Hawkins via use-livecode
On Sat, Feb 25, 2017 at 5:05 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I don't think SOS is the main future.  I think it gives us another option.


I don't think it will *ever* be a full-fledged option until stacks
themselves can be saved as text files for use with standard revision
control and patching.  The most it can due is take a chink out of the
corner.

And on the value of those . . .

As I was nearing the end of my dissertation, and had a visiting spot for
the following year lined up, with a $10k difference between waiting for
paperwork (assistant prof) and ABD (instructor), my wife had to go to
California to help her sister's family during her first cancer.  I had to
drive out to pick them up, and lost my transmission in Omaha (really,  It
*does* happen outside of country songs).   I had a laptop  with an older
version of my dissertation with me, and hard-copy of the current version
with advisor comments (between two majors in my Ph.D. and working outside
the departments, I had three advisors).  Because (and only because) LyX and
LaTeX are text format, I was able to simply edit the obsolete copy and use
diff to make a comparison, and apply patch to the most recent copy, and
actually get two days work out of the two days I spent stranded.

More commonly, until and unless livecode can save such that such standard
tools or comparable can be applied, multi-person development will remain a
fantasy and/or novelty.

I've come to accept that the next major rewrite of my software is going to
have to be in something else (Swift?) so that I can add developers, as well
as the inability to actually put a pdf or eps on a card (just a bitmap of
it won't do); livecode just doesn't seem to me doing towards such a
direction.

Yes, I understand the desire to stay true to the hypercard model, but
as-is, I don't see livecode as a viable solution to a project larger than
the indy limits.


-- 
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 subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   3   >