Find path of a package (e.g. pandas) in Python
How to retrieve a module's path?
What are bitwise operators? Traveling to Ireland with German National visa I am a student at the University of Stuttgart, Germany and I have a 1 year national visa for Germany and now as my holidays are ahead I was looking if my German visa is sufficient to travel to Ireland for some 10 days. I am a citizen of Republic of Armenia. How to Hide sections of InfoPath form based on Group membership I need to Hide "Sections" of InfoPath form using SharePoint or AD group membership (either is fine). How can I achieve this?  InfoPath 2010 in SharePoint 2010 double perpendicular symbol (for independence) I found from  that I could use the independence symbol:     \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} \def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}    I was wondering how this works. Can anybody explain? I don't know the commands mathpalette, rlap, and mkern2mu. A non-trivial, non-negative, function bounded below by its derivative with $f(0)=0$? I did not know what to search to see if this existed elsewhere. But, I could not find it. Here's the question:  Does there exist a continuously differentiable function, $f: [0,1] \rightarrow [0, \infty)$, such that the following hold? (i) $f(0) = 0$ (ii) $f'(x) \le c f(x)$ for all $x$ ($c$ is a fixed constant) (iii) $f \not\equiv 0$  This was a fun problem someone asked me a long time ago. I have always been convinced there is no such function, but I cannot prove it. I have mainly tried using the mean value theorem (in multiple forms), and re-wording the problem in terms of the integral of a continuous function to no avail. I spent some time trying to use (ii), the definition of derivative, and squeeze theorem, but no luck. After much time trying to prove non-existence, I spent a little time trying to find such a function... also with no luck. This problems ability to avoid being solved has since taken away the original fun and replaced it with a twinge of annoyance. Remove last character from line I want to remove last character from a line:  [root@ozzesh ~]#df -h | awk  '{ print $5 }' Use% 22% 1% 1% 59% 51% 63% 5%  Expected result:  Use 22 1 1 59 51 63 5 I found  post about how to do Crow's Foot ERM Diagrams with Tikz, but it looks strange because the entity is outside the frame. However, it worked.  Then I found  even nicer version and tried to combine it, but sadly I'm not able to find out why it doesn't work. I'm not able to print two entities side by side and connect them with a crow's foot wire. They always print over each other...  How can I have both the lines and the style?  \documentclass{article}  \usepackage{tikz} \usetikzlibrary{shapes.multipart} \usetikzlibrary{matrix} \usetikzlibrary{positioning} \usetikzlibrary{shadows} \usetikzlibrary{calc}  \tikzset{     entity/.code={         \tikzset{             rounded corners,                          name=#1,             inner sep=2pt,             every entity/.try,         }%         \def\entityname{#1}%     },     entity anchor/.style={matrix anchor=#1},     every entity/.style={             draw,     },     every property/.style={         inner xsep=0.20cm, inner ysep=0.075cm, anchor=west, text width=1.75in     } } \def\property#1{\node[name=\entityname-#1, every property/.try]{\propertysplit#1;};} \def\properties{\begingroup\catcode`\_=11\relax\processproperties} \def\processproperties#1{\endgroup%     \gdef\propertycode{}%     \foreach \p in {#1}{%     \expandafter\expandafter\expandafter\gdef\expandafter\expandafter\expandafter\propertycode%             \expandafter\expandafter\expandafter{\expandafter\propertycode\expandafter\property\expandafter{\p}\\}%     }%     \propertycode% } \def\propertysplit#1:#2;{#1:\hfill#2}  \def\entitynamenode{% \node[every entity name/.try] (\entityname-name) {\entityname}; \draw (\entityname-name.south west) -- (\entityname-name.south east); \\[1ex] } \tikzset{   every entity name/.style={every property/.try, align=center} } \begin{document} \begin{tikzpicture}[every node/.style={font=\ttfamily}, node distance=0.5in] \matrix (m1) [entity=Employee] {     \entitynamenode     \properties{         Username:,         Password :  varchar(255),                 Name :  varchar(255),         LastName :  varchar(255)     } }; \matrix (m2) [entity=Student] {     \entitynamenode     \properties{         Username:,         Password :  varchar(255),                 Name :  varchar(255),         LastName :  varchar(255)     } }; \draw [-&gt;] (m1) -- (m2); % &lt;-- it break's here... %\draw [one to omany] (Employee-Username:) to node[above]{label} (Student-Username:); \end{tikzpicture} \end{document}      Edit: this is a Crow's Foot Notation for visualizing IT Database structures: I intend to use fsck for checking my Linux partition of the main disk, because its file system is suspicious of being not unmounted cleanly by shutting down the system. I have searched in my environment variables: none of them except of PATH should control the fsck program. But the program apparently needs to be used during a boot: :~$ fsck -V fsck from util-linux 2.20.1 Checking all file systems. [/sbin/fsck.ext4 (1) -- /] fsck.ext4 /dev/sda6  e2fsck 1.42 (29-Nov-2011) /dev/sda6 is mounted. WARNING!!!  The filesystem is mounted.   If you continue you WILL cause SEVERE filesystem damage. Do you really want to continue? no check aborted.  (There is no /forcefsck file in my root according to  . My etc/fstab file contains    # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # #                 proc            /proc           proc    nodev,noexec,nosuid 0       0 # / was on /dev/sda6 during installation UUID=1ac55d8d-c112-4bc7-9e79-921d196f9f79 /               ext4    errors=remount-ro 0       1 # swap was on /dev/sda7 during installation UUID=54f7e314-50e2-419b-a45d-47c3058ecc00 none            swap    sw              0       0 /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0   ). According to an answer to  I have tried tune2fs hoping that I'll get the present value of the max_mounts_count parameter to be able to set it to 1 for checking the partition during the next boot. But after sudo rm /var/lib/update-notifier/fsck-at-reboot and a restart I have only got a response  :~$ tune2fs -l /dev/sda6 tune2fs 1.42 (29-Nov-2011) tune2fs: Permission denied while trying to open /dev/sda6 Couldn't find valid filesystem superblock. Can I use sudo tune2fs -l /dev/sda6 safely? Thanks. Does the OS X log notifications from the Notification Center? "Nikki's and Alice's X" vs. "Nikki and Alice's X" Which option is grammatical?        There will be readings from Nikki Giovanni’s and Alice Walker’s writings.   There will be readings from Nikki Giovanni and Alice Walker's writings.      Saying it out loud the latter sounds right, but looking at it the former looks better. New questions, Show Recommended, Sort Newest not working Is there some rule against ending a sentence with the contraction "it's"? I heard this lyric in a song the other day and it just sounded so wrong that I assumed it must be incorrect grammar, but I can't find any specific prohibition that applies.     That's what it's.    That rolls off your tongue with the grace of a moose in a tutu, but I can't figure out why.  There is clearly no problem with ending other sentences with a contraction. These sound fine.     I thought I could, but I can't.   Stop touching that, it will fall off if you don't.   You say that the sky is green, but it isn't.   Also, it sounds just fine if you remove the contraction:     That's what it is.   So what's up with this construction? Should it be avoided? Let $n \geq 1$ be an odd integer. Show that $D_{2n}\cong \mathbb{Z}_2 \times D_n$. I define a map $$\phi:D_{2n} \rightarrow \mathbb{Z}_2 \times D_n$$ by $R \mapsto (0,r^{\frac{n+1}{2}})$ and $M \mapsto(1,m)$. Then I am stuck at showing the map is bijective. By the way, do we need to show that $(0,r^{\frac{n+1}{2}})(1,m)(0,r^{\frac{n+1}{2}})^{-1}=(1,m)$ ? If we can prove this, then what can we conclude? Is it possible for a physical object to have an irrational length? I changed permissions of a file (chmod g+w testfile) and running ls -l testfile gives:  -rwxrwxr-x 1 user1 user1 0 2011-01-24 20:36 testfile   I then added a user to that group ("/etc/group" has user1:x:1000:user2 line), but am failing to edit that file as user2. Why is this so? If derivative of function is less than or equal to 4, prove the existence of point $c$ so $f(c)=c^2$. I am struggling to construct a simple proof of the following.  Suppose $f(x)$ is differentiable for any real value $x$ and that $f'(x) \le 4$ for all real values of x. Prove there is at most one real value $c&gt;2$ such that $f(c) =c^2$.  I am completely lost on where to start on this proof and any help would be greatly appreciated! So when I got Steam working offline I had 26 games listed in my library but only 2 installed. Recently I brought a bunch more so I want to update my library on my Offline PC with the full list that's on my Online Laptop.  I thought that all I would need just copy the data from userdata/[ID]/config/localconfig.vdf however when I do the number goes down to 2 (the number of games I do have installed) and also the OST I got with Monster Monpiece doesn't appear. When I restore just that file the list and the music listing returns.  So what do I need to copy over from my Online Laptop to the Offline PC to update the list of games in the library? Commutator Subgroup and the Largest Abelian Quotient Good day. I'm not too sure how I should go about asking my question, so if it is in anyway confusing, feel free to edit it.   In my Group Theory course we defined and showed a few properties of the commutator subgroup $[G,G]$ of a group $G$. And then we stated and proved a lemma in lecture that I'm having some difficulty wrapping my head around. I'll state it here for clarity.  Lemma a) The commutator subgroup $[G,G]$ of $G$ is a normal subgroup of $G$. b) The quotient group $G / [G,G]$ is the largest abelian quotient of G in the sense that every homomorphism $\varphi : G \to A$ where $A$ is an an abelian group, induces a unique homomorphism $\bar \varphi : G/[G,G] \to A$ so that $\varphi =\bar \varphi \circ \pi$ where $\pi : G \to G/[G,G]$ is the quotient homomorphism.  Now, it's not the proof of this lemma that I'm having trouble with, it's the italicized text that is messing with me. I completely understand what it is that the italicized text is saying, I'm just not too sure why it is that the property gives us the "largeness" that is claimed. I can see that the above forces $G$ to "pass through" $G/[G,G]$ before it "reaches" $A$ (I apologize for the casual terminology), so I can sort of see why $G/[G,G]$ should be the largest quotient, in a non-rigorous sort of way.  Overall I'm very confused. Perhaps I'm missing something very simple. Any help or nudges in the right direction would be much appreciated.   As a side note I did try a search on Google and here on Stack Exchange and couldn't find anything that answered my question. So if I missed something obvious, then my apologies. Thank you in advance. sum of the residue at all poles of the rational function p/q is 0. We are given two polynomials p, q with deg(q)>1+deg(p). Show that the sum of the residue at all poles of the rational function p/q is 0.   How do I go about solving this? Deriving curvature formula How do you derive the formula for unsigned curvature of a curve $\gamma (t) = (x(t), y(t)$ which is not necessarily parameterised by arc-length.   The formula given is $$|\kappa (t)| = \left|\frac{x'' y' - y'' x'}{((x')^2 + (y')^2)^{3/2}}\right|$$  All the definitions of curvature in my notes give it in terms for an arc-length parameterisation $T'(s) = \kappa(s) N(s)$. This is apparently meant to be 'easily derivable', am I missing something?