In a Visual C# project's properties, I can go into Assembly Information and change both the assembly version and the file version. I've found that when I change the assembly version, a new folder is created in C:/Users/[username]/AppData to save any changes to user-scoped settings. This means any changes that were made in a previous version are lost and the settings are restored to their defaults. This can especially be a problem if the settings store important information like file paths and the application is shared by multiple users and the new user doesn't know how to change the settings to make it the way it was before the update.  Is there a standard solution to this problem? How do applications normally save a user's settings when the assembly version changes? Do applications normally just not change the assembly version at all unless they want to reset the settings to their defaults? I could just store data in a different file but I want to know if this can be done while still using user.config.  Also, how do I see what an exe's assembly version is? In its properties, the details tab shows "file version" and "product version" but they both reflect the file version that was set in Visual Studio.
Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a different version number as the name)  How can I keep the same settings when upgrading versions, since using ini files or the registry seem to be discouraged?  When we used Clickonce it seemed to be able to handle this, so it seems like it should be able to be done, but I'm not sure how.
Got a working screen via HDMI, but the DVI won't go past 1360x768 (a PackardBell Maestro monitor). Had no issues in Windows 7.  I've tried all the xrandr tricks, see the output below:   xrandr  Screen 0: minimum 8 x 8, current 3280 x 1080, maximum 16384 x 16384 VGA-0 disconnected (normal left inverted right x axis y axis) DVI-D-0 disconnected (normal left inverted right x axis y axis) HDMI-0 connected primary 1920x1080+1360+0 (normal left inverted right x axis y axis) 510mm x 287mm    1920x1080      60.0*+   59.9     50.0      1680x1050      60.0      1600x900       60.0      1440x900       59.9      1280x1024      75.0     60.0      1280x800       59.8      1280x720       60.0     59.9     50.0      1152x864       75.0      1024x768       75.0     70.1     60.0      800x600        75.0     72.2     60.3     56.2      720x576        50.0      720x480        59.9      640x480        75.0     72.8     59.9   DVI-D-1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm    1024x768       60.0 +    1360x768       60.0*    59.8      1152x864       60.0      800x600        72.2     60.3     56.2      680x384        60.0     59.8      640x480        59.9      512x384        60.0      400x300        72.2      320x240        60.1     cvt 1920 1080 # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync  xrandr --newmode "test" 173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync  xrandr --addmode DVI-D-1 test X Error of failed request:  BadMatch (invalid parameter attributes)   Major opcode of failed request:  140 (RANDR)   Minor opcode of failed request:  18 (RRAddOutputMode)   Serial number of failed request:  37   Current serial number in output stream:  38    I'm using the latest driver from Nvidia (binary, 352.63) because Nouveau would show a black screen on my second monitor.  I got stuck on manually finding/creating a xorg.conf file and adding some monitor hacks, can anyone help me? How to pull email address and password from text file with CMD? I have a text file named file.txt Which contains,  Combo: testing123mail@gmail.com:password As Combo:  abcdefghijklmnopqrstuvwxyz@gmail.com:ajfbdf some text here some more text here As Combo: hadvsfhia@ahfjbadj.com:password@1 some random text here iloveu@gmail.com:passypassyword123 goldenmammy@hotmail.com:youtube123   I am running the below code, to filter only mail:pass from the above text file file.txt  for /f "tokens=3" %%a in ('type file.txt^|find "As Combo:"') do &gt;&gt;mail.txt echo %%a for /f "tokens=2" %%b in ('type file.txt^|find "Combo:"') do &gt;&gt;mail.txt echo %%b for /f "tokens=1" %%c in ('type file.txt^|find ":"') do &gt;&gt;mail.txt echo %%c   Expected Output in mail.txt,  abcdefghijklmnopqrstuvwxyz@gmail.com:ajfbdf hadvsfhia@ahfjbadj.com:password@1 testing123mail@gmail.com:password iloveu@gmail.com:passypassyword123 goldenmammy@hotmail.com:youtube123   But, am getting actual output is,  abcdefghijklmnopqrstuvwxyz@gmail.com:ajfbdf hadvsfhia@ahfjbadj.com:password@1 testing123mail@gmail.com:password Combo: Combo: Combo: As As iloveu@gmail.com:passypassyword123 goldenmammy@hotmail.com:youtube123   Note: The mail id and passwords will be differ in different text file. Above given mail id and passwords are typed by me randomly for example.  Kindly fix my code and help to get expected output. Thanks in advance. extending convergence radius using one boundary point Show that if $f(z)=\sum\limits_{n\geq0}a_nz^n$ is analytic in $\{z\in\mathbb{C}:|z|&lt;1\}\cup\{1\}$ and $\forall n\geq0:a_n\geq0$ then the radius of convergence of the power series is strictly larger than $1$.  My approach:   Let $D=\{z\in\mathbb{C}:|z|\leq1\}$.  We have that $f(1)$ converges, so $\sum\limits_{n\geq 0} a_n&lt;\infty$. Moreover since the $a_n$'s are all positive we have that $|a_n|=a_n$, therefore $\sum\limits_{n\geq 0} |a_n|=\sum\limits_{n\geq 0} a_n&lt;\infty$.  Let $f_n(z)=a_nz^n$, then $\forall z\in D, n\geq 0$ we have:  $$|f_n(z)|=|a_nz^n|=|a_n|\cdot|z^n|=a_n\cdot |z|^n\leq a_n\cdot 1^n\leq a_n$$  Then, applying Weierstrass M-test we get that the power series is convergent in $D$.  Now, I need to "find" an open ball $B$ such that $D\subset B$ and the power series is convergent in it.  Edit  $f$ is analytic in $1$, so there is an open set $U$ that contains $1$ such that   $$f(z)=\sum\limits_{n\geq 0} b_n(z-1)^n$$  Does it mean that the series is convergent in $U$?   I can see that we have that the two series coincide in $D\cap U$. Can I calculate the size of a real object by just looking at the picture taken by a Camera? Planet where humans fight for access to algae Set out on another planet where a human spaceship lands for a research and they observer a huge mass moving below them. On closer look this mass appears to be humans, and the density of the population increases towards the sea. The reason for this is algae,the only nutrition found on the planet. On a beach they discover tall, huge humans (developed due to the natural selection), controlling the best access to the algae. Eventually the researchers die, because humans eat them. I want to create a math problem-solution sheet. The coefficients a, b, c must be assigned on the fly at random so the generated pdf will show a numeric quadratic equation rather than a symbolic quadratic equation. Note a must not be zero.  \documentclass{article} \begin{document} \section{Problem} Let \(x_1\) and \(x_2\) be the roots of \(a x^2 +bx +c=0\). Find  \(x_1x_2\).  \section{Solution} \[ x_1x_2=\frac{c}{a} \] \end{document}   Please kindly make the solution get automatically simplified. For example: \frac{c}{a}=3 when a=2 and c=6.    Actually the real case is more complex than this one. Not only the equations must be generated at random, but also the associated graphic plots that I write in PSTricks.     I chose Paulo's answer because using Maxima as the computation engine is very very great idea. Other answers are also good and creative, especially Altermundus'. Why does everyone's wand still work for them? Is there a way to get the red artifact in Undertale? My brother has been trying different ways of getting the artifact without the Annoying Dog consuming it, but has been unsuccessful. I'm kind of curious as well. The artifact is obviously a throwing ball, but I kind of want to know the description for the artifact itself, and if you need to cheat to get it... If it even is an item in the code, too. How do I change the screen resolution using Ubuntu command line? Cat5e cable has a rated current of 0.577A (). I am wondering if this is voltage dependent? I am almost certain it is not, but if it is, something might blow up. Say I need to get 2A at 5V across the cable. I boost it to 24V / 0.5A, send it across the wire, and step it down to back to 5V and a bit under 2A. Would that work? If the cable is proper Cat5e could I do this trick with up to 100V as long as I don't exceed 0.577A?   I am worried if the cable heats up at near maximum rated current, for instance, the safe voltage could drop as the insulation softens up or something. I will certainly test this, but I wonder if there is some rule that I don't know about. proof that topologist sine curve is not locally connected I know that this question has been asked before, but it is still not clear to me why the topologist sine curve is not locally connected.     The topologist's sine curve: Let $S$ denote the following subset of the plane. $$S = \{ (x, \sin(1/x)) \mid 0 &lt; x \le 1\}.$$ The set $\bar{S}$ is called the topologist's sine curve, which equals the union of $S$ and the vertical interval $0 \times [-1,1]$.   My attempt was:  Fix a point $p = (0, t)$ where $t &gt; 0$, and consider a neighborhood $N = B(p,\delta)\cap\bar S$, where $B(p,\delta)$ denotes a ball centered at $p$ with radius $\delta$.  Then, I want to show that every open subset of $N$ is disconnected, so there can't be connected neighborhood of $p$ contained in $N$.  But, I am having a trouble with establishing that every open subset of $N$ is disconnected.  How can I prove the claim? Boot problem after hanging and manual power off ( Stopping User Manager for UID 121... ) My Ubuntu stalled while running Android's VirtualBox version, so I powered off the system. But after reset it stopped during this line:     Stopping User Manager for UID 121... _ So i googled it and have read  question and tried these steps:  Boot into Recovery Mode, drop to a root shell, and follow the steps below:   Run mount -o rw,remount / to mount the drive in Read-Write mode.Run sudo apt-get purge nvidia-* to purge the NVIDIA driver.You may also need to purge xserver-xorg and reinstall it, which will  require you to enable networking in Recovery.Reboot. You may have to add the nouveau.modeset=0 flag in GRUB to boot properly (Check my Q&amp;A for specifics).   You should be past the screen flicker and be at your desktop.  But in doing this step:  Now reinstall the NVIDIA drivers the proper way:sudo apt-get install  nvidia-367 (or 340, 352, 364, 370, whichever works).Reboot again.  I found i have not internet, and my WiFi is not in ifconfig list!!! By running :     Iw wlp2s0 scan   I get :  N180211 not found I also search for it and not understand why WiFi gone off. Now i thinking to use live USB of ubuntu to download NVIDIA and xserver-xorg and the install the by dpkg command during tty2. Update : in Ubuntu live i have this settings :  ubuntu@ubuntu:~$ sudo lshw -c video   *-display                         description: VGA compatible controller        product: HD Graphics 620        vendor: Intel Corporation        physical id: 2        bus info: pci@0000:00:02.0        version: 02        width: 64 bits        clock: 33MHz        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom        configuration: driver=i915 latency=0        resources: irq:129 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:6000(size=64) memory:c0000-dffff   *-display        description: 3D controller        product: GM108M [GeForce 920MX]        vendor: NVIDIA Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: a2        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: driver=nouveau latency=0        resources: irq:128 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:3000(size=128)  and ubuntu@ubuntu:~$ sudo lshw -c display   *-display                         description: VGA compatible controller        product: HD Graphics 620        vendor: Intel Corporation        physical id: 2        bus info: pci@0000:00:02.0        version: 02        width: 64 bits        clock: 33MHz        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom        configuration: driver=i915 latency=0        resources: irq:129 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:6000(size=64) memory:c0000-dffff   *-display        description: 3D controller        product: GM108M [GeForce 920MX]        vendor: NVIDIA Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: a2        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: driver=nouveau latency=0        resources: irq:128 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:3000(size=128)  and : ubuntu@ubuntu:~$  cat /etc/os-release NAME=&quot;Ubuntu&quot; VERSION=&quot;18.04.3 LTS (Bionic Beaver)&quot; ID=ubuntu ID_LIKE=debian PRETTY_NAME=&quot;Ubuntu 18.04.3 LTS&quot; VERSION_ID=&quot;18.04&quot; HOME_URL=&quot;https://www.ubuntu.com/&quot; SUPPORT_URL=&quot;https://help.ubuntu.com/&quot; BUG_REPORT_URL=&quot;https://bugs.launchpad.net/ubuntu/&quot; PRIVACY_POLICY_URL=&quot;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&quot; VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic  please consider the above three output has token form Ubuntu live flash system. What do you suggest and what do you think about reason of this failure? Also do you think it must be reported by me in ubuntu site, or it will be done automatically? Thanks. How to fix very slow Ubuntu booting? When I boot up my my newly installed copy of Ubuntu on my custom rig w/4GB DDR3 RAM and a 3 Ghz Intel Core i7, it takes about a minute and a half at the purple loading screen, and then after logging in it takes a while for the icons to show up on the screen. This computer could run and boot Windows 7 faster, so  i have a problem here. To show that $\sum a_nb_n$ is absolutely convergent Assume that $\sum a_n$ is convergent and $\sum b_n$ is absolutely convergent.To show that $\sum a_nb_n$ is  absolutely convergent  My try::Consider the sequence of partial sums of $\sum |a_nb_n|$  $S_n=|a_1b_1|+|a_2b_2|+......+|a_nb_n|$  Now $(a_1b_1+a_2b_2+......+a_nb_n)\leq ( (a_1^2+a_2^2+..+a_n^2))^\frac{1}{2}((b_1^2+b_2^2+..+b_n^2)^\frac{1}{2})$  How to proceed from here? How can I SELECT rows with MAX(Column value), PARTITION by another column in MYSQL? Ellipse formula from points Question: Best way to derive an ellipse formula when given bunch of points (say 60 points which when connected draws an ellipse)?  Background: Using R Momocs library function  which returns confidence ellipse coordinates. Would be nice to abstract those points into a formula.  You can see my ellipse points in the image below;    Any suggestions much appreciated, Thanks Integration of $e^{ax}\cos bx$ and $e^{ax}\sin bx$ Explain briefly What is meant by interpolation.How is it related to the concept of regression?  interpolation is art of reading between the lines of a table and in elementary mathematics the term usually denotes the process of computing the intermediate values of a function from a set of given or tabular values of that function.  I can't give the answer of second question. set fontsize for TikZ figure Proving that $n$-cycle has order $n$