Re: OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-12 Thread Andre Alves Garzia via use-livecode
Bob, I remember them fondly :-) On 10/12/2018 4:28 PM, Bob Sneidar via use-livecode wrote: We used to call those, "Runtime Revolution Conferences". :-) Bob S On Oct 12, 2018, at 03:51 , Andre Alves Garzia via use-livecode wrote: Talking about best practices, would a

Re: How to unset the backdrop in the preferences?

2018-10-12 Thread Andre Alves Garzia via use-livecode
, Andre Alves Garzia via use-livecode , wrote: Hey Friends, This will sound silly. I am on Windows 10 using LC 9.x, I've set a backdrop on preferences and now I want to unset it but I can't find a way to do it. There are only options to select a new color but no way to clear it. Can anyone help? E

Re: sending a JSON string

2018-10-16 Thread Andre Alves Garzia via use-livecode
Douglas, I am pasting some code I've built here that should do what you want but when I try it, it returns a 401 error which is an authentication error. On that manual page you linked there is a notice about API keys and Channel keys, so maybe the key on this email is not the correct one.

Re: OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-12 Thread Andre Alves Garzia via use-livecode
Talking about best practices, would anyone here be interested in a little online course about it? best andre On 10/11/2018 11:57 PM, Mark Wieder via use-livecode wrote: On 10/09/2018 11:05 AM, Sannyasin Brahmanathaswami via use-livecode wrote:    ITT 2016 - Kevlin Henney - Seven

How to unset the backdrop in the preferences?

2018-10-12 Thread Andre Alves Garzia via use-livecode
Hey Friends, This will sound silly. I am on Windows 10 using LC 9.x, I've set a backdrop on preferences and now I want to unset it but I can't find a way to do it. There are only options to select a new color but no way to clear it. Can anyone help? Executing `set the backdrop to none` every

Re: [ANN] Network Tracer

2018-10-24 Thread Andre Alves Garzia via use-livecode
joke but UDP is User Datagram Protocol. Bob S On Oct 23, 2018, at 15:27 , Andre Alves Garzia via use-livecode wrote: Hi Everyone, It is with a lot of excitement that I am here to announce a new plugin for LiveCode called Network Tracer. This is a zero-configuration plugin and library combi

Re: [ANN] Network Tracer

2018-10-24 Thread Andre Alves Garzia via use-livecode
Dear Tom, The TypeTool mostly acts on the "the selobj" so unless you start changing the scripts, it won't make much sense on a standalone. On the other hand, all the stacks are unlocked and you have access to the full source. You can pick the code from it and patch it to your own needs. For

[ANN] Network Tracer

2018-10-23 Thread Andre Alves Garzia via use-livecode
Hi Everyone, It is with a lot of excitement that I am here to announce a new plugin for LiveCode called Network Tracer. This is a zero-configuration plugin and library combination that creates a "networked log" experience to help you debug your LC solutions. To use it, you open the

Re: [ANN] Network Tracer

2018-10-23 Thread Andre Alves Garzia via use-livecode
. Cheers andre On 10/23/2018 11:39 PM, Tom Glod via use-livecode wrote: great product Andre...I don't do mobile dev yet, but I can see the benefit of it to anyone who does. Wishing you lots of sales. Cheers On Tue, Oct 23, 2018 at 6:28 PM Andre Alves Garzia via use-livecode < use-livec

Re: jsonImport or JSONToArray

2018-10-23 Thread Andre Alves Garzia via use-livecode
As you folks may have seen earlier today, I've shipped a new product here on the list. While I was building the demo stack for this plugin, I had the same problem as you describe. In my case it boiled down to the automatic inclusions not working, I ended up needing to do manual inclusions and

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
Keith Clarke via use-livecode: Andre, I’m based near London and would be happy to meet in Town & buy you a beer. :-) Best, Keith On 9 Nov 2018, at 17:04, Andre Alves Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: Hey Friends, Who here is from London or nearby and wou

Re: SSL with HTTPD Library?

2018-11-10 Thread Andre Alves Garzia via use-livecode
Aloha Swami and all, That "speed penality" is not theoretical at all. It is very real and the reason why most of the cutting-edge web ecosystem moved away from CGI. The main technical appeal of NodeJS, WSGI, OpenResty, and others is that they are FAST, non-blocking and don't require new

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
On 9 Nov 2018, at 17:04, Andre Alves Garzia via use-livecode wrote: Hey Friends, Who here is from London or nearby and would be interested in regular meetups? We could meet once a month or so in a pub or quieter setting. I am thinking of informal meet & drink, chatting. Cheer

Re: LiveCoders from London, lets meet!

2018-11-10 Thread Andre Alves Garzia via use-livecode
. 2018 kl. 18:04 skrev Andre Alves Garzia via use-livecode : Hey Friends, Who here is from London or nearby and would be interested in regular meetups? We could meet once a month or so in a pub or quieter setting. I am thinking of informal meet & drink, chatting. Cheers a

the beauty of the command line tools (a side note from Re: LC/macOS App Store)

2018-11-10 Thread Andre Alves Garzia via use-livecode
Bob, I am hijacking this thread to express some personal opinions about the terminal, it is not related to the topic of the original message but a different perspective on the subject you brought up on your reply. When I first for my mac (A G3 running Mac OS 8.x) and started developing for

Re: .PID file in C:\Users\*\AppData\Local\._LiveCode_\

2018-11-12 Thread Andre Alves Garzia via use-livecode
Malte, I have no idea, but I am running the IDE here and I have two of those files in that folder. Since they are named PID, I suspect that they somehow hold information about the running process ID or something similar. om om andre On 11/12/2018 9:23 AM, Malte Pfaff-Brill via use-livecode

Re: .PID file in C:\Users\*\AppData\Local\._LiveCode_\

2018-11-12 Thread Andre Alves Garzia via use-livecode
Malte, Found it in the source: https://github.com/livecode/livecode/blob/d780d79e800afd65897631f840296075ff6573e9/engine/src/w32relaunch.cpp#L310 As I suspected, it is related to the running process. We still need to hear from the mothership about it but files in AppData/Local should be

Re: Reading data from Google Sheets

2018-11-13 Thread Andre Alves Garzia via use-livecode
Kaveh, There is a much easier way. I've just posted about it since it can be of interest for others (there is a demo stack included): http://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html Basically, there are special URLs for retrieving a Google Sheet as a CSV or a

[ANN] LiveCode Advanced Application Architecture book available

2018-11-15 Thread Andre Alves Garzia via use-livecode
Hi Friends, I've just released a new LiveCode book in the wild. It is called "LiveCode Advanced Application Architecture" and it deals with Best Practices from our community and the MVC pattern. With the techniques contained in it you will build applications that are easier to maintain and

Re: Stack and Standalone hogging memory on Mac

2018-11-16 Thread Andre Alves Garzia via use-livecode
Kaveh, Build using different versions of LC and check to see if earlier versions are behaving better. It might be a regression. Cheers andre On 11/16/2018 10:14 AM, Kaveh Bazargan via use-livecode wrote: I have been working on a stack that has been behaving well. It is now hogging all CPU

Re: Do javascript function in browser widget?

2018-11-06 Thread Andre Alves Garzia via use-livecode
Keith, If you're in control of the HTML used in the widget, then I'd advise you to build functions inside the HTML and just call them from LC instead of executing script directly, such as: in the html     ...       function paintItRed() {

Re: Reading data from Google Sheets

2018-11-14 Thread Andre Alves Garzia via use-livecode
Craig, Check the sharing options on the spreadsheet. Remember LiveCode is not logged as your user, so it can only access spreadsheets that are viewable by anyone with the link. In doubt, pick the link you used, open a private window on your favorite browser and check to see if you can view

LiveCoders from London, lets meet!

2018-11-09 Thread Andre Alves Garzia via use-livecode
Hey Friends, Who here is from London or nearby and would be interested in regular meetups? We could meet once a month or so in a pub or quieter setting. I am thinking of informal meet & drink, chatting. Cheers andre ___ use-livecode mailing list

Remote Debugging (Was Re: Musings on Architect, MVC, Nested Behaviors)

2018-12-27 Thread Andre Alves Garzia via use-livecode
Dear Jacque, I know too well the rabbit holes that lies deep into some LC projects. As Richard have guessed, by using a ton of behaviors and libraries, you can end up with code that you can't easily trace and also which becomes quite hard to debug. As Jacque and I worked on the same project,

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-30 Thread Andre Alves Garzia via use-livecode
Be aware that YAML is tricky to parse, there are better formats such as TOML which are much easier and tend to be less error prone. It is very easy to get some indentation wrong in YAML and move something up or down a level. TOML is IMHO a better format for such stuff.   YAML: http://yaml.org

Re: Script Editor Slow on Windows

2019-01-18 Thread Andre Alves Garzia via use-livecode
Ralph, The IDE is so bad under windows that sometimes I dust off my 2013 macbook air just to use it there for some hours and fix whatever I need to fix in my projects. You're right, there is no recipe, it is "degradation over time" and time in here is measured in minutes and few hours. This

Re: Feature request: merge function!

2019-01-18 Thread Andre Alves Garzia via use-livecode
eheheheheh let me throw this hack in here and run function davidsMerge pText   replace "[[" with "[safe[" in pText   replace "]]" with "]safe]" in pText   replace "{{" with "[[" in pText   replace "}}" with "]]" in pText   get the merge of pText   replace "[safe[" with "[[" in it  

Re: The merge function is redundant?

2019-01-18 Thread Andre Alves Garzia via use-livecode
Kee, I can spend hours on why merge is useful and underappreciated but I will boil it down to one use case only: templates. Merge is crucial if you're assembling some textual template that is not LiveCode but want to generate parts of it in LiveCode. For example, the first step in

[ANN] 30% End of Year discount on my new book and tools

2018-12-26 Thread Andre Alves Garzia via use-livecode
Hi Friends, Following LiveCode fantastic end of year promotions of 30% discount on a ton of stuff and since it is boxing day here in the UK, I decided to create a end of year promotion of my own. Starting today and going until the end of the year, there is a 30% discount on the following

Re: Troubleshooting revIgniter library functions

2018-11-30 Thread Andre Alves Garzia via use-livecode
Keith, RevIgniter is a normal LiveCode collection of libraries. Have you read the getting started guide at:   https://revigniter.com/userGuide/overview/getting_started.html It will walk you through the concepts of MVC and how they are used in RevIgniter. Basically your models are the stuff

Re: Safari vs Browser Widget

2018-11-30 Thread Andre Alves Garzia via use-livecode
Dan, I am not expert in the widget but I do know quite a lot about browsers. Those APIs are restricted access API which usually require some sort of configuration on the browser library you're using when building your product, which is a convoluted way to say that LiveCode HQ proabably needs

Re: Setting hidden of lines very slow

2018-11-30 Thread Andre Alves Garzia via use-livecode
tied locking the screen first? On 30/11/2018 10:33, Kaveh Bazargan via use-livecode wrote: I have a text field with some 3500 lines of text. I want to ensure all lines are visible, as I have hidden some before. I use: repeat with i = 1 the number of lines of fld 1 set the hidden of line

Re: Setting hidden of lines very slow

2018-11-30 Thread Andre Alves Garzia via use-livecode
r is a one liner!! And Andre the screen was locked already. :-) On Fri, 30 Nov 2018 at 11:56, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: Hi Andre, Am 30.11.2018 um 12:48 schrieb Andre Alves Garzia via use-livecode < use-livecode@lists.runrev.com>: tied lo

Re: Setting hidden of lines very slow

2018-11-30 Thread Andre Alves Garzia via use-livecode
Klaus, uhahuahuahuaahuauhahuhuahuahua it took me a while to notice. On 30/11/2018 11:56, Klaus major-k via use-livecode wrote: Hi Andre, Am 30.11.2018 um 12:48 schrieb Andre Alves Garzia via use-livecode : tied locking the screen first? tied AND locked? Andre, you are hardcore! :-D

Re: LiveCode equivalent to 'cron' for automated background functions?

2018-11-30 Thread Andre Alves Garzia via use-livecode
Keith, The examples in the dictionary look potentially useful for a couple of lightweight activities I’d like to have ticking-over in the background on my LC Server, pending page visits. You shouldn't have the CGI engine hogging up like that, thats not how web stuff is supposed to work.

Re: Setting hidden of lines very slow

2018-11-30 Thread Andre Alves Garzia via use-livecode
too. Any suggestions how to speed this up? On Fri, 30 Nov 2018 at 12:12, Andre Alves Garzia via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: There is another tip here in this thread about set the hidden of line 1 to -1 of field "the field" to false As

Re: LiveCode and Websockets

2018-11-26 Thread Andre Alves Garzia via use-livecode
Charles, A WebSockets external would be very beneficial for everyone doing web stuff from LC. I am looking forward to checking it out when it is released. :-) Thanks a lot for working on this. Cheers andre On 11/26/2018 6:24 AM, Charles Warwick via use-livecode wrote: Hi Bob, The

[OT] Send me your blogs

2018-11-20 Thread Andre Alves Garzia via use-livecode
Hey Friends, Recently I've returned to blogging and resumed reading and subscribing to interesting blogs. I've posted about it at: http://andregarzia.com/2018/11/reading-blogs-with-thunderbird.html So, if you folks have your own blogs, please their URL to me so that  I can subscribe. The

Re: [ANN] LiveCode Advanced Application Architecture book available

2018-11-19 Thread Andre Alves Garzia via use-livecode
Aloha Friends, There was a mistake in the final book generation, a chapter was missing. I've issued a two new updates today to fix this. All the readers should have received an email about it. If you purchased and did not receive the email, please, let me know. Cheers andre On 11/15/2018

Re: Refactoring is your friend / moving from 6.x to 9.x

2018-12-30 Thread Andre Alves Garzia via use-livecode
Malte, So happy that you're back here my friend. I too spent some time away. So, refactoring and constantly trying to erase mistakes of my past coding self are a constant here. I wish we had better refactoring tools so that we could rename a handler and all code that called that handler was