Re: Sort IP List

2018-06-30 Thread Mark Wieder via use-livecode
Ralph- Not that I'm doubting your findings, but those both seem mind-bogglingly nonsensical to me. Can you post your test code? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

RE: Sort IP List

2018-06-30 Thread Ralph DiMola via use-livecode
vec...@lists.runrev.com=from:%22hh+via+use%5C-livecode%22> Sat, 30 > Jun 2018 03:12:55 -0700<https://www.mail-archive.com/search?l=use- > livec...@lists.runrev.com=date:20180630> wrote: > > > @Bernd > Depending on the function an inline computation (as Alex denoted) may

Re: WooCommerce API Manager & Livecode

2018-06-30 Thread Tom Glod via use-livecode
ok i did.wanted to pass this along too https://wordpress.org/plugins/software-license-manager/ On Sat, Jun 30, 2018 at 3:52 PM, Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com> wrote: > Yes, of course. > > bogdan...@me.com > > Peter > > > > On Jun 30, 2018, at 12:23 PM,

Re: WooCommerce API Manager & Livecode

2018-06-30 Thread Peter Bogdanoff via use-livecode
Yes, of course. bogdan...@me.com Peter > On Jun 30, 2018, at 12:23 PM, Tom Glod via use-livecode > wrote: > > Woocommerce works awesome ..its a safe and sound decision. I almost did > all that work, but the project did not go ahead. > > I checked out your website and i am quite interested

Re: Sort IP List

2018-06-30 Thread Tom Glod via use-livecode
Kind regards > Bernd > > > > > hh via use-livecode<https://www.mail-archive.com/search?l=use- > livec...@lists.runrev.com=from:%22hh+via+use%5C-livecode%22> Sat, 30 > Jun 2018 03:12:55 -0700<https://www.mail-archive.com/search?l=use- > livec...@lists.runrev.com=date:2

Re: WooCommerce API Manager & Livecode

2018-06-30 Thread Tom Glod via use-livecode
Woocommerce works awesome ..its a safe and sound decision. I almost did all that work, but the project did not go ahead. I checked out your website and i am quite interested in what you are building. Can I send you a PM about your project? On Sat, Jun 30, 2018 at 3:09 PM, Peter Bogdanoff via

WooCommerce API Manager & Livecode

2018-06-30 Thread Peter Bogdanoff via use-livecode
Hi, Has anyone integrated WooCommerce API Manager into Livecode? I have a WooCommerce/WordPress website using WooCommerce Subscriptions. I want to use issued serial keys from API Manager to activate my application and then later have my application verify subscription currency when the app

Re: Sort IP List

2018-06-30 Thread Niggemann, Bernd via use-livecode
-livecode@lists.runrev.com=date:20180630> wrote: @Bernd Depending on the function an inline computation (as Alex denoted) may be even faster than the private function calls? Here, with IPv4 addresses, it is faster. ___ use-livecode mailing list

Re: bitwise shifts gone?

2018-06-30 Thread Mark Wieder via use-livecode
On 06/30/2018 10:34 AM, Jerry Jensen via use-livecode wrote: And I read about bitor in the 9.0.0 dictionary: the operands are treated as binary between 0 and a signed 32 bit integer (2^32 - 1) max. So bitor wouldn’t do unless it has grown up into the 64 bit world. that's a bit (or 32)

Re: bitwise shifts gone?

2018-06-30 Thread Mark Wieder via use-livecode
On 06/30/2018 10:27 AM, Paul Dupuis via use-livecode wrote: I just looked back in dictionaries for older version back to 6.7.11 and there are no shift operators in the dictionary. You have bitAnd, bitOr, bitXor and botNot, but no shifts operators. Are you sure there were ever in the language to

Re: bitwise shifts gone?

2018-06-30 Thread Jerry Jensen via use-livecode
> On Jun 30, 2018, at 10:03 AM, Jerry Jensen via use-livecode > wrote: > > >> On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode >> wrote: >> >> Indeed. I'm not too upset about the loss of the bitshift operators other >> than the lack of backward compatibility, but I'm surprised by

Re: bitwise shifts gone?

2018-06-30 Thread Paul Dupuis via use-livecode
On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode wrote: > Indeed. I'm not too upset about the loss of the bitshift operators other than > the lack of backward compatibility, but I'm surprised by their demise. In > terms of minimal use of microprocessor cycles I'd expect that the

Re: bitwise shifts gone?

2018-06-30 Thread Mark Wieder via use-livecode
On 06/30/2018 10:03 AM, Jerry Jensen via use-livecode wrote: On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode wrote: Indeed. I'm not too upset about the loss of the bitshift operators other than the lack of backward compatibility, but I'm surprised by their demise. In terms of

Re: bitwise shifts gone?

2018-06-30 Thread Jerry Jensen via use-livecode
> On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode > wrote: > > Indeed. I'm not too upset about the loss of the bitshift operators other than > the lack of backward compatibility, but I'm surprised by their demise. In > terms of minimal use of microprocessor cycles I'd expect that

Re: Sort IP List

2018-06-30 Thread Brian Milby via use-livecode
Here are some times on my system for comparison (10 random IPs): 216% - ip2dec: 463 ms 190% - ip2decpvt: 407 ms 171% - ip2dec2: 366 ms 147% - ip2dec2pvt: 314 ms 200% - sortIPList: 427 ms --> original from Bob 100% - sortIPList2: 215 ms --> Alex's inline with constants 152% - sortIPList3: 325

Re: bitwise shifts gone?

2018-06-30 Thread Mark Wieder via use-livecode
On 06/30/2018 03:50 AM, hh via use-livecode wrote: Mark, obviously you ask relating to Bob's IPv4 sort problem. A perceptive observation, as always. But when optimising (for speed) the connected formula (1) a + b * 2^8 + c * 2^16 + d * 2^32 using the constants is slightly faster: (2) a

Re: MouseMove and HTML5

2018-06-30 Thread Roger Guay via use-livecode
Huh, back to the drawing board. Thanks! > On Jun 30, 2018, at 2:09 AM, hh via use-livecode > wrote: > > MouseMove works in HTML5 standalones, see for example > http://hyperhh.de/html5/RGBPuzzle-8.0.2X.html > > ___ > use-livecode mailing list >

Re: bitwise shifts gone?

2018-06-30 Thread hh via use-livecode
Mark, obviously you ask relating to Bob's IPv4 sort problem. But when optimising (for speed) the connected formula (1) a + b * 2^8 + c * 2^16 + d * 2^32 using the constants is slightly faster: (2) a + b * 256 + c * 65536 + d * 16777216 Why is the engine not handling the internal bitshifts

Re: Sort IP List

2018-06-30 Thread hh via use-livecode
Remains to remark that the upcoming standard IPv6 with its text representations (Section 2.2 of https://tools.ietf.org/html/rfc4291) will require more detailed methods, both for number base conversion and for item sorts/cosorts (the items are hex numbers ...) @Bernd Depending on the function an

Re: MouseMove and HTML5

2018-06-30 Thread hh via use-livecode
MouseMove works in HTML5 standalones, see for example http://hyperhh.de/html5/RGBPuzzle-8.0.2X.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Sort IP List

2018-06-30 Thread Niggemann, Bernd via use-livecode
if you replace ip2dec with the same functionality as Hermann's (HH) function with private function ip2dec2 x set the itemdel to "." return (item 4 of x) + (item 3 of x * 256) + (item 2 of x * 65536) + (item 1 of x * 16777216) end ip2dec2 then the special sort via function is faster than

Re: Tessellated hexagonal grid?

2018-06-30 Thread Richmond Mathewson via use-livecode
Marvellous. Thank you very much indeed! Richmond. On 30/6/2018 3:26 am, hh via use-livecode wrote: A simple hexagonal grid creating stack: http://forums.livecode.com/viewtopic.php?p=168657#p168657 You choose the number of rows and columns and, for "scaling", the horizontal radius and