Re: open secure socket... using certificate

2021-01-29 Thread Tom Glod via use-livecode
Hi Richard...the man in the middle attack is exactly the thing I was
thinking of.

On Fri, Jan 29, 2021 at 1:09 AM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Tom Glod wrote:
>
>  > Richard. in the labs .. I am testing the viability of using
>  > Livecode as ONLY a UI layer.  So I have to find the fastest way of
>  > getting decrypted JSON data from Core process (Go binary) to the UI
>  > Layer that is a LC stack.
>
> SLL encryption/decryption adds overhead to that process.
>
>
>  > So when communicating data via the localhost or socket, I figured it
>  > should still be encrypted if possible when in transit between the 2
>  > programs. It's an attack vector in this kind of a scenario, a local
>  > one, not remote as much.
>
> The main benefit of encrypted sockets is to mitigate man-in-the-middle
> attacks.
>
> If you have a man in the middle of processes on a local computer that
> isn't you, it would seem you have bigger concerns. ;)
>
>
>
>  > It would have been nice to reply on the protocol for it. I can get
>  > around this particular problem of course by encrypting on one side
>  > and decrypting on the other, also.  If I am really paranoid about
>  > my security.
>
> Paranoia can be healthy, when taken as directed. There may be a benefit
> to encrypting localhost sockets that I'm unfamiliar with, and if someone
> can point me to threat vector I'd be grateful to learn.
>
> But I can't recall seeing a system that uses encrypted comms on local
> sockets.
>
>
>  > What do you think will be the fastest way?  Socket? Open Process?
>
> Sockets and multiprocessing are such different things I'm pretty sure I
> don't understand the usage scenario.  But if you can describe we can
> brainstorm to optimize, as many good threads here have done before.
>
> --
>   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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
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: Text field in Windows standalone not receiving keyboard focus

2021-01-29 Thread Curry Kenworthy via use-livecode


Andrew:

> I can’t add a breakpoint because the Remote Debugger
> will take focus from the standalone

Behold the power of the log file:
Logs DOMINATE standalone debugging for all but the simplest issues.
They don't affect focus, either.

(Remote Debugger is cool, but like most things, has big limitations.)

> If I add an answer “foo” the focus is properly shifted
> to the field after the modal.

Yes, I've seen that happen! And getting focus back by switching the app.
Familiar, but can't recall the culprit. Also, might have been on Mac:
one Mac project with a window shape and floating window acted up.
The more complexity a stack has, the more things can interact.

I do remember this: it didn't take long to fix or work around!
That's why it was a fleeting memory. So take heart.

If pasting can work around it, so can your code. Take charge of focus.
Or even better, finish debugging and fix the underlying cause.

> The card also doesn’t receive this message until the focus issue
> is resolved as described before

So someone else is receiving those keystrokes. Who?
Could be a script. A stack. A control that doesn't pass the message.
(And for each of those - could be yours, or LiveCode's/third party.)

Use your log, record where the focus is, pin down the perp.
Record the relevant field properties too, just in case.

>> - any front script or other library intercepting keystrokes?
> Nope

Is that proven, or just AFAYK?

But I wouldn't be surprised if it's a stack or other group/control.

> Datagrid, but not on this field or parent group.

DG is beautiful, but so often introduces issues.
Of course I wouldn't rip it out at this late point.
It might not be the culprit. Even if it is, you can work around.

Good news: pretty easy to fix or work around this!
I've had a very similar issue

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: Text field in Windows standalone not receiving keyboard focus

2021-01-29 Thread Peter Bogdanoff via use-livecode
Andrew, are you using Parallels/Windows for testing?

I just saw something somewhat similar where I suddenly couldn’t paste into a 
field; typing did work (Windows 10 running in Parallels, in IDE, not runtime). 
I went to Parallels’ settings for Windows, unchecked and rechecked “Share 
clipboard” and it now worked—could paste text.

Peter Bogdanoff

> On Jan 29, 2021, at 2:48 PM, Andrew at MidWest Coast Media via use-livecode 
>  wrote:
> 
> 
>> - add a keydown handler in the field. Is it received?
> This is received under the same circumstances described before. I can’t add a 
> breakpoint because the Remote Debugger will take focus from the standalone, 
> which is one of the known workarounds. If I add an answer “foo” the focus is 
> properly shifted to the field after the modal.
> 
>> - add a keydown handler in the card. Who's the target?
> The card also doesn’t receive this message until the focus issue is resolved 
> as described before… interesting. 
> 
>> - any front script or other library intercepting keystrokes?
> Nope
> 
>> - any behaviors?
> Datagrid, but not on this field or parent group.
> 
>> And if the normal culprits are exonerated, don't forget the more obscure 
>> and exotic possibilities:
>> 
>> - white text, or textshift?
> Nope, standard text that displays as soon as focus is properly received.
> 
>> - text added but clipped by a tabstop?
> No tabs
> 
>> - does all your startup code get executed? (And preopencard/stack code?)
> No errors thrown
> 
>> - is this a real Windows machine or virtualized setup?
> Win10 Boot Camp install running through Parallels, but the client who 
> complained is on native Win10 box.
> 
> 
> 
> 
> ___
> 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: Text field in Windows standalone not receiving keyboard focus

2021-01-29 Thread Andrew at MidWest Coast Media via use-livecode

> - add a keydown handler in the field. Is it received?
This is received under the same circumstances described before. I can’t add a 
breakpoint because the Remote Debugger will take focus from the standalone, 
which is one of the known workarounds. If I add an answer “foo” the focus is 
properly shifted to the field after the modal.

> - add a keydown handler in the card. Who's the target?
The card also doesn’t receive this message until the focus issue is resolved as 
described before… interesting. 

> - any front script or other library intercepting keystrokes?
Nope

> - any behaviors?
Datagrid, but not on this field or parent group.

> And if the normal culprits are exonerated, don't forget the more obscure 
> and exotic possibilities:
> 
> - white text, or textshift?
Nope, standard text that displays as soon as focus is properly received.

> - text added but clipped by a tabstop?
No tabs

> - does all your startup code get executed? (And preopencard/stack code?)
No errors thrown

> - is this a real Windows machine or virtualized setup?
Win10 Boot Camp install running through Parallels, but the client who 
complained is on native Win10 box.




___
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: open secure socket... using certificate

2021-01-29 Thread e.beugelaar--- via use-livecode
Xojo is not multi platform.
If you want to move, which i regret, I strongly advise you to go for the B4X 
platform.

Get Outlook for Android


From: use-livecode  on behalf of Bernard 
Devlin via use-livecode 
Sent: Friday, January 29, 2021 7:19:58 PM
To: How to use LiveCode 
Cc: Bernard Devlin 
Subject: Re: open secure socket... using certificate

Hi Richard

The idea of client certificates was why I was looking for this feature for
the past 15 years. I know that PKI is complex but it is important (which is
why browsers implemented it decades ago).  Even tsNet behaves very
differently on Windows and OS X when it comes to server certificates (looks
to me that Microsoft is mis-implementing their libcurl/schannel interface,
but I guess it stung them 20 years ago when they hadn't implemented
Certificate Revocation Lists).

Without LC having client certificates the only option I face is moving to
another tool. Even the idea of implementing real secure sockets in a FFI
external would be a huge amount of work for any of us users (as there is
not even a single lower level language which we could rely on in each
platform, so we'd be implementing a complex security layer and learning how
to do it in several different languages).

I'm going to look at moving to Xojo. Their docs say they implemented secure
sockets with certificates in 2006.  Their Android deployment platform is
close to completion. It really would have been better for LC to have
removed those claims from the Dictionary back in 2014, as then I'd have
seen in recent years it still hadn't been implemented and would have looked
at another tool months ago rather than get to this point and realise I'd
wasted a lot of time. I've spent an entire week now just pondering on the
options on how I can move forward.

Regards, Bernard


On Fri, Jan 29, 2021 at 4:12 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> Thank you, Bernard.  In bringing myself up to speed on this, once I
> stumbled across the phrase "two-way SSL" I was able to find much good
> reading about it.
>
> I just added Comment #11 to the bug report on this:
>
>  The range of services requiring two-way SSL is increasing,
>  and with IoT the scope of use cases is multiplying.
>
>  Where required, I don't see an opportunity for a scripted
>  workaround, so in those cases the only alternative is to
>  leave LC for a tool that supports two-way SSL.
>
>  This would seem a good time to bite the bullet on this
>  implementation. What would be required to make it happen?
>
> https://quality.livecode.com/show_bug.cgi?id=13410#c11
>
>
___
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: installing and running LC on 'headless' linux server

2021-01-29 Thread matthias rebbe via use-livecode
Ben,

is there a reason why you do not install/use Livecode Server instead of 
Livecode IDE on your system?

You could run livecode scripts directly from shell. 


Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode 
> :
> 
> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 
> 20.
> 
> (Then I'll be using it to run a particular stack on a cron job.)
> 
> I've done this a long time ago with a standalone - but in this case I'd 
> rather be able to do it with a stack.
> 
> The only thing that I know about is "-ui" but I'm not even far enough along 
> to make use of this.
> 
> My first question is what's the best way to install it? Do I download the 
> installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the 
> server and run it there? Or is that going to be a GUI installer?
> 
> Are there options I need to know about like where it should go?
> 
> And then are there tips about where I put my stacks, how to see error or 
> debugging output, how the stack reads command line parameters etc?
> 
> Any and all advice welcome - especially of course "go and read this guide 
> over here you idiot".
> 
> TIA,
> 
> Ben
> 
> ___
> 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


installing and running LC on 'headless' linux server

2021-01-29 Thread Ben Rubinstein via use-livecode

So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 
20.

(Then I'll be using it to run a particular stack on a cron job.)

I've done this a long time ago with a standalone - but in this case I'd rather 
be able to do it with a stack.


The only thing that I know about is "-ui" but I'm not even far enough along to 
make use of this.


My first question is what's the best way to install it? Do I download the 
installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the 
server and run it there? Or is that going to be a GUI installer?


Are there options I need to know about like where it should go?

And then are there tips about where I put my stacks, how to see error or 
debugging output, how the stack reads command line parameters etc?


Any and all advice welcome - especially of course "go and read this guide over 
here you idiot".


TIA,

Ben

___
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: open secure socket... using certificate

2021-01-29 Thread Bernard Devlin via use-livecode
Hi Richard

The idea of client certificates was why I was looking for this feature for
the past 15 years. I know that PKI is complex but it is important (which is
why browsers implemented it decades ago).  Even tsNet behaves very
differently on Windows and OS X when it comes to server certificates (looks
to me that Microsoft is mis-implementing their libcurl/schannel interface,
but I guess it stung them 20 years ago when they hadn't implemented
Certificate Revocation Lists).

Without LC having client certificates the only option I face is moving to
another tool. Even the idea of implementing real secure sockets in a FFI
external would be a huge amount of work for any of us users (as there is
not even a single lower level language which we could rely on in each
platform, so we'd be implementing a complex security layer and learning how
to do it in several different languages).

I'm going to look at moving to Xojo. Their docs say they implemented secure
sockets with certificates in 2006.  Their Android deployment platform is
close to completion. It really would have been better for LC to have
removed those claims from the Dictionary back in 2014, as then I'd have
seen in recent years it still hadn't been implemented and would have looked
at another tool months ago rather than get to this point and realise I'd
wasted a lot of time. I've spent an entire week now just pondering on the
options on how I can move forward.

Regards, Bernard


On Fri, Jan 29, 2021 at 4:12 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> Thank you, Bernard.  In bringing myself up to speed on this, once I
> stumbled across the phrase "two-way SSL" I was able to find much good
> reading about it.
>
> I just added Comment #11 to the bug report on this:
>
>  The range of services requiring two-way SSL is increasing,
>  and with IoT the scope of use cases is multiplying.
>
>  Where required, I don't see an opportunity for a scripted
>  workaround, so in those cases the only alternative is to
>  leave LC for a tool that supports two-way SSL.
>
>  This would seem a good time to bite the bullet on this
>  implementation. What would be required to make it happen?
>
> https://quality.livecode.com/show_bug.cgi?id=13410#c11
>
>
___
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: Double sided PDF Problem

2021-01-29 Thread Curry Kenworthy via use-livecode


Brian:
> I’d like to print decks of cards, front and back

This post has become a master puzzle of its own!
Enough detail to elicit solutions, yet still open-ended.
Each answer makes its own assumptions, and solves a different problem.
But I like it. So OK, I'll join. Here goes

My own assumptions derive from Keep It Simple (KISS) code philosophy.
So I'm not going to read more into the problem than necessary.
I tend to prefer the simplest and most universal answer.
Also with the fewest dependencies.

> The front page is always easy. Cards print left to right: 1-3
> Flipping the pages, in portrait layout, the cards are now
> face down, in order but reversed: 3,2, 1.

I'm not going to make ANY assumptions about print drivers solving it.
(Unless first tested in LC, on target platforms, with target printers.)

Bob and Jacque might be right. These days, drivers usually auto-fit.
But often LC doesn't fit assumptions! Test first; don't build on theory.

The way I read it, so far this is already solved by the 321 reversal.
Brian already has his images in the proper order, front and back.
And that approach should be very universal; no dependencies.
I would expect it to work for any printer, or PDF, any platform.

There was no mention of booklets or alternating margins, so I'm not 
adding that to the problem. Choosing a simple interpretation.


> The problem is, printing 3 wide by 4 tall, aligning the two.

I see this as just lining up the front and back images precisely so that 
the cards can be cut out. Right now, one side is too far left, or down?


So my suggestion is:

1. Make sure your images are PRECISELY spaced in their arrangement.
(Use code if necessary.)

2. Group the images.
(Or whatever type of controls you are using for the playing cards.)

3. Set loc of group to loc of the LC card.

(And LC card widths are usually divible by 2, so center might be a pixel 
different front and back, if you're using the same group of images. 
Depending on image design and driver auto-fit, usually that's moot.

But if it's a problem, easy to solve - several good options.)

Did I guess right about the nature of the problem? :)
Nice topic!

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: Double sided PDF Problem

2021-01-29 Thread Paul Dupuis via use-livecode

On 1/29/2021 11:16 AM, Bob Sneidar via use-livecode wrote:

As an IT technician working for a copier sales and service company, I always 
discourage page imposition in the document itself. Most print drivers have a 
means of producing booklets and handle the imposition for you. If you are 
indeed producing booklets, I assume they need to be center stapled as well.

Adobe has it’s own means of imposing pages for a booklet. Typically I advise 
having Reader impose the pages, then everything else can be handled in the 
actual print driver properties. That of course is only for Adobe products.

Bob S



Yea, PDFs are not double sided. You can print a PDF to any printer that 
supports double-sided printing and whatever original applications 
(MS-Word, etc.) you used to create the PDF can be formatted for 
double-sided, book-style printing by having alternating even and odd 
margins and so on, but PDFs themselves are not double sided.




___
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: Double sided PDF Problem

2021-01-29 Thread Bob Sneidar via use-livecode
As an IT technician working for a copier sales and service company, I always 
discourage page imposition in the document itself. Most print drivers have a 
means of producing booklets and handle the imposition for you. If you are 
indeed producing booklets, I assume they need to be center stapled as well. 

Adobe has it’s own means of imposing pages for a booklet. Typically I advise 
having Reader impose the pages, then everything else can be handled in the 
actual print driver properties. That of course is only for Adobe products. 

Bob S

> On Jan 29, 2021, at 1:38 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m thinking (guessing) that he’s into the more general problem that you get 
> when you are trying to print say a booklet with multiple pages of the book 
> per printed sheet. You do have to print double-sided (and your printer may 
> help you with that) but the key is lay it out so that page 2 of the booklet 
> is at the back of page 1 etc. If for example you have an 8 page leaflet 
> printed four up, the first - verso - physical page could be laid out like
> 
> 1   3
> 5   7
> 
> and the other side of the paper - recto - would be laid out
> 
> 4   2
> 8   6
> 
> People who print books etc are having to do this all the time, so it’s 
> reasonable to assume that the problem has been encapsulated in a procedure by 
> now. I won’t start with the links, since I don’t really know if this is the 
> problem Brian is trying to solve.
> 
> Graham
> 
>> On 29 Jan 2021, at 06:21, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Right after I sent the message below, I think I understand what you meant. 
>> You want to print double-sided pages of all the cards in a stack. Is that 
>> right? On a regular printer you don't have to do anything special; if the 
>> printer driver supports double-sided printing then it just works.
>> 
>> For PDFs, I'd have to check. What OS are you on?
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" 
>>  wrote:
>> 
>>> I'm confused. Are you writing a card game with decks of cards? Or do you
>>> mean the cards in a lC stack? What is "flipping the page"?
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode"
>>>  wrote:
>>> 
 I’d like to print decks of cards, front and back
 
 The front page is always easy.
 Cards print left to right: 1-3
 
 Flipping the pages, in portrait layout, the cards are now face down, in
 order but reversed: 3,2, 1.
 
 The problem is, printing 3 wide by 4 tall, aligining the two.
 
 Any existing solutions or discussions?
 
 Thanks for your time,
 Brian Duck
 Bduck at m@c dot 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
>> 
>> 
>> 
>> 
>> ___
>> 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: Double sided PDF Problem

2021-01-29 Thread Bob Sneidar via use-livecode
I may be missing something, but a document itself is not double sided. I think 
you may be saying that you want to automate the process of printing and force 
the output to be double sided. I do not think that is possible, although I can 
see how that would be useful to push print properties before a print job. 

Bob S


> On Jan 28, 2021, at 10:21 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Right after I sent the message below, I think I understand what you meant. 
> You want to print double-sided pages of all the cards in a stack. Is that 
> right? On a regular printer you don't have to do anything special; if the 
> printer driver supports double-sided printing then it just works.
> 
> For PDFs, I'd have to check. What OS are you on?
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" 
>  wrote:
> 
>> I'm confused. Are you writing a card game with decks of cards? Or do you
>> mean the cards in a lC stack? What is "flipping the page"?
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode"
>>  wrote:
>> 
>>> I’d like to print decks of cards, front and back
>>> 
>>> The front page is always easy.
>>> Cards print left to right: 1-3
>>> 
>>> Flipping the pages, in portrait layout, the cards are now face down, in
>>> order but reversed: 3,2, 1.
>>> 
>>> The problem is, printing 3 wide by 4 tall, aligining the two.
>>> 
>>> Any existing solutions or discussions?
>>> 
>>> Thanks for your time,
>>> Brian Duck
>>> Bduck at m@c dot 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
> 
> 
> 
> 
> ___
> 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: open secure socket... using certificate

2021-01-29 Thread Richard Gaskin via use-livecode

Bernard Devlin wrote:

> On Thu, Jan 28, 2021 at 4:44 PM Richard Gaskin wrote:
>> Is this specific to the server "accept" not supporting SSL,
>> or something client-side?
>
> Hi Richard, it's client side.
>
> The project is a messaging app, principally for mobile.  SSL/TLS
> certificates issued with client software enable servers to know that
> the connection is allowed at a network level before any user
> authentication.


Thank you, Bernard.  In bringing myself up to speed on this, once I 
stumbled across the phrase "two-way SSL" I was able to find much good 
reading about it.


I just added Comment #11 to the bug report on this:

The range of services requiring two-way SSL is increasing,
and with IoT the scope of use cases is multiplying.

Where required, I don't see an opportunity for a scripted
workaround, so in those cases the only alternative is to
leave LC for a tool that supports two-way SSL.

This would seem a good time to bite the bullet on this
implementation. What would be required to make it happen?

https://quality.livecode.com/show_bug.cgi?id=13410#c11

--
 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: OT Friendly customers....

2021-01-29 Thread Heather Laine via use-livecode
Yikes. 

I took my eye off the list for just a few hours...

Folks, please, no. None of this here. We are here to discuss something we have 
in common, viz, LiveCode. I like to think that focussing on something we have 
in common helps to heal divides and reduce extreme views on all sides, but 
whether it does or not it is never appropriate to air these kinds of views on 
this list.

My best regards to all and not another peep out of any of you on this topic.

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 29 Jan 2021, at 01:12, Bob Sneidar via use-livecode 
>  wrote:
> 
> Why am I still seeing this? 
> 
> Bob S
> 
> 
>> On Jan 28, 2021, at 4:21 PM, Curry Kenworthy via use-livecode 
>>  wrote:
>> 
>> 
>> Stephen:
>> 
>>> forgive me that last post was supposed to be for Curry only
>> 
>> Stephen, I want to thank you for providing verification of the kind of hate 
>> speech/harrassment you were sending offline.
>> 
>> And for the record, I didn't attack you - I mentioned the FBI's lack of 
>> action when commenting on the proliferation of scams. Didn't start that 
>> thread, nor that topic. Didn't promote politics; stated my position AGAINST 
>> politicizing institutions, so that real crime can be addressed.
>> 
>> Nor did I mention Trump or a political position.
>> 
>> You ILLOGICALLY jumped to the conclusion that I was talking about this 
>> year's political situation (ignoring the details, including the dates that 
>> clearly preceded the situation you have in mind) and decided to mentally 
>> place me into a category of people that you hate.
>> 
>> Then you proceeded to attack ME (based on irrational reasoning) and send me 
>> hateful messages. Along with creepy demands to know which "team" I'm on.
>> 
>> You proactively mentioned Trump and your own brand of politics.
>> I didn't mention any political position to you.
>> 
>> I couldn't care less about your political opinions or proclivities.
>> I'm not bothered if you have "zero respect" or hate me based on your 
>> prejudices and illogical thinking.
>> 
>> I do find it disturbing when I see hatred, but it doesn't bother me 
>> personally when it's directed at me. I'll sleep just fine!
>> 
>> Rest assured that I'm definitely not on your "team."
>> You can keep all that offlist - and remember, I'm not your offlist.
>> Start a hate blog, or talk to your buddies about it.
>> 
>> But I do care about logic. Look at the years: you messed up.
>> All that ranting and raving, interrupting a thread with attacks, all based a 
>> false premise: assuming that I was talking about this year's events. 
>> Congratulations!
>> 
>> Now, can we get back to LC or not?
>> 
>> I've stated that I am AGAINST politicizing organizations including this 
>> list. Nor do I want your offlist rants. LC only please!
>> 
>> Best wishes,
>> 
>> Curry Kenworthy
>> 
>> Custom Software Development
>> "Better Methods, Better Results"
>> LiveCode Training and Consulting
>> http://livecodeconsulting.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


___
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: open secure socket... using certificate

2021-01-29 Thread Bernard Devlin via use-livecode
Hi Richard, it's client side.

The project is a messaging app, principally for mobile.  SSL/TLS
certificates issued with client software enable servers to know that the
connection is allowed at a network level before any user authentication.

In the early stages of development it was simple enough for a LC messaging
server to dismiss connections which didn't come from an accepted client and
didn't meet the specification.  Once I moved to an industry standard server
then the connections have to be encrypted with certificates at both ends.

Regards, Bernard

On Thu, Jan 28, 2021 at 4:44 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Bernard Devlin wrote:
>
>  > I feel like a sucker. I started on this project a few months ago on
>  > the assumption that socket certificates now worked as they'd been
>  > included in the Dictionary for years. I was away from development for
>  > a few years and hadn't noticed the complaints that the Dictionary was
>  > misrepresenting the situation.
>
> Is this specific to the server "accept" not supporting SSL, or something
> client-side?
>
> --
>   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: Double sided PDF Problem

2021-01-29 Thread Graham Samuel via use-livecode
I’m thinking (guessing) that he’s into the more general problem that you get 
when you are trying to print say a booklet with multiple pages of the book per 
printed sheet. You do have to print double-sided (and your printer may help you 
with that) but the key is lay it out so that page 2 of the booklet is at the 
back of page 1 etc. If for example you have an 8 page leaflet printed four up, 
the first - verso - physical page could be laid out like

1   3
5   7

and the other side of the paper - recto - would be laid out

4   2
8   6

People who print books etc are having to do this all the time, so it’s 
reasonable to assume that the problem has been encapsulated in a procedure by 
now. I won’t start with the links, since I don’t really know if this is the 
problem Brian is trying to solve.

Graham

> On 29 Jan 2021, at 06:21, J. Landman Gay via use-livecode 
>  wrote:
> 
> Right after I sent the message below, I think I understand what you meant. 
> You want to print double-sided pages of all the cards in a stack. Is that 
> right? On a regular printer you don't have to do anything special; if the 
> printer driver supports double-sided printing then it just works.
> 
> For PDFs, I'd have to check. What OS are you on?
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On January 28, 2021 11:59:01 PM "J. Landman Gay via use-livecode" 
>  wrote:
> 
>> I'm confused. Are you writing a card game with decks of cards? Or do you
>> mean the cards in a lC stack? What is "flipping the page"?
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On January 28, 2021 11:15:51 PM "Brian K. Duck via use-livecode"
>>  wrote:
>> 
>>> I’d like to print decks of cards, front and back
>>> 
>>> The front page is always easy.
>>> Cards print left to right: 1-3
>>> 
>>> Flipping the pages, in portrait layout, the cards are now face down, in
>>> order but reversed: 3,2, 1.
>>> 
>>> The problem is, printing 3 wide by 4 tall, aligining the two.
>>> 
>>> Any existing solutions or discussions?
>>> 
>>> Thanks for your time,
>>> Brian Duck
>>> Bduck at m@c dot 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
> 
> 
> 
> 
> ___
> 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