Search found 2106 matches

by [-hh]
Fri Feb 07, 2020 7:18 pm
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 24776

Re: Python code I'm trying to copy over to LC

Just for reference: Jim Hurley wrote a Sudoku application using LiveCode http://jamesphurley.com/Sudoku.htm ... but on the website I couldn't see anything relating to it being able to completely solve a sudoku? Can it? It is a fine exercise/learning step to implement one of the many solution tools ...
by [-hh]
Fri Feb 07, 2020 6:39 pm
Forum: Internet
Topic: Allow Downloads from Websites with Browser Widget?
Replies: 7
Views: 9367

Re: Allow Downloads from Websites with Browser Widget?

Until that you could simply use browserUnhandledLoadRequest , e.g. on browserUnhandledLoadRequest pUrl -- set download target: set itemdel to slash put item -1 of pURL into tF set itemdel to comma ask file "Download as:" with tF if it is empty then exit browserUnhandledLoadRequest -- download: put u...
by [-hh]
Wed Feb 05, 2020 7:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 12620

Re: Two developers same project ?

Sorry 'jacque', I corrected the typo.
I cited the last line of viewtopic.php?p=136476#p136476
by [-hh]
Wed Feb 05, 2020 6:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Force LC to start on second monitor
Replies: 5
Views: 3655

Re: Force LC to start on second monitor

There is also a function the screenrects that may be useful here, additionally to Craig's answer.
See the documentation for this plural form in the entry for the singular form "screenrect".
by [-hh]
Wed Feb 05, 2020 6:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 12620

Re: Two developers same project ?

Yes. And this is also 4 years old:
the OP wrote:Will we have less development features in the community edition than in the Indy one ?
jacque wrote:The license you choose doesn't matter, they all work the same way.
But that answer is still wrong.
[Edit. Corrected from "jacques" to "jacque", sorry for the typo.]
by [-hh]
Wed Feb 05, 2020 12:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 12620

Re: Two developers same project ?

jacques wrote:The license you choose doesn't matter, they all work the same way.
Wrong.
As to Indy and Community versions there are at least two differences
(besides ability to password protect script):
tsNet/internet library and camera access (cameraControl)
are not available in the community version.
by [-hh]
Mon Feb 03, 2020 1:16 am
Forum: HTML5
Topic: Successful test
Replies: 78
Views: 106226

Re: Successful test

Added to html5Player (v104 alpha) https://hyperhh.de/html5/html5Player.html 1. Your added local (uncompiled) stacks can use as textfont : Aclonica, Andale Mono, DejaVu Sans, DejaVu Serif, Impact, Inconsolata, Optima, Permanent Marker, Skia, Verdana else textfont falls back to Droid Sans. 2. html5Pla...
by [-hh]
Fri Jan 31, 2020 1:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Avoid double .png file with same data
Replies: 2
Views: 2847

Re: Avoid double .png file with same data

Hi Jean-Marc, there is certainly no simpler way. But you could also try the following that is a little bit shorter (and assumes that the resource fork size isn't needed any more). -- reports *all* png files in destination folder that have compare-data on mouseUp put url("binfile:/Users/admin/tum.png...
by [-hh]
Thu Jan 30, 2020 5:32 am
Forum: Raspberry Pi
Topic: New RPi 4 is out
Replies: 7
Views: 12949

Re: New RPi 4 is out

Certainly not what you want but in that direction: Of course LC 6.5.1/7.0.4 run on Raspi 3/4. But also: The html5Player ( 9.5.1 HTML5 standalone ) https://hyperhh.de/html5/html5Player.html runs in the (standard) chromium browser of Raspi 3/4. So you can load it once (slow) and run LC 6/7/8/9 stacks ...
by [-hh]
Wed Jan 29, 2020 10:16 pm
Forum: HTML5
Topic: Successful test
Replies: 78
Views: 106226

Re: Successful test

HTML5: html5Player (v102 as of Jan 30, 2020) This is a HTML5 standalone (webApp in the new LC wording). https://hyperhh.de/html5/html5Player.html (audio/video streaming then only works from https-streams!). This is a "standalone-Plus" that is, it is extended by javascript for several features that ...
by [-hh]
Fri Jan 24, 2020 7:52 pm
Forum: Talking LiveCode
Topic: Polynomial curve fitting
Replies: 17
Views: 11815

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...
by [-hh]
Fri Jan 24, 2020 1:34 pm
Forum: Talking LiveCode
Topic: Polynomial curve fitting
Replies: 17
Views: 11815

Re: Polynomial curve fitting

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

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 ...
by [-hh]
Sat Jan 11, 2020 2:16 am
Forum: Off-Topic
Topic: The death of grass?
Replies: 29
Views: 17850

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...
by [-hh]
Mon Dec 23, 2019 11:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find value in data columns
Replies: 7
Views: 4197

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

Go to advanced search