## Search found 665 matches

Fri Feb 21, 2020 8:57 am
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

### Re: Sudoku Code [was: python code I'm trying to copy over to LC]

Hi sudoku masters, Out of curiosity, I wanted to benchmark the same algorithm in pure LC script versus Lua script... For that, I've updated my Lua external to be 64 bits plus running the latest Lua engine (5.3) function check( N, R, C) for i = 1 , 9 do if puzzle[ R][ i] == N then return false end if...
Thu Feb 13, 2020 3:55 pm
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

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

Hi, Here is a tiny stack containing 3 different sudoku solvers. It's more or less a recap of our sudoku's discoveries from Opaquer, Hermann and myself. sunnYscreenshot.png All the scripts are in the card. I've tried to organized the code so it's easy to follow and to compare the 3 solutions. Enjoy. ...
Wed Feb 12, 2020 8:09 am
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

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

That is an impressively fast Sudoku Solver! I'm definitely going to have to try convert this to LC and see how it compares, but I think this is the next step to making the perfect app! Hi Opaquer, I believe you choose the right track, but be ready for some slowdown. Anyway will be much better than ...
Wed Feb 12, 2020 8:02 am
Forum: Feature Requests
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 41
Views: 2635

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

Many Thanks for answering the request in this thread. At some moment, Did you announced a python external too? Or Did someone else announced it? https://forums.livecode.com/viewtopic.php?t=17989 Hi Hal, Same problem with python; technically it's doable but it needs time to do it and need some speci...
Tue Feb 11, 2020 3:42 pm
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

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

Thierry, this is a really fine optimization you have worked out for that. Thank you Hermann, On the other hand, the dancing links algorithm X (DLX) by D. Knuth is well known to be very fast for solving even difficult puzzels. Find enclosed a stack that does a JS implementation of that algorithm in ...
Tue Feb 11, 2020 10:46 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3144

### Re: BBEdit 13 Language module for LC

Oh you’re a tease! Sounds great. Maybe I could beta test something for you? 8-) Hi Kelly, Don't know if I am a tease but for sure I do know how to count :wink: Since the OP posted almost a year ago, 5 livecoders show up in this thread; 5 ! Well, that says it all... Edit: I've asked to an English sp...
Tue Feb 11, 2020 5:14 am
Forum: Feature Requests
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 41
Views: 2635

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

Hi I would put to a crowd fund - even a monthly payment for Thierry to do as he has done with Perl and Lua. Even if it took a year because of other commitments we know it would be done. While Thierry is at it I bet he could EASILY crowdfund a Python or Javascript "external" - I believe it's seamles...
Tue Feb 11, 2020 4:10 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3144

### Re: BBEdit 12.5 Language module for LC

hi Thierry Did BBEdit 13 break things or make it better for you? Will there be a general release planned for (sooner rather than later) the masses at some point? Have loved and used BBEdit for more than 15 years so would love to use it rather than the SE! Hi Kelly, BBLC works pretty well with BBEdi...
Tue Feb 11, 2020 3:50 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3144

### Re: BBEdit 12.5 Language module for LC

kaveh1000 wrote: I would love to see this too, but no pressure Thierry.
No worries Kaveh, I have absolutely no pressure this way
I use BBEdit to test the regex patterns before using Thierry's SunnRex.
I guess you mean sunnYrex:

https://sunny-tdz.com/livecode/sunnyrex

Thierry
Tue Feb 11, 2020 3:44 am
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

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

and the code B- in the results from previous post.
This is a variant of Hermann's code posted before in this thread.

Thierry
Mon Feb 10, 2020 6:37 pm
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 1141

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

Hi, Had some fun helping Opaquer with his Python's code. Then Hermann post his nice and elegant piece of code... After that, I've spent a couple of hours trying to optimize a bit but not changing the algorithm (formula) of the solver. Here are the results so far; details will come later... sudoku r1...
Mon Feb 10, 2020 6:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MatchChunk is true but positionVarsList is empty
Replies: 2
Views: 164

### Re: MatchChunk is true but positionVarsList is empty

Hi, Please, try this... local inputText, rex, catchedText, t1, t2 put "J<something>Jan 31, 2020</span></td><td class=" into inputText put ">(Dec|Nov|Oct|Sep|Feb|Ma[ry]|A[up][gr]|J[au][nl])\s([0123]\d),\s(\d{4})" into rex if matchChunk(inputText, rex ,t1, t2 ) then put "Found: " & char t1 to t2 of in...
Sat Jan 25, 2020 11:49 am
Forum: Developer Services Marketplace
Topic: Simple Music DLL/ Library
Replies: 9
Views: 706

### Re: Simple Music DLL/ Library

capellan wrote: Could you write to Thierry?
https://sunny-tdz.com/livecode/externals
Thanks a lot Capellan.
You are right, I'm not reading often this forum.

Thierry
Fri Nov 15, 2019 10:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Latency on playing sounds to external bluetooth speaker
Replies: 16
Views: 977

### Re: Latency on playing sounds to external bluetooth speaker

Hi Trevix,

Why you're not testing playing your sound with another music app, but not LC ?

If this sound is played perfectly on the same device over bluetooth
then you'll have some useful information...

My 2 cents,

Thierry
Fri Nov 15, 2019 10:26 am
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 20
Views: 1318

### Re: Finding folder/files in the application folder

Your experience seems really important for those of us who create macOS standalones. (I'm assuming that your broken apps were written in LC.) Perhaps you've reported on this elsewhere Hi Jeff, Well, I think you're overestimating my knowledge in this area. In fact, I've put aside my development, wai...