Some way to create a cross-platform, self-contained, cloud-synchronized python library of modules for personal use?
Local collection of Python packages: best way to import them?
Are C++ Templates just Macros in disguise? I've been programming in C++ for a few years, and I've used STL quite a bit and have created my own template classes a few times to see how it's done.  Now I'm trying to integrate templates deeper into my OO design, and a nagging thought keeps coming back to me: They're just a macros, really... You could implement (rather UGLY) auto_ptrs using #defines, if you really wanted to.  This way of thinking about templates helps me understand how my code will actually work, but I feel that I must be missing the point somehow. Macros are meant evil incarnate, yet "template metaprogramming" is all the rage.  So, what ARE the real distinctions? and how can templates avoid the dangers that #define leads you into, like   Inscrutable compiler errors in places where you don't expect them? Code bloat?  Difficulty in tracing code? Setting Debugger Breakpoints? When should I use \input vs. \include? There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there more things like them to be aware of? I have one bash source run.sh as follows,  #!/bin/bash if [ $# -ne 1 ]; then     exit fi ...   when I execute it in two ways, there are different behaviors. The first way is,  source run.sh   It will close the terminal after execution. The second way is,  ./run.sh   this will simply finish running the script, and stay on the terminal. I am asking if there is a command for exiting a bash scripts for both source run.sh and ./run.sh execution. I have tried return too, which does not work well under ./run.sh execution.  More generally, I am interested in why this is happening, and what's difference between using "source" and "." for script execution? I have a 32GB iPhone 4 version 4.0.1. I have many photos on my phone, but I have deleted an important photo from my iPhone. How can I get this photo back from my iPhone? Android app intermittently shows blank body in questions and answers (multiple sites) How to get glare on "Quick Smoke" (Fire & Smoke explosion) 1.7.4 Problem with mobs spawning I'm embarking on a journey to create a conference abstract book using XeTeX and got stuck within five minutes:        The missing 'g' in 'somethin' influences the line height of the following line. How can I correct this?  At the end I want to be able to include the abstracts and corresponding information through our online registration system, so this should be a global setting.  My MWE:  \documentclass[10pt, a5paper]{article} \usepackage{fontspec}  %% GEOMETRY \usepackage[left=2cm, right=1.5cm]{geometry} % to change the page dimensions  \newenvironment{AbsHead} {     \fontsize{16}{22}\headfont\noindent }% {     \vspace{0.5 cm} }  \newenvironment{AbsAuthors} {     \fontsize{12}{14}\authorfont\noindent }% {    \vspace{0.5 cm} }  \begin{document}  ￼￼￼￼\setmainfont{Minion Pro} \newfontfamily\authorfont{Helvetica Neue Light} \newfontfamily\headfont{Helvetica Neue Condensed Bold}  \begin{AbsHead}The XIAP  something something something somethin somethin somethin somethin somethin somethin somethin something something\end{AbsHead}   \begin{AbsAuthors}Somebody Someone\end{AbsAuthors}   \noindent Purpose: Lorem ipsum \end{document} Consider a partial function $f$ that is defined only for a few values of its domain (my exact use case is $\delta$ transition functions in automata). One can 'complete' it by saying $$g(x)=0\iff f(x) \text{ is not defined.}$$  Is there a symbol to mean "undefined"? Would it be correct, or accurate, to write $\nexists f(x)$? mongodb group values by multiple fields using underscore's “difference” method on arrays of objects What's the reasoning behind the delete:1 restriction for only content I own? I recently reached 10k reputation on Stack Overflow, and noticed that I now have the ability to view deleted posts with deleted:1 via the search bar. I'd like clarification as to why the restriction exists that prevents me from searching through all deleted posts?  I feel like this would be beneficial for several reasons:   , a bot that was designed to detect spam,  to help fight spam. Having deleted:1 as an option could offer a second link to show the amount of true positives, to determine if it's worth adding to a blacklist. In , the domain v-play.net was deemed as "Too many FP's". Having a check to see how many TP's there may be, may outweigh the number of false-positives, and would give a better view. Bots are currently unable to view deleted posts through the API (Even if the linked user account/API user has >10k reputation). I think that this is partially because of this restriction. I had brought it up , because I thought that having SmokeDetector log a (non-caught) rude/abuse or spam posts would be beneficial, so that we could adapt our methods to catch these types of posts in the future.  was posted earlier today. I remembered it was similar to another post I came across, but was unable to find it because . Being able to search deleted posts would have allowed me to catch this behavior, and bring it up to the mods (I was lucky that someone else had a link for it, and we were able to advise the user what to do in the future). As a member of , I come across a lot of posts that are borderline spammy (via ) which I have a vague recollection of seeing before. Instead of flagging as spam, I usually vote NAA as to not nuke a user, but by being able to search deleted posts for that user, I can see if he is habitually continuing to post links to his product/service, and flag for custom moderation attention in case.   Overall, I think it would add a lot more visibility that could be helpful in bringing problematic issues to dimaond moderator attention, something that was specifically mentioned in :     Make sure what is being deleted should have been deleted, and bring unnecessary or harmful deletions to the attention of the community and/or moderator team.   Additionally, I think that deleted:1 is almost useless in the current state it's in. If the restriction exists that I can already view my own deleted posts, why shouldn't it be available to all users (If it's limited to one's self), as I can already view my own deleted posts? UPDATE statement to re-assign a column value according to a numeric formula Workflow email with link to document in library Hydrogen radial wave function infinity at $r=0$ When trying to solve the Schrödinger equation for hydrogen, one usually splits up the wave function into two parts: $$\psi(r,\phi,\theta)= R(r)Y_{\ell,m}(\phi,\theta).$$ I understand that the radial part usually has a singularity for the $1s$ state at $r=0$ and this is why you remove it by writing: $$R(r) = \frac{u(r)}{r}$$ But what is the physical meaning of $$R(r=0) = \infty~?$$ Wouldn't this mean that the electron cloud is only at the centre of the atomic nucleus? Implications of parity violation for molecular biology In biology, the concept of parity emerges in the context of chiral molecules, where two molecules exist with the same structure but opposite parity. Interestingly, one enantiomer often strongly predominates over the other in natural biological systems (e.g. D-glucose is ubiquitous, L-glucose is rare in nature).  In physics, it has been established that weak interactions violate parity, which (if I understand correctly) implies a physical difference between left- and right-handed systems.  This suggests to me the following questions: Does parity violation in physics affect the physical or chemical properties of chiral molecules? And does this have any implications for our understanding of biological homochirality? Residue integral: $\int_{- \infty}^{+ \infty} \frac{e^{ax}}{1+e^x} dx$ with $0 \lt a \lt 1$. I'm self studying complex analysis. I've encountered the following integral:  $$\int_{- \infty}^{+ \infty} \frac{e^{ax}}{1+e^x} dx \text{ with } a \in \mathbb{R},\  0 \lt a \lt 1. $$  I've done the substitution $e^x = y$. What kind of contour can I use in this case ? How to get a list of all the labels in a LaTeX document in WinEdt I am writing a large document using LaTeX and WinEdt.  I have labeled each chapter, section and so on.  I would like to print out a list of just the labels (so that I don't duplicate one later on, and so that I have it handy in order to write \refs).    Is there a way to do this? Name for these kinds of "sayings"? What is the safest, quick way to defrost chicken? Microwave? Running water over it?