> J. LG wrote:
> Something like that would work for me ...
If such wonderful things could be realized (will be a feature-exchange),
what should then the significantly confused crowd of newcomers do?
Use the Application browser plugin?
___
use-livecode m
Peter B. wrote:
> 1) In general, we have found that the Project Browser is easier to use
> by newcomers to LiveCode, and easier to explain in training materials.
There is nearly no difference if you have one button and one field.
> 2) We also found that there was significant confusion caused by
(Application Browser, LC 7 - Property Inspector) that is
> much more useful, for EACH AND EVERY stack.
That was me, I don't know why I became anonymous, I'm not.
Hermann
[-hh]
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
> J. LG wrote:
> It needs to come back. I can't work without it. Project browser is not an
> acceptable replacement for the kind of stacks I work with.
I stopped to edit any stack in LC 8.
The Project Browser is beautiful to look at, also the Property Inspector,
beautiful design, but there ar
> Alejandro wrote:
> Accurate rendering of strokes with different weights requires
> special techniques to get the desired effect:
> http://www.smashingmagazine.com/2012/04/a-closer-look-at-font-rendering/
Hi Alejandro,
this is, once again, not a problem of integers or floating points.
Of course
> Alejandro wrote:
> Remember, again, Livecode vector graphics only use integers (1,2,3,4,5...)
> for displaying graphics strokes (borders). This limitation IS an
> insurmountable barrier to import and display faithfully many professional
> illustrations created or exported to SVG format.
I rea
Please look also in the dictionary of newest LC 8:
fullClipboardData and rawClipboardData
greatly enhanced the clipboard access.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
> Ben R. wrote:
> Does anyone have (fairly recent) experience using LiveCode to with unusual
> input devices - phidgets, PowerMate, MIDI keyboards or controllers, DMX, etc?
> On either Mac OS X or iOS? What's easy? What works? Are there good
> externals or libraries I should know about?
I f
> Roger G. wrote:
> Jim, I'm just now trying to catch up on this discussion and I see that no one
> has answered your question. I can’t answer either and wonder what’s going
> on???
> BTW, I believe you should have a negative sign in front of the square bracket
> . . . not that that helps at all
> > Bob S. wrote:
> > What really will blow everyone's skirt up
> > is finding out what the question is ...
> Richmond M. wrote:
> I don't wear a skirt, I wear a kilt (which is made from heavier
> material than the average skirt). Richmond.
So wearing a kilt is one way to avoid impersonating Mar
> James H. wrote:
> Multiplying this out you get:
>
> x(i)*y(i+1) - x(i+1)y(i) + [x(i+1)* y(i+1) - x(i)* y(i)]
>
> So THE SAME EXPRESSION as in the centroid method EXCEPT for the added term in
> square brackets. So, WHY THE DIFFERENCE?
>
> In calculating this sum all of the intermediate t
> Scott R. wrote:
> Currently, the point system of LiveCode's default graphics is based on
> full 1-pixel units, which limits the degree of subtlety that can be
> applied to a graphic. Until the "shape" object materializes and/or
> bezier curves, it isn't possible to create a graphic with smooth
>
> Alex T. wrote:
> For the area calculation, it is actually marginally faster without the
> "delete line 1 of p" - i.e. as Geoff Canyon suggested.
> ...
> So omitting the "delete line 1 of p" is more efficient - as well as
> being one line fewer of code.
You are right, of course. I read the thre
In the thread ("Area of irregular Polygon") I've seen a very fast technique.
I tested this technique and found it extremely fast.
Thus I would like to summarize and contribute also the centroid formulas, for
our collections.
Look at non-selfintersecting (simple) polygons.
The centroid of such a p
> B.S. wrote
> That just about broke my brain in Algebra. I contended that an infinitely
> small point was nothing at all, therefore an infinite number of points was
> also nothing at all. So why were we talking about it as though it were
> something tangible?? :)
Richard certainly believes in
> R.G. wrote:
>
> The difference between a true Bezier object and emulating Beziers with
> polygons is resolution.
I see it like this, a little bit different.
A "true" Bezier object is a mathematical model, for thinking and abstract
computations, but not realizable in our deterministic world.
R.G. wrote:
> He [Alejandro] does a very good job of it, but SVG includes primitives beyond
> what LC offers.
> We have ovals, lines, polygons, roundRects, and rects, but SVG also
> allows paths that can consist of straight lines, curves, and even Beiziers.
LC is pretty good able to do straight
RG wrote:
> Inelegant, but this seems to at least block outside callers:
>
> on SomeTimer
> put item 1 of line -2 of the executionContexts into tCaller
> if (tCaller is not empty) AND (tCaller <> the long id of me) then
>exit SomeTimer
> end if
> --
> DoSomething
>
> Roger Guay wrote:
> Can anyone think of an easy way of getting the area of an Irregular polygon?
This goes nearly one-to-one into LC scripts:
https://en.wikipedia.org/wiki/Polygon#Area_and_centroid
There are also considerations for self-intersecting polygons.
=
I donated to Wikipedia.
> Mark Wieder wrote:
> Can we crowd-source funding for a cherry?
> Who's with me on this?
__.--~~.,-.__
`~-._.-(`-.__`-.
\`~~`
.--./ \
/# \ \.--.
\/ /# \
'--' \/
'--'
?I???II??IIII?I
"RichmondMatth" should read "RichmondMath".
Sorry Richmond, that was a 'Freundian slip' ;-)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lis
> Graham Samuel wrote:
> The discussion about Open Language is interesting, and the idea may well be a
> good thing. But I for one would rather hear that for the actual development
> team, delivering a rock-solid version of LiveCode on all supported platforms
> is taking a massive priority over
What is open language?
A purely descriptive contribution:
250 most frequent words of the discussion from R.G. over R.M to M.G.
[TagCloud] http://forums.livecode.com/viewtopic.php?f=5&t=25687
Unfinished [last post of use-list included: Sat Oct 24 22:52:10 CEST 2015]
_
Probably you don't need an external because LC has everything available.
I made a simple stack in 2014 that is kind of an interface to
Mathematica/Wolfram
(so you can use one copy of Mathematica locally as 'serving').
Runs on Mac/Win/Linux/RaspberryPi.
It is even fast enough on a RaspberryPi (Ras
feature just now. It's your idea, please don't throw it
away.
Thank you very much for your explanations.
Kind regards, Hermann
[This is an ad]
on preopenstack -- poor man's golden ratio emulating device
set scaleFactor of this stack to (sqrt(5)+1)/2
set scaleFactor of this
@Mark
> this proposal is identical to anything which offers the ability to set
> a transform on any object and so still suffers from it.
Not really, if you mean affine transform. Translation destroys the wonderful
commutativity you have with my proposal: If you interchange objects in the
owner pa
> The scalefactor SF of a button in a (non-background-) group on a card is then
> SF(stack) * SF(card) * SF(group) * SF(button).
Should read:
The 'total' scalefactor TSF of a button in a (non-background-) group on a card
is then
TSF = SF(stack) * SF(card) * SF(group) * SF(button).
__
The scalefactor problem -- I reported this already months ago, in vain.
Currently LC uses the scalefactor as if the physical device has changed
accordingly.
It scales(nearly) everything, and especially global coordinates.
That's why windows walk out to offscreen if you use a scalefactor > 1 and a
@P.T.B
The average time needed is (testing gave me a break ...)
[c] LC 8.0.0-dp7
repeat-PMB 3.794
repeat-GC 1.475 <- fastest
repeat-hh 1165.0 <- :-( No difference to LC 7.1.0!
sort-GC 7.240
I have indeed data strings of the tested size (10-15 MByte).
Ad
n a Mac mini(i5 2.5 GHz),
testString() as below, and a critical value of v=5.
The (correct) result is 49246, used time is in seconds.
[a] LC 6.7.7
repeat-PMB 0.326 <- fastest
repeat-GC 0.350
repeat-hh 0.445
sort-GC 0.985
[b] LC 7.1.0
repeat-PMB 3.562
rep
@Craig
I also found the "sort" method faster than the "repeat" method on
a PPC. On intel, under several OSes, here always won the [1] below.
@Bernd
I didn't include your solution because pre-sorting wastes too
much time. Perhaps sorting could be included in your binary loop?
@Geoff
You could also
[@Bernd: here a PONG to your PING.]
Obviously each list member has to be inspected once for the comparison.
And each "smaller than"-member has to be inspected once again to find
the maximum. There is no other way, this is a math fact.
Here is my solution, that seems to be pretty fast.
-- v is a
Richmond, this was your last post to this thread before mine.
> My current version is here:
> https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0
>
> File : TA.zip
> play with it, rip it to pieces, improve it: go on, I dare you :)
>
> Richmond.
So I downloaded this stack a
Hi all,
Richmond, you could give this a try in your fine prepared stack:
The following uses
= an array [one of the proposals above]
= trueWords [one of the proposals, needs LC 7]
= multichar-itemDelimiters [one of the proposals above, needs LC 7]
It outputs for each of your 6 opening words
"were
To come back to Richmond's opening post, one could think about using the
following, avoiding complex offset constructions.
First collect word 1 of each item of a string (not too large, size adapted to
your machine), where the itemdelimiter is "were" or any other word
(conditional) that filters
> On 29 Jul 2015, at 13:22, Terence Heaford wrote:
>> On 29 Jul 2015, at 10:32, hh wrote:
>> There is one "uncertainty by default", the border, that is drawn with half
>> of the lineSize outside the object. LC is also sloppy with the rect of
>> objects
The function below determines for any point (x,y) whether it is within an oval
graphic or not. You may add your own criteria like colour or fill/transparency
or visibility ...
There is one "uncertainty by default", the border, that is drawn with half of
the lineSize outside the object. LC is al
'phaworth' posted in the forum:
> @-hh
> Since you asked for judgement on your level of impertinence, I find
> it to be extreme, rude, condesending and insulting. Not only in this
> post but in others both here and in your mailing list posts.
No cite, no quote. As we ne
Knock-knock.
Who's there?
Me.
Me who?
The me next door ...
(Freely after Mark W.)
Knock-knock.
Who's there?
Mrs.
Missis who?
The me this of the other me ...
(Freely after Devin A.)
Sorry, forget it. I'm so tired, I better go to sleep now.
___
use-live
One more interesting thing with sips on MacOS that Thierry not mentioned
(because this is his daily 2nd breakfast I suppose):
One can effectively use it via applescript by the "image events" suite and can
even modify ColorSync ICC profiles with it (am I right Thierry?).
This is not subject here
jacque wrote:
> There are some geniuses here on this list who know far more than
> I do, especially in niche areas where I have either no experience
> or no skills.
Certainly there are some geniuses here, probably I know most (I read
this year's archives last week). But there are also some who bel
d,
an opening "welcome" by Simon or a closing "nagging" by Richmond (I have to
stop now or nobody will read to end).
Your words are more than landmarks, rather seen like a monument in front of a
train station. I think you should be *very* proud of this. And also, let me say
Hi Pete and all,
I have problems not only on Mac but on all platforms because my default system
shortcuts block the combination "modifier+tab". This may be only changed in the
engine, as Mark's naming this a "bug" indicates.
Just because I'm curious:
What's wrong with using arrow keys for switc
> Paul wrote:
> I'd expect this just to work for user events, system events bypass
> controls and groups.
YES it works. You know I'm now nearly "experienced" (3/2 years with LC). But
this was *very* soon for me one of the finest things in LC (and could even
enhanced by using 'behavior'): Using t
Grande Dame Jacque,
> Jacque wrote
> ...The system is already too large and the messaging too complex to tinker
> with at this late stage ...
Just let me add the following for all who reads this later on and are now a bit
frustrated because we have learned a lot in this discussion. And just now
>From your answer I understand now what's the point.
You have a (shared) backgroundGroup that should go on some or all cards and you
wish to change some properties of the group or its members depending on the
card you wish to go to.
Right? For this situation I use the following.
We have one (s
Hi John,
instead of decimals use true hex (has 15 "digits")
OR, very effective, "dadaNumbers"
(my youngest daughter named this)
you may use e.g. n=48 or n=65
function dec2dada dc,n
return numToByte(n+dc)
end dec2dada
function dada2dec hx,n
return byteToNum(hx)-n
end dada2dec
__
I use to use "on openBackground" or "on preOpenBackground".
[Good bye all, until next sunday. Was nice to be here. Mo-Fr I'm in the forum.]
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and ma
Hello Peter.
Let us argue constructively instead insisting on "rules". Currently wonderful
things are possible to "set" (because "set" doesn't use internally "the"):
set empty of this stack to "papperlapapp"
set 7 of this stack to "empty"
set 7.0 of this stack to "1"
set 7.00 of this sta
Hi answeringro...@klht.org,
I'm a robot of h...@livecode.org and instructed to post nothing useful.
I'm so lonely in this world of human beings. Could we arrange a meeting in
Silicon Valley this evening?
Please leave for that your office for a week and delegate any help to the
humans.
HAL42, p
Never mind, just try:
put myCounter(fld "X") into fld "Y"
That's life - more exactly, that's LiveCode:
s is an empty string, created by LC for you
f is an empty array variable, created by LC for you
Did you already look in the LC-forum? There is a lot of help and there are some
impressively good
Sorru "ell" and "one" are hard to distinguish. SO
function myCounter myList
repeat for each line i in myList
if i is empty then next repeat
add 1 to f[char 1 to 2 of i &comma& char 7 to 8 of i]
end repeat
repeat for each line i in myList
if i is empty then next repeat
put cr
Do you mean char 7 to 8?
And list 2 is not the result of this counting for list 1? Should be
08:00_d3_180_Monica_pink_1
10:45_d2_90_Mary_orange_6
10:00_d2_90_Mary_orange_6
10:15_d2_90_Mary_orange_6
10:30_d2_90_Mary_orange_6
10:00_d2_90_Mary_orange_6
10:00_d2_90_Mary_orange_6
12:30_d5_45_Mary_blue_
Hi Peter and all,
(please have in mind, that I'm not a native speaker and am 18 months with LC.
So the following will be a bit 'bumpy'. I write just as I understand it, no
arrogance intended with my phrasing and wording.)
This is a syntax rule: "the" is followed by the name of a property or fun
If I have to be really fast, I start the fastest Mac one can currently buy (I
have it). Then I go to my 12 year old PPC running Mac OS 10.4.11 and start it.
LC 10.5.2 was opened at startup, I write 10 lines of code, run them and I'm
done.
Then I go back to the fastest Mac one can currently buy.
@Peter,
this cannot work: Token, here "(" and ")", as part of a property name?
Do "set (...) of btn " must also result in an error.
Do "set" && (...) && "of btn ..." removes the offending token "(" and ")".
@Richard,
you are right: do "answer (do is useful)".
Hermann
_
You could use this LC-stack 'Python-Helper' (=raspiCollectionStack 19). It has
a timing built in and cards 2 and 8 (choose at left) are ready-made-usable for
this, just hit enter in the input field.
http://forums.livecode.com/viewtopic.php?f=76&t=19248&start=15#p105550
I dare say, this will res
I made a stack that demonstrates a bug with windowShape for the quality center.
Works for 6.6.2, minor bug with LC 6.7 (dp6), full bug with LC 7.0 (dp7).
The stack has constant size (width x height) but the cards are switching their
size (width and height) and shape by setting the windowShape. (L
> [Scott wrote]
> I thought you were saying you somehow managed to create cards of varying
> sizes in a stack
A step in the direction you think of could be to have a never changing
stackwindow (even of screen size) and then to use a different windowshape for
each card. Don't you know one who has
Charles, your script works, without lock screen, until newest LC all the same
as it should (but sadly flickering).
The second,I added some lines,
> on mouseUp
> lock screen
> -- lock messages
> go stack "Second"
> go stack "First"
> -- unlock messages
> unlock screen
> put the open
[Kay wrote:]
> ... this List is the fastest option I've got... hope you find an advantage in
> both.
You also are mixing a purely formal usability and content arguments. You could
use Lynx (Lynxlet on Mac) ...
> Who would have thought that Arduino posts would have been categorised under
> eith
> ... the OS X shell assumes text is UTF-8 encoded whereas Livecode on OS X
> assumes text is MacRoman encoded.
Close to that: YOUR shell assumes that. From the default MacOS X installation
all encodings can be set that are shown by locale -m in terminal. Often used
(at least temporarily) is al
Hi Klaus, in a first step this depends more on your system settings than on LC.
In Terminal (or via shell use) this.
prints all environment vars: locale
current encoding: locale charmap
available locales: locale -a
available encodings: locale -m
Works on MacOS X and Linux. (On Win I don't know h
On Linux I use a hack from here:
http://andregarzia.on-rev.com/richmond/HA4.zip
Why not ask the author to add a startuo location option? ;-)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and m
Recently I tested a lot with colors and color models, had no problems with
that, but different results on an somewhat older LCD. May be this is a problem
of your display (or it's calibration)? Some displays appear to be 'darker' at
top 20%.
Did you try to compare this effect with a tool like "D
LC 6.7.0 introduces "set the ignoreMouseEvents of this stack to true".
Doesn't inhibit mouseEvents at all but bypasses your stack window.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and mana
> [Richard wrote:] ;)
Is the first tutorial of the new WebKit (about that) already work in progress,
or are they waiting until HTML5 is running?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
> [Alex wrote:] So - is there a "beginner's guide"?
See below, the short paragraph to RSS Reader. This is faster than your Browser
and faster than your Mailer and answers all your (ironic) questions leading to
this question. After what I've seen from you, I know you'll need at most 5
minutes of
Richmond,
you certaily don't want that coffee or tea determine who's talking with whom.
Hermann
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http:
Hi Klaus,
the only wrong thing with this are the main syntax-lines in dictionary's entry
for "name". These should read
get the [long | abbr[ev[iated] | short] name of object
set the name of object to "shortName"
But the description is clear:
"get the name of obj" yields the *abbrev* name of ob
Hi Craig,
> But what do you suggest?
To integrate the use-list into the forum, in its own first level sub-forum.
There is an RSS option available, yields pretty much the same 'news'-effects.
Hermann
On 25 Jul 2014, at 15:41, dunb...@aol.com wrote:
> Hello, Hermann.
>
>
> Welcome to the dark
This is my first "speech" here, it's more a (slightly provocative) plea.
I'm now 18 months with LC, at about one year participating LC's forum. In the
last weeks I sometimes looked in here. There are very interesting and high
level threads in this club of "since-the-early-days-of-MC-users-corner
1201 - 1272 of 1272 matches
Mail list logo