Search found 664 matches

by Thierry
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: 25
Views: 994

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. ...
by Thierry
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: 25
Views: 994

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 ...
by Thierry
Wed Feb 12, 2020 8:02 am
Forum: Feature Requests
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 41
Views: 2498

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...
by Thierry
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: 25
Views: 994

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 ...
by Thierry
Tue Feb 11, 2020 10:46 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3091

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...
by Thierry
Tue Feb 11, 2020 5:14 am
Forum: Feature Requests
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 41
Views: 2498

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...
by Thierry
Tue Feb 11, 2020 4:10 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3091

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...
by Thierry
Tue Feb 11, 2020 3:50 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 22
Views: 3091

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 :wink:
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
by 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: 25
Views: 994

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.


sudokuB.png

Thierry
by 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: 25
Views: 994

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...
by Thierry
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: 150

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...
by Thierry
Sat Jan 25, 2020 11:49 am
Forum: Developer Services Marketplace
Topic: Simple Music DLL/ Library
Replies: 9
Views: 681

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.

Contact made...

Thierry
by 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: 942

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
by Thierry
Fri Nov 15, 2019 10:26 am
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 20
Views: 1276

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...
by Thierry
Thu Nov 14, 2019 5:43 am
Forum: Off-Topic
Topic: hand-coding html and css
Replies: 4
Views: 706

Re: hand-coding html and css

mwieder wrote: COMPLETELY OT: Think you're good with css? html?
This is in the author's own words, completely hand-coded in css and html.
Amazing :shock:

Thanks Mark for sharing.

Thierry

Go to advanced search