What's pratical use of Derivate function calculus?
Simple way to understand what derivative is
How to Straighten Curved UVs into Straight Belt Showing the actual 3D model of a curving ramp.  Shows the UVs of that model that blender did automatically. Shows the UV image that I need.   I am going put a road texture on it., but round faces are not helping me at all. All I need is straight belt kind of UV. I have to design a circuit in which I have to transfer data through lasers (serial transmission of data). Now what I was thinking was to check if the laser light is on then '1' is passed and when the laser is off '0' would be passed. Now I need to check if a 1 or a 0 was passed.   How would I check for this and another problem I'm facing is if it's on it may keep on passing 1's. How would I check for this? I though of using LDR's (Light Dependent Resistors)? Would this be okay or it there a better method? Error message says I can't flag... but yes I can When trying to upvote a comment made on a locked post (ordinary lock, not historical lock which remove the vote arrows and flag altoghether) we are greeted with such error message:        Or in words:     This comment is not eligible for voting or flagging   Being the curious type, I went straight away and tried to flag, fully expecting the same message... just to see the flag dialog open up just fine:        I was able to flag as well.  Can the error message please be changed to just "This comment is not eligible for voting"? Or of course, if it's not the intended behavior really disable the option to flag?  The original post on which I experimented is now deleted, but  you can play with. Is it acceptable to insult god in a user profile? Like always I hang around in Stack Overflow's chatrooms. Today, someone posted a link to his new "reloaded" user profile.  Along the lines I read in Arabic "god is a pig". So I asked him to remove it:     Me: I have a lot of respect towards you because of your knowledge but what you wrote there in Arabic is offensive. Could you remove it please?   OP: if it were in English, would it be equally offensive?   I will write it in Dutch because you ask it so kindly.   Me: yeah, I mean what's your goal? You're just seeding hatred   OP: It is an experiment.   After that, the user changed it to Dutch.  My question is: are such statements acceptable by Stack Exchange's standards? If not, should I flag one of his posts like stated ? If yes, could you state why?  My answers to possible questions:   This happened on SO, why don't you post it on MSO?   This happened on SO but I think it's applicable to all SE sites.  Why didn't you link the user or the chat conversation?   I want the user to remain anonymous unless he or she chooses to reveal him/her self. I will give the user a link to this question  Why do you care?   I find it offensive, not only to my religion but to any religion that believes in god. I posted this question to know what you guys and girls think about this. I live by the rules, so if it's acceptable by SE then so be it and I won't bother you again.  If you don't like it then move on.   I know that this is not a mosque/church/temple and that swearing  to a certain degree. But I don't see the point in insulting god, a religion or a race in a public profile. More over, it's not even built on arguments. Find & Delete duplicated files on multiple harddisks at once Android Debugging, how? How are answers with the same vote score sorted? Finding $\lim\limits_{n \rightarrow \infty}\left(\int_0^1(f(x))^n\,\mathrm dx\right)^\frac{1}{n}$ for continuous $f:[0,1]\to[0,\infty)$ Find $$\lim_{n \rightarrow \infty}\left(\int_0^1(f(x))^n\,\mathrm dx\right)^\frac{1}{n}$$if $f:[0,1]\rightarrow(0,\infty)$ is a continuous function.   My attempt:  Say $f(x)$ has a max. value $M$. Then $$\left(\int_0^1(f(x))^ndx\right)^\frac{1}{n}\leq\left(\int_0^1M^ndx\right)^\frac{1}{n} =M$$  I cannot figure out what to do next. How to suppress scientific notation when printing float values? Here's my code:  x = 1.0 y = 100000.0     print x/y   My quotient displays as 1.00000e-05.  Is there any way to suppress scientific notation and make it display as 0.00001? I'm going to use the result as a string. Find Oracle JDBC driver in Maven repository Why can't I import a SVG file from Adobe Illustrator or Inkscape? I've tried multiple times to  import a SVG file from illustrator CS5.5 to Blender 2.71 and 2.73. However, I do not see a mesh, curve, or anything pop up in my "Outliner" window. So I know its not so small I can't see it. I even made sure under user preferences that the "import and export of SVG 1.1 format" is "checked." I've tried even just importing text from illustrator and I'm still getting no where. What can I do to resolve this problem? If this is common error with this version of Blender, then what can I do to transform an image into a 3D object in Blender? Getting No module name exifread error from QGIS Photo2Shape plugin? using the \lstlistoflistings always named as Contents in table of contents.  I did look into   and  but the solutions there did not work.  Example: (my complete preamble)  \documentclass[11pt, oneside]{Thesis}  \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplots,filecontents} \usepackage{caption} \usepackage{subcaption} \usepackage{booktabs,colortbl} \usepackage{graphicx} \usepackage{rotating} \usepackage{listings} \usepackage{color} \usepackage{comment} \usepackage[official]{eurosym} \usepackage{colortbl} \usepackage{algorithm}  \usepackage{algpseudocode} \usepackage{indentfirst} \usepackage{latexsym} \usepackage{titlesec} \usepackage[square, numbers, comma, sort&amp;compress]{natbib}   \hypersetup{urlcolor=blue, colorlinks=true}  \renewcommand{\lstlistlistingname}{List of Code}   \begin{document}  \tableofcontents \lstlistoflistings \lstinputlisting[language=python,firstline=1,lastline=68,caption=some caption here., label=code:getbb]{Code/getBoundingBox.py} \end{document}   The renew command changes the header in the page but not in the table of contents. Any ideas?  EDIT x2:  Managed to get the naming correct by editing this in the Thesis.cls   }  \renewcommand\lstlistoflistings{  \btypeout{List of Listings}  \addtotoc{List of Listings}  \begin{spacing}{1}{ \setlength{\parskip}{1pt} \if@twocolumn   \@restonecoltrue\onecolumn \else   \@restonecolfalse \fi \chapter*{\lstlistlistingname   \@mkboth{       \MakeUppercase\lstlistlistingname}{\MakeUppercase\lstlistlistingname}} \@starttoc{lot} \if@restonecol\twocolumn\fi \cleardoublepage  }\end{spacing}   Now the name appears correctly in the TOC but the Listings do no show in the Listings page, its just empty..  A MWE can be found here: Does a sorcerer's metamagic work for non-sorcerer spells? Can a multiclass sorcerer/cleric use the Metamagic class ability with non-sorcerer spells? For example, using Twinned Spell when casting cure wounds to heal two creatures instead of just one? Use of capitals and full stops in bullet points Possible Duplicate:          Let's say I have a bullet point list e.g:   Point 1. Point 2.  Point 3.    Notice I have put a capital letter for the starting letter of every bullet point and a full stop at the end. Is this the correct way to do it?  If not, what is the correct way to do it?  Do I put a capital letter and no full stop, or, the other way around, a full stop and no capital letter? Alternatively, do I not put a capital letter or a full stop? Is it only necessary to put a capital letter on the first bullet point and full stop on the last bullet point?  For reference, I'm from the UK so British-English grammar would apply. What's a way to implement a flexible buff/debuff system? Overview:  Lots of games with RPG-like statistics allow for character "buffs", ranging from simple "Deal 25% extra damage" to more complicated things like "Deal 15 damage back to attackers when hit."  The specifics of each type of buff aren't really relevant.  I'm looking for a (presumably object-oriented) way to handle arbitrary buffs.  Details:  In my particular case, I have multiple characters in a turn-based battle environment, so I envisioned buffs being tied to events like "OnTurnStart", "OnReceiveDamage", etc.  Perhaps each buff is a subclass of a main Buff abstract class, where only the relevant events are overloaded.  Then each character could have a vector of buffs currently applied.  Does this solution make sense?  I can certainly see dozens of event types being necessary, it feels like making a new subclass for each buff is overkill, and it doesn't seem to allow for any buff "interactions".  That is, if I wanted to implement a cap on damage boosts so that even if you had 10 different buffs which all give 25% extra damage, you only do 100% extra instead of 250% extra.  And there's more complicated situations that ideally I could control.  I'm sure everyone can come up with examples of how more sophisticated buffs can potentially interact with each other in a way that as a game developer I may not want.  As a relatively inexperienced C++ programmer (I generally have used C in embedded systems), I feel like my solution is simplistic and probably doesn't take full advantage of the object-oriented language.  Thoughts?  Has anyone here designed a fairly robust buff system before?  Edit: Regarding Answer(s):  I selected an answer primarily based on good detail and a solid answer to the question I asked, but reading the responses gave me some more insight.  Perhaps unsurprisingly, the different systems or tweaked systems seem to apply better to certain situations.  What system works best for my game will depend on the types, variance, and number of buffs I intend to be able to apply.  For a game like Diablo 3 (mentioned below), where nearly any bit of equipment can change a buff's strength, the buffs are just character stats system seems like a good idea whenever possible.  For the turn-based situation I'm in, the event-based approach may be more suitable.  In any case, I'm still hoping someone comes along with a fancy "OO" magic bullet which will allow for me to apply a +2 move distance per turn buff, a deal 50% of damage taken back to the attacker buff, and a automatically teleport to a nearby tile when attacked from 3 or more tiles away buff in a single system without turning a +5 strength buff into its own subclass.  I think the closest thing is the answer I marked, but the floor is still open.  Thanks to everyone for the input. Linux "top" command: What are us, sy, ni, id, wa, hi, si and st (for CPU usage)? When I issue top in Linux, I get a result similar to this:    One of the lines has CPU usage information represented like this:  Cpu(s): 87.3%us,  1.2%sy,  0.0%ni, 27.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st   While I know the definitions of each of them (far below), I don't understand what these tasks exactly mean.   hi - what does servicing hardware interrupts mean? si - what does servicing software interrupts mean? st - they say it's the "CPU time in involuntary wait by the virtual CPU while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine".   But what does it actually mean? Can someone be more clear?  I listed all of us, sy, ni, etc, because it could help others searching for the same. This information is not in the man pages.  us: user cpu time (or) % CPU time spent in user space sy: system cpu time (or) % CPU time spent in kernel space ni: user nice cpu time (or) % CPU time spent on low priority processes id: idle cpu time (or) % CPU time spent idle wa: io wait cpu time (or) % CPU time spent in wait (on disk) hi: hardware irq (or) % CPU time spent servicing/handling hardware interrupts si: software irq (or) % CPU time spent servicing/handling software interrupts st: steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine Why is the area under a curve the integral? How to find the nearest parent of a Git branch? Extension of degree 2 with characteristic not 2 I am told that $K \leq L$ is a field extension of degree 2 and that $K$ has characteristic not 2. I am then asked to show that $\exists \: \alpha \in L$ such that $L = K(\alpha), \; \alpha^2\in K $  So far I have that:  $\exists \; \alpha_1, \alpha_2 \in L$ such that $L = K( \alpha_1, \alpha_2)$  $\Rightarrow |L:K| = |L:K(\alpha_1)| |K(\alpha):K| $ so $|K(\alpha):K| = 1$ or $2$  $|K(\alpha_1):K| = 2 \Rightarrow L = K(\alpha_1)$ and $deg(f_{\alpha_1}(t)) = 2  $ where $f_{\alpha_1}(t)$ is the minimal polynomial of $\alpha_1$ over $K$   So $f_{\alpha_1}(t) = t^2 + at + b$ for some $a,b \in K$  Also, $|K(\alpha_1):K|=1 \Rightarrow K(\alpha_1) = K$ and $L = K(\alpha_2)$ which means $degf_{\alpha_2}(t) = 2$ where $f_{\alpha_2}(t)$ is the minimal polynomial of $\alpha_2$ over $K$.   So $f_{\alpha_2}(t) = t^2 + at + b$ for some $a,b \in K$  Given that we consider the same polynomial each time, relabel to consider:   $f_{\alpha}(t) = t^2 + at+ b $ for some $a,b \in K$  We have already demonstrated that $L=K(\alpha)$ for some $\alpha \in L$ so now we much show that $\alpha^2 \in K$  $\alpha^2 \in K \Leftrightarrow a = 0_K$  I now have no idea how to show that this coefficient of $f_{\alpha}(t)$ is necessarily $0$.   I know that $f_{\alpha}(t)$ has two roots in $L$ and that because $K$ and thus $L$ has characteristic not 2, they cannot be the same root, but I don't know how to then conclude that they must sum to $0$  Any help would be greatly appreciated.