The .bash_profile file has the alias below.  ~# cat .bash_profile # other commands alias btcblock="echo $(bitcoin-cli getblockcount 2&gt;&amp;1)/$(wget -O - http://blockchain.info/q/getblockcount 2&gt;/dev/null)"   But if I run the command and shortly thereafter the alias, the results showed are different, as below:  ~# echo $(bitcoin-cli getblockcount 2&gt;&amp;1)/$(wget -O - http://blockchain.info/q/getblockcount 2&gt;/dev/null) 503967/534428 ~# btcblock 503839/534428   It's like the results of alias is always outdated. Any idea why it's happening ?
I'm trying to set up a way for me to just type newjournal, and a new journal entry named year-month-date-time.txt is created in a year subdirectory in ~/documents/journals.   I've got it set up as an alias using the following:  alias newjournal='nano /home/username/documents/journals/'$(date +%Y)'/'$(date +%F-%k%M).txt''   So the year subfolder resolves correctly, and seemingly so does the first half of the date command. Tried appending the alias with sudo, didn't help.  Issue: For some reason, when I do this command the time value (%k) resolves to a few minutes ago... or maybe the last time nano ran this filename, maybe it's called an old buffer?   When I logoff it makes the correct file, then I save, wait a few minutes and try again, and it edits the old file instead of making a new one. Even if I remove the old file, it creates a new file with the old filename (incorrect time).  Here's a screenshot of what I'm trying to explain. Here I create a newjournal, save in nano within a second or two of executing the command, print the correct date/time, list the file that was created. Note the incorrect filename time (1249, as apposed to 13:11):    Anyways, it might be something simple, but I've tried different methods in the alias, such as putting double quotes around the whole thing and escaping properly, single quoting, escaping and spacing, etc.  Thanks for the read/help. Ubuntu 16.04 server.  EDIT: Here's the final alias that worked:  alias newjournal='nano /home/user/journals/"$(date +%Y)"/"$(date +%F-%H%M).txt"'   Needed to double quote the date commands inside the overall single-quoted alias.
$G$ simple group and there exists a subgroup of index $n$. Show that: $|G|$ divides $n!/2$ Let $G$ be a simple group and there exists a subgroup $H$ of index $n \in \mathbb{N}_{\ge 3}$. Show that: $|G|$ divides $n!/2.$ I saw a similar question .   There was written: "The proof is really simple. Let $X$ be the set of left cosets of $H$. Consider $\phi: G \to \text{Sym}(X)$ given by $\phi(x)(aH)=(xa)H$. Then $\phi$ is a homomorphism. Consider now $K=\ker \phi$. Then $K$ is a normal subgroup of $G$ contained in $H$. Finally, $G/K$ is isomorphic to a subgroup of $\text{Sym}(X)$, which has order $n!$, where $n=[G:H]$. Thus, $[G:K]$ is finite and divides $n!$."  In fact, I don't understand the last sentence. "Thus, $[G:K]$ is finite and divides $n!$." Also did I understand it right that $ker(\phi)=H$?  Can you also give me an advice how to proof it for $n \ge 3$. (maybe induction)  Thank you for taking your time. Long names cut off in questions and answers The Unhandled Exception's name is cut off in this  and in the answer too. The last 'n' looks like an 'r'.  Using Firefox 3.6.6.  Examples: Why crontab scripts are not working? It's not like there's anything else to do.   Shouldn't the speaker say: "There's something else to do." ? so what's the meaning of the sentence and what's the difference between the two of them? Thank you, Usernames as Advertising or Spam? Bevel not...beveling properly I'm taking a course and the instructor has beveled an edge and I cannot get the same result. My bevel only bevels on segment on one side then the rest, about 4 or 5 segments bevel on the other side. Other words the bevel is not beveling evenly on the top of a cylinder. Pictures below What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)?  How do I know if I need one and if so, what size and where it needs to go?    mentions many chips needing one between VCC and GND; how do I know if a specific chip is one?   Would an  4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not?  I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well. Is there ever a right time to upgrade to full frame camera body? Context  I've been shooting with an a6000 (APS_C mirrorless) and I plan to move on up to full frame, preferably mirrorless as well. I'm debating on when to upgrade, and probably don't plan to buy until next year.  I know I'll need to buy new full frame lens.  Question  Is there a "right" time to buy camera bodies, both mirrorless in my case as well as DSLRs? (I've seen the a7rII and like it but there might also be an a9 looming.) I feel that this is like smartphones in which the best time to buy is now as you might always be waiting until the next upgrade.   Related, are full frame bodies discounted during the holiday season or is that limited only to entry level bodies and older full frame bodies?  Related Prove that if $V$ is an inner product space, then $|\langle x,y\rangle| = \Vert x \Vert\Vert y\Vert$ if and only if one of the vectors $x$ or $y$ is a multiple of the other.  I am given a hint to let $a= \frac{\langle x,y\rangle}{\|y\|^2}$, and let $z = x - ay$, then prove $y$ and $z$ are orthogonal and $|a|= \frac{\|x\|}{\|y\|}$. I don't know how they come up with this, what was the original idea? How to turn off "unread messages" feature on Windows XP login screen? In Windows XP, if you have logged onto Windows Live Messenger at some point, then it'll start displaying how many unread messages on the Windows login screen. How can I turn it off? Suggested edits in top-bar put flags over the winterbash snowflake Suggested edits in the top bar put the flag count right over the winterbash snowflake. Looks pretty ugly if you ask me... EntityFieldQuery order by title i am making a boss battle for my minecraft adventure map, and using a mob spawned with commands as the boss. When the mob gets hit, some command blocks will give the player a potion effect, but I can't figure out how to activate the command block when the mob gets hit. I am in the latest snapshot (16w03a). please help me (the person who answers my question will be given credit for it in my map) How to plot ROC curves in multiclass classification? In other words, instead of having a two class problem I am dealing with 4 classes and still would like to assess performance using AUC. Where did Harry's parents get all of their money from? So, at the beginning of Harry Potter, Harry is found to have a large vault of gold at Gringotts. Where did all of that money come from? What did James (I assume it came from him, as Lily was muggle-born, and they were both young) do to get all of that cash? How well does T-Mobile's (US) Simple Choice plan work when in Europe? Pageblocktable to be rendered as table in PDF I have a VF code below where I am trying to display the related list of an object using  and  command. I am rendering this page as PDF , doing that in my PDF I am unable to see the content in a tabular format. How can I make the content appear in a table?      &lt;apex:pageBlockSection columns="1" title="TECHNICAL ASSESSMENT"&gt;          &lt;apex:repeat value="{!interviewSkillReviews}" var="interview"&gt;              &lt;table border="1" cellpadding="6"&gt;                 &lt;apex:pageblockTable value="{!interview.Skill_review__r}" var="skillreview"&gt;                      &lt;apex:column headerValue="Skill Name"&gt;                                                         &lt;apex:outputText value="{!skillreview.Skill__r.Name}"/&gt;                     &lt;/apex:column&gt;                 &lt;apex:column headerValue="Recommended Level"&gt;                     &lt;apex:outputText value="{!skillreview.Level__r.Name}"/&gt;                 &lt;/apex:column&gt;                  &lt;apex:column headerValue="Rating"&gt;                     &lt;apex:outputField value="{!skillreview.RatingCopy__c}" rendered="{!NOT(interviewerMode)}" /&gt;                     &lt;apex:selectList value="{!rating}" multiselect="false" size="1" rendered="{!interviewerMode}"&gt;                         &lt;apex:selectOption itemValue="1" itemLabel="1"/&gt;                         &lt;apex:selectOption itemValue="2" itemLabel="2"/&gt;                         &lt;apex:selectOption itemValue="3" itemLabel="3"/&gt;                         &lt;apex:selectOption itemValue="4" itemLabel="4"/&gt;                         &lt;apex:selectOption itemValue="5" itemLabel="5"/&gt;                     &lt;/apex:selectList&gt;                 &lt;/apex:column&gt;                  &lt;apex:column headerValue="Rating Level Description"&gt;                     &lt;apex:outputText value="{!skillreview.Skill_Level_Description__c}"/&gt;                 &lt;/apex:column&gt;               &lt;/apex:pageblockTable&gt;         &lt;/table&gt;      &lt;/apex:repeat&gt; &lt;/apex:pageBlockSection&gt;   I tried using &lt;table&gt; command of HTML but I just get a border around the pageblocktable.    Example of table look and feel: Area of an irregular polygon What will the universe look like for anyone falling into a black hole? I've heard that, from the perspective of an external observer, something falling into a black hole will eventually look "frozen": light waves will move to the infrared and further into lower frequencies.  But what about that unfortunate individual falling into such a black hole? What will he/she see when looking back at our universe?   For instance, I wonder, will it be the ultimate end of the Universe? Can someone who just crossed events horizon of the black hole still receive messages from our side? Is it possible to have an object ignore a certain light source but still be affected by others? I want to create an effect on a character where their skin and clothing are effected by two different light sources. The clothing should only reflect a bright bounce light, but have the skin should not be affected by this light source.    In the example image I have two objects a cube, a sphere and three emission  lights . I want the two white lights to hit both objects, and I need the purple light to hit and reflect off of the sphere, but ignore the cube entirely (no reflections).  Someone suggested to composite the layers together, it works... but this is very impractical and cumbersome because it forces the background to be transparent and it will be a pain to try and layer together a more complex scene, especially if its animated which is what I want this effect for.  I know you can have objects ignore shadows and all kinds of other things so im hoping someone knows how to get an object to ignore light with a few settings.