In CMD language you can define all at once like:del C:\randomfiles\* That Means you select ALL files at once. I have the Code var names = new List&lt;System.Drawing.Color&gt; { Red, DarkRed, 1000 colors later... }; but I dont want to tipe in all colors because that may take years... How can I define all at once like in CMD language?  EDIT: This is not the same as:  because I want al ist of all colors WITHOUT spending years writing all colors....
How can you enumerate an enum in C#?  E.g. the following code does not compile:  public enum Suit {     Spades,     Hearts,     Clubs,     Diamonds }  public void EnumerateAllSuitsDemoMethod() {     foreach (Suit suit in Suit)     {         DoSomething(suit);     } }   And it gives the following compile-time error:     'Suit' is a 'type' but is used like a 'variable'   It fails on the Suit keyword, the second one.
Error: Account is Not Allowed To Suggest Edits I get this message while trying to edit a post on SuperUser while using the iOS mobile app. I have at least 101 reputation on SU, more than enough to be able to edit posts. This appears to be a bug. Ethernet: how important is the magnetics topology? I have some Ethernet issues with a set of boards (6/10 are bad). They're possibly just assembly house mistakes... but I'm very concerned about my magnetics jack.  I could have sworn I saw a example schematic with my jack's topology used with my PHY before, but I can't find it. The PHY's datasheet and suggested magnetics jacks are all identical in topology, and very different than what I have.  I'm using a SMSC  PHY, with a Bel  magnetics jack.  The transformer ratios on my jack vs. a suggested jack for this PHY like the  are the same (1:1).  The inductance is the same, 350uH. However, the choke on mine is on the circuit side, not network side. Also, while the TLA has four 75 ohm resistors from taps tied to a single 1nF/2kV cap, mine has an extra set of 1nF caps between the taps and the 75 ohm resistors.  The main difference is that my jack is a POE jack, and I thought I found an example that used one exactly like it. So, the topology is obviously different just because of that feature.  At the moment, I have 4 good boards, 1 'sometimes' board, and 5 boards that just blink a LED at 11.68Hz representing some error that no datasheet explains.  How important is this? Of course there's no other jack with that footprint.  EDIT  I added some detail on the magnetics jacks above. I was just recommended the SI-60152-F, so I'll compare to that one. Of course like all the other recommendations... it also has no stock at anyone on FindChips.  LATE EDIT  It turns out my problem was the crystal layout that fed the Ethernet PLL.  On the respin, I went with a more standard non-POE jack. Apply for Schengen visa in a third country Can a Kenyan citizen studying in Russia and temporarily visiting family in Kenya apply for a Schengen visa in Nairobi and not in Russia, where he has his residence? Max Planck, arguably the leading theoretical Physicist of his day, apparently used of experimental data to formulate his equation for , which was a major step in the birth of quantum mechanics. For this seminal event of the 20th century, I would expect a detailed explanation of how Planck arrived at his conclusion that energy MUST be quantized. I've even read his Nobel lecture but was non the wiser.  Can some kind person please explain it, or give me even just a hint? Ever since adding an iTunes gift card to my account, I'm getting verification requests like crazy. I can't even download free apps. It takes me to my payment info and when I try to select none, I continually get a message under the payment info that says "you must verify your payment info to continue"  I don't want a credit card on file and would really like the none option to work. My ID shows I still have iTunes credit. Can we have an option to disable notifications on community wiki posts? Why is "can I get" replacing "could I have"? I noticed the other day when serving the public that when asking for something, people were saying "Can I get an xyz, please". The previous time I had such a job it was "Could I have an xyz", or "May I have..." if they were being very polite.  Does anyone know when this trend started and what caused it? On what criteria should I evaluate domain registrars? Though I've been a web developer for a fair amount of time, I am going for the first time to buy a few domain names.  I have looked into the domains I'm going to buy and know that they're available, and I've been looking into which sellers to use.  After doing a lot of research, the main ones I'm considering are 1&amp;1, Namecheap, and Gandi.  The problem is, when continuing to research, I'm not really sure what makes one domain seller distinct from another.  I don't need much in the way of services--definitely not hosting, since I plan to use Heroku for that.  I mainly only need the domain itself and DNS management, as well as possibly SSL certificates and WHOIS protection.  Question:  What makes one domain seller different from another?  How can I go about evaluating which one is the best for me?  Note:  This question is not which domain seller is the best, but rather, what criteria can I use to evaluate them and rank one over another.  I'm trying to find out what makes one domain seller different from another, since they all seem to be pretty similar to me right now. Prove by induction that for all $n \ge 0$:  $${n \choose 0} + {n \choose 1} + ... + {n \choose n} = 2^n.$$  In the inductive step, use Pascal’s identity, which is:  $${n+1 \choose k} = {n \choose k-1} + {n \choose k}.$$  I can only prove it using the binomial theorem, not induction. How to pick and differentiate a flat color? When I am using Color Picker in Photoshop or Illustrator I am unable to get a Flat color. What are the things or basic points that I should keep in mind so that I am able to judge a color whether it is flat or not. Although flat color can be picked form websites such as       e.t.c.    Picking a flat color is not my problem. I want to learn the skill needed to judge and differentiate a flat color from other. Do all flat  colors values follow a pattern ?(like specific hue and saturation). Does decrease in temperature affect mass $E=mc^2$? My understanding of Quantum physics and String Theory is very basic and I don't yet have a grasp on the maths, but in my research I have come up with a question.  Does a decrease in temperature also signify/create a decrease in mass?  I am quite willing to believe the concepts I think I am beginning to understand are totally misconceptions on my part.  But, as I see it mass is a product/mark of disruption to the Higgs field as a particle moves.  If these particles are ultimately composed of vibrating Strings, their mass is given by the rate at which they vibrate and how it interacts with the Higgs field.  I don't have any idea if, as the temperature (as we know it) approaches 0k, the string/quark/sparticle would change its state in any way or if the changing of the state of the String would change what type of particle it represents.  It seems I'm more full of questions than answers, but that's why I love these topics!  I know what I'm learning is new if the best and brightest are still working on the 'basics' to just make their systems work :). HTML form readonly SELECT tag/input According to HTML specs, the select tag in HTML doesn't have a readonly attribute, only a disabled attribute. So if you want to keep the user from changing the dropdown, you have to use disabled.  The only problem is that disabled HTML form inputs don't get included in the POST / GET data.  What's the best way to emulate the readonly attribute for a select tag, and still get the POST data? How to make hair material different from the plane itself? In Cycles Render, I added hair to a plane (as I was making a grass field) and I don't seem to know how to make the actual flat plane's material different from the hairs themselves, because I'd like to make the plane have an image texture and the hairs have a yellow-like color to them, but of course, if I attempt to make the material yellow-ish, the plane AND the hairs will become yellow. I'm done with the plane, I just want to control the hairs' materials. Is it mandatory to have a link to the theme designer? I just wanted to know if it's ok to modify/remove links pointing to the designer of the theme.  In my case I have "theme by" and the site's logotype, would it be ok to remove the logotype and write the site's name? Or remove it altoghether?  Does it have to do with the particular designer of the theme?  Thanks What is the simplest and most robust way to get the user's current location on Android? TV series from 70s or 80s - 1 female pilot was cloned from the other pilot's fingernail This was a tv show that aired in the US in the '70s or early '80s, possibly on Saturday mornings. Since I was a child, I'm assuming it was a kids program? It was comic science fiction and set on a spaceship. The only 3 specific details I remember are:   The crew traveled between ship levels by using open "jump tubes" that were similar to a giant vacuum tube message system, only without any "container" for the passenger. They just stepped into an alcove with a big hole in the floor and ceiling, then shot up or down. Frequently the show would use this as a source of slap-stick comedy.  The captain was male. The 2 pilots were female, and 1 had been cloned from the other's fingernail cell. They often disagreed about which one was the clone. Age and Graduate school I am 33. I live in the US. I am a neither a US citizen, nor a green card holder. I have worked in various jobs as a research assistant (physics, biology, economics) usually involving programming, mathematics or statistics.  As a newly minted undergraduate, I didn't really have much confidence in myself and I completely ruled out graduate school as pointless.  I didn't think of myself as smart enough.  I drifted into working in labs, because those are some of the easiest ones for which one can get a work permit in the US as a non-American.  Having worked in academia for a while now, I've had a chance to leap into various fields and help build solutions to complex problems.  I think I have literally gone as far as I can go researching in academia with no higher degree.  I work at one of the top universities in the world.  (If you looked at US News rankings or the Academic Ranking of World Universities, it's in the top 5.)  Lately, I've been thinking about applying for graduate school.  I do have a few papers in various fields.  I'm thinking of a PhD in either pure mathematics, applied mathematics, statistics or computer science.   I see two big minuses to applying to graduate school:   Most people applying are more than a decade younger than I am.  (Alas, more than a few gray hairs have made an appearance in recent years.) Perhaps my achievements would look good for someone younger, but partially my achievements are the result of a long career rather than any special brilliance. So, I wonder how my record will be perceived.  I did take GRE and I scored 800 quantitative, 800 verbal and a 5 on the essay.  (I would most likely have to do a GRE subject test depending on what field I ultimately decided.)   Please advise on how accomplished, but older candidates, are viewed in the graduate school application process. How do I change / spoof my MAC address and easily switch between multiple ones? My router can do port-forwarding based on MAC addresses. That is, a specific MAC will get a specific IP, for which I can configure a set of ports to be forwarded. In order to easily change that set of ports, I'd like to have different connections in the Network manager.  How do I change the MAC address for a network connection? Proving that $e^{\pi}-{\pi}^e\lt 1$ without using a calculator Prove that $e^{\pi}-{\pi}^e\lt 1$ without using a calculator.    I did in the following way. Are there other ways?  Proof : Let $f(x)=e\pi\frac{\ln x}{x}$. Then,  $$e^{\pi}-{\pi}^e=e^{f(e)}-{e}^{f(\pi)}\tag1$$ Now, $$f'(x)=\frac{e\pi(1-\ln x)}{x^2},\quad f''(x)=\frac{e\pi (2\ln x-3)}{x^3},\quad f'''(x)=\frac{e\pi (11-6\ln x)}{x^4}.$$ Since $f'(x)\lt 0$ for $e\lt x\lt\pi$, one has $f(e)\gt f(\pi)$. By , there exists a point $c$ in $(e,\pi)$ such that  $$\begin{align}f(\pi)&amp;=f(e)+(\pi-e)f'(e)+\frac{(\pi-e)^2}{2}f''(c)\\&amp;\gt f(e)+(\pi-e)\cdot 0+\frac{(\pi-e)^2}{2}\cdot \frac{e\pi(2\ln e-3)}{e^3}\\&amp;=f(e)-\frac{\pi(\pi-e)^2}{2e^2}\tag2\end{align}$$ because $f'''(x)\gt 0\ (e\lt x\lt \pi)$ implies $f''(c)\gt f''(e)$.  By the  and $(2)$,  $$e^{f(e)}-e^{f(\pi)}\lt (f(e)-f(\pi))e^{f(e)}\lt \frac{\pi (\pi-e)^2}{2e^2}\cdot e^{\pi}=\frac{e\pi(\pi-e)^2}{2}\cdot e^{\pi-3}\tag3$$  Since $e^x\lt \frac{1}{1-x}\ (0\lt x\lt 1)$ and $0\lt \pi-3\lt 1$,  $$e^{\pi-3}\lt\frac{1}{4-\pi}\tag4$$  From $(1)(3)(4)$,  $$e^{\pi}-{\pi}^e\lt \frac{e\pi(\pi-e)^2}{2}\cdot\frac{1}{4-\pi}\lt\frac{3\times\frac{22}{7}\left(\frac{22}{7}-2.718\right)^2}{2}\cdot\frac{1}{4-\frac{22}{7}}\lt 0.993\lt 1$$ What does kill 0 do actually? In the man page, it says:  kill [ -s signal | -p ] [ -a ] [ -- ] pid ...  pid... Specify the list of processes that kill should signal.  Each pid can be one of five things:           0      All processes in the current process group are signaled   And I tried like this in bash:  $ man kill &amp; [1] 15247 $ [1]+  Stopped                 man kill $ kill 0 $ ps 15247 pts/41   00:00:00 man   Here 0 is used as pid. As I understood, kill 0 will kill all processes in the current process, which includes pid15247. However, it didn't do anything in this example. Does anyone have ideas about how to use it?