RandomReal behavior in Block environment
What are the use cases for different scoping constructs?
Setting up PyCharm to reference ArcPy? How would I setup  to recognize import arcpy?   I'd like to use PyCharm to develop and debug geoprocessing tool. 3rd iterate of a continuous function equals identity function Connecting to sql server database mdf file without installing sql server on client machine? JUnit @Test expected annotation not working Can you please guide me best way to retrieve all active picklist values of all recordtypes of object. Can it be possible through API or any Apex Script.  I want something like below and i will write them in my file:  Obect Name, RecordTypeName, PicklistValues   Thanks Is there any simple method to calculate $\sqrt x$ without using logarithm Suppose that we don't know logarithm, then how we would able to calculate $\sqrt x$, where $x$ is a real number? More generally, is there any algorithm to calculate $\sqrt [ n ]{ x } $ without using logarithm? More simple techniques would be nice.  Here is a simple technique used to approximate square roots by :  For example: $\sqrt {78}\approx 8\frac { 14 }{ 17 } $ , where $8$ is the nearest integer root of $78$, $14 = 78 - 8^2$, $17 = 2 \times 8 + 1$.  if $n=2^k$ we can use the method above.   For example, for $k=2$ Lets calculate $\sqrt [ 4 ]{ 136 } $: $$\sqrt [ 4 ]{ 136 } =\sqrt { \sqrt { 136 }  } \approx \sqrt { 11\frac { 136-{ 11 }^{ 2 } }{ 11\times 2+1 }  } =\sqrt { 11\frac { 15 }{ 23 }  } \\ \sqrt { 11\frac { 15 }{ 23 }  } \approx 3\frac { 11\frac { 15 }{ 23 } -{ 3 }^{ 2 } }{ 3\times 2+1 } =\frac { 544 }{ 161 } =3.38\\$$ The exact result is$$ \sqrt [ 4 ]{ 136 } =3.4149\cdots$$ The method approximates well, but it is working for only $n=2^k$ as I know. How to read the content of a file to a string in C? What techniques, tricks or otherwise have you used to get upgrades on flights? I've travelled a lot.  Living in New Zealand or the UK means anywhere is likely a flight, but I've always flown economy.  Twice between LA and Auckland I managed to get the exit row after talking nicely to the check-in girl, but apart from that, nothing.  I've spoken to ticket agents, tried 'check in chicken' (where you wait until the last minute before checking in, hoping there's an overbooking of economy) but have never managed to get an upgrade, while others I know seemingly get them quite often.  What strategy have you used or do you suggest to achieve this?  My next flight is from Melbourne to Tokyo, and I plan on trying all of these ;)  (Related questions on  and  upgrades) 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. When should I create a new tag? How do I request a new tag if I don't have enough rep? Can someone please create the tag  on our site? We need to have it because        Foo is a recent/upcoming release / edition / model / episode of a popular, established OS / board game / bike brand / TV show   Foo is a hot new language / ingredient / game   we're currently using some other tag for questions about Foo, but it's causing ambiguity with a separate thing that's also named Foo      This is not a joke post. We get a lot of feature requests that ask for this or that tag to be created, and every time, a discussion ensues wherein people explain that there is no "tag creation department" and that community members create tags just by using them. I'm posting this "question" so that future requests of that type can be closed as a duplicate of this, saving time and eliminating redundant conversations for everyone involved.     See also: Changing projection of shapefile in QGIS Is it possible to run my scripts located in ~/scripts from anywhere?  Say i want to run ./scriptname regardless of my current working directory. What is the Linux equivalent to Windows' Program Files? Is (rest) mass quantized? I learned today in class that photons and light are quantized.  I also remember that electric charge is quantized as well.  I was thinking about these implications, and I was wondering if (rest) mass was similarly quantized.  That is, if we describe certain finite irreducible masses $x$, $y$, $z$, etc., then all masses are integer multiples of these irreducible masses.  Or do masses exist along a continuum, as charge and light were thought to exist on before the discovery of photons and electrons?  (I'm only referring to invariant/rest mass.) g++ undefined reference to typeinfo Server 2012 Core (no GUI): Remote Server manager not working I am trying cmd --> MMC --> Server Manager and then connecting to my Server 2012 no GUI  but i keep getting the following error The WinRM client cannot process the request  I am unable to upload images right now  This is not related to other post "How to Remote Manage Windows Server 2012 in Server Manager?" because title and description of that post is quite different from what i am asking What to write in visa application form and what documents to submit as an unregistered freelancer? There are many visa applicants who are working as an unregistered freelancer (photographer, construction contractor, fashion designer, journalist etc ). Some of these freelancers make really handsome monthly income and don't really need to work as a full time employee. Most of them receive variable amount of payments (cash, cheques, demand drafts etc) When it comes to filling a visa application form (USA, UK, Schengen etc), there is always an employment section in all visa form, eg for Schengen visa employment form :    This is a very important factor to make an application really strong.  Questions:   1 Unregistered freelancers can just simply write their profession? what documents to produce along with the application?  2 Bank statements with variable methods of payments could convince the visa officer that these are all legitimate payments? Handle application exit If Neo defies his fate and refuses to be removed from the Matrix (by taking the blue pill) what happens next?   Would another "The One" get selected by The Architect or The Oracle and is there anything to suggest that the current instance of The Matrix actually could have multiple "The One"'s (perhaps one of the 'potentials') in the event that the Chosen One manages to get himself killed or simply refuses to play ball? In  it says that flagged comments can be handled automatically if flagged repeatedly (3 + (score / 3) flags = deletion). Which is great; mods are busy people.  In , the venerable Bill the Lizard says that if all comments on a post are obsolete, you can flag the post (or one of the comments) with a custom flag saying that they're all obsolete, and the mod can remove them with one fell swoop. Problem is, that requires a mod.  What should I do when some of the obsolete comments are mine? I can't flag my own comments, and I don't like raising custom flags if I can avoid it.  You're wondering why I don't just delete them. There are two scenarios where I don't, at least not immediately:   Someone has commented with incorrect information. In that situation, I reply to the comment telling them how they've got it wrong. (Sometimes, of course, they quite correctly reply telling me how I got it wrong, which is neither here nor there&nbsp;&mdash; we still end up with obsolete comments. :-) ) Frequently, they reply saying "you're right" but (near universally) leave the comment lying around. I can (and do) then comment again saying "Let's clean these up" and flag their comments as obsolete. But I can't flag mine. Nor do I want to remove mine while the incorrect comment is still there; it leaves a confusing situation for anyone coming to the post later. Someone has commented with correct information. In that situation, if appropriate (e.g., the post author isn't busily editing at the same time and I know enough to do it properly), I'll edit the comment into the post and reply with "You're right, edited that in." and flag their comment as obsolete. These are rarely removed by the commenter. And again I can't flag mine.   The first scenario is the more problematic, since I can go back 10-20 minutes later and remove my "edited that in" comment and there's no harm if their comment is still there.  I currently bookmark and check back periodically, but that's labor-intensive and I'd like a better way.  Ideally, I'd want to tie my comment to one I've flagged so that it's deleted automatically if the other one is (by flagging, or by the commenter). That's a fair bit of development, though, I'm guessing.  What should I do? Go with a custom flag saying "The conversation between X and me is now obsolete," even though that means dumping it on a mod?