Hi Bill,
0777 is for all users who have access to the computer including guests.
This includes e.g. people who log in over FTP or SSH. However, without
logging in first, you can't have access to a computer.
Some server accept the put command over http, but many don't. Servers
that accept
Dear Richmond,
that is a monochrome png with transparency.
It is not for colorTrace.
Try this stack
http://forums.livecode.com/viewtopic.php?f=10t=19040hilit=+tracing
it traces the alphachannel instead
and tell me if this works
Kind regards
Bernd
--
View this message in context:
https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
Interesting blog post, made doubly interesting because when the author
posted his solutions to problems 4 and 5, one of his solutions was
incorrect. So I guess he won't
Message: 8
Date: Sat, 09 May 2015 19:59:15 +0300
From: Richmond richmondmathew...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Automated Drawing
Message-ID: 554e3ce3.2030...@gmail.com
Content-Type: text/plain; charset=utf-8; format=flowed
On 09/05/15
On 09/05/15 23:48, BNig wrote:
Dear Richmond,
could you send me the original image off-list.
Not the one converted to grayscale. That seems a little funny.
Kind regards
Bernd
Yes, of course:
https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 file:
HturtleColor.png
Problem 5
Write a program that outputs all possibilities to put + or - or nothing
between the numbers 1, 2, ..., 9 (in this order) such that the result is
always 100. For example: 1 + 2 + 34 – 5 + 67 – 8 + 9 = 100.
function sumPermute S,T
repeat
put offset(,,line 1 of S) into F
Problem 4
Write a function that given a list of non negative integers, arranges them
such that they form the largest possible number. For example, given [50, 2,
1, 9], the largest formed number is 95021.
Again, not enough test cases, and in this case his initial solution failed
when tested more
[*bump*]
Trying again. Can anyone get me further than this to find the code that
actually opens the connections for mySQL and postgres? I'd try to adapt it
if I knew where to look (continuing my long history of using languages I
don't know . . . [ok, for C C++, I tend to learn them again, and
It looks like this also doesn't solve it. Perhaps getting all
combinations and taking the maximum is the only right solution?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Most of those (and especially #5) are ones that I think would look much
nicer in LC than in most other languages.
On Sat, May 9, 2015 at 8:31 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
It looks like this also doesn't solve it. Perhaps getting all combinations
and taking the
On 10/05/15 01:22, Jim Hurley wrote:
Message: 8
Date: Sat, 09 May 2015 19:59:15 +0300
From: Richmond richmondmathew...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Automated Drawing
Message-ID: 554e3ce3.2030...@gmail.com
Content-Type: text/plain; charset=utf-8;
Problem 2
Write a function that combines two lists by alternatingly taking elements.
For example: given the two lists [a, b, c] and [1, 2, 3], the function
should return [a, 1, b, 2, c, 3].
function interleave X,Y
split X using comma
split Y using comma
repeat with i = 1 to max(item 2
Fibonacci calculator that won’t overflow.
Here’s one, I think there were others. The script is in the GO button.
Copy into your message box:
go url http://sysoper0.com/calcFibs.livecode”
.Jerry
On May 9, 2015, at 5:12 PM, Jerry Jensen j...@jhj.com wrote:
We went through this a while ago, I
P.S.
I should have said that startTurtle (or simply st) is the command that
initiates the turtle.
Jim
Message: 8
Date: Sat, 09 May 2015 19:59:15 +0300
From: Richmond richmondmathew...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Automated Drawing
Ah k. Yep. don't do it that way.
On Sat, May 9, 2015 at 5:08 PM, Mike Bonner bonnm...@gmail.com wrote:
Number 4 is cool actually, but I wonder if there are reasons NOT to do it
the way I'm doing it.
Basically, I sort the lines of the list, descending, as text rather than
numeric, then
On Sat, May 9, 2015 at 5:33 PM, Mike Bonner bonnm...@gmail.com wrote:
What is the recursion limit?
As far as I know it's a memory thing, so there's no set depth. I could be
wrong.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
On 05/09/2015 05:12 PM, Jerry Jensen wrote:
We went through this a while ago, I think a challenge forwarded by Mark Wieder.
The problem is that integers overflow and start giving wrong answers part way
to 100. I forget the exact place it happens.
I wrote a few that did it the hard way
Problem 1
Write three functions that compute the sum of the numbers in a given list
using a for-loop, a while-loop, and recursion.
Note that he doesn't provide any test cases, so for each problem I provided
my own in a field, and then called the functions for each line in the test
field, putting
Problem 3
Write a function that computes the list of the first 100 Fibonacci numbers.
By definition, the first two numbers in the Fibonacci sequence are 0 and 1,
and each subsequent number is the sum of the previous two. As an example,
here are the first 10 Fibonnaci numbers: 0, 1, 1, 2, 3, 5, 8,
Hi,
I think this should be something like this (below). Mind line wraps,
especially in the solution for problem 5.
My solution for problem 5 is much easier but also less elegant than the
Java solution on the website. If anyone has better (faster or easier)
solutions, especially for problem
Trying to have something usable by others while I get the server going, I
took another try at mySQL today--and, after a few hours and web searches,
got reminded why I stopped . . .
Livecode can't handle multi-line mySQL transactions in a single livecode
transaction! You need to send the
To do number 4, it seems that:
first find digit one. Easy enough. Then with every item that starts with
that digit, see if there is a singleton. If there is NOT a singleton, move
to digit 2 of all numbers that start with that number. If there is a
singleton, you must check second digits that
4's another one that I think would look a lot nicer in LC than in most
other languages.
On Sat, May 9, 2015 at 9:44 PM, Mike Kerner mikeker...@roadrunner.com
wrote:
Most of those (and especially #5) are ones that I think would look much
nicer in LC than in most other languages.
On Sat, May
Thanks André,
I did not realise that CloseFieldEditor was passed to the DataGrid Group. I
could not find much information about it’s use.
All the best
Terry
On 9 May 2015, at 16:58, André Bisseret andre.bisse...@wanadoo.fr wrote:
Bonjour Terry,
on closeFieldEditor
you could
put
Dear Richmond,
could you send me the original image off-list.
Not the one converted to grayscale. That seems a little funny.
Kind regards
Bernd
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Converting-an-image-into-a-vector-object-tp4692027p4692052.html
What is the recursion limit? I decided to do a speed test on larger lists,
and strangely, if I have a list that is 704 lines (I used lines rather than
items) things work fine. As soon as I hit 705, I get the following:
executing at 4:30:55 PM
Type Function: error in function handler
Object
You're right, Geoff. Apparently, not as easy as I thought, but that
makes it more interesting.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker
On Sat, May 9, 2015 at 6:51 PM, Geoff Canyon gcan...@gmail.com wrote:
function sumPermute S,T
repeat
put offset(,,line 1 of S) into F
put F into fld 1
wait 0 ticks
if F = 0 then exit repeat
put empty into newS
repeat with i = 1 to 3
put
On Sat, May 9, 2015 at 6:34 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
function problem4
put 50,2,1,9 into myList
sort items of myList numeric descending by char 1 of each
replace comma with empty in myList
return myList
end problem4
Doesn't work on
On 05/09/2015 04:51 PM, Dr. Hawkins wrote:
So I started poking around github. It seems like the first piece of
code is for *revdb.cpp* at e
That way lies madness.
I started looking at that code a few times a while back, hoping to fix
things, add functionality, etc, and gave up. I ran
Good evening,
after a long long time, I'm back here :)
I'm still using LC 4.3.5, which is, like me a bit older but it works (like
me) and I learned to handle the bugs there.
Since years I use
put revdb_connect (mySQL,192.168.Y.XX,databasename,root,,,) into
DB_ID
which is doing what ist has
Number 4 is cool actually, but I wonder if there are reasons NOT to do it
the way I'm doing it.
Basically, I sort the lines of the list, descending, as text rather than
numeric, then replace cr with empty.
function genLargest pList
sort lines of pList descending
replace cr with empty in
We went through this a while ago, I think a challenge forwarded by Mark Wieder.
The problem is that integers overflow and start giving wrong answers part way
to 100. I forget the exact place it happens.
I wrote a few that did it the hard way (character by character arithmetic) -
I’ll see if I
On Sat, May 9, 2015 at 12:03 PM, Mark Waddingham m...@livecode.com wrote:
The reason I wrote the outline as a 'ping-pong' of reads and writes is
because that is what most protocols entail, but you could schedule a
sequence of 'read with message' and/or a sequence of 'write with message'
and
On Sat, May 9, 2015 at 7:12 PM, Jerry Jensen j...@jhj.com wrote:
We went through this a while ago, I think a challenge forwarded by Mark
Wieder. The problem is that integers overflow and start giving wrong
answers part way to 100. I forget the exact place it happens.
I wrote a few that did
On Sat, May 9, 2015 at 6:59 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Apparently, not as easy as I thought, but that makes it more interesting.
Yeah, I'm now trying to salvage my padding solution, which is better than
the padding solutions he gave on the site, but still
Geoff,
There's my new attempt. I haven't tested it thoroughly, but I'm leaving
it at this for tonight.
I'm padding the numbers now, but if the number is padded, I give it an
advantage while sorting.
// OK, not /that/ easy.
function problem4
put
On 8 May 2015, at 6:31 pm, J. Landman Gay jac...@hyperactivesw.com wrote:
Does it still happen if you remove the visual effect?
Thanks for the suggestion Jacqueline. Yes it does.
However, if I comment out the whole show line, the problem disappears. It
seems it is specifically
One other possibility I've contemplated: the socket routine never closes
until the socket does. So on the initial socket, something like
on newClient sckt
repeat while socket is among the lines of the openSockets
read from socket sckt
if it is not empty then
doSomething it
end if
wait 2 seconds
Folks:
When I make a provisioning profile using the Mac Developers site, then download
it. I double click it to get it incorporated into Xcode. Then, it shows up in
the iOS settings. Unfortunately, I generated several of these with the same
name and it is getting a bit cluttered. So, how can I
Did I mention that the barcode scanning is FAST in the new AV? HOLY CRAP
is it fast. It is mucho fasto. I would be hard pressed to scan as fast
with a CCD or laser gun. It really is screaming fast. If I lay a bunch of
codes to be scanned next to each other, I am done in a flash with it,
On Fri, May 8, 2015 at 9:37 PM, Phil Davis rev...@pdslabs.net wrote:
There are two basic approaches you can take, which you probably know but
I'll lay them out for clarity. And maybe you're already doing one of them -
from what you've told us, I couldn't tell.
What I have working is similar
Le 9 mai 2015 à 16:08, Terence Heaford t.heaf...@icloud.com a écrit :
I have enabled the editing of a particular column in a table.
I want to detect when editing of the cell has completed, obtain the line data
and then update an SQLite database.
Is there a message that I can intercept
On 09/05/15 16:52, Richmond wrote:
On 21/03/15 18:17, Jim Hurley wrote:
Richmond,
I wrote this Turtle Graphics library in the dark ages of RR, before
“sum” became a reserved word.
So, comment out the “sum” handler in the stack script.
Jim
Having copied your stack script across into my
On May 9, 2015 7:38:06 AM CDT, David V Glasgow dvglas...@gmail.com wrote:
It doesn’t seem to matter whether the same custom property has been
displayed before. I can just move back and forth between two buttons
and get a steady (albeit variable) increment, so I don’t think it is a
caching thing.
On 21/03/15 18:17, Jim Hurley wrote:
Richmond,
I wrote this Turtle Graphics library in the dark ages of RR, before “sum”
became a reserved word.
So, comment out the “sum” handler in the stack script.
Jim
Having copied your stack script across into my stack I am stuck with 2
problems:
I have enabled the editing of a particular column in a table.
I want to detect when editing of the cell has completed, obtain the line data
and then update an SQLite database.
Is there a message that I can intercept that will advise me when cell editing
is complete and perhaps give the
On 2015-05-09 18:34, William Prothero wrote:
Folks:
When I make a provisioning profile using the Mac Developers site, then
download it. I double click it to get it incorporated into Xcode.
Then, it shows up in the iOS settings. Unfortunately, I generated
several of these with the same name and
Does anyone know of a way to:
1. Trace an image in a stack to get a vector graphic?
I shall be doing that outwith Livecode using Inkscape.
2. Has the Kickstarter goal of importing vector graphics been arrived at
yet?
I shall use Alejandro Tejada's EPS importer:
My sequence is that the client connects to the server, and then sends
it
periodic messages. On the initial connection, the server creates a
database connection and leaves it open (opening a database takes time
measured in hundreds of milliseconds). The approach of opening and
closing a
This is in no way a complaint! But I’m curious about how much Mark is posting
these days. Did he run out of things to develop?
It is exciting to see him participating here.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this
Thanks Mark. Got it!
Bill
On May 9, 2015, at 10:46 AM, Mark Waddingham m...@livecode.com wrote:
On 2015-05-09 18:34, William Prothero wrote:
Folks:
When I make a provisioning profile using the Mac Developers site, then
download it. I double click it to get it incorporated into Xcode.
Then,
Colin:
I agree! He’s helped me enormously by providing direction for learning new
things Livecode can do.
Best,
Bill
On May 9, 2015, at 11:37 AM, Colin Holgate colinholg...@gmail.com wrote:
This is in no way a complaint! But I’m curious about how much Mark is posting
these days. Did he run
Hi Colin,
I asked the same question on ChatRev the other day. Eventually we pretty
much agreed that Mark is probably doing what he is paid for: overseeing
the programming team, thinking about what are the most important issues
and how to solve them. The latter part probably makes him more
On Sat, May 9, 2015 at 10:54 AM, Mark Waddingham m...@livecode.com wrote:
The idea here is that each time you get a 'newClient' message you have a
newly named socket 'pClientSocket' which is the other end of the connection
the client initiated. You can have as many of these client-connected
Mark:
I’ve been following this thread with interest. Thanks for the code. Now I’m
wondering how I might use this capability. Can I set up a multi-user game using
this? I must have to somehow get the user’s ip address. There are probably
samples in the Livecode examples library and I’ll search
On Sat, May 9, 2015 at 11:46 AM, William Prothero proth...@earthednet.org
wrote:
I’ve been following this thread with interest. Thanks for the code. Now
I’m wondering how I might use this capability. Can I set up a multi-user
game using this? I must have to somehow get the user’s ip address.
On 09/05/15 21:37, Colin Holgate wrote:
This is in no way a complaint! But I’m curious about how much Mark is posting
these days. Did he run out of things to develop?
That's a bit of a b*tchy comment.
It is exciting to see him participating here.
Yes, it is, and it should be welcomed,
I agree. Imagine you’re into relativity, and Einstein posts to your email list,
you’re going to be inspired.
On May 9, 2015, at 2:44 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Hi Colin,
I asked the same question on ChatRev the other day. Eventually we pretty much
If the stack is still out there (on the forum), it is the best I've seen I
in LiveCode.
http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-td4674846.html#a4676220
On May 9, 2015 1:59 PM, Richmond richmondmathew...@gmail.com wrote:
Does anyone know of a way
I didn’t mean it to be.
On May 9, 2015, at 2:53 PM, Richmond richmondmathew...@gmail.com wrote:
This is in no way a complaint! But I’m curious about how much Mark is
posting these days. Did he run out of things to develop?
That's a bit of a b*tchy comment.
On 09/05/15 21:56, Colin Holgate wrote:
I didn’t mean it to be.
On May 9, 2015, at 2:53 PM, Richmond richmondmathew...@gmail.com wrote:
This is in no way a complaint! But I’m curious about how much Mark is posting
these days. Did he run out of things to develop?
That's a bit of a b*tchy
I'm always angry. That's my secret. --Dr. Banner
On May 9, 2015 2:58 PM, Richmond richmondmathew...@gmail.com wrote:
On 09/05/15 21:56, Colin Holgate wrote:
I didn’t mean it to be.
On May 9, 2015, at 2:53 PM, Richmond richmondmathew...@gmail.com
wrote:
This is in no way a complaint!
Or, is it starting a ping-pong between clientDataReceived and
clientDataSent, with each calling the other when done?
Yes - that's precisely what the code does that I outlined.
Sockets are bidirectional in nature and so you can 'simultaneously' be
reading and writing to them at the same time.
On 09/05/15 21:57, Roger Eller wrote:
If the stack is still out there (on the forum), it is the best I've seen I
in LiveCode.
http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-td4674846.html#a4676220
What a fantastic thread with all sorts of marvellous
Just using the accept connections will get you that. The message sent
is
in the form of 127.0.0.1:50565. That is, ip:port
Now, *why* that is a different port than I was listening on is beyond
me .
. .
The port you use at the 'accept' point is the port to which a connection
needs to be
Many thanks, Mark ! Very useful.
Pierre
Le 9 mai 2015 à 21:03, Mark Waddingham m...@livecode.com a écrit :
Or, is it starting a ping-pong between clientDataReceived and
clientDataSent, with each calling the other when done?
Yes - that's precisely what the code does that I outlined.
On 09/05/15 21:57, Roger Eller wrote:
If the stack is still out there (on the forum), it is the best I've seen I
in LiveCode.
http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-td4674846.html#a4676220
That stack is super . . . But . . .
I have an image
That image should work, but you may have to enlarge it in Gimp first, and
give it more white space (increase canvas size).
The final stack that handles color is pretty awesome. Here's that final
post in the thread:
---
BNig
On 09/05/15 22:23, Roger Eller wrote:
That image should work, but you may have to enlarge it in Gimp first, and
give it more white space (increase canvas size).
The final stack that handles color is pretty awesome. Here's that final
post in the thread:
Folks:
I can read a simple text file from my server, but can’t write to the server. My
code is:
on getTestData
put http://waterdetective.earthednet.org/rawmeterdata/testdata; into xURL
put URL xURL into myTestData --This works.
put
71 matches
Mail list logo