I made a calculator for all you OCD planners out there
Re: I made a calculator for all you OCD planners out there
Can we have support for rate less than 1 per second ? Typically, I am happy with producing 0.2 science pack per second.
Re: I made a calculator for all you OCD planners out there
Good catch, thanks. Added to the bug list.Erendir wrote:small bug: chemical plant production is affected by assembler level setting.
The spinner controls won't do it but you can manually punch in decimals of arbitrary precision (like, just type in 0.2).Ohlmann wrote:Can we have support for rate less than 1 per second ? Typically, I am happy with producing 0.2 science pack per second.
A setting for entering items in terms of seconds per item is on the planned feature list as well.
Re: I made a calculator for all you OCD planners out there
Is there a 0.11 update planned for this tool ?
-
- Long Handed Inserter
- Posts: 97
- Joined: Tue Oct 28, 2014 3:33 pm
- Contact:
Re: I made a calculator for all you OCD planners out there
I have a request:
Can you please add a feature to combine multiple outputs? Say... I want to make a factory producing 0.7 science pack 1, 2, and 3s a second. For example.
Edit: Also, Firefox blocks the mixed content by default - you have to hunt around to make it work. Could you switch to using protocol-relative URLs or something?
Can you please add a feature to combine multiple outputs? Say... I want to make a factory producing 0.7 science pack 1, 2, and 3s a second. For example.
Edit: Also, Firefox blocks the mixed content by default - you have to hunt around to make it work. Could you switch to using protocol-relative URLs or something?
Re: I made a calculator for all you OCD planners out there
Thanks to @Peewee223, 0.11 data is now available.
Re protocol URLs: I tried making all the sources protocol-relative, but something is still implicitly loading something over http and breaks the page. You are probably using the "HTTPS EVerywhere" extension if you're running into this problem (I am too) - there is no actual reason for any of this to use SSL (no private / sensitive data), so if you just disable it for the page it should work just fine until I can track down what's messing up.
Re protocol URLs: I tried making all the sources protocol-relative, but something is still implicitly loading something over http and breaks the page. You are probably using the "HTTPS EVerywhere" extension if you're running into this problem (I am too) - there is no actual reason for any of this to use SSL (no private / sensitive data), so if you just disable it for the page it should work just fine until I can track down what's messing up.
-
- Long Handed Inserter
- Posts: 97
- Joined: Tue Oct 28, 2014 3:33 pm
- Contact:
Re: I made a calculator for all you OCD planners out there
...Need I get into this here?SilentSam wrote: there is no actual reason for any of this to use SSL
Anytime I am allowing JS, I have reason to use SSL.
Re: I made a calculator for all you OCD planners out there
Yeah if you don't someone might inject a nasty script in the calculator page which would allow them to erm... give you wrong results! Or harvest your calculator password!The Lone Wolfling wrote:...Need I get into this here?SilentSam wrote: there is no actual reason for any of this to use SSL
Anytime I am allowing JS, I have reason to use SSL.
Much easier to just sneak it into a pull request, it's not like I'm going to read over 2000 lines of lua data.
There just isn't anything much worth protecting.
Re: I made a calculator for all you OCD planners out there
That's the wrong idea. We should just protect anything. At least for our privacy.
-
- Long Handed Inserter
- Posts: 97
- Joined: Tue Oct 28, 2014 3:33 pm
- Contact:
Re: I made a calculator for all you OCD planners out there
Looks like I do, in fact, need to get into this here.SilentSam wrote: Yeah if you don't someone might inject a nasty script in the calculator page which would allow them to erm... give you wrong results! Or harvest your calculator password!
Here's the thing - arbitrary/malicious JS can do a lot more than just give me wrong results. Among other things, consider the number of browser exploits that appear per month (Ever look at Firefox CVEs? If you don't, you should. 97 thus far in 2014 alone.)... Or, to not be quite that extreme, timing attacks to get user history, user tracking, ad injection. I've even seen portals that try to do image compression.
Re: I made a calculator for all you OCD planners out there
May have been mentioned earlier, but I think materials in chemical plants are being modifed by the assembler option (.5, .75, 1.25). I believe chemical plants are always 1.25 crafting speed?
Re: I made a calculator for all you OCD planners out there
But none of those rely on this particular page not using SSL, they just rely on the user visiting any one page whatsoever across the entire internet being plain text. Like this page you are currently reading.The Lone Wolfling wrote:Looks like I do, in fact, need to get into this here.SilentSam wrote: Yeah if you don't someone might inject a nasty script in the calculator page which would allow them to erm... give you wrong results! Or harvest your calculator password!
Here's the thing - arbitrary/malicious JS can do a lot more than just give me wrong results. Among other things, consider the number of browser exploits that appear per month (Ever look at Firefox CVEs? If you don't, you should. 97 thus far in 2014 alone.)... Or, to not be quite that extreme, timing attacks to get user history, user tracking, ad injection. I've even seen portals that try to do image compression.
Anyway look if you can find what script is pulling the insecure content and send me a PR I'll happily push the fix out.
The calculator page doesn't have access to any private information about you except for your IP (which is not and cannot be hidden by SSL either).Nova wrote:That's the wrong idea. We should just protect anything. At least for our privacy.
Yeahhh I need to fix that.Peppe wrote:May have been mentioned earlier, but I think materials in chemical plants are being modifed by the assembler option (.5, .75, 1.25). I believe chemical plants are always 1.25 crafting speed?
Re: I made a calculator for all you OCD planners out there
Not meaning to make a necro post, but this is an awesome calculator.
I have been doing these calculations on paper, so this is a great aid to me.
I also came across https://bitbucket.org/Nicksaurus/foreman/downloads.
Are there any similar calculators that are highly recommended by the forum elders here?
I have been doing these calculations on paper, so this is a great aid to me.
I also came across https://bitbucket.org/Nicksaurus/foreman/downloads.
Are there any similar calculators that are highly recommended by the forum elders here?
Re: I made a calculator for all you OCD planners out there
There are other calculators and spreadsheets things, but they're more on "how many solar panels do I need to power my database", and stuff. To my knowledge, these two are THE calculators for production balancing.
Koub - Please consider English is not my native language.
Re: I made a calculator for all you OCD planners out there
Sorry for re-necroing, but... is this (awesome) tool updated with the material and timing calculations?
In the website version 0.12 is referenced, which is quite outdated now, but maybe materials needs and construction times haven't changed since then (I doubt).
In the website version 0.12 is referenced, which is quite outdated now, but maybe materials needs and construction times haven't changed since then (I doubt).
Re: I made a calculator for all you OCD planners out there
https://cdn.discordapp.com/attachments/ ... o-calc.zip
I repackaged it from abrindam's github fork, updated some of the js libs and the luavm to a webasm one.
EDIT: Previous linked version did not account for the new normal/expensive recipes, and would show them all as 1-second crafts with missing ingredients. This version always shows the normal type, I did not add a setting for the expensive versions. But at least it works.
I repackaged it from abrindam's github fork, updated some of the js libs and the luavm to a webasm one.
EDIT: Previous linked version did not account for the new normal/expensive recipes, and would show them all as 1-second crafts with missing ingredients. This version always shows the normal type, I did not add a setting for the expensive versions. But at least it works.
-
- Burner Inserter
- Posts: 8
- Joined: Sat Apr 29, 2017 10:14 pm
- Contact:
Re: I made a calculator for all you OCD planners out there
Hey folk, abrindam here. I'm still working to get my forked changes into rubyruy/SilentSam's "mainline" version. Trying to avoid having too many versions of the tool out there, that's just confusing for everyone!folk wrote: I repackaged it from abrindam's github fork, updated some of the js libs and the luavm to a webasm one.
EDIT: Previous linked version did not account for the new normal/expensive recipes, and would show them all as 1-second crafts with missing ingredients. This version always shows the normal type, I did not add a setting for the expensive versions. But at least it works.
I'd love it if you could submit your changes to me as a pull request on GitHub so we can have one less copy running around. If you need any help with that, let me know.
Re: I made a calculator for all you OCD planners out there
I can just delete the post if you want. I am not going to update or work on it any further in any case.
-
- Burner Inserter
- Posts: 8
- Joined: Sat Apr 29, 2017 10:14 pm
- Contact:
Re: I made a calculator for all you OCD planners out there
No need for that!
Would it be OK to incorporate your changes myself?
Would it be OK to incorporate your changes myself?
Re: I made a calculator for all you OCD planners out there
Most certainly, have at it
-
- Inserter
- Posts: 24
- Joined: Sun Apr 30, 2017 11:13 am
- Contact: