Unable to add a new user to the sudo group
What is the best way to add a user to the sudoer group?
Finding value of an expression If $x^2-3x-1=0$ then find the value of $(x^6+1)/x^3$ I tried to solve the quadratic but it became too complicated any way of doing this without a calculator How to avoid long nesting of asynchronous functions in Node.js I'm looking for a source/spec that can tell me what CSS properties can applied to which HTML elements.  For instance, the css property; "overflow".  I know I can apply this to div, p, textarea but what other elements can I apply this too?  Is there a spec somewhere I can reference? I will be transferring between two international flights at Tokyo Narita airport. I'm scheduled to depart the same day I arrive. I am planning to stay within the airport during the layover. Does anyone know if I will require a transit visa at Narita? Kubuntu - can not enter wifi credentials after adding external wifi card My ethernet connection is quite unreliable (It uses powerline adapters) so I bought an external wifi adapter. I have plugged it in and run the command sudo ip address add 192.168.0.39/24 brd + dev enp7s0, and KDE has detected it. Unfortunately, it doesn't seem to realise it is a wireless network and therefore needs credentials. Where I could normally find a place to enter credentials (the network widget, system settings) there are none. KDE reports that the device is connected in the UI. How do I make it work out that it is wireless and therefore needs credentials? Edit: With ethernet plugged out, (USB) adapter plugged in: $ ip address show 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc fq_codel state DOWN group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff  With ethernet plugged in, adapter plugged in: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff     inet 192.168.0.51/24 brd 192.168.0.255 scope global dynamic noprefixroute enp7s0        valid_lft 863988sec preferred_lft 863988sec     inet6 fe80::7eb1:eca2:96a0:fe5c/64 scope link noprefixroute         valid_lft forever preferred_lft forever  With just ethernet: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff     inet 192.168.0.51/24 brd 192.168.0.255 scope global dynamic noprefixroute enp7s0        valid_lft 863960sec preferred_lft 863960sec     inet6 fe80::7eb1:eca2:96a0:fe5c/64 scope link noprefixroute         valid_lft forever preferred_lft forever  With nothing: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc fq_codel state DOWN group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff  lsusb, adapter plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1d57:32da Xenta 2.4GHz Receiver (Keyboard and Mouse) Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp. 802.11ac NIC Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  I'm not adding it with it plugged out because it's obviously the Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp. 802.11ac NIC. There were no restarts between any of these changes. How do snaps work exactly and why are they mounted? Recently I started learning more about snap packages and what intrigued me was that snap packages are mounted together with their own file system and dependencies (correct me if I'm wrong). Now, with all the great things that snaps bring to the table, what I'd like to know is:  Are snap packages always going to be mounted? This seems kind of awkward, since they appear in places like lsblk and give the impression of not being well integrated into my system.   Also, could they ever replace .deb and .rpm packages completely, or are they a different type of animal and are only complementary to .deb and.rpm packages?  As a side-note, I noticed that some applications are so self-contained that they don't respect any of my desktop settings like the mouse cursor theme or icon and menu themes. Structure of ideals in the product of two rings I want to implement designed PID controller. But I am facing the problem of how to limit the saturation limit in both positive and negative direction? I tried using zener diode, but I would like to know if are there any design procedures to get anti-wind up scheme in the  implementation of PID controller using zener/diode combination?  EDIT:  this is the designed pid controller and i am using TL084 op-amps which has +15 volts and -15 volts as their supply. when the error is generated, due to integrator the control signal(Vc) output is going to saturation point of nearly 15 volts. I want Vc to be in the range of (0.85-3.8 volts), so that i can give this to SG3524 PWM IC to generate constant duty ratio PWM pulses. I tried by putting zener diode of 3.3 volt rating, but now Vc is coming upto 3.5 volts(basically saturation limit has come down to 3.5 volts) . The problem is how to limt the Vc to the specified range. Can any one please suggest modifications for proper design of anti-windup  working scheme of this.  Here VFb=-3 volts and VRef= 3 volts of Stack Overflow, all content posted on Stack Exchange sites by their users (i.e. you wonderful people) has been provided to the whole universe under . For my fellow non-lawyers, that license basically means:   Anyone can use any Stack Exchange posts at any time without having to ask for permission Making money off of the copied content is permitted You don't even have to copy stuff from here verbatim; you can just use it as a starting point and make whatever edits you want There are just two rules you have to follow:   You have to provide . Simple links to the original post and author info are just fine. You have to  and allow other people to use your content, as long as they follow these very same rules. How meta!    (If you ever forget any of that, and want to refresh your memory, the license info is linked to in the footer of every page.)  There are, in fact, a lot of people who republish varying amounts of our content for assorted reasons. Unfortunately, there are some Stack Content Republishers Attributing Poorly and/or Excelling at Ranking (SCRAPERs, for short).  In this context, "attributing poorly" means any use that doesn't follow our attribution rules or make any other reasonable attempt at give credit. This can get pretty egregious; I've seen SCRAPERs that not only don't link back to SE originals, but also use fake author info and post dates to make it harder to find originals. By "excelling at ranking," I'm referring to copycat sites that end up higher in Google results than the original SE sites do for the same content. That's not necessarily wrong, but in some cases, it indicates inappropriate SEO hackery.  So, the question is: what can you do if you spot a SCRAPER? Using ArcPy to get all database names within server? I am trying to populate a folder with ArcSDE database connection files for all the databases within a server instance.  I need to be able to do this for several of our servers.  Although I know within SQL Server how to get a list of DB names from the sys.databases table, using the arcpy function CreateDatabaseConnection I cannot specify "sys" or "master" to make the connection.  Therefore, I need to know the name of a database currently in the server.  I am not sure how to make the check without hard-coding a name.  import arcpy arcpy.env.overwriteOutput = True  #Input the location where the database connection files will be stored connectionLocation = "F:/FolderName"  #Get the list of servers arcpy.CreateDatabaseConnection_management(out_folder_path= arcpy.env.scratchFolder,out_name= "GIS_USERCONFIG" ,database_platform="SQL_SERVER",\                                           instance = "XXXXXXX" ,account_authentication="DATABASE_AUTH",username="user",password="password",\                                           save_user_pass="SAVE_USERNAME",database= "GIS_USERCONFIG",schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#") sdeConn = arcpy.ArcSDESQLExecute(arcpy.env.scratchFolder + "/GIS_USERCONFIG.sde") serverListSQL = sdeConn.execute("Select name from userservers") serverList = [] for i in range(0,len(serverListSQL)):     serverList.append(serverListSQL[i][0])  #Make a folder for each server instance and build the connection files for all DBs in the server instance for server in serverList:     folder = connectionLocation + "/" + server     if arcpy.Exists(folder):         print server + " folder already created"     else:         try:             arcpy.CreateFolder_management(connectionLocation, server)             print "Created Folder " + server         except:             print "failed to create folder " + server      #     arcpy.CreateDatabaseConnection_management(out_folder_path= arcpy.env.scratchFolder,out_name= server ,database_platform="SQL_SERVER",\                                           instance = server ,account_authentication="OPERATING_SYSTEM_AUTH",\                                           database= "master",schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#")     sdeConn = arcpy.ArcSDESQLExecute(arcpy.env.scratchFolder + "/" + server + ".sde")     dbListSQL = sdeConn.execute("Select name from sys.databases")     dbList = []     for i in range(0,len(serverListSQL)):         dbList.append(dbListSQL[i][0])     for db in dbList:         arcpy.CreateDatabaseConnection_management(out_folder_path= folder ,out_name= db,database_platform="SQL_SERVER",\                                           instance = server ,account_authentication="OPERATING_SYSTEM_AUTH",\                                           database= db,schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#")   Basically my issue is with the 2nd call for the function "CreateDatabaseConnection_management" since it needs a database that exists in the database (and I could not use "master or sys").  If you open this as a tool in arcmap, the input is a drop-down box that populates choices based on the databases in the chosen server instance.  Is there a way to do this in the code? How would I implement a realistic stock market? Why does the CAN bus use a 120 ohm resistor as the terminating resistor and not any other value? How can I create documents in LaTeX using a calligraphic first letter for chapters? Books often have a special letter (often spanning two lines) at the beginning of chapters. How can I create this in LaTeX? How to get vertex normals from a shape-key in Python? I'm trying to create an exporter for a format, which includes shape key support. This format requires both vertex coordinates and normals to be specified. This should be logical, because the vertex selected on the image below won't have the same normals:     Comparing it to this one:    But I actually haven't found any way to export shape key normals. Both Bmesh Vertex and ShapeKey Vertex only store the coordinates.  Is there any way to get them? How to set custom keyboard shortcuts from terminal? I've set up the physics of a swinging wrecking ball and set the animation to run for 240 frames.  This was not long enough for the entire "swing" of the ball-and-chain.   I'm unable to reset the timeline, but I can set the end frame to (say) 1000 frames, but when I try to play the animation, the animation progress halts at frame 240 and I cannot get it to go any further.   There are no markers or keyframes in the timeline.  What should I do to "force reset" the animation-timeline, to allow changes to the length? In general, what is meant by saying that the fraction $x$ of the variance in an analysis like PCA is explained by the first principal component? Can someone explain this intuitively but also give a precise mathematical definition of what "variance explained" means in terms of principal component analysis (PCA)?  For simple linear regression, the r-squared of best fit line is always described as the proportion of the variance explained, but I am not sure what to make of that either. Is proportion of variance here just the extend of deviation of points from the best fit line? Any practical uses of machine learning for cryptography? How can I use multiple accounts with Telegram? Is there a way to have two copies of  app in Ubuntu each with a different account?  It seems copying the app in another folder does not work. How can I apply an effect when a player left-clicks/right-clicks with an item in hand?