User's language

2013-06-30 Thread John
I am not sure how localizations are supposed to work in Live Code. I understand including the ".lproj" indicates which languages you intend to support, but how do I determine the language that the user currently has his computer set for? A search of the dictionary seems to indicate that t

Re: Weekend challenge

2013-06-30 Thread Geoff Canyon
Okay, this is a beast, and in no way good or generalized. It doesn't use the previous function, instead just going through line by line and flagging all the issues it sees in one pass. It should: 1. Flag any new ID that doesn't have just two items on the line. 2. Following that line, flag if the n

Re: OT: Android file locations

2013-06-30 Thread Mark Wieder
> I can see the pictures in the Android gallery in an album labeled > "Bluetooth". Now I'd like to transfer them off the tablet into a web thingy > somewhere, but I don't know where to find them. Any clues as to where to > find them and how to transfer them out? For anyone who still cares about th

Re: Determining LC Server memory usage?

2013-06-30 Thread J. Landman Gay
On 6/30/13 9:16 PM, Phil Davis wrote: Interesting question, Richard. Here is something I just tried in a quick CGI script. Don't know it gives the memory info we need, but here goes: put "" & word 2 of shell("ps -p" && the processID && "-o rss") & "k" Maybe there's a way to tweak it for be

Re: Weekend challenge

2013-06-30 Thread J. Landman Gay
Cool. Note that in the sample data, the first two lines of the EF block are missing entirely, the ones that should have the empty values. Not sure how to call your function for that but I'm hoping you do. :) On 6/30/13 8:33 PM, Geoff Canyon wrote: This is just one piece, but here's a function

Re: Weekend challenge

2013-06-30 Thread J. Landman Gay
On 6/30/13 8:42 PM, Geoff Canyon wrote: In the email, item 2 is: 2. While every Type must be unique, a Type can be the same as the Subsection it's in. This is the only non-unique exception. In the file it says, 2. While every Type must be unique, a Type can be the same as a Subsection within

Re: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-30 Thread Monte Goulding
On 01/07/2013, at 12:42 PM, Dr. Hawkins wrote: > I have no problem with FOSS. In fact, I wrote the seminal economics > paper on it . . . > > The licensing of the community edition, though, "infects" software > shipped with it. The existence of an open source branch of my > software would be ca

Re: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-30 Thread Richard Gaskin
Consider MySQL - even licensed under GPL, a great many proprietary systems rely on it every day. The difference is that they don't bundle MySQL with their software, which would require negotiating a commercial MySQL distribution license. See the GPL clause on dynamic linking -- Richard

Re: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-30 Thread Dr. Hawkins
On Sat, Jun 29, 2013 at 4:20 PM, Monte Goulding wrote: > > http://www.php.net/license/3_01.txt > > Not sure what the license is for (whatever) but PHP is FOSS... I have no problem with FOSS. In fact, I wrote the seminal economics paper on it . . . The licensing of the community edition, though,

Re: Determining LC Server memory usage?

2013-06-30 Thread Phil Davis
Interesting question, Richard. Here is something I just tried in a quick CGI script. Don't know it gives the memory info we need, but here goes: put "" & word 2 of shell("ps -p" && the processID && "-o rss") & "k" Maybe there's a way to tweak it for better results. Phil On 6/30/13 1:2

Re: Augmented reality with LiveCode ?

2013-06-30 Thread Brahmanathswami
I think Augmented Reality may have a variety of implementations. So it probably depends on what you want to do. FWIW: Our printer for Hinduism Today magazine, Quad Graphics, has just done a major sales pitch (to me) to buy their augmented reality "product" which is based on a mobile app cal

Re: Weekend challenge

2013-06-30 Thread Geoff Canyon
In the email, item 2 is: 2. While every Type must be unique, a Type can be the same as the Subsection it's in. This is the only non-unique exception. In the file it says, 2. While every Type must be unique, a Type can be the same as a Subsection within the same Section. This is the only non-uni

Re: Weekend challenge

2013-06-30 Thread Geoff Canyon
This is just one piece, but here's a function that takes a list much like yours and a list of columns, and returns the instances where a column repeats itself out of order. So this (note the true being passed to ignore empty values): replace tab with comma in yourData put isSequential(yourDa

Re: Weekend challenge

2013-06-30 Thread J. Landman Gay
On 6/30/13 7:04 PM, Michael Kann wrote: J, I tried to reply but the moderator says too many characters. Anyway, here's my question: According to rule 5 everything is grouped. Does that mean everything is also alphabetized. Nope, nothing is alphabetized, not even the ID blocks (my fake data set

Re: Weekend challenge

2013-06-30 Thread Michael Kann
J, I tried to reply but the moderator says too many characters. Anyway, here's my question: According to rule 5 everything is grouped. Does that mean everything is also alphabetized. Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Pilots required

2013-06-30 Thread Mike Kerner
You know, this is pretty fun, guys, but we need to set up some load testing. Right now it's just John and I playing. With just the two of us the response time is good, but I don't know how it will be with 4-8 players. On Sat, Jun 29, 2013 at 2:31 PM, Mike Kerner wrote: > You guys should watch

Re: [FYI] Using Graphic Commands on Server

2013-06-30 Thread stephen barncard
I am happy that I can at least create thumbnails on the server for now. That was the origin of my quest. On Sun, Jun 30, 2013 at 2:11 PM, Monte Goulding wrote: > > On 01/07/2013, at 6:50 AM, Richard Gaskin > wrote: > > > 2. Where are the change logs so we can see what they've been doing with >

Re: preparing a stack for printing

2013-06-30 Thread Björnke von Gierke
oops, i forgot that I asked this question :( (un)luckily I still have this nagging feeling i'm doing things wrong :) the printable area is not the printRectangle, and when I test that by making a rectangle the size of the card while the card is the size of the printRectangle, i get a large righ

Weekend challenge

2013-06-30 Thread J. Landman Gay
I've got a challenge for anyone up for it. Below are the rules and some formatted example data. It's supposed to be tab-delimited but if email borks it, you can grab a zip file here: DATA FORMAT: Each tab-delimited line has

Re: [FYI] Using Graphic Commands on Server

2013-06-30 Thread Monte Goulding
On 01/07/2013, at 6:50 AM, Richard Gaskin wrote: > 2. Where are the change logs so we can see what they've been doing with > graphics support in this version? The new graphics stuff isn't merged in yet guys. I don't think you will get much luck here. -- Monte Goulding M E R Goulding - softw

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread Richard Gaskin
FWIW, I just ran a quick test and confirmed that "export image" works well, but "export snapshot" results in an error (I ran from terminal over SSH): livecode-server exited due to fatal signal 11 in __kernel_sigreturn @ 0 in @ 0x81a99c3 in @ 0x80f6235 in @ 0x812dfd8 in @ 0x812efc9

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread Richard Gaskin
stephen barncard wrote: On Sun, Jun 30, 2013 at 1:26 PM, Richard Gaskin wrote: I wouldn't have imagined that template objects could be exported from - does that work on the desktop? I don't know but it works on the server! I changed all references to "image xxx" to the templateImage in the

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread stephen barncard
On Sun, Jun 30, 2013 at 1:26 PM, Richard Gaskin wrote: > I wouldn't have imagined that template objects could be exported from - > does that work on the desktop? > I don't know but it works on the server! I changed all references to "image xxx" to the templateImage in the desktop version. > >

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread Mike Bonner
This is the root, you can locate stuff from there in the tree. http://downloads.livecode.com/livecode/ On Sun, Jun 30, 2013 at 2:26 PM, Richard Gaskin wrote: > stephen barncard wrote: > >> I am sad to report that it does not seem possible to use templates to do >> group snapshots yet. >> > > I w

Determining LC Server memory usage?

2013-06-30 Thread Richard Gaskin
Phil's recent thread on LC Server memory usage got me thinking: how can we measure the RAM used by LC Server while it's running? CGI processes generally end too quickly to show up in top. Any other solutions? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fou

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread Richard Gaskin
stephen barncard wrote: I am sad to report that it does not seem possible to use templates to do group snapshots yet. I wouldn't have imagined that template objects could be exported from - does that work on the desktop? I was going to experiment with this myself to see if I can export group

Re: Fwd: [FYI] Using Graphic Commands on Server

2013-06-30 Thread stephen barncard
I am sad to report that it does not seem possible to use templates to do group snapshots yet. This would require the ability to manipulate graphic objects rather than their templates. here is my code for scaling (there may some pointless garbage in the code): " & pScalePercent -- converts and

Re: Augmented reality with LiveCode ?

2013-06-30 Thread Håkan Lilegren
There is some cool technology built by the Swedish company 13th Lab called PointCloud. There is both an SDK, that might be turned in to an external, and a PointCloud browser that you control with HTML/JavaScript that should not be that hard to integrate into a LC app. http://pointcloud.io Ski

Re: Why does this program not work?

2013-06-30 Thread Dar Scott
People have mentioned that you need the global command or declaration in both the button script and the card script. You can put it within each of the applicable handlers or, once outside of handers before any handlers that need it. However, there are two other potential problems that might cr

Re: Why does this program not work?

2013-06-30 Thread Mike Kerner
David, One exception to what Klaus said - you can declare global or local variables and have them be visible to all handlers within a particular script - in other words, all handlers within a particular script window, no matter how many handlers are in that script window. So if in a button's scrip

Re: Why does this program not work?

2013-06-30 Thread Klaus major-k
HI David, Am 30.06.2013 um 18:11 schrieb David Milne : > Hello all, > > I would be very grateful if some one can explain to me why the following > program does not work. It is a cut down demonstration program designed to > show the fault. > > I made the following in the latest community version

Why does this program not work?

2013-06-30 Thread David Milne
Hello all, I would be very grateful if some one can explain to me why the following program does not work. It is a cut down demonstration program designed to show the fault. I made the following in the latest community version of LiveCode. I made a card with a button "button", a field "numbers

Icons in the Project Browser

2013-06-30 Thread Richmond
Yes . . . that's right . . . they are grey and hard to tell apart, which is rather a shame as the Project Browser is a super idea. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe an

Free update: ChartMaker

2013-06-30 Thread FlexibleLearning.com
ChartMaker v3.0 build 60 ~ Free Maintenance Release Version: 3.0 Build: 60 Release type: Maintenance What's New in this build? This is a maintenance release that addresses the following display issues... Fixed . Legend labels are no longer truncated . A named new window no longer ends in a spuri