Re: Business Application Framework

2015-08-12 Thread Andrew Kluthe
Monte said himself that he was going to stop improving it in major ways as
he expected Livecode Community to have native git support that Livecode
Community's steward company was working on.

Many of us thought this feature was probably a WHEN and not and IF. Sure it
wasn't in the open source roadmap but most of us assumed that the features
available in the open source version didn't STOP at the roadmap's end.
These decisions increasingly seem to indicate that the alarmist rhetoric
surrounding the possibility of a nerfed/restricted community version wasn't
so much alarmist rhetoric as actual concerns that we are starting to see
manifest here. I feel like this is a programming version of a free to
play game. Sure it's free but if you want do anything serious with it
you are going to have to grind like crazy or pay a premium in the form of
in-game tokens. There is a reason those kind of games are both generating
tons of income for those hooked by it while simultaneously being reviled at
large.

On Wed, Aug 12, 2015 at 3:36 PM Paul Richards p...@smarttsoftware.co.uk
wrote:

 Can be found here :-)  https://github.com/montegoulding/lcVCS

 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
 Behalf Of Richard Gaskin
 Sent: 12 August 2015 21:31
 To: use-livecode@lists.runrev.com
 Subject: Re: Business Application Framework

 Matthias Rebbe wrote:

   Am 12.08.2015 um 21:33 schrieb Richard Gaskin:
  
   Kevin Miller wrote:
If you want VCS in the Open Source Community or Indy edition, there
   is already lcVCS out there Where?
  
   The only lcVCS i am aware of is the free lcVCS plugin from Monte. You
  can download it at his site at http://www.mergext.com. But you have  
 to register first.

 I didn't see it there, and using the site's Search box yielded 0 results
 for lcvcs.

 Did I just miss it?

 Is there another option in the community that doesn't require email
 harvesting?

 --
   Richard Gaskin
   LiveCode Community Manager
   rich...@livecode.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

 ___
 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

-- 

Kind regards,

Andrew Kluthe
___
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


Business Application Framework

2015-08-12 Thread Andrew Kluthe
An object-oriented framework for livecode now featuring GIT support? Does
anyone have any more information on this announcement I received?

The rest of the email talked about the new business license, which does
sound interesting. Is this new framework/git support new features specific
to those using the new business license?. I think git support without
having to fiddle around too much would be pretty important to an open
source community. Monte's solution was very nice by the way, but it ought
to be a thing an actual thing livecode can do out of the box.

-- 

Kind regards,

Andrew Kluthe
___
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: Business Application Framework

2015-08-12 Thread Andrew Kluthe
Version control, I would argue is still necessary even if its just a single
person or anyone else working on collaborating on the open source tooling
directed at the community of livecode developers. To be able to maintain
development branches and refactor without needing to have 50 copies of
stack files backed up and lying around. I can totally see the benefits to
the business license, but I'm pretty shocked to that native GIT support and
a proper MVC-style framework for livecode isn't part of Livecode Community.
I think this is a big mistake on the part of the steward company of this
software. I get the framework thing even, almost. But basic Version Control
support? Wowsa. That's some third rate nickel and diming of your user base.

All that stuff people were worried about happening a few weeks back in
emails, and all the damage control that was done on part of the community
leaders seems like it was justified after seeing this. I think it's funny
that Kevin suggested people fork livecode/re-implement these things for the
community if they want. Right on... they took peoples money to re-engineer
their product. Now that you have something nice and shiny they can sell as
a result of that, it doesn't really matter what goes into the open source
version so long as it has the label Open Source applied to it for oos and
ahs.

In before Company Damage Control: I know the fanboys and company shills
will disagree but this is the last straw for me. I know these people will
say good riddance, but they are deluded by their own fetishism. Good luck
list/livecode community, I'll see you later. It's a shame they couldn't
learn anything from the node.js/io.js open governance debate.

I was holding out for a bit to see what comes of it, but this just sours
the whole thing for me. I'd pay a lot towards licensing for support and
fringe features that I need, but version control is hardly a fringe
feature. They messed up with this, big time.

On Wed, Aug 12, 2015 at 10:34 AM Lynn Fredricks 
lfredri...@proactive-intl.com wrote:

  That said, I'm a single developer, so git isn't
  important to me. Also, if the purpose of the Indy license was
  to support single developers, working alone, would git be
  particularly attractive? Just asking.
  Bill

 That makes sense to me, Bill.

 I cannot comment specifically on the Business Application Framework, but if
 we are talking specifically about team features, aren't team features
 contrary to the idea of an indie license - which to me, suggests working
 on your own projects as an indie developer.

 Best regards,

 Lynn Fredricks
 President
 Paradigma Software
 http://www.paradigmasoft.com

 Valentina SQL Server: The Ultra-fast, Royalty Free Database Server


 ___
 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

-- 

Kind regards,

Andrew Kluthe
___
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: parameterized query with wildcard

2015-07-28 Thread Andrew Kluthe
Should have read, *proper escaping*.

On Tue, Jul 28, 2015 at 11:17 AM Andrew Kluthe and...@ctech.me wrote:

 Does revDataFromQuery do any sanitizing/proper to prevent me from sneaking
 extra SQL into your search box like an injection style attack, or does it
 just plop whatever you give in there no questions asked? Just curious. I
 have always been spoiled by SQLYoga or rolled my DB interfaces up into API
 servers of some kind.

 On Tue, Jul 28, 2015 at 11:09 AM Dave Kilroy d...@applicationinsight.com
 wrote:

 Mike, assuming you are searching the db with parameter pSearchTerm, try
 something like this:


 put %  pSearchTerm  % into tSearchTerm
 put SELECT * FROM foo WHERE bar LIKE :1 into tQuery
 get revDataFromQuery(tab, return, sDBID, tQuery, tSearchTerm)






 -
 The difference between genius and stupidity is; genius has its limits.
 - Albert Einstein
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/parameterized-query-with-wildcard-tp4694407p4694419.html
 Sent from the Revolution - User mailing list archive at Nabble.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: parameterized query with wildcard

2015-07-28 Thread Andrew Kluthe
Does revDataFromQuery do any sanitizing/proper to prevent me from sneaking
extra SQL into your search box like an injection style attack, or does it
just plop whatever you give in there no questions asked? Just curious. I
have always been spoiled by SQLYoga or rolled my DB interfaces up into API
servers of some kind.

On Tue, Jul 28, 2015 at 11:09 AM Dave Kilroy d...@applicationinsight.com
wrote:

 Mike, assuming you are searching the db with parameter pSearchTerm, try
 something like this:


 put %  pSearchTerm  % into tSearchTerm
 put SELECT * FROM foo WHERE bar LIKE :1 into tQuery
 get revDataFromQuery(tab, return, sDBID, tQuery, tSearchTerm)






 -
 The difference between genius and stupidity is; genius has its limits. -
 Albert Einstein
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/parameterized-query-with-wildcard-tp4694407p4694419.html
 Sent from the Revolution - User mailing list archive at Nabble.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: New Indy License Pricing

2015-07-22 Thread Andrew Kluthe
Richard,

It's not an issue of earnestness or integrity but of what has been
delivered vs what we were told was going to be delivered.

There is a huge gap between the way things looked when they were presented
to us in April 2013 and the way they look today.

This has been the point of conversation on this list several times. It
isn't a result of being dishonest or the other amusing caricatures you
painted to make a point. It is the result of lets pile more things we might
be able deliver on so that we can get more funding from excited people. Had
the best of intentions, just didn't pan out like they planned.

Will things all be delivered? Yeah, probably. But how many more major
version numbers will it take? How many of them will turn into additional
kickstarters when their revenue stream dries up? Are many of these features
going to end up being mac specific when it gets down to finding out how
hard they are to make cross platform?

That's what I mean when I say trust. Brand fetishism just isn't enough to
live on anymore. The actual performance as a company lately, frankly,
sucks. Since, I know you are going to want examples of why someone might
feel this way:

- On-rev (do I really need to say more? Search the list for on-rev)

-The documentation is scattered, sparse, and most of the code samples are
images. Fun.

-The website is going down an awful lot rendering the point above moot as
it's not available.

-Everything i mentioned above about the disappointments that followed the
delivery of the kickstarter campaign.

Runrev's track record isn't dishonesty, it's being confident that they can
follow through on the things they set out to do and do them well. So this
admittance from Kevin that they spent 2x what they raised on the
kickstarter to build Livecode 7 continues to point to that.

On Tue, Jul 21, 2015 at 4:35 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

   Price Increase? No big deal.

 Even less so when we consider that the new price was the price before
 last year's experiment with lower prices.  In fact, it's only $4 more
 than I used to pay for annual renewals with MetaCard back in '98, after
 paying an initial licensing fee of $995.

 Some talk about this like it's tennis shoes or other commodities, Just
 lower the price to sell more!

 The total addressable market for software developer tools is a slender
 fraction of what most consumer apps can aim for.  Look at the bell curve
 and remember that a person needs an IQ of at least 115 just to begin to
 find programming at all interesting.  Race-to-the-bottom pricing just
 doesn't work for such a highly specialized product that can only appeal
 to a relatively slender slice of the gene pool.  Everyone needs shoes,
 but few have any interest at all in programming.


   Commercial vs Open Source Feature Parity? Could also be no big deal
   if done with some good intentions.

 So far there's been only feature parity, and the only thing Kevin
 discussed in his email is a single Widget add-on for exotic camera
 features, which takes nothing away from any of the other front- or
 back-facing camera commands we have on mobile now, or any of the webcam
 and other image input support on the desktop.

 And while I can appreciate Kevin's desire to come up with supplemental
 revenue streams, I suspect he'll find that add-on components for a
 developer tool isn't exactly easy money, so I don't expect this to be a
 major trend.


   Only Subscription licensing? No big deal, helps keep costs down for
   us to stay bleeding edge and helps stabilize the income runrev can
   count on.

 And not at all new.  The switch to subscriptions went into effect more
 than two years ago when the Community Edition premiered.


   But all three of these together? It's kind of obvious why people are
   complaining/suspicious of the long term intentions here.

 Given that two of those three aren't new and the third (a proprietary
 add-on) doesn't even exist yet, it's less clear to me.

 Or maybe it's no more mystifying than anything else we see in any
 reasonably sizable Internet community.  As a population grows to reflect
 larger demographics, we can expect a portion of any group to disagree
 with changes within that group.  And given human nature, those who are
 satisfied with the change will be happily enjoying it rather than
 writing about it, giving disproportionate voice to a relatively small
 subset of the group.

 We see this with nearly every aspect of collective human activity, from
 politics to products.

 A casual observer might count dissenting posts, but if we look at
 dissenting people the number is much smaller.  And if we look at the
 audience size as a whole and compare the number of dissenting people to
 that, the proportionality becomes even clearer.

 This isn't to suggest that contrary views shouldn't be discussed.
 Sometimes great ideas come from vigorous debate.

 But the repetition is sometimes a bit much, and in any

Re: New Indy License Pricing

2015-07-21 Thread Andrew Kluthe
Just read through some of the forum threads.

Price Increase? No big deal.
Commercial vs Open Source Feature Parity? Could also be no big deal if done
with some good intentions.
Only Subscription licensing? No big deal, helps keep costs down for us to
stay bleeding edge and helps stabilize the income runrev can count on.

But all three of these together? It's kind of obvious why people are
complaining/suspicious of the long term intentions here.

The issue is trust. In trusting runrev to know how to walk the fine line
with the commercial features/licensing, not any of the issues individually.
Not everyone is just going to take them for their word with this stuff
anymore.

Without that trust all of these things look very suspicious.

We're gonna do all these things to get to what we promised, but after that
... after that, what?

You take livecode open source to get funding to redesign it, release the
completed redesign as open source and after some time completely focus
future development efforts on commercial? Is that the after? It seems like
that's what the mother ship was saying on those threads.

No, that's not what we want to do. We are committed to being Open Source.

Until you hit another funding wall and then those wants becomes have to's?

Sure, it's a slippery slope fallacy, but the ground we've just traveled on
from April 2013 didn't feel real solid.






On Tue, Jul 21, 2015 at 11:16 AM Chris Sheffield cs_livec...@icloud.com
wrote:

 There are two other limitations to be aware of, if I understand the terms
 correctly:  1) Your company/organization cannot have more than 5 employees
 total, and 2) cannot make more than $500,000 per year.

  On Jul 21, 2015, at 10:06 AM, Earthednet-wp proth...@earthednet.org
 wrote:
 
  Bob,
  I subscribed to the Indy license with the understanding that it is the
 same as a commercial license, but for only a single developer.
 
  Hope I'm right.
  Bill
 
  William Prothero
  http://es.earthednet.org
 
  On Jul 21, 2015, at 7:29 AM, Bob Sneidar bobsnei...@iotecdigital.com
 wrote:
 
  Pardon my being late to the party, but I went to the web page and read
 up, but I still do not know what the “Indy” version is. I don’t want to
 miss the pricing deadline, but I also don’t want to subscribe to something
 then find out it is less than I wanted.
 
  Bob S
 
 
  On Jul 1, 2015, at 15:50 , Mark Wieder mwie...@ahsoftware.net wrote:
 
  Peter Haworth pete@... writes:
 
 
  I'm assuming some folks out there got the same email as me regarding
 the
  increase in Indy license pricing.
 
  From that email, it seems that the Community Edition will no longer
 have
  all the same features as the fee-based versions of Livecode.
 
  Comments?
 
  Been dealt with very nicely by Kevin:
  http://forums.livecode.com/viewtopic.php?f=5t=24729start=15
 
  --
  Mark Wieder
  ahsoftw...@gmail.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: New Indy License Pricing

2015-07-21 Thread Andrew Kluthe
Exactly my point, I don't think there is an easy answer here besides what
runrev is wanting to do. They said it themselves, they have to.

 I think the reaction is a result of mistrust/fear and not actual issues
with what's being proposed. Are you going to quiet all alarmists and settle
every single persons anxiety regarding this? No, but it seems like there
has been more fear and anxiety about the motherships' decisions lately than
there ought to be. How do we go about preventing that in the future? More
transparency (they've been trying)? Being very specific and careful (maybe
even engage the community directly) with what gets rolled into commercial
as a paid-only feature?

For instance: I would expect stuff like a customizable datagrid widget
tuned for performance even on mobile (and mobile deployment itself) not to
be a paid only feature. But I could certainly see a pre-configured inbox
style datagrid or a timeline control being a specialized commercial widget
that could be bought and used in the commercial version helping to generate
some money.

I can see paid widgets being the way to handle this Commercial vs Community
Feature parity issue.

I hope its along these lines and not You can't deploy to Rasp pi, android
or IOS unless you are on commercial license.

Commercial should provide advantages but community should not provide
intentional dis-advantages.

On Tue, Jul 21, 2015 at 2:17 PM J. Landman Gay jac...@hyperactivesw.com
wrote:

 On 7/21/2015 12:22 PM, Andrew Kluthe wrote:
  No, that's not what we want to do. We are committed to being Open
 Source.
 
  Until you hit another funding wall and then those wants becomes have
 to's?

 I'm curious how one would fund development on a massive project like LC
 when almost everyone is using the free version. So far, most of the
 suggestions I've seen posted have already been tried or are too silly to
 implement.

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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: Visual Studio, anyone?

2015-07-21 Thread Andrew Kluthe
Visual Studio Code is a lightweight editor for os x, linux, and windows.

It's based on the technology used to make Atom editor and is meant to be a
cross-platform, lightweight editor geared towards node.js, typescript, and
the new ASP.NET cross-platform stuff.

The new ASP.net is a total rewrite of ASP from the ground up and can run on
linux and osx. So they needed an editor (not full blown IDE) on these
platforms geared specifically for it.

It also has git interface baked in like Atom.

Not a bad little editor for being MS and so new. The Javascript
intellisense is incredible and better than full blown visual studio imo.

On Tue, Jul 21, 2015 at 7:37 AM Mike Kerner mikeker...@roadrunner.com
wrote:

 Yes, after I started messing around to see what was going on, it turns out
 that the code editor piece can run on non MS but the visual editor only
 runs on windoze.  I agree with you, a web app doesn't count.  Otherwise,
 4D's silly claim that Wakanda lets you build mobile apps would be
 reasonable.

 On Tue, Jul 21, 2015 at 5:50 AM, Kay C Lan lan.kc.macm...@gmail.com
 wrote:

  On Tue, Jul 21, 2015 at 7:21 AM, Mike Kerner mikeker...@roadrunner.com
  wrote:
 
   Visual Studio now
   supports all platforms, and seems to run on all platforms???
  
 
  Not sure where you're reading that. This website:
 
  https://www.visualstudio.com/products/visual-studio-community-vs
 
  Indicates that only applications for Windows, Android and iOS can be
  made* and checking the Features link indicates it only runs on Windows.
 
  Against my better judgement I downloaded it and unsurprisingly it didn't
  run on my non-MS computer.
 
  *I don't count 'web applications' as fulfilling the definition of a cross
  platform development tool that 'supports all platforms, and runs on all
  platforms.'
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 



 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
As a personal rule of thumb, I don't use anything post-6.x.x for anything
but trying out the bleeding edge features. Most of my critical stuff uses
5.5 due to previous performance concerns before they even officially rolled
out 7. It seems to be a lot better now, but I guess I've just been hanging
back from upgrading the important stuff until I stop seeing emails like
these on the list.



On Fri, May 29, 2015 at 10:13 AM Roger Eller roger.e.el...@sealedair.com
wrote:

 I only made it to 6.6.5 and some of the 7.x ones before I reverted to my
 most stable experience (on Windows anyway).



 On Fri, May 29, 2015 at 10:22 AM, Geoff Canyon gcan...@gmail.com wrote:

  On Fri, May 29, 2015 at 8:58 AM, Roger Eller 
 roger.e.el...@sealedair.com
  wrote:
 
   LC 6.5.2 is my daily driver on Win7.
 
 
  I've been using 6.7.x -- do you see a substantial difference between
 6.5.2
  and that?
 
  gc
  ___
  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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
Most of our c# stuff is still .Net ;)

I've come to really like more staticly typed development ( one thing I love
about lcb stuff I've messed with) and now I can do all my js and node work
in the same ide. I never thought I'd say it, but visual studio and c# and
.net is growing on me. Particularly in regards to their new open source
efforts and being able to target Mac and Linux hosts with their upcoming
asp.net MVC and web api products. The new visual studio code editor is
cross platform, built on similar tech to the atom editor And comes with a
nodejs debugging suite, built in git client, great js intellisense while
still staying really light on the ide features. I'd do naughty things for
an LC script editor with intellisense like features.

On Fri, May 29, 2015, 10:25 PM Mark Wieder mwie...@ahsoftware.net wrote:

 On 05/29/2015 07:28 PM, Andrew Kluthe wrote:

  And yes, since montes effort on lcvcs and the new flat file lcb
 libraries,
  VCS support is being addressed. I'm excited to build something great. But
  unfortunately, even after the transition and this new stuff is continuing
  to wow us I don't think I'll be allowed to do much more with livecode at
 my
  9-5 and that bums me out. I'll have to save livecode 8 and 9 stuff for
  contract work or as a hobby/personal project.

 Yeah, essentially my situation as well. Over the last dozen or so years
 I've seen projects that might have been realized in LiveCode turned into
 Adobe Flex (yuck), C# (not quite so yuck), .NET (yuck again), Rails (not
 quite so yuck)... several things have held back and still hold back the
 acceptance of LiveCode into existing development environments: the lack
 of integrated version control, the learning curve, the inability to
 interact with other tools, the lack of dynamic linking, etc. The biggest
 hurdle is the monolithic structure, promoting cowboy coding and acting
 as an obstacle to teamwork. I think the time for LiveCode to have been
 accepted as a serious development tool has passed.

 Coding in LiveCode is fun and I continue to do in on a hobby basis, but
 I've given up on trying to use it for serious work. The promise and hype
 of LC7/8 is great, but the reality just doesn't live up to it. We'll see
 what the future has in store.

 --
   Mark Wieder
   ahsoftw...@gmail.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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
Exactly Trevor and Richard. I agree strongly with both sentiments. There is
great promise in what's coming up but what we have now, I think, is still
in transition.

And yes, since montes effort on lcvcs and the new flat file lcb libraries,
VCS support is being addressed. I'm excited to build something great. But
unfortunately, even after the transition and this new stuff is continuing
to wow us I don't think I'll be allowed to do much more with livecode at my
9-5 and that bums me out. I'll have to save livecode 8 and 9 stuff for
contract work or as a hobby/personal project.

I wish I could spend some time giving the kind of dedication Trevor gives
to his LC projects and , indirectly, all of us by implementing and pushing
LC continually to its limits all these years. Clarify is such a valuable
tool in our shop. I'm excited to see what the widget architecture allows
you to accomplish!

I know this topic is a sensitive one at the moment, but it's important and
part of LCs adolescence as it goes open and becomes this new modern
platform its evolving to be.

On Fri, May 29, 2015, 6:18 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

   I think the decision boiled down to just wanting more mainstream
   processes for development and being able to find programmers we
   didn't have to train from scratch. So the decision was made to become
   a .Net shop...

 Ah yes, that's a conversation I know well.  Some of the members of this
 list may be old enough to remember the mantra of middle management, No
 one ever got fired for buying IBM.  I have that conversation about
 every few months, with prospective clients and even current clients
 after acquisition or during review.

 That's why the Tiobe Index is such a long-tailed L curve: the most
 popular languages are picked up by new users looking for the most
 popular languages.  Heck, Pascal is still in the top 20 there right now,
 while the darling of Big Data, Erlang, is way down at #36 with only
 0.403% of surveyed developers using it (though I'd wager there's at
 least twice as much demand for Erlang, and in arguably more interesting
 companies).

 Malcolm Gladwell's The Tipping Point explores thisultural dynamic
 well, and Geoff Moore's The Gorilla Game applies it to the software
 industry cogently.

 The irony of the middle manager fixation on number of available
 developers is that it doesn't really matter if there are a million Java
 programmers, because they're never going to hire a million programmers.

 All they really need to see is that the number of developers available
 is higher than the number they want to hire, often just one or two, or
 maybe if they're really invested in a language as many as a dozen.  And
 there are least a dozen developers well versed in Erlang, and in
 LiveCode. :)

 That's why middle managers aren't founders:  You don't build a company
 from scratch by doing whatever everyone else is already doing.


 The need for good support of third-party version control systems is a
 more practical problem, one that's historically never been addressed by
 any toolkit in this family of languages.

 The ability to deliver a single compact binary file that contains both
 objects and code contributes strongly to LiveCode's uncommon
 productivity, but this uncommon way of working doesn't yet fit well in a
 world of VCSes designed for a world of sameness in which apps written in
 most languages are comprised of hundreds of tiny text files.

 We're only halfway there now, but a big half: a library stack can be
 expressed as a text file, suitable for use in any VCS, and in
 well-factored projects that's where the meat will be.

 That still leaves UI stacks as binaries, and the LiveCode team is
 working on a solution for that.  And I believe Trevor and others are
 already using Monte's solution for that right now.

 Once that's built-in, a lot of larger teams will be able to come on board.


 In the meantime, LiveCode is just like the other bottom 90 in the Tiobe
 Index:  there will always be those managers who will only consider the
 top 10, which is why the top 10 rarely change position.

 --
   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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
I'd still like to do other work in LC (less scale, less risk) but for
things like industrial control systems, warehouse management, etc. where
there are thousands or millions of dollars on the line, I guess it isn't
that 7.0 is really that bad as much as it was the wrong tool for us at the
wrong time. I had LC and walked around trying to build everything with it.
And I could build things really fast and it was good.

 Then I had to figure out how to structure larger applications considering
that livecode's stack format is a bit than most other tools. Andre did a
presentation at a runrev conference that inspired me to refactor some of
the big ones and make them much more manageable/testable almost like an MVC
kind of pattern.

I was hired to convert legacy visual foxpro programs into a more robust
system that could bring us into the present and was leaned on to sort of
build the programming teams and automate everything. Then we got a new set
of investors and could afford to write more of our industrial things
in-house and wanted to hire people who would be willing to work in LC. That
was hard to do. We wanted things like git repos once we got a bigger team
(before opensource when things like that were still hard for LC). I think
the decision boiled down to just wanting more mainstream processes for
development and being able to find programmers we didn't have to train from
scratch. So the decision was made to become a .Net shop and phase out the
livecode applications we had been using since then with .Net web apps and
desktop clients.

I guess you could say we just outgrew livecode's abilities at the time and
couldn't wait for the new ones to be available. It was more of a
convenience issue than than a showstopper for us. I keep waiting to go back
and show off some amazing new stuff the new livecode features introduce,
but so far I have been forced to keep waiting for that thing that can sell
us on doing some things in livecode still.

Yes, MS or Apple has waaay more resources than RunRev to do the things they
do, but damn if i wouldn't like it to be otherwise and still work everyday
in LC. Most of that reply to you, Richard, was just some back story on why
I feel the way I do. I reckon LC 7 is production ready depending on what
kind of (and what scale) production work you are talking about. The
attitude in our community is that livecode should be able to do anything
and everything. I'd agree with that. It's a great syntax. It's a great
concept. It works great for so many things. Maybe my things were just not
some of them. We had big ideas that started small, but now those big ideas
seem bigger than what we could do with it in a cost-effective manner.

On Fri, May 29, 2015 at 3:17 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

   I totally understand what you're talking about there, but between
   a full time gig, very young children, and freelance work at night.
   I just don't know where I'd find the time to be effective at giving
   them the level of detail that they need.

 I hear you.  The only reason I'm in a position to volunteer as much time
 as I do is because I have a responsibility to my company and those of my
 clients, which are dependent on LC as the foundation of their product
 lines.

 But LC is useful for a great many different workflows, and not all of
 them are as invested in it as the ones I help steward, so it's nice when
 folks have the time to submit reports but fully understandable if they
 don't.


   In short, the request for us to invest this much time in helping them
   figure it out is almost as stressful as the actual problems.
  
   The Us (community) vs Them (RunRev) that persists is the result that
   most of the people started using this software when it was still
   proprietary. It's a big step for many of us to transition to.

 I've seen this dynamic before, and I believe it has less to do with dual
 licensing than the nature of development tools themselves.

 I served on the advisory boards for Oracle Media Objects, Allegiant
 SuperCard, and Gain Momentum, and with each the relationship between the
 vendor and the community was in various ways challenging on both sides.

 We had many long meetings between the Gain team, a team from Irix, and
 my client, just to try to get robust video playback, and ultimately
 someone one my client's team had to write custom C code to pull it off.

 A number of critical features SuperCard developers relied on weren't in
 the engine at all but provided through externals, a good many of which
 were written by a team member in his spare time.  This meant funky
 syntax and design compromises, but they got us through the day well
 enough to move on to other challenges.

 With quality, all of them faced a daunting task that's quite literally
 orders of magnitude beyond the scope of testing requirements for
 anything we build with these tools:

 In the apps we make with xTalks, we use a subset of the language

Re: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
Not a bad option for some, then. Unfortunately, decisions like that on the
software in question are over my head. They have decided they would rather
I just do it in something more mainstream, than spend time in that way. I
fought tooth and nail to get permission to do it in livecode. It works, it
still works. We'd been using it for close to 5 years and dealing with some
small gotchas. People above me at the company I work for donated to the
kickstarter and were as excited as the rest of us at the possibilities the
future of livecode introduced. They have been watching new releases roll
out and wanting to move forward on big improvements and the new features.

We gave it a shot with some prototypes with the newer versions. My
superiors were tired of waiting/dealing with it and decided to pull the
plug on livecode. The decision was made to re-write most of it for .NET
(some if it on my own dime) to compensate for that risk going ahead.

Livcode will still be great again. I'll probably use it for freelance work
at some point in the future, but around here. It's just not an option the
company wishes to pursue any further.

On Fri, May 29, 2015 at 2:28 PM Peter TB Brett peter.br...@livecode.com
wrote:

 On 2015-05-29 21:12, Andrew Kluthe wrote:
  Thanks for the reply, Richard.
 
  I totally understand what you're talking about there, but between a
  full
  time gig, very young children, and freelance work at night. I just
  don't
  know where I'd find the time to be effective at giving them the level
  of
  detail that they need. I can't give them the actual software that's
  suffered from these issues as it's all under NDA.

 Hi Andrew,

 Note that we are able to enter a NDA if that's necessary!  Please
 contact support for more information.

  Peter

 --
 Dr Peter Brett peter.br...@livecode.com
 LiveCode Engine Development Team


 ___
 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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
Of note, the only things wrong with the prototypes we did were that the
reports (pulling large amounts of data from a server, processing it,
generating html reports and outputting it) were noticeably slower (not like
what is often reported on this list, but slow enough for someone to notice
its slower). To be fair, they were fairly complex reports and they should
probably be offloaded to a reporting server that can process them in a
queue at its own pace. Which is what we did. To be fair, this new reporting
process was even slower than the slowness introduced by upgrading to newer
versions.

These issues are just the breaks with the engine changes. I get that you
guys are optimizing things, but by design, the entire thing is just
inherently a wee bit slower to your own admission. This wasn't good enough
for those who made the decision to pull the plug.  Basically, after
following along for the last few years my boss now considers LC to be good
for really robust prototypes at this point but would never let me do
another project that affects our production lines in LC, regardless of how
many things have been shot into space running livecode.

On Fri, May 29, 2015 at 2:50 PM Andrew Kluthe and...@ctech.me wrote:

 Not a bad option for some, then. Unfortunately, decisions like that on the
 software in question are over my head. They have decided they would rather
 I just do it in something more mainstream, than spend time in that way. I
 fought tooth and nail to get permission to do it in livecode. It works, it
 still works. We'd been using it for close to 5 years and dealing with some
 small gotchas. People above me at the company I work for donated to the
 kickstarter and were as excited as the rest of us at the possibilities the
 future of livecode introduced. They have been watching new releases roll
 out and wanting to move forward on big improvements and the new features.

 We gave it a shot with some prototypes with the newer versions. My
 superiors were tired of waiting/dealing with it and decided to pull the
 plug on livecode. The decision was made to re-write most of it for .NET
 (some if it on my own dime) to compensate for that risk going ahead.

 Livcode will still be great again. I'll probably use it for freelance work
 at some point in the future, but around here. It's just not an option the
 company wishes to pursue any further.


 On Fri, May 29, 2015 at 2:28 PM Peter TB Brett peter.br...@livecode.com
 wrote:

 On 2015-05-29 21:12, Andrew Kluthe wrote:
  Thanks for the reply, Richard.
 
  I totally understand what you're talking about there, but between a
  full
  time gig, very young children, and freelance work at night. I just
  don't
  know where I'd find the time to be effective at giving them the level
  of
  detail that they need. I can't give them the actual software that's
  suffered from these issues as it's all under NDA.

 Hi Andrew,

 Note that we are able to enter a NDA if that's necessary!  Please
 contact support for more information.

  Peter

 --
 Dr Peter Brett peter.br...@livecode.com
 LiveCode Engine Development Team


 ___
 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: How do you handle the poor performance of LC 7?

2015-05-29 Thread Andrew Kluthe
Thanks for the reply, Richard.

I totally understand what you're talking about there, but between a full
time gig, very young children, and freelance work at night. I just don't
know where I'd find the time to be effective at giving them the level of
detail that they need. I can't give them the actual software that's
suffered from these issues as it's all under NDA. I don't really have time
to hunt down the root of the problem, recreate code to explain it, create a
data set they can refer to for testing it, wait for it to be analyzed, wait
for it to be implemented, and try again.

Sure, I would love if the users of my software would all sit down and try
to help me pinpoint regressions, bugs in new features, etc. I would want
well thought out, reproducible issues with good data to try them against.
Reality is, they are all also busy trying to use said software to do their
increasingly strenuous day jobs (of which the software is supposedly there
to make it easier). That's just something I have to understand as a someone
who writes software for users. It would be nice, it would make things go
smoothly, it's a good goal to reach for in educating users, but it's not
exactly as easy as that.

It's not really an excuse to sit back and wait for someone else to find out
the bugs as it is the hard reality of some people's situations.

In short, the request for us to invest this much time in helping them
figure it out is almost as stressful as the actual problems.

The Us (community) vs Them (RunRev) that persists is the result that most
of the people started using this software when it was still proprietary.
It's a big step for many of us to transition to. Particularly, if we came
to runrev/livecode to save us on development/prototyping time. Our
community used to be so sure of the praises of livecode. It really was and
will again sometime be a fantastic product. But I'm sorry to say v7 is not
a production quality toolset for those without tons of extra time on their
hands.

As a result, I have done no new development that wasn't a one off utility
for something simple in livecode since it went open source. I'm too afraid
to lose my lunch (or for users to lose theirs) to these issues. When one of
my livecode apps needs an overhaul, I've been selecting other
tools/technologies to rewrite it in because of how long all of this has
been building up to and in the works.

Things will get better. I know that. It will take some time. I get that.
I'm more or less fine with things taking longer to smooth out. But I won't
recommend that someone else spend their time on it, if they don't have time
to spend.

It seems like lately there has been this big move to say Well, there isn't
actually a problem. People just aren't pitching in to help us like they
should. I don't think this line is entirely realistic for all in our
somewhat small community. Some of us are just going to have to wait until
LC is a realistic production-worthy option for us again, and I'm looking
forward to it after the 8 previews. I think this is mostly because
regardless of speed, 8 will have enough new (and relevant) features to make
it worth the hassle of trying to work with.

On Fri, May 29, 2015 at 12:36 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

   I guess I've just been hanging back from upgrading the important
   stuff until I stop seeing emails like these on the list.

 There is some performance degradation with v7, but improved in recent
 builds and often the difference may be measurable but not noticeable.

 There's an option with File - Save As in LiveCode to pick any file
 format supported over the last decade.  Once chosen, any use of File -
 Save will continue to use that format, so you can work on things moving
 between 6.7 and 7.0 without penalty.

 Of course backups are helpful, but less for LiveCode than any other
 reason all of us make multiple redundant backups nightly (earthquakes,
 disk failure, etc.).

 Given the scope of changes between 6.x and 7.x, relying on hearsay is
 problematic for two reasons:

 1. The specific areas in which other people are seeing performance
 degradation may not be the same your app will experience.  Yours may be
 fine, or it may expose something more critical and well worth
 identifying, but if we don't identify it it can't be fixed.

 2. To be frank, the number of posts here about issues in v7 is a
 multiple of the number of actual issues, with a relatively small number
 of issues cited over and over, often requiring nudging or direct
 assistance to turn those concerns into actionable bug reports.

 True, multiple changes in the iOS SDK have required the team to postpone
 issues for other platforms to rush out yet another 7.0.x build to
 address Apple's changes du jour, and this has meant many things we need
 for other platforms have remained outstanding longer than anyone,
 including the dev team, would prefer.

 In my meeting with Ben yesterday we spent the bulk of our

Re: reporting

2015-05-15 Thread Andrew Kluthe
I've been pretty happy generating html reports for some of the big LC
applications I've done. Use something like bootstrap that has a good print
style sheet. Some JS powered charting that prints nice. I would open in
external browser in my older applications but I wonder if things wouldn't
work nicely in the new CEF browser.

Once things stabilize a bit more, I think we could do tons of standalone
web applications this with it similar to electron or node-webkit. For
example: a customer has an online catalog powered mostly by javascript on
the front end talking to data providers on the server side. We could reuse
most of the javascript in the CEF browser and refactor the bits that serve
the data to serve from the livecode side from a sqlite database. If I had a
little more confidence in some of the newer strains of livecode I'd have
done it like that instead of in electron.

On Thu, May 14, 2015 at 6:33 PM Lynn Fredricks 
lfredri...@proactive-intl.com wrote:

  Quartam Reports is pure LiveCode, and as such it has been a
  great tool for use on all major desktop platforms.

 It can be extremely useful to have an add-on that's entirely native. The
 downside to that is that, from the vendor perspective, you can capture only
 a fraction of the users of that development environment. Id imagine if 5%
 of
 all LiveCode users paid the fee for QR, then it would be generating buckets
 of revenue to power new versions.

 There are only a few platforms that can really support ONLY native reports
 on a single platform and feed the developer. Even Crystal Reports supports
 multiple development environments.

 Best regards,

 Lynn Fredricks
 Paradigma Software
 http://www.paradigmasoft.com

 Valentina SQL Server: The Ultra-fast, Royalty Free Database Server



 ___
 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: LC7 - Editor so slow make it Unusable (mac os x 10.7.4)! Solution?

2015-05-13 Thread Andrew Kluthe
jkComic Sans crashing the script editor? That sounds more like a security
feature than a bug. :P/jk

On Wed, May 13, 2015 at 1:46 PM Robert Mann r...@free.fr wrote:

 Yap! I tried a few : there clearly are some non compatible fonts that drive
 the livecode editor crazy (I mean.. damn slow!)

 I had the comic sans set and changed to defaut font to see if that could
 change and it did. Then :
 -- american trypwriter is ok
 -- chalkboard is ok

 -- brushScript is BAD
 -- comic sans is BAD
 -- Snell round hand is BAD

 WHen you have a bad font.. you can't even change the font setting :: the
 font menu just appears for a second and goes away. And the app is kind of
 frozen (round ball is spinning).

 Hope that can help better identify the problem.
 Robert




 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/solved-LC7-Editor-so-slow-make-it-Unusable-mac-os-x-10-7-4-Solution-tp4692303p4692308.html
 Sent from the Revolution - User mailing list archive at Nabble.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: GitHub starter guide?

2015-05-02 Thread Andrew Kluthe
I like source tree but prefer SmartGitHG.

could always roll your own with livecode as well for an interesting hobby
project. Livecode's text parsing abilities could really shine here.

I do think its helpful to start trying to learn via the command line though
initially.

Heres a nice little interactive tutorial that walks you through the command
line basics.

https://try.github.io/levels/1/challenges/1

I also find the history and creation of git to be an interesting read for
people asking themselves whats the big deal.

http://en.wikipedia.org/wiki/Git_%28software%29

I also love the whole deploy from repo stuff. This has made managing
production servers for web apps a dream. Commit a few changes, push to your
deployment repo and voila. Problem and need to roll back? Can roll back to
any previous state with a simple command on a terminal.




On Sat, May 2, 2015 at 8:02 AM Trevor DeVore li...@mangomultimedia.com
wrote:

 On Saturday, May 2, 2015, Monte Goulding mo...@sweattechnologies.com
 wrote:

  Not sure of anyone has mentioned sourcetree which is a very good gui from
  atlassian which integrates with bitbucket and GitHub.
 

 I like sourcetree as well. As a reminder I have an article that walks you
 through setting up sourcetree to watch the livecode repository as well as
 the repositories of the livecode engineers.


 http://www.bluemangolearning.com/livecode/2014/07/using-sourcetree-to-monitor-progress-on-livecode/

 --
 Trevor DeVore
 ___
 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: Hosting providers

2015-05-02 Thread Andrew Kluthe
Digital Ocean, Also have a cheap kimsufi dedicated for piddling around on.


https://www.kimsufi.com/en/

On Sat, May 2, 2015 at 9:29 PM Mark Wieder mwie...@ahsoftware.net wrote:

 On 05/02/2015 06:01 PM, Alex Tweedly wrote:

  I am reluctantly about to give up on on-rev; my Founder's account no
  longer seems like such a great idea.

 On-rev has been a running joke for some years now. I can't imagine why
 runrev keeps it going... it certainly doesn't help their reputation as a
 tech company.

  So I'm looking for another provider. I used to use Dreamhost and was
  happy enough with them. Are there still issues with using Livecode
  server on dreamhost (shared hosting) accounts ?  Or is there another
  provider you'd recommend for low-priced web hosting ?

 I haven't found a provider I like well enough to recommend them, but
 then I rarely find ones as bad as on-rev.

 --
   Mark Wieder
   ahsoftw...@gmail.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: LiveNode Server

2015-04-08 Thread Andrew Kluthe
To clarify just a little bit further. The code and objects weren't holding
onto memory, the variables used in that code were due to weird scoping. Big
chunks of db results, etc that persist after I've already done my business
with them and tried to move on.

If I can recommend a book on Javascript, I can't speak highly enough of the
insights given by  JavsScript: the Good Parts from O'Reilly. He provides
some history behind some of the design choices in javascript and some of
the problems still being worked around today in regards to the bad parts.

On Wed, Apr 8, 2015 at 8:41 AM Andrew Kluthe and...@ctech.me wrote:

 I haven't had many problems with livecode chewing up memory and not
 letting it go (unless I've done something obvious like stash it someplace
 where I would expect it to persist). I think JS in general is prone to
 memory leaks just because of how much of it was designed around the use of
 global variables. All the scoping improvements we've had over the years
 were kind of grafted on top of this design to try and address this.

 In Livecode, memory leaks happen if you are really reckless.

 In most of the JS environments (node, browsers), they happen when you
 aren't careful.

 On Wed, Apr 8, 2015 at 4:54 AM David Bovill david@viral.academy wrote:

 Thanks for this Andrew - I learned a lot. I spend a lot of time passing
 messages around Livecode objects with a view to making them standalone
 code
 chunks. Debugging works pretty well - but there was a need for a library
 and a graphing mechanism - design pattern style. This all adds overhead I
 guess when it comes to just reading code, and the design patterns for
 callbacks that closures seem to encourage makes this easier by itself?

 One thing that would be good to know more about with regard to Livecode is
 the memory handling - so when does a peice of code get released from
 memory? My understanding is that it does not - except possibly when the
 stack it resides in is deleted from memory?

 Otherwise my understanding is that like with Hypercard the script is
 compiled to bytecode the first time it is executed (which is a relatively
 slow step), but thereafter resides in memory to be executed when needed.
 Is
 that about right?

 It makes me think of an architecture in Livecode using [[dispatch]] where
 a
 stack is loaded that contains the needed code should the dispatch call not
 be handled by the message hierarchy - by default this stack could be
 deleted after it is called - so releasing it from memory. Commonly called
 handlers could be loaded before hand by a different command and therfore
 stay in memory.


 On 7 April 2015 at 21:21, Andrew Kluthe and...@ctech.me wrote:

  1. Livecode messaging is fully asynchronous. Not semi-async.
 
  Right, when I said semi-async I was referring to the single
 threadedness of
  livecode (which node shares) along with all the baked into livecode
 stuff
  that blocks up messages currently: accessing a large file on disk,
 posting
  some information to a web service with a large json payload being
 returned.
  It's async, with some pretty hard to work around exceptions (url library
  specifically has been the primary source of past frustration in this
 way).
 
  3. Livecode does not have closures = passing anonymous callbacks as
  params to functions so they can be executed later
 
  As for anonymous callbacks, I totally agree. Most early Node development
  had to overcome the callback hell that these patterns introduce.
 However,
  almost all of the nodejs projects and libraries I've worked with
 leveraged
  them heavily or exclusively. Promsies seem to have become the standard
 way
  of dealing with the callback hell that node was so famous for for a long
  time. Why does node use anonymous functions over the method you linked
 to
  in the article? Anonymous functions are marked for garbage collection
  immediately after being returned. All other functions at the global
 scope
  run the risk of needlessly using memory after they run. I've gotten into
  some hairy situations with memory management with these kinds of named
  callbacks (specifically for database access and return of lots of
 results
  when not scoped correctly).
 
  Passing a function (not just a name of a function to be used with a
 send or
  a dispatch later on) as a parameter even in your article still
 demonstrates
  something LC just can't do currently. In the article he's still using
  closures, it's just got a name instead of being anonymous. It's still a
  closure. LC has ways to accomplish similar things by passing names of
  functions and using dispatch, but I think it's not exactly the same.
  Closures are part of the reason node.js works the way it does and
 closures
  are one of the pirmary reasons javascript was chosen for node. It's
  certainly possible to do async without them, but closures are what
 makes it
  easy and kind of a fundamental principle to working in node.js.
 
  4. But we can easily call / dispatch

Re: LiveNode Server

2015-04-08 Thread Andrew Kluthe
I haven't had many problems with livecode chewing up memory and not letting
it go (unless I've done something obvious like stash it someplace where I
would expect it to persist). I think JS in general is prone to memory leaks
just because of how much of it was designed around the use of global
variables. All the scoping improvements we've had over the years were kind
of grafted on top of this design to try and address this.

In Livecode, memory leaks happen if you are really reckless.

In most of the JS environments (node, browsers), they happen when you
aren't careful.

On Wed, Apr 8, 2015 at 4:54 AM David Bovill david@viral.academy wrote:

 Thanks for this Andrew - I learned a lot. I spend a lot of time passing
 messages around Livecode objects with a view to making them standalone code
 chunks. Debugging works pretty well - but there was a need for a library
 and a graphing mechanism - design pattern style. This all adds overhead I
 guess when it comes to just reading code, and the design patterns for
 callbacks that closures seem to encourage makes this easier by itself?

 One thing that would be good to know more about with regard to Livecode is
 the memory handling - so when does a peice of code get released from
 memory? My understanding is that it does not - except possibly when the
 stack it resides in is deleted from memory?

 Otherwise my understanding is that like with Hypercard the script is
 compiled to bytecode the first time it is executed (which is a relatively
 slow step), but thereafter resides in memory to be executed when needed. Is
 that about right?

 It makes me think of an architecture in Livecode using [[dispatch]] where a
 stack is loaded that contains the needed code should the dispatch call not
 be handled by the message hierarchy - by default this stack could be
 deleted after it is called - so releasing it from memory. Commonly called
 handlers could be loaded before hand by a different command and therfore
 stay in memory.


 On 7 April 2015 at 21:21, Andrew Kluthe and...@ctech.me wrote:

  1. Livecode messaging is fully asynchronous. Not semi-async.
 
  Right, when I said semi-async I was referring to the single threadedness
 of
  livecode (which node shares) along with all the baked into livecode stuff
  that blocks up messages currently: accessing a large file on disk,
 posting
  some information to a web service with a large json payload being
 returned.
  It's async, with some pretty hard to work around exceptions (url library
  specifically has been the primary source of past frustration in this
 way).
 
  3. Livecode does not have closures = passing anonymous callbacks as
  params to functions so they can be executed later
 
  As for anonymous callbacks, I totally agree. Most early Node development
  had to overcome the callback hell that these patterns introduce. However,
  almost all of the nodejs projects and libraries I've worked with
 leveraged
  them heavily or exclusively. Promsies seem to have become the standard
 way
  of dealing with the callback hell that node was so famous for for a long
  time. Why does node use anonymous functions over the method you linked to
  in the article? Anonymous functions are marked for garbage collection
  immediately after being returned. All other functions at the global scope
  run the risk of needlessly using memory after they run. I've gotten into
  some hairy situations with memory management with these kinds of named
  callbacks (specifically for database access and return of lots of results
  when not scoped correctly).
 
  Passing a function (not just a name of a function to be used with a send
 or
  a dispatch later on) as a parameter even in your article still
 demonstrates
  something LC just can't do currently. In the article he's still using
  closures, it's just got a name instead of being anonymous. It's still a
  closure. LC has ways to accomplish similar things by passing names of
  functions and using dispatch, but I think it's not exactly the same.
  Closures are part of the reason node.js works the way it does and
 closures
  are one of the pirmary reasons javascript was chosen for node. It's
  certainly possible to do async without them, but closures are what makes
 it
  easy and kind of a fundamental principle to working in node.js.
 
  4. But we can easily call / dispatch calls to functions by passing
 names
  around and we can limit scope by using private handlers or libraries.
 
  Sure, there is nothing STOPPING us from implementing named callbacks in
 the
  current fashion or passing the named callback references dynamically as
 you
  and I mentioned, but from experience trying it this way I feel like it
  makes maintaining large projects built this way a lot more difficult. To
  the point where I ended up completely redoing most of the livecode stuff
  I've written in this way early on because it was getting to be a
 nightmare
  to maintain a completely separate callback functions rather than

Re: LiveNode Server

2015-04-07 Thread Andrew Kluthe
1. Livecode messaging is fully asynchronous. Not semi-async.

Right, when I said semi-async I was referring to the single threadedness of
livecode (which node shares) along with all the baked into livecode stuff
that blocks up messages currently: accessing a large file on disk, posting
some information to a web service with a large json payload being returned.
It's async, with some pretty hard to work around exceptions (url library
specifically has been the primary source of past frustration in this way).

3. Livecode does not have closures = passing anonymous callbacks as
params to functions so they can be executed later

As for anonymous callbacks, I totally agree. Most early Node development
had to overcome the callback hell that these patterns introduce. However,
almost all of the nodejs projects and libraries I've worked with leveraged
them heavily or exclusively. Promsies seem to have become the standard way
of dealing with the callback hell that node was so famous for for a long
time. Why does node use anonymous functions over the method you linked to
in the article? Anonymous functions are marked for garbage collection
immediately after being returned. All other functions at the global scope
run the risk of needlessly using memory after they run. I've gotten into
some hairy situations with memory management with these kinds of named
callbacks (specifically for database access and return of lots of results
when not scoped correctly).

Passing a function (not just a name of a function to be used with a send or
a dispatch later on) as a parameter even in your article still demonstrates
something LC just can't do currently. In the article he's still using
closures, it's just got a name instead of being anonymous. It's still a
closure. LC has ways to accomplish similar things by passing names of
functions and using dispatch, but I think it's not exactly the same.
Closures are part of the reason node.js works the way it does and closures
are one of the pirmary reasons javascript was chosen for node. It's
certainly possible to do async without them, but closures are what makes it
easy and kind of a fundamental principle to working in node.js.

4. But we can easily call / dispatch calls to functions by passing names
around and we can limit scope by using private handlers or libraries.

Sure, there is nothing STOPPING us from implementing named callbacks in the
current fashion or passing the named callback references dynamically as you
and I mentioned, but from experience trying it this way I feel like it
makes maintaining large projects built this way a lot more difficult. To
the point where I ended up completely redoing most of the livecode stuff
I've written in this way early on because it was getting to be a nightmare
to maintain a completely separate callback functions rather than the sort
of nested structure you get in node with callbacks. It takes a lot of
discipline in placement and grouping of the code that is related in this
way to come back later and make sense of it. In summary: it can be done,
but that doesn't mean that it SHOULD be done.

Kind of a weird long post there. Sorry for the length and probable
repetition of my points.


Also, this was something really neat I've used recently to make node work
in-process with some .NET applications we have. Something that does this
with node and LC would indeed be the bees knees.

http://www.hanselman.com/blog/ItsJustASoftwareIssueEdgejsBringsNodeAndNETTogetherOnThreePlatforms.aspx

Specifically the part about it allowing us to write node extensions in C#
in addition to the standard C and C++ way of doing it. I'd love to be able
to hook node into extensions written in livecode.


On Tue, Apr 7, 2015 at 12:24 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 David Bovill wrote:

   OK. A few questions... I'll post them as assertions to aid clarity.

 Personally I find it clearer to read questions as questions, but with
 that explanation I can work with this:

 1. Livecode messaging is fully asynchronous. Not semi-async.

 What is semi-asynchronous in the context of LC?

 There is a distinction between asynchronous and non-blocking that
 I'm not entirely clear on, so I'll use non-blocking for now:

 Socket I/O messaging can be non-blocking when the with message
 option is used, e.g.:

 accept connections on port  with message GotConnection

 But this is of limited value within a single LC instance, since doing
 anything with that message is likely going to involve blocking code
 (e.g., reading a file or accessing a database, doing something with that
 data, and then returning it).

 So messages will keep coming in, but they'll queue up.  This may be fine
 for light loads, but when expecting multiple simultaneous connections it
 would be ideal to handle the tasks more independently.

 Many programs do this with threading, but we don't have threading in LC.

 Instead of multithreading we can use multiprocessing, having multiple
 

Re: LiveNode Server

2015-04-07 Thread Andrew Kluthe
I'm not using LC server side much so I can't say for sure there in
reference to this thread and the things we've been discussing. I think the
direction livecode is going and the state that it is/was (I still use 5.5
for a lot of things) in to be great.

If we can get as many of the blocking bits down to a minimum as possible
(specifically the url libraries), I think it would be perfect. The thing
that peeved me most is that most of my DB work is not done by directly
connecting to the database but some sort of api layer. Usually my LC apps
are just clients for these apis (often built in Node or python if they were
made in-house). I like the flexibility this gives me. They post some JSON
and get a JSON payload back. If the payload is large, I've had to do things
like use curl and some other things to make up for the built-in super
convenient internet library just sitting locking the application while it
waits to return. I've converted entire applications out of LC into other
technology stacks just because of the kludge needed for this one thing. I'd
love to be able to stream this stuff in a little bit at a time as well. I
can get some desired results with regular GET request using load url with a
callback but it doesn't help when I have to post a more complex query. This
happens in my .NET apps as well, but I use the parallel task libraries .NET
has to get around the UI lockups. I've been spoiled on some of visual
studio's tooling features in the meantime too :P (intellisense, jump to
definitions, some other things that i think will come to LC in time).

I also have a node-webkit (now nw.js) application that I think would be
perfectly suited to be done in livecode once things stabilize a bit (this
has already started to happen) with the newer builds using Chrome Embedded
Framework. I needed something with all the fine tuned styling I could get
from web app we already have but running as a standalone against SQLite DB.
We did this to reuse the same visual cues and javascript libraries that we
use on the web version. We wanted a copy of the web application that could
run completely without the internet. I think with just a bit of time, I
could have used LC to do this comfortably.

The short answer? An url library that can read a file off disk
asynchronously (I think this can be done now using some of the other ways
of doing disk access in LC, but it would be nice if the url(binfile:) bit
did the same thing) and an url library that can return the response of a
POST asynchronously (preferably returning chunks as they come in).

The widgets architecture sets itself up to solve all of my other potential
wants/needs, maybe even this one.

On Tue, Apr 7, 2015 at 4:19 PM Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

 1. Livecode messaging is fully asynchronous. Not semi-async.
 
  Right, when I said semi-async I was referring to the single threadedness
 of
  livecode (which node shares) along with all the baked into livecode stuff
  that blocks up messages currently: accessing a large file on disk,
 posting
  some information to a web service with a large json payload being
 returned.
  It's async, with some pretty hard to work around exceptions (url library
  specifically has been the primary source of past frustration in this
 way).
 
 3. Livecode does not have closures = passing anonymous callbacks as
  params to functions so they can be executed later
 
  As for anonymous callbacks, I totally agree. Most early Node development
  had to overcome the callback hell that these patterns introduce. However,
  almost all of the nodejs projects and libraries I've worked with
 leveraged
  them heavily or exclusively. Promsies seem to have become the standard
 way
  of dealing with the callback hell that node was so famous for for a long
  time. Why does node use anonymous functions over the method you linked to
  in the article? Anonymous functions are marked for garbage collection
  immediately after being returned. All other functions at the global scope
  run the risk of needlessly using memory after they run. I've gotten into
  some hairy situations with memory management with these kinds of named
  callbacks (specifically for database access and return of lots of results
  when not scoped correctly).
 
  Passing a function (not just a name of a function to be used with a send
 or
  a dispatch later on) as a parameter even in your article still
 demonstrates
  something LC just can't do currently. In the article he's still using
  closures, it's just got a name instead of being anonymous. It's still a
  closure. LC has ways to accomplish similar things by passing names of
  functions and using dispatch, but I think it's not exactly the same.
  Closures are part of the reason node.js works the way it does and
 closures
  are one of the pirmary reasons javascript was chosen for node. It's
  certainly possible to do async without them, but closures are what makes
 it
  easy and kind

Re: LiveNode Server

2015-04-06 Thread Andrew Kluthe
I think the real missing piece in making LC work like node's event loop
would be anonymous callback functions that can be treated like other
variables. We can do semi- async stuff using messages in LC but you'd have
to either name separate callback functions or dynamically pass the names of
separately defined callback functions. We've got no way to pass an
anonymous function as a param to something like you can with js.

On Sun, Apr 5, 2015, 10:21 AM Richard Gaskin ambassa...@fourthworld.com
wrote:

 David Bovill wrote:

   On 5 April 2015 at 05:01, Richard Gaskin wrote:
  
   David Bovill wrote:
I am not quite sure what not being forkable is here - can you
explain.
  
   Not as well as Andre:
  
 http://lists.runrev.com/pipermail/use-livecode/2009-January/119437.html


   Ok - so the key sentance there is - We can't fork in revolution.
   So what does that mean? What is so special about Livecode that
   it can't do this?
   It's not multi-threading - it's something ?
  
   My thinking is that what we need is to be able to have some existing
   monitoring service keep a pool of LiveNode servers up and running -
   in a way in which you can configure the number of servers you need.
   Then you need a Node load balancing server / broker thing passing off
   messages asynchronously to a LiveNode server and immediately
   returning control to the user. only when all the LiveNode servers
   were used up - would a cue kick into action?
  
   This is all standard server / inter-application messaging stuff no?
   What prevents us doing that in Livecode?

 As you read in Andre's post I linked to, that's more or less what he
 proposes as an alternative to FastCGI.

 If one is willing to put the time into assembling such a
 multi-processing pool, the downsides relative to having forking appear
 to be somewhat minor, not likely the sort of thing we'd run into south
 of the C10k problem.

 What have you run into in trying this that isn't working?

 --
   Richard Gaskin
   Fourth World Systems
   Software Design and Development for Desktop, Mobile, and 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: OT Wordpress installation on On-Rev server Diesel fails

2015-03-18 Thread Andrew Kluthe
Sounds like a file permissions issue to me. Either on the WWW2 directory or
any of the dirs on the way down to install.php

That's where I'd start to look. Maybe it's even got permissions right, but
just owned by another user other than the one running the web server.



On Tue, Mar 17, 2015 at 5:59 PM, Matthias Rebbe | M-R-D 
matthias_livecode_150...@m-r-d.de wrote:

 Hi,

 one of my customers has a On-Rev account on Diesel. He´s trying to install
 Wordpress into it and is getting the following error

 Forbidden
 You don't have permission to access /wp-admin/install.php on this server.
 Additionally, a 404 Not Found error was encountered while trying to use an
 ErrorDocument to handle the request.“

 when he tries to open the wp installer script.
 He added a addon domain which root is ~/public_html/www2. Into the www2
 folder he has copied the complete wordpress stuff.

 Btw: A info.php file which is in the same folder than the installer script
 is executed w/o error.

 Does anyone have a clue what might be wrong?

 Regards,

 Matthias




 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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 Wordpress installation on On-Rev server Diesel fails

2015-03-18 Thread Andrew Kluthe
Oh, I missed the message about the htaccess. That would explain it. ;) It's
trying to protect you from yourself by blocking access to certain kinds of
files (install.php in this case) that might be left over erroneously
post-install.

On Wed, Mar 18, 2015 at 3:46 PM, Andrew Kluthe and...@ctech.me wrote:

 Sounds like a file permissions issue to me. Either on the WWW2 directory
 or any of the dirs on the way down to install.php

 That's where I'd start to look. Maybe it's even got permissions right, but
 just owned by another user other than the one running the web server.



 On Tue, Mar 17, 2015 at 5:59 PM, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de wrote:

 Hi,

 one of my customers has a On-Rev account on Diesel. He´s trying to
 install Wordpress into it and is getting the following error

 Forbidden
 You don't have permission to access /wp-admin/install.php on this server.
 Additionally, a 404 Not Found error was encountered while trying to use
 an ErrorDocument to handle the request.“

 when he tries to open the wp installer script.
 He added a addon domain which root is ~/public_html/www2. Into the www2
 folder he has copied the complete wordpress stuff.

 Btw: A info.php file which is in the same folder than the installer
 script is executed w/o error.

 Does anyone have a clue what might be wrong?

 Regards,

 Matthias




 ___
 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




 --
 Regards,

 Andrew Kluthe
 and...@ctech.me




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: [Semi-OT] Execute Javascript for Acrobat

2015-03-13 Thread Andrew Kluthe
Except, what Apple does with applescript (and now JS) is at the OS level.
VBscript is available to do certain things on windows. Maybe MS will
replace VBScript with something more like Javascript in the future. Who
knows, not something we can really have control over though.

On Fri, Mar 13, 2015 at 3:35 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 As it turns out, there is no way in Windows to send commands to Adobe
 Acrobat, telling it to run a Javascript. And while there are tools for
 development systems like Java and C++ to do so, there is no shell method to
 do so. So apparently I will be stuck creating FDF files for the Windows
 environment. It would have been nice if Livecode had a way to directly
 communicate Javascript to other applications using the methods available,
 as it can with Applescript, but now that the widget architecture is on the
 way, perhaps someone will develop one.

 Bob S


  On Mar 4, 2015, at 08:56 , Bob Sneidar bobsnei...@iotecdigital.com
 wrote:
 
  Hi all.
 
  I know there are people on the list who know if this can even be done,
 and if so, how to do it. Presently to have a PDF fillable form open and
 auto-fill with data, I must first set the PDF form up to import an FDF file
 upon opening, and secondly I must create an FDF file for it to import,
 populated with the values I want.
 
  All this I have working, but I have developed a method for doing this
 directly from within my LC app without resorting to FDF files, but *only*
 for the Mac. I want to also develop a method for use in Windows. But since
 Windows has no built in equivalent to Inter-Application Communications (IAC
 otherwise known as Applescript) I am wondering if there is a way to do this
 via a shell command. I can execute Javascript alright by using wscript.exe,
 but how to get the message to Acrobat or Reader?
 
  Bob S
 
 
 
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Release: LiveCode 8.0.0 DP 1

2015-03-12 Thread Andrew Kluthe
Download crawling along for anyone else?

On Thu, Mar 12, 2015 at 2:38 PM, Ludovic THEBAULT 
ludovic.theba...@laposte.net wrote:


  Le 12 mars 2015 à 19:40, Fraser Gordon fraser.gor...@livecode.com a
 écrit :
 
  Hi Matthias,
 
  On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de wrote:
 
  Downloaded and installed the community version now. But it crashes
 immediately after showing the LC ide.
 
  Anything i can do except deleting all Lc preferences?
 
  Matthias
 
  What platform are you running on?
 
  Does it crash every time or just the first time you run it?


 Same thing (Yosemite) but work when i rename the plug-in folder (where
 there are mobgui and data grid helper)
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Release: LiveCode 8.0.0 DP 1

2015-03-12 Thread Andrew Kluthe
Restarted it a few times and now its going right. A couple of times there
it said it was going to take 6 hours to download.

On Thu, Mar 12, 2015 at 2:54 PM, Andrew Kluthe and...@ctech.me wrote:

 Download crawling along for anyone else?

 On Thu, Mar 12, 2015 at 2:38 PM, Ludovic THEBAULT 
 ludovic.theba...@laposte.net wrote:


  Le 12 mars 2015 à 19:40, Fraser Gordon fraser.gor...@livecode.com a
 écrit :
 
  Hi Matthias,
 
  On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de wrote:
 
  Downloaded and installed the community version now. But it crashes
 immediately after showing the LC ide.
 
  Anything i can do except deleting all Lc preferences?
 
  Matthias
 
  What platform are you running on?
 
  Does it crash every time or just the first time you run it?


 Same thing (Yosemite) but work when i rename the plug-in folder (where
 there are mobgui and data grid helper)
 ___
 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




 --
 Regards,

 Andrew Kluthe
 and...@ctech.me




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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

v8 and Widgets

2015-03-12 Thread Andrew Kluthe
For the first time in a while, I'm pretty enthusiastic about what I'll be
able to do with livecode in the future. The performance of the rotation
demo on that clock was impressive.

I've already started going through all of the .lcb files up on github.

Previously, I wasn't getting my hopes up due to the lack of many details
about its limitations, syntax, etc. After seeing today's webinar, I think
this is exactly what defines next-generation livecode for me.

Livecode builder compile directly to JS in the future? M-w!

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


6.6.5 and Message timing?

2015-03-10 Thread Andrew Kluthe
Hey ya'll,

I've been trying to track down some weird behavior in a standalone built
and running on windows 7 x86.

I have a launcher which prepares and starts another non-livecode
application up.

Once sending the start commands for this application via shell() it starts
a handler to watch for when it is open and ready.

I am currently using something similar to this:

on waitForNW

wait until checkForNW() is true with messages
send hideSplash to me
send watchForClose to me in 1 second

end waitForNW

checkForNW() runs shell(tasklist) and checks the result for the presence
of the process and returns true or false

If it is running, it hides the splash and switches to the inverse function.
It is now checking to see if the process still exists. If it does not, I do
some cleanup and quit.

The inverse wait mechanism is much the same:

on watchForClose

wait until checkForNW() is false with messages
quit

end watchForClose

 Everything works exactly as I'd expect it to in the IDE. Once I build a
standalone with 6.6.5, it seems like there is a huge delay in the
watchForClose message. I've piddled with timings and using repeats with
recursive Send in time's to recall itself with a pendingMessage in place of
my wait with messages. No amount of timing or fudging makes the stand alone
behave differently outside of expected the forced slow down in my timings.

I saved this stack out in legacy format and opened it up in 5.5.5. Works
fine in the IDE.

I built the standalone in 5.5.5 now, and it works exactly as expected in
the standalone now too.

I haven't tried it in any of the 7.0 releases or any others than 5.5.5 and
6.5. Id prefer not to use the newer ones, as double digit megabyte size for
a simple splash launcher like this is a bit silly. I'd just soon as ship
5.5 in that case.


The Real Question I Have:

Were there any known issues with message timing or shell() command on
windows in 6.6.5 that would account for this?

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: MySQL lite password

2015-02-21 Thread Andrew Kluthe
That's interesting, Pete. Good catch.

On Fri, Feb 20, 2015 at 5:02 PM, Peter Haworth p...@lcsql.com wrote:

 Hi Andrew,
 Turns out SQLite added a user authentication extension in 10/2014 that
 requires a password to access an SQLite database but it's not part of the
 SQLite library provided with Livecode.  It has to be compiled into the
 source and a compile time flag set to enable it

 See http://www.sqlite.org/src/doc/trunk/ext/userauth/user-auth.txt

 I recently added a QCC request to update the SQLite library which is now
 about 8 months and several releases old, including the addition of this
 feature.

 On Fri Feb 20 2015 at 1:39:32 PM Andrew Kluthe and...@ctech.me wrote:

  Unfortunately, for a SQLite file there isn't really any built in
  authentication/permissions features.
 
  With using only live code your only real option is to encrypt the entire
  file either using built in encrypt/decrypt commands or shell out to
  something that can.
 
  Kind regards,
 
  Andrew
  On Feb 20, 2015 1:53 PM, JB sund...@pacifier.com wrote:
 
   What is the proper way to add a password to
   a MySQL lite database?
  
   John Balgenorth
  
   ___
   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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: MySQL lite password

2015-02-20 Thread Andrew Kluthe
Unfortunately, for a SQLite file there isn't really any built in
authentication/permissions features.

With using only live code your only real option is to encrypt the entire
file either using built in encrypt/decrypt commands or shell out to
something that can.

Kind regards,

Andrew
On Feb 20, 2015 1:53 PM, JB sund...@pacifier.com wrote:

 What is the proper way to add a password to
 a MySQL lite database?

 John Balgenorth

 ___
 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: Because LC can't do two things at once.

2015-02-20 Thread Andrew Kluthe
, Donald Mathewson, told it to me when I was about 7,
  and, at the risk of sounding incredibly juvenile, I haven't stopped
  laughing since.
  ---
 
  NOW, Livecode is no longer a UNIX clone of Hypercard with Kevin's GUI
  strapped on the front.
 
  Nor is it anything like what it was 10 years ago.
 
  So, it has to keep growing AND evolving to compete [ THAT is the magic
  word ] . . .
 
  -
  After all; if it ONLY grows, then it is going to get pushed
  off the cliff soon enough.
  -
 
  Possibly the next reasonable step is multi-threading ?
 
  Let the debate RAGE :)
 
  Richmond.
 
 
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 



 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Postgres SSL connection?

2015-02-10 Thread Andrew Kluthe
A file-based database (most of them are unless you are talking about
memory-only stores like memcache, redis, etc. which also still use
networking layers) can still uses a network layer to provide access and
security for a client. Aside from embedded ones, this is how they work.


Doc Hawk,

Is your server side component something that would run on a clients machine
or will you forever be in charge of the potential server side of it? Put
differently, is the server side component something you intend to ship for
end users to host themselves or are you wanting to run that side of it?
Depending on the answer, you've got some options.

Regards.

Andrew Kluthe

On Tue, Feb 10, 2015 at 4:01 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 Isn’t Postgres a file based system? Why would you need SSL for a file
 based connection?

 Bob S


 On Feb 10, 2015, at 08:35 , Dr. Hawkins doch...@gmail.commailto:
 doch...@gmail.com wrote:

 It appears that, for reasons I cannot begin to imagine, SSL is only
 supported for mySQL database connections, and not postgres.

 Is this correct?  Does anyone know if there are plans to implement SSL for
 postgres?

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Postgres SSL connection?

2015-02-10 Thread Andrew Kluthe
Also, yes, it's just not supported. I wouldn't count on getting it
supported anytime real soon. We might have a chance at DIY support once the
widget architecture ships, if it still intends to be able to wrap other 3rd
party libs like externals try to do for us now.

Andrew

On Tue, Feb 10, 2015 at 10:35 AM, Dr. Hawkins doch...@gmail.com wrote:

 It appears that, for reasons I cannot begin to imagine, SSL is only
 supported for mySQL database connections, and not postgres.

 Is this correct?  Does anyone know if there are plans to implement SSL for
 postgres?

 At the moment, it seems that my only options are to either accept the
 limitations of mySQL or to run a server on the postgres server that will
 keep a socket open an dlisten to it.

 The usual solution that I find of server-side scripts that open a
 database, run the query, and close it appear to be hard-core
 nonstarters--it seems to take a significant fraction of a second to open a
 database, even locally, and the queries every couple/few seconds need to
 remain transparent to the user.

 Writing to the socket with a return message has strong appeal, and is
 likely my best bet in any event, as it will allow the program to function
 on a laggy connection.

 Nonetheless, ssl for postgres seems not to be a feature request, but
 dealing with a massive security bug.

 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Postgres SSL connection?

2015-02-10 Thread Andrew Kluthe
And they even have some nice documentation on the protocol, implementing it
all with livecode might prove to be a bit non-trivial. There are some nice
libs for talking to it that might be a be a bit easier than talking it to
it in pure livecode. I'm just in the camp of holding off on making new
platform specific externals with the externals api we currently have until
we see what this new replacement is going to look like.


On Tue, Feb 10, 2015 at 6:20 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:

 Also, yes, it's just not supported. I wouldn't count on getting it
 supported anytime real soon. We might have a chance at DIY support once
 the
 widget architecture ships, if it still intends to be able to wrap other
 3rd
 party libs like externals try to do for us now.


 Famous last words, I know, but I'm curious:  assuming it's just a socket
 connection, how hard can it be?

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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
Yep, and that's no problem either, but I really want to minimize the length
of time these could sit around on a machine between uses.

I am decrypting a sqlite db to an obscure temp folder on launch. I am doing
this in lieu of being able to use something like sqlcipher with livecode
and my sqlite DB being too large to store in memory.

The DB is only about 250 mb, but still too much to do anything comfortably
in memory or stored in a custom property on the machines this is intended
to run on (Older machines sitting in dealership maintenance departments).

Just trying to get the best of everything shutdown wise. shutdownRequest
responds to SIGTERM's I was hoping there was something equivalent for
SIGKILL or whatever windows is sending the process when exited from the
task manager.

Thanks,

Andrew

On Fri, Feb 6, 2015 at 2:42 PM, Peter Haworth p...@lcsql.com wrote:

 Not sure if there is aa appropriate message but maybe you could check for
 these files on startup and delete them then?

 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

 On Fri, Feb 6, 2015 at 12:37 PM, Andrew Kluthe and...@ctech.me wrote:

  Hello Ya'll,
 
  I'm trying to run some cleanup handlers to delete temporary files when my
  standalone exits. I was wanting to now if there was a way to trap when an
  application is quit via ending the process abruptly in the task manager
 on
  Windows (in my case 7).
 
  I was hoping the shutdownRequest message would get hit when this is done,
  but testing it on windows 7 and LC 6.5.5 it exits without sending
  shutdownRequest
 
  I can already handle when the my application is quit through more
  conventional means, but I want these temp files cleaned up regardless of
  how it exits (unless its a crash of course, etc).
 
  Any tips on what to try next?
 
  --
  Regards,
 
  Andrew Kluthe
  and...@ctech.me
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
Yep, totally forgot a subject here after reading over my content. Jeez...

On Fri, Feb 6, 2015 at 2:37 PM, Andrew Kluthe and...@ctech.me wrote:

 Hello Ya'll,

 I'm trying to run some cleanup handlers to delete temporary files when my
 standalone exits. I was wanting to now if there was a way to trap when an
 application is quit via ending the process abruptly in the task manager on
 Windows (in my case 7).

 I was hoping the shutdownRequest message would get hit when this is done,
 but testing it on windows 7 and LC 6.5.5 it exits without sending
 shutdownRequest

 I can already handle when the my application is quit through more
 conventional means, but I want these temp files cleaned up regardless of
 how it exits (unless its a crash of course, etc).

 Any tips on what to try next?

 --
 Regards,

 Andrew Kluthe
 and...@ctech.me




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


[no subject]

2015-02-06 Thread Andrew Kluthe
Hello Ya'll,

I'm trying to run some cleanup handlers to delete temporary files when my
standalone exits. I was wanting to now if there was a way to trap when an
application is quit via ending the process abruptly in the task manager on
Windows (in my case 7).

I was hoping the shutdownRequest message would get hit when this is done,
but testing it on windows 7 and LC 6.5.5 it exits without sending
shutdownRequest

I can already handle when the my application is quit through more
conventional means, but I want these temp files cleaned up regardless of
how it exits (unless its a crash of course, etc).

Any tips on what to try next?

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
As my stacks are targeting windows only for the moment, cron isnt really an
option here either. I do appreciate the follow up though.

On Fri, Feb 6, 2015 at 3:27 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 Ah what the hell.

 http://www.maclife.com/article/columns/terminal_101_creating_cron_jobs

 Bob S


 On Feb 6, 2015, at 13:24 , Bob Sneidar bobsnei...@iotecdigital.com
 mailto:bobsnei...@iotecdigital.com wrote:

 Unfortunately the singlethreadedness of the engine prohibits any kind of
 cron process, which is what you need. You may be able to shell it out
 though. Not sure of the syntax, and I would look it up for you, but I
 wouldn’t want to rob you of the joys of paging through lots of nonsense to
 get the the real gem of information you need.

 Bob S

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
Yeah, adding another running process seems like the only option I have for
this (if its important enough case to warrant it).

My livecode standalone is actually a launcher and updater for a node-webkit
(http://nwjs.io/) application, so I am already adding extra running
processes to the three nw.exe that get put into use by node-webkit via the
livecode standalone. (Totaling 4 processes right now.)

You could see why I might be hesitant to go down the rabbit hole to a
process to manage my manager process. ;)

It was just wishful thinking on my part, wasn't sure if there was a message
I wasn't privy to that could work like I described.

Thanks again,

Andrew

On Fri, Feb 6, 2015 at 3:24 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 Unfortunately the singlethreadedness of the engine prohibits any kind of
 cron process, which is what you need. You may be able to shell it out
 though. Not sure of the syntax, and I would look it up for you, but I
 wouldn’t want to rob you of the joys of paging through lots of nonsense to
 get the the real gem of information you need.

 Bob S


  On Feb 6, 2015, at 13:18 , Andrew Kluthe and...@ctech.me wrote:
 
  Yep, and that's no problem either, but I really want to minimize the
 length
  of time these could sit around on a machine between uses.
 
  I am decrypting a sqlite db to an obscure temp folder on launch. I am
 doing
  this in lieu of being able to use something like sqlcipher with livecode
  and my sqlite DB being too large to store in memory.
 
  The DB is only about 250 mb, but still too much to do anything
 comfortably
  in memory or stored in a custom property on the machines this is intended
  to run on (Older machines sitting in dealership maintenance departments).
 
  Just trying to get the best of everything shutdown wise. shutdownRequest
  responds to SIGTERM's I was hoping there was something equivalent for
  SIGKILL or whatever windows is sending the process when exited from the
  task manager.
 
  Thanks,
 
  Andrew
 
  On Fri, Feb 6, 2015 at 2:42 PM, Peter Haworth p...@lcsql.com wrote:
 
  Not sure if there is aa appropriate message but maybe you could check
 for
  these files on startup and delete them then?
 
  Pete
  lcSQL Software http://www.lcsql.com
  Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
  SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
 
  On Fri, Feb 6, 2015 at 12:37 PM, Andrew Kluthe and...@ctech.me wrote:
 
  Hello Ya'll,
 
  I'm trying to run some cleanup handlers to delete temporary files when
 my
  standalone exits. I was wanting to now if there was a way to trap when
 an
  application is quit via ending the process abruptly in the task manager
  on
  Windows (in my case 7).
 
  I was hoping the shutdownRequest message would get hit when this is
 done,
  but testing it on windows 7 and LC 6.5.5 it exits without sending
  shutdownRequest
 
  I can already handle when the my application is quit through more
  conventional means, but I want these temp files cleaned up regardless
 of
  how it exits (unless its a crash of course, etc).
 
  Any tips on what to try next?
 
  --
  Regards,
 
  Andrew Kluthe
  and...@ctech.me
  ___
  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
 
 
 
 
  --
  Regards,
 
  Andrew Kluthe
  and...@ctech.me
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: No subject

2015-02-06 Thread Andrew Kluthe
Right, already doing some of these goodies. Was just looking to round out
my current method by covering all the bases possible. It's not a must have,
just a would-be-nice kinda thing.

On Fri, Feb 6, 2015 at 2:49 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:

 Andrew Kluthe wrote:
  I'm trying to run some cleanup handlers to delete temporary files
  when my standalone exits. I was wanting to now if there was a way
  to trap when an application is quit via ending the process abruptly
  in the task manager on Windows (in my case 7).
 
  I was hoping the shutdownRequest message would get hit when this
  is done, but testing it on windows 7 and LC 6.5.5 it exits without
  sending shutdownRequest
 
  I can already handle when the my application is quit through more
  conventional means, but I want these temp files cleaned up regardless
  of how it exits (unless its a crash of course, etc).
 
  Any tips on what to try next?

 Kill is kill - there's nothing an app can to when the rug is pulled out
 from under it.

 You could instead handle cleanup in your app's initialization.  While it
 can't guarantee it can close every session cleanly, it can guarantee
 starting cleanly.

 Also, if any temp files are written to the OS temp folder
 (specialFolderPath(temporary)) the OS will take care of those itself
 sooner or later, often on the next reboot.

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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
Yeah, the no subject thing was very regrettable. Totally meant to fill it
in, just got a but button happy after I finished my email text. For some
reason, I write my message and then give it a subject to frame it best.
Kind of backwards.

On Fri, Feb 6, 2015 at 6:40 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 There are cron methods in Windows too. Use the AT command in a shell
 script.

 Bob S


 On Feb 6, 2015, at 13:29 , Andrew Kluthe and...@ctech.memailto:
 and...@ctech.me wrote:

 As my stacks are targeting windows only for the moment, cron isnt really an
 option here either. I do appreciate the follow up though.

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Mobile cloud storage

2015-02-06 Thread Andrew Kluthe
For simple, small files this could probably be done with livecode alone as
it exists today.

For large file uploads where it would block the entire process while it
uploads, maybe not so much.

I've got high hopes for being able to wrap all kinds of dll's and sdks in
livecode in the future when the replacement for externals hits the street.
How much of this ends up being do-able with what they are building along
those lines is still to be seen. I believe it was the intention to replace
externals for non-gui related things with widgets as well, yeah? MongoDB
Drivers, sqlcipher, curl, etc?

On Thu, Feb 5, 2015 at 8:22 AM, Mark Wilcox m...@sorcery-ltd.co.uk wrote:


  So most folks have either iCloud, Goggle Drive, Dropbox, or OwnCloud,
  and using those sure beats building a complex storage backend for
  simple apps.
 
  Does our community have yet a library for allowing the user to pick
  which common storage system they have and an API for
  reading/writing to it?

 Apple made a generic solution for this on iOS and OS X. Document
 Provider Extensions (OK, new OS versions only).

 https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/FileProvider.html#//apple_ref/doc/uid/TP40014214-CH18-SW1

 If you want to read and write files from/to cloud storage then there's
 single interface and the device only shows providers that the user has
 installed/configured.

 The latter part you obviously can't get without being the OS provider
 and having providers write Extensions to tell the system they offer file
 storage. For Apple platforms at least it would make sense to mimic the
 interface as far as possible though, assuming you don't just want to
 wrap what they've already done.

 --
 Mark Wilcox m...@sorcery-ltd.co.uk


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
I am. ;)  It works pretty good, I was just trying to button up this one
specific pitfall.

On Fri, Feb 6, 2015 at 6:24 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

 On Sat, Feb 7, 2015 at 5:18 AM, Andrew Kluthe and...@ctech.me wrote:

  The DB is only about 250 mb, but still too much to do anything
 comfortably
  in memory or stored in a custom property on the machines this is intended
  to run on (Older machines sitting in dealership maintenance departments).
 

 Maybe I have it completely wrong but why aren't you using
 specialFolderPath(temporary)
 - works on every platform and it's my understanding that if you don't clean
 up the file the next time the machine is shutdown it'll be automatically
 removed anyway.

 HTH
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
Yeah, it's pretty similar. I still kind of run the risk of not being able
to tell it when to delete the file as this is going to be a long running
application (one that stays open most of the day, or days? it's a parts
lookup and interchange program) on the users system and I wouldn't be able
to set the AT command at end process the same as me being unable to call
any kind of lc script when it does.

It's in an obscure but vulnerable state when its open anyway so this one
little thing isn't a huge issue. I was just looking to see if there was any
kind of message at all that was sent to a stack on ending a process like
that on windows.

On Fri, Feb 6, 2015 at 6:40 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 There are cron methods in Windows too. Use the AT command in a shell
 script.

 Bob S


 On Feb 6, 2015, at 13:29 , Andrew Kluthe and...@ctech.memailto:
 and...@ctech.me wrote:

 As my stacks are targeting windows only for the moment, cron isnt really an
 option here either. I do appreciate the follow up though.

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
It stays encrypted on disk, but the file is being obscured away in a random
temp folder *during runtime only* in a decrypted state. ;)

I was just trying to make cleanup on exiting a little more foolproof than I
have it already.

I can't even use lc's built in encryption without hitting out of memory
errors. Hence the reason I cant just hide it in a custom prop or run it in
memory.

thanks though.

On Fri, Feb 6, 2015 at 5:58 PM, Phil Davis rev...@pdslabs.net wrote:

 If your concern is that someone might poke around, find, examine the old
 data, you could encrypt it before writing it to the temp folder.

 Just a thought -
 Phil



 On 2/6/15 1:29 PM, Andrew Kluthe wrote:

 As my stacks are targeting windows only for the moment, cron isnt really
 an
 option here either. I do appreciate the follow up though.

 On Fri, Feb 6, 2015 at 3:27 PM, Bob Sneidar bobsnei...@iotecdigital.com
 wrote:

  Ah what the hell.

 http://www.maclife.com/article/columns/terminal_101_creating_cron_jobs

 Bob S


 On Feb 6, 2015, at 13:24 , Bob Sneidar bobsnei...@iotecdigital.com
 mailto:bobsnei...@iotecdigital.com wrote:

 Unfortunately the singlethreadedness of the engine prohibits any kind of
 cron process, which is what you need. You may be able to shell it out
 though. Not sure of the syntax, and I would look it up for you, but I
 wouldn’t want to rob you of the joys of paging through lots of nonsense
 to
 get the the real gem of information you need.

 Bob S

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




 --
 Phil Davis



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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:

2015-02-06 Thread Andrew Kluthe
I'm already doing this, I've already explained why LC's built in encryption
wont work for me. Nor do I need it to work. Nor do I need further advice on
the rest of my implementation that I didn't come seeking advice on. I've
said several times that I came looking for information on a specific
message for a specific. I got my answer, I've tried to be polite and sate
your curiosity in what I am trying to accomplish. I made a grave mistake.

I get that there might be threading issues with the messages in this
series, but lawdy lawdy the signal to noise ratio is insane around here
these days.

On Fri, Feb 6, 2015 at 7:07 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 IC so then the suggestion of encrypting the data before writing it to the
 HD is probably a good idea. It’s a simple thing to do:

 encrypt theData using aes128 with theSeedValue
 put it into theEncData
 get empty -- for safe measure

 and the seed can be anything you want it to be.

 Bob S


 On Feb 6, 2015, at 17:00 , Andrew Kluthe and...@ctech.memailto:
 and...@ctech.me wrote:

 Yeah, it's pretty similar. I still kind of run the risk of not being able
 to tell it when to delete the file as this is going to be a long running
 application (one that stays open most of the day, or days? it's a parts
 lookup and interchange program) on the users system and I wouldn't be able
 to set the AT command at end process the same as me being unable to call
 any kind of lc script when it does.

 It's in an obscure but vulnerable state when its open anyway so this one
 little thing isn't a huge issue. I was just looking to see if there was any
 kind of message at all that was sent to a stack on ending a process like
 that on windows.

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: 8 ball

2015-01-27 Thread Andrew Kluthe
Some code snippets of how each were accomplished to preview the usage would
go a long way to making this interesting. In the past we have gotten short
screencasts demonstrating how simple it is to accomplish something using a
particular up and coming feature.

On Tue, Jan 27, 2015 at 4:01 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 I can think of 3 or 4 widgets right now that I could convert bits of
 existing projects into.

 Bob S


  On Jan 27, 2015, at 13:02 , Richmond richmondmathew...@gmail.com
 wrote:
 
  Wow:
 
  http://livecode.com/blog/2015/01/27/8reasonstotalklivecode8/
 
  Richmond.
 
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: size of LiveCode

2014-12-22 Thread Andrew Kluthe
Though they broke my legs, they gave me a crutch to walk.

On Mon, Dec 22, 2014 at 1:02 PM, Richmond richmondmathew...@gmail.com
wrote:

 On 22/12/14 21:00, Colin Holgate wrote:

 Sometimes when I’m running low on space I will do a search for any files
 that are over 1 GB. It’s not uncommon for me to have video renders that I
 don’t need to keep. I was surprised just now to see LiveCode 7.0.1 at the
 top of the list.

 Here’s the size of the LiveCodes I have kicking around:

 5.5.4 - 222.3 MB
 6.6.4 - 392 MB
 6.7.0 - 672.4 MB
 7.0.1 - 1.04 GB

 I think I’ll need a bigger drive when LiveCode 8 comes out.



 Well, I have 2 1 Terabyte Hard Drives in my Linux box, and as they cost me
 no more than 120 Euros together
 there shouldn't be that much to grumble about.

 Richmond.


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: revBrowserAddJavaScriptHandler

2014-12-17 Thread Andrew Kluthe
John,

From what I see in the summerschool example and the release notes that you
posted, this feature does the inverse of what you are wanting. I'm not sure
how to do it the other way.

Andrew

On Wed, Dec 17, 2014 at 1:14 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:

 Probably not helpful to you, since this is a web server issue, but on a
 Mac in the IDE I was able to tell Applescript to tell Acrobat to run a
 javascript. It’s a bit convoluted, but it works. It’s how I get the
 structure of a PDF form so I can fill it later. I wish I could figure out
 how to do that in Windows as well. Otherwise it’s  a Mac Only feature.

 Bob S


  On Dec 17, 2014, at 09:26 , John Dixon dixo...@hotmail.co.uk wrote:
 
 
 
  Date: Wed, 17 Dec 2014 09:59:13 -0700
  Subject: Re: revBrowserAddJavaScriptHandler
  From: bonnm...@gmail.com
  To: use-livecode@lists.runrev.com
 
  You might look here:
 http://summerschool.livecode.com/index.php/sneak-peek
  theres a very simple, straightforward example a little ways down that
 page.
 
  Thanks Mike... though I was hoping that there would be a few examples
 particuarly showing how to employ javaScript functions with it...
 
  Be well,
 
  Dixie
 
  ___
  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



-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: The Bearer Of Bad News

2014-10-24 Thread Andrew Kluthe
Dropbox and backup suggestions aside, I can't help but feel 7.0 was not
ready for primetime. My experience has been giant standalones to cater to
features I don't use, and lackluster performance. I know others will
disagree but I devoted the last four to five years to livecode and come out
disappointed with 'next-gen' livecode. Maybe that will change with 8.0 but
that's quite a bit of hedging my bets.

We'll see.

On Oct 24, 2014 10:38 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Colin-

 Friday, October 24, 2014, 7:42:19 PM, you wrote:

  I understand how the folder synching works, but in my case I have
  a 750 GB SSD that may well have many gigabytes of stuff that I don t
  want to lose. Having that backed up to an external 2TB drive every
  hour gives me some security.

 Um. Right. I wouldn't suggest throwing *everything* into a Dropbox
 folder, but I put anything I'm currently working on into Dropbox and
 it transparently makes backup copies for me. They're there when I
 need them. Afterwards I move them out of Dropbox for archiving.

 And this completely outside of any other backup strategy. I use (and
 hate) time machine, and I rsync my linux box to my NAS.

 --
 -Mark Wieder
  ahsoftw...@gmail.com

 This communication may be unlawfully collected and stored by the National
 Security Agency (NSA) in secret. The parties to this email do not
 consent to the retrieving or storing of this communication and any
 related metadata, as well as printing, copying, re-transmitting,
 disseminating, or otherwise using it. If you believe you have received
 this communication in error, please delete it immediately.


 ___
 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: Raspberry Pi and GPIO

2014-10-09 Thread Andrew Kluthe
No specific information I can help with but this seems like it might hold
some answers for you if you dig enough.

http://www.raspberrypi.org/forums/viewtopic.php?f=44t=73924

On Thu, Oct 9, 2014 at 1:43 PM, Michael Doub miked...@gmail.com wrote:

 I think that I have now confirmed that it is a permission issue.   I added
 a “sudo” in front of the “echo” command.  Now everything seems to be
 working.

 I still have the question about how to give livecode the correct
 permissions to access this files as it would seem more logical to use to do
 direct IO to the files rather that to be forced to use a shell command.

 I am running as the default pi user.   Should this user have different
 permissions?  If so how do you grant them?

 Regards,
   Mike


 On Oct 9, 2014, at 2:21 PM, Michael Doub miked...@gmail.com wrote:

  I am looking for some help from some of you with unix/raspberry pi
 experience.
 
  I have think that I have installed 7.0 rc 1 on my raspberry pi B+
 properly.   I am trying to figure out how to play with the GPIO’s.
 
  I am am able to execute the following to set up the IO
 
 put shell(echo 12  /sys/class/gpio/export) into dummy
 
  dummy is empty,   However the next statement:
 
 put shell(echo out  /sys/class/gpio/gpio12/direction) into
 dummy
 
 
  dummy contains the error message:
 
bin/sh: cannot create /sys/class/gpio/gpio12/direction:  Directory
 nonexistent
 
  When I use the terminal, I can see that the directory does exist and I
 am able to modify the contents to both set the IO direction and sucessfully
 turn the LED on and off.
 
  Could it be that I do not have the permission to create directories and
 modify files from livecode?   How can I check this from livecode and fix
 it?  …. assuming this is in fact a permission issue.
 
  Thanks,
Mike
 
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: variable trouble

2014-09-25 Thread Andrew Kluthe
Larry,

I'd try copy and pasting some more of the code around it and we can try and
figure out what you are trying to accomplish.

Andrew
On Sep 24, 2014 2:10 AM, la...@significantplanet.org wrote:

 Hi Scott,
 I meant to say inexplicable to me.
 Your solution works great.
 However, I cannot figure out the next part:
 I want to put the value of thisKey into a variable when it matches.
 So I tried a few iterations of:

 put value(thisVar[thisKey])  space after newVar

 but could not get anything to work - with the parenthesis in different
 places.

 Do you know the syntax for adding the bracketed thisKey ??

 Thanks,
 Larry

 - Original Message - From: Scott Rossi sc...@tactilemedia.com
 To: LiveCode Mail List use-livecode@lists.runrev.com
 Sent: Wednesday, September 24, 2014 12:28 AM
 Subject: Re: variable trouble


  Hi Larry:

 Your situation is very explicable.  In your script you're treating
 thisVar as an array, instead of accessing the array that you put into
 thisVar.  You're trying to use one variable to refer to another.

 If I understand the result you want, one way would be to use the value
 function, to retrieve the data of the array stored in thisVar:

 put wgList0  N into thisVar

 put the keys of value(thisVar) into theseKeys


 Hope this works for you.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design




 On 9/23/14 11:07 PM, la...@significantplanet.org
 la...@significantplanet.org wrote:

  Hello,

 I'm using 6.6.3 on Windows XP.

 This line of code works just fine:
 put the keys of wgList03 into theseKeys

 but the following lines of code do NOT work: (where N is 3)  -- and yes,
 it IS a ZERO after wgList

 put wgList0  N into thisVar

 put the keys of thisVar into theseKeys

 To me, this is just inexplicable and very frustrating.  Any help will be
 greatly appreciated.

 Thanks,

 Larry
 ___
 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: Field retrieved from a Mongo document display wrong characters

2014-09-24 Thread Andrew Kluthe
I agree. The document oriented format is a nice match for livecode arrays.
I have used mongodb (from mongolab.com) quite a bit (albiet over an http
interface of some kind). I had good experiences with it, save for
livecode's blocking url commands causing me some fuss.

Regards,

Andrew K

On Wed, Sep 24, 2014 at 4:04 AM, Javier Miranda jemiran...@gmail.com
wrote:

 Dear Jacqueline, thank you for your help.  In Mongo everything is UTF-8,
 converting the string returned by the server to UTF-16 worked perfectly.
 Let me add that I see great potential using LiveCode as a front end to
 Mongo.

 Saludos,

 Javier Miranda V.
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Coda 2 Syntax highlighting for LC now working

2014-09-18 Thread Andrew Kluthe
Looked into making a sublime package today. Its done with regex for the
most part. I'm not very good with regex and tend to avoid using it in my
applications for the most part. Maybe it's the universe's way of telling me
to get better at it.

Andrew
On Sep 18, 2014 12:16 AM, Mark Wieder mwie...@ahsoftware.net wrote:

 Andrew-

 Wednesday, September 17, 2014, 12:27:32 PM, you wrote:

  After this and the highlighting for ultraedit, I might just have to
 figure
  out how to make a package for sublime text that does this.

 Please do. I'd love to be able to use Sublime as an external editor.

 --
 -Mark Wieder
  ahsoftw...@gmail.com

 This communication may be unlawfully collected and stored by the National
 Security Agency (NSA) in secret. The parties to this email do not
 consent to the retrieving or storing of this communication and any
 related metadata, as well as printing, copying, re-transmitting,
 disseminating, or otherwise using it. If you believe you have received
 this communication in error, please delete it immediately.


 ___
 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: Coda 2 Syntax highlighting for LC now working

2014-09-17 Thread Andrew Kluthe
After this and the highlighting for ultraedit, I might just have to figure
out how to make a package for sublime text that does this.

In the past, for small scripts, I have just done without.

Hmmm.

On Wed, Sep 17, 2014 at 1:23 PM, Matthias Rebbe | M-R-D 
matthias_livecode_150...@m-r-d.de wrote:

 Hi,

 i created from scratch a Coda 2 mode file for LiveCode. It just supports
 the LC command. No HTML syntax highlighiting.

 What is working so far:
 Auto complete
 Syntax highlighting for  commands, control structures, functions,
 keywords, messages, objects and properties and comment blocks

 What is not working:
 syntax highlighting for single comment
 Auto ident
 Code folding

 I included a little readme with information about what color settings have
 to be changed in Coda 2 color settings  for the different type of LC words.


 This mode file does not require the start tag ?LC  for colorization. So
 you can use it not just for livecode server scripts, but also for normal LC
 scripts.
 You can find the file here

 https://dl.dropbox.com/s/yt43ptt6itf10uh/index.html?dl=0

 - Download and unzip it
 - Double click the mode file to install it.

 Have fun, or maybe not. ;)

 Regards

 Matthias






 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: M

2014-08-13 Thread Andrew Kluthe
N!


On Wed, Aug 13, 2014 at 9:55 AM, Jim Hurley jhurley0...@sbcglobal.net
wrote:



 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Subscription-based sales system

2014-05-13 Thread Andrew Kluthe
I did this for a while. Used revIgniter to talk to stripe.com's recurring
payment service. They provide you with webhooks that can contact your
backend system when a clients subscription status changes.

I found their interfaces and documentation geared towards developers.


On Tue, May 13, 2014 at 12:08 PM, Marty Knapp martyknapps...@gmail.comwrote:

 Has anyone set up sales of their applications on a subscription basis? I
 would want something that could be automated so that if a customer's
 subscription ran out, they could make a payment and be back up and running
 without having to wait. It would be for Mac and Windows - no mobile and no
 app stores.

 Thanks for any input and ideas.

 Marty

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Run a command line app from memory

2014-05-04 Thread Andrew Kluthe
It is but outside of my current skill set. Someone else wrote this. ;) I
might have to explore that as well. Thanks!
On May 3, 2014 10:45 PM, Peter W A Wood peterwaw...@gmail.com wrote:

 Andrew

 Is it not possible for you to include the C code as a LiveCode external
 rather than write a separate program?

 Regards

 Peter


 On 4 May 2014, at 11:24, Andrew Kluthe wrote:

  Good point Richard. I never thought of it like that. Hmmm, I'll have to
  look into that. How I'm doing it now is how you've described it but I was
  asked if I could come up with a way to do this without adding any new
 files
  to disk on the fly and not need admin rights to facilitate this. It was
  written as a c program for the raw performance boost otherwise doing it
 all
  in LiveCode is a perfect option. I know we can use in memory SQLlite dB's
  and some other things but I imagine runrev had to do some work on the
  backside to make that happen. Anyhow, ill keep exploring my alternatives.
  Thanks for the suggestions.
 
  Andrew
  On May 3, 2014 9:46 PM, Richard Gaskin ambassa...@fourthworld.com
 wrote:
 
  Andrew Kluthe wrote:
 
  I have the need to run a command line utility from LiveCode without
  writing it to disk. Ideally I would like to store it in a custom
  property and find a way to run it in memory without ever writing it
  to a disk. Is this at all possible using only LiveCode?
 
  If I understand this correctly, it's not LiveCode that'll be running the
  program, but Windows; LiveCode is simply initiating the execution.
 
  Can Windows run programs that exist only in the memory space of another
  application?
 
  I don't know the answer to that, but kinda I hope not, since intuitively
  it seems like a potential security hole.
 
  Can you write the program file to temp and launch it from there?
 
  Or rewrite its functionality in script?
 
  --
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and 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


 ___
 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 6.6.1 Community on Windows 8

2014-05-03 Thread Andrew Kluthe
I use windows 8 on one of my laptops and there were some quirks that came
along with the new graphics layer but I think they are getting ironed out
at a fast enough pace.

As for finding the control panel, one thing that became invaluable once i
found it is right clicking on the windows logo on the task bar. This opens
a context menu with fast access to the most important parts.


On Sat, May 3, 2014 at 7:24 AM, Fraser Gordon fraser.gor...@runrev.comwrote:

 On 03/05/2014 06:48, Dar Scott wrote:
  I think so, since I just clicked a button when I did some privileged
 things (run as admin, OK some I/O).  That is, I didn’t have to type in a
 password.

 The LiveCode installers handle privilege elevation themselves - it is
 best to not run them as an administrator (the bulk of the installer runs
 as an unprivileged programme and it is only the installer slave that
 runs with admin privileges). If that also doesn't work,  let me know so
 it can be added to the bug database.

 Fraser


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Numbering of lines in a field

2014-05-03 Thread Andrew Kluthe
if CHC is word 1 or myLine contains tab then
   yadda yadda

end if


On Sat, May 3, 2014 at 8:27 AM, Charles Szasz csz...@me.com wrote:

 Mark,

 I added your function to my project and it works great!  I have some lines
 that have tabs in them. How can I modify your function so that it does not
 count lines if there is a tab in a line in addition to lines having “CHC”?

 Charles Szasz
 csz...@mac.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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Numbering of lines in a field

2014-05-03 Thread Andrew Kluthe
Sorry, sent that a little too soon.

if CHC is word 1 of myLine or myLine contains tab then

end if


On Sat, May 3, 2014 at 8:42 AM, Andrew Kluthe and...@ctech.me wrote:

 if CHC is word 1 or myLine contains tab then
yadda yadda

 end if


 On Sat, May 3, 2014 at 8:27 AM, Charles Szasz csz...@me.com wrote:

 Mark,

 I added your function to my project and it works great!  I have some
 lines that have tabs in them. How can I modify your function so that it
 does not count lines if there is a tab in a line in addition to lines
 having “CHC”?

 Charles Szasz
 csz...@mac.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




 --
 Regards,

 Andrew Kluthe
 and...@ctech.me




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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

Run a command line app from memory

2014-05-03 Thread Andrew Kluthe
Hello,

I have the need to run a command line utility from LiveCode without writing
it to disk. Ideally I would like to store it in a custom property and find
a way to run it in memory without ever writing it to a disk. Is this at all
possible using only LiveCode?

Kind regards,

Andrew
___
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: Run a command line app from memory

2014-05-03 Thread Andrew Kluthe
I should have mentioned the particular platform I am interested in is
windows.
On May 3, 2014 9:33 PM, Andrew Kluthe and...@ctech.me wrote:

 Hello,

 I have the need to run a command line utility from LiveCode without
 writing it to disk. Ideally I would like to store it in a custom property
 and find a way to run it in memory without ever writing it to a disk. Is
 this at all possible using only LiveCode?

 Kind regards,

 Andrew

___
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: Run a command line app from memory

2014-05-03 Thread Andrew Kluthe
Good point Richard. I never thought of it like that. Hmmm, I'll have to
look into that. How I'm doing it now is how you've described it but I was
asked if I could come up with a way to do this without adding any new files
to disk on the fly and not need admin rights to facilitate this. It was
written as a c program for the raw performance boost otherwise doing it all
in LiveCode is a perfect option. I know we can use in memory SQLlite dB's
and some other things but I imagine runrev had to do some work on the
backside to make that happen. Anyhow, ill keep exploring my alternatives.
Thanks for the suggestions.

Andrew
On May 3, 2014 9:46 PM, Richard Gaskin ambassa...@fourthworld.com wrote:

 Andrew Kluthe wrote:

  I have the need to run a command line utility from LiveCode without
  writing it to disk. Ideally I would like to store it in a custom
  property and find a way to run it in memory without ever writing it
  to a disk. Is this at all possible using only LiveCode?

 If I understand this correctly, it's not LiveCode that'll be running the
 program, but Windows; LiveCode is simply initiating the execution.

 Can Windows run programs that exist only in the memory space of another
 application?

 I don't know the answer to that, but kinda I hope not, since intuitively
 it seems like a potential security hole.

 Can you write the program file to temp and launch it from there?

 Or rewrite its functionality in script?

 --
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and 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: [ANN] Looking for Proof Reader

2014-05-01 Thread Andrew Kluthe
Are we going to be able to get digital copies of this one?


On Thu, May 1, 2014 at 6:57 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 VOLUNTEER WANTED

 I'm writing a new book about LiveCode, to be released in a few months. I'm
 looking for a volunteer who wants to proof read the book. The book is in
 English and you need to be a CS teacher. Currently, one person is proof
 reading and I think there should be another one to make sure that all
 mistakes are found.

 What you get:
 - You get to read the book before (almost) anyone else;
 - Evidently, you get a free copy of the book;
 - You help to decide what students will learn in class (very useful if
 you're using LiveCode as a teacher);
 - Your name will be mentioned in the book and you can put that on your
 resume if you want.

 What I'm looking for:
 - You need to have fluent English skills;
 - You need to be a CS teacher;
 - it isn't required to be familiar with LiveCode;
 - you need to have loads of spare time during the next 3 months.

 Just send me a message if you're interested.

 Feel free to forward this message to anyone who might be interested.

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553

 Installer Maker for LiveCode:
 http://qery.us/468

 Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi

 LiveCode on Facebook:
 https://www.facebook.com/groups/runrev/

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Proof Reading

2014-05-01 Thread Andrew Kluthe
An opportunity for the masochists among us.


On Thu, May 1, 2014 at 11:29 AM, Richmond richmondmathew...@gmail.comwrote:

 Why do I have a feeling that 'proof reading' in this
 case will not just involve proof reading; but:

 1. Style Editing (something I am extremely experienced at).

 2. Trying out all the exercises in Livecode.

 Richmond.

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Reference Material Discussion Application Architecture Strategies

2014-04-23 Thread Andrew Kluthe
Andre Garzia did a talk on it at runrev live last year didn't he? I
remember watching it and starting to reorganize one of my applications the
next day. Basically, treat ui stacks as view, put all your business logic
that can be separated into library stacks and use a pub-sub to lessen the
burden. It made a lot more sense as far as maintainability goes for me.




On Wed, Apr 23, 2014 at 3:17 PM, Alejandro Tejada capellan2...@gmail.comwrote:

 Does exists a tutorial explaining How To implement MVC
 using LiveCode?

 http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

 Al



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Reference-Material-Discussion-Application-Architecture-Strategies-tp4678454p4678593.html
 Sent from the Revolution - User mailing list archive at Nabble.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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: 500 ms to set a thumbpos??

2014-04-22 Thread Andrew Kluthe
Installed 6.6.1 stable on a couple systems and figured out that the problem
I was having was likely related to the windows hang on redraw bug that got
fixed in 6.6.1

Everything is working better than ever now on the systems I have tested.


On Tue, Apr 15, 2014 at 10:53 AM, Trevor DeVore
li...@mangomultimedia.comwrote:

  Even on windows 8, everything post 6.5 just crwwwls.
 
  The ide and any standalone built with the new graphics libs uses an
  enormous amount of cpu on my laptop. Simply showing a popup menu eats up
  about 48% of my admittedly under-powered cpu. Anything that involves
  drawing anything to the screen is god awful slow and if I fiddle too much
  while it thinks the whole deal crashes. I'm still building with 5.5
 until 7
  to wait and see if this behavior is corrected later on. Right now,
 livecode
  6.5+ is barely usable for me unless I am using a high end system. I have
  been having similar issues with the clarify 2 beta and i suspect it is
 due
  to the use of the newer engine.
 

 Andrew,

 The issue being talked about in this thread and what you describe may be
 two separate things. 6.6 is when retina support was added for desktop and
 that caused a big slowdown on machines running in high-dpi mode (Mac or
 Windows) as many more pixels are being rendered (as many as 4x). RunRev is
 working to address this as soon as possible.

 What you describe seems to be something else. 6.5 doesn't have any of the
 retina changes for desktop but does have the graphics layer changes (as you
 mentioned). It is my understanding that 6.5 should run at the same speed as
 previous versions. I wouldn't expect any changes specific to 7.0 to affect
 what you are seeing, although the speed increase they are working on for
 retina would probably help.

 I would *highly* recommend that you submit a bug report about the
 performance on your machine. Waiting to see if something gets fixed when
 you haven't filed a report often leads to disappointment :-)





-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: 500 ms to set a thumbpos??

2014-04-15 Thread Andrew Kluthe
Even on windows 8, everything post 6.5 just crwwwls.

The ide and any standalone built with the new graphics libs uses an
enormous amount of cpu on my laptop. Simply showing a popup menu eats up
about 48% of my admittedly under-powered cpu. Anything that involves
drawing anything to the screen is god awful slow and if I fiddle too much
while it thinks the whole deal crashes. I'm still building with 5.5 until 7
to wait and see if this behavior is corrected later on. Right now, livecode
6.5+ is barely usable for me unless I am using a high end system. I have
been having similar issues with the clarify 2 beta and i suspect it is due
to the use of the newer engine.

Maybe there is something else wrong here for me. I need to try it on some
other systems to confirm these problems. But my attempts so far have been
that I don't even want to put the newer livecode on some of my better
systems. (I hate having too many non-production-related versions installed
on my workstations.)



Andrew


On Mon, Apr 14, 2014 at 9:52 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Mon, Apr 14, 2014 at 6:31 PM, Kay C Lan lan.kc.macm...@gmail.com
 wrote:

  Are you using the QuickRes workaround to manually set your Screen
  Resolution to speed up 6.6.x as posted by Neil Roger?
 

 I missed that announcement; this was the first I'd head of it!


 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: 500 ms to set a thumbpos??

2014-04-15 Thread Andrew Kluthe
I assumed incorrectly that the high-dpi features went into 6.5 alongside
the new graphics layer. I can parse through data just as fast as before
here, but anything where I have to reposition a screen, show a new menu,
anything graphics related almost hangs my system unless i give it several
minutes to get done thinking about it. I'll eliminate system related issues
and look into this further before filing a more accurate bug report if
necessary. Thanks.

Andrew


On Tue, Apr 15, 2014 at 11:08 AM, Ralph DiMola rdim...@evergreeninfo.netwrote:

 Trevor said == The issue being talked about in this thread and what you
 describe may be two separate things.

 Trevor, I think your right on this. I have processing slow downs on mobile
 post 6.1. New devices not so much, but older devices(Galaxy S3) it's very
 noticeable. In my case it doesn't seem to be a rendering issue. It's
 pointing towards SQLite and text processing speed. I will find out where
 exactly in the code this is happening Observed using LC 6.6.1

 Film at 11

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

 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
 Behalf
 Of Trevor DeVore
 Sent: Tuesday, April 15, 2014 11:53 AM
 To: How to use LiveCode
 Subject: Re: 500 ms to set a thumbpos??

 On Tue, Apr 15, 2014 at 11:26 AM, Andrew Kluthe and...@ctech.me wrote:

  Even on windows 8, everything post 6.5 just crwwwls.
 
  The ide and any standalone built with the new graphics libs uses an
  enormous amount of cpu on my laptop. Simply showing a popup menu eats
  up about 48% of my admittedly under-powered cpu. Anything that
  involves drawing anything to the screen is god awful slow and if I
  fiddle too much while it thinks the whole deal crashes. I'm still
  building with 5.5 until 7 to wait and see if this behavior is
  corrected later on. Right now, livecode 6.5+ is barely usable for me
  unless I am using a high end system. I have been having similar issues
  with the clarify 2 beta and i suspect it is due to the use of the newer
 engine.
 

 Andrew,

 The issue being talked about in this thread and what you describe may be
 two
 separate things. 6.6 is when retina support was added for desktop and that
 caused a big slowdown on machines running in high-dpi mode (Mac or
 Windows) as many more pixels are being rendered (as many as 4x). RunRev is
 working to address this as soon as possible.

 What you describe seems to be something else. 6.5 doesn't have any of the
 retina changes for desktop but does have the graphics layer changes (as you
 mentioned). It is my understanding that 6.5 should run at the same speed as
 previous versions. I wouldn't expect any changes specific to 7.0 to affect
 what you are seeing, although the speed increase they are working on for
 retina would probably help.

 I would *highly* recommend that you submit a bug report about the
 performance on your machine. Waiting to see if something gets fixed when
 you
 haven't filed a report often leads to disappointment :-)

 --
 Trevor DeVore
 Blue Mango Learning Systems
 www.screensteps.com-www.clarify-it.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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: print datas

2014-04-09 Thread Andrew Kluthe
I really like outputting HTML files that are styled specifically for
printing. I was using a modified version of twitter bootstrap that I
tweaked for printing and using things like js charting tools to compliment
this. This made for some pretty reports that could also be rendered nicely
on mobile and desktop devices. The new browser object that is coming up
might take that approach to the next level depending on how it renders
printing.
On Apr 9, 2014 10:27 AM, Eric Sciolli eric.scio...@sunrise.ch wrote:

 Hello LiveCode Users,
 I need to print some datas organized in a complex table (cells union,
 different styles,...) which will occupy more than a page. What is the best
 way to do this? I thought about something like output datas and table
 format as html. Maybe someone can give me another idea?
 Thank you for attention

 Eric Sciolli
 ___
 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: POST command question

2014-03-31 Thread Andrew Kluthe
See if it works with the non SSL endpoint. Might be a certificate thing.

Sorry for  the short response.

Regards,

Andrew Kluthe
On Mar 30, 2014 1:11 PM, Michael Doub miked...@gmail.com wrote:

 Is there anything different about using the post command on live code
 server as compared to a mac desktop?   I am trying to send mail via
 postmark.   On my server I have the following script:

 ?lc
set the ErrorMode to inline
put /home/ua875508/public_html/doub.com/lc/ into mainpath
put mainpath  libJson.livecode into jsonLib
put mainpath  cbEngine.livecode into cbEngine
start using jsonLib
start using cbengine
put ProcessMail ($_POST_RAW)
 ?

 I drop the stack cbEngine.livecode on my server after testing on the
 desktop.   in this stack, I have a mouseup hander that calls the
 ProcessMail function with dummy data for easy debugging.   Everything works
 as expected the desktop.  The post command does it thing I get the expected
 response from postmark.  When I move the stack to the server environment,
 the post command seems to do nothing and I get nothing returned at all.

 Can anyone provider me with any guidance?

 Thanks,
 Mike



 --http://developer.postmarkapp.com/developer-build.html For addtional API
 Information

 function libPostmark_SendEmail pMessageJSON
get the keys of pMessageJSON
if it  empty then
   put arrayToJson(pMessageJSON) into outgoing
else
   put pMessageJSON into outgoing
end if
set the httpHeaders to Accept: application/json  return \
   Content-Type: application/json  return \
   X-Postmark-Server-Token: my token goes here
post outgoing to URL https://api.postmarkapp.com/email;
put jsonToArray(it) into theResults
if theResults[ErrorCode]  0 then
   return it
else
   return true
end if
 end libPostmark_SendEmail
 ___
 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: Famous at last, though not in the best way

2014-03-17 Thread Andrew Kluthe
On Mon, Mar 17, 2014 at 10:34 AM, Mike Kerner mikeker...@roadrunner.comwrote:

 More needs to be done in the pro version to protect source and


I don't know. I have a feeling that this was done using the open source
version and it was incorrectly reported as encrypted or mistaken as being
encrypted prior to loading it into memory. I could be wrong though.


-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Sending email from livecode

2014-03-14 Thread Andrew Kluthe
Hmmm, I don't know if it will help in your situation, but I use this quite
a bit from livecode over it's rest api.

https://postmarkapp.com/

Usually helps with spam filter issues and i would imagine you could access
their api over ssl.


On Fri, Mar 14, 2014 at 2:58 PM, Michael Doub miked...@gmail.com wrote:

 Has any one solved the problem of sending email from a live code stack?
 I have see Sean's and Sara's stacks but my service requires SSL.   Any
 suggestions?

 Thanks
 Mike
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Use of Shell to get JSON from a MongoDB

2014-03-05 Thread Andrew Kluthe
I work with mongoDB a lot from livecode but unfortunately it is all through
REST API's built in other languages with native drivers so I can't help
here. :(


On Wed, Mar 5, 2014 at 10:19 AM, Javier Miranda V. jemiran...@gmail.comwrote:

 After strugling and finally understand with help from friends at
 Stackoverflow, how the find() command works in the interative javascript
 shell of MongoDB, now I know that find() returns a cursor.



 But still have some problems trying to get JSON from my local MongoDB.

 Issuing:
 db.test.find() -- This works in the shell because, internally it iterates
 in
 the cursor contents to show the documents.

 It show the same documents when you:
 var c = db.test.find()
 while ( c.hasNext() ) printjson( c.next())

 The thing now is how to code this in LiveCode, I tried this in a mouseup
 handler:


 put shell(C:\mongodb\bin\mongo.exe --eval var c = db.test.find() ; while (
 c.hasNext() ) printjson( c.next() )) into pJSON
 put pJSON into fld A -- this step is only to seewhat is the result,
 pJSON, once all is worj=king will be passed to a function to make it an
 array.

 But what i get in field A is:


 MongoDB shell version: 2.2.7
 connecting to: c
 Sun Mar 02 01:12:52 SyntaxError: missing variable name (shell eval):1

 Hope you can guide me!

 Javier

 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Finding available memory without shell, how to use hasMemory() - Found word(s) list error in the Text body

2014-02-27 Thread Andrew Kluthe
He's referring to system RAM here.


On Thu, Feb 27, 2014 at 6:48 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote:

 Gabriel, if you are saving to the boot volume and getting dow to 100MB,
 this is a very serious matter. You should *never* go below 10 gigs on a
 modern boot driveIf the volume is being used for a swap file, it's not as
 serious but will affect performance. Just a heads up.

 Bob


 On Feb 26, 2014, at 11:21 , Gabriel Johnson gwj...@gmail.com wrote:

  Thanks for the responses. Yes, we are saving a 100+ MB data file to disk,
  and when the free memory gets to be under 100 MB, saving to a standard
 hard
  drive (not SSD) sometimes ends up taking a very long time (in Mac OS X),
  making it appear to the user that the program has locked up. We have
  contemplated going about this a different way, but the quickest fix for
 us
  at the moment is to catch low memory situations.
 
  Mark: Yes, we need to know the amount of free ram (without counting the
  swap/inactive memory).
 
 
  Gabe Johnson
  gwj...@gmail.com
  603-978-9881
 
 
  On Sun, Feb 23, 2014 at 9:09 PM, Mark Wieder mwie...@ahsoftware.net
 wrote:
 
  Gabriel-
 
  Thursday, February 20, 2014, 11:07:59 AM, you wrote:
 
  Hey All,
 
  I am working on a program where I need to know the amount of available
  memory.
 
  I'm running on OS X and hasMemory() appears to return true/false for
 the
  same values regardless changes to free/available memory. Is there some
  trick to getting hasMemory() to correspond with the actual available
  memory? Is this possibly something that is being addressed in newer
  versions of LiveCode?
 
  Ah, the curse of modern operating systems...
 
  What the hasMemory() function does is allocate and then free the
  specified amount of memory, and then returns a boolean telling whether
  it was successful. However, before doing that, it casts the desired
  amount as a uint4, which limits the amount to 2147483647. If you're
  trying to see if more than 2G of memory is available, that won't help.
  And because modern operating systems will very happily exchange chunks
  of memory out to swap files when necessary, it's unlikely that you'll
  see the malloc fail, and thus you should see a true return value.
 
  Are you doing something where you really need to see the actual free
  ram without the swap/inactive memory? The available term here is a
  bit ambiguous, and depends on your needs.
 
  --
  -Mark Wieder
  ahsoftw...@gmail.com
 
  This communication may be unlawfully collected and stored by the
 National
  Security Agency (NSA) in secret. The parties to this email do not
  consent to the retrieving or storing of this communication and any
  related metadata, as well as printing, copying, re-transmitting,
  disseminating, or otherwise using it. If you believe you have received
  this communication in error, please delete it immediately.
 
 
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Support for Windows XP

2014-02-26 Thread Andrew Kluthe
Should I dare to say is this the year of linux on the desktop that we've
been hearing about? Honestly, I think it stops becoming fanboyism when it
makes the shift to a real trend. I think some major players are making a
cultural shift away from microsoft that makes linux the realest contender I
see. For instance: If valve can succeed in getting teenagers that are
playing PC games away from being stuck on windows is going to make the next
10 years very interesting for linux.


On Wed, Feb 26, 2014 at 11:31 AM, Richard Gaskin ambassa...@fourthworld.com
 wrote:

 Lynn Fredricks wrote:

  Dropping support for Windows XP would be fairly foolish
 (while dropping support for 10.5 and lower will just elicit a
 tired sigh);


 I think it's a really bad idea to embed something as important as this is
 a
 thread about 10.5.

 Check out this Computeworld article:

 http://www.computerworld.com/s/article/9245966/Users_
 postpone_ditch_XP_decis
 ion_as_Windows_8_runs_to_stay_in_place

 This shows that XP accounted for 29.2% of desktop and notebook PCs as
 recently as last month. That's almost 5 x the number of all machines
 running
 Mac OS.


 I promise this will be my last Linux fanboy post this week, but it's
 relevant in reminding us that when it comes to expired systems we have
 options:

 11 Percent of Windows XP Users Will Switch to Linux, Survey Claims
 http://www.omgubuntu.co.uk/2014/02/windows-xp-users-may-switch-linux

 This article notes that as of October there were about 500 million PCs
 running XP:
 http://www.theregister.co.uk/2013/10/01/six_months_end_xp_support/

 So if the survey methodology pans out, that'll mean roughly 55 million new
 Linux installs.

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Support for Windows XP

2014-02-26 Thread Andrew Kluthe
On Wed, Feb 26, 2014 at 11:37 AM, François Chaplais 
francois.chapl...@mines-paristech.fr wrote:

 The methodology is flawed, as it does not take into account those who flee
 Linux (which is not an OS, but a kernel) like the plague


My technological incorrectness aside, unix-like unix-derived operating
systems seem to be dominating currently between mac, linux, and stuff like
android.


-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Support for Windows XP

2014-02-26 Thread Andrew Kluthe
Sure did. I'm honestly not far at all from saying goodbye to windows for
all but testing and infrequent purposes. The only thing keeping me here was
occasional PC Gaming and some wonky livecode stuff from a few versions ago.
I tried it for almost a year but found myself booting less often into my
linux mint with cinnamon partition out of laziness to switch there for just
my browsing and some non-livecode programming work. Now that livecode is
working better on linux (and has been) and I can fire up a game when work
is done and the kids are to bed, I think I could make it stick. I really
prefer the workflow and simplicity I had on cinnamon. I find myself looking
for windows programs that emulate some of those window management features.

Anyhow, this got very offtopic. Carry on.


On Wed, Feb 26, 2014 at 11:51 AM, Mike Kerner mikeker...@roadrunner.comwrote:

 you forgot ios


 On Wed, Feb 26, 2014 at 12:44 PM, Andrew Kluthe and...@ctech.me wrote:

  On Wed, Feb 26, 2014 at 11:37 AM, François Chaplais 
  francois.chapl...@mines-paristech.fr wrote:
 
   The methodology is flawed, as it does not take into account those who
  flee
   Linux (which is not an OS, but a kernel) like the plague
 
 
  My technological incorrectness aside, unix-like unix-derived operating
  systems seem to be dominating currently between mac, linux, and stuff
 like
  android.
 
 
  --
  Regards,
 
  Andrew Kluthe
  and...@ctech.me
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 



 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Support for Mac OSX 10.5

2014-02-25 Thread Andrew Kluthe
Currently, I don't target mac so it really my input doesn't matter much.

On Tue, Feb 25, 2014 at 11:27 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 When we gave money, we didn't expect that our reward would be the lack of
 support for Mac OS X 10.5.


That seems rather hyperbolic in light of the situation, in my opinion anyway

That's a lot of extra work for everyone.


Let me fix that for you. That's a lot of work for *you*.

I don't know what the answer here is, but I'm not for anything that will
slow down progress on other goals that are more important to others bottoms
lines as well.

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Support for Mac OSX 10.5

2014-02-25 Thread Andrew Kluthe
On Tue, Feb 25, 2014 at 12:07 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 No, Andrew. I think this is exactly one of RunRev's problems. Too often,
 they seem to have no attention for how many people are affected by a small
 bug or a strategical change, which seems to be rather unimportant at first
 sight. If you count the total number of hours that people will have to
 spend on testing their scripts, you will understand that this is indeed a
 lot of work compared to the man hours needed to maintain LC for OSX 10.5 a
 little longer.


Except that is what Ben came here to do. To get input from and pay
attention to us, the overwhelming majority of which so far has been
supportive even when critical of the possible outcome. Alarmist language
does everything but add to the discussion. What is a little longer in
your opinion? 1 year? 5 years? I would hate for runrev to spend several
months to make something backwards compatible for a short time. Along with
this time spent, I would imagine it would further complicate the code base
in non-trivial ways.




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: DataGrid and launcher stack

2014-02-21 Thread Andrew Kluthe
I had to do this as well at one point. I never tried it in another
substack. Try putting it into another CARD of the mainstack of the launcher
standalone.


On Fri, Feb 21, 2014 at 5:41 AM, Mats Åström matsast...@yahoo.se wrote:

 Forget my last description/question

 I use a launch stack which is used to build the standalone and have now
 added a Data Grid to one of the stacks opened by the launcher stack.
 The stack being opened IS NOT A SUBSTACK of the launcher stack.
 Works fine in the IDE, but not in the standalone.

 Must the stack containing the DataGrid be a substack of the launcher stack
 for the DataGrid to work in the standalone?

 /Mats
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: RELEASE LiveCode 6.6 DP1

2014-02-20 Thread Andrew Kluthe
I think a nice example stack (perhaps even closer to a final release) put
onto revOnline would help everyone. I'd love to know more about this
upcoming feature.


On Thu, Feb 20, 2014 at 10:51 AM, Björnke von Gierke b...@mac.com wrote:


 On 20.02.2014, at 16:37, Richard Gaskin ambassa...@fourthworld.com
 wrote:

  The key point there is that both only catch things the engine considers
 errors.
 
  Assert compliments those by providing for things which may be
 syntactically correct and completely executable, yet are errors within the
 context of the business logic of your app.


 I'm not a smart man, and can't imagine any such error ever happening in a
 program. Can you give a simple example where you'd use assert to catch that
 kind of error?

 --

 Use an alternative Dictionary viewer:
 http://bjoernke.com/bvgdocu/

 Chat with other RunRev developers:
 http://bjoernke.com/chatrev/



 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: RELEASE LiveCode 6.6 DP1

2014-02-14 Thread Andrew Kluthe
Im sure there are some people very excited about the sqlite update. Very
cool.


On Fri, Feb 14, 2014 at 12:05 PM, Benjamin Beaumont b...@runrev.com wrote:

 Dear List Members.

 We are pleased to announce the release of LiveCode 6.6 DP1.

 Warning, this is a pre-release with new features which have the potential
 to cause issues. Please ensure you backup your stacks before testing this
 release.

 *Important Changes*

1. *Tiger support dropped*. As of version 6.6-dp-1, OS 10.4 (Tiger)
support has been dropped from LiveCode. This is primarily for technical
reasons: In order to support the latest OS X features (e.g. Cocoa -
LiveCode 6.7 - coming soon) as well as include the newest versions of
thirdparty libraries (e.g. LibSkia, LibSQLite), dropping 10.4 support
 was
required. Users wishing to produce 10.4 compatible executables can
 still do
so using LiveCode version 6.5.x (and earlier).

 *Release Contents*
 This development release contains the following changes:

- 'assert' command (experimental)
- New **showAll** fullscreenmode.
- Hi-DPI support for Windows 7/8 and OSX.
- Image Filtering Updates
- Graphics Library Update
- OpenSSL  Encryption Updates
- '#!' now recognised by server
- SQLite support updated and improved
- Stack scaling
- OS 10.4 (Tiger) Support dropped
- 14 bug fixes:
   - 11754 - Error (invalid bundle) on uploading app to iOS App Store
   - 11751 - After selecting an item in an option menu containing
   unicode, the label is corrupted (Mac only)
   - 11732 -  operator is different from \'is not\' operator for
 arrays
   - 11721 - Crash when taking a snapshot of the template graphic
   - 11720 - SQLite FTS feature doesn't work on iOS or Mac.
   - 11703 - iPhoneSetRemoteControlDisplay crashes
   - 11462 - Failing to set image data to the image data of self
   - 11124 - No error message when external not found when deploying to
   simulator
   - 11069 - mobileComposeMail attachment missing in Android
   - 10910 - \Crop image\ command crashes LiveCode application
   - 10467 - Indenting of scripts can go wrong
   - 10280 - SQLite binary entries are non-standard.
   - 8044 - setting a cprop with quotes loses data
   - 5331 - Mac live window resizing is off by default.

 *Planned changed for DP2*
 - Proxy support

 *Known Issues*
 - Text scaling/clipping on Linux with stack scale set

 *Sample Stacks*
 We have included 3 sample stack demonstrating some of the new
 features/improvements in this release:
 - Stack showing effect of changes in image quality
 - Stack showing effect of fullscreenmode on desktop
 - Stack showing effect of stack scale on desktop

 *Getting this release*
 To upgrade to this release please select check for updates from the help
 menu in LiveCode or download the installers directly at:
 http://downloads.livecode.com/livecode/

 *Reporting Bugs*
 If you encounter an issue with this release please submit a bug report to
 our quality centre: http://quality.runrev.com/enter_bug.cgi

 Warm regards,

 The LiveCode Team
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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] question about stackoverflow - why was my posting deleted

2014-02-12 Thread Andrew Kluthe
I think it adds greatly to SO as a resource.  I love the fact that the
responses are required to be detailed. How fun would the dictionary be if
it just had links to a website that came up instead of a readily available
resource? I don't always want to follow another link to then sort out from
there where what I am looking for is.


On Wed, Feb 12, 2014 at 6:32 AM, Matthias Rebbe 
matthias_livecode_150...@m-r-d.de wrote:

 Hi Mark,

 thanks for explaining.
 Then i think i will not waste anymore time with posting to SO.

 Regards,

 Matthias
 Am 12.02.2014 um 13:22 schrieb Mark Schonewille 
 m.schonewi...@economy-x-talk.com:

  Hi Matthias,
 
  Your answer wasn't a direct answer to the question. Questions on SO
 should ask for a direct solution and answers should contain a direct
 solution.
 
  Answers like you should read this have a very high probability of
 being deleted. Posting links, for a purpose other than mentioning the
 original source of the answer, make deletion almost certain.
 
  SO wants to be an independent source, where you can find all answers
 without having to go to another website. In this respect, SO is even more
 strict than Wikipedia.
 
  Don't worry. This happens all the time. It is just how SO works.
 
  --
  Best regards,
 
  Mark Schonewille
 
  Economy-x-Talk Consulting and Software Engineering
  Homepage: http://economy-x-talk.com
  Twitter: http://twitter.com/xtalkprogrammer
  KvK: 50277553
 
  Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
 colour spaces. http://www.color-converter.com
 
  Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi
 
  LiveCode on Facebook:
  https://www.facebook.com/groups/runrev/
 
  On 2/12/2014 13:06, Matthias Rebbe wrote:
  Hi,
 
  on the 6th  i posted a comment to the following question
 
 
 http://stackoverflow.com/questions/21612867/when-i-try-to-export-my-app-in-live-code-it-comes-up-with-an-error-message
 
  My answer was:
  Runrev offers many tutorials. There are also some about mobile
 development. I would suggest you try the following tutorial first
 
  How do i become an iOS developer (this line was a link to tutorial.)
 
  On the 8th my post was deleted. But even after reading the description
 for why was my post deleted. See the help center,
  i am not sure why it was deleted.
 
  Was my post not appropriate?
 
  It would be nice if someone could explain. I want to avoid that my
 future post are also deleted.
 
 
  Regards,
 
  Matthias
  Matthias Rebbe
 
 
  ___
  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



 Matthias Rebbe



 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


St. Louis User Group

2014-02-11 Thread Andrew Kluthe
I've thought about doing it for a while and never had time. I know there
are at least a couple of livecoders on the fringes of the St. Louis, MO
area. After taking a new position recently where livecode isn't an everyday
kind of thing, I have the urge to find more things livecode in my spare
time. Is there any interest in a STL meetup or User Group for livecode?
I'll work on hosting and putting together the first one if I can get a
response off list or on.

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Crowd Funding Enhancements

2014-02-10 Thread Andrew Kluthe
Since we all work on software too, some of us professionally, we understand
it takes a while sometimes to deliver on a road map.

I also understand that many kickstarter projects might add stretch goals
that are indeed a bit of a stretch to deliver on to try and build/keep
excitement. But progress that we are privy too on these things is less than
visible as we go in to a whole year later territory. Any kind of
timelines or updates on any of the stretch goals other than theming/res
independence would be great. While I understand that is probably the
hardest stretch goal you have had to deliver, it is also the least
important to folks who aren't doing mac or mobile dev. I think a lot of us
are happy to wait, but that a few of us seem to be getting concerned lately
that we won't get many of those stretch goals any time in the next year or
two.


On Mon, Feb 10, 2014 at 9:24 AM, Kevin Miller ke...@runrev.com wrote:

 We¹re definitely interested. The potential issue I have is that this stuff
 was (mostly) promised from Kickstarter and indeed either planned and
 specced or even being worked on. Mostly it will be delivered this year at
 various points. You guys already backed us on Kickstarter and we can 
 will be deliver. The only thing we could do would be to speed things up by
 further expanding our dev team, which could bring delivery forward for
 ³pet² features. I guess we could crowd fund that.

 So - here is an open question I don¹t know the answer to. Is there
 appetite for this in the community? Or would you rather just wait now?
 This really is at the ³thinking out loud stage², happy to get a range of
 views as we talk about this internally some more.

 Kind regards,

 Kevin

 Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/
 LiveCode: Everyone can code




 On 10/02/2014 15:02, Mike Kerner mikeker...@roadrunner.com wrote:

 I started this thread on the other list, but it's time to bring it over
 here.
 
 Now that LC is OSS, I'm thinking of starting a fund to get other things
 done in LC.  For example,
 * code folding
 * stack-level setting for giving equal rights to all items, especially the
 last one
 * macros in the script editor
 * multiple columns in the script editor on wide monitors
 * A real report editor/designer
 * Purchase a skinning tool like tmC or MG and make it part of the product.
 
 
 Malte has his own list:
 1) Feature: reworked networking library (libURL is a bit dated), which
 would elevate IPv6 support and goodies like SFTP
 2) Fix: Modal dialogue makes app vanish from Task Switcher on Windows
 3) Feature: Reworked Multimedia Support (I want sound channels like we
 have
 on mobile for the desktop) , new Player Object
 4) Feature: Sub Pixel positioning
 5) Feature: Free Transform (rotate/ transform) for all controls
 
 
 
 One way this might work:  we could throw out an idea, get bids from the
 community and even from Edinburgh to deal with it, and then fund it.
 
 
 Feedback, please.
 
 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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] will amuse you Linux fans

2014-02-08 Thread Andrew Kluthe
Those who choose to obey the laws are either those who are the
beneficiaries of such instruments, or to whom the instrument has rendered
all other choices and possibilities unworthy of consideration. The point is
that even in western democracies, people don't actually have a choice in
the matter. You obey or you are punished. That is the presupposition of the
whole concept: removal (whether it is perceived as voluntary or otherwise)
of choice to those who know properly how to do the choosin'.

Government in North Korea is maintained by the same force and threats as it
is in most any western democracy. The difference being that in western
democracies the populace is encouraged to take an actionable role in their
own subjugation and the subjugation of others in an attempt to feel like we
belong and have agency in such matters. We are allowed to choose wallpaper
patterns for the homes we are allowed to live in by being obedient enough
to be granted some kind of economic privilege. In exchange for our
co-operation, we earn a chance at a more personally satisfying (to some)
servitude. Should any groups of people in a western democracy decide
against being servile, we know for sure that force will arrive there to
restore servility.

I'd prefer not to allow my liberty to be (or at least work to prevent from
being) bound by involuntary contracts like constitutions, writs and the
like.

And after reading over the thread again I'd like to point out:

Those who choose to obey the laws (that they themselves are protected by I
might add) do not need to be compelled.

This phrase strikes me now as something very similar to what a gangster
might say when attempting to expand a protection racket.

I'm not suggesting that you are a gangster or run a protection racket, of
course, but that the logic being implied by your concept of governance
lines up perfectly with what I am describing. I think that we are in
agreement about function but just have different biases and perspectives
into those functions.


On Sat, Feb 8, 2014 at 1:48 AM, Richmond richmondmathew...@gmail.comwrote:

 On 08/02/14 07:06, Bob Sneidar wrote:

 Only upon the lawless. :-) Those who choose to obey the laws (that they
 themselves are protected by I might add) do not need to be compelled.

 Bob




 There is a small problem there.

 I am sure that most of us here on the Use-List would applaud a North
 Korean who broke certain of that
 country's draconian laws,

 and, furthermore,

 do not feel groovy about the sort of compulsion that goes on there.

 Now that is one end of a continuum, and the question is, and always has
 been,
 where one should decide breaking a law is legitimate protest and where it
 is
 a crime.

 Richmond.


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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] will amuse you Linux fans

2014-02-08 Thread Andrew Kluthe
Richmond,

My response was directed towards Bob.



On Sat, Feb 8, 2014 at 10:08 AM, Richmond richmondmathew...@gmail.comwrote:

 On 08/02/14 17:51, Andrew Kluthe wrote:

 Those who choose to obey the laws are either those who are the
 beneficiaries of such instruments, or to whom the instrument has rendered
 all other choices and possibilities unworthy of consideration. The point
 is
 that even in western democracies, people don't actually have a choice in
 the matter. You obey or you are punished. That is the presupposition of
 the
 whole concept: removal (whether it is perceived as voluntary or otherwise)
 of choice to those who know properly how to do the choosin'.

 Government in North Korea is maintained by the same force and threats as
 it
 is in most any western democracy. The difference being that in western
 democracies the populace is encouraged to take an actionable role in their
 own subjugation and the subjugation of others in an attempt to feel like
 we
 belong and have agency in such matters. We are allowed to choose wallpaper
 patterns for the homes we are allowed to live in by being obedient enough
 to be granted some kind of economic privilege. In exchange for our
 co-operation, we earn a chance at a more personally satisfying (to some)
 servitude. Should any groups of people in a western democracy decide
 against being servile, we know for sure that force will arrive there to
 restore servility.

 I'd prefer not to allow my liberty to be (or at least work to prevent from
 being) bound by involuntary contracts like constitutions, writs and the
 like.

 And after reading over the thread again I'd like to point out:

 Those who choose to obey the laws (that they themselves are protected by
 I
 might add) do not need to be compelled.

 This phrase strikes me now as something very similar to what a gangster
 might say when attempting to expand a protection racket.

 I'm not suggesting that you


 To whom does you refer to?

 Unless that is cleared up somebody is going to feel their nose has been
 put out of joint :)

 Richmond.


  are a gangster or run a protection racket, of
 course, but that the logic being implied by your concept of governance
 lines up perfectly with what I am describing. I think that we are in
 agreement about function but just have different biases and perspectives
 into those functions.


 On Sat, Feb 8, 2014 at 1:48 AM, Richmond richmondmathew...@gmail.com
 wrote:

  On 08/02/14 07:06, Bob Sneidar wrote:

  Only upon the lawless. :-) Those who choose to obey the laws (that they
 themselves are protected by I might add) do not need to be compelled.

 Bob




  There is a small problem there.

 I am sure that most of us here on the Use-List would applaud a North
 Korean who broke certain of that
 country's draconian laws,

 and, furthermore,

 do not feel groovy about the sort of compulsion that goes on there.

 Now that is one end of a continuum, and the question is, and always has
 been,
 where one should decide breaking a law is legitimate protest and where it
 is
 a crime.

 Richmond.


 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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] will amuse you Linux fans

2014-02-08 Thread Andrew Kluthe
Gmail handles replies to list email a little differently. Unless  I
specifically hit reply on bobs email it just quotes the last one in the
thread.

Andrew


On Sat, Feb 8, 2014 at 10:09 AM, Andrew Kluthe and...@ctech.me wrote:

 Richmond,

 My response was directed towards Bob.



 On Sat, Feb 8, 2014 at 10:08 AM, Richmond richmondmathew...@gmail.comwrote:

 On 08/02/14 17:51, Andrew Kluthe wrote:

 Those who choose to obey the laws are either those who are the
 beneficiaries of such instruments, or to whom the instrument has rendered
 all other choices and possibilities unworthy of consideration. The point
 is
 that even in western democracies, people don't actually have a choice in
 the matter. You obey or you are punished. That is the presupposition of
 the
 whole concept: removal (whether it is perceived as voluntary or
 otherwise)
 of choice to those who know properly how to do the choosin'.

 Government in North Korea is maintained by the same force and threats as
 it
 is in most any western democracy. The difference being that in western
 democracies the populace is encouraged to take an actionable role in
 their
 own subjugation and the subjugation of others in an attempt to feel like
 we
 belong and have agency in such matters. We are allowed to choose
 wallpaper
 patterns for the homes we are allowed to live in by being obedient enough
 to be granted some kind of economic privilege. In exchange for our
 co-operation, we earn a chance at a more personally satisfying (to some)
 servitude. Should any groups of people in a western democracy decide
 against being servile, we know for sure that force will arrive there to
 restore servility.

 I'd prefer not to allow my liberty to be (or at least work to prevent
 from
 being) bound by involuntary contracts like constitutions, writs and the
 like.

 And after reading over the thread again I'd like to point out:

 Those who choose to obey the laws (that they themselves are protected
 by I
 might add) do not need to be compelled.

 This phrase strikes me now as something very similar to what a gangster
 might say when attempting to expand a protection racket.

 I'm not suggesting that you


 To whom does you refer to?

 Unless that is cleared up somebody is going to feel their nose has been
 put out of joint :)

 Richmond.


  are a gangster or run a protection racket, of
 course, but that the logic being implied by your concept of governance
 lines up perfectly with what I am describing. I think that we are in
 agreement about function but just have different biases and perspectives
 into those functions.


 On Sat, Feb 8, 2014 at 1:48 AM, Richmond richmondmathew...@gmail.com
 wrote:

  On 08/02/14 07:06, Bob Sneidar wrote:

  Only upon the lawless. :-) Those who choose to obey the laws (that they
 themselves are protected by I might add) do not need to be compelled.

 Bob




  There is a small problem there.

 I am sure that most of us here on the Use-List would applaud a North
 Korean who broke certain of that
 country's draconian laws,

 and, furthermore,

 do not feel groovy about the sort of compulsion that goes on there.

 Now that is one end of a continuum, and the question is, and always has
 been,
 where one should decide breaking a law is legitimate protest and where
 it
 is
 a crime.

 Richmond.


 ___
 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




 --
 Regards,

 Andrew Kluthe
 and...@ctech.me




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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] will amuse you Linux fans

2014-02-06 Thread Andrew Kluthe
How profound: All instruments of law are imposed and maintained by force
and threats.


On Wed, Feb 5, 2014 at 8:46 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote:

 I've come up with a saying some years ago. Anything is constitutional that
 no man is willing to resist. Nothing is constitutional that no man is
 willing to defend. (Substitute constitutional for whatever instrument of
 law your particular country subscribes to).

 Bob


 On Feb 3, 2014, at 19:18 , stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  Not amusing to the look and feel people at Apple.
 
  the Icons are copied or very close. Not to mention about 20 other things.
  Can 'they' get away with this?
 
  sqb
 
  *--*
  *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 
 
  On Mon, Feb 3, 2014 at 4:23 PM, Roger Eller roger.e.el...@sealedair.com
 wrote:
 
  It has a strong resemblance to the Pear Linux distro, which does a fine
 job
  of being Mac-like as well.
 
  At 7:10 in the video below, the star is probably just a coincidence,
  so... yeah...
 
  http://www.youtube.com/watch?v=6HAZTHK869A
 
  ~Roger
 
 
  On Mon, Feb 3, 2014 at 5:50 PM, Colin Holgate co...@verizon.net
 wrote:
 
  Especially if you would like it to be more Windows or OSX like:
 
 
 
 http://www.northkoreatech.org/2014/01/31/north-koreas-red-star-os-goes-mac/
 
 
 
  ___
  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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


Hiding and Showing Pallettes

2013-10-14 Thread Andrew Kluthe
Hey Ya'll,

I have a window that has child windows that are to be hidden when the
parent window is not the current focus, but need to float above the parent
window when the parent window is in focus.

I have tried leveraging suspend and resume to handle hiding and showing
these child palette windows and this works fine when minimizing and
restoring windows.

However, this fails when you click the title bar of another parent window.
the child palette windows just stay in view. There are other things I can
click get it to act like this as well.

Can anyone recommend a better way to do this? Below are my suspend and
resume handlers.

the childStacks property referred to below is simply a list of the stacks
the parent window has launched. It loops through them to see if they still
exist and hides or shows them if they do exist.

on suspendStack
   put suspend
   put the childStacks of me into sChildStacks
   put the mouseStack into sClickedStack
   if sClickedStack contains load or sClickedStack contains scale then
  exit suspendStack
   end if
   repeat for each line ChildStack in sChildStacks
  if ChildStack is among the lines of the OpenStacks then
 lock messages
 set the bottom of stack ChildStack to the bottom of this stack
 set the right of stack ChildStack to the right of this stack
 if the visible of stack ChildStack is true then
hide stack ChildStack
 end if
 unlock messages
  end if
   end repeat
   pass suspendStack
end suspendStack


on resumeStack
   put resume
   put the childStacks of me into sChildStacks
   repeat for each line ChildStack in sChildStacks
  if ChildStack is among the lines of the OpenStacks then
 lock messages
 set the bottom of stack ChildStack to the bottom of this stack
 set the right of stack ChildStack to the right of this stack
 if the visible of stack ChildStack is false then
show stack ChildStack
 end if
 unlock messages
  end if
   end repeat
   pass resumeStack
end resumeStack

-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Hiding and Showing Pallettes

2013-10-14 Thread Andrew Kluthe
J,

That is exactly where I have the handlers placed. The palette stack is a
mainstack that gets cloned off a template stack and the same for the
parent stack that generates the palette.

The parent stack is a scale ticket, a scale ticket has weights which are
input on the palette stacks that are cloned from a template stack. There is
a desire when you have many tickets open to have the palettes move,
minimize with the ticket stack. When I click on another open ticket, the
previous ticket's palette stacks are hidden so they don't show up in the
taksbar, etc and are shown again when moving back.

 I get pretty much the exact functionality I want 80 percent of the time,
but there are certain things I can click on to get them to stay stuck up. I
use a similar script on moveStack and mouseDown in the card to keep the
palette visible and floating above the parent stack. But the one thing I
can't get to fire a suspend message is when clicking the title bar on
windows 7. I have to click back on the ticket and then to a meatier part of
the stack to make the palettes disappear properly.


On Mon, Oct 14, 2013 at 6:16 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 It's hard to say without seeing your setup, but it sounds like the
 handlers are responding to all stacks rather than just the one you want.
 That would imply that the stack script is in use, or that your other
 parent stacks are actually substacks of the main one.

 If the parent stack that should respond has only one card, the easiest way
 to handle that is to put the suspend/resume handlers into the first card.
 That way they will only trigger for that stack. If it has several cards
 then the handlers do need to go into the stack script, and you should add a
 check to be sure the clicked stack is the correct parent before taking any
 action.


 On 10/14/13 1:59 PM, Andrew Kluthe wrote:

 Hey Ya'll,

 I have a window that has child windows that are to be hidden when the
 parent window is not the current focus, but need to float above the parent
 window when the parent window is in focus.

 I have tried leveraging suspend and resume to handle hiding and showing
 these child palette windows and this works fine when minimizing and
 restoring windows.

 However, this fails when you click the title bar of another parent window.
 the child palette windows just stay in view. There are other things I can
 click get it to act like this as well.

 Can anyone recommend a better way to do this? Below are my suspend and
 resume handlers.

 the childStacks property referred to below is simply a list of the stacks
 the parent window has launched. It loops through them to see if they still
 exist and hides or shows them if they do exist.

 on suspendStack
 put suspend
 put the childStacks of me into sChildStacks
 put the mouseStack into sClickedStack
 if sClickedStack contains load or sClickedStack contains scale
 then
exit suspendStack
 end if
 repeat for each line ChildStack in sChildStacks
if ChildStack is among the lines of the OpenStacks then
   lock messages
   set the bottom of stack ChildStack to the bottom of this stack
   set the right of stack ChildStack to the right of this stack
   if the visible of stack ChildStack is true then
  hide stack ChildStack
   end if
   unlock messages
end if
 end repeat
 pass suspendStack
 end suspendStack


 on resumeStack
 put resume
 put the childStacks of me into sChildStacks
 repeat for each line ChildStack in sChildStacks
if ChildStack is among the lines of the OpenStacks then
   lock messages
   set the bottom of stack ChildStack to the bottom of this stack
   set the right of stack ChildStack to the right of this stack
   if the visible of stack ChildStack is false then
  show stack ChildStack
   end if
   unlock messages
end if
 end repeat
 pass resumeStack
 end resumeStack



 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Help with Arrays

2013-10-14 Thread Andrew Kluthe
I wish we had a mongodb native driver with aggregate queries availiable.
::drools::


On Mon, Oct 14, 2013 at 7:25 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Bill Vlahos bvlahos@... writes:

  How would I do this using an array?

 Well, Phil beat me to it, but I was going to suggest much the same thing.
 That repeat loop is what does the trick.

 Of course, the real-world answer probably depends on where the list of
 names
 is coming from... if it's in a mongodb database, just issue an aggregate
 command and get your results much faster with a one-liner than anything you
 could think of doing in a script.

 --
  Mark Wieder
  mwie...@ahsoftware.net



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Passive Shell Commands

2013-10-10 Thread Andrew Kluthe
I don't think this works with just a stackfile but a standalone.


On Thu, Oct 10, 2013 at 10:08 AM, Dr. Hawkins doch...@gmail.com wrote:

 I'm trying to launch a second livecode stack, but it isn't working.

 I created master.livecode and slave.livecod on the desktop.

 I give master a script of

 on openstack
global slApp

put /Users/hawk/Desktop/slave/MacOSX/slave.app/Contents/MacOS/slave
 into slApp
answer starting
breakpoint
 put there is a file  slApp   --yields true
open process slApp for binary update
put the result  -- yields empty
 end openstack

 but slave doesn't get opened.

 Am I doing something wrong here?\
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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: Encrypt/decrypt availability in server / devices

2013-10-07 Thread Andrew Kluthe
They are referring to the ability to pragmatically encrypt/decrypt other
files, not the binary or script passwords.


On Mon, Oct 7, 2013 at 6:21 PM, Vaughn Clement vclem...@gmail.com wrote:

 Hi

 OK I can't think of any reason to encrypt a binary file for an iTunes
 app??? Help me to understand why this would be required?

 Thank you

 Vaughn Clement

 Apps by Vaughn Clement (Support)
 *http://www.appsbyvaughnclement.com/tools/home-page/*
 Skype: vaughn.clement
 https://secure.join.me/appsbyvclement
 FaceTime: vclem...@gmail.com
 LogMeIn also avaialble
 Call on ooVoo at address:  vaughnclement or 9282549062
 Ph. 928-254-9062
 Cloud Hosting Registration Web Site:
 https://my.oditech.com/cart.php?a=addpid=41


 On Mon, Oct 7, 2013 at 1:40 PM, Mike Kerner mikeker...@roadrunner.com
 wrote:

  I can't speak for server, but it works on ios, with the caveat that in
  certain cases I've had to bit16 encode the encrypted file.
 
 
  On Mon, Oct 7, 2013 at 3:23 AM, Christer Pyyhtiä chris...@mindcrea.com
  wrote:
 
   Are there any plans to get encrypt/decrypt available in iOS/Android and
   server (actually could be there but haven't tried)?
  
   rgds christer
  
  
  
  
   ___
   use-livecode mailing list
   use-livecode@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-livecode
  
 
 
 
  --
  On the first day, God created the heavens and the Earth
  On the second day, God created the oceans.
  On the third day, God put the animals on hold for a few hours,
 and did a little diving.
  And God said, This is good.
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


  1   2   3   4   >