Re: livecode 8 system tray / osx menu bar support

2016-06-11 Thread Monte Goulding
Thanks Maarten. Could you report on quality.livecode.com

Sent from my iPhone

> On 12 Jun 2016, at 1:00 AM, Maarten Koopmans  
> wrote:
> 
> Report where? I am happy to do so.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Need Help With String Pattern Matching

2016-06-11 Thread Gregory Lypny
Hello everyone,

I’ve just come back to LiveCode and I'm pretty little rusty. I used to do some 
basic text analysis of files where the lines containing strings of interest 
were consistent and therefore easy to spot. I am now working on files where the 
chunk of text that contains the data I want is more ambiguous. I figure I 
should be using MatchChunk and was wondering if anyone might give me some tips 
on how to do the following. The chunk that I want to extract will have a 
certain word or phrase near its start and a certain word or phrase near its 
end. There may be many such chunks like it in the document, but the best 
candidate contains certain other strings. Here’s an example:

The chunk starts with the word *owner* or the phrase *beneficial owner*.

The chunk ends with *all directors* or *less than one percent*.

The chunk contains all of the following:
- At least four or five big numbers, e.g., 234,879
- At least two percentages, e.g., 3.4%, or percentage signs

If you are curious, this would more or less identify an ownership table in a 
proxy statement filed at the Securities and Exchange Commission. These are 
archived at the SEC in text and html (in vintages going back to about 1994).

Any tips or examples would be much appreciated.

Regards,

Gregory




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Very OT - Bad pun

2016-06-11 Thread pink
Jerry Daniels-3 wrote
> I figured out what 'Ali awesomeness' meant just before I checked email.
> I've got Mohammed Ali on the brain this week, I suppose.

I realize the spelling is off, but RunRev could put on their own Ali-Fraser
match.

and I can't think of anything that rhymes Edinburgh... but if we moved it
just a little ways away we could call it the "Fiasco is Glasgow"



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/mergExt-Markdown-tp4705608p4705678.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Currently I ran
= Lubuntu 15.10 on Raspi2, runs LC 6.5.1 and 7.0.4 without any problem
= Xubuntu 16.04 on Raspi3, runs LC 6.5.1 and 7.0.4 without any problem

installed from here:
https://ubuntu-pi-flavour-maker.org/download/

There is also Ubuntu Server Minimal 16.04 for Raspi3 ... 




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705677.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Commercial version lockout

2016-06-11 Thread RM

That's extremely good to know.

Richmond.

On 11.06.2016 19:06, Richard Gaskin wrote:

RM wrote:
> Am I right in thinking that if one opens a stack in the Commercial
> version of Livecode and then saves it, it will be unopenable in the
> Community version?

Only if you've set a password for any of the stacks in the stack file.

Otherwise, both editions use the same format.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Commercial version lockout

2016-06-11 Thread Mark Schonewille
No, it is not like this, but you have to be careful when you open a stack in a 
newer version of LiveCode. Sometimes it is difficult to go back.

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link 
http://clipboardlink.economy-x-talk.com


Op 11 jun. 2016 om 17:52 heeft RM  het volgende 
geschreven:

> Am I right in thinking that if one opens a stack in the Commercial version of 
> Livecode
> and then saves it, it will be unopenable in the Community version?
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Commercial version lockout

2016-06-11 Thread Richard Gaskin

RM wrote:
> Am I right in thinking that if one opens a stack in the Commercial
> version of Livecode and then saves it, it will be unopenable in the
> Community version?

Only if you've set a password for any of the stacks in the stack file.

Otherwise, both editions use the same format.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Commercial version lockout

2016-06-11 Thread RM
Am I right in thinking that if one opens a stack in the Commercial 
version of Livecode

and then saves it, it will be unopenable in the Community version?

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Raspberry Pi GPIO

2016-06-11 Thread Richard Gaskin

Earlier I wrote:

Yesterday my Pi3 arrived and I tried once again to see if any of the
three most recent LC builds would run on it.  And once again, as with my
Pi2, the older of the three crashes on launch, the other two crash as
soon as I click anywhere in the menu bar.

Too bad, since the Pi is very popular in EDU and LC is a perfect fit for
that.

I'm hoping to get some time to work out the compile details so I can at
least compile v8 for Pi, but I don't know when that will be.  And even
when I do, I doubt I have the C chops to track down and fix the menu bar
crasher.


I should add that the crashers appear limited to GUI routines.

My current Pi3 SD card has Raspbian Jessie Lite with no GUI, a better 
fit for the lower-powered Pi and all you need for server and IoT projects.


In that setup the most recent LC Server build for Pi works very well.

So if you were excited about LC on Pi for GUIs, it seems a mixed bag in 
which some folks are having a good time and others getting crashers.


But if you're using your Pi for server or IoT projects, run LC Server 
without a GUI and it seems to run reliably well.


And FWIW, I once ran my Pi2 under Ubuntu Snappy Core, the new super-slim 
Ubuntu edition with their new Snap packaging optimized for microservers 
and IoT.  LC Server ran well there.  There isn't yet a build of Ubuntu 
Core for Pi3, but it should be just another couple weeks and once it's 
out I'll be using that and can report back here on how it goes with LC 
Server if anyone's interested.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Raspberry Pi GPIO

2016-06-11 Thread Richard Gaskin

-hh wrote:
> Forgot to mention, in case you are interested in WebIOPi,
> there is a patch:
>
> WebIOPi-0.7.1 Patch for Raspberry B+, Pi2, and Pi3
> https://github.com/doublebind/raspi/
>
> I had it running on Raspi2, but not yet on Raspi3.

Thanks.  Bookmarked for when I get back to that.

Right now I have a very small Pi project that doesn't need GPIO, and I 
don't know when I'll get back to the GPIO project given the state of LC 
in Pi.


Yesterday my Pi3 arrived and I tried once again to see if any of the 
three most recent LC builds would run on it.  And once again, as with my 
Pi2, the older of the three crashes on launch, the other two crash as 
soon as I click anywhere in the menu bar.


Too bad, since the Pi is very popular in EDU and LC is a perfect fit for 
that.


I'm hoping to get some time to work out the compile details so I can at 
least compile v8 for Pi, but I don't know when that will be.  And even 
when I do, I doubt I have the C chops to track down and fix the menu bar 
crasher.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode 8 system tray / osx menu bar support

2016-06-11 Thread Maarten Koopmans
Report where? I am happy to do so.

Op zaterdag 11 juni 2016 heeft Monte Goulding  het
volgende geschreven:

> Maarten could you report this. I believe the LC updater uses both of these
> so I'd say it's no longer experimental.
>
> The menu bar widget on Mac is not supported. It would be a helpful feature
> to have I think.
>
> Cheers
>
> Monte
>
> Sent from my iPhone
>
> > On 11 Jun 2016, at 11:00 PM, Maarten Koopmans <
> maarten.koopm...@gmail.com > wrote:
> >
> > See subject - can I put a Livecode app in the menu bar or system tray.
> From
> > 4.5 onwards there was this hidden feature. I haven't tried, but I'd
> > expected it to be in the docs if it were
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Forgot to mention, in case you are interested in WebIOPi,
there is a patch:

WebIOPi-0.7.1 Patch for Raspberry B+, Pi2, and Pi3
https://github.com/doublebind/raspi/

I had it running on Raspi2, but not yet on Raspi3.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705669.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode 8 system tray / osx menu bar support

2016-06-11 Thread Monte Goulding
Maarten could you report this. I believe the LC updater uses both of these so 
I'd say it's no longer experimental.

The menu bar widget on Mac is not supported. It would be a helpful feature to 
have I think.

Cheers

Monte

Sent from my iPhone

> On 11 Jun 2016, at 11:00 PM, Maarten Koopmans  
> wrote:
> 
> See subject - can I put a Livecode app in the menu bar or system tray. From
> 4.5 onwards there was this hidden feature. I haven't tried, but I'd
> expected it to be in the docs if it were


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


livecode 8 system tray / osx menu bar support

2016-06-11 Thread Maarten Koopmans
Hi,

See subject - can I put a Livecode app in the menu bar or system tray. From
4.5 onwards there was this hidden feature. I haven't tried, but I'd
expected it to be in the docs if it were.

SEE http://downloads.livecode.com/livecode/4_5_0/LiveCodeNotes-4_5_0.pdf
 and search for system tray.

If anyone knows how to do this or has an insight or example to offer, that
would be highly appreciated.

Thanks,

Maarten
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Help yourself.

2016-06-11 Thread RM
I'm starting with my kids on Monday: and I'm releasing the stacks for 
teaching as I go along (2 already uploaded).

So, anyone who wishes to teach with these stacks, mess around for fun,
or whatever, is more than welcome to pop across to the Facebook page and 
"beg, borrow or steal" the material with my blessing.


Have a super Summer.

https://www.facebook.com/RMLCclasses/

Richmond Mathewson.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Raspberry Pi GPIO

2016-06-11 Thread [-hh]
Perhaps the best "library" to Raspi-GPIO, that may also
answer most of your technical questions (in the C-part).

http://elinux.org/RPi_GPIO_Code_Samples

Note the line in the C example that explains how to
make this "Raspi 1"-code working on a Raspi 2.

Especially for you the WebIOPi may be also interesting:
http://webiopi.trouch.com/

Relating to PIR sensors there are well-tested-tutorials
in English in the folks (I dont link to the one I used,
because it's in German only).

===
This is my 'unsharp' opinion
(may hopefully need an update with LC's FFI):

If you use python via shell from LC this doesn't really
matter: LC 7 is *much* slower than LC 6, and LC 6 is
slower than Python, and Python is *much* slower than C
anyway. Sums up to a factor of close to 100 in time
needed. LCB will not bring that down below 10, I presume.

Nevertheless, using LC on Raspi for hardware is *really*
good for rapid TESTING (use LC 6), NOT for rapid WORKING.




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705665.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode