Tutorial talk:Combinator tutorial

From Official Factorio Wiki
Revision as of 14:06, 14 May 2018 by SafwatHalaby (talk | contribs) (→‎Binary gates redundant?: replied to bilka and added an advantage to the current designs)
Jump to navigation Jump to search

Memory cells

I am aiming to update the "memory cells" section.

  • The "advanced cell" does not handle 1-tick bursts properly. (I updated the article and wrote about that)
  • There should be more versions of the memory cell, including versions that can handle negative input.

I may post some of my designs here once I finish polishing them. -- SafwatHalaby (talk) 09:46, 13 May 2018 (UTC)

Thank you for this, designs are appreciated here. It's good that you remain objective about their advantages and disadvantages. -- Bilka (talk) - Admin 11:57, 13 May 2018 (UTC)
Thank you for your incredible work on the Wiki. I am always 100% objective. In this particular scenario, the initial design is objectively flawed. Try connecting a simple clock (self-connected arithmetic combinator with + 1) into it and then disconnecting it suddenly, its memory will flicker between the last two values. More generally, if the current input is only given for 1 tick, then it flickers between the current and the previous input. I do not want to remove it without the approval of the original poster. Here is a demo of the flicker. This device on the left sends a 1-tick pulse of 1. The lamp turns on if the output signal is 1. -- SafwatHalaby (talk) 13:46, 13 May 2018 (UTC)
(edit: fixed link): https://streamable.com/5r7w8
Because your memory cell has the same size, the other memory cell has no advantages over it. So, I am okay with a removal of the "positive cell". -- Bilka (talk) - Admin 14:53, 13 May 2018 (UTC)
Ok. Let's wait for a while in case the original poster has comments that we've missed.
There's one advantage for the previous design: It's useful for someone that absolutely requires a reset-on-negative and not reset on a dedicated line, and does not care about the flicker issue. But that seems like a very rare edge case, and someone who needs it is most likely very experienced and doesn't need this guide. -- SafwatHalaby (talk) 15:54, 13 May 2018 (UTC)

Binary gates redundant?

The binary gates do not seem to have much function, because As of 0.16, arithmetic combinators have built-in binary logic support. -- SafwatHalaby (talk) 09:56, 13 May 2018 (UTC)

I am not very experienced in combinators, but aren't the combinators OR, XOR and AND option bitwise instead of binary? User:My3DS changed the page to specify that just yesterday, so it seems important to me. -- Bilka (talk) - Admin 11:57, 13 May 2018 (UTC)
I am not sure I understand the difference between "bitwise" and "binary" in the context of 1-bit inputs.
The built-in OR, XOR, and AND produce exactly the same truth tables as the ones currently in the article for inputs of 1's and zeros, and are additionally capable of performing more than that for inputs greater than 1.
-- SafwatHalaby (talk) 13:25, 13 May 2018 (UTC)
Like I said, combinators aren't my strong suit :) So yes, they are redundant, but I'd personally wait and see what My3DS wants to do with the gates before removing them. Perhaps give them a week, and if nothing is changed until then, remove them. -- Bilka (talk) - Admin 14:53, 13 May 2018 (UTC)
Ok :), does the wiki have some sort of "pinging" system to let them see the conversation?. -- SafwatHalaby (talk) 15:54, 13 May 2018 (UTC)
You can't ping people directly, but if you leave a message on someones talk page, they will see a notification until they check it. -- Bilka (talk) - Admin 18:12, 13 May 2018 (UTC)
Thank you :) -- SafwatHalaby (talk) 14:06, 14 May 2018 (UTC)
I can see the merit in these designs for 3 or more inputs. But I think it should be clear to the reader that the 2-input designs are alternatives to the built-in ones, and that the bitwise vs binary sentence should be clarified. -- SafwatHalaby (talk) 14:06, 14 May 2018 (UTC)