Include a file as a string
"#include" a text file in a C program as a char[]
Usage of "second/third/fourth ... last" In German there is a pattern for counting items from the end of a list. The last item is "das letzte", the one before is "das vorletzte", the one before that is "das vorvorletzte" and for each other item there's just another "vor" added.  While searching for an English translation for the German word "vorvorvorletzte" I came across   and  but none of them showed any usage pattern. Furthermore I didn't find any indication of which variant ("to", "from", no preposition) is used most nor to what area of the world those translations apply.  So I am still wondering: When there are items 1, 2, 3, 4 and 5, how can/will item 2 be called?   third from last? fourth from last? anteantepenultimate? fourth-last? fourth to last? the last but three item? the last but four item?   Is this a question of dialect/local use? How come SG-1 couldn't get back to Earth? How can I repeat a command every interval of time , so that it will allow  me to run commands for checking  or monitoring  directories ?   There is no need for a script, i need just a simple command to be executed in terminal. I've been at this for almost two hours and no one seems to have the same problem as I and I doubt this will be solved but I'll try anyway.  this is the code  /tellraw @p ["Would you like to teleport?",{"text":"Yes","color":"green","bold":"true","clickEvent":{"action":"run_command","value":"/tp @p ~ ~4 ~ "},"hoverEvent":{"action":"show_text","value":{"text":"Confirm"}},{"text":"No","color":"red","bold":"true","clickEvent":{"action":"run_command","value":"/tellraw @p{"text":"Come back when you want to teleport"}"}}}]   this part is fine  /tellraw @p ["Would you like to teleport?",{"text":"Yes","color":"green","bold":"true","clickEvent":{"action":"run_command","value":"/tp @p ~ ~4 ~ "},"hoverEvent":{"action":"show_text","value":{"text":"Confirm"}}   it's just when I add this  ,{"text":"No","color":"red","bold":"true","clickEvent":{"action":"run_command","value":"/tellraw @p{"text":"Come back when you want to teleport"}"}}}]   Minecraft gives me the error:     Invalid JSON at line 1 column 203   I've tried to space it out and figure out what column 203 is but I can't, I don't know what I did. Anyone got any ideas? I managed to successfully publish my old bachelor thesis in a good quality national journal in my country. However, I am thinking of retracting the article due to certain circumstances. First, I felt really embarrassed by the low quality research methodology used in my bachelor thesis. I only used simple correlation in my research. After it was published, I realized that the journal editor team forgot to include a reference in that article because they were rushing me throughout the editing process. I informed them about their mistake and it seems that they have done nothing to fix the problem. I became a bit annoyed because the editor team has never made this problem in the past.  I felt that it would be better for me to simply ask for retraction to solve this issue, but I am a bit afraid of negative consequences in the future. Is it okay to do this? I am really interested of entering the academic world in the future. Can “zealot” have a positive connotation? A zealot is a person who is fanatical and uncompromising in pursuit of their religious, political, or other ideals.  I have never seen this word used with positive connotation, but could it (without causing raised eyebrows)? For example, “Gandhi was a zealot and should be admired by all who believe in non-violence.”  Also, do “zealous” and “zeal” carry the same connotation as “zealot”? Find Documents in MongoDB whose with an array field is a subset of a query array What do we mean by hyperparameters? Can anyone give me full details about what we mean by hyperparameters, and what in the Dirichlet distribution are called hyperparameters? A practice example for the estimation of those parameters would also be useful. How can we print line numbers to the log in java How to print line numbers to the log. Say when outputting some information to the log, I also want to print the line number where that output is in the source code. As we can see in the stack trace, it displays the line number where the exception has occurred. Stack trace is available on the exception object.  Other alternative could be like manually including the line number when printing to the log. Is there any other way? Reference undefined I receive the a Reference "LastPage" undefined error when trying to compile a document with this syntax:  \fancyfoot[R]{\thepage/\pageref{LastPage}}   What is necesarry to prevent this error? I'm using TeXworks Version 0.4.3 (MiKTeX 2.9) and pdfLaTeX. Create a virtual file that is actually a command Is there any way to create a virtual file, such that reading from the file actually reads from the stdout of a command; writing to the file is acually writing to the stdin of a command?  So far I have kludged this with an inotifywait on a file, which calls a command when the file is modified, taking it's input from the file and writing back to it.  I don't like that the inotifywait has to be constantly restarted though (and I have to ensure that it is always running). I only use this file perhaps twice a week. Why is it that Android still can't be installed as regular OS? Creating A Bootable USB Of Windows 8.1 On OS X? Reasons for wanting create such a usb include:   PC is unbootable and you want to prepare a bootable USB using the ISO file that you have on your external hard drive. to install Windows 8.1 on Mac without Boot Camp.   What are the necessary steps to create such a Windows 8.1 bootable usb on a Mac ? Number of automorphisms of a direct product of two cyclic $p$-groups Can't redirect cut output How can editors and reviewers detect data manipulation? Why teach linear algebra before abstract algebra? Is there a reason why most undergraduate curriculums put linear algebra before abstract algebra?  I'm asking this because personally it seems to be much easier to understand the architecture behind linear algebra as supposed to simply solving problems after a course in abstract algebra. I'm trying to make a list of ways to tell if a given degree sequence is impossible. For example $3,1,1$  is not possible because there are only 3 vertices in total so one can't have degree 3.  The list so far   vertices has degree equal to or larger than number of vertices sum of degrees is odd for n vertices if one has degree n-1 and another has degree 0 for n vertices the sum of the degrees cannot be greater than $n(n-1)$ because this would be have more edges than a complete graph I was on the tube and overheard a dad questioning his kids about maths.  The children were probably about 11 or 12 years old.   After several more mundane questions he asked his daughter what $1/0$ evaluated to. She stated that it had no answer. He asked who told her that and she said her teacher. He then stated that her teacher had "taught it wrong" and it was actually $∞$.  I thought the Dad's statement was a little irresponsible.  Does that seem like reasonable attitude? I suppose this question is partly about morality. Finishing a proof: $f$ is injective if and only if it has a left inverse I've already done a lot of searching (in particular: ) to try to prove this statement:      $f: A \to B$ is injective if and only if it has a left inverse. [I'm going to also assume $A$ and $B$ are nonempty.]   My attempt so far:     $\Leftarrow$ Suppose $f$ has a left inverse and $f(a_1) = f(a_2)$ for    $a_1, a_2 \in A$. Then there is a function $g: B \to A$ such that   $g\left(f(a_1)\right) = a_1$ and $g\left(f(a_2)\right) = a_2$. Since   $g$ is well-defined, it follows that $g\left(f(a_1)\right) =  g\left(f(a_2)\right)$, and hence $a_1 = a_2$.         $\Rightarrow$Now   suppose $f$ is injective. Then $f(a_1) = f(a_2) \implies a_1 = a_2$.   Furthermore, since $A$ is nonempty, there is an element $x \in A$.   Define $g: B \to A$ by  \begin{equation*} g(b) = \begin{cases}  f^{-1}(b), &amp; b \in \text{Im}(f) \\ x, &amp; b \in A \setminus  \text{Im}(f)\text{.} \end{cases} \end{equation*} This mapping is   well-defined, since if $f$ is injective, $f^{-1}(b)$ is unique.   My main question: does this imply that if $f: A \to B$ is injective that any mapping $g: \text{Im}(f) \to A$ is bijective? Otherwise, I don't understand why we can even use $f^{-1}$ on an element. [Please read the link above for more details - in proof 1.]