Re: Release 8.0 DP 9

2015-11-13 Thread Alex Tweedly
On 13/11/2015 22:58, Mark Wieder wrote: On 11/13/2015 11:48 AM, Richmond wrote: Considerably better than DP 8. Well Done! Hmmm... what are you seeing that I'm not? User plugins are again not loaded. I'm getting them loaded - kind-of. If I have lcStackBrowser in my Plugins directory, then

Re: Release 8.0 DP 9

2015-11-13 Thread Alex Tweedly
l.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Fri, Nov 13, 2015 at 3:37 PM, Alex Tweedly wrote: On 13/11/2015 22:58, Mark Wieder wrote: On 11/13/2015 11:48 AM, Richmond wrote: Considerably bette

Re: Calculating the sum of a *lot* of primes

2015-11-15 Thread Alex Tweedly
Geoff, thanks for such a fun little problem. I know you have a complete solution - but I still wanted to investigate if it could be done any faster. The main constraint to take advantage of is that, although the sum of the primes needs to be an arbitrarily large number and use 'bigmath', th

Re: Edinburgh Conference In August

2015-11-27 Thread Alex Tweedly
Great - a different location from previous Edinburgh conferences, and this one is only 10 minutes walk from my flat - perfect !! Already got my ticket - I look forward to seeing everyone there. -- Alex. On 27/11/2015 18:35, Heather Laine wrote: Dear List Folks, I'm really delighted to announ

Re: Edinburgh Conference In August

2015-11-27 Thread Alex Tweedly
I'm hoping there will be more of you coming than would fit in :-) Sent from my iPad > On 28 Nov 2015, at 01:11, Mark Wieder wrote: > >> On 11/27/2015 04:10 PM, Alex Tweedly wrote: >> Great - a different location from previous Edinburgh conferences, and >> this one

Re: Probably a pointless question about using sort to search..

2015-12-11 Thread Alex Tweedly
I haven't read everything in this thread, so I don't know if Peter's function handled this or not ... On 11/12/2015 23:32, Geoff Canyon wrote: On Thu, Dec 10, 2015 at 12:47 PM, Peter Brigham wrote: Someone on this list at some point posted an array sorting function that might be relevant

Re: Charset problems with .lc web page

2015-12-24 Thread Alex Tweedly
Hi Tim, I'm afraid I know little or nothing about charsets, so I can't directly help :-) The difference between .irev and .lc is which version of the server engine they are running - and obviously that depends on your server setup. So, to help with answering this, we (might) need to know whi

Re: Charset problems with .lc web page

2015-12-24 Thread Alex Tweedly
sing On-Rev, the server is sage -- so whatever installs they have is what I'm using. I do find it curious that the older .irev works while .lc does not! Tim On 15/12/24 17:18, Alex Tweedly wrote: Hi Tim, I'm afraid I know little or nothing about charsets, so I can't directl

Re: More questions regarding Server oddities

2015-12-25 Thread Alex Tweedly
Mike (and Lyn), I think you both missed the point about Tim's original problem : his page works with the OLD rev Server, and fails with the latest LC server (6.6.2) So while I agree that it is probably better to not pursue issues in old versions, I don't think Tim has much choice, unless s

Re: More questions regarding Server oddities

2015-12-25 Thread Alex Tweedly
On 25/12/2015 22:36, Lyn Teyla wrote: If you’re curious as to why the meta tag happens to work with revServer 3.5 but not later versions of LiveCode Server such as 6.6.2: The technical reason is that older versions such as revServer, by default, output the following HTTP header if the above "

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: mySQL Host access

2016-01-07 Thread Alex Tweedly
Why would you consider php scripts, when it would (I assume) be much more familiar for you to use .lc scripts on LCServer, or CGI, scripts ? In fact, given it's you :-), I would think you could write such LC access scripts in your sleep :-), probably better than most of us. -- Alex. On 07/01

Re: Does user have network connection?

2016-01-10 Thread Alex Tweedly
On 11/01/2016 00:22, Paul Dupuis wrote: On 1/10/2016 12:24 PM, Ray wrote: What if Google is out of business :) Use http://www.un.org/ OR https://www.gov.uk/ OR https://www.gov.uk/ OR ... etc. etc, For good or bad, Governmental organizations last forever... Yeah, but don't they usually respo

Re: [ANN] This Week in LiveCode 15

2016-01-11 Thread Alex Tweedly
Every week I look at the newsletter, and in the "Interesting discussion" section I find pointers to the uselist discussions. I follow the uselist pretty closely, but have never found an acceptable way to follow the forum discussions, so I rarely read anything on there (except if an entry on th

Multi-platform development.

2016-01-11 Thread Alex Tweedly
I'm considering developing a multi-platform app; i.e. ont where the same app runs on both "desktop" and mobile. On the 'desktop' platforms it will use 'standard' menus, and that will be the main "command" access (along with an optional toolbar, most likely, but the toolbar will give access t

Re: Multi-platform development

2016-01-12 Thread Alex Tweedly
hat data is exchanged among platforms by the use of DROPBOX. Regards, Bob Warren ---------- Alex Tweedly wrote: I'm considering developing a multi-platform app; i.e. ont where the same app runs on both "desktop" and

Re: Multi-platform development

2016-01-12 Thread Alex Tweedly
Thanks for the thoughtful reply. Replies in-line On 12/01/2016 17:02, Richard Gaskin wrote: Bob Warren wrote: > Hi Alex, > > The lack of response to your question shows, I think, that multi- > platform apps in LiveCode, for both desktop and mobile, are really > hard to achieve. In all fairnes

Message watcher in LC 8

2016-01-14 Thread Alex Tweedly
I'm trying to use the Message Watcher in LC 8 (currently using DP9). I get a continuous loop of a number of messages, even when nothing is being done, which makes it hard to get any useful info. Is there something I need to do in LC8 to avoid this (other than suppress each of these messages).

Re: Message watcher in LC 8

2016-01-15 Thread Alex Tweedly
Thanks Paul, but I haven't yet had any luck with DP13. It seems to have (yet again) changed something that causes a problem with lcStackBrowser, and I can't use LC without that, so until I have the time to figure out what's going on and get that info to Pete Haworth, I'm going to have to stick

Re: Message watcher in LC 8

2016-01-15 Thread Alex Tweedly
Thanks Pete. Do you (anyone) have any idea where I can get hold of 4WFlightRecorder ? All the Googling I do for it points me to "the stacks section of Go Revnet" (from IDE / Development / Plugins), but when I go there, I can't find a 'stacks' section. I tried the obvious thing (i.e. to look at

Re: Changing position/dimensions of a control that is part of a group

2016-01-28 Thread Alex Tweedly
As Mark Weider said, control ids are unique, so there is no need to specify the group, in ... graphic id 1234 of grp "unneeded" of .. However, the same is not true of names, so it's perfectly possible to have multiple graphics (or multiple groups) within the card, each with the same name. I

Re: ANN: FlockOBoids

2016-01-31 Thread Alex Tweedly
Very nice, Roger - thanks. There have been a number of versions of 'Boids' posted to the list over the years - at least 5 now ! I just checked back, and my one (posted on the original version of revOnline, and misplaced during the upgrade) was sometime late in 2004 - and I'm pretty sure Andr

How do I enable scrolling of a group ?

2016-02-20 Thread Alex Tweedly
Specifically, I want a group to scroll in response to a two-fingered touch/swipe (on OSX). For a field, I can scroll it provided the field is enabled, even if the text is locked, But a group doesn't respond - even if enabled. I'm hoping there is some other property I need to set Th

Re: How do I enable scrolling of a group ?

2016-02-21 Thread Alex Tweedly
Thanks to you , and Scott R. However, I guess I need to explain myself better :-) If I have a field which - is enabled - has a formatted size that exceeds the actual size - has scroollbars enabled THEN - the field will respond to the user scrolling (in this case by using two finger touc

Re: How do I enable scrolling of a group ?

2016-02-21 Thread Alex Tweedly
On 21/02/2016 14:21, [-hh] wrote: "Doing Touch scroll by rawkeyDown" will be interesting for a lot of readers. Would be great if you share your solution with a script snippet at the end of this thread ... Sure - though it turns out to be so trivial a snippet it's almost embarrassi

Re: livecode website templates

2016-03-08 Thread Alex Tweedly
On 08/03/2016 20:28, Matt Maier wrote: Rght...except that I can't use "view page source" to see any Livecode because what's delivered to the browser is either html, css, or javascript, correct? Correct. So the Livecode "source" is replaced by its own output, which maintains the myst

Re: livecode website templates

2016-03-08 Thread Alex Tweedly
On 09/03/2016 00:15, Alex Tweedly wrote: I have a number of (small-ish) websites all done with Livecode - but none of them is decent enough quality to want to make them public; however, I'd be happy to share them off--list if you want (with a repeated warning that I am not really happy

Re: Trying to understand the inner workings of Resizestack

2016-03-14 Thread Alex Tweedly
I've not (yet) had to deal with particularly complex resize needs, so I've never run into the problem of not keeping up. But I've always had in the back of my mind the following idea (i.e. check it out, don't assume I know what I'm talking about :-) the system is going to throw a series of re

Re: Buffer size (was Looking for parser for Email (MIME))

2016-03-22 Thread Alex Tweedly
On 22/03/2016 14:24, Richard Gaskin wrote: Given that the engine is probably already doing pretty much the same thing, would it make sense to consider a readBufferSize global property which would govern the size of the buffer the engine uses when executing "read...until "? In my experiments

Re: URGENT: emails being rejected

2016-03-22 Thread Alex Tweedly
On 22/03/2016 17:14, Mark Wieder wrote: A couple of things: 1. If you're using the on-rev smtp server to send emails, STOP THAT right now. Configure your email client to send email using the smtp server of your isp. You don't need to change the pop server, just the outgoing one. 2. See p

Re: Delete the first entry of an array.

2016-03-25 Thread Alex Tweedly
On 25/03/2016 08:03, Peter TB Brett wrote: Hi Peter, LiveCode arrays are actually dictionaries (more like JavaScript objects than JavaScript arrays). There aren't currently any push/pop syntax for LiveCode arrays. ... I hope that's helpful. Would anyone be interested in a Feature Exchang

OT: Was Re: LC 8 dp 16 does recognize Xcode Version 7.3 (7D175)?

2016-03-25 Thread Alex Tweedly
On 26/03/2016 01:27, Sannyasin Brahmanathaswami wrote: big storm here last night, despite all kinds of surge protection seem the lightening force fields fried some routers and fiber...one thunder clap at around 11 PM shook my whole hut! (10 X 10 concrete box out in the jungle) I'm on a 100M

Re: Delete the first entry of an array.

2016-03-26 Thread Alex Tweedly
On 26/03/2016 07:35, Peter TB Brett wrote: On 25/03/2016 23:00, Alex Tweedly wrote: How about a Feature Exchange for adding arrays ? (i.e. not dictionaries, but actual arrays with numeric indices and linear access times) In LiveCode, we currently call these "proper lists".

Re: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly
On 27/03/2016 10:42, Peter TB Brett wrote: On 26/03/2016 23:40, Alex Tweedly wrote: I haven't found (can't find) a spec for LCB, so I'm not sure exactly what "proper lists" are - but I think maybe not quite what I meant. There's a spec in the "Guides&quo

Re: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly
On 27/03/2016 20:47, Ali Lloyd wrote: True - but sadly there's no effective way to filter those 523 entries to see only the ones that are relevant to a List type. One way to do this is to click the 'lists' filter in the tags section. Thanks. I had tried typing 'list' into the search box, whic

(way OT, WAS: )Re: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly
, and it was indeed in F77, so I'm exaggerating slightly) -- Alex. On 28/03/2016 00:03, Dr. Hawkins wrote: On Sat, Mar 26, 2016 at 4:40 PM, Alex Tweedly wrote: e, and hence be able to do completely dense arrays, just like Fortran etc. (he said, making about 50 wild assumptions ab

Re: Help with legacy on-rev site tripped up on new LiveCode hosting service

2016-03-30 Thread Alex Tweedly
Hi Martin, it sounds like you've got your problems all fixed, but I thought I should mention that there was a subtle change in 'global' behaviour at some point in LC server evolution. It affected me when one of the upgrades changed things so I was using a later version (maybe 3.5 up to 6.x ??

Use github for dictionary changes.

2016-04-03 Thread Alex Tweedly
So, inspired by all this discussion about editing the dictionary, I tried to follow Ali's instructions for getting set up on github, etc. (from https://github.com/livecode/livecode/blob/community-docs/docs/contributing_to_docs.md), in particular the section under "Command line". I got registe

Re: Use github for dictionary changes.

2016-04-03 Thread Alex Tweedly
On 04/04/2016 00:34, Mark Wieder wrote: cd ~/livecode before trying to add a git remote Thanks Mark - works fine now. That gives me a great opportunity to improve the document on how to contribute - so I can use that as my test case for modifying the docs :-) I have (I think) fixed this mi

Re: Volunteer github guru for documentation submissions?

2016-04-05 Thread Alex Tweedly
I fully agree - it ain't that hard, even I could do it. This is the first time I've used git, or Github, etc. I followed Ali's instructions cautiously and slowly, hit one minor bump-in-the-road (which Mark solved for me within minutes courtesy of the use-list), one more minor issue which was

Re: How to compile in earlier versions using new keywords?

2016-04-11 Thread Alex Tweedly
I have to admit that when I first saw this solution, I thought "hmmm - clever but feels like it is exploiting a loophole". Depending on the engne to quietly ignore error-containing stacks just "feels wrong". I have NOT tried it, but a conceptually cleaner (to me) solution would be to have a "s

Re: Volunteer github guru for documentation submissions?

2016-04-13 Thread Alex Tweedly
On 13/04/2016 22:45, Monte Goulding wrote: GitHub <> git and you are using GitHub which has hacked on a web interface for working on stuff. I honestly think that if folks spent the same amount of time working out the web interface as working out how to use git locally using a good git gui th

Re: Arrays for lists with multiple lines where item 1 is the same on N number of lines

2016-04-22 Thread Alex Tweedly
You don't even need to test for empty; you can use 'put ... after tArray[key]' whether it is currently empty or not. so you could simply do set the itemDel to tab repeat for each line tRecord in tManyRecords put item 1 of tRecord into tParent put item 2 of tRecord into tChild put tChild &

Re: Clearing local variables

2016-04-29 Thread Alex Tweedly
On 30/04/2016 00:49, Dr. Hawkins wrote: The other thing I desperately want is the ability to tag loops, as in Fortran, so that I can see with certainty which end goes with which repeat or if. Do you simply want to *see with certainty", or do you want to use these tags (e.g. for exiting a contr

Re: Standalones on el Capitan?

2016-05-01 Thread Alex Tweedly
No, it's not an Apple problem - they're not losing any money over it, and they're certainly not losing any sleep over it. I think it's a Livecode Ltd problem (for the reasons described in the earlier post), though it is partly caused by Apple. Yeah. it would be great if Livecode Ltd could use

revIgniter and LC8

2016-05-04 Thread Alex Tweedly
[ Hope no-one minds me cross-posting to two lists - but I think this could be useful for people on both lists ] I have a couple of web sites based on revIgniter, hosted on hostM.com They've been running happily up until today - running the default version in use by hostm which was (probably) t

Re: [revIgniter] revIgniter and LC8

2016-05-04 Thread Alex Tweedly
using this means you don’t have to make any changes to the .lc file extensions SetHandler lc6 Kind regards Dave On 5 May 2016, at 00:45, Alex Tweedly wrote: [ Hope no-one minds me cross-posting to two lists - but I think this could be useful for people on both lists ] I have a couple of

Re: revIgniter and LC8

2016-05-05 Thread Alex Tweedly
Thanks Monte. I had looked at the files listed immediately before and after that part of the traceback - didn't think of going further down the list ... So looking in Input.lc, I found line 1114 has repeat for each item tSegment in tIPsegments then which is clearly wrong - the stricter pa

Re: Infinite LiveCode - Message from CEO

2016-05-13 Thread Alex Tweedly
I agree it is a rather short time frame - but 3 months would be far too long. This project hopes to complete "this summer" - so my guess would be end of August or September - therefore only 4-1/2 months away; they can't wait 3 months to see if the funding is available. -- Alex. On 13/05/201

Re: the hostname return value

2016-05-14 Thread Alex Tweedly
It's in $_SERVER["server_name"] Lots of other good stuff there see below -- Alex. (XXX replaced all the real data :-) DOCUMENT_ROOT = /home/XXX GATEWAY_INTERFACE = CGI/1.1 HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 HTTP_ACCEPT_ENCODING = gzi

Re: Blast message to multiple objects..

2016-05-19 Thread Alex Tweedly
Rather than have "all controls matching a mask ..." get the message, I think it would be better to introduce a publish-subscribe model. One example (not one you can use directly :-) is in the IDE, see the publish/subscribe section of https://livecode.com/how-to-create-plugins-and-tools-with-

Re: Fwd: LC / WordPress / CGI challenge

2016-05-29 Thread Alex Tweedly
Disclaimer - I don't know much about Wordpress. But after Todd's postings about it during the recent funding effort, I decided to go back and try again to use it (previous attempts have failed in a myriad of features that appear to be documented only on videos - the least time-effective way to

Re: Random? changes to textAlign

2016-05-29 Thread Alex Tweedly
Or an arithmetic bug (120% chance). :-) Alex. On 29/05/2016 22:23, Dar Scott wrote: I'm wondering if it has something to do with my leaving the names of the labels all the same. Or something about backgrounds. I haven't seen this before. It might be an engine bug (5% chance) or an IDE bug

Re: Change LC Server default output encoding?

2016-06-08 Thread Alex Tweedly
Well, I am no expert on .htaccess, but it does seem to be powerful, so . Instead of simply having ,htaccess use LCS for all htm/html files, can it not rewrite the URL to run a particular LC script, and pass the original URL name as a parameter? Then the LCS script can simply output the rel

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
"into an array" in what way ?presumably a numerically indexed array. Perhaps a more general feature requests would be to extend the 'split' command, so that it would parse by Primary and Secondary delimiters into numerically indexed arrays ? (using a new optional keyword "completely

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
w they can do so. As I wrote earlier, I don't think there's any of my code in there anymore, and while some incidental portions may have come from others I think that's all Alex Tweedly. If we were voting I'd suggest MIT License, so Alex continues to retain credit for

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
crazy (and why), I'll go add that to the feature request. Alex. On 13/06/2016 14:10, Paul Dupuis wrote: On 6/13/2016 7:45 AM, Alex Tweedly wrote: Perhaps a more general feature requests would be to extend the 'split' command, so that it would parse by Primary and Secondary delim

Re: LC and webviews

2016-06-13 Thread Alex Tweedly
On 13/06/2016 17:16, Richard Gaskin wrote: Lyn Teyla wrote: > You can create any sort of polished UI that can be accomplished using > web views, and use Angular, Bootstrap, and other established > web-based UI frameworks to speed up the process. > > You can place your UI code on a server and u

Re: csvToText Repository

2016-06-14 Thread Alex Tweedly
On 14/06/2016 14:33, Peter TB Brett wrote: Hi Alex, I don't think an enhancement to the split command would be adequate for correct parsing of a CSV file. I wasn't suggesting that. Having struggled to create the current version of csvToText, I am all too aware of the vagaries of csv forma

Re: Get fillGradient props

2016-07-07 Thread Alex Tweedly
What do you use for handler-local variables ? Thanks Alex On 07/07/2016 23:16, Monte Goulding wrote: On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: I've always thought lowercase "L" is a poor choice to prefix a variable name. Is it an L? It is a capital i? Is it a pipe? For what it’s worth

Re: Progress on WP REST API

2016-07-07 Thread Alex Tweedly
The problem I am having with understanding / using Custom Post Types (CPTs) isn't the defining of them - it's trying to use them in display of anything other than the simplest output format. Wordpress has grown organically to be extremely powerful - but that growth has left it un-architected in

Re: LC 8 on Windows

2016-07-10 Thread Alex Tweedly
[ this isn't yet a well-formed idea, but I'm sure there could be something ... ] Could there be a special "plugin diagnostic mode" ? When it is active, the IDE would - startup one plugin at a time - let you use it / try things out - and then (on some simple command) startup the next one,

Re: Application Transport Security deadline for iOS apps

2016-07-11 Thread Alex Tweedly
You (i.e. a developer who has one of these apps that scrapes from non-hhtp sites) could always provide a "relay" site that took https connections, made the request to the http site and then forwarded the end result. -- Alex. On 11/07/2016 15:13, Paul Dupuis wrote: On 7/11/2016 9:42 AM, Peter

Re: Sharing Stacks

2016-07-14 Thread Alex Tweedly
On 14/07/2016 17:57, Richard Gaskin wrote: >> Why is that not used? > > It is used. But is it used frequently enough to warrant the expense of maintenance by the core team? I think it's not used because it's not reliable. I was an early, and enthusiastic, user of revOnline when it first

Using the files() function

2016-07-15 Thread Alex Tweedly
I've always just used the 'english' version, i.e. put the files into tVar rather than the function version, put files() into tVar but now that the function version allows an optional parameter, I'd rather use that. Is there a way to do the equivalent of "put the detailed files into tVa

New(ish) option on the filter command

2016-07-15 Thread Alex Tweedly
OK, so it's not that new - it was added in 6.1 :-) filter now allows you to specify a "target container", e.g. filter myVar with "*.livecode" into tStacks Would it be a reasonable enhancement request to allow not just "into", but also "after" and "before" ? e.g. put files() into t f

Re: Using the files() function

2016-07-15 Thread Alex Tweedly
I see Mark Waddingham has already added an equivalent suggestion, so no need for me to do so. Thanks -- Alex. On 16/07/2016 00:02, [-hh] wrote: It's connected to that. You could add your enhancement request there? http://quality.livecode.com/show_bug.cgi?id=18010 Alex Tweedly wrote

Re: Sharing Stacks

2016-07-16 Thread Alex Tweedly
It's certainly much improved - but still feels under-developed, or under-resourced. Certainly under-tested. Five minutes playing shows up a variety of imperfections, ranging from trivial to fairly serious. All with 8.1.0 DP2, Macbook Pro, OSX 10.10.5 1. trivial 1a. Initial display shows :

Re: New(ish) option on the filter command

2016-07-16 Thread Alex Tweedly
into tResult if p1 is not empty AND p2 is not empty AND the last char of p1 <> CR then put CR after tResult put p2 after tResult return tResult end concatenateLines Alex Tweedly wrote OK, so it's not that new - it was added in 6.1 :-) filter now allows you to specify a &q

Re: Parsing the long ID or long Name

2016-07-26 Thread Alex Tweedly
Not sure I understand the real problem - or why array could help - but one observation ... On 26/07/2016 23:47, Sannyasin Brahmanathaswami wrote: Trying to avoid reinventing the wheel here: ... The obvious param to send to the behavior is the long ID or long Name of the target, or the owner o

Re: [ ANN ] Release 8.1.0 DP-3

2016-07-29 Thread Alex Tweedly
On 29/07/2016 17:14, panagiotis merakos wrote: Dear list members, We are pleased to announce the release of LiveCode 8.1.0-dp-3, a development preview of LiveCode 8.1. tsNet external -- LiveCode Indy and Business Editions now include the Tech Strategies tsNet external! * Faster t

Re: [ ANN ] Release 8.1.0 DP-3

2016-07-30 Thread Alex Tweedly
Thanks Monte - but more questions open up On 30/07/2016 09:38, Monte Goulding wrote: Or do I need to do something to use it ? If so, what ? No, you don’t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don’t have the internet

The Joy of Removing Features.

2016-08-01 Thread Alex Tweedly
Part 1 of a 4-part series on developing simple apps for photo management and viewing. A few months ago I realized I was coming to the end of my current Livecode project / interest, and it was time to find a new personal project for my Livecode time. I am a hobbyist developer using Livecode -

OT: Need better hardware vs need better software.

2016-08-01 Thread Alex Tweedly
I recently listened to an episode of BBC Radio 4's "Peter Day's World of Business" (A podcast series I highly recommend), about Chattanooga http://www.bbc.co.uk/programmes/p03wxx6w Chattanooga is a US city which used to be very much a heavy industry and transport city, and has suffered job los

Re: The Joy of Removing Features.

2016-08-02 Thread Alex Tweedly
Good idea. I *almost* called it "Part 1 of a 4-part trilogy", just because all trilogies need at least one sequel, or prequel, but maybe it would be better to leave out the boring bits and make it simply 3 parts :-) On 02/08/2016 00:44, Kay C Lan wrote: Enjoyed Part 1, looking forward to Pa

OT: Switch it off and back on ...

2016-08-08 Thread Alex Tweedly
My wife is always annoyed / amused that my stock response to any non-trivial computer / broadband / phone problem is the magic "power-cycle" method. As she says "4 years getting a BSc in Computer Science, 25 years in the electronics design and software business - and that's the best you can do"

Re: [ANN] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-16 Thread Alex Tweedly
On 16/08/2016 14:44, Richard Gaskin wrote: Anyone here have an idea what it would take to add a vimKeyBindings? A brief attack of insanity. (as in - if you already have Emacs, you'd be insane to waste time on any other editor or binding :-) -- Alex. OK, OK, I promise not to start "ed

The Joy of Removing Features - Part 2: Finding / removing duplicate files / photos.

2016-08-18 Thread Alex Tweedly
Part 2 of a 4-part series on developing simple apps for photo management and viewing. [ previously ... Part 1 described the justification and development of a very simple photo viewing app ] The next issue to deal with is the run-away number of photos, and the amount of disk space taken up

Re: The Joy of Removing Features - Part 2: Finding / removing duplicate files / photos.

2016-08-21 Thread Alex Tweedly
OpenClipArt.org API to display PNG and download SVG files from this clipart website. http://forums.livecode.com/viewtopic.php?f=9&t=27245 Al On Fri, 19 Aug 2016 00:20:40 +0100 Alex Tweedly wrote: [snip] Part 4 will (probably) describe an app for removing unin

Performance issues LC8 versus earlier versions.

2016-08-21 Thread Alex Tweedly
I just discovered that part of my simple benchmark code I was doing for my photo apps was incorrect. I was being caught out (I think) by the implementation of 'copy-on-write' in LC8. My simple benchmark did (in essence) put URL("binfile:/path/to/verylargefile.jpg") into tData1 put tData1

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Alex Tweedly
hat would be faster. Probably not in a one off but this would be particularly critical if you are regularly comparing the same file with others. Also you probably want to set the caseSensitive to true for the comparisons. Cheers Monte On 22 Aug 2016, at 8:40 AM, Alex Tweedly wrote: I'

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Alex Tweedly
On 22/08/2016 22:40, Ali Lloyd wrote: Is the speed difference still there without the `add 1 to temp` line? Yes. btw - 7.0.5 gives identical timings to 8.1 (probably what you'd expect, but thought I'd throw it in as useful info). -- Alex. ___ use

Re: Performance issues LC8 versus earlier versions.

2016-08-23 Thread Alex Tweedly
On 22/08/2016 15:47, Richard Gaskin wrote: Alex Tweedly wrote: > Would caseSensitive make it faster ? In theory yes, since it avoids having to run the internal equivalent of toLower on each thing being compared. But since these are bytes, not chars, that doesn't apply. However

Re: Performance issues LC8 versus earlier versions.

2016-08-25 Thread Alex Tweedly
On 25/08/2016 04:23, Monte Goulding wrote: Hi Alex To avoid breaking the behavior of octal to decimal number comparison if they both happen to be in a binary string at the time of comparison I didn’t think it was a good plan to leave that binary comparison check above the number check… howeve

Re: What's everyone working on this month? (September 2016)

2016-09-02 Thread Alex Tweedly
On 01/09/2016 09:48, Peter TB Brett wrote: Hi all, What exciting LiveCode project(s) are you working on at the moment? I'll answer that later today (hopefully), but first a rather negative alternative Q&A. Q. What exciting LC projects am I *NOT* working on ? A. Widgets. (any of them, many o

Re: What's everyone working on this month? (September 2016)

2016-09-02 Thread Alex Tweedly
On 02/09/2016 12:04, Dave Kilroy wrote: What a great list, we should do this every month :) I’m also doing too much: 3. Putting on a LiveCode workshop here in Plymouth, UK where the topic will be creating an iOS/Android app that allows participants to take photos of their friends, deface t

The Joy of Removing Features - Part 3: Presenting the duplicate files / photos info to the user.

2016-09-07 Thread Alex Tweedly
Update to Part 2. Part 2 of this series described a scheme for collecting the info about duplicate photos. This included some justification for not bothering to collect or store md5Hash info for each (relevant) file - and it turned out that my investigative / benchmark code was buggy. There we

Re: vCard/vCal Parsing?

2016-09-11 Thread Alex Tweedly
and simpler to understand - so feel free to use it any way you want - by the time anything happens it'll be MIT licensed). -- Alex. -- icsLib Both Commercial and GPL / Trial version -- © 2013 Pebble Beach Apps. To get in touch contact supp...@pebblebeachapps.com -- This stack was wri

Problem (or something I'm doing odd) with $_POST and LC Server

2016-09-27 Thread Alex Tweedly
I have a script running happily on one web site, moved it over to another site and it totally fails; it's a complex script, but I was able to reduce it down to the following tiny script (see end of email). On the new site (hosted on on-rev), the $_POST array is empty, while on the other site (

Re: Problem (or something I'm doing odd) with $_POST and LC Server

2016-09-27 Thread Alex Tweedly
ult in another way (the real form does allow file specification / upload). -- Alex. On 28/09/2016 01:00, Alex Tweedly wrote: I have a script running happily on one web site, moved it over to another site and it totally fails; it's a complex script, but I was able to reduce it down to the fo

OT - a Reading Recommendation

2016-10-11 Thread Alex Tweedly
This is off-topic, but I stumbled across this paper that I only vaguely remembered from a while ago ... and thought about the recent discussion about whether/when raw sockets were needed, versus using RESTFUL http. It's interesting reading, more "in general" than for this specific context. F

Re: OT - a Reading Recommendation

2016-10-11 Thread Alex Tweedly
Oops - https://tools.ietf.org/html/rfc3117 On the Design of Application Protocols Marshall Rose -- Alex On 12/10/2016 00:44, Richard Gaskin wrote: Alex Tweedly wrote: > This is off-topic, but I stumbled across this paper that I only > vaguely remembered from a while ago .

Re: Autodiscovery of LAN devices

2016-10-27 Thread Alex Tweedly
Richard, it might help if you were to more precisely describe the problem you are seeking to solve. If you need to discover all/any/arbitrary listeners - then "what Bob said". If you need to discover listeners for a specific port/service provided by some other apps/servers in a standard way

lcGoogleDrive, Livecode for FM, etc.

2016-11-17 Thread Alex Tweedly
Actually, that subject line should probably be lcGoogleDrive *without* Livecode for FM I see that one of the components listed under Livecode for FM is a library for OAuth2 and GoogleDrive. Have I missed any announcement of those being available generally - i.e. without LC4FM ?I'm

Re: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Alex Tweedly
oo so it's quite helpful. That's what he Troubleshooting dialog uses. I believe that will be in community too. Cheers Monte Sent from my iPhone On 18 Nov. 2016, at 11:29 am, Alex Tweedly wrote: Actually, that subject line should probably be lcGoogleDrive *without* Livecode for

Re: Free Let's Encrypt SSL Certificates for On-Rev?

2016-11-19 Thread Alex Tweedly
I know it's an old conversation from Jnuary - but here's an update ... I recently ask sup...@on-rev.com and got the following reply from David : The way this works is that all sites under your account which are not currently secured with a preexisting SSL certificate will be automatically set

Re: Socket communication

2016-11-22 Thread Alex Tweedly
Yes, what Richard said :-) Don't be misled by the dictionary - the socketID *may* start with an IP address, but it doesn't need to - therefore you can simply close 8765 without an IP address, to close sockets you have 'accepted' on. -- Alex. On 22/11/2016 21:52, Richard Gaskin wrote: Ralp

Re: live code seems to gratuitously unlock write permission for directories

2016-12-03 Thread Alex Tweedly
OK, I got slightly lost in this thread - we've gone off to solve a work-around to your problem, and I'd like to go back to the problem itself. If I understood it properly, what you;re seeing is that setting the permission of a directory to disallow write *should* prevent you from saving a sta

Re: live code seems to gratuitously unlock write permission for directories

2016-12-03 Thread Alex Tweedly
he address bar back to what it was before !! So - very sorry, the correct address is indeed http://tweedly.org/downloads/checkpermissionsetting.livecode (checked and downloaded in a new Chrome window :-) -- Alex. On 03/12/2016 19:32, Dr. Hawkins wrote: On Sat, Dec 3, 2016 at 9:47 AM, Al

Re: live code seems to gratuitously unlock write permission for directories

2016-12-03 Thread Alex Tweedly
You're right - and I confess I don't know why the downloads folder is inaccessible. Permission is set to 755, and there's no .htaccess file or anything else I know of to prevent it. Anyway - if you wanted the taskrunner files, they are : - taskrunner.rev - taskClientLib.rev - test-task-runne

  1   2   3   4   5   6   7   8   9   10   >