programming system questions

Greetings I have been using a web application for one of my business functions. Besides the limitation of it being a web application (the web is NOT as consistent nor as quick as is considered 'normal' for those that like in rural areas) there are to many areas where I need to tweak the results. Therefore I would like to re-create this application. At its base its somewhat like a recipe system. I plan on using postgresql for data holding and now what might be a good way of now doing the work. Think that an item has from 5 to 50 of 50 information fields. I am adding a number of items together and specifying quantities of each item trying to achieve levels that I previously specified. The present application uses css and javascript and some other things that are on the 'home' (program owner's) server. Hopefully this description is clear enough and gives enough information so that suggestions might be forthcoming. (I asked an engineer friend and his suggestion was to use a monte carlo type of system but that would be several levels more complex that I think might be necessary for this application.) Regards Dee

On Thu, 11 Oct 2018 07:53:18 -0500 o1bigtenor via talk <talk@gtalug.org> wrote:
Greetings
Hello :)
I have been using a web application for one of my business functions. Besides the limitation of it being a web application (the web is NOT as consistent nor as quick as is considered 'normal' for those that like in rural areas) there are to many areas where I need to tweak the results. Therefore I would like to re-create this application.
on the web?
At its base its somewhat like a recipe system. I plan on using postgresql for data holding and now what might be a good way of now doing the work.
i love postgresql :)
Think that an item has from 5 to 50 of 50 information fields. I am adding a number of items together and specifying quantities of each item trying to achieve levels that I previously specified. The present application uses css and javascript and some other things that are on the 'home' (program owner's) server. Hopefully this description is clear enough and gives enough information so that suggestions might be forthcoming. (I asked an engineer friend and his suggestion was to use a monte carlo type of system but that would be several levels more complex that I think might be necessary for this application.)
i refuse to google "monte carlo type system" on duckduckgo.com... please put me out of my misery and tell me what a monte carlo type system is? ( I do love Monte Carlo also :) ) Andre

Electron is probably the easiest way to move a web app to an application. See: https://electronjs.org/ It uses html, javascript, css and should be able to connect to your postgresql database. ../Dave On Oct 11, 2018, 8:53 AM -0400, o1bigtenor via talk <talk@gtalug.org>, wrote:
Greetings
I have been using a web application for one of my business functions. Besides the limitation of it being a web application (the web is NOT as consistent nor as quick as is considered 'normal' for those that like in rural areas) there are to many areas where I need to tweak the results. Therefore I would like to re-create this application.
At its base its somewhat like a recipe system. I plan on using postgresql for data holding and now what might be a good way of now doing the work.
Think that an item has from 5 to 50 of 50 information fields. I am adding a number of items together and specifying quantities of each item trying to achieve levels that I previously specified.
The present application uses css and javascript and some other things that are on the 'home' (program owner's) server.
Hopefully this description is clear enough and gives enough information so that suggestions might be forthcoming. (I asked an engineer friend and his suggestion was to use a monte carlo type of system but that would be several levels more complex that I think might be necessary for this application.)
Regards
Dee --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

On 11/10/18 10:37, David Mason via talk wrote:
Electron is probably the easiest way to move a web app to an application. See: https://electronjs.org/
It uses html, javascript, css and should be able to connect to your postgresql database.
slack, what should be a simple text chat built on electron is taking 873044 kb RSS memory on my desktop. electron should be the last resort - it is probably the worst thing you could do for your users if you care about resource constraints. I would question the merit of even moving from a web application. I am on 400/100kbit DSL in the country, and I don't have any issues with even large react or ember based web apps. Cheers, Jamon

Slack is far, far, from a simple text chat, regardless of what you (or I) think it should be. I hadn’t checked its size. On my system it’s about 200MB+another 200MB per workspace. Yeah, that’s outrageous. But Firefox is using about 10GB, so I’m not exactly convinced that a web app is going to have a significantly smaller footprint than Electron. The fact that Slack is such a high-quality app is in my mind a huge vote in favour of Electron (as is Discord) ../Dave On Oct 11, 2018, 10:53 AM -0400, Jamon Camisso via talk <talk@gtalug.org>, wrote:
On 11/10/18 10:37, David Mason via talk wrote:
Electron is probably the easiest way to move a web app to an application. See: https://electronjs.org/
It uses html, javascript, css and should be able to connect to your postgresql database.
slack, what should be a simple text chat built on electron is taking 873044 kb RSS memory on my desktop.
electron should be the last resort - it is probably the worst thing you could do for your users if you care about resource constraints.
I would question the merit of even moving from a web application. I am on 400/100kbit DSL in the country, and I don't have any issues with even large react or ember based web apps.
Cheers, Jamon --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

Electron-based slack also wedges on machines with >= 32GB, at least as recently as last month. --dave On 2018-10-11 10:52 a.m., Jamon Camisso via talk wrote:
On 11/10/18 10:37, David Mason via talk wrote:
Electron is probably the easiest way to move a web app to an application. See: https://electronjs.org/
It uses html, javascript, css and should be able to connect to your postgresql database. slack, what should be a simple text chat built on electron is taking 873044 kb RSS memory on my desktop.
electron should be the last resort - it is probably the worst thing you could do for your users if you care about resource constraints.
I would question the merit of even moving from a web application. I am on 400/100kbit DSL in the country, and I don't have any issues with even large react or ember based web apps.
Cheers, Jamon --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- David Collier-Brown, | Always do right. This will gratify System Programmer and Author | some people and astonish the rest dave.collier-brown@indexexchange.com | -- Mark Twain CONFIDENTIALITY NOTICE AND DISCLAIMER : This telecommunication, including any and all attachments, contains confidential information intended only for the person(s) to whom it is addressed. Any dissemination, distribution, copying or disclosure is strictly prohibited and is not a waiver of confidentiality. If you have received this telecommunication in error, please notify the sender immediately by return electronic mail and delete the message from your inbox and deleted items folders. This telecommunication does not constitute an express or implied agreement to conduct transactions by electronic means, nor does it constitute a contract offer, a contract amendment or an acceptance of a contract offer. Contract terms contained in this telecommunication are subject to legal review and the completion of formal documentation and are not binding until same is confirmed in writing and has been signed by an authorized signatory.

On Thu, Oct 11, 2018 at 9:53 AM Jamon Camisso via talk <talk@gtalug.org> wrote:
On 11/10/18 10:37, David Mason via talk wrote:
Electron is probably the easiest way to move a web app to an application. See: https://electronjs.org/
It uses html, javascript, css and should be able to connect to your postgresql database.
slack, what should be a simple text chat built on electron is taking 873044 kb RSS memory on my desktop.
electron should be the last resort - it is probably the worst thing you could do for your users if you care about resource constraints.
I would question the merit of even moving from a web application. I am on 400/100kbit DSL in the country, and I don't have any issues with even large react or ember based web apps.
And what does one do when the web is down? Everything that I depend upon someone else to provide gives them the opportunity to hold me and my processes either hostage or under their control. I'm not off grid but I am working toward that item (and its not just a house that I'm working with). I've also had enough issues with the web either being hugely intermittent, speeds whilst better than what you list are still incredibly pokey compared to major urban centers. Somehow I don't think rural/urban divide on communications is going to get better any time soon. The communications companies are only after maximum profit and service actually costs money so - - - - . I am quite open to NOT using html CSS and javascript (one contact calls it java!@#$). I'm not as worried about making something easy to make or pretty to look at - - - I want suburb functionality and great usability eye candy is way back down the list!! Thanks for the ideas! Dee

On 11/10/18 12:59, o1bigtenor wrote:
And what does one do when the web is down?
A framework like react is built with this in mind - serviceworkers handle offline actions until there's connectivity. I'm sure others let you do the same thing with a local data store/db, be it natively or through a plugin, and then sync up once there's a connection. Cheers, Jamon

On Thu, Oct 11, 2018 at 12:10 PM Jamon Camisso via talk <talk@gtalug.org> wrote:
On 11/10/18 12:59, o1bigtenor wrote:
And what does one do when the web is down?
A framework like react is built with this in mind - serviceworkers handle offline actions until there's connectivity.
I'm sure others let you do the same thing with a local data store/db, be it natively or through a plugin, and then sync up once there's a connection.
Sorry - - - this may be practical for some web applications but when one is doing calculations and changing things every few moments web latency feels like a pain and non-connection means the work just doesn't get done. In my opinion I would rather never see another web application. That's why I have a computer. Regards Dee

On Thu, 11 Oct 2018 19:59:29 -0500 o1bigtenor via talk <talk@gtalug.org> wrote:
And what does one do when the web is down? A framework like react is built with this in mind - serviceworkers handle offline actions until there's connectivity. I'm sure others let you do the same thing with a local data store/db, be it natively or through a plugin, and then sync up once
On 11/10/18 12:59, o1bigtenor wrote: there's a connection. Sorry - - - this may be practical for some web applications but when one is doing calculations and changing things every few moments web latency feels
On Thu, Oct 11, 2018 at 12:10 PM Jamon Camisso via talk <talk@gtalug.org> wrote: like a pain and non-connection means the work just doesn't get done. In my opinion I would rather never see another web application. That's why I have a computer.
Firstly, thank you for taking the time to explain a monte carlo system to me :) Secondly, you do everything said already and install apache, etc on your own computer.... you can even have Apache only listening on localhost, so that you use https://127.0.0.1 - there is still a 'latency' but using javascript makes this a non issue Andre

If you're storing a large amount of information and doing statistical work on it, you should at least consider learning R. It's very strong for Monte Carlo simulation. Also, if the web app you're using is public, please share the URL. We don't know your business data, and I don't think¹ we're psychic enough to work out what you're doing. Stewart --- ¹: but of course I'd say that …

On Fri, Oct 12, 2018 at 6:32 AM Stewart C. Russell via talk <talk@gtalug.org> wrote:
If you're storing a large amount of information and doing statistical work on it, you should at least consider learning R. It's very strong for Monte Carlo simulation.
Thanks - - - already on the order paper.
Also, if the web app you're using is public, please share the URL. We don't know your business data, and I don't think¹ we're psychic enough to work out what you're doing.
The web application I'm presently using is a subscription service. They do have a demo that would provide most ideas for my quest - - - sheepbytes.ca . Thanks for the ideas! Dee

On Fri, 12 Oct 2018 07:38:00 -0500 o1bigtenor via talk <talk@gtalug.org> wrote:
On Fri, Oct 12, 2018 at 6:32 AM Stewart C. Russell via talk <talk@gtalug.org> wrote:
If you're storing a large amount of information and doing statistical work on it, you should at least consider learning R. It's very strong for Monte Carlo simulation. Thanks - - - already on the order paper. Also, if the web app you're using is public, please share the URL. We don't know your business data, and I don't think¹ we're psychic enough to work out what you're doing. The web application I'm presently using is a subscription service. They do have a demo that would provide most ideas for my quest - - - sheepbytes.ca . Thanks for the ideas!
sheepbytes.ca is cool, the local code looks neat and tidy. I am not sure about the security thereof. And just imho S/R would not be optimal to remake this specific java app.. just from playing with the demo and reading the tech doc, if you do decide to remake this in java/whatever - it will be a lot of work, even with a fw and/or base. just saying :) a lot of what sheepmates is and does is also data related... If I were making this, for myself and for local use, I would probably enter the formulas into a spreadsheet and calculate my feed requirements, etc from that...(yes, I am quite lazy - plus this way I can give my spreadsheet out to my sheep mates and get free beer) Andre
participants (6)
-
ac
-
Dave Collier-Brown
-
David Mason
-
Jamon Camisso
-
o1bigtenor
-
Stewart C. Russell