Star score graphic generator achievable with inks... or...?

2021-04-01 Thread David V Glasgow via use-livecode
Hi folks, I am thinking about an app to create a 'star score' graphic for any given score/maximum value. I don’t want it to be just integers up to the number of stars, but for one for the stars (if mean score is neither zero or the maximum) to be part golden and part grey. I initially thought

Re: Star score graphic generator achievable with inks... or...?

2021-04-01 Thread Bob Sneidar via use-livecode
I think what I would do is have 2 locked groups of stars overlaying each other. The back one the stars would be gray, and to top one whatever color you want. To register a value simply change the right of the top group to any value you want, to obscure the gray stars underneath. Bob S On Apr

Re: Star score graphic generator achievable with inks... or...?

2021-04-01 Thread Bob Sneidar via use-livecode
Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. Bob S On Apr 1, 2021, at 9:59 AM, Bob Sneidar mailto:bobsnei...@iotecdigital.com

Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Richard Gaskin via use-livecode
Good morning, Charles - Thank you for your assistance, and your offer to look into it. TL/DR: As work progresses I'm increasingly convinced this isn't a client-side issue at all, but a side-effect of how LC Server's insistence on loading fonts that aren't needed triggers some host's CGI resou

RE: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Ralph DiMola via use-livecode
Richard, I also have a problem when requests come too fast. This might be related? I'm on an on-rev server. My problem was that using sessions caused the LC server to choke about 50% of the time when sending back-to-back requests. I confirmed this when stress testing by sending 2 or more reques

Re: [ANN] New Book: Development Oriented Development

2021-04-01 Thread Mark Smith via use-livecode
Hi Andre, thanks for this delightful and inspiring little book. Your “Type Tool” in particular has spawned a whole range of ideas related to things I never thought could be accomplished so easily. Mark > On Mar 23, 2021, at 3:04 PM, Andre Garzia via use-livecode > wrote: > > Hi Martin, > >

Re: [ANN] New Book: Development Oriented Development

2021-04-01 Thread Tom Glod via use-livecode
I gotta get on it and read it. Great reviews so far. On Thu, Apr 1, 2021 at 2:45 PM Mark Smith via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Andre, thanks for this delightful and inspiring little book. Your “Type > Tool” in particular has spawned a whole range of ideas related to

Behaviors and scripts and a new handler structure...

2021-04-01 Thread Paul Dupuis via use-livecode
I have increasingly been using behaviors in my applications where it makes sense to assign a script to multiple objects or to override the actions of existing script handlers by assign a behavior with different version of those handlers. The one thing I dislike about behaviors is all the objec

Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Richard Gaskin via use-livecode
Ralph DiMola wrote: > Richard, > > I also have a problem when requests come too fast. This might be > related? I'm on an on-rev server. My problem was that using sessions > caused the LC server to choke about 50% of the time when sending back- > to-back requests. I confirmed this when stress test

Re: Behaviors and scripts and a new handler structure...

2021-04-01 Thread Bob Sneidar via use-livecode
I have already implemented this with the help of others, for Datagrids. I think it works already for other things. Bob S > On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode > wrote: > > I have increasingly been using behaviors in my applications where it makes > sense to assign a scr

RE: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Ralph DiMola via use-livecode
It is session specific. After 2 back-to-back requests to the LC server script that uses sessions 50% of the time you get into this state: 1) Any server request that attempts to create or use an existing session will lock up for 20-30 seconds and return empty. 2) Server requests that don't use sessi