Re: anyone else having trouble to get to livecode.com?

2015-07-23 Thread Pascal Lehner
Hi
Works for me from Switzerland.

Best,
Pascal


2015-07-23 9:52 GMT+02:00 Malte Brill :

> Hi,
>
> when I try to access livecode.com  I am getting a
> „too many redirects“ error. Is it just me or is it a general problem?
>
> Best,
>
> malte
>
>
> ___
> use-livecode mailing list
> use-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: Database Input Validation

2015-07-08 Thread Pascal Lehner
Hi Peter

Thanks for the link, your webinar stuff does provide some valuable
information :-)
I saw your work on SQLMagic.. is there any ETA?

Best,
Pascal


2015-07-07 18:24 GMT+02:00 Peter Haworth :

> Hi Pascal,
> Sounds like I may have misunderstood your original question.
>
> I'm a firm believer in putting data validation functionality into your
> database schema.  There are several SQL DDL features that allow you to do
> that and several advantages to having the database handle it for you
> instead of writing your own code.  A couple of weeks ago, I did a webinar
> as part of the Create It With Livecode program that included information
> about this.  You can get the presentation slides at my web site
> www.lcsql.com on the Free Stuff page.
>
> On Tue, Jul 7, 2015 at 1:20 AM Pascal Lehner  wrote:
>
> > Hi Peter and Bob,
> >
> > Thanks for your ideas.
> > I think I found a good way by doing a input check for the user fields on
> > closeField to avoid totally wrong information and then I will store this
> > unicode encoded in the database.
> > This should avoid quite a few problems from the start.
> >
> > Regards,
> > Pascal
> >
> > 2015-07-06 22:49 GMT+02:00 Peter Haworth :
> >
> > > Hi Pascal,
> > > I assume you're referring to SQL injection attacks.
> > >
> > > You can avoid them by using the varslist/arrayname parameter of
> > > revDataFromQuery/revQueryDatabase/revExecute SQL.  See the dictionary
> for
> > > more details but it involves using placeholders in your SQL statements
> > and
> > > loading the values for those placeholders into separate variables or a
> > > numerically keyed array.
> > >
> > > On Mon, Jul 6, 2015 at 1:20 AM Pascal Lehner  wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am working on a desktop app that is running a SQLite database and
> > might
> > > > well end up as a HTML5 server version with MySQL in the not-so-far
> > > future.
> > > > For this I want to have some sort of input validation to avoid
> security
> > > and
> > > > XSS incidents.
> > > >
> > > > Does anyone have a library or function to "sanitize" any sql
> statement
> > > > before running it against the database? Or how do you do this?
> > > >
> > > > Thanks,
> > > >
> > > > Pascal
> > > > ___
> > > > use-livecode mailing list
> > > > use-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: Database Input Validation

2015-07-07 Thread Pascal Lehner
Hi Peter and Bob,

Thanks for your ideas.
I think I found a good way by doing a input check for the user fields on
closeField to avoid totally wrong information and then I will store this
unicode encoded in the database.
This should avoid quite a few problems from the start.

Regards,
Pascal

2015-07-06 22:49 GMT+02:00 Peter Haworth :

> Hi Pascal,
> I assume you're referring to SQL injection attacks.
>
> You can avoid them by using the varslist/arrayname parameter of
> revDataFromQuery/revQueryDatabase/revExecute SQL.  See the dictionary for
> more details but it involves using placeholders in your SQL statements and
> loading the values for those placeholders into separate variables or a
> numerically keyed array.
>
> On Mon, Jul 6, 2015 at 1:20 AM Pascal Lehner  wrote:
>
> > Hi all,
> >
> > I am working on a desktop app that is running a SQLite database and might
> > well end up as a HTML5 server version with MySQL in the not-so-far
> future.
> > For this I want to have some sort of input validation to avoid security
> and
> > XSS incidents.
> >
> > Does anyone have a library or function to "sanitize" any sql statement
> > before running it against the database? Or how do you do this?
> >
> > Thanks,
> >
> > Pascal
> > ___
> > use-livecode mailing list
> > use-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


Database Input Validation

2015-07-06 Thread Pascal Lehner
Hi all,

I am working on a desktop app that is running a SQLite database and might
well end up as a HTML5 server version with MySQL in the not-so-far future.
For this I want to have some sort of input validation to avoid security and
XSS incidents.

Does anyone have a library or function to "sanitize" any sql statement
before running it against the database? Or how do you do this?

Thanks,

Pascal
___
use-livecode mailing list
use-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: Keynote

2015-03-13 Thread Pascal Lehner
Hi Simon

If LiveCode Ltd. (the company formerly known as RunRev) agrees I'd be happy
to host the file as a download on my SpiderOak account or maybe you can
even put it on youtube for everyone to watch?
Since I watched the keynote live yesterday I do not have a copy of your
catch it as yet.

Best wishes,
Pascal


2015-03-13 11:00 GMT+01:00 Simon Knight :

> I have just had a message that my drop box account has been suspended due
> to excessive activity so I guess I will have to remove the file.
>
> Simon
>
>
>
> On 13/03/2015 07:41, Marc at Home wrote:
>
>> Hi Simon,
>>
>> Thank you very much!
>>
>> Best regards,
>> Marc
>>
>> Verstuurd vanaf mijn iPad
>>
>>  Op 13-mrt.-2015 om 08:34 heeft Simon Knight  het
>>> volgende geschreven:
>>>
>>> Marc,
>>>
>>> I took a copy using screen snapz which you are welcome to although
>>> Livecode did say they were making the keynote available.  My copy has a few
>>> audio drop outs each lasting a few seconds.  It is just under 300Mbytes :
>>> https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%
>>> 20v6.4.10ScreenSnapz001.mov
>>>
>>> Simon
>>>
>>>  On 13/03/2015 06:35, Marc at Home wrote:
 Hi,
 Does anyone know if where I can get hold of the Kevin's keynote. I
 missed it :)

 Regards,
 Marc


 ___
 use-livecode mailing list
 use-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: Use MenuPick properly

2015-02-07 Thread Pascal Lehner
Hi Pete and Klaus,

thanks for your quick answer!
Since my items are not in a sequential number I will adapt my code to
Pete's example.

Have a great weekend!

Pascal



2015-02-07 16:47 GMT+01:00 Peter Haworth :

> Hi Pascal,
> After selecting the data from your db, do this
>
> command createKeys pdata,pid
>--pdata is tab delimited data from revdatafromquery
>--   item 1 is the key, item 2 is the display data
>--pid is the long id of the menu button
>
>local tKeys,tText
>
>set the itemdelimiter to tab
>repeat for each line rLine in pdata
>   put item 1 of rLine &return after tKeys
>   put item 2 of rLine & return after tText
>end repeat
>set the text of pid to tText
>set the cKeys of pid to tKeys
>
> end createKeys
>
> on menuPick pitemname
>--use the menuHistory to access the cKeys cprop
>
>put pitemname into field xyx
>put line the menuHistory of me of the cKeys of me into field abc
>
> end menuPick
>
> Pete
> lcSQL Software
> On Feb 7, 2015 7:18 AM, "Pascal Lehner"  wrote:
>
> > Hi all,
> >
> > I use menuPick to have a button with a drop down menu. The menu items are
> > loaded from a database and the users selection needs to be stored back
> > there too.
> >
> > the dropdown list looks as following (id, name)
> > 1, full
> > 2, half full
> > 3, empty
> >
> > I save the users selection in two fields on the card
> > item 1 in a hidden field ( to be stored in the database record)
> > item 2 is displayed in another field
> >
> > obviously, the dropdown list does not look very nice like this. Even more
> > so when I look at a real-world example with several words for "name"
> >
> > Can you think of a way to display only the "name" in the dropdown list,
> but
> > still save the id in the hidden field?
> >
> > Thanks,
> > Pascal
> > ___
> > use-livecode mailing list
> > use-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 MenuPick properly

2015-02-07 Thread Pascal Lehner
Hi all,

I use menuPick to have a button with a drop down menu. The menu items are
loaded from a database and the users selection needs to be stored back
there too.

the dropdown list looks as following (id, name)
1, full
2, half full
3, empty

I save the users selection in two fields on the card
item 1 in a hidden field ( to be stored in the database record)
item 2 is displayed in another field

obviously, the dropdown list does not look very nice like this. Even more
so when I look at a real-world example with several words for "name"

Can you think of a way to display only the "name" in the dropdown list, but
still save the id in the hidden field?

Thanks,
Pascal
___
use-livecode mailing list
use-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: 21 seconds to go

2014-07-31 Thread Pascal Lehner
I even made it down to 0 seconds, then up to 54, then 3121, and now 45
minutes.

Are we moving back in time?

let's see what happens in 45 minutes. I guess it's sorted now since the
campaign was always supposed to close in 45 minutes
can't work anymore anyway..

Pascal

2014-07-31 17:11 GMT+02:00 Richmond :

> On 31/07/14 18:08, Marc Van Cauwenberghe wrote:
>
>> Why 21 seconds left???
>>
>>
>>
>>
> I don't know: the counter did this (over the last 5 minutes):
>
> 21 seconds
>
> 15 seconds
>
> 3161 seconds
>
> 3085 seconds
>
> 50 minutes
>
> 49 minutes
>
> which is very odd.
>
>
> 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


Re: 21 seconds to go

2014-07-31 Thread Pascal Lehner
You have another 50-odd minutes to go, there was a bug with the timer ;-)

there is still time..

Cheers,
Pascal

2014-07-31 17:06 GMT+02:00 Richmond :

> I am, unfortunately, quite unable to donate this time round.
>
> And I see that the goal will not be reached, so the question is whether
> RunRev will go ahead or just drop/differ the work.
>
> 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


Re: One day left

2014-07-31 Thread Pascal Lehner
same here, same here..

as exciting as worldcup finals ;-)


2014-07-31 16:52 GMT+02:00 Dave Kilroy :

> I find myself checking http://livecode.com/livecode-to-html5/ every
> chance I
> get and am only getting productive work done through force of will - but
> I'll give up work for the final minutes and will probably start bouncing up
> and down on my seat...
>
> Am I alone in this or are there others similarly effected? :)
>
> Kind regards
>
> Dave
>
>
>
> -
> "Some are born coders, some achieve coding, and some have coding thrust
> upon them." - William Shakespeare & Hugh Senior
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/One-day-left-tp4681574p4681611.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: Just one app in an Android tablet

2014-07-18 Thread Pascal Lehner
Hi
Possibly there is some Kiosk mode in Android directly - or there is at
least an app for that:
https://play.google.com/store/apps/details?id=com.telelogos.standalonekiosk
or
http://appcrawlr.com/android-apps/best-apps-kiosk-mode

I'm sure you can implement something similar directly in your app too.
However, not sure if LC can digg that deep into the system since I haven't
gotten to Android dev yet..

Regards,
Pascal

2014-07-18 9:31 GMT+02:00 paolo mazza :

> Hi All,
> how can I set up an Android app so that it starts when I turn on the
> tablet, it remains always active and (possibly) it prevents the user
> from opening other apps?
> Any idea?
> Thanks a lot
> Paolo Mazza
>
> ___
> use-livecode mailing list
> use-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: XML Handling

2014-05-23 Thread Pascal Lehner
Hi Peter,
I'm on the road right now so I cannot post much. However, I did some XML
last year. You can find all Informationen in stack script on my bitbucket
repository, just download the. livecode file.

https://bitbucket.org/tate83/t8converter

Hth
Greez pascal
Am 23.05.2014 15:42 schrieb "Peter Hermsen" :

> Sorry for the long post. I'm trying to convert some programs from PHP to
> livecode.  I've been working with LiveCode for several years and haven't
> had the opportunity to work with XML until now.  I went through the
> LiveCode lesson on reading from an XML file, but am running into problems
> when working with live data.  I used the example in:
>
> http://lessons.runrev.com/s/lessons/m/4071/l/7011-How-to-
> read-in-data-from-an-XML-file
>
> When I applied the same methods to my data, I can't retrieve my data
> values.  Instead, I get only "empty" and "xmlerr".  If anybody could guide
> me in the right direction, I'd really appreciate it.  Here's an example
> data file:
>
> 
> 
>   
> 
> 
> Mr
> Joe
> Smith
> 123 Street Rd.
> Apartment 6
> Some City
> NJ
> 08810
> j...@smith.com
> 732-555-1212
> 001
> 
> 
> 
> 1
> 720912
> Widget
> 24.50
> 1
> 
> 
> 
>   
> 1112
> 
> Ms
> Jane
> Doe
> 456 Raod St.
> Some Suburb
> My Little Town
> NJ
> 08711
> j...@bigserver.com
> 609-555-1212
> 002
> 
> 
> 
> 1
> 060002
> Gizmo
> 18.45
> 1
> 
> 
> 2
> 02134
> Thingy
> 21.16
> 1
> 
> 
> 
> 
>
> Using PHP I can easily convert the above file to an Array.  However,
> LiveCode is being a bit more challenging.
>
> Many thanks,
> Pete Hermsen
>
> ___
> use-livecode mailing list
> use-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: Fade effect for a Field

2014-05-16 Thread Pascal Lehner
Hi all,
Thanks for the quick answers. I will give them a try.
I just found another solution that seems even smaller but less configurable.

hide field id 1012 with dissolve

show field id 1012 with dissolve

Here:
https://sites.google.com/a/pgcps.org/livecode/home/disappearing-objects

Now I just need to set it up in a way that it doesn't stop the rest of the
work that is being done in the background


Have a great weekend,

Pascal



2014-05-16 14:46 GMT+02:00 Mark Schonewille <
m.schonewi...@economy-x-talk.com>:

> Hi Pascal,
>
> You need this:
>
> on fadeControl theLongID
>   repeat with x = 100 down to 0 with messages
> set the blendLevel of theLongID to x
> wait 1 millisec with messages
>   end repeat
>   wait 2 seconds with messages
>   repeat with x = 0 to 100 with messages
> set the blendLevel of theLongID to x
> wait 1 millisec with messages
>   end repeat
> end fadeControl
>
> usage:
>
> fadeControl the long id of fld 1
>
> There are many ways to write the same script. You can adjust it to simply
> use the number of a field and you can increase the waiting time. You could
> even use steps to reduce the waiting time, but then you'd have a less
> smooth effect.
>
> --
> 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/
>
>
> On 5/16/2014 14:38, Pascal Lehner wrote:
>
>> Hi all,
>>
>> I want to make a field displaying some status text ("Record saved") that
>> fades from invisible to visible, stays for a few seconds and then fades
>> out
>> again.
>>
>> I have seen that there seems to be a way to do this with groups, but could
>> I also do it with a single field?
>>
>> Thanks,
>>
>> Pascal
>>
>
>
> ___
> use-livecode mailing list
> use-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


Fade effect for a Field

2014-05-16 Thread Pascal Lehner
Hi all,

I want to make a field displaying some status text ("Record saved") that
fades from invisible to visible, stays for a few seconds and then fades out
again.

I have seen that there seems to be a way to do this with groups, but could
I also do it with a single field?

Thanks,

Pascal
___
use-livecode mailing list
use-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: how to restore my Mac?

2014-02-19 Thread Pascal Lehner
Hi Tiemo,

I don't have my Mac in front of me right now but as far as I remember
it does offer a reset permissions function.

Just found this, which should work:
http://macs.about.com/od/Troubleshooting/qt/Mac-Troubleshooting-Reset-User-Account-Permissions.htm
or, as I do, you can give ONYX a chance, it does offer similar and
more functions: http://www.onyxmac.com/
Backup first, as usual ;-)

Regards,
Pascal

2014-02-19 15:02 GMT+01:00 Tiemo Hollmann TB :
> Hi,
>
> I've just messed up my Mac. I executed by accident chmod in my root and gave
> all users all permissions to all my files (what I actually didn't wanted).
>
> I am not used to Macs, so what is the easiest way to restore all file
> permissions? Is there any kind of "reset to factory settings" or what about
> a restore from time machine, will that restore the file permissions, if the
> files are older, or do I have to reinstall the system from scratch and if
> how?
>
> Thanks for any hints
>
> Tiemo
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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


[OT] Bitbucket Livecode Language Support

2013-09-06 Thread Pascal Lehner
Hi all,

Just wanted to let you know that I raised a ticket with bitbucket asking
them to add livecode (community) as a supported language. If they accept my
request, bitbucket should be able to do DIFF and other fun stuff with
.livecode files and display the scripts instead of "cannot display binary
file".

Here is the ticket:
https://bitbucket.org/site/master/issue/8046/please-add-livecode-language-support

Have a nice weekend,

Pascal

--

Pascal Lehner
___
use-livecode mailing list
use-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: Deleting certain fields behaves strangely

2013-09-02 Thread Pascal Lehner
Wow, that was quick :-)
Thanks Alex, it's working fine now

Best,
Pascal

On 2 September 2013 17:34, Alex Tweedly  wrote:

> I think the problem is that you are referring to the fields by *number* -
> so when you delete the first one - it's gone. So now the (old) "field 2"
> has become "field 1"
>
> Try doing your loop as
>repeat with tField = the number of fields *on* card targetCard down to 1
>
> -- Alex.
>
>
> On 02/09/2013 12:59, Pascal Lehner wrote:
>
>> Hi all
>>
>> I have a script that creates fields named "Point1", "Point2" ...
>> describing
>> certain data points on a graph. This works fine. However, when the number
>> of Points on the new graphic is smaller than on the old, I have old
>> "PointX" that remain from the previous graphc. Thus I want to implement a
>> delete routine to get rid of all fields and recreate them.
>>
>> In the current example I have 6 data points called
>> Point1 to Point6
>>
>> 
>> *repeat* with tField = 1 to the number of fields *on* card targetCard
>> *  put* the short name of field tField into tFieldName
>> *if* tFieldName contains "Point" *then
>> **  put* "Deleting field no." && tField && "named" && tFieldName
>>*delete* field tFieldName
>>  *end* *if*
>> *end* *repeat
>> *
>>
>> However, the following shows a very strange behavior I cannot understand
>> just now.
>> When I run it, it deletes Point1, Point3, Point5 but does not care about
>> the even numbers and breaks with an error message "Chunk: no such object".
>> When I run it again just afterwards, Point4 is the only survivor, same
>> error message.
>> When I run it a third time, Point4 is removed and the new graph is drawn
>> correctly.
>>
>> Can you spot the issue? It is LiveCode Community 6.1.1. RC4
>>
>> Thanks,
>>
>> Pascal
>> __**_
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode<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<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


Deleting certain fields behaves strangely

2013-09-02 Thread Pascal Lehner
Hi all

I have a script that creates fields named "Point1", "Point2" ... describing
certain data points on a graph. This works fine. However, when the number
of Points on the new graphic is smaller than on the old, I have old
"PointX" that remain from the previous graphc. Thus I want to implement a
delete routine to get rid of all fields and recreate them.

In the current example I have 6 data points called
Point1 to Point6


*repeat* with tField = 1 to the number of fields *on* card targetCard
*  put* the short name of field tField into tFieldName
*if* tFieldName contains "Point" *then
**  put* "Deleting field no." && tField && "named" && tFieldName
  *delete* field tFieldName
*end* *if*
*end* *repeat
*
However, the following shows a very strange behavior I cannot understand
just now.
When I run it, it deletes Point1, Point3, Point5 but does not care about
the even numbers and breaks with an error message "Chunk: no such object".
When I run it again just afterwards, Point4 is the only survivor, same
error message.
When I run it a third time, Point4 is removed and the new graph is drawn
correctly.

Can you spot the issue? It is LiveCode Community 6.1.1. RC4

Thanks,

Pascal
___
use-livecode mailing list
use-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: Edit row, save to database

2013-08-29 Thread Pascal Lehner
Thanks Björnke, I somehow missed those two articles.
Works exactly as hoped, especially in combination with several of those:

*set* the dgColumnIsEditable["IngrCurrency"] of *group* "GridIngredients" to
false
Best regards,
Pascal


On 29 August 2013 00:48, Björnke von Gierke  wrote:

> sure, i suggest you check out the lessons, mosg dg stuff is documented
> there:
>
> http://lessons.runrev.com/m/datagrid
>
> for example:
>
> http://lessons.runrev.com/s/lessons/m/datagrid/l/7314-how-do-i-add-a-row-of-data-to-an-existing-data-grid
> or:
>
> http://lessons.runrev.com/s/lessons/m/datagrid/l/7337-how-do-i-save-changes-the-user-makes-in-an-editor-field-to-an-external-data-source
>
> On 28.08.2013, at 13:53, Pascal Lehner wrote:
>
> > Hi all,
> >
> > Sitting in the Indian sun and writing on my hobby project. (Sorry for
> > that.. ;-)
> > Couldn't be better if there wasn't that one thing I cannot figure out
> just
> > now.
> >
> > I load data from several tables (main table: ingredients) from a a SQLite
> > database into a data grid.
> >
> > Now I wan't to provide an option to edit such displayed rows within the
> > data grid. The user should be able to click on a certain field and then
> > edit it however he wishes. When clicking save (or upon exiting this
> field),
> > these data should be saved back to the database. Kinda like Excel can do.
> > Also, there is fields where he should be able to chose from a drop-down
> > menu (like 'categories') since these are linked tables and I only store
> the
> > index no in the 'ingredients table'.
> >
> > Similarly, I wan't to provide an option to add new rows but I think
> that's
> > going to be a similar command/code.
> >
> > Is there an easy way to do that?
> > If not, I might just display several fields with the data for him to edit
> > below the grid but that probably isn't what a user expects from such a
> > datagrid..
> >
> > Thanks in advance.
> >
> > Best regards,
> >
> > Pascal
> > ___
> > use-livecode mailing list
> > use-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 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
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Datagrid: Edit row, save to database

2013-08-28 Thread Pascal Lehner
Hi all,

Sitting in the Indian sun and writing on my hobby project. (Sorry for
that.. ;-)
Couldn't be better if there wasn't that one thing I cannot figure out just
now.

I load data from several tables (main table: ingredients) from a a SQLite
database into a data grid.

Now I wan't to provide an option to edit such displayed rows within the
data grid. The user should be able to click on a certain field and then
edit it however he wishes. When clicking save (or upon exiting this field),
these data should be saved back to the database. Kinda like Excel can do.
Also, there is fields where he should be able to chose from a drop-down
menu (like 'categories') since these are linked tables and I only store the
index no in the 'ingredients table'.

Similarly, I wan't to provide an option to add new rows but I think that's
going to be a similar command/code.

Is there an easy way to do that?
If not, I might just display several fields with the data for him to edit
below the grid but that probably isn't what a user expects from such a
datagrid..

Thanks in advance.

Best regards,

Pascal
___
use-livecode mailing list
use-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: Where to store database ID

2013-07-25 Thread Pascal Lehner
Hi Mike

Thanks for the reply, it seems I can do less :-)
I got into the habit of doing it that way when I first experimented with
sqlite and DBLib and noticed that I get a new DBID everytime I reopen the
stack.
So I basically could just set the global to 1 and this works, as long as I
just use one DB? When using two different ones, would I just use 1 and 2?

I figure since it is a local DB it does not require a unique key or
something (which 1 or 2 are not really, anyways..).

Best regards,
Pascal

On 25 July 2013 16:07, Mike Kerner  wrote:

> I think you are overthinking this.
>
> IMHO, globals are far more convenient for the DBID.  The DBID does not
> really expire, especially for SQLite, where you are not connecting to a
> server.  When you close your stack or .  The only time the DBID is going to
> be different is if you open different DB's in a different order.  If you
> are only ever using 1 db, then the DBID will always be 1, but you still
> have to tell LC to open the DB when you open the stack, obviously.
>
> What I, and probably most of us have done, is to write some DB functions
> and handlers, so that I can pass the tables and columns that I want, and
> the functions/handlers use the DBID and call the LC functions to actually
> process the query.
>
> If you are using a function/handler to do your database interaction, then
> it doesn't even matter how you have the DBID stored - in a field, a custom
> property, a global, some array, or anything else, because the
> function/handler will be the only place that needs it.
>
>
> On Thu, Jul 25, 2013 at 10:56 AM, Pascal Lehner  wrote:
>
> > Hi all,
> >
> > I am working on a project with a SQLite DB and I'm wondering if there is
> an
> > improvement to the following:
> >
> > On preOpenStack I connect to the database and store the connection ID in
> a
> > custom property on the main stack.
> >
> > In whatever command I  write or execute where I use any sql command to
> read
> > or write data, I always have to get the connection ID from the custom
> > property and put it in a local variable as the first thing of this
> command.
> > This means I repeat that "put custom variable in local variable" quite
> > often..
> >
> > Is this the right way or would you probably store it once in a global or
> > so? Also, when does this connection ID expire and I need a new one? How
> can
> > I recognise that before the DB returns an error?
> >
> > Cheers from foggy Edinbra..
> >
> > Pascal
> > ___
> > use-livecode mailing list
> > use-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


Where to store database ID

2013-07-25 Thread Pascal Lehner
Hi all,

I am working on a project with a SQLite DB and I'm wondering if there is an
improvement to the following:

On preOpenStack I connect to the database and store the connection ID in a
custom property on the main stack.

In whatever command I  write or execute where I use any sql command to read
or write data, I always have to get the connection ID from the custom
property and put it in a local variable as the first thing of this command.
This means I repeat that "put custom variable in local variable" quite
often..

Is this the right way or would you probably store it once in a global or
so? Also, when does this connection ID expire and I need a new one? How can
I recognise that before the DB returns an error?

Cheers from foggy Edinbra..

Pascal
___
use-livecode mailing list
use-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] Skydrive

2013-07-18 Thread Pascal Lehner
Hi Pete,

I also used Google Drive for a while, but when starting to scan all my
stuff I actually switched to Wuala about 2 years ago (http://www.wuala.com/en/)
- I only have one small paper-based folder with diplomas and stuff by now.

Wuala offers about the same features including team options as the other
apps, but with one (for me) important feature: end to end encryption. So do
not loose your password! And since Wuala is a Swiss company based in
Switzerland (now owned by French LaCie), there actually is some laws
protecting my data from being opened without any court order by someone
else (apart from the fact that Wuala cannot access my files at all since
they are only stored encrypted). They offer clients for Win, Mac,
Linux, iOSand Android; some sort of web-based access is also possible,
but due to the
encryption it basically runs a install-free client when starting web-based.
Wuala offers backup, selective sync and lots of other stuff as well. The
only thing I sometimes miss when setting up a new computer is a
LAN-internal direct sync, since that would be quicker..

I spent quite some time finding the perfect solution for me back then and
am still absolutely happy with my selection. Support is also very quick.

Wuala might be a bit higher priced than other services, but depending on
the amount of data you actually have it is absolutely worth it.

Best regards,
Pascal

P.S. I know this sounded like a sales pitch, but I am just one happy user
without any ties to them.. Only thing I gain is if you chose to click this
link ( http://www.wuala.com/referral/KBH7MG6PG3GJHMBCBP6H ) instead of the
above when signing up since this will give me a gigabyte for free for a
year ;-)


On 18 July 2013 17:50, Peter Haworth  wrote:

> I've been using Google Drive for quite a while but have started having a
> lot of problems with it resulting in complete re downloading of all my
> files on several occasions - that takes a couple of hours and Drive chews
> up 100% of my CPU while it's happening.
>
> Just installed Skydrive to see if it works any better.  All is good so far
> except that it seems to have the WIndows file naming restrictions in it - I
> got some files that couldn't be sync'd because they included characters
> like period or colon - not good for Mac users.
>
> I can probably live with that but wondering if anyone on the list uses
> Skydrive and would share their experiences with it.
>
> Pete
> lcSQL Software 
> ___
> use-livecode mailing list
> use-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


Valentina DB, SQLite and DBLib

2013-07-02 Thread Pascal Lehner
Hi everyone,

Another rather n00b-ish question ;-)

I have a SQLite database with about 15 tables. Some of them are
obviously relational. Some of the tables will have a row added every
15 or 30 minutes, but only with 4-5 columns each, the others will be
much smaller.

I started to write my app using DBLib which works very nicely. I
assumed that I have to handle the table-relations (update several
fields in several tables if necessary) myself and remember to write
the data everywhere where it is required.

I installed Valentina Studio yesterday and see that Valentina actually
can handle diagrams and automatically creates the connecting tables to
handle m:m relations. Does that mean using the right command, I can
also have the data automatically interlinked in these realtion tables?

Now I'm wondering: Can I use Andre's DBLib to write the data to the
database and get the relations handled automatically after I add some
Valentina DB script to my stack? Or do I need to use the
VDatabase-handles and probably loose the nice features like DBWhere
from DBLIB? What would you do? Are there any VDatabase features that I
just MUST have or use?

I might also want to offer MySLQ and SQLite in the future for this app
and make as less changes as possible.

Best regards,

Pascal

___
use-livecode mailing list
use-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: revsecurity.dll appearing for (nearly) no reason

2013-06-27 Thread Pascal Lehner
Hi Mark,

Thank for the hint, I found the settings in the settings :-)


Regards,
Pascal


On 27 June 2013 13:04, Mark Schonewille wrote:

> Hi Pascal,
>
> Do you search for inclusions automatically? Do it manually and you should
> be fine.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: 
> http://twitter.com/**xtalkprogrammer<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
>
> Fill out this survey please
> http://livecodebeginner.**economy-x-talk.com/survey/<http://livecodebeginner.economy-x-talk.com/survey/>
>
>
> On 6/27/2013 12:41, Pascal Lehner wrote:
>
>> Hi everyone,
>>
>> I just found out that when buidling for Windows, revsecurity.dll is
>> automatically included as well to support https. However, my stack does
>> not
>> use https at all except for one link in the comments!
>>
>> Now I wanted to ask you how you usually handle such things - should I file
>> that as a bug/enhancement or just accept it as a "feature"?
>>
>> Cheers,
>>
>> Pascal
>>
>
>
> __**_
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<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


revsecurity.dll appearing for (nearly) no reason

2013-06-27 Thread Pascal Lehner
Hi everyone,

I just found out that when buidling for Windows, revsecurity.dll is
automatically included as well to support https. However, my stack does not
use https at all except for one link in the comments!

Now I wanted to ask you how you usually handle such things - should I file
that as a bug/enhancement or just accept it as a "feature"?

Cheers,

Pascal
___
use-livecode mailing list
use-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: XML and Unicode

2013-06-13 Thread Pascal Lehner
Thanks, that works perfectly :-)
I did not try using decode and encode at the same time..

Pascal




On 13 June 2013 15:08, Mark Schonewille wrote:

> Hi Pascal,
>
> Read the data as binary and convert it.
>
> put url "binfile:folder/file.xml" into myData
> put uniDecode(uniEncode(myData,"UTF8")) into myData
>
> --
> 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
>
> We have time for new software development projects. Contact me for a quote.
>
>
>
>
>
>
> On 13 jun 2013, at 14:54, Pascal Lehner wrote:
>
> > Hi everyone,
> >
> > I am working on small tool to convert a specific XML file into several
> html
> > pages.
> > The whole thing looks good and should be working fine eventually.
> However,
> > there is one thing I did not figure out yet: Unicode.
> >
> > My XML is partially french and has a lot of symbols like this:
> >   Personnes du monde rural aux 19ème et 20ème
> > siècles
> >
> > however, when I read this file into Livecode and take it apart, I get
> stuff
> > like this in my variables:
> >
> >Personnes du monde rural aux 19ème et 20ème siècles
> > Can someone help me changin these symols back to their originals
> > respecitvely I will need them in a html file in the end. I guess that's
> > some Unicode issue but I am somehow lost when and how to best change the
> > strings..
> >
> > Thanks a lot :-)
> >
> > Pascal
> >
> > --
> >
> > Pascal Lehner
> >
> > 147/1 St Leonards Street
> > Edinburgh
> > EH8 9RB
> > United Kingdom
> > ___
> > use-livecode mailing list
> > use-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

XML and Unicode

2013-06-13 Thread Pascal Lehner
Hi everyone,

I am working on small tool to convert a specific XML file into several html
pages.
The whole thing looks good and should be working fine eventually. However,
there is one thing I did not figure out yet: Unicode.

My XML is partially french and has a lot of symbols like this:
   Personnes du monde rural aux 19ème et 20ème
siècles

however, when I read this file into Livecode and take it apart, I get stuff
like this in my variables:

Personnes du monde rural aux 19ème et 20ème siècles
Can someone help me changin these symols back to their originals
respecitvely I will need them in a html file in the end. I guess that's
some Unicode issue but I am somehow lost when and how to best change the
strings..

Thanks a lot :-)

Pascal

--

Pascal Lehner

147/1 St Leonards Street
Edinburgh
EH8 9RB
United Kingdom
___
use-livecode mailing list
use-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: LiveCode and Linux

2013-06-06 Thread Pascal Lehner
Hi Joe,
I think there is a bug with sdk paths in 6.0.1. Afaik it was fixed in
6.0.2, probably worth giving that a try.

Best,
Pascal
On 6 Jun 2013 22:48, "Joe Klemmer"  wrote:

> Very new to LiveCode but not Linux or programming in general.  I have
> LiveCode Community 6.0.1 installed on my Fedora 18 box but I'm having
> a small problem getting the mobile stuff configured.  When I go to
> Preferences -> Mobile Support to setup for Android development, the
> JDK path shows (none) and no matter what I enter in the "choose
> directory" it remains none.  I have the Sun... I mean Oracle JDK
> installed in /usr/java/jdk1.7.0_21/ and the OpenJDK in
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19 but nothing I enter into this
> input seems to take.
>
> Also, when I try to set the Android SDK path, it keeps telling me
> there's no SDK installed.  I have $HOME/Programs/android-sdk-linux,
> $HOME/Programs/adt-bundle-linux-x86/sdk and
> $HOME/Programs/android-studio/sdk.  One of these should be right.
>
> Any pointers to where I could look for a solution or workaround or
> something?
>
> Much thanks,
> Joe
>
> --
> Indie Game Dev and Linux User
> Contact Info: http://about.me/joeklemmer
> "Running Linux since 1991"
>
> ___
> use-livecode mailing list
> use-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: DB Lib goes dual license with GPL and Commercial License

2013-05-22 Thread Pascal Lehner
Hi Andre,
Thanks very much for that!

I just watched your video, you will save me a lot of SQL :-)
Just one quick question I could not find on the website and which is
probably obvious for the more advanced people here: How do I install DBLib?
Copy to the plugins folder in my documents?

Greetz from Edinburgh,
Pascal




2013/5/22 Magicgate Software - Skip Kimpel 

> As always, YOU ROCK!
>
> Thanks for your hard work and dedication!
>
> SKIP
>
>
> On Tue, May 21, 2013 at 8:46 PM, Andre Garzia 
> wrote:
>
> > Hey Guys,
> >
> > Great news for LiveCode Community Edition lovers and GPL fans! DB Lib,
> the
> > minimalistic database library for LiveCode just went dual license with
> GPL
> > and Commercial licenses available.
> >
> > If you're building GPL software, you can just download the library and
> > start using it. If you want to ship closed source software, you just need
> > to buy a commercial license.
> >
> > You can check the blog post at:
> > http://www.andregarzia.com/posts/en/dblibgoesopensource
> >
> > You can check the DB Lib page at:
> > http://www.andregarzia.com/pages/en/dblib
> >
> > Cheers
> > andre
> >
> > --
> > http://www.andregarzia.com -- All We Do Is Code.
> > http://fon.nu -- minimalist url shortening service.
> > ___
> > use-livecode mailing list
> > use-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


Mobile Bandwith and Battery Optimization

2013-05-21 Thread Pascal Lehner
Hi everyone,

I just stumbled accross this video and the free online O'Reilly book from
Ilya Grigorik on "High Performance Browser Networking". Thought that might
be interesting to all the app developers out there..

Grigorik also spoke during Google I/O 2013 - Mobile Performance from the
Radio Up: Battery, Latency and Bandwidth Optimization:
http://www.youtube.com/watch?v=dASOm88Wh8g&feature=player_embedded

Greetz from a very sunny Edinburgh (that's day 2 of 2 from this years
summer..),

Pascal

--

Pascal Lehner

147/1 St Leonards Street
Edinburgh
EH8 9RB
United Kingdom

Mobile +44 79 706 31 400
www.forall.ch
http://about.me/pascal.lehner
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Push Notifications

2013-05-15 Thread Pascal Lehner
Hey everyone,

I used to set up a test with Android push notifications following this
HowTo and the stack that comes with it:
http://lessons.runrev.com/m/4069/l/59312

I managed to set up all the dev stuff and actually generate my mobile's
token. But when I try to send a notification using the stack
AndroidPushTest_new from the HowTo, I get a "error: communication failed"
in the stack. Could someone else with a working set up give this stack a
try?

Thanks!

Pascal

Pascal Lehner


147/1 St Leonards Street
Edinburgh
EH8 9RB
United Kingdom
___
use-livecode mailing list
use-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: Conference get-together

2013-05-15 Thread Pascal Lehner
Was great to meet some of this list at the conference.
I can't make it tonight, but will see you all (I hope) at the cocktails
tomorrow evening..

Best,
Pascal



2013/5/15 Ian Wood 

> By the way, the food servings are massive!
>
> Ian
>
> On 15 May 2013, at 20:02, Ian Wood  wrote:
>
> > There's six of us there already, we've grabbed a big table upstairs.
> >
> > Ian
> >
> >
> > On 15 May 2013, at 19:40, Mark Wieder  wrote:
> >
> >> We're going drinking tonight at Hemma's. All invited. I'll be there
> about 21:30.
> >> Have fun.
> >> 75, Holyrood Rd, Edinburgh.
> >>
> >> --
> >> Mark Wieder
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-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: US at conference?

2013-05-12 Thread Pascal Lehner
Welcome to the island :-) and since its not raining right now, I'd even
consider it good weather..

Just in case you want to go to the castle and there is a big crowd trying
to get tix - just buy them beforehand online. you get a code which you then
can use to print the tix right at the castle entrance without any waiting..
http://tickets.historic-scotland.gov.uk/webstore/shop/ViewItems.aspx?CG=TKTS&C=GA

greez Pascal





2013/5/12 Ralph DiMola 

> What day? ?
>
>
> Ralph DiMola
> MIS DirectorEvergreen Information Services
> rdim...@evergreeninfo.net
>
> -Original message-
> From: Monte Goulding 
> To: How to use LiveCode 
> Sent: Sun, May 12, 2013 07:34:40 GMT+00:00
> Subject: Re: US at conference?
>
>
> Rebecca and I should be @ The George by around 1:30PM. Flying out of
> Stansted @ 11:50. Thinking of taking a look at the castle after dropping
> off the bags if anyone wants to join us...
>
> Cheers
>
> --
> Monte Goulding
>
> M E R Goulding - software development services
> mergExt - There's an external for that!
>
>
>
>
>
> __**_
> use-livecode mailing list
> use-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: [ANN] Book. Programming LiveCode for the Real Beginner

2013-04-26 Thread Pascal Lehner
A ebook would be cool in addition to the paperback as a reference to easily
carry around.
However, for that type of books I prefer "real" books with the possibilty
to make easy notes, and the possibility to make an index (and frustrated
throwing around with a kindle isn't that fun either ).

Thanks to Heather I will attend the first two days of the conference as
well :-)
Hope to see you there between the workshops

Regards,
Pascal




2013/4/26 William Humphrey 

> It's not an eBook?  I can't buy it on amazon and read in on my kindle?
>
> How long before it will be available that way? I don't want to hurt any
> trees.
>
> Brevity and errors in this email probably the result of being sent by a
> mobile device.
>
> On Apr 25, 2013, at 9:19 PM, Rodney Somerstein  wrote:
>
> > Hi Mark,
> >
> > I do think that the community needs a book like this and was all ready
> to purchase a copy, only to find that it isn't going to be available as an
> ebook. Any chance you will be reconsidering that stance? I, and quite a few
> other people I know, don't really buy much in the way of paper books any
> longer. The thought of a tutorial and reference book that I can't search
> really isn't very appealing.
> >
> > While I personally am not in favor of DRM, if you sell it as an ebook
> through Amazon or Barnes & Noble they will automatically apply DRM to the
> book unless you request otherwise. That would likely prevent casual piracy
> of the book - though certainly not all. If you simply don't like ebooks,
> then I don't really know what to suggest.
> >
> > Anyway, should you reconsider and make an ebook version available, I'll
> gladly purchase a copy to read on my iPad as a PDF or using the Kindle app.
> >
> > Thanks,
> >
> > -Rodney
> >
> >> Mark Schonewille 
> >> April 25, 2013 7:48 PM
> >> Hi LiveCoders,
> >>
> >> A new book about LiveCode, titled Programming LiveCode for the Real
> Beginner, is now available at http://qery.us/3fr
> >>
> >> In 2011, I started writing a book. The purpose was to write a book
> simple enough to get people started with LiveCode and advanced enough to
> elevate the reader beyond the beginners stage. It took me slightly longer
> than I had planned for as I had a few small setbacks, but I have finally
> finished writing it.
> >>
> >> The first few chapters of the book deal with basic syntax, such as
> mouseUp handlers and the go command. The next few chapters discuss subjects
> like chunks, variables, repeat loops and printing. Special attention is
> paid to the property inspector, controls and their properties. Halfway the
> book, the reader should be able to create a simple programme.
> >>
> >> Advanced subjects discussed in the second half of the book include
> unicode, databases, sockets, MySQL, XML and more. A complete overview of
> the contents is available in the sample of the book on the website (please
> note: I will post the latest version of the sample in a few days).
> >>
> >> Currently, I'm making the last corrections to the lay-out, registering
> an ISBN and adjusting the book cover according to the printer's
> specifications among other things. I will send it to the printing company
> on 1st May and it should be available right before the conference in
> Edinburgh. I won't be there, but with a little luck a few copies of my book
> will be.
> >>
> >> I have sold quite a few copies already, but not enough to break even.
> If you think that the LiveCode community needs a book like this, please
> consider buying your own copy. Obviously, if you're just starting with
> LiveCode, then I wrote this book especially for you. The more copies are
> sold, the more likely this book is to stay available for years to come.
> >>
> >> There are several ways to order the book. Shipping costs all over the
> world are included. Contact me for reseller and bulk rates.
> >>
> >> --
> >> 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
> >>
> >> ___
> >> use-livecode mailing list
> >> use-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
> 

Re: [ANN] Book. Programming LiveCode for the Real Beginner

2013-04-26 Thread Pascal Lehner
Hi Mark
I also ordered one of the books, it does look great and will glow in the
shelf ;-)

If there is a way to pick it up in Edinburgh that would be great. Since
there is no student package available I won't be able to attend the
conference but I am living here..

Regards,

Pascal


2013/4/26 Dave Kilroy2 

> Hi Mark, well done on creating the book - I've just bought a copy and am
> looking forward to reading it!
>
> After I orded it your website sent me an email listing (amongst other
> things) how long I might have to wait for it to arrive in the post. I
> notice
> you said that some copies of your book would make it to the conference in
> Edinburgh - any chance I could pick up my copy there instead of having to
> wait longer for the postman to arrive?
>
> Dave
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/ANN-Book-Programming-LiveCode-for-the-Real-Beginner-tp4663966p4663980.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: [OT] Clarify on Macheist

2013-04-17 Thread Pascal Lehner
Very nice deal, thanks for the hint.
CleanMyMac is worth the bucks alone..

best,
Pascal


2013/4/17 Trevor DeVore 

> Clarify (created with LiveCode) is part of the new MacHeist deal that is
> running for $10. Among other apps, the bundle also includes xScope and
> potentially Path Finder. I use xScope all of the time when moving UI design
> from the PSD files the UI designer provides into LiveCode.
>
> http://www.macheist.com
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> www.clarify-it.com-www.screensteps.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