Manuscript transferred from editor to editor
What does the typical workflow of a journal look like?
Many times I see that URL extensions are hidden (e.g. .html, .php), but not all websites do this.  Why do webmasters hide the extension? Is it for security, for the URL to look cleaner, or for some other purpose? Below is my code to create the component dynamically - The component is "ui:inputselect"  $A.createComponent(             RecoveryLineItem.Attributes[i].name,{                 "class" : "slds-input ",                 "aura:id" : 'ExampleId',                 "label" : RecoveryLineItem.Attributes[i].label,                 "multiple" : RecoveryLineItem.Attributes[i].multiple             }, ....   ..  console.log(component.find('ExampleId').get("v.value"))    Or console.log(component.find('ExampleId'))  is Giving as 'Undefined"  How to access the aura:id of the dynamically created components? var/log/syslog growing indefinitely in size The disk that contains Ubuntu on my computer is 115GB in size.  When the disk was 114.7GBfull.  I started deleting some files here and there to free up around 5GB.  But I noticed the disk was 114GB filled again. I thought it was some cache or swap thingy so didn't give it much thought and went ahead and freed around 40GBby shifting some media files out of the disk.  I have a notification in an hour or so that the disk is full yet again!! 40GB!!! All gone!  So I debugged the problem down to the /var/log/syslog file which was initially definitely less than 20GB. I know this because /var folder was 17GB before I cleared the memory.  /var/log/syslog file is currently 55.9GB!  Could someone be so gracious to explain this anomaly? Is this a bug? Or am I affected with some malware or virus? How to change Power button shutdown action to run a script under systemd How does one change the power button shutdown action under say debian 10 systemd to run a custom script instead of shutting down the system?  Back when this was handled by acpi one could edit the scripts in /etc/acpi.  The only suggestion I have found thus far is to replace various power related binaries with my script.  Is there a way to do this without replacing binaries? Can $\frac{\sqrt{3}}{\sin20^{\circ}}-\frac{1}{\cos20^{\circ}}$ have two values? How many actuations are "too many actuations"? When looking at used camera bodies, a question that comes up a lot, is "how many shutter actuations, or clicks, does it have?"   What I am wondering is, how many is too many. In other words, is there a reference for knowing when a sensor is more likely to go? How should I judge a camera body with 20000 vs 5000? Is that a significant difference, or is that not even relevant.  Obviously this might something that is dependent on model, so if there is some information based on model that would be even more interesting.  One of the guys at Canon Tech Support said that this is completely irrelevant for the Rebel series cameras, but he is obviously slightly biased. :) How to read over 4k input without new lines on a terminal? So I have a lot of data WITHOUT NEW LINES on the clipboard (it's a large SVG file on one line). I went  $ cat &gt;file.svg   then tried to paste (in Gnome Terminal), but only the first 4kB characters were accepted.  I assume this is a readline feature/limitation.  Is there a way to read from STDIN that would avoid this problem?  EDIT  Test case: Create a demo file. This one will have ~4k "=" symbols followed by "foo bar".  { printf '=%.0s' {1..4095} ; echo "foo bar" ; } &gt; test.in   Copy that into your clipboard  xclip test.in   (if you want to middle-click to insert) or  xclip -selection clipboard test.in   (if you want to use Ctrl-Shift-Insert to past it in)  Then cat &gt;test.out, paste (whichever way). Press Ctrl-D to end the stream. cat test.out - do you see "foo bar"?  On my set-up (Ubuntu 12.04, Gnome Terminal, zsh) when I paste I only see the = and I don't see foo bar. Same when I inspect test.out. Drawing a constant randomly distorted circle I am trying to draw a special and contradictive plot : A circle with random distortions which have to remain constant regardless of how many times I build the document.  An example of what I am trying to achieve can be seen below    This figure was produced with the following code  \documentclass{standalone} \usepackage{tikz}    \usetikzlibrary{decorations.pathmorphing}   \begin{document}     \begin{tikzpicture}         % axes         \draw[ultra thin] (-2.5, 0) -- (2.5, 0);         \draw[ultra thin] (0, -2.5) -- (0, 2.5);         % undistorted sphere         \draw[ultra thin, dashed] (0, 0) circle (2.25cm);         \draw[ultra thin, dashed, -&gt;] (0:0) -- (125:2.25);         \node at (-1, 1) {$R$};         % distrorted sphere         \draw[very thick] plot[domain=0:350,smooth cycle ] (\x:2+rnd*0.5);         \draw[very thick, -&gt;] (0:0) -- (45:2.1);         \draw[ultra thin, -&gt;] (1, 0) arc (0:45:1);         \node at (1.2, 0.4) {$\theta$};         \node at (0.7, 1.25) {$R(\theta)$};     \end{tikzpicture} \end{document}   The problem with the code is that whenever I make a change to it and rebuild the document, the "distorted" circle will have a different shape, since I am using the rnd function. The reason I would like to have a constant-random shape is because I would like to denote its radius at an angle θ, therefore it has to touch the outline of the circle.  Any idea on how to achieve such a thing? In Java, are enum types inside a class static? How do I operate on a DataFrame with a Series for every column I'm having difficulty with exercise 1.43 of Lang's Algebra. The question states     Let $H$ be a subgroup of a finite abelian group $G$. Show that $G$ has a subgroup that is isomorphic to $G/H$.   Thinking about this for a bit, the only reasonable approach I could think of was to construct some surjective homomorphism $\phi\colon G\to K$ for $K\leq G$, and $\ker\phi=H$, and then just use the isomorphism theorems to get the result.  After a while of trying, I've failed to come up with a good map, since $H$ seems so arbitrary. I'm curious, how can one construct the desired homomorphism? This is just the approach I thought of, if there's a better one, I wouldn't mind seeing that either/instead. Thank you. Which countries require a 24-hour transit visa in China? I'm transiting through China in Kunming, China.  I'm a South African national and do NOT fall under the 72-hour visa free program. However on [their official (travelchina) website][1] it says:     Nationals of most countries are eligible for the 24-hour direct   transit, while a visa is needed for the passengers transiting on   Afghanistan, Azerbaijan, Iran, Iraq, Kazakhstan, Kyrgyzstan, Malaysia,   Nigeria, Oman, Pakistan, Saudi Arabia, Sri Lanka, Thailand, Turkey,   United Arab Emirates and Yemen passports.   I'm sorry if I'm missing this, but the above is rather badly worded for me does "nationals of most countries" include ALL countries except those mentioned in the list shown?  Also again sorry if I'm missing this but again it is rather badly worded for me. I will fly via Thailand to China and then via China to Canada with an 8-hour layover in China. I see Thailand is mentioned on the list. I have a Thailand residency permit where I currently reside... Would that affect me at all?  Also, any idea if I can exit the airport in China and come back under the 24-hour visa exemption (should I be exempt)?  Many thanks. What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? The  () is a common accuracy or error measure for time series or other predictions,  $$ \text{MAPE} = \frac{100}{n}\sum_{t=1}^n\frac{|A_t-F_t|}{A_t}\%,$$  where $A_t$ are actuals and $F_t$ corresponding forecasts or predictions.  The MAPE is a percentage, so we can easily compare it between series, and people can easily understand and interpret percentages.  However, I hear that the MAPE has drawbacks. I'd like to understand these drawbacks better so I can make an informed decision about whether to use the MAPE or some alternative like the MSE (), the MAE () or the MASE (). How can I have a different input method for each app window on windows 8. When I change input language to ENG all app window also uses this method and I don't want that. Like windows 7 that has a different input method for this purpose. thanks I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support. &lt;body&gt;     &lt;div&gt;Div to be aligned vertically&lt;/div&gt; &lt;/body&gt;  How can I center a div vertically in all major browsers, including Internet Explorer 6? I just spent the last 10 minutes trying to put a new set of grips on to my mountain bike handlebars..  The old ones came off fairly agreeably and I've got the new ones 80-90% of the way on, however, at this point both my hands are stinging from the aggressive twisting and pushing - I have tried gloves, but I feel it's best left till my hands don't hurt anymore.  Is there a tried and tested way of doing this? Or is there a knack to this that I am missing? Doubt on Rechargable LED Emergency bulb I have recently seen a  and I  was wondering how it is working.  In the event of a power failure, the LED bulb will turn ON automatically. That is, when the switch is ON and mains power goes off the bulb will detect that and turn ON. If the switch is OFF bulb will not turn ON. When mains are ON and the switch is ON the bulb will start recharging again.  It is just like a normal bulb. See the   My question is, how the bulb will detect the event of mains failure? Can somebody give me a hint on this? I've been going through Shankar's Principles of Quantum Mechanics. In the section of the system of identical particles, he uses an example of billiards to illustrate the difference between identical particles in classical vs. quantum mechanics. He argues that in classical mechanics, we can track the history of a particle (a billiard ball) to distinguish it from another particle with no intrinsic differences. In quantum mechanics, however, he argues since continual observation is not possible, we can't use the same method to distinguish identical particles. A potential counter-example I thought was: suppose we have two non-interacting particles in the same square well. And at the end of some measurement, we find that one particle 1 is in a stationary state $\psi_1$, and particle 2 in $\psi_2$. We measure the system again after some time $t$, then we know whichever particle that's in $\psi_1$ must be particle 1 from the previous measurement. And the same goes for particle 2. Thus we can distinguish the two &quot;identical&quot; particles. What conceptual mistakes am I making here? Chirp Transform and Convolution I was reading about the discrete fourier transform from the CLR algorithms book and I came upon an exercise whose hint confuses me. The exercise reads as follows:  The chirp transform of a vector $a=(a_0,a_1,\ldots,a_n)$ is a vector $y=(y_0,y_1,\ldots,y_n)$, where $y_k=\sum_{j=0}^{n-1}a_j (z^{k})^j$ and $z$ is any complex number. The DFT is therefore a special case of the chirp transform, obtained by taking $z=\omega_n$. Prove that the chirp transform can be evaluated in time $O(n\lg n)$ for any complex number $z$. (Hint: use the equation $$y_k = z^{k^2/2}\sum_{j=0}^{n-1}(a_j z^{j^2/2})(z^{-(k-j)^2/2})$$ to view the chirp transform as a convolution.  My question is about what is a convolution. I am familiar with taking two vectors $a=(a_0,a_1,\ldots,a_n)$ and $b=(b_0,b_1,\ldots,b_n)$ and forming the convolution $c=(c_0,c_1,\ldots,c_n)$ where $c_k = \sum_{j=0}^k a_j b_{k-j}$. Here the index of $j$ runs from $0$ to $k$ unlike in the hint given above where the index runs from $0$ to $n-1$. In what sense is the hint above a convolution? Cannot remove a repository that complains it has no public key