I want to control DC motors with L293D IC using my Raspberry Pi. I wanted to set it up similarily to this:    But then I found one article on Instructabiles, which said that it would work, but correct solution was this:    So my question is, why is the second circuit better? What do the capacitators do? I´m fairly new to electronics, so this may be a dumb question, but I really can´t figure it out.
What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)?  How do I know if I need one and if so, what size and where it needs to go?    mentions many chips needing one between VCC and GND; how do I know if a specific chip is one?   Would an  4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not?  I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well.
food safety regarding re freezing twice cooked chicken Heisenberg famously derived his uncertainty principle by considering the disturbance that a measurement would have on a small enough system.  Of course in the mathematical formalism of Quantum Mechanics the relationship is derived from more basic principles.  How does String Theory account for it? Heuristically, and mathematically? Do I have to leave the Schengen area if I have a short term (C) visa that will expire right before my National Visa (D) officially starts? Show community wikis differently in the Android app I'd like to run a .sh file using bash on logout and shutdown of Ubuntu. I have searched up and down the web and have found only fixes for KDE and GNOME. The script is simple, I just need to know if I can add the line of code to the "logoff/shutdown" file or if I need to reference it in another script. I have seen many programs consisting of structures like the one below  typedef struct  {     int i;     char k; } elem;  elem user;   Why is it needed so often? Any specific reason or applicable area? Which are the word orders that can be found in English? Besides , which are the  that can be found in English? Are there any that are peculiar to dialects such as Singlish or Indian English? Please provide an example sentence for each order along with pertinent information such as tense, mood, voice, etc. How do I redirect www to non-www in Route53? I host my site at domain.com.  My DNS entries in Route53 are as follows:  domain.com      A       xxx.xxx.xxx.xxx      300 domain.com      NS      stuff.awsdns-47.org  172800 domain.com      SOA     stuff.awsdns-47.org  900   I would like to redirect traffic from www.domain.com to domain.com, as currently this just returns a 404.  suggested a PTR record, and I added that:  www.domain.com  PTR     domain.com           300   but it didn't work. What should I be doing? How can I insert a newline in a framebox? What's wrong with this experiment showing that either FTL communication is possible or complementarity doesn't hold? The assumptions are:    Alice and Bob have perfectly synchronized clocks Alice and Bob have successfully exchanged a pair of entangled photons   The idea is simply to have Alice and Bob perform the Quantum Eraser Experiment (doesn't need to be the delayed choice).   Alice and Bob agree on a specific time when Bob's photon will be between the "path marker" (which is usually just after the slits) and the detector.  If Alice acts collpasing the wave-function on her photon, the interference pattern will disappear. If not it won't.  Alice and Bob can be spatially separated...  What am I misunderstanding?   The only meaningful difference from this spatially separated quantum eraser experiment to one done on tabletop is that you won't be able to use a coincidence detector, but that is not impeditive to identifying the interference pattern, just will make errors more probable. Which we should be able to deal with a appropriate protocol...  There is a experimental paper with a small amount of citations pointing out to the breaking of complementarity in a very similar setup: How to change default viewport shading in 2.8? Is it possible to change the default mesh color/shading in 2.8 to be more like 2.79? I'm finding it hard to see finer detail in 2.8. On the left is 2.8 and the right is 2.79 Could a ship equipped with Alcubierre drive theoretically escape from a black hole? Could a ship equipped with Alcubierre drive theoretically escape from a black hole?  Also, could it reach parts of the universe that are receding faster than the speed of light from us? "Answerer" and "asker" If a function is a combination of other functions whose derivatives are known via composition, addition, etc., the derivative can be calculated using the chain rule and the like. But even the product of integrals can't be expressed in general in terms of the integral of the products, and forget about composition! Why is this? Effect of space time relativity on the age of the universe? So we all heard about the twins paradox to explain einstein's time space relativity.  Wikipedia Quote :" In physics, the twin paradox is a thought experiment in special relativity involving identical twins, one of whom makes a journey into space in a high-speed rocket and returns home to find that the twin who remained on Earth has aged more. This result appears puzzling because each twin sees the other twin as traveling, and so, according to a naive application of time dilation, each should paradoxically find the other to have aged more slowly. "  So what if the universe has been travelling at varying speeds (increasing or descreasing), wouldn't this effect our measurements on age of the universe? I am just looking for some clarification on this exercise:  Let $A = \{a,b,c,d\}$. Give an example of a relation $R$ on $A^2$ which is reflexive, symmetric, and not transitive.  I understand that if I was only dealing with $A$ and and not $A^2$ I could give an answer similar to:  $R = \{(a,a),(a,b),(a,d),(b,a),(b,b),(c,c),(d,a),(d,d)\}$  Here $R$ is reflexive, symmetric, and not transitive.  What is confusing me is the fact that we have $A^2$. I am not sure what I am missing here. I am looking through my book to see if I can figure this out, but if someone could help shed some light on this it would be appreciated.  Thanks,  Tony How to completely remove virtual packages? Can I get a rebate after using my HSA? I am not experienced in Number Theory but what I know is that some results of this filed are applicable in other areas, e.g. algebra. For sure FLT made (and makes) people be interested in Number Theory leading to the development of new methods which can be themselves applied not only for the proof of FLT (like financial problems motivated somehow development of stochastic analysis). I am interested - if there are applications or implications of FLT itself?  More precisely: if the fact "for each $n\geq3$ there are no integer solutions of $a^n+b^n=c^n$" leads to solutions of problems which are not in the field of Number Theory?   I would specify that I wonder about some problems which are already formulated: since FLT is known for more then 300 years I am pretty sure that there were formulated hypothesis which follow from FLT directly (if there are such hypothesis not in the field of Number Theory). As a disclaimer, I must admit this may benefit me (I haven't checked), but probably not as significantly as most others. This issue is also something that has prevented me from answering questions by users with 1 rep in the past, especially if they are poorly fashioned. The Problem New users with a programming question find SO from various methods, such as google. They ask a question with haste, hoping for a quick answer -- which they usually receive. Many of these users have no interest in Stack Overflow itself, but are simply interested in getting the solution they require. As a result of this, they'll check the site regularly for the first day or two until a sufficient answer has been posted. Once they get what they need, they bail; without the required rep or understanding that they should up-vote and select a response as the answer. The Result A great many questions on SO are abandoned by users with no intention of ever coming back. The answer they require has been provided, but for one or more reasons they have neglected their duty of contributing back by way of awarding reputation. The Reach (Since Jeff loves Datum) Some queries on the data dump examine the reach of this 'problem'. The query I used is based on extensions of the following base query; SELECT p1.Id, p1.Score, p1.OwnerUserId, p2.OwnerUserId, p2.Score FROM posts p1  INNER JOIN posts p2 ON (p1.Id=p2.ParentId) LEFT JOIN users ON (p1.OwnerUserId=users.Id) WHERE p2.Score &gt;= 2  AND p2.Score = ( SELECT MAX(p3.Score) FROM posts p3 WHERE p3.ParentId=p1.Id ) AND users.Reputation &lt; 15 AND p1.PostTypeId = 1 AND p1.AcceptedAnswerId = 0  Result: 3,288 Questions by users with under 15 rep which have answers with 2+ up votes that have no accepted answer. Adding: AND (users.LastAccessDate-p1.LastActivityDate) &lt; 604800 // 1 week AND p1.CreationDate &lt; 1249084800 // 1249084800 is 1 week before latest dump data  to the where clause further reveals that 877 questions that have answers with 2+ up votes have no accepted answer, and the owner of the question has not returned since the week the question was asked. Modifying there where clause, and removing the left join: AND p1.OwnerUserId = 0    Reveals a staggering 3,675 questions with answers of 2+ votes by deleted users.  These are questions that were probably answered but the users who did the work can never be recognized. Building off the previous and using an even more restrictive WHERE clause WHERE p2.Score &gt;=5  Still 1,178 posts that can never have an accepted answer. How many posts are there with over 5 up votes that don't provide the correct answer? Modifying the where clause for Reputation to AND users.Reputation = 1  Still reveals 388 questions by users with 1 rep have been abandoned. Solution Similar to how bounty questions work, if a user has abandons the site (not active since x time after the question was asked) with a question that has answers with 2+ up votes, force the answer with the most up votes to be the selected answer. This will reduce the amount of questions that are unanswered, and also give users more of an incentive to answer questions by new users without extra hesitation.  Update Added more statistics for deleted users.  Please feel free to add/remove rules to make this a truly practical feature.