Weird array logic when switching reference and offset
With arrays, why is it the case that a[5] == 5[a]?
Deleting my own question When needing to ask a professor about something important and potentially delicate, what is an appropriate way to phrase the question or write the email?  Examples include:   Requesting a recommendation letter Asking for exceptions to policy (e.g., ignoring a course prerequisite, rescheduling an exam) Asking if you can do research with them, join a group, get into a program Scheduling a meeting, exam, or defense Letting them know about a change of plans Letting them know about a life event affecting your work or studies (e.g., wedding, funeral, sickness, vacation) I have 2 ADS1299 analog to digital converters(). I need to give them bipolar mode supplying but I must use a powerbank of 5V 3A. I wonder how can I create a bipolar supply of +2.5v -2.5v as mention in the datasheet from the 5V of the powerbank. I am new in this field. Thank you Encopresis, I'm at my wits end? Does anybody have suggestions? My 12 year old daughter has been dealing with retentive encopresis since age 6. She avoids going to the toilet at all. This results in soiling and the production of an amazing huge toilet-clogging log-like object every week. We have been trying for years to get her to talk about this, but when we do talk about this, the response is ALWAYS "I don't know" despite what her pedi, GI doc and psychologist tried to do or suggested we do to get her to talk about it. We switched psychologists last year after a year of not talking about this, no luck.  We have tried so many treatment plans since diagnosis, specifically tailored to her, such as enemas, scheduled toilet sittings, rewards, consequences, psychologist, etc. she just keeps holding it in. Right before summer, her pedi and the GI doc laid out a clear treatment plan of laxatives, regular bathroom visits, and a rewards program. She did take the Miralax (2 table spoons) but she just kept holding it in and soiling her pants. She avoided going to the toilet. I made her stay at the toilet and told her "if you poop, I will buy you XYZ" (something she REALLY wants)" you can do XYZ only after you poop" and not letting her do things "you can't do XYZ until you poop" and XYZ would be something she LOVES to do. I wouldn't let her leave the toilet until she pooped, so she sat there for hours, no luck. When school started, she refuses to take the Miralax.  Now we laid out a new treatment plan. We TRIED to involve her, the response is again "I don't know." She is supposed to take an enema every morning and sit on the toilet, but she fights daily about taking it. When she does take it, she holds it in and won't sit on the toilet. There is also a diet plan she refuses to follow. She is not supposed to drink dairy, but drinks milk at school. Now the past 2 weeks she refused all treatment which we fight daily about. She refuses to sit on the toilet, no matter what we try. 2 years ago we tried ucanpooptoo, didn't help.  We asked her why she holds it in. Does pooping hurt? Does it scare you to poop? Does it feel good to hold it in? The answer is always "I don't know" and you can question her for hours and hear "I don't know". We explained to her digestion and she knows why she needs to poop. We ruled out any physiological reasons for retention. Luckily her friends don't notice, but one day her friends might smell her soiling, and I talked to her about this, how it would affect, boys , high school, etc. Her response was "I don't know" and she would not talk about this.  Does anybody have suggestions how to get her to start pooping in the toilet regularly? How to fix lsregister failing associations after reboot? Could an argument with false Premises and a true Conclusion be logically valid? Am I going to have trouble flying without my full name on the ticket? I`m using the Newton-Raphson method for obtaining MLE for parameters for maximizing my objective function. At each iteration, I want to check that is the Hessian matrix negative definite or not and I see the Hessian matrix is not negative definite at some iterations. So, I want to use the Fisher scoring algorithm ( of derivation) In this situation, the Fisher information matrix is indefinite!! Is it possible? What are the reasons for this? Are the second-order derivatives wrong? Or are values of expectations incorrect? Evaluate $\int_0^\infty \frac{(\log x)^2}{1+x^2} dx$ using complex analysis How do I compute      $$\int_0^\infty \frac{(\log x)^2}{1+x^2} dx$$   What I am doing is take   $$f(z)=\frac{(\log z)^2}{1+z^2}$$  and calculating   $\text{Res}(f,z=i) = \dfrac{d}{dz} \dfrac{(\log z)^2}{1+z^2}$ which came out to be $\dfrac{\pi}{2}-\dfrac{i\pi^2}{8}+\dfrac{i\pi}{2}$  Im not too sure how to move on from here. the given answer is $\dfrac{\pi^3}{8}$  Any help will be appreciated. thank you in advanced. Java Manifest.mf classpath issues I've been trying to run a jar file - let's call it test.jar - that uses the Sybase jconn3.jar on a Unix system.  I have created a MANIFEST.MF file that has the following:  Class-Path: $SYBASE/jConnect-6_0/classes/jconn3.jar commons-net-1.3.0.jar   This gives a ClassNotFoundError. $SYBASE is the system variable that points to /opt/sybase13; I've also tried the following:  Class-Path: /opt/sybase13/jConnect-6_0/classes/jconn3.jar commons-net-1.3.0.jar   and  Class-Path: opt/sybase13/jConnect-6_0/classes/jconn3.jar commons-net-1.3.0.jar   However, if I copy the jconn3.jar file from the $SYBASE/jConnect-6_0/classes to the same directory as test.jar, and update my MANIFEST.MF to read as follows:  Class-Path: jconn3.jar commons-net-1.3.0.jar   The application runs as expected.  Now, I've been able to verify the jconn3.jar file works by copying it locally; my MANIFEST.MF file includes the path to my Main-Class, so that's not at issue here.  What do you think could be the problem? I've been looking at this thing for too long now. Thanks! Why does factoring eliminate a hole in the limit? Finding an old flight number How can I find an old flight number from over three years ago? I am trying to make a claim for a delay of over five hours. They sent us to the wrong destination and lost our luggage. nginx support for .htaccess / rewrite rules? Differences from Apache? I've been working with Apache http servers for quite some time, and finally making the move to static-content servers alongside the others dynamic-content machines.   I was wondering, does nginx support ".htaccess" files, and things like mod_rewrite?   As I'm very used to the syntax, I was wondering what the (syntax) differences were, and what the learning curve is like moving from Apache configs to nginx. Ubuntu 14.04 System Logging I've recently installed pgAdmin 1.18.1 and noticed a strange thing:  Long json query results are shortened to 256 symbols and then ' (...)' is added.  Could someone help me disable this shortening? How do I get the Minecraft GUI scale to go back to Auto? I have been playing Minecraft, and I went into the settings to see what could be changed. I was in display and I saw the GUI scale was set to "Auto", which was fairly large. I cycled through the scales until I got back to auto, but the GUI scale was stuck at normal size and wouldn't allow me to make it large again. I know this isn't such a big problem, but I really like big font and this is a constant bother to me. Can a random forest be used for feature selection in multiple linear regression? Since RF can handle non-linearity but can't provide coefficients, would it be wise to use random forest to gather the most important features and then plug those features into a multiple linear regression model in order to obtain their coefficients? Manual/automatic line breaks and text alignment in TikZ nodes I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that? Better way of saying "those who are curious"?