I installed SQL Server, I deleted my windows user account, now I'm trying to access SQL Server using administrator account but it could not connect. It throws error like this     The database TEST is not accessible. (ObjectExplorer)
I have this problem.  I need to do some administrative tasks on a MS SQL Database using SA account.   OS authentication is not set. SQL Server Manager Manager Studio is not installed. I have no other admin database account. I do have access to a Windows admin account The only tools installed on the database server are as shown:     How can I activate OS authentication so I can log into the database an reset the SA password ?
Orphaned tag wiki edits have broken activity entries I left my cast iron pot on the gas stove, on high flame, and then forgot about it for 3 hours. It was empty and I was drying it before I oiled it to store it. After I discovered it and let it cool, I oiled it with a paper towel and all this rusty stuff came off and continues to come off. Is my pan ruined? What should I do? Binary search (bisection) in Python Is there a library function that performs binary search on a list/tuple and return the position of the item if found and 'False' (-1, None, etc.) if not?  I found the functions bisect_left/right in the , but they still return a position even if the item is not in the list. That's perfectly fine for their intended usage, but I just want to know if an item is in the list or not (don't want to insert anything).  I thought of using bisect_left and then checking if the item at that position is equal to what I'm searching, but that seems cumbersome (and I also need to do bounds checking if the number can be larger than the largest number in my list). If there is a nicer method I'd like to know about it.  Edit To clarify what I need this for: I'm aware that a dictionary would be very well suited for this, but I'm trying to keep the memory consumption as low as possible. My intended usage would be a sort of double-way look-up table. I have in the table a list of values and I need to be able to access the values based on their index. And also I want to be able to find the index of a particular value or None if the value is not in the list.  Using a dictionary for this would be the fastest way, but would (approximately) double the memory requirements.  I was asking this question thinking that I may have overlooked something in the Python libraries. It seems I'll have to write my own code, as Moe suggested. Starting with the episode "Crossroads Part II" the      final five Cylons begin to hear Bob Dylan's "All Along the Watchtower" in their heads.   Have the creators/writers ever stated why they picked that song in particular and what it might mean to the story? I have two LED lamps in my corridor, and when I switch them off, they keep emitting light (not very strong, but it's annoying at night).  What can it be? How can I fix it? Jointly Complete Sufficient Statistics: Uniform(a, b) Let $\mathbf{X}= (x_1, x_2, \dots x_n)$ be a random sample from the uniform distribution on $(a,b)$, where $a &lt; b$.   Let $Y_1$ and $Y_n$ be the largest and smallest order statistics.  Show that the statistic $(Y_1, Y_n)$ is a jointly complete sufficient statistic for the parameter $\theta  = (a, b)$.     It is no problem for me to show sufficiency using factorization.   Question: How do I show completeness? Preferably I would like a hint.    Attempt: I can show $\mathbb E[g(T(x))] = 0$ implies $g(T(x)) = 0$ for the one parameter uniform distribution, but I am getting stuck on the two parameter uniform distribution.   I tried playing around with $\mathbb E[g(Y_1, Y_n)]$ and using the joint distribution of $Y_1$ and $Y_n$, but I am not sure if I am going in the correct direction, as the calculus is tripping me up. Question about a bijection between $\mathbb R$ and $\mathbb R \cup \{\infty\}$ About a bijection between $\mathbb R$ and $\mathbb R \cup \{\infty\}$  If we'll take a line $f(x)=\begin{cases} ax &amp;, x\in\mathbb R\\ 0 &amp;, x=\infty  \end{cases}$ then we'll have a bijection.   But about this function: $g(x)=\begin{cases} x &amp;, x\in\mathbb R\setminus \{0\}\\ 0 &amp;, x=\infty  \end{cases}$ ? it appears to be a bijection and it's even simpler. Say I want to book a flight from Fort Lauderdale to Chicago.  Say the airline also flies to St. Louis from Fort Launderdale but has a connecting flight through Chicago.  If I book that flights from FLL->ORD->STL and just get off in Chicago, what possible problems can I run into, assuming I didn't check any bags and only have carry on?  This scenario exist for Southwest, but I wanted this be more of a general question that would apply to all airlines. Today I came across an OBVIOUSLY good answer in /review. It had 7 upvotes, contained lists, paragraphs of explanation, and well-applied sample code. It was also moderately long. How does a question like this get flagged for review? I don't really know how the algorithm works.   If this is low-quality then I feel bad about all of my answers.  Here's a  if you care to see it in context. It's not really a huge problem (as Bart's comment emphasizes), but this seems like an extreme outlier in every measurable aspect. Where do I use delegates? What are some real world places that call for delegates?  I'm curious what situations or patterns are present where this method is the best solution.  No code required. How do I let the world know about my role-playing system? I have been working on a short narrativist system for quite some time now. I intend to offer it freely to anyone interested but I'm not sure about a couple of things:  First, how do I package it? One option is to make a website with the rules. In that case, is making lots of small interconnected pages a good idea? Or is it better to keep it linear and on as few pages as possible? Another option is to make a book-like pdf, possibly using LaTeX. Assuming people go as far as the download page, will they be willing to get the pdf? Is it easier to read?   Second, how do I let other people know? I can't just barge into forums spamming about how great my system is. Should I look for contests or challenges, like the 24Hour RPG? Is there any point to posting on social news/bookmarking sites? Is it good form to contact game review sites and ask them to consider my game?  Feel free to ignore the secondary questions if you want to; they're there only to expose my reasoning thus far and to inspire answers. A question I'm struggling with is to prove or disprove that the automorphism group of a finite cyclic group must be cyclic. I think the statement is false but have not been able to come up with a counterexample.  Thank you for any assistance you can provide. Why does triply periodic univariate function not exist? A univariate function $f$ is periodic with period $p_1,\ldots,p_k$ if   $$f(z) = f(z + \sum_{i=1}^k n_i \cdot p_i)$$   for all complex $z$ and integers $n_i$. Elliptic function is an example of doubly periodic function.  that a triply periodic univariate function cannot exist, but why? Can't we follow the construction of elliptic functions that uses Schwarz-Christoffel formula to map upper-plane onto a triangle, and use the reflection principle to create a lattice which corresponds to three periods?     Which step fails to hold when we mimic the construction of an elliptic function to create a triply period meromorphic univariate function?   Sorry if the question is stupid. I do not have an access to the original proof that a triply periodic function cannot exist, either. So references are welcome! Error handling in C code What is a good method for short text clustering? I am working on a text clustering problem. The data contains several sentences. Is there a good algorithm which reaches high accuracy on short text?  Can you provide good references?   Algorithms such as KMeans, spectral clustering does not work well for this problem. List of all active modules used in a site Quotient ring of Gaussian integers A very basic ring theory question, which I am not able to solve. How does one show that    $\mathbb{Z}[i]/(3-i) \cong \mathbb{Z}/10\mathbb{Z}$. Extending the result: $\mathbb{Z}[i]/(a-ib) \cong \mathbb{Z}/(a^{2}+b^{2})\mathbb{Z}$, if $a,b$ are relatively prime.   My attempt was to define a map, $\varphi:\mathbb{Z}[i] \to \mathbb{Z}/10\mathbb{Z}$ and show that the kernel is the ideal generated by $\langle{3-i\rangle}$. But I couldn't think of such a map. Anyhow, any ideas would be helpful. For all square matrices $A$ and $B$ of the same size, it is true that $(A+B)^2 = A^2 + 2AB + B^2$? The below statement is a true/false exercise.  Statement: For all square matrices A and B of the same size, it is true that $(A + B)2 = A^2 + 2AB + B^2$.  My thought process: Since it is not a proof, I figure I can show by example and come to a valid conclusion based on such example.  My work:  Come up with a square matrix A and B let both be a 2 by 2 matrix(rows and cols must be same).  Matrix $A$:  $A = \begin{array}{ccc} 3 &amp; 5 \\ 4 &amp; 6 \\ \end{array} $  Matrix $B$:  $B =  \begin{array}{ccc} 5 &amp; 8 \\ 9 &amp; 4 \\ \end{array} $  $A + B =  \begin{array}{ccc} 8 &amp; 13 \\ 13 &amp; 10 \\ \end{array}$  $(A + B)^2 =  \begin{array}{ccc} 233 &amp; 234 \\ 234 &amp; 264 \\ \end{array}$  $A^2 =  \begin{array}{ccc} 29 &amp; 45 \\ 36 &amp; 56 \\ \end{array}$  $(AB) =  \begin{array}{ccc} 60 &amp; 44 \\ 74 &amp; 56 \\ \end{array}$  $2(AB) =  \begin{array}{ccc} 120 &amp; 88 \\ 234 &amp; 112 \\ \end{array}$  $B^2 =  \begin{array}{ccc} 97 &amp; 72 \\ 81 &amp; 88 \\ \end{array}$  $A^2 + 2AB + B^2 =  \begin{array}{ccc} 246 &amp; 205 \\ 265 &amp; 256 \\ \end{array}$  Based my above work, the answer is false.   Is there another way to approach the problem? It seems like a lot of work needed to be done for a true/false question which raised my suspicion about whether there is a better way to look at the problem. I'm fairly excited for Unity, as it looks like a promising new direction for Ubuntu.  However, I do have a concern - will it be possible to use Unity without the global menu?  I have my window manager set to focus-follows-mouse/sloppy focus, and find the productivity gains to be immense. Sloppy focus is incompatible, however, with global menus, as it is possible for the focus to change while you move from window to menu.  Will Unity support an option to use window menus while still using Unity? Dragging files into blender