Re: Fun programming challenge

2015-12-07 Thread Peter TB Brett
On 07/12/2015 13:45, Geoff Canyon wrote: http://adventofcode.com Two related problems each night at midnight EST. It started easy, but it seems to be getting more challenging. The leaderboard is the top 100, sorted first by how many problems you've solved, and then by the time you submitted

Fun programming challenge

2015-12-07 Thread Geoff Canyon
http://adventofcode.com Two related problems each night at midnight EST. It started easy, but it seems to be getting more challenging. The leaderboard is the top 100, sorted first by how many problems you've solved, and then by the time you submitted solutions, so it ends up being a speed

Re: Fun programming challenge

2015-12-07 Thread Geoff Canyon
On Mon, Dec 7, 2015 at 9:16 AM, Mark Waddingham wrote: > Although it's important to remember that shift left by n bits is the same > as multiplying by 2^n, and right is the same as div by 2^n. Rotate is a > little trickier, admittedly. > > Mark > ​Sure, I didn't say it was

Re: Pointlist to Bezier?

2015-12-07 Thread Michael Kristensen
Thanks to Scott, Hermann and Alejandro for your extensive replies. Herman your smoothing app is cool and working very well! I might not have been precise enough….what I meant was: To a given curve (or pointlist) which bezier will fit it. Kind of reverse-engeneering beziers Thanks Michael

Re: Fun programming challenge

2015-12-07 Thread Mark Waddingham
Although it's important to remember that shift left by n bits is the same as multiplying by 2^n, and right is the same as div by 2^n. Rotate is a little trickier, admittedly. Mark Sent from my iPhone > On 7 Dec 2015, at 14:00, Peter TB Brett wrote: > >> On

Re: sorting words ?

2015-12-07 Thread Matt Maier
The first line in the doc here is "Use the *sort container* command to shuffle the order of lines or items in a container" http://docs.runrev.com/Command/sort-container Do you could use something like this: get "4 6 2

Re: sorting words ?

2015-12-07 Thread [-hh]
Being the first time three words shorter than Klaus :-))) get "4 6 2 8 5" set linedel to SPACE sort it numeric ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Invalid host address

2015-12-07 Thread Bob Sneidar
This interests me. We have clients (not livecode ones) whose print controllers begin to have the same issue. The print controller's network adapter start complaining that it cannot connect to the internet. Investigation has turned up that this is because DNS queries are failing. For some

Re: sorting words ?

2015-12-07 Thread dunbarx
Hi. The dictionary explicitly says "lines" or "items". I don't think it will sort words at all. Even if you: sort it descending numeric It will not throw an error, but it also will not sort. Craig Newman get "4 6 2 8 5" sort words of it ascending numeric -Original

Re: sorting words ?

2015-12-07 Thread Klaus major-k
Hi all, > Am 07.12.2015 um 17:47 schrieb dunb...@aol.com: > > Hi. The dictionary explicitly says "lines" or "items". I don't think it will > sort words at all. Even if you: > sort it descending numeric > It will not throw an error, but it also will not sort. yep, so why not use ITEMS? … get "4

sorting words ?

2015-12-07 Thread jbv
Hi list Just a quick question; the following returns a compilation error : get "4 6 2 8 5" sort words of it ascending numeric Is it because the sort function doesn't apply to words, or am I missing something ? Thanks jbv ___ use-livecode

Best LC version for iOS app

2015-12-07 Thread Richard Miller
What is the best LC version to build an iOS app? Is it recommended to use 7.x or 8.x? I am working on a Mac running 10.11.1 Thanks, Richard Miller ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: On-Rev Support not responding ?

2015-12-07 Thread jbv
well, I'm not sure what to do now... I still haven't received any answer from on-rev support request, despite my post on this list and a reminder sent last week (with the ticket # I got from the automatic response)... I feel like trying an emergency request, although a few weeks ago, in a similar

[ANN] This Week in LiveCode 12

2015-12-07 Thread Peter TB Brett
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #12 here: https://goo.gl/fuhng7 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: On-Rev Support not responding ?

2015-12-07 Thread Matthias Rebbe | M-R-D
I would then suggest to send an email directly to Kevin to remind him. In his reply to this topic on the 3rd December he promised to investigate what went wrong. Matthias > Am 07.12.2015 um 11:15 schrieb j...@souslelogo.com: > > well, I'm not sure what to do now... I still haven't

Re: sorting words ?

2015-12-07 Thread [-hh]
> jbv wrote: > My problem is that I have words inside items... To have in such cases as usual "items" inside "lines" this works for me: set linedel to comma set itemdel to space ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Pointlist to Bezier?

2015-12-07 Thread [-hh]
Hi Michael and all, meanwhile I looked closer at the math of the two algorithms that Alejandro implemented. TMO, this is the answer, no matter if you wish to approximate/smooth bezier-curves or any other path by curves of lower/higher order: [1] If you have not too much points, say an N-gon

Re: Pointlist to Bezier?

2015-12-07 Thread Roland Huettmann
It looks pretty amazing and very nice in the web browser (Chrome). And comparing to the actual stack it really is a true representation of the original stack.. ) A very nice user interface! Unfortunately I can not comment any of the algorithms. Also I could not see a change applying those to

Re: sorting words ?

2015-12-07 Thread jbv
>> jbv wrote: >> My problem is that I have words inside items... > > To have in such cases as usual "items" inside "lines" > this works for me: > > set linedel to comma > set itemdel to space > sure, but I actually have multiple lines with multiple items in each, and multiple words in each

Re: Pointlist to Bezier?

2015-12-07 Thread [-hh]
> Roland H. wrote: > Also I could not see a change applying those to selected drawings. Because it's a demo only the smoothing is only active while the check is ON and then only for the FOLLOWING drawings. Selecting is for editing the points of your drawings only. The slider at bottom for the

Re: sorting words ?

2015-12-07 Thread jbv
Thank you all. Of course, I know how to use (and sort) items instead of words. My problem is that I have words inside items... But nevermind, I will use items inside arrays instead. jbv ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Best LC version for iOS app

2015-12-07 Thread Randy Hengst
Over the past week I submitted a new app and two updates using LC 7.1 and Xcode 6.4. But, I’m using Mac 10.10.5 be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Dec 7, 2015, at 4:37 AM, Richard Miller wrote: > > What is the best LC version to build an iOS

Re: sorting words ?

2015-12-07 Thread Kay C Lan
On Tue, Dec 8, 2015 at 6:17 AM, wrote: > but I actually have multiple lines with multiple items in each, > and multiple words in each item... so working with arrays will do > the sorting trick. > Yes it will but for those who are array adverse here's a way to do it using