## Search found 2256 matches

Fri Jan 24, 2020 7:52 pm
Forum: Talking LiveCode
Topic: Polynomial curve fitting
Replies: 17
Views: 1734

### Re: Polynomial curve fitting

This is the well known polysolve algorithm (which is the general linear model solution specialized for the polygonial hypothesis). See an online computation (incl. your example and a graphical output) for example here: https://arachnoid.com/polysolve/index.html Now you translated that algorithm to L...
Fri Jan 24, 2020 1:34 pm
Forum: Talking LiveCode
Topic: Polynomial curve fitting
Replies: 17
Views: 1734

### Re: Polynomial curve fitting

Why do you ask if you already have a working routine? What a waste of time ...
Fri Jan 24, 2020 8:22 am
Forum: Talking LiveCode
Topic: Polynomial curve fitting
Replies: 17
Views: 1734

### Re: Polynomial curve fitting

First please read https://en.wikipedia.org/wiki/Polynomial_regression to understand that polynomial regression is a special case of multiple linear regression. So all you essentially need is a fast handler for computing the inverse of the matrix X'X where X is given in the wiki above. This is basic ...
Sat Jan 11, 2020 2:16 am
Forum: Off-Topic
Topic: The death of grass?
Replies: 29
Views: 2942

### Re: The death of grass?

The law of averages, no comment. Currently we have: Total posts 173400 • Total members 119998 and 52 members with more than 400 posts: Klaus 11385, FourthWorld 7120, dunbarx 6301, jacque 5171, Mark 5142, bogs 4068, richmond62 3908, Simon 3901, bn 3325, mwieder 2861, jmburnod 2404, [-hh] 2195, SparkO...
Thu Jan 02, 2020 3:23 pm
Forum: Feature Proposals
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 48
Views: 4640

### Re: Replace LiveCode Script with JavaScript, forever

LiveCode needs JavaScript. Yes, we wait since years for general do as "javascript", not only for HTML5 standalones. That would expand the possibilities of LiveCode significantly. But I say also: JavaScript needs LiveCode. That would expand the possibilities of JavaScript significantly. Instead of s...
Mon Dec 23, 2019 11:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find value in data columns
Replies: 7
Views: 702

### Re: Find value in data columns

You could use a sort function (shortens Craig's first handler a little bit): Given your data is in field "IN". on mouseUp answer closestValue(2755, fld "IN") end mouseUp function closestValue pVal, pStr sort pStr numeric by abs(pVal - word 1 of each) return word 2 of line 1 of pStr end closestValue
Sat Dec 21, 2019 1:33 pm
Forum: Talking LiveCode
Topic: Anomalies in keyboard shortcuts for menus on Mac
Replies: 8
Views: 890

### Re: Anomalies in keyboard shortcuts for menus on Mac

Menu Builder: This is not an anomaly but what we need to use shift-chars (that is you need shift to have it) or alt-chars (that is you need option/alt to have it) or both. For example, if you have a key on your keyboard that has "/" as lower char and "?" as shift-char. Then builder: cmd + "/" --> fi...
Thu Dec 12, 2019 11:16 pm
Forum: HTML5
Topic: Successful test
Replies: 75
Views: 45067

### Re: Successful test

HTML5: Native PlainText Fields (basic example) The attached stack has a script of 90 lines. This includes (beside comments) all you need for creating an input field (one line) and a textarea. Both display plain text only but with all usual keyboard features (UTF-8 and cmd-A/C/V/X/Z) and drag&drop. ...
Thu Dec 12, 2019 10:56 pm
Forum: HTML5
Topic: Will HTML5 development continue?
Replies: 24
Views: 2280

### Re: Will HTML5 development continue?

@Richmond. Of course a "playground" (will become soon a primitive IDE) doesn't look like a LiveCode stack. The purpose of my HTML5 examples is to show some aspects of what is possible to have in HTML5 standalones. All examples were made parallel to the evolving features of HTML5 deployment since 201...
Thu Dec 12, 2019 8:44 pm
Forum: HTML5
Topic: Will HTML5 development continue?
Replies: 24
Views: 2280

### Re: Will HTML5 development continue?

Richmond wrote:... AND, pardon my ignorance, but what is this?
This is a demo for at least medium advanced developers. (Honestly, I expect you to have such a level.)
Thu Dec 12, 2019 5:45 pm
Forum: HTML5
Topic: Testing locally HTML5 apps
Replies: 3
Views: 593

### Re: Testing locally HTML5 apps

In order to test with LC 9.0.5 or later simply hit the button TEST of the LC toolbar . Optionally select a browser different from the default browser of your OS from menu Development > Test Target. Then LC opens your standalone with a (newly generated) local server using files generated in the tempo...
Wed Dec 11, 2019 11:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Text overlay on browser widget?
Replies: 2
Views: 439

### Re: Text overlay on browser widget?

Wed Dec 11, 2019 10:42 pm
Forum: HTML5
Topic: Will HTML5 development continue?
Replies: 24
Views: 2280

### Re: Will HTML5 development continue?

@FourthWorld
You also made recently a great fuss about posts (related to karmacomposer) that didn't "hit" the topic.
What has your question to do with the current topic?
Wed Dec 11, 2019 5:40 pm
Forum: HTML5
Topic: Will HTML5 development continue?
Replies: 24
Views: 2280

### Re: Will HTML5 development continue?

Yes, it is possible. Here is a native rich text field: http://hyperhh.de/html5/HTML5Field_v106-9.5.0X.html And here http://hyperhh.de/html5/html5IDE.html are native plain text fields (still a bit slow because these are six standalones): the scriptEditor, the properties field of the property inspecto...
Tue Dec 10, 2019 7:59 pm
Forum: Talking LiveCode
Topic: Concurrent loop/string processing to speed up Livecode
Replies: 21
Views: 2018

### Re: Concurrent loop/string processing to speed up Livecode

Yes, Dick hit the nail on the head. Using true for arrays "as set" simplifies and fastens the check for being an element of "combined" (mathematical) sets tA and tB: if tA[tKey] is true: tKey is element of tA if tA[tKey] and not tB[tKey] is true: tKey is element of the difference tA \ tB if tA[tKey]...