OT: Web Server-side ID3 Tagger

2014-12-15 Thread Brahmanathaswami
I need to set the ID3 tags for MP3 files that have already been uploaded to our web server. typically my approach is to create a thin desktop client, which can read our media database from the web server... then I need to send a POST back to my "MusicAPI.lc" which in turn then passes some par

Re: Direction, and color

2014-12-15 Thread Mike Bonner
Holy crap, I think I get it. On Mon, Dec 15, 2014 at 9:18 PM, Colin Holgate wrote: > > On Dec 15, 2014, at 11:07 PM, Mike Bonner wrote: > > >I have a chance of understanding) is to determine if an angle falls > between > say, red and green, find the ratio of the distances to each, and use that >

Re: Direction, and color

2014-12-15 Thread Colin Holgate
On Dec 15, 2014, at 11:07 PM, Mike Bonner wrote: >I have a chance of understanding) is to determine if an angle falls between say, red and green, find the ratio of the distances to each, and use that as a factor of 255 to create the color. That is exactly what my code is doing. There are severa

Re: Direction, and color

2014-12-15 Thread Mike Bonner
Ah k. This method gets rid of any and all tri-color blends, simplifying things, at which point it becomes easy. Another method to do the same thing (or maybe the same method, but in a way I have a chance of understanding) is to determine if an angle falls between say, red and green, find the ratio

Re: Direction, and color

2014-12-15 Thread Mike Bonner
Thank you SO much. Will start at it for a few days to see if I can wrap my noggin around it. On Mon, Dec 15, 2014 at 8:12 PM, Colin Holgate wrote: > > Figured out the reason blue and green were reverse, I should have done a > subtraction not an addition. I replaced the stack. > > > > ___

Re: Direction, and color

2014-12-15 Thread Colin Holgate
Figured out the reason blue and green were reverse, I should have done a subtraction not an addition. I replaced the stack. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your sub

Re: Direction, and color

2014-12-15 Thread Colin Holgate
By the way, I copied my v7 script a 6.6.4 stack, so that the stack can open in more versions. > On Dec 15, 2014, at 10:02 PM, Colin Holgate wrote: > > go url "http://colin.scienceninja.com/colorwheel.livecode >

Re: Direction, and color

2014-12-15 Thread Colin Holgate
So, I had a go at this. Here’s my test stack: go url "http://colin.scienceninja.com/colorwheel.livecode” Choose the browse tool and click the button. The script deletes any existing graphics and then makes 315 new graphics, with the forelock set to a calculated amount. There’s one difference f

Re: controlids and controlnames properties

2014-12-15 Thread Peter Haworth
Thanks Monte, I kinda suspected that was the case and thanks for adding them. I added QCC report number 14225 so hopefully they will make it into the dictionary soon. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Peter Haworth
I think the problem is that the compiler is interpreting this as getting the group of a line and lines don;t have groups of course. Couple of things to try. get line 1 of grMs put the name of (group "RawRow" of it). or put the name of (group "RawRow" of value(line 1 of grMs)) Pete lc

Re: controlids and controlnames properties

2014-12-15 Thread Monte Goulding
On 16 Dec 2014, at 9:02 am, Richmond wrote: > Certainly, as of 6.7 and 7.0.1 rc3 controlids and controlnames are NOT > documented. I did these when I did childControlIDs and childControlNames as it was basically the same code. It was back before the docs were added to the engine repo and I w

Re: controlids and controlnames properties

2014-12-15 Thread Geoff Canyon
Yes: the childControlIDs and childConbtrolNames only go one level down; anything in a group will not be reported. the controlIDs and controlNames list everything everywhere. So given this structure: card id 1002 group id 1007 [1007] | button "Button" [1004] | button "Button" [1006] put the cont

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
On 16/12/14 00:03, Klaus major-k wrote: Hi Richmond, Am 15.12.2014 um 23:00 schrieb Richmond : However . . . When I did this: on mouseUp put the controlids & " - " & the controlnames of card "TRANS-HAL" of stack "DWPro" into fld "IDZ" of stack "Cheese" end mouseUp I did NOT get a list o

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Richard Gaskin
Dr. Hawkins wrote: On Mon, Dec 15, 2014 at 9:51 AM, Richard Gaskin wrote: What is the most recent version in which that worked? It was new code; I haven't use it in any earlier version. Thanks. From the title I got the impression this was specific to v7.0. While LiveCode is generally much

Re: controlids and controlnames properties

2014-12-15 Thread Klaus major-k
Hi Richmond, > Am 15.12.2014 um 23:00 schrieb Richmond : > > However . . . > > When I did this: > > on mouseUp > put the controlids & " - " & the controlnames of card "TRANS-HAL" of stack > "DWPro" into fld "IDZ" of stack "Cheese" > end mouseUp > > I did NOT get a list of "nicely paired" ID

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Scott Rossi
Those object references look manually created -- the long id includes a card reference and is generally more reliable (at least in pre 6.7/7 versions of LC). You may be better off using the real long ids. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Dec 15, 2014, at

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
On 15/12/14 23:56, Dr. Hawkins wrote: On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth wrote: By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a card or group. Is this different from the childControlIDs and chil

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
However . . . When I did this: on mouseUp put the controlids & " - " & the controlnames of card "TRANS-HAL" of stack "DWPro" into fld "IDZ" of stack "Cheese" end mouseUp I did NOT get a list of "nicely paired" ID numbers and names, but a messy "something" of which this is a sample: cont

Re: controlids and controlnames properties

2014-12-15 Thread Dr. Hawkins
On Mon, Dec 15, 2014 at 1:06 PM, Peter Haworth wrote: > > By chance, I just discovered there is a controlids property and a > controlnames property that return the ids/names of all controls in a card > or group. > Is this different from the childControlIDs and childConbtrolNames -- Dr. Richard

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Dr. Hawkins
On Mon, Dec 15, 2014 at 9:51 AM, Richard Gaskin wrote: > > > What is the most recent version in which that worked? It was new code; I haven't use it in any earlier version. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing lis

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Dr. Hawkins
On Mon, Dec 15, 2014 at 9:58 AM, Bob Sneidar wrote: > > What is grNms? What does it contain? If they are only ID’s then your > statement would resolve to something like: > > They are long ids or similar (I have a function that chops long id to group ID 1 of stack "someStack" so grMs is somthing

RE: controlids and controlnames properties

2014-12-15 Thread Ralph DiMola
Sweet... Thanks!!! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Haworth Sent: Monday, December 15, 2014 4:06 PM To: How to use LiveCode Subject: con

Re: controlids and controlnames properties

2014-12-15 Thread Richmond
On 15/12/14 23:06, Peter Haworth wrote: A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a "repeat with x=1 to the number of controls of" By chance, I just discovered there is a controlids property and a controlnames property that

controlids and controlnames properties

2014-12-15 Thread Peter Haworth
A few days ago I was bemoaning the fact that there wasn't a way to get a list of control ids or names without a "repeat with x=1 to the number of controls of" By chance, I just discovered there is a controlids property and a controlnames property that return the ids/names of all controls in a

Re: SHA256

2014-12-15 Thread José Antonio Rocha
2014-12-15 18:00 GMT-02:00 Michael Doub : > > I have not used these functions personally but I see in the readme that > multiple steps are required for sha-256. > > So, to get the sha-256 digest of a string: > put sha256.hex("the cat sat on the mat") into tDigest > put sha256.b64(someVariable) into

Re: SHA256

2014-12-15 Thread Michael Doub
José, I have not used these functions personally but I see in the readme that multiple steps are required for sha-256. So, to get the sha-256 digest of a string: put sha256.hex("the cat sat on the mat") into tDigest put sha256.b64(someVariable) into tDigest and of a file put sha256.bin("/User

Re: SHA256

2014-12-15 Thread Richard Gaskin
José Antonio Rocha wrote: 2014-12-15 17:25 GMT-02:00 Richard Gaskin: LiveCode currently provides only two hashes, MD5 and SHA1. I have a project in which I need SHA256. Anyone here have a function for that? Hi! There is this, but I could not make it work: http://masmit.net/libhash-hmac.html

Re: SHA256

2014-12-15 Thread José Antonio Rocha
Hi! There is this, but I could not make it work: http://masmit.net/libhash-hmac.html 2014-12-15 17:25 GMT-02:00 Richard Gaskin : > > LiveCode currently provides only two hashes, MD5 and SHA1. I have a > project in which I need SHA256. Anyone here have a function for that? > > -- > Richard Gaski

SHA256

2014-12-15 Thread Richard Gaskin
LiveCode currently provides only two hashes, MD5 and SHA1. I have a project in which I need SHA256. Anyone here have a function for that? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: AW: OT: Mac installer rights?

2014-12-15 Thread J. Landman Gay
On 12/15/2014, 2:03 AM, Tiemo Hollmann TB wrote: And just for my interest. Is there a technical explanation for different rights/behaviour if you copy files manually with the same user and in the same dir from a dmg file or start an installer to let do it for you? Apple allows the user to move

Re: bug or feature in player filename?

2014-12-15 Thread J. Landman Gay
On 12/14/2014, 10:24 PM, Timothy Miller wrote: If you use a script to “start” the player, with an incorrect filename in the “source” field, entered manually or by script, the player will play some other correct filename, and the result of the “start” command will be empty. In a more perfect world

Re: Direction, and color

2014-12-15 Thread Richmond
On 15/12/14 17:47, Mike Bonner wrote: ok, so I lied. I keep making adjustments to how the color generation works, but to get the results I want.. i'm lost again. Currently, if I want to find "red", I can get a factor for red where abs(sin((tCurAngle - tColorAngle) * pi / 180)) (cur angle is 0,

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Richmond
On 15/12/14 17:27, Richard Gaskin wrote: I was going to see if I could help triage these crash reports, but going back through the posts here I was unable to turn up the one with the bug report numbers. If you could kindly post those I'll see if I can confirm them and do what I can to help st

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Bob Sneidar
What is grNms? What does it contain? If they are only ID’s then your statement would resolve to something like: put the name of ( group "rawRow" of (123456)) You can see the problem. Now if it contains rows of the long id’s of those groups, then your statement might resolve to something lik

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Richard Gaskin
Dr. Hawkins wrote: I have a variable with group ids in it. I then try something like put the name of ( group "rawRow" of ( line 3 of grNms )) (with variations on the parenthesis). 7.0.1-RC3 replies that there is an unquoted literal near name. I am having to first manually put the

Re: 7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread J. Landman Gay
What is in line 3 of grpNums, specifically? I can't think of any content offhand that would parse correctly. On December 15, 2014 11:43:58 AM CST, "Dr. Hawkins" wrote: >I have a variable with group ids in it. > >I then try something like > > put the name of ( group "rawRow" of ( line 3

7.0 can't parse group "someGroup" of (an id)

2014-12-15 Thread Dr. Hawkins
I have a variable with group ids in it. I then try something like put the name of ( group "rawRow" of ( line 3 of grNms )) (with variations on the parenthesis). 7.0.1-RC3 replies that there is an unquoted literal near name. I am having to first manually put the name together in a var

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Richard Gaskin
Paolo Mazza wrote: Hi Richard , i think I experienced something similar. I filed this bug and I published a video, see http://quality.runrev.com/show_bug.cgi?id=14210 Thank you for submitting that report. Very encouraging to see that while it was submitted only Friday, it's already marked a

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread paolomazza
Hi Richard , i think I experienced something similar. I filed this bug and I published a video, see http://quality.runrev.com/show_bug.cgi?id=14210 All the best Paolo Mazza -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/frequent-crashes-under-7-0-1-RC3-tp468

Re: Port designation in URL

2014-12-15 Thread Bob Sneidar
I learn something new everyday. I’ll probably need that bit of information at some point. Hopefully my memory won’t fail me. Bob S > On Dec 15, 2014, at 08:16 , J. Landman Gay wrote: > > I think Mike nailed it. The error is being reported by libURL in this case, > and the numbers following

Re: Port designation in URL

2014-12-15 Thread J. Landman Gay
I think Mike nailed it. The error is being reported by libURL in this case, and the numbers following the pipe are the name it assigns to the socket so it can keep track of the responses. On December 15, 2014 9:45:51 AM CST, Bob Sneidar wrote: >It’s a pipe?? OIC. In that case I am going to sa

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Richard Gaskin
Éric Miclo wrote: > Bug 14218 Thank you, Éric. Submitted this morning and confirmed within hours of your submitting the example stack, hopefully this will be addressed in RC5. -- Richard Gaskin LiveCode Community Manager rich...@livecode.org __

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Éric Miclo
Bug 14218 ÉrIC -- My NeXT computer will Be a Mac too! -- > Le 15 déc. 2014 à 17:27, Richard Gaskin a écrit : > > I was going to see if I could help triage these crash reports, but going back > through the posts here I was unable to turn up the one with the bug report > numbers. > > If you

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Bob Sneidar
See ya. Bob S On Dec 14, 2014, at 08:30 , Dr. Hawkins mailto:doch...@gmail.com>> wrote: If I do roll back, though, it's not going to be to wait for 7, but to get by until I figure out how to transfer my effort to another platform entirely. ___ use-l

Re: Direction, and color

2014-12-15 Thread Mike Bonner
ok, so I lied. I keep making adjustments to how the color generation works, but to get the results I want.. i'm lost again. Currently, if I want to find "red", I can get a factor for red where abs(sin((tCurAngle - tColorAngle) * pi / 180)) (cur angle is 0, color angle is also 0, factor returned i

Re: Port designation in URL

2014-12-15 Thread Bob Sneidar
It’s a pipe?? OIC. In that case I am going to say someone meant to type a backslash and had the shift key down instead. Bob S On Dec 12, 2014, at 21:00 , J. Landman Gay mailto:jac...@hyperactivesw.com>> wrote: It's coming back in the error response from a POST request and the request times o

Re: Port designation in URL

2014-12-15 Thread Bob Sneidar
Hi Jacque. In all IP communications, not only is the address the IP part, but there is also a port number associated with it. You don’t often see it because this information is added on later using the default port for whatever protocol. For instance, port 80 is the HTTP port. 21 and 22 is FTP.

Re: [New] BPG Image Format

2014-12-15 Thread Bob Sneidar
Some years back, I took a tiff file, printed it out on a color proofing device, then saved it as a JPEG file with medium compression and printed it again. From a small distance, our graphics artist could not tell which image was which or see a difference. Up close however, his trained eye could

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Richard Gaskin
I was going to see if I could help triage these crash reports, but going back through the posts here I was unable to turn up the one with the bug report numbers. If you could kindly post those I'll see if I can confirm them and do what I can to help steward them through the process. To assis

Re: frequent crashes under 7.0.1-RC3

2014-12-15 Thread Richmond
On 12/15/2014 03:01 AM, Dr. Hawkins wrote: On Sun, Dec 14, 2014 at 11:16 AM, Richmond wrote: On 14/12/14 18:30, Dr. Hawkins wrote: If I do roll back, though, it's not going to be to wait for 7, but to get by until I figure out how to transfer my effort to another platform entirely. "wait

AW: OT: Mac installer rights?

2014-12-15 Thread Tiemo Hollmann TB
Hi Mark, I am using installer maker 1.8.7. Where do I find the admin option? Is it an option in the installer maker, or do you mean right click the finished installer? In my case it doesn't asks me for admin credentials. And just for my interest. Is there a technical explanation for different ri