Logging for mobile simulator on iOS?

2019-05-06 Thread Alan Stenhouse via use-livecode
Asked this on the forums with no response, so trying here...: Opening the "System Log" from the Debug menu in the mobile simulator opens the system log but it doesn't seem like any of our usual log messages appear there now. I think this changed some time ago but don't remember what (if any) t

Re: logging

2018-08-18 Thread Mike Kerner via use-livecode
It's a different audience. Choose wisely. ___ use-livecode mailing list use-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: logging

2018-08-18 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > I'm messing with the logger in levure, and looking for feedback, > sample code, and thoughts others have from your own logging > experience. > • Formatting > • Delimiters > • Information you include > • Targets (files, message box, dialogs, fields

Re: logging

2018-08-18 Thread Mike Kerner via use-livecode
insaw really > sharp. > > -- Alex. > > > On 18/08/2018 17:06, Mike Kerner via use-livecode wrote: > > I'm messing with the logger in levure, and looking for feedback, sample > > code, and thoughts others have from your own logging experience. > > • Formatting

Re: logging

2018-08-18 Thread Alex Tweedly via use-livecode
Ah, let's see Hardwoods burn better than soft, but you gotta keep the chainsaw really sharp. -- Alex. On 18/08/2018 17:06, Mike Kerner via use-livecode wrote: I'm messing with the logger in levure, and looking for feedback, sample code, and thoughts others have from your o

logging

2018-08-18 Thread Mike Kerner via use-livecode
I'm messing with the logger in levure, and looking for feedback, sample code, and thoughts others have from your own logging experience. • Formatting • Delimiters • Information you include • Targets (files, message box, dialogs, fields, etc.) -- On the first day, God created the heavens an

Re: output the script line of a logging message

2017-03-13 Thread Mark Wieder via use-livecode
On 03/13/2017 11:26 AM, Bob Sneidar via use-livecode wrote: Look at the executionContexts in the dictionary. That should get you going on some ideas. ...and in particular, item 3 of line -1 of the executioncontexts should get you the last line number executed. -- Mark Wieder ahsoftw...@gm

Re: output the script line of a logging message

2017-03-13 Thread Bob Sneidar via use-livecode
Look at the executionContexts in the dictionary. That should get you going on some ideas. Bob S > On Mar 13, 2017, at 11:12 , Matt Maier via use-livecode > wrote: > > I'm adding some logging function calls to a script. Is there a way to > include the line number of the

output the script line of a logging message

2017-03-13 Thread Matt Maier via use-livecode
I'm adding some logging function calls to a script. Is there a way to include the line number of the current line in the script? Some of the messages are pretty similar, if not identical, so it would be helpful when reviewing the logs to identify the message by the line number the function w

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-30 Thread Alex Tweedly
Some people dislike that method because it lets an attacker 'guess' a username separately from password; there is (arguably) more security in having the attacker be unable to tell which one didn't match. Personally, I don't know enough to have an opinion - certainly not enough to listen to my

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-30 Thread Bob Sneidar
What I do (and I have seen this in other login systems apart from LC) is I have a User Name field and a Login button. When clicked it will check a database of user names and balk if it cannot find the user. It then uses Ask Password, encrypts it using a seed value only I know, compares it with t

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-30 Thread Kay C Lan
On Wed, Dec 30, 2015 at 7:18 PM, Richmond wrote: > one thing that is very odd is 'mcEncrypt'; > > firstly because it maybe the only thing in LiveCode that > betrays LiveCode's ancestry in MetaCard, > > along with mcLicense. I think they are cousins. If you want to trace the ancestry tree further

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-30 Thread J. Landman Gay
On 12/30/2015 5:18 AM, Richmond wrote: one thing that is very odd is 'mcEncrypt'; firstly because it maybe the only thing in LiveCode that betrays LiveCode's ancestry in MetaCard, It was part of the original MC 1.0 and was used only internally to encrypt the entry from an ask dialog. The encr

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-30 Thread Richmond
one thing that is very odd is 'mcEncrypt'; firstly because it maybe the only thing in LiveCode that betrays LiveCode's ancestry in MetaCard, and secondly because the Documentation (7.1) tells us nothing beyond that it is 'Reserved for internal use'. That 'Reserved' is all jolly well and good,

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread J. Landman Gay
Actually, one benefit of this solution is that if you don't lock the screen, each character does show briefly all by itself. That's how I usually let it work. On December 29, 2015 9:54:15 PM CST, Peter Haworth wrote: >That's the one I went with. I might adapt it to show each character >briefly

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread Peter Haworth
That's the one I went with. I might adapt it to show each character briefly before hiding it and/or provide an option to show it in plain text. On Tue, Dec 29, 2015, 7:19 PM J. Landman Gay wrote: > On 12/29/2015 6:33 PM, Peter Haworth wrote: > > I know there is an "ask thing" command that will r

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread J. Landman Gay
On 12/29/2015 6:33 PM, Peter Haworth wrote: I know there is an "ask thing" command that will replace the thing with black dots as it is being typed in but is there some way to do that using a regular field? Here is my favorite approach:

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread Peter Haworth
codebeginner.economy-x-talk.com > > Op 12/30/2015 om 01:33 schreef Peter Haworth: > >> Sorry for the cryptic subject line but I sent a prior email with the word >> that means "that thing you key in that's not a user name when you're >> logging in" an

Re: Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread Mark Schonewille
rior email with the word that means "that thing you key in that's not a user name when you're logging in" and it got sent to the moderator. I'll just call it "thing" for the rest of this email. I know there is an "ask thing" command that will replace t

Question about "that thing you key in that's not a user name when you're logging in"

2015-12-29 Thread Peter Haworth
Sorry for the cryptic subject line but I sent a prior email with the word that means "that thing you key in that's not a user name when you're logging in" and it got sent to the moderator. I'll just call it "thing" for the rest of this email. I know there

Re: Logging Device Tokens

2012-08-09 Thread Bob Sneidar
It was a fixed length file format. It had a header that ended in an eof, followed by lines that were in length the sum total of all the columns +1. The +1 was the deleted flag at the beginning of the record. There were no variable length columns. Everything was padded with spaces. Even numerica

Re: Logging Device Tokens

2012-08-09 Thread Mike Kerner
Peter, then you should probably stay away from any of the NoSQL engines, lol. Many of the features you mention are part of many modern DBMS's, but not all. I'm still nursing a DBMS that is well over 30 years old and it is most certainly not ACID compliant, and it does not provide for data integri

Re: Logging Device Tokens

2012-08-09 Thread Peter Haworth
Hmmm, I'm afraid I have to disagree with almost all of that :-) Arrays, cards, csv files, spreadsheets - none of them are databases other than in the sense that they store data. They have no structure, no data integrity enforcement, no inter table relatioships, no ACID compliance, nor any of the o

Re: Logging Device Tokens

2012-08-09 Thread John Craig
Hi, Dan. The following info will hopefully help, or at least give you some ideas. I wrote a 'draw something' style app at the beginning of the year and although it's never been released, it's delivered thousands of push notifications on the test service. The scripts run on an on-rev server.

Re: Logging Device Tokens

2012-08-09 Thread Mike Kerner
If you've ever used an array or set up a background so that you can store records in a stack, you have used a database. I'm sure you already know that. If you've ever used a spreadsheet, you have used a database. If you have ever created a delimited file to store data, you have used a database.

Re: Logging Device Tokens

2012-08-09 Thread Charles E Buchwald
base library to help me get to the next steps with logging and/or push notifications? And thanks for the ideas about asynchronous methods... I wouldn't have thought about it that way. - Charles On 2012-08-07, at 12:32 PM, Mike Kerner wrote: > Databases are so stupid-easy that I am usi

Re: Logging Device Tokens

2012-08-07 Thread Mike Kerner
Databases are so stupid-easy that I am using a DB. I've tried both an angry hard-core DBMS and LC connected to . Both work great. If you are scared of/inexperienced with databases, then there are several LC database libraries that will make that problem go away. I think you guys are overthinkin

Re: Logging Device Tokens

2012-08-06 Thread Magicgate Software - Skip Kimpel
I am also interested in how others are accomplishing this. Like Dan, I think I am over-thinking this whole procedure and it is probably more simple than I am making it out to be. SKIP On Mon, Aug 6, 2012 at 5:29 PM, Dan Friedman wrote: > Mike, > > THANK YOU for the information. I am wondering

Re: Logging Device Tokens

2012-08-06 Thread Dan Friedman
Mike, THANK YOU for the information. I am wondering what you use to log the Tokens? Do you have the app fire a PHP script on your server that writes it down? What are you using to store the data? Flat files, like XML? Or a database? Thanks for the advise! -Dan > Nope, you aren't crazy.

Re: Logging Device Tokens

2012-08-06 Thread Mike Kerner
The other thing is that by "server" we're not talking about an expensive piece of gear. A cheapo PC will do it unless you are slamming tons of messages and volume through the pipe then you may want to consider either using a) Urban Airship or b) a little more infrastructure on your end. Urban Air

Re: Logging Device Tokens

2012-08-06 Thread Mike Kerner
Nope, you aren't crazy. There is a reason you have to do this - because you have to know who wants to receive push and who does not - and since different users may have different settings, you need to be able to customize those messages. Think about a weather app that uses push - the users are fr

Logging Device Tokens

2012-08-06 Thread Dan Friedman
Question: How are you saving Device Tokens? I am working on adding Push Notifications to my app. I am able to create, send and receive the push notification (as a test) without issue. However, I can see that I am going to have to store the Device Tokens of all that use my app – thousands, pot