Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Hey Bruce, have a look at this link for a anaolg gauge html server. \ RegardsMike Gauges |   | |   | |   |   |   |   |   | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | |   | RegardsMike On Saturday, 14 February 2015,

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Bruce this is the link Mike Gaugeshttps://demo.crossbar.io/demo/gauges/index.html |   | |   | |   |   |   |   |   | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | |   |   On Saturday, 14 February 2015, 21:51, Mike Crean

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Rolf-Werner Eilert
Am 12.02.2015 19:09, schrieb Bruce Cunningham: I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based System-On-Module (similar to an Rpi, but in an sodimm form factor). Thanks to some great help from members

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Caveat
If you're going to use a database to communicate between 2 separate programs, be sure to set the transaction isolation to READ-COMITTED (good for MySQL, ymmv), otherwise you won't see updates made by another process which can lead to some frustrating and confusing mismatches between what you

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Lewis Balentine
Forgive me for poking my nose in where my profound ignorance indicates I should not but Would not a direct solution be: 1) Have the resident program ALLOC a section of ram 2) Save the address as part of a unique file name (i.e. ADRxx.ADR where x is the address) 3) Pass the required

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread T Lee Davidson
Bruce, Named pipes do indeed require a node on the file system. You might need to look into shared memory; or maybe DBUS might suit your needs. Lee __ Artificial Intelligence is no match for natural stupidity. On 02/13/2015 03:35 PM, Bruce Cunningham wrote: I was considering

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Bruce Cunningham
] A couple of questions about building web / cgi applications If you're going to use a database to communicate between 2 separate programs, be sure to set the transaction isolation to READ-COMITTED (good for MySQL, ymmv), otherwise you won't see updates made by another process which can lead

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Tobias Boege
On Fri, 13 Feb 2015, Lewis Balentine wrote: On 02/13/2015 02:35 PM, Bruce Cunningham wrote: Caveat, Thanks for the info. I'm a little concerned about using a disk based database because the disk is flash, which has a limited number of write cycles. Even with wear-leveling, I

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Dimitris Anogiatis
Hey Bruce, In addition to all the good suggestions everyone is throwing in the problem, you could use a CouchDB database on a different server and just connect to it with a normal http connection if you're worried about file hits on the sd card. Gambas supports JSON and the httpclient component

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Benoît Minisini
Le 13/02/2015 21:35, Bruce Cunningham a écrit : Caveat, Thanks for the info. I'm a little concerned about using a disk based database because the disk is flash, which has a limited number of write cycles. Even with wear-leveling, I would eventually kill parts of the flash. I don't want

[Gambas-user] A couple of questions about building web / cgi applications

2015-02-12 Thread Bruce Cunningham
I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based System-On-Module (similar to an Rpi, but in an sodimm form factor). Thanks to some great help from members of this mailing list, I have successfully compiled

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-12 Thread Benoît Minisini
Le 12/02/2015 19:09, Bruce Cunningham a écrit : I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based System-On-Module (similar to an Rpi, but in an sodimm form factor). Thanks to some great help from members

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-12 Thread Bruce Cunningham
...@users.sourceforge.net] Sent: Thursday, February 12, 2015 1:59 PM To: mailing list for gambas users Subject: Re: [Gambas-user] A couple of questions about building web / cgi applications Le 12/02/2015 19:09, Bruce Cunningham a écrit : I'm looking for some advice and maybe some code examples for a project I'm

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-12 Thread Dimitris Anogiatis
for gambas users Subject: Re: [Gambas-user] A couple of questions about building web / cgi applications Le 12/02/2015 19:09, Bruce Cunningham a écrit : I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based