Here is the back story. A developer created an EXE program. The exe program has the ability to access a SQL Servre database. In order to do that we create an Active Directory group. Let's call this group AppAdmin. The EXE program use windows integrated security to connect to the SQL Server database.  In order to use this EXE program, the user must belong to the APPAdmin group. The AppAdmin group then now set the membership as DB_Owner for the database. This setup has been like this for a few years. and it is running fine. The user is only limited to what the EXE program can do.   Now here is the complication. One user one day decided to install SQL Server Management Studio Express. Let's call this guy JOE. and JOE is a member of APPAdmin group.  Now I am assigned to find away to protect the database from JOE breaking it using SQL Server Management Studio.    I am wondering if there is a way to restrict JOE when he is connecting using SQL Server Management Studio?   What are you suggestion ??  Changing this EXE program seems to be out of the question because it is big and I might break it if I start changing how the EXE program connect to the SQL Server database  Thank you
I have an app to deploy in production that uses 'honor system' security. That is, all users connect to the DB using a SQL user/passwd credential and the app manages permissions itself. The latter part doesn't bother me as much as the fact that the connection object contains embedded credentials and can be copied around freely. I'm try to find some way to limit connections to a more limited set of clients. I can create firewall rules to limit by IP, of course. Is there any way to 'prequalify' SQL logins either by Machine account or domain membership?
Radius of convergence of entire function Let $f$ be an entire function on the complex plane.      Is the radius of convergence of $f$ around any point $z_0$ infinite? If so, why?   Thank you. Cannot successfully source .bashrc from a shell script Normally we can source ~/.bashrc file using this command  source ~/.bashrc   but if I write this in a shell script and execute it, nothing happens. Why? Is there any way to do this?  My script:  #!/bin/bash chmod a+x ~/.bashrc source ~/.bashrc   Also tried . (dot) instead of source. Same result. 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 Proving any number of the form $2^n$ can't be written as the sum of k consecutive numbers. 18.04 on MSI GE63 - boot hangs at 'Loading initial ramdisk' without `acpi=off` Redirecting stdout to a file you don't have write permission on When you attempt to modify a file without having write permissions on it, you get an error:  &gt; touch /tmp/foo &amp;&amp; sudo chown root /tmp/foo &gt; echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Sudoing doesn't help, because it runs the command as root, but the shell handles redirecting stdout and opens the file as you anyway:  &gt; sudo echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Is there an easy way to redirect stdout to a file you don't have permission to write to, besides opening a shell as root and manipulating the file that way?  &gt; sudo su # echo test &gt; /tmp/foo What kind of noun is 'picture'? I'm not sure of the right place to ask this, but I got confused trying to understand how the computer will interpret the sentence:     This is my picture.   In actual sense, the real owner of the picture should be the photographer not the person who was photographed... or am I getting something wrong? So, it seems the confusing thing about 'picture' is determining who the real owner of the picture is. So is there a special category for these kind of nouns or an official clarification somewhere?  Thanks Is it worth it to buy an FD-EOS adapter, or is it better to exchange a misbought lens? I recently bought a manual-focus (since manual doesn't bother me) . However, I didn't notice at the time of purchase that it was an FD lens. (I'm a hobbyist; I didn't know Canon had actually changed lens mounts at some point.)  On the one hand, I kind of want to experiment with this guy. And quality FD lenses are relatively cheap on the used market, so if the adapters were worth it, I could probably get more (and more varied) glass. On the other hand, everything I read about the FD-EOS adapters is highly contradictory. As in, some people swear by them, and others think they're outright tripe.  I am still within the exchange period, and can easily exchange this lens for this  that I'd been tossing up about buying anyway, as they are the same price.  Which would be the wiser choice? I want to make a schematic of this board. Can anyone tell me how? Range of $(a_{1}-a_{2})^2+(a_{2}-a_{3})^2+(a_{3}-a_{4})^2+(a_{4}-a_{1})^2$ is If $a_{1},a_{2},a_{3},a_{4}\in \mathbb{R}$ and $a_{1}+a_{2}+a_{3}+a_{4}=0$ and $a^2_{1}+a^2_{2}+a^2_{3}+a^2_{4}=1.$ Then Range of $$E =(a_{1}-a_{2})^2+(a_{2}-a_{3})^2+(a_{3}-a_{4})^2+(a_{4}-a_{1})^2$$ is  Try: From $$(a_{1}-a_{2})^2+(a_{2}-a_{3})^2+(a_{3}-a_{4})^2+(a_{4}-a_{1})^2$$ $$=2(a^2_{1}+a^2_{2}+a^2_{3}+a^2_{4})+2(a_{1}a_{2}+a_{2}a_{3}+a_{3}a_{4}+a_{4}a_{1})$$ $$=2-2(a_{1}+a_{3})(a_{2}+a_{4})=2+2(a_{1}+a_{3})^2\geq 2$$ and equality hold when $\displaystyle a_{1}=-a_{3}$ and $a_{2}=-a_{4}$ Could some help me how to find its upper bound, Thanks Should flagging a question for closure prevent close-voting? Is it acceptable to change the vid column of a term programmatically in the database? I need to move some terms from one vocabulary to another by retaining all their data: translations, aliases, and node references.  Is it acceptable to change its vid column value directly in the database? The terms don't have hierarchy relationships which needs to be handled. I am trying to calculate the sum of this infinite series after having read the series chapter of my textbook: $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}$$  my steps:   $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=\sum_{n=1}^{\infty}\frac{2}{4n^2-1}-\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=..help..=sum$$  I am lacking some important properties, I feel I am coming to the right step and cannot spit that out.. Increasing the size of tyres on a hybrid We are planning on doing some mountain biking in a few weeks time and we'd like to get some wider tyres for my wife's hybrid. I know there are similar questions and answers out there on this topic, but I need some specific help to make sure I buy the right tyres.  The bike is a Ladies Scott Sportster 50 2015, the best website I could find with a fairly accurate spec is     It's currently got Kenda K-180 700 x 38c / 30TPI tyres on it, which are fairly good all rounders and capable of running on clean forest paths but I don't think they would handle anything heavier.  It's got disk brakes so there isn't a clearance issue there, but I have noticed the frame is generally narrower than true MTBs, here are some photos i took of it.    Has anyone put larger, knobblier tyres on this kind of hybrid? whats the largest I can get away with? - I'm also slightly confused by all the tyre sizing, I'm sure someone told me this is a 27.5" tyre, but 700 seems to mean 29" on a lot of websites.  Any advice is very much appreciated, Thanks. How To: Execute command line in C#, get STD OUT results Reference for the subgroup structure of $\rm{PSL}_2(q)$ This material is covered in detail in Dickson's "Linear Groups with an exposition of the Galois Field Theory", chapter XXII and Huppert's "Endliche Gruppen", chapter II, paragraph 8. Since I don't speak german and Dickson's treatment often requires deciphering, I was wondering if there is a "modern" account of this somewhere. How should a physics student study mathematics? Note: I will expand this question with more specific points when I have my own internet connection and more time (we're moving in, so I'm at a friend's house).  This question is broad, involved, and to some degree subjective.  (I started out as a physics-only student, but eventually decided to add a mathematics major. I am greatly interested in mathematics; the typical curriculum required for physics students is not deep or thorough enough; mathematics is more general (that means work!); and it only requires a few more classes. Naturally, I enjoy  immensely.)  This question asks mainly of undergraduate-level study, but feel free to discuss graduate-level study if you like.  Please do not rush your answer or try to be comprehensive. I realize the StackOverflow model rewards quick answers, but I would rather wait for a thoughtful, thorough (on a point) answer than get a fast, cluttered one. (As you probably know,  produces clear, useful writing; and a properly-done comprehensive answer would take more than a reasonable amount of time and effort.) If you think an overview is necessary, that is fine.  For a question this large, I think the best thing to do is focus on a specific area in each answer.    Update: To Sklivvz, Cedric, Noldorin and everyone else: I had to run off before I could finish, but I wanted to say I knew I would regret this; I was cranky and not thinking clearly, mainly from not eating enough during the day. I am sorry for my sharp responses and for not waiting for my reaction to pass. I apologize.  Re: Curricula:   Please note that I am not asking about choosing your own curriculum in college or university. I did not explicitly say that, but several people believed that was my meaning. I will ask more specific questions later, but the main idea is how a physics student should study mathematics (on his or her own, but also by choosing courses if available) to be a competent mathematician with a view to studying physics.  I merely mentioned adding a mathematics major to illustrate my conclusion that physics student need a deeper mathematical grounding than they typically receive.   And now I have to run off again. $a_1x_1+a_2x_2+a_3x_3+...+a_nx_n=$ is called a linear equation because it represents the equation of a line in an n dimensional space. So "linear" comes from the word "line".Basically there should not be any higher power of x failing which the graph of the function will not be a straight line.  simillarly  $a(x)y+b(x)y'+c(x)y"+d(x)y'''+...+q(x)=0$ is also called linear differential equation because all the derivatives have power equal to 1 which is similar to the above definition of a linear equation.  A function f is called linear if: $f(x+y)=f(x)+f(y)$ and $f(cx)=cf(x)$. Here c is a constant. In this definition of linearity of function "$f$" what does the word linear means? How does it relate to a straight line?  Finally what does the term linear means in case of linear vector spaces? Where is the reference to a straight line?  So, whether linear is just a word used in different contexts? Does it have different meaning in different situation? Or linearity refers to some relation to a straight line? At Least please explain how the linearity of function f and linear vector space relate to the equation of a line. What is the word for when someone is overly nice and actually isn't nice at all? What is the word for when someone is overly nice and actually isn't nice at all because of the unnecessary added information/comments? For example, they will say things like "Your hair looks so good that wayyyy omg you should do it that way ALL the time! Looks way better than how you usually do it." And the word I'm looking for is not passive aggressive and it is not sarcasm. There is a word for these types of people. What is it? These people think they're being kind but actually blunt and rude. Another example would be for someone to say "hey you're beautiful, but maybe if you didn't wear harsh makeup you would look better" and they intend to sound like they're being nice when you know they don't like you and are saying in out of spite. How can I install Gimp 2.8's help documentation on Ubuntu 12.04?