> On Aug 24, 2017, at 12:00 AM, J. Landman Gay via use-livecode
> wrote:
>
> On 8/23/17 10:27 PM, Stephen MacLean via use-livecode wrote:
>> Only about ~15% of Android devices are at anywhere near a recent patch level
>> or current OS version.
>> Android, locked
Thanks for that idea Mike!
On Aug 23, 2017 10:07 PM, "Mike Bonner via use-livecode" <
use-livecode@lists.runrev.com> wrote:
> If things don't work as well as you like, and you decide to go with
> sockets, (and you are ok with running a small server process) chatrev is
> cool, is already built,
OK I successfully built a little custom Control which is a searchform that
dynamically changes out some options depending on the class of audio being
viewed by the user..
Pretty straight forward, a search fields, some radio buttons for what to search
in and then two other sets of radio
On 8/23/17 10:27 PM, Stephen MacLean via use-livecode wrote:
Only about ~15% of Android devices are at anywhere near a recent patch level or
current OS version.
Android, locked down like iOS (store only apps, current OS version, no - cheap knock
offs, stock only OS, etc, etc.) may be close to
Sannyasin Brahmanathaswami wrote:
> I can't wait to use the new tools for watching processes to see where
> > bottle necks arise…
...
> did you see the pitch for business upgrade? scroll down.. there some
> new thing that give you time on processes
Thanks. I'd forgotten that was a new premium
> On Aug 23, 2017, at 4:23 PM, Richard Gaskin via use-livecode
> wrote:
>
> J. Landman Gay wrote:
>
> > On 8/23/17 9:46 AM, Bob Sneidar via use-livecode wrote:
> >> But the reason there are more attacks against Android is simple.
> >> It's orders of magnitude
I rely very much on SQLite and I do not use & store blobs at all.
reason 1 is that it always required special handling which is a red flag
reason 2 when I googled it ..it was all problems.
so I base encode the binary variable and then save it in a text field in
table. no problems and no bs
Glen Bojsza wrote:
> I was looking for feedback on whether it is better to store images as
> BLOBs in an SQLite database for a LC app or store paths to the images
> in the SQLite database and the images in a separate folder.
After reading this thread, I searched for "SQLite and rsync"
to
If things don't work as well as you like, and you decide to go with
sockets, (and you are ok with running a small server process) chatrev is
cool, is already built, and should be easy to modify to do what you want.
(Its already set to distribute messages from clients to the server then out
to the
i understand. Thats exactly what I am I am going with ease of
implementation.
the list of files would be obtained using "the files" function of livecode
. from a mapped drive on a LAN.
Thats what I am thinking. it should all be ok .. i hope the OS
caches to memory the folder
So you would be using sockets to send a list of 1 or more file names
(notifications) across the network to other computers?
If so, I am not sure there is any significant performance difference
than having the notifications in a database.
The only practical difference may be the ease of
Well thanks to all of you urging me to stay away from re-processing the array
but going back to the dbase.
I Looked back at my code and realized that I *had* set it up to be re-usable, I
just forgot how well I had done that
I have this function in the behavior_Listen which is attached to the
Have you looked up textencode and textdecode?
Sent from my iPhone
> On Aug 23, 2017, at 6:45 PM, Dr. Hawkins via use-livecode
> wrote:
>
> I've really never paid much attention to UTF; 7 bit ASCII is fine for
> everything I've ever needed to do (save immigration
interesting ... the filter in the dictionary should optionally search the
text for each entry. i might add that as a feature request.
On Wed, Aug 23, 2017 at 9:01 PM, Tom Glod wrote:
> cuz its either utf-8 or utf-16.
>
> check the textencode and textdecode functions to
cuz its either utf-8 or utf-16.
check the textencode and textdecode functions to find what you need.
On Wed, Aug 23, 2017 at 6:45 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I've really never paid much attention to UTF; 7 bit ASCII is fine for
> everything
like for example
inv-fileidhash.not would mean "invitation to file with that ID" but
having been placed in a particular user's notification folder, it would
know the notification is for that user and no other.
make sense?
On Wed, Aug 23, 2017 at 8:55 PM, Tom Glod
by notification I don't mean anything fancy or OS or network based...just a
notification system that shows to the user "so and so has invited you to a
file"... defined entirely by me.
the code in the filename is pre-defined, they would all be lower case and
under x amount of characters.
my
I think you need to use ":memory:" as the name actually. It looks (from
the sqlite docs) that supplying no name creates a temporary db file.
And now i'm curious.. Is there a way to attach the file based db to a
memory db?
IE Open the file database, then use the info here:
Daybed's built in local storage system is the save stack, works well on all
platforms. I am actually fiddling around with using SQLite as a save file as
well, just haven't had a lot of free time. You can set things to sync
whenever possible rather easily as well.
CouchDB does have a local save
Yep… I just found that too.
and related 4-yr old discussion
http://use-livecode.runrev.narkive.com/ntBLeXGM/relative-performance-of-two-dimensional-array-and-in-memory-sqlite-database
What I don't get is
"don't give it a name"open/create in memory,
but the data is on SQLite dbase on
On 24/08/2017 01:04, Sannyasin Brahmanathaswami via use-livecode wrote:
2) "create an in-memory SQLite Database."
this is news! Where do we find docs on this? right now the SQLite data base
is in
specialFolderPath("documents")/jnanam.sqlite
how do you "create in memory?
According to
Alex, thanks, this is very helpful
1) put x into aFilteredPlayListIndex[z]
(there's no need to replicate all the data when the array will continue to
exist, just keep the indices you want).
awesome… I think I could increment the z from 1 up and then my clickline
number will still work.
2)
The media meta dbase "jnanam.item" table actually has 87 columns, ha! way over
kill, but I'm actually glad we did that because there is indeed "nothing we
cannot know about any media item in the universe"
But any given item… only uses a subset.
media_type = "audio/song"
and
media_type =
did you see the pitch for business upgrade? scroll down.. there some new thing
that give you time on processes
On 8/23/17, 9:28 AM, "use-livecode on behalf of Richard Gaskin via
use-livecode" wrote:
> I
"Security Fix: A stack overflow vulnerability was found in nan* functions that
could cause applications, which process long strings with the nan f" WHAT
arbitrary code? Code that can run elevated? What does arbitrary mean? Just
because you can get code to run, doesn't mean it can override
And I quote, "The security bug can be exploited by a logged-in attacker, or
malware on the computer, to gain total unauthorized control of the Mac." How
did the attacker "log in"? How did the malware GET on the computer?? That is my
point. ANY software that an end user installs no longer
Thanks Monte, great to hear!! Looking forward to it.
Best,
Steve MacLean
> On Aug 23, 2017, at 4:40 PM, Monte Goulding via use-livecode
> wrote:
>
>
>> On 24 Aug 2017, at 1:06 am, Stephen MacLean via use-livecode
>> wrote:
>>
I've really never paid much attention to UTF; 7 bit ASCII is fine for
everything I've ever needed to do (save immigration forms, but that was
handled by someone else's software).
Is there a "cleanser" hidden somewhere in livecode that converts arbitrary
text to plain old boring (and those
xcode 8.3 and 8.3.3
On Wed, Aug 23, 2017 at 6:18 PM, Glen Bojsza via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Well, as usual, upgrading OS X and doing an install of Xcode causes LC
> 8.0.01 not to find any provisioning profile and wants iOS 9.3 SDK.
>
> The Xcode shows a 10.3 SDK
Well, as usual, upgrading OS X and doing an install of Xcode causes LC
8.0.01 not to find any provisioning profile and wants iOS 9.3 SDK.
The Xcode shows a 10.3 SDK so now I need to figure out how to add earlier
SDKs...any suggestions on how to go about this?
Or do I need to download Xcode 7.3
J. Landman Gay wrote:
> On 8/23/17 4:19 PM, Richard Gaskin via use-livecode wrote:
>> But here I just did a Google search - this was the first one I found:
>>
>> Get root on an OS X 10.10 Mac: The exploit is so trivial it fits
>> in a tweet; If you want it fixed, upgrade to the El
On 8/23/17 4:19 PM, Richard Gaskin via use-livecode wrote:
But here I just did a Google search - this was the first one I found:
Get root on an OS X 10.10 Mac: The exploit is so trivial it fits
in a tweet; If you want it fixed, upgrade to the El Capitan beta
Alex,
> local storage, and that data is subsequently
> synched to "the cloud”
You might want to take a look at Mark Talluto’s LiveCloud.
http://livecloud.io
And I agree Greg's Daybed library and CouchDB course are very good.
Jim Lambert
___
On 8/23/17 3:38 PM, Bob Sneidar via use-livecode wrote:
Gotta disagree there. Not sure how you would quantify it either. I have yet to
see an exploit for OS X that elevated priveleges, allowed software to be
installed silently, and didn't require user interaction of some sort.
Bob Sneidar wrote:
>> On Aug 23, 2017, at 13:23 , Richard Gaskin wrote:
>>
>> Stock Android is safer than just about any desktop OS, including
>> macOS.
>
> Gotta disagree there. Not sure how you would quantify it either.
Without quantification there would be no objective means to see if you
On 8/23/2017 4:25 PM, Tom Glod via use-livecode wrote:
> Hi folks, I'm building a notification systemand I don't want to add
> another DB query to the systemso my idea is to save notifications as a
> file in a folder, and the just read and process "the files"
>
> so the name of the
> On 24 Aug 2017, at 1:06 am, Stephen MacLean via use-livecode
> wrote:
>
> Don’t think it is, based on what’s in the dictionary, but thought I would
> ask: is IMAP or POP3 supported with tsNet?
>
> I know CURL does, but don’t know if it’s been added to tsNet.
Gotta disagree there. Not sure how you would quantify it either. I have yet to
see an exploit for OS X that elevated priveleges, allowed software to be
installed silently, and didn't require user interaction of some sort. Lots of
press, but when you get down to where they talk about the
Hmm… by notifications do you mean IPC? Is this over the network or multiple
processes on a single machine. For both cases sockets is probably easiest. On
the single machine then you can just accept on localhost to avoid getting
firewall dialogs:
local sPort
set the defaultNetworkInterface to
But... the Chinese are out FRIENDS! ;-)
(and their food is quite tasty too!)
Bob S
> On Aug 23, 2017, at 12:20 , J. Landman Gay via use-livecode
> wrote:
>
> Avoid the cheap Chinese knock-offs that ship without Google's software. Those
> are the dangerous
> On 24 Aug 2017, at 2:07 am, Mark Wieder via use-livecode
> wrote:
>
> Good to know. Yeah, that's weird.
It’s not _that_ weird. Using in time there’s no context to throw an error on at
the time the handler is sent… Of course pending messages could keep track
Hi folks, I'm building a notification systemand I don't want to add
another DB query to the systemso my idea is to save notifications as a
file in a folder, and the just read and process "the files"
so the name of the file would contain the notification data i wouldn't
have to
J. Landman Gay wrote:
> On 8/23/17 9:46 AM, Bob Sneidar via use-livecode wrote:
>> But the reason there are more attacks against Android is simple.
>> It's orders of magnitude easier to exploit.
>
> Very true. But the actual percentage of Android users who contract
> malware is less than 1%
On 23/08/2017 20:07, Sannyasin Brahmanathaswami via use-livecode wrote:
Bob, Mike,
thanks…"use the dbase" good thought
...
So then it comes down to whether doing a query semi-complex query that looks at
50,000 records and uses %like% against 3 columns is faster than iterating
loops on a
Sannyasin Brahmanathaswami wrote:
> I can't wait to use the new tools for watching processes to see where
> bottle necks arise…
?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
On 8/23/17 9:46 AM, Bob Sneidar via use-livecode wrote:
But the reason there are more attacks against Android is simple. It's orders of
magnitude easier to exploit.
Very true. But the actual percentage of Android users who contract
malware is less than 1% (0.01 sticks in my memory.) And
Using equal queries is efficient *if* the columns are indexed. If you use LIKE,
I do not believe that the indexes are used, unless you employ some kind of full
text search indexing. Only certain databases support that.
Bob S
> On Aug 23, 2017, at 12:07 , Sannyasin Brahmanathaswami via
Bob, Mike,
thanks…"use the dbase" good thought
The reason we use the array is once we load that into a local than I use the
click line number of the song list (titles in a simple list field) to get the
data for that particular song.
click on line 9
get use everything we need from
I'm not going to disagree with the other replies
Plan A. use your database
Plan B. create an in-memory SQLite database.
Plan C. use an array, kind of like you are doing.
And *only* if there are good reasons for not doing Plans A or B, then :
C1. Instead of
repeat for each key x in
Thanks Steve...it looks like (in my current case) that the encode / decode
SQLite text field is the easiest way to get me solution.
Glen
On Wed, Aug 23, 2017 at 1:43 PM, Stephen MacLean via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Glen,
>
> First, as Richard G. mention,
> On Aug 23, 2017, at 09:36 , Richard Gaskin via use-livecode
> wrote:
>
> Glen Bojsza wrote:
>
> > I was looking for feedback on whether it is better to store images as
> > BLOBs in an SQLite database for a LC app or store paths to the images
> > in the SQLite
Hi Glen,
First, as Richard G. mention, internet wars have been fought over this issue…
to me it’s your choice.
I’ve done both and both have their ups and downs.
For mobile, I’ve sided with keeping it in the DB. It keeps everything together
and the way I’m querying the DB, I’m already pulling
For Augmented Earth, the images are base 64 encoded. This is needed for
transmitting. Also, I can store a variable number of images in a single blob
cell, using a character outside of the base64 range as a delimiter between
encoded images.
Sent from my iPhone
> On Aug 23, 2017, at 12:48 PM,
My databases will be fixed in their content (basically they are going to be
different test engines for students) so the images will not be edited nor
changed.
I am thinking that this may help me avoid any future issues that may arise
if different platforms have different directory structures and
Glen Bojsza wrote:
> I was looking for feedback on whether it is better to store images as
> BLOBs in an SQLite database for a LC app or store paths to the images
> in the SQLite database and the images in a separate folder.
This is a religious issue in some circles, and there may be technical
You can also store multiple images in a single blob, which can be helpful.
Sent from my iPhone
> On Aug 23, 2017, at 12:25 PM, Bob Sneidar via use-livecode
> wrote:
>
> Better is a relative term. Do you need to occasionally edit the images? Will
> the database
Mark Waddingham wrote:
> On 2017-08-22 20:31, Richard Gaskin via use-livecode wrote:
>> Any opportunity here to generalize the solution to accommodate this?
>
>> tool property for groups/creating objects in groups interactively
>> http://quality.livecode.com/show_bug.cgi?id=623
>
> I think that
I'm with bob on this.. If for some reason you can't use the database that
produced the array, shove the data into an sqlite db instead. In memory, or
if you need persistence a db file.
Alternatively, if you store your data flat rather than in an array. Then
you can
repeat for each line tline
Better is a relative term. Do you need to occasionally edit the images? Will
the database continue to grow over time? My instinct is to keep files as files
on the disk, because managing them is not dependent on access to a database.
However, having the images universally accessible in a
Old question but.. since its a function, whether you use do or not, gotta
have the () at the end.
On Wed, Aug 23, 2017 at 8:57 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Sorry - old message that randomly popped up in my email!
>
> Sent from my iPhone
>
> > On
Hello,
I was looking for feedback on whether it is better to store images as BLOBs
in an SQLite database for a LC app or store paths to the images in the
SQLite database and the images in a separate folder.
Any help in understanding possible performance and memory issues is what I
am looking
On 08/23/2017 08:23 AM, Trevor DeVore via use-livecode wrote:
That is correct, as long as you aren’t using `in time` with `send`. The
following script won’t cause an error until the last `send`:
Good to know. Yeah, that's weird.
--
Mark Wieder
ahsoftw...@gmail.com
On 08/23/2017 08:50 AM, Bob Sneidar via use-livecode wrote:
This is actually useful. Let's say you have some fields which do some basic
validations against database table constraints and some that do not require
them. You could simpy dispatch a command to validate to all fields and only the
This is actually useful. Let's say you have some fields which do some basic
validations against database table constraints and some that do not require
them. You could simpy dispatch a command to validate to all fields and only the
ones which need to will handle the message. I like it.
Bob S
Odd. I wouldn't have guessed the dependence on "in time" for the send command.
Bill P
William Prothero
http://es.earthednet.org
> On Aug 23, 2017, at 8:22 AM, Mark Wieder via use-livecode
> wrote:
>
>> On 08/23/2017 07:59 AM, Bob Sneidar via use-livecode wrote:
Oh wait I see you ARE using an SQL database to begin with. Why would you then
want to search an array?
Bob S
> On Aug 23, 2017, at 08:34 , Bob Sneidar via use-livecode
> wrote:
>
> Yes. Don't use an array, use a memory based sqLite table.
>
> Bob S
>
>
>>
Yes. Don't use an array, use a memory based sqLite table.
Bob S
> On Aug 23, 2017, at 08:24 , Sannyasin Brahmanathaswami via use-livecode
> wrote:
>
> OK I can make this work, (have to since I don't see another way)
>
> But it seems like a lot of looping.
>
We use these arrays with media metadata that is extracted from our database of
media metadata. The dbase was originally designed for lots of columns so that
"there is nothing we cannot know about a media item" incorporating DCIM columns
and also W3C media metadata initiative's recommended
On Wed, Aug 23, 2017 at 9:59 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Wh??? So send would but dispatch won't?
>
That is correct, as long as you aren’t using `in time` with `send`. The
following script won’t cause an error until the last `send`:
on mouseUp
On 08/23/2017 07:59 AM, Bob Sneidar via use-livecode wrote:
Wh??? So send would but dispatch won't?
Bob S
On Aug 23, 2017, at 06:21 , Trevor DeVore via use-livecode
wrote:
I'm in the habit of using "dispatch" as it mimics how the engine works and
won't
Hi All,
Don’t think it is, based on what’s in the dictionary, but thought I would ask:
is IMAP or POP3 supported with tsNet?
I know CURL does, but don’t know if it’s been added to tsNet.
TIA,
Steve MacLean
___
use-livecode mailing list
OH!
"This sends the message down the normal message path starting at the object
containing the script.
"
And here I've been thinking that a target was required for specificity, because
of this in the dictionary:
"If no target is specified, the message is sent to ' me '. In the
Wh??? So send would but dispatch won't?
Bob S
> On Aug 23, 2017, at 06:21 , Trevor DeVore via use-livecode
> wrote:
>
> I'm in the habit of using "dispatch" as it mimics how the engine works and
> won't throw an error if a message isn't handled.
Sorry - old message that randomly popped up in my email!
Sent from my iPhone
> On Aug 23, 2017, at 10:53 AM, jonathandly...@gmail.com wrote:
>
> The "do" command converts text into a command. Like this:
>
> Put "answer 5" into tcommand
> Do tcommand
>
> This is useful in some situations, but
I have that very thing. I call it searchBar. It looks pretty much like a search
field from a browser or Finder window (in a somewhat earlier version of the OS)
and it's designed to retrieve data and update a datagrid.
I would post the rather simple code, except it is dependent on sqlYoga and
The "do" command converts text into a command. Like this:
Put "answer 5" into tcommand
Do tcommand
This is useful in some situations, but usually it is more efficient to just say:
Answer 5
Sent from my iPhone
> On Jul 10, 2017, at 11:23 AM, J. Landman Gay via use-livecode
>
So long as social engineering is not counted in the gamut of "hacks", I might
agree. I don't count anything where a user does something unprescribed, or is
tricked into doing something as a hack.
I was listening to The Tech Guy last Sunday and a gal called in to say she was
in facebook and an
As an aside, I stumbled across the editMode property when I tried to use it as
a property of a stack to store edit/view/search for a form/card. No bueno.
Bob S
> On Aug 23, 2017, at 03:04 , Mark Waddingham via use-livecode
> wrote:
>
> P.S. This idea might
Just a quick thank you to Greg for the info on his Daybed library, and
for the Udemy course on CouchDB. I found the course fascinating - and I
watched it first so I had the overview before watching the Daybed
specific talk in Livecode Global.
(And I have to admit I watched it all on 1.5x
On Wed, Aug 23, 2017 at 1:33 AM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> On 8/22/17 11:42 PM, Trevor DeVore via use-livecode wrote:
> > Why do you need to turn
> > the long id of the parent into a small array and dispatch to to any
> object
> > along the path?
I guess I still need help :- )
> On Aug 23, 2017, at 4:50 AM, scott--- via use-livecode
> wrote:
>
> Ah, sheesh It was easy and I was doing it correctly… all except the part
> where I was setting the line options in a second place.
>
>> On Aug 23, 2017, at
On Tue, Aug 22, 2017 at 4:43 PM, Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:
> the Android world creeps me out. And those phones always seem to break.
>
> sqb
>
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
>
LOL! I love the customizability of
Ah, sheesh It was easy and I was doing it correctly… all except the part
where I was setting the line options in a second place.
> On Aug 23, 2017, at 4:43 AM, Scott Morrow via use-livecode
> wrote:
>
> For any users of Jan’s Quartam PDF Lib… After setting
For any users of Jan’s Quartam PDF Lib… After setting line options with
qrtPDF_SetLineOptions tDocRef,"round","miter","0,2",1
I can't work out how to go back to using solid lines. I’m sure that I’m
missing something obvious since the library is generally very satisfying to
work with.
(I
On 2017-08-23 12:04, Mark Waddingham via use-livecode wrote:
I fear that these two parts of code are quite distinct, however, so it
isn't a case of do one and get the other free... The image one is
probably quite straight-forward (although, I could well be wrong); the
group one (judging by the
On 2017-08-22 20:31, Richard Gaskin via use-livecode wrote:
Mark Waddingham wrote:
Basically, only the browser, pointer and help tools will recurse into
groups - the paint tools will not
...nor drawing tools or object tools (eg field or button).
Well that's a slightly different case
On 8/23/17 1:33 AM, J. Landman Gay via use-livecode wrote:
On 8/22/17 11:42 PM, Trevor DeVore via use-livecode wrote:
Why do you need to turn
the long id of the parent into a small array and dispatch to to any
object
along the path? From the search custom control I would just do the
On 8/22/17 11:42 PM, Trevor DeVore via use-livecode wrote:
Why do you need to turn
the long id of the parent into a small array and dispatch to to any object
along the path? From the search custom control I would just do the
following:
dispatch "behaviorSearchAndFilter"
This sends the message
> On 23 Aug 2017, at 1:47 pm, Sannyasin Brahmanathaswami via use-livecode
> wrote:
>
> Before I report… anyone seeing this or know this has been addressed in more
> recent versions.
A crash log should help us find this relatively quickly if you can’t come up
All crashes are bugs and need reporting. It sounds like in this case you
had individual objects selected and tried to edit those as you would a
group. The engine couldn't handle it. I've not had a crash if a group
itself is selected when I choose "edit group".
To create a group inside another
On 8/22/17 6:02 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
the paint tools seem to be badly broken here in 8.1.6
if I draw an oval it , appears but selects the entire card rect as the
enclosing rect/container instead of the actual oval itself.
Attempting bring the area "down" to
91 matches
Mail list logo