Re: ID caching: how to test?

2013-05-12 Thread Peter Haworth
That case could make a difference yes, but it's hard to imagine a custom control with that number of components. Datagrids do chew up a lot of controls, it's true but it's usually in the hundreds because they only create controls for the number of rows visible in the datagrid, not the total rows o

Re: Virtual Conference Freebie

2013-05-12 Thread Scott Rossi
Wow. Stephen Barncard earns the dual distinction of not only being the first to offer a donation for tmEffects, but to do so within 1 minute of the announcement. Dude, you are the man. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From: Scott Rossi Date: Sunday, May 12,

Re: skip lists

2013-05-12 Thread Peter Haworth
On Sun, May 12, 2013 at 3:28 PM, Alex Tweedly wrote: > 1. Ranges. > Arrays are really good at > Give me element N > but not so good at > Give me all elements between N and M > > You can do "gets the keys; sort them; scan through (maybe using binary or > similar search to speed that up). B

Virtual Conference Freebie

2013-05-12 Thread Scott Rossi
Hello LiveCoders: In the spirit of RunRevLive and the move toward open source, I wanted to offer up small IDE add-on to the community called tmEffects, a plugin for managing graphic effects in LiveCode. In my day-to-day work, I need access to graphic effects all the time, and this palette makes t

Re: skip lists

2013-05-12 Thread Richard Gaskin
Alex Tweedly wrote: On 12/05/2013 23:16, Richard Gaskin wrote: Worse, my aim here is to run all this in the most stringent of environments: a CGI, where the app must initialize, run, return a result, and die, all in as small a fraction of a second as possible. (partly tongue-in-cheek) Why

Re: ID caching: how to test?

2013-05-12 Thread Alex Tweedly
On 13/05/2013 00:26, Alex Tweedly wrote: 5. (I could be totally wrong here ...) It's probably a 5-lines of code change. I was totally wrong; it's much more intelligent than that. It caches multiple recently used IDs, not just the very latest one - so it's probably quite a bit more than 5

Re: skip lists

2013-05-12 Thread Alex Tweedly
On 12/05/2013 23:16, Richard Gaskin wrote: Worse, my aim here is to run all this in the most stringent of environments: a CGI, where the app must initialize, run, return a result, and die, all in as small a fraction of a second as possible. (partly tongue-in-cheek) Why must it run in this

Re: ID caching: how to test?

2013-05-12 Thread Alex Tweedly
Does it matter ? Not sure, but let me try to construct a case ... 1. Custom Controls are going to be more common / important 2. Some custom controls (e.g. datagrids) will dramatically increase the number of controls frequently encountered on a card. (My simple test only used 1000 controls -

Re: skip lists

2013-05-12 Thread Alex Tweedly
I think your description is correct but there are a couple of (categories of) cases where other considerations *may* apply. (in this context of skip-lists, the data is sorted by some key(s)) 1. Ranges. Arrays are really good at Give me element N but not so good at Give me all elements b

Re: skip lists

2013-05-12 Thread Richard Gaskin
Geoff Canyon wrote: > In non-high-level languages: > Linked lists... > ...They're slow to find elements in, which skip lists help to address. Exactly. > In LC: > Arrays allocate memory below the level we look at, as do all other > storage forms. Any implementation of a linked list that I can thi

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread J. Landman Gay
On 5/12/13 2:16 PM, CoffeeCone Mail wrote: Okay, I think I don't get the anatomy of the menu bar. This may help: The instructions are for converting HyperCard stacks but they apply to any LC app. You must make a complete menu bar (p

Re: While the forum is down...

2013-05-12 Thread J. Landman Gay
On 5/12/13 12:54 AM, CoffeeCone Mail wrote: Oh wow, now I feel stupid. Thanks! The rule is that you must follow in the footsteps of each one of us who has made the same mistake, and tell the next person how to fix it. :) It's a really, really common error. Don't feel too bad. -- Jacqueline

Re: US at conference?

2013-05-12 Thread Andre Garzia
Folks, I am at the restaurant on the travelodge, if anyone wants to join in! :-D I will be here for about one more hour (or until my battery complains) Cheers andre On Sun, May 12, 2013 at 10:01 PM, Monte Goulding < mo...@sweattechnologies.com> wrote: > Monday (tomorrow).. sorry, should have

Re: US at conference?

2013-05-12 Thread Monte Goulding
Monday (tomorrow).. sorry, should have mentioned that ;-) On 12/05/2013, at 10:29 PM, "Ralph DiMola" wrote: > Monte > > What day? > > Ralph DiMola > MIS DirectorEvergreen Information Services > rdim...@evergreeninfo.net > > -Original message- > From: Monte Goulding > To: How to use Li

Re: skip lists

2013-05-12 Thread Geoff Canyon
On Sat, May 11, 2013 at 5:20 PM, Richard Gaskin wrote: > Geoff Canyon wrote: > > > I'm curious why you'd want to do this? > > Because I'm a madman. :) A perfectly fine reason, I've done many things for the same reason. In this instance, just to make sure there's nothing I'm overlooking, as far a

Re: US at conference?

2013-05-12 Thread Andre Garzia
I've arrived and am walking around! Em 12/05/2013 16:12, "Colin Holgate" escreveu: > I'm in Nottingham, at one of my brother's place. I thought about taking a > plane form East Midlands Airport, but roughly speaking the cost for the > plane or the train is the same, and train times are more like

Re: Script editors

2013-05-12 Thread Scott Morrow
This sounds very useful! Keep us posted. -- Scott Morrow On May 12, 2013, at 6:04 AM, René Micout wrote: > Hello Claudi, > Great !! > René > > Le 3 mai 2013 à 10:31, Claudi Cornaz a écrit : > >> Hi, >> >> I am working on a tool, "stackally", which show's all handlers of a event in >> a tr

Re: postgres talking back on queries again

2013-05-12 Thread Dr. Hawkins
On Sun, May 12, 2013 at 9:55 AM, Peter Haworth wrote: > Sounds like you somewhere issued a BEGIN and then stopped processing > without a ROLLBACK or COMMIT, maybe while debugging and stopping part way > through a handler. The INSERT in psql works because you don't have that > situation. Try iss

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread Mark Schonewille
Hi, You should not define only About. The best you can do is to create a new empty stack and use the Menu builder to add a menu to the stack. Delete the first item of the menu Help and see what happens. Delete the dash from the menu and see what happens. Put the dash back and look at the text p

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread CoffeeCone Mail
Okay, I think I don't get the anatomy of the menu bar. I made a pulldown menu, gave it the name "Help" then on its choices, I only defined "About". Inside the script, I have a prompt to show answer info "hello world". After that, I selected that object and grouped it. I named the group "menubar".

Re: ID caching: how to test?

2013-05-12 Thread Peter Haworth
On Sun, May 12, 2013 at 10:08 AM, Alex Tweedly wrote: > in 5.5.3 > name takes 830 ms while id takes only 250 ms > > but in 6.0 (i.e. with id caching) > name takes 830 ms while id takes 5 ms > Hi Alex, I tried your script on my computer after creating 1000 objects like you except they were images

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread Mark Schonewille
Hi, Sure you can. Just make a group with pulldown buttons and set the menubar property of your stack to the name of that group. Make sure that you understand tha anatomy of menubars! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread CoffeeCone Mail
Hi, thanks for the suggestion. However, is there any way I can make my own menubar group without using the Menu Manager? Using it messes up my application's layout in some way or another. On 5/13/13, Mark Schonewille wrote: > Hi, > > Add a menubar with just the About menu item (make sure it is in

Safe travels to all!

2013-05-12 Thread Mark Rauterkus
Hi, Home-bound here but wishing you all safe travels to and from the conference. Perhaps we will meet again at the US EDUCATORS event for LC? Details on that welcomed, whenever. Send us some digital goodies in your spare moments. Wishing I could join you. Mark Rauterkus m...@rauterkus.con Pitts

Re: ID caching: how to test?

2013-05-12 Thread Richard Gaskin
Alex Tweedly wrote: Yes, here's an example. The clue (I think) is in the "linear time...into constant time" Create a large-ish number of controls - in this stack I cloned a button 1000 times, calling them BBB1 BBB2 BBB1000 Then this code accesses a single control many times - and shows

Re: ID caching: how to test?

2013-05-12 Thread Alex Tweedly
Yes, here's an example. The clue (I think) is in the "linear time...into constant time" Create a large-ish number of controls - in this stack I cloned a button 1000 times, calling them BBB1 BBB2 BBB1000 Then this code accesses a single control many times - and shows that accessing b

Re: postgres talking back on queries again

2013-05-12 Thread Peter Haworth
Sounds like you somewhere issued a BEGIN and then stopped processing without a ROLLBACK or COMMIT, maybe while debugging and stopping part way through a handler. The INSERT in psql works because you don't have that situation. Try issuing a COMMOT or ROLLBACK from the message box then try the INSE

Re: How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread Mark Schonewille
Hi, Add a menubar with just the About menu item (make sure it is in the right place). If the Help menu has no other items, it won't show up in the menu bar. There is no way to do this without a menubar. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homep

How do I catch the App Name > About without adding a menu bar?

2013-05-12 Thread CoffeeCone Mail
On OS X, I want to catch when the user presses My App Name > About from the menu bar. I can't figure out a way to do this without having to resort to adding a menu bar (which my app doesn't really need). ___ use-livecode mailing list use-livecode@lists.r

Re: Oval framed photo

2013-05-12 Thread Roger Guay
On May 11, 2013, at 5:13 AM, David Bovill wrote: > Thanks Mike and Roger - seems like it works on OSX at least despite the > notes in the docs: > > To be used as a pattern on Mac OS systems, an image must be 128x128 pixels >> or less, and both its height and width must be a power of 2, however,

Re: US at conference?

2013-05-12 Thread Colin Holgate
I'm in Nottingham, at one of my brother's place. I thought about taking a plane form East Midlands Airport, but roughly speaking the cost for the plane or the train is the same, and train times are more likely to be exactly on time. Means it will take 4-5 hours to get up there, but I'll be relax

Re: US at conference?

2013-05-12 Thread Andre Garzia
I am at the heathrow airport right now. I will depart to Edinburgh on BA1454 at 17:25. Is someone here or on the same flight? Cheers andre On Sun, May 12, 2013 at 1:42 PM, Pascal Lehner wrote: > Welcome to the island :-) and since its not raining right now, I'd even > consider it good weather.

Re: Context Menus - the look of the thing

2013-05-12 Thread Graham Samuel
Yes, the button contains a classic 'menuPick' script. In a test rig, it works fine as it is. I just made the thing work. I THINK I did this by ensuring that the button was in the hierarchy of the stack that was invoking it with a 'popup' script: previously I had tried to put the button in a com

Re: Script editors

2013-05-12 Thread René Micout
Hello Claudi, Great !! René Le 3 mai 2013 à 10:31, Claudi Cornaz a écrit : > Hi, > > I am working on a tool, "stackally", which show's all handlers of a event in > a tree view. > A event means: everything that happens from the start of a message till the > end of that message. > Well that's

Re: Context Menus - the look of the thing

2013-05-12 Thread Peter M. Brigham
Have you checked that you are loading the contents of the button correctly first? If you don't put some text into the button, nothing will happen with the command. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 12, 2013, at 6:45 AM, Graham Samuel wrote: > A

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 entr

Re: US at conference?

2013-05-12 Thread Ralph DiMola
Monte What day? Ralph DiMola MIS Director Evergreen 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 arou

Re: US at conference?

2013-05-12 Thread Ralph DiMola
What day? ? Ralph DiMola MIS Director Evergreen 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:

Re: Context Menus - the look of the thing

2013-05-12 Thread Graham Samuel
Actually I **thought** it was solved because a test stack worked. Now in my real stack, it doesn't seem to work. Basically I have the button menu in an obscure card in a mainstack somewhere, and the mouseDowns can easily be shown to be reaching this stack and even this button, but the popup does

Re: Odin down ?

2013-05-12 Thread Björnke von Gierke
Because the on-rev.com domain name was disabled, you'll need to change your server name to your own. You can leave all other options on, and should see a security warning (domain name mismatch), but only if you have secure connection enabled. There you then can say to always trust odin.on-rev.co

Re: Drag and Drop

2013-05-12 Thread Richmond
On 05/11/2013 06:54 PM, Richmond wrote: On 05/11/2013 06:30 PM, Mark Wieder wrote: Richmond- Friday, May 10, 2013, 11:46:45 PM, you wrote: As a result I gave up reading it and started thinking for myself. ...no good can come of that... Okay; let's rewrite that to this: "I read the docume

Re: Odin down ?

2013-05-12 Thread Richmond
On 05/12/2013 12:05 PM, Robert Mann wrote: I think I'm (or was on) ODIN... and my sites are running back, but... Tuesday. I think everybody ought to have realised by now that nothing will be what it should be until Tuesday. but... I can't update anything : -- Interarchy answers :: i 'can't

Re: Odin down ?

2013-05-12 Thread Robert Mann
I think I'm (or was on) ODIN... and my sites are running back, but... but... I can't update anything : -- Interarchy answers :: i 'can't get the IP of the server, so get lost! -- On-Rev (was working yesterday saturday..) :: you can no longer use this version, please download a new one... but ::

Re: US at conference?

2013-05-12 Thread Monte Goulding
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 th

Re: US at conference?

2013-05-12 Thread Graham Samuel
Me too - you're Brit in disguise, aren't you? I'm a Brit very lightly disguised as a Frenchman… see you there. Graham On 11 May 2013, at 22:19, Colin Holgate wrote: > I'm coming up by train on Monday, to the Travelodge. Should be there by 8pm. > > > On May 11, 2013, at 10:17 PM, Ralph DiMola