Can DateTime.Now.Ticks() overflow?
Environment.TickCount vs DateTime.Now
In my experimentation, I've used only BJTs as switches (for turning on and off things like LEDs and such) for my MCU outputs. I've been repeatedly told, however, that N-channel enhancement-mode MOSFETs are a better choice for switches (see  and , for examples), but I'm not sure I understand why. I do know that a MOSFET wastes no current on the gate, where a BJT's base does, but this is not an issue for me, as I'm not running on batteries. A MOSFET also requires no resistor in series with the gate, but generally DOES require a pull-down resistor so the gate doesn't float when the MCU is rebooted (right?). No reduction in parts count, then. There doesn't seem to be a great surplus of logic-level MOSFETs that can switch the current that cheap BJTs can (~600-800mA for a 2N2222, for example), and the ones that do exist (TN0702, for example) are hard to find and significantly more expensive. When is a MOSFET more appropriate than a BJT? Why am I continually being told that I should be using MOSFETs? What potions actually grant fame or glory, or put a stopper in death? Are there any? ‘You are here to learn the subtle science and exact art of potionmaking,’ [Snape] began. He spoke in barely more than a whisper, but they caught every word – like Professor McGonagall, Snape had the gift of keeping a class silent without effort. ‘As there is little foolish wand-waving here, many of you will hardly believe this is magic. I don’t expect you will really understand the beauty of the softly simmering cauldron with its shimmering fumes, the delicate power of liquids that creep through human veins, bewitching the mind, ensnaring the senses ... I can teach you how to bottle fame, brew glory, even stopper death – if you aren’t as big a bunch of dunderheads as I usually have to teach.’&#185;   Philosopher's Stone - page 102 - Bloomsbury - chapter 8, The Potions Master   Are there any canon potions that actually grant fame or glory, or stopper death? I'm looking for specific canon-based answers from sources such as the Harry Potter books, interviews with J.K. Rowling, or information from Pottermore. Maybe because it's early I'm overlooking the obvious, but offhand I can't think of any canon potions that fit this criteria exactly.   &#185;I edited in the entire paragraph that I can teach you how to bottle fame, brew glory, even stopper death comes from for clarity. Hopefully this will be helpful and provide a better context for the comment in question. Background Nowadays, I see &quot;them&quot; used to mean &quot;those&quot; a lot. I don't know if it was as common in the past. For example, take &quot;one of &quot;. On researching about it, I found some people say it comes from a dialect of British English. Some others say it is a &quot;non-standard&quot; usage. I see this usage in Canadian English also, and it seems some people use it in a sarcastic way. Moreover, I have seen a song titled &quot;one of them days&quot;. I also read, in the book called &quot;A Broken Promise&quot;, &quot;&quot; Finally, Wikipedia says that it is a usage in  (a common name for the Southern Midland dialect of American English):  Pronouns and demonstratives &quot;Them&quot; is sometimes used in place of &quot;those&quot; as a demonstrative in both nominative and oblique constructions. Examples are &quot;Them are the pants I want&quot; and &quot;Give me some of them crackers.&quot;    Question(s): What would you say about the usage of this word? Is it correct? Could we use it in daily speech? Could this usage go beyond a specific dialect and be used in other dialects, regions, etc.? Does it really originate from Appalachian English? Why did this usage become popular among other English speakers? Note: I have already seen a similar question:  However, it only says, &quot;ungrammatical,&quot; there. This question is specific to this situation only, and there is more to it. How do I reset a lost administrative password? I'm working on a Ubuntu system, and my client has completely forgotten his administrative password. He doesn't even remember entering one; however it is there.  I've tried the suggestions on the website, and I have been unsuccessful in deleting the password so that I can download applets required for running some files. Is there a solution? What does this notification icon mean? Samsung s7 After the latest Win8.1x64 Updates, my system got stuck restarting or shutting down.. When I installed the last Windows update, all seemed fine except it got stuck doing the restart.  I waited about 5 minutes then used the power button.  Startup was normal.    But then when I told it to shut down it closed the programs then went to the "Shutting Down" screen and just stays there.    Disk activity lights aren't showing any activity.  Here is a screen grab of the most recent updates:    Before I do anything I wanted some input.  Question:  Any ideas of how I can figure out how to fix it? Show that if $n$, $a$, $b$, and $c$ are positive integers with $\gcd(a, b) = 1$ and $ab = c^n$, then there are positive integers $d$, and $e$ such that $a = d^n$ and $b = e^n$.   I know that (by Bezout) $\gcd\left(a,b\right) = 1$ implies $ax + by = 1$ for some integers $x$ and $y$, and also that $\gcd\left(a^n,b^n\right) = 1$, but this does not help me. using a:hover to change the color of an image I'm a student of mathematics with not much background in physics. I'm interested in learning Quantum field theory from a mathematical point of view.  Are there any good books or other reference material which can help in learning about quantum field theory? What areas of mathematics should I be familiar with before reading about Quantum field theory? Contains and Custom Label in Rule Criteria - Workflow I have a picklist field-XYZ which contains a lot of values.Lets say (A,b,c,d...z) I am trying to write a rule criteria which will execute if the picklist value is any of the following (A,b,c...p).So instead of mentioning all the values in rule criteria , i created a custom label and put the values (a,b,c,d..p) in that and wrote the following in the rule criteria :   CONTAINS(TEXT(XYZ__c) ,$Label.CustomLabel))   This is not working even is the value of the picklist is equal to the one mentioned in the Custom Label.I guess the CONTAINS function is matching the whole value of custom label with Picklist.Is there other workaround/solution for this? Aristotle's Categories with academic commentary How to Set Firefox 4 to only store History for a set period of time, i.e. one day? How to prevent system applications (like the Software Center) from asking for password? Why is this sequence of equicontinuous functions uniformly bounded? Let $\left\{f_{n}\right\}$ be a sequence of equicontinuous functions where $f_n: [0,1] \rightarrow \mathbf{R}$.  If $\{f_n(0)\}$ is bounded, why is $\left\{f_{n}\right\}$ uniformly bounded? I can't connect to a friend's Minecraft server, but none of the usual culprits seem to be the problem mknod /tmp/oracle.pipe p  sqlplus / as sysdba &lt;&lt; _EOF set escape on  host nohup gzip -c &lt; /tmp/oracle.pipe &gt; /tmp/out1.gz \&amp; spool /tmp/oracle.pipe select * from employee; spool off  _EOF  rm /tmp/oracle.pip   I need to insert a trailer at the end of the zipped file out1.gz , I can count the lines using  count=zcat out1.gz |wc -l   How do i insert the trailer  T5 (assuming count=5)   At the end of out1.gz without unzipping it. How do I kill mobs using /kill without them dropping loot? I have a spawn area I am hoping to make a safe haven, so I have a command block on a clock that kills each hostile mob type. This works to keep the place free of any hostile mobs, however every night I see rotten flesh, bones, arrows, and string everywhere.  I would like to add something to my command blocks so that they are killed without dropping loot. How can I accomplish this?  Note that I want mobs to drop loot generally elsewhere in the world, so /gamerule doMobLoot false will not do the trick for me. I'm hoping for a command that only applies to the mobs killed by the command block, and not anything else. Is there a word for happiness made possible by a tragic situation? I frequently find myself needing a word to express happiness that acknowledges a tragic or unfortunate circumstance underpinning that happiness. Preferably the word could have both adjective and verb forms. For example, "Gregory [verb-ed | felt adjective about] the balmy February day, suspecting it was yet another consequence of catastrophic and irreversible climate change."  "Bittersweet" is close, but not precisely right. It implies ambivalence rather than genuine gladness. "Schadenfreude" is also in the neighborhood, but I don't want to imply that the tragic part of the situation is what causes the pleasure. (Also, I recognize that the word may not quite exist in English, and I don't know if this is forbidden for this forum, but I'd welcome a loan word or phrase if there's a better one.) I'm trying to write a shell script that, when run, will set some environment variables that will stay set in the caller's shell.  setenv FOO foo   in csh/tcsh, or  export FOO=foo   in sh/bash only set it during the script's execution.  I already know that   source myscript   will run the commands of the script rather than launching a new shell, and that can result in setting the "caller's" environment.  But here's the rub:  I want this script to be callable from either bash or csh.  In other words, I want users of either shell to be able to run my script and have their shell's environment changed.  So 'source' won't work for me, since a user running csh can't source a bash script, and a user running bash can't source a csh script.  Is there any reasonable solution that doesn't involve having to write and maintain TWO versions on the script? Facebook: Ways to preserve image quality of uploaded images?