Factoring over Scaling (was: Another server question (mixing node.js and LC))

2018-03-01 Thread Richard Gaskin via use-livecode
It's easy to get excited about C10k problems, and I got caught up in it myself. Geeks love this stuff. It's hard to resist. But once the coffee wore off, I changed hats and reconsidered this problem from the standpoint not of an implementer, but a business owner. Here's the core of the busi

Re: Android Studio how to create AVD?

2018-03-01 Thread Ali Lloyd via use-livecode
One very irritating thing about Android Studio is that you have to create a project before you can launch a simulator. So when you open Android Studio, and get the welcome dialog, just start a new project with any old settings. Once you've done that you can choose Tools > Android > AVD Manager and

Re: Font name weirdness

2018-03-01 Thread Knapp Martin via use-livecode
Never mind - I just realized that I’d loaded the fonts in my test stack in LC 6.6.5, then opened the stack in LC 8.1.9. But it is weird that the same fonts in my system show up with different names between 6.6.5 and 8.1.9. > I just discovered something weird with regards to font names. If I look

Android Studio how to create AVD?

2018-03-01 Thread bob--- via use-livecode
I’m trying to figure out how to get an Android virtual device going for LC testing/debugging. For the life of me I can’t figure out how to create an AVD with Android Studio. I’ve spent the better part of my day trying to figure this out. I've tried LC business 8.1.9 & LC business 9.0.0 (dp11).

Re: building deb packages

2018-03-01 Thread Mike Bonner via use-livecode
I'm giving up on the file size. No clue where the extra comes from, and I even went to far as to try compressing the .deb after the fact looking to see if it could be squeezed any tighter. But, Newp. On Wed, Feb 28, 2018 at 7:24 PM, Mike Bonner wrote: > Thanks for testing! Tickled that it actu

Font name weirdness

2018-03-01 Thread Knapp Martin via use-livecode
I just discovered something weird with regards to font names. If I look at the font names in the font menu of LC 8.1.9, in some cases they are different names than what I get when I access the fontNames. For example, I have a font family named "Vendome." From the fontNames function I get these:

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Alex Tweedly via use-livecode
On 01/03/2018 18:48, Richard Gaskin via use-livecode wrote: jbv wrote: > And is this feature already available on the LC version of on-rev > accounts ? Hard to say. I have an on-rev account, but haven't set it up.  I would imagine that the mother ship is using the latest Stable build, no?

Rolling my own font menu

2018-03-01 Thread Knapp Martin via use-livecode
So I need to roll my own font menu for a project I'm working on. I'm using a simple stack that I open as a palette with a scrolling field which lists all the fonts. I open this font menu stack and the text stays selected in the field of the stack that I'm wanting to change the font of. But after

Format Arrays

2018-03-01 Thread Bob Sneidar via use-livecode
Hi all. Ever queried or updated an SQL database with float column types, and noted to your dismay that float values truncate leading AND trailing values? So now when you want to put that data into a datagrid, 800.00 becomes 800, 495.60 becomes 495.6. Wouldn't it be great if there was a command

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Brian Milby via use-livecode
If you just need community, should be pretty easy to compile a copy without that feature. I have not looked at the source though. On Thu, Mar 1, 2018 at 10:38 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Can that be turned off? > > Not yet. I have a request f

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Richard Gaskin via use-livecode
jbv wrote: > On Thu, March 1, 2018 5:38 pm, Richard Gaskin via use-livecode wrote: >> It's nice that we now have >> graphics capabilities in Server, > > Is there any doc on this somewhere ? I think it was in the Release Notes for whatever version it was enabled in (v7?), but I haven't checked t

RE: How to include files in an iOS-App?

2018-03-01 Thread Ralph DiMola via use-livecode
Martin, 1) Put the text file into the "Copy Files" pane of the standalone settings 2) When app start check is there is a copy in your "the documents folder/somepath" folder. If not then copy it from "the engine folder" to "the documents folder/somepath" folder. 3) Your app will access the file i

How to include files in an iOS-App?

2018-03-01 Thread martin meili via use-livecode
How can I include e.g. a textfile (let's say „MyText.txt“), when building the standalone application for iOS for the use from within the app (reading from/writing to)? I get my apps running on my iPad, I can read and write files, and - if there is no „TheFiles“-folder - I can create such a fo

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread jbv via use-livecode
On Thu, March 1, 2018 5:38 pm, Richard Gaskin via use-livecode wrote: > It's nice that we now have > graphics capabilities in Server, Is there any doc on this somewhere ? And is this feature already available on the LC version of on-rev accounts ? Thanks, jbv __

Re: Re: A suggestion for an in-memory database, following up on Richard’s experiment

2018-03-01 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > no reason why it wouldn't work... but keep 2 things in mind > > if you use community edition, the number of HHTP Requests you can make > to the same domain at one time is exactly 1. How many are needed from a single client? While it's unfortunate the LiveCode Community Edition

Re: Background color in an 'answer' dialog?

2018-03-01 Thread Richard Gaskin via use-livecode
Generous of you to offer, Bob. There's a donation button in the About pane, accessed through the topmost arrow button. I use pay...@fourthworld.com Donations allow me to spend time with it, and also useful is learning how others spend time with it. It's more of a tool rack than a tool itse

Re: Background color in an 'answer' dialog?

2018-03-01 Thread Bob Sneidar via use-livecode
Saw the png of it, looks great! I am going to give it a try. If I like and use it I will be happty to shoot you off something on PayPal. Just let me know your handle if you have one. Bob S > On Mar 1, 2018, at 08:41 , Richard Gaskin via use-livecode > wrote: > > Very kind of you to say, Br

Re: Background color in an 'answer' dialog?

2018-03-01 Thread Richard Gaskin via use-livecode
Very kind of you to say, Brian. Thanks. I have no registration requirement for that free plugin, so I'm often delightfully surprised to discover who's using it. Very soon I'll have a window of time in which I can finally get around to adding some more useful things to the Projects pane. If y

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Richard Gaskin via use-livecode
jonathandlynch wrote: > I certainly don’t need to load fonts in the LC process. Most people doing server work don't. It's nice that we now have graphics capabilities in Server, and I can imagine some CGIs that maybe generate postcard or other output where fonts would be needed. But probably

Re: A suggestion for an in-memory database, following up on Richard’s experiment

2018-03-01 Thread Tom Glod via use-livecode
no reason why it wouldn't work... but keep 2 things in mind if you use community edition, the number of HHTP Requests you can make to the same domain at one time is exactly 1. For a system like this, it could be better to save to an sql because seperate TXT files would be a lot of IO calls. If y

A suggestion for an in-memory database, following up on Richard’s experiment

2018-03-01 Thread Jonathan Lynch via use-livecode
This is a different idea from the other thread, so I am starting a new thread. Imagine the following scenario: Each record is saved as a separate text file. LC loads up all the text files into a single massive global array. LC listens to a port for DB requests. When a DB request comes in, LC

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Jonathan Lynch via use-livecode
Is it possible to solve the C10k problem with simple CGI? LC has a relatively small footprint in RAM. If each LC process takes up 7 meg, then 10,000 processes would take 70 gig of ram. NginX can manage that no problem on a dedicated server. Is there any reason why that would not work? Sent fro