Re: open secure socket... using certificate

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

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


Re: OT Friendly customers....

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


Matthias:

> So in my case it was not scam but just a rude person.

Plenty of those around. Including what comes around.

Manipulative people usually follow 2 tactics.
Either buttering up for a favor, or being rude to apply pressure.
Sometimes both; they will abruptly switch if one fails.

In which case I tend to grab either popcorn or a flamethrower.
Not a huge fan of manipulation.

Doc hawk:

> asking about playing games like “hide the salami”

Careful - from a sandwich point of view,
that could potentially imply the "c" word!

Heather:

> Did somebody say cheese??

Probably those damn portrait photographers again!
Truly evil people - no souls behind the fake smiles.

(A little humor now and then is the best medicine.)

Paul:

> you should not be surprised some people assume SCAM first

My "unfavorites" were the "Windows tech support" and "Google listings" 
phone call scams.


Right now during 2020-2021 my breathing isn't good enough for phone 
conversations anymore, and all calls go to voice mail.


But in previous years those guys would call all the time. They weren't 
following any rules/laws anyway, so you couldn't get off their list by 
traditional methods.


So I tried some unorthodox methods - pranking and wasting their time.

I had one of the "Windows tech support" guys passionately defending 
himself when I asked what his family back in India would think about him 
becoming a criminal. Another couple of times, I played along with their 
spiel, got transferred from the little crook to the big crook, and 
wasted his time too for a while before scolding them and hanging up at 
the crucial moment. They eventually gave up on me just as I was planning 
some bigger pranks.


(Our "FBI" is way too busy being a partisan political tool to handle any 
real crime; no telling how many scams they've allowed to flourish that 
it is their duty and job description to shut down and prevent.)


But the "Google listings" people were unstoppable. They were operating 
in more of a legal/moral gray area, and they must have been raking in 
the $$$. Most persistent I've ever seen/heard. I suppose they are still 
at it; I just haven't been able to answer the phone for ages.


My "unfavorite" email scam is the one where your email account will be 
closed unless you log in to verify it or approve the new security 
measures, etc. A couple of variations on this theme looked very real.


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

2021-01-28 Thread Jerry Jensen via use-livecode


> On Jan 28, 2021, at 11:46 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> As I wrote to you offlist, in reply to your hateful and cursing rant:

Ce fromage pue ! 

Please keep it offlist.


___
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: Call lc from php?

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



Richard:

> For those of you who haven't seen Ralf's recent work
> on the revIgniter site [...]

It's been on the edge of my radar, but never had a chance to use it yet. 
Thanks for the testimonial and reminder! Hope to try it later this year.


Rick:

> Why are you still using PHP when LC is better?

Technically, depends on how you define "better."
PHP definitely wins in some areas.
And there are already a lot of well-tested tools available for PHP.

But in general, I share your sentiment. I'm "all in" for LC.

I'm one of the few who are 100% specialized in LiveCode for all 
development. But I predict that will be a growing segment.


I think it's great when LC can tie into other interfaces - the more of 
that the better. And PHP is a giant. Good reason to tie in. Win-win.

It will actually make even MORE projects suitable for LC.
Or easier; most of this stuff was already possible for a long time.

If a job can be done in LiveCode, that's where I'm doing it.
And it's difficult to find a job that can't be done here.
People STILL don't realize all that LC can do

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

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

Tom Glod wrote:

> Wondering if it will be super hard to create certificate and make it
> work on localhost sockets.

Pardon my naivete, but what is the value of a secured socket in local 
socket comms?


--
 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-28 Thread Curry Kenworthy via use-livecode


Stephen:

> Putting down the FBI won’t help anything and makes me think you
> might be partial to the dark forces and fake news. We get enough
> of the hate through other sources and it is unwelcome here.

Ah Stephen, it's good to see that you've moved on from your previous 
practice of gender-bashing! That's rather nice for a change.


Unfortunately, your current direction doesn't look any healthier. First, 
your conflating two very unrelated matters - that's (once again) 
illogical. And logic is healthier and more effective.


Second, you are taking a general position AGAINST a law enforcement 
organization doing what it's supposed to do, i.e. uphold the law. You 
seem to be FOR politicization of law enforcement and government 
corruption. That leads to neglect of actual crimes, including scams. 
There is widespread agreement here that scams are common; the fact that 
crime is commonplace fits well with what I've suggested. My position is 
that law enforcement should NOT be political and SHOULD focus on the 
law. That is both the logical and the moral position to take.


Third, you reveal your own unhealthy obsession with "dark forces and 
fake news" - you feel persecuted and pelted by hate from other sources 
(which you don't simply turn off/avoid?) and along with illogically 
projecting your own hate or the hate you perceive from said other 
sources, you also have a tendency toward the "royal we" where your own 
emotions/conflations are assigned to the list in general.


Interesting, Stephen! Do go on.
You reveal quite a lot about yourself each time you post.
I think popcorn is appropriate. Consider me a fan of your show

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

2021-01-28 Thread Stephen Barncard via use-livecode
My last word. Curry's gaslight and personal attack tells me all I need to
know about which team Curry is cheering for.
I am defending my words - I said nothing wrong or inaccurate. I was trying
to calm down the temperature and Curry's response just made it worse.

Enough of this freaking cheese crap.
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Thu, Jan 28, 2021 at 10:07 AM Stephen Barncard 
wrote:

> Curry,
>
> Putting down the FBI won’t help anything and makes me think you might be
> partial to the dark forces and fake news. We get enough of the hate through
> other sources and it is unwelcome here.
>
>
> On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>
>> Matthias:
>>
>>  > So in my case it was not scam but just a rude person.
>>
>> Plenty of those around. Including what comes around.
>>
>> Manipulative people usually follow 2 tactics.
>> Either buttering up for a favor, or being rude to apply pressure.
>> Sometimes both; they will abruptly switch if one fails.
>>
>> In which case I tend to grab either popcorn or a flamethrower.
>> Not a huge fan of manipulation.
>>
>> Doc hawk:
>>
>>  > asking about playing games like “hide the salami”
>>
>> Careful - from a sandwich point of view,
>> that could potentially imply the "c" word!
>>
>> Heather:
>>
>>  > Did somebody say cheese??
>>
>> Probably those damn portrait photographers again!
>> Truly evil people - no souls behind the fake smiles.
>>
>> (A little humor now and then is the best medicine.)
>>
>> Paul:
>>
>>  > you should not be surprised some people assume SCAM first
>>
>> My "unfavorites" were the "Windows tech support" and "Google listings"
>> phone call scams.
>>
>> Right now during 2020-2021 my breathing isn't good enough for phone
>> conversations anymore, and all calls go to voice mail.
>>
>> But in previous years those guys would call all the time. They weren't
>> following any rules/laws anyway, so you couldn't get off their list by
>> traditional methods.
>>
>> So I tried some unorthodox methods - pranking and wasting their time.
>>
>> I had one of the "Windows tech support" guys passionately defending
>> himself when I asked what his family back in India would think about him
>> becoming a criminal. Another couple of times, I played along with their
>> spiel, got transferred from the little crook to the big crook, and
>> wasted his time too for a while before scolding them and hanging up at
>> the crucial moment. They eventually gave up on me just as I was planning
>> some bigger pranks.
>>
>> (Our "FBI" is way too busy being a partisan political tool to handle any
>> real crime; no telling how many scams they've allowed to flourish that
>> it is their duty and job description to shut down and prevent.)
>>
>> But the "Google listings" people were unstoppable. They were operating
>> in more of a legal/moral gray area, and they must have been raking in
>> the $$$. Most persistent I've ever seen/heard. I suppose they are still
>> at it; I just haven't been able to answer the phone for ages.
>>
>> My "unfavorite" email scam is the one where your email account will be
>> closed unless you log in to verify it or approve the new security
>> measures, etc. A couple of variations on this theme looked very real.
>>
>> 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
>>
> --
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
___
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-28 Thread Richard Gaskin via use-livecode
Before this thread gets shut down, let me voice my views on these very 
important subjects:


I have a strong preference for camembert.

I trust this communication is well understood.

There are many places for discussions of cheese and other matters, and 
the hosts of this list have made it clear this isn't one of them.


--
 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-28 Thread Curry Kenworthy via use-livecode



Stephen:

> Curry's gaslight and personal attack

Sorry guy, not true. Simply holding your post up to logic.
You are political, so maybe you see politics everywhere.

As I wrote to you offlist, in reply to your hateful and cursing rant:

"Look again at my post. Notice the timeframe of the scams I mentioned.
Now become aware of the timeframe of the FBI stuff YOU are talking 
about. Then apply logic. Or math. If you can!"


It turns out that you are here promoting a particular brand of politics.
Or at least attacking what you perceive as a different brand.

And ironically, you display outright hatred against a group of people!
Without being a bit bashful about it.
Nice, Stephen. Great follow-up to your previous gender-bashing, which 
I'll be more than happy to link, if that's what you desire.


I briefly mentioned lawfulness and spoke AGAINST politicizing 
institutions as a way to reduce crime and scams, in the context of and 
relevant to an already off-topic discussion. Too many scams, in turn 
affecting customer service for software.


I don't believe politics should be on this list, anymore than in law 
enforcement. I was speaking AGAINST politics. You are still promoting 
them. As we see here:


> tells me all I need to
> know about which team Curry is cheering for.

Offlist, you explained what you meant by "team" - you wrote:

> I am against TRUMP and his party and all they stand for.
> If you are one of those people, then I can only surmise you
> support the hate and racism and I have ZERO respect for you
> or your smartass opinions.
> Are you really the dude I had lunch with downtown Sebastopol?

So again, if you are able to notice details, look at the time frames in 
my post, and you may finally notice that your rant had no logical basis.


Beyond that, it's very troubling - the only hate I see here is yours.
You used illogical means to place me into a group that you hate.
And then you acted upon and demonstrated that hate toward me.
It's not pretty.

I hope you can grow beyond this tendency to hate! It's a real handicap.
You are obviously a person with a lot of potential. Ditch the hatred.
Logic and math are good friends. Trust them instead of prejudices.

Whether it's gender, Trump, or whatever. Ease off the politics a bit!
Get back into LiveCode and logic. :)

And BTW, I've never even been to Sebastopol. What is that about?

Best way to respond to hate is with love:
I love you, Stephen. You have potential. Hope you get better.
Happy coding

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-28 Thread Curry Kenworthy via use-livecode



Andrew:

> You can click in the field and the blinking I-bar is inserted,
> but typing on the keyboard does nothing.

I love field topics!

Win/Mac differences can really hit you, even on a stack that you thought 
was well-tested. Because only well-tested on one platform.


This glitch sounds familiar from the past, but I've had less Mac work 
than usual for the past few months; mostly Windows. Rusty this month.

I think I've seen this, but can't remember the cause.

I've seen cases where the app or stack would lose focus.
Other cases where the control itself loses focus.
On Windows, a button may get the focus depending on properties.
But usually you would lose the blinking.

And I've seen scripts intercept the keystrokes.
They may act differently per platform.

To diagnose it methodically, if blinking really continues during typing:

- add a keydown handler in the field. Is it received?
- add a keydown handler in the card. Who's the target?
- any front script or other library intercepting keystrokes?
- any behaviors?

Knowing what control is actually getting those keystrokes will lead you 
to the culprit. (Or even whether your stack/app is getting them.)


And if the normal culprits are exonerated, don't forget the more obscure 
and exotic possibilities:


- white text, or textshift?
- text added but clipped by a tabstop?
- does all your startup code get executed? (And preopencard/stack code?)
- is this a real Windows machine or virtualized setup?

(Weird things can happen if a startup-type script is interrupted 
silently by an error.)


> This ONLY happens in executable on Windows, not in IDE

That's always the biggest tip-off.
So unless it's an LC bug/glitch, this can be effective:

- check standalone inclusions
- add error reporting to the standalone

Without reporting, errors in exe are silent - and you might say, deadly.
After an error, any code after it is not executed.

> Pasting text into any of these fields seems to unlock the ability
> to type, as does switching to another application and switching back,
> but only until you leave the card and come back again.

That's a big tip-off too. Any card script? Any paste script?
There may be a script modifying a field property.
Or another control getting in the way.
All those can be tested and confirmed. You can log field properties.

When you find it, could you let me know?
I feel like I've seen this before. and would like to job my memory

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


Text field in Windows standalone not receiving keyboard focus

2021-01-28 Thread Andrew at MidWest Coast Media via use-livecode
I have an app with a group of fields who are struggling to accept keyboard 
input. It seems to just be 1 group of 4 fields on a single card (that has been 
noticed). You can click in the field and the blinking I-bar is inserted, but 
typing on the keyboard does nothing. Pasting text into any of these fields 
seems to unlock the ability to type, as does switching to another application 
and switching back, but only until you leave the card and come back again.

This ONLY happens in executable on Windows, not in IDE and never on Mac (where 
I am developing which is why I missed the bug in testing). Once you unlock 1 of 
the 4 fields in the group they all unlock until you leave the card and come 
back where the problem manifests again.There is another group of text files 
(hidden so not on screen the same time as the offending group) that accepts 
keyboard input fine without any hacks which points to a problem with the group. 
There are no scripts on the field or group itself. I have already tried a 
“focus on nothing” without any luck.

-Andrew Bell
___
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-28 Thread Bob Sneidar via use-livecode
Agreed. All a cert does is guarantee (if I can use such a word in the security 
realm) that the current host is who they say they are. If simple encryption is 
needed, just do that.

I use unsecured sockets in one of my libraries, but I encrypt the data before I 
send it, then decrypt it on the other end.

Bob S


On Jan 28, 2021, at 8:40 AM, Richard Gaskin via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Tom Glod wrote:

> Wondering if it will be super hard to create certificate and make it
> work on localhost sockets.

Pardon my naivete, but what is the value of a secured socket in local socket 
comms?

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

___
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-28 Thread Curry Kenworthy via use-livecode


Jerry:

> Please keep it offlist.

Sorry, guy. Any implication that I'm bringing brand-new stuff onlist is 
inaccurate; sharing an offlist definition of what was meant by "team" - 
which was used right here online.


> Ce fromage pue !

Je ne sais pas. Je n'ai jamais goûté de fromage français. Et la 
discussion sur le fromage est déconseillée ici.


Back to LiveCode discussion would be a good direction!

I know it's hard for some.
But you can. Concentrate: LiveCode

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: Call lc from php?

2021-01-28 Thread Erik Beugelaar via use-livecode
What I still miss is a Kitchen Sink desktop/mobile/server demo application
standard included
In the LiveCode distribution.
The book of Andre Garzia is a good start but it would be great to see how
you can write command-line
tools, floating desktop apps, background apps (desktop/mobile) etc. etc. in
LiveCode.
All kind of real word situations would be nice to see in a Kitchen Sink
application.

Best wishes,
Erik

-Original Message-
From: use-livecode  On Behalf Of
Curry Kenworthy via use-livecode
Sent: donderdag 28 januari 2021 22:06
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy 
Subject: Re: Call lc from php?


Richard:

 > For those of you who haven't seen Ralf's recent work  > on the revIgniter
site [...]

It's been on the edge of my radar, but never had a chance to use it yet. 
Thanks for the testimonial and reminder! Hope to try it later this year.

Rick:

 > Why are you still using PHP when LC is better?

Technically, depends on how you define "better."
PHP definitely wins in some areas.
And there are already a lot of well-tested tools available for PHP.

But in general, I share your sentiment. I'm "all in" for LC.

I'm one of the few who are 100% specialized in LiveCode for all development.
But I predict that will be a growing segment.

I think it's great when LC can tie into other interfaces - the more of that
the better. And PHP is a giant. Good reason to tie in. Win-win.
It will actually make even MORE projects suitable for LC.
Or easier; most of this stuff was already possible for a long time.

If a job can be done in LiveCode, that's where I'm doing it.
And it's difficult to find a job that can't be done here.
People STILL don't realize all that LC can do

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


Re: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
Hi Dan,

The ClipboardData property is only supported on desktop operating systems.

If using native fields, then you could let the mobile os copy/paste the 
clipboard data.

But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
currently not possible.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode 
> :
> 
> Greetings!
> 
> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
> 
> Client want's a "copy" button so they can paste the text outside of the app 
> (in Notes, or a external document).
> 
> 
> -Dan
> 
> ___
> 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: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
> But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
> currently not possible.


was meanto be

But i am afraid using a LC script to copy/paste to/from clipboard on mobile is 
currently not possible.




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode 
> :
> 
> Hi Dan,
> 
> The ClipboardData property is only supported on desktop operating systems.
> 
> If using native fields, then you could let the mobile os copy/paste the 
> clipboard data.
> 
> But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
> currently not possible.
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode 
>> :
>> 
>> Greetings!
>> 
>> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
>> 
>> Client want's a "copy" button so they can paste the text outside of the app 
>> (in Notes, or a external document).
>> 
>> 
>> -Dan
>> 
>> ___
>> 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: clipboardData on Mobile?

2021-01-28 Thread Mark Smith via use-livecode
I could definitely use the same feature in my upcoming app. Does anyone know if 
a feature request has been logged?

> On Jan 27, 2021, at 11:56 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Greetings!
> 
> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
> 
> Client want's a "copy" button so they can paste the text outside of the app 
> (in Notes, or a external document).
> 
> 
> -Dan
> 
> ___
> 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: OT Friendly customers....

2021-01-28 Thread Stephen Barncard via use-livecode
forgive me that last post was supposed to be for Curry only.


--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Thu, Jan 28, 2021 at 3:41 PM Stephen Barncard 
wrote:

> Dear Curry,
> What has happened in Washington was way beyond the definition of political.
> You are a vindictive, delusional, selfish person.
> I was trying to give you an off-ramp to your parade of lies, or at least
> apologize.
> Instead you repeated my off-list message to you on the use-list. Very low
> class.
> What was the purpose of that? What were you looking for,  people to back
> up your sorry ass?
> If you are Republican and still support Trump the traitor and his
> supporters, then I have zero respect for you.
> period.
>
> sqb
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
>
> On Thu, Jan 28, 2021 at 11:47 AM Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>
>> Stephen:
>>
>>  > Curry's gaslight and personal attack
>>
>> Sorry guy, not true. Simply holding your post up to logic.
>> You are political, so maybe you see politics everywhere.
>>
>> As I wrote to you offlist, in reply to your hateful and cursing rant:
>>
>> "Look again at my post. Notice the timeframe of the scams I mentioned.
>> Now become aware of the timeframe of the FBI stuff YOU are talking
>> about. Then apply logic. Or math. If you can!"
>>
>> It turns out that you are here promoting a particular brand of politics.
>> Or at least attacking what you perceive as a different brand.
>>
>> And ironically, you display outright hatred against a group of people!
>> Without being a bit bashful about it.
>> Nice, Stephen. Great follow-up to your previous gender-bashing, which
>> I'll be more than happy to link, if that's what you desire.
>>
>> I briefly mentioned lawfulness and spoke AGAINST politicizing
>> institutions as a way to reduce crime and scams, in the context of and
>> relevant to an already off-topic discussion. Too many scams, in turn
>> affecting customer service for software.
>>
>> I don't believe politics should be on this list, anymore than in law
>> enforcement. I was speaking AGAINST politics. You are still promoting
>> them. As we see here:
>>
>>  > tells me all I need to
>>  > know about which team Curry is cheering for.
>>
>> Offlist, you explained what you meant by "team" - you wrote:
>>
>>  > I am against TRUMP and his party and all they stand for.
>>  > If you are one of those people, then I can only surmise you
>>  > support the hate and racism and I have ZERO respect for you
>>  > or your smartass opinions.
>>  > Are you really the dude I had lunch with downtown Sebastopol?
>>
>> So again, if you are able to notice details, look at the time frames in
>> my post, and you may finally notice that your rant had no logical basis.
>>
>> Beyond that, it's very troubling - the only hate I see here is yours.
>> You used illogical means to place me into a group that you hate.
>> And then you acted upon and demonstrated that hate toward me.
>> It's not pretty.
>>
>> I hope you can grow beyond this tendency to hate! It's a real handicap.
>> You are obviously a person with a lot of potential. Ditch the hatred.
>> Logic and math are good friends. Trust them instead of prejudices.
>>
>> Whether it's gender, Trump, or whatever. Ease off the politics a bit!
>> Get back into LiveCode and logic. :)
>>
>> And BTW, I've never even been to Sebastopol. What is that about?
>>
>> Best way to respond to hate is with love:
>> I love you, Stephen. You have potential. Hope you get better.
>> Happy coding
>>
>> 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


Re: OT Friendly customers....

2021-01-28 Thread Stephen Barncard via use-livecode
Dear Curry,
What has happened in Washington was way beyond the definition of political.
You are a vindictive, delusional, selfish person.
I was trying to give you an off-ramp to your parade of lies, or at least
apologize.
Instead you repeated my off-list message to you on the use-list. Very low
class.
What was the purpose of that? What were you looking for,  people to back up
your sorry ass?
If you are Republican and still support Trump the traitor and his
supporters, then I have zero respect for you.
period.

sqb
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Thu, Jan 28, 2021 at 11:47 AM Curry Kenworthy via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Stephen:
>
>  > Curry's gaslight and personal attack
>
> Sorry guy, not true. Simply holding your post up to logic.
> You are political, so maybe you see politics everywhere.
>
> As I wrote to you offlist, in reply to your hateful and cursing rant:
>
> "Look again at my post. Notice the timeframe of the scams I mentioned.
> Now become aware of the timeframe of the FBI stuff YOU are talking
> about. Then apply logic. Or math. If you can!"
>
> It turns out that you are here promoting a particular brand of politics.
> Or at least attacking what you perceive as a different brand.
>
> And ironically, you display outright hatred against a group of people!
> Without being a bit bashful about it.
> Nice, Stephen. Great follow-up to your previous gender-bashing, which
> I'll be more than happy to link, if that's what you desire.
>
> I briefly mentioned lawfulness and spoke AGAINST politicizing
> institutions as a way to reduce crime and scams, in the context of and
> relevant to an already off-topic discussion. Too many scams, in turn
> affecting customer service for software.
>
> I don't believe politics should be on this list, anymore than in law
> enforcement. I was speaking AGAINST politics. You are still promoting
> them. As we see here:
>
>  > tells me all I need to
>  > know about which team Curry is cheering for.
>
> Offlist, you explained what you meant by "team" - you wrote:
>
>  > I am against TRUMP and his party and all they stand for.
>  > If you are one of those people, then I can only surmise you
>  > support the hate and racism and I have ZERO respect for you
>  > or your smartass opinions.
>  > Are you really the dude I had lunch with downtown Sebastopol?
>
> So again, if you are able to notice details, look at the time frames in
> my post, and you may finally notice that your rant had no logical basis.
>
> Beyond that, it's very troubling - the only hate I see here is yours.
> You used illogical means to place me into a group that you hate.
> And then you acted upon and demonstrated that hate toward me.
> It's not pretty.
>
> I hope you can grow beyond this tendency to hate! It's a real handicap.
> You are obviously a person with a lot of potential. Ditch the hatred.
> Logic and math are good friends. Trust them instead of prejudices.
>
> Whether it's gender, Trump, or whatever. Ease off the politics a bit!
> Get back into LiveCode and logic. :)
>
> And BTW, I've never even been to Sebastopol. What is that about?
>
> Best way to respond to hate is with love:
> I love you, Stephen. You have potential. Hope you get better.
> Happy coding
>
> 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


Re: OT Friendly customers....

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



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


Re: OT Friendly customers....

2021-01-28 Thread Peter Bogdanoff via use-livecode
The customers are friendly. The developers are grouchy.

> On Jan 28, 2021, at 5:12 PM, 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: OT Friendly customers....

2021-01-28 Thread Bob Sneidar via use-livecode
Dude! I am quoting YOUR text!

Bob S


On Jan 28, 2021, at 6:15 PM, Curry Kenworthy via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Bob:
> Why am I still seeing this?

Why are you continuing this topic? And quoting the entire text?

___
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-28 Thread Curry Kenworthy via use-livecode



Bob:
> Why am I still seeing this?

Why are you continuing this topic? And quoting the entire text?
I consider the topic closed, and the horse just about beaten to death.
Dead yet? Yeah...probably. Just about.

I didn't start this, or even continue it - I received a series of 
unprovoked attacks. Each time I've responded only to correct the facts.

The posts are all archived, and that's easily proven. This time too.

But I am sorry that anyone else had to see this discussion.
For that matter, sorry I had to see it too! I don't want it.
Incredible waste of time and list space.
This was Stephen's topic, so I can't answer the why. No idea.
Stephen owns this topic and his political comments.
Nor do I have the slightest interest in it.

I suggest again that we move off this topic, and stick to LC discussion.
Maybe next time you can quote an entire post that's LC-related!
Back to LC please. Thanks.

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

2021-01-28 Thread Tom Glod via use-livecode
well..that was short lived. bummer I guess, esp if you really need it in
that form.
I would ask about it and try to get an answer in clear terms from the team.


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.
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.
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.
What do you think will be the fastest way?  Socket? Open Process?
I'm still setting up a test for latency and throughput. I will not be
testing this for a few months, but when I have results on this experiment,
I will report.
Thanks for asking I guess, got me thinking about it.

Cheers,

Tom





On Wed, Jan 27, 2021 at 5:49 AM Bernard Devlin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Tom
>
> You shouldn't get any hopes up. I'd commented in the bug report in 2014
> that this was something that we'd been told was coming back in the days of
> LC version 2.
>
>
> I think when a development environment has failed to deliver a feature from
> version 2 to version 10 that thing is never going to appear.
>
>
> On Tue, Jan 26, 2021 at 9:22 PM Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > super happy to see this, hopefully it will when i need it.
> > Going to look this up.
> > Wondering if it will be super hard to create certificate and make it work
> > on localhost sockets.
> >
> >
> > On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > “Using tCertificate and tKey” compiles but I don’t know how to test.
> It
> > > does seem like the parser doesn’t recognize those keywords.
> > >
> > > Sent from my iPhone
> > >
> > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > Thanks for the suggestion Erik, but I don't see from that how one
> > > specifies
> > > > the certificate.
> > > >
> > > > Regards, Bernard
> > > >
> > > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode <
> > > >> use-livecode@lists.runrev.com> wrote:
> > > >>
> > > >> Maybe this:
> > > >>
> > > >> secure socket "livecode.com:443"
> > > >>
> > > >> Examples:
> > > >>
> > > >> https://livecode.fandom.com/wiki/Secure_socket
> > > >>
> > > >> -Original Message-
> > > >> From: use-livecode  On
> Behalf
> > Of
> > > >> Bernard Devlin via use-livecode
> > > >> Sent: dinsdag 26 januari 2021 16:40
> > > >> To: How to use LiveCode 
> > > >> Cc: Bernard Devlin 
> > > >> Subject: Re: open secure socket... using certificate
> > > >>
> > > >> I did. I tried these too:
> > > >>
> > > >> *open* *secure* socket to "localhost:443"  using certificate tc and
> > key
> > > tk
> > > >>
> > > >> *open* *secure* socket to "localhost:443" without verification using
> > > >> certificate tc and key tk
> > > >>
> > > >> When the above lines are entered in the script editor they are
> flagged
> > > as
> > > >> being syntax errors. In both cases it is what comes after
> > "certificate"
> > > >> that is flagged as a syntax error (flagged as: missing "," near
> "tc").
> > > >> There seems to be no combination of command options that works with
> > > >> certificates.
> > > >>
> > > >> The fact that the Dictionary has zero information about what is
> > expected
> > > >> for certificate/key was not a good sign, which is why I searched the
> > > >> archive.  I just went to have a look at the code on Github and I can
> > > seen
> > > >> nothing to suggest that "using certificate and key" is implemented.
> > > >>
> > > >> The server and client certificate are working in a browser, so the
> > > problem
> > > >> is definitely on the LC side.
> > > >>
> > > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode <
> > > >> use-livecode@lists.runrev.com> wrote:
> > > >>
> > > >>> Did you try with “and key tKey”... it does not look like that part
> is
> > > >>> optional.
> > > >>>
> > > >>> Sent from my iPhone
> > > >>>
> > >  On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode <
> > > >>> use-livecode@lists.runrev.com> wrote:
> > > 
> > >  According to the Dictionary in LC 9.5.1 there is this command:
> > > 
> > >  open secure socket [from [localHostName][:localPort]] [to]
> socketID
> > >  [with message callbackMessage] [without verification] *[using
> > >  certificate certificate and key key]*
> > > 
> > >  However I can't get it to work.
> > > 
> > >  open secure socket to "localhost:443" using 

Double sided PDF Problem

2021-01-28 Thread Brian K. Duck via use-livecode
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


Re: Double sided PDF Problem

2021-01-28 Thread J. Landman Gay via use-livecode
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


Re: OT Friendly customers....

2021-01-28 Thread Bob Sneidar via use-livecode
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


Re: open secure socket... using certificate

2021-01-28 Thread Bob Sneidar via use-livecode
With SSL the encryption occurs at the socket level, that is the socket is 
secured by virtue of it’s creation. With StartTLS, also an SSL protocol, the 
socket is first established, then a secure tunnel is created. (Transport Layer 
Security)

My point? The socket connection itself does not need to be secured, and indeed 
it’s less desirable if it is. An SSL encrypted certificate must be passed at 
least once so that host and client both have the public and private key. This 
is necessary when the host is unknown.

To Richard’s point, if you control the host AND the client, a certificate is 
not needed. You KNOW the host is secure. Simply pass encrypted traffic over an 
unsecured socket. The result is the same, only nothing about the method is ever 
passed over the socket connection.

I may misunderstand though.

Bob S


On Jan 28, 2021, at 7:46 PM, Tom Glod via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

well..that was short lived. bummer I guess, esp if you really need it in
that form.
I would ask about it and try to get an answer in clear terms from the team.


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.
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.

___
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: Stack check-out/check-in

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

Marty Knapp wrote:

> I have an app that allows user to create specialized editable
> documents (stacks) that open in my app. Some customers use Dropbox,
> iCloud, OneDrive or similar to store these documents so that they
> can be accessed from 2 different computers. Is there a way to tell
> if a stack is already open on one computer? I need to prevent them
> from opening a 2nd instance of the stack on the other computer so
> that Dropbox (or other cloud sync service) does not create a
> conflicted copy.

Nextcloud is the only file syncing system I know of that provides an API 
for file locking, but given the nature of syncing systems it comes with 
a good many caveats, noted here:


https://docs.nextcloud.com/server/20/admin_manual/configuration_files/files_locking_transactional.html

I have a similar need to support distributed workflows through syncing 
systems, and after reviewing those notes and other discussions it's 
became clear to me that with sufficient editing frequency conflict files 
are unavoidable, so now I'm focusing on smarter conflict-file resolution.



> If there is not a way to tell, has anyone created some sort of stack
> check-out/check-in system that they'd be willing to share?

File syncing involves latency, and in those delays between saves and 
updates across all distributed clients there will inevitably be conflicts.


Even if you use a lock file as a semaphore for other clients to know 
that a file is being edited, that semaphore itself needs to be 
distributed through the same inherently-latent system, and therefore is 
prone to arriving too late to be of any value.


When data integrity is critical and conflict-file resolution is not a 
clean option, I can think of no other solution than to maintain storage 
of the files on a server, where check-in/check-out can be handled 
explicitly and immediately.


--
 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-28 Thread Devin Asay via use-livecode
The H word gets tossed about far too casually nowadays. 

Commenting on alleged abuses perpetrated by government agencies is not hate. 
And if it is, then what are allusions to “dark forces” and “fake news”? 

Regardless, it’s just the wrong forum.

And also, “cheese!” (That’s your cue, ListMom.)

- Devin

> On Jan 28, 2021, at 11:07 AM, Stephen Barncard via use-livecode 
>  wrote:
> 
> Curry,
> 
> Putting down the FBI won’t help anything and makes me think you might be
> partial to the dark forces and fake news. We get enough of the hate through
> other sources and it is unwelcome here.
> 
> 
> On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> Matthias:
>> 
>>> So in my case it was not scam but just a rude person.
>> 
>> Plenty of those around. Including what comes around.
>> 
>> Manipulative people usually follow 2 tactics.
>> Either buttering up for a favor, or being rude to apply pressure.
>> Sometimes both; they will abruptly switch if one fails.
>> 
>> In which case I tend to grab either popcorn or a flamethrower.
>> Not a huge fan of manipulation.
>> 
>> Doc hawk:
>> 
>>> asking about playing games like “hide the salami”
>> 
>> Careful - from a sandwich point of view,
>> that could potentially imply the "c" word!
>> 
>> Heather:
>> 
>>> Did somebody say cheese??
>> 
>> Probably those damn portrait photographers again!
>> Truly evil people - no souls behind the fake smiles.
>> 
>> (A little humor now and then is the best medicine.)
>> 
>> Paul:
>> 
>>> you should not be surprised some people assume SCAM first
>> 
>> My "unfavorites" were the "Windows tech support" and "Google listings"
>> phone call scams.
>> 
>> Right now during 2020-2021 my breathing isn't good enough for phone
>> conversations anymore, and all calls go to voice mail.
>> 
>> But in previous years those guys would call all the time. They weren't
>> following any rules/laws anyway, so you couldn't get off their list by
>> traditional methods.
>> 
>> So I tried some unorthodox methods - pranking and wasting their time.
>> 
>> I had one of the "Windows tech support" guys passionately defending
>> himself when I asked what his family back in India would think about him
>> becoming a criminal. Another couple of times, I played along with their
>> spiel, got transferred from the little crook to the big crook, and
>> wasted his time too for a while before scolding them and hanging up at
>> the crucial moment. They eventually gave up on me just as I was planning
>> some bigger pranks.
>> 
>> (Our "FBI" is way too busy being a partisan political tool to handle any
>> real crime; no telling how many scams they've allowed to flourish that
>> it is their duty and job description to shut down and prevent.)
>> 
>> But the "Google listings" people were unstoppable. They were operating
>> in more of a legal/moral gray area, and they must have been raking in
>> the $$$. Most persistent I've ever seen/heard. I suppose they are still
>> at it; I just haven't been able to answer the phone for ages.
>> 
>> My "unfavorite" email scam is the one where your email account will be
>> closed unless you log in to verify it or approve the new security
>> measures, etc. A couple of variations on this theme looked very real.
>> 
>> 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
>> 
> -- 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> ___
> 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

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: clipboardData on Mobile?

2021-01-28 Thread Trevor DeVore via use-livecode
This should be possible using LCB. Years ago I posted code for an external
that copied to clipboard on iOS. I would guess that the APIs would be
straightforward to wrap in LCB for someone motivated enough to do it. Here
is the project:

https://github.com/trevordevore/iosclipboard

I don’t know about Android, but I believe there is a fair amount of Android
LCB code in the livecode GitHub repo that could used for guidance.

--
Trevor DeVore
ScreenSteps


On Thu, Jan 28, 2021 at 3:03 AM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is
> currently not possible.
>
>
> was meanto be
>
> But i am afraid using a LC script to copy/paste to/from clipboard on
> mobile is currently not possible.
>
>
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Dan,
> >
> > The ClipboardData property is only supported on desktop operating
> systems.
> >
> > If using native fields, then you could let the mobile os copy/paste the
> clipboard data.
> >
> > But i am afraid using a LC to copy/paste to/from Clipboard on mobile is
> currently not possible.
> >
> >
> > -
> > Matthias Rebbe
> > Life Is Too Short For Boring Code
> >
> >> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Greetings!
> >>
> >> Is there a way to set the clipboardData a mobile device?  (iOS and
> Android).
> >>
> >> Client want's a "copy" button so they can paste the text outside of the
> app (in Notes, or a external document).
> >>
> >>
> >> -Dan
> >>
> >> ___
> >> 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: OT Friendly customers....

2021-01-28 Thread Stephen Barncard via use-livecode
Curry,

Putting down the FBI won’t help anything and makes me think you might be
partial to the dark forces and fake news. We get enough of the hate through
other sources and it is unwelcome here.


On Thu, Jan 28, 2021 at 09:36 Curry Kenworthy via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Matthias:
>
>  > So in my case it was not scam but just a rude person.
>
> Plenty of those around. Including what comes around.
>
> Manipulative people usually follow 2 tactics.
> Either buttering up for a favor, or being rude to apply pressure.
> Sometimes both; they will abruptly switch if one fails.
>
> In which case I tend to grab either popcorn or a flamethrower.
> Not a huge fan of manipulation.
>
> Doc hawk:
>
>  > asking about playing games like “hide the salami”
>
> Careful - from a sandwich point of view,
> that could potentially imply the "c" word!
>
> Heather:
>
>  > Did somebody say cheese??
>
> Probably those damn portrait photographers again!
> Truly evil people - no souls behind the fake smiles.
>
> (A little humor now and then is the best medicine.)
>
> Paul:
>
>  > you should not be surprised some people assume SCAM first
>
> My "unfavorites" were the "Windows tech support" and "Google listings"
> phone call scams.
>
> Right now during 2020-2021 my breathing isn't good enough for phone
> conversations anymore, and all calls go to voice mail.
>
> But in previous years those guys would call all the time. They weren't
> following any rules/laws anyway, so you couldn't get off their list by
> traditional methods.
>
> So I tried some unorthodox methods - pranking and wasting their time.
>
> I had one of the "Windows tech support" guys passionately defending
> himself when I asked what his family back in India would think about him
> becoming a criminal. Another couple of times, I played along with their
> spiel, got transferred from the little crook to the big crook, and
> wasted his time too for a while before scolding them and hanging up at
> the crucial moment. They eventually gave up on me just as I was planning
> some bigger pranks.
>
> (Our "FBI" is way too busy being a partisan political tool to handle any
> real crime; no telling how many scams they've allowed to flourish that
> it is their duty and job description to shut down and prevent.)
>
> But the "Google listings" people were unstoppable. They were operating
> in more of a legal/moral gray area, and they must have been raking in
> the $$$. Most persistent I've ever seen/heard. I suppose they are still
> at it; I just haven't been able to answer the phone for ages.
>
> My "unfavorite" email scam is the one where your email account will be
> closed unless you log in to verify it or approve the new security
> measures, etc. A couple of variations on this theme looked very real.
>
> 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
>
-- 
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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-28 Thread J. Landman Gay via use-livecode
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


Re: Double sided PDF Problem

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

Brian K. Duck wrote:

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

Are you making components for a tabletop game?  Is it one of your own 
design?


I've begun designing games here myself as something to do that takes me 
away from the computer now and then.  Modern tabletop games are 
fascinating systems; sometimes intricate like software, but laid bare in 
cardboard.



> 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?

I'm not sure I'm imagining this accurately.  Do you have a sketch or a 
mockup with numbered boxes you could point me to to see what you're 
output is like?


And are you printing multiple individual cards into a page, or have one 
page-sized card with multiple card images?


--
 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: Text field in Windows standalone not receiving keyboard focus

2021-01-28 Thread J. Landman Gay via use-livecode
Try comparing the properties of a group that works with the one that 
doesn't. Also compare individual field properties, in particular check the 
traversalOn, autoHilite, and lockText. That alone wouldn't explain why it 
appears to fix itself occasionally, but could point to a script that 
changes one of these properties.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On January 28, 2021 3:33:39 PM Andrew at MidWest Coast Media via 
use-livecode  wrote:


I have an app with a group of fields who are struggling to accept keyboard 
input. It seems to just be 1 group of 4 fields on a single card (that has 
been noticed). You can click in the field and the blinking I-bar is 
inserted, but typing on the keyboard does nothing. Pasting text into any of 
these fields seems to unlock the ability to type, as does switching to 
another application and switching back, but only until you leave the card 
and come back again.


This ONLY happens in executable on Windows, not in IDE and never on Mac 
(where I am developing which is why I missed the bug in testing). Once you 
unlock 1 of the 4 fields in the group they all unlock until you leave the 
card and come back where the problem manifests again.There is another group 
of text files (hidden so not on screen the same time as the offending 
group) that accepts keyboard input fine without any hacks which points to a 
problem with the group. There are no scripts on the field or group itself. 
I have already tried a “focus on nothing” without any luck.


-Andrew Bell
___
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-28 Thread Richard Gaskin via use-livecode

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


Re: OT Friendly customers....

2021-01-28 Thread matthias rebbe via use-livecode
Hi again,

the customer finally replied and for whatever reason the software is working 
now. ??

But no excuses or so from his side.

So in my case it was not scam but just a rude person.

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.01.2021 um 18:16 schrieb matthias rebbe via use-livecode 
> :
> 
> Hi all,
> 
> today i had a really unfriendly email from a customer 
> and i would like to show what independent developers sometimes have to deal 
> with.
> 
> First some information...
> i am selling a Win/Mac/Linux tool through Fastspring for years.
> The software is protected using Zygodact from Jacqueline Landman Gay.
> Btw. a really great tool.
> 
> The purchase process is quite easy. After successful purchase/payment 
> Fastspring contacts post some data to a Livecode Server Script. If the 
> Fastpring call contains all needed information the Livecode Server scripts 
> call the Zygodact stack to generate the registration data for that order  and 
> then returns that information. T he customer then get's an automated email 
> from Fastspring which contains the details to unlock the software from demo 
> mode to full mode. This works for years now and worked before Fastspring for 
> years with KAGI.
> 
> Today this email arrived:
> 
> <
> I plugged in the registration code and received a message that it was not 
> valid for the current version that I had downloaded and that I had to send 
> more money.
> 
> Either send me a valid code or refund my money.
> 
> Unless I hear from you today I will contact my bank and my credit card 
> company and report this as a fraudulent charge.
> 
> Let me know what are your intentions.
>> 
> 
> 
> The funny part is, my software does not return such a message. If the code is 
> not accepted because email address and key code do not match, it just returns 
> the message "Name or Key incorrect."
> 
> So what should i conclude from this? Did the customer try to unlock a wrong 
> program? Or did he just interpret the message "Name or Key incorrect" as "You 
> have to send more money"?
> 
> But what annoys me the most is the way he wrote the support request. 
> 
> As the friendly person i am, i tried his unlock data here w/o problem. I 
> replied to him that the unlock data is definitely working and if that is not 
> the case at his side, then i would assume that he either tried to use the 
> unlock details with an other program not mine or that he did not exactly 
> enter the unlock details.
> I even offered a free one2one remote session to do the unlock process for him.
> 
> Until now i did not receive any answers.
> 
> Btw. according to his LinkeIn profile he is a Digital Journalist and Web 
> Designer and is working for a US University
> 
> Anyway.
> 
> Regards,
> 
> Matthias
> 
> 
> 
> 
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> 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-28 Thread Erik Beugelaar via use-livecode
Maybe this is a possible workaround using cURL command-line utility?

https://stackoverflow.com/questions/10079707/https-connection-using-curl-from-command-line

Just my 2 cents.


-Original Message-
From: use-livecode  On Behalf Of Bernard 
Devlin via use-livecode
Sent: woensdag 27 januari 2021 11:48
To: How to use LiveCode 
Cc: Bernard Devlin 
Subject: Re: open secure socket... using certificate

Hi Tom

You shouldn't get any hopes up. I'd commented in the bug report in 2014 that 
this was something that we'd been told was coming back in the days of LC 
version 2.


I think when a development environment has failed to deliver a feature from 
version 2 to version 10 that thing is never going to appear.


On Tue, Jan 26, 2021 at 9:22 PM Tom Glod via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> super happy to see this, hopefully it will when i need it.
> Going to look this up.
> Wondering if it will be super hard to create certificate and make it 
> work on localhost sockets.
>
>
> On Tue, Jan 26, 2021 at 2:26 PM Brian Milby via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > “Using tCertificate and tKey” compiles but I don’t know how to test.  
> > It does seem like the parser doesn’t recognize those keywords.
> >
> > Sent from my iPhone
> >
> > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Thanks for the suggestion Erik, but I don't see from that how one
> > specifies
> > > the certificate.
> > >
> > > Regards, Bernard
> > >
> > >> On Tue, Jan 26, 2021 at 6:03 PM Erik Beugelaar via use-livecode < 
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> Maybe this:
> > >>
> > >> secure socket "livecode.com:443"
> > >>
> > >> Examples:
> > >>
> > >> https://livecode.fandom.com/wiki/Secure_socket
> > >>
> > >> -Original Message-
> > >> From: use-livecode  On 
> > >> Behalf
> Of
> > >> Bernard Devlin via use-livecode
> > >> Sent: dinsdag 26 januari 2021 16:40
> > >> To: How to use LiveCode 
> > >> Cc: Bernard Devlin 
> > >> Subject: Re: open secure socket... using certificate
> > >>
> > >> I did. I tried these too:
> > >>
> > >> *open* *secure* socket to "localhost:443"  using certificate tc 
> > >> and
> key
> > tk
> > >>
> > >> *open* *secure* socket to "localhost:443" without verification 
> > >> using certificate tc and key tk
> > >>
> > >> When the above lines are entered in the script editor they are 
> > >> flagged
> > as
> > >> being syntax errors. In both cases it is what comes after
> "certificate"
> > >> that is flagged as a syntax error (flagged as: missing "," near "tc").
> > >> There seems to be no combination of command options that works 
> > >> with certificates.
> > >>
> > >> The fact that the Dictionary has zero information about what is
> expected
> > >> for certificate/key was not a good sign, which is why I searched 
> > >> the archive.  I just went to have a look at the code on Github 
> > >> and I can
> > seen
> > >> nothing to suggest that "using certificate and key" is implemented.
> > >>
> > >> The server and client certificate are working in a browser, so 
> > >> the
> > problem
> > >> is definitely on the LC side.
> > >>
> > >> On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < 
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >>> Did you try with “and key tKey”... it does not look like that 
> > >>> part is optional.
> > >>>
> > >>> Sent from my iPhone
> > >>>
> >  On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode <
> > >>> use-livecode@lists.runrev.com> wrote:
> > 
> >  According to the Dictionary in LC 9.5.1 there is this command:
> > 
> >  open secure socket [from [localHostName][:localPort]] [to] 
> >  socketID [with message callbackMessage] [without verification] 
> >  *[using certificate certificate and key key]*
> > 
> >  However I can't get it to work.
> > 
> >  open secure socket to "localhost:443" using certificate
> > 
> >  throws a runtime error "no handler: using"
> > 
> >  If I use
> > 
> >  open secure socket to "localhost:443"
> > 
> >  I get a socket connection, but all the security of a client 
> >  certificate does not work
> > 
> > 
> >  This causes a syntax error in the IDE:
> > 
> >  open secure socket to "localhost:443" using certificate tName
> > 
> >  Looking through the archives I see that a couple of discussions 
> >  where people were asking about this variant of the "open socket"
> >  command 5 to 6 years ago, *saying that the "certificate" part 
> >  has not been implemented*, regardless of what the Dictionary says.
> > 
> >  Is it really the case that for the past 6 years LC 
> >  documentation has been misleading people concerning the 
> >  implementation of certificates for
> > >>> secure
> >  socket connections?
> > 
> >  I notice in the Dictionary the