Is const char * different from other pointers?
Why does cout print char arrays differently from other arrays?
Working with objects created with Activator.CreateInstance Can a quasiclassical electron wave packet in elliptic orbit be formed from bound hydrogen-like eigenstates? Position probability densities of eigenstates of hydrogen-like systems have axial symmetry, so that the wavefunction too much resembles the circular orbits in Bohr's model. I'd like to have a demonstration of correspondence principle, where an electron would be localized to look somewhat like a classical particle, and move in an elliptic (non-circular) orbit around a nucleus.  It seems though that if we try to make a wave packet too localized, then it'll disintegrate (get scattered by the nucleus) too fast to see anything resembling an elliptic orbit. OTOH, if we take it too spread out, it'll have to be quite far from the nucleus so as to avoid hitting it, and thus it'll have high total energy, which may appear to be above ionization threshold (at least partially), after which it'd be quite hard to analytically calculate evolution of the wave packet.  Thus my question is: is it possible to form a more or less localized wave packet, which would (on average) move in an obviously-elliptic orbit (major/minor axes ratio of 4:3 or higher), and only require bound states to fully represent it? If yes, then what properties (FWHM, apocenter, angular momentum etc.) should it have for this to be possible? Changing Login Logo Splitting of prime ideals in algebraic extensions I'm reading Algebraic Number Theory by Jurgen Neukirch. I have some problems with some of the exercises in Section 9 of Chapter 1.  They are:  1) If $L / K$ is a Galois extension of algebraic number fields with non-cyclic Galois group, then there are at most finitely many non-split prime ideals of $K$.  2) Let $L / K$ be a finite (not necessarily Galois) extension of algebraic number fields and $N / K$ the normal closure of $L / K$. Show that a prime ideal $p$ of $K$ is totally split in $L$ if and only if it is totally split in $N$.  I have worked on them for a long time but couldn't get any idea of it.   Can you please help? Thank you! How do you know when to wean? What signs can a baby show to indicate he/she is ready for weaning?  What does a parent look for to determine the right timing for this for baby, mom and family? Casting a Somatic, non-Material spell while holding a focus In  a side issue came up of whether you can cast a spell with Somatic components but no Material components while holding a focus in the hand used for Somatic components.  My reading of the rules sees "A spellcaster must have a hand free to access a spell's material components--or to hold a spellcasting focus--but it can be the same hand that he or she uses to perform somatic components." - it doesn't say you have to be holding the focus for the purpose of avoiding materials.  However, @Adeptus and @enkryptor argue that - since that rule is in the section on Material components - you don't consult it in for spells without Material, and fall back to the Somatic rule "the caster must have free use of at least one hand".  (I also appeal to the logic of fluff - why should it be harder to cast a spell with fewer components?)  Is there an official RAW or Word Of God on this matter? Can you cast a material-less, somatic spell while holding a focus in your only free hand? How to calculate Area Under the Curve (AUC), or the c-statistic, by hand For $f$ in dual space, there exists $x$ with norm 1 and $f(x)=\|f\|$ if space is reflexive (and nontrivial) Let $X\ne\{0\}$ be a reflexive space and let $f\in X^*$, where $X^*$ is the dual of $X$. I want to know: in general, does there exist an $x\in X$ with $\|x\|=1$, and $f(x)=\|f\|$, where $\|f\|$ is defined as $\sup\{|f(x)|:x\in X,\|x\|=1\}$?  I know this is true for $\mathbb{R}^n$ with the norm from the standard inner product, but I'm wondering if it is true in general. How did "but" mean "only"? : Old English butan, buton &quot;unless, except; without, outside,&quot; [...]  I don't know Old English. From the étymons overhead, how did but  to mean    |adverb| = 1. No more than; only  ? What can explain the semantic shift? I didn't understand , because English is not my first language  :   In sense: Only. An elliptic development of the conjunction: see .  a. By the omission of the negative accompanying the preceding verb (see ), but passes into the adverbial sense of: Nought but, no more than, only, merely.    I understand Shakespeare's use in . Thank you all. How do I count the number of occurrences of a char in a String? I have the string   a.b.c.d   I want to count the occurrences of '.' in an idiomatic way, preferably a one-liner.  (Previously I had expressed this constraint as "without a loop", in case you're wondering why everyone's trying to answer without using a loop). Sending and Parsing JSON Objects in Android Modify a shape and have modifications apply to clones Is there any any "Symmetry Modifier" option in illustrator?   Let's say I want to create a head that is totally symmetric. I created one half then mirrored it to get another half. Flipped the other half, aligned them and joined them together with Pathfinder→Unite option.   Now I modified some portion of the right half outline. But how can I get that same modification to be updated on the left option? I thought it would happen automatically. Redirect stdout over ssh I would like to run  something &gt; file   on a remote system through ssh, but if I run  ssh host something &gt; file   the redirection is executed locally as ssh etc &gt; file  I've tried it with ' or '' or dd or with a pipe | instead, but I can't get it to work. How can this be done? About the term $-\nabla_{[u,v]}w$ in the definition of Riemann curvature tensor Can I mention professors' names in the statement of purpose? For PhD applications, I have mentioned that I am interested in some research areas. Besides, I am thinking about mentioning some professors' names, so that it shows I have read their websites and I am not just sending out generic statements applicable to many schools.  But is it good to mention some professors' names in the statement of purpose, if I don't know them personally? In what cases is it good, and in what cases it isn't?  For example, is it good to only mention    those whose research directions are aligned with my research interests, or/and those whose books or notes I have heard of, or better, might have read some parts of, or/and those who are already established and famous (such as having certain titles), or/and those that are directing the PhD graduate programs, or/and those that are heads of the departments?    What will other professors who are not mentioned think? How will you do, if it were you? 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? Closing Reject Suggested Edit dialogue freezes review process If you go to review a suggested edit and close the Reject dialogue box, the button at the top-right will continue to say "Rejecting...". You will not be able to continue with the review process.  I have refreshed the page, and tried clearing my cache. If I refresh the page, I can continue reviewing the edit.  I'm using Chrome Version 31.0.1650.57 m. What could cause a microcontroller to unexpectedly reset? One particularly irritating variety of bug in a microprocessor-controlled system is for the microprocessor to unexpectedly reset. An important tool for debugging this kind of problem is a list of possible causes. What could cause a microcontroller to unexpectedly reset? What is the best way to get security token of a API Only user? API only users cannot login and choose 'Reset my security token'. Right now, in my company, we select a System Administrator profile for users, log in for the first time, choose 'Reset my security token', then change the profile to a custom profile which has API only enabled.  The other way of doing it is, modifying the profile to not have API only user checked initially and then turn it on once the security token is received.  Is there a recommend way to do this? Is there an option to force the security token to be sent  when the user is created with a profile which has API user enabled? Position an exampleblock in front of content I need to position an example block:  \begin{exampleblock}{}    Proposed and implemented \end{exampleblock}   Without disturbing other frame content. Something like:  -------------------- ------------- -------------------- -------------------------- -----------    --/============\--------- -----|            |-- -----| Proposed   |-------- -----| and        |-------- -----| implemented|------ -----\============/ -------------------- --------------------------    -----------------   Let it overlay the text behind it. And not to be taken into account during layouting.  Update The Claudio Fiandrino's way is not apropriate to me, because, i need an Itemize environment working inside, and it would be great, if block style is the same as theme-style.