Please help how do I convert int to string. For example  int num = 9; Console.WriteLine(num.ToString("X"));   Will display     9   Expected Output:     9 = nine
Is there an efficient method of converting an integer into the written numbers, for example:  string Written = IntegerToWritten(21);   would return "Twenty One".  Is there any way of doing this that doesn't involve a massive look-up table?
Please help me to answer the following problem:  Let $f(x)=x^3-3x-5\in\mathbb{Q}[x]$  Thanks The error: "mount: only root can do that" while mounting a partition I've installed Ubuntu 12.04 along with Windows 8.1. When I tried to open the C: drive in Ubuntu a window is popping out saying to run this command:  mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/2A36EE3236EDFEA7   After running the command I'm getting the error mount: only root can do that.   What should I do? In my game, XP needed to reach the next level is Current Level × Level Threshold.  Given that, how can I get my current level from the total XP ever earned?    For example:  Level Threshold = 50 Current Level = 1   Starting at level 1, I would need (1 × 50) = 50 XP to get to level 2, and so on.  Level 1: 50 XP needed to reach level 2 Level 2: 100 more XP needed to reach level 3 Level 3: 150 more XP needed to reach level 4   In other words, the progression table is as follows:  Level 1: 0 XP to 49 XP Level 2: 50 XP to 149 XP  Level 3: 150 XP to 299 XP Level 4: 300 XP to 499 XP   If I have 300 XP, I'll just reached level 4. How can I calculate that generally? I'm stuck on a question which asks to prove that any continuous integer-valued function of a real variable is constant. In my lecture notes we are told that a map is continuous if the preimage of any open set is open.  How do I use this to answer the question? A full answer would be greatly appreciated as I can't seem to figure out how to solve it in my  notes, in analysis books or anywhere online. Delay in approval leads to missing out on being awarded an "Explainer" badge I am not sure if this is a bug or a design error, but I came across this issue on Robotics. I assume that the same code is employed across the various SE sites, so I am posting my question here. I submitted an answer to  at 16:26.    I then suggested an edit to the question at 17:03. However, it was not until 20 hours later, at 13:03, that the edit was approved, so I appear to have missed out on the &quot;Explainer&quot; badge, as the edit should be done within 12 hours.    I don't know the reason for the delay, as I do not have a low approval rating:    I'm not bothered about missing out on the badge, nor am I criticising the reviewers - after all, we all do this in our free time. However, it does seem that the algorithm for the badge relies on the approval time, in lieu of the submit time, which does not seem to be correct, as the badge then becomes dependant upon the reviewer's availability/responsiveness, rather than upon the actions of the answerer/editor.  TL;DR Should the badge also check if the edit was caused by a suggested edit and, in those cases, look at the time it was suggested rather than the time it was eventually approved? I have basic programming skills (I program simple vba python and lisp scripts and had gone through a java course a long time ago), but it seems to me (judging by ESRI publications) that there is no escaping the need to learn .NET for future relevance in the GIS job market (even as an analyst). I've gone through a basic c# course and can program (regrettably) quite poor programs, but I have no idea how to link the c# knowledge to actually programming for ArcGIS in order to progress.  I know the differences aren't big, but does ArcGIS use .NET or C#?  I know the best way to further my experience in .NET is to program more and more but are there any good .NET programming books or courses I can learn techniques from?  In your opinion, what is the best way to learn to program in .NET for ArcGIS? Are there any useful books or websites?   I seek your comments regarding ArcGIS 10 (and will be saving them for later) but also for ArcGIS 9.3.1. Fitting linear model / ANOVA by group I have a background in QFT, GR and differential geometry at the level of a master student in theoretical physics. I would like to touch the area of CFT. I know the textbook of Philippe Di Francesco. It may be too big for the beginner like me. Are there some good introductory lectures or textbooks adapted to the needs of beginners? Underscores in custom fields While trying to perform a WP_Query using meta_query(), I had some trouble because the custom fields created by a plugin had _ in the beginning of its name.   Although I noticed it was stored this way in the database, I had no idea why it was there and thought I had to reference it without the underscore (for the record, that is wrong).  Why do some custom fields start with underscores and others don't? What are the underscores used for? Are they mandatory in some circumstances? Give an example of a relation R on $A^2$ which is reflexive, symmetric, and not transitive Working with objects created with Activator.CreateInstance Invalid characters for XML parsing in posthistory.xml from Stack Overflow We got the April 2011 data dump from Stack Overflow and, while trying to put everything into a database, we got      SyntaxError: reference to invalid character number: line 1105549, column 5445   in the middle of the posthistory.xml file. It seems that there are sets of characters (&amp;#xC I believe) within a few posthistory entries which break our XML parser.  Is there a solution besides manually changing all the C's? CLI path to ftp network connection I've setup a connectio to an FTP server in Nautilus / Nemo / Caja, the file manager. Now I can browse the contents via this file manager.  How can I browse these files via the command line? What is the path to this network connection? Is this possible, is this a system connection, or specific to the file manager, and do I have to setup a separate FTP connection to do that? If I open this connection in Caja, I see it in Nemo as well, so it seems like a system connection. I attempted a proof of mathematical induction using an arbitrary base case, but was unsuccessful (and hence this question). Below is what I was trying to do and along with my thinking; if anyone can point me in the right direction I'd appreciate it.  The induction I am using: Let $P$ be a property about the natural numbers $\mathbb{N}$ with $0\in\mathbb{N}$, and let $P(n)$ denote the statement that the property $P$ holds for $n\in\mathbb{N}$. Suppose $P(0)$. Furthermore suppose that for each natural number $k$, $P(k)$ implies $P(k+1)$. Then $\forall nP(n)$.  What I am trying to prove: Let $P$ be a property about the natural numbers $\mathbb{N}$ with $0\in\mathbb{N}$, and let $P(n)$ denote the statement that the property $P$ holds for $n\in\mathbb{N}$. Suppose for $n_0\in\mathbb{N}$, $P(n_0)$. Furthermore suppose that for each natural number $k\geq n_0$, $P(k)$ implies $P(k+1)$. Then $\forall n\geq n_0 P(n)$.  My attempted proof: define $Q(n)$ to be $n\geq n_0 \to P(n)$. Then we wish to prove $\forall nQ(n)$. We induct on $n$.  Base case (for ordinary induction): $Q(0)$ is $0\geq n_0\to P(0)$. Since $n_0\in\mathbb{N}$, $0\geq n_0$ implies that $n_0=0$. Since $P(n_0)$, $P(0)$, which proves the base case.  Inductive step: we want to show $\forall n(Q(n)\to Q(n+1))$. To do this, we assume $k\geq n_0 \to P(k)$ and try to show $k+1\geq n_0 \to P(k+1)$.  Since $k\geq n_0 \to P(k)$, we first prove the case where $k\geq n_0$ and $P(k)$. By the hypothesis of the proof, we see that $P(k+1)$, which proves the case for $k+1$.  This is where I am having trouble: For $k&lt;n_0$, I am unable to show the implication for $k+1$.  So my questions would be: (1) is the overall approach for the proof correct? (2) If so, how might I go on to prove the case when $k&lt;n_0$?  Thanks in advance. (This is not homework, by the way.) Is every compact subset of $\Bbb{R}$ the support of some Borel measure? I have tried to prove the exercise 2.12 in Rudin's RCA:     12 Show that every compact subset of $\Bbb{R}$ is the support of a Borel measure.   For perfect (i.e. no isolated point) compact $K$ with non-zero Lebesgue measure, we just take the Lebesgue measure. However I struck on the general case.  My attempt is as follows: For every compact $K$, we can find a decreasing sequence of open set $\langle W_n\rangle_n$ s.t. $\bigcap_n W_n =K$ and $m(W_n-K)&lt;1/n$. Find a continuous function $h_n$ s.t.   $h_n(x) = 1$ for $x\in K$ and $h_n(x) = 0$ outside of $V_n$.   (such function exists by Urysohn's lemma.) For continuous function $f$ with compact support define $$\Lambda f = \lim_{n\to\infty}\frac{\int_\Bbb{R} fh_ndm}{\int_\Bbb{R} h_ndm}.$$  I can not certain that the $\Lambda$ is well-defined. But if it is well-defined, then it gives an regular Borel measure (by Riesz representation theorem) $\mu$ s.t. $\mu(K)=1$. I guess that the $\mu$ has a support $K$ but I don't know how to get it. Thanks for any help! The feeling of always wanting newer possessions? I am looking for a word that describes the emotion or feeling of an intrinsic want of a new and better possession. Covetous or envious seem a bit too focused on the other other person's possession of the desired object whereas I am looking for something that is defined by the internal thoughts we have when seeing an advertisement for the latest iPhone or life-changing new service.    but I am wondering if there is a word with less emphasis on the second entity? Otherwise, would I covet new things from Amazon or Apple? Can I be envious of corporations?  For example, I just bought a new car and now, looking at my slightly out of date television, I feel the need to upgrade my T.V. with a newer, shiny one from Amazon. Would I be coveting that T.V. which Amazon sells?     I saw the ad for the latest iPhone, the iPhone 3000, and feel that my current phone is inadequate. I am a(n) ______ person, since I always desire something better than what I currently possess. If I was a caveman with a sharpened stick, I'd want your sharper, pointier stick.   I feel like there is probably some niche German word for exactly this, but I'm unsure it exists in English. Thanks! My very simple Greasemonkey script is not running? How does the versioning work here? How does SO's (or other SE sites) versioning work of questions and answers? Do they use some standard piece of code or is it something homebrew?  With versioning I meant if for example a question is edited you'll see all the changes (a diff). Raspberry Pi Jessie Wi-Fi doesn't work with multiple IPs on same network I would like to use two different static IP addresses for the same network with the same Wi-Fi dongle. I read in different forums that it's better to use /etc/network/interfaces instead of dhcpcd.conf for that purpose. So I changed the /etc/network/interfaces that way:  auto lo iface lo inet loopback  iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet static     address 192.168.0.60     netmask 255.255.255.0     gateway 192.168.0.10     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf auto wlan0:0 allow-hotplug wlan0:0 iface wlan0:0 inet static     address 192.168.0.61     netmask 255.255.255.0     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf   The issue now is that for the most of the time I can't ping any member of the network. During the first 10 seconds, everything works fine and then I mostly don't get any connection.  ifconfig shows the following:  lo        Link encap:Lokale Schleife             inet Adresse:127.0.0.1  Maske:255.0.0.0           inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine           UP LOOPBACK RUNNING  MTU:65536  Metrik:1           RX packets:1237 errors:0 dropped:0 overruns:0 frame:0           TX packets:1237 errors:0 dropped:0 overruns:0 carrier:0           Kollisionen:0 Sendewarteschlangenlänge:1            RX bytes:100748 (98.3 KiB)  TX bytes:100748 (98.3 KiB)  wlan0     Link encap:Ethernet  Hardware Adresse b8:27:eb:a2:4b:72             inet Adresse:192.168.0.60  Bcast:192.168.0.255  Maske:255.255.255.0           inet6-Adresse: fe80::ba27:ebff:fea2:4b72/64 Gültigkeitsbereich:Verbindung           UP BROADCAST MULTICAST  MTU:1500  Metrik:1           RX packets:15498 errors:0 dropped:10634 overruns:0 frame:0           TX packets:5446 errors:0 dropped:0 overruns:0 carrier:0           Kollisionen:0 Sendewarteschlangenlänge:1000            RX bytes:5910381 (5.6 MiB)  TX bytes:722284 (705.3 KiB)  wlan0:0   Link encap:Ethernet  Hardware Adresse b8:27:eb:a2:4b:72             inet Adresse:192.168.0.61  Bcast:192.168.0.255  Maske:255.255.255.0           UP BROADCAST MULTICAST  MTU:1500  Metrik:1   and route -ne has the following output:    Ziel            Router          Genmask         Flags   MSS Fenster irtt Iface 0.0.0.0         192.168.0.10    0.0.0.0         UG        0 0          0 wlan0 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan0   I also stoped dhcpcd, the IPs aren't in the dhcp IP pool of the router and with one static IP everything works fine  Does anyone have any clue what I did wrong? Where did the world go? I was playing on my main world when my laptop ran out of power.  I found a charger and woke it up, but Minecraft had crashed.  Now, it doesn't appear in the world selection screen!  I have verified that it still exists in the Minecraft folder, and the directory contents look to be in order.  Does Minecraft save an internal flag somewhere when it crashes hard?  If so, how do I reset it?