Why is there a difference between using c++ string+string temporary object by different compilers?
Why does this work: returning C string literal from std::string function and calling c_str()
Biasing circuit - Voltage follower circuit I am using , which is and Bias controller/sequencer. I am using this for Providing gate voltage and drain voltage to the . In the datasheet, it is mentioned that the module with combination of EVM can be used in two applications. Application Option 1: Fixed negative gate biasing with pulsed drain biasing. Application Option 2: Pulsed negative gate biasing with pulsed drain biasing. I am trying to design both applications on a single board. The second option for future use. For the 1st application option, he has mentioned a few pins as No connection and he has used those NC pins on the 2nd application.  The issue I am facing:- They have used voltage followers for providing a low impedance output path for pin number 3(GCO). I have reverse-engineered the Ckt from the below-attached image, but I am unable to identify the voltage follower they have used. Pin number 2 of the voltage follower has been connected to pin number 2 (NC/GCP) of the Module. There has been no description of this pin number. I am guessing these:-  Pin numbers 1 and 4 are connected together and output is provided through them. Pin number 5 is +Ve supply hence connected to GND(Highest +Ve supply)? Pin number 3 is connected to -8V Pin number 2 is connected to pin number 2 of MABC-001000-DP000L, which I am unable to understand.  I have mailed component manufacturer regarding full schematic, till now I haven't heard from them. Can anybody help me with this? Thanks in Advance. Low-resolution pic of EVM. I don't think it helps in any way.   Layout Image How to find sum of the infinite series $\sum_{n=1}^{\infty} \frac{1}{ n(2n+1)}$ $$\frac{1}{1 \times3} + \frac{1}{2\times5}+\frac{1}{3\times7} + \frac{1}{4\times9}+\cdots $$  How to find sum of this series?  I tried this: its $n$th term will be = $\frac{1}{n}-\frac{2}{2n+1}$; after that  I am not able to solve this. Reading the reviews of the  on Google Play,  said that since Chrome supports HTML5, he had managed to persuade the BBC iPlayer website to play him streams meant for iPad/iPhone devices by spoofing an IOS user agent string on his Nexus 7.  How might I go about getting the same thing to work myself?  I have looked at  and  but both seem to concentrate on the Dolphin browser. Also, please mention if a solution will require me to root my Nexus-7.  Incidentally, I also tried using  with Firefox, but although Firefox supports HTML5 and the iPlayer website shows pages without either install flash or use external app messages, it still won't play the streams (it just sits swirling its progress wheel), hence looking for a solution for Chrome. The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback.  Before I go to get it replaced, I'd like to back up some personal data from the built-in memory to the SD card. I'm fairly certain that if I can get adb to recognize the device, then I can use  to see where I am touching the screen and do what I need to do. Problem is, when I plug it in, it's not recognized, while my emulator is.  I suspect that I might not have USB debugging enabled, which I think is necessary for adb to work. If this is the case, can someone give me screenshots of their Droid X (running 2.3.X) going from the home screen, through all the menus, to activating debug mode? Hopefully I can do it by dead reckoning and adb from there.  Edit: I haven't changed anything about the ROM or launcher; it's all stock. Why can't enum's constructor access static fields? Why can't enum's constructor access static fields and methods? This is perfectly valid with a class, but is not allowed with an enum.  What I'm trying to do is store my enum instances in a static Map. Consider this example code which allows lookup by abbreivation:  public enum Day {     Sunday("Sun"), Monday("Mon"), Tuesday("Tue"), Wednesday("Wed"), Thursday("Thu"), Friday("Fri"), Saturday("Sat");      private final String abbreviation;      private static final Map&lt;String, Day&gt; ABBREV_MAP = new HashMap&lt;String, Day&gt;();      private Day(String abbreviation) {         this.abbreviation = abbreviation;         ABBREV_MAP.put(abbreviation, this);  // Not valid     }      public String getAbbreviation() {         return abbreviation;     }      public static Day getByAbbreviation(String abbreviation) {         return ABBREV_MAP.get(abbreviation);     } }   This will not work as enum doesn't allow static references in its constructor. It however works just find if implemented as a class:  public static final Day SUNDAY = new Day("Sunday", "Sun"); private Day(String name, String abbreviation) {     this.name = name;     this.abbreviation = abbreviation;     ABBREV_MAP.put(abbreviation, this);  // Valid } ArcGIS Serious Application Error I'm a complete novice to GIS and just began an Introductory course. I am having an issue when I try to access the Symbology tab on a layer. Specifically, when I click on the 'Categories' field and 'Unique Values' subfield, ArcMap crashes and comes up with a report window to send to ESRI. The message is      ArcGIS for Desktop has encountered a serious application error and is   unable to continue.   What could be the problem? Do we have different badges in different SE sites Condition on a,b and c satisfying an equation(TIFR GS 2017) Let $a,b,c$ be positive real numbers satisfying $$(1+a+b+c)\left(1+\frac{1}{a}+\frac{1}{b}+\frac{1}{c}\right)=16,$$ then $a+b+c=3$.  I thought about the application of the AM-GM-HM inequality, but in vain. I also thought about splitting 16 into factors and comparing but went nowhere. Any ideas. Thanks beforehand. In the Stack Overflow podcast #36 (), this opinion was expressed: Once you understand how easy it is to set up a state machine, you’ll never try to use a regular expression inappropriately ever again. I've done a bunch of searching.  I've found some academic papers and other complicated examples, but I'd like to find a simple example that would help me understand this process.  I use a lot of regular expressions, and I'd like to make sure I never use one &quot;inappropriately&quot; ever again. How can momentum but not energy be conserved in an inelastic collision? How long should it take to refresh a Developer Sandbox? I refreshed a Developer Sandbox, and almost 24 hours it is still "pending". Is this normal? Are there any actions I can take to speed up the process? When I created the Sandbox it took barely more than 10 minutes to create.  Thanks, Adrian Gmail filters/labels: Force email to stay in Inbox? Why are C# interface methods not declared abstract or virtual? Blender 2.80 AV Sync missing? I just installed Blender 2.8 and for the life of me I can not find AV Sync anywhere and video editing has become impossible. Is there some new setting I am unaware of? Find all entire functions such that $|f(z)|\leq |\sin(z)|$ for all $z\in\mathbb C$. Override iTunes "media" keys (play, pause, etc) for Spotify? This is a general, community wiki  question to address non-specific "I need a CMS or Wiki that does x, y, and z..." questions.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .    I have a list of features that I want for my website's Content Management System (CMS) - where can I find a [free] script that includes all of them? Why are my fields initialized to null or to the default value of zero when I've declared and initialized them in my class' constructor? Host alias for ssh There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them.  I'd like to be able to use...  ssh -p xx user@domain.ssh  I've tried establishing this host in /etc/hosts and unless there's a service I needed to restart it had no effect. Implements vs extends: When to use? What's the difference?