I've started testing different DEs for Ubuntu because of the Unity news last week. Some of them use Wayland and I like them, but since sometimes I use xrandr to emulate a higher-than-native resolution with newrez I'm left wondering what the tools would be to achieve this on Wayland.  Any suggestions on how to achieve this?
Old title - "change resolution to 1280x1024 using xrandr gives: X Error of failed request: BadValue (integer parameter out of range for operation)"  I have installed a fresh Ubuntu 17.10 and have a monitor with 5:4 resolution. settings has no resolution higher than 1024x768. But I need the resolution 1280x1024 (5:4).  I use the default motherboard graphics card:  # lspci|grep VGA 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)   Also xrandr gives the following:  $ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 XWAYLAND0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm    1024x768      59.92*+   I tried to add the 1280x1024 resolution using xrandr. so first created the resolution information using gtf:  $ gtf 1280 1024 60    # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz   Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync   Then added to resolutions:  xrandr --newmode "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync   then again did the command: xrandr --addmode XWAYLAND0 1280x1024_60.00  Then nothing changed. When I tried to change it using xrandr --output XWAYLAND0 --mode 1280x1024_60.00 --rate 60 But an error occurred:  $ xrandr --output XWAYLAND0 --mode 1280x1024  --rate 60 X Error of failed request:  BadValue (integer parameter out of range for operation)   Major opcode of failed request:  140 (RANDR)   Minor opcode of failed request:  7 (RRSetScreenSize)   Value in failed request:  0x0   Serial number of failed request:  21   Current serial number in output stream:  22   I don't know what did I do wrong. Or how to change resolution to the correct one: 1280x1024
Number of subrings of a Field How to snap and align 2 objects Hi! I'm a beginner learner and I'd like to know how to snap these three objects. I'd like to snap the two cylinders with the different faces of the cube. The short one on the left and the highest cylinder on the top of the cube. I'd like to have the center of the cylinder aligned with the center of the cube (the base of the cylinder inscribed into the face of the cube)  I'm sorry for bad explanation I hope someone can help me  Thanks!   I add a screenshoot in which you can see what I have to do   Thanks again if someone can help me with this! Energia/MSP-EXP432 Issue: Analog In Pin removing voltage from Voltage Divider In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "Analog In" pin is lowering the output voltage (i.e. the voltage going into the ADC from the voltage divider drops when the "Analog In" pin is connected).  I set the analog pin as an input in the code shown below in Energia.  Is there any way to fix this?    const int bitsOfADC = 14; // 14-bit ADC Launchpad //int maxVal = 2^N -1;  // 2^14-1 int maxVal = 16383; float FSV = 5.0; // Supply to 0804ADC float LaunchPadResolution = FSV/maxVal; int D7 = A13; int D6 = A14; int ADCInput = A6; boolean D7_State = LOW; boolean D6_State = LOW; void setup() {   delay(1000);   Serial.begin(9600);   pinMode(D7, INPUT);   pinMode(D6, INPUT);   analogReadResolution(bitsOfADC);   pinMode(ADCInput, INPUT); } How do I install Wi-Fi drivers for Realtek RTL8723DE device in Ubuntu 16.04?  lspci -v | grep -i network 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723 Expected value of subset of variables in Bayesian setting Assume we have $N$ random variables $X_1, \ldots, X_N$ with known (posterior) distributions that are easy to sample from. For simplicity, assume that I am interested in the expected value of the ten largest of these random variables. There will be some uncertainty surrounding this expected value as there is uncertainty with respect to the rank of a given $X_i$ in case the distributions of $X_1, \ldots, X_N$ overlap. I want to use simulation based methods. My approach is to simulate $M$ samples from the distributions of $X_1, \ldots, X_N$, where in each iteration, I construct a binary indicator of length $N$ indicating whether random variable $i$ is within the set of the ten largest samples or not. Averaging over these $M$ draws gives me the probability that random variable $i$ is member of the top ten group. Denote this probability as $\pi_i$. Define a binary random variable that indicates membership in the top ten group as $S_i$. $S_i$ follows a Bernoulli distribution s.t. $S_i \sim Ber(\pi_i)$. In a second step, I draw $L$ samples from the distribution of $S_i$ and from the distributions of $X_1, \ldots, X_N$. Given a draw of $S_i$, I can select the top ten out of the samples of $X_1, \ldots, X_N$ in each iteration and average the respective samples within the top ten group. I save this average, so the result after $L$ iterations will be the distribution of the average outcome within the top ten group, taking into account all relevant sources of uncertainty. My questions are: Is this simulation approach valid in general? From a Bayesian perspective, is this simulation valid or do I need to treat additional quantities (e.g. $S_i$ or $\pi_i$) as random variables that need a prior? How to catch the "Login Failed" event? I want to show a custom block, only when log in has failed. So from visibility settings I have to put a PHP code that returns TRUE only when the login has failed.  But how could I "catch" that event? Do I have to use variable_get(..)? And if yes, how could I use that?with what attributes?  Thank you. hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent How can I explain to a non-native why the plural of a noun isn't used adjectivally? How can I explain to a non-native speaker that while this is correct:     The felling of trees.    And this is also correct:     tree felling   This is not:     *trees felling   To a non-native it seems very reasonable that since many trees are being felled and given that the felling of trees uses the plural, the inverse form would also use the plural and become trees felling.  To a native speaker such as myself, the latter is very obviously wrong, but I couldn't figure out how to formalize this into a rule that a non-native can understand. How can I refinance or get out of a car loan I am upside down on? I purchased a car a little over 1 year ago a 2012 Dodge Avenger and recently went to get it refinanced and found out that because I'm so upside down that I can't get it refinanced I still owe over 15,000 and the car is only worth about 8000. I'm so bothered by this a few days ago I received a pre-approval letter from capital one bank for 35,000 so how can I go about doing this if I trade the car in I will have to put down a substantial amount of money in order to get out of this car. Can I just get the other car and turn the other one in. What should I do I have a 3TB Seagate Backup Plus Desktop USB 3.0 drive, which works fine when in its enclosure, but when I get it off its enclosure and directly plug it as an internal SATA drive, it's just not properly recognized (it works again when used in the enclosure). My systems’s motherboard is an , which has two SATA 6.0 Gb/s and four SATA 3.0 Gb/s ports.  When used as an internal SATA drive Windows 7 asks if I want to format the drive, as if it didn’t have a proper filesystem, and if I use the DISKMGMT.MSC tool (typing that in the start menu) I get completely wrong information about the drive.  It says the drive has 3 partitions (349,31GB of RAW data and two unassigned partitions of 1698,68GB and 746,52GB). This information is plain wrong, since the drive, when used in the USB enclosure, works as a single NTFS partition (2794,52GB). How come it’s shown as 3 partitions without filesystem when connected through SATA?!  Is Seagate using some proprietary way of storing the data when using the drive in its provided USB 3.0 enclosure? I didn’t use any kind of encryption. I just plugged the drive with USB 3.0 and started using it straight away, since it apparently came pre-formatted with an NTFS filesystem. Proof that a Combination is an integer From its definition a combination $\binom{n}{k}$, is the number of distinct subsets of size $k$ from a set of $n$ elements.  This is clearly an integer, however I was curious as to why the expression  $$\frac{n!}{k!(n-k)!}$$ always evaluates to an integer.  So far I figured:  $n!$, is clearly divisible by $k!$, and $(n-k)!$, individually, but I could not seem to make the jump to proof that that $n!$ is divisible by their product. How to set textbox value in jQuery? Do you need to disavow on [HTTPS SSL] after performing a disavow on [HTTP] I have a client which disavowed a few thousand dirty links from his site profile back in February 2015. Recently the site was switch from HTTP to HTTPS (SSL enforced).   Google recommends that you add all variations to the Google Console (Webmaster Tools).  The site has a total of 4 variations, eg:    http://www.example.com (Previously Preferred) http://example.com https://www.example.com (Now Preferred) https://example.com   Question:  Since technically this is a new property in Google Webmaster Tools, do you need to submit the same disavow file added previously back in 2015? If $f'(c)$ exists then $\lim_{x\to c} f(x)=f(c)$ If $f'(c)$ exists then $\lim_{x\to c} f(x)=f(c)$   My attempt is below. Did I do wrong? Since I don't really understand it. I thought $f'(x) = f'(c)$ so $f'(x)-f'(c)=0$. Am I on the right track? Many thanks!  \begin{align} f(x)-f(c)&amp;=\frac{f(x)-f(c)}{x-c}\cdot(x-c) \\ \lim_{x\to c}[f(x)-f(c)]&amp;=\lim_{x\to c}\left[\frac{f(x)-f(c)}{x-c}\cdot(x-c)\right] \\ \lim_{x\to c}[f(x)-f(c)]&amp;=0 \\ \lim_{x\to c} f(x)&amp;=f(c) \end{align} Is there any way to find out what happened to a post card sent from other country? Preprocess categorical variables with many values What's the difference between X = X++; vs X++;? Have you ever tried this before?  static void Main(string[] args) {     int x = 10;     x = x++;     Console.WriteLine(x); }   Output: 10.  but for   static void Main(string[] args) {     int x = 10;     x++;     Console.WriteLine(x); }   Output: 11.  Could anyone explain why this? What is the C# equivalent of NaN or IsNumeric? Is the Cantor set made of interval endpoints? Why does the following code does'nt work when i am using PDFLaTeX or just LaTeX ? I tried it in different editors as well.  This is the code   $\{f^'_n\}$   Surprisingly it works on Math.SE site