Hmmm - LC Server's error reporting can be frustrating and I'm not
sure what it is trying to say here.
All I can suggest is to try to take the problematic script and load it
as a script-only stack into the IDE and see if it can be tested out that
way - if necessary adding a few lines of
te
replace tChar with "\" & tChar in pText
end repeat
return pText
end shellEscape
Sorry again,
Alex.
On 15/07/2019 01:07, Mark Wieder via use-livecode wrote:
On 7/14/19 3:24 PM, Alex Tweedly via use-livecode wrote:
In case it helps, here's the code I use to send email from
On 14/07/2019 18:20, Rick Harrison via use-livecode wrote:
The main snag I’m working on now is setting up
the server to send out the email to the user.
This morning I’m looking at the shell commands
and at tsNet SMTP possible solutions.
In case it helps, here's the code I use to send email
It's kind of hard to answer that without knowing how your passwords are
set up and managed already, or what/how you need to use or check them.
So I won't answer directly, but offer a sideways suggestion
Don't have passwords.
Nearly all sites that have passwords offer some kind of
I'm lost . how is
1198 (item 4 of the stackrect)
less than
1080 (item 4 of the screenrect) ?
On 26/06/2019 18:41, Bob Sneidar via use-livecode wrote:
So I am dealing with the rects of stacks vs. the rects of screens, and now I
see what the issues people have had are all about. I have
On 21/06/2019 19:38, J. Landman Gay via use-livecode wrote:
My only excuse is that I've been avoiding stepping through the
debugger because LC has been crashing when I do that. I've sent in
many crash logs but it's only recently I've discovered it happens only
with Step Over. It's hard to
Hi Bob,
It sounds like your library is something I could benefit from :-)
I know it's been mentioned on the list before, but I've lost track of
where to get it from, and a quick search didn't turn anything up. Could
you please send a reminder (either to the list or direct to me if you
se I would indeed have
simply set the vis of tName.
Thanks
Alex.
On 17/06/2019 16:46, Bob Sneidar via use-livecode wrote:
Why aren't you setting the vis of tName?
Bob S
On Jun 10, 2019, at 17:44 , Alex Tweedly via use-livecode
wrote:
OK, this code produces an error - but I can't see why (a
I suspect it's a group / script rather than a widget.
And the facilities for sharing such things are primitive to say the
least. IMHO, if Livecode made it as easy and "complete" to share
scripts/groups as it is for widgets, there would be far more of them
available
Alex.
P.S. by "complete"
PM, Alex Tweedly via use-livecode
wrote:
OK, this code produces an error - but I can't see why (and I worry about that
:-)
I have a field inside a group inside a group ,
and the following code :
on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
OK, this code produces an error - but I can't see why (and I worry about
that :-)
I have a field inside a group inside a group ,
and the following code :
on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
put tName & ",12,13" into t1
put "t1" && t1 after
et me know. (And
I should admit that I haven't used, or tested, them as thoroughly as
most other aspects of the library).
Alex
On 04/06/2019 19:23, Glen Bojsza via use-livecode wrote:
Hi Alex,
I will take a look at it...thanks.
Can it do dual Y axis graphs?
On Tue, Jun 4, 2019 at 8:50 PM Alex T
Hi Glen,
Sounds like the graph widget won't do it.
You could try using my GraphMaker library. I gave a brief talk about it
at the conference, but since I got back I've been so busy I haven't yet
got around to making a general announcement.
You can get the library from
H - my dictionary (9.0.4 rc2 for Mac COmmunity) does have a
description of the "for" variant.
And I've now read it 10 times, and I'm not sure I'm much better informed
:-) It's a pretty tough read.
I see that "urlresult" is a reserved / key word, not in the dictionary.
So I think the
ia use-livecode
wrote:
On 5/6/19 5:08 PM, Alex Tweedly via use-livecode wrote:
So, I finally figured out a way to be able to come to the Livecode
conference in San Jose.
Yay.
Where is everyone else staying ?
I picked up an AirBnB slot a few blocks away.
--
Mark Wieder
ahsoftw...@gma
So, I finally figured out a way to be able to come to the Livecode
conference in San Jose.
Now I need to find a good (i.e. reasonably priced, fairly close -
ideally walking distance), etc. hotel. I thought I remembered seeing a
list of recommended ones - but can't find any trace of it.
or use the form of
export snapshot to file /whatever/file/path/you/want.jpg as jpeg
On 29/04/2019 17:54, Richmond via use-livecode wrote:
A word of warning to Macintosh users . . .
For "some odd reason" exported snapshots now end up inside the
LiveCode.app folder,
so to access your
On 29/04/2019 07:12, Dar Scott Consulting via use-livecode wrote:
I'm not sure what C is. Maybe something related to using arrays. Maybe a tool
to create code snippets.
Ah, OK, got it.
I do already have a handler that will "save" the current graph; i.e.
write out the JSON of the defining
Kevin,
while I absolutely understand and agree with your email, there is an
ambiguity in this bundle offer which I think should be cleared up (esp.
since this is an offer available on the website to everyone, not one
emailed to a targeted group).
Since it has had so much interest on the
On 26/04/2019 00:27, Quentin Long via use-livecode wrote:
Hmmm… Seems like this library is intended for a summat limited subset of graph-styles.
There are pie charts, radar charts, etc ad nauseum, and it's not clear to me how this
library caan cope with any of those "non-standard" types of
On 25/04/2019 19:07, Dar Scott Consulting via use-livecode wrote:
I like the use of an array.
Add the ability to set the default array, allowing named arrays. Or supply base
arrays that one could use to make a plot parameter array.
Yeah, it should be easy and potentially useful to have some
l, undecorated graph.
-- Alex.
On 25/04/2019 19:29, Dar Scott Consulting via use-livecode wrote:
Coming in late...
For bread-and-butter code, B.
For software development, A.
But, really, my response is C.
Dar
On Apr 23, 2019, at 5:01 PM, Alex Tweedly via use-livecode
wrote:
Hi folks,
I'
omething like "heredoc" that perhaps wouldn't
have happened - I would have used the more natural way to define a
multi-line constant value :-)
On 25/04/2019 04:21, Mark Wieder via use-livecode wrote:
On 4/24/19 5:47 PM, Alex Tweedly via use-livecode wrote:
1a. same thing, using the it
Thanks everyone for great feedback and suggestions.
Below I've included the current summary specs; currently this is all
pretty much working, except for
titles (which I just haven't done yet :-), and a few minor tweaks to
handle improvements I've added to the spec from reading the "R" docs
Hi folks,
I'm building a library (which I plan to release as Open Source), and I'm
having trouble trying to decide which approach to take with default values.
The library is to produce XY graphs (charts). An app which is using it
will provide one or more sets of data to be plotted. The app
On 14/04/2019 22:36, Stephen Barncard via use-livecode wrote:
I have to write a custom handler to deal with this - there's no app that
can do this - I don't think.
I know you found the way to write the custom handler, using 'shell + touch'.
But if you want to just use an existing app,
On 30/03/2019 21:56, Richard Gaskin via use-livecode wrote:
Given that it's taken years to get approval for -f, I'm reluctant to
overload the task with too many additional features at the outset,
though perhaps as a separate scope of work it may be worth pursuing if
we can find someone to
Could you not do that in your .htaccess file ? (or presumably in more
powerful ways if it's a VPS, etc.)
"simply" add a rewrite rule that adds the "-f" flag to HTTP requests in
general, with an override rule for those few server scripts that might
want font initialization.
Actually, I
Hi Rick,
I think you got caught out by a typo in Lagi's mail :-)
After reading the comments in the forum thread, I'm pretty sure that
there's a missing space character; he meant to say
"a version", rather than "aversion"
so it's not that Ali dislikes chipmunk, rather there is (was) a
ask file prompt [with *defaultFilePath*] [with filter *types*] [as sheet]
On 20/03/2019 16:13, Roger Guay via use-livecode wrote:
This should be easy, but I’m having difficulty with this:
In the Ask File prompt, is there a way to make the “Where” field to always
default to a specific
That shouldn't be a problem. OP said he was URLencoding after the
base64encoding, so all the random HTML characters should be 'protected'.
Alex.
On 17/02/2019 17:43, J. Landman Gay via use-livecode wrote:
That sounds more like a hang rather than a crash, which means LC is
involved in a
The encoded elements should be OK, if you base64encode() all encrypted
or binary data.
Sounds like it could be a bug. But what I'd try is writing varSendData
to a local file, and doing
answer "the data is now in "
to see if that works, and to see if there is anything dubious in the
There shouldn't be any examples of in the actual script.
It's an anomaly from HTML - in order to display a quote sign in an HTML
document, you need to use the form of so this has been
copied/pasted (or something like that) between a a simple document/text
file and an HTML file, and
On 19/01/2019 12:56, R.H. via use-livecode wrote:
My main stack has 58 cards. The stack has two small sub-stacks also used as
UI for settings. There is one card dedicated to internal resources (images,
etc.), two cards are user interface cards, the rest are data cards for a
technical product
I would consider putting a check in the splash stack for the existence
of the 'tilde' file, and removing/renaming it before opening the mainstack.
An ugly workaround until a proper fix happens - but maybe worth thinking
about ?
Alex.
On 15/01/2019 09:59, R.H. via use-livecode wrote:
Failed
On 01/01/2019 20:39, Alex Tweedly via use-livecode wrote:
However - I'm not sure that's a very intuitive UI ("release to play"),
so I'd probably go the extra mile and do the harder one that
replicates the original UI. And that *is* harder, so I will try it out
before I say any
First I would consider whether you want *exactly* that UI, or whether
something very similar would do.
If similar is OK, then I would invert the logic of the UI:
- if the mouse (pointer) is over a hexagon, and the mouse is not being
pressed - play that note, and keep playing it
- if mouse
Yeah, that seems like it might work - but it doesn't.
on mouseUp
put 1 && the lockscreen after msg
set the lockscreen to true
put 2 && the lockscreen after msg
wait 0 seconds with messages
put 3 && the lockscreen after msg
end mouseup
gives
1 false
2 true
3 true
I
In essence, you want something like the following:
(this assumes a capital Q typed to the card will quit the display. It
could easily be changed to clicking a button - so long as the mouseUp
handler would set the script-local when appropriate).
local sStopRequested
command playShow
local
On 31/12/2018 13:33, Sannyasin Brahmanathaswami via use-livecode wrote:
Aloha Malte:
I agree with this. I can't imagine any use case where the last attempt the message path/hierarchy,
to unlock screen, would where you actually *want* to have the screen locked. This has been a
"nuisance" for
In another email on the list, Richard said something like :
> relatively easy to use a parallel LSON file and load via a library
and
On 29/12/2018 18:03, Richard Gaskin via use-livecode wrote:
Breakpoint support may well be a uniquely valuable addition worth
considering. I rarely use them
Not sure that's going to work ... if the mouse button is being held
down, you won't get a "mouseenter" event. Dict says:
If the mouse button is down when the mouse pointer enters the control,
the *mouseEnter* message is not sent unless the mouse button is released
while the pointer is still
In some of my projects, I have a handler in my stack script to help with
this. It requires one extra click (to step out of th handler) - but I
often find it's worth that for the other advantages.
The minimalist version is
on mybreakpoint
breakpoint
end mybreakpoint
while the fancier
On 03/12/2018 14:51, Håkan Liljegren via use-livecode
wrote:
and you can also shave off some milliseconds in the styledText version by using
foreach:
…
It is a bit strange though that the foreach always seams to be faster. If we
try to sum an array with 100 000 element like:
I know
Hmmm I hesitated to reply earlier, just in case there are subtleties I
might get wrong and mislead you - but here goes.
include / require are essentially ways to include the text of the
included file. Include will do that - and do it every time you use it
so you could have a trivial
On 28/11/2018 20:45, Richard Gaskin via use-livecode wrote:
FWIW, cron is for periodic tasks. If you need a one-off at a specific
time see at.
But can be managed from the command line, which means you can drive
them from LC if needed through the shell function.
And. conversely, you can
On 27/11/2018 18:34, Richard Gaskin via use-livecode wrote:
The existing field object does a fine job buffering for smooth
scrolling of just about any text of practical length. Logically, the
limit of field contents is about 4GB (UINT4), but in practical terms
other memory needs may not
On 25/11/2018 23:04, Richard Gaskin via use-livecode wrote:
This limitation may have been eliminated, or close to eliminated, with
the field object. And now that fields have column-independent
alignment, it's rare that there's ever a need to replace that one
object with a thousand-object
Hey - Edinburgh is (roughly) half-way between, how about there :-)
On 09/11/2018 17:06, Ingar Roggen via use-livecode wrote:
Why not in Oslo?
Sendt fra min iPhone
9. nov. 2018 kl. 18:04 skrev Andre Alves Garzia via use-livecode
:
Hey Friends,
Who here is from London or nearby and would
Hi Geoff,
unfortunately the impact of overlapping delimiter strings is more severe
than simply not finding them. The code on github gets the wrong answer
if there is an overlapping string at the very end of the search string, e.g.
alloffsets("", "a") wrongly gives 1,5,10
I
Oh dear - answering my own posts rarely a good sign :-)
On 03/11/2018 02:10, Alex Tweedly via use-livecode wrote:
On 03/11/2018 00:43, Geoff Canyon via use-livecode wrote:
One thing I don't see how to do without significantly impacting
performance
is to return all offsets
On 03/11/2018 00:43, Geoff Canyon via use-livecode wrote:
I like that, changing it. Now available at
https://github.com/gcanyon/alloffsets
One thing I don't see how to do without significantly impacting performance
is to return all offsets if there are overlapping strings. For example:
Hi Keith,
I think the simplest method would be (almost) your second attempt below.
However, you were using "*est*" - i.e. with the '*'s before and after
the phrase, which is what you would need for 'filter' but not for
'contains'. So it should work with just
put “my test phrase” into
I accidentally typed the equivalent of
function x p
return return p
end x
i.e. I had the word "return" in there twice.
And it didn't give me an error on compilation, and also didn't just
ignore the repeated word, it simply returned a blank line.
Does it seem like this is a bug ? Is the
On 29/10/2018 22:32, Mark Wieder via use-livecode wrote:
On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote:
I’m trying to separate paths & pages from a list of URLs and so
looking to identify the position of the last ‘/‘ character.
How about
function rightmostSlashOf p
"toplevel/somename/another/somename"
On 29/10/2018 22:32, Mark Wieder via use-livecode wrote:
On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote:
I’m trying to separate paths & pages from a list of URLs and so
looking to identify the position of the last ‘/‘ character.
function
On 29/10/2018 14:18, Colin Holgate via use-livecode wrote:
On top of all that you may well want to place some things using code, but
remember that the later Android phones, and the iPhone X, have a notch, so
don’t place things at the far left center of a landscape app.
Should that be "far
Yeah, I said something that was wrong - and I did apologize and will
happily do so again. And I managed to get "two people with one stone"
and mis-describe both your and Geoff's valuable inputs.
So I apologize again to both of you, and anyone else I inadvertently
knocked on the way past.
My apologies Hermann. I had not been following the original thread
closely, and got confused by the embedded quoting in the later messages.
I was looking at Geoff's code - not yours - and he explicitly said "
And of course if retaining the order isn't critical "
So I agree your array method
David,
I think you are correct - there is no magic version of split or array
that will do what you want.
You require to keep the line ordering completely unchanged - and
Hermann's superfast method can't meet that need.
The best solution (AFAIK) will be the one Mark Hsu and/or Jacqueline
You say "... containing A-Z"
Are you really using unicode ? Or is it really just ASCII ?
if so, you could do
put char 1 of tWord into temp
if 65 <= temp AND temp <= 90 then ...
Alex.
On 26/10/2018 12:21, Keith Clarke via use-livecode wrote:
Folks,
What is the most efficient way to
Hi Sean,
I think there are two (hopefully straightforward) suggestions for the
docs on this:
1. the syntax diagram is (I think) wrong (or at least misleading)
filter [{lines | items | keys | elements} of] *filterSource* {with |
without | [not] matching} [{wildcard pattern | regex
I don't know of a way to intercept them, and I did look, because I
have/had exactly the same problem.
I wrote a script (ExplicitProperties) which does a decent, but
imperfect, attempt to find places you have referenced a customprop, and
checks whether it is a "known" one. That was back in
Q for Hermann (or anyone else who knows :-)
I'm trying to use the popup version of the widget, simply by doing
*on*mouseup*
popup*widget"community.livecode.hermann.datepicker"at100,100*
put*it *
end*mouseup
but the datepicker window is far too small - only about 1/4 the size it
would
or,
repeat for each trueword X in tQuote
put (item 2 of the extents of tWordLocationA[X]) + 1 into t1
put tWordLocation into tWordLocationA[X][t1]
end repeat
Alex
On 18/09/2018 23:57, J. Landman Gay via use-livecode wrote:
On 9/18/18 5:01 PM, Sannyasin Brahmanathaswami via
On 11/09/2018 16:59, Curry Kenworthy via use-livecode wrote:
Interesting considerations. Whatever the causes, LC 9 needs a little
work to get back in shape. Get off the couch and start running again!
:) There are so many different tasks where 9 is underperforming; any
code with repeat loops,
On 09/09/2018 17:56, Richard Gaskin via use-livecode wrote:
tsNet includes an SMTP server?
What commands would one use?
I've never done it, but ...
lessons.livecode.com/m/4071/l/685661-how-to-send-e-mail-using-the-tsnet-external
OK, this time I'm just typing into email - havent tested these
suggestions :-)
On 30/08/2018 10:24, Keith Clarke via use-livecode wrote:
Folks,
Is there a single-pass mechanism or more efficient way of returning the
wordOffset of each instance of ‘the’ in ‘the quick brown fox jumped over the
On 25/08/2018 12:01, Alex Tweedly via use-livecode wrote:
Not sure why yours is crashing, and I admit I haven't really looked
closely :-)
I have a similar word count - so I tweaked it slightly :
- stack with 3 fields - fNoiseWords, fSource and outputs results to "F"
- butt
Not sure why yours is crashing, and I admit I haven't really looked
closely :-)
I have a similar word count - so I tweaked it slightly :
- stack with 3 fields - NoiseWords, Source and outputs results to "F"
- button to make it run
*on*mouseUp*
local*tSource, tNoise, tWord*s
Not really a huge surprise ... access to chunks such as 'item' and
'line' are (potentially) slow when you are searching relatively large
strings. So the archetypal example
repeat with i = 1 to N
get line i of tBigString
end repeat
can get slow if N is large, because of repeatedly scanning
Hi Malte,
sounds like something I would normally have jumped on :-)
And I don't offhand remember a thread like this started by you - can you
give me more of a pointer to when it was or what the subject line(s) were ?
Thanks
Alex.
P.S. please try not to be demotivated by this kind of
Ah, let's see
Hardwoods burn better than soft, but you gotta keep the chainsaw really
sharp.
-- Alex.
On 18/08/2018 17:06, Mike Kerner via use-livecode wrote:
I'm messing with the logger in levure, and looking for feedback, sample
code, and thoughts others have from your own logging
What's the difference between a tablet and a phone ?
Is it the existence of a SIM card ? But if I have an iPhone, but no SIM
in it - is it then a tablet ?
Is it the size, or the number of pixels, or the ratio ?
or what ?
:-)
Alex.
P.S. and how different will the answer be in a year's
I think LC9 is faster, but I've never tested, so that's purely "anecdotal".
Yes, I believe it does mean that a new stable release will replace the
older one; I've quoted Robin's mail from my support ticket conversation
below ...
This might be worth a discussion with on-rev support, to see
.
On 09/08/2018 06:52, jbv via use-livecode wrote:
How do you run LC9 server on on-rev ?
Thanks.
On Thu, August 9, 2018 1:40 am, Alex Tweedly via use-livecode wrote:
Oops - sent before I meant to ...
With LC7 server on on-rev, I get
4141 5378 18699 28365 41200 50230 58901 62983 63416 65984
Oops - sent before I meant to ...
With LC7 server on on-rev, I get
4141 5378 18699 28365 41200 50230 58901 62983 63416 65984 71574 73426
74288 112360 115826 121386 126039 141224
while with LC9 server on on-rev I get
4141
-- Alex.
On 08/08/2018 23:19, Alex Tweedly via use-livecode wrote
Which versions of LC are you running in each case ?
Alex.
On 08/08/2018 22:29, jbv via use-livecode wrote:
Hi list,
As the title says, I am getting different results when running the script
below with LC desktop and LC server (on-rev account)...
The result is fine on desktop, but flawed on
On 07/08/2018 23:45, Mark Waddingham via use-livecode wrote:
On 2018-08-07 23:31, Mark Wieder via use-livecode wrote:
does that take it out of the 'special' category?
Yes - unless the array's first key is 1, and it then has all integer
keys up to and including its number of elements then it
Nice improvement !
And I like the variable names much more ... though it could be argued
that "tYes", should be called"tMayYetBeAPrime" :-)
I now get this version consistently running in 25% of the original time.
There is another version which runs about twice as fast - i.e. 14% of
the
On 06/08/2018 16:50, Mark Waddingham via use-livecode wrote:
Alex Tweedly didn't talk nonsense... Byte x [to y] of z is (truly) constant
time if z is strictly a binary string.
That's right - the basic principle wasn't nonsense - but most everything
else in my email was :-)
I said you only
Earlier, Alex Tweedly said some nonsense like:
arrays are hashed - even if quickly, while byte chunks are constant time.
So replace both uses of the array np with a byte chunk.
...
Takes about 40% off the time.
-- Alex.
Operator error !
Forget what I said, it was wrong.
I'll do the test
arrays are hashed - even if quickly, while byte chunks are constant time.
So replace both uses of the array np with a byte chunk.
i.e.
if byte i of np = "n" then next repeat
...
put "n" into byte j of np
Takes about 40% off the time.
-- Alex.
On 06/08/2018 03:36, Richard Gaskin via
On 31/07/2018 20:03, Richard Gaskin via use-livecode wrote:
For all of JSON's JS-friendly compactness over XML, hand-writing it
can be tedious and error-prone, so YAML was invented as the answer for
those cases where human-writability is a stronger need than parsing
efficiency (all the rules
On 27/07/2018 20:17, Richard Gaskin via use-livecode wrote:
> Using arrays intigues me, especially if I can just keep it in RAM (It
> is a small amount of data for sure).
One great thing about LC's built-in support for arrays is that it's
built-in.
JSON has become used in so many other
Hi Keith,
what I do in the 20 lines isn't very much - most of the work is done
elsewhere.
I do have a couple of places I don't use revIgniter. Here's a sanitized
version of what I use there as LC Server script (NB I have sanitized it
before sending, so there could be typos here - I haven't
I have no idea if this is state of the art or not :-) - but here's what
I do ...
Short answer : the Livecode IDE plus an FTP client (Filezilla).
Longer answer :
99% of what I write for the LC server is standard LC - scriptonly
stacks, used as library stacks.
I have about 20 lines of LCS -
Why not just do it directly (avoid the function call) ...
function sortIPList2 pIPList
set the itemdelimiter to "."
try
sort lines of pIPList ascending numeric \
by (item 1 of each * 16777216) + \
(item 2 of each *65536) + \
(item 3 of each *256) +
Short answer - just the same as with LC :-)
It wasn't there in the initial versions of LC, but for quite a ong time
now the standard image functions have worked. Here's a quick (tested -
on on-rev/sage) demo with an image I happened to have:
Hi list,
IS there a way to get the dimensions
On 18/06/2018 18:17, Richard Gaskin via use-livecode wrote:
>
> What am I doing wrong or missing ?
If you apply a non-standard color, it's no longer a standard button.
We have a roundrect style that may work for the type of non-standard
button you're looking for.
I should probably take it
1. create a new stack
2. drag a 'standard button' from the toolbar onto it
(you now have a nicely rounded-corner button)
3. set its script to
on mouseup
set the backgroundcolor of me to "200,50,50"
end mouseup
4, click on 'browse mode' so the stack is "live"
4a. observe the button still
I can't try it out right now - but would it be any good to set the
arraydata to empty, and then load the new values you want ? That might
(effectively) delete and recreate the relevant nodes, and thereby reset
the status of the leaf nodes.
Alex.
On 13/06/2018 19:13, Andrew Bell via
Then there's something about Geoff's problem (or problem statement) that
I don't understand.
What on earth is in those records for sorting a mere 2000 of them to be
noticable? (I had thought he had to be talking about magnitudes more
lines than that).
LC (9.0) sorts 20,000 lines of >1000
I don't know if these are good ideas or BAD ideas and without some
suitable data, not sure if I could find out - so I'll throw the ideas
over and let you decide if they are worth trying :-)
1. Two ideas combined
- avoid scanning for the "item 1" of each line
- use the (hopefully
On 01/06/2018 01:17, Mike Bonner via use-livecode wrote:
on-rev host is 7.0.1 you can get it with version()
Hmmm - I get 7.1.0 (on sage).
And that might just be the problem with Unicode handling I think it
improved in LC v 8 upwards, but that's an area I know nothing about.
You
Hi Tim,
which version of LC engine are you using on the LC Server ?
( and which version on the desktop? )
Alex.
On 01/06/2018 00:33, Tim Selander via use-livecode wrote:
Thanks, Warren.
Yes, I've got that header set up, and UTF8 is working fine, pages look
great. But LC server is not
On 12/05/2018 21:08, Richard Gaskin via use-livecode wrote:
Per Postel's Law, reduce the stockpile of PDFs littering humanity's
infosphere by generating none except in the increasingly rare cases
where no other format is a better choice.
Good advice to improve the world :-). But
I doubt if it would work out faster. A quick test of
time ls -lR > null
gives 166 ms vs. the 179 I get from the non-recursive tree walker - so
by the time you gather that output, and re-format back to something more
usable, I think you'd probably come out the same or slower.
Alex.
On
On 06/05/2018 20:12, Richard Gaskin via use-livecode wrote:
Ah, that makes sense. It's not so much the recursion per se, but the
more general advantage of inline processing vs handler calls.
Exactly.
In the test case below you know how many levels deep you're going,
which seems a good fit
On 05/05/2018 01:29, Richard Gaskin via use-livecode wrote:
How does recursion impair performance so significantly?
In general, there's significant work involved in a function or handler
call and return - you need to establish a new context for locals, copy
or calculate, parameters, etc. My
301 - 400 of 568 matches
Mail list logo