List of amino acid frequency of different foods?
Where can you find the quantities of each amino acid of a particular protein or food?
Can I convert a C# string value to an escaped string literal? In C#, can I convert a string value to a string literal, the way I would see it in code? I would like to replace tabs, newlines, etc. with their escape sequences. If this code: Console.WriteLine(someString);  produces: Hello World!  I want this code: Console.WriteLine(ToLiteral(someString));  to produce: \tHello\r\n\tWorld!\r\n Forward an invocation of a variadic function in C In C, is it possible to forward the invocation of a variadic function? As in,  int my_printf(char *fmt, ...) {     fprintf(stderr, "Calling printf with fmt %s", fmt);     return SOMEHOW_INVOKE_LIBC_PRINTF; }   Forwarding the invocation in the manner above obviously isn't strictly necessary in this case (since you could log invocations in other ways, or use vfprintf), but the codebase I'm working on requires the wrapper to do some actual work, and doesn't have (and can't have added) a helper function akin to vfprintf.  [Update: there seems to be some confusion based on the answers that have been supplied so far. To phrase the question another way: in general, can you wrap some arbitrary variadic function without modifying that function's definition.] How do I programmatically set the value of a select box element using JavaScript? Group files in some folders I have some files with different extensions such as *.pdf, *.mp3, *.jpg and a few others. All of them are stored in a parent directory.  How can I get a list of all extensions, create some folders based on these  extensions and then move all files into their relevant folders? When a Battle Master fighter gets a critical hit and uses a maneuver that adds a superiority die to the damage, is that damage die doubled? The Battle Master fighter has access to a number of maneuvers that add a superiority die to the damage roll. For instance, the Trip Attack maneuver says (PHB, p. 74):     When you hit a creature with a weapon attack, you can expend one   superiority die to attempt to knock the target down. You add the   superiority die to the attack’s damage roll, and if the target is   Large or smaller, it must make a Strength saving throw. On a failed   save, you knock the target prone.   The Critical Hits rule states (PHB, p. 196):     When you score a critical hit, you get to roll extra dice for the   attack’s damage against the target. Roll all of the attack’s damage   dice twice and add them together. Then add any relevant modifiers as   normal. [...] If the attack involves other damage dice, such as from   the rogue’s Sneak Attack feature, you roll those dice twice as well.   During our game, the fighter PC rolled a critical hit. He then wanted to use a superiority die to use the Trip Attack maneuver to trip the enemy. Based on the above rules, is the damage from the superiority die also doubled?  I'm assuming the answer is yes based on the last statement in the Critical Hits section, but I wanted to confirm. We sometimes buy trout from a local breeder who'll get them fresh out of the water for us, and then cook them a few hours later. They taste great, but the flesh tends to fall apart in a way that doesn't happen with fish from the super market. It's often barely even possible to get them out of the pot without them completely coming apart. We tried leaving them in the fridge for a day so they wouldn't be quite as just-killed-an-hour-ago-fresh, but that didn't help.   We usually prepare them by cooking them in simmering (not boiling) water.  Is there some way to prevent this? When does the set enter set theory? I wonder about the foundations of set theory and my question can be stated in some related forms:   If we base Zermelo–Fraenkel set theory on first order logic, does that mean first order logic is not allowed to contain the notion of sets? The axioms of Zermelo–Fraenkel set theory seem to already expect the notion of a set to be defined. Is there are pre-definition of what we are dealing with? And where? In set theory, if a function is defined as a set using tuples, why or how does first order logic and the axioms of Zermelo–Fraenkel set theory contain parameter dependend properties $\psi(u_1,u_2,q,...)$, which basically are functions? Corrupt MXD Causes? To hyphenate or not? As a non-native speaker of English and an engineer by training, I always get confused about hyphenation and almost always end up referring to Google every time I need to make that decision.  Does anybody know of a concise, comprehensive style guide to hyphenation that explains this rather complex issue, once and for all? How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's     What's a Windows command line statement(s) I can use to get the current datetime in a format that I can put into a filename?  I want to have a .bat file that zips up a directory into an archive with the current date and time as part of the name, for example, Code_2008-10-14_2257.zip. Is there any easy way I can do this, independent of the regional settings of the machine?  I don't really mind about the date format, ideally it'd be yyyy-mm-dd, but anything simple is fine.  So far I've got this, which on my machine gives me Tue_10_14_2008_230050_91:  rem Get the datetime in a format that can go in a filename. set _my_datetime=%date%_%time% set _my_datetime=%_my_datetime: =_% set _my_datetime=%_my_datetime::=% set _my_datetime=%_my_datetime:/=_% set _my_datetime=%_my_datetime:.=_%  rem Now use the timestamp by in a new ZIP file name. "d:\Program Files\7-Zip\7z.exe" a -r Code_%_my_datetime%.zip Code   I can live with this, but it seems a bit clunky. Ideally it'd be briefer and have the format mentioned earlier.  I'm using Windows Server 2003 and Windows&nbsp;XP Professional. I don't want to install additional utilities to achieve this (although I realise there are some that will do nice date formatting). adding a point in a manipulate command 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. Find the sum $\sum_{n=1}^{\infty} \frac{\ln n}{n(n- \ln n)}$ Find the following sum : $\sum_{n=1}^{\infty} \frac{\ln n }{n(n- \ln n)}$  I couldn't find any way to solve.   I just want a hint, how to initiate? Set active image node with python There's any way to change it directly by Python, or there's any way to set by Python what node image is the active to display in viewport (Textured) and bake? I want to know by an example how prices in stock market changes Let us assume there is a listed company x. Currently it has 100 shares issued to trade in free float market. Current price of stock is let say 10. Now please let me know if I purchase one share of company x at the market price of 10. How it will effect the stock price. And please add and exemplify some other scenarios whichever you find good to explain more. For more information let say promoters of the company holds 100 shares with them like 50% of the company is with promoters and the other half is with people who invest or trade in that company. If I've missed to tell or assume any other vital info. needed please assume it yourself while mentioning it. Thank You I have the Blender 2.8 version from the 21st Sep 2018 I was looking forward to render a test sequence but cannot find a render button anywhere? Does anyone know where to find it? Counting binary operations on a set with $n$ elements I am trying to solve following problem but not able to find any way to proceed.  Let $S$ be a set having $n$ elements. Can we count about number of binary operations that can be defined on a set? Can we also count number of commutative binary operations defined on  $S$?  Thanks for the help and suggestions Sci-fi story where all 'citizens' had shares in a global company Not everyone was a citizen though, there was a significant underclass who had no shares.  One character was a celebrity in some sort of combat game who was followed by camera drones &amp; used drugs to suppress puberty so he waa an eternal 'child', I have the impression that medical science allowed virtual immortality short of accidents.  One character (may have been the same one) had had a 'previous life' &amp; had committed personality suicide by some form of mind wipe bequeathing his worldly possessions to the new personality that would eventually develop in his old body.  I think the motive for this 'suicide' was essentially boredom, he'd lived a long time.  The mind wipe in question was pretty extensive &amp; all encompassing, he had to be cared for &amp; educated from scratch as if a newborn baby in an adult body, nappies &amp; all (but I'm pretty sure this was purely backstory in the book I read).  He also had miniature nano organisms (or bots?) like miniature worms or millipedes that complimented his immune system &amp; aided healing, they were self replicating, pretty sure they were some sort of bioengineered organism tailored to his DNA rather than bots  but not 100% on that.  There was an organism spanning a large area on the planet that absorbed (or consumed) anything that wandered into it but saved the DNA of anything it had previously absorbed &amp; might randomly reproduce any animal plant or individual it had previously absorbed fully formed.  One of the characters fell into this but got pulled out before the full effects took hold, as a result he grew leaves from his head &amp; his immune system was then constantly battling with the 'infection'.  When did I read this? probably some time in the 80's in the UK.  When was it written? I haven't a clue, sorry.  It was a paperback, probably something I had out of a library, because I never get rid of anything I've bought myself so I'd still have it &amp; be able to dig it out if it wasn't a library loan.  I have lots of fragments of world background &amp; 'colour' that seem to have stuck in my mind there, but a complete lack of any story arc to go with them. I want to run a ppp connection when my USB modem is connected, so I use this udev rule:  ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\     RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"  (My modem appears in /dev as ttyACM0)  newPPP.sh:  #!/bin/bash /usr/bin/pon prov $1 &gt;/dev/null 2&gt;&amp;1 &amp;   Problem:  The udev event fires, and newPPP.sh is running, but newPPP.sh process is killed after ~4-5s. ppp does not have time to connect (its timeout is 10s for dial up).  How can I run a long time process, that will not be killed?  I tried using nohup, but it didn't work either.  System: Arch Linux  Update  I found a solution , thanks to .  I use at now to run my job detached from udev process.  But the one question remains unanswered: Why do nohup and &amp; not work? I want to prove that if we have a commutative integral domain $D$ with field of fractions $F\neq D$ then $F$ is not finitely generated as a $D$-module. (In this question it may be the case that $1\not\in D$.)    My original plan was to localize at a maximal ideal and then use Nakayama's lemma but as we don't have a $1$ our localization may not be local (in fact we need not have maximal ideals).  So I'm a bit lost as to where to go?  Thanks for any help.