Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Geoff Canyon via use-livecode
One thing I don't get is how (not) caseSensitive gets handled? Once the text is all binary data, is the engine really still able to look at the binary values for "A" and "a" and treat them as the same? On Sat, Nov 10, 2018 at 8:54 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com>

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Brian Milby via use-livecode
The correct formula for UTF16 should be: put tPos div 2 + 1,"" after tResult The correct formula for UTF32 should be: put tPos div 4 + 1,"" after tResult If you go to card #6 of my stack that is on GitHub, it has the first chapter of John that I copied from the internet. I added a single

Re: [ANN] Release 9.0.2 RC-1

2018-11-10 Thread Pi Digital via use-livecode
Perhaps we should get a simplified version of this into every release note from here on in. It will save a whole heap of hunting around for them. Sean Cole Pi Digital > On 10 Nov 2018, at 14:59, Sannyasin Brahmanathaswami via use-livecode > wrote: > >

Re: [ANN] Release 9.0.2 RC-1

2018-11-10 Thread hlowe via use-livecode
Thanks @BR. Henry -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Niggemann, Bernd via use-livecode
Hi Richmond Richmond via use-livecode<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com=from:%22Richmond+via+use%5C-livecode%22> Sat, 10 Nov 2018 11:42:50 -0800<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com=date:20181110> >I don't kn

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Niggemann, Bernd via use-livecode
That is what I alluded to, UTF is a wild country and I don't know my ways, try - function allOffsets pDelim, pString, pCaseSensitive local tNewPos, tPos, tResult put textEncode(pDelim,"UTF32") into pDelim put textEncode(pString,"UTF32") into pString set

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Geoff Canyon via use-livecode
Unfortunately, I just discovered that your solution doesn't produce correct results. If I get the offsets of "aa" in "↘܎aa↘܎a↘܎", My code (and Brian Milby's) will return: 7,8,9,10 Your code will return: 9,10,11,12 As I understand it, textEncode transforms unicode text

Re: put the openStacks

2018-11-10 Thread J. Landman Gay via use-livecode
Well you wouldn't be our Richmond if you weren't occasionally silly, but I'd be glad to kick you next time we meet if you like. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2018 4:04:17 PM Richmond via use-livecode

Re: put the openStacks

2018-11-10 Thread Richmond via use-livecode
    Well the mouseUp did trigger AFTER I pulled a mouseUp from "higher up the tree"; and, Thanks, Jacque, I do deserve to be kicked for that one. All "rather" silly really. http://forums.livecode.com/viewtopic.php?f=6=31740#p173118 Richmond. On 10.11.18 г. 23:04 ч., J. Landman Gay via

Re: LC/macOS App Store

2018-11-10 Thread Pi Digital via use-livecode
https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0.pdf#page32 To quote: > The IDE is now 64-bit by default on Mac > Moreover, the "Build for Mac OS X 64-bit" is checked by default on newly > created stacks in the standalone settings for OS X. Existing stacks will > retain their

Re: SSL with HTTPD Library?

2018-11-10 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > On 11/1/18 5:02 PM, Stephen MacLean via use-livecode wrote: >> LC server, can do it, but also suffers, from what I’ve read in my >> research, a speed penalty from CGI implementation vs direct sockets, >> etc. > > Well that "speed penality" is theoretical. Our

Re: put the openStacks

2018-11-10 Thread J. Landman Gay via use-livecode
Does the mouseUp trigger at all? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2018 12:03:51 PM Richmond via use-livecode wrote: So . . . If I type * put the openStacks into fld "STAX"* in the *messageBox* (assuming

Re: LC/macOS App Store

2018-11-10 Thread Richard Gaskin via use-livecode
JJS wrote: > In Mojave i got a a message "you are running a 32bit program" (the > livecode ide). > > Within a certain amount of time it's going to "force" to use 64bit > programs Yep, and the team has come through: several months ago they delivered v9.0, which now allows standalone building

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Niggemann, Bernd via use-livecode
I figured that the slowdown was due to UTF8, for each char it has to test if it is a compounded character. So I just tried with utf16 figuring, that now it just compares at the byte-level. As it turned out it was indeed faster. Now I don't understand unicode but as I understand for some

Re: FCM Push Notification Icon no longer appearing as expected

2018-11-10 Thread JJS via use-livecode
Yes! I changed the notification icon to a white one at 192x192 px. And now it is turning up again. Although i liked a colourful one more. At least it works. No one is using push notifications on mobile?? Op 9-11-2018 om 22:02 schreef JJS via use-livecode: Well after some searching. It

Re: LC/macOS App Store

2018-11-10 Thread JJS via use-livecode
By the way. In Mojave i got a a message "you are running a 32bit program" (the livecode ide). Within a certain amount of time it's going to "force"  to use 64bit programs Op 10-11-2018 om 20:08 schreef Richard Gaskin via use-livecode: Bob Sneidar wrote: > People cannot remember commands,

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Richmond via use-livecode
I don't know who told you that ð was an Icelandic d. The ð is called the "eth", and was used in Anglo-Saxon interchangeably with the thorn to represent the 2 sounds that are now represented in English by the digraph th. As such Icelandic has retained the eth sign. In Icelandic the /d/ sound

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Geoff Canyon via use-livecode
This is faster -- under some circumstances, much faster! Any idea why textEncoding suddenly fixes everything? On Sat, Nov 10, 2018 at 5:13 AM Niggemann, Bernd via use-livecode < use-livecode@lists.runrev.com> wrote: > This is a little late but there was a discussion about the slowness of >

Re: LC/macOS App Store

2018-11-10 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > People cannot remember commands, especially not terminal commands, > with all the arguments and caveats and different ways to put it all > together. For end-users, the awareness of that principle is very powerful. But where are we, here in this discussion? On a mailing

put the openStacks

2018-11-10 Thread Richmond via use-livecode
So . . . If I type * put the openStacks into fld "STAX"* in the *messageBox* (assuming that I have an open stack containing a listField called "STAX") I get a lovely list of . . . wait for it . . . the open stacks. However (8.1.9) if I have a button on that stack containing *on mouseUp put

Re: [ANN] Release 9.0.2 RC-1

2018-11-10 Thread Sannyasin Brahmanathaswami via use-livecode
@ henry Most Apple developers know this but I stumbled on the procedure so many times I thought I would help Panos, FWIW, https://developer.apple.com/download/more/ filter the list to iOS (side panel) 1) get Xcode 10.0 2) also Command_Line_Tools_macOS_10.14_for_Xcode_10.dmg It seems when

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Keith Martin via use-livecode
Hi Andre, I'm based in London – I live in Mitcham/Tooting and I work in Elephant & Castle. I'm game! k On 9 Nov 2018, at 17:04, Andre Alves Garzia via use-livecode wrote: Hey Friends, Who here is from London or nearby and would be interested in regular meetups? We could meet once a

How to find offsets in Unicode Text fast

2018-11-10 Thread Niggemann, Bernd via use-livecode
This is a little late but there was a discussion about the slowness of simple offset() when dealing with text that contains Unicode characters. Geoff Canyon and Brian Milby found a faster solution by setting the itemDelimiter to the search string. They even provided a way to find the position

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Pi Digital via use-livecode
Assuming you mean London, UK, I’d be able to occasionally if the dates are ok. I’m in Chatham, North Kent so it’s only 40mins away by train. Sean Cole Pi Digital > On 9 Nov 2018, at 17:04, Andre Alves Garzia via use-livecode > wrote: > > Hey Friends, > > Who here is from London or nearby

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Pi Digital via use-livecode
Assuming you mean London, UK, I’d be able to occasionally if the dates are ok. I’m in Chatham, North Kent so it’s only 40mins away by train. Sean Cole Pi Digital > On 10 Nov 2018, at 12:54, Andre Alves Garzia via use-livecode > wrote: > > I hope you come this way soon Stephen :-D Are you

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
I hope you come this way soon Stephen :-D Are you going to the next conf in San Jose? Cheers andre On 11/9/2018 8:32 PM, Stephen Barncard via use-livecode wrote: Andre - If I were ANYWHERE in the EU I would love the opportunity to meet up with you anytime! but I'm stuck in (a nice part of)

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
Keith, Thats awesome! I think we should create a little meetup page and set a date! Andre PS: Buying you a beer as well :-) On 11/9/2018 5:44 PM, Keith Clarke via use-livecode wrote: Andre, I’m based near London and would be happy to meet in Town & buy you a beer. :-) Best, Keith On 9

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
I hope to be there soon! :D haven't been there in years! On 11/9/2018 5:09 PM, Alex Tweedly via use-livecode wrote: Hey - Edinburgh is (roughly) half-way between, how about there :-) On 09/11/2018 17:06, Ingar Roggen via use-livecode wrote: Why not in Oslo? Sendt fra min iPhone 9. nov.

Re: the beauty of the command line tools (a side note from Re: LC/macOS App Store)

2018-11-10 Thread JJS via use-livecode
In the release notes of LC is a line that states: LC is actually a command line tool. Op 10-11-2018 om 13:18 schreef Pi Digital via use-livecode: Hi Just to follow on from Andre, you can of course also run terminal scripts from LC. That’s exactly what I did in the aforementioned OSX Package

Re: the beauty of the command line tools (a side note from Re: LC/macOS App Store)

2018-11-10 Thread Pi Digital via use-livecode
Hi Just to follow on from Andre, you can of course also run terminal scripts from LC. That’s exactly what I did in the aforementioned OSX Package Maker (soon to be reissued as the iOS/macOS Package Maker). You ‘could’ make a GUI for every terminal command available including every nuance and

Re: SSL with HTTPD Library?

2018-11-10 Thread Andre Alves Garzia via use-livecode
Aloha Swami and all, That "speed penality" is not theoretical at all. It is very real and the reason why most of the cutting-edge web ecosystem moved away from CGI. The main technical appeal of NodeJS, WSGI, OpenResty, and others is that they are FAST, non-blocking and don't require new

the beauty of the command line tools (a side note from Re: LC/macOS App Store)

2018-11-10 Thread Andre Alves Garzia via use-livecode
Bob, I am hijacking this thread to express some personal opinions about the terminal, it is not related to the topic of the original message but a different perspective on the subject you brought up on your reply. When I first for my mac (A G3 running Mac OS 8.x) and started developing for