Hotel doesn't say "No Visitors," but reviews do. What should I do?
Can a hotel kick you out if you let an unregistered guest share a room with you?
How can I encrypt and decrypt a string in C#? Why is the gravitational force always attractive? Why is the gravitational force always attractive? Is there another way to explain this without the curvature of space time?   PS: If the simple answer to this question is that mass makes space-time curve in a concave fashion, I can rephrase the question as why does mass make space-time always curve concavely? Which Wifi Channel should I use? Very confused.  I'm using inSSiDer, WiFi Overview 360 and Wifi Analyzer apps to try to determine the best wifi channel to use. Assuming all channels are in use and there are about 20 different users in close proximity...  Q1: Signal Strength    If all channels are in equal use, do you select a channel where others that use it have the lowest signal strength?  I'm guessing that a higher signal strength means that it's from a router from your closest neighbour and you want to avoid that.  Is that the case?  Does lower signal strength mean the person using it is further away and therefore less likely to interfere with your signal? If 2 people are on channel 1 and have high signal strength and 2 people are on channel 11 and have low signal strength, do you choose channel 11?  Assume 6 cannot be used.    Q2: Signal Strength Weighted Against Number of People    What is the impact of signal strength compared to number of people using channel?  If 1 person is on channel 1 with very high signal strength and 2 people are on channel 11 with low signal strength, do you choose channel 11 over 1?  Assume 6 cannot be used?    Q3: Channel Overlap    If, for example, I had 11 routers sitting on top of each other, each set to a different channel, I'm guessing channel 1 and 11 would be the least interferred.  Is that right?  People go on about the fact that only channel 1, 6 or 11 should be used (in US) as they don't overlap but surely that statement is wrong.  Yes, if only 3 people were using Wifi, the best channels to use would be 1, 6 and 11 as they don't overlap but in practice, there are about 20 people using the channels in the same area.  What do you do in that scenerio.  Do you go for the shoulder channels if all channels are being used equally with equal strength?    Q4: Auto Channel Select    Do routers set to auto channel select only choose between 1, 6 and 11?  How do they make the choice?  Do they select by choosing channel with lowest other routers and do they factor in signal strengths.  My router auto chooses channel 1 but my closest neighbour is on that channel.  Is that correct.      Q5: Baby Monitors and Wireless Phones    What channels do 2.4 GHz baby monitors and wireless phones use?  No useful info on the internet for them.  Do inSSiDer, etc. pick them up?    Q6: I have access to channel 13.  All other things being equal, am I better to use this over channel 11 as it is further away from the other channels?    Those questions have puzzled me for a number of years and Google is not helping!!  Would really be grateful if someone could give sensible answers to one or all of them.  Thanks, Mike. Appending the same string to a list of strings in Python IP address of host of Wi-Fi ad-hoc network? I often create a wireless ad-hoc network on my laptop running Windows 7. Now I'd like to connect to it using standard HTTP from my . I've tried 192.168.1.1 and that doesn't work. What should the address be so I can connect? How do I check if someone accessed my computer? I need to check the list of files accessed in my computer (ex: yesterday on particular time). Is it possible?   Or   I need to check whether anybody accessed my computer (when I left it unlocked) or not for a particular time. How to partition my hard drive for Ubuntu use? Till now I was windows user. From now on I want to use only Linux.   I have 500Gb HDD. How do I partition it properly? I read that there is no right or wrong way, but still, I am confused. I did something and I have primary partition mounted on / (160Gb) which I believe is a OS and 350Gb extended partition of which I have 4Gb of swap and 346Gb mounted on /home.  I got used to C:\ and D:\ partitioning, but I don't see file system in that way. I am lost. Where is what? How can I make C:\ partition for OS and D:\ for apps, movies, music, photos. Or what I want is Windows way and I have to get used to Linux way? I know this issue has been addressed before with different software, but how do I do it with Shapely?  I have a polygon with a very small gap on the interior of the shape:    Here is a close up:    The polygon is valid so I can't use the buffer trick, and simplifying the polygon also doesn't work. $ f:\mathbb C\rightarrow \mathbb C$ defined by $f(z)=0$, if $Re(z)=0$ or $Im(z)=0$ and $f(z)=z$, otherwise. What is the difference between == and === in php. I am unsure when to use both.  Updated note: So that it shows up in StackOverflow search, the difference between == and === is the same as the difference between != and !==. Convert bytes to a string I'm using this code to get standard output from an external program:  &gt;&gt;&gt; from subprocess import * &gt;&gt;&gt; command_stdout = Popen(['ls', '-l'], stdout=PIPE).communicate()[0]   The communicate() method returns an array of bytes:  &gt;&gt;&gt; command_stdout b'total 0\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2\n'   However, I'd like to work with the output as a normal Python string. So that I could print it like this:  &gt;&gt;&gt; print(command_stdout) -rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1 -rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2   I thought that's what the  method is for, but when I tried it, I got the same byte array again:  &gt;&gt;&gt; binascii.b2a_qp(command_stdout) b'total 0\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file1\n-rw-rw-r-- 1 thomas thomas 0 Mar  3 07:03 file2\n'   How do I convert the bytes value back to string? I mean, using the "batteries" instead of doing it manually. And I'd like it to be OK with Python&nbsp;3. RegEx for matching UK Postcodes Punctuation of a Direct Quote Is any particular punctuation necessary when a quotation is the subject of a sentence? For example, in the sentence below, should there be a comma after export? Or anything else?     "Laughter is America's most important export" is a well-known quote of Walt Disney's. Why does sizeof(x++) not increment x? As part of an early quest, my PCs are likely to face off against a wizard.  The problem here is that the stat block for Mage NPCs listed in the Basic Rules has a Challenge Rating of 6, while the PCs are going to be five Level 1s. So, instead of messing with the stat block and risk weakening it too much/too little, I'm choosing to create a Level 1 Wizard PC and use it as an NPC for this quest.  The problem with that is that, as far as I can tell, there aren't any designated rules for assigning either Challenge Ratings or XP values to a PC. So, should I just give the wizard a Challenge Rating equal to his level (and thus have him give 200 xp when killed), or is there a better way to do this?  (This is different from , because he's asking for a way to assign a level to an NPC, while I'm asking for a way to assign an XP value/Challenge Rating to a PC (for use as an NPC). Similar questions, but different.) In the calculus of variations, particularly Lagrangian mechanics, people often say we vary the position and the velocity independently. But velocity is the derivative of position, so how can you treat them as independent variables? Suppose the default shell for my account is zsh but I opened the terminal and fired up bash and executed a script named prac002.sh, which shell interpreter would be used to execute the script, zsh or bash? Consider the following example:  papagolf@Sierra ~/My Files/My Programs/Learning/Shell % sudo cat /etc/passwd | grep papagolf [sudo] password for papagolf:  papagolf:x:1000:1001:Rex,,,:/home/papagolf:/usr/bin/zsh # papagolf's default shell is zsh  papagolf@Sierra ~/My Files/My Programs/Learning/Shell % bash # I fired up bash. (See that '%' prompt in zsh changes to '$' prompt, indicating bash.)  papagolf@Sierra:~/My Files/My Programs/Learning/Shell$ ./prac002.sh  Enter username : Rex Rex # Which interpreter did it just use?   **EDIT : ** Here's the content of the script  papagolf@Sierra ~/My Files/My Programs/Learning/Shell % cat ./prac002.sh  read -p "Enter username : " uname echo $uname I am trying to include a figure into LaTeX from a paper originally created using MS Word. I have already converted all the text/equations into LaTeX but I can't figure out how to get the figures over without re-drawing them using LaTeX code (which I do not want to do). The image is a plain box (like a tabular) one row by 7 columns with numbers inside each cell. Then I inserted arrows of varying length above and below the box (several short ones and one much longer).    I am trying to use the  package with the \includegraphics command.   I copied the figure (box and arrows) from my original article into a blank Word doc. The figure only takes up the first 4 or 5 lines of the blank document. I then selected/highlighted the image and printed the selection using 'PDFCreator'. This allowed me to save the image as a .eps file. I then copied and pasted the eps file into the folder where all my .tex files are saved.  When I compile the document using pdftexify there is a blank space where the image should be. In the console I get the following message when I compile the document:  [27] &lt;Fig3-eps-converted-to.pdf, id =105, 391.4625pt x 74.2774pt&gt; &lt;use Fig3-eps-converted-to.pdf&gt; Overfull \hbox 1.46153pt too wide) in paragraph at lines 511--516 []   My code looks like this:  \documentclass[12pt]{article}  \usepackage{graphicx} \usepackage{epstopdf} \begin{document}  %Text  \includegraphics{fig3.eps}  %text  \end{document}   I have read the sections on graphics in 'LaTeX: A Document Preparation System' and 'The Not So Short Introduction to LaTeX2e' but I still can't figure this out. Should I maybe use a PNG image since it is a pretty basic figure? Any advice on how to properly transfer images from a word doc to .eps format and/or how to get those .eps files into LaTeX properly would be a huge help. Bring Debian to second Position in the GRUB Menu at startup How does RNA transcription determine which half of the DNA to use? I feel that I might have a complete misunderstanding here. If DNA has two strands, how does the machinery of RNA transcription determine which one to transcribe?