How to reference static member variables from a struct within another class
Undefined reference to static class member
Creating square buffer around point feature using ArcGIS for Desktop? I would like to create a square buffer from a point feature but I do not understand the code that goes into it.   Similar questions have been asked on the forums.esri website but that was over 10 years ago, and it did not work when I tried the code.  How do I create a square buffer from a point feature? What counts as a 'large' raid 5 array? How to install Anaconda on Ubuntu? How to install  on Ubuntu?   Is there a way to use apt-get install?   I only have command line access to my server. How do I install Anaconda on Ubuntu 14.04 from the command line? "Unanswered" question sort order on profile pages To help users keep track of (and hopefully get answers to) unanswered questions, it would be useful to have an "unanswered" sort order on a user's profile page.  It would order the list of questions with unanswered questions first.   This would be in addition to the "recent," "views," "newest," and "votes" sort orders. How to find the real user home directory using python? I only read part of the second book in this series years ago, and am unsure of how many books were in it. It was about a teenage or young adult boy, who was part of the ruling class of this fantasy world. He was gay, and his lover was the heir to the throne. The antagonist of the first book - I haven't read it, but I got the gist from comments in the second - was the current queen, who tricked the boy and his lover into leaving the kingdom for remote outer regions, thus enabling her son to take the throne. She then married her own son to keep herself in power.  The second book had the boy and his lover slowly becoming enemies, as the lover began to corrupt the simple tribesmen they were sheltering with in his quest to regain his throne. He wanted to build an empire in the hinterland and use the army to attack his homeland, killing the queen in the process, and didn't care about the long-term effects his actions were having on the culture or environment of his new followers.   The lover defeats a tribesman by breaking his neck in unarmed combat, then later takes a young boy as his "willing catamite." He also leads raids on neighbouring tribes, establishes alliances with other neighbouring tribes and organises daring and successful raids on the eggs of dinosaurs living in the middle of a swamp. He enslaves the first tribe to turn against him, and gives their children to slavers from the empire in place of those of allied tribes, thus weakening his enemies while ensuring the loyalty of his allies.  The series involved dinosaurs living among humans, being both domesticated and wild, used as livestock, for hunting and as transport. The boy and his lover were much taller than the average humans who were forced to pay tribute to this pseudo-magical empire they came from; all the humans from the empire were much larger than their subjects. The tribesmen have a tradition about not touching the ground with bare feet, as it is an insult to nature, or their god. The boy and his lover both ignore this superstition, but the catamite also begins to ignore it, despite looking ashamed as he does so.  I have absolutely no idea when this series was written, what it is called or who wrote it. All I know is that I read it in 2005-06, though it probably wasn't new. I'm hoping the long description I've given will help someone work it out. Is this correct?     That is a real cool answer.   I learned that that was incorrect, since "real" is an adjective which can describe a noun, e.g. "real answer" but it is not an adverb which can describe an adjective, "real cool". Instead you would have to say:     That is a really cool answer.   Since "really" is an adverb. How to model this odd-shaped distribution (almost a reverse-J) My dependent variable shown below doesn't fit any stock distribution that I know of.  Linear regression produces somewhat non-normal, right-skewed residuals that relate to predicted Y in an odd way (2nd plot).  Any suggestions for transformations or other ways to obtain most valid results and best predictive accuracy?  If possible I'd like to avoid clumsy categorizing into, say, 5 values (e.g., 0, lo%, med%, hi%, 1). Mysterious cord running from wall. Safe? My wife and I are preparing to sell our home and are discovering some weird things. Our home was built in 1958, so it is older. We found this in a corner that had some furniture in front of it.   We are wondering    What kind of wiring is this?  Is it safe to handle or remove? Given the following components  DECLARE @D DATE = '2013-10-13' DECLARE @T TIME(7) = '23:59:59.9999999'   What is the best way of combining them to produce a DATETIME2(7) result with value '2013-10-13 23:59:59.9999999'?  Some things which don't work are listed below.    SELECT @D + @T       Operand data type date is invalid for add operator.     SELECT CAST(@D AS DATETIME2(7)) + @T       Operand data type datetime2 is invalid for add operator.     SELECT DATEADD(NANOSECOND,DATEDIFF(NANOSECOND,CAST('00:00:00.0000000' AS TIME),@T),@D)      The datediff function resulted in an overflow. The number of dateparts   separating two date/time instances is too large. Try to use datediff   with a less precise datepart.   * The overflow can be avoided in Azure SQL Database and SQL Server 2016, using .    SELECT CAST(@D AS DATETIME) + @T       The data types datetime and time are incompatible in the add operator.     SELECT CAST(@D AS DATETIME) + CAST(@T AS DATETIME)      Returns a result but loses precision 2013-10-13 23:59:59.997 How did planets have an elliptical orbit in the first place? I know that planets speed up when getting closer to the sun, but they speed up because they have an elliptical orbit, and they have an elliptical orbit because they speed up. Why did they have an elliptical orbit in the first place? Last night I was grilling chicken thighs on a barbecue and I was told that if there was any pink inside them, they are not safe to eat. My question is twofold:  (a) Is this true?  (b) Is there a way to tell that doesn't involve cutting the thighs open to have a look at the colour? Make 15 lines / ticks with Photoshop, each of them rotated of 20° Is there a limit to a total number of months a holder of UK multiple entry visitor visa can spend in UK per calendar year? A relative of mine has received a multiple-entry UK visa for 2 years. Is there a particular limit on how many months in total per year she can stay in UK? The way I understand the current rule is that such visitors can enter UK as many times as they want as long as they do not stay for longer than 6 months per single visit. However, does this mean that if she stayed with us for 5 months and went back home for 1-2 months, she could come and stay for another 5 months? I heard that it is advisable to spend only 180 day per calendar year in UK and not more, but I could not find that rule in any official UK Home Office documents. Thanks in advance for any info about this. By conservation of energy, the solid is left in a lower energy state following emission of a photon.  Clearly absorption and emission balance at thermal equilibrium, however, thermodynamic equilibrium is a statement of the mean behaviour of the system, not a statement that the internal energy is constant on arbitrarily short timescales.  The energy has to come from somewhere during emission, and go somewhere during absorption.  Energy in a solid can be stored as kinetic and potential energy of electrons and nuclei, either individually or in collective modes such as phonons and plasmons.  In thermal equilibrium energy will be stored more or less in various forms depending on the temperature and material.  However, even if most of the thermal energy in a particular solid at temperature $T$ is stored in the form of phonons, it could be that phonons primarily interact with light indirectly via electrons, e.g. a phonon excites an electron in a phonon-electron interaction, which can interact with light via the EM field.  Given that light is an EM field, it makes sense to me that it is emitted and absorbed by charged particles.  The electron-photon interaction is probably dominant for visible and ultraviolet light, given that metals are opaque, while semiconductors and insulators are transparent to (visible and UV) light with energy lower than their bandgap. However, once you get into energies in the IR and below, or X-rays and above, other mechanisms apparently take over.  For example, on the high-energy end of the spectrum I've heard that gamma rays can interact directly with nuclear degrees of freedom, which is reasonable considering that gamma rays are emitted during a lot of nuclear reactions.  A review of  might give clues to important light-matter interactions over a broad range of wavelengths.  Whether all of the these processes are involved in blackbody emission is a somewhat different question.  What physical processes mediate energy transfer during blackbody emission, and in which energy ranges are the various processes dominant? I just found out about the Mesh Display : Length feature in the "N" panel (thanks to ) that allows one to measure the length of a face or vertice.  But my first encounter with this tool gives me complex feelings of love and hate, see how, as I was trying to measure the aspect ratio of this TV screen, I am getting WIDTH = 20.33 and HEIGHT = 37.57.  These values seem awfully wrong, since my betrusted eyes tell me the height should be shorter than the width.    I have tried measuring the single vertices as well, to identical results. Subdivision Surface not making things smooth as they are in the tutorial I am following UK Visa Refused - can I reapply immediately? My Déjà Dup backups have become quiet large and I noticed they contain a huge number of unnecessary files (e.g. *.pyc files, **__pycache__ folders and other build related temporary stuff).   I know that I can ignore specific folders, but is there a way to exclude files and or folders by patterns?  I thought there might be more options usable trough a configuration file, but Déjà Dup doesn't use one. So I looked at duplicity (the CLI it is based on), but the man page doesn't mention a configuration file either. I know that duplicity can ignore files and folders based on patterns (--exclude, --exclude-filelist), but I have no idea how to combine this with Déjà Dup.  Do I have to ditch Déjà Dup and use duplicity manually? Or is there a way to set the needed options, so that they are used automatically, when duplicity is used by Déjà Dup? How does Newtonian mechanics explain why orbiting objects do not fall to the object they are orbiting?