Can user credentials from HTTP session be seen through Wireshark? Can we get that info the same way we do for FTP since HTTP is a plain text protocol?
Logins with only HTTP - are they as insecure as I'm thinking? Recently I was thinking about how websites like gmail and amazon use HTTPS during the login process when accessing your account. This makes sense, obviously, since you're typing in your account username and password and you would want that to be secure. However, on Facebook, among countless other websites, their logins are done with simple HTTP. Doesn't that mean that my login name and password are completely unencrypted? Which, even worse, means that all those people who login to their facebooks (or similar sites) at a wifi hotspot in public are susceptible to anyone getting their credentials using a simple packet sniffer (or something similar)? Is it really that easy? Or am I misunderstanding internet security?  I'm a software engineer working on some web related stuff, and although at the current time I'm not too involved with the security aspect of our software, I knew I should probably know the answer to this question, since it's extremely fundamental to website security.  Thanks!
When I try to print a Unicode string in a Windows console, I get an error . UnicodeEncodeError: 'charmap' codec can't encode character .... I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any way I can make Python automatically print a ? instead of failing in this situation? Edit:  I'm using Python 2.5.  Note: @LasseV.Karlsen answer with the checkmark is sort of outdated (from 2008). Please use the solutions/answers/suggestions below with care!!  is more relevant as of today (6 Jan 2016). Move EFI System Partition to another drive I'm reading "BASH pocket guide of Oreilly". It said:      The process ID of the current Bash process.   In some cases, this can differ from $$.   Above explanation , explained $BASHPID variable.  Question: which cases? How to import a module given the full path? Windows 10 - disable reopening programs after restart/startup jQuery If DIV Doesn't Have Class "x" sftp: upload all files, directories and sub-directories contained in a folder On machine A I have the folder /home/a/  On machine B I have the folder /home/b/  I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried the commands: sftp fibon82@machineB.com put /home/a/* /home/b/  but it doesn't work, i get the error message: &quot;skipping non-regular file /home/a/a1&quot;... [a1 is a sub-directory of a] How could I modify the put instruction? Thanks! :) EDIT: I solved using scp: scp -r /home/a/ fibon82@machineB.com:/home/b/ Why is this power adapter transformerless? Which is better: side quests after killing the warrior or Playthrough 2? My question is, once I beat the warrior should I do all the sidequests in Normal before starting TVHM or should I go right to TVHM once it becomes available?    I just bought the game and have been playing with some friends who are higher level than me so that we could enjoy the Tiny Tina DLC together.  As a result, I leveled up pretty fast without doing much of the main story quest or side quests.  Now I'm a level 32 commando and haven't finished the main storyline in normal (Just finished "Where angels fear to treat Pt 2").  I get almost no XP from kills on missions.  I still have tons of sidequests.  I imagine some of them might give good loot, or be fun to play.  It it better to go to Playthrough 2 or should i do the sidequests in Normal first?  EDIT: changed question title and some wording for clarity How to check who owns the Slack's workspace? I'd like to check who owns (or at least some kind of public profile page) some workspace based on its subdomain (e.g. xyz.slack.com).  Is it possible? OS X El Capitan installation error: AMD-Action:authenticate:SP When doing a clean re-installation of El Capitan (highest supported version) from a bootable USB on an older Mac (MBP, 15-inch, Late 2008), I get this error:  An unexpected error occured while signing in. AMD-Action:authenticate:SP  The error shows up, while logging in with the Apple ID into the App Store in the installer.  I tried with different Apple IDs,  Also tried running these commands in the Recovery Terminal and restarting: csrutil clear csrutil enable says:  Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the remote shell daemon, usually rshd, or the secure shell daemon sshd. If Bash determines it is being run in this fashion, it reads and executes commands from ~/.bashrc, if that file exists and is readable.  This Bash sources ~/.bashrc: ssh user@host :  But this Bash sources ~/.bash_profile: ssh user@host  I don't see a difference in these two commands according to the spec. Isn't stdin connected to a network connection in both cases? The mdframed environment fails to break into several pages (slides) when used in a frame environment from the beamer class.  In the other hand, the boitecoloriee environment from the boites package can be broken into several pages.  Here is a document that demonstrates the issue. It should not be compiled directly into pdf because boitecoloriee uses pstricks.  \documentclass{beamer} \usepackage{xcolor,boites,boites_exemples,pstricks} \usepackage{mdframed} \usepackage{lipsum}  \begin{document}  \begin{frame}[allowframebreaks]{Using \texttt{boitecoloriee}}   \begin{boitecoloriee}     \lipsum[1-2]   \end{boitecoloriee} \end{frame}  \begin{frame}[allowframebreaks]{Using \texttt{mdframed}}   \begin{mdframed}     \lipsum[1-2]   \end{mdframed} \end{frame}  \end{document}   Maybe is there a way to fix mdframed to work in slides too. Any clues? Is a capacitor in an open circuit charged? Say I have a circuit consisting of a battery, a wire, an open switch, and a capacitor. The circuit is open since the switch is open.  My book says that the capacitor will only be charged when the switch is closed, but I don't see why this is true. I would expect the capacitor to be charged a little - not as much as if the circuit is closed, but still charged none the less.  To further illustrate my point consider this: If the circuit is open, the current must be zero. Consequently the field must be zero. For the field to be zero, the capacitor's field must cancel out the battery's field. Therefore the capacitor must be charged.  Generalizing this concept, shouldn't capacitors be charged (to a lesser degree) in open circuits?  EDIT: In other words, if the field is zero, the capacitor must be charged to cancel out the field of the battery. Heroes of Might and Magic VI seems to have installed a program called "Uplay", which it uses to launch (in addition to Steam, mind!)  What exactly is Uplay supposed to be? I notice that when I stop playing, it captchalogs the highlights of my past session (achievements earned, etc.) - which is kinda cool, but also kinda creepy and big-brotherish. Given that I value my privacy, is there anyway to play Uplay games without using Uplay?  Is this just Ubisoft's infamous "always-on" DRM? I studied the theoretical part about the Gravitational waves in General Relativity (linearization of gravity and small perturbations of the metric and so on).  But I was wondering about: since electromagnetic radiation is composed/carried by Photons (or better:the EM force), shall gravitational waves be composed/carried by Gravitons?   In the end:do gravitational waves imply the existence of gravitons? Or it's something unrelated and off topic? Seating of $n$ people with tickets into $n+k$ chairs with 1st person taking a random seat "$n$ music lovers have reserved seats in a theater containing a total of $n+k$ seats ($k$ seats are unassigned). The first person who enters the theater, however, lost his seat assignment and chooses a seat at random. Subsequently, people enter the theater one at a time and sit in their assigned seat unless it is already occupied. If it is, they choose a seat at random from the remaining empty seats. What is the probability that person $n$, the last person to enter the theater, finds their seat already occupied?"  I could do this problem for small specific values of $n$ and $k$ but as they grow the expressions seem to get really messy really quick with no discernible pattern. How would one solve this problem? For all types of derivative works, namely:   Movies Novels Comic books Other written works (including RPG materials) Cartoons Video games Derivative movies (such as the infamous Ewok movies and even more infamous )   According to what rules does something become "canon" and who is responsible for the evaluation of a published work? Understanding slice notation I need a good explanation (references are a plus) on Python's slice notation.   To me, this notation needs a bit of picking up.   It looks extremely powerful, but I haven't quite got my head around it. Let $n\geq 2$ and let $k$ be "considerably larger" than $n$ (like some large multiple of $n$). Then for each $i$ such that $0&lt;i&lt;n$ and $\gcd(i,n)=1$ let's define $$c_i=\left|\{p_j\;|\; p_j\equiv i \mod n,\;\mbox{where $p_j$ is the $j$-th prime, $1\leq j\leq k$}\}\right|$$ so $c_i$ represents how many of the first $k$ primes are congruent to $i$ modulo $n$.  What can we say about $c_i$s, that is about the distribution of the first $k$ primes modulo $n$?  I thought the distribution will be seemingly random, and that is mostly true - for example $c_i$s are always very close together. But there are observable non-random patterns. For example for $n=3$, for various $k$s I've tried  (up to $10^6$) I always got $c_2&gt;c_1$. If this were just some kind of random discrepancy due to distribution of small primes, it would eventually vanish for large $k$s, which I don't observe.