> On 8 May 2015, at 6:31 pm, J. Landman Gay 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 related to that.
It d
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:
1.
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 line/row
On May 9, 2015 7:38:06 AM CDT, David V Glasgow 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. But why don’t
> Le 9 mai 2015 à 16:08, Terence Heaford 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 that will ad
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 d
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,
includ
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 st
On Fri, May 8, 2015 at 9:37 PM, Phil Davis 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 to the secon
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 w
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 it
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 databas
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:
http://andregarzia.on-rev.com
Thanks Mark. Got it!
Bill
> On May 9, 2015, at 10:46 AM, Mark Waddingham 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, it sho
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 ur
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 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 d
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 invo
On Sat, May 9, 2015 at 10:54 AM, Mark Waddingham 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
> sockets as you
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 ar
On Sat, May 9, 2015 at 11:46 AM, William Prothero
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. There
> are probably s
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, inst
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
> wrote:
>
> Hi Colin,
>
> I asked the same question on ChatRev the other day. Eventually we pretty much
> agreed that Mark is probably
I didn’t mean it to be.
> On May 9, 2015, at 2:53 PM, Richmond 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.
___
u
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" wrote:
> Does anyone know of a way to:
>
> 1. Trace an image
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 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.
I never mean my co
"I'm always angry. That's my secret." --Dr. Banner
On May 9, 2015 2:58 PM, "Richmond" 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
>>> wrote:
>>>
>>> This is in no way a complaint! But I’m curious about how much Mar
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 thin
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 mad
Many thanks, Mark ! Very useful.
Pierre
> Le 9 mai 2015 à 21:03, Mark Waddingham 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.
>
> Sockets ar
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 with
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 “http://waterdetective.earthednet.org/rawmeterdata/my
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 it,
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 wrote:
>
> Bonjour Terry,
>
> on closeFieldEditor
> you could
> put the dgHilitedLines o
Dear Richmond,
that is a monochrome png with transparency.
It is not for colorTrace.
Try this stack
http://forums.livecode.com/viewtopic.php?f=10&t=19040&hilit=+tracing
it traces the alphachannel instead
and tell me if this works
Kind regards
Bernd
--
View this message in context:
http
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
Sen
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
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
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 is
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
>
> Message: 8
> Date: Sat, 09 May 2015 19:59:15 +0300
> From: Richmond
> To: How to use LiveCode
> Subject: Re: Automated Drawing
> Message-ID: <554e3ce3.2030...@gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 09/05/15 16:52, Richmond wrote:
>> On 21/03/15 18:17, Jim
On 10/05/15 01:22, Jim Hurley wrote:
Message: 8
Date: Sat, 09 May 2015 19:59:15 +0300
From: Richmond
To: How to use LiveCode
Subject: Re: Automated Drawing
Message-ID: <554e3ce3.2030...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
On 09/05/15 16:52, Richmond wrote:
On 21/
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
> To: How to use LiveCode
> Subject: Re: Automated Drawing
> Message-ID: <554e3ce3.2030...@gmail.com>
> Content-Type
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 Butto
Richmond,
if you use colorTrace on HturtleColor.png and choose radio button 2 for the
posterized image to trace then it traces HturtleColor.png all right.
If everything failes convert these funny pngs to jpeg and do a colorTrace on
that. Again choose from the radio buttons the number of colors t
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 pLi
Ah k. Yep. don't do it that way.
On Sat, May 9, 2015 at 5:08 PM, Mike Bonner 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 replace cr with em
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
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 5
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 commands
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
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
On Sat, May 9, 2015 at 5:33 PM, Mike Bonner 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 visit this url to sub
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'
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 for
On Sat, May 9, 2015 at 6:51 PM, Geoff Canyon 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 char i of
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 w
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 c
On Sat, May 9, 2015 at 12:03 PM, Mark Waddingham 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 they would be s
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 s
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 (charac
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
"642,6,4,3;642,6,4,1;642,6,661,4,3;5,50,
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
KvK
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 into
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 t
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
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 9, 2015 at 8:31 PM, Mar
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 wrote:
>
> We went through this a while ago, I think a ch
On Sat, May 9, 2015 at 7: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 ha
72 matches
Mail list logo