Talk:Four bit adder: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Cleanup: Table would work best for this page.)
Line 18: Line 18:
::: That is still not great, but maybe its a starting point? --[[User:Rdm|Rdm]] 18:06, 15 June 2010 (UTC)
::: That is still not great, but maybe its a starting point? --[[User:Rdm|Rdm]] 18:06, 15 June 2010 (UTC)
:::: Not likely to work well; the div would need to be made flow-inline, to avoid breaking the header, and that would in turn break clear-both again. The best solution for this particular page (at least for the moment) is to put the images in a table, instead of off to the side the way they are. I don't have time to much with it, though. I'll revert [[Template:Header]] and let someone get the table working properly. --[[User:Short Circuit|Michael Mol]] 18:10, 15 June 2010 (UTC)
:::: Not likely to work well; the div would need to be made flow-inline, to avoid breaking the header, and that would in turn break clear-both again. The best solution for this particular page (at least for the moment) is to put the images in a table, instead of off to the side the way they are. I don't have time to much with it, though. I'll revert [[Template:Header]] and let someone get the table working properly. --[[User:Short Circuit|Michael Mol]] 18:10, 15 June 2010 (UTC)
::::: I put an empty div with clear:both at the bottom of the introductory section. That should be good enough for now. --[[User:Rdm|Rdm]] 18:13, 15 June 2010 (UTC)


== Accidental reversion ==
== Accidental reversion ==

Revision as of 18:13, 15 June 2010

Cleanup

Some things that ought to be cleaned up in the description of this task:

  • Provide some math notation describing the individual gates; that will be of some use to those not accustomed to thinking in schematic gate logic.
  • (Maybe?) individual images per-gate. Replace mentions of specific gates with their symbol, or...
  • Make gate-specific usages of the words AND, OR, NOT, XOR and their negated counterparts consistent in terms of capitalization and style.
  • My embedding job for the images isn't particularly stable, wrt coexistence with the pre blocks, but I don't have time atm to do a nice table for them. Whoever does...thank you? :)

--Michael Mol 13:51, 15 June 2010 (UTC)

Indeed I did the images thinking to describe the task more in a visual way instead of sticking to notation only...! ;; linked wikipedia gates page to avoid to have to do other images:D, I could add a little "lecture" about boolean notation and gates, but I suppose there must be a limit ;; more easily doable, I will do it (later);; --ShinTakezou 16:48, 15 June 2010 (UTC)
The images push down into the following code, which looks wrong. I think that entry headers should get the {clear: both} style? --Rdm 16:52, 15 June 2010 (UTC)
I can try that. It's going to slow the site down some to edit that particular template, though! Just beware... --Michael Mol 17:33, 15 June 2010 (UTC)
That did not seem to help, for me (I am using Chrome). Perhaps because the style is on a <span>?
http://www.blooberry.com/indexdot/css/properties/classify/clear.htm says that css2 says that clear:both only works on block elements. So I made myself a local copy of the page (setting the base href so it still worked), and the images stopped overlapping the text for the C entry when I changed the raw html so it looked like this: <div class="mw-headline"><div style="clear:both"><a href="/wiki/Category:C" title="Category:C">C</a></div></div>
That is still not great, but maybe its a starting point? --Rdm 18:06, 15 June 2010 (UTC)
Not likely to work well; the div would need to be made flow-inline, to avoid breaking the header, and that would in turn break clear-both again. The best solution for this particular page (at least for the moment) is to put the images in a table, instead of off to the side the way they are. I don't have time to much with it, though. I'll revert Template:Header and let someone get the table working properly. --Michael Mol 18:10, 15 June 2010 (UTC)
I put an empty div with clear:both at the bottom of the introductory section. That should be good enough for now. --Rdm 18:13, 15 June 2010 (UTC)

Accidental reversion

Don't worry about the reversion of the C example. It can be brought back after the page activity has settled down a bit. I don't know why MW didn't warn Mwn3d about the intermediate change, but I'm not worried about it. --Michael Mol 17:55, 15 June 2010 (UTC)

Anyway restored back sather impl adding to the current (after reversion) version; it could be I need a rest --ShinTakezou 17:56, 15 June 2010 (UTC)
I think it didn't warn me because it was also warning me about new messages on my talk page? Sorry anyway. It looks like it was just comments so that's not as bad. --Mwn3d 18:07, 15 June 2010 (UTC)