Use of [Authorize] with custom membership provider
Using [Authorize] without SimpleMembershipProvider
dpkg exit with error parsing file `/var/lib/dpkg/status`, what to do? When I try to install any software, I encounter this error, and therefore I cannot update.  Preconfiguring packages ... dpkg: error: parsing file '/var/lib/dpkg/status' near line 51245 package 'oracle-xe':  mixed non-coinstallable and coinstallable package instances present N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension E: Sub-process /usr/bin/dpkg returned an error code (2) Is there any difference between Present Perfect and Present Perfect Continuous? Python, Unicode, and the Windows console 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). Get exit status of process that's piped to another I have two processes foo and bar, connected with a pipe:  $ foo | bar   bar always exits 0; I'm interested in the exit code of foo. Is there any way to get at it? Usually I use beamer  with the Warsaw theme which puts theorems (and other things) in boxes. Now I switched my theme to Marburg but i still want to keep the boxes. How can one do that? How to create text file and insert data to that file on Android I marinated chicken five days ago in lemon juice, seasoned salt, and garlic powder, is it still safe to cook in the oven? I've read that it is possible to add a method to an existing object (i.e., not in the class definition) in Python.   I understand that it's not always good to do so. But how might one do this? I stupidly ran sudo chown -R carlos:carlos / and carlos is my user. This changed all files to be Carlos and I could not boot up again (because the root files were now owned by #1000) and I cant get sudo acess in live cd (because the owner of /usr was changed to my user). Can anyone help me? FYI I have mounted my hard drive. whether it be vs whether it is I brought the sentences from the speech about conversation tips.     They don’t just want to know about news and the weather.   They want to know about you.   So what are three things that you have going on right now, that you can talk about.   Whether it be school, whether it be a personal relationship, whether it be a hobby that you’re involved with.   My questions:     What is the difference in nuance between 'whether it is' and 'whether it be'?   Before posting this question, I googled, and some websites say 'whether it be' is subjunctive. I don't get why it is called 'subjunctive'. Because from what I know about subjunctive, it's supposed to be past of be verb.    If I say 'whether it should be' or whether it would be', is the meaning same? How does \fontsize{}{} work? GCSE: Find the number of person that will go to a party Random images appearing in my home directory... Where are they coming from? Here's an odd problem I've had for a while. Every so often, I find that I have several jpeg images sitting in my home directory that I didn't put there. I'm fairly sure this isn't a security breach but rather, there's something writing these files in there that I've forgotten about.  Here's what I'm looking at today:  oli@bert:~$ ls -l *.jpg -rw------- 1 oli oli  8061 2010-11-19 18:30 An-alien-from-Mars-Attack-002.jpg -rw------- 1 oli oli 24362 2010-11-19 18:30 An-alien-from-Mars-Attack-006.jpg -rw------- 1 oli oli  8147 2010-11-05 18:08 Avatar-Film---2009-002.jpg -rw------- 1 oli oli 35602 2010-11-05 18:08 Avatar-Film---2009-006.jpg -rw------- 1 oli oli  6058 2010-12-03 18:42 Britney-Spears-victim-of--002.jpg -rw------- 1 oli oli 28330 2010-12-03 18:42 Britney-Spears-victim-of--006.jpg -rw------- 1 oli oli  8135 2010-11-12 19:19 charlie-brooker-twitter-p-002.jpg -rw------- 1 oli oli 22115 2010-11-12 19:19 charlie-brooker-twitter-p-006.jpg -rw------- 1 oli oli  8059 2010-10-29 18:47 Leonardo-DiCaprio-002.jpg -rw------- 1 oli oli 29988 2010-10-29 18:47 Leonardo-DiCaprio-006.jpg -rw------- 1 oli oli  8064 2010-10-22 16:41 Spot-the-difference-.-.-.-002.jpg -rw------- 1 oli oli 29188 2010-10-22 16:41 Spot-the-difference-.-.-.-006.jpg   They all seem like they're TV or film related... But I honestly don't have a clue what could be writing them. They don't bother me enough to go on a full-scale witch hunt but if anybody knows of something that writes images in the home directory like this, please let me know. So what I'm looking for here is something like PHP's  function.  This is so I can debug my scripts by seeing what's the state of the object in question. When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around it?  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} [sibling distance=100]    \node[rectangle, draw, rounded corners = 3]{ }   child { node { } }   child { node { } }   ; \end{tikzpicture} \end{document} Is there a way to determine what version (distribution &amp; kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system? I'm talking about this nonsense:   Now, I'm aware that there are problems with the practicalities (or possibilities) of methods involving exotic matter with negative mass, and that kind of thing has been addressed here:   But in this case my question is different and more specific. Sweeping all the other problems of constructing such a beast under the rug, wouldn't this violate causality?  SR says that the simultaneity and relative ordering of events is dependent on the relative motion of the observer, but that no matter how it works out, if event A causes event B, no observer will see B first. One of the many problems with FTL travel (or signals) is that if any information is sent faster than light, there will exist an inertial frame in which the signal arrives before it is sent, a blatant violation of causality. (I think we can all agree, can we not, that the threshold should be extremely high before breaking assumptions that we're in a causal universe?)  So how is any scheme to travel faster than light, even if it may locally satisfy the equations of GR, not a blatant violation causality according to SR?  Is my understanding of GR incomplete and there's something in it that obviates the causality implications of SR? Or am I correct that FTL claims should be dismissed with extreme prejudice on this basis alone? (Pending a serious replicable experiment showing causality to be breakable.) How to understand intuitively the Stolz-Cesaro Theorem for sequences? I have to give a presentation on the theorem in Real Analysis with a fellow student. While I've looked over the  and verified that, yes, step B does indeed follow logically from step A, etc. and have internalized the proof to the extent that I can replicate it myself on paper, I still feel that I have made little progress as to why this theorem works the way it does, i.e. what is the intuition behind the theorem, such that it should make sense that it follows the way it does. Therefore I ask: what kind of intuition is there about this theorem? It would also be helpful to understand how the theorem can be used effectively in analysis.  I have seen it referred to as a sort of L'Hopital's rule for sequences, which certainly seems to make sense, but I similarly have little intuitive understanding of how that rule works, either.  I am asking this question not only for my personal understanding, but also for the sake of being able to present it in an illuminating manner, such that the rest of the class can also come away with the same sort of intuition of how the theorem works and how it is useful. Any help would be greatly appreciated.  EDIT: I should point out that the formulation of the theorem we are being tasked to prove is the following:  Let $\lbrace a_n \rbrace$, $\lbrace b_n \rbrace$ be sequences, ${b_n}$ strictly increasing and unbounded. Then if $\lim\limits_{n \to \infty} \frac {a_{n+1} - a_n}{b_{n+1} - b_n} = l$ for some $l \in \mathbb R$, then $\lim\limits_{n \to \infty} \frac{a_n}{b_n} = l$ also. Can I install Microsoft Office? If so, how? I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu?   I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu. How can I find out what is using the hard disk? Possible Duplicates:             Once or twice a day my computer starts writing significantly hard to the hard drive, the HD led is ON and the performance hit is noticeable. A strange observation is that the Task Viewer does not show I/O activity - even Process Explorer shows no CPU activity and no I/O bytes read or written.  Is there a way to know which application is using the hard drive and how much data is it reading or writing?