Re: [OT] Vector Graphics

2016-08-20 Thread Richmond
Windows version here: https://sourceforge.net/projects/sk1/files/sk1/sK1_v.2.0RC1/ On 20.08.2016 11:29, Richmond wrote: http://sk1project.org/ Effectively a clone of CorelDraw that is Free (Open Source) for Linux. Richmond. ___ use-livecode

Re: Activating old versions of LiveCode

2016-08-20 Thread Richmond
Dunno. I have "in perpetuity" licences for 4.0 and 4.5 which basically are strings of mixed numbers and letters which I have backed up all over the place in text files . . . go and dig around in your back ups. Richmond. On 20.08.2016 00:40, mwieder wrote: I generated and downloaded a new

[OT] Vector Graphics

2016-08-20 Thread Richmond
http://sk1project.org/ Effectively a clone of CorelDraw that is Free (Open Source) for Linux. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: blockchain

2016-08-20 Thread David Bovill
Mike that would be great. I'd like to get together a small group to research together the integration of Livecode with blockchain - starting in November. The format would be asynchronous work with some live get-togethers. Involvement does not need to be super-geeky. It will be a research group,

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Mark Waddingham
Ah! Using repeat for each key is essentially using the keys of an array as a 'proper list' - it is probably the fastest way currently to iterate over a sequence of strings. In this case the value of each element in that array is immaterial - so the performance benefit comes iterating over the

Re: Garbage collection (crashing on Windows)

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

Re: Should size be extended to variables?

2016-08-20 Thread Mark Waddingham
For what purpose? The key thing here is that the number of bytes a value currently takes up in memory is not actually a good measure for how much memory is being used because instances of values can be shared. To put it another way, the memory footprint used by two arrays will not necessarily

Re: Great Conference Photos

2016-08-20 Thread AndyP
Great photos. Nice to get a feeling for what was happening at the conference for those of us who are unable to attend. - Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer

Re: Should size be extended to variables?

2016-08-20 Thread Richmond
That seems a good idea. How about a term 'bytes' as in: put the bytes of MyVar? Ah: 'bytes' is already used . . . I just tried this: on mouseUp put "I'm a little teapot short and stout" into VVAR put the number of bytes in VVAR into fld "BITES" put the number of chars in

Re: Garbage collection (crashing on Windows)

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

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Mark Waddingham
Most likely the time it takes to layout the text for display - 'typesetting' (the process that converts a styled string into a list of glyphs and positions) is a very complicated and time consuming process. Mark. Sent from my iPhone > On 20 Aug 2016, at 17:33, Dr. Hawkins

Re: Should size be extended to variables?

2016-08-20 Thread Mark Talluto
Yes. Arrays. Mark On Saturday, August 20, 2016, Richard Gaskin wrote: > Currently the length function returns the number of characters in the data > passed to it, but there may be times when what we want to know is the > actual size of the data in bytes, which may

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Mark Talluto
Split would works for simple data sets. This made up example would support split just fine. > On Aug 19, 2016, at 8:29 PM, Monte Goulding wrote: > > Mark you could use the split command here if you don’t mind numerically > indexed arrays. > >> On 20 Aug 2016, at 9:07 AM,

Should size be extended to variables?

2016-08-20 Thread Richard Gaskin
Currently the length function returns the number of characters in the data passed to it, but there may be times when what we want to know is the actual size of the data in bytes, which may vary from the number of characters. The size function seems a good fit for this, since it's all about

Re: Should size be extended to variables?

2016-08-20 Thread Richard Gaskin
Mark Waddingham wrote: >> On 20 Aug 2016, at 20:05, Richard Gaskin wrote: >> >> As for byte sizes, my own use case is for establishing pointers to >> locations within a large file on disk. >> >> But as Richmond kindly reminded me, the byte chunk type supports >> that with "the number of bytes

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 8:57 AM, Richard Gaskin wrote: > > It would appear that the current behavior in v8 is a fix that addresses a > previously anomalous handling of delimiters in the case of "is among". That’s my feeling also. We know it impacts a popular library

Re: Should size be extended to variables?

2016-08-20 Thread Richard Gaskin
Mark Waddingham wrote: > On 20 Aug 2016, at 18:01, Mark Talluto wrote: >> >> On Saturday, August 20, 2016, Richard Gaskin wrote: >>> Any other options I should consider before submitting a request for >>> some means of determining data length in bytes? >> >> Yes. Arrays. > > For what purpose? >

Re: Should size be extended to variables?

2016-08-20 Thread Mark Waddingham
This is why I asked 'for what purpose' :) For the case of optimising for memory footprint you need a measure which allows to see the effect of your code changes on the amount of memory used whilst running - and this is entirely a runtime concern, so you need to take measurements which reflect

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Richard Gaskin
Monte Goulding wrote: >> On 21 Aug 2016, at 8:47 AM, Richard Gaskin wrote: >> >> The current behavior for Trevor's test is consistent with item >> counts. If we change it we open up that can of worms about >> delimiters all over again, and undo Mark's thinking on this. > > Yes the point is

Re: Garbage collection (crashing on Windows)

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 2:33 AM, Dr. Hawkins wrote: > > In that case, what are the several second pauses in the IDE, particularly > the editor (versions 5 & 7, maybe others) Do you happen to have bug report numbers for these pauses because they can probably be fixed? I’ve

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 8:47 AM, Richard Gaskin wrote: > > The current behavior for Trevor's test is consistent with item counts. If we > change it we open up that can of worms about delimiters all over again, and > undo Mark's thinking on this. Yes the point is

Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
Hi LiveCoders The team is in a quandary about the following bug: http://quality.livecode.com/show_bug.cgi?id=18145 The issue is in LiveCode 6.7 and below `is among` was essentially implemented incorrectly meaning that you could get results

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Richard Gaskin
Monte Goulding wrote: > The team is in a quandary about the following bug: > > http://quality.livecode.com/show_bug.cgi?id=18145 > > The issue is in LiveCode 6.7 and below `is among` was essentially > implemented incorrectly meaning that you could get results like this: > > put the number of

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Randy Hengst
This doesn’t totally fit with the conversation, and I assume the Team knows this but… SORT assumes that a trailing comma indicates an empty item… for example: on mouseUp local tTestITEMS put "1,2,3,4,5," into tTestITEMS answer the number of items in tTestITEMS && "ITEMS" &&

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 9:38 AM, Randy Hengst wrote: > > This doesn’t totally fit with the conversation, and I assume the Team knows > this but… SORT assumes that a trailing comma indicates an empty item Oh yay…. this behavior persists in LiveCode 8.

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 9:52 AM, Monte Goulding wrote: > > Oh yay…. this behavior persists in LiveCode 8. There is an ANOMALY report on this: http://quality.livecode.com/show_bug.cgi?id=16588

Wouldn't it be neat...

2016-08-20 Thread Roger Guay
If one could double-click a word in the script editor and then simply click a button to put it in quotes? Has anyone already done this? Yes, I know I can do Find and Replace, but this would definitely be the cat’s meow! Roger ___ use-livecode

Re: Wouldn't it be neat...

2016-08-20 Thread Monte Goulding
Wouldn't it be better if typing quote when you have more than an insertion point quoted around the selection? Sent from my iPhone > On 21 Aug 2016, at 12:38 PM, Roger Guay wrote: > > If one could double-click a word in the script editor and then simply click a > button to put

Re: Wouldn't it be neat...

2016-08-20 Thread J. Landman Gay
Yes, and add parentheses, curly brackets and square brackets too. Right now I'm doing these with a frontscript, which I can post when I'm back at the computer unless Pete does it first. My version screws up undo and his doesn't. But I'd rather have it built into the editor. Jacqueline

Re: Wouldn't it be neat...

2016-08-20 Thread Mike Bonner
I like this idea, so I made a quick and dirty method. Made a button with this.. on mouseUp put the selectedtext into tText if the first char of tText is not quote then put quote before tText if the last char of tText is not quote then put quote after tText put tText into the

Re: Backwards compatibility or sanity? help

2016-08-20 Thread Monte Goulding
> On 21 Aug 2016, at 9:46 AM, hh wrote: > > Why is the number of items or having the property "item" > of a string dependent of the writing/reading direction > of the string? Hmm… I’ll answer your question with a question: Which item is item 1? Cheers Monte

Re: Wouldn't it be neat...

2016-08-20 Thread Peter Haworth
Thanks to Jacque for allowing me to use her code as the basis of doing this in lcstackbrowser... But then you have to pay so would be much better in the script editor as would many other editing features. I've recently been using NetBeans for html and php script editing and really like its

Re: Backwards compatibility or sanity? help

2016-08-20 Thread hh
Why is the number of items or having the property "item" of a string dependent of the writing/reading direction of the string? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Wouldn't it be neat...

2016-08-20 Thread Roger Guay
Thanks Jacque, Monty, Peter and Mike. Mike, I tried a similar script in plugin, but I don’t know how to make it interact with the Script Editor. What am I missing? > On Aug 20, 2016, at 8:29 PM, Mike Bonner wrote: > > I like this idea, so I made a quick and dirty method.