Re: LC-Magick Collection

2017-01-31 Thread hh via use-livecode
Tracing all opaque parts of a picture with transparency, not only the
outline, is one of the tools that BerndN uses in button "TracedAntialias"
for the bilinear distortion, the tracing method used is "radial sweep".

We should ask him to make an own 'little stack' for "Antialiased Tracing"
where he describes his technique in some detail.

There are already really marvellous imaging tools written in LiveCode
available. And certainly I don't know all.
Perhaps we should start to collect them at one place, ask the authors
of these jewels to contribute.

My idea for this LC-magick collection here was to add only such techniques
that were not, or not this fast, available until now in LiveCode and that
are somehow connected to imageMagick. But that's only an idea.

As my last contribution for a while will follow this month
"DeLinear Perspective Distortion"
a tool that may help to "UnPerspective/ UnRotate/ UnSkew". Especially
people using OCR sometimes need that.

Hopefully others come in to enlarge this collection or build a new one.
Just open your treasure chests.

Hermann

> Roger E. wrote:
> I think your stack that traces the outlines of a multicolor PNG into polygon 
> shapes would be a fabulous addition to this image tool collection. ~Roger
> > hh wrote:
> > Added today #6: Bilinear Perspective Image Distortion 
> > Distortion part by 'hh', Antialiasing part by 'BNig'. 
> >
> > LC-Magick #1 - Blur and Pixelate (Scott R.) 
> > http://tactilemedia.com/blog/2016/03/26/update-blur-effect-
> > plus-pixelize-bonus/ 
> > LC-Magick #2 - Pointillize (Hermann H.) 
> > http://forums.livecode.com/viewtopic.php?p=141051#p141051
> > LC-Magick #3 - Image Multiplexing (Hermann H.) 
> > http://forums.livecode.com/viewtopic.php?p=141272#p141272
> > LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.) 
> > http://forums.livecode.com/viewtopic.php?p=148647#p148647
> > LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd N.) 
> > http://forums.livecode.com/viewtopic.php?p=14#p14
> > LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and Bernd 
> > N.) 
> > http://forums.livecode.com/viewtopic.php?p=150757#p150757
> >
> > Most of it is based on ideas presented in imageMagick's documentation 
> > http://www.imagemagick.org/Usage/

___
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: Mobile library for barcodes?

2017-01-31 Thread Mike Kerner via use-livecode
Roger, I agree.  I was not aware, until you mentioned it, this evening,
that zx ran on android.  If that is the case, and mergAV does not, then of
course it should not be deprecated, at least on Android.  On iOS, it is not
as useful for barcode scanning and recognition as mergAV is.  Anyway,
Jonathan, you would need mergAV to tell the camera to capture the image (on
ios), so I am not sure why you would then have a separate JS library
attempt to read it, since AV also includes a BC interpretation component.

On Tue, Jan 31, 2017 at 9:13 PM, Roger Eller via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When a question about what's available for "mobile" is raised, I always
> read it as "android, iOS, and maybe even Windows-mobile".  I never
> purchaced the full merg-suite because it doesn't fully support all of
> LiveCodes mobile platforms.  I do have mergZXing because it works on
> Android.  It shouldn't be deprecated unless there is an x-plat replacement.
>
> ~Roger
>
> On Jan 31, 2017 5:48 PM, "Mike Kerner via use-livecode" <
> use-livecode@lists.runrev.com> wrote:
> >
> > See my email.  mergAV is choice #1 for reading.  mergZX reads, but is not
> > as advanced as mergAV and really should be deprecated because it does not
> > have any features that mergAV does not have.  It just uses a different
> code
> > base.
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: LC-Magick Collection

2017-01-31 Thread Roger Eller via use-livecode
I think your stack that traces the outlines of a multicolor PNG into
polygon shapes would be a fabulous addition to this image tool collection.

~Roger

On Jan 31, 2017 6:23 PM, "hh via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Added today #6: Bilinear Perspective Image Distortion
> Distortion part by 'hh', Antialiasing part by 'BNig'.
>
> LC-Magick #1 - Blur and Pixelate (Scott R.)
> http://tactilemedia.com/blog/2016/03/26/update-blur-effect-
> plus-pixelize-bonus/
> LC-Magick #2 - Pointillize (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=141051#p141051
> LC-Magick #3 - Image Multiplexing (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=141272#p141272
> LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=148647#p148647
> LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd N.)
> http://forums.livecode.com/viewtopic.php?p=14#p14
> LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and Bernd
> N.)
> http://forums.livecode.com/viewtopic.php?p=150757#p150757
>
> Most of it is based on ideas presented in imageMagick's documentation
> http://www.imagemagick.org/Usage/
>
> ___
> 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: Mobile library for barcodes?

2017-01-31 Thread Roger Eller via use-livecode
When a question about what's available for "mobile" is raised, I always
read it as "android, iOS, and maybe even Windows-mobile".  I never
purchaced the full merg-suite because it doesn't fully support all of
LiveCodes mobile platforms.  I do have mergZXing because it works on
Android.  It shouldn't be deprecated unless there is an x-plat replacement.

~Roger

On Jan 31, 2017 5:48 PM, "Mike Kerner via use-livecode" <
use-livecode@lists.runrev.com> wrote:
>
> See my email.  mergAV is choice #1 for reading.  mergZX reads, but is not
> as advanced as mergAV and really should be deprecated because it does not
> have any features that mergAV does not have.  It just uses a different
code
> base.
___
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: Mobile library for barcodes?

2017-01-31 Thread Jonathan Lynch via use-livecode
You would capture the image in LC and pass it to JC - hypothetically

Sent from my iPhone

> On Jan 31, 2017, at 7:36 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> I am not aware of how you would get a JS library to tell the camera to
> capture an image on ios.
> ___
> 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: Mobile library for barcodes?

2017-01-31 Thread Mike Kerner via use-livecode
I am not aware of how you would get a JS library to tell the camera to
capture an image on ios.
___
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: Mobile library for barcodes?

2017-01-31 Thread Jonathan Lynch via use-livecode
Could you just use a JavaScript-based barcode reading library? That would work 
the same in all platforms.

Sent from my iPhone

> On Jan 31, 2017, at 6:48 PM, Dave Kilroy via use-livecode 
>  wrote:
> 
> Devin in case you need this for Android, Monte built an Android version of 
> merZXing (mergZXing-android-1-2 available to Indy/Business licence holders) 
> which works fine
> 
> Dave
> 
> 
> ___
> 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: Mobile library for barcodes?

2017-01-31 Thread Dave Kilroy via use-livecode
Devin in case you need this for Android, Monte built an Android version of 
merZXing (mergZXing-android-1-2 available to Indy/Business licence holders) 
which works fine

Dave


___
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


LC-Magick Collection

2017-01-31 Thread hh via use-livecode
Added today #6: Bilinear Perspective Image Distortion
Distortion part by 'hh', Antialiasing part by 'BNig'.

LC-Magick #1 - Blur and Pixelate (Scott R.)
http://tactilemedia.com/blog/2016/03/26/update-blur-effect-plus-pixelize-bonus/
LC-Magick #2 - Pointillize (Hermann H.)
http://forums.livecode.com/viewtopic.php?p=141051#p141051
LC-Magick #3 - Image Multiplexing (Hermann H.)
http://forums.livecode.com/viewtopic.php?p=141272#p141272
LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.)
http://forums.livecode.com/viewtopic.php?p=148647#p148647
LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd N.)
http://forums.livecode.com/viewtopic.php?p=14#p14
LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and Bernd N.)
http://forums.livecode.com/viewtopic.php?p=150757#p150757

Most of it is based on ideas presented in imageMagick's documentation
http://www.imagemagick.org/Usage/

___
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: Mobile library for barcodes?

2017-01-31 Thread hh via use-livecode
> Devin A. wrote:
> I am actually interested in *bar code* reading rather than QR codes.

https://github.com/trozware/rev_stacks/  ?


___
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: Yertle the Turtle

2017-01-31 Thread Ralph DiMola via use-livecode
>Mike Wrote:
>Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
alliterative as a ppp name)

I banged my head against a wall for days trying to get smooth shading of 3d
objects correct. (assembler on a 1980's ECL super computer) until the light
went on and I used center pixel coordinates for the color calculations. The
integer x/y pixel positions didn't cut it. Had to go center pixel floating
point.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Dr. Hawkins via use-livecode
On Tue, Jan 31, 2017 at 7:35 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> SELECT table_name FROM information_schema.tables WHERE
> table_schema='public' AND table_type='BASE TABLE';
>

It wasn't so much getting the names, but trying to find out what the db
thought it should be.

I think I have it figured out--it looks like I was using different admin
names.  (IN which case, though, I don't think that postgres even should
have told me the table name, but that's another issue.  Either that, or I
should have got a permission error, not an existence error . . .)

Thanks to all.  Off to more posters battles . . .

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Mobile library for barcodes?

2017-01-31 Thread Mike Kerner via use-livecode
See my email.  mergAV is choice #1 for reading.  mergZX reads, but is not
as advanced as mergAV and really should be deprecated because it does not
have any features that mergAV does not have.  It just uses a different code
base.

On Tue, Jan 31, 2017 at 5:31 PM, Devin Asay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for the responses. I am actually interested in *bar code* reading
> rather than QR codes.
>
> Do any of these solutions do bar codes? I’ll have a look as well in the
> meantime.
>
> Devin
>
> On Jan 31, 2017, at 11:47 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> Do you mean for reading them or printing them?
> squirt is for printing qr codes
> mergzxing lets you scan them, HOWEVER, I would strongly recommend that you
> use mergAV to scan them as it is more up-to-date, and has better options.
> ios only.
>
> On Tue, Jan 31, 2017 at 1:29 PM, John Dixon via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> John Craig wrote a library called 'squirt' for QR codes... works a treat !
>
> Sent from my iPhone
>
> On 31 Jan 2017, at 17:26, Devin Asay via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> Hi all,
>
> I have a vague memory that someone had created a barcode library or
> extension for mobile. Anybody know anything about that?
>
>
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
>
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Mobile library for barcodes?

2017-01-31 Thread Devin Asay via use-livecode
Thanks for the responses. I am actually interested in *bar code* reading rather 
than QR codes.

Do any of these solutions do bar codes? I’ll have a look as well in the 
meantime.

Devin

On Jan 31, 2017, at 11:47 AM, Mike Kerner via use-livecode 
> wrote:

Do you mean for reading them or printing them?
squirt is for printing qr codes
mergzxing lets you scan them, HOWEVER, I would strongly recommend that you
use mergAV to scan them as it is more up-to-date, and has better options.
ios only.

On Tue, Jan 31, 2017 at 1:29 PM, John Dixon via use-livecode <
use-livecode@lists.runrev.com> wrote:

John Craig wrote a library called 'squirt' for QR codes... works a treat !

Sent from my iPhone

On 31 Jan 2017, at 17:26, Devin Asay via use-livecode <
use-livecode@lists.runrev.com> wrote:

Hi all,

I have a vague memory that someone had created a barcode library or
extension for mobile. Anybody know anything about that?


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
nvm. ignore me. :) Something else entirely.  (but the whole idea of
tracking the coords separately still applies)
(goes to bed)

On Tue, Jan 31, 2017 at 2:57 PM, Mike Bonner  wrote:

> Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
> alliterative as a ppp name)
>
> On Tue, Jan 31, 2017 at 2:35 PM, Mike Bonner  wrote:
>
>> Yeah, I think this is due to that change a while back (the partial pixel
>> positioning stuff) it doesn't throw an error in your face if you set to a
>> decimal coord anymore.
>>
>>
>>
>>>
>>> Apparently fractional coordinates work fine, rounded reasonably well -
>>> this works:
>>>
>>>set the left of btn 1 to 100.004
>>>
>>> --
>>>  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
>>>
>>
>>
>
___
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: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
alliterative as a ppp name)

On Tue, Jan 31, 2017 at 2:35 PM, Mike Bonner  wrote:

> Yeah, I think this is due to that change a while back (the partial pixel
> positioning stuff) it doesn't throw an error in your face if you set to a
> decimal coord anymore.
>
>
>
>>
>> Apparently fractional coordinates work fine, rounded reasonably well -
>> this works:
>>
>>set the left of btn 1 to 100.004
>>
>> --
>>  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
>>
>
>
___
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: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
Yeah, I think this is due to that change a while back (the partial pixel
positioning stuff) it doesn't throw an error in your face if you set to a
decimal coord anymore.



>
> Apparently fractional coordinates work fine, rounded reasonably well -
> this works:
>
>set the left of btn 1 to 100.004
>
> --
>  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
>
___
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: fontLanguage()

2017-01-31 Thread Phil Davis via use-livecode

Thanks Paul.

I went to file a bug report and saw that Kenji Kojima filed one against 
LC 6.7.0 when the problem first occurred:


   http://quality.livecode.com/show_bug.cgi?id=12430

I didn't realize the feature had been deprecated. Ben Beaumont commented:

   This feature was going to be deprecated from LiveCode 7.0 onwards
   because modern fonts no longer use the language meta property.

Live and learn.

Thanks -
Phil


On 1/31/17 9:55 AM, Paul Hibbert via use-livecode wrote:

 From my simple tests, this seems to have been broken sometime after LC5.5.5, 
that’s the only version I have installed that doesn’t return ascii for every 
font installed on my Mac.

I tested;

LiveCode 5.5.5.app

LiveCode 6.7.8.app

LiveCode Commercial 6.7.11 (rc 2).app

LiveCode Indy 7.1.1.app

LiveCode Indy 7.1.4 (rc 2).app

LiveCode Indy 8.1.2.app

LiveCode Indy 8.1.3 (rc 1).app

LiveCode Indy 9.0.0 (dp 4).app

Paul
p...@livecode.org

Mac OS Sierra 10.12.3




On Jan 30, 2017, at 8:56 PM, Phil Davis via use-livecode 
 wrote:

Hi folks,

In LC 8.1.2 I have checked 'the fontLanguage' of all my installed fonts and get 
nothing but 'ansi', even for my Arabic fonts. In some previous version of LC my 
experience was different - guess I'll go digging and see what I find.

Does anyone have different outcomes with fontLanguage() in 8.1.2?

Thanks -
Phil Davis

--
Phil Davis


___
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


--
Phil Davis

___
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: Yertle the Turtle

2017-01-31 Thread hh via use-livecode
> Colin H. wrote:
> I’m sure any system would not attempt to parse an infinite number of decimal
> places. The turtle would probably be placed at 1.41421356237 pixels. If you
> want to try more accurately than that, here’s the first million decimal 
> places: 
> https://apod.nasa.gov/htmltest/gifcity/sqrt2.1mil

To make the confusion complete (or remove it):
If the turtle of Pythagoras, sitting at (0,0) had to move sqrt(2) units, it
would do that nevertheless *exactly*, crawling for example from (0,0) to (1,1).
___
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

'the printerSettings' LC Indy 7.0 to 8.1.3 rc1

2017-01-31 Thread Robert Eppich via use-livecode
The following pasted into the message box returns the result: “unknown 
printer”, in LC Indy 8.1.3 rc1 through to 7.0.
This script operates correctly in Livecode versions up to 6.7.7, by returning 
the result as empty.

put the printerSettings into tps
set the printerSettings to tps
put the result

Can anyone replicate this between versions 7.0 to 8.1.3 rc1? Or have a 
workaround to get it working in those versions?

Thanks
Rob Eppich
___
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: Mobile library for barcodes?

2017-01-31 Thread Mike Kerner via use-livecode
Do you mean for reading them or printing them?
squirt is for printing qr codes
mergzxing lets you scan them, HOWEVER, I would strongly recommend that you
use mergAV to scan them as it is more up-to-date, and has better options.
 ios only.

On Tue, Jan 31, 2017 at 1:29 PM, John Dixon via use-livecode <
use-livecode@lists.runrev.com> wrote:

> John Craig wrote a library called 'squirt' for QR codes... works a treat !
>
> Sent from my iPhone
>
> > On 31 Jan 2017, at 17:26, Devin Asay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi all,
> >
> > I have a vague memory that someone had created a barcode library or
> extension for mobile. Anybody know anything about that?
> >
> > Thanks,
> >
> > Devin
> >
> > Devin Asay
> > Director
> > Office of Digital Humanities
> > Brigham Young University
> >
> > ___
> > 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Yertle the Turtle

2017-01-31 Thread Colin Holgate via use-livecode
I’m sure any system would not attempt to parse an infinite number of decimal 
places. The turtle would probably be placed at 1.41421356237 pixels. If you 
want to try more accurately than that, here’s the first million decimal places:

https://apod.nasa.gov/htmltest/gifcity/sqrt2.1mil


> On Jan 31, 2017, at 11:22 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> If sqrt(2) is a bonkers number does anyone know how LOGO manages this?
> 
> Richmond.
> 
> On 1/31/17 5:36 pm, hh via use-livecode wrote:
>>> Richmond wrote:
>>> The problem is that (as far as I am aware) LiveCode cannot
>>> move objects for fractions of pixels.
>> Even if it could, this would be not enough, because sqrt(2)
>> is an irrational number ;-)
>> 
>> ___
>> 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


___
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: Mobile library for barcodes?

2017-01-31 Thread John Dixon via use-livecode
John Craig wrote a library called 'squirt' for QR codes... works a treat !

Sent from my iPhone

> On 31 Jan 2017, at 17:26, Devin Asay via use-livecode 
>  wrote:
> 
> Hi all,
> 
> I have a vague memory that someone had created a barcode library or extension 
> for mobile. Anybody know anything about that?
> 
> Thanks,
> 
> Devin
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> 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: Yertle the Turtle

2017-01-31 Thread Richmond Mathewson via use-livecode

If sqrt(2) is a bonkers number does anyone know how LOGO manages this?

Richmond.

On 1/31/17 5:36 pm, hh via use-livecode wrote:

Richmond wrote:
The problem is that (as far as I am aware) LiveCode cannot
move objects for fractions of pixels.

Even if it could, this would be not enough, because sqrt(2)
is an irrational number ;-)

___
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: Mobile library for barcodes?

2017-01-31 Thread Roger Eller via use-livecode
This?  http://mergext.com/home/mergzxing/  or
http://splash21.com/sQuiRt.php



On Tue, Jan 31, 2017 at 12:25 PM, Devin Asay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> I have a vague memory that someone had created a barcode library or
> extension for mobile. Anybody know anything about that?
>
> Thanks,
>
> Devin
>
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
>
> ___
> 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: Yertle the Turtle

2017-01-31 Thread Richard Gaskin via use-livecode

Quentin Long wrote:

> Suggestion for RM to try: Don't fuss about non-integer points—do all
> the necessary calculations "under the hood", and just let point-
> coördinates be assigned the resulting non-integer numbers as needed.
> With any luck, LC will make this "just work" on your screen.

Apparently fractional coordinates work fine, rounded reasonably well - 
this works:


   set the left of btn 1 to 100.004

--
 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: fontLanguage()

2017-01-31 Thread Paul Hibbert via use-livecode
From my simple tests, this seems to have been broken sometime after LC5.5.5, 
that’s the only version I have installed that doesn’t return ascii for every 
font installed on my Mac.

I tested;

LiveCode 5.5.5.app

LiveCode 6.7.8.app

LiveCode Commercial 6.7.11 (rc 2).app

LiveCode Indy 7.1.1.app

LiveCode Indy 7.1.4 (rc 2).app

LiveCode Indy 8.1.2.app

LiveCode Indy 8.1.3 (rc 1).app

LiveCode Indy 9.0.0 (dp 4).app

Paul
p...@livecode.org

Mac OS Sierra 10.12.3



> On Jan 30, 2017, at 8:56 PM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi folks,
> 
> In LC 8.1.2 I have checked 'the fontLanguage' of all my installed fonts and 
> get nothing but 'ansi', even for my Arabic fonts. In some previous version of 
> LC my experience was different - guess I'll go digging and see what I find.
> 
> Does anyone have different outcomes with fontLanguage() in 8.1.2?
> 
> Thanks -
> Phil Davis
> 
> -- 
> Phil Davis
> 
> 
> ___
> 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: Yertle the Turtle

2017-01-31 Thread Quentin Long via use-livecode
Suggestion for RM to try: Don't fuss about non-integer points—do all the 
necessary calculations "under the hood", and just let point-coördinates be 
assigned the resulting non-integer numbers as needed. With any luck, LC will 
make this "just work" on your screen.

   
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"

Read the webcomic at [ http://www.atarmslength.net ]!

If you like "At Arm's Length", support it at [ 
http://www.patreon.com/DarkwingDude ].

___
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

Mobile library for barcodes?

2017-01-31 Thread Devin Asay via use-livecode
Hi all,

I have a vague memory that someone had created a barcode library or extension 
for mobile. Anybody know anything about that?

Thanks,

Devin

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: Launch URL with Link Back to LC App

2017-01-31 Thread Ralph DiMola via use-livecode
>Richard Gaskin wrote:
>I suppose the question for us is: Why isn't this supported in LC as an
option in the Standalone Builder?

It is in a way with the "background audio" option in the standalone
settings. Enabling will get you rejected if there is no audio played in the
app(ask me how I know). This is because the UIBackgroundModes key is set to
"audio".

I'm not sure but I believe that any timers or call backs(say from tsnet)
will lock up the stack or make it go crazy. I think Mark chimed in on this
once but I can't find the thread. If the stack is just sitting idle there
are no problems.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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: Browser Widget/HTML5/LC Integration

2017-01-31 Thread Richard Gaskin via use-livecode

Alex Tweedly wrote:

> HTML also has something else - CSS, The object inheritance model in
> LC allows you to inherit properties (e.g. colour, margins, etc.) for
> your objects - but it doesn't have any easy way to classify together
> (I wanted to say "group" but that would get confusing :-) a number of
> objects. So in the example here, there were a bunch of buttons (
> entries) whose properties could be changed consistently by tweaking
> the CSS. I think we lack an equivalently easy way to do it in LC.

Being able to bind styles with the object as we do in LC is nice, but 
indeed lacking when we need to apply a style to a range of controls.


CSS does this well.  I believe Mark Waddingham had once suggested 
offhand that some sort of style management similar to CSS would be nice 
to consider adding to the engine, but with so much on their plates I'd 
be surprised if they've had time to explore it.


I have a need for this myself, and in the absence of an engine-provided 
solution I drafted my own:  I maintain a substack where I keep controls 
that I use as style templates, and in my user-facing controls I can 
assign a custom prop named "ufwStyleDef" which includes the short name 
of the relevant style template object.


It's property-based to be reasonably efficient ("set the properties of 
 to " was added specifically for the purpose of rapidly 
replicating objects), but of course we don't want all properties carried 
over.  So the style definition object contains a property named 
ufwExcludedStyleProps, a simple return-delimited list of properties I 
don't want to change in the object subscribing to a style template 
(usually just name and rect, sometimes other).


This rough draft wound up working well enough that I haven't bothered 
refining it, though I'm sure opportunities are there for more refined 
control and greater efficiency.  But as-is it covered what I needed to 
do, and on my machine it updates at the rate of about 1 ms per object, 
which is fast enough for my needs since I only run the update loop 
during development.



on fwUpdateObjectStyle pObj
   put the ufwStyleDef of pObj into tStyle
   if tStyle is empty then exit fwUpdateObjectStyle
   if there is not a control tStyle of stack "fwStyleTMPLs" then
   exit fwUpdateObjectStyle
   end if
   put the long id of control tStyle of stack "fwStyleTMPLs" into \
  tStyleDefObj
   put the properties of tStyleDefObj into tStylePropsA
   -- Remove props we don't want changed:
   put the ufwExcludedStyleProps of tStyleDefObj into tExcludedProps
   repeat for each line tProp in tExcludedProps
  delete variable tStylePropsA[tProp]
   end repeat
   -- Merge remainder with target object props:
   put the properties of pObj into tPropsA
   union tStylePropsA with tPropsA
   -- Apply the merged set:
   set the properties of pObj to tStylePropsA
end fwUpdateObjectStyle


--
 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: Launch URL with LInk Back to LC App

2017-01-31 Thread panagiotis merakos via use-livecode
This option is not in the Standalone Settings because  the engine does not
yet support suspend/resume explicitly. IIRC, in the past we had discussed
what needs to be done to properly support suspend/resume messages on
mobile, and it turned out to be quite tricky, requiring a major rewrite.


On Tue, Jan 31, 2017 at 4:53 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sannyasin Brahmanathaswami wrote:
>
> > Ralph
> >
> > Thanks, hacking the pList definitely works!
> >
> > I guess Apple doesn't care, right?
>
> I would imagine not, since they defined the plist and included that value
> for that purpose.
>
> I suppose the question for us is: Why isn't this supported in LC as an
> option in the Standalone Builder?
>
> --
>  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
>
___
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: Yertle the Turtle

2017-01-31 Thread Richard Gaskin via use-livecode

Richmond Mathewson wrote:

> Being a fan of Seymour Papert . . .
>
> I thought I'd try and implement turtle graphics in Livecode.

Have you seen Jim Hurley's?:

http://jamesphurley.com/Revolution.html

--
 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: Launch URL with LInk Back to LC App

2017-01-31 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> Ralph
>
> Thanks, hacking the pList definitely works!
>
> I guess Apple doesn't care, right?

I would imagine not, since they defined the plist and included that 
value for that purpose.


I suppose the question for us is: Why isn't this supported in LC as an 
option in the Standalone Builder?


--
 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: Yertle the Turtle

2017-01-31 Thread Colin Holgate via use-livecode
Whether you’re able to set subpixel or not, keep the intended location in 
variables, and add your move to the variables, then set the location of the 
turtle to the updated variables. 

> On Jan 31, 2017, at 2:41 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Thanks for the equations (I had in fact already worked those out), the 
> problem was
> not that, the problem is that (as far as I am aware) LiveCode cannot move 
> objects
> for fractions of pixels, so a move of , say, 30 forward at 30 degrees might 
> (and I haven't done
> the Maths yet) either be 29, 30 or 32 units.
> 
> Whether, in the great scheme of things this is that important is not clear.
> 
> Richmond.
> 
> On 1/31/17 8:22 am, Colin Holgate via use-livecode wrote:
>> It is, as you said, going to need sin and cos. The X movement would be 30 * 
>> cos(37/180 * Pi), and the Y movement would be 30 * sin(37/180 * Pi), in your 
>> example case.
>> 
>> 
>>> On Jan 30, 2017, at 11:14 PM, Richmond Mathewson via use-livecode 
>>>  wrote:
>>> 
>>> The problem is not with drawing the line.
>>> 
>>> The problem is how, when the turtle's "nose" is pointing at, say, 37 
>>> degrees from the vertical
>>> one can get it to move FORWARD for 30 units.
>>> 
>>> Richmond.
>>> 
>>> On 1/30/17 11:46 pm, Tore Nilsen via use-livecode wrote:
> 30. jan. 2017 kl. 21.20 skrev Richmond Mathewson via use-livecode 
> :
> 
> 2.2. I wonder how my turtle will be seen to draw a pen line from the two 
> ends of the "line".
 If you would like the “turtle” to move to the points of the line then, 
 lock screen, draw the line, hide the line and unlock the screen before you 
 start moving the “turtle”. Then no-one will ever see the line and you can 
 delete last graphic once the turtle has stopped moving.
 
 Regards
 Tore Nilsen
 ___
 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
>> 
>> ___
>> 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


___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
try put word 1 to -1 of theRes into theRes. Maybe there is a cr in there 
somewhere.

Bob S


On Jan 30, 2017, at 19:03 , Dr. Hawkins via use-livecode 
> wrote:

theRes holds "dhbk_lcnsees", as it should.  The name was created,
found in revDatabaseTableNames,
and filtered to the sole line of theRes.

___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
Oh PostGre I am out of my league then.

Bob S


On Jan 31, 2017, at 07:27 , Dr. Hawkins via use-livecode 
> wrote:

It's postgreSQL

___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
I always query the master table for the table names. Get the sql column which 
is the create statement, from which you can parse the column names. 

Bob S


> On Jan 30, 2017, at 18:29 , Dr. Hawkins via use-livecode 
>  wrote:
> 
> After opening a database, I check for the names of a table
> 
> *put* revDatabaseTableNames(licMkrDb) into theRes
> 
> *filter* theRes with "dhbk_*"
> 
> ck char -1 of theRes
> 
> *put* revDatabaseColumnNames(licMkrDb,theRes) into clmNms
> 
> at this point, clmNms contains
> 
> revdberr,invalid table name
> 
> Uhm, how can this possibly be?
> 
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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: Yertle the Turtle

2017-01-31 Thread hh via use-livecode
> Richmond wrote:
> The problem is that (as far as I am aware) LiveCode cannot
> move objects for fractions of pixels.

Even if it could, this would be not enough, because sqrt(2)
is an irrational number ;-)

___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Mike Kerner via use-livecode
SELECT * FROM information_schema.columns

That's from 
http://stackoverflow.com/questions/21728073/postgressql-search-all-tables-of-a-database-for-a-field-called-like-active

or

SELECT table_name FROM information_schema.tables WHERE
table_schema='public' AND table_type='BASE TABLE';

from 
http://stackoverflow.com/questions/14730228/postgres-query-to-list-all-table-names


On Tue, Jan 31, 2017 at 10:27 AM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Mon, Jan 30, 2017 at 8:07 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > What's the type of db, and did you try sending a pragma to pull the table
> > names to doublecheck?
> >
>
> It's postgreSQL
>
> I'll be doing that kind of read today.  I was so mystified yesterday, and
> my wife started serving dinner, so . . .
>
> I've used cut & paste for the name of the table; I only went to
> revDatabaseColumnNames() when using the name it *should *have, but get the
> same results.
>
> I do have my own tableNames() function, as the rev version sometimes fails
> to list them all . . .
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Dr. Hawkins via use-livecode
On Mon, Jan 30, 2017 at 8:07 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What's the type of db, and did you try sending a pragma to pull the table
> names to doublecheck?
>

It's postgreSQL

I'll be doing that kind of read today.  I was so mystified yesterday, and
my wife started serving dinner, so . . .

I've used cut & paste for the name of the table; I only went to
revDatabaseColumnNames() when using the name it *should *have, but get the
same results.

I do have my own tableNames() function, as the rev version sometimes fails
to list them all . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Yertle the Turtle

2017-01-31 Thread Mike Bonner via use-livecode
If I recall correctly, you can SET a location now that is a fraction of a
pixel.. Keep track of the decimals as your current location and use those
numbers (within reason) as your start point, and continue onward.  (think
it was called partial pixel positioning?)  While the actual location will
be a full pixel, keeping track of the fractionals for your equations will
keep things sympatico.

On Tue, Jan 31, 2017 at 2:41 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for the equations (I had in fact already worked those out), the
> problem was
> not that, the problem is that (as far as I am aware) LiveCode cannot move
> objects
> for fractions of pixels, so a move of , say, 30 forward at 30 degrees
> might (and I haven't done
> the Maths yet) either be 29, 30 or 32 units.
>
> Whether, in the great scheme of things this is that important is not clear.
>
> Richmond.
>
>
> On 1/31/17 8:22 am, Colin Holgate via use-livecode wrote:
>
>> It is, as you said, going to need sin and cos. The X movement would be 30
>> * cos(37/180 * Pi), and the Y movement would be 30 * sin(37/180 * Pi), in
>> your example case.
>>
>>
>> On Jan 30, 2017, at 11:14 PM, Richmond Mathewson via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> The problem is not with drawing the line.
>>>
>>> The problem is how, when the turtle's "nose" is pointing at, say, 37
>>> degrees from the vertical
>>> one can get it to move FORWARD for 30 units.
>>>
>>> Richmond.
>>>
>>> On 1/30/17 11:46 pm, Tore Nilsen via use-livecode wrote:
>>>
 30. jan. 2017 kl. 21.20 skrev Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com>:
>
> 2.2. I wonder how my turtle will be seen to draw a pen line from the
> two ends of the "line".
>
 If you would like the “turtle” to move to the points of the line then,
 lock screen, draw the line, hide the line and unlock the screen before you
 start moving the “turtle”. Then no-one will ever see the line and you can
 delete last graphic once the turtle has stopped moving.

 Regards
 Tore Nilsen
 ___
 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
>>>
>>
>> ___
>> 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
>
___
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: Yertle the Turtle

2017-01-31 Thread Richmond Mathewson via use-livecode
Thanks for the equations (I had in fact already worked those out), the 
problem was
not that, the problem is that (as far as I am aware) LiveCode cannot 
move objects
for fractions of pixels, so a move of , say, 30 forward at 30 degrees 
might (and I haven't done

the Maths yet) either be 29, 30 or 32 units.

Whether, in the great scheme of things this is that important is not clear.

Richmond.

On 1/31/17 8:22 am, Colin Holgate via use-livecode wrote:

It is, as you said, going to need sin and cos. The X movement would be 30 * 
cos(37/180 * Pi), and the Y movement would be 30 * sin(37/180 * Pi), in your 
example case.



On Jan 30, 2017, at 11:14 PM, Richmond Mathewson via use-livecode 
 wrote:

The problem is not with drawing the line.

The problem is how, when the turtle's "nose" is pointing at, say, 37 degrees 
from the vertical
one can get it to move FORWARD for 30 units.

Richmond.

On 1/30/17 11:46 pm, Tore Nilsen via use-livecode wrote:

30. jan. 2017 kl. 21.20 skrev Richmond Mathewson via use-livecode 
:

2.2. I wonder how my turtle will be seen to draw a pen line from the two ends of the 
"line".

If you would like the “turtle” to move to the points of the line then, lock 
screen, draw the line, hide the line and unlock the screen before you start 
moving the “turtle”. Then no-one will ever see the line and you can delete last 
graphic once the turtle has stopped moving.

Regards
Tore Nilsen
___
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


___
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