query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
sequencelengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Add new in magento | How to add custom Modules in magento | [
"How does lookup in $PATH work under the hood? There're way too many articles/resources on the web that teaches people HOW to set the environment variable PATH so that they can use the short hand of java or python etc instead of the absolute path in command line interface. What I'm interested to know is that what's behind the scene when we type in the command and hit enter (similar to ). Here is my guess: read the command (parse/preprocess stdin to get the right arguments $@) command lookup command execution (program started, consume memory, stdout/stderr to shell) re-render the emulator by relevant environment variables (e.g. $PS#, $PROMPT, etc) The part I want to figure out most is the command lookup. Obviously, the $PATH is consumed by some background function and separated by : / ;as delimiters, then what happened? Do we use a hash table (key: basename of the file, value: absolute dirname of the file) to store the binary files under those PATHs, or some other hooks? NOTE: I originally thought it was hash table as I can use [ -z hash [command] ] to check if a command is available in current env, but when I use hash | grep python I get nothing from the output while which python works as anticipated. (I think the mechanism might be shell specific, but I want to get more insights into it.)",
"Are there any journals that pay reviewers? Being a young researcher myself I received a comment from my colleague that some of the journals are paying reviewers for the reviewing process. When I gave it a thought, it started to make more sense. In case of high quality, respected journal, an institution may consider itself privileged to have a reviewer of such journal and allow the reviewer to dedicate small proportion of his/her daily activities just on the reviewing process. The reviewer being paid, has more obligations to provide thorough in depth review. Does that hold true for some journals or is it just a myth?",
"Add \"upload media\" button in meta box field I have a custom post which has a meta tag that needs to be using a file upload (for video files). I am wondering, what is the correct way of adding an \"Upload\" button that points to the WordPress media uploader and sets the url of the selected uploaded file to the text field that caused that associates the upload button. I am not looking for code on creating the actual meta tag option, but for a way to actually add a Wordpress media upload button properly.",
"Detecting current iPhone input language",
"How to create & execute a script file Is there a way to create and execute a script file in Ubuntu 14.04? Perhaps something like Windows batch files. Specifically, I mean the default scripting language of the Ubuntu terminal (Bash). How do you make a text file containing bash commands which will be run by the Ubuntu terminal from the top of the file to the bottom.",
"Render issue - Model doesn't appear to be on any layers and won't render Really odd on this... using Blender 2.75... I started modelling and lost the objects from the 3d view, but they were still showing in the object lists on the outlier... I was able to copy them and continued working... when I did a test render I discovered that only the original lost objects were rendering and nothing that I had modelled over the previous 2/3hrs was showing up... I have no idea what I did but I created another 3d view and the original bits showed up along with the layer buttons which had been missing from the screen which I thought was just a new feature from 2.75...! Picture to show the 2 screens, top one doesn't render but bottom one does Any idea's what I've done?",
"Displaying dynamic table in Data Driven Pages environment? I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a polygon). Thus, I have an attribute table where labels are stored for those specific polygons. How can I have that table displayed on the map, with only the attribute values per sheet, rather than all 2000+ values? I am looking for a simple, dynamic solution.",
"Dynamic Table partitioning on a daily basis I have a SQL Server database which contains two tables -- Acks and Logs. These two tables are related in logic but not in a relational database way. Basically, every message that comes in gets saved in the Log table and, if our server acknowledges it, then that ack gets stored in the Ack table. We are storing around 5 million Acks and 3 million Logs a day. I am trying to partition these two tables on a daily boundary so that we can easily remove older partitions from the table, and also improve query performance. I haven't done table partitioning before, so I have been reading some on-line tutorials, however I am stuck on one thing. All the tutorials I have followed seem to manually add filegroups and manually add boundaries. I want SQL Server somehow to do this daily, and this is what my question is about. I need it to create the new filegroups for the next day, every day at, say, 22:00. Then at 24:00 the inserts should start filling up the new day's partition. Can anyone point me in the right direction on how to achieve this? Either a comprehensive tutorial or some good old advice will do as well. My second question: can I somehow apply the same partition function to the two different tables? They both have a datetime(2) column on which I want to partition, and the same rules will apply. How does that then fit in with my filegroups? Do I need a single filegroup for the day? Will each table have a file in that filegroup, or will both tables save to the same file in the filegroup? Do I have to make a .mdf and .ldf for each filegroup? Or is there still one log file for the entire database?",
"When does SQLiteOpenHelper onCreate() / onUpgrade() run?",
"I'm trying to show that if $f$ is a continuous function on $[0,1]$ and $\\int_0^{1} f(x)e^{nx}\\,{\\rm d}x = 0$ for all $n = 0, 1, 2, \\dots$, then $f(x) = 0$. I'd like to use Weierstrass approximation theorem to find a sequence of polynomials $p_m$ that converge uniformly to $f(x)$. Then we could say $\\lim\\limits_{m\\to \\infty} \\int p_m(x)e^{nx}\\,{\\rm d}x = \\int f(x)e^{nx}\\,{\\rm d}x = 0$, but I'm struggling to deduce that then all the $p_m$ are zero which would give the result.",
"How can I schedule timer to power on and off device?",
"Should we have a tag for significant points in time? There are many discussions about the current incidence. For example: Should we have a whole tag for this incidence? In general, if in the future there are more crises and incidences like this, should they have their own tags too? I feel it's fine, as we have specific tags for individual events like . And, should we have a tag? Related: Note that these questions are specifically about the conflict 2019, while this question is simply about creating meta tags for significant events.",
"This is a basic question on Box-Jenkins MA models. As I understand, an MA model is basically a linear regression of time-series values $Y$ against previous error terms $e_t,..., e_{t-n}$. That is, the observation $Y$ is first regressed against its previous values $Y_{t-1}, ..., Y_{t-n}$ and then one or more $Y - \\hat{Y}$ values are used as the error terms for the MA model. But how are the error terms calculated in an ARIMA(0, 0, 2) model? If the MA model is used without an autoregressive part and thus no estimated value, how can I possibly have an error term?",
"Allow users to leave an anonymous comment when voting I don't know if people don't explain why they up or down vote because they don't care or because they don't want the person to know they voted on an answer (or question)... But, it might be nice to be able to leave a comment anonymously as to why it was voted. It could give us more insight as to people's thoughts on posts. Really, I think this would come into play a lot more dealing with down votes more than up votes, but I could see it being beneficial in both situations. See also",
"Mirror changes to side of cube across all six sides",
"Change email login to another id",
"How to install the Pantheon desktop environment?",
"How to make DNS server propagate faster if you are a site owner? It's often the case that I want to change name servers because my site is messed up. Well, it takes a very long time for the name server to propagate. Is there something in DNS, or registrar or anything I can do to speed that up. Flushing my dns server using and it rarely works",
"How should you interview for QA *Automation* positions?",
"jQuery Datepicker with text input that doesn't allow user input How do I use the jQuery Datepicker with a textbox input: $(\"#my_txtbox\").datepicker({ // options }); that doesn't allow the user to input random text in the textbox. I want the Datepicker to pop up when the textbox gains focus or the user clicks on it, but I want the textbox to ignore any user input using the keyboard (copy & paste, or any other). I want to fill the textbox exclusively from the Datepicker calendar. Is this possible? jQuery 1.2.6 Datepicker 1.5.2"
] | medi_sts_stackexchange_dupe |
Styling scroll bars with CSS | CSS customized scroll bar in div | [
"Using OPENQUERY to execute a script I have a SQL Server 2008 instance which I want to use to import data from an Oracle server. I have set up a linked server that works correctly when running simple queries like SELECT * FROM table. However, if I declare a variable or loop through the rows in a table or anything else inside the OPENQUERY, I get errors. Is it possible to do this using OPENQUERY? Do I need additional permissions?",
"I accidentally unset all the directories of $PATH while trying to add a new one in ~/.bashrc. I opened a new terminal window as I was editing and now $PATH is empty. I'm worried if I boot from another drive to find the $PATH I won't be able to boot into this drive again. Basically, what is the default result of echo $PATH?",
"What is the probability that $x_1+x_2+...+x_n \\le n$? Given that $X_1, X_2...$ are mutually independent random variables. For each $i$ with $1\\le i \\le n$ the variable $X_i$ is equal to either $0$ or $n+1$ $E(X_i)$ = $1$ also.. if $X_i$ is equal to either $0$ or $n+1$, doesn't that mean that all $X_i$ need to be $0$? Thanks",
"Here is a sentence excerpted from , Teen suicide is a growing health concern. It is the third-leading cause of death for young people ages 15 to 24, surpassed only by homicide and accidents, according to the U.S. Center for Disease Control and Prevention. I've heard people use both \"people aged from X to Y\" and \"people ages from X to Y\" quite often, but I've always been believing that only the former is grammatically correct, whereas in the latter the \"ages\" doesn't seem to serve as any grammatical component of this sentence. So when I see an APA paper use \"ages\" in that way, I am just quite surprised: I just can't believe such an authoritative and rigourous academic institution will let such an explicit (and indeed naive, even to a non-native speaker's eyes) grammatical mistake survive in their publications. I'm aware that in daily language usage one ought not to become so fussy over insignificant matters like this, but I do wonder whether it should be paid attention to in academic writings. OR, using \"ages\" in that way is no longer considered a grammatical mistake? Honestly I don't think this'd be true, but if it really is, I'd be grateful to be informed. Thanks!",
"Is convex surface normal in cast iron skillet? I am new to cast iron skillet. I have cooked with it several times and found the Lodge 12\" cast iron skillet has a convex surface which is not observable unless you pour oil on it. When I cook, the oil move to rim of the skillet and makes the center short of oil. Is it normal? EDIT: I added the photo of the stove and skillet for reference",
"Submitting a form by pressing enter without a submit button Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want to get into JavaScript if possible since I want everything to work on all browsers (the only JS way I know is with events). Right now the form looks like this: <form name=\"loginBox\" target=\"#here\" method=\"post\"> <input name=\"username\" type=\"text\" /><br /> <input name=\"password\" type=\"password\" /> <input type=\"submit\" style=\"height: 0px; width: 0px; border: none; padding: 0px;\" hidefocus=\"true\" /> </form> Which works pretty well. The submit button works when the user presses enter, and the button doesn't show in Firefox, IE, Safari, Opera and Chrome. However, I still don't like the solution since it is hard to know whether it will work on all platforms with all browsers. Can anyone suggest a better method? Or is this about as good as it gets?",
"In how many ways can a number be expressed as a sum of consecutive numbers?",
"Show that $A_n$ is the kernel of a group homomorphism of $S_n \\rightarrow \\{−1,1\\}$.",
"What have to be normally distributed: groups or whole sample? It is a general and maybe basic question, but it will help me to avoid a mistake. To test the dependence of continuous variable on nominal with parametric test (t-test, ANOVA), \"the data has to be normally distributed\" (distribution have to be not much violated from normal). But I don't clearly understand: I have to test the normality of the continuous data together (whole sample) or the normality of data in every single group? And if my groups have small sizes (n=4-6), and therefore I fail to reject null, does this indicate a permission to use parametric methods? Can anyone provide me a link to some good examples of statistical (biomedical) hypothesis testing with R (google did not helped)?",
"Not booting from USB or CD (SYSLINUX Message) I am trying to install linux on my laptop, a Toshiba Satellite C6550-S5200. I did it once but something happened so I removed it then I had to destroy all data on hard drive so now I have nothing on it. Well I got a iso file burned to a CD and to a flash drive. With the flash drive I get. SYSLINUX 4.06 EDD 4.06-pre7 Copyright (C) 1994-2012 H. Peter Anvin et al With the CD it will start booting it but somewhere loading it up, the dots turn all orange and stay that way and my CD drive turns quiet. Oh and some more info the images work because I tried loading them up on another pc and it worked just fine. I manage to get the CD to boot I just had to let me pc boot up first then insert the CD and have it boot the CD then. Once I get done installing ubuntu it works fine but I have to leave the PC on 24/7 for if I turn it off the PC will freeze 5-10 seconds after booting back up no matter how I install it.",
"\"Welcome to the Jones__\": Plural or Plural Possessive? When making a welcome sign, what form of the name Jones would you use? (\"Welcome to the Jones__\")",
"What is the difference between \"Have you seen this?\" and \"Did you see this?\" What's the difference between these two phrases?",
"Mcrypt extension is missing in 14.04 server for mysql",
"Can I use set instead of List to resolve the duplicate id issue If you take a look into this issue I have provide an answer of using set<Sobject> instead using list<Sobject> i.e. if( !contacts.values().isEmpty() ){ set<Contact> setContacts = new set<Contact>(); for( Contact objCon : contacts.values() ){ if(!setContacts.contains(objCon)){ setContacts.add( objCon ); } } update new list<Contact>(setContacts); } even if(!setContacts.contains(objCon)) is not needed if( !contacts.values().isEmpty() ){ set<Contact> setContacts = new set<Contact>(); for( Contact objCon : contacts.values() ){ setContacts.add( objCon ); } update new list<Contact>(setContacts); } So is there any condition/use case where this answer might fail?",
"How do I set the page title? I know I could change the page title with drupal_set_title(t('Amy page title')), but when I try it in Drupal 8 I get the There is no such function error. How can I change page title in Drupal 8?",
"What if 'kill -9' does not work? I have a process I can't kill with kill -9 <pid>. What's the problem in such a case, especially since I am the owner of that process. I thought nothing could evade that kill option.",
"́╗┐' is not recognized as an internal or external command When executing certain files (mainly batch) using PsExec I get these weird ́╗┐' symbols before my command. My initial thought was, that I were using wrong encoding, but after checking, I realized that all my files were using UTF-8.",
"What laptop specs are important for intensive image editing work? How important is the following in purchasing a laptop that will be used for image editing: processor speed amount of RAM integrated vs. dedicated graphics card HD speed (SSD; or 5400/7200/10000 rpm)",
"Python is quite cool, but unfortunately, its debugger is not as good as perl -d. One thing that I do very commonly when experimenting with code is to call a function from within the debugger, and step into that function, like so: # NOTE THAT THIS PROGRAM EXITS IMMEDIATELY WITHOUT CALLING FOO() ~> cat -n /tmp/show_perl.pl 1 #!/usr/local/bin/perl 2 3 sub foo { 4 print \"hi\\n\"; 5 print \"bye\\n\"; 6 } 7 8 exit 0; ~> perl -d /tmp/show_perl.pl Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(/tmp/show_perl.pl:8): exit 0; # MAGIC HAPPENS HERE -- I AM STEPPING INTO A FUNCTION THAT I AM CALLING INTERACTIVELY DB<1> s foo() main::((eval 6)[/usr/local/lib/perl5/5.8.6/perl5db.pl:628]:3): 3: foo(); DB<<2>> s main::foo(/tmp/show_perl.pl:4): print \"hi\\n\"; DB<<2>> n hi main::foo(/tmp/show_perl.pl:5): print \"bye\\n\"; DB<<2>> n bye DB<2> n Debugged program terminated. Use q to quit or R to restart, use O inhibit_exit to avoid stopping after program termination, h q, h R or h O to get additional info. DB<2> q This is incredibly useful when trying to step through a function's handling of various different inputs to figure out why it fails. However, it does not seem to work in either pdb or pydb (I'd show an equivalent python example to the one above but it results in a large exception stack dump). So my question is twofold: Am I missing something? Is there a python debugger that would indeed let me do this? Obviously I could put the calls in the code myself, but I love working interactively, eg. not having to start from scratch when I want to try calling with a slightly different set of arguments.",
"How do you hide back faces so that you only see faces when its normal is facing the camera? When exporting it for use in a game, the face is rendered in only the direction of its normal, so this would be useful to have something similar."
] | medi_sts_stackexchange_dupe |
How many closed polygons $n$ lines make on a plane?(not duplicate) | Show that $n$ lines separate the plane into $\frac{n^2+n+2}{2}$ regions | [
"Defining commands/abbreviations that contain numbers I tend to use \\newcommand to define macros for symbols I use often, e.g. \\newcommand{\\hankel}{H^{(1)}_0}. One inconvenience of this approach is the fact that command names cannot include numbers. What I ideally want is to map something like \\H0 to H^{(1)}_0. I imagine this could be done with some macro expansion/snippet package, or one might use \\newcommand to define a command that takes a parameter, etc. Before I start experimenting, though -- is there a canonical way of dealing with this problem?",
"How can I view Google Photos that are not in a Google Photos album? Go to Add a few photos to a photo album Go back to All Photos See all of the photos there, even ones you copied to the Album. No problem here, per se. At least not yet. What if you want to delete photos that you did not copy to that album? Where is the selector or filter that filters those \"in an album already\" photos from this main view? Or is there a way to create such a filtered view such that I can then cherry-pick photos for deletion?",
"What is the scientific name of this evergreen plant? This plant is found in India. It is an evergreen plant. Would love to know the scientific name.",
"\"The package lists or status file could not be parsed or opened\" Everytime I sudo apt-get update it always not complete and will say in the end E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened. Same goes, when I try to install something and do sudo apt-get install <some app> What should I do ? I admit, that my drive has bad sectors, could that be the reason? Is there anything else I can do?",
"Where does the extra kinetic energy of the rocket come from?",
"How can I install a package on MikTeX? I need to install a LaTeX package on my MikTeX system. Specifically, I am trying to make biblatex work, but I always get the error message: ! LaTeX Error: File `biblatex.sty' not found. I have changed the options to have the \"Quick Build\" command that includes biblatex too. Code/commands are correct because it's working under Overleaf.",
"I have a shapefile with date in a string field. I create a new field with date type and use the calculator to make the conversion. But the result only provide the date part, the time part is removed. Even when the preview show the correct conversion. Here you can see the original string field time and the result date time2. And the use of the conversion function to_datetime() and the preview result at the end If you go to the layer properties you can change the edit mode to date/time. Then if go to the data and try to edit time2 you get the current date/time. So is possible save date and time in the same field. But the update tool still doesn't work as expected As J.R said. Even when you can change QGIS edit to allow Date/Time the save to shapefile will discard the time.",
"Distribution of a ratio of uniforms: What is wrong? Suppose that $X$ and $Y$ are two i.i.d. uniform random variables on the interval $[0,1]$ Let $Z=X/Y$, I am finding the cdf of $Z$, i.e. $ \\Pr(Z\\leq z) $. Now, I came up with two ways of doing this. One produces a correct answer consistent with the pdf here: , the other does not. Why is the second method wrong? First Method $\\newcommand{\\rd}{\\mathrm{d}} \\Pr(Z\\leq z) = \\Pr(X/Y\\leq z) = \\Pr(X\\leq zY) = \\int^{1}_{0}\\int^{\\min(1,zy)}_{0} \\rd x \\rd y = \\int^{1}_{0}\\min(1,zy)\\ \\rd y$ $ = \\left\\{ \\begin{array}{lr} \\int^{1/z}_{0}zy\\ \\rd y + \\int^{1}_{1/z} \\rd y& : z > 1\\\\ \\int^{1}_{0}zy\\ \\rd y & : z \\leq 1 \\end{array} \\right. $ $ = \\left\\{ \\begin{array}{lr} 1 - \\frac{1}{2z} & : z > 1\\\\ \\frac{z}{2} & : z \\leq 1 \\end{array} \\right. $ This appears correct. Second Method $\\Pr(X/Y\\leq z) = \\Pr(X \\leq zY\\ |\\ zY \\geq 1)\\Pr(zY \\geq 1) + \\Pr(X \\leq zY\\ |\\ zY < 1)\\Pr(zY < 1) $ by total probability $ = \\Pr(X \\leq zY\\ |\\ zY \\geq 1)\\Pr(Y \\geq 1/z) + \\Pr(X \\leq zY\\ |\\ zY < 1)\\Pr(Y < 1/z)$ Taking $z>1$ yields $ (1)(1-\\frac{1}{z}) + (\\int^{1/z}_{0}\\int^{zy}_{0} \\rd x \\rd y)(\\frac{1}{z}) = 1-\\frac{1}{z} + (\\int^{1/z}_{0}zy\\ \\rd y)(\\frac{1}{z}) = 1-\\frac{1}{z} + \\frac{1}{2z^{2}}$ This is already different. Why is this wrong? Thanks!",
"Can you turn weather off in Minecraft?",
"Cardinality of the set of all real functions of real variable How does one compute the cardinality of the set of functions $f:\\mathbb{R} \\to \\mathbb{R}$ (not necessarily continuous)?",
"How to send mail from the command line? How to send mail from the command line?",
"Where to get QGIS toolbar icons? Does anybody know where to download the QGIS toolbar icons?",
"Why constructors will always have same name as of class and how they are invoked implicitly?",
"When to comment or answer",
"Prove that if $A$ is a set with $m$ elements, $B$ is a set with $n$ elements, and $A \\cap B = \\emptyset$, then $A \\cup B$ has $m+n$ elements.",
"\"Notice: Undefined variable\", \"Notice: Undefined index\", and \"Notice: Undefined offset\" using PHP",
"When did The Doctor start running so much? Thanks to Netflix Streaming, I've been watching some random classic Doctor Who stories. One thing that strikes me as different between the modern Who and old Who was that in modern Who, they do an awful lot of running. It's become a sort of running gag that they've referenced in-universe. In the classic Who I've seen, he tends to drive around quite a bit instead. In addition, The Doctor in modern Who is incredibly reliant on his sonic screwdriver, which I often don't see at all in classic Who stories. Did the Doctor running and the sonic screwdriver get introduced over time in classic Who, or were they both added as part of the modern Who revival?",
"Does $x^{y^z}$ equal $x^{(y^z)}$? If so, why? Why not simply apply the order of the operation from left to right? Meaning $x^{y^z}$ equals $(x^y)^z$? I always get confused with this and I don't understand the underlying rule. Any help would be appreciated!",
"Recently I needed to do weighted random selection of elements from a list, both with and without replacement. While there are well known and good algorithms for unweighted selection, and some for weighted selection without replacement (such as modifications of the resevoir algorithm), I couldn't find any good algorithms for weighted selection with replacement. I also wanted to avoid the resevoir method, as I was selecting a significant fraction of the list, which is small enough to hold in memory. Does anyone have any suggestions on the best approach in this situation? I have my own solutions, but I'm hoping to find something more efficient, simpler, or both.",
"Connectedness of the Hausdorff distance. Does anyone know a proof of connectedness of the Hausdorff distance? I mean a proof of the following: Theorem If $(X, \\rho )$ is a connected metric space, then $(F(X), d_h )$ is also connected. Remark: $F(X) = \\{ A \\subseteq X | A \\text{ is nonempty, closed and bounded } \\} $, and $d_h$ stands for the Hausdorff distance."
] | medi_sts_stackexchange_dupe |
Serana disappeared | Serana disappeared during dawnguard questline. | [
"I am often interested in the installation triggers (postinst, postrm) or certain parts of packages (like /usr/share and /etc). Currently, I am running the next command to retrieve the source code: apt-get source [package-name] The downside is, this file is often much bigger than the binary package and does not reflect the installation tree. Right now, I am downloading the packages through : Download the actual file This takes too long for me and as someone who really likes the shell, I would like to do something like the next (imaginary) command: apt-get get-deb-file [package-name] I could not find something like this in the . The most close I found was the --download-only switch, but this puts the package in /var/cache/apt/archives (which requires root permissions) and not in the current directory.",
"Lock questions in the review queue while being reviewed More and more frequently in the review queues, I am spending time either fixing a post or considering whether an edit is valid, etc, only to make changes and have them denied/not count because someone else has blindly hit the approve button in the meantime. My proposal is for the system to \"lock\" a post in the review queue once it has been presented to someone for review. Do not let anyone else (in the review queue) do anything with it until it is released by the last user it was presented to (or a certain amount of time has elapsed). By \"lock\" I mean that it won't show up in anyone elses list until released. I did NOT mean that it would be in multiple queues and be unactionable in some of them. This would fit well as the queues only present one at a time anyway. This will allow people trying to make good decisions the time to do it and prevent someone else from making that effort a waste of time. As support, look to some of the published reasoning behind the auto-question ban. A large portion of it is that bad questions waste the time of the community. Taking the time to ensure you are making a good decision in the /review queue only to have it not count because someone was badge-whoring and clicking the approve button as fast as they could also wastes the users time... arguably the more (for lack of a better way to put it) valuable user who is willing to invest some time and thought into making the site better.",
"What is a simple way to create a binary relation symbol on top of another? What is a simple way to have \\ll on top of \\gg with equal size and vertically center aligned and have them work as a binary relation symbol like \\lessgtr? The commands \\underset and \\overset cannot be used because they do not treat the two symbols equally, and they do not vertically center.",
"How to repeat currently typed in parameter on bash console? I was just typing something along the lines of: mv foo/bar/poit/zoid/narf.txt and suddenly realized, damn, I have to type large parts of that parameter again mv foo/bar/poit/zoid/narf.txt foo/bar/poit/zoid/troz.txt Even with tabcompletion, quite a pain. I know I can copy paste the parameter by mouse-selecting the text and middleclick but that is not good enough. I want to remain on the keyboard. So is there a way to copy paste the current parameter of the line using the keyboard?",
"Is there any way to create a simple txt file without opening the terminal? Is there any way to create a text file without using the terminal at all?",
"Is there a name for this database schema of key values?",
"how to get the base url from jsp request object?",
"Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?",
"I was doing some practice problems that my professor had sent us and I have not been able to figure out one of them. The given equation is: $-y^2dx +x^2dy = 0$ He then asks us to verify that: $ u(x, y) = \\frac{1}{(x-y)^2}$ is an integrating factor. I multiplied through to get: $\\frac{-y^2}{(x-y)^2}dx + \\frac{x^2}{(x-y)^2}dy = 0$ However, the partial derivatives of these do not equal each other so I am a bit confused...",
"Animation Cycles rendering remains incredible slow",
"What is meant by \"obfuscate by pretending\"? I came accross the following sentence: \"Politicians obfuscate by pretending that the world would be the same if it weren't for the Cold War.\" What is the meaning of obfuscate by pretending and how does it relate to the rest of the sentence? The way I understood it: politicans are aware that the world would not be the same if it weren't for the Cold War, but are (due to unknown or suspected reasons) not willing to admit this and therefore pretend otherwise.",
"My company has recently exceeded our data storage cap (at 102% right now.. :/ ). A large portion of the data that pushed us over our limit was due to an import of records. The weird thing about this is that the records only had a couple of fields populated each out of the 200 total fields on the object. What this tells me is that SalesForce holds the space for each field (since it knows the max-length of each field) rather than populating space only when the field is not null. Does anyone know if this is the case? To reiterate, and perhaps present this question more clearly: If a field has a max character count of 1,000 and only 250 of those characters are actually being used, does SalesForce count the total data storage consumed by that field as 250 or 1,000?",
"Yesterday I was filming a scene with my phone but suddenly the application crashed and when I try to open the m4v generated it says that is corrupted. I have downloaded the video files (around 36MB) on my PC and I am trying to open and repair it. Can you suggest me a way to do it? FFMPEG info As suggested in comments I try check what FFMPEG says me about that file with this command ffmpeg.exe -i VID_20120425_144739.m4v -c:v copy -c:a copy out.mp4 2> log.txt Here it is the result: ffmpeg version N-40126-ga4b58fd Copyright (c) 2000-2012 the FFmpeg developers built on Apr 26 2012 03:29:50 with gcc 4.6.3 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 47.100 / 51. 47.100 libavcodec 54. 15.100 / 54. 15.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 72.100 / 2. 72.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 003fc940] moov atom not found VID_20120425_144739.m4v: Invalid data found when processing input Latest two lines are displayed in red.",
"What is the use of the square brackets [] in sql statements? I've noticed that Visual Studio 2008 is placing square brackets around column names in sql. Do the brackets offer any advantage? When I hand code T-SQL I've never bothered with them. Example: Visual Studio: SELECT [column1], [column2] etc... My own way: SELECT column1, column2 etc...",
"How to disable Excel number autoformat",
"How can I build XML in C#? How can I generate valid XML in C#?",
"What is a NullPointerException, and how do I fix it? What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?",
"I would like to install Ubuntu for almost 120 users. But it's very difficult in using USB and drives. Any suggestions?",
"Can I add extension methods to an existing static class? I'm a fan of extension methods in C#, but haven't had any success adding an extension method to a static class, such as Console. For example, if I want to add an extension to Console, called 'WriteBlueLine', so that I can go: Console.WriteBlueLine(\"This text is blue\"); I tried this by adding a local, public static method, with Console as a 'this' parameter... but no dice! public static class Helpers { public static void WriteBlueLine(this Console c, string text) { Console.ForegroundColor = ConsoleColor.Blue; Console.WriteLine(text); Console.ResetColor(); } } This didn't add a 'WriteBlueLine' method to Console... am I doing it wrong? Or asking for the impossible?",
"I have a question about deriving the coordinate representation of momentum operator from the commutation relation, $[x,p]= i$. One derivation (ref W. Greiner's Quantum Mechanics: An Introduction, 4th edi, p442) is as following: $$ \\langle x|[x,p]|y \\rangle = \\langle x|xp-px|y \\rangle = (x-y) \\langle x|p|y \\rangle. $$ On the other hand, $ \\langle x|[x,p]|y \\rangle = i \\langle x|y \\rangle = i \\delta (x-y)$. Thus $$ (x-y) \\langle x|p|y \\rangle = i \\delta(x-y). \\tag{1} $$ We use $(x-y) \\delta(x-y) = 0$. Take the derivative with respect to $x$; we have $\\delta(x-y) + (x-y) \\delta'(x-y) = 0$. Thus $$ (x-y) \\delta'(x-y) = - \\delta(x-y). \\tag{2} $$ Comparing Eqs. (1) and (2), we identify $$ \\langle x|p|y \\rangle = -i \\delta'(x-y). \\tag{3} $$ In addition, we can add $\\alpha \\delta(x-y)$ on the right-hand side of Eq. (3), i.e. $$ \\langle x|p|y \\rangle = -i \\delta'(x-y) + \\alpha \\delta(x-y), $$ and $[x,p] = i$ is still satisfied. We can also add $$ \\frac{\\beta}{\\sqrt{|x-y|}}\\delta(x-y)$$ on the RHS of Eq. (3). Here $\\alpha$ and $\\beta$ are two real numbers. My question is, what is the most general expression of $\\langle x|p|y \\rangle$? Can we always absorb the additional term into a phase factor like Dirac's quantum mechanics book did? Thank you very much in advance."
] | medi_sts_stackexchange_dupe |
Minecraft Bedrock Edition: Give lever that can only be placed on a specific block | Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition? | [
"How do I tell which point-and-shoot cameras take good low light photos? I have a Canon Powershot A710 and I previously had a previous Powershot A-series model. I love them due to the high amount of control they offer. Sadly, they both suck in low light conditions, their flash is very unresponsive, and the camera takes several seconds preparing itself for the next shot after a flash shot. And even then, the pictures they take in low light/flash are as bad as good are those with good light. I'd like a camera which gives a lot of control options, but what do I need to look for to find one that's great in low light, with or without flash?",
"What is the status icon that looks like a house? There is a strange icon that shows up in my status bar only when I'm at a certain restaurant. It looks like a cross between a house and wifi. I suspect it might be a free wifi hotspot or something related to a nearby phone store, but I can't find any information about it in manual for my phone. See the following screenshot:",
"Hello native English speakers! I want to ask you about either and both. I tried to find similar questions in this site but I think they were not same with these ones. My questions are; I was invited to two parties, but I couldn't go to ------- of them. I took two books with me on holidays, but I didn't read ------- of them. I choose both for questions 1 and 2. But the right answers were either. But I think both and either are correct either. Am I right? Thank you in advance!",
"Why do some adjectives follow the nouns they modify? Right now I can only think of one instance in which this regularly occurs. The adjective proper is sometimes placed after the noun it modifies, e.g: A class of cold-blooded oviparous or ovoviviparous vertebrated animals whose skin is covered with scales or scutes; the reptiles proper. What is this word order called, and why is it ever used? Edit: I really want to know about proper, and while the word hyperbaton relates to post-positivity when it is meant to be rhetorically impacting, it doesn't seem to fit with ubiquitous post-positivity, such as that of proper. I've accepted hyperbaton as the correct term/reason for almost all post-positive constructions, but I'd like a complete answer to include proper.",
"Let $f : U \\to V$ and $g : V \\to W$ be linear transformations on the vector spaces $U$, $V$, and $W$. Supposedly, $$ \\dim(\\ker(g \\circ f)) = \\dim(\\ker(f)) + \\dim(\\ker(g) \\cap \\operatorname{im}(f)). $$ How might I go about proving that? (Attempt:) The $\\dim(\\ker(g)\\cap\\operatorname{im}(f))$ term suggests to me that I should define a vector space $V' = \\ker(g) + \\operatorname{im}(f)$ to invoke the theorem that $$ \\dim(V') = \\dim(\\ker(g)) + \\dim(\\operatorname{im}(f)) - \\dim(\\ker(g) \\cap \\operatorname{im}(f)), $$ but I don't really see where to go from there.",
"In C/C++, are global variables as bad as my professor thinks they are?",
"pdf of a quotient of uniform random variables Suppose $x_1, x_2$ are IDD random variables uniformly distributed on the interval $(0,1)$. What is the pdf of the quotient $x_2 / x_1$?",
"How can I execute `date` inside of a cron tab job?",
"I'm reading . The graph of $f: A \\rightarrow B$ is the subset of $A × B$ consisting of all ordered pairs $(a, b)$ with $f (a) = b$. If $A$ happens to be $B^n$ for some $n ∈ N$, then we say that $f$ is a function on $B$ and $n$ is the arity of $f$. I don't understand the notation for the exponent of a set, I'm aware of what is, it's the number of arguments or operands the function takes. I'm just not so sure if I can assume that a set with an exponent such as in $B^n$ means that a function has two operands. I know the question may be too naive and perhapes the answer is the one I suggested and it's right in front of my face, I'm just searching for a confirmation or the negation of it. Thanks.",
"Are $(x^3)^{1/3} $ and $\\sqrt{x^2}$ monomials? In mathematics, a is, roughly speaking, a polynomial which has only one term. Two different definitions of a monomial may be encountered: For the first definition, a monomial, also called power product, is a product of powers of variables with nonnegative integer exponents, or, in other words, a product of variables, possibly with repetitions. For the second definition, a monomial is a monomial in the first sense multiplied by a nonzero constant, called the coefficient of the monomial.",
"Record a macro of windows commands Using Windows 7, is there an in-built or third-party method of recording windows commands and being able to play them back? As a very basic example of what I would like to be able to do, imagine having two desktop themes that you like to alternate between. The Windows commands would be something like Open personalisation applet select second theme ok (I'm calling this a macro because of the equivalent capability in Word.)",
"Confused By Copyright Rules",
"A friend of mine misplaced his passport while staying in Jeju island. Normally I would advise him to just travel to Seoul, get an emergency passport from his embassy and fly back home without issues, but I know that Jeju island has a special immigration regime. Are there any immigration checks on the way from Jeju island to Seoul? If not, can one travel that route without a passport?",
"My professor was lecturing today and he made this statement which I was unable to verify. (I worded it nicer) There is no map which is both smooth and onto from $S^1$ to $S^1$$\\times$ $S^1$. When he said this he included the original \"one can clearly see\" statement which is usually when the most people seem to be confused in his class. Thus, I was hesitant to ask why. So, please no one lecture me on the fact that I should have asked anyway. If it is really that obvious, I would rather look stupid here than in class :)",
"Why so many files in /usr/share/app-install/desktop? For 14.04, I'm trying out Lubuntu LTS. If I run ls -l /usr/share/app-install/desktop, I get a list of 3085 .desktop files. All except one are dated Apr 18. The exception is: -rw-r--r-- 1 root root 6328 Mar 28 2013 applications.menu From the dates, it's clear that all these are installed by default and not by me. Doesn't each GUI-based program bring in its own .desktop file at the time it's installed (mostly in /usr/share/applications)? Then why are these thousands of other .desktop files needed? From their names, most of them haven't anything to do with Lubuntu. Their names are different from regular .desktop files (such as those in /usr/share/applications): many, not all, are like name:name.desktop whereas the regular ones are just name.desktop. The ones I looked at all have a line with X-AppInstall-Popcon=nnn where nnn is a string of digits. I know that Popcon \"gathers statistics determining which packages are the most popular with Ubuntu users\". But why is that part of these .desktop files?",
"Jordan normal form for a characteristic polynomial $(x-a)^5$ Write down all the possible Jordan normal forms for matrices with characteristic polynomial $(x-a)^5$. In each case, calculate the minimal polynomial and the geometric multiplicity of the eigenvalue $a$. Verify that this information determines the Jordan normal form. I found this question in a textbook that I'm using for a test I have tomorrow. I think that I need to use the method for finding the Jordan normal form of a matrix but I can't see how to apply it and I don't have much intuition about the answer... I'm guessing that there are 5 possibilities since the minimal polynomial can be any factor of the characteristic, but I don't know how to prove this. Some help would be great for my test tomorrow! Thanks",
"On , I have my favorite tags filter. I setup email notifications for it and now I'm thinking I overdid it on the frequency. Trying to change the settings, I clicked on the edit link in the email notifications box to the right, except nothing happens. There are no JavaScript errors and the HTML for the link is simply <a class="edit">edit</a>. This seems like unfinished planned feature. Update: Using Chrome Version 29.0.1547.66 m Same on Firefox 23.0.1 Both edit links are not working. Further Update Events capture: Update 2014-02-03: Here's what the subscription tab in the network profile looks like.",
"If A is an infinite set and B is at most countable set, prove that A and $A \\cup B$ have the same cardinality I am trying to prove: If A is an infinite set and B is at most countable set, prove that A and $A \\cup B$ have the same cardinality. Set definitions here are from baby Rudin. Attempt: There are 4 possible cases: 1.A is countable and B is finite. 2.A is countable and B is countable. 3.A is uncountable and B is finite. 4.A is uncountable and B is countable. Then for each case I need to show that $A \\cup B \\sim A$. I can prove 1-3, but I am unsure how to prove case 4. And in general, it seems that my proof strategy is inefficient and there exist much faster proof then proof by cases.",
"Reverse of number in PHP not showing correct output",
"What's the best way to draw UML class diagrams in LaTeX?"
] | medi_sts_stackexchange_dupe |
Can we upload Android's .apk file to MySQL database? | Storing Images in DB - Yea or Nay? | [
"Why have view counters been modified?",
"how to place JS-code to NewForm.aspx of a list in SharePoint 2013 APP. In sharepoint 2010 we can use this list definition to add JS: <List ...> <MetaData> ... <Form Type=\"NewForm\" Url=\"NewForm.aspx\" SetupPath=\"pages\\form.aspx\" WebPartZoneID=\"Main\" UseDefaultListFormWebPart=\"False\"> <WebParts> <AllUsersWebPart WebPartZoneID=\"Main\" WebPartOrder=\"1\"> <![CDATA[ <WebPart xmlns=\"http://schemas.microsoft.com/WebPart/v2\" xmlns:sfwp=\"http://schemas.microsoft.com/WebPart/v2/SimpleForm\"> <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly> <TypeName>Microsoft.SharePoint.WebPartPages.SimpleFormWebPart</TypeName> <FrameType>None</FrameType> <Title>JS1</Title> <sfwp:Content>ANY HTML YOU NEED HERE </sfwp:Content> </WebPart> ]]> </AllUsersWebPart> <AllUsersWebPart WebPartZoneID=\"Main\" WebPartOrder=\"2\"> <![CDATA[ <WebPart xmlns=\"http://schemas.microsoft.com/WebPart/v2\"> <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly> <TypeName>Microsoft.SharePoint.WebPartPages.ListFormWebPart</TypeName> <PageType>PAGE_NEWFORM</PageType> </WebPart> ]]> </AllUsersWebPart> </WebParts> </Form> </Forms> </MetaData> </List> How to do the same for Sharepoint 2013?",
"How to change the default fonts in Windows 10 I have read the entries for other OS versions. Changing the MS Shell Dlg (2) entries in FontSubstitues registry key doesn't seem to work (in Windows 10), or it works in two minor places. I don't have access to a Windows 95/98/etc. machine, the \"earliest\" I have is Windows 8.1, so I can't use the Plus directory trick either (directory doesn't exist). For the WindowMetrics registry entry, I seem to have all the *Font keys to be set to the font I want, but that doesn't seem to be doing the trick (on Windows 10). For Windows 8/8.1, there was a program called Windows 8 Font Changer, which worked like a charm, but doesn't seem to on Windows 10 (though it was probably that program run that changed the fonts in the WindowMetrics). Thanks. Update: One more method that came out that is perhaps still not the solution: Winaero Tweaker (winaero.com), as it has some issues, the biggest two of which seem to be: If you have changed the size of text etc. from: \"Settings –> Display –> Advanced display settings –> Advanced sizing of text and other items –> set a custom scaling level (not recommended)\", the changes do not stick upon a logoff-login or restart. You need to have changed it, if at all, only through \"Settings –> Display –> Change the size of text, etc.\" (which goes up to only a certain percentage, depending on the maximum resolution of your device – 125% on a tablet of mine, which I was able to set to 175% or even 200% with the other, older method that is now apparently listed as not recommended). Even though it lists a number of items to change the font and size of, not everything gets changed. A typical example of this is the right click menu on the desktop, which still shows the View, Sort By, etc. items in the default font, however much it has a clear 'Change menu font' item.",
"MacPorts fails to find 'make' I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---> Computing dependencies for wgetError: Unable to execute port: can't read \"build.cmd\": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? mba:~ cnst$ And, indeed, there is no make or clang in the path, but it is definitely installed, though: mba:~ cnst$ find /Applications -name \"clang\" -or -name \"make\" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang /Applications/Xcode.app/Contents/Developer/usr/bin/make mba:~ cnst$ Why is there no make or clang in the path? Why MacPorts doesn't work? I notice that mentions that you have to install something from ADC, Apple Command Line Developer Tools, but ADC doesn't work since last Thursday or Friday due to their security breach, so, the developer tools are nowhere to be found. What's the proper solution here?",
"Continuous Fibonacci number F(n)",
"getting error when I compile the Java code using package in commandline?",
"VirtualBox Toolbar is hidden! How to show it? I accidentally hide the main Toolbar from my VirtualBox Manager UI? In my ubuntu 12.04 . Can anyone let me know the detail steps to display the Toolbar again? I search the whole blogs but can't figure it out!",
"Prove that a continuous function on a closed interval attains a maximum",
"So just now, I had a bug in my site that caused my custom navigation bar's buttons to be sized and spaced incorrectly. I had no idea where this bug came from, and had to search around for awhile to find the answer. It turns out that SharePoint decided it would be a good idea to inexplicably add a few lines of: nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; between my in my DevHome.aspx (I'm using Angular for this particular project). So, why does Sharepoint do this, and how do I prevent it? This is not the first time SharePoint has randomly added an nbsp to my page. Thanks in advance.",
"How do I programmatically log in a user with a POST request?",
"Show that the free group on $n$ generators is a finite index subgroup of $F_2$ Using covering spaces, prove that for each integer $n \\geq 2$, $F_n$ is a finite index subgroup of $F_2$, where $F_n$ is the free group on $n$ generators. I get how the cayley graph of $F_n$ would be a wedge of $k$ circles and the cayley graph of $F_2$ would be a graph of a vertex and two edges, but I don't understand how we can create an injective map from $F_n$ to $F_2$ and show its a subgroup.",
"Logit or arcsine transformation for proportion in meta-analysis",
"How many sequences of $n$ tosses of a coin that do not contain two consecutive heads have tails as the first toss? If you toss a coin $n$ times, there are $2^n$ possible sequences of heads and tails. Let $E_n$ be the set of sequences which do NOT contain two consecutive heads and $e_n$, the number of sequences in $E_n$. Thus $E_3$ $=$ $\\{$ $TTT$, $TTH$, $THT$, $HTT$, $HTH$ $\\}$ and $e_3$ $=$ $3$. How many elements of $E_n$ have $T$ as the first toss? Please can anyone help me out here?",
"How to edit `postgresql.conf` with pgAdmin 3?",
"Prove that inequality $\\sum _{cyc}\\frac{a^2+b^2}{a+b}\\le \\frac{3\\left(a^2+b^2+c^2\\right)}{a+b+c}$ Let $a>0$,$b>0$ and $c>0$. Prove that: $$\\dfrac{a^2+b^2}{a+b}+\\dfrac{b^2+c^2}{b+c}+\\dfrac{c^2+a^2}{c+a}\\le \\dfrac{3\\left(a^2+b^2+c^2\\right)}{a+b+c}.$$ $$\\Leftrightarrow \\frac{(a^2+b^2)(a+b+c)}{a+b}+\\frac{(b^2+c^2)(a+b+c)}{b+c}+\\frac{(c^2+a^2)(a+b+c)}{c+a}\\leq 3(a^2+b^2+c^2)$$ $\\Leftrightarrow 2(a^2+b^2+c^2)+\\frac{c(a^2+b^2)}{a+b}+\\frac{a(b^2+c^2)}{b+c}+\\frac{b(a^2+c^2)}{a+c}\\leq 3(a^2+b^2+c^2)$ $\\Leftrightarrow \\frac{c(a^2+b^2)}{a+b}+\\frac{a(b^2+c^2)}{b+c}+\\frac{b(a^2+c^2)}{a+c}\\leq a^2+b^2+c^2$ $\\Leftrightarrow \\frac{c(a+b)^2-2abc}{a+b}+\\frac{a(b+c)^2-2abc}{b+c}+\\frac{b(a+c)^2-2abc}{a+c}\\leq a^2+b^2+c^2$ $\\Leftrightarrow 2(ab+bc+ac)\\leq a^2+b^2+c^2+2abc\\left(\\frac{1}{a+b}+\\frac{1}{b+c}+\\frac{1}{a+c}\\right)$ I can't continue. Help me",
"creating a csv file from two csv files I have two csv files: sub_compiler.to_csv('sub_compiler.csv') sub_compiler.head() and sub_opt = pd.read_csv('sub_opt.csv') sub_opt.head() and what I would like to do is to create a csv file where I have something of the form compiler, opt How could I do this? I need to do this to make a submission. Thank's in advance. [EDIT] Thank you for the answers. Now I have obtained : don't understand why I have the columns called unnamed. My objective is to get a csv file that contains only the columns compiler and opt. How could I do this? Thank's again. [EDIT 2] I have solved my problem but if I open the csv file manually, so just click on the file, I have the following: s it contains only 11 lines, but it contains 3000 lines in jupyter. Is it there something wrong? [EDIT 3] I tried to to the following: import pandas as pd test = pd.read_csv('1495927.csv') test and I have: where 1495927.csv is the csv file I have created and that is in the image where I have 11 elements.",
"Getting MTP enabled devices to work with Ubuntu?",
"How to set tick label precision",
"Confused at + and ++ in TikZ I can't seem to figure out the difference between + and ++ relative coordinates in TikZ. I understand ++. ++ specifies delta coordinates that are added to the last current point, the current point is then set to the new absolute current point (correct?): \\draw (0,0) -- ++(1,0) -- ++(0,1) means: set Current Point to (0,0) add (1,0) to Current Point = (1,0) set Current Point to (1,0) add Current Point (1,0) to (0,1) = (1,1) set Current Point to (1,1) I can't seem to figure out that + does, when I try it out it looks like the coordinates in the +(x,y) are absolute coordinates rather than delta coordinates, but the manual says otherwise",
"How can I see the \"implementation\" of protected commands such as \\LaTeX? After reading another question relating to how to see definitions of commands, I tried: \\documentclass{article} \\begin{document} \\show\\LaTeX \\end{document} But this shows me in my logfile: \\LaTeX=macro: \\protect \\LaTeX I just want to see where the \\LaTeX command deep down somewhere finally says \"OK, make the 'L' big, then make a little raised 'a,' then ...\""
] | medi_sts_stackexchange_dupe |
Maximum file size for sprites in Cocos2d | What is the maximum texture size available on the iPad? | [
"how to set static ip from bash scriptlinux I want to set static IP using bash script what I would to achieve I want to set the same IP to static which is come from DHCP, for example, my eth0 set to DHCP and it picks IP 51.89.84.82 for eth1 it pick 10.0.0.1 I want to set the same IP to static how can I achieve this in centos7. 1 ) find interface name and its ip , subnet mask , gateway. 2 ) loop each interface and set the same ip , subnet and gateway.",
"Pagination go to first page if i'm on last post I have a custom post type and used get_next_post() and get_previous_post() to create a simple pagination. However i need to create a pagination loop (if that is the correct term). If i'm on the first post i need to browse back to the last post and if i'm on the last post i need to browse to the first post. Is there a simple way to do this that i haven't seen but Google, this site and the codex has not been very helpfull :/ The current code i have is. I've tried to use wp_list_pages and other functions but with little luck. $next_post = get_next_post(); $prev_post = get_previous_post(); $nav = array( \"next_post\" => array( \"url\" => get_permalink($next_post->ID), \"id\" => $next_post->ID, \"titill\" => get_field(\"vinstri_titill\", $next_post->ID).\" - \".get_field(\"vinstri_undirtitill\", $next_post->ID) ), \"prev_post\" => array( \"url\" => get_permalink($prev_post->ID), \"id\" => $prev_post->ID, \"titill\" => get_field(\"vinstri_titill\", $prev_post->ID).\" - \".get_field(\"vinstri_undirtitill\", $prev_post->ID) ), );",
"Embed data in a C++ program",
"Traffic (views, visits) is not correctly registered on Site Analytics or Area 51",
"How do I build a SOQL query for records in a list of IDs? Can some one correct my soql? I need to export records in data loader like: WHERE Id IN ('123123123','123123fsdf') But this following query does not work for me: SELECT Id, Syndication_Documents__c FROM ContentVersion WHERE Syndication_Documents__c in : 'a4fa0000000KzbV','a4fa0000000KzbW'",
"How do I disable touchpad when using a mouse",
"Need intuition about independence of events Suppose that we have the situation as depicted in the figure: a random experiment which has 4 outcomes $x_1, ..., x_4$ and two events $A$ and $B$. Also assume that $P(x_i)=0.25$. Now, since $P(A \\cap B) = P(A)P(B) = 0.25$, by definition the events $A$ and $B$ are independent. This does not make sense to me. Why are they independent? Is there an intuitive explanation? Another thing is, suppose that there is a 5th outcome, $x_5$, outside of $A \\cup B$, in that case the events $A$ and $B$ are no longer independent since $P(A \\cap B) \\ne P(A)P(B)$. This result also does not make sense to me.",
"The American convention in quotations is (typically) to place punctuation inside quoted text. But I always run into situations where the punctuation of the quote interferes with the punctuation of the sentence. How would you punctuate this (American, non technical)? When my friends ask, \"What do you want for your birthday?\", I never know how to respond. It seems odd to place the last comma outside the quote simply because of the question mark. Is that the preferred (i.e. most often accepted) standard?",
"US and Canada border crossing and computer privacy: What do I need to know? I've read stories about border officials searching laptops when crossing the border in one direction or the other. Does this really happen, typically speaking? As a US citizen, can I be forced to give them my laptop's password for any/no reason? I don't believe they are allowed to deny entry to the US to a US citizen? ....but who knows these days? Canada can deny me entry for any reason, so that's fine. But in practice, does this even happen in either crossing direction? EDIT - I've now made the trip. They didn't so much as glance in the direction of my laptop. My biggest issue turned out to be lack of international wireless data service!",
"My GNU/Linux system (Arch) now has libncurses.so.6 rather than libncurses.so.5. But I have upstream's vanilla TeX Live (fully updated) and xindy wants libncurses.so.5: xindy --version produces the following error xindy release: 2.5.1 xindy script version: 1.18 /usr/local/texlive/bin/xindy.run: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory And ldd can confirm the problem: ldd /usr/local/texlive/bin/xindy.run gives linux-vdso.so.1 (0x00007ffc07997000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fab4d1b1000) libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007fab4cf79000) libncurses.so.5 => not found libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fab4cd75000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fab4c9d1000) /lib64/ld-linux-x86-64.so.2 (0x00007fab4d4af000) How can I use xindy without changing my operating system, while using vanilla TeX Live? 2 strategies have occurred to me: compile xindy from sources against libncurses.so.6; compile and install libncurses.so.5 alongside libncurses.so.6. Option (2) can be dodgy or can be fine, depending on the details. My suspicion is it may be dodgy for this library, simply because no packages are available for the old version of the library, which might mean there are problems having both installed. Moreover, since everything else is compiled against the new version, I'm not sure whether this would be enough for xindy anyway. Option (1) I have no idea about. I don't know if this is even vaguely doable or, in fact, where the sources are or what might be required to compile them. (I don't suppose there's any chance a pre-compiled binary is available somewhere? But that is probably hoping for too much ;).) What is the most practicable approach?",
"Why is triple-DES using three different keys vulnerable to a meet-in-the-middle-attack? Among other sources, states that triple DES using three seperate keys (k1, k2, k3) is vulnerable to meet-in-the-middle-attacks, while triple DES using only two keys (k1, k2, k1) is not. Why is this attack possible if all the keys are different, but not if the first and the third are the same?",
"Eclipse Scala IDE - class file needed by X is missing",
"In Days Of Future Past, Quicksilver spends a lot of time playing with electronics. In his famous tour de force scene in the Pentagon, he specifically puts his headphones on before running around the kitchen. But why? Does the music on his Walkman speed up with him as he uses it, or is it still operating at \"normal\" speed? Or indeed, does any electronic device that he touches speed up?",
"Tips and resources for beginning designers Thanks to the internet, graphic design and programming are becoming increasingly overlapping fields. As a programmer, I constantly find myself needing basic knowledge of Graphic Design, but have trouble locating thorough yet concise graphic design learning resources, and instead usually find bits and pieces of knowledge applicable to the task at hand. Can you guys offer some tips or recommend some good books, tutorials, blogs, and websites which provide a beginner level overview of web design that have been, in your experience, effective and high quality learning materials. I'm not looking for tips on how to use image editing tools, but assuming a basic grasp of those, which resources and advice will best help a new designer create professional looking designs?",
"\"Least Astonishment\" and the Mutable Default Argument",
"Using JQuery and Prototype in the same page Several of my pages use both JQuery and Protoype. Since I upgraded to version 1.3 of JQuery this appears to be causing problems, because both libraries define a function named '$'. JQuery provides a function noConflict() which relinquishes control of $ to other libraries that may be using it. So it seems like I need to go through all my pages that look like this: <head> <script type=\"text/javascript\" src=\"/obp/js/prototype.js\"></script> <script type=\"text/javascript\" src=\"/obp/js/jquery.js\"></script> </head> and change them to look like this: <head> <script type=\"text/javascript\" src=\"/obp/js/prototype.js\"></script> <script type=\"text/javascript\" src=\"/obp/js/jquery.js\"></script> <script type=\"text/javascript\"> jQuery.noConflict(); var $j = jQuery; </script> </head> I should then be able to use '$' for Prototype and '$j' (or 'jQuery') for JQuery. I'm not entirely happy about duplicating these 2 lines of code in every relevant page, and expect that at some point somebody is likely to forget to add them to a new page. I'd prefer to be able to do the following Create a file jquery-noconflict.js which \"includes\" jquery.js and the 2 lines of code shown above Import jquery-noconflict.js (instead of jquery.js) in all my JSP/HTML pages However, I'm not sure if it's possible to include one JS file in another, in the manner I've described? Of course an alternate solution is simply to add the 2 lines of code above to jquery.js directly, but if I do that I'll need to remember to do it every time I upgrade JQuery.",
"Enable disk encryption after installation",
"How can I check if my computer's powerful enough to run a certain game?",
"How to capture Control+D signal?",
"How do I disable System Integrity Protection (SIP) AKA \"rootless\" on macOs [OS X] Apple has introduced , also known as \"rootless\", with OS X 10.11, El Capitan. I understand this is a step for general protection against malware but as a developer I need write access to some of the files it locks away. How do I disable this protection?"
] | medi_sts_stackexchange_dupe |
Why is $(\mathbb{Z}\oplus\mathbb{Z})/\langle(3,6)\rangle$ not isomorphic to $\mathbb{Z}$? | Find $|(\mathbb{Z} \oplus \mathbb{Z}) / \langle(3,6)\rangle|$ and determine if its cyclic | [
"I am currently studying in class 10 and I am unable to do this problem. $$\\tan 70 ° -\\tan 20° -2 \\tan 40° =4\\tan 10°$$ Can anybody please help me. Thanks!",
"This is a about securing public DNS resolvers Open DNS servers seem pretty neat and convenient, as they provide IP addresses that we can use consistently across our company regardless of where they are located. Google and OpenDNS provide this functionality, but I'm not sure that I want these companies to have access to our DNS queries. I want to set up something like this for use by our company, but I hear a lot about this being dangerous practice (particularly in regards to ) and I want to make sure that we do this right. What things do I need to keep in mind when building this type of environment?",
"How do I get Power Armor training in Fallout New Vegas? I've found some power armor, but I can't use it yet without training. I assumed that the Brotherhood of Steel would train me, if they like me enough. I've completed the Brotherhood of Steel quest series for the overseer (the original one, I did not overthrow him), but I did not get any Power Armor training. What do I have to do to be able to wear Power Armor?",
"Using the same variable as a fixed and random effect in Mixed Effect Models",
"Can we move \"Start a bounty\" to a more intuitive location?",
"I have created new partition by selecting free space option and now I can't merge it or recreate it. I have tried to use iPartition to create a new partition on free space but it said I have no permission. How can I fix it?",
"101 positive integers placed on a circle A Pigeonhole Principle problem: 101 positive integers are placed on a circle whose sum is 300. Prove that it is possible to choose from these numbers some consecutive numbers whose sum is equal to 200. (I don't know if the word 'consecutive' is appropriate in this case ,I mean that these numbers follow each other on that circle)",
"Why can't photons have a mass? Why can't photons have a mass? Could you explain this to me in a short and mathematical way?",
"Extending a Homotopy from $X \\times [0,1]$ to $X \\times \\mathbb{R}$",
"I’ve had a good look and can’t seem to find out how to select all elements matching certain classes in one jQuery selector statement such as this: $('.myClass', '.myOtherClass').removeClass('theclass'); Any ideas on how to achieve this? The only other option is to do $('.myClass').removeClass('theclass'); $('.myOtherClass').removeClass('theclass'); But I’m doing this with quite a few classes, so it requires much code.",
"How to create two partitions?",
"How can I iterate over an enum?",
"Using Custom Labels in a Class I have the below If statements using some hard coded strings and I want to make them use as custom labels. I have created custom labels with the same String names as given below. So how can I make these statements to use the Custom Labels I created ? if(monitoringFrequency == 'daily'){ return dateValue.addDays(1); }else if(monitoringFrequency == 'weekly'){ return dateValue.addDays(7); }else if(monitoringFrequency == 'monthly'){ return dateValue.addMonths(1);",
"I loved the keyboard shortcuts in Windows 7 (i.e. Win + ← moves a window to the left side of the screen), but I'm not sure on what some of the new ones might be for Windows 8. What are all of the NEW keyboard shortcuts that I can use while working in Windows 8?",
"Python string prints as [u'String'] This will surely be an easy one but it is really bugging me. I have a script that reads in a webpage and uses to parse it. From the soup I extract all the links as my final goal is to print out the link.contents. All of the text that I am parsing is ASCII. I know that Python treats strings as unicode, and I am sure this is very handy, just of no use in my wee script. Every time I go to print out a variable that holds 'String' I get [u'String'] printed to the screen. Is there a simple way of getting this back into just ascii or should I write a regex to strip it?",
"Typesetting linguistic rewrite rule I'm trying to (more or less) replicate this phonological rewrite rule: I'm using the package , and what I manage to accomplish is this: \\documentclass{article} \\usepackage{phonrule} \\begin{document} \\phonc {\\phonfeat{$-$cnt\\\\ +hi}} {[$\\alpha$grv]} {\\oneof{% \\phonfeat{$-$cnt\\\\ $\\alpha$grv}\\phold\\\\ \\phold\\phonfeat{$-$cnt\\\\ $\\alpha$vce}% }} \\end{document} My main problem here is what appears after the \"when\" slash: (1) The package only provides a left curly bracket - how can I add a right one as well? (2) The two options within the curly brackets are not well aligned. I think comparing the two pictures themselves says it better than what I could do with words.",
"I have two different list. In the first list are some people picker columns. Is it possible to create a lookup column for list 2 to add the user from the first list? I know it isn't supported in Sharepoint, but i hope someone have an idea to solve my problem.",
"Animated textures don't work in Blender viewport playback",
"Simple property of a valuation on a field",
"Combinatorial proofs: having a difficult time understanding how to write them out Can someone explain how combinatorial proofs work? I've included an example questions that's been giving me a hard time. Any insight on the topic would be great. $$\\sum_{k=1}^{n}k{n \\choose k} = n2^{n-1}$$ Another one: $${2n \\choose 2} = 2{n \\choose 2} + n^2$$ The solution says: LHS: Pick two people from a pool of n men and n women. RHS: Pick two women, pick two men, and pick one of each. But I don't see how this applies. How does $n^2$ show that we're picking \"one of each?\" Thanks for the help :)"
] | medi_sts_stackexchange_dupe |
terminal will not allow upgrade of 1604 lts | Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? | [
"Management of fruit bowls on the Enterprise D I have noticed that guest quarters on the Enterprise D have fruit bowls on their tables. A prominent instance is the fruit bowl in Berlinghoff Rasmussen's quarters in \"\". The first thing that Rasmussen does when Data takes him to his guest quarters is take a piece of fruit and shove it in his pocket. Who replicates fruit for these fruit bowls before guests arrive? More generally, who removes unused fruit and tidies quarters after guests leave? Is there a ship hospitality staff, perhaps including Guinan's wait staff in Ten Forward?",
"How to initialize private static members in C++? What is the best way to initialize a private, static data member in C++? I tried this in my header file, but it gives me weird linker errors: class foo { private: static int i; }; int foo::i = 0; I'm guessing this is because I can't initialize a private member from outside the class. So what's the best way to do this?",
"Website is under maintenance - how to restrict access?",
"Does Windows 7 allow auto-login with a stored password, like TweakUI did?",
"Proving the two given vectors are orthogonal I am given the vectors $\\mathbf{w}, \\mathbf{v}, \\mathbf{u}$ in $\\mathbb{R}^n$ such that $\\mathbf{u} \\neq 0$ and $\\mathbf{w} = \\mathbf{v} - \\frac{\\mathbf{u}\\,\\bullet\\,\\mathbf{v}}{\\|\\mathbf{u}\\|^2}\\bullet\\mathbf{u}$. I am asked to show that the vector $\\mathbf{w}$ is orthogonal to $\\mathbf{u}$. So far, I have written out the definition of orthogonal: two vectors are orthogonal if and only if their dot product is zero. So what we need to prove is $\\mathbf{w}\\bullet\\mathbf{u} = 0$ where $\\mathbf{w}\\bullet\\mathbf{u}$ is defined as $\\mathbf{w}^T\\bullet\\mathbf{u}$. However, I have been stuck on this problem for about an hour and haven't made any significant progress from here. How do we go about proving that the vectors are orthogonal?",
"Residue fields of schemes of finite type (over $\\mathbb{Z}$) Suppose $X$ is a scheme of finite type over $\\mathbb Z$. I want to prove that: (1) The residue fields of closed points of $X$ are finite; (2) For a given $q=p^n$ with $p$ prime, there is only a finite number of closed points of $X$ whose residue field is $\\mathbb F_q$. For (1), I see that one has to use some form of Nullstellensatz. First, we suppose $X=\\operatorname{Spec}(A)$ affine, and $A=\\mathbb{Z}[X_1,...,X_n]/I$. We need to show that if $m$ a maximal ideal of $A$, then $A/m$ is finite. Note $p=\\mathbb Z\\cap m$. If $p$ is maximal, we get that $A/m$ is of finite type over $\\mathbb F_p$ thus a finite extension by Nullstellensatz and we are done. But $p$ could be the $(0)$ ideal in which case I neither conclude nor get a contradiction. For (2), we can again argue locally, so we need to show that $A$ contains only a finite number of maximal ideals $m$ with $A/m$ of fixed cardinality $q=p^n$. I get an impression that to count these ideals its the same as to count the number of automorphisms of $\\mathbb{F}_{q}$ which fix $\\mathbb F_p$, but the corrspondence is not bijective, so we only get an upper bound which is enough. Is this idea correct?",
"Proving AM-GM with induction I am trying to prove AM-GM with the following steps: Prove that AM-GM holds for two variables Prove that if AM-GM holds for $k$ variables then it holds for $2k$ variables Prove that if AM-GM holds for $k$ variables then it holds for $k-1$ variables If I prove all of these, I will have proved AM-GM. I have proved (1) and (2), but I am still struggling with (3). Proof for (1) By the Trivial Inequality, we know that the first statement is true. Therefore \\begin{align} (a-b)^2 \\ge 0 \\implies\\\\ a^2-2ab+b^2 \\ge 0 \\implies \\\\ a^2+2ab+b^2 \\ge 4ab \\implies\\\\ a+b \\ge 2\\sqrt{ab} \\implies\\\\ \\frac{a+b}{2} \\ge \\sqrt{ab}\\hspace{3mm}\\blacksquare\\\\ \\end{align} Proof for (2) Let our numbers be $a_1, a_2, a_3, \\ldots, a_{2k}$. Denote $$x = \\frac{\\displaystyle\\sum_{i=1}^{k}a_i}{k}, y = \\frac{\\displaystyle\\sum_{i=k+1}^{2k}a_i}{k}$$ We know that by AM-GM for 2 variables, that $$\\frac{x+y}{2}\\ge \\sqrt{xy}$$ By our definition of $x, y$ this means that $$\\frac{x+y}{2} = \\frac{\\frac{\\displaystyle\\sum_{i=1}^{2k}a_i}{k}}{2}=\\frac{a_1+a_2+a_3+\\ldots+a_{2k}}{2k}$$ Again by definition, $$\\sqrt{xy} = \\sqrt{\\left(\\frac{x_1+x_2+\\ldots+x_k}{k}\\right)\\left(\\frac{x_{k+1}+x_{k+2}+\\ldots+x_{2k}}{k}\\right)}$$ By AM-GM for $k$ variables, $$\\sqrt{\\left(\\frac{x_1+x_2+\\ldots+x_k}{k}\\right)\\left(\\frac{x_{k+1}+x_{k+2}+\\ldots+x_{2k}}{k}\\right)} \\ge \\sqrt{\\sqrt[k]{x_1x_2\\ldots x_k}\\sqrt[k]{x_{k+1}x_{k+2}\\ldots x_{2k}}}$$ This is simply equal to $$\\sqrt[2k]{x_1x_2x_3\\ldots x_{2k}}\\hspace{3mm}\\blacksquare$$ However, I have no idea how to proceed on (3). I tried using the definition of AM and GM but did not come up with anything useful. Feel free to point out any errors or flaws on my proofs for (1) and (2).",
"Ran out of inodes - 100% Full I am using Ubuntu 16.04 on AWS EC2 instance which has been working fine until this problem. My problem is that I've used 100% of available inodes, as I discovered with this command: $ df -i Filesystem Inodes IUsed IFree IUse% Mounted on udev 124464 360 124104 1% /dev tmpfs 126787 449 126338 1% /run /dev/xvda1 524288 522638 1650 100% / tmpfs 126787 1 126786 1% /dev/shm tmpfs 126787 5 126782 1% /run/lock tmpfs 126787 16 126771 1% /sys/fs/cgroup tmpfs 126793 4 126789 1% /run/user/1000 The main culprits I discovered: $ find / -xdev -printf '%h\\n' | sort | uniq -c | sort -k 1 -n 1155 /usr/src/linux-headers-4.4.0-62/include/linux 1155 /usr/src/linux-headers-4.4.0-65/include/linux 1155 /usr/src/linux-headers-4.4.0-66/include/linux 1155 /usr/src/linux-headers-4.4.0-70/include/linux 1155 /usr/src/linux-headers-4.4.0-71/include/linux 1155 /usr/src/linux-headers-4.4.0-72/include/linux 1155 /usr/src/linux-headers-4.4.0-75/include/linux 1155 /usr/src/linux-headers-4.4.0-78/include/linux 1155 /usr/src/linux-headers-4.4.0-79/include/linux 1155 /usr/src/linux-headers-4.4.0-81/include/linux 1155 /usr/src/linux-headers-4.4.0-83/include/linux 1155 /usr/src/linux-headers-4.4.0-87/include/linux 1155 /usr/src/linux-headers-4.4.0-89/include/linux 1155 /usr/src/linux-headers-4.4.0-91/include/linux 1155 /usr/src/linux-headers-4.4.0-92/include/linux 1514 /usr/src/linux-headers-4.4.0-62-generic/include/config 1516 /usr/src/linux-headers-4.4.0-65-generic/include/config 1516 /usr/src/linux-headers-4.4.0-66-generic/include/config 1516 /usr/src/linux-headers-4.4.0-70-generic/include/config 1516 /usr/src/linux-headers-4.4.0-71-generic/include/config 1516 /usr/src/linux-headers-4.4.0-72-generic/include/config 1516 /usr/src/linux-headers-4.4.0-75-generic/include/config 1517 /usr/src/linux-headers-4.4.0-78-generic/include/config 1517 /usr/src/linux-headers-4.4.0-79-generic/include/config 1517 /usr/src/linux-headers-4.4.0-81-generic/include/config 1517 /usr/src/linux-headers-4.4.0-83-generic/include/config 1517 /usr/src/linux-headers-4.4.0-87-generic/include/config 1517 /usr/src/linux-headers-4.4.0-89-generic/include/config 1517 /usr/src/linux-headers-4.4.0-91-generic/include/config 1517 /usr/src/linux-headers-4.4.0-92-generic/include/config 1517 /usr/src/linux-headers-4.4.0-93-generic/include/config Is it safe to delete these files, and if yes could you please tell me the exact command or commands to use on my PuTTY client?",
"$ KC $ spaces imply $ US $ spaces , but vise versa is false. In the $ US $ space , each convergent sequence has unique limit. In the $ KC $ space , every compact subset is closed. It easy to show that $ KC $ spaces imply $ US $ spaces. The example below show that $ US $ spaces do not imply $ KC $ spaces. Let $ X = [ 0, 1 ] $ with the the usual topology and attach a new point z whose neighborhood are open dense subsets of $ [ 0,1 ]$. Observe $ [ 0,1 ]$ is a compact non-closed of $X$ and then $X$ is not a $KC$ space. However no sequence in $ [ 0,1 ]$ converge to $z$ and in particular all convergent in $X$ have unique limits. can you give me more details? Why $X$ is not closed? Why no sequence in $ [ 0,1 ]$ converges to $z$ and in particular all convergent sequences in $X$ have unique limits ?",
"I am trying to take pictures of large rugs. The rug size is about 10mx5m, and I'm planning to purchase , and Canon 7D Mark II with Canon EF 50MM F/1.2L USM lens, since we need high quality images. We want to set up a studio to take giga-pixel quality images of the large rugs for museum conservation purposes Could you please suggest the best way for mounting the camera to the ceiling, and any other recommendations for my camera/lens setup, and required lighting? It will be an indoor shoot. Just we want to setup a studio to shoot the large rugs.",
"How to add a user to sudoers file? I have an account named as Chankey (local user). I had to use some commands like viewing the shadow file etc. I tried it using sudo command sudo vim /etc/shadow It said: Chankey is not in the sudoers file. This incident will be reported. How can I add this user Chankey to the sudoers file?",
"You can think this of the following as a 3d QFT where we try to calculate the self-energy of two fields. $I$ is a this external self-energy and let us assume it does not depend on the loop momenta which I denote a $\\vec{x}=(x,y)$. Consider the following propagator $$ P(\\vec{r}) = \\frac{x-ia}{2i^2[\\,(x-ia)^2+(y-ib)^2+(z-ic)^2]\\,} \\,\\, \\gamma_i. $$ Then we want to calculate $$ I(x) = \\int \\frac{\\,dx \\,dy\\, dz}{(2\\pi)^3} \\text{Tr} \\left( \\frac{x-ia}{2i^2[\\,(x-ia)^2+(y-ib)^2+(z-ic)^2]\\,}\\gamma_x \\gamma_x \\right), $$ where Tr$(\\gamma_i \\gamma_j)=2\\delta_{ij}$. Therefore I am trying to resolve the following integral where $x,y,z \\in \\mathbb{R}$ and $a,b,c$ are constants (internal self-energies if you wish) in $\\mathbb{R}$. Then, after simplifying the propagator $P(x,y)$ we end up with the following expression for the $x$ component: $$ I = \\frac{1}{2i^2} \\int \\frac{dxdy}{(2\\pi)^2} (x-ia) \\int \\frac{dz}{2\\pi} \\frac{1}{[\\,(x-ia)^2+(y-ib)^2+(z-ic)^2]\\,} $$ but it can be shown that $$ \\int \\frac{dq}{(q+iv)^2+w^2} = \\frac{\\pi}{|w|}\\theta(|w|-|v|). $$ (e.g. see here ) Thus we get that for $|(y-ib)^2+(x-ia)^2|>|a|$, $\\theta=1$ (for this is what we are interested about) and then we are left with $$ I = \\frac{1}{4i^2} \\int \\frac{dxdy}{(2\\pi)^2} \\frac{(x-ia)}{|(x-ia)^2+(y-ib)^2|}. $$ The question is wether I can make the transformation $$ (x-ia) = q \\cos \\theta $$ $$ (y-ib) = q \\sin \\theta $$ in polar coordinates. Then $dx dy = qdqd\\theta$ and the previous integral becomes, assuming $|q|>0$, $$ I = \\int_0^{\\infty} dq \\int_0^{2\\pi} d\\theta \\frac{q \\cos \\theta}{|q|} =0. $$ Is this correct? I am confused since one can find complex poles in the $I$. If not, what would the correct way to resolve this be? I have a suspicion that this integral should indeed give zero but how can we find this?",
"Was Tracy Mills a part of John Doe's plan from the beginning? In , John Doe is shown as being extremely meticulous and patient while carrying out his plan of murdering and/or torturing people in accordance with the seven deadly sins. At the end of the film, it is revealed that John Doe had killed and decapitated Tracy Mills, the wife of Detective David Mills. Was Tracy Mills his intended target from the beginning? Did John Doe decide to kill Tracy only after Detective Mills and Somerset discovered his residence?",
"Is it wasteful to use a heating element, instead of doing useful work? Consider a computer CPU consuming electrical energy to perform calculations and consequently emitting heat. Assumption: That a CPU consuming x Watts of power, emits the same amount of heat as an incandescent heating element which consumes the same amount of power. The rest of the question assumes that this is true: the energy has to go somewhere, and I can't see that the outcome of the calculations counts as \"somewhere\". I've long repeated the claim that \"wasteful\" appliances such as incandescent lightbulbs, over-full kettles, computers left running, etc. are not wasting power if we make the assumptions: the appliance is in a room which we aim to maintain at above a certain temperature, warmer than the external temperature (cf a home in winter) the room leaks heat to the outside faster than the \"wasteful\" appliances emit heat. the room contains an electric heater the electric heater is regulated by a thermostat In these circumstances, I think (?), if a light bulb produces excess heat, its only effect is to cause the thermostat to switch off sooner, so what energy you've \"wasted\" in the light bulb, is \"saved\" at the heater. I don't think that's controversial. But my question is: If a CPU does useful work, and emits all the input energy as heat as a side effect But a heating element emits the same heat, without doing useful work Is it therefore wasteful to use heating elements? Is it more efficient to (for example) run on a CPU, to get \"free\" computation as a side-effect of heating? One reason to heat a room with a heating element, rather than with CPUs, is that the heating element is much cheaper to produce. But ignoring the initial cost of the hardware, would a \"heater\" made out of 20 CPUs, each running at full capacity and consuming 50W each, output less thermal heat than a 1KW element that does nothing else useful? To be useful, of course, the CPUs would need to output the result of their computations, which would account for a tiny amount of energy. Let's assume that's negligible. I'm sure there's a flaw in there somewhere; probably that the assumption above is false. What have I missed?",
"I tried to evaluate $$\\lim_{x\\to0}\\frac{(1+x)^{1/x}-e}x$$but all my efforts were in vain . L'Hospital rule becomes very complicated.",
"Is there any way to specify a suggested filename when using data: URI?",
"Let $n \\geq 1$ be an odd integer. Show that $D_{2n}\\cong \\mathbb{Z}_2 \\times D_n$. Let $n \\geq 1$ be an odd integer. Show that $D_{2n}\\cong \\mathbb{Z}_2 \\times D_n$. I define a map $$\\phi:D_{2n} \\rightarrow \\mathbb{Z}_2 \\times D_n$$ by $R \\mapsto (0,r^{\\frac{n+1}{2}})$ and $M \\mapsto(1,m)$. Then I am stuck at showing the map is bijective. By the way, do we need to show that $(0,r^{\\frac{n+1}{2}})(1,m)(0,r^{\\frac{n+1}{2}})^{-1}=(1,m)$ ? If we can prove this, then what can we conclude?",
"There are several things that I don't understand. I know that zero is a real number, but I'm confused on the how and why aspects. What defines a real number, compared to a number that's considered non-real? For what reason is zero real, and how is it that a value such as infinity isn't when zero is? Also, what purpose does zero even have? It's obvious that it's used as a place holder, but what value does it have alone? What makes it any different from other numbers? I realize that it is typically interchanged with nothing, but that would technically mean that zero is nothing—and that's not true. People have told me already so many times that zero does not necessarily mean nothing, and I figured it out a long while ago anyway. So, what I want to know is the actual value that can be associated with zero. However, my question brings up another topic that has been argued and disputed about and disagreed on for years. Zero divided by zero, or 0/0. There are a lot of varying answers about this, but what's been constant throughout everything is that people claim 0/0 is not a real number. So, if I may ask, why is it that zero is considered a real number, and not 0/0? And why is it considered non-real in the first place? True, there is no defined value, but the expression is anything but meaningless; if it was, then there wouldn't be so many people trying to understand it. I guess what I'm trying to figure out is the reason behind the expression's classification as non-real—especially when the sole number of zero is real, despite not having an evident value. This covers a few different things, so I was uncertain about what to make the title of these questions. I apologize for that. If anyone can answer, though, I'd be extremely grateful!",
"Anti-Matter Black Holes Assuming for a second that there were a pocket of anti matter somewhere sufficiently large to form all the type of object we can see forming from normal matter - then one of these objects would be a black hole. Question is, would there be a difference between an anti matter black hole and a normal matter black hole - in terms of how would the matter/anti-matter make the black hole different, or would they be the same? I would expect the answer to be that the black hole formed from anti matter would retain the anti-matter properties in such a way that if it was to merge with a black hole at same size formed from normal matter that they would annihilate each other con convert into pure energy - Would that be a correct understanding?",
"Fast, accurate 2d collision I'm working on a 2d topdown shooter, and now need to go beyond my basic rectangle bounding box collision system. I have large levels with many different sprites, all of which are different shapes and sizes. The textures for the sprites are all square png files with transparent backgrounds, so I also need a way to only have a collision when the player walks into the coloured part of the texture, and not the transparent background. I plan to handle collision as follows: Check if any sprites are in range of the player Do a rect bounding box collision test Do an accurate collision (Where I need help) I don't mind advanced techniques, as I want to get this right with all my requirements in mind, but I'm not sure how to approach this. What techniques or even libraries to try. I know that I will probably need to create and store some kind of shape that accurately represents each sprite minus the transparent background. I've read that per pixel is slow, so given my large levels and number of objects I don't think that would be suitable. I've also looked at Box2d, but haven't been able to find much documentation, or any examples of how to get it up and running with SFML."
] | medi_sts_stackexchange_dupe |
Show that if $(x,y) =1$ then $(x-y, x+y)$ is either $1$ or $2$. | If $a,b$ are positive integers such that $\gcd(a,b)=1$, then show that $\gcd(a+b, a-b)=1$ or $2$. and $\gcd(a^2+b^2, a^2-b^2)=1$ or $2 $ | [
"Batch export Photoshop layers to individual PNG files",
"Torsion elements of a group aren't necessarily a subgroup In a question from an exam in an undergraduate group theory course, we were asked to prove or disprove that the set of all Torsion elements of a group is necessarily a subgroup. I knew that the set of Torsion elements is closed under the inverse operation, but was later told that it is not closed under multiplication, therefore disproving the claim. However, I couldn't find any examples of a group $G$ and two elements $a,b$ such that both $a$ and $b$ have a finite order, but $ab$ doesn't. I know that for this to happen $G$ must be an infinite and non-Abelian group, but still couldn't find a valid example. What are some examples of groups/elements fulfilling the aforementioned property?",
"Which is more appropriate in the following sentence? \"I asked him to not judge her according to (or: based on) her beauty\" vs \"I asked him not to judge her according to (or:based on) her beauty\" or maybe you wouldn't choose either of the above, but something else?",
"CUDA Driver API vs. CUDA runtime",
"I would like my sections to start on a new page if they do not fit on the current page. In other words: if a section fits on the current page print it, if it does not fit start printing it on the next page. I would like this to be done automatically. \\usepackage{titlesec} seems to be the solution, but I can not get it to do the job. Should it be done with titlesec? how ? Is there a better approach?",
"'pagesize' attribute ignored in hot network list Steps to reproduce: Open in Guest/Incognito mode or with cookies disabled. This will have 30 questions per page by default. Click the link and as expected, you'll see questions 1-50 with page size of 50. Go the the and see the bug: you're in the second page of 30 items per page, i.e. you'll see questions 31-60 instead 51-100 as expected. It is very annoying. Please fix it. My user-agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0 There are no plugins installed affecting the site. It happens both when logged in or not. The mechanism used to work before, but some weeks/months ago it stopped, enough to bother me to post here :) Here are all modified \"privacy\" settings from about:support page: privacy.clearOnShutdown.offlineApps true privacy.clearOnShutdown.openWindows true privacy.clearOnShutdown.siteSettings true privacy.cpd.offlineApps true privacy.cpd.openWindows true privacy.cpd.passwords true privacy.cpd.siteSettings true privacy.donottrackheader.enabled true privacy.history.custom true privacy.item.cookies true privacy.sanitize.migrateClearSavedPwdsOnExit true privacy.sanitize.migrateFx3Prefs true privacy.sanitize.pending [{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSetti privacy.sanitize.sanitizeInProgress [\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\",\"openWindows\"] privacy.sanitize.sanitizeOnShutdown true privacy.sanitize.timeSpan 0 privacy.trackingprotection.enabled true privacy.trackingprotection.introCount 20",
"What are the correct settings for min-memory and max-memory in this use case? The server has 8GB ram, dual Intel Xeon processors, running Windows Server 2008 R2 / Sql Server 2008 Standard Edition. It's running several databases ranging from 30GB - 5GB in size. Originally the memory usage was set to the default settings (min=0 max=2,147,483,647). On these settings most of the memory usage was taken up by sqlservr.exe and the server would eventually need to be restarted every day or two. It would run normally at first but within a day start to timeout on simple operations like looking up a record using the primary key. I have changed min=4,096 and max=6,144. This results in only 1.4GB memory usage. However now all four cpus are running at 50-60% cpu usage constantly. Tasks are taking roughly 1/3rd longer to execute, although the server is much more stable.",
"Fitting an infinite collection of balls in an infinite dimensional unit ball Given an infinite dimensional normed linear space, how would one show that it is possible to fit an infinite collection of non-overlapping balls of radius $\\frac{1}{4}$ in the unit ball? I guess one can immediately reduce the problem to a normed linear space of countably infinite dimensions. The solution seems clear if the concept of orthogonality exists, but not every normed linear space has an inner product so it's not possible to apply something like Gram-Schmidt to produce an orthogonal basis. Is there any way around this, or there another approach that can be used?",
"I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error: Unable to find the requested file. Please check the spelling and try again. Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue? Edit: Output of lsblk is following: (ubuntu is installed in sda5) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 119.2G 0 disk ├─sda1 8:1 0 91.3G 0 part ├─sda2 8:2 0 1K 0 part ├─sda5 8:5 0 24.1G 0 part / └─sda6 8:6 0 3.8G 0 part [SWAP] sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 93.2G 0 part ├─sdb2 8:18 0 1K 0 part ├─sdb5 8:21 0 93.2G 0 part ├─sdb6 8:22 0 89.3G 0 part ├─sdb7 8:23 0 93.2G 0 part ├─sdb8 8:24 0 93.2G 0 part └─sdb9 8:25 0 3.8G 0 part sr0 11:0 1 1024M 0 rom After opening the disk drive the output of lsblk is bellow: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 119.2G 0 disk ├─sda1 8:1 0 91.3G 0 part ├─sda2 8:2 0 1K 0 part ├─sda5 8:5 0 24.1G 0 part / └─sda6 8:6 0 3.8G 0 part [SWAP] sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 93.2G 0 part ├─sdb2 8:18 0 1K 0 part ├─sdb5 8:21 0 93.2G 0 part ├─sdb6 8:22 0 89.3G 0 part /media/angel/DOC ├─sdb7 8:23 0 93.2G 0 part ├─sdb8 8:24 0 93.2G 0 part └─sdb9 8:25 0 3.8G 0 part sr0 11:0 1 1024M 0 rom The output of sudo blkid gives the following information about sdb6: /dev/sdb6: LABEL=\"DOC\" UUID=\"04280A22280A12FA\" TYPE=\"ntfs\"",
"UFW Allows 22 for IPv4 and IPv6 but SSH Disconnects When Enabling sudo ufw disable followed by sudo ufw enable kicks me out of SSH DMESG reports [UFW BLOCK] IN=eth0 OUT= MAC=30:........ SRC=192.168.1.me DST=192.168.1.server LEN=52 TOS=0x00 PREC=0x00 TTL=128 ID=15776 DF PROTO=TCP SPT=55640 DPT=22 WINDOW=253 RES=0x00 ACK URGP=0 I can log back in without having to change rules via the console (UFW still enabled). This started after upgrading Xenial (16.04) from kernel 4.4 to 4.15 (HWE). Upgrading to 18.04.1 did not solve the issue. Versions: iptables v1.6.1 ufw 0.35 4.15.0-29-generic #31-Ubuntu Ubuntu 18.04.1 LTS UFW status verbose is (some rules were omitted, but they are all ALLOW) Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip To Action From -- ------ ---- 22 ALLOW IN Anywhere 22 (v6) ALLOW IN Anywhere (v6) Why is this happening, or at least, how to revert to the expected behavior? I looked at , and I am not sure it applies, but here's /etc/ufw/before.rules # # rules.before # # Rules that should be run before the ufw command line added rules. Custom # rules should be added to one of these chains: # ufw-before-input # ufw-before-output # ufw-before-forward # # Don't delete these required lines, otherwise there will be errors *filter :ufw-before-input - [0:0] :ufw-before-output - [0:0] :ufw-before-forward - [0:0] :ufw-not-local - [0:0] # End required lines # allow all on loopback -A ufw-before-input -i lo -j ACCEPT -A ufw-before-output -o lo -j ACCEPT # quickly process packets for which we already have a connection -A ufw-before-input -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A ufw-before-output -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A ufw-before-forward -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT # drop INVALID packets (logs these in loglevel medium and higher) -A ufw-before-input -m conntrack --ctstate INVALID -j ufw-logging-deny -A ufw-before-input -m conntrack --ctstate INVALID -j DROP # ok icmp codes for INPUT -A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT -A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT -A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT -A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT -A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT # ok icmp code for FORWARD -A ufw-before-forward -p icmp --icmp-type destination-unreachable -j ACCEPT -A ufw-before-forward -p icmp --icmp-type source-quench -j ACCEPT -A ufw-before-forward -p icmp --icmp-type time-exceeded -j ACCEPT -A ufw-before-forward -p icmp --icmp-type parameter-problem -j ACCEPT -A ufw-before-forward -p icmp --icmp-type echo-request -j ACCEPT # allow dhcp client to work -A ufw-before-input -p udp --sport 67 --dport 68 -j ACCEPT # # ufw-not-local # -A ufw-before-input -j ufw-not-local # if LOCAL, RETURN -A ufw-not-local -m addrtype --dst-type LOCAL -j RETURN # if MULTICAST, RETURN -A ufw-not-local -m addrtype --dst-type MULTICAST -j RETURN # if BROADCAST, RETURN -A ufw-not-local -m addrtype --dst-type BROADCAST -j RETURN # all other non-local packets are dropped -A ufw-not-local -m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny -A ufw-not-local -j DROP # allow MULTICAST mDNS for service discovery (be sure the MULTICAST line above # is uncommented) -A ufw-before-input -p udp -d 224.0.0.251 --dport 5353 -j ACCEPT # allow MULTICAST UPnP for service discovery (be sure the MULTICAST line above # is uncommented) -A ufw-before-input -p udp -d 239.255.255.250 --dport 1900 -j ACCEPT # don't delete the 'COMMIT' line or these rules won't be processed COMMIT PS: I didn't expect this to \"fix\" the issue but just for reference I changed the port SSHD listens on (and the corresponding rule) and the problem persists.",
"How do I convert a light circuit with a single pole switch to use two 3-way switches? I have a box in the hall which includes a 3-way switch (with another switch at the other end of the hall), a single pole switch to the garage lights and a single pole switch to the exterior lights on the garage. The single pole switch to the garage is wired with a 3 wire plus ground. The white and black wires feed the garage lights from the switch and the red wire feeds the garage ceiling outlets and is hot all the time. In the garage I would like to add a 3-way switch for the garage lights and another 3-way switch for the exterior garage lights. In other words I would like to be able to turn on both of those light locations from both the inside hall and the garage as well. I know that I will of course have to replace the existing single pole switches in the hall with 3-way switches and add a junction box in the garage with 2 3-way switches in it. The thing that I don't know is what wiring connections I need to make. Can you help?",
"Find the radius of the inscribed circle of a right triangle. Find the radius of the inscribed circle of a right triangle. The triangle's height is $\\sqrt{6} + \\sqrt{2}$ while the bisector of the right angle is 4. This seemed like a generic similar triangles problem but it isn't that simple when I tried to solve it. Any help? EDIT: Here is a picture of the problem",
"Is there a max length for an array in C++? Is it a C++ limit or does it depend on my machine? Is it tweakable? Does it depend on the type the array is made of? Can I break that limit somehow or do I have to search for a better way of storing information? And what should be the simplest way? What I have to do is storing long long int on an array, I'm working in a Linux environment. My question is: what do I have to do if I need to store an array of N long long integers with N > 10 digits? I need this because I'm writing some cryptographic algorithm (as for example the p-Pollard) for school, and hit this wall of integers and length of arrays representation.",
"Proof : $2^{n-1}\\mid n!$ if and only if $n$ is a power of $2$. I want to prove that: $2^{n-1}\\mid n!$ if and only if $n$ is a power of $2$.",
"Is there a way to force Google Photos to recognize new faces?",
"At 12 o'clock, the hour hand and minute hand of the clock can be swapped, and the clock still gives the same time, but at 6 o'clock, it can not be swapped. So in what cases when we swap the hour and the minute hand position does a clock still give a valid time?",
"What's the difference between a projection and a datum?",
"How to send parameter from jsp page to jasper file",
"Twisted serialport dataReceived() provides fragmented data",
"If I'm playing the Hilltop farm in co-op - what farmer's mining level is used for the hilltop spawns?"
] | medi_sts_stackexchange_dupe |
regression with multiple response variable in R | How to do a generalized linear model with multiple dependent variables in R? | [
"How to make `sudo` preserve $PATH?",
"For example, if the ex-dividend date is next Monday, and I buy the stock on next Monday, would I get the dividend? Or would the person who sold the stock to me get the dividend?",
"Proof: $\\det\\pmatrix{\\langle v_i , v_j \\rangle}\\neq0$ $\\iff \\{v_1,\\dots,v_n\\}~\\text{l.i.}$",
"tput: No value for $TERM and no -T specified I am trying to run a bash script I have via cron, and I am getting the following error at the beginning of the execution: tput: No value for $TERM and no -T specified Here is what is in my crontab: 0 8 * * 1-5 cd /var/www/inv/ && /var/www/inv/unitTest run all 2>&1| mail -r \"[email protected]\" -s \"Daily Inventory Unit Test Results\" [email protected]",
"In the last 30 years, human technology has developed massively. Every year a new smartphone is released with a faster processor, more memory, better features. Why hasn't the same level of progress happened in the Star Wars universe? In The Phantom Menace, we see a number of droids - R2 units, C-3PO, Pit Droids, etc. In Return of the Jedi - the droids we see pretty much have the same capabilities. I would have thought that technology would still be progressing in the Star Wars universe - but it appears to have stopped. During wars on Earth, our technology capabilities grow - so it can't just be the effect of a massive war which is causing the stagnation of development. So, what gives?",
"$G$ a group and $H, K\\mathrel{\\unlhd}G$. Assuming that $H \\cap K = \\{1_G\\}$ and $G = \\langle H, K \\rangle$, prove that $G \\cong H \\times K$ I am trying to prove the following statement: Let $G$ be a group and $H, K\\mathrel{\\unlhd}G$. Assuming that $H \\cap K = \\{1_G\\}$ and $G = \\langle H, K \\rangle$, prove that $G \\cong H \\times K$. From this, we get that $HK \\cong H \\times K$. Naturally, it would be ideal if I could prove that $HK \\cong G$. One issue that I am facing here is the meaning of $G = \\langle H, K \\rangle$. How is this defined (I mean, more explicitly)? Is my strategy correct or",
"When trying to install CrossOver deb I get \"Error: Dependency is not satisfiable libpng12-0\" I have tried to install libpng12-0 but it still doesn't work. Here: How do I fix this?",
"Difference estimate & confidence intervals for $\\chi^2$ test between 2 proportions I am using a chi-sq test between two proportions (). I am using this over the z-test for proportions because I do not think my data is normal. My question is how do I get the difference (shift) estimate & confidence intervals for this test. For example, Data1: 193/252=.77 Data2: 154/227=.68 P-value=.032 (I used the formula in the link above. I will also add my exact code below) Shift Estimate: I assume its the difference between proportions, ie .77-.68=.09. Is this correct? Confidence Interval: ?????????????????? Code for generating P-value (matlab): % Pooled estimate of proportion p0 = (n1+n2) / (N1+N2); % Expected counts under H0 (null hypothesis) n10 = N1 * p0; n20 = N2 * p0; % Chi-square test, by hand observed = [n1 N1-n1 n2 N2-n2]; expected = [n10 N1-n10 n20 N2-n20]; chi2stat = sum((observed-expected).^2 ./ expected); p = 1 - chi2cdf(chi2stat,1); H=0; if(p<.05), H=1; end",
"Search and download audio-only from youtube Is there a way to search and then download from YouTube, with the situation that I only need to download the audio only, not the video.",
"Is there a bijection of the natural numbers which swaps $\\frac{1}{n}$-summable subsets with $\\frac{1}{\\sqrt{n}}$-summable subsets? Let me start with a precise statement of the question. For a subset $A\\subseteq \\mathbb{N}$ and a series of positive real numbers $\\sum_{n=0}^\\infty a_n$, I'll use the notation $\\sum_A a_n$ as a shorthand for $\\sum_{n\\in A} a_n$. Is there a bijection $f:\\mathbb{N}\\rightarrow \\mathbb{N}$ with the property that for every $A\\subseteq \\mathbb{N}$, $\\sum_A \\frac{1}{n}$ converges iff $\\sum_{f(A)} \\frac{1}{\\sqrt{n}}$ converges? Background: Fix a series of positive terms $\\sum_{n=0}^\\infty a_n$. Given a subset $A\\subseteq \\mathbb{N}$, call it $a_n$-small if $\\sum_A a_n$ converges. The following proposition is easy to prove: Proposition: The set $\\{A\\subseteq \\mathbb{N}: A\\text{ is } a_n\\text{-small}\\}\\cup \\{\\mathbb{N}\\}$ is a topology of closed sets on $\\mathbb{N}$. I will use the notation $(\\mathbb{N},a_n)$ to refer to this topology. Then one can ask how topological properties of $(\\mathbb{N},a_n)$ are related to series properties of $\\sum a_n$. For example, I can show: Proposition: The following are equivalent. $\\sum a_n$ converges. $(\\mathbb{N},a_n)$ is discrete. $(\\mathbb{N},a_n)$ is disconnected. $(\\mathbb{N},a_n)$ is Hausdorff And there are other nice things. For example, $(\\mathbb{N},a_n)$ is compact iff $(\\mathbb{N},a_n)$ is cofinite iff $\\liminf a_n > 0$. With this language, my question can be reformulated as... Are $\\left(\\mathbb{N}, \\frac{1}{n}\\right)$ and $\\left(\\mathbb{N}, \\frac{1}{\\sqrt{n}}\\right)$ homeomorphic? I have made very little progress on this. Of course, the identity function $i:(\\mathbb{N}, \\frac{1}{\\sqrt{n}})\\rightarrow (\\mathbb{N}, \\frac{1}{n})$ is a continuous bijection, but the inverse map is not continuous. Also, if there is such a bijection, there there is such a bijection with agrees with $i$ on any preassigned finite set. Edit I thought I add in a slightly suprising (to me, at least) example when things work out to be homeomorphic. Begin with a convergent series $\\sum c_n$. and divergent series $\\sum a_n$ with $\\lim a_n = 0$. Create a new series $b_n$ using all the terms of $c_n$ and $a_n$ (in whatever order you wish). Then $(\\mathbb{N}, a_n)$ and $(\\mathbb{N}, b_n)$ are homeomorphic. The idea is that since $\\lim a_n = 0$, there is a convergent infinite subseries $\\sum_A a_n$. Then we use a bijection which with $A$ and $A\\cup \\{\\text{indices of }c_n\\}$ to "squeeze" the $c_n$ in without changing the topology. Of course, I am glossing over many details, but I can include them if desired.",
"Silencing \"Your disk is almost full\" notification",
"Short way for upper triangularization",
"Comaximal ideals in a commutative ring",
"I use a very custom style (not mine) and very frequently I get a heading on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. The same is true for listings and the listing description. Is there a general way how I can adjust the \"badness\" of these events? Or can I adjust when a section heading would be on the last, say, 3cm of a page it should go to the next page? Or can I say, if a *listing description\" is on the top 3cm of a page pull 5 more listing lines from the last page onto this page? The style I use does not use standard structure tags and environments. But lets call them section, subsection, listing and I will try to migrate them to my lingo.",
"Sharing alignment between equations in two different items In the following minimal example, I have two equations inside an itemize environment, with an item per equations. Each equation is defined in its own equation environment. \\documentclass{article} \\usepackage{amstext} \\begin{document} \\begin{itemize} \\item Lorem ipsum dolor sit amet, consectetur adipiscing elit: \\begin{equation} f(x) = \\left\\{ \\begin{array}{l l} 1 & \\text{ nisl justo, hendrerit} \\\\ 0 & \\text{ sagittis condimentum}\\\\ \\end{array} \\right. \\end{equation} \\item Duis magna nunc, ultrices at fringilla non, feugiat sed massa: \\begin{equation} g(x) = \\left\\{ \\begin{array}{l l} -1 & \\text{ fermentum fringilla mauris eget} \\\\ 0 & \\text{ gravida ipsum vitae}\\\\ \\end{array} \\right. \\end{equation} \\end{itemize} \\end{document} However, each equation has its own alignment, giving the following result: It would be nice (I think) if both equations could be aligned in the same way, something like this: Is this possible? Note: it would be nice if the solution could be also applied to equations in different paragraphs. UPDATE: presented a very nice solution, which is currently the most upvoted, but it does not work quite well: \\documentclass{article} \\usepackage{amsmath} \\begin{document} This is a list. \\begin{itemize} \\item First item. \\begin{align*} f(x) &= \\begin{cases} 0 & \\text{now} \\\\ 1 & \\text{then} \\end{cases} \\intertext{\\item Second item.} g(x) &= \\begin{cases} 0 & \\text{here and there} \\\\ -1 & \\text{to and fro} \\end{cases} \\end{align*} \\end{itemize} After the list. \\end{document} Can you see? \"now\" and \"then\" are not aligned to \"here and there\" and \"to and fro\". Can we solve this? :)",
"How to combine bold and \"code sample\" in Markdown?",
"Application of Kolmogorov's Zero-One Law Most of the books I read, they only state some examples of tail events. One of them is $[\\sum_n X_n \\ converges]$. My main problem is to show that this is indeed a tail event.",
"Pre & post increment operator behavior in C, C++, Java, & C#",
"Homework - set theory infinite union A question from my homework I'm having trouble understanding. We are given: $A(1) = \\{\\varnothing\\}$, $A(n+1) = A(n)\\cup (A(n)\\times A(n))$ $A=A(1)\\cup A(2)\\cup A(3)\\cup \\cdots \\cup A(n)\\cup A(n+1) \\cup \\cdots$ to infinity The questions are: 1) show that $A\\times A \\subseteq A$ 2) Is $A \\times A = A$? Thank you for your help. I've tried writing $A(2)$ but it gets really complicated and I'm having trouble understanding what the sets are. Let alone solve the question.",
"Advantages/Disadvantages of Partitioning a Drive I have a 100GB hard drive in my Win XP Pro desktop. I use an external 250GB drive for backups, and am wondering if there would be any advantages to partitioning my internal hard drive. I understand that some people like to keep their OS and programs on one partition, and their data on another partion on the same hard drive. I'd like people to list the advantages, or note any disadvantages. Thanks."
] | medi_sts_stackexchange_dupe |
How do I create a C wire? | How can I add a "C" wire to my thermostat? | [
"What does Use an Object cover?",
"Are the XBLA and PC versions of Minecraft compatible?",
"regex error - nothing to repeat",
"I use this command in the terminal to run the minecraft launcher with java 8: /home/max/Java/jre1.8.0_25/bin/java -jar Minecraft.jar I included the full java path because I installed it on /home as a normal user and i want to include it. That command works, it opens the launcher with Java 8 but I want to make a bash file so I don't have to open the terminal. And, most important, I don't want the terminal to remain open when I click play in the Minecraft launcher and the game starts. Now if i close manually the terminal when the game have started, the game is closed too.",
"Use Complete Induction of set theory to prove $\\frac{1}{\\sqrt{1}} + \\frac{1}{\\sqrt{2}} + \\frac{1}{\\sqrt{3}} + ... + \\frac{1}{\\sqrt{n}} > \\sqrt{n}$.",
"My recipe for hummus says to cook the garbanzo beans with a little baking soda to soften them. Does this work with other legumes? I've often seen the advice against salting the cooking water for beans, as it supposedly toughens them. Will a different sodium compound, bicarbonate, have the opposite effect? Would love to know the science of this issue.",
"Use property to show that if $f_n \\rightarrow f$ in measure on finite measure set $E$ then $f_n^2 \\rightarrow f^2$ in measure on $E$. Consider the following problem: Let $E$ have finite measure, $\\{f_n\\} \\rightarrow f$ in measure on $E$ and $g$ be a measurable function on $E$ that is finite almost everywhere. Use the fact that $\\{f_n \\cdot g\\} \\rightarrow f_n \\cdot g$ to prove that $\\{f_n^2 \\} \\rightarrow f^2$ in measure on $E$. Infer from this that if $\\{g_n\\} \\rightarrow g$ in measure on $E$ then $\\{f_n \\cdot g_n \\} \\rightarrow f \\cdot g$ in measure on $E$. I'm struggling understand how I can apply the fact that $\\{f_n \\cdot g\\} \\rightarrow f_n \\cdot g$ in measure to prove that $\\{f_n^2 \\} \\rightarrow f^2$ in measure. I've been able to come up with a proof of the fact that if $\\{g_n\\} \\rightarrow g$ in measure then $\\{f_n \\cdot g_n \\} \\rightarrow f \\cdot g$ in measure, and this clearly implies the claim that $\\{f_n^2 \\} \\rightarrow f^2$ in measure. Unfortunately my proof doesn't rely on the fact that $\\{f_n \\cdot g\\} \\rightarrow f_n \\cdot g$ so it doesn't answer the problem since it explicitly asks us to prove it a certain way. So far my best attempt to utilize the fact is as follows. Let $\\eta > 0$ then by triangle inequality and monotonicity of measure \\begin{align*} \\lim_{n\\rightarrow \\infty}\\mu\\left\\{ \\left|f_n^2 - f^2\\right| > \\eta \\right\\} &\\leq \\lim_{n\\rightarrow \\infty}\\mu \\left\\{\\left|f_n - f\\right|\\cdot \\left|f_n\\right| + \\left|f_n - f\\right| \\cdot \\left|f\\right| > \\eta \\right\\} \\\\ &\\leq \\lim_{n\\rightarrow \\infty}\\mu\\left\\{\\left|f_n - f\\right|\\cdot \\left|f_n\\right| > \\eta/2 \\right\\} + \\lim_{n\\rightarrow \\infty}\\mu\\left\\{\\left|f_n - f\\right| \\cdot \\left|f\\right| > \\eta/2 \\right\\} \\end{align*} By the fact that $\\{f_n \\cdot f\\} \\rightarrow f \\cdot f$ in measure \\begin{equation*} \\lim_{n\\rightarrow \\infty}\\mu\\left\\{\\left|f_n - f\\right| \\cdot \\left|f\\right| > \\eta/2 \\right\\} = \\mu\\left\\{\\left|f_n \\cdot f - f\\cdot f\\right| > \\eta/2 \\right\\} = 0. \\end{equation*} I don't see how to deal with the other limit without first proving the most general statement $\\{f_n \\cdot g_n \\} \\rightarrow f \\cdot g$ in measure. Any help or advice is greatly appreciated.",
"Environment.TickCount vs DateTime.Now",
"Is the function $f(x)=|x|^{1/2}$ Lipschitz continuous near $0$? If yes, find a constant for some interval containing $0$. I think the answer is yes since I can find $L=1$ that satisfies Lipschitz continuity criteria in a interval close to $0$, am I right?",
"On Travel-SE, there are currently awarded. However, when one uses the search interface with views:2500, . The two numbers should be equal, and it's difficult to explain the difference with caching issues. As the number of views is ever-increasing (as we all know, it's impossible to un-see things, unfortunately), this seems like a bug. Or perhaps I'm doing something wrong? Also, some questions which should qualify don't appear on the search page. See , for example. None of these questions are closed or deleted: views:2500 closed:yes and views:2500 deleted:yes return 0 results. Eeeek?",
"We can apply l’Hôpital’s Rule to the indeterminate quotients $ \\dfrac{0}{0} $ and $ \\dfrac{\\infty}{\\infty} $, but why can’t we directly apply it to the indeterminate difference $ \\infty - \\infty $ or to the indeterminate product $ 0 \\cdot \\infty $? Furthermore, why can’t we call $ \\infty + \\infty $ and $ \\infty \\cdot \\infty $ indeterminate forms? I’m new to calculus, so please clear up my concepts if you can. Thanks!",
"I am encountering two definitions of the special orthogonal lie algebra, and I would like to know if they are equivalent, and if there are advantages to working with one over the other. If we begin with an $n$-dimensional vector space $V$ over a field $k$ and a chosen basis, we can define a bilinear form on $V$ by a matrix $S\\in M_n(k)$, ie, let $\\langle v,w\\rangle=v^tSw$ for all $v,w\\in V$. Now $g\\in GL_n(k)$ preserves the form ($\\langle g(v),g(w)\\rangle=\\langle v,w\\rangle$) if and only if $g^tSg=S$, so all such $g$ form a linear algebraic group $G$. The tangent space at the identity of $G$ will be contained in that of $GL_n(k)$, so $T_eG\\subset T_eGL_n(k)=M_n(k)$, and in fact, $T_eG=\\{B\\in M_n(k)\\mid B^tS+SB=0\\}$. $T_eG$ becomes a lie algebra, $Lie(G)$, if we define the bracket to be the commutator of two matrices. Now, if $S=I_n$, it follows that $G=O_n(k)$ is the orthogonal group of matrices satisfying $g^tg=I_n$, and $Lie(G)=\\mathfrak{so}_n$ is the lie algebra of antisymmetric matrices. In Humphrey's Introduction to Lie Algebras and Representation Theory, he defines $\\mathfrak{so}_n$ to be all matrices $B$ satisyfing $B^tS+SB=0$, where $$ S=\\begin{pmatrix} 1&0&0\\\\ 0&O&I_l\\\\ 0&I_l&O \\end{pmatrix} \\hspace{.5in}\\text{or}\\hspace{.5in} S=\\begin{pmatrix} O&I_l\\\\ I_l&O \\end{pmatrix} $$ depending on the parity of $n$. The matrices obtained in this way are not antisymmetric, nor is the group $G$ preserving the form defined by $S$ the orthogonal group $O_n(k)$. Are the two groups obtained from considering different $S$ isomorphic? Are the two lie algebras isomorphic? If so, why would one prefer one form to the other?",
"Where can I find the status of the released versions of Ubuntu? I want to know where I can find updated information about all the stable and in-development versions of Ubuntu, where I can find this information? This question is meant to be a canonical question. It expects to answer the following questions: Is X version stable yet? Is X version in beta? Is X version still supported? What versions are still supported? What are the versions in Beta/Alpha? Until where X version will be supported? Have X version ceased support? When will be X version released? Where I can download any release? When will the next LTS version of Ubuntu be released? The list is not exhaustive.",
"What's a good beginner resource to learn group theory?",
"How can I remove a trailing newline? What is the Python equivalent of Perl's chomp function, which removes the last character of a string if it is a newline?",
"Magento: Merge Product Description and Addition Information Tab",
"Custom right-click action in Unity Launcher keeps cursor busy for 20 seconds To have a \"minimize window\" option through right click on an icon in the Unity launcher (Ubuntu 14.04), I followed the detailed instructions about changing a .desktop file and made a custom Firefox launcher in ~/.local/share/applications/ folder. The relevant part of the .desktop file is: Actions=NewWindow;NewPrivateWindow;Minimize [Desktop Action NewWindow] Name=Open a New Window Exec=firefox -new-window OnlyShowIn=Unity; [Desktop Action NewPrivateWindow] Name=Open a New Private Window Exec=firefox -private-window OnlyShowIn=Unity; [Desktop Action Minimize] Name=Minimize Windows Exec=sh /home/myusername/Documents/xdotool_sh/minimize.sh firefox OnlyShowIn=Unity; The desktop action \"Minimize\" invokes a simple shell script, minimize.sh that has the following content: #/bin/bash name=$1 for i in $(xdotool search --class \"$name\"); do xdotool windowminimize $i done The script uses xdotool, that can be installed from the official repositories, to find all the firefox windows, iterate over them and minimize them. The script works and the launcher right menu option \"Minimize Windows\" works as well, but as soon as the windows are minimized, the mouse pointer gets in \"busy\" mode and stays like this for about 20 seconds (although the mouse actions are still responsive). Does anyone know why starting a shell script from a right menu option in Unity could lead to this behaviour? EDIT: Apparently the wait period is inevitable, as explained in Jacob Vlijm's answer. Since the mouse remains responsive, avoiding the transformation of the pointer in the spinning wheel is a partial esthetic workaround, as explained on . EDIT2: giving the system a fake window is a better solution, as explained by Jacob below.",
"Can't connect to wireless 13.10 I have ubuntu installed as the sole OS on a T420. Before this I had installed the #! distro (and Xubuntu before that) and wireless worked seamlessly on either. My home hotspot shows up but when I click on it tries for a while before disconnecting. Before going into the problem further, I wanted to double check that I entered the wifi password for my home network correctly. I went to Edit Connections >> Wi-Fi Security and changed the key, but it is still not able to connect. So I think the password is definitely correct. I don't understand why it can't connect now.",
"Every ordered field has a subfield isomorphic to $\\mathbb Q$? I'm going through the first chapter in a text on real analysis, which contains preliminaries on ordered fields, the real numbers, etc. Supposedly I had learned about such things already, in calculus, but I thought it wouldn't hurt to go over it again. Up until the paragraph which is the subject of my question, everything is thoroughly proven and examples are provided. However the following excerpt just goes through facts, whose proof I cannot conceive: Although $\\mathbb Q$ is an archimedean field, these properties cannot be used to define $\\mathbb Q$ since $\\\\$ there are many Archimedean ordered fields. What distinguishes $\\mathbb Q$ from the other $\\\\$Archimedean ordered fields is that $(\\mathbb Q,<)$ is the $smallest$ ordered field in the following sense: $\\\\$ if $(X,\\prec)$ is an ordered field, then $X$ contains a sub-field which is (field) isomorphic to $\\mathbb Q$.$\\\\$ Furthermore such an isomorphism preserves the order relation. I've concatenated the paragraph a bit, so the text isn't idem from the book (if anyone wishes to know it's Phillips, An Introduction to Analysis and Integration Theory, Dover Publications). Also $\\mathbb Q$ contains no proper subfields, and this can be verified by the apparently easy-to-prove fact that, if a field has characteristic zero, then it contains a subfield isomorphic to $\\mathbb Q$. Then it remains to prove the preservation of order. I'm guessing that some concepts from abstract algebra or field theory would easily suffice, but at the moment such topics are a bit over my head, so all I can think of doing is actually constructing the isomorphism $\\phi:\\mathbb Q\\to\\hat{\\mathbb Q}$, where $\\hat{\\mathbb Q}$ is a certain subfield of $X$ in such a way that field operations are preserved, but I really can't come up with anything. So the question is: how do I construct this isomorphism, or, if there's a better way of proving this, how is it done? Thanks for any help. Edit: Assume the existence of $(\\mathbb Q,<)$ as an archimedean ordered field.",
"Configuring ADB for Nexus 4 on Ubuntu 11.10 I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to install them on Ubuntu. How can I install the drivers on Ubuntu 11.10 so that ADB will recognize my N4?"
] | medi_sts_stackexchange_dupe |
Can someone show me how to use HTML or other coding for links? | How do I write a URL in Markdown on Stack Exchange? | [
"Incompatibility between TikZ and babel In my preamble, you'll find: \\renewcommand{\\baselinestretch}{1} \\renewcommand{\\familydefault}{\\sfdefault} \\usepackage[sfmath]{kpfonts} \\usepackage[mathrmOrig]{sfmath} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{amsfonts} \\usepackage{animate} \\usepackage{anysize} \\usepackage{arcs} \\usepackage{array} \\usepackage[scale=0]{background} \\usepackage{blindtext} \\usepackage{calc} \\usepackage{cancel} \\usepackage{chngcntr} \\usepackage{CJK} \\usepackage{CJKspace} \\usepackage{CJKpunct} \\usepackage{colortbl} \\usepackage{enumitem} \\usepackage{epstopdf} \\usepackage{etoolbox} \\usepackage{fancybox} \\usepackage{fancyhdr} \\usepackage{float} \\usepackage{framed} \\usepackage{graphicx} \\usepackage{hyphenat} \\usepackage{ifthen} \\usepackage{latexsym} \\usepackage{lmodern} \\usepackage{multicol} \\usepackage{multirow} \\usepackage{mwe} \\usepackage{pgffor} \\usepackage{rotating} \\usepackage{tabularx} \\usepackage{textcomp} \\usepackage{tgheros,tgtermes,tgcursor} \\usepackage{tikz} \\usepackage{times} \\usepackage{tipa} \\usepackage{varwidth} \\usepackage{wasysym} \\usepackage{wboiboites} \\usepackage[abs]{overpic} \\usepackage[breaklinks,colorlinks=true,linkcolor=red,citecolor=red, urlcolor=blue]{hyperref} \\usepackage[framemethod=TikZ]{mdframed} \\usepackage[breakable, theorems, skins]{tcolorbox,empheq} \\usepackage[default]{gillius} \\usepackage[document]{ragged2e} \\usepackage[latin1]{inputenc} \\usepackage[spanish]{babel} \\usepackage[T1]{fontenc} \\usepackage[total={18.59cm,26.5cm},left=1.5cm,top=2.5cm]{geometry} \\usetikzlibrary{matrix,arrows, positioning,shadows,shadings,backgrounds,calc, shapes, tikzmark} \\usetikzlibrary{shadows.blur} \\usetikzlibrary{shapes.symbols} \\usetikzlibrary{patterns,fadings} \\tcbuselibrary{skins,breakable,listings,theorems} I'm trying to draw an arrow for X axis and Y axis. \\begin{tikzpicture} \\draw[yellow!10, fill=blue!5](-1, -1) rectangle (7, 5); \\draw[dotted] (-0.75,-0.75) grid (6.75,4.75); \\node[below] at (-0.25,0){$O$}; \\draw[->,black, thick] (-0.75,0)--(6.75,0); \\end{tikzpicture} But I get this error: Additionally, if I remove -> from the options of \\draw the tikz picture compiles normally.",
"Sci-fi series: humans are immune to telepathy, become soldiers for an alien group fighting against invertebrate telepaths",
"During The Great Battle of the Last Alliance, there were an estimated 100,000 elves that fought with the armies of Isildur. This was one of the first scenes in the first LOTR movie. However, in the trilogy, it appears that only a small number of elves show up to Helms Deep and overall left the majority of the fighting to the humans. Why did the elves not participate during the rest of the war?",
"I'm wondering a point about N'Zoth. He will summon my dead deathrattle minions, but will he do it in a specific order (death order, mana cost order, ...) ? Or randomly ? If there is already a few minions on my side of the board, I'd like to predict which minions will be summoned and which ones will not (because board is full). If it's by death order, this generally means lower cost minions (like fire bat) will be summoned before the interesting big drops (sylvanas, highmane or so).",
"Is \"Don't do it\" a valid answer? If someone asks how to do XYZ, and you think doing XYZ at all is a Bad Idea™, is it valid to post an answer saying so? You aren't answering the question, but instead, arguing the question's validity. You could do this in a comment, but I don't think comments carry enough weight on occasion. For example, I came across this today ; for those not wanting to link away: I would like to build a wiki based website about professors, so that students can share information and check the reputation of the professor before working for him. and I really wanted to post an answer that said, \"I think this is a very bad idea\". (In fact I did anyway, despite awareness that it could get myself flamed.) Was I wrong? What should I have done instead?",
"How to Fix \"Read-only file system\" error when I run something as sudo and try to make a folder/file? When I try to save something or rename a file/folder it say this error \" Read-only file system\" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/\"My User Name\"/0: Read-only file system W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists or status file could not be parsed or opened. When I make a Folder the error dialog in the details with Nautilus is this: Error creating directory: Read-only file system I would show you I picture of it but it isn't even letting my save onto my flash drive. Please help me.",
"Internet through wireless hotspot, intranet through wired network - can I use both at the same time?",
"2018 monthly product team updates Mid-2017 started publishing monthly updates. This post will continue that effort into 2018. (.) Updates are posted at the beginning of the month. They cover what was done last month, what is still in progress and new work that will be started in the current month. Updates: (CoC, nav, OpenID, responsive design, bugs, campaigns) (CoC, comment flags, nav, OpenID) (question wizard, nav, user survey, OpenID) (tag watching, GDPR) (responsive design, tags, teams) (responsive design, OpenID, teams, sponsorship) (responsive design, facebook auth, question lists, teams) (newsletter, sign up, Documentation reputation, channels) (top bar issues, hats, question template)",
"Trying to identify a story about breaking out of a predefined path and no one notices I vaguely remember reading a short story many years ago where something happens and the protagonist gets a bit \"out of step\" with the rest of the world. Everyone else keeps acting as if he's still doing what he would have been doing before the event, to the point of carrying on one-sided conversations and the like. I can't remember much of the plot, but the premise stuck with me. Edit: To try and explain it more clearly, based on the comment I just wrote, I think everyone else was effectively acting like they were robots with a prerecorded program. If someone would normally wake up, drink coffee, put on pants, then walk out the door to catch a bus, then if the protagonist broke his coffee cup, stole his pants, and jammed the door, the victim would pour coffee into a broken/nonexistent cup, walk out pantsless, but when he got to the jammed door he might suddenly realize something was up (and thus being \"out of step\" spreads) or he might continue to go through the motions. In either case, no one else would notice that the victim was pantsless (or that he didn't make it to work)... How much of this actually came up in the story, I don't remember.",
"How to turn the white colour portion to transparent I got this map icon in work in illustrator, and would like to turn those white dash line and the white outline of the location mark to transparent. Can you please advise me how to do it? Thank you in advance.",
"I've read some great on-topic example questions on Area 51. My questions: Should a proposed site's \"Great On-Topic Example\" questions be automatically included in its beta? Will a proposed site's \"Great On-Topic Example\" questions be automatically included in its beta?",
"Is $\\sum_{n=1}^\\infty \\frac{\\sin(2n)}{1+\\cos^4(n)}$ convergent? As I was just checking this 'child prodigy' out on Youtube, I stumbled upon video, in which Glenn Beck asks the kid to do the following proof: Further on, the kid starts sketching a proof (without a shadow of a doubt regarding the accuracy of his solution ) including the Integral Test. I don't know much about improper integrals since I just finished highschool, but this integral approach seemed, intuitively, pretty inaccurate to me since this is not a strictly decreasing function. Then I found this out from Wikipedia ! Furthermore, the blunt assessment that the series are convergent seems dubious as well..Upon a few computations of my own(mostly partial sums) , I tend to believe that the series are, in fact, divergent . Can anyone suggest a rigurous take on this problem (easy as it may seem to some amongst you) ?",
"If $f(0)=0$ then prove that $|f(z)+f(-z)| \\leq 2|z|^2$ Let , $\\Delta = B(0,1)$. If $f:\\Delta \\rightarrow \\Delta$ is holomorphic, and $f(0)=0$, prove that $|f(z)+f(-z)| \\leq 2|z|^2$. My attempt so far: $\\displaystyle f(z) = \\sum_{n=0}^{+\\infty} a_n z^n = \\sum_{n=0}^{+\\infty} a_{2n} z^{2n} + \\sum_{n=0}^{+\\infty} a_{2n+1} z^{2n+1}$ $\\displaystyle f(-z) = \\sum_{n=0}^{+\\infty} a_n (-z)^n = \\sum_{n=0}^{+\\infty} a_{2n} z^{2n} - \\sum_{n=0}^{+\\infty} a_{2n+1} z^{2n+1}$ Then, $\\displaystyle f(z)+f(-z) = 2 \\sum_{n=0}^{+\\infty} a_{2n} (z^2)^n =: 2 g(z^2)$ If $g(\\Delta) \\subset \\Delta$, as $g(0) = 0$, I can invoke Schwarz Lemma and I win. However, I don't know how to prove this. Could anyone help me? Thanks!",
"Markdown help page is broken (badly presented/formatted) on every site In the I see: Is that what the help is supposed to say and look like? Because it doesn't make sense to me. As animuson points out in a comment, all of the highlighted example text is being shifted to the very left of each line. The entire page is broken.",
"Android backup/restore: how to backup an internal database?",
"Adding words to links generated by hyperref \\documentclass{article} \\usepackage{hyperref} \\usepackage{lipsum} \\usepackage{polski} \\begin{document} \\begin{figure} . \\caption{A figure} \\label{fff} \\end{figure} \\lipsum[1] Rysunek~\\ref{fff} jest zabawny, bo na rysunku~\\ref{fff} nic nie ma. \\end{document} In this sample, a clickable link is added to output PDF for 1 and 1. I want to be able to change them to Rysunek 1 and rysunku 1. I want to be able to put any other text + number of the figure into a hyperlink. The word rysunek can't be set in preamble as a default because there is a declension in Polish. The same question goes for tables, listings, equations, pages (pageref) etc (basically any reference). HTML equivalent of my MWE: Rysunek <href=\"fff\">1</a> jest zabawny, bo na rysunku <a href=\"fff\">1</a> nic nie ma. I want it to be: <href=\"fff\">Rysunek 1</a> jest zabawny, bo na <a href=\"fff\">rysunku 1</a> nic nie ma.",
"I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \\newpage is issued. This could be emulated by setting a very large page height and using pdfcrop on the output (or just setting the page height manually), but I'd like a pure TeX variant and if possible support for footnotes etc at the bottom of the cropped page.",
"Beamer: how to justify the whole text? How can I justify the text in the whole document in beamer without using \\usepackage{ragged2e} and \\justifying at the beginning of each frame? \\documentclass[8pt,handout,t]{beamer} \\usepackage{pifont} %used inside itemize environment \\item[\\ding{226}] \\usepackage{lipsum} \\begin{document} \\begin{frame} \\begin{columns}[T] \\begin{column}{0.3\\textwidth} \\includegraphics[width=\\columnwidth]{example-image-1x1} \\end{column} \\begin{column}{0.65\\textwidth} \\begin{itemize} \\item[\\ding{226}] \\lipsum[2] \\item[\\ding{226}] \\lipsum[3] \\end{itemize} \\end{column} \\end{columns} \\end{frame} \\begin{frame} \\lipsum[3] \\begin{itemize} \\item[\\ding{226}] \\lipsum[4] \\end{itemize} \\end{frame} \\begin{frame} \\begin{columns}[t] \\begin{column}{0.4\\textwidth} \\lipsum[3] \\end{column} \\begin{column}{0.4\\textwidth} \\lipsum[5] \\end{column} \\end{columns} \\end{frame} \\end{document} Edit: I had already checked out but it does not work for both the columns and the itemize environment.",
"How to serve static files in Flask",
"How to read a file line-by-line into a list?"
] | medi_sts_stackexchange_dupe |
returning value in a nested function | Return a value when using jQuery.each()? | [
"Legendre symbol, second supplementary law $$\\left(\\frac{2}{p}\\right) = (-1)^{(p^2-1)/8}$$ how did they get the exponent. May be from Gauss lemma, but how. Suppose we have a = 2 and p = 11. Then n = 3 (6,8,10), but not $$15 = (11^2-1)/8$$ n is a way to compute Legendre symbols from Gauss lemma: $$\\left(\\frac{a}{p}\\right) = (-1)^n$$",
"I've tried different ways to install iTunes, but to no avail. I tried with Wine, but it didn't work. Is it possible to have iTunes on Ubuntu?",
"Running 64 bit programs on a 32 bit system",
"Can Resharper be set to warn if IDisposable not handled correctly? Is there a setting in Resharper 4 (or even Visual Studio itself...) that forces a warning if I forget to wrap code in a using block, or ommit the proper Dispose call in a finally block?",
"Post to facebook fan page as a user",
"Is there a term for the moment when a lot of users visit/log onto your website at the same time? Is there a term for the moment when a lot of users visit/log onto your website at the same time?",
"Is $x^x=y$ solvable for $x$? Given that $x^x = y$; and given some value for $y$ is there a way to expressly solve that equation for $x$?",
"Let $N = \\{N(t) \\}_{t\\geq 0 }$ be a Poisson process. I already know that $N(t)- \\lambda t$ is a martingale where $\\mathbb{E} [ N(t) ] = \\lambda t$. I want to prove that $$ \\frac{N(t)}{t} \\rightarrow \\lambda, \\quad t \\rightarrow \\infty \\quad \\text{ a.s.}. $$ To prove this I received a hint that I should use the martingale law of large numbers which states that: Theorem: (Martingale LLN) Let $S= (S_n = \\sum_{k=1}^n X_k)_{n=1,2,\\ldots}$ be a martingale with respect to the filtration $(\\mathcal{F}_n)_{n=1,2,\\ldots}$. Then $\\sum_{k=1}^n X_k/k$ converges almost surely on the set $\\left\\{ \\sum_{k=1}^\\infty k^{-2} \\mathbb{E}\\left[ X_k^2 \\mid \\mathcal{F}_{k-1} \\right] < \\infty \\right\\}$. Hence $S_n/n \\rightarrow 0$ a.s. on the same set. Now to use this theorem I think I need to use Doob-Meyer to decompose $N(t)$ as the sum of a martingale and an increasing process. Which would be the martingale $M(t) = N(t) - \\lambda t$ and increasing process $A(t) = \\lambda t$. But how is $M(t)$ the sum of a martingale? And I do not know how this exactly relates to the thing I have to prove. Thanks for any help.",
"How can I fix the non-stitched seam that is present after applying mirror modifier?",
"Would the One Ring even work for anyone but Sauron? The temptation of the One Ring, we quickly learn, is always tied up with power: each character's fantasies of possessing it seem to be about what they would do with great power. Even Sam, as I recall, imagines the power to create great huge sweeping gardens. Boromir wants the power to save Gondor, etc. But does the One Ring actually convey power to anyone but Sauron? It actually seems to diminish its bearers: Bilbo feels \"thin\" and \"stretched\", Sméagol becomes the wretched Gollum, Frodo is never quite the same even after it is destroyed. None of them seem more \"powerful,\" even in the abstract way that magic-users in Tolkien operate. No mention is made, that I can recall, of a Ringbearer having greater stature or authority, or of people naturally following them or obeying their commands, while they possess the Ring. The accepted answer to implies that a being as powerful as Gandalf could dominate the Ring and break Sauron's hold over it, but even then Tolkien says that \"It would have been the master in the end\", and his descriptions of a Ringbearing Gandalf sound pretty much like Gandalf is using his own powers, not terribly augmented by the Ring: [Gandalf] would have remained 'righteous', but self-righteous. He would have continued to rule and order things for 'good', and the benefit of his subjects according to his wisdom (which was and would have remained great). Now that sounds out of character for a being as humble as Gandalf, but it doesn't actually sound like something he would have been unable to do before. It's a twisted motive, but not really an enhanced power. Pretty much everyone in Middle-earth agrees that the One Ring will corrupt you, but they all seem to agree that it DOES convey great power even so. Why? Do we ever see any actual, \"positive\" effects from possessing the One Ring?",
"Determining the Actual Server Create Date I am interested in determining the ages of all 70+ my servers. I would like to create a growth graph showing when servers and databases were added to the environment either/both monthly or annually. I executed the following query using the SSMS multi-query feature with only partial success. SELECT [name], create_date FROM sys.databases It's partial success because the master and model databases return with a date of 'April 8, 2003' when I know that I created some of these servers during the past couple years. I refresh databases from one server to another several times a week, which appears to be causing issues with the database create date. Is there a simple method to determine the actual create date for both servers and databases?",
"Why is the Converse to Lagrange's Theorem False?",
"How does the color of a car influence its inner temperature change over time when parked outside in windless, hot and sunny regions? I know what's the common idea about that: black cars are supposed to build up high temperatures faster because black objects absorb radiations instead of reflecting them off. Is it true? And then, what happens during the steady state? Some claim the black car will stay hotter, some others claim it will be the same whatever the color. Do all cars have the same temperature inside in the long run, or are some of them hotter? I've Googled it but the best I could find was . It claims to be based upon ~20 articles. But there's not even a mention of absorption or emission spectrums. A priori, a black car could absorb all visible radiations and emit it as infrared while reflecting all of the Sun's infrared. And it's still only qualitative. I've found nothing on Physics stackexchange, the closest being .",
"The website I'm working is allegedly going to have a massive hit rate soon after launch. The client is talking about the possibility of around 2500 hits per second over a day or so. Ignoring the fact that this hit rate is probably wild client optimism and apart from getting the largest servers possible, what is the best way that Drupal should be configured to support a large hit rate. I've read Scaling the , , and many other pages, but what I'm looking for is real experience of doing this, what works, what doesn't, and what to expect.",
"Is there an Amazon.com API to retrieve product reviews?",
"I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, is possible to solve it? (Reading database ... 81657 files and directories currently installed.) Removing mongodb-10gen ... arg: remove invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found. dpkg: error processing mongodb-10gen (--remove): subprocess installed pre-removal script returned error exit status 100 invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 100 Errors were encountered while processing: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1) (the above is just an example, not my actual problem)",
"Lightning tags in beta I came across some lightning tags that are still in beta, ex: lightning:input (Beta) lightning:tabset (Beta) etc Not sure for how long they were in beta, is it advisable to use them for building UI and deploy to production?",
"I wanted to try out different desktop environments so I installed XFCE, KDE, GNOME, etc on top of Unity in Ubuntu 12.04 After a while I decided that I didn't like those other DEs and would stick to Unity. So I changed my default DE to Unity by configuring gdm. sudo dpkg-reconfigure gdm Now I am able to choose my DE at login time and all of DEs are working properly. But the strange thing is that my boot up screen says 'lubuntu', my login screen is KDE, and my desktop is Unity. How and why is this happening? Why didn't my gdm configuration have any effect? Does login and boot up screen need to be configured separately from the DE? There are other similar questions here but they are not the same as this one. I do not want to remove the other enviroments I'm quite happy with having a list of DEs to select from. I want to know how to set proper defaults.",
"Find the last two digits of $3^{45}$ I was wondering if there is a simpler way to find the last to digits of a power such as $3^{45}$. I reduced it modulo 100 to get the answer, which is 43. But I was curious if there was a simpler, or more eloquent way to get this result. Here's my method: Using the fact that $3^4=81\\equiv -19 \\pmod{100}$ and $19^5=2,476,099\\equiv -1 \\pmod{100}$ $$ 3^{45}\\equiv 3(3^4)^{11}\\equiv 3(-19)^{11}\\equiv 3(-19)(19^5)^2\\equiv 3(-19)(-1)^2 \\equiv -57 \\equiv 43 \\pmod {100} $$ I just felt like this was sort of a messy way to find out that the last two digits are 43.",
"Do you ever center AND standardize variables in multiple regression? It seems as if standardization would automatically center variables...is this true?"
] | medi_sts_stackexchange_dupe |
Is there a preferred format for numbers on Stack Exchange? | Should the network use thousands separators in numbers? | [
"When is it appropriate to end a question without a question mark?",
"Is there any way to do n-level nested loops in Java? In other words, can I do something like for() { for { for { } } } Except N times? In other words, when the method creating the loops is called, it is given some parameter N, and the method would then create N of these loops nested one in another? Of course, the idea is that there should be an \"easy\" or \"the usual\" way of doing it. I already have an idea for a very complicated one.",
"Current enables one to upgrade to macOS Mojave from a stable release, but I want to try out a fresh installation instead of upgrading with previous data, so that I can assess it better. I've downloaded an application named \"macOS Mojave Beta\" from the App Store, and running it would presumably result in an upgrade. Now I wonder what to do next. Would and booting from it be a good idea, when I'm working with a Beta version?",
"The question is if you have a situation where one of the singular values is equal to 0 in a singular value decomposition of a matrix, how to do you procede to find the column vector of U corresponding to this singular value? Usually I found the columns of U with this relation, so let's say that we refer to $\\vec{u_2}$ as the U column vector corresponding to singular value equal to 0: $\\vec{u_2} = (1/s_2)Av_2$ Now the as we can see the 0 is in an illegal place, since you can't divide by zero. But if you move it to the left side, I still can't quite see how to find the column of U corresponding to it. Any suggestions? Here is an example of a matrix that provided this specific challenge $ A = \\left(\\begin{array}{rrr} -3 & 1 \\\\ 6 & -2 \\\\ 6 & -2 \\end{array}\\right). $ $ \\lambda{_1} = 90$, $\\lambda{_2} = 0$, $s_1 = 3 \\sqrt{10}$, $s_2 = 0$, How can one find $\\vec{v_2}$ when $\\lambda{_2} = 0$? In this case, you know that the eigenvectors of $A^{t} A$ are orthogonal, solve for $\\lambda{_2}$ and find the eigenvector if it's orthogonal to the eigenvector corresponding to the first eigenvalue you have your solution. So we end up with the following normalized column vectors for V, which we can see are orthogonal: $ \\vec{v_1} = \\left(\\begin{array}{rrr} -3/\\sqrt{10} \\\\ 1/\\sqrt{10} \\\\ \\end{array}\\right). $ $ \\vec{v_2} = \\left(\\begin{array}{rrr} 1/\\sqrt{10} \\\\ 3/\\sqrt{10} \\\\ \\end{array}\\right). $",
"Correct spelling of Polish surname Dziubenofska? My Polish grandmothers last name was Dziubenofska, but I know that's not how it is spelt! I'm looking for the proper spelling. Can you help find it for me? She came over to Ellis Island and they changed it on her to dziuk. This is only a prefix to the full name.",
"How long does the new dwellers queue last? When clicking the radio room icon that attracts a new dweller to your vault, how long will they stay queued out in front of the vault for before giving up? Or will they? I'm at max population and would rather not kill existing dwellers to accommodate them in my vault.",
"In an Integral Domain is it true that $\\gcd(ac,ab) = a\\gcd(c,b)$?",
"Entries I can safely exclude doing backups",
"To be honest, I have no idea how to even start this problem. I'm sorry I don't have any work to show, but I'm just at a blank. Help? Chapter 2: Problem 27: University B, once boasted $17$ tenured professors of mathematics. Tradition prescribed that at their weekly luncheon meeting, faithfully attended by all $17$, any members who had discovered an error in their published work should make an announcement of this fact, and promptly resign. Such an announcement had never actually been made, because no professor was aware of any errors in her or his work. This is not to say that no errors existed, however. In fact, over the years, in the work of every member of the department at least one error had been found, by some other member of the department. This error had been mentioned to all other members of the department, but the actual author of the error had been kept ignorant of the fact, to forestall any resignations. One fateful year, the department was augmented by a visitor from another university, one Prof. X, who had come with hopes of being offered a permanent position at the end of the academic year. Naturally, he was apprised, by various members of the department, of the published errors which had been discovered. When the hoped-for appointment failed to materialize, Prof. X obtained his revenge at the last luncheon of the year. "I have enjoyed my visit here very much", he said, "but I feel that there is one thing that I have to tell you. At least one of you has published an incorrect result, which has been discovered by others in the department." What happened the next year?" Chapter 2: Problem 28: After figuring out, or looking up, the answer to Problem 27, consider the following: Each member of the department already knew that Prof.X asserted, so how could his saying it change anything?",
"Are all n-ary operators simply compositions of binary operators? Take for example $A \\times B \\cdot C$ = $(A \\times B) \\cdot C$ where $A, B, C$ are 3-component real vectors. We can define a 3-nary operator $\\times - \\cdot$ that is a composition of the two common binary operators $\\times$ and $\\cdot$. The same thing happens with most functions (operators) - the way we calculate them is by doing smaller binary problems and adding together. Every time I try to come up with an $(n > 2)$-ary operator my mind automatically looks for binary operators. So, the question is, do there exist operators (of some weird kind in some branch of math) that cannot be decomposed into 2-ary and 1-ary operators? Thanks.",
"I have this weird object (vascular tree) which is empty inside, but closed from the top and the bottom: However, it is empty inside, which makes me unable to use boolean on a bigger object (I want to make a hole in an object through which this object will go through). So I thought I should fill it and then try to boolean. But, how do I fill it? Thank you sincerely.",
"Is there anything like GF(6)?",
"What *is* an Artificial Neural Network?",
"In other words, why do we need to connect the battery positive to the negative to get electron flow? As far as I know, voltage difference is what drives current flow. From what I understand, there's a surplus of negative charge (electrons) in the positive end of a battery (weird I know, but I guess they do it for mathematical reasons). Between the positive and negative ends of the battery is some kind of wall that prevents the electrons from diffusing, so they have to go the long way (through a wire to the other end of the battery) to diffuse and reach the receiver atoms/molecules. So why not just have the surplus of electrons on one end go to ground to equalize (e.g. 5 volts to 0 volts should produce current)? Why does it have to be the other end of the battery? I'm sure there's atoms/molecules in the ground that could accept the extra electrons (receivers atoms/molecules for the donors in the battery).",
"The following quote from assumes \"the URL\" comes from somewhere and uses it to restrict the Host header. Where does \"the URL\" come from? Is it from the first line of a HTTP request (e.g. after GET), or from the input to a web client (e.g. an argument to curl, or the input in the address bar of a web browser)? Thanks. The Host header specifies the Internet host and port number for the resource being requested, as obtained from the original URL: Host = \"Host\" \":\" host [ \":\" port ] In particular: • If the Host header does not contain a port, the default port for the scheme is assumed. • If the URL contains an IP address, the Host header should contain the same address. • If the URL contains a hostname, the Host header must contain the same name. • If the URL contains a hostname, the Host header should not contain the IP address equivalent to the URL’s hostname, because this will break virtually hosted servers, which layer multiple virtual sites over a single IP address. • If the URL contains a hostname, the Host header should not contain another alias for this hostname, because this also will break virtually hosted servers.",
"I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?",
"Windows installer for Ubuntu 14.04 LTS onwards",
"Disable cache for some images",
"When I add the picture, the word and pdf is the full page and the Latex moves to the right of the page. How can I solve this problem? this is my work. this is my work and pdf link: https://we.tl/t-cgDSwDuu8H I couldn't stop the pictures from sliding right. What should I do to make the image look like the original PDF file? If I reduce the scale of the picture is centered but this time it becomes very small. Is a situation caused by page margins? \\documentclass [12pt, a4paper]{article} \\usepackage{color} %\\usepackage[turkish]{babel} \\usepackage{graphicx} \\usepackage{tabularx} \\usepackage{multirow} \\usepackage{graphicx} %\\usepackage[pass,showframe]{geometry} %\\usepackage[T1]{fontenc} \\begin{document} \\definecolor{renkbir}{RGB}{0,32,96} \\begin{tabular}{ m{8,5cm} m{6cm} } \\Large{\\textbf{MsdasdasdN }} \\large{\\textbf{\\textcolor{renkbir}{Firma Adı }}} &\\small {Uçak Mühendisi \\newline T.C No: asd \\newline asd \\newline asd \\newline asd} \\end{tabular} \\ %Uçak mühendisi Tc No kısımını sağa yaslamak istedim fakat yapamadım. \\begin{center} \\large{\\textbf{\\textcolor{renkbir}{KİŞİSEL BİLGİLER}}} \\end{center} \\begin{center} \\begin{tabular}{ l l r } Ad & Mehm & \\multirow{9}{*}{\\includegraphics[scale=0.15]{2.pdf}} \\ Soyad & asdasd \\ Doğum Tarihi & sanane (23 Yaşında) \\ Adres & asd \\ Telefon & asd \\ Mail & asd \\ Sigara Kullanımı & Hayır \\ Ehliyet & B \\ Askerlik & Tecilli (31.12.2020) \\ \\end{tabular} \\end{center} %\\vspace{1cm} Burası boşluk bırakma komutu. \\begin{center} \\begin{tabular}{ m{4cm} m{6cm} m{5cm} } \\multicolumn{3}{c}{\\large{\\textbf{\\textcolor{renkbir}{EĞİTİMLER}}}} \\ \\hline \\multirow{2}{}{Üniversite(YL)} & asd \\newline Makine Mühendisliği \\newline Özel Öğrenci / Türkçe \\newline Durumu : Devam ediyor & \\multirow{2}{}{Eylül 2018 / } \\ \\hline \\multirow{2}{}{Üniversite} & asd \\newline Uçak ve Uzay Bilimleri Fakültesi \\newline Uçak asd \\newline Örgün Öğretim / İngilizce \\newline Durumu : Mezun & \\multirow{1}{}{Ekim 2013 / Haziran 2018} \\ \\hline \\multirow{1}{}{Lise} & asd \\newline Anadolu Lisesi (100 / 90,02) & \\multirow{1}{}{Ekim 2013 / Haziran 2018} \\ \\end{tabular} \\end{center} \\begin{center} \\begin{tabular}{ m{3cm} m{4cm} m{4cm} m{4cm} } \\multicolumn{4}{c}{\\large{\\textbf{\\textcolor{renkbir}{YABANCI DİLLER}}}} \\ \\hline \\textbf{İngilizce} &\\textbf{Okuma:} İyi &\\textbf{Yazma:} İyi &\\textbf{Konuşma:} Orta \\ \\end{tabular} \\end{center} \\begin{center} \\begin{tabular}{ m{5cm} m{5cm} m{5cm} } \\multicolumn{3}{c}{\\large{\\textbf{\\textcolor{renkbir}{BİLGİSAYAR BİLGİLERİ}}}} \\ \\hline \\multicolumn{3}{l}{Donanım - Ofis Programları} % donann ofis koyu yazmak istedim yapamadım. \\ Ms Excel & Çok İyi & +5 Yıl \\ MS Word & Çok İyi & +5 Yıl \\ Ms Powerpoint & Çok İyi & +5 Yıl \\ \\hline \\multicolumn{3}{l}{Yazılım Geliştirme} % donann ofis koyu yazmak istedim yapamadım. \\ Office & Orta & 2-3 Yıl \\ Matlab & Orta & 2-3 Yıl \\ Phyton & Orta & 0-1 Yıl \\ Fortran & Başlangıç & 0-1 Yıl \\ C++ & Başlangıç & 0-1 Yıl \\ Ansys & Başlangıç & 0-1 Yıl \\ Miktex & Başlangıç & 0-1 Yıl \\ \\hline \\multicolumn{3}{l}{Bilgisayar Destekli Tasarım} % donann ofis koyu yazmak istedim yapamadım. \\ SolidWorks & Orta & 2-3 Yıl \\ AutoCAD & Orta & 0-1 Yıl \\ \\end{tabular} \\end{center} \\begin{figure} \\includegraphics[width=\\linewidth]{2.pdf} \\end{figure} \\begin{figure} \\includegraphics[scale=1]{2.pdf} \\end{figure} \\end{document} Latex SS is here: PDF SS is here:",
"Let $M,N$ be $n \\times n$ square matrices over an algebraically closed field with the properties that the trace of both matrices coincides along with all powers of the matrix. More specifically, suppose that $\\mathrm{Tr}(M^k) = \\mathrm{Tr}(N^k)$ for all $1\\leq k \\leq n$. The following questions about eigenvalues is then natural and I was thinking it would be an application of Cayley-Hamilton but I am having trouble writing out a proof. How do we show that $M$ and $N$ have the same eigenvalues? Added (because this question is now target of many duplicates, it should state its hypotheses properly). Assume that all the mentioned values of $k$ are nonzero in the field considered; in other words either the field is of characteristic $0$, or else its prime characteristic $p$ satisfies $p>n$."
] | medi_sts_stackexchange_dupe |
Can I use a power supply that supply slightly higher current than the rated current from my dc motor? | Choosing power supply, how to get the voltage and current ratings? | [
"I am using ArcMap 10.1. The background: I have an .mxd that I intend to roll out across the company as our default template for all future maps/figure production. This .mxd contains two Data Frames; the first ("Main") is larger (occupying almost the entire page) and is designed to be used to hold the majority of mapped data whilst the second ("Inset") is much smaller and is to be used as an overview map. The problem: When choosing to import this new .mxd to an existing .mxd (using the Change Layout button on the Layout toolbar) the wizard automatically selects the smaller ("Inset") Data Frame to occupy the larger part of the page. The screenshot below shows this interface with a red box indicating the two possible locations of each Data Frame: Whilst it is possible to manually alter the order of the Data Frames using the Move Up or Move Down buttons, how do I change the default option for this setting (i.e. so that the "Main" Data Frame always appears in the larger space - "2")? The reasoning is that I would like the process of using this new .mxd template to be as simple as possible, this is especially important as we have a wide range of users with varying abilities. Does anyone know how to choose/change this default setting? It does not appear to be in the Data Frame Properties > Data Frame menu where I would expect it to be.",
"Let $p(x)$ be a polynomial of degree $n$ satisfying $p(x)\\geq 0$ for all $x$. That is, for all $x$, $p(x) = a_n x^n + a_{n-1} x^{n-1} + \\cdots + a_1 x + a_0 \\geq 0$, $a_n\\neq 0$. Show that $p(x)+p'(x)+p''(x)+\\cdots+p^{(n)}(x)\\geq 0$ for all $x$ where $p^{(i)}(x)$ is the $i^\\text{th}$ derivative. My interest: I know that, we can rewrite the LDE as follows $$ p(x)+p'(x)+p''(x)+\\cdots+p^{(n)}(x) = Lp(x) $$ where $L := I + D + D^2 + \\cdots + D^{(n)}$. Can we say anything about a linear operator of this kind so that it does not change the sign of the input it takes? I can try to solve the question by writing for all the derivatives and factoring them using $p(x)$, but I think there should be a clever way of showing this by the properties of $L$. Can I figure out a solution by just looking at $L$ and the sign of $p(x)$ as in the question? Where should I look for that?",
"Matrix is conjugate to its own transpose Mariano mentioned somewhere that everyone should prove once in their life that every matrix is conjugate to its transpose. I spent quite a bit of time on it now, and still could not prove it. At the risk of devaluing myself, might I ask someone else to show me a proof?",
"How do I upgrade from 14.04 LTS to 16.04.1 LTS?",
"How to identify hardware performance bottleneck in laptop? Is there any tool that helps to determine the weakest link of my current laptop hardware specification? Any online guide to help me choose nice balanced configuration for the new laptop? I need to find the answers: a) which component should be invested to increase overall performance the most? CPU? GPU? RAM? b) which component may decrease overall performance and work as a bottleneck for the specific configuration? The question is general and regards both to validating the current hardware usage (and its possible bottlenecks) and estimating the performance (and avoiding possible issues) of specs I'm going to choose and buy. P.S. For the specific laptop I need to replace, the following software will be in use: Windows antivirus, firewall, dropbox service running in the background mail app + web browser with a dozen or so tabs open from time to time: libreoffice apps, movies, games (both online and installed).",
"I recently found out that the expectation of a random variable $X$ in a probability space $(\\Omega, \\mathcal F, \\mathbb P)$, $\\mathbb E(X)$, is just the term used in probability theory for the measure of the function $X$; i.e.: $$ \\mathbb E(X)=\\mathbb P(X) $$ or, for a real-valued random variable $X:\\Omega\\to\\mathbb R$: $$ \\mathbb E(X)=\\int_\\Omega X(x)\\mathbb P(dx) $$ The thing is, I am also familiar with the definition of the expectation of a random variable $X:\\Omega\\to\\mathbb R$ with probability distribution function $f$ to be: $$ \\mathbb E (X)=\\int_\\mathbb R xf(x)dx $$ Here, the integral is with respect to the Lebesgue measure on $\\mathbb R$. We can define the function $f$ in the following way: we have $F(x)=\\int_\\mathbb R f(x)dx$, where $F(x)=\\mathbb P(X^{-1}((-\\infty,x]))$. I can't see any way to show that these two definitions are equal to one another. The only transformation between integrals with respect to different measures that I know is that $\\mu(f^{-1}(g))=\\mu(g\\circ f)$, which gives that $\\mathbb E(g)=\\mu_X(g)$, where $\\mu_X$ is the image measure $\\mathbb P\\circ X^{-1}$, but that doesn't seem to help. Why can we write $\\mathbb E(X)=\\int_\\mathbb R xf(x)dx$? Why are these two definitions consistent?",
"How does the four card limit work? I'm new to the game and trying to make my first constructed deck. My understanding of the card rule is I can only have four cards of one kind. What does this precisely mean? For instance, does this mean I can only have four rat cards total or four rat cards of several kinds? If two different cards do the same thing (like and ), can I have four of each?",
"How do I diagnose the source of focus problem in a camera? Probably a novice question, but how do I correctly diagnose from a photo for what reason that camera wasn't able to focus properly? It can be any 1 of the following Unsteady hand Lens issue Metering Re-Calibration required in camera or ... Is there a set of unsaid protocols that needs to be followed by a photographer? Goal is to get a sharp and crisp image prior to editing. [PS: I own a Nikon D5200.]",
"How can I add custom '.desktop' application launchers to Ubuntu Dock?",
"Laws and theories What is a , a , and what is the relationship among them? I know this is a very basic question, so any reference to epistemology will be greatly appreciated :)",
"I remember reading a while back about arithmetics with only a single operator that did all the work of the familiar $+ - \\times /$ operators. If there is such a thing, could someone point me to it? As background: I have a side project where I'm playing with neural nets and genetic search algorithms. Right now it's the good old kind, with matrix multiplication and addition. I thought it would be interesting to implement a sort of neural network that used a combined or \"all in one\" operator. I've googled like heck and can't pick up the trail of where I thought I saw that before. Is there study in that area, or am I mis-remembering, or worse, just making it up? I'd appreciate any pointers.",
"Per the kernel documentation: This control is used to define how aggressive the kernel will swap memory pages. Higher values will increase aggressiveness, lower values decrease the amount of swap. However this is kind of vague. I'm trying to figure out exactly what the parameter ultimately controls. I know it adjusts how aggressively the kernel tries to swap out pages, but what decision making process in the kernel code does it affect? Does it adjust how long ago a page must have been accessed before the kernel swaps it out? If so what does the default value of 60 represent? And how much is changed by a increment/decrement of 1 (a formula would be nice)? Or does it swap out pages based on their access frequency? Or something else?",
"Why does the Taylor expansion of $e^x$ satisfy exponential properties?",
"How to do vlookup and fill down (like in Excel) in R?",
"Of all the people we know, in the books, who were sent to Azkaban, the majority are Death Eaters (Dolohov, Lucius, Crouch Jr, Bellatrix and so on) or suspected to be involved with them (Sirius, Stan, et cetera). They were imprisoned for using the Unforgivable Curses, as well as for being accomplices of a seriously dark wizard. What other crimes are Azkaban-worthy, in normal circumstances? I'm looking for anything that's been stated in the books, or on Pottermore (basically, anything 'canon'), or anything one can conclude from information in the books. I think smaller crimes are punished by imposing a fine, but what about bigger ones? Surely murder and torture (i.e. crimes against humanity) aren't the only ones punishable by imprisonment? That certainly isn't the case in contemporary Muggle society. My thoughts Off the top of my head, I can name these crimes: Being an unregistered Animagus1 That was what Hermione threatened Skeeter with. Trespass and robbery2 That's how Sturgis Podmore was imprisoned. Notes Several of the arrests in the Half-Blood Prince and the Deathly Hallows were made by an authoritarian (if that's the right word on this case) government, in the time of war. They do not count as normal. I don't mean that there should be an answer to this question, I was wondering if it was ever addressed in the books. I certainly don't expect a list of all people sent to Azkaban, and the reasons for doing so! 1 "Well, yes," said Hermione calmly, taking a sip of her drink. "Otherwise, as you very well know, I will inform the authorities that you are an unregistered Animagus. Of course, the Prophet might give you rather a lot for an insider's account of life in Azkaban." The Beetle at Bay, Harry Potter and the Order of the Phoenix 2 Sturgis Podmore, 38, of number two, ... charged with trespass and robbery ... sentenced to six months in Azkaban. Percy and Padfoot, Harry Potter and the Order of the Phoenix",
"How to remove chromium-browser settings from Ubuntu 14.04? I have already gone through and I'm really not getting why the solutions given there are not working for me. What I'm doing is: sudo apt-get purge chromium-browser rm -rf ~/.config/chromium Then reinstalling by running the following command: sudo apt-get install chromium-browser This must remove the settings of chromium-browser and do a fresh installation. The browser is uninstalling, but after being installed it is containing the previous settings, moreover it's not signing me out of even Gmail!",
"I have been following tutorial until I started adding nodes. The problem is that he has completely different nodes than I have. Even nodes that are created at start are different (I have Material and Output and he has Render Layers and Composite). Have I missed something or should I use different nodes than he?",
"Calculate: $$\\int_{0}^{2\\pi}e^{R{ {\\cos t}}}\\cos(R\\sin t+3t)\\mathrm{d}t$$ My try: $\\displaystyle\\int_{0}^{2\\pi}e^{R{ {\\cos t}}}\\cos(R\\sin t+3t)dt\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\cos(\\mathfrak{I\\textrm{z}}+3(-i\\log z)dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}}^{(\\mathfrak{I\\textrm{z}}+3(-i\\log z))i}dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}^{\\mathfrak{I\\textrm{z}}}}z^{3}dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}^{\\mathfrak{I\\textrm{z}}}R}z^{3}dz$ and there is nothing here that is not holomorphic, therefore according to Cauchy theorem it must be exactly $0$.",
"I've heard that in the study of finite fields, and other concepts related to finite fields, mathematicians have found a sort of gap: there are various results and things that seem like they correspond to a field with one element, $\\mathbf{F}_1$, even though there is no such field. Of course, there is an object which seems similar to a field with one element: the zero ring, $\\mathbf{Z}_1$, defined as having one element, $0$, obeying the equations $$0 + 0 = 0 - 0 = 0 \\cdot 0 = 1 = 0.$$ The zero ring seems to behave like a field in every respect, except for the fact that it fails to satisfy $0 \\ne 1$. (But the importance of the axiom $0 \\ne 1$ isn't clear to me.) However, in any case, there seems to be consensus that the zero ring is not the field with one element. People say that the zero ring "does not behave like a finite field" () or that it "does not have the features that mathematicians need" (). I'm not familiar enough with algebraic geometry to understand the properties that $\\mathbf{F}_1$ is expected to have. Is there an elementary, undergraduate-level explanation of why it seems like a field with one element "ought to exist" in the first place, what properties we expect it to have and why, and how the zero ring fails to satisfy these properties? Or do I need to study algebraic geometry if I want to have an understanding of any of this? (A side question: do we have a good answer to the question of whether the single element of $\\mathbf{F}_1$ ought to be $0$, $1$, both, or neither?)",
"I don't always answer myself, but when I do, I fail to ask a good question Sometimes I'll encounter problems while coding, or sometimes out of simple interest for a question, I'll google for an answer, and most of the time I find that answer is here on stackoverflow.com. If I can't find an answer, or if it's not enough to satisfy my curiosity, sometimes I expend my own effort to solve those questions. And after I've solved it, I'm happy to make my contribution to the community, and I post them as the Q&A style posts. For example: It seems relatively easier to ask a question if I didn't already have a solution, and I can put what I have so far in the question body, such as: The problem to me is, if I have my own solution to my own question, then most of what I have so far becomes part of the solution. It's likely I have failed in making my contribution by asking a question to which I have an answer, for example: So I'm wondering if there are some guidelines or good practices for Q&A style posts? How do I do it better?"
] | medi_sts_stackexchange_dupe |
Converting complete latex to html | Convert LaTeX to HTML | [
"Short story - \"One man's meat is another man's poison\"",
"I feel intimidated in learning TikZ. I was wondering if there are some nice materials (or just your replies) at different level: for providing big picture, which is important to beginners to not lose direction during learning. for comprehensive reference. Examples are important, but only examples are not always clear for understanding the big picture and organization.",
"JavaScript variable definition: Commas vs. Semicolons",
"Series $\\frac{x^{3n}}{(3n)!} $ find sum using differentiation",
"how to host multiple pages from diferent domains all together?",
"Bound for the correlation of three random variables",
"Cyclic orbit animation I'm trying to make one object orbit another. But I want it to repeat, rather than stop at 100 frames. It seems there is no option for this. Is there a way to make this happen?",
"How to change an application Icon",
"Possible Duplicate: The square root of a number squared is equal to the absolute value of that number. Why is $\\sqrt{x^2} = |x|$? Why not just $x$? Please give me a reason and also help me prove it.",
"I need to delete some rows from one large table. The rows to delete shouldn't be in another table, example: DELETE FROM LargeTable WHERE id IS NOT IN (SELECT DISTINCT foreign_id from EvenLargerTable) but my server can't handle such blunt query, because there are almost a million records in the LargeTable and few million records in the EvenLargerTable How can I solve it?",
"Let $R$ be a commutative ring with 1 then why does $a\\in N(R) \\Rightarrow 1+a\\in U(R)$? Let $R$ be a commutative ring with 1, we define $$N(R):=\\{ a\\in R \\mid \\exists k\\in \\mathbb{N}:a^k=0\\}$$ and $$U(R):=\\{ a\\in R \\mid a\\mbox{ is invertible} \\}.$$ Could anyone help me prove that if $a\\in N(R) \\Rightarrow 1+a\\in U(R)$? I've been trying to construst a $b$ such that $ab=1$ rather than doing it by contradiction, as I don't see how you could go about doing that.",
"How to address a professor in letter?",
"Limit $\\frac{x^2y}{x^4+y^2}$ is found using polar coordinates but it is not supposed to exist.",
"Winter Bash 2019 bugs with the \"glasses with a number on top\" hat and the \"Philanthropist\" hat",
"Conditional expection of gamma distribution on sum I have a process which consists of a number of events and what is known is the timings between the events. What I'm trying to determine is a distribution that allows me to determine a likelyhood that a new sample fits the distibution. The issue is mainly that if you have lots of samples you can approximate the result using a standard gaussian and use the mean and standard deviation. But if you only have a handful of samples, the gaussian does not accurately represent the situation. From what I've read it is common to model waiting times using the gamma distribution. Looking at how the process evolves it looks like it matches well. The unknown is the scale parameter, since the shape parameter I think should be the number of samples. What I've worked out so far is that given the timings $X_1 ... X_N$ you can say: $$ \\sum_{n=1}^N X_n \\sim \\Gamma(N,\\theta) $$ ($N$ is known and fixed) However, $\\theta$ is unknown, but the maximum likelihood parameter is the average of the $X_i$ (according to wikipedia anyway). My question is, can I use this to estimate a distribution for $X_i$, that is, since the $X_i$ are independent: $$ N X_i | \\sum_n X_n \\sim \\Gamma(N, \\tfrac{1}{N}\\sum_n X_n) $$ Something else I've wondered about. Suppose I do have information about $\\theta$, say a distribution. How can I incorporate this into the model? Edit: Clarified that N is fixed.",
"Convergence of cos, sin, tan functions In Radian mode, continually pressing the $\\cos$ function of a number causes the result to converge to $x=0.739085133$, a fixed point of $\\cos(x)$. Repeating this behavior with the $\\sin$ function causes the result to converge to $x=0$, a fixed point of $\\sin(x)$. What happens if this is done using the tan function? It seems that $x=0$ is a repelling fixed point with no convergence in this case. What would be the best way to explain these results mathematically?",
"link new object to scene with python in 2.8",
"I understand that for resistors in series we need to add R for each resistor to get the equivalent resistance, where R is resistance. I also understand the mathematical manipulations that show that for resistors in parallel we need to add the 1/R for each resistor to get the equivalent resistance. However I have a couple of questions that have to do with the physical interpretation of the mathematical manipulations involved. First, I am trying to understand why in the case of parallel resistors we have to add 1/R's instead of adding R's as in the case of resistors in series i.e. could it be thought that the current in the wire is like a sort of water flow in the pipe that has two horizontal parallel pipes positioned one on top of the other and in between connected by a number of vertical pipes that have a tap each that could be adjusted to represent different resistances. Then at the top of each vertical pipe the water pressure P exists and at the bottom the pressure will be reduced by P*R. For example, suppose we have three vertical pipes, so then the pressure at the bottom of each (after the tap) is P*R for the total of 3*P*R so why is the equivalent resistance not 3*R*P but 1/R = (1/R1 + 1/R2 + 1/R3) and how can I be able to visualize this relation?",
"Why am I getting zero divergence of function $\\vec{f} = \\frac{1}{r^2} \\hat{r}$, where $r$ is the distance from the origin and $\\hat{r}$ is the unit vector in the radial direction. The divergence of this function over a sphere of radius $R$, which includes the origin. $$\\nabla \\cdot f = \\frac{1}{r^2} \\frac{\\partial}{\\partial r}(r^2 f_r) = \\frac{1}{r^2} \\frac{\\partial}{\\partial r}(r^2 \\frac{1}{r^2}) = 0$$",
"We have an instance of SQL Server 2008 installed on a customer server. The customer's IT department is in charge of the various backups of the machine. The SQL Server log shows there is a full backup every day at 7 PM but we can't find evidence of any plan scheduled in SQL Server. The technicians we contacted couldn't tell us if there was some sort of automatic backup, all they told is that the entire machine is being backup up. Using a script I found in I found out that the physical device name is a GUID and that this means that this is an external backup process: USE [msdb] GO SELECT [bs].[database_name], [bs].[backup_start_date], [bs].[backup_finish_date], [bs].Server_name, [bs].user_name AS [BackupCreator] , [bmf].physical_device_name FROM msdb..backupset bs INNER JOIN msdb..backupmediafamily bmf ON [bs].[media_set_id] = [bmf].[media_set_id] ORDER BY [bs].[backup_start_date] DESC This is a row from the above query: db_name 2015-09-16 19:01:23.000 2015-09-16 19:01:28.000SERVER_NAME NT AUTHORITY\\SYSTEM{424F084A-F35D-4A66-8FC7-072268A89A77} 5 Moreover the backup start and finish date spans only for 5 seconds, so I guess it's clear it's not a job of sql server. This is a line from the log: 2015-09-03 19:02:30.71 Backup Database backed up. Database: db_name, creation date(time): 2012/10/12(20:52:11), pages dumped: 3290021, first LSN: 276028:152755:172, last LSN: 276028:152827:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'{95380B0A-D50B-408F-B95F-1AB8975BA7F8}5'}). This is an informational message only. No user action is required. So, since they can't help us what can I do to track down the process responsible of the backups? We need this because we want to coordinate the backup in an ordered manner, and do the transaction log backups too in order to keep the log at a reasonable size (now we do shrink the log every week, and this is not the good way to go)."
] | medi_sts_stackexchange_dupe |
conformal map between the region of two circle intersect at one point and unit disk | Conformally Map Region between tangent circles to Disk | [
"Debate, Bare Plurals, and Mass Nouns",
"What sites should have hyperlinking (onebox) support in chat? Some sites are . What additional sites should the chat support? One suggestion per answer.",
"A financial planner treated us in a dismissive fashion and I want to say that he \"gave us the back of his hand\" but that phrase doesn't seem to have the meaning of dismissive. Does it or is there a similar idiom?",
"Generalized Euler sum $\\sum_{n=1}^\\infty \\frac{H_n}{n^q}$ I found the following formula $$\\sum_{n=1}^\\infty \\frac{H_n}{n^q}= \\left(1+\\frac{q}{2} \\right)\\zeta(q+1)-\\frac{1}{2}\\sum_{k=1}^{q-2}\\zeta(k+1)\\zeta(q-k)$$ and it is cited that Euler proved the formula above , but how ? Do there exist other proofs ? Can we have a general formula for the alternating form $$\\sum_{n=1}^\\infty (-1)^{n+1}\\frac{H_n}{n^q}$$",
"The differential equation $$ {d^2\\alpha \\over dt^2} + {g \\over L} \\cdot \\alpha = 0 $$ describes a 1-dimensional mathematical pendulum, where $\\alpha $ is the angle, $ g = 9.82 $, and $ L = 0.2 $ is the lentgh of the string. What is the position of the pendulum after 1 second if the velocity at time equals zero is $ 0 $ m/s and the angle at time equals zero is $ {\\pi \\over 60} $ radians. To my understanding this is a homogenous equation, ergo $$ y'' + Cy = 0$$ And with the help of the characteristic equation I get the complex roots $ Ci \\, $ and $ -Ci $. This is a farily simple differential equation, but I have a feeling my calculations so far are wrong (mainly because I didn't expect to see complex roots for this equation).",
"What does \"I have straight A's.\" mean?",
"Can commuting matrices $X,Y$ always be written as polynomials of some matrix $A$? Consider square matrices over a field $K$. I don't think additional assumptions about $K$ like algebraically closed or characteristic $0$ are pertinent, but feel free to make them for comfort. For any such matrix $A$, the set $K[A]$ of polynomials in $A$ is a commutative subalgebra of $M_n(K)$; the question is whether for any pair of commuting matrices $X,Y$ at least one such commutative subalgebra can be found that contains both $X$ and $Y$. I was asking myself this in connection with frequently recurring requests to completely characterise commuting pairs of matrices, like . While providing a useful characterisation seems impossible, a positive anwer to the current question would at least provide some answer. Note that in many rather likely situations one can in fact take $A$ to be one of the matrices $X,Y$, for instance when one of the matrices , or more generally if its (so coincides with the characteristic polynomial). However this is not always possible, as can be easily seen for instance for diagonal matrices $X=\\operatorname{diag}(0,0,1)$ and $Y=\\operatorname{diag}(0,1,1)$. However in that case both will be polynomials in $A=\\operatorname{diag}(x,y,z)$ for any distinct values $x,y,z$ (then $K[A]$ consists of all diagonal matrices); although in the example in the matrices are not both diagonalisable, an appropriate $A$ can be found there as well. I thought for some time that any maximal commutative subalgebra of $M_n(K)$ was of the form $K[A]$ (which would imply a positive answer) for some $A$ with minimal polynomial of degree$~n$, and that a positive answer to my question was in fact instrumental in proving this. However I was wrong on both counts: there exist (for $n\\geq 4$) commutative subalgebras of dimension${}>n$ (whereas $\\dim_KK[A]\\leq n$ for all $A\\in M_n(K)$) as shown in , and I was forced to correct in the light of this; however it seems (at least in the cases I looked at) that many (all?) pairs of matrices $X,Y$ in such a subalgebra still admit a matrix $A$ (which in general is not in the subalgebra) such that $X,Y\\in K[A]$. This indicates that a positive answer to my question would not contradict the existence of such large commutative subalgebras: it would just mean that to obtain a maximal dimensional subalgebra containing $X,Y$ one should in general avoid throwing in an $A$ with $X,Y\\in K[A]$. I do think these large subalgebras easily show that my question but for three commuting matrices has a negative answer. Finally I note that to the cited MO question mentions a result by Gerstenhaber that the dimension of the subalgebra generated two commuting matrices in $M_n(K)$ cannot exceed$~n$. This unfortunately does not settle my question (if $X,Y$ would generate a subalgebra of dimension${}>n$, it would have proved a negative answer); it just might be that the mentioned result is true because of the existence of $A$ (I don't have access to a proof right now, but given the formulation it seems unlikely that it was done this way). OK, I've tried to build up the suspense. Honesty demands that I say that I do know the answer to my question, since a colleague of mine provided a convincing one. I will however not give this answer right away, but post it once there has been some time for gathering answers here; who knows somebody will prove a different answer than the one I have (heaven forbid), or at least give the same answer with a different justification.",
"In classical logic, why is $(p\\Rightarrow q)$ True if both $p$ and $q$ are False?",
"$n,a,b \\mathbb \\in \\mathbb Z^+$ , such that $n\\mid a^n-b^n$ ; to show $n\\mid \\frac {a^n-b^n}{a-b}$",
"I know I can only use the gym feature after hitting level 5, but are there any other privilege or rewards for the levels above 5? For example, in Ingress, some items are only available for the higher level player. How about Pokemon Go?",
"Exporting feature class into multiple feature classes based on field values using ArcGIS Desktop? I have a feature class with over 2,000 features, and I need to make them all individual feature classes based on a field. Is there a way to do this?",
"How does Wild Shape work with special ways to calculate your AC? Among the effects of Wild Shapes, these two: Your game Statistics are replaced by the Statistics of the beast, but you retain your alignment, personality, and Intelligence, Wisdom, and Charisma scores. You also retain all of your skill and saving throw proficiencies, in addition to gaining those of the creature. If the creature has the same proficiency as you and the bonus in its stat block is higher than yours, use the creature's bonus instead of yours. If the creature has any legendary or lair actions, you can't use them. You retain the benefit of any features from your class, race, or other source and can use them if the new form is physically capable of doing so. However, you can't use any of your Special senses, such as Darkvision, unless your new form also has that sense (PHB p.67, \"Wild Shape\") Seem to come into conflict with each other when things like Draconic Resilience: When you aren't wearing armor, your AC equals 13 + your Dexterity modifier. (PHB p.102, \"Draconic Bloodline\") and Barbarians: While you are not wearing any armor, your Armor Class equals 10 + your Dexterity modifier + your Constitution modifier. You can use a Shield and still gain this benefit. and Monks: Beginning at 1st level, while you are wearing no armor and not wielding a Shield, your AC equals 10 + your Dexterity modifier + your Wisdom modifier. and Stone Sorcerers: As an action, you can gain a base AC of 13 + your Constitution modifier if you aren’t wearing armor, and your skin assumes a stony appearance. This effect lasts until you end it as a bonus action, you are incapacitated, or you don armor other than a shield. How would these resolve?",
"When he was just a professor, Dumbledore taught Transfiguration. As Headmaster what was he doing all day? In the 6th movie he was diligently looking for Horcruxes, but what about the other times? When Fred and George pass the Maurader's Map to Harry they note that Dumbledore is pacing in his office. \"He does that a lot\" one of them says. Did Dumbledore just endless pace in his office as Headmaster, afraid to leave it for fear someone would know that he produced no work? Sure, every year he had to go find a new DADA teacher, but most of those it seemed he did through correspondence. Horace Slughorn was the only one that seemed to resist. Dumbledore's 6th year may have been the only one where he earned his paycheck.",
"I'm using Ubuntu and I'm trying to connect to another machine in a different network using remote desktop. In Windows7 I have made the following in order to activate remote desktop: I've gone to computer -> properties -> remote settings I've selected the option: \"Allow connections from computers running any version of Remote Desktop I've opened \"Windows Firewall with Advanced Security\" In inbound rules I've enabled the rules for remote desktop (public and domain) I have also installed Remmina in the Ubuntu machine. For configuring it I did the following steps: Selected the RDP protocol In the server input I have written the Windows machine public IP. In username / password I have typed my login credentials (the same as my Windows admin account) But when I try to connect I get this error message: \"Unable to connect to RDP server 89.130.251.160\" If I ping my Windows7 machine, I have a correct response. Any suggestions?",
"Why don't they use the transporter in the final fight in Star Trek Into Darkness? When Spock was chasing, and beating, Khan over a transport in San Francisco, Uhura orders them beamed both back to the Enterprise, while Chekov says something like: Its impossible, they are moving! But in the first movie, it was Chekov that transported back to Kirk and Sulu, avoiding hitting the Vulcan planet when trying to disable the Romulan drilling platform.",
"How do I build a native (command line) executable to run on Android?",
"When writing a book and referring to a female and male aged 18–25, what term would be most appropriate? Boy and girl seem too young, whereas man and woman seem too old. Example sentence: A boy/man emerged from the shadows. Edit: I think the word I am looking for is similar to 'guy' but less American and colloquial. Any thoughts?",
"Chapter number starts at 2 not 1 How can I start my chapter from \"Chapter 2\" instead of \"Chapter 1\". I am preparing LaTeX document for each chapter. when I put \\chapter{Introduction}, it produces \"Chapter 1\" Introduction. However I want it to be \"chapter 2\" Introduction instead.",
"How can I move my /home directory to another partition if it's already part of the / partition? I have a wonderful running Maverick Meerkat install going on right now. I want to move my /home to another partition as per many suggestions. How can I go about doing this without reinstalling the entire Ubuntu system? Can I simply create the partition with gparted and then change the mount point of /home in fstab to reflect it or is it a bit more difficult?",
"How can you smooth the edge between two materials?"
] | medi_sts_stackexchange_dupe |
CTE with insert and update in sql server 2008 | How can I reuse a Common Table Expression | [
"How to check if a row exists in MySQL? (i.e. check if an email exists in MySQL)",
"What do you call a person who does/thinks the opposite of the crowd for just that reason? Such a person does not hold in high regard the decisions taken by a group (not a team) of people. She believes that groups tend to be anarchic and don't serve their purpose. An example would be - for outings with friends, this person will not like planning it with the group since they will mess it up. Therefore, this person has convinced herself that when more people are involved with something, it will be worse. She distrusts crowds instinctively basically.",
"Is there a standard pronunciation for gender-neutral -@ or -x More and more I see, especially in activist communities, Spanish-derived words ending in x or @ in order to neuter the gendering inherent in the original language. For example: latinx (or latin@) as opposed to latina and latino. How, though, are these endings pronounced? Please provide evidence of how this orthography is most commonly pronounced. Note 1: I recognize this is in an English Language site, rather than a Spanish language site, but this phenomenon is very much happening in English, albeit with Spanish loan words. Therefore the question is relevant to non-Spanish-speaking English speakers. Note 2: A question like this can lead to politically charged or, at least, sarcastic comments. Please refrain from bringing in your biases for or against. Note 3: This question is not seeking opinions as to how some people pronounce the suffixes. Answers should address evidence of a developing orthodoxy in pronunciation.",
"Smeared creamy look effect i came across a photo where the gradient looks like it s smeared from cream. It is hard to explained by saying so here is the Let say i create 2 similar shapes with the gradient pattern then adjust the opacity but the edges will still remain. But in the example the edges are appeared to be soft and hard randomly. Thanks in advance !",
"Inserting an image in plain TeX I used the OzTeX implementation of TeX, also I used to typeset my docs in plain TeX, not LaTeX for me, so I had no problem to insert an image using the OzTeX, now I'm back to TeX docs, am using the TeXWorks frontend, but I can't insert an .eps image file, it seems the \\includegraphics macro its only for LaTeX, so I can't use it, any idea on how to insert an image when using plain TeX?",
"I've installed phpmyadmin sudo apt-get install phpmyadmin. Of course, I have also mysql and a web server running properly. Now how can I reach it?",
"This came up in , but I can't see good documentation or examples that explain how the feature works.",
"Is $\\cot(z)-\\frac1z$ bounded on a given circle?",
"How can I develop for iPhone using a Windows development machine? Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows? The only other way I can think of doing this is to run a Mac VM image on a VMWare server running on Windows, although I'm not too sure how legal this is.",
"What is the maximum number of Locations Discovered that one can achieve in Skyrim?",
"Do I leave a revised question closed even though it falls out of scope for a different reason than the original closure reason?",
"I have 4 copies of the Hot Questions widgets. Sometimes, possibly after they reload on their own, I can only tap to open the last widget I added. If I tap on the question of any others nothing happens. If I refresh each one then tapping works on the one I refreshed.",
"How to count the node a user has created in a View?",
"I wanted a list of sub-domains of Stack Exchange that are not mentioned over here Some of the sub-domains I found which were not mentioned are Are there any other which are not mentioned? Mentions by , , Other mentions below which are not mentioned in \"All Sites\" but are mentioned in the drop down menu on the top left of the Stack Exchange website Any other website that's left out ?",
"What is a mixin, and why are they useful?",
"Is there a way to make an Oracle query behave like it contains a MySQL limit clause? In MySQL, I can do this: select * from sometable order by name limit 20,10 to get the 21st to the 30th rows (skip the first 20, give the next 10). The rows are selected after the order by, so it really starts on the 20th name alphabetically. In Oracle, the only thing people mention is the rownum pseudo-column, but it is evaluated before order by, which means this: select * from sometable where rownum <= 10 order by name will return a random set of ten rows ordered by name, which is not usually what I want. It also doesn't allow for specifying an offset.",
"I currently only have remote access to this CentOS box, I need to move /var form the primary RAID to a new set of disks that was installed with more space, My current thoughts on how to accomplish this is to temporarily mount the new RAID to /tmp/var. rsync everything from /var to /temp/var then modify the fstab to point /var at the new disks. Here is my question. how do I delete the existing /var on the primary disks once I have the new disks mounted to that location (assuming this is even possible remotely)?",
"Drawing users' attention to unrecoverable actions?",
"Name of a special matrix I have a matrix which is kind of symmetrical with the other diagonal, i.e., something like $$A = \\left[ \\begin{array}{c c c c} a & b & c & d \\\\ e & f & g & c \\\\ h & i & f & b \\\\ j & h & e & a \\end{array} \\right]$$ Does this matrix have a special name in literature? What are it's properties? And a matrix that is symmetrical by both diagonals $$A = \\left[ \\begin{array}{c c c c} a & b & c & d \\\\ b & e & f & c \\\\ c & f & e & b \\\\ d & c & b & a \\end{array} \\right]$$ What's the name of it? Any interesting properties?",
"I am a graduate student in economics who recently converted to R from other very well-known statistical packages (I was using SPSS mainly). My little problem at the moment is that I am the only R user in my class. My classmates use Stata and Gauss and one of my professors even said that R is perfect for engineering, but not for economics. He said that many packages are built by people who know a lot about programming, but not much about economics and therefore are not reliable. He also mentioned the fact that since no money is actually involved in building an R package, there is therefore no incentive to do it correctly (unlike in Stata for example) and that he used R for a time and got some \"ridiculous\" results in his attempts to estimate some stuff. Moreover, he complained about he random number generator in R which he said was \"messy\". I've been using R for just a little more than a month and I must say I have fallen in love with it. All this stuff I am hearing from my professor is just discouraging me. So my question is: \"Is R reliable for the field of economics?\"."
] | medi_sts_stackexchange_dupe |
Run script just when div with #id is loaded in DOM | How to catch creation of DOM elements and manipulate them with jQuery | [
"How much meat should I serve per person? Catering a small event tomorrow for twenty people. Serving beef brisket, pulled pork, and veggie lasagna. Question is how much brisket & pork should allow for each person? also serving three sides, rolls, etc.",
"How can I use quotas in samba? I have a simple set-up with just one public share on my configuration file. How can I restrict its size?",
"free groups: $F_X\\cong F_Y\\Rightarrow|X|=|Y|$ I'm reading Grillet's Abstract Algebra. Let $F_X$ denote the free group on the set $X$. I noticed on wiki the claim $$F_X\\cong\\!\\!F_Y\\Leftrightarrow|X|=|Y|.$$ How can I prove the right implication (find a bijection $f:X\\rightarrow Y$), i.e. that the rank is an invariant of free groups? I am hoping for a simple and short proof, having all the tools of Grillet at hand. Rotman (Advanced Modern Algebra, p.305) proves it only for $|X|<\\infty$, Bogopolski's (Introduction to Group Theory, p.55) proof seems (unnecessarily?) complicated, and Lyndon & Schupp's (Combinatorial Group Theory, p.1) proof I don't yet understand. It's the very first proposition in the book; in the proof, they say: The subgroup $N$ of $F$ generated by all squares of elements in $F$ is normal, and $F/N$ is an elementary abelian $2$-group of rank $|X|$. (If $X$ is finite, $|F/N|=2^{|X|}$ finite; if $|X|$ is infinite, $|F/N|=|X|$). $\\square$ Is $N:=\\langle w^2;w\\in F\\rangle$? What is an abelian $2$-group? Elementary? What and how does the above quote really prove? I'm guessing a free abelian group on $X$ is $\\langle X|[X,X]\\rangle\\cong\\bigoplus\\limits_{x\\in X} \\mathbb{Z}$? Can an isomorphism $\\varphi:F_X\\rightarrow F_Y$ not preserve the length of words? At least one letter words?",
"Does the full quarantine period have to be observed for short trips of less than 14 days to England? I am planning to go to England for 2 days in preparation of moving (I already have a place rented and would be staying there) a few weeks later. I am coming from a country where I would need to do a 14 day quarantine as soon as I enter England. Does this mean that I have to stay in England for 14 days or can I leave the country before the end of the 14 day quarantine without facing a penatly? I have found no information about what the rules are for planned stays of less than 14 days on the , while seems to say that short trips are OK. Official sources would be appreciated.",
"How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves? I have seen given on Wikipedia, but unfortunately it did not help.",
"How to resolve a Java Rounding Double issue Seems like the subtraction is triggering some kind of issue and the resulting value is wrong. double tempCommission = targetPremium.doubleValue()*rate.doubleValue()/100d; 78.75 = 787.5 * 10.0/100d double netToCompany = targetPremium.doubleValue() - tempCommission; 708.75 = 787.5 - 78.75 double dCommission = request.getPremium().doubleValue() - netToCompany; 877.8499999999999 = 1586.6 - 708.75 The resulting expected value would be 877.85. What should be done to ensure the correct calculation?",
"Distribution of sum of exponentials Let $X_1$ and $X_2$ be independent and identically distributed exponential random variables with rate $\\lambda$. Let $S_2 = X_1 + X_2$. Q: Show that $S_2$ has PDF $f_{S_2}(x) = \\lambda^2 x \\text{e}^{-\\lambda x},\\, x\\ge 0$. Note that if events occurred according to a Poisson Process (PP) with rate $\\lambda$, $S_2$ would represent the time of the 2nd event. Alternate approaches are appreciated. The approaches provided are commonly used when learning queueing theory & stochastic processes. Recall the Exponential distribution is a special case of the Gamma distribution (with shape parameter $1$). I've learned there is a more general version of this that can be applied.",
"SQL JOIN - WHERE clause vs. ON clause",
"I've got a very small coefficient (-0.04) and R-squared (0.028) but a significant P value (<0.0001). My question is: Is my result still meaningful? How to interpret it? The result is from a linear regression model in a big database in R. The independent variable (B) has more than 200 values, whereas the dependent variable (A) has 13 values. The potential correlation is below: So, I ran a linear regression model between A and B and the result is: >mod1<-lm(A~B) Call: lm(formula = A ~ B) Residuals: Min 1Q Median 3Q Max -63.174 -11.816 -1.651 10.184 118.001 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 132.274547 0.303723 435.511 < 2e-16 *** B -0.036675 0.009052 -4.052 5.13e-05 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: 18.52 on 8093 degrees of freedom (123 observations deleted due to missingness) Multiple R-squared: 0.002024, Adjusted R-squared: 0.001901 F-statistic: 16.42 on 1 and 8093 DF, p-value: 5.134e-05 As you can see, the coefficient of B is only -0.03 and adjusted R squared is only 0.1% but with a p value <0.0001. Is my result reasonable and countable? Surely, my database is larger (8000 records) and even a very small effect size will show a significant P value. But how would I interpret this?",
"Why is triple-DES using three different keys vulnerable to a meet-in-the-middle-attack? Among other sources, states that triple DES using three seperate keys (k1, k2, k3) is vulnerable to meet-in-the-middle-attacks, while triple DES using only two keys (k1, k2, k1) is not. Why is this attack possible if all the keys are different, but not if the first and the third are the same?",
"What is the unisex form of a word like fisherman? Do you have to use fisherman and fisherwoman separately, or is fisherperson acceptable? I couldn’t find a dictionary with the word … In general, what do you do when a word does not have a unisex form?",
"Indicator icons do not appear after upgrade to Ubuntu 17.10",
"Food in the Star Wars Universe?",
"Few application icons not appearing in Ubuntu Dock after upgrading to Ubuntu 17.10",
"Volume generated by revolving the region in the first quadrant bounded by the parabolas $y^2=x$, $y^2=8x$, $x^2=y$, $x^2=8y$ about the $x$-axis. I came across this question from Schaum's Outlines of Advanced Calculus: Show that the volume generated by revolving the region in the first quadrant bounded by the parabolas $y^2=x$, $y^2=8x$, $x^2=y$, $x^2=8y$ about the $x$-axis is $\\dfrac{279\\pi}{2}$. My solution was to divide the region into three parts: $$\\pi\\int_{1}^{2}(x^2)^2 - (\\sqrt{x})^2\\;dx = 4.7\\pi$$ $$\\pi\\int_{4}^{8}(\\sqrt{8x})^2 - (\\sqrt{x})^2\\;dx = 42\\pi$$ $$\\pi\\int_{2}^{4} (x^2)^2 - \\left(\\frac{1}{8}x^2 \\right)^2\\;dx = 44.9\\pi.$$ Hence the total volume will be $$\\pi(4.7 + 42 + 44.9) = 91.6\\pi$$ which is wrong. Can someone point out my mistake?",
"Software center not loading software lists",
"What is ground and what does it do?",
"What is the easiest way to handle huge numbers in C? I need to store values in the Area 1000^900, or in more human readable form 10^2700. Does anybody know of an easy way to do that? Any help would really be appreciated!",
"It was suggested that I should get myself a polarizer filter to get over my reflection problem. ( ) I found out that a Nikon 52mm Circular Polarizing Filter CPL while I can get another filter for less than half the price — . (Please note that I know nothing about these filters and googled them just for the example.) What is the difference between polarizer filters? I need to remove the glare and nothing else — would either of the two do the magic for me? What filter do you recommend for me?",
"What is a good data plan for Internet surfing in northern Italy? I've checked the webpages of some their providers, but franly, just like in the case of those in my own language, I literally cannot find my way around them. So if you wouldn't mind sharing a word of two or advice. I'm looking for a good solution for mobile internet surfing in northern Italy, that can be connected to a laptop (you know, that usb stick with a SIM card inside kind of thing). 15 Gb or so at some decent speed. Can you perhaps give a recommendation or two of what to get? Edit: Just to define what I'm looking for exactly. A data plan of 15 Gb with an internet key (usb stick into which a SMS card goes) that you plug into a laptop. Preferably non-contractual, so I can cancel when I leave. I am not interested in surfing on my mobile phone since due to size I still prefer the smaller Nokia-like models for calls (smaller to carry) - no internet on them."
] | medi_sts_stackexchange_dupe |
ios which is the best way to pass data from one viewcontroller to another . through singleton class or *.h file? | Passing data between view controllers | [
"Floating sidebar clash with footer in team page Here is a screenshot from page, with the floating sidebar: (all good so far) After I scroll down to footer it just combines both: Can it please be fixed?",
"How do I format a Microsoft JSON date? I'm taking my first crack at with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a string back that looks like this: /Date(1224043200000)/ From someone totally new to JSON - How do I format this to a short date format? Should this be handled somewhere in the jQuery code? I've tried the jQuery.UI.datepicker plugin using $.datepicker.formatDate() without any success. FYI: Here's the solution I came up with using a combination of the answers here: function getMismatch(id) { $.getJSON(\"Main.aspx?Callback=GetMismatch\", { MismatchId: id }, function (result) { $(\"#AuthMerchId\").text(result.AuthorizationMerchantId); $(\"#SttlMerchId\").text(result.SettlementMerchantId); $(\"#CreateDate\").text(formatJSONDate(Date(result.AppendDts))); $(\"#ExpireDate\").text(formatJSONDate(Date(result.ExpiresDts))); $(\"#LastUpdate\").text(formatJSONDate(Date(result.LastUpdateDts))); $(\"#LastUpdatedBy\").text(result.LastUpdateNt); $(\"#ProcessIn\").text(result.ProcessIn); } ); return false; } function formatJSONDate(jsonDate) { var newDate = dateFormat(jsonDate, \"mm/dd/yyyy\"); return newDate; } This solution got my object from the callback method and displayed the dates on the page properly using the date format library.",
"Merge two data frames while keeping the original row order",
"Reading input from text file to array in c++",
"Automorphism group of the quaternion group",
"I am currently using Ubuntu 12.04 because the latest upgrade 14.04 is not working in my system. I need to install the latest Adobe Flash Player 17 plugin, but it only allows me to install up to version 11.02, so media files cannot be opened. It says that Adobe Flash Player 17 is not compatible with my system.",
"Changing the homepage",
"probability that exactly two accidents happen in any day of a week if 7 accidents happen in a week If 7 accidents happen in a week, what is the probability that exactly 2 accidents happen in any day of the week. I tried to work it this way. 2 accidents out of 7 can be taken in ${7}\\choose{2}$$= 21$. Now this can happen in any of the 7 days, so we have $7 \\times 21$. Now, the remaining 5 can happen in $6^5$ ways. So the probability is $\\frac{7\\times 21 \\times 6^5}{7^7} = \\frac{3 \\times 6^5}{7^5}$ But this gives me a value greater than 1. I know I am doing something wrong. Can anyone help me ?",
"How to check the tasks that are running at different run levels in debian?",
"Mouse acceleration seems to be on by default, and I can't find anywhere in the launcher settings or the in game settings to turn it off. It's very annoying as it makes it feel as if the mouse is lagging. Is there any way to turn it off?",
"We have officially discontinued the Amazon book affiliate remnant ads, since despite our best efforts they don't perform well for our audience and cannot be made to perform well. We've often wondered, I'm thinking this isn't a problem; it has gotten lots of support historically. So we're going to go ahead and do it, so the company Amazon account is still getting some use, and we benefit a little. To be clear: from this point on, all Amazon links posted on all sites will automatically be rewritten to add our affiliate link. We have a clever affiliate redirect that geolocates the IP address and redirects to the appropriate regional Amazon store (amazon.uk, amazon.ca, et cetera). If you have any feedback on this, or suggestions, as they say … speak now or forever hold your peace!",
"I am wondering if we should use or for buttons and headings in websites and web/mobile apps? Title Case: Manage my Account Delete my Account Sentence case: Manage my account Delete my account In I found the recommendation 'choose your style and be consistent'. This is it? Aren't there any other (additional) recommendations or sources. Like for specific use cases or apps where the one style would be preferred over the other? Edit: The question refers primarily to English, but differences in other languages are also good to know.",
"Understanding my electrical panel I just purchased . I'll be installing it in my RV. Current will be supplied by a 12VDC to 120VAC, 3000W inverter. I'll be using Single-Pole Type BR breakers. Here's a picture of the box: My current understanding is that I must install a grounding bar to the box. This is my current understanding of how to connect the breaker to the main supply.: Here is my understanding of how I would wire in new circuits: Does this look right? I would really appreciate your help -- I've been beating myself over the head about this.",
"Supporting Multiple Screen Sizes in Storyboards (3.5 and 4 inch screens)",
"How to show $a,b$ coprime to $n\\Rightarrow ab$ coprime to $n$?",
"Prove that all 2x2 orthogonal matrices can be expressed as Rotation or Reflection",
"MacBook Pro locked with Find My Mac and won't let me boot",
"Badge symbol in notification is of the site you're on, not where badge was earned It's so cool that the notification reminds you of the colour of badge you've earned. But I am a little puzzled by the symbols: Is it feasible to use the symbol from the earned site? At the moment it uses the symbol from the site I happen to be on (as you can see by looking to the left of the dropdown in each case.)",
"Get Label value for specified language",
"What diode modifiers are used in practice to model LEDs with SPICE (Berkeley v.3f5)? are available to me: # Name Parameter Units Default Example Area 1 IS Saturation current A 1e-14 1e-14 * 2 RS Ohmic resistance Ω 0 10 * 3 N Emission coefficient - 1 1.0 4 TT Transit-time s 0 0.1ns 5 CJO Zero-bias junction capacitance F 0 2pF * 6 VJ Junction potential V 1 0.6 7 M Grading coefficient - 0.5 0.5 8 EG Activation energy eV 1.11 1.11 Si 0.69 Sbd 0.67 Ge 9 XTI Saturation-current temperature exponent 3.0 3.0 jn 2.0 Sbd 10 KF Flicker noise coefficient - 0 11 AF Flicker noise exponent - 1 12 FC Coeff. for for.-bias dep. cap. formula 0.5 13 BV Reverse breakdown voltage V ∞ 40.0 14 IBV Current at breakdown voltage A 1.0e-3 15 TNOM Parameter measurement temp. °C 27 50 The dc characteristics of the diode are determined by the parameters IS and N. An ohmic resistance, RS, is included. Charge storage effects are modeled by a transit time, TT, and a nonlinear depletion layer capacitance which is determined by the parameters CJO, VJ, and M. The temperature dependence of the saturation current is defined by the parameters EG, the energy and XTI, the saturation current temperature exponent. The nominal temperature at which these parameters were measured is TNOM, which defaults to the circuit-wide value specified on the .OPTIONS control line. Reverse breakdown is modeled by an exponential increase in the reverse diode current and is determined by the parameters BV and IBV (both of which are positive numbers). For example, using this basic, cheap red: I don't care much about high-frequency characteristics -- just would like to be able to match it's IV-curve within its operating specs (-10uA/-5V leakage to +100mA/+2.2'ishV forward):"
] | medi_sts_stackexchange_dupe |
Determining name for family relationship that involves a step daughter? | Seeking English term for relationship between two members of extended family? | [
"No \\xrightrightarrow[a]{b}?",
"Word or Phrase for \"Easily Swayed\" What word or phrase best communicates the idea that a human (or other sentient being) is easily swayed, particularly between moral good and evil? Words I have found that are close are: Impressionable - Easily influenced because of a lack of critical ability. Implies that the subject lacks critical skills, and misses the concept of good and evil. Gullible - Easily persuaded to believe something Misses the concept of good and evil I created a typical angels and demons scenario to demonstrate the polar extremes of the the spectrum. In this scenario, I lack the word to describe the humans, who can be influenced towards either end of the spectrum if impressed upon by an external entity. The angels are devoted to good, and are immovable in their ideals. The demons are wicked, and will feign morality only to manipulate others. Both prey upon the humans, who are ____________. I think that the key here is the spectrum of good an evil. Here are examples of other spectra and their associated words, for comparison. Easily pushed from calm to angry: Temperamental Easily moved from determined to hopeless: Weak-willed Easily influenced by propaganda:",
"Let , $\\Delta = B(0,1)$. If $f:\\Delta \\rightarrow \\Delta$ is holomorphic, and $f(0)=0$, prove that $|f(z)+f(-z)| \\leq 2|z|^2$. My attempt so far: $\\displaystyle f(z) = \\sum_{n=0}^{+\\infty} a_n z^n = \\sum_{n=0}^{+\\infty} a_{2n} z^{2n} + \\sum_{n=0}^{+\\infty} a_{2n+1} z^{2n+1}$ $\\displaystyle f(-z) = \\sum_{n=0}^{+\\infty} a_n (-z)^n = \\sum_{n=0}^{+\\infty} a_{2n} z^{2n} - \\sum_{n=0}^{+\\infty} a_{2n+1} z^{2n+1}$ Then, $\\displaystyle f(z)+f(-z) = 2 \\sum_{n=0}^{+\\infty} a_{2n} (z^2)^n =: 2 g(z^2)$ If $g(\\Delta) \\subset \\Delta$, as $g(0) = 0$, I can invoke Schwarz Lemma and I win. However, I don't know how to prove this. Could anyone help me? Thanks!",
"Find the smallest disk in complex plane containing the eigenvalues of a matrix (NBHM 2012) Consider the given matrix $$\\left[\\begin{matrix}1& -2& 3& -2 \\\\1& 1& 0& 3\\\\-1& 1& 1& -1\\\\0& -3& 1& 1&\\end{matrix}\\right]$$ Find out the smallest disk like ($|z-1| < r$ ) in the complex plane containing the eigenvalues of the given matrix. One easiest method is to find out the eigenvalues from the characteristic equation of the matrix. I can do it so no problem with it. I am looking for a method to solve the problem without the above method that can be evaluated in very short time. This type of method is possible, I believe. Thank you for your help",
"I have a SNP table looks like this A N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N C C N N N N N N N N N N C C N N N C C N N N N N N N N N N N N N N N N N I want to count total number of N in each row? any idea how to do that",
"Economics.SE's favicon is missing in action",
"If $x_1,...,x_n$ are positive real numbers and if $y_k=1/x_k$, prove that $$\\left(\\sum^n_{k=1}x_k\\right)\\left(\\sum^n_{k=1}y_k\\right)\\geq n^2.$$ I've been learning induction, and I've come across this problem that I really can't even break down and begin to think about. I've been told it has something to do with Cauchy-Schwarz, but I cannot figure out how to apply it. I would appreciate help figuring out how to go about and formulate this proof. Thanks!",
"Today after I installed Ubuntu 16.04 via USB on my pre-installed Windows 8 machine, I was required to restart my computer. After doing so I wasn't offered to select an OS, so after searching the internet, I came across Boot-Repair which I ran using the Try Ubuntu option in my Ubuntu installation USB. Following the boot repair I got a message saying, If your computer directly reboots into Windows, try to change the boot order in your BIOS. If your BIOS does not allow to change the boot order, change the default boot entry of your Windows bootloader. For example, you can boot into Windows then type the following in an admin command prompt: bcdedit /set {bootmgr} path \\EFI\\ubuntu\\shimx64.efi After I rebooted my PC, I am receiving the following error message for about 3 seconds, after which it boots automatically into Windows 8, without letting me access Ubuntu. Error received while booting after manufacturer's logo, before grub: Failed to open \\EFI\\BOOT\\grubx64.efi - Not Found Failed to load image \\EFI\\BOOT\\grubx64.efi: Not Found start_image() returned Not Found So I tried the other solution of typing that command in the cmd, to which my surprise, worked, and I am now prompted a window (grub) to choose my OS each time I turn on my PC, but unfortunately, I still receive an error each time, that lasts about 3s, after which I can choose my OS (both are working just fine) and work normally. Do you have any suggestions to get rid of the error message each time I boot my PC?",
"How to shop for mortgage rates ? I have already been prequalified with 3.8% (but I am sure I can do better :)). Now, I am about to make an offer on a house. So, once the seller accepts my offer, how do I rate shop ? Do I need to do the rate shopping before making an offer, or after the seller accepts my offer ? When the seller accepts my offer, then I will go to a banker and submit a full application, so will it be legally binding for me to go with the approved mortgage application ? Or, once the seller accepts my offer, may I simultaneously apply for a mortgage with 3-4 bankers, and then choose the lowest rate ? I asked my realtor, but she recommends to go with just one banker (her friend), and not to do any rate shopping. Is it the right way ? (I live in a state of Arkansas, so I am thinking of going with the local bankers)",
"Why exactly can't a single resistor be used for many parallel LEDs? Why can't you use a single resistor for a number of LEDs in parallel instead of one each?",
"What is the best way to find the users home directory in Java?",
"Is there a continuous function such that $\\int_0^{\\infty} f(x)dx$ converges, yet $\\lim_{x\\rightarrow \\infty}f(x) \\ne 0$? Is there a continuous function such that $\\int_0^{\\infty} f(x)dx$ converges, yet $\\lim_{x\\rightarrow \\infty}f(x) \\ne 0$? I know there are such functions, but I just can't think of any example.",
"Let $f(z)$ be entire function. Show that if $f(z)$ is real when $|z| = 1$, then $f(z)$ must be a constant function using Maximum Modulus theorem Let $f(z)$ be entire function. Consider the functions $e^{if(z)}$ and $e^{−if(z)}$ and applying the Maximum Modulus Theorem, show that if $f(z)$ is real when $|z| = 1$, then $f(z)$ must be a constant function. (We take $f(z)=u(z)+iv(z)$) I am confused as so far I have $|g(z)|=|e^{if(z)}|=|e^{-v(z)}|$ and then since $f(z)$ is real, $f(z)=u(z)$ and $v(z)=0$ so I assumed it would follow that $|g(z)|=|e^{v(z)}|=1$. Similarly, $|g(z)|=|e^{-if(z)}|=|e^{v(z)}|=1$. Using Liouville I assumed one could say that both $g(z)$ and $h(z)$ are bounded entire functions, they are constant and so it follows that $v(z)$ is constant, meaning that both its partial derivatives are equal to 0 and, due to Cauchy Riemann, both of the partial derivatives of $u(z)$ are equal to zero. It would then follow that $f(z)$ is constant. I don't know how to go about the question using the Maximum Modulus Theorem, also I feel I am overlooking the importance of $|z|=1$ perhaps? Any help would be much appreciated!!",
"How to extract the boundary of a raster image?",
"I'm robotic engineer. I'm using OpenSCAD to model robotic components (gears, pulleys, parts, etc). But I need application to model physics and interaction of the components (for i.e. how will robot move if I will rotate current gear). So, is it possible to import OpenSCAD models into Blender and model interactions in it? I have models in STL format (for i.e. gears). I need to make reductor from it and see how it moves (if possible - measure rotation speed and torque).",
"World edit wood rotation",
"breaking of output into new lines I created a script ./abc. I want to break the ouput into new lines. mycode: #!/bin/bash dir=\"$1\" echo -n \"size of file:\" du -hba $dir | sort -n -r | tail -1 my output is: size of files: 20kb /path/to/sport I want the output as: size of files: 20kb /path/to/sport",
"$_SERVER['QUERY_STRING']; not returning full query string",
"The use of nominative \"whom\" (as in “persons whom it is foreseeable are likely to...”) From page 48 of Law: A Very Short Introduction, by Raymond Wacks: In other words, you owe a duty to persons whom it is foreseeable are likely to be harmed by your conduct. To try to parse this, temporarily overlook 'it is foreseeable'. Then persons is the subject of the verb phrase are likely to be harmed. So , should the relative pronoun for persons be who instead? Is my parse wrong? Are the (deleted) comments right: that this style predominates in law texts? If this is correct grammar, what is the general rule? Is it commonly used in other contexts?",
"How do idle games handle such large numbers? Just wondering how games such as Tap titans and Cookie Clicker handle such large numbers. I am trying to implement an idle game however the largest number format supported by C# is decimal. I am looking to support up to 10^500; that needs to be floating point How could I handle this? P.S. it needs to be cross platform i.e. pc, mac, ios, android and compatible with Unity"
] | medi_sts_stackexchange_dupe |
Plotting roots of a predefined complex polynomial | Plotting complex numbers | [
"Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites: That's, uh, not correct. Our site has had its usual activity level during this time. I checked a couple other sites, and the pattern is consistent. This looks like a problem in the analytics data that's coming in; did Google change their API? Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report. (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.)",
"Can we denied permission for synchronized data extension in Salesforce Marketing Cloud, My requirement is, I don't want to allow users to access synchronized data extension either in contact builder or in Subscribers.",
"Is there any other size tires that will fit on a 27 x 1 1/4 rim?",
"Is there a LaTeX/TeX preprocessor/inliner that replaces only selected macros with their definitions?",
"Perform feature normalization before or within model validation? A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things: Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence. We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance. Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative?",
"In Ubuntu releases prior to Ubuntu 19.10 Eoan Ermine, when I run a command with sudo, that command receives my home directory in the $HOME environment variable. This is the behavior I have long expected and . If I want sudo to reset the $HOME environment variable, so that it refers to the target user's home directory instead of my own, I have to pass the -H option (or -i, though that does more). ek@Kip:~$ lsb_release -d Description: Ubuntu 18.04.3 LTS ek@Kip:~$ sudo printenv HOME # Shows ek's home, not root's. /home/ek ek@Kip:~$ sudo -u as printenv HOME # Shows ek's home, not as's. /home/ek ek@Kip:~$ sudo -H printenv HOME # Shows root's home. /root ek@Kip:~$ sudo -Hu as printenv HOME # Shows as's home. /home/as When I first upgraded to Ubuntu 19.10, I was surprised to discover that sudo seems to reset $HOME no matter what! I continue to observe this now that 19.10 is released and I've installed updates--both on newly installed systems and one I upgraded to 19.10. ek@Cord:~$ lsb_release -d Description: Ubuntu 19.10 ek@Cord:~$ sudo printenv HOME # Shows root's home, even without -H or -i. /root ek@Cord:~$ sudo -u as printenv HOME # Shows as's home, even without -H or -i. /home/as ek@Cord:~$ sudo -H printenv HOME # Also shows root's home. /root ek@Cord:~$ sudo -Hu as printenv HOME # Also shows as's home. /home/as I thought this might be due to . But I checked, and always_set_home does not appear in any Defaults line in my 19.10 /etc/sudoers file. What makes sudo treat $HOME differently starting in 19.10, and why was this change made? Does this make it safe to use plain sudo in cases where I would previously have used sudo -H?",
"Why are the two versions of Chromium and VLC available in Ubuntu software of different sizes?",
"I almost always want the profile correct applied, but it's an extra step. Any ideas on how to apply these automatically?",
"Screen Resolution Problem with Ubuntu 14.04 and VirtualBox",
"Classical limit of quantum mechanics I have heard that one can recover classical mechanics from quantum mechanics in the limit the $\\hbar$ goes to zero. How can this be done? (Ideally, I would love to see something like: as $\\hbar$ goes to zero, the position wavefunction reduces to a delta function and that the Schrodinger equation/Feynman path integral reduces to the Newtonian/Lagrangian/Hamiltonian equations of motion.)",
"I just came across this code and a few Google searches turn up no explanation of this mysterious (to me) syntax. Hashtable^ tempHash = gcnew Hashtable(iterators_); IDictionaryEnumerator^ enumerator = tempHash->GetEnumerator(); What the heck does the caret mean? (The gcnew is also new to me, and I asked about that .)",
"I'm a citizen of an EU member state traveling to a small city in Vermont. Looking at flight data, it seems that it would be quite a bit quicker to fly into Montreal (Canada) and then drive a rental car to my final destination in Vermont (and back), rather than getting a connecting flight into a small local US airport. I am slightly worried about the trouble I might get myself into by crossing a land border twice, though. Can anyone give me an idea of what I'd be getting into in terms of: Crossing time Discomfort Additional paperwork required For both the outbound (Canada/US) and the return leg (US/Canada) of my journey, when compared to crossing the border at an international airport? Also, do I need to take any special actions when I'm arranging a rental car if I intend to drive it over to the US and back?",
"This is a question that has received various answers. This questions seems simple, but it proves to be rather tricky. So : We flip a coin (H-T) independently $10$ times. Let's for the moment not care about whether it is fair or not. How many $3$-head sequences are there? Solution: Some say that the answer is $\\displaystyle\\frac{10!}{7!3!}$, but this is the number of ways by which $3$ heads can be arranged in $10$ positions. This answer , however, does not say anything about the remaining $7$ positions. Each of these seven positions can be H or T. The total number of $7$-element sequences is $1\\cdot1\\cdot1\\cdot2^7=2^7$. Then we have to multiply this by $\\displaystyle\\frac{10!}{7!3!}$ as the three heads can be anywhere. But I have found that this is not the correct answer. The correct is just $\\displaystyle\\frac{10!}{7!3!}$. So why not multiply by $2^7$?",
"Passive aggressive people will sometimes veil insulting, critical, derogatory or generally aggressive comments with humor. The patina of humor makes the comment seem like a joke, not to be taken seriously, all in good fun, and it safeguards the aggressive person. If someone gets offended, they are being too serious, can't take a joke, and so they cannot voice their upset without seeming to be the one escalating the situation, when in fact it was the aggressor who did that. This behavior seems to lie on a spectrum. On one side are comments which are simultaneously aggressive and genuinely funny (though of course both, especially the latter, are fairly subjective). On the other side would be lame attempts at the behavior, something like \"you are fat!... just joking!\" in which nothing in the tone or delivery signals a register of humor. In the middle of the spectrum, I imagine, are aggressive statements genuinely delivered as jokes. Their register signals that they are jokes, but they are aggressive rather than funny. They are aggressive comments masquerading as jokes. A friend once called this \"joking on the square\", but I have never heard or seen this phrase. This type of comment is both pervasive and psychologically subtle and in my experience there is often an exact word describing such things. If not a word, is there an astute phrase which cuts to the heart of this?",
"I'm looking to implement a phase lock in an FPGA without using any external components (other than the ADC). For simplicity locking to a simple binary pulse is adequate. The frequency of the signals is ~0.1-1% of the clock. I can't use the onboard clock PLL's because they are typically: Not configurable (set during synthesis). Jittery. Don't support the frequency I need. I've been sorting through the literature and found a few binary phase locked loops. Most notable a \"pulse steal\" design that I can post a link to if desired. I have implemented and synthesized with some success, but its jitter and lock range was not as good as advertised. I've also had success using a external DVCO, but I would prefer if I can implement everything on chip. A digital circuit design or even a hint in the right direction would be helpful (I've been banging my head against this for a while), a proven FPGA implementation would be wonderful but not expected. ADDED 10-27-2010 The actual DPLL design that I used has a \"Random Walk Filter\" as the loop filter (not the \"pulse steal\" described earlier, going through my notes that didn't work to well), which then drives the clock pulses to the DCO. The lock-in range is set via divider in the DCO. The sensitivity of the loop is established by varying the length of the random walk. The paper in which this is found is cited at the end of this post. After implementing parts of it myself, I found that it was actually already implemented on OpenCores, however it turns out that in the last few months the project was deleted but I have the Verilog files saved if anyone wants them. Yamamoto, H.; Mori, S.; , \"Performance of Binary Quantized All Digital Phase-Locked Loop with a New Class of Sequential Filter,\" Communications, IEEE Transactions on , vol.26, no.1, pp. 35- 45, Jan 1978 doi: 10.1109/TCOM.1978.1093972 URL:",
"What is the best way to store ground coffee? I know it's better to use freshly ground beans and not store it ground at all, but if I have no other choice, how can I best preserve ground coffee? sort of asks the same thing, but the answers focus on storing whole beans, and the answers addressing ground coffee make it pretty unclear whether a cool cabinet, the fridge, or the freezer is the best place.",
"Running the minimal example \\documentclass{article} \\usepackage{filecontents} \\begin{filecontents*}{\\jobname.bib} @ARTICLE{example, author = {Other, Anthony Norman}, title = {Some things I did}, year = {2014}, journal = {J.~Irrep. Res.}, volume = {1}, number = {1}, pages = {1-10} } \\end{filecontents*} \\usepackage[backend=biber]{biblatex} \\addbibresource{\\jobname.bib} \\begin{document} Hello\\cite{example}. \\printbibliography \\end{document} I get the warning There were undefined references. I have read and know that I need to run: LaTeX Biber LaTeX However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle? Answers (sorted alphabetically by editor name) Answer guidelines Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools",
"Windows 10 - disable reopening programs after restart/startup Occasionally, a forced restart is happening on my Windows 10 computer. When the OS is restarted every program that I've had prior to the restart is reopened at startup. The programs are reopened like I would just double-click them. I usually hold 5-6 windows of Visual Studio and few more programs all together. When the above happens, I have to wait several minutes until I can start working, as everything takes ages to load. Is there a setting to disable these programs from automatically opening at startup?",
"Connect Error (2054) - mysql_old_password issue still not solved",
"What does \"rc\" in .bashrc stand for? Is it \"resource configuration\", by any chance?"
] | medi_sts_stackexchange_dupe |
Why there is no value for $x$ if $|x| = -1$? | Is there a number whose absolute value is negative? | [
"Why is the gravitational force always attractive? Is there another way to explain this without the curvature of space time? PS: If the simple answer to this question is that mass makes space-time curve in a concave fashion, I can rephrase the question as why does mass make space-time always curve concavely?",
"Why is the first band on a resistor never black? I'm taking an electronic circuit analysis class, and I was asked to give the color of the 3rd band of a 1MΩ resistor. My answer was blue, thinking it could be black-brown-blue (01 * 1MΩ), but the automated quiz said the correct answer was green (brown-black-green). So I did some research, thinking there were just multiple correct answers, and I read in a few places that the first band on a resistor is never black (0). Why is this? Does a black first band have some other meaning? It would really help me remember it if I knew the history or reasoning behind it. This question has been answered. For further reading on zero-ohm resistors mentioned in the answers and comments here, I found these questions and answers helpful:",
"I just bought a used and it comes with regular rim brakes. I'm perfectly happy with them so far, but have been wondering if disc brakes would come handy when it rains. What is involved in converting a bike from rim brakes to disc brakes (mechanical or hydraulic)? Is this something that is feasible, or am I better off buying another bike that already has disc brakes?",
"How many solutions has the equation $\\sin x= \\frac{x}{100}$ ?",
"How can I find duplicate photos? What can I use to find duplicate photos, including photos that have been resized?",
"ATMEGA328P standalone sketch doesn't work as expected",
"How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator?",
"What is the difference between Ubuntu and its derivatives? What different Ubuntu derivatives are there? And what is special with them?",
"Centering polygon on specific coordinates using QGIS I need to place a set of polygons onto a set of points, so that each polygon is centered on its corresponding point. How do I do that? In MapInfo I can just manually edit the coordinates of the center, but there does not seem to be an equivalent in QGIS.",
"Why are the IV (constant) values fixed for HMAC/SHA? Why do HMAC/SHA IV's have a fixed value? I refer to the arbitrary H constants which are included in the algorithm prior to any data being fed in. Why aren't they exposed to the user, so one can decide on an IV and modify it accordingly (for example, in java they are provided at hash function specification, instead of being supplied by the user at init)? How does modifying these IVs affect the algorithm?",
"I use babelbib and I have a source with two authors. Contrarily to when using the plain bib style, as soon as I switch to babplain, the author names are formatted like this: [1] Müller, Jan und Eva Schulze: Name of the book, 2015. While I would like both author names to be formatted the same way, that is one of these: [1] Müller, Jan und Schulze, Eva: Name of the book, 2015. [1] Jan Müller und Eva Schulze: Name of the book, 2015. sources: % test.tex \\usepackage[ngerman]{babel} \\usepackage[fixlanguage]{babelbib} \\selectbiblanguage{ngerman} \\bibliographystyle{babplain} \\bibliography{test} % test.bib @manual{foo, author = \"Müller, Jan and Schulze, Eva\", title = \"Name of the book\", year = \"2015\", } I can fix it by specifying and {Schulze, Eva}, but that way all is treated as the last name, that cannot be the solution, can it?",
"Can't execute terminal commands: \"the command 'sudo' is available in '/usr/bin/sudo'\" I have been using Ubuntu 12.04 for quite a while and have never had a problem come at me out of the blue like this. I'm trying to install python 3.2 on my Ubuntu system and every time I run the code to compile the python source, I get this error: 'Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found' I've also tried running gksudo command to view what my environment shows but I pretty much get the same error.",
"Drush 6 works great of corse on a Drupal 6 website, but will I have all of the Drush 6 features when working on a Drupal 7 website? Should I use Drush 7 when working on a drupal 7 website? I found this post that says you can switch between the two version easily, is this correct? switch to drush6 command: composer global require drush/drush:6.* switch to drush7 command: composer global require drush/drush:dev-master",
"How to create a link to a URL provided in a bib file with custom text Using biblatex, how can I get a URL from the bib file so that I can use it in the \\href command? I am guessing that the \\usefield command is what I am looking for and that in order to use that I would need the \\entrydata command. But both are undefined. \\documentclass{article} \\usepackage[backend=biber]{biblatex} \\usepackage{hyperref} \\usepackage{filecontents} \\begin{filecontents*}{sources.bib} @online{biblatex, url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}, urldate = {2018-02-02}, } \\end{filecontents*} \\addbibresource{sources.bib} \\begin{document} % This would work, but I don't want to duplicate the URL from the bib file: \\href{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}{biblatex documentation} % Does not work because \\citeurl{biblatex} is already a link, not the URL: %The \\href{\\citeurl{biblatex}}{biblatex documentation} % Does not work because \\usefield and \\entrydata are undefined: %The \\entrydata{biblatex}{\\usefield\\href{url}{biblatex documentation}} \\printbibliography \\end{document}",
"How to show (or hide) a hidden file I wanted to add classpath to my JDK. While searching a way to do it I noticed everyone open .profile file using terminal. But when I want to open and edit it with a text editor I couldn't see that file in Home folder. Can someone tell me why is this. And also if possible how can I access .profile in home folder the GUI way.",
"Book series my dad told me about. It involves space travel, clones, and an indigenous people with kangaroo tails My dad read a book series that he recommended to me last year. Now that I am ready to start it, neither of us can recall the title. He said there were several in the series but he can't recall how many. The book is about traveling to a new planet, presumably with the goal of colonizing it. The crew are clones who have no memory. I think the goal was for the older original versions of the clones to transfer their consciousness into the clone bodies to be able to live on the new planet but something goes wrong. There is an indigenous species on the planet who are humanoid but have kangaroo like tails. The clone crew has markings on them that they don't understand until late. Apparently they are markings to indicate status or role on the new world. The person who they voted as there leader, it turns out, is marked as a servant or slave class.",
"How to get rid of blank pages in PDF exported from SSRS I have a two-page SSRS report. When I exported it to PDF it was taking 4 pages due to its width, where the 2nd and 4th pages were displaying one of my fields from the table. I tried to set the layout size in report properties as width=18in and height =8.5in. It gave me the whole table in a single page of PDF, but I am still getting the 2nd and 4th pages blank. Is the way I am doing it incorrect? How else can I get rid of those blank pages?",
"How to enter the Default Keyring password via the command line? Is there a way to enter the default keyring password using the command line? For instance: You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove the keyring password. All right the system boots up and logs in automatically, then asks for the keyring password now at this point you can create ssh connections but you can't remote desktop. What can you do to enter the keyring password at this point? Also, to better clarify, this is from a remote connection using the command line.",
"I write financial applications where I constantly battle the decision to use a double vs using a decimal. All of my math works on numbers with no more than 5 decimal places and are not larger than ~100,000. I have a feeling that all of these can be represented as doubles anyways without rounding error, but have never been sure. I would go ahead and make the switch from decimals to doubles for the obvious speed advantage, except that at the end of the day, I still use the ToString method to transmit prices to exchanges, and need to make sure it always outputs the number I expect. (89.99 instead of 89.99000000001) Questions: Is the speed advantage really as large as naive tests suggest? (~100 times) Is there a way to guarantee the output from ToString to be what I want? Is this assured by the fact that my number is always representable? UPDATE: I have to process ~ 10 billion price updates before my app can run, and I have implemented with decimal right now for the obvious protective reasons, but it takes ~3 hours just to turn on, doubles would dramatically reduce my turn on time. Is there a safe way to do it with doubles?",
"Switch statement fallthrough in C#?"
] | medi_sts_stackexchange_dupe |
How to install programs compressed on linux | How do I install a .tar.gz (or .tar.bz2) file? | [
"Consider the blow-up of the plane in one point. Let $E$ the exceptional divisor. We know that $(E,E)=-1$. What is the geometrical reason for which the auto-intersection of $E$ is $-1$? In general, what does it mean, geometrically, that a divisor has a negative self-intersection or that the \"right\" number of divisors gives rise to a negative intersection? Thanks.",
"We know that you can't transfigure food, so you have to grow it or buy it. Ditto money. I'm sure that aside from some medicinal plants Herbology Professor had there were no farmlands at Hogwarts. So they must have bought food (as well as potions ingredients for Snape etc...). And they needed to pay the teacher salaries. Where did all that money come from according to canon? Ministry funding? Tuition? Patent money on Dumbledore's inventions? Philanthropic donations by Malfoys and co? Other?",
"Heres a picture. im making a body, and it seems to have flash in the middle.",
"I just moved to a new computer: Windows 10 with XAMPP. As far as I know I set everything up the same as it was on my old Windows 7 computer. But now, for some reason, much of the time when I run drush cc all or run update.php, the database gets corrupted. Most frequently, some cache tables' *.idb files (tablespaces) are deleted from my mysql directory, which makes those tables appear as \"in use\" in phpMyAdmin and prevents them from being edited or emptied. They are always cache tables and never tables that actually get modified by my update hooks. Restoring the database is the only way to fix it then. This is a mature site that I've been working on for a long time, and have never seen this until the new computer. What's happening here? A sample error message when using update.php, caused by a missing *.idb file: PDOException: SQLSTATE[HY000]: General error: 1812 Tablespace is missing for table '(null)': DELETE FROM {cache_field} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => field:message_type:6 ) in cache_clear_all() (line 168 of C:\\<path>\\includes\\cache.inc). My most recent drush cc all error message, which Google has never even heard of, was: exception 'PDOException' with message 'SQLSTATE[HY000]: General [error] error: 1030 Got error -1 \"Internal error < 0 (Not system error)\" from storage engine InnoDB'",
"Find an example where Markov's inequality is tight in the following sense: For each positive integer $a$, find a non-negative random variable $X$ such that $P(X\\ge a)=E(X)/a$. How to do this problem, I am really confused. Also, what is the definition of Markov's inequality?",
"String Comparison in Java",
"I used this isomorphism today but now I'm having trouble justifying it. The norm function isn't additive so I can't come up with a ring isomorphism to prove the following: For any $\\,a+bi\\in\\Bbb Z[i],\\,\\gcd(a,b)=1$, we have a ring isomorphism $$\\Bbb Z[i]/\\langle a+bi\\rangle\\,\\cong\\Bbb Z/(a^2+b^2)\\Bbb Z=:\\Bbb Z_{a^2+b^2}.$$ Could someone show me an isomorphism between these rings to prove this?",
"How can I manage computers using my Firefox Sync account? I`m using Firefox Sync on a bunch of computers. I would like to manage my account, by removing some computers. I can't find the place to do this, it should be on the Firefox Sync page, but the official page only has the privacy and download information.",
"How would you categorize email subjects to find similar emails? I have a list of email subjects like: <XYZ> commented on <ABC> Weekly review for <Company> Your account is ready And I want to find patterns in them so I can group them. Is there a well known algorithm I can use? Preferably with wide language implementations or easy re-implementation. The algorithm should be unsupervised. The number of different emails is not known. Update: I think I can break this down into two problems: Group subjects by the similar words they use, resulting in the following. Each group should be very distinct from the rest (they should be almost perfectly exclusive) and the algorithm should give relatively small number of groups with good length of the common words. [commented, on] [weekly, review] [your, account, is, ready] Once grouped, it should be easy to find a state automaton that accepts only the group's subject and thus eliminates variable Then I can go back and check if there are any intersections and tweak the variables. Having said that, is it better to use a completley different approach like neural nets maybe? I have zero experience with those, but if it makes more sense, I am open to learning.",
"Difference between sentences using 'was' and 'being'? What is the meaning of below sentences using was and being? He committed suicide after he was severely beaten up by four teachers. He committed suicide after being severely beaten up by four teachers.",
"I am married to a UK citizen. What type of visa do I need to travel to the UK for tourism? I am a Bangladeshi citizen married with my husband who is a British citizen by birth. Currently, we both live in Bangladesh and my husband works at a university. We, are planning to visit UK for about 3 weeks. Just to be clear, we have no intention to settle down in the UK. Do I need to apply for a visa? If so, then what type of visa should I apply for? N.B. I've been searching on the internet (including the UK border agency website) for hours now but couldn't get a definite answer.",
"Suppose we have an object in space. say gravity is negligible, and the thing has a rocket on both sides. the thing fires one rocket for, say, 5 seconds. now it's moving. The object has kinetic energy. Now the other rocket fires for 5 seconds. Then it's stationary. where does the energy go? I know that some of the energy from the rockets would just go into space as heat and kinetic energy of the hydrogen particles flying out, but how does there seem to be more energy in the situation if the first rocket just goes for 10 seconds than if one goes for 5 and the other goes for 5?",
"How do I unlock all the other ships in the hangar?",
"Repeating an equation including its content and number I would like to re-use equations with the same content and number. I know that the thmtools package has a restatable environment to do this for environments (like in ), but I would also like to do this with a single equation that is only part of some environment. I had a look at the following questions which only aim at repeating the equation number but typing the whole equation twice (the first three) or repeat the content of the equation without a number (the last one): Based on the answers provided there and on the I tried to create a macro \\restatableeq for restable equations like this: \\documentclass{article} \\usepackage{amsmath} \\newcommand{\\restatableeq}[3]{\\label{#3}#2\\xdef#1{\\unexpanded#2\\unexpanded\\tag{\\unexpanded\\ref{#3}}}} \\begin{document} \\begin{eqnarray} \\restatableeq{\\eqone}{This & is & eqation 1}{eq1}\\\\ Another & simple & equation \\end{eqnarray} \\begin{eqnarray} One & more & equation\\\\ \\restatableeq{\\eqtwo}{This & is & eqation 2}{eq2} \\end{eqnarray} Here, we use (\\ref{eq1}) and (\\ref{eq2}) again: \\begin{eqnarray*} \\eqone\\\\ \\eqtwo \\end{eqnarray*} \\end{document} Unfortunately, it does not work and yields: ! Missing { inserted. <to be read again> T l.10 ...ableeq{\\eqone}{This & is & eqation 1}{eq1} \\\\ ? My guess is that the & symbols are not treated as intended but I may well be wrong there. How can I define a command like \\restatableeq that allows me to re-use equations with the same content and number in a setting like in this example (and give it a label such that I can still use \\ref as usual in addition to that)?",
"How can I upgrade Mac OS without the administrator password? I recently received an old iMac secondhand. I have no way to reach the original owner. I am trying to upgrade the OS software, but the prompts demand the administrator's name (which is auto-filled) and password (which I do not have). I understand why these security features are in place, but is there any way in the world for me to access Admin. privileges without the password?",
"how to prove $\\forall p$ prime : $\\binom{2p}{p} \\equiv 2 \\pmod p$ we have: $\\binom{2p}{p} = \\frac{2p (2p-1)(2p-3)...1}{p!p!}$ but how to continue?",
"How To Group Records By Value In A Specific Field? I have a List of records of type abc__c. abc__c is a custom object. The record has a field called code__c. What I am trying to accompolish is to group the records in the list based on the code__c. For example the list might have : Code__c abc__c record 30 (Record 1) 40 (Record 2) 40 (Record 3) 50 (Record 4) 30 (Record 5) I want to group these records based on Code__c in a Map. There could be any number of code__c which is populated dynamically. It is not static. how can I loop through the list and store the records as a list for a particular code__c(Id) in Map?",
"Is momentum conserved in this situation? Suppose we have object A , which has momentum mv. Then it elastically collides with a wall, so it's momentum now -mv, So how is momentum conserved here ?",
"When using the Stack Exchange App for Android, I encountered a problem when uploading multiple images to the same post. After uploading a single image, the image Markdown is inserted normally, e.g.: ![enter image description here][1] [1]: http://i.stack.imgur.com/Cbh1m.jpg As I upload more images, the list of URLs at the bottom of the post should be appended to. After uploading the above in a new post, I tap to place the cursor at the end of the first line, enter a newline and the toolbar reappears. I then upload a second image with this result: ![enter image description here][1] ![enter image description here][2] [1]: http://i.stack.imgur.com/Cbh1m.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg Now I edit the image descriptions, to make sure I can keep track of all my images, place the cursor at the end of the second line and enter a newline. The edit box contains: ![a black circle of utter blackness][1] ![the best planet earth clip art ever][2] [1]: http://i.stack.imgur.com/Cbh1m.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg I then upload a third image. What's interesting is that as the screen reloads, for an instant I see the best planet earth clip art ever replaced by more image markup, so the second line is this: ![![enter image description here][2]][2] But only for a moment. Then the screen updates, and the edit window is left in this state: ![the best planet earth clip art ever][2] ![the best planet earth clip art ever][2] ![enter image description here][3] [1]: http://i.stack.imgur.com/Cbh1m.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg [3]: http://i.stack.imgur.com/6Ra5w.jpg I correct the first line and insert a line break after the third line in preparation to upload the first image again (I really love blackness). Before uploading, the edit window looks like this: ![a black circle of utter blackness][1] ![the best planet earth clip art ever][2] ![a fast computer][3] [1]: http://i.stack.imgur.com/Cbh1m.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg [3]: http://i.stack.imgur.com/6Ra5w.jpg After uploading: ![a fast computer][3] ![the best planet earth clip art ever][2] ![a fast computer][3] ![enter image description here][4] [1]: http://i.stack.imgur.com/Cbh1m.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg [3]: http://i.stack.imgur.com/6Ra5w.jpg [4]: http://i.stack.imgur.com/ILUCC.jpg Now, instead of adding a newline, I position my cursor at the end of the third line. The toolbar isn't visible so I insert a space and then delete it. I upload another copy of the third image from this position adjacent to other image markdown, and now the result is: ![a fast computer][3] ![the best planet earth clip art ever][2] ![a fast computer][3]![enter image description here][4] ![enter image description here][4] [1]: http://i.stack.imgur.com/6Ra5w.jpg [2]: http://i.stack.imgur.com/V5nXV.jpg [3]: http://i.stack.imgur.com/6Ra5w.jpg [4]: http://i.stack.imgur.com/jG0fk.jpg [5]: http://i.stack.imgur.com/ILUCC.jpg Notice: The new image, the fifth I have uploaded, goes in as image [4]. Not a problem, so far, but: The previous image description is still linked to image [4], now a different URL; and The first URL in the list has been overwritten by the URL of the third image, which happens to be immediately adjacent on the line where I inserted the most recently-uploaded image. Reproduced at the time of this question revision, with the following specs: Device: Moto G 2013 OS version: 4.4.4 App version: 1.0.57",
"The was deleted last night by the Community user. Normally, I wouldn't see an issue with this, but for this particular deletion, I can see three issues: We try not to delete good content There are multiple upvoted answers We often use previous answers on Meta (as well as badly asked questions) to form the precedent (and to use as duplicates) when users ask questions like this in the future On a personal note, I find it easier to link to one of my previous answers whenever possible. This seems like a bug with the deletion algorithm, , the deletion algorithm should never delete questions with upvoted answers. I'm going to go ahead and undelete it, but I'm bringing this up in case there was either: A policy change A bug So is it either of the above or something else?"
] | medi_sts_stackexchange_dupe |
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\"?"
] | medi_sts_stackexchange_dupe |
NullPointerException when reading a properties file in Java | What is a NullPointerException, and how do I fix it? | [
"Make 15 lines / ticks with Photoshop, each of them rotated of 20°",
"I upgraded my Nexus 4 to Lollipop a few days ago but I don't like it. I'll leave out my reasons because they're not relevant here. I wiped my phone and installed a clean stock 4.2.2 version instead. I'm happy with this. Not long after, Android automatically downloaded the 4.3 upgrade and notifies me with the choices \"Later\" and \"Install\". I don't want to do this upgrade. How do I: get rid of the notification, and remove the downloaded update (to free up precious storage space). I have already tried choosing \"Later\" but the same notification immediately reappears. Based on Google search results, I also tried going to Settings > Apps > All > Google Services Framework and unticked \"show notifications\" but it still appears. Force stop or disable also doesn't seem to help, so I've re-enabled the service including notifications. I didn't see any other apps in this list that sounded relevant - did I just not see it?",
"How can I change wallpaper automatically? I have found a guide for that but doesn't sure if it will work or it is safe to use. The guide: I am asking if is these introductions safe and will work? If not, is there any other solutions for that? I am using Ubuntu 20.04 LTS Thank you.",
"Prove $\\int_0^\\infty \\frac{\\sin^4x}{x^4}dx = \\frac{\\pi}{3}$ I need to show that $$ \\int_0^\\infty \\frac{\\sin^4x}{x^4}dx = \\frac{\\pi}{3} $$ I have already derived the result $\\int_0^\\infty \\frac{\\sin^2x}{x^2} = \\frac{\\pi}{2}$ using complex analysis, a result which I am supposed to start from. Using a change of variable $ x \\mapsto 2x $ : $$ \\int_0^\\infty \\frac{\\sin^2(2x)}{x^2}dx = \\pi $$ Now using the identity $\\sin^2(2x) = 4\\sin^2x - 4\\sin^4x $, we obtain $$ \\int_0^\\infty \\frac{\\sin^2x - \\sin^4x}{x^2}dx = \\frac{\\pi}{4} $$ $$ \\frac{\\pi}{2} - \\int_0^\\infty \\frac{\\sin^4x}{x^2}dx = \\frac{\\pi}{4} $$ $$ \\int_0^\\infty \\frac{\\sin^4x}{x^2}dx = \\frac{\\pi}{4} $$ But I am now at a loss as to how to make $x^4$ appear at the denominator. Any ideas appreciated. Important: I must start from $ \\int_0^\\infty \\frac{\\sin^2x}{x^2}dx $, and use the change of variable and identity mentioned above",
"What did Hisoka do in the Hunter Exam? In the first Hunter Exam of the series (Hisoka's second), was introduced into the series removing another applicant's arms from his body for bumping into him and not apologizing. What did he actually do? We know Hisoka's abilities are Bungee Gum and Texture Surprise, but they don't explain how the arms are converting into flower petals as seen above.",
"How to compute the marginal likelihood given two multivariate Normal distribution? Given that $a$~$\\mathcal{N}(\\mu, \\Sigma)$ and $\\mu$~$\\mathcal{N}(0, \\sigma^2 I)$, Is $p(a|\\Sigma, \\sigma)=\\int p(a|\\mu, \\Sigma)p(\\mu|\\sigma)d\\mu$ again a Normal distribution? And how to estimate the mean and variance respectively? Thanks a lot!",
"Oftentimes, I want to include code samples in a list, for example: Item One Item Two, for example: private bool ItemTwo() { return this.IFeelLucky; } Item Three The problem is that there isn't a good and intuitive way to do this using . It's doable, but you have to do some formatting black-magic to get it that way, which is just not \"nice\" to deal with. Source that produces this: 1. Item One 2. Item Two, for example: <br/><br/><pre><code>private bool ItemTwo() { return this.IFeelLucky; }</code></pre> 3. Item Three I would love to just be able to do it this way: 1. Item One 2. Item Two, for example: private bool Test() { return this.IFeelLucky; } 3. Item Three Which results in, well, this: Item One Item Two, for example: private bool Test() { return this.IFeelLucky; } Item Three",
"Visa for European countries for US passport holder I'm a US passport holder. What documents do I need when I fly from the U.S. to Germany? Assume I'm going for a few weeks of vacation. Obviously I need my passport. What about a \"visa\"? Anything else?",
"Why does a minimal prime ideal consist of zerodivisors? Let $A$ be a commutative ring. Suppose $P \\subset A$ is a minimal prime ideal. Then it is a theorem that $P$ consists of zero-divisors. This can be proved using localization, when $A$ is noetherian: $A_P$ is local artinian, so every element of $PA_P$ is nilpotent. Hence every element of $P$ is a zero-divisor. (As Matt E has observed, when $A$ is nonnoetherian, one can still use a similar argument: $PA_P$ is the only prime in $A_P$, hence is the radical of $A_P$ by elementary commutative algebra.) Can this be proved without using localization?",
"How do I enable automatic updates?",
"Sass Interpolation of Mixin, Function, and Variable names",
"Make an object invisible to a specific camera? (Cycles) I'm trying to set up multiple cameras for a scene set in a room. Is there a way to link object visibility to a specific camera? Ideally, a wall or ceiling would not render if it were in the way of the specified camera. I've tried to get around this by keyframing Restrict Rendering, but that gets difficult to keep track of. I've also tried adjusting the clipping plane, but that clips too much and would also need to be keyframed if the camera moves. Thanks!",
"OSX Server: should I use Open Directory?",
"What does InitializeComponent() do, and how does it work in WPF? What does InitializeComponent() do, and how does it work in WPF? In general first, but I would especially be interested to know the gory details of order of construction, and what happens when there are Attached Properties.",
"Use the values of \\title, \\author and \\date on a custom title page I am trying to create a title page of my own. Is there a way to make use of the \\title, \\author and \\date commands inside the title page? For instance: ... \\title{Something Cool} \\author{Cool Dude} \\date{\\today} \\begin{document} \\begin{titlepage} The title is \\title It was written by \\author on \\date \\end{titlepage} \\end{document} Basically I just want to know if there is a way to leverage the information stored in \\title, \\author and \\date inside the title page.",
"I have been denied a visa several times in a row. How does one deal with such serial refusals?",
"If $0 < \\alpha < 1$, then $$ (x + y)^{\\alpha} < x^{\\alpha} + y^{\\alpha} $$ for $x$, $y$ positive. Is this inequality true in general? I tried using Young's Inequality: For $z,t > 0$, and for $n$, $m$ such that $n+m=1$, then $$ z^n + t^m \\leq nz + mt $$ So, using this we have $$ (x+y)^{\\alpha} \\cdot 1^{1 - \\alpha} \\leq \\alpha(x+y) + (1-\\alpha) = \\alpha x + \\alpha y + (1-\\alpha)$$ which is not as tight as I want.",
"I am looking for a package to create bullet gauge graphs, but I couldn't find any. A bullet graph looks like this: and an ample description/specification can be found It is available in Mathematica 9 () Is it possible create this kind of graphs in a easy way with TeX (like Matehmatica 9 or similar)?",
"Returning from Dual-boot to just Windows I installed Ubuntu sometime back along side Vista, but later found that I rarely (if ever) use Ubuntu. How easy is it to return my computer to its initial state of having only one OS, and freeing up the hard-drive space used by the Ubuntu install?",
"What’s the rule for using “who” and “whom” correctly? I can never figure out whether I should use who and whom. Most people use who for both colloquially, but some people say this is not correct. What’s the rule for using who and whom correctly?"
] | medi_sts_stackexchange_dupe |
Bib entry making maths letters lower case | BibTeX loses capitals when creating .bbl file | [
"Looking at your network profile, there is no number anywhere in your entire profile that has a sum of all your reputation across the network except for the flair page, which isn't always accurate because it's cached, and isn't exact because it rounds. Yet, there's so much empty space on the profile page. My simple idea is to list the user's total reputation and badge counts below their Gravatar image like on any normal profile page across the network (keeping the rule of only accounts with over 200 reputation). It would make it incredibly easy to find and I wouldn't have to go search for myself on Area 51 to figure it out.",
"I got some new hard discs and would like to set my PC up in the following way: Ubuntu is currently installed on one drive I want to put Windows on a second drive I would like a third drive for shared content (music and stuff) that both OSes can access What I need to know is what format should the content drive be? How should I configure the drive order in my bios for GRUB to be boot manager and how to configure GRUB for multi-HDD booting?",
"Non abelian Lie group with abelian Lie algebra",
"Test if there are files matching a pattern in order to execute a script I am trying to write an if statement to test whether there are any files matching a certain pattern. If there is a text file in a directory it should run a given script. My code currently: if [ -f /*.txt ]; then ./script fi Please give some ideas; I only want to run the script if there is a .txt in the directory.",
"What are acceptable reasons for flagging as \"Requires Moderator attention\"? After reading , I feel I don't quite understand this function. What are the guidelines for flagging a question as "Requires Moderator attention"?",
"How do I change the default file manager back to Nautilus?",
"How do I remap multi-key sequences to individual keys? I just bought an IBM Model M keyboard. While awesome, it lacks a windows key and multimedia keys. While there are many programs out there that can map one key to another, or one key to a key sequence, are there any programs that will map a keyboard sequence to a single key? Edit: OS = Win7",
"What bizarrities lurk within the decimal expansion of an irrational number? i.e. can we write $\\pi = 3.14159\\dots X\\dots$ where $X$ consists of (say) $10^{100}$ consecutive zeroes? [Originally asked on reddit without response :-( ]",
"Stuck in a loop at login prompt after changing shell to zsh",
"Question: Let ${a_n}$ be a sequence in $\\mathbb{R}$ with $\\lim_{n\\to\\infty}a_n=a$ Prove that $\\lim_{n\\to\\infty}a_n^2=a^2$ Attempt: Without using any properties of limits (this is a question in a section of the book that came before any list of any limit theorems) By definition: $|a_n^2-a^2|<\\epsilon$ $|a_n^2-a^2|$ $\\leq$ $|(a_n+a)(a_n-a)|$ $\\leq$ $|(a_n+a)| |(a_n-a)|$ $\\leq$ $(|a_n | + |a|)(|a_n -a|)$ $<$ $\\epsilon$ And since I know that $\\lim_{n\\to\\infty}a_n=a$, I'll subsitute that in for $|a_n|^2$ as $a^2$ $\\therefore$ $a^2-|a|^2 < \\epsilon$ which is true since $a^2-|a|^2$ in my case. I wonder if this is a possible solution?",
"Why does pressing a transform hotkey not display the axes on the selected object? I open Blender 2.80 (official release, not a beta or RC) and get the new scene with the usual 3 objects present (camera, light and cube). I select the cube, press 't' for the tools menu and click on the Move tool. The usual 3 axis glyph appears at the cube's origin as expected. But if I use the hotkey 'g' to activate the move transform instead of selecting the tool from the menu with the mouse this glyph does not appear. The exact same problem exists if I use the a hotkey for rotate or scale as well. Why? Is there some clickable checkbox setting hidden somewhere that could have disabled this?",
"Proof for $e^z = \\lim \\limits_{x \\rightarrow \\infty} \\left( 1 + \\frac{z}{x} \\right)^x$ Q1: Could someone provide a proof for this equation (please focus on this question): $$e^z = \\lim \\limits_{x \\rightarrow \\infty} \\left( 1 + \\frac{z}{x} \\right)^x$$ Q2: Is there any corelationn between above equation and the equation below (this would benefit me a lot because i at least know how to proove this one): $$e = \\lim \\limits_{x \\rightarrow \\infty} \\left( 1 + \\frac{1}{x} \\right)^x$$",
"Visas to travel the world I understand that you have to have visas to enter some countries, but I was wondering whether you have to pay for each visa separately or you can get a visa to go everywhere. You see videos and lists on what you should pack to travel the world, but no lists on the documentation needed.",
"GIS Point or discrete longitude and latitude columns?",
"I faced this issue when I want to use sudo command : sudo: /etc/sudoers is owned by uid 1000, should be 0 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin then I tried a solution from a similar question in order to change the owner back to the root: $ pkexec visudo also I tried this one $ pkexec chown root:root /etc/sudoers /etc/sudoers.d -R but I have faced another issue with these commands: Error getting authority: Error initializing authority: Could not connect: No such file or directory So is there a solution to this issue? Full shell issue snippets: ubuntu@LAPTOP-D4T16P7J:~$ sudo -i sudo: /etc/sudoers is owned by uid 1000, should be 0 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin ubuntu@LAPTOP-D4T16P7J:~$ pkexec visudo Error getting authority: Error initializing authority: Could not connect: No such file or directory ubuntu@LAPTOP-D4T16P7J:~$ pkexec chown root:root /etc/sudoers /etc/sudoers.d -R Error getting authority: Error initializing authority: Could not connect: No such file or directory This is my /etc/sudoers file: ubuntu@LAPTOP-D4T16P7J:~$ cat /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults env_reset Defaults mail_badpass Defaults secure_path=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin\" # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL # See sudoers(5) for more information on \"#include\" directives: #includedir /etc/sudoers.d OS info: Ubuntu WSL2.",
"I have 13.04 installed from a DVD that I got on eBay but the application launcher is missing. I've tried CCSM but it won't work!",
"Find the limit $$\\lim_{x\\to 0^{+}}\\dfrac{\\sin{(\\tan{x})}-\\tan{(\\sin{x})}}{x^7}$$ My attempt: Since $$\\sin{x}=x-\\dfrac{1}{3!}x^3+\\dfrac{1}{5!}x^5-\\dfrac{1}{7!}x^7+o(x^7)$$ $$\\tan{x}=x+\\dfrac{1}{3}x^3+\\dfrac{2}{15}x^5+\\dfrac{1}{63}x^7+o(x^3)$$ So $$\\sin{(\\tan{x})}=\\tan{x}-\\dfrac{1}{3!}(\\tan{x})^3+\\dfrac{1}{5!}(\\tan{x})^5-\\dfrac{1}{7!}(\\tan{x})^7+o(x^7)$$ Though this method might solve, I think this problem has nicer methods. Thanks.",
"How to import sextante(processing) for QGIS 1.9 (2.0)",
"What does this triangle/diamond schematic symbol represent?",
"Lisp Executable I've just started learning Lisp and I can't figure out how to compile and link lisp code to an executable. I'm using clisp and clisp -c produces two files: .fas .lib What do I do next to get an executable?"
] | medi_sts_stackexchange_dupe |
Ubuntu 16.04 LTS Software Updater not responding! | Cannot set LC_CTYPE to default locale: No such file or directory | [
"A post here on DBA.StackExchange () has spawned an interesting question (at least, interesting to me) regarding performance in MySQL. The context is that we want to insert a record in a table for each row that is updated. Before the row is updated, we want to store off a previous value and then increment one of the columns (a \"version\" column). If we do this inside a trigger, it works out nicely. For MySQL, the triggers are , so it would be an easy solution. Select the data currently in the table, insert it into the logging table, and the update the \"version\" column in the new data. However, it's possible to move this logic to a stored procedure. If you do that, you're performing the insert, then incrementing the \"version\" column in the table. The entire thing would be set based. So, when it comes to performing this insert, would this be more performant to use the set-based stored procedure approach or a trigger based approach? This question is for MySQL (since it has row-by-row triggers), although it could apply to other row-by-row trigger DBMSs.",
"The question asks it all really. When referring to a master's degree, do you use an apostrophe or not? That is, is it \"a master's\" or \"a masters\"?",
"Edges on an even number of Hamilton cycles",
"Ability to give away iOS application, usually for sale I am wondering if it's possible to do \"mass giveaways\" on the AppStore, without lowering, changing or otherwise changing the listed application. Is it possible to distribute hundreds to, potentially, thousands of promo codes, legally, while still leaving the \"normal\" distribution channel of purchasing the app open? An example of the above would be selling physical items in a store which have a bundled digital component available. Essentially you buy a product in a store, which comes \"bundles with a free app\" (BB and Android have already been dealt with, iOS is unclear). It would be nice to give the option to have a promo code in the box, that the user can then use to get the application for free. Is this possible?",
"How to calulate mosfet response time with load? I would like to calculate the response time of a PMOS circuit and of the circuit Could you tell me how to do it? I'm using this transitor. I tried to use the rise time of the PMOS to find it can switch (and i don't know if that's the good way), but I don't now the results with the load. CL en RL. I assume CL at t=0ms is equal to 0V. I tried to use dv/dt, but I failed VIN1 = 28V. VCMD is a command Thanks. edit: I made a mistake. The Zener is also connected to the source. Sorry",
"SOQL result ordering in the absence of an Order By clause In the absence of an in a SOQL query, what order will Salesforce return results in? Clearly if ordering is important then Order By should be specified, but I recently encountered a question about what the order would be if it was undefined. My initial thoughts were Salesforce would return them in whatever order suited them. Much like . For simple queries this would typically line up with the creation date descending and the Id ascending. For more complex queries it would depend on the joins being performed.",
"How to return to original .pdf presentation after open a .pdf linked file? I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like: \\href{name_file_to_open.pdf}{here I put a link to a figure which is working well} It works just fine and open the .pdf document; Problem is I can't return to my presentation, cause when I close the linked.pdf I close it all. (I try this with movie and indicating an area to the file open like \\href[width=3cm,height=2cm] but then it doesn't work) Can anyone please has any suggestion to this problem?",
"Overriding public virtual functions with private functions in C++",
"What is the difference in this specific breadboard wiring?",
"What is a magic number, and why is it bad?",
"Does the new guidance on duplicate questions suggest closing a question as duplicate, if the original answers the OP's question? In other words, should we now look at the content of the answers when we are evaluating questions for possible duplication? Is it sufficient to say \"Your answer can be found in this question over here, therefore your question is a duplicate?\" The new guidance is here: Among other things, it describes the new close banner: This question already has an answer here: Link to the Duplicate Question ... which seems to suggest that, if some other question in the system answers the OP's question, then the OP's question can be closed as a duplicate on that basis (even if the question itself is not necessarily duplicated). Example Here: Note the comments below the question, where I dispute the assertion made there that it is a duplicate question. The original question doesn't mention unit testing.",
"I'm curious why PCBs have one square pad in row for 0.1\" headers. What is purpose of putting one square pad? What it indicates? Can you push more amps through square pad than round?",
"$\\LaTeX$ and Mathematica",
"When wouldn't I use LASSO for model selection?",
"Terminal : needs full path to execute a command Let's suppose i have an application in /Applications/MacPorts/KDE4/myapp.app/Contents/MacOS/myapp. When i use cd to reach the directory 'MacOS' and then issue the command myapp it says command not found. But when i issue the command with the full path like /Applications/MacPorts/KDE4/myapp.app/Contents/MacOS/myapp it works. I had the same problem with mysql inside xampp. Why is that?",
"(no) Properties in Java?",
"This is a about File Permissions on a Linux web server. I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. /var/www/contoso.com/ /var/www/contoso.net/ /var/www/fabrikam.com/ The base directory /var/www/ is owned by root:root. Apache is running as www-data:www-data. The Fabrikam website is maintained by two developers, Alice and Bob. Both Contoso websites are maintained by one developer, Eve. All websites allow users to upload images. If a website is compromised, the impact should be as limited as possible. I want to know the best way to set up permissions so that Apache can serve the content, the website is secure from attacks, and the developers can still make changes. One of the websites is structured like this: /var/www/fabrikam.com /cache /modules /styles /uploads /index.php How should the permissions be set on these directories and files? I read somewhere that you should never use 777 permissions on a website, but I don't understand what problems that could cause. During busy periods, the website automatically caches some pages and stores the results in the cache folder. All of the content submitted by website visitors is saved to the uploads folder.",
"Using the itemize environment inside a caption",
"What does the term \"BODMAS\" mean? What is BODMAS and why is it useful in programming?",
"network connection over thunderbolt bridge between linux and mac"
] | medi_sts_stackexchange_dupe |
How can I map a custom image to a polygon in a game? | Adding Image to a Polygon | [
"Java: split a List into two sub-Lists?",
"How to uninstall Windows from a Dual Boot system?",
"Problem with Refsection",
"How to space columns evenly in a table with multicolumns?",
"How to identify a downvoting stalker Possible Duplicate: Yeah I got a deranged stalker that keeps downvoting me. Anyone know how going about identifying such individuals? (I just got 4 all at the same time just after making a new post). that was the question I originally asked. Please tell me, what is so wrong with it ?",
"How do I create a key binding that allows me to mount my google drive? I want to mount/unmount my google drive using with a key binding without having to open a terminal. How can I set this up?",
"pass 1 environment variable using sudo",
"How to backup 20+TB of data? We have a NAS server at the company I work for that is being used for storing photography sessions. Each session is approximately 100gb. Over the last couple of years this server has accumulated 10+ TB of data, and we are increasing the amount of photoshoots exponentially. I estimate that by the end of next year we will have 20+ TB stored on this NAS. We are currently backing this server up to tape using LTO-5 tapes with Symantec BackupExec. Since the size of this server has grown, full backups of this server are not completing overnight. Does anyone have any suggestion on how to backup this amount of data? Should we be backing it up to tape? Are there any other options which may be better?",
"Easiest way to delete a column? I have a set of 10 tables and each has an extra column that I don't want. Specifically, these tables are descriptions of database tables exported by phpMyAdmin, and they all have a \"MIME\" column that I would like to remove. Is there a way to do this other than using string manipulation / find and replace? I have tried setting the column to p{0in}, but the column title still remains.",
"FTP File Upload with HTTP Proxy Is there a way to upload a file to a FTP server when behind an HTTP proxy ? It seems that uploading a file is not supported behind an HTTP Proxy using .Net Webclient. (). If there is no workaround ? If not, do you know a good and free FTP library I can use ? Edit: Unfortunately, I don't have any FTP proxy to connect to.",
"In Days Of Future Past, Quicksilver spends a lot of time playing with electronics. In his famous tour de force scene in the Pentagon, he specifically puts his headphones on before running around the kitchen. But why? Does the music on his Walkman speed up with him as he uses it, or is it still operating at \"normal\" speed? Or indeed, does any electronic device that he touches speed up?",
"Often times I am not interested in the question so much as I am the answer. Unfortunately, the only site option for bookmarking an optimal answer is to bookmark the question. This leaves you having to remember that no the question wasn't that great, but there's an answer in here worth a million. It'd be nice to be able to favorite an answer allowing you to jump immediately to the answer that was much more valuable than the question. I understand that I can bookmark the answers link using my browser but it seems being able to favorite the answer within the site's ecosystem is useful.",
"How do I convert materials from Blender Internal to Cycles? I know this may be a tough or confusing question, but I have numerous existing materials I created and reuse for a project, which were all prepared for Blender Internal. Now, I want to start the transition to Cycles, but I've hit a roadblock. How can I transition my materials without completely starting over? Or should I just forget it and start with fresh materials?",
"Ok, I must be missing something obvious, but I'm having trouble adding a link to user/%/edit to the main menu. In the Menu UI, I clicked \"add link,\" set the title to \"Account settings,\" and then was at a loss about what to put for the path. I know how to generate a link to the account edit page using views, which is what I've always done before, but this time I actually need to add the link to the \"Main Menu.\"",
"What is the difference between the Circle-K and Lawson Power Cube?",
"Is there a way to add some custom font on a website without using images, or some other graphics? For example, I was working on a wedding website, and I found a lot of nice fonts for that subject. But I can't find the right way to add that font on the server. And how do I include that font with CSS into the HTML? Is this possible to do without graphics?",
"Etymology of \"dong\" and \"dongle\" Dong as in ding-dong is clearly onomatopoetic as confirmed by : ding dong imitative of the sound of a bell, c.1560. and similarly for : ding (v.) 1819, \"to sound as metal when struck,\" possibly abstracted from ding-dong, of imitative origin. The meaning \"to deal heavy blows\" is c.1300, probably from Old Norse dengja \"to hammer,\" perhaps also imitative. Meaning \"dent\" is 1960s. Related: Dinged; dinging. What, then, is the origin of dong to mean penis? Etymonline.com is here: dong (n.) \"penis,\" 1891, of unknown origin. We also have a much more recent word, dongle, which has no entry at etymonline.com but claims it is: Apparently from dangle. This leads me to the theory that the anatomical and onomatopoetic dongs are not related and that the former usage, like dongle, derives from dangle. So, my questions are: Is that so? Does dong (penis) derive from dangle? Sounds reasonable enough but I have found no definitive sources for it. Does dongle derive from dangle? It makes perfect descriptive sense for dong but the USB devices called dongles do not dangle but instead protrude quite rigidly, so I feel that dongle being derived from the cruder meaning of dong makes more sense.",
"Invalid variance: The type parameter 'T' must be contravariantly valid on 'UserQuery.IItem.ItemList'. 'T' is covariant",
"Show by induction: $(1+\\frac{1}{n})^{n}<n$ Show by induction that for all natural numbers n>3 $(1+\\frac{1}{n})^n<n$ Let $(1+\\frac{1}{n})^n<n$ be true ! We show that $(1+\\frac{1}{n+1})^{n+1})<n+1$ $(1+\\frac{1}{n})^n(1+\\frac{1}{n})<n(1+\\frac{1}{n})$ $(1+\\frac{1}{n})^{n+1}<n+1$ So now we just need to show that $(1+\\frac{1}{n+1})^{n+1}<(1+\\frac{1}{n})^{n+1}$ So here , If I show that : $(1+\\frac{1}{n+1})<(1+\\frac{1}{n})$ Does that mean im done with exercise ?",
"Is there a way to do an \"upside down\" \\widehat? I've come across this in a book I'm looking through, but I can't find the code for it. I want it to look exactly like the \\widehat and go above text like \\widehat does...I just want it to be (vertically) flipped!"
] | medi_sts_stackexchange_dupe |
Mutating a variable in a closure | Global and local variables in R | [
"What is color temperature and how does it affect my photography?",
"Example of modules that are projective but not free; torsion-free but not free",
"Sum of binomial coefficients with index divisible by 4 I am trying to obtain a closed form expression for $\\sum {n \\choose 4k}$ I am trying to use the binomial expansion of $(1 + i)^n$ and $(1 - i)^n$. $$(1 + i)^n + (1 - i)^n = 2\\left(\\sum {n \\choose 4k} -\\sum {n \\choose 4k + 2}\\right)$$ Stuck at this now. I can't come up with a way to simplify the second term on RHS. Any help would be appreciated.",
"Title does not appear when LaTeX code is compiled",
"Change pivot or local origin of an object How can I change the local origin of an object, without changing the object location in the world space. This is the object located at position (0,0,0) in the world space This is the same object located at position (0,1,0) in the world space, but with its local origin offset so that the object is in the same place Is there a way to do this in a single step?",
"I told my follower (Serana) to wait. But this is different. I told her to go somewhere and wait so it will activate the enemies. Well it did and I killed them. But Serana seems to be not following me anymore. I can't tell her to follow me. And she is constantly in a squatting position. The only thing I can do is tell her to wait somewhere else to move her. And I can't part ways because I'm doing a main quest and she has to be there. Can anybody give me a tip on what to do?",
"Geodesics equations via variational principle I would like to recover the (timelike) geodesics equations via the variational principle of the following action: $$ \\mathcal{S}[x] = -m \\int d\\tau = -m \\int \\sqrt{-g_{\\mu\\nu}\\,dx^{\\mu}\\,dx^{\\nu}} $$ Using an arbitrary auxiliary parameter $\\lambda$, then one is able to rewrite the action and obtains: $$ d\\tau = \\sqrt{-g_{\\mu\\nu}\\, \\tfrac{dx^{\\mu}}{d\\lambda}\\tfrac{dx^{\\mu}}{d\\lambda}} d\\lambda $$ $$ -m \\int d\\tau = -m \\int (d\\tau / d\\lambda) d\\lambda = -m\\int\\sqrt{-g_{\\mu\\nu}\\, \\tfrac{dx^{\\mu}}{d\\lambda}\\tfrac{dx^{\\mu}}{d\\lambda}} d\\lambda $$ Now we can vary the paths $x^{\\mu}(\\tau) \\rightarrow x^{\\mu}(\\tau) + \\delta x^{\\mu}(\\tau)$. I need the following equation to be true, so i get the geodesics equations, but I don't know how one can say the following: $$ \\int d\\tau \\,\\delta g_{\\mu\\nu}\\frac{dx^{\\mu}}{d\\tau} \\frac{dx^{\\nu}}{d\\tau} = \\int d\\tau\\, g_{\\mu\\nu, \\rho} \\frac{dx^{\\mu}}{d\\tau} \\frac{dx^{\\nu}}{d\\tau} \\delta x^{\\rho} $$ I know there is a simpler action, which leads to the same equation of motion, but there one has to do the same manipulation, which I sadly don't understand. Thanks for helping me!",
"Why did Itachi say that he needs to get someone's MS to get EMS while Sasuke only had a normal Sharingan?",
"After installing Ubuntu Studio 12.04, I have found that it uses a low latency kernel. I searched for an explanation and how to change back it to a real-time or generic one. However, it looks like this part of Linux hasn't been covered to explain the details. Q: Why choose a low latency kernel over a generic or real-time one? PS: I have already read the answers from question and post.",
"The Next tag badge block overlaps the badge score block.",
"There are 'n' candies and 't' boxes. Find the number of ways to place the candies in the boxes for each of the conditions (given in the problem). There are 'n' candies and 't' boxes. Find the number of ways to place the candies in the boxes for each of the conditions (all the candies must be spread out) : (a) candies and boxes are different; (b) candies of the same diiferent boxes should not be empty cartons: (c) candies equally new, boxes are different; Edit :(d) candies are different, the boxes are the same, there should be no empty boxes; (e) candies of different boxes alike.(Edit : candies are different, boxes are equal) Specify the display type that matches the placement, if possible. My Answers : (a) Each layout is encoded with a word of $n$ letters from the alphabet of 't' letters $\\implies$ possible $n^t$ variants. (b) Write, $n$ candies in the form of balls ina line, we need to put $(t-1)$ partition in $(n-1)$ place, but we can't put two partitions on one place, so we get : $^{t-1}C_{n-1}$. (c) First we need to choose a candy in a box (in the first box $n$ ways, in the second box $(n-1)$, $\\cdots$ in the $t-th$ : $(n-t+1)$ ways $\\implies$ total $n!/(n-t)!$ methods, and then we distribute the remaining $(n-t)$ candies into $t$ boxes, this is encoded with owrds from the alphabets (for each candy $t$ variants) $\\implies$ $t^{n-t}$. The Answer is : $\\frac {n!}{(n-t)!}*t^(n-t)$ Are my answers (a), (b) & (c) are correct? For (d) & (e) I don't know how to proceed? Please help me.",
"Is it posible to change the locale of my device?",
"Photoelectric Effect - Dependence of current on frequency We all know that the amount of current flowing b/w the plates is independent of the frequency. If I were to ask why doesn't it depend then you'd probably say that it depends on the number of electrons rather than the frequency or you might show me a current vs frequency graph. But here is my theoretical argument. Electric current is defined as the amount of charge flowing through a point/space/wire per unit time. Let I be current due to photo electrons ejected by photons of some frequency. Now if I would increase the frequency, the kinetic energy of the ejected electron would increases, therefore it will move faster and therefore contribute more current (charge will through the same point many times per unit time) . Thereby, giving a net current greater than I. What is wrong with my argument? After thinking a lot, I came up with a possible reason. However fast the electrons may move, but when they hit the metal plate, they would lose their velocity and start moving in drift velocity. Now there is a problem with this argument. If this were to be true then I should expect to see a big chunk of extra electrons getting stuck at the anode. If my reasoning was correct, then why can't I see a big charge buildup at the anode.",
"Proof: $\\det\\pmatrix{\\langle v_i , v_j \\rangle}\\neq0$ $\\iff \\{v_1,\\dots,v_n\\}~\\text{l.i.}$",
"How to move the center of scaling Hello. I'm a beginner. In the model shown, when I select all of the top vertices and then scale them to the center, the center of scaling is not the center of the 3d-model. How do I move the center of scaling? How do I move the manipulator widget where I want it after selecting?",
"what is a thyristor As part of my 2330 lv3 am required to know about thyristors. I just want to confirm my understanding is correct. A thyristor is basically similar to a transistor, only it stays switched on when it's trigged for as long as there isn't a break in the circuit it's switching. Am I correct?",
"I have a question about my choice of name for publication. I recently got married and legally changed my name to my husband's surname (for example's sake: from Hunter to Jones). So, despite legally being Ms Jones now, I would quite like to use the hyphenated name Hunter-Jones in the professional context and in publications. This is so that people realise that it is still me and so that I can somewhat keep my maiden name. Is this possible or do I have to use my legal name professionally and when publishing? Thank you for any help",
"How to get rights of admin after I disabled all admin accounts in my computer I accidentally disabled my admin account. After I login to another account I found I can not get admin rights, because all admin accounts on my computer are disabled. I clicked on 'run as administrator' but only see a smart card choice (all the admin accounts are disabled so no choice provided) I don't want to re-install my OS, help! Details: I have account A on my computer. I got a new computer so I want to give the old one to my mother. Creating a new user account B for her and disable account A. Logout and restart. Successfully login B, now I found I could not get admin rights because no account choice is provided. More informations about my machine: OS is Windows 10 and my admin account is a Microsoft Account. I have an arch-linux installed on my computer and dual-boot it using GRUB, so maybe I can not use safe mode.",
"Should I put a comma before the last item in a list? Should I put a comma before the last item in a list? I would like crackers, cheese and some soda. I would like crackers, cheese, and some soda.",
"I'm not sure if this is possible architecturally, but when judging whether to set a bounty and how much it should be, it would be nice to see the impact based on our previous questions. If you're not visiting the site throughout the day, there is no way to tell how effective that bounty might be--particularly for increasing traffic. There is a similar question with adding and removing tags that increase the visibility in the right places, and the effect on views that may have."
] | medi_sts_stackexchange_dupe |
"Have you gone" vs. "have you ever gone" | What is the difference between "I've been to China" and "I've gone to China"? | [
"Why did Slytherin House not get disbanded?",
"Suspected adware infection of Mac",
"How to manipulate 2D plots?",
"Greatest comeback in 2nd leg match",
"Proving that $1+x^py^{1-p} \\le (1+x)^p(1+y)^{1-p}$ I'd like to show that $1+x^py^{1-p} \\le (1+x)^p(1+y)^{1-p}$ for all $x,y \\ge 0$ and $p \\in [0,1]$. I started out by defining a function $f(x,y)=(1+x)^p(1+y)^{1-p}$ and checking for critical points, but there are none in the domain I'm interested in. I think I'm probably missing a slick application of Jensen's or Holder's inequalities, but so far a proof eludes me. Any suggestions would be appreciated.",
"Which is correct “Is that yours?” or “Is that your’s?”? I ask because it is possessive, so I would think it would be the latter, but I typically use and see the former usage. Are there particular cases in which one should be used instead of the other? Or is one simply correct and the other not? This is one of the few things that still confuse me, so help is greatly appreciated.",
"Which tool for fixing wobbly crank? Any idea what kind of tool should I but to fix the loose left crank on my bike? I found this but not sure if it's gonna suit. Or is it enough to buy only nut driver?",
"Find the volume of the tetrahedron with the vertices $P(1,1,1)$, $Q(1, 2, 3)$, $R(3, 1, 2)$, and $S(2, 3, 1)$.",
"Tangent bundle : is a manifold I have studied what a differentiable manifold is, and what a tangent space at a given point is, and read the proof that its dimension is equal to the dimension of the manifold. Here a tangent vector is a derivation on the germs of differentiable functions at a point. Now I am trying to see that the tangent bundle is indeed a differentiable manifold. I get that for an open set $U$ in Eucliden space, it takes the form $U \\times \\mathbb R^n$ with the vector $\\sum a_i x_i$ giving the tangent vector $\\sum a_i \\partial /\\partial x_i$. Now the book says that it is \"obvious\" that these glue up and give a differentiable manifold. I may be stupid; but I will be grateful if somebody can hold my hand through this \"obvious\" statement.",
"14.04 --> 16.04 failed; apt (>= 1.0.1ubuntu2.13)' is not installed (This question was not resolved. Due to time constraints Computer was restored to factory settings.) I was attempting to upgrade from 14.04 to 16.04, but apt threw this error: The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed. What does this mean, and how can I fix it? When I type in the command apt-cache policy apt Shageenth@shageenth-Inspiron-3451:~$ apt-cache policy apt apt: Installed: 1.0.1ubuntu2.11 Candidate: 1.0.1ubuntu2.11 Version table: *** 1.0.1ubuntu2.11 0 100 /var/lib/dpkg/status 1.0.1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages The error happens when I run the command: sudo do-release-upgrade -d and it produces the following: Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,265 kB] Fetched 1,265 kB in 0s (0 B/s) authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg' extracting 'xenial.tar.gz' Reading cache Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Required depends is not installed The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.",
"What is the logarithm of a kilometer? Is it a dimensionless number? In log-plots a quantity is plotted on a logarithmic scale. This got me thinking about what the logarithm of a unit actually is. Suppose I have something with length $L = 1 \\:\\mathrm{km}$. $\\log L = \\log \\mathrm{km}$ It seems that the unit of $\\log L$ is $\\log \\mathrm{km}$, but I can also say $L = 1000 \\mathrm{\\:m}$ and now: $\\log L = 3 + \\log \\mathrm{m}$ This doesn't appear to have any units at all. This suggests that $\\log \\mathrm{km}$ and $\\log \\mathrm{m}$ are actually dimensionless numbers. But wait, I can do this with any unit! Does it actually make sense to talk about the logarithm of a unit, or some other function for that matter?",
"I don't believe it's true that all submodules of a finitely generated free module are free just based on results from google. Is there a canonical simple example of a finitely generated free module with a submodule that is not free?",
"I don't know anything about Star Trek except for the fact that it's about spaceships. In the person only wanted to watch the TV series. I want to watch every movie and TV series there is about Star Trek but I don't know where to start. I found this page on which is about a time line. Do I need to watch it in this order? Are the movies and TV series related?",
"From , I have tried the using \\hspace{0pt} and \\makeatletter \\renewcommand{\\dddot}[1]{% {\\mathop{\\kern\\z@#1}\\limits^{\\vbox to-1.4\\ex@{\\kern-\\tw@\\ex@ \\hbox{\\normalfont ...}\\vss}}}} \\renewcommand{\\ddddot}[1]{% {\\mathop{\\kern\\z@#1}\\limits^{\\vbox to-1.4\\ex@{\\kern-\\tw@\\ex@ \\hbox{\\normalfont....}\\vss}}}} \\makeatother after loading mathtools but the problem still persists. \\documentclass{article} \\usepackage{mathtools} \\begin{document} \\[ \\dot{\\mathbf{r}}\\times\\ddot{\\mathbf{r}}\\times\\dddot{\\mathbf{r}} \\] \\end{document} In the case the font scheme I am using has any affect as well, the fonts are: \\usepackage[utf8]{inputenx} \\renewcommand{\\rmdefault}{ppl} \\linespread{1.05} \\usepackage[scaled]{helvet} \\usepackage{courier} \\usepackage{eulervm} \\normalfont \\usepackage[T1]{fontenc} \\usepackage{textcomp}",
"How to add ground to DC circuit? I'm just a dabbler in electronic circuits and I'm really still kind of a noob. I am working on a project called the \"Atari Punk Console\" (Originally known as the \"Stepped Tone Generator\") but there are some parts of the wiring schematic that I don't understand, specifically the parts with the ground symbol. Here is the schematic: See those two ground symbols? I don't understand how to properly connect the circuit to ground at these points. How can I do this and be sure that I did it properly. I don't understand grounding at all so any pointers or clarification is also welcome. Thanks in advance.",
"Has 'Ubuntu Software' been renamed to 'Snap Store'?",
"My printer does not print light magenta. (Canon MP220 - CL-38) I have a Canon MP 220, with new cartridges. Prints fine everything, but it won't print light magenta. I cleaned it and deep cleaned it many times. I have no idea what could be the problem. Cartridge models: CL-38 and PG-37. Any ideas ? LE: Now it won't print magenta at all!",
"What is the speed of time?",
"command to display time (duration) in human readable form I spent 3 hours trying to write a command to format a time (duration) expressed as a floating number (in seconds) in a nice form as follows: if the time is < 60 write as a float with 3 decimals (i.e. milliseconds) else let h,m,s be the hours, minutes and seconds corresponding to the time if h=0 then write as m:ss (ss always with 2 digits, m can have only 1) else write h:mm:ss (mm and ss with 2 digits, h can have only 1) So 1.25678 gives 1.256, 125.35 gives 2:05, 18249 (which equals to 5*3600+4*60+9) gives 5:04:09. I tried several packages for the comparison/formatting. No success. Can someone help me ? Thanks !",
"Is it supposed to be a HTML or an HTML"
] | medi_sts_stackexchange_dupe |
Prove or give a counter example $ \sum_{n=1}^{\infty } a_{2n} \ and \sum_{n=1}^{\infty } a_{2n-1} $ converge than $ \sum_{n=1}^{\infty } a_{n} $ | Prove that if $\sum_{n=1}^\infty a_{2n}$ and $\sum_{n=1}^\infty a_{2n-1}$ converge then $\sum_{n=1}^\infty a_n$ converges. | [
"Adding more than 15 digits in Excel I want to add more than 20 digits in an Excel cell. The current format of the cell is general, it converts the number to an exponential format. I tried with a number format and accounting, but when I enter more than 15 digits it gets converted to 0's. What are the recommended steps for stopping Excel from converting data to exponential Format for 20 digits when in the general format? Example: 12345678901234567890 Excel converts it to 1.23457E+19 in general format. Without using ' before the value, is there any other way to keep value same?",
"Down vote changed to up vote caused reputation meter to pass daily maximum I just experienced a minor visual bug. I had an answer that earned 2 down votes and 22+ upvotes, earning me the daily maximum of +200. Upon making some edits to the answer at the behest of the comments, one of the users who down voted changed their vote. Now my reputation meter shows that I gained +202 for the day. This correctly did NOT affect my reputation, as I still only gained 200, so it is merely a minor display bug. This appears in the achievements drop down and my reputation tab on my profile.",
"How to remove accents / diacritic marks from a string in Qt?",
"zero matrix to the power of 0 Why $0^0=I$? I'd tried prove that considering $N^0$ where N is a Nilpotent matrix and then using the Cayley -Hamilton theorem Thanks in advance.",
"How to get domain name from URL",
"Is verifying ISOs downloaded from the official website worthwhile? I downloaded the ISO from , selecting the default \"Ubuntu Desktop\" option. The website links the page which gives instructions how to verify ubuntu. This seems pretty tedious, and I am wondering how realistic it is that there is a problem with ISO downloaded from the official website. I note that the process of verification itself requires me to download software that is new to me, thus introducing another attack vector on me even as I am closing another one. For what it's worth, I am planning to use Live USB only and not to fully install Ubuntu. Does that make a difference?",
"Where's the Strangedupe blog post? Previously, in order to explain the benefits of (certain limited kinds of) duplication on Stack Exchange sites, I've seen a blog.stackoverflow blogpost with the words \"Dr. Strangedupe\" in the title. The post comes up in a search on the new blog, but Can we please bring this post back? I'd love to link to it when , to reassure the questioner that there is value in not deleting their question because of search terms, but the blog post explained it a lot better than I could in a comment.",
"Visual Studio C# statement collapsing When editing really long code blocks (which should definitely be refactored anyway, but that's beyond the scope of this question), I often long for the ability to collapse statement blocks like one can collapse function blocks. That is to say, it would be great if the minus icon appeared on the code outline for everything enclosed in braces. It seems to appear for functions, classes, regions, namespaces, usings, but not for conditional or iterative blocks. It would be fantastic if I could collapse things like ifs, switches, foreaches, that kind of thing! Googling into that a bit, I discovered that apparently C++ outlining in VS allows this but C# outlining in VS does not. I don't really get why. Even notepad++ will so these collapses if I select the C# formatting, so I don't get why Visual Studio doesn't. Does anyone know of a VS2008 add-in that will enable this behavior? Or some sort of hidden setting for it? Edited to add: inserting regions is of course an option and it did already occur to me, but quite frankly, I shouldn't have to wrap things in a region that are already wrapped in braces... if I was going to edit the existing code, I would just refactor it to have better separation of concern anyway. (\"wrapping\" with new methods instead of regions ;)",
"- but IMHO there has to be a simpler solution. If num-lock is on in the BIOS - why is it turned off during linux boot and/or KDE/Gnome/whatever startup?",
"check the availability of the WCF Web Service I want to check the availability of the WCF web service i.c service is up or down through the C# code. How to achieve that?",
"Is there a way to include all the jar files within a directory in the classpath? I'm trying java -classpath lib/*.jar:. my.package.Program and it is not able to find class files that are certainly in those jars. Do I need to add each jar file to the classpath separately?",
"One of the first things ever taught in a differential calculus class: The derivative of $\\sin x$ is $\\cos x$. The derivative of $\\cos x$ is $-\\sin x$. This leads to a rather neat (and convenient?) chain of derivatives: sin(x) cos(x) -sin(x) -cos(x) sin(x) ... An analysis of the shape of their graphs confirms some points; for example, when $\\sin x$ is at a maximum, $\\cos x$ is zero and moving downwards; when $\\cos x$ is at a maximum, $\\sin x$ is zero and moving upwards. But these \"matching points\" only work for multiples of $\\pi/4$. Let us move back towards the original definition(s) of sine and cosine: At the most basic level, $\\sin x$ is defined as -- for a right triangle with internal angle $x$ -- the length of the side opposite of the angle divided by the hypotenuse of the triangle. To generalize this to the domain of all real numbers, $\\sin x$ was then defined as the Y-coordinate of a point on the unit circle that is an angle $x$ from the positive X-axis. The definition of $\\cos x$ was then made the same way, but with adj/hyp and the X-coordinate, as we all know. Is there anything about this basic definition that allows someone to look at these definitions, alone, and think, \"Hey, the derivative of the sine function with respect to angle is the cosine function!\" That is, from the unit circle definition alone. Or, even more amazingly, the right triangle definition alone. Ignoring graphical analysis of their plot. In essence, I am asking, essentially, \"Intuitively why is the derivative of the sine the cosine?\"",
"Converting to upper and lower case in Java",
"I've got a list of Python objects that I'd like to sort by an attribute of the objects themselves. The list looks like: >>> ut [<Tag: 128>, <Tag: 2008>, <Tag: <>, <Tag: actionscript>, <Tag: addresses>, <Tag: aes>, <Tag: ajax> ...] Each object has a count: >>> ut[1].count 1L I need to sort the list by number of counts descending. I've seen several methods for this, but I'm looking for best practice in Python.",
"Wrong numeration in toc longer then one page",
"How can I see the history of stories I've read on Apple News? Sometimes I'll be interrupted in the middle of reading a story on Apple News and later when I open the app, it didn't save the story I was previously reading. I want to be able to resume reading the article, how can I find it again?",
"Prove the following: If $a \\mid bc$, then $a \\mid \\gcd(a, b)c$. Prove the following: If $a \\mid bc$, then $a \\mid \\gcd(a, b)c$. I tried to set $\\gcd(a, b)$ to $b$ and used the fundamental theorem of arithmetic to prove that it is divisible by $a$, but I can't prove that $a \\mid bc$, if and only if $a\\mid b$ and $a\\mid c$. Please help. Thanks.",
"Guests see the Protected notice , somewhat displaced: Logged in, all is fine: It actually belongs there, at the bottom, but then it has some design glitches, or it needs to be placed at the top. Verified on Firefox and Chrome stable.",
"I know you can export the asset as a PSD and open it in Photoshop. Is there a more seamless way? Update: I'm an idiot. Someone else created the logo, and the shadow was it's own layer on multiply and not a normal drop shadow effect.",
"Is this correct: \"Our listeners are what make X\"?"
] | medi_sts_stackexchange_dupe |
Can javascript extract exact (character-by-character) HTML from source document from selection? | Get the raw HTML of selected content using javascript | [
"I've got two arrays of the same size. I'd like to merge the two so the values of one are the key indexes of the new array, and the values of the new array are the values of the other. Right now I'm just looping through the arrays and creating the new array manually, but I have a feeling there is a much more elegant way to go about this. I don't see any array functions for this purpose, but maybe I missed something? Is there a simple way to this along these lines? $mapped_array = mapkeys($array_with_keys, $array_with_values);",
"How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They are a set of steps in an algorithm which I want to consider as an item.) The following puts the brace on the left. All I need to do is to flip it to the right. \\begin{align} \\begin{cases} a&=bbb\\\\ c&=ddddddd\\\\ e&=ffffffffff \\end{cases} \\end{align} Thanks for any help with this!",
"Set \"this\" variable easily?",
"Install App Image such as beaker browser and pin it to dock (favorites) in Ubuntu 20.04?",
"How do I parse command line arguments in Java? What is a good way of parsing command line arguments in Java?",
"Energy momentum tensor from Noether's theorem in the book Quantum Field Theory by Itzykson and Zuber the following derivation for the stress-energy tensor is proposed (p.22): Assume a Lagrangian density depending on the spacetime coordinates $x$ only through fields and their gradients. Under a translation we have $$\\mathcal L (x+a)=\\mathcal L[\\phi_i(x+a),\\partial_\\mu\\phi_i(x+a)].$$ Consider an infinitesimal $x$-dependent transformation $$\\delta\\phi_i=\\delta a^\\mu(x)\\partial_\\mu\\phi_i(x),$$ $$\\delta\\partial_u\\phi_i(x)=\\delta a^\\nu \\partial_\\nu\\partial_\\mu\\phi_i(x)+\\partial_\\mu[\\delta a^\\nu (x)]\\partial_\\nu \\phi_i(x).$$ The proof then proceeds with variation of the action and integration by parts. But why do we consider an $x$-dependent local transformation instead of a global transformation?",
"Topology: Example of a compact set but its closure not compact Can anyone gives me an example of a compact subset such that its closure is not compact please? Thank you.",
"I noticed that when I had a helium filled, latex balloon inside of my car, it moved forward in the cabin as I accelerated forward. The faster I accelerated forward, the faster the balloon went from the back of the car to the front of the car. The balloon didn't have a string. This became a game with my 4 year old as we drove home. We figured out where the balloon would go based on how fast I accelerated, turned corners etc. I expected that it would act a lot like the water in a cup does, but it was the total opposite it seemed. What forces caused this behavior? I assumed it has something to do with the fluid dynamics in the closed cabin, but I can't figure it out.",
"I've been reading an ( eMagazine) relating to the Raspberry Pi; \"An ARM GNU/Linux box for $25.\" In the article, page 17 at the bottom it shows an area on the Pi where a track zigzags next to a straight one with the explanation text: The “wiggles” in tracks, ensure signals are matched electrically, reducing interference and signal delay. This is particularly important for high speed video data and HDMI signals. I have very limited knowledge of electrical engineering so perhaps this is a very simple question but why would you incorporate these 'wiggles' in a PCB design? I realise the quote gives me an answer and I sort of understand the interference point due to problems with power cables and coaxial cables running next to each other but I'd appreciate something assuming very little knowledge that explained why you would get the problems and how wiggles help. For example, why isn't the board covered in wiggles?",
"How can I remove the Trash icon from the Unity launcher? I would like to not show the trash icon at the bottom of the Unity launcher. Is this possible without having to recompile anything? :P",
"How do I suppress error messages from cp?",
"Limit involving binomial coefficients: $\\lim_{n\\to\\infty}\\left(\\binom{n}{0}\\binom{n}{1}\\dots\\binom{n}{n}\\right)^{\\frac{1}{n(n+1)}}$ I am facing difficulty with the following limit. $$ \\lim_{n\\to\\infty}\\left(\\binom{n}{0}\\binom{n}{1}\\dots\\binom{n}{n}\\right)^{\\frac{1}{n(n+1)}} $$ I tried to take log both sides but I could not simplify the resulting expression. Please help in this regard. Thanks.",
"what is the difference between \"yet\" and \"still\"? When we can use \"still\"? and when we can use \"yet\"? Are they synonyms or not? \"The plan could yet succeed.\" Can I use \"still\" in that sentence instead of \"yet\"? \"I still don't understand.\" Can I use \"yet\" in that sentence too?",
"How do I remove code duplication between similar const and non-const member functions? Let's say I have the following class X where I want to return access to an internal member: class Z { // details }; class X { std::vector<Z> vecZ; public: Z& Z(size_t index) { // massive amounts of code for validating index Z& ret = vecZ[index]; // even more code for determining that the Z instance // at index is *exactly* the right sort of Z (a process // which involves calculating leap years in which // religious holidays fall on Tuesdays for // the next thousand years or so) return ret; } const Z& Z(size_t index) const { // identical to non-const X::Z(), except printed in // a lighter shade of gray since // we're running low on toner by this point } }; The two member functions X::Z() and X::Z() const have identical code inside the braces. This is duplicate code and can cause maintenance problems for long functions with complex logic. Is there a way to avoid this code duplication?",
"Just recently, the right-click context menus in Windows 7 have been acting in a kind of left-handed way. That is, when possible, the initial menu appears to the left of the mouse pointer. When I hover over a submenu option, the next level of context menu appears to the left of the first and so-on. Basically, what normally happens when you're right at the right-hand edge of the screen is happening all the time - except when I'm at the left-hand edge. Perhaps it's some kind of left-handed users option, but that doesn't seem likely - more like a right-to-left language option, except that I've never even tried to use a right-to-left language. I haven't checked every app. for the issue - probably only Windows Explorer, definitely not in Firefox, for the moment that's as far as I've checked. Scratch that - this affects menu bars as well as context menus. The menus dangle down to the left of the menu-bar item instead of the right, and submenus open to the left too. This seems to apply to most applications, but not too Firefox or Thunderbird. I find this extremely annoying. I have no idea how this occurred, though it isn't the only weird glitch I've had in Windows 7 in the last few days - see I assume there's a setting somewhere that has got changed, but I can't find anything. There's also a chance that I've suffered some kind of registry corruption, so I might need to apply a fix in the registry - not something that scares me, but I need to know what to fix and how. So - does anyone know what setting has been changed, and how I can fix it? Also, beyond CCleaner (which I already have), are there any tips on making sure that the registry stays clean and sane? Finally, both Microsoft Security Essentials and Malwarebytes Antimalware seem happy that I don't have a malware problem. Should my recent glitches make me doubt that?",
"What is the difference between Interest Rate and APY on savings accounts, CDs, etc? Is there a simple formula to convert the two?",
"I am trying get an unused server up and running, it booted fine but i was greeted with the login window and none of the known passwords seem to work. The server I am trying to get to work is not a Domain Controller and has not been used in a long time. OS: Windows 2003 Server R2 Enterprise Edition I tried Ophcrack XP (there is no WinServer version of Ophcrack) - it couldn't locate the partitions with hashes. I tried mounting the partitions myself (#mount /dev/hda*x* /mnt/ntfs), but it gave me an error saying /dev/hda*x* didn't exist. Next I tried booting into a Ubuntu 10.04.3 LiveCD so that I could install and use chntpw - no go, Ubuntu Live wouldn't boot. Based on what I've read up the following tools may be of help: Windows Password recovery Petter Nordahl-Hagen's Offline NT Password & Registry Editor Openwall's John the Ripper EBCD – Emergency Boot CD - Bootable CD (R)ecovery (I)s (P)ossible Linux rescue system I am hoping that someone here has prior experience with Win2k3 Administrator password resets so that I don't end up having to try all of the above to find out which one works.",
"Do I have to create vector files at the correct print size?",
"What is a pull up and pull down? Can some one explain this terminology please I think I understand it but not completely sure. I think pull down is where you place a resistor between +V and the other component and pull up is where you place the resistor between 0v and the component. If I am completely wrong then let me know!",
"Rendered image looks pixelated When I hit F12 to render an image and zoom in it is quickly pixelated. How can I render a higher res display? I have looked through the settings and couldn't find a solution."
] | medi_sts_stackexchange_dupe |
How to generate a unique Hashcode? | What is the best algorithm for overriding GetHashCode? | [
"What happens if no one survives the Hunger Games? It is possible that the remaining last two tributes might get killed at the same time, for example, by a land mine explosion, and in that case the games will end with no victor standing. Is there a reference in the original books as to what happens if nobody emerges victor in the Hunger Games?",
"In my script, I have for loop over many cube objects (~1000) and the treatment is very slow. Looking more in details, I notice that in the same amount of loops: if I use python operation or simple blender operation like obj = bpy.data.objects[obj_name] or obj.select = True it takes less than 0.08s (for all 1000 objects) but as soon as I start using blender operators like: bpy.ops.object.select_pattern() # or bpy.ops.object.duplicate() # or bpy.ops.object.location_clear() # or bpy.ops.object.transform_apply() # etc. then, the performance drops down deeply with more than 6s for the same amount of objects. And, a last information, if I reduce the amount of objects from 1000 to 50, the same set of operations with bpy.ops is 0.03s - so extrapolating, it would be 0.6s for the 1000 objects and not 6s. It is as is with 1000 objects, we loose a factor 10 in speed in comparison than with 50 objects. I tried reducing the complexity of my mesh changing the cubes in planes but it had no effect at whole on performance. Is there something particular to know to improve these performance or a way to use the bpy.ops methods with better performances? Obviously, I am missing something important probably.",
"Can we calculate the standard error of prediction just based on simple linear regression output? The standard error of prediction in simple linear regression is $\\hat\\sigma\\sqrt{1/n+(x_j-\\bar{x})^2/\\Sigma{(x_i-\\bar{x})^2}}$. My question is to calculate the standard error of prediction for $pop=1029$ just based on the following regression output. I can get all except $\\bar{x}$. And I also know how to calculate the approximate standard error of prediction based on the standard errors of intercept and coefficient of $pop$, ignoring their correlation.",
"Kendo Grid & Rich text Editor of Sharepoint 2013",
"What is the difference between “say” and “tell”? I really get confused when to use say and when to use tell. Which is appropriate in the following: What did he tell? / What did he say? What are you saying? / What are you telling?",
"Are aerosol cans allowed and safe, in checked luggage?",
"Replace links with the current question title in comments In questions, links get converted into question titles (see ) Can the same functionality be added to comments?",
"How to know number of cores of a system in Linux? I wanted to find out how many cores my system has, so I searched the same question in Google. I got some commands such as the lscpu command. When I tried this command, it gave me the following result: $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 23 Stepping: 10 CPU MHz: 1998.000 BogoMIPS: 5302.48 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 2048K NUMA node0 CPU(s): 0-3 In particular, this output shows: CPU(s): 4 Core(s) per socket: 4 CPU family: 6 Which of those indicates cores of a Linux system? Is there any other command to tell the number of cores, or am I assuming it is completely wrong?",
"Split List into Sublists with LINQ Is there any way I can separate a List<SomeObject> into several separate lists of SomeObject, using the item index as the delimiter of each split? Let me exemplify: I have a List<SomeObject> and I need a List<List<SomeObject>> or List<SomeObject>[], so that each of these resulting lists will contain a group of 3 items of the original list (sequentially). eg.: Original List: [a, g, e, w, p, s, q, f, x, y, i, m, c] Resulting lists: [a, g, e], [w, p, s], [q, f, x], [y, i, m], [c] I'd also need the resulting lists size to be a parameter of this function.",
"Headphone jack not working?",
"Assistive technology not found AWTError $ java -jar aprof-plot.jar Exception in thread \"main\" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) at java.awt.Toolkit.getEventQueue(Toolkit.java:1734) at java.awt.EventQueue.invokeLater(EventQueue.java:1264) at aprofplot.Main.newWindow(Main.java:33) at aprofplot.Main.main(Main.java:359) Possible explanations I saw here was to install Java-access-bridge. But I am unable to install libaccess-java-bridge.",
"Polynomial ring $R[X] $ has zero Jacobson radical, for $R$ a domain",
"Can the off-regional pokémon hatch from eggs? Some people claim you can get the pokémon that are not in your region from eggs. Is this only a rumour or actually true? I've seen off-regional pokémon in gyms nearby but I can't rule out that the owner had been abroad or maybe even used location spoofing.",
"When can you build up all representations from the fundamental and antifundamental ones? Under what conditions can you determine all representations of a Lie algebra from the fundamental and antifundamental ones using just the tensor product, direct sum and Clebsch-Gordan decomposition? I think this is true for $\\mathfrak{su}(2)$ and $\\mathfrak{sl}(2,\\mathbb{C})$, or at least that's what physics books lead me to believe! Is it true in general for semisimple Lie algebras?",
"I read about Drupal behaviors today, and I tried writing the following code. (function ($) { Drupal.behaviors.mymodule = { attach: function (context, settings) { $('#mymodule_id', context).change(function () { alert('Handler for .change() called.'); }); } }; }(jQuery)); Is Drupal.behaviors.mymodule the namespace? What are the context and settings parameters passed to the Drupal behavior? Is this the equivalent of document.ready()? Can I attach any number of functions? Can I define JavaScript functions which will be called somewhere?",
"There has been a trend now two persons downvote it then it goes on like that. So let there be down voting but do not display the downvotes till the user votes on it. Else the user reads it with an impression that the question is not good. Am I missing something?",
"What is the difference between '->' (arrow operator) and '.' (dot operator) in Objective-C?",
"What figure of speech is this?",
"Is it possible to use a laptop as an external monitor? I need to create a multi-monitor setup for my desktop computer but I have no additional monitors with me right now, aside from my laptop. Is it possible to use my laptop screen as an external monitor? Note that I am not trying to connect a monitor to my laptop, rather, I am trying to connect my laptop screen to a desktop video card (if this is possible).",
"how to shuffle characters of strings in bash? i have this script where it generates random password but it needs to be shuffled. I couldnt find a way to do it. Please Help me. num=(\"0\" \"1\" \"2\" \"3\" \"4\" \"5\" \"7\" \"8\" \"9\") special=(\"@\" \"#\" \"$\" \"%\" \"*\" \"-\" \"+\") upper=(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) lower=(a b c d e f g h i j k l m n o p q r s t u v w x y z) lower2=${#lower[*]} #${lower[$((RANDOM%lower2))]} upper2=${#upper[*]} #${upper[$((RANDOM%upper2))]} num2=${#num[*]} #${num[$((RANDOM%num2))]} special2=${#special[*]} #${special[$((RANDOM%special2))]} echo \"${special[$((RANDOM%special2))]}${num[$((RANDOM%num2))]}${lower[$((RANDOM%lower2))]}${upper[$((RANDOM%upper2))]}${lower[$((RANDOM%lower2))]}${upper[$((RANDOM%upper2))]}${lower[$((RANDOM%lower2))]}${upper[$((RANDOM%upper2))]}\" this is the output: @7nOyIaJ how do I randomize this?"
] | medi_sts_stackexchange_dupe |
PYQT5 Application images not loaded when convert into exe using pyinstaller | Determining application path in a Python EXE generated by pyInstaller | [
"Can the rogue repeatedly hide in combat to sneak attack the same enemy? One of my players is a rogue and has been, on his turn, using Cunning Action to hide as a bonus action and immediately afterwards attacking. I have been ruling that this does work to grant him advantage as an unseen attacker as I believe that is the RAW, but it seems a little strange. Is he really, in the span of 6 seconds, ducking behind a corner and popping back out and this completely disorientates his target? I guess I just wanted to make sure I was ruling correctly.",
"If $x,y$ are positive reals such that $x+y = 2$ show that $x^3y^3(x^3+y^3) \\leq 2$. I thought about working backwards on this one. We can try to prove that $x^3y^3(x^3+y^3) \\leq 2$ is true by first realizing that $x^3+y^3 = (x+y)(x^2-xy+y^2)$ and substituting in for $x+y = 2$. We then get $x^3y^3(x^2-xy+y^2) \\leq 1$. How do I prove this is true?",
"how to use dom php parser",
"Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the \"usual suspects\" for non-English speakers (, , ) and a bunch of other packages. Assuming I were to convert to XeLaTeX, what modifications of my preamble are advisable? I'm aware that the expansion=true option of the package is not (yet) available for XeLaTeX, and that is sort of a default package for OpenType fonts. What other packages (and package options) should be removed and, vice versa, incorporated when switching from pdfLaTeX to XeLaTeX?",
"Please check the below awk '/SOURCE/ {print $3}' /MAC/Delete_Name.txt | while IFS= read -r file; do find /OS/ -iname \"$file.pdf\" ; done This results in output like this: /OS/001DAY/11file/cooke.pdf We want it to only print the file's path, like this: /OS/001DAY/11file/",
"Unwanted behaviour from dict.fromkeys",
"The Drupal 8 REST UI configuration page asks me to select Authentication providers for GET method; otherwise, it doesn't allow me to export the REST request. How can I provide anonymous user to access my REST GET API without providing any auth information?",
"Whether the sequence $\\{x_n-y_n\\}$ converge or not. Given, $\\{x_n\\}$ and $\\{y_n\\}$ are two real valued sequences such that $\\lim_{n\\to\\infty} (x_{n}^{3}-y_{n}^{3})=0 $ Then is it always true that $\\lim_{n\\to\\infty} (x_n-y_n) =0 $ ? I tried by splitting $ (x_{n}^{3}-y_{n}^{3}) $, but that didn't help as $\\lim_{n\\to \\infty} (x_{n}^{2}+x_{n}y_{n}+y_{n}^{2}) $ can be $0$ or non zero or doesn't exist.",
"I've been using mac for years, but prefer to do software development on windows. I'm really used to is using the folowing shortcuts on windows very much: <CTRL> + INSERT: Copy <SHIFT> + INSERT: Paste <SHIFT> + DELETE: Cut Of late, I've taken to doing even my development work on the Mac. However, as a matter of habit, I'm missing these shortcuts very much. Actually, I find these a lot more convenient than COMMAND + (C/V/X) combo. Is there a way to reassign these three shortcuts at least? I've look all over the internet and in the \"Keyboards\" system preferences but I did not find anything. PS: If you're wondering where I find the INSERT keys on a mac book pro, I use a wireless keyboard.",
"A colleague and I recently submitted a paper to a journal with an impressive-sounding name, the \"International Journal of Artificial Intelligence and Computational Research\". According to , IJAICR is a referred [sic] journal in the field of computer science, artificial intelligence and soft computing methods. It was accepted two days after we submitted it. That's too fast. We were suspicious. Although the journal said that all papers are peer-reviewed, we could not see how that was done in two days. Plus, we received no comments from the reviewers. Also, the submission guidelines didn't ask for a \"blind\" copy (without our names or any references to who we were). But wait, there's more. The acceptance letter asked us to send them US$300 to publish it. We did not. We've withdrawn our submission and will submit a new version of the paper to a more reputable journal in the coming months. How might we make a better choice of respectable journals before we submit next time?",
"Creating a large amount of convex polygons using existing coordinates",
"HSA - Continue to Invest?",
"I cleared all my browser data and visited and it logged me back in. How? This happens on Chrome on OS X and Windows 7. Surely the security concerns outweigh the benefits to the user. What if a family member or friend wants to use my machine? I wouldn't want them logged in as me. Update My mistake, I should have said data — all those checkboxes clicked/checked. I completely cleared everything, yet it still logs me back in. Update 2 Here's a video to prove it:",
"What is the difference between can and could in 'Can/could you please explain this to me?' Can you please explain this to me? Could you please explain this to me? I am unable to figure out which to use which situation. I did google, and some posts say they are both the same, even if the second one is more formal. Other posts say could is the past tense of can, but in the above example, I don't think could is used as past tense of can. What is correct way to use these words?",
"If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu install. To do this, I need to install the nVidia drivers first (sigh). To do this, I need changes to persist a reboot. To do this, I need to really install Ubuntu on a USB key. How do you do that? What I tried I tried to make a USB key from , then boot from it, then choose \"Install Ubuntu.\" The installer refused to install to the installation media itself. I tried, from my installed copy of Ubuntu: sudo kvm /dev/sdb --cdrom .cache/testdrive/iso/ubuntu_natty-desktop-i386.iso ...but the installer didn't detect the disk properly.",
"I have two directories that should contain the same files and have the same directory structure. I think that something is missing in one of these directories. Using the bash shell, is there a way to compare my directories and see if one of them is missing files that are present in the other?",
"Block any query in BIND",
"What kind of rhetoric is (this particular) \"No one ever [...]\" The President also knows that we have to stop blaming victims for these crimes. No one ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing? What did you say? Did you offend someone? We encourage people to come forward. We don't have to explain why someone took our money. I think the \"No one ever [...]\" claim is literally false, and actually obviously so. So, I understand it to mean: The President also knows that we have to stop blaming victims for these crimes. No one in their right mind ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing? What did you say? Did you offend someone? We encourage people to come forward. We don't have to explain why someone took our money. Supposing that I am right, what is this kind of rhetoric called?",
"How can I shutdown my Android phone using an adb command? How do I halt an android phone using adb command? I can reboot, but I don't know how to halt. I tried shutdown -k wait command, but it did not work.",
"Scanner is skipping nextLine() after using next() or nextFoo()?"
] | medi_sts_stackexchange_dupe |
Proving the divisibility of $4[(n-1)!+1]+n$ by $n(n+2)$ in the condition of $n,n+2 \in P$ where $P$ is the set of prime numbers | Wilson and Fermat's Theorem | [
"The latest updates (4/1/2018) make my laptop constantly crash the GUI/Unity: (Intel Pentium su4100 processor) syslog: Jan 5 11:38:53 1810 kernel: [ 1850.327738] compiz[11911]: segfault at 0 ip 00007f6c7baf0c16 sp 00007ffd5ec71c60 error 4 in i965_dri.so[7f6c7b513000+82d000] After login I end up with an empty desktop, just a wallpaper, GUI/Unity are in a crash loop: No panel. No dash. Can't start a program. Launcher disappears. Sidebar disappears. System crash. Windows key not working. The key combination Alt+Tab not working. Simply, the computer is not usable. Same for guest login. The only thing working: open up a terminal CTRL+ALT+T to examine log files. I somehow forced to let me log in and file the bug, but still lots of problems: Dash not working Alt+Tab not working Sometimes windows all disappear for a few seconds Any ideas for a solution or workaround? UPDATE If you have the same/ very similar problems, follow the link to my report and mark there that you're affected too. Or file your own. Please leave a comment if you wish, or upvote - this is a nasty problem - but an answer should offer a fix or a workaround so users can use their computer again. Without , Ubuntu can't fix issues.",
"How do I restore the default repositories? There are now errors when updating and I cannot install most software due to a corrupted /etc/apt/sources.list file. Is there a copy I can download to replace it? The file would be for Ubuntu 12.04 (Final Beta) in the United States.",
"OpenSource ATI driver - Fan running at full speed all the time I know this is a common problem and have read other topics but couldn't resolve. Anyways yesterday I found a solution - I have 2 graphic cards (hybrid) and they were both on. So I turned one off and installed Jupiter for power management and from there on the fans were quiet and I was happy as hell. However (:)), yesterday evening I also updated the system and the fan and it's noise came back. I checked whether I am using only 1 graphics card and I am. c0dehunter@mintBox ~ $ sudo lshw -c video [sudo] password for c0dehunter: *-display description: VGA compatible controller product: RS780M/RS780MN [Mobility Radeon HD 3200 Graphics] vendor: Hynix Semiconductor (Hyundai Electronics) physical id: 5 bus info: pci@0000:01:05.0 version: 00 width: 32 bits clock: 33MHz capabilities: pm msi vga_controller bus_master cap_list rom configuration: driver=radeon latency=0 resources: irq:18 memory:c0000000-cfffffff ioport:c000(size=256) memory:fbcf0000-fbcfffff memory:fbb00000-fbbfffff Maybe the problem is (false) temp reading from GPU? c0dehunter@mintBox ~ $ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +44.0°C (crit = +105.0°C) k10temp-pci-00c3 Adapter: PCI adapter temp1: +47.0°C (high = +70.0°C) (crit = +115.0°C, hyst = +110.0°C) radeon-pci-0200 Adapter: PCI adapter temp1: +127.5°C The thing that is weird is that if I boot into Windows the fan is still at full power (previously it wasn't). Did I f--- up my hardware with software? :) //OH, yes - I forgot to mention that my laptop is not hot at all. The temps are about 50°C.",
"Suppose $R\\neq 0$ is a commutative ring with $1$. Let $M$ be a free $R$-module. I would like to prove that $M$ is a flat $R$-module. Everywhere I have looked (mostly online) this is proved by first proving that every free module is projective, and then proving that every projective module is flat. Unfortunately, Atiyah & Macdonald's \"Introduction to Commutative Algebra\" (Chapter 2) does not discuss projective modules. But the result that every free module is flat comes very handy in the exercises. So my question is, Is it possible to prove that every free module is flat just by definitions and without appealing to projective modules? Thanks!",
"Overlapping matches in Regex I can't seem to find an answer to this problem, and I'm wondering if one exists. Simplified example: Consider a string \"nnnn\", where I want to find all matches of \"nn\" - but also those that overlap with each other. So the regex would provide the following 3 matches: nnnn nnnn nnnn I realize this is not exactly what regexes are meant for, but walking the string and parsing this manually seems like an awful lot of code, considering that in reality the matches would have to be done using a pattern, not a literal string.",
"Complete Statistic: Uniform distribution Take a random sample $X_1, X_2,\\ldots X_n$ from the distribution $f(x;\\theta)=1/\\theta$ for $0\\le x\\le \\theta$. I need to show that $Y=\\max(X_1,X_2,...,X_n)$ is complete. Now, I know I should multiply the sample distribution of $Y$ and multiply it with a function of $Y$, then integrate over the range of $\\theta$ and equate them to zero. But how do I get the sampling distribution of $Y$?",
"A book suggests that we should not interchange \"so\" and \"so that\". \"So\" means \"therefore\", and \"so that\" means \"in order that\". However, it seems to me that in many cases they don't actually have a difference. For example: Alice got up at 5:00 A.M., so that she could drive her son to school. If I substitute \"so that\" with \"so\", this sentence presents the exact same causal relation to me: Alice got up at 5:00 A.M., so she could drive her son to school. I must have missed something here, since English is my second language. Could somebody explain the difference?",
"proving that $f(x) = x^s$ is holder continuous with holder exponent s",
"I understand test -n <expression> to return false if the expression evaluates to a string length of greater than 0. Why then does the following happen? Macbook:~ echo ${#undeclared_variable} 0 Macbook:~ test -n $undeclared_variable && echo Foo Foo Bash 4.x My expectation is that since test -n $undeclared_variable should evaluate false, that Foo should not be echoed. If I use [[ ]] instead of test, it works as expected.",
"How can I search for a keyword with special characters in Google Search? I want to search for what += means, but Google won't return any documents. Also when I come across some PHP code I don't understand I can't search for the keywords as written. How can I search for these special characters or include these special characters in a search.",
"Money - Countable or Uncountable noun page suggests that we use much with only uncountable nouns whereas the use of many/several is limited to countable nouns only. So I conclude that money is uncountable noun as I've heard people saying phrases like So much money! But, We do count the money in our daily life then why is it that money is considered an uncountable noun instead of countable? What if I say I have $500 to spend Wouldn't the money be considered countable in this case? Edit The question may be considered duplicate of the suggested question but, in my opinion, the question on that link itself is not answered properly.",
"How to prove that center of $GL_n(\\mathbb R)$ is scalar matrices? Again what can you say about the center of set of all upper triangular matrices and center of set of all diagonal matrices.",
"I wanted to align a set of equations to left. I found on the Internet that you can do it easily with align* environment. I found it here: So I did it: \\begin{align*} f(b)-f(a)=&f((b_1,b_2,\\dots,b_k))-f((a_1,a_2,\\dots,a_k))=\\ &=\\sum_{i=1}^{k}[f((a_1,\\dots,a_{i-1},b_i,\\dots, b_k))-f((a_1,\\dots,a_i,b_{i+1},\\dots, b_k)) \\end{align*} Unfortunately, I got bunch of red errors saying that there are missing $s. Why? Doesn't that align* environment provide a math environment already?",
"How to tell the difference between linear and non-linear regression models?",
"$P[X=x]=0$ when $X$ is continuous variable",
"I was shooting the lighting of the city that is visible at the top of the trees if you shoot landscape. No matter what I do, the image is blurry. What have i done: ISO 100 Manual focus towards infinity Using a tripod Using really sharp prime & good camera Basically, everything I could. The only example i have is here, but it is not good, because image is underexposed: The main question: Why can't night photographs be as sharp as daily photographs (with approperiate exposure times of course)?",
"How to fix \"W: Duplicate sources.list entry\"?",
"Does an Indian citizen need a transit visa in Australia? Indian passport holder. Do I need transit visa in Sydney?",
"Hot and Week tabs not shown to non-logged in users (except on SO)",
"Why do wet objects become darker?"
] | medi_sts_stackexchange_dupe |
Descartes's cogito falls short | Could 'cogito ergo sum' possibly be false? | [
"A screen of mine burnt out, and was replaced with a screen of lower resolution. It works in safe mode as that is in 800x600 resolution, but when I try to boot to normal mode, it fails. Is there a way to change the resolution for normal mode in safe mode?",
"I'm not sure if there's a better place to ask this or not. Why, at least here in America, is the standard electrical system set up for alternating current (AC) rather than direct current (DC)? I'm just completing a long-distance move and realizing how many DC adapters I have and how many of my devices require DC power: All of my guitar pedals. My alarm clock. My external hard disks. My USB car HDD dock. ... and the list goes on. If we're almost constantly having to use DC adapters to convert AC into DC, why isn't the standard DC, other than because people resist change?",
"If I want to shoot darker shots, is it better to increase the lighting and then darken in post to retain clarity? I'm just getting started - in my last shoot, I was using a 6D with a 50mm/1.4. In low light, the pictures looked fantastic on the viewfinder but on the computer screen, appeared extremely grainy. For future shoots, if I want to achieve something like this: Should I shoot with way more light / lower ISO to retain clarity, and then just darken in post? What kind of setup would be needed to achieve the above? With my setup - Camera Canon EOS 6D Lens EF50mm f/1.4 USM Focal Length 50mm Shutter Speed 1/40 s Aperture f/1.8 ISO/Film 6400 I was getting very grainy results that I had to soften in post (in case you want to see my attempts): Any tips would be much appreciated.",
"The files are \"ready to download\" or \"ready to be downloaded\"? Both ways seem to be used quite interchangeably even though the first one doesn't seem grammatical to me (English is, however, my second language so I could be miles off here). What do you think?",
"How big an RSA key is considered secure today? I think 1024 bit RSA keys were considered secure ~5 years ago, but I assume that's not true anymore. Can 2048 or 4096 keys still be relied upon, or have we gained too much computing power in the meanwhile? Edit: Lets assume an appropriate padding strategy. Also, I'm asking both about security of signatures and security of data encryption.",
"I wanted to tweet something on the lines of \"Stack Overflow is awesome\". When I do this kind of stuff, I usually use a username (for example: ) or a hashtag () I found , but it seems it is from someone unrelated with Stack Overflow. Is there a Twitter account I can reference, or should I use a hash-tag? Should I just point to the site? Thanks! (Notice: I've seen lots of questions regarding Twitter and Stack Overflow, but those are mostly about integration/login with Twitter for the users accounts; I'm just asking for a single account for Stack Overflow; probably for announcements and PR, which is different)",
"When does Ubuntu 16.04 use /etc/apache2/ssl/apache.crt? I have some Ubuntu 16.04 server running and set up one vhost in apache2 which uses (or should use) ssl. <IfModule mod_ssl.c> <VirtualHost *:443> ServerAdmin [email protected] ServerName my.domain.name.de DocumentRoot /var/www/mysslsite <Directory /var/www/mysslsite> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/mysite.ssl.error.log CustomLog ${APACHE_LOG_DIR}/mysite.ssl.access.log combined </VirtualHost> </IfModule> I did NOT enable the standard sites-available/default-ssl.conf. I am able now to browse to and it is asking in firefox to add some exception which is totally normal if i did not buy any certificate. But I was wondering where it is set up that it should use the certificates in /etc/apache2/ssl/ directory. I can not find any config where it is told to use that. I all the time was thinking that it will use something from /etc/ssl folder. Or did I maybe not activate SSL correctly?",
"Prepositions used with \"inquire\"",
"I'm having a really hard time trying to understand what the differences between a desktop environment and a window manager are? EDIT: From this : There are basically three layers that can be included in the Linux desktop: X Windows – This is the foundation that allows for graphic elements to be drawn on the display. builds the primitive framework that allows moving of windows, interactions with keyboard and mouse, and draws windows. This is required for any graphical desktop. Window Manager – The Window Manager is the piece of the puzzle that controls the placement and appearance of windows. Window Managers include: , , , , , etc. Requires X Windows but not a desktop environment. Desktop Environment – This is where it begins to get a little fuzzy for some. A Desktop Environment includes a Window Manager but builds upon it. The Desktop Environment typically is a far more fully integrated system than a Window Manager. Requires both X Windows and a Window Manager. Examples of desktop environments are , , , among others)",
"I have recently been reading about Quantum Electrodynamics which I found very interesting, but even more confusing. I understand photons mediate the electromagnetic force and interactions between charges can be described by virtual photon exchange. And that in Quantum Mechanics particles paths can be evaluated by sum over all paths... An electron travelling from one point to another will take all paths, emitting and reabsorbing virtual photons. Does the electrons take all paths including those that involve faster than light velocities? Is this question null, Does it mean anything to ask about properties of virtual particles? Do I have the wrong idea about what virtual particles are?",
"Word for in-house jargon",
"I am wondering if there is away (possibly a better way) to order by the order of the values in an IN() clause. The problem is that I have 2 queries, one that gets all of the IDs and the second that retrieves all the information. The first creates the order of the IDs which I want the second to order by. The IDs are put in an IN() clause in the correct order. So it'd be something like (extremely simplified): SELECT id FROM table1 WHERE ... ORDER BY display_order, name SELECT name, description, ... WHERE id IN ([id's from first]) The issue is that the second query does not return the results in the same order that the IDs are put into the IN() clause. One solution I have found is to put all of the IDs into a temp table with an auto incrementing field which is then joined into the second query. Is there a better option? Note: As the first query is run \"by the user\" and the second is run in a background process, there is no way to combine the 2 into 1 query using sub queries. I am using MySQL, but I'm thinking it might be useful to have it noted what options there are for other DBs as well.",
"Notification that ‘someone might be watching what you browse’",
"If $f(x)$ is continuous on $[a,b]$ and $M=\\max \\; |f(x)|$, is $M=\\lim \\limits_{n\\to\\infty} \\left(\\int_a^b|f(x)|^n\\,\\mathrm dx\\right)^{1/n}$? Let $f(x)$ be a continuous real-valued function on $[a,b]$ and $M=\\max\\{|f(x)| \\; :\\; x \\in [a,b]\\}$. Is it true that: $$ M= \\lim_{n\\to\\infty}\\left(\\int_a^b|f(x)|^n\\,\\mathrm dx\\right)^{1/n} ? $$ Thanks!",
"How to change camera movement speed on Path during animation Im making a animation in blender that requires the camera to change speeds while moving along a path. I'm using the Curve/Path for the path. I need the camera to move at a certain speed going between 2 places, and then slow down while moving around something its focusing on.",
"How would I implement a realistic stock market?",
"Magnetic field lines When I searched the net about magnetic field lines, told something about contour lines and that magnetic materials placed along a magnetic field has some specific loci, which i did not understand. Can someone explain it to me in details. Also how do we know that tangent to a magnetic field line gives the direction of magnetic field? I am very confused.",
"Prove that $\\liminf x_n = -\\limsup (-x_n)$ How can we prove that $\\liminf x_n = -\\limsup (-x_n)$? The definitions we are using are $\\limsup x_n = \\lim\\limits_{n\\to\\infty} \\sup\\{x_k; k\\ge n\\}$ $\\liminf x_n = \\lim\\limits_{n\\to\\infty} \\inf\\{x_k; k\\ge n\\}$",
"How can I get grub2 to boot a different option only on the next boot?",
"Where do the regions of Westeros appear to align as of the season 6 finale? Based on , my understanding is that there are 9 regions of Westeros subject to the rule of the Iron Throne, from Dorne joining up to Cersei killing Robert. With whom does [insert region] align in what appears to be Daenerys vs Cersei? Kingdom of the North -- Daenerys probably but currently busy with White Walkers Kingdom of the Mountain and the Vale -- Daenerys probably but currently busy with White Walkers (supposedly; depends on what Littlefinger has in mind) Kingdom of the Isles and Rivers (Iron Islands) -- Daenerys Kingdom of the Isles and Rivers (Riverlands) -- Cersei because the Freys are with the Lannisters? Kingdom of the Rock -- Cersei because she is a Lannister Kingdom of the Stormlands -- Cersei? Kingdom of the Reach -- Daenerys after invitation of Varys and Ellaria Principality of Dorne -- Daenerys after invitation of Varys presumably Crownlands -- Cersei since Cersei is currently occupying the Iron Throne Am I understanding this right? Anything wrong?"
] | medi_sts_stackexchange_dupe |
savepoint commit rollback in mysql | Are nested transactions allowed in MySQL? | [
"If you click on the Stack Exchange menu or the inbox menu or the achievements/reputation menu, you can then move the mouse between those three menus without any additional clicks. This behaviour does not appear to be applying to the Winterbash menu (or the \"help\" menu for that matter, but that's on the other side of the bar). Could we get this sorted, since otherwise the behaviour is a little inconsistent, with extra clicking on a menu bar where in all other circumstances clicking would close the menu!",
"Comment deletion notification I think you should be notified if anything of yours is deleted or even flagged, preferably with some explanation (even if it's a simple categorisation like #rude, #irrelevant, #incorrect) and who did it. Recently, a couple of comments of mine vanished without warning or evidence afterwards. I'm fine with deletion, but I think it should be used sparingly and be based on democratic decisions. What's the harm of letting a comment simply sit with no up-votes or responses rather than outright removal? Or allow downvoting and then negatively voted comments are hidden by default? I get the impression that anything I post could be deleted. Very few people want to be unpopular or do the wrong thing. It takes time to understand what something is about and how best to use it (this site). Whether or not what I posted deserved to be deleted is irrelevant because I got no feedback. No-one can learn without feedback. The number of frivolous comments with many upvotes I've seen shows how inconsistently the rules are applied. A community that gives too much power to highly rated users won't grow but turn stagnant. Sorry if this was rude, inappropriate or pathetic. I'm aware that similar discussions have occurred. In any case, I'll continue to use the site and move on...",
"What is a *.pkinfo file? Google Search results talk about Package Info files and how they contain map documents and layers, so I don't see how this is different from a .mpk file. I also have not found anything about how to create a *.pkinfo file.",
"Banach spaces and their unit sphere Let $X$ be a normed vector space. Show that if a subsequence of a Cauchy sequence converges, then the whole sequence converges. Use the part 1 to show that $S = \\{x\\in X : \\|x\\| = 1\\}$ is complete if and only if $X$ is Banach. I have found the first part in a book, but I do not how to prove part 2. Thanx regards",
"Is there a way to turn option strict off for just a single line of code? I'm doing some maintenance work and I need to \"cheat\" in just one place and I don't want to lower the standard for the entire file.",
"What is the simplest and most robust way to get the user's current location on Android?",
"$f(x,y)=4x^3y^2$ Dealing with Directional Derivatives and Vectors Let $f(x,y)=4x^3y^2$ How do I find the directional derivative of $f$ at $(2,1)$ in the direction of the vector $3i-4j$? What would be a unit vector in the direction in which $f$ decreases most rapidly from the point $(2,1)$? And, what is the rate of change of $f$ in the direction given in the second question? My Work (What I have done so far): For the first question: $\\nabla f(x,y)=12x^2y^2$i$+8x^3y$j$\\nabla f(2,1)=48$i$+64$j$u=(3/5)$i$-(4/5)$j $\\therefore D_u f=\\nabla f\\bullet u=0$ I'm not entirely sure if this is right? Can someone please verify? For the second question: $u=(3/5)$i$-(4/5)$j $\\therefore -||\\nabla f(2,1)||=$? How do I find this? And am I doing this right? I have no idea what to do for the third question.",
"Can Cycles renders be done from the command line? It seems that Cycles is mainly built in the form of Python scripts (as far as I can tell). Is it still possible to use Cycles to render a .blend file from the command line?",
"Is the W statistic output by wilcox.test() in R the same as the U statistic? I've recently been reading about the Mann-Whitney U test. It turns out that to carry out this test in R you actually need to run a Wilcoxon test! My question: is the W statistic of wilcox.test in R identical to the U statistic?",
"Does Qt have a C interface?",
"How to resize partitions? Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers. Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions). Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space. How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?",
"No indentation after theorem environment with amsthm I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected the following MWE to accomplish this task. \\documentclass[12pt,a4paper]{scrreprt} \\usepackage{amsthm} \\newtheoremstyle{abcd}% name {}% Space above, empty = `usual value' {}% Space below {\\itshape}% Body font {}% Indent amount (empty = no indent, \\parindent = para indent) {\\bfseries}% Thm head font {.}% Punctuation after thm head {.5em}% Space after thm head: \\newline = linebreak {}% Thm head spec \\theoremstyle{abcd} \\newtheorem{defn}{Definition} \\begin{document} \\begin{defn} Some defintion \\end{defn} This sentence shouldn't be indented. \\end{document} However, I end up with this That is what I would expect (obtained using a noindent right after the theorem environment ends)",
"How can I check whether a variable is defined in JavaScript? How to check whether a JavaScript variable defined in cross-browser way? I ran into this problem when writing some JavaScript utilizing FireBug logging. I wrote some code like below: function profileRun(f) { // f: functions to be profiled console.profile(f.constructor); f(); console.profileEnd(f.constructor); } It works fine in FireFox/FireBug, but it reports error in IE8 RC1. So, I'd like to do some checking whether console variable exists in the execution environment. Below code works fine in FireFox, but not in IE8 RC1. function profileRun(f) { if (console != undefined) { console.profile(f.constructor); } f(); if (console != undefined) { console.profileEnd(f.constructor); } } However, if I do it this way. It works in IE8 RC1. Why? function profileRun(f) { if (window.console != undefined) { console.profile(f.constructor); } f(); if (window.console != undefined) { console.profileEnd(f.constructor); } } Is there any cross-browser way to check it?",
"Polynomial irreducible - maximal ideal I have a couple of ideals which I wonder if I correctly classify as maximal/prime ideal. $I_1 = \\langle 2x^2 + 9x -3\\rangle$, $I_2 = \\langle x - 1\\rangle$ $\\mathbf 1)$ Is $I_1$ a maximal ideal in $\\mathbb{Q}[x]$? Yes, since $I_1$ is irreducible with $p=3$ using Eisenstein's criterion, thus maximal ideal. $\\mathbf 2)$ Is $I_2$ a prime ideal in $\\mathbb{Q}[x]$? Yes, since $I_2$ is obviously irreducible, and thus a maximal ideal, and every maximal ideal is a prime ideal. $\\mathbf 3)$ Is $I_2$ a maximal ideal in $\\mathbb{Z}[x]$? Yes, $I_2$ is obviously irreducible, and thus a maximal ideal. $\\mathbf{Edit:}$ No, as it is not a field. $$ $$ Am I right in my conclusions? Appreciate any help.",
"Scoring matrices (BLOSUM & PAM) in BLAST and other sequence-comparison programs The states that: The scores are created by comparing the word in the list in step 2* with all the 3-letter words. By using the scoring matrix (substitution matrix) to score the comparison of each residue pair, there are 203 possible match scores for a 3-letter word. For example, the score obtained by comparing PQG with PEG and PQA is 15 and 12, respectively with the BLOSUM62 weighting scheme. I do not understand how they got a score of 15 for PQG v. PEG. What is a scoring matrix, how is it computed, and how is it used? Step 2 on that page is Make a k-letter word list of the query sequence: “Take k=3 for example, we list the words of length 3 in the query protein sequence (k is usually 11 for a DNA sequence) sequentially, until the last letter of the query sequence is included”.",
"I need to use filter to sort calendar months in mmm format. Data > Sort > Custom will do it but I cannot make filter work. Months are in a column eg SEP, APR, JAN, APR, etc. Filter just does an alphabetical sort so it puts all the APR first.",
"Question The test scores of three groups of people are saved as separate vectors in R. set.seed(1) group1 <- rnorm(100, mean = 75, sd = 10) group2 <- rnorm(100, mean = 85, sd = 10) group3 <- rnorm(100, mean = 95, sd = 10) I want to know if there is a significant difference in the medians between these groups. I know that I could test group 1 versus group 2 using the Wilcoxon test, like so. wilcox.test(group1, group2) However, this compares only two groups at a time, and I would like to compare all three simultaneously. I would like a statistical test that yields a p value at the 0.05 significance level. Could someone please help? Edit #1 - Mood's median test Following user Hibernating's suggested answer, I tried Mood's median test. median.test <- function(x, y){ z <- c(x, y) g <- rep(1:2, c(length(x), length(y))) m <- median(z) fisher.test(z < m, g)$p.value } median.test(group1, group2) However, this approach allows me to test for a significant difference between the medians of only two groups at a time. I am not sure of how to use it to compare the medians of all three simultaneously. Edit #2 - Kruskal-Wallis test User dmartin's suggested answer appears to be more or less what I need, and allows me to test all three groups simultaneously. kruskal.test(list(group1, group2, group3)) Edit #3 User Greg Snow helpfully notes in his answer that the Kruskal-Wallis test is appropriate as long as it makes strict assumptions that make it also a test of means.",
"\"1 in 10 are\" or \"1 in 10 is\"? Take the examples: \"One in ten children are dyslexic.\" \"One in ten children is dyslexic.\" \"One in ten children has dyslexia.\" \"One in ten children have dyslexia.\" The \"one\" is singular so 2 and 3 should be correct. But the \"one in ten\" is a fraction\" so 1 and 4 should be correct. And yet I think I usually say 1 and 3. Which is/are correct?!",
"Having recently reviewed a few suggested edits, I've found that not being able to see the comments on the post is hindering my understanding of the context of some edits. In particular, there have been a few posts where someone has made a substantial edit to a question or answer which significantly alters its meaning. Typically I'd reject that as \"too radical\", since it can't be known that the new meaning of the post was what the original author intended. However, in some cases it is clear from the comments that the original author is aware of the intended change, and as such the editor is not in fact misrepresenting the author's intentions. In these cases, it would have been useful to see the comments when making the review decision. As an example, a common cause of this is when an inexperienced user is asked to clarify their question, and ends up writing a comment that would be better off as an edit to the question (due to length, excess code content, etc), presumably due to lack of awareness that the question can be edited. Often, other users will helpfully edit the question to include the information the OP put in the comment (see , and for examples). In this situation, it is clear that the edit reflects the OP's intentions, but this information is only present in the comments which are not visible in the review interface. Following is the suggested edit screen showing the suggested edit. It seems indentation is increased and one line is moved a few lines upwards and some empty lines added to increase readability. But it look like an invalid edit since changing the related line may cause alteration on the runtime. So not looks lie a valid edit. Better open the answer and examine it Checking the Q&A itself reveals that a talk had taken place between the OP and the answerer and revision done by the OP with the permission of the answerer. So it was indeed a valid edit. In short: is there any particular reason comments are not displayed in the suggested edit review interface? I think it would add useful contextual information when making review decisions, and presumably this would be trivial to implement. Note: this is not a dupe of , as it does not concern comments posted after the suggested edit.",
"I'm struggling to understand the difference between the standard error and the standard deviation. How are they different and why do you need to measure the standard error?"
] | medi_sts_stackexchange_dupe |
Using repeated-measures ANOVA to test Rater disagreement | Intraclass correlation coefficient vs. F-test (one-way ANOVA)? | [
"How do you turn off developer mode on an s5? I turned developer options 'off', but is there anything else that needs to be done? Not my phone so don't want to mess anything up :-)",
"When do I have to use 'will' instead of 'going to'? Does going to only express an intention and will some kind of prediction that doesn't necessarily happen? EDIT: Thanks for all your answers. I asked this question because I always fail to complete exercises like this from an ESL book: We will fly to Venice in June. (Correct: But, how can I be sure that I'm not sick in June?) Philipp will be 15 next Wednesday (Correct: Since his birthday is a fixed day, this will happen). They will get a new computer. (Wrong: Why?, If I need a new computer, I simply get a new one) In 2020 people are going to buy more hybrid cars. (Wrong, Why? Who can tell for sure).",
"How to edit files in a terminal with nano? Sometimes, a graphical text editor like gedit or kate cannot be used (because you're in a virtual console for example). Luckily, there are text editors for the terminal. An easy one is nano, but I cannot understand how to work with it. If I start nano by running nano, the bottom text is supposed to help me but all I see are things like ^G Get Help ^O WriteOut. How can I open text files for editing? How can I save the file? How can I quit the editor without saving the changes? How to edit? I heard that you've to enter some commands to begin editing in vi, is this true for nano too? Sometimes, if I manage to open a file, the text is unreadable due to its colors. How can I disable these colors? (see the image below) In the some files, lines are truncated because those do not fit in the screen. How can I prevent that from happening? (see the image below)",
"Is there a way in javascript to detect if the unload event is caused via a refresh, the back button, or closing the browser?",
"Apply SP3 on SQL Server 2012 AlwaysOn AAGs",
"I just added a PPA repository for the development version of the GIMP, but I get this error: $ apt-get update && apt-get upgrade ... The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I solve it so that I can use the latest version instead of the one I have now?",
"Bash script copy file to user's (wildcard) home dir",
"I am on a multiplayer Minecraft realm in 1.16 and I was wondering if there was any way to set a chest's Items to a player's entire Inventory including the offhand and armor slots. Using data modify <chest coordinates> Items set from entity <player> Inventory, I was only able to copy over the hotbar and the top two rows of a player's inventory. I honestly don't care if it takes 50 command blocks, any response is gladly appreciated.",
"What are attributes in .NET?",
"How do you plot time on the X axis in excel? I need to plot the decay of my phone's battery against time over night. My starting time is 23:17:47 and my ending one is 07:05:49. I don't have any issue in changing the time format in the current one, selecting an XY chart and plotting time on the X axis. The problem arises because Excel doesn't start the X axis at 23:17:47, but instead at 00:00:00, so my first value is drawn from the end of the graph and the goes back at the beginning when time values are over 00:00:00. In other words, how do I set up the min time value to 23:17:47 and the max to 07:05:49 in excel?",
"I have an inkling that the following word usage is grammatically-correct; however, it is immensely difficult to search for confirmation, as all I receive for queries like "Proper as an adjective" are reams of results on "Proper adjectives". The word itself I am using as a postpositive adjective, similar in form to the phrase "time immemorial". The shelter remains in name only; the shelter proper is in another town. Work in theory remained, although operations proper had mostly been outsourced. Can anyone advise?",
"I do not understand how dummy variables work in math. Suppose we have: $$I_1 = \\int_{0}^{\\infty} e^{-x^2} dx$$ How is this equivalent to: $$I_2 = \\int_{0}^{\\infty} e^{-y^2} dy$$ How does this dummy variable system work? Since $y$ is the dependent variable for $I_1$ How can $y$ itself be and independent variable for $I_2$ ?? Thanks!",
"When is it appropriate to end a sentence in a preposition? Like many others, I commonly find myself ending a sentence with a preposition. Yes, it makes me cringe. I usually rewrite the sentence, but sometimes (in emails) I just live with it. To, with... you know who you are. Should I keep fighting myself on this one, or is it okay in some circumstances?",
"How to type special/accented letters in LaTeX? How to type these special letters from European languages in latex? ä, é, and L'?",
"Finding the convergence interval of $\\sum_{n=0}^\\infty\\frac{n!x^n}{n^n}$. I want to find the convergence interval of the infinite series $\\sum\\limits_{n=0}^\\infty \\dfrac{n!x^n}{n^n}$. I will use the ratio test: if I call $u_n = \\dfrac{n!x^n}{n^n}$, the ratio test says that, if the following is true for some values of $x$, the series will be convergent for these values of $x$: $$\\lim_{n\\to+\\infty}\\left|\\frac{u_{n+1}}{u_n}\\right|<1$$ So, I will first calculate the value of $\\left|\\dfrac{u_{n+1}}{u_n}\\right|$: $$\\left|\\dfrac{\\dfrac{(n+1)!x^{n+1}}{(n+1)^{n+1}}}{\\dfrac{n!x^n}{n^n}}\\right|=\\dfrac{(n+1)!|x|^{n+1}}{(n+1)^{n+1}}\\times\\dfrac{n^n}{n!|x|^n}=\\frac{(n+1)n^n|x|}{(n+1)^{n+1}}=|x|\\left(\\frac{n}{n+1}\\right)^n$$ So, $\\lim\\limits_{n\\to+\\infty}\\left|\\dfrac{u_{n+1}}{u_n}\\right|$ becomes: $$\\lim_{n\\to+\\infty}\\left|\\frac{u_{n+1}}{u_n}\\right|=\\lim_{n\\to+\\infty}|x|\\left(\\frac{n}{n+1}\\right)^n=|x|\\lim_{n\\to+\\infty}\\left(\\frac{n}{n+1}\\right)^n$$ Now I must evaluate the value of $\\lim\\limits_{n\\to+\\infty}\\left(\\dfrac{n}{n+1}\\right)^n$. For this, let $y = \\left(\\dfrac{n}{n+1}\\right)^n$; so, instead of calculating $\\lim\\limits_{n\\to+\\infty}y$, I will first calculate $\\lim\\limits_{n\\to+\\infty}\\ln y$: $$\\lim_{n\\to+\\infty}\\ln y=\\lim_{n\\to+\\infty}\\ln \\left(\\dfrac{n}{n+1}\\right)^n=\\lim_{n\\to+\\infty}n\\ln\\left(\\frac{n}{n+1}\\right) =\\lim_{n\\to+\\infty}\\frac{\\ln\\left(\\frac{n}{n+1}\\right)}{\\frac{1}{n}}$$ Applying L'Hôpital's rule: $$\\lim_{n\\to+\\infty}\\frac{\\ln\\left(\\frac{n}{n+1}\\right)}{\\frac{1}{n}} =\\lim_{n\\to+\\infty}\\frac{\\frac{1}{n(n+1)}}{-\\frac{1}{n^2}} =\\lim_{n\\to+\\infty}\\left(-\\frac{n}{n+1}\\right)=-1$$ Now, since we know that $\\lim\\limits_{n\\to+\\infty}\\ln y = -1$, we have that: $$\\lim_{n\\to+\\infty}y=\\lim_{n\\to+\\infty}e^{\\ln y} = e^{-1} = \\frac{1}{e}$$. Substituting this back into the expression $\\lim\\limits_{n\\to+\\infty}\\left|\\frac{u_{n+1}}{u_n}\\right| = |x|\\lim\\limits_{n\\to+\\infty}\\left(\\frac{n}{n+1}\\right)^n$, we have that the limit of $\\left|\\dfrac{u_{n+1}}{u_n}\\right|$ as $n\\to+\\infty$ is: $$\\lim_{n\\to+\\infty}\\left|\\frac{u_{n+1}}{u_n}\\right|=\\frac{|x|}{e}$$ Therefore, the series will certainly be convergent for the values of $x$ for which $\\dfrac{|x|}{e}<1$, that is, $|x|<e$. So, I know that the series is convergent for $-e < x < e$, but I have to test whether the series is convergent at $x = e$ or $x = -e$. That is, I have to test whether $\\sum\\limits_{n=0}^{\\infty} \\dfrac{n!e^n}{n^n}$ and $\\sum\\limits_{n=0}^{\\infty} \\dfrac{(-1)^nn!e^n}{n^n}$ are convergent. Since these limits don't approach zero, I know they are both divergent, but I'm not sure how to find the limits, because of the factorial function. Also, I can't use integral test here, because of the factorial. Probably I should use comparison test, but I haven't found any divergent series to which to compare it. Any hints? Thank you in advance. Edit: Using the suggestion by Ragib Zaman in the answer below, since the Taylor polynomial $P_n(x)$ of $e^x$ at $a=0$ is $$e^x = 1 + x + \\dfrac{x^2}{2!} + \\cdots + \\dfrac{x^n}{n!}+\\cdots,$$ if we substitute $n$ for $x$ we see that $e^n>\\dfrac{n^n}{n!}$; therefore, $\\dfrac{n!e^n}{n^n} > 1$, and, thus, we show that $\\sum\\limits_{n=0}^{\\infty} \\dfrac{n!e^n}{n^n}$ is divergent, because its term doesn't approach zero. $\\sum\\limits_{n=0}^{\\infty} \\dfrac{(-1)^nn!e^n}{n^n}$ is also divergent, because, although the absolute value of the ratio between two successive terms, $|e|\\left(\\frac{n}{n+1}\\right)^n$, approaches 1 as $n\\to\\infty$, it approaches 1 from values bigger than 1; therefore, the absolute value of a term is always greater than the absolute value of the previous term.",
"Is there an uncountable family of infinite parts of $\\mathbb N$ with two to two intersection finite?",
"I am animating a Rubik's cube, and as soon as I get to the second rotation the blocks that have previously been rotated start tripping out even though it should have been reset. I tried making the graph linear which fixed a lagging issue I had, but the blocks still start to spin instead of rotating around a single axis.",
"Intermediate ring between a field and an algebraic extension. This is an exercise in some textbooks. Let $E$ be an algebraic extension of $F$. Suppose $R$ is ring that contains $F$ and is contained in $E$. Prove that $R$ is a field. The trouble is really with the inverse of $r$, where $r\\in R$. How to prove that $r^{-1}\\in R$, in apparent lack of a characterization of $R$. It occurred to me to use the smallest field containing $R$ ($R$ is easily shown to be an integral domain), that's the field of quotients, and proving that it's $R$ itself, but I don't really know how to proceed. A not-too-weak, not-too-strong hint will be much appreciated. Beware $ $ Readers seeking only hints should beware that there is now a complete answer.",
"What is the best way to go about calling a function given a string with the function's name in a Python program. For example, let's say that I have a module foo, and I have a string whose content is \"bar\". What is the best way to call foo.bar()? I need to get the return value of the function, which is why I don't just use eval. I figured out how to do it by using eval to define a temp function that returns the result of that function call, but I'm hoping that there is a more elegant way to do this.",
"Setting NTP on Windows 2008 Domain"
] | medi_sts_stackexchange_dupe |
Sending messages to an iPhone without iMessage | How to send an SMS in iOS 10 | [
"How to change the snapping increment in different units? I would like to know how to change the increments used for snapping transforms. This would be useful in a number of situations but my problem now is that when I change the units it does not scale the snapping increments to match. So when holding down ctrl the cube snaps from here: To here: I would like it to snap to the 1 foot grid, or possibly any other amount I find useful. It would also be nice to be able to change the rotation snap as well.",
"Proof by induction on a rooted tree with even number of vertices Let $T = (V, E)$ be a rooted tree with an even number of vertices. Prove by induction that there exists a set of edges $S \\subseteq E$ such that every $v \\in V$ is incident with an odd number of edges in $S$. I was wondering if my argument is sufficient to prove the statement above: Base case: $|V|=2$, there is only 1 edge and both vertices are incident with 1 edge $->$ $S \\subseteq E$. Inductive step: Let $|V|>2$, implying that $T$ has at least 2 external vertices. Let us choose two arbitrary external vertices $w,u \\in V$. Such vertices are only incident to 1 edge each, $e_w$ and $e_u$. We can say that $e_w,e_u \\in S$. By induction, there exists a set $S$ in $T'=T-\\{w,u\\}=(V',E')$ such that every $v \\in V'$ is incident with an odd number of edges in $S$ because removing 2 vertices from a tree with an even number of vertices maintains the property $|V|=2n$.",
"OpenLayers low resolution and/or shifts in QGIS print composer? I'm having trouble with the OpenLayers Plugin of Qgis and the map composer: If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and after export the layer has shifted relatively to my other shape layers (EPSG:32633 - WGS 84 / UTM zone 33N). The second thing is that the output resolution of the exported osm-layer is very, very poor. A really bad way of getting around this whole trouble would be to increase the screen resolution and make a screenshot of the map composition window of qgis. But I don't think this would be very professional. It also would cause a lot of pain :) I'm using Qgis 1.8.0-Lisboa under Linux. The openlayers plugin is version 0.92.",
"What's the simplest way to print a Java array? In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the of the array, as defined by Object.toString(): int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray); // prints something like '[I@3343c8b3' But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs: // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5] // Array of object references: String[] strArray = new String[] {\"John\", \"Mary\", \"Bob\"}; //output: [John, Mary, Bob]",
"When did Captain America learn what happened to Howard Stark? Near the end of Captain America: Civil War we learn that Howard and Maria Stark were assassinated by the Winter Soldier and Captain America admits that he already knew. But how did he find out? I don't recall this being revealed in any of the previous movies, and I can't think of a reason why the characters who already knew would have gone out of their way to tell Steve about it.",
"Why shouldn't we use words such as 'here' and 'this' in textlinks? Over the years of surfing on the web I have found numerous examples of people saying that you shouldn't use the word \"here\" in a textlink etc. Personally I like the idea of using the word, because it is so straightforward for your visitors to know where to click. The only reason that I can truly think of is for SEO purposes. The word here doesn't have much value as a keyword as such. I would like to know some other opinions on why we should/shouldn't use word like \"this\" and \"here\" in a textlink.",
"How to use a decimal range() step value?",
"Solder does not stick to tip of soldering iron? Basic question here, but it's driving me insane! The solder does not seem to stick to the tip of my soldering iron. After the iron heats up, the tip appears black (sometimes on all sides and sometimes on one side), then either it doesn't melt the solder at all, or it I fiddle around with it for a while; it melts the solder, but the solder rolls into itself into a ball and doesn't stick to the tip. I've seen this many times while soldering before and usually it's solved by cleaning the tip on a soldering sponge or cooling it down and scraping the tip off with a blade, but I have scraped this particular one many times and still it's the same problem: it heats up and gets black, then the solder doesn't stick to it. It doesn't help that this soldering iron has a very fine tip and I have to use it to solder very tiny chips and wires under a microscope (I'm just starting to learn soldering under microscopes). Any ideas on what I can do? PS: Is scraping the tip a bad idea? I have been doing it with my other bigger soldering irons and it seemed to work (at least in most cases) but I am not sure whether it is a good solution or not.",
"What is the explanation of the non-existence of magnetic monopoles?",
"I'm wondering whether I should use the present tense for a descriptive statement but in a past context. For example: (1) I went to the zoo and saw a giraffe last week. (2) A giraffe is a mammal with long neck. (3) It is the first time I see that animal with my own eyes. Statement (2) is a description of a giraffe in general, not the specific one in the zoo, so is it correct to use is? Statement (3) is an event that is still true now, so should I use is and see? I'm not native speaker so forgive me if the question is very obvious to others.",
"I'm trying to install Linux alongside my 64-bit Windows 8 and went into my partition manager to find this structure. In order to create partitions for my Linux install I need to free up some space. I see that the last partition is an empty recovery partition, as you can see highlighted, it's 100% free. I was wondering is it okay to just remove this partition seeing as it doesn't appear I'll be losing anything? Not sure if this helps but this is on a Fujitsu AH532 running Windows 8 64-bit with UEFI.",
"Ellipse formula from points Question: Best way to derive an ellipse formula when given bunch of points (say 60 points which when connected draws an ellipse)? Background: Using R Momocs library function which returns confidence ellipse coordinates. Would be nice to abstract those points into a formula. You can see my ellipse points in the image below; Any suggestions much appreciated, Thanks",
"How can I disable the \"Welcome, Name!\" banner notification for Game Center?",
"\"put X down to\" vs. \"put down X to\": subjects of verbs with two particles I expect I would have to put down many coats to do the job. () One factor to distinguish phrasal verbs from prepositional verbs is particle movement. Phrasal verbs can place the particle before or after direct object, whereas the preposition in prepositional verbs must precede the noun. (Biber et al. 1999) So, I'm confused when analyzing the fragment \"put down many coats to\" because I'm not able to distinguish whether \"put ... \" is a phrasal verb or a prepositional verb. The confusion arises when I read in the Oxford Dictionary of English, under 'put' → 'phrasal verb', the form \"put something down to\" is correct. So, the above sentence would be rewritten as follows : I expect I would have to put many coats down to do the job. Am I right? If not, how do I correctly distinguish phrasal verbs from prepositional verbs in the cases, like this one, where there are two particles (in this case 'down' and 'to')?",
"How to dynamically change a web page's title?",
"How to make the taskbar blink my application like Messenger does when a new message arrive? Is there an API call in .NET or a native DLL that I can use to create similar behaviour as Windows Live Messenger when a response comes from someone I chat with?",
"Change paper size in mid-document My document should be letterpaper and my attachments should be a4paper. I had high hopes for the \\newgeometry command from the geometry package, but the documentation says \\newgeometry is almost similar to \\geometry except that \\newgeometry disables all the options specified in the preamble and skips the papersize-related options: landscape, portrait and paper size options (such as papersize, paper=a4paper and so forth). Any help is appreciated!",
"Proofs using theorems instead of axioms I'm not sure how to prove these basic theorems in propositional calculus. Instead of using the standard axioms, we're supposed to use: Deduction Theorem (if $\\Phi, \\alpha \\vdash \\beta$ then $\\Phi \\vdash \\alpha \\to \\beta$), Reductio (if $\\Phi, \\alpha \\vdash \\, $, then $\\Phi \\vdash \\lnot \\alpha$), Cut Rule (if $\\Phi \\vdash \\alpha$ and $\\Psi, \\alpha \\vdash \\beta$ then $\\Phi \\cup \\Psi \\vdash \\beta$), Inconsistency Effect (if $\\Phi \\vdash \\, $, then $\\Phi \\vdash \\beta$ for every formula $\\beta$), and the Principle of Indirect Proof (if $\\Phi, \\lnot \\alpha \\vdash \\, $, then $\\Phi \\vdash \\alpha$), as all the axioms can be deduced using these theorems. I don't really know how to start the proofs without using the axioms: i) prove that $\\lnot(\\alpha \\to \\beta) ⊢ \\alpha$ ii) prove that $\\lnot\\alpha \\vdash \\alpha \\to \\beta$ Any suggestions on how to start these proofs or any insight at all would be greatly appreciated! Thanks!",
"I have some shares that are mounted during login. I used Users & Groups' \"Login Items\" panel to do this. When I login, all of the shares pop up in their own Finder windows. How can I keep the Finder windows from popping up at login? I've already tried checking the Hide checkbox.",
"In BibTeX, I need to cite another entry as a note/comment of a first one, something like: @article{Paper1, author = {Author A.}, journal = {The Journal of XX}, number = {1}, pages = {4252}, year = {2000}, note = {see updated results in \\cite{Paper2} } } @article{Paper2, author = {Author B.}, journal = {The Journal of YY}, number = {2}, pages = {1}, year = {2001} } Could you give a suggestion in doing this? I think my need is not really fitting to what proposed here:"
] | medi_sts_stackexchange_dupe |
SQL Server Patching question | Apply the latest Service Pack and Cumulative Update | [
"Locking a vertex group from modification In a mesh there is a group of vertices which should not move after being positioned once. I would like to find a way to lock them in place for the whole duration of the project. Currently I 'lock' them by hiding them and then sculpting. I imagine it is possible also to create shape keys for the vertices. Or I could write a script which would save position of the vertices. Is there a better way to do it?",
"What is a contrast matrix? What exactly is contrast matrix (a term, pertaining to an analysis with categorical predictors) and how exactly is contrast matrix specified? I.e. what are columns, what are rows, what are the constraints on that matrix and what does number in column j and row i mean? I tried to look into the docs and web but it seems that everyone uses it yet there's no defition anywhere. I could backward-engineer the available pre-defined contrasts, but I think the definition should be available without that. > contr.treatment(4) 2 3 4 1 0 0 0 2 1 0 0 3 0 1 0 4 0 0 1 > contr.sum(4) [,1] [,2] [,3] 1 1 0 0 2 0 1 0 3 0 0 1 4 -1 -1 -1 > contr.helmert(4) [,1] [,2] [,3] 1 -1 -1 -1 2 1 -1 -1 3 0 2 -1 4 0 0 3 > contr.SAS(4) 1 2 3 1 1 0 0 2 0 1 0 3 0 0 1 4 0 0 0",
"As seen in this video: (Skip to 5:53) When a player is slain, they drop an Enchanting Table on top of their inventory. How was this achieved and how can I build a system (using command blocks) that does that? Come to think of it, what happens to a player's location when he/she dies? Does it reset to the spawnpoint? Stay the same (where they died) until they respawn? Or becomes a null value until they respawn?",
"Mapping building to only one grid which contains more than half of its area using QGIS?",
"When I am using Tor, and not using the Tor bundle there is a possibility of DNS leaks in certain situations. What can be done to minimize it? Is it possible to resolve DNS via Tor?",
"What was the galaxy formation Rust saw before confronting Erol Childress in S01E08? It was weird like out of the series. I guess it was some sort of hallucination, a product of Rust's madness or addiction.",
"I was given this problem 30 years ago by a coworker, posted it 15 years ago to rec.puzzles, and got a solution from Barry Wolk, but have never seen it again. Consider the series: $$1, \\frac{1}{2},\\frac{\\displaystyle\\frac{1}{2}}{\\displaystyle\\frac{3}{4}},\\frac{\\displaystyle\\frac{\\displaystyle\\frac{1}{2}}{\\displaystyle\\frac{3}{4}}}{\\displaystyle\\frac{\\displaystyle\\frac{5}{6}}{\\displaystyle\\frac{7}{8}}},\\cdots$$ Each fraction keeps its large bars while being put atop a similar structure. This can also be represented as $$\\frac{1\\cdot 4 \\cdot 6 \\cdot 7 \\cdot\\cdots}{2 \\cdot 3 \\cdot 5 \\cdot 8 \\cdot\\cdots}$$ terminating at $2^n$ for some $n$, where it is much closer to the limit than elsewhere. The challenge: Find the limit, not too hard by experiment In the last expression, find a simple, nonrecursive, expression to say whether $n$ is in the numerator or denominator Prove the limit is correct-this is the hard one.",
"I don't want my users to change the system wallpaper. How do I the lock the wallpaper down? Update Users are changing wallpaper by right clicking the picture and choosing set as wallpaper. How to restrict this behaviour? Is it possible to remove Backgrounds Tab from Appearance Preferences? If yes how?",
"Why Cooper or Dr. Brand can't send message?",
"Can you help me decide, what type of transport can I use to travel from one US town to another (it will be a big journey), without flying? Are buses available, and is there any more suitable method of traveling?",
"wpa_supplicant store password as hash (WPA-EAP with phase2=\"auth=PAP\") Is there a way to store my password in /etc/wpa_supplicant/wpa_supplicant.conf as some hash instead of plaintext? By \"password\" I refer here to the password used for phase2 authentification. I do not refer to the Preshared Key (PSK) which could be hashed using wpa_passphrase. For phase2 MSCHAPv2 or MSCHAP authentification I could store the password as MD4 hash using nt_password_hash (see example wpa_supplicant.conf line 659). Is there any way to store my PAP password as hash? Or: Is there a way to store the password in some sort of external storage? The example wpa_supplicant.conf suggests the use of such an external storage (using ext:????) but I could not find any documentation about it. I am aware that storing the password as hash does not increase wifi security. But as the password MUST be the same as the password for other services (account management, subscriptions, payments ...) I don't want it to be stored as plaintext.",
"I am studying statistics and I am wondering when it comes to standard error or a sampling if the calculation changes when there are weights added. I have a weighted mean: $$\\mu_{w} = \\dfrac{\\sum_{i=1}^Nw_ix_i}{\\sum_{i=1}^Nw_i}$$ and a weighted variance calculated by: $$s^2_{w}=\\dfrac{\\sum_{i=1}^Nw_i}{(\\sum_{i=1}^Nw_i)^2-\\sum_{i=1}^Nw_i^2}\\cdot \\sum_{i=1}^N(x_i-\\mu)^2$$ is the sampling error still calculated as $$\\text{SE}=\\sqrt{\\dfrac{s^2_{w}}{n}}$$",
"AES plaintext is smaller than 128 bits - how to expand? We are currently developing a little AES implementation in a crypto-course at university. As far as I know, AES uses a 128 bit block length, so all data that will be encrypted gets split up into blocks of 128 bits (16 bytes) into a 2d-array (or 1d in implementation) with 4 × 4 fields. I was wondering and didn't find out what to do if the entered string to encrypt is not 128 bits long? The question is going further by thinking that there will never be exactly n × 128 bits of data to encrypt. For a smaller key given by the user (e.g. \"test\") I know there is a key expansion algorithm defined. But what should be done for data that is less than 128 bits?",
"Hi I'm traveling to Uzbekistan and have 12 hours layover in Seoul via Korean Airlines. Do I need a visa to go out of the airport for sightseeing? I'm a Philippine passport holder.",
"Series $\\frac{x^{3n}}{(3n)!} $ find sum using differentiation Find sum of the series $$\\sum_{n=1}^{\\infty}\\frac{x^{3n}}{\\left(3n\\right)!}$$ using differentiation. So far I found that $$S(x)+1=S'''(x)$$ but it does not help. Then I tried different interesting ideas like $$S(x)+S'(x)+S''(x)=e^x-1\\,.$$Maybe if I get the third equation it will allow me to construct a kind of differential equation. Then, by solving it, obtain $S(x)$.",
"I don't really understand regular expressions. Can you explain them to me in an easy-to-follow manner? If there are any online tools or books, could you also link to them?",
"As the title say, I want to prove that $C_c^{\\infty}(\\mathbb R^n)$ is dense in $W^{k,p}(\\mathbb R^n)$ i.e. $\\displaystyle{ W^{k,p} (\\mathbb R^n) = W_0^{k,p}(\\mathbb R^n) \\quad (\\star)}$. In a book I found that in order to prove it, we need the following claim: Claim: Let $\\displaystyle{\\zeta \\in C^{\\infty} ([0, \\infty)) }$ such that $\\zeta (t) =1 $ for $ t \\leq 1 $ and $\\displaystyle{ \\zeta (t) =0 }$ for $ t \\geq 2$. For $R>0$ and $x \\in \\mathbb R^n$ define $\\displaystyle{ \\eta_R (x) = \\zeta \\left( \\frac{|x|}{R} \\right)}$. If $ \\displaystyle{ u \\in W^{k,p} ( \\mathbb R^n) }$ with $1 \\leq p < \\infty $ then, $\\displaystyle{ \\eta_R u \\to u }$ in $W^{k,p}(\\mathbb R^n) $ as $ R \\to \\infty$. If I prove the claim then the $(\\star)$ follows using mollifiers. But unfortuently I have stuck, with the proof of the claim. Any ideas?",
"How can I achieve more clarity in my photos of the moon? I took this photo of the blood moon this morning and I am finding many of my photos, especially landscape photos, have a significant lack of clarity. I'm not looking for a photo critique because I know this particular photo is crap. I'm looking to identify my source of failure to nail a significantly clear photo. Setup Canon EOS 70D with a 100-300 telephoto lens (I'm sorry I don't know the exact model. It's from Canon but not one of their professional quality lenses.) Aperture: f/5.6 Shutter: 1 sec. ISO: 1000 Focal Length: 300mm Metering mode: Spot White Balance: I manually set the WB to 5500 kelvin, it looked fine in live view. Focus Mode: Manual Drive: 2 sec timer delay Mounted on a decently stable tripod Process I turn on live view, and square up the target in the display. I then set my focal length, focus in using live view, adjust the focus as sharp as possible and take the pic. I've noticed that in this case, the picture was incredibly grainy, which doesn't translate to the final photo, but wonder if it has anything to do with it. This particular shoot I found it difficult to balance out the variables with a dark sky and a moving moon that starts blurring after 1-2 seconds of exposure, which is why I had the aperture wide open and the ISO cranked up. I can't tell where I'm failing: Equipment: The 70d takes great photos but the telephoto is not great when it's totally zoomed in. My wallet doesn't hold enough cash for a motorized mount to track objects in the sky. Circumstance: I've seen great photos of the moon with the use of a camera and a tripod, so I know this is possible. Although, I keep seeing pictures of this big gorgeous moon over the landscape, and when I use my wide-angle, the moon shows up as a dot. What the hell are people doing to get the moon so big? Beginner skill level: I know this is the biggest culprit, but being the beginner, I'm unable to know where to adjust.",
"Butterknife appears twice in the OSS attribution list of the Android app (v1.0.85). Based on the links, the second one should be JMustache.",
"In Ubuntu, I want to open a PDF document generated for Adobe Reader 10. Apparently the latest version which I can install is Adobe Reader 9.5.5. Is there a way to install version 10? I installed Wine, but I don't know how to install acroread using Wine."
] | medi_sts_stackexchange_dupe |
double not (!!) vs type coercion in JavaScript | When to use the double not (!!) operator in JavaScript | [
"Processor: PIC18F66K22 Compiler: C18 (XC8 is fine also) I've just made (and succesfully tested) code to measure the voltage on AN4 analog pin. Now I want to try something else, not quite sure if it's theoretically possible. My test-board has a PIC processor, with VDD,AVVD connected to a supply (ranging from 0(if the battery is empty/disconnected) to 4,2(full battery). Can I use ADC to measure the VDD(-in) of my board? Why not?: It's not an ANx pin, not sure how to make the ADC measure it? (Channel?) If the voltage on VDD(-in) drops, will my ADC reference voltage also drop? (So when my PIC only gets 3,3V the ADC will still say it's 100% (as the max Voltage on the chip, also the reference is 3,3V). Why/what do you ask?: Can I just measure Channel 30 (VDDCORE)? Could I set my Vref to Vdd and measure a precision voltage reference with the A/D converter. (Not sure how) Or I could add a wire from VDD-in to an ANx pin? Will Internal VREF+ (4.096V) stay 4+V when the VDD-in is around 3,4V? Is there some kind of transformator that makes it so? Internal VREF+ (4.096V) is a bit lower than the max of the battery (4,2V), does this mean I can damage the ADC? Or just that the result will be max when the battery is full. (4,2V out of 4,096V) Please mind that my knowledge of Electronics is \"low\". I've learnt way more about the software part in my education, but I'd like to know more about (Embedded) Electronics as it's a crucial part in Embedded Engineering. (It's sad how my school doesn't see this.)",
"I have two desktops (one of which I'm using as a server), my main machine has a weaker i5 cpu, my server has a stronger i7 cpu. On my main machine I am experiencing stutters because the CPU often runs at full load under regular use (strangely, I also use upwards of 10GB of RAM, no joke... The heaviest program I'm running is google chrome). I was wondering if there was any possible way to share a cpu from one machine over network to another machine as an emulated processor, which could be used by the client machine in a similar sort of fashion as virtual machines use or \"borrow\" their host's cpu. This way I could offload work onto the server's cpu when the main cpu is under full load to prevent annoyances like stutter, and possibly combine both of them for more intense tasks (like decryption, compilation, archiving or other multithreaded stuff) Does this sort of software exist, or has anyone at least tried to make it? If not, is it feasible? (This sort of program would also ideally be able to offload data onto the server's RAM for faster processing, since the now common gigabit connections get to have nearly the same speeds as a standard HDD this doesn't sound far fetched either) To reiterate, what I am primarily looking for is the ability to offload work from a system's main cpu when it is under too much load and forwarding it to another computer's cpu over network.",
"SQL Coalesce in WHERE clause I'm trying to implement optional parameters in a stored procedure that I have but I am running into a problem. Here's a simplified query to illustrate the issue: SET ANSI_NULLS OFF DECLARE @MiddleName VARCHAR(20); SET @MiddleName = NULL; SELECT * FROM [Customer] WHERE [LastName] = 'Torres' AND [MiddleName] = COALESCE(@MiddleName, [MiddleName]) When I run this query I need to get one row back because one Torres has NULL in the [MiddleName] column. But the query returns zero rows. Using IFNULL() produces the same result. From researching COALESCE, I was under the impression that NULL would be returned if all expressions are NULL. As I am not a SQL expert I assume that I am missing something, but what is it..... Thanks in advance for any help.",
"How should we handle downvote retaliation? I have a situation where I'm trying to figure out what the right thing to do is on SO. I see a question. I answer the question. I see there are a couple other answers. One answers the question well, though with less explanation than my answer. The other answer seems both wrong and irrelevant to the question (doesn't answer the question at all). I comment to that effect. The \"wrong\" part is edited out, but the author of the answer doesn't respond to how their answer actually answers the question. In fact, they seem offended that I don't \"get\" it. After giving them several chances to explain how their answer is relevant to the question and seeing their attitude, I decide to downvote their answer as I don't see how it addresses the question at all and the author won't explain. They retaliate and downvote my answer and admit in their comments that their downvote of my answer has nothing to do with the content of my answer and only because they don't like me disputing their answer. Did I do the right thing by downvoting their answer? Do I just have to live with their downvote retaliation? Anything I should have done differently? I also have no way of knowing this for sure, but the next question I answered was upvoted, then downvoted so perhaps this same person is stalking my answers and downvoting other answers of mine too with no comment. As long as this doesn't continue, I'm not losing sleep over a couple downvotes, but I do wonder if I should have done anything differently. Followup Later After I Posted This Question: After thinking about it for a little while, the person who disagreed with me decided to delete their post. So, eventually the message did get through to them. I don't know if they rescinded their downvote or not (or if they even could).",
"continuity, discontinuity derivative and relation to being derivative but its partials are not continuous is $$f(x) =\\begin{cases} x^2\\sin(\\frac{1}{x}) \\mbox{ for } x\\neq 0 \\\\ 0 \\mbox{ for } x= 0\\end{cases}$$ a continuous function specially at point x=0? And why being derivable its derivative is not continuous at x=0 since $$f`(x) =\\begin{cases} 2x\\sin\\frac{1}{x}-\\cos\\frac{1}{x} \\mbox{ for } x\\neq 0 \\\\ 0 \\mbox{ for } x= 0\\end{cases}$$? I suspect this as to do with being derivable a function f $\\mathbb{R}^n\\rightarrow\\mathbb{R}^m$ that don't imply its partial derivatives are continuous .this I don't get it so far.however partials derivatives if continuous is derivable. Can you provide me a more general case than just one variable where f is derivable but its partials are not continuous?",
"So I currently have this issue where my Epson WF-3620DWF can't find the blue and yellow cartridges. (They are official epson ones) and I have a full black cartridge in there. How do I force my printer to ONLY print in black and ignore the cartridge(s) not recognised error?",
"How can I access and process nested objects, arrays or JSON?",
"VMware won't work after Ubuntu Upgrade I upgraded to Ubuntu 15.10 and now if I want to open VMware Player it doesn't do anything. I also uninstalled and installed it again, still nothing. What can I do?",
"Prove any orthogonal 2-by-2 can be written in one of these forms.... I'd like to prove that any orthogonal $2 \\times 2$ matrix can be written $$\\bigg(\\begin{matrix} \\cos x & -\\sin x \\\\ \\sin x & \\cos x \\end{matrix}\\bigg) \\hspace{1.0em} \\text{or} \\hspace{1.0em} \\bigg(\\begin{matrix} \\cos x & \\sin x \\\\ \\sin x & -\\cos x \\end{matrix}\\bigg)$$ for $0 \\le x < 2\\pi$. I have no idea how to do this. I feel like this is something I've missed and is really straightforward but I can't find it in my book...",
"Is a +1/+1 counter I get from, say Unleash or Undying different than +1/+1 from something like or ?",
"If $A = \\tan6^{\\circ} \\tan42^{\\circ},~~B = \\cot 66^{\\circ} \\cot78^{\\circ}$ find the relation between $A$ and $B$ My trigonometric problem is: If $A = \\tan6^{\\circ} \\tan42^{\\circ}$ B = cot$66^{\\circ} \\cot78^{\\circ}$ find the relation between $A$ and $B$. Working : $$B = \\cot 66^{\\circ} \\cot78^{\\circ} = 1- \\frac{\\tan24^{\\circ}+\\tan18^{\\circ}}{\\tan42^{\\circ}}$$ $$A= \\tan6^{\\circ} \\tan42^{\\circ} = 1- \\frac{\\tan6^{\\circ} +\\tan42^{\\circ}}{\\tan48^{\\circ}}$$ but it seems this is the wrong way of doing this...please suggest. Thanks!",
"How to print results in SQLcmd window",
"I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it. My one complaint however is that its TAB completion isn't as good as Windows Command Line TAB completion. For example, if there are two files with the same prefix, then bash just beeps at me when I try to TAB complete. If I keep nailing TAB, then it will eventually show me a list of potential files. I definately prefer how Windows will cycle through potential files right on the command line. Is there a way to get bash to operate similar to Windows Command Line in this regard? If there isn't (I do not want to switch shells), am I missing something about TAB completion in bash? Is there a more efficient way to use it?",
"I found the question Regarding the number of answers votes and also according to my personal taste I like to capitalize titles. But what exactly are titles? Only the single main book title? What about other smaller semantic parts? Chapter headings, sub-chapter, ...",
"Difference between Ubuntu and Linux Mint Can someone please tell me the differences between Ubuntu and Linux Mint ? I thought they were almost the same thing until I downloaded Ubuntu 13.10 versions of softwares for my Linux mint 16 system, and half of them didn't work. (I did that as those are the links I got when I searched for Linux mint versions)",
"These androids show up day in suburban USA and start offering all their services for free - they are much better than the robot helpers that cost money - the protagonist is a salesman of the latter. Soon, the 'helpers' are everywhere, and human beings effectively cannot do anything without these things keeping people 'safe'. Humans become infantilized and controlled. Eventually it's discovered that one man created them, and he's been kept prisoner by them to prevent for his own safety. This seems remarkably similar to the conclusion of the I, Robot movie.",
"Principal component analysis \"backwards\": how much variance of the data is explained by a given linear combination of the variables? I have carried out a principal components analysis of six variables $A$, $B$, $C$, $D$, $E$ and $F$. If I understand correctly, unrotated PC1 tells me what linear combination of these variables describes/explains the most variance in the data and PC2 tells me what linear combination of these variables describes the next most variance in the data and so on. I'm just curious -- is there any way of doing this \"backwards\"? Let's say I choose some linear combination of these variables -- e.g. $A+2B+5C$, could I work out how much variance in the data this describes?",
"HTML and CSS is not working?",
"Grid System in LaTeX",
"Uniform distribution on the surface of unit sphere"
] | medi_sts_stackexchange_dupe |
Physics experiment with sound | Frequency of the sound when blowing in a bottle | [
"Proof of $f^{-1}(B_{1}\\setminus B_{2}) = f^{-1}(B_{1})\\setminus f^{-1}(B_{2})$ I want to prove the following equation: $$ f^{-1}(B_{1}\\setminus B_{2}) = f^{-1}(B_{1})\\setminus f^{-1}(B_{2}) $$ Is this a valid proof? I am not sure, because at one point I am looking at $f(x) \\in B_1$, but then $x \\in f^{-1}(B_1)$ could be actually some different points. $$\\begin{align*} x \\in f^{-1}(B_{1}\\setminus B_{2}) &\\iff f(x) \\in B_{1}\\setminus B_{2} \\\\ &\\iff f(x) \\in B_{1} \\land f(x) \\notin B_{2} \\\\ &\\iff x \\in f^{-1}(B_{1}) \\land x \\notin f^{-1}(B_{2}) \\\\ &\\iff x \\in f^{-1}(B_{1})\\setminus f^{-1}(B_{2}) \\end{align*}$$",
"Hide c# windows application source code I wrote a windows application using C# .Net 2.0 and i want to do something which hide the source code, so when any one use refactor tool can't see the source code. I used dotfuscator but it just changed the function names but not all the source code. UPDATE: I want to hide the source code, not because of hiding the key, but to hide how the code is working. Thanks,",
"Error Code: 1215. Cannot add foreign key constraint (foreign keys)",
"What determines the number of comments that are displayed? I'm curious how it is decided how many comments to display before the \"Show more comments\" link. Sometimes I see a dozen comments on a question and no \"Show more comments\" link, in other occasions no comments are visible at all, only the link.",
"Subjunctive mood: 'was' usage after 'I wish' and 'if only' had declared the sentence below as follow: 1) STAR TURN, 2) BEST LINES. I wish Bernard Cribbins was my grandad. Perhaps he would be willing to adopt? Rattigan: “If only that was possible.” The Doctor: “If only that were possible. Conditional clause.” Is 'was' after 'I wish', 'if only' and 'if' (in conditional clauses) colloquial? Does it be used in formal speech and writing?",
"Counterexample for $A,B\\triangleleft G,G/A\\cong B \\Rightarrow G/B\\cong A$",
"I am totally stumped for what to do here, any help would be appreciated. 1) What happens if you apply the method of steepest descent to $f(x)=x_1^2+x_2^2+x_3^2$? 2)Lagrange multipliers method- Find the dimensions of the rectangular box open at the top of greatest internal volume, given the surface area of the five faces is $108 \\, \\mathbb{cm}^2$. Thanks",
"Prove that $X^\\ast$ separable implies $X$ separable",
"WordPress twenty eleven sidebar on Pages I am using 2011 theme, any how I managed to get sidebar on single.php pages by installing child theme, But now I want sidebar on pages, How do I get it?",
"Will getting a Software Testing Certification benefit me in my career?",
"I have being using Skype for a long time on my Ubuntu 14.04 LTS. From this morning on, Skype simple cannot connect to my account anymore. That is my Skype version: Skype 4.3.0.37 © 2014 Skype and/or Microsoft My Ubuntu system: LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty Any suggestion why or how to fix it? Thanks in advance.",
"halt, poweroff, shutdown, reboot don't require root? For some reason, I can run halt, poweroff, shutdown, and reboot as a regular user without root. How can I fix this? Is it something to do with user groups, or is it a seting somewhere?",
"I have used so many things like url removal request and deleted the pages etc., but still the errors are shown in my webmaster tools. How can I remove the urls completely from Google?",
"How did the AT-ATs get to the surface of Hoth?",
"Why do my LED lights stay on, even when the switch is off?",
"Multiple standard input? How?",
"What's a (big) word or phrase to describe a book that is so good that I cannot put down when I start to read it?",
"Can I legally downgrade from Win 7 64 bits to Win 7 32 bits? Possible Duplicate: Tired of the unstable Win 7 64bit I got when I purchased my laptop (it was impossible to find a powerful laptop with Win 7 32 bits). Can I legally downgrade from Win 7 64 bits to Win 7 32 bits? The key/activation will work? Details: Everybody comments about the stability of Win 64. Well, I made a mistake. Is not that Win 64 is unstable (it never crashed). It just works very poor. It feels choppy. Compiling a large program (on an old AMD desktop PC) takes 1.5 seconds on Win 32. The same program compiles on Win 64 in 4-5 seconds in this new and \"powerful\" laptop. All programs are less responsive.",
"I am trying to import an Excel table with around 10,000 XY points into ArcMap 10.2. I am using State Plane NAD 1983 Alabama West (US Feet) as the Coordinate System in my map data frame. I then add the excel table to my Table of Contents in the map then select Display XY Data. Next, I choose the same coordinate system as my data frame then select OK. Once it creates the Events layer for my points they are not in the correct location. Should I switch everything in my map to WGS84 or is there a solution for my points to be added onto my current map with the state plane coordinate system?",
"What does an icon on the tag mean, for example the \"rg\" before the sql-server tag as pictured below?"
] | medi_sts_stackexchange_dupe |
NullPointerException (Java) | What is a NullPointerException, and how do I fix it? | [
"tar unpack : Unexpected EOF in archive I have downloaded eclipse-platform-3.7-linux-gtk-x86_64.tar.gz. Using Ubuntu 10.10 64-bit on Intel 64-bit processor. While trying to unpack the contents (either double-click or right-click & open-with-archive-manager) I get this error: gzip: stdin: unexpected end of file<br/> tar: Unexpected EOF in archive<br/> tar: Error is not recoverable: exiting now Is there any remedy to repair it? or is the downloaded file corrupt & needs to be re-downloaded?",
"How does the ternary operator work?",
"is the group of rational numbers the fundamental group of some space?",
"pgrouting unexpected output",
"A closed ball in a metric space is a closed set",
"Integral of $\\sqrt{1-x^2}$ using integration by parts",
"How to reset postgres' primary key sequence when it falls out of sync?",
"After installing Telegram Desktop on Ubuntu 16.04 by these commands: sudo add-apt-repository ppa:atareao/telegram sudo apt-get update sudo apt-get install telegram I get this error: $ telegram telegram: Panic - Unable to find your tty (pts/2) in /var/run/utmp",
"Why does a wireless network give a more accurate location than a wired network? I build a simple HTML5 website that takes my location (in latitude-longitude), and simply shows my location in Google maps. I opened the HTML document with my laptop Asus K53E-B1 and I found that when I connected to a wireless network, it showed almost my precise location (about 100 meter of inaccuracy), while when I plug in the network cable, and test again, it's a bit Inaccurate. (showed a street 12KM away from me). Can you explain me why is a wireless network gives more accurate location? Tested with Google Chrome.",
"Let $E$ be a finite dimensional vector space over field $\\mathbb R$ with $E^*$ as the dual space of $E$.($\\dim E=n$) $\\Omega^P(E):=\\{ \\alpha\\colon \\overbrace{E\\times\\cdots\\times E}^{p- times}\\rightarrow \\mathbb R\\ \\ , \\alpha \\text{ is alternating multilinear map}\\}$ $\\Omega^P(E^*):=\\{ u\\colon \\overbrace{E^*\\times\\cdots\\times E^*}^{p- times}\\rightarrow \\mathbb R\\ \\ , u \\text{ is alternating multilinear map}\\}$ I wish to prove that there exist an $\\textbf{unique}$ bilinear form $B\\colon \\Omega^p(E^*)\\times\\Omega^p(E)\\rightarrow\\mathbb R$ such that for all $ f_i\\in E^* \\ , u_j\\in E^{**}\\simeq E \\qquad i,j=1,\\cdots,p$, it has the following rule: $B(u_1\\wedge\\cdots\\wedge u_p,f_1\\wedge\\cdots\\wedge f_p)=\\det[f_i(u_j)]$. $\\wedge$ is wedge product between alternating maps i.e. $\\alpha\\wedge\\beta(v_1,\\cdots,v_{p+p})=\\dfrac{1}{p! p!}\\displaystyle\\sum_{\\sigma\\in S_{p+p}}sign(\\sigma)\\alpha(v_{\\sigma(1)},\\cdots,v_{\\sigma(p)})\\beta(v_{\\sigma(p+1)},\\cdots,v_{\\sigma(p+p)})$ How can I do this?",
"Do AWS Reserved Instances need to be assigned to the instance? I have an RDS instance running of type db.t2.small. I bought a reserved instance for 1 year of the same type, I paid the partial upfront rate. Do I need to assign this subscription in some way to my existing instance to say 'This is the instance that is using the subscription' or does AWS just charge for the instance usage depending which instances you have running and whether an available subscription was active for it at the time which determines the running rate? The reason that I ask is that I can't see any mention of the reduced rate on my AWS Billing area and it shows that I've used 17 hours of my reservation, but there isn't a row on my bill so far this month that indicates the new partial upfront rate that I should be charged for my instance.",
"Can \"whatever\" be split into two words? I tend to write, \"say whatever they want\", but I'm always tempted to write \"say what ever they want\". Is it acceptable to split the word in this context?",
"What is $48\\div2(9+3)$?",
"What's the limit on the no. of partitions I can have? I would like to know how many Primary and Extended Partitions I can create on a x86_64 PC with Linux running on it? Update : If there is a limit to the number of partitions, why is that the limit?",
"How to search by key=>value in a multidimensional array in PHP",
"Windows file system is case insensitive. How, given a file/folder name (e.g. \"somefile\"), I get the actual name of that file/folder (e.g. it should return \"SomeFile\" if Explorer displays it so)? Some ways I know, all of which seem quite backwards: Given the full path, search for each folder on the path (via FindFirstFile). This gives proper cased results of each folder. At the last step, search for the file itself. Get filename from handle (as in ). This requires opening a file, creating file mapping, getting it's name, parsing device names etc. Pretty convoluted. And it does not work for folders or zero-size files. Am I missing some obvious WinAPI call? The simplest ones, like GetActualPathName() or GetFullPathName() return the name using casing that was passed in (e.g. returns \"program files\" if that was passed in, even if it should be \"Program Files\"). I'm looking for a native solution (not .NET one).",
"I recently got a Windows 10 laptop. Opposite to my Macbook, I must swipe right-to-left to go to the right virtual desktop. Is there a way to reverse this, so I swipe left-to-right to go to the right virtual desktop?",
"it can not access popup.js file after creating a chrome extension",
"I want to get random decimal digits out of a 6-faced die. Let's say the die is fair, with an equal probability for each outcome. (But feel free to share any consequences of that not being true, if you feel like it.) I will represent the outcome of a die roll as a base-6 number: In base-6 there are only 6 possible digits: $\\{0,1,2,3,4,5\\}$. The die has faces numbered 1 to 6. Face $f$ corresponds to digit $f-1$. Thus, I can represent as many die rolls as I like with a base-6 number: If the die is rolled once: Let's say the die stopped on face $5$. The final base-6 number will be $4$. If the die is rolled twice: Let's say the die stopped on face $5$. And then on face $3$. The final base-6 number will be $42$. If I roll the dice 10 times: Let's say the die stopped sequentially on faces $5$, $3$, $4$, $6$, $2$, $3$, $3$, $3$, $2$, and $4$. The final base-6 number will be $4235122213$. Since I want decimal digits, I need to convert to base-10. Base-6: $4235122213$ Base-10: $44753985$ For any given number of die rolls, how many different combinations exist? If there are $r$ die rolls, the total of possible combinations is $6^r$. $r$ rolls — $6^r$ different combinations. $0$ rolls — only $1$ combination. $1$ roll — $6$ different combinations. $2$ rolls — $36$ different combinations. $3$ rolls — $216$ different combinations. $4$ rolls — $1296$ different combinations. $5$ rolls — $7776$ different combinations. $6$ rolls — $46656$ different combinations. $7$ rolls — $279936$ different combinations. $8$ rolls — $1679616$ different combinations. $9$ rolls — $10077696$ different combinations. $n_r$ ($\\in \\mathbb{N_0}$) is the number obtained after $r$ die rolls through the process described previously: \"If the die is rolled once, twice, ...\" It is impossible for $n_r$ to reach the number of possible different combinations ($6^r$). It will be always short by least $1$: $$ 0 \\leqslant n_r < 6^r $$ $r$ rolls — $n_r$ never surpasses $6^r-1$. $0$ rolls — $n_r$ never surpasses $0$. $1$ roll — $n_r$ never surpasses $5$. $2$ rolls — $n_r$ never surpasses $35$. $3$ rolls — $n_r$ never surpasses $215$. $4$ rolls — $n_r$ never surpasses $1295$. $5$ rolls — $n_r$ never surpasses $7775$. $6$ rolls — $n_r$ never surpasses $46655$. $7$ rolls — $n_r$ never surpasses $279935$. $8$ rolls — $n_r$ never surpasses $1679615$. $9$ rolls — $n_r$ never surpasses $10077695$. I can never trust the leftmost nor the rightmost digit (fringe digits), since the possible values are potentially restricted. For $0$ rolls, the outcome is always $0$. For $1$ roll, the fringe digit never surpasses $5$. For $2$ rolls, the leftmost digit never surpasses $3$, and the rightmost, $5$. For $3$ rolls, the leftmost digit never surpasses $2$, and the rightmost, $5$. For $4$ rolls, the leftmost digit never surpasses $1$, and the rightmost, $5$. For $5$ rolls, the leftmost digit never surpasses $7$, and the rightmost, $5$. For $6$ rolls, the leftmost digit never surpasses $4$, and the rightmost, $5$. For $7$ rolls, the leftmost digit never surpasses $2$, and the rightmost, $5$. For $8$ rolls, the leftmost digit never surpasses $1$, and the rightmost, $5$. For $9$ rolls, the leftmost digit never surpasses $1$, and the rightmost, $5$. The other digits seem perfectly random to me though. Am I wrong?",
"sort but keep header line at the top I am getting output from a program that first produces one line that is a bunch of column headers, and then a bunch of lines of data. I want to cut various columns of this output and view it sorted according to various columns. Without the headers, the cutting and sorting is easily accomplished via the -k option to sort along with cut or awk to view a subset of the columns. However, this method of sorting mixes the column headers in with the rest of the lines of output. Is there an easy way to keep the headers at the top?"
] | medi_sts_stackexchange_dupe |
Can a ring without unity have a non-trivial subring with unity? | Can a ring without a unit element have a subring with a unit element? | [
"App question timer shouldn't kick in until submission I attempted to ask a question using the iOS app, but it was rejected due to lack of a required tag. On adding the tag I found that I wasn't permitted to submit the question for another 60 seconds, even though this wasn't a new question. Is this timer intentional, or should it not kick in for edits of questions not actually accepted by the site?",
"Integer solutions to combinations of floating point numbers Imagine two kids each sitting in the center of their own tilt-a whirl®, each holding steady a flashlight (or laser) whose beam is parallel to the deck. Each machine rotates and precesses (we'll leave out nutation) at different, real, rates. How do we determine the least number of rotations to alignment, for each kid. If you prefer another analogy: Saturn and Jupiter orbit with different (real) periods. How many orbits for each until conjunction in precisely the same position in space? Simplify by assuming circular, observer-centric, orbits. specifically solutions to: aC1 + bC2 = N where a, b, N are positive integers of your own choosing and C1, C2 are constant, unique, positive, non-integer(real) numbers where C1 < C2. I am hoping to avoid rigorous computational methods involving modulus tests. Hope I clarified the ambiguities. Thanks, @DonThousand the Bezout identity looks interesting.",
"OpenLayers low resolution and/or shifts in QGIS print composer? I'm having trouble with the OpenLayers Plugin of Qgis and the map composer: If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and after export the layer has shifted relatively to my other shape layers (EPSG:32633 - WGS 84 / UTM zone 33N). The second thing is that the output resolution of the exported osm-layer is very, very poor. A really bad way of getting around this whole trouble would be to increase the screen resolution and make a screenshot of the map composition window of qgis. But I don't think this would be very professional. It also would cause a lot of pain :) I'm using Qgis 1.8.0-Lisboa under Linux. The openlayers plugin is version 0.92.",
"Apple Macbook Dual Monitor MST",
"Does Blender support any form of collaborative editing?",
"I want to copy all images on my computer to a single folder I want to copy all images of any file extension like .jpg, .png, .gif, etc. from all folders and subfolders in my PC hard drive (which has two partitions) to a single folder. The total number of images I have is 250,000.",
"Follow-up to question: Aut(G) for G = Klein 4-group is isomorphic to $S_3$ This is most likely a lack of understanding of wording on my part. I was considerind the Klein 4-group as the set of four permutations: the identity permutation, and three other permutations of four elements, where each of those is made up of two transposes, (i.e., 1 $\\rightarrow$ 2, 2 $\\rightarrow$ 1 and 3 $\\rightarrow$ 4, 4 $\\rightarrow$ 3) taken over the three possible such combinations of four elements. Here, then, is my question. I am assuming (?) that Aut(G) in this case is the set of permutations of the four elements of the Klein 4-group - or the three non-identity ones for the purpose of showing isomorphic to $S_3$. If this is the case, what does it mean to have a permutation of these three permutations that I mentioned above? As always, thanks for your help.",
"I have a material assigned to a few test objects with an image sequence as a texture. If I view the scene in render preview, and scrub the timeline, (or render a sequence,) the texture behaves as expected. However, with the viewport set to 'texture' or 'material' I only see the first frame of the sequence, wherever I am on the timeline. 'Auto Refresh' is set in the cycles texture node. Is this the expected behaviour?",
"Atiyah Macdonald, Exercise 8.3. Let $k$ be a field and $A$ a finitely generated $k$-algebra. Prove that the following are equivalent: (1) $A$ is Artinian. (2) $A$ is a finite $k$-algebra. I have a question in the proof of (1$\\Rightarrow$2): By using the structure theorem, we may assume that $(A,m)$ is an Artin local ring. Then $A/m$ is a finite algebraic extension of $k$ by . Since $A$ is Artinian, $m$ is the nilradical of $A$ and thus $m^n=0$ for some $n$. Thus we have a chain $A \\supseteq m \\supseteq m^2 \\supseteq \\cdots \\supseteq m^n=0$. Since $A$ is Noetherian, $m$ is finitely generated and hence each $m^i/m^{i+1}$ is a finite dimensional $A/m$-vector space, hence a finite dimensional $k$-vector space. But now how can I deduce that $A$ is a finite dimensional $k$-vector space?",
"For as long as I can remember I have avoided using switch statement fall-through. Actually, I can't remember it ever entering my consciousness as a possible way to do things as it was drilled into my head early on that it was nothing more than a bug in the switch statement. However, today I ran across some code that uses it by design, which got me immediately wondering what everyone in the community thinks about switch statement fall-through. Is it something that a programming language should explicitly not allow (like C# does, though it supplies a workaround) or is it a feature of any language that is powerful enough to leave in the programmer's hands? Edit: I wasn't specific enough to what I meant by fall-through. I use this type a lot: switch(m_loadAnimSubCt){ case 0: case 1: // Do something break; case 2: case 3: case 4: // Do something break; } However, I'm concerned about something like this. switch(m_loadAnimSubCt){ case 0: case 1: // Do something, but fall through to the other cases // after doing it. case 2: case 3: case 4: // Do something else. break; } This way whenever the case is 0, 1 it will do everything in the switch statement. I've seen this by design and I just don't know if I agree that switch statements should be used this way. I think the first code example is very useful and safe. The second seems kind of dangerous.",
"What's the difference between 18 A & 18 Ah on a Battery What's the difference between 18 A & 18 Ah on a 12 V Battery",
"How can I get barcode-scan information into my photo metadata, onsite, untethered? I need a DSLR camera with a barcode scanner for on-site tours photography, which means it needs to be untethered! The image would have to contain the barcode scanned information in the image metadata or in the name itself. I've seen solutions like, Foolography and a $2600 Canon Studio Edition launched in 2010. But I'm not sure of either those products! So I'm asking the gurus here how I can get this working, which camera would I need and any accessory necessary? I'm trying to recreate something like I saw the on-site volume photographers do in Disney's parks.",
"Resize Move Partitions on Dual Boot System I would like to be able to adjust the partitions shown below. Specifically, I want to add an additional 10GB from the unallocated space to /dev/sda5 (Ubuntu install). I will then format the remaining unallocated space as NTFS so it can be shared data between Windows and Ubuntu. I am unable to increase the size of /dev/sda5 - I am only able to shrink it. Any assistance would be greately appreciated.",
"Using modulo operation to draw graph",
"Run a command on all subfolders If you have a series of subfolders (like from a to z) and want to run a command on each one of them (like rm *.pdf or ls *.pdf), how do you do that? The \"manual\" approach would be cd a, rm *.pdf, or ls *.pdf, cd .., cd b, ... That seems too complicated, so I believe there must be an easier approach.",
"Say I have two independent random variables $X \\sim N(u_1, \\sigma_1)$ and $Y \\sim N(u_2, \\sigma_2)$. I want to get the conditional distribution of X given whether X is bigger than Y or not. $P(X|X<Y)$ = ... and $P(X|X>Y)$ = ... I am thinking solving this in this way: \\begin{align} P(X|X<Y) &= \\frac{P(Y>X|X)P(X)}{P(Y>X)} \\\\ &= \\frac{(1-\\Phi(\\frac{x-\\mu_2}{\\sigma_2}))N(\\mu_1,\\sigma_1)}{\\Phi(\\frac{\\mu_2-\\mu_1}{\\sqrt{\\sigma_2^2+\\sigma_1^2}})}\\\\ P(X|X>Y) &= \\frac{P(Y<X|X)P(X)}{P(Y<X)} \\\\ &= \\frac{\\Phi(\\frac{x-\\mu_2}{\\sigma_2})N(\\mu_1,\\sigma_1)}{1-\\Phi(\\frac{\\mu_2-\\mu_1}{\\sqrt{\\sigma_2^2+\\sigma_1^2}})} \\end{align} My questions are: (1) Whether above solution is correct (2) How to get the mean and sd for $P(X|X<Y)$ and $P(X|X>Y)$ if they are still normal?",
"Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? Is the sorting algorithm used by .NET's Array.Sort() method a algorithm?",
"I know that the compiler will sometimes initialize memory with certain patterns such as 0xCD and 0xDD. What I want to know is when and why this happens. When Is this specific to the compiler used? Do malloc/new and free/delete work in the same way with regard to this? Is it platform specific? Will it occur on other operating systems, such as Linux or VxWorks? Why My understanding is this only occurs in Win32 debug configuration, and it is used to detect memory overruns and to help the compiler catch exceptions. Can you give any practical examples as to how this initialization is useful? I remember reading something (maybe in Code Complete 2) saying that it is good to initialize memory to a known pattern when allocating it, and certain patterns will trigger interrupts in Win32 which will result in exceptions showing in the debugger. How portable is this?",
"I am trying to do a new environment or command (i tried both) where i can put in the name, description and code of a Method in c++ and it gives me a new section with the MethodName, the code listed and the description below. But i am not able to use the listings environment in a new command or new environment.. Consider my MWE \\documentclass[a4paper,11pt]{article} \\usepackage{listings} \\newcommand{\\method}[3] { \\section{#1}\\label{#1} \\begin{lstlisting} #2 \\end{lstlisting} #3 } \\begin{document} \\method{MethodName}{Method Void MethodName()}{Description of the Method blablabla} \\end{document} How can I fix this? I would prefer to do it using a macro since I don't need an ending.",
"How can I show that $ab \\sim \\gcd (a,b) {\\operatorname{lcm} (a,b)}$ for any $a,b \\in R \\setminus \\{0\\}$? Let $R$ be a UFD. Then for any two elements $a,b \\in R \\setminus \\{0\\}$ $ab \\sim \\gcd (a,b){\\operatorname{lcm} (a,b)}$. My attempt : Let $d = \\gcd (a,b)$.Then $d|a$ and $d|b$.Then $\\exists x,y \\in R$ such that $a = dx$ and $b = dy$.Now it is to be shown that $c = dxy$ is the lcm of $a,b$.Which I find difficulty to show.It is clear that $a|c$ and $b|c$. Now if $u$ is any common multiple of $a$ and $b$.Then $dx|u$ and also since $y|b$ we have $y|u$ i.e. $dxy|u^2$ $\\implies c|u^2$.But I have to show $c|u$ to complete the proof which I fail to prove.Please help me to complete the proof. Thank you in advance."
] | medi_sts_stackexchange_dupe |
Sizeof Structure in C | Why isn't sizeof for a struct equal to the sum of sizeof of each member? | [
"Why can't I press the Install button when installing applications from unknown sources? I'm trying to sideload an application, as seen in the picture below. I have allowed the installation of applications from unknown applied actions in settings, but I can't seem to press the install button. The cancel button works correctly and installing applications via adb install works correctly. What's the problem? EDIT: For those who have this problem, using ChainFire's will correct it because the app uses hardware compositing, and Android doesn't notice a \"layer\" on top of the current screen.",
"Differences between ways to express future actions",
"Should I use an offset for my Poisson GLM? I am carrying out research to look at differences in fish density and fish species richness when using two different underwater visual census methods. My data was originally count data but then typically this is changed to fish density but I have still decided to use a Poisson GLM, which I hope is right. model1 <- glm(g_den ~ method + site + depth, poisson) My 3 predictor variables are method, site and depth which I ordered as factors when I input them. My response variables are grouper species richness, grouper density and the same for other fish groups. I am aware that density is not an integer and it is numerical data e.g 1.34849. I am now however getting this error: In dpois(y, mu, log = TRUE) : non-integer x = 0.037500 I've been reading up and many people suggest using an offset, is this the most advisable thing to do?",
"Solving binomial theorem via induction",
"Suppose $K \\subset L$ is a finite field extension of degree $m$. Is it true that there exists some natural $n$ such that $L$ is isomorphic to a subfield of $M^{n\\times n}(K)$, the ring of $n\\times n$ matrices with entries in $K$? What is the smallest dimension (as a function of $m$) for which an isomorphism exists? The example I had in mind was the 2-dimensional extension $\\mathbb{R} \\subset \\mathbb{C}$ with $\\mathbb{C}$ being isomorphic to $\\{ \\begin{pmatrix}a&-b\\\\b&a\\end{pmatrix} : a, b \\in \\mathbb{R}\\}$.",
"Read it in the 90's. I remember one specific part where the inventor of the peeking mechanic has his Eureka moment, and has the presence of mind to give a thumbs-up/wave to the future, when they look back on his Eureka moment. I also remember that they had computer screens that were like plastic cloth that they would just unfold on whatever surface was handy. Sorry I don't have much more to go on. Please and thank you!",
"Allow adding bounties from the iOS & Android app (I was surprised I couldn't find this in an existing question, so here goes) I'd like to add a bounty to a question, but I'm too lazy to go get my computer or a web browser. I like the SE app, and want to use it to do everything. I can't find the button to add a bounty to a question. Please add this button, I really want to be able to add bounties to questions from the app.",
"How to I stop a launchd script from running on wake I have a simple launchd script that plays a sound every 30 minutes and it runs out of the user library ~/Library . It doesn't run if my machine is asleep, but does run the last event missed when the machine wakes. I think this is the expected behavior. My question is, how do I stop this happening. If I missed the half-hour event, I don't want it to be run at 20 minutes past the hour. Here's the core of my script. It calls a Python script. I tried to put a block in the python script to check that I am within a few minutes of each 30 minutes, but that doesn't seem to work on wake. (Is it missing the system clock somehow?) <key>ProgramArguments</key> <array> <string>/usr/local/bin/python3</string> <string>/Users/pheon/Documents/playsound.py</string> </array> <key>StartCalendarInterval</key> <array> <dict> <key>Minute</key> <integer>0</integer> <dict> <key>Minute</key> <integer>30</integer> </dict> </array> Here is a snippet from the python code which checks the time before playing the sound. time0 = datetime.datetime.now() if (time0.minute % 30) < 2: subprocess.run([\"/Users/pheon/bin/afplay-vol.sh\", \"1\", bell],check=True)",
"The cardinality of the set of all finite subsets of an infinite set",
"Migrate to *any* site?",
"I have an image with a woman, and I need to make an ad (size 260mmx125mm). I want to put the woman to the left side, but then right side becomes empty. So, how I should solve the problem? I have picked the color from image, but it is definitely different than in the actual picture. Should I use the Clone Stamp Tool in Photoshop, or there is a better way to do this? By the way, it will be used in print, so I need a good quality.",
"Spotlight overrides first character What's wrong: I hit CMD+SPACE to open up spotlight, typically type in the name of the application I want to start, hit enter and either the wrong app or no app at all will start, because the app name is missing the first character. \"Learn to type\" I hear you say but wait: as I enter the first character in the search bar, the cursor jumps to the beginning of the line and my second character input overrides the first one. So entering for example \"ever\", in order to start Evernote, will result in \"ver\". \"php\" to start PHPStorm will result in \"hp\" and start my damn HP printer app and so on. This cursor jump to the beginning of the line will not happen in any other application and even if I accept the fact that my cursor jumps from time to time, I don't get why the second character overrides the first one. I'm not even sure if you can configure your Mac to always override the character at current position, but I surely haven't. So this keeps on happening quite regularly and I cannot reproduce it. It just happens and when I try it again (close Spotlight, CMD+SHIFT again), it won't happen again, even if I give it like 5 tries or so. It won't kill me but I am a software developer myself and this kind of bugs just leave me frustrated plus I can not imagine that this is the desired behavior. I have seen some talk about this issue on the internet but I did not come across a solution.. I have 3 MacBooks, different ages, all with German keyboard layouts and German set as system language and they all do this. Just mentioning this, because after that fact, I can barely imagine this isn't affecting at least a lot, if not all, MacBook (Pro?) users. 13\" Pro 2010 or so 15\" Pro Retina 2013 13\" Pro Retina 2015 They all run El Capitan but I already encountered this before. I don't know the OS X version I had installed when I first stumbled across it.",
"How to twist radial vector to make spirals?",
"How can I take a photo with everything in focus with my DSLR?",
"How to install and use Ubuntu from a USB flash drive on Windows 8?",
"I'm using Ubuntu 12.04 & everything about it is great except that it just won't resume after suspend. I've tried the suggestions listed in this thread but none worked. I'm using Lenovo Y510P. I'm new to Ubuntu, or unix for that matter, so please let me know if there's anymore information that I should be posting. Thanks. update I tried the suggestion by Dima on this post . The machine wakes up from hibernation but immediately the screen gives a screen like this Wondering if this is an issue with the graphics card or something.",
"How to use enum values in f:selectItem(s)",
"When should I use mmap for file access? POSIX environments provide at least two ways of accessing files. There's the standard system calls open(), read(), write(), and friends, but there's also the option of using mmap() to map the file into virtual memory. When is it preferable to use one over the other? What're their individual advantages that merit including two interfaces?",
"$(this) inside of AJAX success not working",
"Unable to check a mdadm RAID1 array, says the file system's read only? I recently migrated a RAID1 from a CentOS 5 system to a CentOS 6 system and ever since when I attempt to perform a check I get the following: $ echo 'check' > /sys/block/md127/md/sync_action -bash: /sys/block/md127/md/sync_action: Read-only file system This actually shows up from a CRON too, specifically, /etc/cron.d/raid-check. this is included in the mdadm RPM: $ rpm -ql mdadm | head -5 /etc/cron.d/raid-check /etc/rc.d/init.d/mdmonitor /etc/sysconfig/raid-check /lib/udev/rules.d/63-md-raid-arrays.rules /lib/udev/rules.d/65-md-incremental.rules Here I'm running the same command that's used by the CRON: $ raid-check /usr/sbin/raid-check: line 96: /sys/block/md127/md/sync_action: Read-only file system This typically runs once a week and sends an email which is what originally alerted me to the issue. But at any rate I'm at a loss why this RAID seems to be unable to be checked. The RAID seems fine on inspection though. $ cat /proc/mdstat Personalities : [raid1] md127 : active raid1 sda1[0] sdb1[1] 976759936 blocks [2/2] [UU] unused devices: <none> I point this out only because while googling I found this thread regarding a bug in mdadm but this was for a older version of mdadm. Version info $ lsb_release -d Description: CentOS release 6.6 (Final) $ rpm -q mdadm mdadm-3.3-6.el6_6.1.x86_64 $ mdadm --version mdadm - v3.3 - 3rd September 2013"
] | medi_sts_stackexchange_dupe |
where to run python programs in ubuntu | A great Python IDE for Ubuntu | [
"$ \\int_{0}^{ \\infty} \\int_{0}^{ \\infty} \\frac { e^{-(x+y)}}{x+y} dx dy $ Question : The integral $$ \\int_{0}^{ \\infty} \\int_{0}^{ \\infty} \\frac { e^{-(x+y)}}{x+y} \\mathop{dx}\\mathop{dy} $$ is (a) infinite (b) finite but can not be evaluated in closed form (c) 1 (d) 2 . I tried substituting $u=x+y$ and $v=y$ that led me no where . I'm not even sure about convergence of integral .Any help would be greatly appreciated .",
"Is there such a thing as a restore point in Ubuntu? Windows has this. Basically what I want is to record the state of the system either manually or periodically and then restore to that point if required. For example, before upgrading the distribution, or before installing a certain package. What would be the easiest way to do this?",
"Here is a picture of two of them: I searched for these connectors in and for an hour, but couldn't find anything similar. Can you please name these connectors for me and/or give a link to their subcategory in one of these part seller websites?",
"Indefinite Integral with \"sin\" and \"cos\": $\\int\\frac{3\\sin(x) + 2\\cos(x)}{2\\sin(x) + 3\\cos(x)} \\; dx $",
"Mixed DML operation error I am facing Mixed DML error in the following case: static testmethod void method1() { User u1 = DataFactory.createUser('testUser','[email protected]','permissionSetAPIname'); Obj1 rec1 = DataFactory.createrec1('Record1'); insert rec1; Obj2 rec2 = DataFactory.createrec2('Rec2',rec1,system.today()-10, system.today()+10 ); insert rec2; Obj3 rec3 = DataFactory.createrec3(rec2,'Tester',u1,'US'); insert Role; test.starttest(); //testing code test.stoptest(); } However the following is working fine static testmethod void method1() { User u1 = new User(Alias = 'testRole', Email = '[email protected]', EmailEncodingKey = 'UTF-8', LastName = 'user', FirstName = 'test', LanguageLocaleKey = 'en_US', LocaleSidKey = 'en_US', ProfileId = [select Id from Profile where Name = 'Basic User' limit 1].Id, TimeZoneSidKey = 'America/Chicago', Username = 'stakeholder@test' + Math.round(Math.random() * 10000) + '.com', UserRoleId = null, Country = 'Great Britain'); insert u1; Obj1 rec1 = DataFactory.createrec1('Record1'); insert rec1; Obj2 rec2 = DataFactory.createrec2('Rec2',rec1,system.today()-10, system.today()+10 ); insert rec2; Obj3 rec3 = DataFactory.createrec3(rec2,'Tester',u1,'US'); insert Role; test.starttest(); //testing code test.stoptest(); } Please explain the difference. As my understanding is that transaction remains the same in both the cases.",
"I have heard rumors that you can compile documents online, and more specifically that Google has a free online compiler, but I have never been able to find any. Is there a way to compile documents online, so that I can write and compile documents even if I don't have a TeX distribution installed on my computer?",
"Story featuring smart people sent on a space mission to nowhere The story in question featured, as the vague title suggests, a \"space mission\" that is really a cover for forcing a bunch of really smart people to be in close proximity to each other for long enough that they can truly evolve their collective intelligence. I recall them developing new maths and, e..g, \"farseeing\" and eventually figuring out that while there was no planet at the end of their journey as they were told, they were able to construct one for themselves.",
"How can I set the drawableRight resource via code?",
"Would Gravitational Time Dilation still apply between two gravitational sources? As explained on , when an object is experiencing strong gravitational forces, time passes slower for it. If, in theory, you had two objects exerting the same amount of gravitational pressure on an object in opposite directions, effectively cancelling each other out, would they cancel out the time dilation, or would they compound, making the time dilation more prevalant?",
"Producing doc/docx from LaTeX Is there any way to produce doc/docx files from LaTeX?",
"A doubt from Milnor's \"Topology from a Differentiable Viewpoint\". This is a doubt from Milnor's \"Topology from a Differentiable Viewpoint\". For a smooth $f:M\\to N$, with $M$ compact, and a regular value $y\\in N$, we define $n(f^{-1}(y))$ to be the number of points in $f^{-1}(y)$. It is easy to see that $n(f^{-1}(y))$ is finite. It can also be seen that $n(f^{-1}(y))$ is locally constant; i.e. there is a neighbourhood of $y$ such that for every point $y'$ in that neighbourhood, $n(f^{-1}(y'))=n(f^{-1}(y))$. The proof for the statement in bold is the following: Let $x_1,x_2,\\dots,x_n$ be the points of $f^{-1}(y)$, and choose disjoint neighbourhoods $U_1,U_2,\\dots,U_n$ of these points, which are mapped diffeomorphically into neighbourhoods $V_1,V_2,\\dots,V_n$ of $y$. The required neighbourhood is $(V_1\\cap V_2\\cap\\dots V_n)-f(M-U_1-U_2-\\dots U_n)$. I don't understand how $(V_1\\cap V_2\\cap\\dots V_n)-f(M-U_1-U_2-\\dots U_n)$ is open. I know that $(V_1\\cap V_2\\cap\\dots V_n)$ is open. However, how can one prove that $f(M-U_1-U_2-\\dots U_n)$ is closed? I can see this working if $f$ is surjective, but not otherwise.",
"My brother owns Skyrim on steam. We use Steam Family Share, but we were wondering how both of us could play it at the same time?",
"When can we use 'much' in affirmative clauses? I found the below in web-site: We use much in questions and negative clauses to talk about degrees of something. We don’t use much in affirmative clauses. Also, it the same web-site, I found the following: She runs much faster than he does. also I noticed that some web-sites use much with affirmative clauses: May we all be having this much fun and getting this much exercise when we're his age! Is it Okey to use much in affirmative clauses? If yes, when can we use it? and what is the rules? Update: Here is another example on how often the word \"much\" is used in informal style: After much consideration I will NOT be performing at the Inauguration with my improv group Capitol Hill-arious",
"How to adjust the breaking in the bibliography?",
"Is it considered normal to publish job offers inviting candidates to apply based on their gender and/or race in academia? I was browsing PhD position offers in Europe on different websites and I was quite surprised to find that several offers contained sentences such as University of X value equality and diversity. We strongly encourage women and BAME applicants for this position. where BAME stands for Black, Asian and Minority Ethnicities; or The research group aims to increase the number of women in scientific positions. Female candidates are therefore encouraged to apply. Is it considered normal in the academic environment to discriminate between candidates according to their race and/or gender for \"egalitarian\" reasons? How is the choice of a candidate based on their gender and/or race considered \"egalitarian\"?",
"Is Adzerk safe / legitimate?",
"Is it (and if yes how?) possible to define an an binary operation $*$ for an arbitrary set $M$ such that $(M,*)$ is a group? If $M$ is finite or countable infinite this is trivial, but is it also possible for any other sets? And if yes how can you construct $*$? If no can you provide a counterexample?",
"How can I add a class to a block with code (development) For theming reasons I'd like to add a specific class at the \"block\" level to some of the blocks I'm generating with a custom module. I know there is a module , but I would rather like to do it directly in code (there is no need to change is afterwards). I also know of , but that does not seem to allow adding or editing classes. Is it possible to add a class with to a block from within my module code? I'm using Drupal 7.",
"I've implemented AStar in Java and it works ok for an area with obstacles where the chosen destination is reachable. However, when the destination is unreachable, the calculated \"path\" is in no way to the closest location (to the unreachable location) but is instead some random path. Is there a feasible way to tweak AStar into finding the path to the closest location to an unreachable destination?",
"What does \"proverbial\" mean?"
] | medi_sts_stackexchange_dupe |
adding vectors of unequal length | How to add lists with unequal length? | [
"I'm trying to include a link to some code on OneDrive; the link includes an underscore, which is causing a lot of trouble. I tried adding the entry like this: @misc{code, title = {Code}, url = {https://1drv.ms/link_link} } I use \\usepackage{url} and \\bibliographystyle{IEEEtran}. Everything compiles fine and the bibliography shows the correct entry. However, if you click the link, it opens a page at https://1drv.ms/link - so ignoring the underscore and everything after it, which leads to a wrong page. Even copy and paste from the PDF doesn't work since the underscore is copied as space, which again is a broken link. How can I add the link such that it can be clicked and copied properly? I tried \\_, \\usepackage{underscore}, {{link}}, different bibtex entries but nothing worked. Also all the related questions/answers don't answer mine.",
"Will Windows 10's reset delete my Linux partitions? I want to use the \"reset my PC\" feature of Windows 10 to wipe the data on my Windows partition. But I have also a Linux system installed, which I want to keep. Will Windows 10's full reset wipe all my disk, or just Windows's partitions ?",
"'The average person' or 'an average person'?",
"This is, how I download various master branches from GitHub, and I aim to have a prettier script (and maybe more reliable?). wget -P ~/ https://github.com/user/repository/archive/master.zip unzip ~/master.zip mv ~/*-master ~/dir-name Can this be shorten to one line somehow, maybe with tar and pipe? Please address issues of downloading directly to the home directory ~/ and having a certain name for the directory (mv really needed?).",
"I am having a problem computing the pearson correlation coefficient of data sets with possibly zero standard deviation (i.e. all data has the same value). Suppose that I have the following two data sets: float x[] = {2, 2, 2, 3, 2}; float y[] = {2, 2, 2, 2, 2}; The correlation coefficient \"r\", would be computed using the following equation: float r = covariance(x, y) / (std_dev(x) * std_dev(y)); However, because all data in data set \"y\" has the same value, the standard deviation std_dev(y) would be zero and \"r\" would be undefined. Is there any solution for this problem? Or should I use other methods to measure data relationship in this case?",
"Local Coordinate to Geocentric The ultimate question, I need a transformation matrix to take a point in local space representing a roughly 500m x 500m place in New Mexico centered at -108.619987456 long 36.234600064 lat. The final output needs to be in geocentric coordinates and I can during initialization get any number of points on the map such as the corners, center, western most along the center etc. During run time I would like to have a transformation matrix that can be applied to a position in local space expressed in meters and get back an approximate GCC coordinate. The center of the point in GCC: -1645380 -4885138 3752889 The bottom left corner of the map in GCC: -1644552, -4881054, 3749220 During run time I need to be able to multiply (-250, -250, 0) with the transformation matrix and get something close to (-1644552, -4881054, 3749220). I've spent more than a week trying to research a solution for this and so far nothing. Given an identity matrix as our starting position and orientation. Then using geotrans and the known lat, long, and height of the starting position I get an x,y,z geocentric coordinate. A vector from the origin of (0,0,0) gives both the up and translation for the matrix. However, I need the forward and right so that I can pass a distance in meters from the origin into the transformation matrix and get a roughly accurate GCC. Do I have all of the inputs I need to calculate the right and forward? Inputs Origin: 0, 0, 0 Global: -1645380, -4885138, 3752889 Up (Normalized): Global - Origin Desired Outputs Right: ? ? ? Forward: ? ? ? So with the right and forward added to the up and translation I already calculated I would have a transformation matrix. I could then apply the matrix to a vector of say (50, 50, 0) and get something within about 0-3 cm of the output if I feed the lat/long back into geotrans. This matrix would only ever be used small maps of about 500m x 500m so the curvature of the earth is negligible. In reply to whuber, I don't know your level of experience so I will start with the very basics. An identity matrix is a 4x4 matrix that you can multiply by a vector and it returns the vector unchanged. Such as below. 1 0 0 x=0 0 1 0 y=0 0 0 1 z=0 0 0 0 1 The x, y, and z of the matrix are how much to translate the vector by and the first 3 rows and columns are the rotation. Below is a tranformation matrix that does nothing to the orientation of a vector but does translate. This is what you would want for two axis aligned worlds in different locations. 1 0 0 13 0 1 0 50 0 0 1 -7 0 0 0 1 If you were to multiply a vector of (10, 10, 10) with the above transformation matrix you would get an output of (23, 60, 3). My problem is the axes are not aligned and the \"plane\" of the world I am trying to get the local coordinate converted to is projected on the ellipsoid of the earth. Geotrans is library that you can use to pass a coordinate from one system such as geodetic or GDC (lat, long, height) and get back another such as geocentric or GCC (x,y,z). For example: If my game world was representing a map centered exactly on the prime meridian and equator the transformation matrix would look something like below. I am just guesstimating the Y and Z rotations and might have them flipped and/or the wrong sign. 0 0 1 6378137 0 1 0 0 1 0 0 0 0 0 0 1",
"I was working on a tower and painted my own texture for it. I saved halfway though and took a break. When I returned to my little project, I could paint on the image and it shows up in the material view but not the render. I did everything in my power but still couldn't understand why? I have used: Nodes, including mapping and insert UV coordinates. Unwrap UVs Used lights Deleted and replace nodes Deleted and replace Mat Removed image and replace it Reload image Painted on mesh Even though use blender, I am not a programmer. So I find it really helpful if someone could give me an answer.",
"I often need to make banner sets that consist of anywhere from 6-14 different sized banners. A lot of these banners have the same text (which I put in smart objects to work faster) and the same or different images. The placement and sizes of these elements differ according to the banner size though. I find the process of 'copying' the content from one artboard to another to go a bit slower than I'd like it to. I can't simply copy/paste, I have to duplicate the layer and then drag it to the right artboard in the layer panel. Hoping I have closed all my folders or else I have to drag miles upwards ;) There has to be a better way! Why can't I simply copy paste a layer anymore? I'm pretty sure this used to be the case in older versions of photoshop.",
"Partition of harddisk lost/unusable",
"Image uploads not working on Chrome When I try to upload an image, I'm presented with the following dialog box, The dialog box does not allow uploading either from my computer or by posting a link. This happens only on Chrome browser (running on Windows). Clearing cache and cookies, and restarting computer do not resolve. Is this just my computer? Or is this a site-wide bug? Additional info: Clicking on 'click' to upload does nothing. Dragging an image onto dialog redirects me to the file location on my computer. Clicking 'Add picture' redirects me to http://[SE-domain].com/upload/image?https=true. UPDATE: A Norton extension for Chrome was the source of the problem.",
"Why is $ the default symbol for a user shell and # the default symbol for a root shell? Operating a standard bash shell on a server, the PS1 prompt defaults to ending in a $ for non-root users, and # for root. IE: ubuntu@server:~$ sudo su root@server:/home/ubuntu# Why is this?",
"How many of Trelawney's prophecies have come true?",
"Read only field not working in page layout I have custom object called candidate. I have created field name called first name which is read-only in the page layout. Once a record is created with first name field populated I am able to edit that field. Why I am able to edit (I mean getting pencil icon). Can anyone suggest me for this issue?",
"Python idiom to return first item or None",
"I've been interested in non-standard analysis recently. I was reading up on it and noticed the following interesting comment on the , right after giving an example of a nonstandard differentiation: The use of the standard part in the definition of the derivative is a rigorous alternative to the traditional practice of neglecting the square of an infinitesimal quantity... the typical method from Newton through the 19th century would have been simply to discard the $dx^2$ term. I've never heard anything like this before, and really find it fascinating that Newton's method was to define the relation $dx^2 = 0$. If we actually formalize the above structure by taking $\\mathbb{R}$ and adjoining an element $dx^2 = 0$ to it, we get the \"dual numbers,\" isomorphic to the quotient ring $\\mathbb{R}[x]/x^2$. I'd seen some things about how this algebra plays into automated differentiation algorithms for some computer software systems, but I've never heard anything about Newton directly working in this algebra. So I have a few questions: Does anyone have more historical information on the way that Newton performed differentiation, and its relation to the dual numbers? Does anyone know how effectively real analysis can be formalized with the dual numbers? Does the resulting system play nice enough to develop all of the important modern results? If we start with $\\mathbb{C}[x]/x^2$ instead, can we likewise develop complex analysis? Since this idea is so simple, I'm very curious how powerful it is. I'm also curious if it has any major drawbacks too, since I'm not sure why anyone would mess with the foundational baggage involved in defining the hyperreals if this simple 2-dimensional real algebra could really do the trick.",
"$(x^3+xy^2-y)dx+(y^3+x^2y+x)dy=0$ I tried to find on Wolfram Alpha but it showed only the solution not in step-by-step, I know that the factor is $\\frac{1}{x^2+y^2}$ but how to find it?",
"Mention a specific potential adviser and project in the PhD statement of purpose I am writing my statement of purpose for my Ph.D. and I want to work in a specific field with a specific professor in the department that I am going to apply for and I have a very good experience in this field. I sent an email for that professor asking if he/she is accepting Ph.D. students and he/she did not respond. I built my whole statement of purpose based on my previous achievements and future plan for that specific area. I also mentioned that I am willing to work with that professor. My statement of purpose tells that I am very passionate about this field and I am only willing to work with that professor (if there were more than one professor working on the same area, I would mention all of them). if that professor doesn't accept new Ph.D. students, will I risk my admission to that school? Will the committee response be something like this: \"the applicant really knows what he/she is going to do and there is a specific future plan and he/she also got a good experience in this field, but he/she sounds very strict to his plan and doesn't show any flexibility...REJECTED\"?",
"Why does `md5sum` not give the same hash as the Internet does? I want to find the md5 hash of the string \"a\", but running echo \"a\" | md5sum gives me another hash than what I get if I search the internet (for example using or ). Running echo \"a\" | md5sum gives me \"60b725f10c9c85c70d97880dfe8191b3\", but it should be \"0cc175b9c0f1b6a831c399e269772661\". If I make a reverse hash lookup for \"60b725f10c9c85c70d97880dfe8191b3\", I do however get \"a\".",
"How to put a full-width table at the top or bottom of the same two-column page as the reference text? I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, the text ends in the beginning of the first column of a new page. I would like to include my table on this page since it has a lot of free space below the text, but when I insert the table* right after the text, it goes to the top of the next page instead: Do you know a way of obtaining the desired behavior? Minimal working example : \\documentclass{article} \\usepackage{lipsum} \\begin{document} \\twocolumn \\paragraph{} \\lipsum[1] \\begin{table*} \\centering \\begin{tabular}{|c|c|c|c|} \\hline Column 1 & Column 2 & Column 3 & Column 4 \\\\ \\hline Column 1 & Column 2 & Column 3 & Column 4 \\\\ \\hline \\end{tabular} \\end{table*}% \\end{document}",
"I tried to open the door. I tried opening the door We can use both infinitive and gerund with verb \"try\" as used in above sentences. Does it change the meaning of the sentence if use gerund or infinitive?.(here i don't know if the meaning of sentences is changed.) The same confusion arise in these two sentences. 1.I stopped seeing him. 2. I stopped to see him.(But in case of these two sentence i know the meaning is changed but don't know exactly what the change is)."
] | medi_sts_stackexchange_dupe |
How do I edit a file input in CSS? | Styling an input type="file" button | [
"How do I allow non-root access to /ttyUSB0? Since I updated from Ubuntu 10.04 (Lucid Lynx) to Ubuntu 12.04 (Precise Pangolin), I am unable to access the device connected in /ttyUSB0 if I don't have root access. To be more specific, I use a USB-to-serial com port converter to access and configure Cisco equipment with software called . It happens that, since I upgraded to 12.04, PuTTY only sees the connected device when I run it as gksudo putty. If not, it says \"unable to connect to port /ttyUSB0\". I have managed to change the permissions via chmod 666, and it works, but if I disconnect the USB device and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via rules, but I have no idea how to do it. Obs.: Manufacturer and drivers are \"PROLIFIC\"",
"Old Budrys(?) end-of-world/alien invasion of NYC story This one, from the late 1950s or early 60s (I think), features the last girl in NYC, who drives her jeep up the stairs of the main library (with the lions). She feels bad about breaking the lock, but what's a girl to do, if she wants something to read? In summertime, she drives topless and, the author writes, her bosom dances enchantingly on the steps. She lives in the boathouse on the lake in Central Park. Mysterious insect-like aliens are eating the buildings in the City.... I didn't recognize a title in Budrys or Bester's isfdb bibliogs, so I may be wrong about the author. But not about the story details: it's a memorable one. Thanks in advance for helping ID this one!",
"Views indicator inaccurate, shows one views on question with two close votes Two close votes and only one person has viewed the question? How did this happen?",
"Two monitors when only having one in 13.10 I just did a fresh install of Ubuntu 13.10 64bit, and it says that I have 2 monitors, when I actually only have one I have a Dell XPS 15 with Nvidia graphics card if that helps in anyway",
"If $f$ is a periodic function with $T = \\pi$, does that mean that $F$ (a primitive of $f$) has the same period ? What about the inverse implication (periodic primitive implies periodic function) ?",
"What is the best choice for .NET inter-process communication?",
"Does not the mass of those living on the Earth add on to the mass of the Earth or is it too negligible to be cared for? : Earth weighs about 13,170,000,000,000,000,000,000,000 pounds (or 5,974,000,000,000,000,000,000,000 kilograms). Since Earth is too big to be placed on a scale, scientists use mathematics and the laws of gravity to figure out Earth's weight. So, this seems to be a constant. But I guess it doesn't consider the things that are on the earth, the trees, buildings, people, animals, water etc... So, are all the above mentioned things' mass is too small or negligible to be left off?",
"Why are we using the squared residuals instead of the absolute residuals in OLS estimation? My idea was that we use the square of the error values, so that residuals below the fitted line (which are then negative), would still have to be able to be added up to the positive errors. Otherwise, we could have an error of 0 simply because a huge positive error could cancel with a huge negative error. So why do we square it, instead of just taking the absolute value? Is that because of the extra penalty for higher errors (instead of 2 being 2 times the error of 1, it is 4 times the error of 1 when we square it).",
"I have an inkling that the following word usage is grammatically-correct; however, it is immensely difficult to search for confirmation, as all I receive for queries like "Proper as an adjective" are reams of results on "Proper adjectives". The word itself I am using as a postpositive adjective, similar in form to the phrase "time immemorial". The shelter remains in name only; the shelter proper is in another town. Work in theory remained, although operations proper had mostly been outsourced. Can anyone advise?",
"Where can I find PSD file or tutorial to create the effect of frame with shadow (see red arrow in image)",
"Why does the mirror modifier sometimes give me an overlapping mesh? When I add a mirror modifier it sometimes doesn't mirror correctly, giving me an overlapping mesh. How can I fix this?",
"Adjectives and nouns to describe an answer that doesn't answer the question? I've heard of the adjectives 'nonresponsive' or , but are they restricted to law^? Collins Dictionary: = not responsive, not reacting to a stimulus The definition above differs from the definitions of adjectives like 'equivocate, evade' and nouns like , but these are negative and accusive; I prefer neutral connotation. ^Only if you wish, please see: , by David Berg, by Thomas A. Mauet.",
"ravel: opposite meanings?",
"How to prove that eigenvectors from different eigenvalues are linearly independent How can I prove that if I have $n$ eigenvectors from different eigenvalues, they are all linearly independent?",
"Badge Notification Repeats Not sure if someone else has already raised this - I've got eleven notifications that I've received a Caucus badge on English Language Learners. Perhaps one notification for each community that I'm a member of? I am a member of the community, and did visit the election. Also, the badge hasn't been awarded more that once (so I think it's just the notification that's at fault). Note that this seems to happen for other badges, it has been reported for: Caucus, Nice Answer, Enthusiast.",
"(Why) Has Kohonen-style SOM fallen out of favor?",
"l, ls & la -- what are the differences, and are there more of these commands?",
"Area51 proposals are being advertised now all over the network? While happily browsing I suddenly noticed this: Curious, I clicked and landed . Appears to be ordinary Area51 proposal, one out of hundreds. Do all proposals get such ad at some point? What is the criteria? Any way to ask for such ad?",
"$$A=\\begin{array}{ccc} 0 & 1/2 & 0 & \\cdots & 0 \\\\ 1/2 & 0 & 1/2 &\\cdots& 0\\\\ 0 & 1/2 & 0 & \\cdots & 0\\\\ \\vdots & \\vdots & \\vdots &\\ddots & 1/2\\\\ 0 & 0 & 0 & 1/2 & 0 \\end{array}$$ I need to know the spectral radius of $A$ in function of the dimension of the matrix $n$. I know only one way to know the spectral radius, using the definition I find all eigenvalues and then find the maximum. but it very hard if $n$ is changing. Some help please! I did some iteration by $$det(\\lambda I-A)$$ $$n=2 \\quad r=\\frac{\\sqrt{1}}{2}$$ $$n=3 \\quad r=\\frac{\\sqrt{2}}{2}$$ for $n=2$ and $n=3$ are correct. and if we take this rule, for $$n=5\\quad \\quad r=\\frac{\\sqrt{4}}{2}$$ but this isn´t true since I know radius for this matrix should be $< 1$ and if we take this rule for $n=5$ we have $$\\frac{\\sqrt4}{2}=1$$ Some hint?",
"blink code(escape code) has been removed?"
] | medi_sts_stackexchange_dupe |
How is the set of rational numbers countably infinite? | Produce an explicit bijection between rationals and naturals? | [
"Graphical glitches using Ubuntu 18.04 on Dell XPS 13 2019 laptop My laptop keeps on having weird screen glitches, sometimes for a second, and that goes away just by moving the cursor, sometimes, making me restart the whole thing. I could still use the play/pause key and it still played/paused the video that was running even though the screen was completely teared. Also, printscreens actually print a normal screen and do not show the problem. Some pictures of the screen when it happens : Do you guys know what I could do to solve the issue ?",
"Spacing issue for newenvironment wrapper of equation environment If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin. Example code: \\documentclass{article} \\begin{document} \\newenvironment{myenv}{\\begin{equation}}{\\end{equation}} \\noindent $| \\leftarrow$ this is the left margin. \\begin{myenv} e ^{i \\pi} + 1 = 0 \\end{myenv} $| \\leftarrow$ this isn't the left margin. \\end{document} Output: Removing the newline after \\end{myenv} solves the spacing problem, but the resulting code is not readable. Of course, in this example I could just use the equation environment itself. My real issue involves a more complex custom environment that suffers from the same problem, and which also includes an equation environment within it.",
"Adding Layer using esriRequest Response in ArcGIS API for JavaScript? For various reasons I need to add layers to a map object using a response returned by an esriRequest to an ArcGIS Server. One reason being the data will change constantly and hard coding FeatureLayer URLs would prove inefficient. I have successfully been able to return a JSON object containing attribution that appears to be the same data one would see on the layers REST node. maps = []; require([ \"esri/map\", \"esri/layers/FeatureLayer\", \"esri/dijit/Print\", \"esri/tasks/PrintTemplate\", \"esri/request\", \"esri/config\",\"esri/dijit/BasemapToggle\", \"dojo/_base/array\", \"dojo/dom\", \"dojo/parser\", \"dojo/domReady!\" ], function (Map, FeatureLayer,Print, PrintTemplate, esriRequest, esriConfig,BasemapToggle,arrayUtils, dom, parser){ parser.parse(); console.log(\"Map Start\"); esriConfig.defaults.io.proxyUrl = \"http://........./proxy.ashx\"; maps.addRespLyrs = function addRespLyrs (layer) { if (layer.type == \"Feature layer\") { console.log(layer.name); maps.map.addLayer(layer); } }; maps.handleMapInfo = function handleMapInfo (resp) { console.log(\"handleMapInfo called\"); maps.layers = resp.layers; console.log(maps.layers); for (i in maps.layers) { var layer = maps.layers[i]; maps.addRespLyrs(layer); } }; maps.layerRequest = function layerRequest () { var mapInfo = esriRequest({ \"url\": \"https://........./Application Name/MapServer/layers\", \"content\" : {\"f\":\"json\"}, \"handleAs\" : \"json\", \"callbackParamName\" : \"callback\" }); mapInfo.then(maps.handleMapInfo); }; maps.map = new Map(\"cpCentCent\", { basemap:\"topo\", center: [-98.5795, 39.8282], zoom: 5 }); console.log(\"Map End\"); When attempting to add the data using the addLayer() method I recieve an error thrown from deep with in esri's API. init.js:199 TypeError: a.id.match is not a function(…) \"TypeError: a.id.match is not a function Any thoughts as to what could be going wrong here or how to create a layer from my JSON?",
"I am little confused with the applicability of reinterpret_cast vs static_cast. From what I have read the general rules are to use static cast when the types can be interpreted at compile time hence the word static. This is the cast the C++ compiler uses internally for implicit casts also. reinterpret_casts are applicable in two scenarios: convert integer types to pointer types and vice versa convert one pointer type to another. The general idea I get is this is unportable and should be avoided. Where I am a little confused is one usage which I need, I am calling C++ from C and the C code needs to hold on to the C++ object so basically it holds a void*. What cast should be used to convert between the void * and the Class type? I have seen usage of both static_cast and reinterpret_cast? Though from what I have been reading it appears static is better as the cast can happen at compile time? Though it says to use reinterpret_cast to convert from one pointer type to another?",
"get current user info using jquery ,REST and csom My goal is to get the login name and picture for the current user. I am using SharePoint 2013 Foundation. I tried three method and non of then worked correctly: This is with jQuery SPServices: function getCurrentUserInfo() { var thisUsersValues = $().SPServices.SPGetCurrentUser({ fieldNames: [\"ID\", \"Name\", \"Picture\"], debug: false }); var name = thisUsersValues[\"Name\"]; var ID = thisUsersValues[\"ID\"]; var SIPAddress = thisUsersValues[\"Picture\"]; } But I am getting this error: SCRIPT438: Object doesn't support property or method 'replace' File: jquery.SPServices-2014.01.js, Line: 2414, Column: 17 REST API method: function getinfo(loginName) { var theData = { \"propertiesForUser\": { \"__metadata\": { \"type\": \"SP.UserProfiles.UserProfilePropertiesForUser\" }, \"accountName\": loginName, \"propertyNames\": [\"PreferredName\", \"PictureURL\"] } }; var requestHeaders = { \"Accept\": \"application/json;odata=verbose\", \"X-RequestDigest\": jQuery(\"#__REQUESTDIGEST\").val() }; jQuery.ajax({ url: _spPageContextInfo.webAbsoluteUrl + \"/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertiesFor\", type: \"POST\", data: JSON.stringify(theData), contentType: \"application/json;odata=verbose\", headers: requestHeaders, success: function (data) { document.getElementById(\"profilelink\").href = userProfileProperties[1];; document.getElementById(\"username\").innerHTML = userProfileProperties[0]; if (userProfileProperties[1] !== null) { document.getElementById(\"Userprofileimage\").src = userProfileProperties[1]; } }, error: function (jqxr, errorCode, errorThrown) { console.log(jqxr.responseText); } }); } Error: \"{\\\"error\\\":{\\\"code\\\":\\\"-1, Microsoft.SharePoint.Client.InvalidClientQueryException\\\",\\\"message\\\":{\\\"lang\\\":\\\"en-US\\\",\\\"value\\\":\\\"The method GetUserProfilePropertiesFor cannot be invoked as its parameter propertiesForUser is not supported.\\\"},\\\"innererror\\\": {\\\"message\\\":\\\"The method GetUserProfilePropertiesFor cannot be invoked as its parameter propertiesForUser is not supported.\\\" ,\\\"type\\\":\\\"Microsoft.SharePoint.Client.InvalidClientQueryException\\\",\\\"stacktrace\\\":\\\" With CSOM: //SP.SOD.executeOrDelayUntilScriptLoaded(getUserProperties, 'SP.UserProfiles.js'); function getUserProperties(targetUser) { // get the target users domain name and account name. var tUser = targetUser.substring(7); // Get the current client context. var clientContext = new SP.ClientContext.get_current(); //Get PeopleManager Instance var peopleManager = new SP.UserProfiles.PeopleManager(clientContext); // Get the properties to retrieve var profilePropertyNames = [\"PreferredName\", \"PictureURL\"]; var userProfilePropertiesForUser = new SP.UserProfiles.UserProfilePropertiesForUser( clientContext, tUser, profilePropertyNames); // Get user profile properties for the target user userProfileProperties = peopleManager.getUserProfilePropertiesFor(userProfilePropertiesForUser); // Load the UserProfilePropertiesForUser object. clientContext.load(userProfilePropertiesForUser); //Execute the Query clientContext.executeQueryAsync(onRequestSuccess, onRequestFail); } I really don't understand where the issue is. Does anyone have an idea?",
"Output from ls has newlines but displays on a single line. Why? I think I may be overlooking a relatively fundamental point regarding shell. Output from the ls command by default separates output with newlines, but the shell displays the output on a single line. Can anyone explain this to me? I had always presumed that the output was simply separated by spaces, but now that I see the output separated by newlines, I would expect the output to be displaying on separate lines. Example: cpoweradm@debian:~/lpi103-4$ ls text* text1 text2 text3 od shows that the output is separated by newlines: cpoweradm@debian:~/lpi103-4$ ls text* | od -c 0000000 t e x t 1 \\n t e x t 2 \\n t e x t 0000020 3 \\n 0000022 If newlines are present, then why doesn't the output display as: text1 text2 text3",
"Cleaning my Macbook Pro Retina leaves greasy 'streaks' across the screen",
"Argue by contradiction to show that there is no surjection... from $A$ to $\\{0,1\\}^A$. When $A$ is any (possibly infinite) set How does one go about this?",
"Export multiple objects to .obj It is possible to export all object from a scene into different obj files (each object in a obj file separately)?",
"In Clash of Clans there was an update on 9/16 adding a Tie-breaker into the wars, can anybody explain in detail how this mechanism works?",
"How do you parse and process HTML/XML in PHP?",
"download file on form submission I have created a form which has only a submit button. In the submit function I am generating csv file and saving it to the files folder using fputcsv function. But Now I need extra functionality of submit. After saving the file it should download the file also. How to do this? Any one have some idea about this?",
"Children's fantasy series with a symbol consisting of a circle divided into quarters I read this book series as a kid back in the late 1970s, so it's an old series - and my memories are similarly old, and vague. I know it's a fantasy series. I think there are 4 books in the series. Or perhaps 7. There's a central boy character who has to get a collection of magical objects (every fantasy needs a quest!), each of which represents a different magical 'element': wood, stone, fire, etc. I definitely remember there was a wooden object. He lives in our normal world. The whole series takes place \"here & now\". I have a feeling he's a \"chosen\" person of some kind... But, the strongest memory I have is of a symbol: a circle which is divided into quarters (a vertical bar and a horizontal bar). I know it's vague, but does anyone recognise this?",
"How can I improve Ubuntu overall system performance? What are your tips for improving overall system performance on ubuntu? Inspired by this I realized that some default settings may be rather conservative on Ubuntu and that it's possible to tweak it with little or no risk if you wish to make it faster. This is not meant to be application specific (e.g. make firefox load pages faster), but system wide. Preferably 1 tip per answer, with enough detail for people to implement it. A couple of mine would be: Install (via Software Center or sudo apt-get install preload); Change value - \"which controls the degree to which the kernel prefers to swap when it tries to free memory\"; What are yours? PS: Since this is not intended to have a unique answer but rather, several useful tips, I'm making this community wiki out-of-the-box.",
"In \"Settings\" > \"SD card & phone storage settings\" under \"Internal Phone Storage\" it lists \"Available Space\" as 13.78MB. I'm trying to install an app that is 2.38MB. Why do I get the \"Insufficient storage available\" error message? I clearly have enough space. If it's relevant, my phone is an LG Optimus V.",
"I have an object x. I'd like to copy it as object y, such that changes to y do not modify x. I realized that copying objects derived from built-in JavaScript objects will result in extra, unwanted properties. This isn't a problem, since I'm copying one of my own literal-constructed objects. How do I correctly clone a JavaScript object?",
"Getting JavaScript object key list",
"A basic grammar rule is to use an instead of a before a vowel sound. Given that historic is not pronounced with a silent h, I use “a historic”. Is this correct? What about heroic? Should be “It was a heroic act” or “It was an heroic act”? I remember reading somewhere that the h is sometimes silent, in which case it’s an, and when the h is pronounced, it’s a. But then I also remember reading that it depends on which syllable is stressed. And I also think I read somewhere that it might differ between British and American English. Personally, I pronounce the h, and believe that a is correct. I find that it sounds incorrect to use an and pronounce heroic without the h. So how do I know when to use a and when to use an with a word beginning with the letter h? Are both acceptable or is there one that is correct?",
"Reset the password in Ubuntu / Linux Bash in Windows I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password. I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process. How can I reset my password?",
"How would I go about finding $\\prod_{n=1}^\\infty (1+\\frac{1}{n^2})$ ? Setting $a_k = \\prod_{n=1}^k (1+\\frac{1}{n^2})$, the first few partial products are $a_1 = 2$, $a_1 = 2.5$, $a_3 \\approx 2.78$, $a_4 \\approx 2.591$, $a_{20} \\approx 3.50$, and they eventually appear to converge at around $3.639$. (These values were found with a quick python program. So much for my initial conjecture that the product converged to $e$.) I tried writing $1+\\frac{1}{n^2}$ as $\\frac{n^2 + 1}{n^2}$, but it wasn't immediately obvious how to prove convergence / find the limit because the product doesn't really factor or telescope. Is there a way to calculate the limit?"
] | medi_sts_stackexchange_dupe |
Binomial expansion of $(x_{1}+x_{2}+...........+x_{k})^{n} $ | how many terms will there be once you collect terms with equal monomials? What is the sum of all the coefficients? | [
"Why didn't anybody Summon the Triwizard cup in the maze? We know that the Triwizard cup itself was Summonable. After all, Harry did Summon it in the graveyard. So why didn't any of the contestants Summon it while in the maze? Canonical answers, please.",
"Allowing line break at ',' in inline math mode? In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g. very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc may be rendered as very long text followed by a very long equation like a+b+c+d+e+f+g+h+i+ j+k+l etc However, the break won't happen if they are separated by commas, e.g. very long text followed by a very long equation like $a,b,c,d,e,f,g,h,i,j,k,l$ etc will overflow the page like very long text followed by a very long equation like a,b,c,d,e,f,g,h,i,j,k,l etc How to make LaTeX able to insert line breaks after a comma too?",
"Can Windows use a Linux shell instead of cmd? I was wondering if it is somehow technologically possible for Windows to add some sort of Linux interface? I think it would win over many programmers to develop on Windows. Any ideas on this?",
"How to cross-reference an inequality with \\cref? I have inequalities being cross-referenced by \\cref as equations. 1-) How can I change that? (and still have inequalities with the same numbering as equations) 2-) How can I change that and have inequalities with their own numbering? \\documentclass[12pt]{article} \\usepackage{amsmath} \\usepackage{cleveref} \\usepackage[letterpaper]{geometry} \\begin{document} \\begin{flalign} &f(x) \\geq g(x)& \\label{i:positivity} \\end{flalign} Admitting that \\cref{i:positivity} has a solution, ... \\end{document}",
"Evaluate the limit : $$\\lim_{n \\to \\infty } {1 \\over {\\sqrt n }}\\left( {1 + {1 \\over {\\sqrt 2 }} + {1 \\over {\\sqrt 3 }} + \\cdots + {1 \\over {\\sqrt n }}} \\right)$$ I can use the sandwich principle, certain convergence criteria, Cesaro mean theorem, limit arithmetic.. things around this area. Any help would be greatly appreciated, thanks! Sorry for not elaborating more at the beginning, rookie first-post mistake I suppose. :)",
"Paradox of General Comprehension in Set Theory, other than Russell's Paradox As is well known, the General Set Comprehension Principle (any class is a set) leads to the Russell Paradox (the class $x \\notin x$ cannot be a set). As a result, set theories must restrict the Comprehension Principle to avoid self-reference. For example, in the case of ZFC, this is done by enumerating a small list of \"safe\" comprehension schema such as Separation. Does General Comprehension lead to other types of paradox than Russell's? Or is this basically the only thing that can go wrong?",
"Why I can't scan the WhatsApp QR?",
"Why can't helicopters reach mount everest?",
"How to use GCC 4.7 in place of 4.6? So I'm working on a project and I wanted to use some C11 features for C. To use those features GCC 4.7 is required, so I went to synaptic and looked up 4.7, and I found the packages gcc-4.7-base so I installed it[1]. So now that gcc-4.7-base is installed I expected to be able to use 4.7, but no, when I do gcc --version it still shows 4.6.3 even more, when I try to directly call 4.7(via /usr/bin/gcc-4.7) it doesn't exist, though a gcc-4.6 executable does exist. How do I \"activate\" GCC 4.7? I read , you do some crazy stuff with update-alternatives, but it doesn't work for me as the gcc-4.7 executable doesn't actually exist on my machine. Notes: 1. I also saw gcc-4.6-base, so I figured I'd uninstall it, but synaptic attempted to remove every package I had installed and install a Java runtime, so for obvious reason I decided not to remove it.",
"JavaScript post request like a form submit",
"Why do some font commands behave differently? I've always been confused by the differences in behavior of font commands. For example, we have \\mathrm{} and \\texttt{}, which can be used like this: \\texttt{hello} world. And then we have \\it and \\bf which must be used as {\\it hello} world. If one uses \\it{hello} world, both words are italicized. Internally, what is the difference here? And was this difference a conscious design decision? If so, why?",
"There is a restriction on setting your birthday: Oops! There was a problem updating your profile: - Birthday must be after 1920/01/01 I realize the number of 90 year old users is small, but shouldn't the restriction be a bit more relaxed, such as larger than any ? Either 120 or 150 seems appropriate. For example, my grandfather turns 90 next year (and just barely misses the current cutoff), but I can't imagine he's the only one around that age who is computer literate and still active enough to be interested in (the increasingly broad range of) SE sites. I don't think he has contributed yet (mostly because of the comment restriction, I'd see him commenting before asking or answering), but I have emailed him with links that I know he's read. Incidentally, the error message is wrong: birthday must be after 1919/12/31 and using the next day is accepted.",
"Asks a question; never responds to answers/comments What do we call someone who asks a question and never responds to answers/comments? Think of it more as \"a pattern of behavior\" (somebody who has asked many questions and never responded). I had unresponsive in mind, but that doesn't say that they asked in the first place.",
"bash: warning: shell level (1000) too high, resetting to 1",
"Pokemon Go Supported Devices",
"Is it possible to query the content of the Time-based Workflow Queue from an Apex unit test to assess that a specific Workflow Rule has been executed and added a new item to the queue? I didn't see anything alike in the documentation, but wish it could be possible to improve testing and stability overtime. Thanks",
"I'm getting these errors ramdomly, and I don't know if its normal or not. [39441.061856] ata3.00: failed to read SCR 1 (Emask=0x40) [39441.061866] ata3.01: failed to read SCR 1 (Emask=0x40) [39441.061892] ata3.15: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen [39441.061897] ata3.15: irq_stat 0x08000000, interface fatal error [39441.061904] ata3.15: SError: { UnrecovData 10B8B BadCRC } [39441.061910] ata3.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen [39441.061917] ata3.01: exception Emask 0x100 SAct 0xe SErr 0x0 action 0x6 frozen [39441.061923] ata3.01: failed command: READ FPDMA QUEUED [39441.061933] ata3.01: cmd 60/a8:08:b0:48:62/00:00:00:00:00/40 tag 1 ncq 86016 in [39441.061940] ata3.01: status: { DRDY } [39441.061944] ata3.01: failed command: READ FPDMA QUEUED [39441.061953] ata3.01: cmd 60/a8:10:b0:49:62/00:00:00:00:00/40 tag 2 ncq 86016 in [39441.061959] ata3.01: status: { DRDY } [39441.061963] ata3.01: failed command: READ FPDMA QUEUED [39441.061972] ata3.01: cmd 60/58:18:58:4a:62/00:00:00:00:00/40 tag 3 ncq 45056 in [39441.061978] ata3.01: status: { DRDY } [39441.061987] ata3.15: hard resetting link [39441.608302] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [39441.609090] ata3.00: hard resetting link [39441.929246] ata3.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320) [39441.929333] ata3.01: hard resetting link [39442.249184] ata3.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320) [39442.263242] ata3.00: configured for UDMA/133 [39442.277570] ata3.01: configured for UDMA/133 [39442.277725] ata3: EH complete I'm also pasting smartctl -a for , and . Thanks in advance for your help.",
"What will Sony do if someone uses my account as primary on another ps4 without my knowledge? What will Sony do if someone uses my account as primary on another ps4 without my knowledge? Will the account be banned? Or will the other guy that has my account as primary be banned? After how long? I have no credit card on my account so I don't care too much but I want to know. He uses my account on his ps4 as a primary account. I think to use my digital games as free (Sharing, but without my knowledge).",
"How to make sure that Thinkpad discharges external slice battery first? The thing is that when an external slice battery pack is connected, the laptop first discharges the internal one. This is a problem because then it is impossible to switch between multiple external battery packs without powering off the laptop. It is also not possible to just disconnect the external battery pack when you e.g. need to insert it into a docking station. Thus, my question: how to change the discharge order under Linux? For my use cases following order would make much more sense: when an external slice battery is connected, first discharge it completely before using power from the internal battery. Background: For some Thinkpad models (e.g. X220) there are slice battery packs () available that you can connect to the bottom of the laptop (similar to a docking station). They seem to be supported well on Linux - e.g. the Gnome Shell battery applet includes both batteries (internal and external) when connected - including displaying the current capacity for each.",
"\"Always on top\" option missing for Firefox/Chrome in 18.04"
] | medi_sts_stackexchange_dupe |
LINQ to Entities does not recognize the method 'System.Linq.IQueryable | LINQ to Entities does not recognize the method 'System.String Format(System.String, System.Object, System.Object)' | [
"Looking for a sci-fi movie in which a human astronaut befriends an alien on a reddish planet This probably wasn't a blockbuster back in its time as I remember the special effects didn't seem all that bombastic, but I do remember a few details. A human astronaut lands (or crash-lands) on a prominently reddish planet. It might have been Mars, thought it might not have been. I think the atmosphere on said planet was humanly breathable (as in the astronaut does not wear his helmet). This human astronaut needs to survive. He spots a humanoid alien, apparently also having crash-landed or otherwise in need of survival. He sees this alien consume some sort of greenish orb, apparently for nourishment. He sneaks up to the alien (or the alien craft) in an attempt to grab some of those greenish orbs. I don't remember whether he succeeds, but he does get beaten up by the alien. The next bit of detail I remember was the human astronaut constructing some sort of shelter to protect both him and the alien from... meteor showers? The human astronaut piles up some rocks to build a hut while the alien, apparently having learned a few English words, says \"shiiiiit\" and \"no solid\". The human astronaut asks, incredulous, \"No solid?\" and punches the hut he just build. \"See? Solid!\" he proclaims, while the hut collapses a few seconds later. The alien laughs. Later on the human astronaut is either caught by or accidentally fell into some sort of mouth-in-the-sand creature. He is saved by the alien in the process (or was it the alien who fell into the mouth-creature and was saved by the human astronaut). They witness the mouth-creature spitting out a turtle-like shell (from another local wildlife) of some sort. The human astronaut observes, and I paraphrase, \"This stuff must be so tough that even [the mouth-creature] cannot digest it!\" He then proceeds to build a meteor shelter from collected shells. The last bit of detail I remember is when the alien becomes pregnant and is dying. The human astronaut, having thoroughly befriended the alien at this point, asks (and I paraphrase), \"What do you mean you're pregnant? Aren't you a male?\" to which the alien responds (and again I paraphrase), \"For us it comes naturally, unlike for you humans whose pregnancy only comes after a brief period of pleasure\". The alien then asks the human astronaut to bring the child to the alien's home planet and recite the names of the child's ancestors in front of... alien rulers, I guess. The last scene of the movie is of the human astronaut, having arrived at the alien's home planet, standing side-by-side (or perhaps hand-in-hand) with the alien child while chanting in an alien language (what I presume to be the names of the child's ancestors).",
"How to check type of variable in Java?",
"How do I SSH to machine A via B in one command?",
"EM wave generation from different frames of reference",
"Changing projection of shapefile in QGIS",
"Double orthogonal complement is equal to topological closure",
"Is there a way to give promo/coupon codes for people to download your app for free?",
"Ubuntu16.04 boots into initramfs",
"Where does console output go",
"I wonder whether it is possible to perform within R a clustering of data having mixed data variables. In other words I have a data set containing both numerical and categorical variables within and I'm finding the best way to cluster them. In SPSS I would use two - step cluster. I wonder whether in R can I find a similar techniques. I was told about poLCA package, but I'm not sure ...",
"Given the following groups, what is the maximum possible order for an element for (a) $S_5$ (b) $S_6$ (c) $S_7$ (d) $S_{10}$ (e) $S_{15}$ My book justifies the answer as (a) The greatest order is $6$ and comes from a product of disjoint cycles of length 2 and 3 (b) The greatest order is $6$ and comes from a cycle of length $6$ The other answers were justified exactly the same way, that is (c) 12, (d) 30, (e) 105 I do not understand how in (a) we even got the number \"6\" from $S_5$ and what disjoint cycles they are referring to. Could someone at least justify one for me?",
"In Windows XP we can search for files that contain a defined keyword (inside all files types). Windows 7 can look inside files for a keyword, but only for text files. (*.doc, *.txt, *.inf, ...), not (*.conf, *.dat, *.*, ...). don't contain any filter I can use for this. How is this possible?",
"What is meant by \"Constant Amortized Time\" when talking about time complexity of an algorithm?",
"How to add vertical space after \\hline without breaking vertical lines in a table I have seen similar questions on the matter (, ) of adding vertical space and not breaking vertical lines, the solutions suggested are to add space after the \\\\ using \\\\[0.1cm] for example or changing the \\arraystretch which I do not want to do. Using \\\\[0.1cm] allows me to add space just before a \\hline but not after as well. How can I add vertical space after a \\hline without breaking vertical lines in a table? Please find my MWE below: \\documentclass{scrreprt} \\usepackage{setspace} \\usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=3cm]{geometry} \\usepackage{array,tabularx} \\doublespacing \\begin{document} \\begin{table}[htb] \\centering \\onehalfspacing \\caption{Table of info.} \\begin{tabular}{c | c c} & C/S Analyser & O/N/H Analyser \\\\ & EMIA 320 V2 & EMGA 830 \\\\[0.1cm] \\hline \\noalign{\\vskip 0.1cm} Sensitivity (ppm) & 0.1 & 0.001 \\\\ Furnace type & Induction & Impulse \\\\ Carrier gas & Pure O2 & Pure He \\\\[0.1cm] \\hline \\end{tabular} \\doublespacing \\label{tab:chem} \\end{table} \\end{document}",
"Poisson / exponential distribution Next weekend you will be participating in 12km cross country race on a mountain.The average time between two successive wild animal sightings on the mountain is reported to be 5 minutes (a) What is the probability that you see at least one wild animal in the 11th minute of the race given that you will see 3 wild animals since the start of the race? (b) What is the probability that it will take more than a quarter of a hour before you see a wild animal after ten minutes of running? Now I have attempted (a) , but I don't know whether my thinking is correct. (b) on the other hand makes little sense to me. My attempt: (a)$ X~ Poisson(\\frac{1}{5})$ and $Y~Exponential(\\frac{1}{5})$ $Pr(X>4) = Pr(X>1)$ (I am thinking that this is some variation of the memoryless property) $Pr(X>1) =Pr(Y<1)$ $Pr(Y<1)= 1 - (e^{(\\frac{-1}{5})})$ Perhaps, I was a bit to vague in my attempt of (a). So here goes my attempt of(b).From my understanding of the question , it is asking what it the probability that the time between events(in this case animal sightings) is more than 25 minutes given you have been running for ten minutes Now from what I know the fact that you have been running ten minutes is irrelevant this is due to memory-less property of the exponential distribution so without further ado I present my attempt at (b) let $X $ be exponentially distributed random variable with $\\lambda = 1/5$ then $Pr(X >15) = 1 - Pr(X <= 15)$",
"How to apply CSS to iframe? I have a simple page that has some iframe sections (to display RSS links). How can I apply the same CSS format from the main page to the page displayed in the iframe?",
"We all know that in an idealised world all objects accelerate at the same rate when dropped regardless of their mass. We also know that in reality (or more accurately, in air) a lead feather falls much faster than a duck's feather with exactly the same dimensions/structure etc. A loose explanation is that the increased mass of the lead feather somehow defeats the air resistance more effectively than the duck's feather. Is there a more formal mathematical explanation for why one falls faster than the other?",
"How to prove $\\text{Rank}(AB)\\leq \\min(\\text{Rank}(A), \\text{Rank}(B))$?",
"I was surprised to find today that I couldn't track down any simple way to write the contents of an InputStream to an OutputStream in Java. Obviously, the byte buffer code isn't difficult to write, but I suspect I'm just missing something which would make my life easier (and the code clearer). So, given an InputStream in and an OutputStream out, is there a simpler way to write the following? byte[] buffer = new byte[1024]; int len = in.read(buffer); while (len != -1) { out.write(buffer, 0, len); len = in.read(buffer); }",
"I am hearing my screen"
] | medi_sts_stackexchange_dupe |
Is there a way to run servlet Filter only once? | Using special auto start servlet to initialize on startup and share application data | [
"How would I prove that for all elements of a set {n | n ∈ ℕ ∧ n > 7} (all natural numbers greater than 7), there are multiples of 3 and 5 which, when added up, are equal to that element of the set? A := {n | n ∈ ℕ ∧ n > 7} ∀ n ∈ A: n = x*3 + y*5 I do understand why this is true: 8 = 1*3 + 1*5 9 = 3*3 + 0*5 ... 15 = 0*3 + 3*5 and this pattern repeats once 16 is reached, as 8 can be replaced with 1*3 + 1*5, so I'd basically have to add 1 to x and y for every time 8 fits in n. I am however not sure how I can formulate this mathematically correct. Thanks in advance, CrushedPixel",
"I found Sean Carroll's \"A No Nonsense Introduction to General Relativity\" (about page . pdf ), a 24-page overview of the topic, very helpful for beginning study. It all got me over the hump of learning the meaning of various terms associated with GR, most of which I had heard before without understanding. It also outlined the most important examples. Is there a similar document for quantum field theory, which presents the main equations, briefly describes the main ideas, and summarizes the most important applications and results so that the reader can feel the lay of the land before studying in depth?",
"Line breaking with hyperref href with an underline in itemize I have a simple itemized list like the following MWE: \\documentclass[10pt,a4paper]{article} \\usepackage[utf8]{inputenc} \\usepackage{amsmath} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{graphicx} \\usepackage{hyperref} \\usepackage{lmodern} \\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \\usepackage{lipsum} \\begin{document} \\begin{itemize} \\item \\href{http://google.com}{[ID1]: \\underline{\\lipsum[1]}} \\end{itemize} \\end{document} This unfortunately doesn't break the block of text as expected, as shown below: How can I fix this item so it will line break properly?",
"I am trying to use the AwesomeCV template () for creating a CV using TexMaker 5.0.3 with XeLaTex. However, I am not able to get this to work as I get the following error messages: Does anyone know what the source of problem might be and how to solve it? Thanks a lot in advance, Cheers",
"Why don't we have an isomorphism between $R[x]$ and $ R[[x]]$?",
"Flag pop-up hidden beneath answer box (and it's still transparent!)",
"In an extract I am dealing with, I have 2 datetime columns. One column stores the dates and another the times as shown. How can I query the table to combine these two fields into 1 column of type datetime? Dates 2009-03-12 00:00:00.000 2009-03-26 00:00:00.000 2009-03-26 00:00:00.000 Times 1899-12-30 12:30:00.000 1899-12-30 10:00:00.000 1899-12-30 10:00:00.000",
"I have a JavaScript object like the following: var p = { \"p1\": \"value1\", \"p2\": \"value2\", \"p3\": \"value3\" }; Now I want to loop through all p elements (p1, p2, p3...) And get their keys and values. How can I do that? I can modify the JavaScript object if necessary. My ultimate goal is to loop through some key value pairs and if possible I want to avoid using eval.",
"The bug displayed in the attached screenshot occurs consistently for me while running the developer beta of iOS 10 using v1.5.2 of the Stack Exchange app on an iPhone 6. I was able to recreate this by simply tapping on any question or answer in my feed with a long title. This doesn't appear to be a bug with iOS 10 itself since I haven't seen it in other apps, but I could be wrong.",
"How to edit 'etc/hosts' file in non-rooted phone?",
"I rent a VPS that uses a SSD of 10GB (Debian 7) and I upgraded yesterday to their \"second tier\" plan that uses a 20GB disk. However, the \"one-click-upgrade\" process didn't work as I expected and what they did was to move my data to a bigger drive without actually extending the partitions. So now I have 10GB of unallocated space. I do run around 5 websites on this VPS with mail accounts and all that jazz and I'm very scared to mess up anything so I called their support and they offered to do the job for me for 80 EUR that I find unacceptable since I thought it was included when doing the upgrade. Their older offers from last year used to be just a one click job but the excuse is that \"SSD's are different, so it's up to the user\". Anyway, how can I actually do that without screwing things up and is it possible to do that on a \"live\" system? I know a couple of commands so here it goes what I could find: root@vpsxxxxxx:~# df -h Filesystem Size Used Avail Use% Mounted on rootfs 9.9G 7.6G 1.8G 81% / udev 10M 0 10M 0% /dev tmpfs 388M 200K 388M 1% /run /dev/vda1 9.9G 7.6G 1.8G 81% / tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 775M 0 775M 0% /run/shm /dev/vda1 9.9G 7.6G 1.8G 81% /var/www/clients/client2/web2/log /dev/vda1 9.9G 7.6G 1.8G 81% /var/www/clients/client1/web3/log /dev/vda1 9.9G 7.6G 1.8G 81% /var/www/clients/client3/web5/log /dev/vda1 9.9G 7.6G 1.8G 81% /var/www/clients/client5/web7/log /dev/vda1 9.9G 7.6G 1.8G 81% /var/www/clients/client4/web6/log root@vpsxxxxxx:~# fdisk -l Disk /dev/vda: 21.5 GB, 21474836480 bytes 4 heads, 32 sectors/track, 327680 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/vda1 * 2048 41943039 20970496 83 Linux root@vpsxxxxxx:~# sfdisk -l Disk /dev/vda: 41610 cylinders, 16 heads, 63 sectors/track Warning: The partition table looks like it was made for C/H/S=*/4/32 (instead of 41610/16/63). For this listing I'll assume that geometry. Units = cylinders of 65536 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/vda1 * 16 327679 327664 20970496 83 Linux /dev/vda2 0 - 0 0 0 Empty /dev/vda3 0 - 0 0 0 Empty /dev/vda4 0 - 0 0 0 Empty",
"Windows update doesn't progress beyond 0 KB 0% I have Windows 7 64-bit and the isn't working properly. What can I do?",
"When is the past perfect exactly needed?",
"Setting Objects to Null/Nothing after use in .NET Should you set all the objects to null (Nothing in VB.NET) once you have finished with them? I understand that in .NET it is essential to dispose of any instances of objects that implement the IDisposable interface to release some resources although the object can still be something after it is disposed (hence the isDisposed property in forms), so I assume it can still reside in memory or at least in part? I also know that when an object goes out of scope it is then marked for collection ready for the next pass of the garbage collector (although this may take time). So with this in mind will setting it to null speed up the system releasing the memory as it does not have to work out that it is no longer in scope and are they any bad side effects? MSDN articles never do this in examples and currently I do this as I cannot see the harm. However I have come across a mixture of opinions so any comments are useful.",
"Words to describe people with good/poor vocabularies Words to describe people with good/poor vocabularies. I am looking for words which I can use to describe characters and I would also like to describe their vocabularies, and explain how their vocabularies stem from their upbringing",
"Question: Suppose that $R$ is a commutative ring without zero-divisors. Show that the characteristic of $R$ is either $0$ or prime. I have established that every element in a commutative ring $R$ without zero divisors have the same additive order $n$. Now, if no such additive order n exists, then the characteristic of $R$ is $0$. Obviously, if a finite additive order exists, Char of $R$ is finite. How do I show that Char of $R$ is prime? It probably involves lagrange's theorem and the order of the element in $R$. Hint is appreciated. Thanks in advance.",
"What is the current state of apple device (iPhone, iPod, etc.) support? What ubuntu applications provide support? (guides, how to's, status) Also, specifically, details on support for syncing music to iPhone's and iPod's with the latest OS version: Can you sync music to apple devices using >iOS4? (iPhone & iPod) What applications allow you to do this and how? (guides, how to's, status) What has already been established is: Apple does not support Linux and has no plans to. provides some support, however it currently does not support music/video synchronization with devices >iOS4. Go to and scroll to the section titled \"\" to see if your device version is supported.",
"If $I$ and $J$ are ideals in a ring $R$ with $1$ such that $I+J = R$, show that $I^m$ and $J^n$ are co-maximal for all $m,n \\in \\mathbb{N}$ If $I$ and $J$ are ideals in a ring $R$ with 1 which are co-maximal, i.e $I+J = R$, show that $I^m$ and $J^n$ are co-maximal for all $m,n$ in $\\mathbb{N}$ Work done: Should I proceed using By taking $$K=I^m+J^m \\neq R$$ Let $$S=\\{I,J \\in R \\mid I^m+J^n \\neq R \\}$$ be the required partially order set ordered by inclusion then $$I+J \\subseteq I^n+J \\subseteq I^n+J^m \\subseteq \\ldots $$ Then, I think this chain doesn't have an upper bound...as $I^m+J^n \\neq R$ for all $ m,n \\in \\mathbb N$. Am I right?? Thanks for any help!!",
"The ring $\\Bbb Z\\left [\\frac{-1+\\sqrt{-19}}{2}\\right ]$ is not a Euclidean domain",
"Find count of all combination of numbers whose sum is x"
] | medi_sts_stackexchange_dupe |
Radial scaling towards an inner circle | Photoshop resize circularly | [
"I know how to detect when resistors are arranged in parallel or series arrangement and I can also find their equivalent resistance in simple circuits or when resistances are connected in form of triangle but what happens when the arrangement is complex like this : Which resistors are parallel and which are in series ? How can I find the equivalent resistance in such cases ? Is there rule or method for figuring this out ?",
"Is there a way to disable a specific JS script from a specific website? I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?",
"Remotely changing hard drive boot order, windows 7 I have one workstation chassis with two hard drives. Depending on which one I boot from, I get one of two different operating systems: both are windows 7, but they have different static IPs, serve totally different purposes, etc. The workstation has a modern asus motherboard, core i7 intel CPU, 32 GB ram. Is there a way to remotely change which hard drive is booted from on a reboot? Both systems have remote users, and i'd like a solution that is more elegant than being physically present and selecting boot order manually.",
"Including Interaction Terms in Random Forest Suppose we have a response Y and predictors X1,....,Xn. If we were to try to fit Y via a linear model of X1,....,Xn, and it just so happened that the true relationship between Y and X1,...,Xn wasn't linear, we might be able to fix the model by transforming the X's somehow and then fitting the model. Moreover, if it just so happened that the X1,...,XN didn't affect y independent of the other features, we also might be able to improve the model by including interaction terms, x1*x3 or x1*x4*x7 or something of the like. So in the linear case, interaction terms might bring value by fixing non-linearity or independence violations between the response and the features. However, Random Forests don't really make these assumptions. Is including interaction terms important when fitting a Random Forest? Or will just including the individual terms and choosing appropriate parameters allow Random Forests to capture these relationships?",
"Do Stack Exchange sites allow editing of comments and posts from other users? Possible Duplicate: Is this normal behavior in Stack Exchange sites that after just signing up one can edit not only his/her own comments / posts, but also others' comments / posts? If so, then the Q&A does not look safe to me. Imagine someone maliciously modifying a post and bringing bad reputation on a Q&A member. Can you check this and perhaps fix it?",
"A simple stupid question that I should already know the answer to: Is this true: $\\left|z^5\\right| = \\left|z\\right|^5$ where z is a complex number with a non-zero imaginary component. Thanks in advance.",
"I see these two expressions are used almost identically in different contexts. Is there a difference between I have got and I have gotten?",
"set fontsize for TikZ figure I have made many figures with tikz and want to include them in a template. Unfortunately I used ex as a measure and the template I have to use redefines the font size. THis leads to wrong distances in the figures. is there a way to set the font size for all tikz figures in a document, so I do not have to adjust my figures?",
"How can I attach a file to a post?",
"Assuming I have a Czech license and break a minor law in Germany which incurs me a certain number of \"violation points\" (e.g. speeding), would those points be eventually transferred to my Czech license? I would obviously have to pay the fine (either on the spot or by mail), but it's not clear if EU countries exchange data on traffic points. I would limit the scope to EU/EEA license holders driving within the EU/EEA, to avoid an overly broad question. Also assume that the person in question is resident in his home country and is only visiting other EU/EEA countries as a tourist.",
"Evaluating $\\int_0^\\infty \\frac{\\log (1+x)}{1+x^2}dx$ Can this integral be solved with contour integral or by some application of residue theorem? $$\\int_0^\\infty \\frac{\\log (1+x)}{1+x^2}dx = \\frac{\\pi}{4}\\log 2 + \\text{Catalan constant}$$ It has two poles at $\\pm i$ and branch point of $-1$ while the integral is to be evaluated from $0\\to \\infty$. How to get $\\text{Catalan Constant}$? Please give some hints.",
"How to complain about a user? I and a user was rude to me in a comment and in an answer. Even though I can't downvote, that answer got -5 and it was automatically deleted. I want to complain about that user. How can I do that?",
"Filling HTML dropdown list in JSP with values fetched from database in Servlet",
"I remember a story I have read buy could not remember the author the name or anything apart from the basic plot. The story is about some future where humanity has to fight with some aliens (not 100% sure). The story tells about a guy who was some kind of activist and who was in a prison two or more times and somehow helped humanity by being held in a prison (can't remember details). I think the story starts by saying that there is a statue in his honor that is not very well known but he did more to help humanity than famous politicians. The story is most likely written by some famous English-speaking author, though I read it in a translation.",
"I'm playing as a khajit in skyrim, going to assassinate Beitlid in Dawnstar. Now, the first time I did it on her porch and just killed her with the Blade of Woe. I got caught somehow, whatever, so I loaded a previous save because mid-jailbreak the guards decided to just attack instead of attempt an arrest. Then I tried sniping her... and now my arrows have FED, Flight Erectile Dysfunction. They fly... like two feet before suddenly dropping off. It's weird. It doesn't matter how long I hold the trigger, it just droops.",
"Why doesn't C# support implied generic types on class constructors? C# doesn't require you to specify a generic type parameter if the compiler can infer it, for instance: List<int> myInts = new List<int> {0,1,1, 2,3,5,8,13,21,34,55,89,144,233,377, 610,987,1597,2584,4181,6765}; //this statement is clunky List<string> myStrings = myInts. Select<int,string>( i => i.ToString() ). ToList<string>(); //the type is inferred from the lambda expression //the compiler knows that it's taking an int and //returning a string List<string> myStrings = myInts. Select( i => i.ToString() ). ToList(); This is needed for anonymous types where you don't know what the type parameter would be (in intellisense it shows up as 'a) because it's added by the compiler. Class-level type parameters don't let you do this: //sample generic class public class GenericDemo<T> { public GenericDemo ( T value ) { GenericTypedProperty = value; } public T GenericTypedProperty {get; set;} } //why can't I do: int anIntValue = 4181; var item = new GenericDemo( anIntValue ); //type inference fails //however I can create a wrapper like this: public static GenericDemo<T> Create<T> ( T value ) { return new GenericDemo<T> ( value ); } //then this works - type inference on the method compiles var item = Create( anIntValue ); Why doesn't C# support this class level generic type inference?",
"How can I upgrade to Java 1.8 on an Amazon Linux Server? I tried sudo yum update but it just keeps java \"1.7.0_75\". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's not much information on this on the internet as far as I can see. Specs: java version \"1.7.0_75\" OpenJDK Runtime Environment (amzn-2.5.4.0.53.amzn1-x86_64 u75-b13) OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode) When I try update now: [ec2-________]$ sudo yum update Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00 amzn-updates/latest | 2.3 kB 00:00 No packages marked for update Is there anything else I need to do? Thanks.",
"So we learned telescoping series in class and I came across this question in my textbook and I tried to evaluate it, but I don't understand how to do it. $$ \\sum\\limits_{k=1}^n\\left(k \\cdot k!\\right) $$ According to the answers: $$ \\sum\\limits_{k=1}^n\\left(k \\cdot k!\\right) = (n+1)! - 1 $$ We learned how to simplify certain telescoping series using partial fractions but I don't have any idea on how to start this question.",
"Why define an anonymous function and pass it jQuery as the argument?",
"Integral $ \\int_{-\\infty}^{\\infty}\\frac{x^{2}}{\\cosh\\left(x\\right)}\\,{\\rm d}x $ I need to compute the improper integral $$ \\int_{-\\infty}^{\\infty}\\frac{x^{2}}{\\cosh\\left(x\\right)}\\,{\\rm d}x $$ using contour integration and possibly principal values. Trying to approach this as I would normally approach evaluating an improper integral using contour integration doesn't work here, and doesn't really give me any clues as to how I should do it. This normal approach is namely evaluating the contour integral $$ \\oint_{C}{\\frac{z^2}{\\cosh\\left(z\\right)}\\mathrm{d}z} $$ using a semicircle in the upper-half plane centered at the origin, but the semicircular part of this contour integral does not vanish since $\\cosh\\left(z\\right)$ has period $2\\pi\\mathrm{i}$ and there are infinitely-many poles of the integrand along the imaginary axis given by $-\\pi\\mathrm{i}/2 + 2n\\pi\\mathrm{i}$ and $\\pi\\mathrm{i}/2 + 2n\\pi\\mathrm{i}$ for $n \\in \\mathbb{Z}$. The residues of the integrand at these simple poles are $-\\frac{1}{4}\\mathrm{i}\\pi^{2}\\left(1 - 4n\\right)^{2}$ and $\\frac{1}{4}\\mathrm{i}\\left(4\\pi n + \\pi\\right)^{2}$, so that even when we add up all of the poles, we have the sum $4\\pi^{2}\\mathrm{i}\\sum_{n = 0}^{\\infty}\\,n$, which clearly diverges. Any hints would be greatly appreciated."
] | medi_sts_stackexchange_dupe |
Why isn't this very simple JQuery working? | Register On-Click Event with jQuery - Not Firing | [
"PDOException “could not find driver”",
"Understanding linear regression In class we've seen that $a$ (the weights) must satisfy $$X^T (y-Xa) =0$$ Here $X$ is a $(n\\times d)$ matrix (so we have $n$ samples in $\\mathbb R^d$) let's denote the residuals $r = y-Xa$. In our class notes, it is written that The normal equations require the residuals to be orthogonal to each of the columns of $X$. Why? Therefore, the solution of the linear regression is a projection of $y$ onto the subspace spanned by $v_1 , \\ldots , v_d$ (the columns of $X$) Can you please explain this?",
"Plugin or brush for transforming a photo to a fractal in gimp? Folks, I've been looking all over for a plugin or brush that will help me take a photo and reduce it to that 'electric look' (or fractal?) that i'm seeing in various places. I'd vastly prefer one for Gimp. Does anyone know how these are being done? I'm seening references to fractalius for photoshop, but what about gimp? Examples:",
"How do I remove all attributes which are undefined or null in a JavaScript object? (Question is similar to for Arrays)",
"How to interleave the lines of two or more files? I have tried to get the 2 files output in a single file. I have tried below command: cat file1 file2 but here file2 data is appending to file1. What I need is file1 1st line followed by file2 first line, and file1 second line followed by file2 second line etc. Can anybody tell me how to do this in a simple way?",
"Why is the word 'number' abbreviated to 'No.' in UK English and '#' in American English?",
"Single word to denote date and time I want one word that means Date and Time. For example in \"the date and time of the event will be announced later\" I want to use single word instead of \"date and time\"",
"Remove subscribers from Auto Suppression List",
"How can I save application settings in a Windows Forms application?",
"I am looking for an application which can do the following: Resize one or more images Compress images Rotate and flip images Rename multiple images using a progressive number or a prefix/suffix Convert an entire PDF file to a bunch images Extract an image from a Windows .ico file Convert images to DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, TIFF, and other formats I am running Ubuntu GNOME 15.10 with GNOME 3.18.",
"In is a proof of Stirling's formula. I really like most of it, but at a crucial step he uses the integral identity $$n! = \\int_{0}^{\\infty} t^n e^{-t} dt$$ , coming from the Gamma function. I have a mathematical confession to make: I have never \"grokked\" this identity. Why should I expect the integral on the right to give me the number of elements in the symmetric group on $n$ letters? (It's not that I don't know how to prove it. It's quite fun to prove; my favorite proof observes that it is equivalent to the integral identity $\\int_{0}^{\\infty} e^{(x-1)t} dt = \\frac{1}{1 - x}$. But if someone were to ask me, \"Yes, but why, really?\" I would have no idea what to say.) So what are more intuitive ways of thinking about this identity? Is there a probabilistic interpretation? What kind of random variable has probability density function $\\frac{t^n}{n!} e^{-t}$? (What does this all have to do with Tate's thesis?) As a rough measure of what I'm looking for, your answer should make it obvious that $t^n e^{-t}$ attains its maximum at $t = n$. Edit: The kind of explanation I'm looking for, as I described in the comments, is similar to of the beta integral.",
"Ok... so this is embarrassing. I typed in \"boobs\" on EncyclopediaDramatica's search because, well, it's a really funny page. But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows \"boobs\" as the first suggestion in the drop down! This is not really socially acceptable as this laptop goes with me everywhere and Chrome is my primary browser. Is there a way I can isolate and remove just that one entry?",
"I would like to know if it's possible to win in Don't Starve? Or is it just the matter of how long until you die?",
"InputStream returning NullPointerException (Java)",
"How to vertically align an image inside a div",
"The startup disk cannot be partitioned or restored to a single partition. Windows 10 and Mojave The startup disk cannot be partitioned or restored to a single partition. The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows. I had installed Windows 10 via bootcamp in my mac. Current version is 10.14.1 Now I don't want windows and need that space back but getting above error when I go bootcamp to remove it. This is the output of diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *251.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk1 181.3 GB disk0s2 3: Microsoft Basic Data BOOTCAMP 60.3 GB disk0s3 4: Windows Recovery 509.6 MB disk0s4 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +181.3 GB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD 116.4 GB disk1s1 2: APFS Volume Preboot 44.6 MB disk1s2 3: APFS Volume Recovery 512.8 MB disk1s3 4: APFS Volume VM 4.3 GB disk1s4 And this is of diskutil cs list No CoreStorage logical volume groups found Can anybody please help me to solve this problem? Output after I tried commands given in the first answer ❯ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *251.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk1 250.8 GB disk0s2 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +250.8 GB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD 116.4 GB disk1s1 2: APFS Volume Preboot 44.6 MB disk1s2 3: APFS Volume Recovery 512.8 MB disk1s3 4: APFS Volume VM 3.2 GB disk1s4",
"A non-blocking read on a subprocess.PIPE in Python I'm using the to start a subprocess and connect to its output stream (standard output). I want to be able to execute non-blocking reads on its standard output. Is there a way to make .readline non-blocking or to check if there is data on the stream before I invoke .readline? I'd like this to be portable or at least work under Windows and Linux. Here is how I do it for now (it's blocking on the .readline if no data is available): p = subprocess.Popen('myprogram.exe', stdout = subprocess.PIPE) output_str = p.stdout.readline()",
"Is there a schematic overview of Ubuntu's architecture? as enthusiastic, advanced Linux learner, I'd love to get an overview about Linux' architecure/structure in general. You know, like \"the big picture\". I'm thinking of a large schematic graphic showing what is what, who is who, what system (e.g. X) comprises which subsystems (GDM/Gnome/Compiz) on the way from a to z, from boot to interactive desktop, including the most important background services (auth, network, cron, ...). Maybe a bit like this: but way more detailed. There's bootchart, which produces very comprehensive charts, but they again are too detailed and difficult to get the \"big picture\" from. Is there such a thing? Possibly not for the whole System, but maybe for single subsystems? I had trouble searching for this, because using search terms like \"scheme\" or \"architecture\" pointed to the wrong direction (a tool called \"scheme\" or CAD software for linux). I appreciate any links. If there's interest in those schematic overviews and links, maybe someone could turn this post into a wiki post?",
"Equivalent of shell 'cd' command to change the working directory? cd is the shell command to change the working directory. How do I change the current working directory in Python?",
"Why can two (or more) electric field lines never cross?"
] | medi_sts_stackexchange_dupe |
Ubuntu 16.04 and Eclipse Mars menu problem | Eclipse not working in 16.04 | [
"Run command whenever someone joins a Minecraft server",
"Help ID this plant, quite possibly a weed I found this plant near my South Indian home in , India. Most probably it could be some sort of weed. Anyhoo, is this plant of any medical or commercial value? Is it a remedy for something? It has a white tap root with little veins off the main root It has a really small yellow flower It's leaves are similar to that of a clover, except for that it has three to five leaves Merci d'avance! (P.S. Forgive me if this is some very common plant that I should know about, I'm in 7th grade.)",
"Why is this match pattern unreachable when using non-literal patterns?",
"My Realtek NIC in my Windows Home Server (essentially w2k3) box refuses to run at 1000Mb/s even if I change the driver settings from Auto Negotion to 1000Mb/s full duplex. I've installed the latest driver and tried changing the speed setting but I'm having no luck. Not sure what to try next. Any ideas? I have a Netgear GS605 v2 Switch supports 10/100/1000 D Link DIR 655 router. All my machines bar one/2 have 1000Mb/s NICs (Old laptop/Xbox being the exceptions) The reason I noticed the problem was because I was copying files between two machines and maxing one NIC out and only seeing 10% on the other machine. I do have a fairly lengthy cable between the switch and the router (maybe 20m) could that be the issue?",
"\"It's cold today\" -- what term do linguists use to call \"it\" when it's used as the subject of a sentence, but has no real antecedent?",
"Is there an equivalent of 'which' on the Windows command line? As I sometimes have path problems, where one of my own cmd scripts is hidden (shadowed) by another program (earlier on the path), I would like to be able to find the full path to a program on the Windows command line, given just its name. Is there an equivalent to the UNIX command 'which'? On UNIX, which command prints the full path of the given command to easily find and repair these shadowing problems.",
"Combine 4 cells in a table Here is a simple table. I want to merge 4 cells. I want to combine the three \"this\" cells area in this table. I thought I have to use multirow and multicolum at same time. However, I could not find how to use it. If possible, could you post the modified LaTeX source code? My LaTeX code: \\documentclass{article} \\usepackage{multirow}% http://ctan.org/pkg/multirow \\usepackage{hhline}% http://ctan.org/pkg/hhline \\begin{document} \\begin{table}[ph] \\begin{center} \\begin{tabular}{c|c|c|c|c} \\hline \\multirow{2}{*}{Raaa (k)} & \\multicolumn{4}{c}{C ()} \\\\ \\hhline{~----} & 3.3 & 2.5 & 1 & 0.5 \\\\ \\hline \\multirow{2}{*}{Raaa (k)} & \\multirow{2}{*}{this} & this & 0.5 & 0.6\\\\ \\hhline{~~~--} & & this & 0.7 & 1.2 \\\\ \\hline \\end{tabular} \\caption{R, C ripple size} \\label{T:peak} \\end{center} \\end{table} \\end{document}",
"Many spells have \"At higher levels\" that provides for more targets or more damage. For example Magic Missile can be cast as a second level spell and shoot 4 missiles instead of it's 3 as a first level spell. Can a spell without that verbiage, such as Firestorm be cast in higher level slots for the same effect as the lower level spell?",
"Find the infinite sum of the series $\\sum_{n=1}^\\infty \\frac{1}{n^2 +1}$ This is a homework question whereby I am supposed to evaluate: $$\\sum_{n=1}^\\infty \\frac{1}{n^2 +1}$$ Wolfram Alpha outputs the answer as $$\\frac{1}{2}(\\pi \\coth(\\pi) - 1)$$ But I have no idea how to get there. Tried partial fractions (by splitting into imaginary components), tried comparing with the Basel problem (turns out there's little similarities), nothing worked.",
"I've tried to read and understand this: As a test, since my layout is \"Polish, programmer\" in the /usr/share/X11/xkb/symbols/pl file I played with remapping the 'q' character to 'x', and it worked just fine. But what I want, is to remap LWIN (Left Super) to Left Control. So I tried this: I started editing /usr/share/X11/xkb/symbols/pc file, assuming this is the 'root' of all the other files. Commented out this line: //key <LWIN> { [ Super_L ] }; and added this one: key <LWIN> { [ Control_L ] }; and rebooted PC, with no success. I.e. LWIN + C, doesn't copy selected text in text editors to clipboard, instead it just produces the 'c' letter. In the terminal instead of stopping current programm it also just produces the 'c' letter. Here is my config file: When I try the xev command and then press the Left Control Key, I see this: KeyPress event, serial 40, synthetic NO, window 0x5a00001, root 0x7e, subw 0x0, time 1053321, (374,-259), root:(374,545), state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES, XKeysymToKeycode returns keycode: 37 XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x5a00001, root 0x7e, subw 0x0, time 1053425, (374,-259), root:(374,545), state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES, XKeysymToKeycode returns keycode: 37 XLookupString gives 0 bytes: XFilterEvent returns: False BTW. Ask ubuntu suggests me two links to similar questions, but they are old, and suggest using xmodmap, and afaik it's no longer correct answer on Ubuntu >= 16.04 (Xenial) and this is precisely the version I have. BTW2. I would really like to avoid using apps like Xbindkeys, considering there is a built in solution, which I guess I almost understand, and already spent some time on trying to understand it.",
"Adding only specific text from a file to an array list, part 2 - Java",
"Why does my wife's skin buzz when she's using her laptop?",
"When editing a question on , I observed that a link which was not rendered in the post was hyperlinked in the edit preview (see pictures below). I tried reproducing it in the to see if this also happens when the post is posted for the first time and observed the same. It seems to be a bug after the shift to CommonMark, leading to the different rendering of links on client and server-side. A link following a special character (without any space) is not hyperlinked in the post but is hyperlinked in the preview. A link separated from the special character with a white space appears to have no such problem. (see pictures below and my ). Link not hyperlinked in post Same link hyperlinked in preview",
"When you suggest an edit to a post and view the post while it's pending, . But as noted in the , this linking hasn't been implemented for tag wikis/excerpts yet, partly because there are potentially two links to include and the wording is not entirely obvious, and partly because they're orders of magnitude less common. Here's my suggested wording for the three cases. Tag wiki excerpt only Thanks for your edit! This edit will be visible only to you until it is . Tag wiki only Thanks for your edit! This edit will be visible only to you until it is . Both Thanks for your edit! These edits will be visible only to you until they are peer reviewed (, ). I can't directly address the prioritization of tag wiki edits, but I'd appreciate the corresponding or mark, at least.",
"Can someone use DC generator along with electric motor to make electricity along with mechanical energy? I know this might sound stupid and maybe stupid totally, but I need some clarification.... I came through electric motor principle. and then I came across the following link on DC generators Now my question is, can't we combine them both to provide DC current with little DC used in motor side? By \"combine,\" I mean using a DC generator coil only at the other side of the coil of the motor in the motor itself. The condition is that the 2 coils are connected via some apparatus that causes the 2nd coil to move along with the 1st coil. In this way we can use both the mechanical energy produced by the 1st coil and the electrical energy produced by the 2nd coil, right? This is a great concept if it works, right? Please throw some light on this.",
"Matrix in a matrix I would like to draw a matrix with top left, top right, bottom left and bottom right blocks. The top left should be a 3x3 matrix with numerical entries, the top right is 0, the bottom left is 0 and the bottom right is just a \"single\" entry uJ. Here is my attempt. $ \\left[ \\begin{array}{c|c} [\\begin{array{c|c|c} 0 & 0 & 2\\mathrm tr(MM^{*}) \\\\ 0 & 0 & -ua \\\\ u & -ua & 0 \\end{array}] & 0\\\\ \\hline 0 & uJ \\end{array}\\right]. $ I would like to emphasize that the non-top-left entries are not just single entries, but blocks, so I do not want to just make a 4 by 4 matrix with vlines and hlines and additional 0's.",
"Search engines and browser accept-language I'm building a web portal where language content will generally depend on the \"accept-language\" sent by the browser. The same content-URI will thus serve different content to different users depending on their browser setting. I'm very curious to know how this will affect search indexing. Does Google index using all languages, and is it handled well?",
"Is there a rhetorical term for remarks like \"you're exactly what I've come to expect from...\"? Is there a specific term for a statement that uses words such that their precise meaning conveys a subtext contrary to the colloquial meaning? For example, the joke in Men in Black: Gentlemen, congratulations. You're everything we've come to expect from years of government training. where the precise use of the words conveys a sarcastic meaning (ie that the candidates are inept because that's what he's come to expect from government training). I was going to use \"irony\" to describe this but then realized this is basically the opposite of irony - the use of words to convey their literal intention, when a nonliteral intention was expected.",
"Real Size Image Printing",
"had declared the sentence below as follow: 1) STAR TURN, 2) BEST LINES. I wish Bernard Cribbins was my grandad. Perhaps he would be willing to adopt? Rattigan: “If only that was possible.” The Doctor: “If only that were possible. Conditional clause.” Is 'was' after 'I wish', 'if only' and 'if' (in conditional clauses) colloquial? Does it be used in formal speech and writing?"
] | medi_sts_stackexchange_dupe |
If else statement involving two numbers in scientific notation | How to do integer & float calculations, in bash or other languages/frameworks? | [
"\"If $1/a + 1/b = 1 /c$ where $a, b, c$ are positive integers with no common factor, $(a + b)$ is the square of an integer\" If $1/a + 1/b = 1 /c$ where $a, b, c$ are positive integers with no common factor, $(a + b)$ is the square of an integer. I found this question in RMO 1992 paper ! Can anyone help me to prove this ? May be it's too easy and simple . But , I'm just novice in number theory !",
"Tool for cleaning LaTeX code Is there something like indent for LaTeX? I have a collaborator that is using Scientific Workplace and the code it produces is totally messed up; I know I shouldn't expect miracles, but any machine support would be useful. EDIT: This question is quite undefined without my comment to KeithB's answer; the idea is to save VC-friendly one sentence/one paragraph per text file line structure which SWT \"fixes\" by wrapping everything into fixed column width format.",
"Short sci-fi story of plan devised by marooned spaceship pilot to save paradise world from development Spaceship crashes on beautiful, remote planet. The pilot survives and lives quite well on the beautiful \"island paradise\" world amongst friendly, good-natured people... but, one day (while relaxing in a hammock near a beach) he \"realized he was dying\" (actually, that he would eventually die, then being unable to help the people he had come to love). He fears future \"discovery\" of his adopted world and the inevitable plundering of the resources and people by \"developers\"... so he devises... \"a plan\" \"convinced island elders to support his plan\" \"his students taught others\" \"achieved 80% literacy... a remarkable feat\" \"established world government\" \"more generous than developer expected\" \"successfully argued for independent status\" \"established 100% taxation rate\" \"finished resort buildings converted to school\" \"developer hired to build resort in isolated area\" ...'not having luck finding it... my recollection of the story is good, but apparently not EXACT/searchable phrases",
"How do I troubleshoot a Windows freeze or slowness? A machine is described as being \"really slow\" or \"freezing\". How can I troubleshoot/resolve this issue? What should be the first steps to take?",
"Is the CMB rest frame special? Where does it come from? It seems that we are . This is the speed of our galaxy relative to the cosmic microwave background. Where does this rest frame come from? Is this special in any way (i.e., an absolute frame)? EDIT: I think the more important question is "where does the CMB rest frame come from?".",
"How to replace plain URLs with links? I am using the function below to match URLs inside a given text and replace them for HTML links. The regular expression is working great, but currently I am only replacing the first match. How I can replace all the URL? I guess I should be using the exec command, but I did not really figure how to do it. function replaceURLWithHTMLLinks(text) { var exp = /(\\b(https?|ftp|file):\\/\\/[-A-Z0-9+&@#\\/%?=~_|!:,.;]*[-A-Z0-9+&@#\\/%=~_|])/i; return text.replace(exp,\"<a href='$1'>$1</a>\"); }",
"‘And what on earth’s a Squib?’ said Harry. To his surprise, Ron stifled a snigger. ‘Well – it’s not funny really – but as it’s Filch ...’ he said. ‘A Squib is someone who was born into a wizarding family but hasn’t got any magic powers. Kind of the opposite of Muggle-born wizards, but Squibs are quite unusual. If Filch’s trying to learn magic from a Kwikspell course, I reckon he must be a Squib. It would explain a lot. Like why he hates students so much.’ Ron gave a satisfied smile. ‘He’s bitter.’ Chamber of Secrets - pages 110-111 - British Hardcover If a Squib is 'kind of the opposite of a Muggle-born wizards' wouldn't that make a Squib more Muggle than wizard? Does a Muggle strictly have to be born to Muggle parents to be considered a Muggle, or can the lack of magic render a person, even of wizarding parentage, a Muggle? Hermione can say in all truthfulness that she is a 'Muggle-born witch.' The nickname (albeit derogatory) for a Muggle-born is 'Mudblood.' Filch can say in all truthfulness that he is a 'wizarding-born non-magic person,' which, according to Hagrid is a Muggle. 'Squib' may be derogatory in the same way as 'Mudblood' is. Neville laments his family thought he was a Squib when he showed no magical tendencies as a child; the Longbottoms were so rattled at the thought of Neville being a Squib that they, among other things, threw him out a second-story window to see if he would bounce. So could 'Squib' actually be a derogatory term meaning the opposite of 'Mudblood'? After all, the Ministry doesn't allow Squibs to register as magical beings, and many Squibs are schooled and trained in Muggle professions. Squibs don't get a Hogwarts letter. Wizards can be born to Muggles. Can Muggles be born to wizards? ETA 11.22.14: In regard to this question, I was glancing through Philosopher's Stone, and I came across this, that Neville said: ‘Well, my gran brought me up and she’s a witch,’ said Neville, ‘but the family thought I was all Muggle for ages. My great-uncle Algie kept trying to catch me off my guard and force some magic out of me – he pushed me off the end of Blackpool pier once, I nearly drowned – but nothing happened until I was eight.’ Philosopher's Stone - page 93 - Bloomsbury - chapter seven, The Sorting Hat Could what Neville says contribute to the theory and/or conclusion that Squibs are, or are not, Muggles? How do we apply what Neville said?",
"Show that if a function is not negative and its integral is $0$ than the function is $0$ Suppose $f$ is continuous, $f(x) \\ge 0$ on $[a,b]$ and $\\int_a^b f(x) dx=0$. Show that $f(x)=0$ on $[a,b]$. I know that if $f$ in continuous at $x_0$ and $f(x_0) > 0$, then there exists $\\delta > 0$ s.t. $f(x) \\ge \\frac{1}{2} f(x_0)$ for $|x-x_0| < \\delta$ and I think it should help me but I'm stuck at this point.",
"Lately my laptop (HP g42 247sb) screen is damaged, so I hook it up with an external monitor (LG something) and it works fine now. The only annoying thing is I cannot navigate the BIOS menu for some tweaking because the BIOS not shown on the external monitor, instead, it only shown on the broken laptop screen, and it only output to my external monitor when Windows/OS is logged-on. So, is there anyway I can force output during BIOS/BOOT/POST to my external monitor? Things I have done and didn't work: Set my LG monitor as primary display on both window properties and Intel Graphics panel Enter the BIOS (F10 key) and press the Fn+F4 key (change display output). Disable and uninstall my internal screen (broken laptop screen) using device manager and restart, but Windows (BIOS?) install it back on log-on. Closed lid/Magnet on sensor.",
"Conjugate class in the dihedral group",
"Cardinalities of the intervals $(-1,1)$ and $[-1,1]$",
"How to tell the probability of failure if there were no failures? I was wondering if there is a way to tell the probability of something failing (a product) if we have 100,000 products in the field for 1 year and with no failures? What is the probability that one of the next 10,000 products sold fail?",
"Does a (half) beheaded Ettin take bleeding damage of some sort? Let's say a character cuts off one of an Ettin's heads, but the other head is still intact, and it's as such still alive. Obviously, there's a lot of blood. Does the Ettin take continuous damage from naturally bleeding out? Or does it not work that way?",
"Write Python stdout to file immediately When trying to write the stdout from a Python script to a text file (python script.py > log), the text file is created when the command is started, but the actual content isn't written until the Python script finishes. For example: script.py: import time for i in range(10): print('bla') time.sleep(5) prints to stdout every 5 seconds when called with python script.py, but when I call python script.py > log, the size of the log file stays zero until the script finishes. Is it possible to directly write to the log file, such that you can follow the progress of the script (e.g. using tail)? EDIT It turns out that python -u script.py does the trick, I didn't know about the buffering of stdout.",
"When I visit a website it sometimes puts cookies on my browser. Usually cookies keep track of browsing info from that particular site. If I don't delete those cookies and browse other websites, will the cookies be able to know which site I am browsing? Also, can any website read browsing history which is saved by browsers? Can any website know about my browsing history by help of cookies, browsing histories saved by browsers, or by any scripting language e.g. javascript?",
"Here's my code: x = 1.0 y = 100000.0 print x/y My quotient displays as 1.00000e-05. Is there any way to suppress scientific notation and make it display as 0.00001? I'm going to use the result as a string.",
"Cardinality of a set A is strictly less than the cardinality of the power set of A",
"How to get the list of properties of a class?",
"How to reduce memory usage on a Unix webserver I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, 512M swap). I wasn't too far over them yesterday, but after restarting Apache several times today, I'm now 411M rss, 721M swap (prstat -Z -s cpu). Searching in Server Fault only gives me lots of ways and specific tools to monitor the server, but no advice on how to reduce/optimize it's memory usage. I've also seen , but I don't think it's good for this particular (or may I say generic?) situation. The server is running Solaris on a shared CPU, and I'm using a Apache + MySQL + PHP stack. I'm interested in knowing the steps one can take to troubleshot this and solve the issues. However, I'm also running out of time to lower my memory foot print and downgrade the plan before the current ends, so anything that can make magic and save the day is welcome as well :)",
"Using a naked black hole as a mirror? The YouTube video is a good example how the gravity of this merging binary black holes bend light around themselves."
] | medi_sts_stackexchange_dupe |
Why openjdk-10 is missing in 18.04 PPA where openjdk-11 is available? | Why is OpenJDK 10 packaged as openjdk-11-*? | [
"If a lens focuses all incoming light to a point, how do we get 2D images? How do lenses produce 2-dimensional images, if a lens bends all incoming rays of light to intersect at the focal point? Shouldn't this produce a single dot of light on a screen placed at the focal length? This is basically the standard diagram that always shows up in textbooks: I know this doesn't happen in real life--I used to use telescopes pretty frequently for work. The most in-focus image would be the one with the smallest diameters for the stars, which, of course, we think of point sources at infinity. But--the light from all stars (despite being at infinity) is not all focused at a single point. Instead, each star's light is focused at its own $(x,y)$ point on a 2D image. I can't reconcile the theory as I understand it with any of my real-life experience with optics. What am I missing?",
"Change all @username references in comments when a user changes their name? The fact that a user can change their name at will can lead to some confusion in the comments. For instance, suppose a user named \"foo\" changes his name to \"bar\", all those comments signed by \"foo\" are now signed by \"bar\", but responses to \"bar\"'s comments still start with \"@foo\". Could those \"@foo\" references in comments be changed to \"@bar\"? A brief discussion on this has set me straight. I didn't think it through. Request withdrawn.",
"The $n$ complex $n$th roots of a complex number $z$ Suppose $z$ is a nonzero complex number, so $z=re^{i\\theta}$. Show that there are only $n$ distinct complex $n$-th roots, given by $r^{1/n}e^{i(2\\pi k+\\theta)/n}$ for $0\\leq k\\leq n-1$. My proof: Let $z=re^{i\\theta}\\in\\mathbb{C}$ and $a\\in\\mathbb{C}$ s.t. $a^{n}=z$. Let $a=\\rho e^{i\\varphi}$. Then, $a^{n}=(\\rho e^{i\\varphi})^{n}$. Setting $\\rho^{n}e^{i\\varphi n}=re^{i\\theta}$ and rewriting in polar form, we get $$\\rho^{n}(\\cos(n\\varphi)+i\\sin(n\\varphi))=r(\\cos(θ)+i\\sin(\\theta)).$$ Thus $\\rho^{n}=r$ $\\rightarrow$ $\\rho=r^{1/n}$ and $n\\varphi=\\theta\\rightarrow\\varphi=\\theta/n$. Thus the roots of $a\\in\\mathbb{C}$ have the form $$r^{1/n}(\\cos(\\tfrac{\\theta}{n})+i\\sin(\\tfrac{\\theta}{n}))=r^{1/n}(\\cos(\\tfrac{\\theta}{n}+2\\pi j)+i\\sin(\\tfrac{\\theta}{n}+2\\pi j))$$ for some $j\\in\\mathbb{Z}$ due to the periodicity of trig functions. Then, $$r^{1/n}(\\cos(\\tfrac{\\theta}{n}+2\\pi j)+i\\sin(\\tfrac{\\theta}{n}+2\\pi j))=r^{1/n}e^{i\\left(2\\pi j+\\tfrac{\\theta}{n}\\right)}=r^{1/n}e^{i(\\theta+2\\pi k)/n}$$ for $0\\leq k\\leq n-1 ,j=nk\\in\\mathbb{Z} $. I feel like there could be a more concise way to put this.",
"Ubuntu Server 20.04 Nvidia Driver Dependencies I had a hard time installing Nvidia drivers in a fresh install of Ubuntu 20.04. Installing via sudo apt install nvidia-driver-430 resulted in a list of 542 packages to install. I ended up spending a bit of manual effort to get the Nvidia-provided driver installed without nearly so many dependencies (only had to install gcc and make). Is this massive number of dependencies normal for Ubuntu Server? I did a very vanilla install without the GUI. Reddit suggested I ask here, as their opinion is that I should just install from the default repos, but I felt that so many packages was absurd just to install a driver. Edit for clarity: installing the nvidia-driver-430 package appears to install the entire Gnome shell, which I feel is unnecessary on a server.",
"Dates and times: \"on\", \"in\", \"at\"? I’m often confused when I speak about times and dates. What is the rule for using on, in, and at in the following sentences? I will do it ___ Tuesday. We married ___ March. He returned ___ the same day. Every day ___ the same time, I walk the dog.",
"How to reduce VM size?",
"How do I capture the milky way? Can the milky way actually be photographed ? I know the image is manipulated, and is probably a composite, but how do you capture such contrast in the milky way? Is an equitorially mounted scope required? Any advice or pointers are welcome, thanks. I'm heading out towards much less light polluted areas middle of next week and I want to try some nighttime sky captures with my 7D. Additional info: I just found on wikipedia that says: 54s, tripod mounted 5D, 16mm lens, f/2.8, ISO800. What else do I need to be aware of? My 7D is only an APS-C and the widest lens I have is 19mm. I'm thinking that might not be wide enough to capture an interesting shot?",
"Riemann and Darboux Integral of a product of two functions",
"I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work. Running the lspci -vv | grep Atheros command from the terminal shows me I have the AR8161 Gigabit Ethernet controller: 02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08) This looks like a new product whose drivers are not built into Ubuntu. How do I install drivers to get the AR8161 working?",
"Random spawn location despite sleeping in a bed I am trying to make Minecraft harder, and one of the ways I wish to do this is to have a \"pseudo-hardcore\" mode where dying spawns you in a random location rather than completely locking you out of the world. I intend to do this by setting the spawn radius to be very high. However, I also want to make this \"bed-proof\" - that is, if someone places a bed and sleeps in it, I want the player to still be spawned in a random location, regardless of their personal spawn point. How do I do this? Command blocks are fine, but data packs are not preferred.",
"how many terms will there be once you collect terms with equal monomials? What is the sum of all the coefficients?",
"Prove $(a^2+b^2)(c^2+d^2)\\ge (ac+bd)^2$ for all $a,b,c,d\\in\\mathbb{R}$. Prove $(a^2+b^2)(c^2+d^2)\\ge (ac+bd)^2$ for all $a,b,c,d\\in\\mathbb{R}$. So $(a^2+b^2)(c^2+d^2) = a^2c^2+a^2d^2+b^2c^2+b^2d^2$ and $(ac+bd)^2 = a^2c^2+2acbd+b^2d^2$ So the problem is reduced to proving that $a^2d^2+b^2c^2\\ge2acbd$ but I am not sure how to show that",
"35km commute possible? Currently, on every other day I commute to work which is a distance of 18km each way. I enjoy this ride but next year I may be moving to a place which will be about 35km from work. Questions: 1) Would it still be reasonable to commute this kind of distance each way once I have moved? 2) Google maps estimates that this distance would take 2 hours to complete. Would it be possible (depending on the bike and fitness) to do this distance in about an hour?",
"How do I URL encode a string",
"Proving that $f(x) = g(x)$ for some $x \\in [a,b]$ if $f,g$ continuous, $f(a) g(b)$ Suppose $f$ and $g$ are continuous on $[a,b]$ and that $f(a) < g(a)$ but $f(b) > g(b)$. Prove that $f(x) = g(x)$ for some $x \\in [a,b]$. I did try and actually did get as far as coming up with $f-g$. Would I set $h(x)= f(x)- g(x)$ and say $h(a) <x< h(b)$?",
"Using Vim I often want to replace a block of code with a block that I just yanked. But when I delete the block of code that is to be replaced, that block itself goes into the register which erases the block I just yanked. So I've got in the habit of yanking, then inserting, then deleting what I didn't want, but with large blocks of code this gets messy trying to keep the inserted block and the block to delete separate. So what is the slickest and quickest way to replace text in Vim? is there a way to delete text without putting it into the register? is there a way to say e.g. \"replace next word\" or \"replace up to next paragraph\" or is the best way to somehow use the multi-register feature?",
"Was Daenerys actually trying to hatch the eggs? I was reading @Aegon' s response and I realized that I've never been clear on whether Dani was intentional in her pyre building to do blood magic and wake the dragons, or if she was just grieving Drogo and killing Mirri and her statement about \"only death can pay for life\" was a slap in the Maegi's face, since in the end she sacrificed her unborn child for the husk of Drogo. I know she had tried baking the eggs previously and had felt like they could hatch then, but was clearly disappointed and chastised herself for foolishness when they did not. I don't recall inner monologue or statements after that where she said, \"ya know what I should have done...\" I guess what I'm asking is whether there is evidence outside her statement to the Maegi that she was intentional in her blood magic rite or if the miracle was a happy accident?",
"Can my friend and I play minecraft together with different mods?",
"Difference between Sort and SortBy",
"Can I use one of my attacks to cast a cantrip? In the D&D campaign I am currently participating in, I am playing as a level 5 high elf champion (I actually just reached level 5 at the end of the last session). As a High Elf, I got a free cantrip at first level, and chose the firebolt cantrip. Here's what I'm wondering now: for the purposes of the extra attack feature, does firebolt (and similar cantrips) count as an attack?"
] | medi_sts_stackexchange_dupe |
Citation undefined | Question mark or bold citation key instead of citation number | [
"$X=(-\\infty,0]\\cup\\left\\{{1\\over n}:n\\in\\mathbb N\\right\\}$ with subspace topology Then $X=(-\\infty,0]\\cup\\left\\{{1\\over n}:n\\in\\mathbb N\\right\\}$ with subspace topology. Then $0$ is an isolated point $(-2,0]$ is an open set $0$ is a limit point of the subset $\\left\\{{1\\over n}:n\\in\\mathbb N\\right\\}$ $(-2,0)$ is open set. $0$ is not an isolated point of $X$ as every nbd of $0$ contains a point of the form $1\\over n$ so $3$ is true and $1$ is false, $2$ is false as $0$ is not interior point, $4$ is true as every point is interior point. Am i right?",
"Feedback Request: New Timeline Question View",
"Why do professional print houses use gamut-limiting CMYK?",
"While trying some problems along with my friends we had difficulty in this question. True or False: The value of the infinite product $$\\prod\\limits_{n=2}^{\\infty} \\biggl(1-\\frac{1}{n^{2}}\\biggr)$$ is $1$. I couldn't do it and my friend justified it by saying that since the terms in the product have values less than $1$, so the value of the product can never be $1$. I don't know whether this justification is correct or not. But i referred to Tom Apostol's Mathematical Analysis book and found a theorem which states, that The infinite product $\\prod(1-a_{n})$ converges if the series $\\sum a_{n}$ converges. This assures that the above product converges. Could anyone help me in finding out where it converges to? And, Does there exist a function $f$ in $\\mathbb{N}$ ( like $n^{2}$, $n^{3}$) such that $\\displaystyle \\prod\\limits_{n=1}^{\\infty} \\Bigl(1-\\frac{1}{f(n)}\\Bigr)$ has the value $1$?",
"How to test multiple variables against a single value?",
"I am travelling to Athens, Greece, shortly, and have seen . Should I be worried? Should I cancel my trip? Update It's fine, taxis are currently on strike, but Syntagma Sqaure is fine:",
"PHP mysqli_fetch_field data type",
"Mint 18 will boot only to a black screen",
"How do you access the matched groups in a JavaScript regular expression?",
"Book with travellers, alien artefacts and age reversal Looking for the title of a book I read about 5 years ago though I believe the book was a lot older. Essentially the main male character was on a task and was travelling with a group of people. The mode of transport if I recall was a boat and they were on a remote planet travelling via a river. One of the group was a father to a young female infant. There's a reference to alien artefact/temple that essentially reverse aged a female scientist (the baby) a day at a time and the father is trying to undo it. Also a line I remember is the father used to say see you later alligator and the daughter will reply that awhile crocodile until a day where she forgot. Another fellow traveller was a pilgrim and his male disciple. There are several other male and female travellers all had different reasons to travel to that location. The aliens was located within the temple (time locked?) Were invisible to humans. Killed any that entered. Got the impression that they were quadpeds with organic blades/razors that cut people. I believe the book may be part of a series. The male author though I don't recall the name, has written other works that have received awards. The book or series may have received one too. Which is probably why I decided to read it in the first place. Question never asked anywhere else. I am from Australia, book was a paper copy bought locally.",
"How to determine function name from inside a function",
"How to do integer & float calculations, in bash or other languages/frameworks? Using echo \"20+5\" literally produces the text \"20+5\". What command can I use to get the numeric sum, 25 in this case? Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(. I am looking for answers using either the basic command shell ('command line') itself or through using languages that are available from the command line.",
"I tried to learn Dvorak keyboard layout a few years ago, and got reasonably good at it, but I couldn't get past the fact that command-key shortcuts were no longer in the right place. In particular, Ctrl+Z (undo), Ctrl+X (cut), Ctrl+C (copy), and Ctrl+V (paste) are all chosen specifically because of the location of those keys on a Qwerty keyboard (well, maybe Ctrl+C makes sense). Ctrl+A (select all) and Ctrl+S (save) are also very convenient because of their Qwerty keyboard location. Is there any way (on Windows XP) to use Dvorak except when a control key (Ctrl, Alt, and/or WinLogo) is pressed? (Preferably without having to install any third party app.)",
"I seem to have clicked on something that changed my display preferences. The main site is now very minimalistic, with fewer controls and different fonts. I want to change it back, but where is it?",
"Looking for story title - younger gen waters down age-slowing drink of older gen, crammed into small apartment I remember a short story in which multiple generations of people being crammed into a small apartment in a city. The magical drink that either reduced or completely stopped aging was something like a soda that came in a six pack. The story focused on visual aspects of the drink at some point. The younger family members complained that their elders were living too long and apparently decided to water down the soda, I think that conclusion was ultimately left up to the reader. Many thanks for any help tracking down this story, might be one of Kurt Vonnegut's perhaps?",
"Flying EU to UK to EU. Can I get duty free alcohol? On the 20 of March this year I will be flying from Ireland to the UK and then on the another EU country. Can I buy duty free alcohol (as in alcohol with no tax) leaving the UK ?",
"I'm trying to evaluate $(\\hat{a}+\\hat{a}^\\dagger)^k|n\\rangle$ Where $\\hat{a}$ and $\\hat{a}^\\dagger$ are ladder operators and $|n\\rangle$ the $n$th Fock state. For this, I separated the problem in three parts: $k<n$, $k=n$ and $k>n$. In this part I'm a bit confused: Is it possible to evaluate such operations? Some tips on how to start would be really great.",
"Adding feature class to Map in CURRENT project using ArcPy in ArcGIS Pro?",
"default constructor for int",
"Intersection and union of simply connected domain I have some basics concept that, in $\\mathbb{C}$, a \"simply connected domain $D$\" is a region in $\\mathbb{C}$ with no holes. I am not sure whether it has various formal definition , but the one used in my complex analysis class looks very complicated. I barely understand what it means : $\\textbf{Definition}$ Let $\\gamma_0, \\gamma_1$ be two continuous closed path in a domain $D \\subseteq \\mathbb{C}$ parameterized by $I = [0,1]$;that is, $\\gamma_i(0) = \\gamma_i(1)$ for all $i = 0, 1.$ We say $\\gamma_0, \\gamma_1$ are $\\textbf{homotopic as closed paths on D}$ if there exists function $\\delta : I \\times I \\rightarrow D$ such that $1) \\ \\delta(t,0) = \\gamma_0(t) \\ \\forall t \\in I \\ \\ $ $2) \\ \\delta(t,1) = \\gamma_1(t) \\ \\forall t \\in I \\ \\ $ $3) \\ \\delta(0,u) = \\delta(1,u) \\ \\forall u \\in I.$ A continuous closed path is $\\textbf{homotopic to a point}$ if it is homotopic to a constant path(as a closed path). $\\textbf{Definition}$ A region $D \\subseteq \\mathbb{C}$ is called $\\textbf{simply conected}$ if every continuous closed path in $D$ is homotopic to a point in $D$. $\\textbf{Problem :}$ 1) Let $D_1, D_2$ be simply connected plane domains whose intersection is nonempty and connected. Prove that their intersection and union are both simply connected. 2) Let $P, Q$ be smooth functions on a domain $D \\subseteq \\mathbb{C}$, Find necessary and sufficient condition for the form $P dz + Q d\\bar{z}$ to be closed."
] | medi_sts_stackexchange_dupe |
Searching for similar questions | Related questions in "Ask Question" page is better than the search tool | [
"What are alternatives to ExtJS? So what I'm looking for is a javascript framework I can use that has several UI controls. I have taken a look at but those controls are very basic compared to ExtJS. Are there any other competitive alternatives? This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. More info: .",
"To friend vs. to befriend",
"Is there a way to configure pdflatex to make all but the .tex and .pdf files hidden files? I have asked a about how to manage all the files generated when my LaTeX files are compiled but the approach in the answer I accepted is still unsatisfactory for the many small documents I generate. I realize the LaTeX all the files it generates so I can't prevent their creation. However is there a way to configure pdflatex to make all but the .tex and .pdf files hidden files (i.e., preceded by .)? (Edit: The two main systems that I use are tex live on Ubuntu Linux and BasicTeX on OS X)",
"Difference between deportation and removal As I understand it, there are two mechanisms for throwing somebody out of the UK: deportation and removal. Informally, people seem to call both of these \"deportation\". What are the differences between them? Who do they apply to? Do they have different effects on the person's ability to return to the UK later?",
"Is there any gold standard for modeling irregularly spaced time series?",
"Drop Tables with Bigger size We have a mysql database with a size of 2 TB, in which we have for to five big tables ranging from 110GB to 350GB. When we try to drop these tables the mysql goes to the defunct mode and hangs in that state for a long time. Is there a solution to drop these tables without mysql hanging. We have a machine which has a memory of 122GB and swap of 60 GB. We use an InnoDB Engine Hope the information suffices kindly help us with this issue",
"LaTeX code sniffer and/or beautifier? I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D",
"Claim: If $(x_\\alpha)_{\\alpha\\in A}$ is a collection of real numbers $x_\\alpha\\in [0,\\infty]$ such that $\\sum_{\\alpha\\in A}x_\\alpha<\\infty$, then $x_\\alpha=0$ for all but at most countably many $\\alpha\\in A$ ($A$ need not be countable). Proof: Let $\\sum_{\\alpha\\in A}x_\\alpha=M<\\infty$. Consider $S_n=\\{\\alpha\\in A \\mid x_\\alpha>1/n\\}$. Then $M\\geq\\sum_{\\alpha\\in S_n}x_\\alpha>\\sum_{\\alpha\\in S_n}1/n=\\frac{N}{n}$, where $N\\in\\mathbb{N}\\cup\\{\\infty\\}$ is the number of elements in $S_n$. Thus $S_n$ has at most $Mn$ elements. Hence $\\{\\alpha\\in A \\mid x_\\alpha>0\\}=\\bigcup_{n\\in\\mathbb{N}}S_n$ is countable as the countable union of finite sets. $\\square$ First, is my proof correct? Second, are there more concise/elegant proofs?",
"How many questions on meta have asked, \"Why can't I ask this question when that question is open\"?",
"Suspend process without killing it So I've got a persistent program running in the background. Killing it just causes it to restart with a different PID. I'd like to suspend it (put it to sleep without actually killing it). Does kill -9 do this? If not, how should this be done?",
"I wonder is it legal to register a domain name that contains a company name. For example cococola.cc (considering that this domain name is available). Can I buy and use any domain names that contain a name of a trademark?",
"How do I calculate my skill modifier? I'm trying to fill out the skills section on my first character, but when I look at the character sheets in the Starter Set as examples of how to make a character, the skills that are circled have higher modifiers than their Dexterity or Strength or whatever should make them. I've filled out all skills but those. What do I add to the ability modifier to get those numbers? My abilities are Strength 13, Dexterity 14, Constitution 11, Intelligence 15, Wisdom 8, and Charisma 8. Proficiencies are Arcana, Athletics, History, Investigation and Stealth. My saving throws are Strength and Dexterity. I just started D&D and have the Player's Handbook, DM's Guide, Monster Manual, and the Starter Set.",
"Removal of statistically significant intercept term increases $R^2$ in linear model",
"SE Android app for tablet has bad formatting on feed",
"AJAX select returns 'illegal choice detected' Create a settings form for a module in Drupal 8 - when a user selects a View from a list, the drop down under it should populate with the displays in that view. While the form updates the option list for the user, it also throws an error message on the screen \"Illegal choice has been detected\". Here is the code (it doesn't paste very well): getViewDisplays is the ajax callback that is populating the options. Some people who have posted about this around the internet say to set #validated on the select field to TRUE, though, that doesn't necessarily feel right. I still want to validate the submission to do some checks.",
"JavaScript window resize event",
"qt4 / libqt4-* in Ubuntu 20.04",
"We need a hard rate limit on suggested edits, to limit the damage someone can do with blasting the review queue with minor edit suggestions. Case in point: peppered the site with a whopping 133 tag-only edit suggestions in 2 hours and 15 minutes. That's one edit every minute on average, but towards the end he was entering a new suggestion every 20 seconds. He only stopped because a drew enough rejections to have him banned from entering more. If there was a limit to the number of suggested edits you can enter in a time period we could have stopped this guy earlier. No <2k user needs to edit hundreds of tags across that many questions in 2 hours time. Considerations There are cases where a retag drive or tag burninate justifies editing a larger number of posts, but I'd be fine if such tasks were limited to people with 2k+ reputation. A retag or burninate job requires a minimal engagement with the community to know when they are justified anyway. The suggested edit review process, by itself, was clearly not enough to stop this barrage. It cannot be seen as a rate limiting measure, at least not as a sufficiently efficient one. The vast majority of the edits made in the above example were too minor, leaving spelling, grammar and formatting mistakes in the post untouched. The user was going too fast to pay attention to such details anyway. Yet this user has 98 approved edit suggestions, but all but 6 or 7 I'd have rejected as too minor, so the review process itself is broken. What should be limited The number of review votes reviewers have is already limited; I burned through 20 reviews in short order just reviewing the suggestions from just this one user. Certainly the number of unreviewed suggestions should be limited to let reviewers catch up with a user like this. I'd say having 20 outstanding suggested edits pending review is plenty. Suggested edits should be made with some consideration; we don't want minor edits, so if you are suggesting more than 20 in an hour (that's 1 every 3 minutes) you are not improving posts anymore, you are gaming the system to gain reputation.",
"Exact Duplicate: I was reading an article on MSDN where I found a mention to google-fu. It says, “To search for C++ delimeters and code snippets is going to take a little Google-fu on the reader's part.” what does google-fu mean?",
"Convert a character digit to the corresponding integer in C"
] | medi_sts_stackexchange_dupe |
Python round() error? | Is floating point math broken? | [
"Minecraft crashes on launch with EXCEPTION_ACCESS_VIOLATION, Problematic frame: ig4dev32.dll or ig4dev64.dll or ig4icd32.dll or ig4icd64.dll When I try to launch Minecraft 1.7.4 or newer, the game crashes on startup, and the game output screen says this: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=*, pid=*, tid=* # # JRE version: Java™ SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13) # Java VM: Java HotSpot™ Client VM (* mixed mode, sharing windows-* ) # Problematic frame: # C [ig4dev32.dll+0x3e88] OR # C [ig4dev64.dll+0x55ec] OR # C [ig4icd32.dll+0x104a77] OR # C [ig4icd64.dll+0x84930a] This happens with both Java 7 and 8. What causes this error, and what can I do to fix the issue?",
"Java: Date from unix timestamp",
"install ubuntu on thinkpad T440p Is there anybody, who is able to install and fully configure Ubuntu 12.04 or 14.04 on Thinkpad T440p (ver 20AN)? If yes, could you post here your procedure step by step? Please does not include your experience with any other ThinkPad models. Edit: Situation is not so simple, see:",
"Why would spacetime curvature cause gravity? It is fine to say that for an object flying past a massive object, the spacetime is curved by the massive object, and so the object flying past follows the curved path of the geodesic, so it \"appears\" to be experiencing gravitational acceleration. Do we also say along with it, that the object flying past in reality exeriences NO attraction force towards the massive object? Is it just following the spacetime geodesic curve while experiencing NO attractive force? Now come to the other issue: Supposing two objects are at rest relative to each other, ie they are not following any spacetime geodesic. Then why will they experience gravitational attraction towards each other? E.g. why will an apple fall to earth? Why won't it sit there in its original position high above the earth? How does the curvature of spacetime cause it to experience an attraction force towards the earth, and why would we need to exert a force in reverse direction to prevent it from falling? How does the curvature of spacetime cause this? When the apple was detatched from the branch of the tree, it was stationary, so it did not have to follow any geodesic curve. So we cannot just say that it fell to earth because its geodesic curve passed through the earth. Why did the spacetime curvature cause it to start moving in the first place?",
"Custom arrangement for fields with multiple values in Drupal 7",
"My keyboard is typing by itself, could there be a ghost in it?",
"Here are some options I thought of, not sure which is the right one. There was an I/O error reading from the pipe. The process writing to the other end of the pipe died with a failure. All processes who could write to the pipe have closed it. The write buffer of the pipe is full. The peer has closed the other direction of the duplex pipe. Writing failed because there are no processes which could read from the pipe. A system call returned the EPIPE error, and there was no error handler installed.",
"Prove that $n$ is a sum of two squares? Problem Let $n = p_1.p_2.p_3 \\cdots p_k.m^2$, where $p_1, p_2, p_3 \\cdots p_k$ are distinct primes. Prove that n is sum of two squares if and only if $p_i$ is either 2 or $p_i \\equiv 1 \\pmod{4}$ For $p_i = 2$ , this is trivial case since $2m^2 = m^2 + m^2$. For $p_i \\equiv 1 \\pmod{4}$, I tried to use the fact that the product of a number of the form $4k + 1$ is also in this form. So I come up with: $$n = (4k + 1) \\cdot m^2 = 4km^2 + m^2$$ Apparently, $m^2$ is a square, but I could not figure out how to prove $4km^2$ is a square, since k is in unknown form. Any idea? Thanks,",
"When should I use a struct rather than a class in C#?",
"Whenever I start an application like Terminal or Preview, they are always opened as a small window on the top left corner of the screen. Is there any way to set them to open in the center of the screen? Preferably maximized too?",
"Union of uncountable cardinals I have to prove the following: Let $\\omega_1$ be the least uncountable cardinal and, for each $n \\in \\omega$ (here, $\\omega$ is the set of natural numbers denoted as an ordinal/cardinal), $n\\ge1$, let $\\omega_{n+1}$ be the least cardinal that is greater than $\\omega_n$. Show that $\\bigcup_{n\\in\\omega}\\omega_n$ is a cardinal. I suppose the proof has something to do with transfinite induction/recursion, but I don't know exactly how I'm supposed to use it. Any thoughts?",
"A long time ago, I remember hiding some really personal files on my computer. Something that nobody could ever find, so I buried them down pretty darn good. Now to my problem, I don't remember where. Do anyone know a way to scan a drive and list all hidden folders and/or files? I know how to view hidden files in Windows, but as far as I know, there is no way to search for them? I've been looking for a program, but I couldn't find one - and now I'm here, asking the experts. ;) I'd really appreciate any tips.",
"Meaning of Sun Lamp Size?",
"What's wrong with \"I'll open you the door\"? When I call the buzzer outside my girlfriend's flat, she sometimes says *\"I'll open you the door\". I correct this to \"I'll open the door for you\". I've never heard a native speaker say it the first way, which is why I think it's wrong. But I can't explain why. There is a pattern in lots of English phrases that would suggest both are correct. A few common examples: Give the keys to me before you go — Give me the keys before you go I'll buy a coffee for you at the cafe — I'll buy you a coffee at the cafe We sent a text to Martin on his birthday — We sent Martin a text on his birthday The left-hand side is more formal, and the right-hand side is more common in everyday speech. What do you call this pattern? What makes the 'open-the-door' sentence an exception?",
"I recently installed Ubuntu 17.10, and when I tried to set my keyboard layout to change with alt+shift, I hit a . There is which works, but then it creates an unwanted behaviour on Firefox (perhaps other programs as well). After setting alt+shift through gnome-tweak-tool as the combination to change language, whenever this combination is pressed within Firefox, it triggers a toggle that Firefox uses to show/hide the Menu Bar (with File/Edit/View etc.), and 'focus' is taken away from wherever the cursor was. It's very frustrating, because one has to go and click again at the cursor. The only solution I found was to permanently enable Menu Bar in Firefox because then alt doesn't do anything and I can use it to change languages. But I don't want to have Menu Bar on top always. I hope you can understand what I'm trying to explain. Any thoughts?",
"All of my Firefox extensions were spontaneously and simultaneously disabled (converted to Legacy status) a few moments ago. How can I re-enable them? Firefox 66.0.3 (64-bit)",
"Legendre symbol, second supplementary law $$\\left(\\frac{2}{p}\\right) = (-1)^{(p^2-1)/8}$$ how did they get the exponent. May be from Gauss lemma, but how. Suppose we have a = 2 and p = 11. Then n = 3 (6,8,10), but not $$15 = (11^2-1)/8$$ n is a way to compute Legendre symbols from Gauss lemma: $$\\left(\\frac{a}{p}\\right) = (-1)^n$$",
"Generating a list of numbers that are not multiples of 4",
"What does 'Ign' , `Get` or 'Hit' mean when running an apt-get update? I had a bunch of errors in the output of sudo apt-get update: duplicate entries and 404 not found errors. Figured those out, I hope: I removed PPAs that didn't have any packages associated with them, then I removed out a duplicate entry in /etc/apt/sources.list. It seems I have royally buggered it up. Now most of the lines say Ign when I do sudo apt-get update. How do I go about straightening out what I have screwed up? I need to get rid of these Igns that are all over the place. There are about 50% (eyeball guess) Igns!",
"Variable declaration placement in C"
] | medi_sts_stackexchange_dupe |
Customize section numbering from Springer templates | Continuous v. per-chapter/section numbering of figures, tables, and other document elements | [
"Reading string from input with space character?",
"We have a few Win32 applications (coded in Delphi 2006) where sometimes the user gets an error message saying \"System Error. Code: 8. Not enough storage is available to process this command.\". From the stacktrace it looks like it is always during CreateWnd call Main ($1edc): 004146cc +070 app.exe SysUtils RaiseLastOSError 00414655 +005 app.exe SysUtils RaiseLastOSError 004ce44c +130 app.exe Controls TWinControl.CreateWnd 00535a72 +022 app.exe cxControls TcxControl.CreateWnd 004ce82a +016 app.exe Controls TWinControl.CreateHandle 00553d21 +005 app.exe cxContainer TcxContainer.CreateHandle 00586ef1 +005 app.exe cxEdit TcxCustomEdit.CreateHandle 005c331d +005 app.exe cxDropDownEdit TcxCustomDropDownEdit.CreateHandle 004ceaf0 +074 app.exe Controls TWinControl.UpdateShowing 004ceb1e +0a2 app.exe Controls TWinControl.UpdateShowing 004cebdc +03c app.exe Controls TWinControl.UpdateControlState 004d118a +026 app.exe Controls TWinControl.CMVisibleChanged 004cb713 +2bb app.exe Controls TControl.WndProc 004cf569 +499 app.exe Controls TWinControl.WndProc 004b727d +4c1 app.exe Forms TCustomForm.WndProc 004cb3a0 +024 app.exe Controls TControl.Perform 004c9f6a +026 app.exe Controls TControl.SetVisible 004b6c46 +03a app.exe Forms TCustomForm.SetVisible 004baf1b +007 app.exe Forms TCustomForm.Show 004bb151 +14d app.exe Forms TCustomForm.ShowModal 007869c7 +0d3 app.exe UfrmPrice 770 +19 TfrmPrice.EditPrice 0078655d +009 app.exe UfrmPrice 628 +0 TfrmPrice.actNewBidExecute 00431ce7 +00f app.exe Classes TBasicAction.Execute 004c2cb5 +031 app.exe ActnList TContainedAction.Execute 004c397c +050 app.exe ActnList TCustomAction.Execute 00431bb3 +013 app.exe Classes TBasicActionLink.Execute 004af384 +090 app.exe Menus TMenuItem.Click 004b059f +013 app.exe Menus TMenu.DispatchCommand 004b16fe +082 app.exe Menus TPopupList.WndProc 004b164d +01d app.exe Menus TPopupList.MainWndProc 004329a8 +014 app.exe Classes StdWndProc 7e4196b2 +00a USER32.dll DispatchMessageA 004bea60 +0fc app.exe Forms TApplication.ProcessMessage 004bea9a +00a app.exe Forms TApplication.HandleMessage 004becba +096 app.exe Forms TApplication.Run 008482c5 +215 app.exe AppName 129 +42 initialization I've never been able to get to the bottom of what causes this and as it happens fairly seldom I haven't been to concerned, but I would like to find out what causes it and hopefully rectify it... EDIT: Full Stacktrace EDIT 2: More info... The client who experienced this today has had my app installed for about 4 months and it is running on his PC 8 hours a day. The problem only appeared today and kept reappearing even though he killed my app and restarted it. None of the other apps on his system behaved strangely. After a reboot the problem goes away completely. Does this point towards the heap shortage that Steve mentions? EDIT 3: Interesting msdn blog post and on the topic of the desktop heap. Though I'm not sure whether this is the cause of the problem it certainly looks likely.",
"Sorry to start a subjective question, but want to understand \"own.sty\" file. Other than all \\usepackage{} what sort of other commands can be added to the makeyourown.sty file. Can you include \\let command, and \\newcommands in it. What sort of precaution / structure newbies should follow.",
"Shouldn't rep gains from old questions & answers eventually stop (or at-least reduce)?",
"What methods can I use to create balance and consistency between a group of differing logos? A regular challenge that I face is balancing two (or more) logos. Whether they need to be equal or one needs to be given priority. Some logos however might be squares, others rectangles, circles, etc... As a quick sample I snagged a nice high resolution photo from and pretend its going to be an advertisement that needs to show some footwear brand logos on it. In this case I used Adidas and Saucony. This is certainly not balanced even though they're height is the same: Likewise this is not balanced even though they're width is the same: So then the question becomes when are they in balance, is this balance: Maybe a little more adjustment, is this balance: And in these examples I'm only working with two Black Logos. Factor in color and it can get even more difficult to balance. Another issue being when there's tiny text as part of the logo. So the question is, other than estimating / eye-balling it, what tips, methods or even tools are there to balance different sized logos?",
"Seriously, it was fun and all, but I can't and I don't want to stay married to the same woman for the rest of my life - one real life marriage is enough.. Is there a lawyer or process of some kind in the world of Skyrim, and if not, who could help me divorce her? If all else should fail, (sigh), do I have to take her to the backyard, thwack her head with the shovel and dig a shallow grave?",
"How to check that a cubic polynomial is irreducible? I want to argue that argue that $\\pi(\\alpha)=\\alpha^3+3\\alpha+3$ is an irreducible polynomial over the finite field with 5 elements $\\mathbb{F}_5$. My approach was just to check that $\\pi$ has no roots in $\\mathbb{F}_5$. Is this right?",
"How to rig a shirt with buttons so that the buttons follow the mesh of the shirt I didn't address this in a while because I was busy with something else, but now it has cycled back into my schedule. Right now I have a shirt modeled and bones set in place. It's already technically rigged, but the only issue is the buttons. I'm not entirely sure how to go about connecting them to the shirt's deformations. I tried to combine them and the shirt into one object, but because of the shirt's modifiers, (Solidify and subsurf, which I don't want to apply yet), the buttons become extremely deformed. I've tried to match the weight painting intensity where a button is at in correspondence with the shirt, but that doesn't seem to work, maybe it has to do with the specifics of where the button is? Is there a way to make the buttons follow the shirt's deformations without deforming the mesh vertices of the button? I know that if I probably apply the modifiers on the shirt and combine it with the buttons, it would be okay, but I'm not okay with doing that just yet with the shirt. I rigged the shirt by deleting all vertex groups, assigning empty groups to the mesh from the armature, and then assigned automatic groups in the weight paint menu. Is there a way to do this?",
"Is it possible to view Google Chrome bookmarks and history from the terminal Is it possible to view Google Chrome bookmarks and history by using command line?",
"Alternative to LibreOffice Base for Ubuntu",
"if $x_i$ are IID continuous random variables, with $E[x_i]=μ$, is the following correct? $E\\left[\\prod_{i=1}^n(1+⍺\\space x_i)^i\\right] = \\prod_{i=1}^nE\\left[(1+⍺\\space x_i)^i\\right] = \\prod_{i=1}^n(1+⍺\\space E\\left[x_i\\right])^i = (1+⍺\\space μ)^n$ thanks!",
"I'm looking for the name of a sci-fi series, intended for children. Robots have control over the humans. There is a squad of humans who attack them. Every member in this squad has a badge on their suit, and when they touch this badge the suit becomes armed. This series was not cartoon series, it was performed by real people. The main robot character is very similar in style to Darth Vader in Star Wars. The series aired in the 1990s. I am sorry but I can't recall many details.",
"What is the location of lock screen images on Windows 10? Where, or what format, are the images used by Windows 10 when logged out or in lock-screen? I searched the entire drive for *.jpg, *.bmp, *.png, and *.tif but the one I was looking for did not appear. At first glance, , although not exactly a duplicate, appeared to have the path I wanted. But when I went there, the pre-login image was there, but the lock-screen image was not. (And contrary to the claim in that answer, the files there did have extensions.) UPDATE: I just did a lockscreen, and got an image that IS in that directory, but earlier today, it was consistently an image of an interesting footbridge that is not in that directory.",
"Do electrons move around a circuit? We could imagine a simple electronic circuit composed by a power source and a resistor. It is usual find descriptions as \"The moving charged particles in an electric current are called charge carriers. In metals, one or more electrons from each atom are loosely bound to the atom, and can move freely about within the metal. These conduction electrons are the charge carriers in metal conductors.\" (wikipedia ). That made me imagine electrons going from power -, running by the wires, crossing the resistor and returning to power +, where they suffer a new kick to power -. All that at near the speed of light. In this model, it is easy to define \"electrical current intensity\" as proportional to the number of electrons per second that cross one specific point of the circuit. However, looking for the physics of resistivity, I can read the phrase \"The actual drift velocity of electrons is very small, in the order of magnitude of a meter per hour.\" (wikipedia ). This is a complete different point of view, where electrons are more or less fixed around a fixed position (or moving very slowly), an electricity is a wave of \"collisions\" or \"jumps\" of electrons, like in a Newton's cradle (or \"do the wave\" as public in a football match). Obviously, we do not need severals hours from the switch on to the light on. So, the question is, do electrons move around a circuit ? References to band theory are welcome. A related question is: if electrons doesn't moves along the circuit, what is \"electrical current intensity\"? Note: I known there are similar questions already posted, but answers of the ones I've read are not very detailed (could be I've not found the best ones). Please, be a few patient before \"close vote\".",
"Frequent Write to Non-volatile Memory I am designing a device that automatically adjusts it's physical position as temperature changes. If the device it shut off or power is disconnected the device needs to remember it's last temperature and position. I have the ability to store these values in EEPROM but the problem is the position and temperature could be changing very rapidly. If I were to write the temp and pos to EEPROM after every time they changed that would (1) slow down the firmware a bit, and (2) likely kill the EEPROM after a year or two. So as I see it my options are as follows... 1) use a capacitor/battery to keep the device powered for a short time after power is lost so that I can write the values to EEPROM at that time only. I don't like this because the board is kinda power hungry and this would require a big cap. And I don't have a ton of free space. And I don't want the added cost of a battery and battery holder / or a big cap. 2) use F-RAM instead of EEPROM so that I can write to it trillions of times without wearing it out. I don't like this option because FRAM is quite a bit more expensive than EEPROM and this is for a production product (not just one). 3) Only write the position and temperature every 5 minutes or so. That way I always have a fairly recent position/temp recorded but I am not writing every second so my program is not slowed down and the EEPROM won't die as fast. This seems like my best option. Does anyone else have any suggestions that I'm not thinking of?",
"Proving $1-\\exp(-4x^2/ \\pi) \\ge \\text{erf}(x)^2$ This is a follow-up to question. I came across a tighter potential bound and checked it numerically for $0\\le x\\le 5$. I think it holds for all positive $x$, can anyone see a proof? $$1-\\exp(-4x^2/ \\pi) \\ge \\text{erf}(x)^2$$ Note: using analysis for previous you can show that $1-\\exp(-k x^2)$ is an upper bound on $\\text{erf}(x)^2$ for $k=2$ and a lower bound when $k=1$. The factor $k=4/\\pi$ comes out when numerically searching for tightest upper bound. Not only does it seem to give an upper bound, but it also tracks $\\text{erf}(x)^2$ very closely. Dashed graph below is $\\text{erf}(x)^2$, red is $1-\\exp(-k x^2)$ for $k=4/\\pi$, other two graphs are for $k=1$ and $k=2$",
"Will be glad for a little hint: let x and n be positive integer such that $1+x+x^2+\\dots+x^{n-1}$ is a prime number then show that n is prime",
"Find coefficient of $x^{50}$ in $(\\sum_{i=1}^{\\infty}x^n)^3$",
"When is the image of a linear operator (between Banach spaces) closed?",
"Short story about humans serving as hosts to the larval stage of insects I read this story in a sci-fi paperback magazine probably in the 1970s or 1980s, but it might have been published much earlier. It begins with a conversation between two young men (brothers?), the older of whom, it eventually transpires, has taken the place of the younger in serving as a host to insect-type creatures. The insect-types are the main form of life on the planet, and use the human interlopers/colonizers as hosts for the larval stages of their young. Must have pre-dated the "Alien" movies because when I read it the idea of humans serving as larval hosts was new to me. Don't remember how the story ends -- whether the emergence of the larva kills the human host."
] | medi_sts_stackexchange_dupe |
Is it possible to run an x64 binary on an ARM processor? | Is it possible to run an x86 binary on an ARM processor? | [
"Objects Not Showing in Other Workspace Viewports, Only Default",
"\"Add\" button doesn't work with JavaScript off I'm using stackoverflow.com with JavaScript off. I accept this comes with somewhat less functionality, however for the most part SO works fine. If I look at the home page (), every single button on there except for two types works with JS off. The first second is that the \"x Votes; y answers;z views\" mouse-over indicates they're links but clicking them does nothing. This one is less of an issue because the user can still click the question title, and they're only implied buttons anyway. The second (and bigger) issue is the \"Add\" buttons next to \"Favorite Tags\" and \"Ignored Tags\". These are explicit buttons that don't do anything with JS off. There is no working JS substitute for them (the \"tag subscriptions\" link itself works, but the page it goes to doesn't work with JS off, but that's another bug report).",
"Singular or plural verb with two subjects Possible Duplicate: I'm writing an interrogative sentence questioning someone else's writing: \"Is grammar and spelling correct?\" Can I use the singular verb \"is\" or must it be the plural verb \"are\"? (The sentence is one of a list of interrogative questions about the quality of writing, e.g. \"Are words in the right order?\" \"Does the copy flow?\")",
"How do I completely uninstall Google Chrome and Chromium? I'm having a problem with Chrome and one of its extensions, so I want to completely uninstall everything. I've uninstalled Chrome through the Software Center, but when I reinstall it, all of my extensions and preferences are still there. If I want to start over from scratch, what do I need to do?",
"How to Check If A Plugin Is Enabled Through API?",
"How can I change the master volume level? Using this code [DllImport (\"winmm.dll\")] public static extern int waveOutSetVolume (IntPtr hwo, uint dwVolume); waveOutSetVolume (IntPtr.Zero, (((uint)uint.MaxValue & 0x0000ffff) | ((uint)uint.MaxValue << 16))); I can set the wave volume but if the master volume is too low this won't have any effect. Thanks for any help.",
"Can a new save withdraw from the pokemon bank? I've been considering restarting my save and replaying the story with access to the entire National Pokedex (Minus a few Event-only Pokemon I'm missing) from the start. But I would first like to confirm: Can I withdraw my stored Pokemon from the bank if my game is reset? It seems that the only contributing factor is that I end up signed in with the same Nintendo Network ID, so as long as my network ID remains the same, I can withdraw stored Pokemon regardless of what save-game or cartridge is in my system, correct? While I'm reasonably confident it works the way I think it does, past experience (My Pokemon Ranch being tied to specific trainer IDs, and something about the dream world being tied to the game's wireless settings) has made me just cautious enough to ask before attempting.",
"How can I press \"Insert\" on a keyboard without that key?",
"My code: a = '2.3' I wanted to display a as a floating point value. Since a is a string, I tried: float(a) The result I got was : 2.2999999999999998 I want a solution for this problem. Please, kindly help me. I was following .",
"How can analytically be the ? I found some extremely synthetic equations which from the (in particular $\\mathbf{F} = m \\mathbf{a}$) tried to obtain the Kepler's laws, but even if it seemed to be a nice procedure they were too much incomplete.",
"How do people come up with difficult math Olympiad questions?",
"What's the best way to check if a file exists in C?",
"Why is \"ask\" sometimes pronounced \"aks\"? We've recently moved from New Zealand to New York City, and have noticed that many people (most of whom have good English) pronounce \"ask\" as \"aks\". For example: Could you please go aks her tomorrow? Sure, I'll ax her! :-) What's the origin/etymology of \"aks\"? It seems to be more common among African Americans, but it's definitely used by others too.",
"As stated , being on fire means you are doing well, and we see that you can be commended as an MVP for being on fire for a large portion of the time. This shows that destroying non-player things gives you fire points, but what all do I get points from, and how many fire points do I need to be on fire/stay on fire?",
"I tried to fix my hard drive using Ubuntu but I encountered an error message and didn't know how to proceed. I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) fsck.ext2: Permission denied while trying to open /dev/sdb You must have r/w access to the filesystem or be root",
"Taken from : Show that it cannot be the case that $U=X+Y$ where $U$ is uniformly distributed on [0,1] and $X$ and $Y$ are independent and identically distributed. You should not assume that X and Y are continuous variables. A simple proof by contradiction suffices for the case where $X$, $Y$ are assumed discrete by arguing that it always possible to find a $u$ and $u'$ such that $P(U\\leq u+u') \\geq P(U\\leq u)$ while $P(X+Y \\leq u) = P(X+Y \\leq u+u')$. However this proof does not extend to $X,Y$ being absolutely continuous or singular continuous. Hints/Comments/Critique?",
"Join table depending on value of column in main table",
"Find the value of $\\sum_{k=1}^{n}k\\binom{n}{k}$ ? I know that $\\sum_{k=0}^{n}\\binom{n}{k}= 2^{n}$ and so, $\\sum_{k=1}^{n}\\binom{n}{k}= 2^{n}-1$ but how to deal with $k$ ?",
"Need clarification on the Draw 4 rule. - Player 1 lays down a Draw 4 Card and says the color is Red. - Player 2 does not have a Red card but has a Draw 4 Card. Can Player 2 lay down his Draw 4 Card and have Player 3 draw 8 cards?",
"Layers tab not showing Usually my layers tab appears in the area of the red circle, but I did something that changed it. I would like to know how to get it back. Thanks!"
] | medi_sts_stackexchange_dupe |
Use of "have/has" when you don't know if the subject will be singular or plural | When a sentence uses a parenthetical plural, should the rest of the sentence treat it as singular or plural? | [
"Why \"a user\" instead of \"an user\"? I am getting confused while using an article an. Because an is used while referring to vowels (a,e,i,o,u). But today I read an article where for user they used a user. My question is, why was an not used? Could someone explain this with an example?",
"Wild Magic Surge - What does \"You cast ...\" mean for your spell slots? In response to question, I started to think about what it means when a Wild Magic Surge results in a \"You cast spell-X\". So, \"specific beats general\" gives: You can cast a second spell when you would not normally be allowed to You can cast a spell you don't know If the surge forces you to cast a concentration spell you would lose any concentration spell that you currently had active Subject to what the specific entry says you can target it how you like Unless the specific entry prohibits it you could use metamagic on the spell I am pretty confident in all of the above but if anyone disagrees please address in an answer. Here comes the question. How does this impact on your available spell slots? \"You cast ...\" to me suggests that if you have an applicable slot available then you have to use it to cast the spell because that is the general rule for casting spells but if you don't then \"specific beats general\" and it is cast anyway. Specific examples: You cast fireball as a 3rd-level spell centered on yourself This must be a 3rd level spell: if you have a 3rd level slot available you have to use it? if you don't, if you have 5 sorcery points and a bonus action available must you use these to get that slot? if you don't have any of that then the spell goes off anyway? You cast confusion centered on yourself. No level specified and confusion is a 4th level spell: if you have a 4th level slot available you have to use it? if you have a 4th, a 6th and an 8th level slot you can choose which one to use? if you have only a 5th level slot but also 6 sorcery points and a bonus action, you could choose to use the 5th level slot or use the points to create a 4th level slot? if you don't have any 4th level or higher slots but you have 6 sorcery points and a bonus action available must you use these to get that slot? if you don't have any of that then the spell goes off anyway? And so on ...",
"Today I was thinking about composition of functions. It has nice properties, its always associative, there is an identity, and if we restrict to bijective functions then we have an inverse. But then I thought about commutativity. My first intuition was that bijective self maps of a space should commute but then I saw some counter-examples. The symmetric group is only abelian if $n \\le 2$ so clearly there need to be more restrictions on functions than bijectivity for them to commute. The only examples I could think of were boring things like multiplying by a constant or maximal tori of groups like $O(n)$ (maybe less boring). My question: In a euclidean space, what are (edit) some nice characterizations of sets of functions that commute? What about in a more general space? Bonus: Is this notion of commutativity important anywhere in analysis?",
"It is well known that quantum mechanics and (general) relativity do not fit well. I am wondering whether it is possible to make a list of contradictions or problems between them? E.g. relativity theory uses a space-time continuum, while quantum theory uses discrete states. I am not merely looking for a solution or rebuttal of such opposites, more for a survey of the field out of interest.",
"What causes close votes to be annotated with \"(deleted)\"? In the \"Votes Cast\" section of my profile, my vote to close is annotated with \"(deleted)\": However, the close vote does not appear to have been deleted: it successfully closed the question: Why was this vote marked as \"(deleted)\"? If the vote was deleted my some internal process after the question was closed and the closers were recorded, I call that a . Regardless of what happens internally, it's irrelevant to users if close votes are deleted after they have taken effect.",
"How many cpu sockets does Windows 10 support? I would like to build a new computer (it's been 7 years since the last one). Does Windows 10 support more than one ?",
"How to Upgrade Ubuntu 12.04.2, 12.04.3 to 12.04.4, the next Hardware Enablement Stack? I am currently using Ubuntu 12.04.2 32bit. I installed it using LiveCD. Tomorrow, 23rd August 2013,Ubuntu 12.04.3 is released. I want to upgrade from Ubuntu 12.04.2 to Ubuntu 12.04.3 without using any LiveCD. Is it possible? If so please suggest me how can I do. Actually while using Ubuntu 12.04.2 I have troubled with graphics. My graphics card is Intel i845G 64 MB. When Ubuntu starts it works fine and smooth without any lagging, but after sometime it hangs for few seconds (1 or 2 seconds) with a garbage screen and becomes sluggish. All windows and browsers start lagging and also it is not possible to play any video in any player (VLC, Movie Player, Xnoise, SMPlayer etc..). I think Upgrading to Ubuntu 12.04.3 could fix my problem. Any help will be greatly appreciated.. I've posted an answer to upgrade Ubuntu 12.04.x to 12.04.4.",
"Apply a string replacement on the citation as returned by \\cite I have biblatex with options \\usepackage[backend=bibtex, style=authoryear]{biblatex} The citations made with \\cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need \\cite{SmithsPaper} % --> Smith, 2019 \\cite{MyPaper} % --> Manny, 2019 %%% \\newcite{SmithsPaper} % --> Smith, 2019 \\newcite{MyPaper} % --> MC, 2019 I have tried with the package xstring to do something like \\newcommand{\\newcite}[1]{% \\begingroup \\edef\\@temp{\\cite{#1}}% \\StrSubstitute{\\@temp}{Manny}{MC} \\endgroup } The problem is that I can't figure out how to tell LaTeX to expand \\cite{#1}. As a result the citation comes out without the replacement. If I change \\cite{#1} by simply #1 and I call \\newcite{bla Manny bla} it gives bla MC bla as expected. It shouldn't be relevant but I'm using this within the beamer documentclass.",
"How to have separated but vinculated multiple Ubuntu One accounts?",
"Should we allow adding rep to bounties to extend their duration? There are a few variables here that I was thinking about: Spend rep to extend a bounty for a certain amount of time Allow the rep spent to extend duration to add into the original bounty Create minimums on the amount necessary to extend dependent on how long it has been up These are just ideas and can be tweaked as necessary, but the idea in whole is to encourage people to spend more on rep and avoid \"wasted\" rep because there wasn't a good answer to a question while minimizing the amount of possible abuse. This was part of the idea to spend a small amount of rep to extend duration without adding to the rep so that you wouldn't have to spend the whole amount over again for a couple more days. The typical use case that I am thinking of is when you create a bounty and it still gets no attention. I think it would be cool if you could then add onto it to turn it into a higher bounty instead of having those points completely gone. Possible abuses: Keeping bounty questions alive for inappropriately long times. There is already an answer but the author does not want to award the bounty. For 1, you can resolve this by increasing the amount necessary to keep a question alive exponentially similar to what is already in place. You could also halve the amount of extended duration per extension. For 2, this is a problem with the existing system as well, but the author does not have a positive incentive not to award the points since he himself still cannot get them back.",
"After Factory Reset, In order to use Play store and Gmail I want to setup Google account on Samsung GT-S6802. When I tries to setup Google Account, In-spite of right user-name and password, following window appearers: When I open gmail form browser, I've mail from google subject:Sign-in attempt prevented and says: Someone just tried to sign in to your Google Account [email protected] from an app that doesn't meet modern security standards. When I review, it shows unknown device but on browser it detects my device. So, How do I face this issue and setup google account?",
"Can't replace block with a Command Block I am making a Sell Shop, but I need to replace some things using /setblock. For one of the replacements, I am using the command: /setblock 579 62 1053 minecraft:command_block 0 replace {Command:\"testfor @p {Inventory:[{id:\"minecraft:log\",Count:32b}]}\",TrackOutput:0} But it won't work! When I try it using a Command Block, I get this message: [19:14:38] Data tag parsing failed: Unexpected token 'm' at: minecraft:log\",Count:32b}]}\",TrackOutput:0 Is there any way I can fix this?",
"Black and white beads on a circle There are $n$ beads placed on a circle, $n\\ge 3$. They are numbered in random order as viewed clockwise. Beads for which the number of the previous bead is less than the number of a next bead are painted in white color,and others - in black. Two colourations that can be made equal by rotation are considered identical. How many different colourations can occur? I've write a programm and for $n=3...11$ I've got answers $2 , 1 , 6 , 7 , 18 , 25 , 58 , 93 , 186$",
"Deploying a static site on AWS EC2/nginx: what am I doing wrong?",
"Why are the longer edges being beveled more? I'll preface this by saying I'm very new to Blender - I'm trying to put a bevel on an edge, looks something like this: As you can see, the vertical side is much longer than the horizontal side. When I apply to bevel to the edge there, the bevel stretches proportionally - so there's 'more' bevel on the longer side. I want to bevel without any 'ratio' like that - just a 45-degree bevel, if that makes any sense. Do I have to put in a loop cut to make the side lengths equal? I tried using a sub-surf modifier, but it applies on a bunch of nearby edges, when I just want to round this one corner.",
"Gnome terminal will not start I just tried to install python 3.6 on my Ubuntu 16.04 system, and now I can't run the terminal from the launcher or from Ctrl + Alt + T. I tried to run gnome-terminal from XTerm and got the following message: Traceback (most recent call last): File \"/usr/bin/gnome-terminal\", line 9, in <module> from gi.repository import GLib, Gio File \"/usr/lib/python3/dist-packages/gi/__init__.py\", line 42, in <module> from . import _gi ImportError: cannot import name '_gi' Error in sys.excepthook: Traceback (most recent call last): File \"/usr/lib/python3/dist-packages/apport_python_hook.py\", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File \"/usr/lib/python3/dist-packages/apport/__init__.py\", line 5, in <module> from apport.report import Report File \"/usr/lib/python3/dist-packages/apport/report.py\", line 30, in <module> import apport.fileutils File \"/usr/lib/python3/dist-packages/apport/fileutils.py\", line 23, in <module> from apport.packaging_impl import impl as packaging File \"/usr/lib/python3/dist-packages/apport/packaging_impl.py\", line 23, in <module> import apt File \"/usr/lib/python3/dist-packages/apt/__init__.py\", line 23, in <module> import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' Original exception was: Traceback (most recent call last): File \"/usr/bin/gnome-terminal\", line 9, in <module> from gi.repository import GLib, Gio File \"/usr/lib/python3/dist-packages/gi/__init__.py\", line 42, in <module> from . import _gi ImportError: cannot import name '_gi' How can I fix this error? It should also be noted that: My gnome-terminal file is now a python script. The gnome-terminal.real file will open the terminal as expected. python3.5 gnome-terminal will open the terminal as expected.",
"Consider the space of continuously differentiable functions, $$C^1([a,b]) = \\{f:[a,b]\\rightarrow \\mathbb{R}\\mid f,f' \\text{ are continuous}\\}$$ with the $C^1$-norm $$\\lVert f\\rVert := \\sup_{a\\leq x\\leq b}|f(x)|+\\sup_{a\\leq x\\leq b}|f'(x)|.$$ Prove that $C^1([a,b])$ is a Banach Space. This was the proof we were given: Assuming $C^1([a,b])$ is a normed linear space all we need to show is completeness. Let $(f_n)$ be a Cauchy Sequence in $C^1([a,b])$ with respect to the $C^1$-norm. Then each $f_n,f'_n\\in (C([a,b]),\\|\\cdot\\|_{\\sup})$. We know that $C([a,b])$ is complete and thus there exists $f,g\\in C([a,b])$ such that $f_n\\rightarrow f$, and $f'_n\\rightarrow g$ (uniformly) with respect to $\\|\\cdot\\|_{\\sup}$. If we let $$ F_n(x) = \\int_a^x f_n(t)dt, \\hspace{2mm} F(x) = \\int_a^x f(t)dt $$ then $F_n\\rightarrow F$ uniformly because $$\\lVert F_n-F\\rVert_{\\sup}\\leq \\sup_{a\\leq x\\leq b}\\int_a^x|f_n(t)-f(t)|dt\\leq \\lVert f_n-f\\rVert_{\\sup}<\\epsilon.$$ From the fundamental theorem of calculus: $$f_n(x)-f_n(a) = \\int_a^x f'_n(t)dt $$ Since $f'_n\\rightarrow g$ uniformly then $$ \\int_a^xf'_n(t)dt\\rightarrow \\int_a^x g(t)dt $$ Since we know that $f_n\\rightarrow f$ uniformly, $$f(x)-f(a) = \\int_a^x g(t) dt $$ which by the fundamental theorem of calculues implies $f'=g$. So we know have $f_n\\rightarrow f$ and $f'_n\\rightarrow g=f'$ which mean $f_n\\rightarrow f\\in C^1([a,b])$ with respect to $C^1$-norm. So every cauchy sequence converges. Hence $C^1([a,b])$ is a Banach Space. So I understand most of the proof. Where I get confused is that how did we actually show this satisfies the $C^1$-norm? Maybe I don't understand what this norm actually does. Thank you for any help, comments and advice!",
"What Scoping Class Will Use? In reading through the release notes I was excited to discover the introduction of a new tag. That should help lower the barriers to entry! However, the release notes do not specify what the name of the scoping class should be. And since , we're left guessing. To be explicit about what I'm trying to understand, take for example: <apex:page showHeader=\"false\" standardStylesheets=\"false\" sidebar=\"false\" applyHtmlTag=\"false\" applyBodyTag=\"false\" docType=\"html-5.0\"> <html xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" lang=\"en\"> <head> ... <apex:stylesheet value=\"{!URLFOR($Resource.REPLACE_WITH_NAME_OF_SLDS_STATIC_RESOURCE, 'assets/styles/salesforce-lightning-design-system-vf.min.css')}\" /> </head> <body> <!-- REQUIRED SLDS WRAPPER --> <div class=\"REPLACE_WITH_NAME_OF_CUSTOM_SCOPING_CLASS\"> ... </body> </html> </apex:page> If I replace the <apex:stylesheet> with <apex:slds>, what should I specify for REPLACE_WITH_NAME_OF_CUSTOM_SCOPING_CLASS?",
"Proof: How many digits does a number have? $\\lfloor \\log_{10} n \\rfloor +1$ I read recently that you can find the number of digits in a number through the formula $\\lfloor \\log_{10} n \\rfloor +1$ What's the logic behind this rather what's the proof?",
"Limit the post for differents custom post type in the same wp_query I have three custom post type: books magazine videos Now i want to limit the number of post for custom post type, for example: books => 3 post magazine => 2 post videos => 1 post I used a query post like this: query_posts( array( 'post_type' => array( 'books', 'magazine', 'videos' ), 'paged' => $paged, 'posts_per_page' => 6, )); $counter = 1; if (have_posts()) : while (have_posts()) : the_post(); if (($counter == 2) || ($counter == 3) || ($counter == 4)) { $div = 'alpha'; } elseif(($counter == 6)) { $div = 'omega'; } else { $div = ''; } The problems is i cant limit the numbers by custom post type. Any idea? Thank you :)"
] | medi_sts_stackexchange_dupe |
How to make camera rotate around object and take pictures from different angles? | how to make a 360 video (turntable) of an Object using a python script | [
"Setting ArcGIS Desktop license to lower level for testing whether Python script still runs? I have a Python script that will need to be given to a client. We are currently evaluating what license level the client will need in order to run the script for their software acquisition purposes. We all have ArcGIS 10.1 Advanced license in our company. I checked all the tools and extensions used in the script against the web help and found that they should work on the Standard license level. Is there a way I can test the script against the Standard license level, when we have no Standard license level in or company (only the higher Advanced level)?",
"I've tried different ways to install iTunes, but to no avail. I tried with Wine, but it didn't work. Is it possible to have iTunes on Ubuntu?",
"is a light side power that many Jedi, including are capable of. In Episode I, Qui-Gon uses it twice (once to outrun droids and once on Jar Jar's tongue), Obi-Wan uses it once and Anakin uses high speed reflexes for the entire duration of the pod race with no formal training. According to the power has a high drain and requires a longer recovery period than other powers. And then of course there are hilarious drawbacks such as . But why wasn't this power used in the following scenarios (and many, many others): The Redshirt Jedi who accompanied Windu to arrest Palpatine, before they were summarily dispatched to the Nether. Qui-Gonn, to avoid a lightsaber through his gut. Yoda, to avoid flying senate seats. By Windu, who is supposedly a notable practitioner.",
"Why did Voldemort hide two Horcruxes in Hogwarts?",
"Linear functional and a bounded norm I'm trying to work through some example questions for my class but there is no mention of \"Piecewise affine functions\" anywhere and I'm completely stumped on how to do this. Any help would be appreciated please.",
"Get Emacs to ignore contents of \\Sexpr{} command in Sweave document to prevent incorrect $-based syntax highlighting",
"How can i get my community Base URL in apex I am using Salesforce Community and I have network Id of the community but I don't know how can I get Base URL of my community. Any one know how can I get my community base URL using its id in apex as a internal user. Is there any other way in which salesforce internal user can get the base URL of all his community in the apex also i don't find any object in which Community Base URL is stored. I checked network sObject but it only store community path prefix not the complete URL so how can i get the base URL for my community?",
"Idiom or expression criticizing people who ignore you right after getting what they wanted/ were after",
"Reusable functions in jQuery callback",
"What was the origin of Star Trek's Borg?",
"How to make the Navigation Bar of an UINavigationController display at the bottom?",
"What is the difference between Set and SetDelayed?",
"When I use the \\tableofcontents macro in a document where the etoc package is loaded, latex pauses and reports an error. If I let the compilation continue a well formed pdf is generated. Minimal example that can reproduce the error on my machine. \\listfiles \\documentclass{article} \\usepackage{etoc} \\begin{document} \\tableofcontents \\end{document} Output from pdflatex on the minimal example. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex) restricted \\write18 enabled. entering extended mode (./mwe.tex LaTeX2e <2018-04-01> patch level 4 (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2018/texmf-dist/tex/latex/etoc/etoc.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/multicol.sty)) (./mwe.aux) ! Package inputenc Error: Unicode character (U+200E) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.6 \\tableofcontents ? R OK, entering \\nonstopmode... ! Package inputenc Error: Unicode character (U+200E) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.6 \\tableofcontents [1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./mwe.aux) *File List* article.cls 2014/09/29 v1.4h Standard LaTeX document class size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) etoc.sty 2018/02/23 v1.08n Completely customisable TOCs (JFB) multicol.sty 2018/04/20 v1.8s multicolumn formatting (FMi) *********** ) (see the transcript file for additional information)</usr/local/texlive/2018/te xmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/local/texlive/2018/tex mf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb> Output written on mwe.pdf (1 page, 16281 bytes). SyncTeX written on mwe.synctex.gz. Transcript written on mwe.log.",
"Why are there only derivatives to the first order in the Lagrangian? Why is the Lagrangian a function of the position and velocity (possibly also of time) and why are dependences on higher order derivatives (acceleration, jerk,...) excluded? Is there a good reason for this or is it simply \"because it works\".",
"Where and why do I have to put the \"template\" and \"typename\" keywords? In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway? I have the following code: template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail { // ... template<typename U> struct inUnion { // Q: where to add typename/template here? typedef Tail::inUnion<U> dummy; }; template< > struct inUnion<T> { }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> { // ... template<typename U> struct inUnion { char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U }; template< > struct inUnion<T> { }; }; The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?",
"Use second argument for optional first argument if not provided in macro I'm trying to construct a command with one optional and one mandatory argument and I'd like the default if the optional argument is not provided to be #2. Why does this not work? (error: Illegal parameter number ...) \\documentclass{article} \\newcommand{\\mycommand}[2][#2]{\\label{#1}#2} \\begin{document} \\mycommand{mytext} \\end{document} And what would be a way around it? EDIT: For clarification of my specific use case: I'm trying to define a command that passes a variable on as an option to an environment along those lines, where myenv can have options like optionone=X or optiontwo=Y so the default for the optional #1 should be optionone=#2 (not literally #2). \\newcommand{\\mycommand}[2][optionone=#2]{\\begin{myenv}[#1]\\input{#2}\\end{myenv}} Maybe there's generally a better approach? (The environment definition I'm using is from .)",
"\"My wife and I's seafood collaboration dinner\"",
"If I have a legendary creature out, and I make a copy of it (such as by enchanting it with or making a ), do I get enters-the-battlefield effects from the creature before I have to sacrifice it to the legend rule?",
"derivative of a determinant of matrix Let $A,B\\in M_{n\\times n}(\\mathbb{R})$, prove that $$(\\frac{d}{dt}\\det(A+tB))_{t=0} = Tr(cof(A)^{T}\\cdot B), $$ where $cof(A)$ is the cofactor matrix of $A$. I tried expanding it using row expansion, but it gets messed up. Any help?",
"Can a US citizen leave and enter the US using a foreign passport?"
] | medi_sts_stackexchange_dupe |
"You and I" - both subjects? | When do I use "I" instead of "me?" | [
"Proof that in a field $x=0$ is equivalent to $x=-x$",
"How to overlay images",
"Why is scale factor inversely proprotional to temperature? In all lectures, books and papers I have read about, the scale factor of the universe is inversely proportional to temperature $$a \\propto \\frac{1}{T}$$ What is the reasoning behind this relation? People did mention stretching of wavelength proportional to scale factor and wavelength being inversely proportional to temperature by Wein's law, but somehow this argument doesn't seem convincing to me. How did we initially come about to this relation?",
"I am trying to install a fresh version of Ubuntu in my computer without touching the windows 10 dual boot! In the Installation Type, the first option seems exactly what i wanted to do. My question is, is this feature is safe to use? because i don't want to lose any windows files and other NTFS partitions on the hard-disk. Please eliminate my confusion. Note as that i dont need any files or media which are in the ubuntu partition, Thanks.",
"Hi I am working on a website for a student organization of my college. In order to prevent spams, I have been looking for ways to limit account applicants only with email addresses from the college but haven't figure out how",
"Proof of conservation of energy? How is it proved to be always true? It's a fundamental principle in Physics based on all of our currents observations of multiple systems in the universe. Is it always true to all systems? Because we haven't tested or observed them all. Would it be possible to discover/create a system that could lead to a different result? How are we 100% sure that energy is always conserved? Finally, why did we conclude it's always conserved? What if a system keeps doing work over and over and over with time?",
"I recently came across the paper . The author raised a few common misconceptions regarding hypothesis testing and p-values, about which I have two specific questions: The p-value is technically $P({\\rm observation}|H_{0})$, which, as pointed out by the paper, generally does not tell us anything about $P(H_{0}|{\\rm observation})$, unless we happen to know the marginal distributions, which is rarely the case in \"everyday\" hypothesis testing. When we obtain a small p-value and \"reject the null hypothesis,\" what exactly is the probabilistic statement that we are making, since we cannot say anything about $P(H_{0}|{\\rm observation})$? The second question relates to a particular statement from page 6(652) of the paper: Since the p-value, or range of p-values indicated by stars, is not set a priori, it is not the long-run probability of making a Type I error but is typically treated as such. Can anyone help to explain what is meant by this statement?",
"Recommendations for good Newtonian mechanics and kinematics books What are some good books for learning the concepts of Kinematics, Newton laws, 2D Motion of Object etc.?",
"apt-get update only for a specific repository",
"How to use `ybar interval` without skipping the last value",
"Short science fiction film about a Midwest farmer who builds a bunker after finding a space plant",
"What is the effect of having correlated predictors in a multiple regression model? I learned in my linear models class that if two predictors are correlated and both are included in a model, one will be insignificant. For example, assume the size of a house and the number of bedrooms are correlated. When predicting the cost of a house using these two predictors, one of them can be dropped because they are both providing a lot of the same information. Intuitively, this makes sense, but I have a some more technical questions: How does this effect manifest itself in p-values of the regression coefficients when including only one or including both predictors in the model? How does the variance of the regression coefficients get affected by including both predictors in the model or just having one? How do I know which predictor the model will choose to be less significant? How does including only one or including both predictors change the value/variance of my forecasted cost?",
"How can I install Ubuntu on a headless machine? I have a headless storage server with preconfigured Windows Home Server. How can I install Ubuntu without a display? Do I have to build a custom install flash drive? If so, what would be the basic procedure? Is there a program (like unetbootin) to do this?",
"Should I retag a question with a tag that is based on the answer and not the question? Here's a scenario: Someone asked about \"How to build a SQL query to get count and blah blah blah...\" His only tag is . I added the and tags to it. Someone else answered with a nice SQL statement that has a \"group by\" statement which seems \"logically inevitable\". I proceed to add a tag . I did that on the basis that someone who searches for will be able to find this post useful, just as I did. My concern is, it wasn't described at all in the question, nor was it implied, unlike and . What is the community opinion? The scenario above is a real one . And the one who answered it nicely is Jon Skeet.",
"Integrating $\\int_0^1 \\frac {\\log(1-x)\\log^2(1+x)}x \\mathrm{d}x$ Question: Integrate$$\\int\\limits_0^1dx\\,\\frac {\\log(1-x)\\log^2(1+x)}x=-\\frac {\\pi^4}{240}$$ I'm curious as to if there is a way to integrate this. I've tried using integration by parts to get$$I=-\\frac {\\pi^2}6\\log^22+2\\int\\limits_0^1dx\\,\\frac {\\operatorname{Li}_2(x)\\log(1+x)}{1+x}$$However, I'm not sure how to continue even further. The polylog in the second integrand seems a bit intimidating and I don't see how the first term even helps.",
"Does someone know if the following is true: Let $\\mathbb{X}$ be some arbitrary Banach space. $\\{x_k \\}_{k=1}^{\\infty} \\in \\mathbb{X}$ is a sequence chosen from $\\mathbb{X}$. Now, if the series $$\\sum_{k=1}^\\infty \\|x_k\\|_X$$ converges, would the \"more generic\" series $$\\sum_{k=1}^\\infty x_k$$ also converge? If yes, could you please give the proof (or just mark the proof steps) ? Thank you.",
"Special event cards and timing",
"How to not have an equation in the first line using the align environment?",
"Unable to send e-mail. Contact the site administrator if the problem persists When my web form is filled and submitted, I get redirected to a page that says: Thank you for submitting. but theres a red warning box there that says: Unable to send e-mail. Contact the site administrator if the problem persists. I think its the SMTP server, but I don't know how to fix that.",
"Linux command line. Move all files and directories in directory, except some files and directories I have a folder A which has files and directories, I want to move all those files and directories to another folder B, except file, file2, directory, and directory2. How can this be done?"
] | medi_sts_stackexchange_dupe |
What preposition would you use? | Rules for "on", "at", and "in": preposition of time | [
"What words are commonly mispronounced by literate people who read them before they heard them?",
"How to cd into a directory with this name \"-2\" (starting with the hyphen)? I have a directory named: -2 I want to cd into it but the cd complains: bash: cd: -2: invalid option With no success, I've tried: cd \"-2\" cd '-2' cd \\-2 Any solution? Edit: no file browsers like mc, etc. available on the server.",
"How are the number of views in a question calculated?",
"How to draw a side line in table",
"When would you use a voltage regulator vs a resistor voltage divider? Are there any uses for which a resistor divider is particularly bad?",
"Title says it all, I don't see confirmation in and a cursory google search seemed to say assume no and speculate about the pokemon bank.",
"Differences between astronomy, astrophysics and cosmology?",
"I've just upgraded to Ubuntu 13.10 and I'm seeing a strange behaviour. All windows I open have a black, boxy border, including popups, as you can see in the provided image. (The black box in the bottom right is a terminal, which fails to display any text. However, I can enter commands and they execute.) I followed the steps in this post: to reset Unity using the unity-tweak-tool. Although helpful, that did not fix the issue. I'm thinking this may be a graphics card driver issue. Any help is much appreciated.",
"How many objects are being created?",
"How to list all nodes of nodetype A which has the current node referenced? So this is what I'm trying to do in Drupal 6: Node type A is video, node type B is a person Nodetype A has a reference field where you can enter a reference to any Node from nodetype B how can I create a block view which will be displayed on nodes from node type b, which will show all the nodes from node type A where the current node from node type B is referenced?",
"How can I split a beamer bibliography across two slides?",
"Unable to locate package lib32bz2-1.0 I am trying to install Simplicity studio on Ubuntu 15.04 (64-bit) and I get this error E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by regex 'lib32bz2-1.0' I tried to install lib32bz2-1.0 package, again I get the same error. How to install package lib32bz2-1.0 on Ubuntu 15.04(64-bit)",
"How to use fakeslant as slanted but not italic font with fontspec? Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around: \\setmainfont[ AutoFakeSlant=0.15 ] {FontName} However, also if an italic version exist this faked slant will be used both for \\itshape and \\slshape. How can I keep using the shipped italic font defined by the ItalicFont= parameter to \\setmainfont but use fake slant for \\slshape?",
"For example, the radiation dominated cosmology, the energy density of radiation is proportional to $a^{-4}$ and the volume is proportional to $a^3$, where $a$ is the scale factor. So the total energy of radiation is propotional to $a^{-1}$. So where is the loss of energy of radiation? Is it because the gravitational field has the energy? Does $\\nabla_aT^{ab}_{\\rm matter}=0$ represent the conservation of energy and momentum of matter field in GR?",
"Where to put my code: plugin or functions.php?",
"How to turn off \"unread messages\" feature on Windows XP login screen? In Windows XP, if you have logged onto Windows Live Messenger at some point, then it'll start displaying how many unread messages on the Windows login screen. How can I turn it off?",
"I have recently been reading about Quantum Electrodynamics which I found very interesting, but even more confusing. I understand photons mediate the electromagnetic force and interactions between charges can be described by virtual photon exchange. And that in Quantum Mechanics particles paths can be evaluated by sum over all paths... An electron travelling from one point to another will take all paths, emitting and reabsorbing virtual photons. Does the electrons take all paths including those that involve faster than light velocities? Is this question null, Does it mean anything to ask about properties of virtual particles? Do I have the wrong idea about what virtual particles are?",
"Setting ArcGIS Desktop license to lower level for testing whether Python script still runs? I have a Python script that will need to be given to a client. We are currently evaluating what license level the client will need in order to run the script for their software acquisition purposes. We all have ArcGIS 10.1 Advanced license in our company. I checked all the tools and extensions used in the script against the web help and found that they should work on the Standard license level. Is there a way I can test the script against the Standard license level, when we have no Standard license level in or company (only the higher Advanced level)?",
"I want to make sure all of the data in my plugins/themes is handled securely before entering the database and before being output to the browser. My problem is that there are situations where the API handles the sanitization for you -- like when saving post meta fields -- and others where the plugin/theme author is wholly responsible for doing it -- like when saving custom settings. For the scope of this question, I'm not concerned about validating data at the domain level -- e.g., checking that an Age field on a form is between 0 and 120, or that an e-mail address is valid. I'm only concerned about security -- e.g., escaping SQL queries to avoid SQL injection when saving to the database, or sanitizing data that's output to HTML templates to avoid XSS. For output sanitization, I know that you always need to use functions like esc_html() and esc_attr() when echo'ing variables into HTML templates. But, what about when using ? Do they all sanitize the output already? If so, for which context (general HTML, tag attributes, etc)? Some functions have variants for different contexts (like the_title_attribute(), but most don't. For input sanitization, I know that I need to use $wpdb->prepare() when making manual queries, but what about when using the Settings API to create a plugin settings page, or saving post meta fields for a custom post type? Right now I've just been digging through Core and reading tutorials every time I use a function to find out if it sanitizes or not, but that's error-prone and time consuming. I'm hoping to find some kind of comprehensive list of all the possible situations and whether or not the API handles it. e.g., API validates/sanitizes Saving post meta with update_postmeta() Saving user meta with update_user_meta() Outputting a post title - use the contextually appropriate variant of the_title() etc You have to manually validate/sanitize Saving plugin options with the Settings API. Pass a callback as the 3rd parameter of register_setting(). Direct database queries: Wrap the query in $wpdb->prepare(). Outputting variables in HTML. Use esc_attr(), esc_html(), etc etc I'd also be interested to understand why the API provides it in certain situations, but not others. I'm assuming it has something to do with the unknown nature of the data, but would love to hear a thorough explanation.",
"\"does not contain a static 'main' method suitable for an entry point\""
] | medi_sts_stackexchange_dupe |
Why is "bad news seemS" and not "bad news seem"? | Subject-Verb Agreement | [
"Virtualbox not seeing any usb devices in the usb filters settings I was following this question but found a problem. I used guvcview to test the camera, it works. I installed the 12.04 virtualbox release from their website and installed the extension pack. But when I click the usb with the green plus sign it says no devices available.",
"Definite integral, quotient of logarithm and polynomial: $I(\\lambda)=\\int_0^{\\infty}\\frac{\\ln ^2x}{x^2+\\lambda x+\\lambda ^2}\\text{d}x$",
"What happens if my ESTA expires on the day of arrival? I'm French and will travel the 14th of June to the US. My ESTA expires the 14th of June 2013 and I'm wondering if my ESTA will be valid when I'll land in the US on the 14th of June 2013. Does someone know anything about that?",
"This question led to a new package: I would like to display the ORCID id in an author list in an IEEEtran pdf, like that: Is there a standard way to include it in an IEEEtran article with PdfLaTeX? I used two approaches from , but I failed. One is to insert the ORCID icon in the author list. I used the blow code: \\author{Ali Al-Obaidi \\href{https://orcid.org/0000-0000-0000-0000}{\\includegraphics[scale=1]{figures/orcid_16x16.png}}} where orchid_16x16.png is provided in the link . But the result is that the icon is not clear enough, even I replaced it with a different size. The other approach is to use the package, like that: \\usepackage{academicons} \\definecolor{orcidlogocol}{HTML}{A6CE39} \\author{AAA \\href{https://orcid.org/0000-0000-0000-0000}{\\textcolor{orcidlogocol}{\\aiOrcid}}} However, the result is like that: And I also got two errors: "Latex Error: Encoding scheme 'TU' unknown" and "Bad character code (59865)". In the latest academicons.sty (see ), academicons use the font TU. However, it seems that the compiler PdfLateX cannot support this font. Thus, is there anyone that knows a standard way to include it in an IEEEtran article with PdfLaTeX? Please help me.",
"What do *args and **kwargs mean? What exactly do *args and **kwargs mean? According to the Python documentation, from what it seems, it passes in a tuple of arguments. def foo(hello, *args): print hello for each in args: print each if __name__ == '__main__': foo(\"LOVE\", [\"lol\", \"lololol\"]) This prints out: LOVE ['lol', 'lololol'] How do you effectively use them?",
"Maximal order of an element in a symmetric group If we let $S_n$ denote the symmetric group on $n$ letters, then any element in $S_n$ can be written as the product of disjoint cycles, and for $k$ disjoint cycles, $\\sigma_1,\\sigma_2,\\ldots,\\sigma_k$, we have that $|\\sigma_1\\sigma_2\\ldots\\sigma_k|=\\operatorname{lcm}(\\sigma_1,\\sigma_2,\\ldots,\\sigma_k)$. So to find the maximum order of an element in $S_n$, we need to maximize $\\operatorname{lcm}(\\sigma_1,\\sigma_2,\\ldots,\\sigma_k)$ given that $\\sum_{i=1}^k{|\\sigma_i|}=n$. So my question: How can we determine $|\\sigma_1|,|\\sigma_2|,\\ldots,|\\sigma_k|$ such that $\\sum_{i=1}^k{|\\sigma_i|}=n$ and $\\operatorname{lcm}(\\sigma_1,\\sigma_2,\\ldots,\\sigma_k)$ is at a maximum? Example For $S_{10}$ we have that the maximal order of an element consists of 3 cycles of length 2,3, and 5 (or so I think) resulting in an element order of $\\operatorname{lcm}(2,3,5)=30$. I'm certain that the all of the magnitudes will have to be relatively prime to achieve the greatest lcm, but other than this, I don't know how to proceed. Any thoughts or references? Thanks so much.",
"Difference between $ and # in Linux environment",
"Why would someone use WHERE 1=1 AND <conditions> in a SQL clause (Either SQL obtained through concatenated strings, either view definition) I've seen somewhere that this would be used to protect against SQL Injection, but it seems very weird. If there is injection WHERE 1 = 1 AND injected OR 1=1 would have the same result as injected OR 1=1. Later edit: What about the usage in a view definition? Thank you for your answers. Still, I don't understand why would someone use this construction for defining a view, or use it inside a stored procedure. Take this for example: CREATE VIEW vTest AS SELECT FROM Table WHERE 1=1 AND table.Field=Value",
"How can the median number of sexual partners be 6.1 and 3.6? Median number of female sexual partners in lifetime, for men 25-44 years of age, 2006-2008: 6.1 Wouldn't it only be able to be x.5 or x.0?",
"so i have a 30A disconnect available for use at a customer site for running 2 5HP motors ( at 480V) the only question i have though is if the line is sized for a 10HP motor would both the 5HP motors need additional fuse protection? Or could i get away without having addtional fuses protecting the motors ?",
"Conjugate subgroup strictly contained in the initial subgroup?",
"Proving the identity $\\sum_{k=1}^n {k^3} = \\big(\\sum_{k=1}^n k\\big)^2$ without induction I recently proved that $$\\sum_{k=1}^n k^3 = \\left(\\sum_{k=1}^n k \\right)^2$$ using mathematical induction. I'm interested if there's an intuitive explanation, or even a combinatorial interpretation of this property. I would also like to see any other proofs.",
"I need to install more applications - can I use my external HD (samsung T5) and add an additional applications folder? I have loads of space on it and it the speeds are great.",
"Was Yoda fully sane on Dagobah? Our (and Luke's) original impression of Yoda is by no means flattering. He looks like a crazy hungry green thing that unfortunately has the ability to speak. Yoda digs through Luke's stuff, eats Luke's food, and, obsessed with that awesome little flashlight, ends up stealing it. (He even goes so far as to fight with Artoo over it.) So was Yoda slowly losing it during all those years as a hermit? Perhaps going from fighting battles and conversing with others on a daily basis to living in total isolation with no one to speak with would play a part in that? Or could Yoda have been faking his apparent insanity for some reason? (If so, what is mentioned reason?)",
"How to properly install Java in OS X",
"Is it (theoretically) physically possible to project an image into thin air?",
"Are proofs by contradiction really logical? Let's say that I prove statement $A$ by showing that the negation of $A$ leads to a contradiction. My question is this: How does one go from \"so there's a contradiction if we don't have $A$\" to concluding that \"we have $A$\"? That, to me, seems the exact opposite of logical. It sounds like we say \"so, I'll have a really big problem if this thing isn't true, so out of convenience, I am just going to act like it's true\".",
"Which way does the scale tip?",
"How to control Windows 7 snap feature with two monitors? There is an feature in Windows 7. However, it seems to not work when dragging a window to the edge that is adjoined to the second monitor. How to make it work properly? Maybe some regedit modification or something?",
"I need to sync the Downloads folder to iCloud and then all the downloads should automatically sync with iCloud. I tried to: Create a new Downloads folder in the terminal of MacBook in the Documents directory. Tried to move the default Download folder to the newly created folder. When I tried to use the mv command to move the default Downloads folder to the newly created Downloads folder in Documents in the terminal, it gives permission denied error. I am trying to achieve what was suggested by user PhillipHolmes in the below thread, please. Thank you: Thank you"
] | medi_sts_stackexchange_dupe |
How is arterial blood spray filmed? | How do they film continuous blood pooling? | [
"I know you can select a tag and then click on unanswered to view the unanswered questions for that tag. But is there a way to view questions only for a certain set of tags > 1 tag? Mainly I'd like the union of tag1 with tag2 with tag3 with tag4. But also the intersection of tags would be nice as well.",
"Ruby -- capitalize first letter of every sentence in a paragraph",
"Acne underneath skin Introduction Okay, I've almost won my war. The battle, its almost won... However, I must still claim victory in my final battle. The battle against the little enemies, the ones that have fought with my blade of benzoyl peroxide every single day. Problem Through spot treatments I have been able to fell every single one of these spots, but only the ones on my face. I've been using a spot treatment with benzoyl peroxide in, which has worked really well for me. However, my issue comes here: There are spots underneath my skin, I think. The areas where they come through are a bit red. So, because there is still slightly red skin on my face, and I think this is causing my acne to constantly return. I need to stop this, and end my war once and for all. What I've tried Washing my face with a rag and sponge every day, three times a day Changing my pillow case every day Using a benzoyl peroxide spot treatment Minimizing how much I touch my face Not interfering with the spots with my fingers, not picking at them, not playing with them. Just letting spot creams eradicate them. Conclusion Seriously, this driving me up the wall. I spot cream in the evening, by the time tomorrow has ended and its time for a shower, they've all come back. Its like they're coming in waves, damn waves! I must put an end to this. So, how can I prevent acne from coming back within the space of a single school day? How can I get rid of these once and for all? What types of measures could I try? I have no reason to visit my doctor, its only acne, but I have no idea what I can try now. Is there even a point in me trying? I acknowledge that I am a teenager, but no others that I know seem to have acne/spots like I do.",
"Examples of patterns that eventually fail Often, when I try to describe mathematics to the layman, I find myself struggling to convince them of the importance and consequence of \"proof\". I receive responses like: \"surely if Collatz is true up to $20×2^{58}$, then it must always be true?\"; and \"the sequence of number of edges on a complete graph starts $0,1,3,6,10$, so the next term must be 15 etc.\" Granted, this second statement is less logically unsound than the first since it's not difficult to see the reason why the sequence must continue as such; nevertheless, the statement was made on a premise that boils down to \"interesting patterns must always continue\". I try to counter this logic by creating a ridiculous argument like \"the numbers $1,2,3,4,5$ are less than $100$, so surely all numbers are\", but this usually fails to be convincing. So, are there any examples of non-trivial patterns that appear to be true for a large number of small cases, but then fail for some larger case? A good answer to this question should: be one which could be explained to the layman without having to subject them to a 24 lecture course of background material, and have as a minimal counterexample a case which cannot (feasibly) be checked without the use of a computer. I believe conditions 1. and 2. make my question specific enough to have in some sense a \"right\" (or at least a \"not wrong\") answer; but I'd be happy to clarify if this is not the case. I suppose I'm expecting an answer to come from number theory, but can see that areas like graph theory, combinatorics more generally and set theory could potentially offer suitable answers.",
"By just typing some commands, how can Ubuntu be uninstalled? I don't want to install Windows or anything, leaving my PC without an OS. Would this command work? sudo rm -rf /",
"How to run updmap-sys after installing cm-super? My original question was: The answer that seems suitable to my cause is to install cm-super. I did that (using package manager [winxp 32 bit, MikTex installation 2.9 recently updated]). But still the command \\usepackage{cm-super} yields an error. User H Cavendish suggested to run updmap-sys, but I am not sure about how to do that on WinXP. 2011 November 04 edit: I made it sure that I have installed 'cm-super' - but still get the same error: I have also tried updating the file name databases - but no avail.",
"Let's say it again, we all make mistakes, and I have just made one. A brief history: I was doing some stuff on a VPS (Debian) I'm renting, when I noticed some strange behaviour. Using the netstat command I saw an non-authorized connection through SSH. I didn't know what to do, so I decided to close his connection using iptables: iptables -A INPUT -p tcp --dport ssh -s IP -j DROP But I am tired, and I wrote iptables -A INPUT -p tcp --dport ssh -j DROP and I kicked myself (and everyone else) out... How do I fix this?",
"Why $\\sqrt{-1 \\cdot {-1}} \\neq \\sqrt{-1}^2$?",
"Proof that a sequence of continuous functions $(f_n)$ cannot converge pointwise to $1_\\mathbb{Q}$ on $[0,1]$",
"How do you validate that two math expressions are equal? Let's say you have a few expressions like the following: $$\\begin{array}((x+17)^2 \\\\ x^2 + 34x + 289 \\end{array} \\\\ 288 + \\frac{x^2}{2} + \\frac{x^2}{2} + 34x + 1 \\\\ [...] $$ You get the idea: there's an infinite number of ways of representing the same expression. The challenge is that my application is validating answers to math problems, input by math students practicing a certain concept. I'd like to make sure that whenever they submit an answer, the checker is completely insensitive to the issues of ordering, simplification, formatting etc. which would be plain frustrating. I'd also ideally like to support more than one variable such as x, y, z in the same expression. What's a reliable way to check that two expressions are the same? The most brute force way I can think of would be to just plug a number into each variable of each expression and see what the result is. I have a hunch however that there might be ways of getting false positives this way. That, and I might be either missing something really obvious about this, or there might be a better way of doing the comparison. Would love to hear what you think.",
"Schengen Visa Refusal: Justification for the purpose and conditions of the intended stay was not reliable",
"\"strlen(s1) - strlen(s2)\" is never less than zero",
"What is the formula for percent of frame filled at a specific distance and focal length?",
"How do I create a 50x3 cell array from a 50x3 matrix. Keep just getting a 1x1 cell array with a 50x3 submatrix?",
"Second law of Newton for variable mass systems Frequently I see the expression $$F = \\frac{dp}{dt} = \\frac{d}{dt}(mv) = \\frac{dm}{dt}v + ma,$$ which can be applied to variable mass systems. But I'm wondering if this derivation is correct, because the second law of Newton is formulated for point masses. Furthermore if i change the inertial frame of reference, only $v$ on the right side of the formula $F = \\frac{dm}{dt}v+ma$ will change, meaning that $F$ would be dependent of the frame of reference, which (according to me) can't be true. I realize there exists a formula for varying mass systems, that looks quite familiar to this one, but isn't exactly the same, because the $v$ on the right side is there the relative velocity of mass expulsed/accreted. The derivation of that formula is also rather different from this one. So my question is: is this formula, that I frequently encounter in syllabi and books, correct? Where lies my mistake.",
"How has the age of the Universe been derived from the observations made by the Planck mission?",
"Incorrectly answered 'No' to \"Any previous visa refusals...\" on a UK Standard Visitor visa application. How can I fix my mistake?",
"How to generate a random alpha-numeric string I've been looking for a simple Java algorithm to generate a pseudo-random alpha-numeric string. In my situation it would be used as a unique session/key identifier that would \"likely\" be unique over 500K+ generation (my needs don't really require anything much more sophisticated). Ideally, I would be able to specify a length depending on my uniqueness needs. For example, a generated string of length 12 might look something like \"AEYGF7K0DM1X\".",
"Upgrade OpenSSH 7.4 to later on RHEL I have a Red Hat Enterprise Linux server (7.5 x86_64). I have OpenSSH version 7.4. I was asked to upgrade it to a later version for security reasons: Nessus states that . However the Red Hat software and downloads does not have the latest package RPM. I found some clues on where to get the latest package for OpenSSH. I found , however, I do not know on how to upgrade it and trust this website. I do not want the SSH and other configuration to be modified by the ugrade. I did find links but however they are not useful, for example . I would like to know how to upgrade OpenSSH without using yum.",
"Why aren't we sterilizing N95 masks?"
] | medi_sts_stackexchange_dupe |
Rails force ssl only on specified controllers | Partial SSL in rails | [
"How to put a framed box around text + math environment",
"How can I get a views exposed filter to persist across multiple views? I have 2 separate views that return a set of results for each of my content types. The fields are different, but the filters are exactly the same - Sort by Location / Distance. This Distance / Proximity filter is exposed, and it is set to 'remember' the last entry. I followed the tutorial here to be able to filter results by distance. It works great. In views, to remember the last entry, Views uses sessions. But, each view has its own individual $_SESSION variable. That means what I set for one view does not carry over to the next, and even each view can have different values, which is not what I want. Here is a dump of the session after they have been set: [views] => Array ( [search_pages] => Array ( [default] => Array ( ) ) [baby_clothes_pages] => Array ( [default] => Array ( [distance] => Array ( [postal_code] => 11211 [search_distance] => 100 [search_units] => mile ) ) ) [baby_gear_pages] => Array ( [default] => Array ( [distance] => Array ( [postal_code] => 22343 [search_distance] => 100 [search_units] => mile ) ) ) ) What I would like to do is create a small module or snippet of code that will simply allow someone to type in their 5 digit zip code and then it update all the values across all my pages with this filter. If it is changed on any page, then it changes it for the rest of the pages as well. It also needs to work so that it affects the results on the next page load so that it correctly shows them filtered. Here is a snippet of code I was experimenting with to try to set this value, but it's the wrong direction. $all_views = views_get_all_views(); // get an array of all views in use on the site foreach ($all_views['category_pages']->display as $key => $value) { //check to see if the structure exists I am looking to modify if(array_key_exists('postal_code', $all_views['category_pages']->display[$key]->display_options['filters']['distance']['value'])) { //if so, set its value $all_views['category_pages']->display[$key]->display_options['filters']['distance']['value']['postal_code'] = '28152'; //try setting the session instead $_SESSION['views']['category_pages'][$key]['distance']['postal_code'] = '28152'; } What's the correct direction? How do I get this value changed? Could it be done in the template.php file with preprocess function? Should I do it in a module, and if so, what do I need to alter? Very lost at this point. Thanks for the direction!",
"Limit of integration can't be the same as variable of integration? I am told that an expression like $$ \\int_a^x f(x)dx $$ is not well formed, i.e. it should be $$ \\int_a^xf(t)dt $$ or similar. Why is it that the limits of integration can't depend on the variable of integration?",
"Creating non-reverse-engineerable Java programs",
"Is there a word for happiness made possible by a tragic situation? I frequently find myself needing a word to express happiness that acknowledges a tragic or unfortunate circumstance underpinning that happiness. Preferably the word could have both adjective and verb forms. For example, \"Gregory [verb-ed | felt adjective about] the balmy February day, suspecting it was yet another consequence of catastrophic and irreversible climate change.\" \"Bittersweet\" is close, but not precisely right. It implies ambivalence rather than genuine gladness. \"Schadenfreude\" is also in the neighborhood, but I don't want to imply that the tragic part of the situation is what causes the pleasure. (Also, I recognize that the word may not quite exist in English, and I don't know if this is forbidden for this forum, but I'd welcome a loan word or phrase if there's a better one.)",
"Since we're all into this OpenID thing, I think it would be really useful (and quite easy) to implement a friend invitation feature that grabs a list of friends from one's webmail contact list with an option to choose who to invite to SO, SF or SU. Something in the line of Facebook's friend invitation and recommendation feature.",
"I am compiling a program which requires boost-thread-mt library. I have installed libboost-all-dev using sudo apt-get install libboost-all-dev but compiler says that it cannot find boost-thread-mt library. Is this library in some other package? Please guide me what i need to install for this.",
"How do you report percentage accuracy for glmnet logistic regression?",
"3rd iterate of a continuous function equals identity function If $ f: \\mathbb{R} \\to \\mathbb{R} $ is continuous, and $\\forall x \\in \\mathbb{R} :\\;(f \\circ f \\circ f)(x) = x $, show that $ f(x) = x $. The condition that $f$ is continuous on $\\mathbb{R}$ is crucial for the proof. I can find functions such as $\\displaystyle\\frac{x-3}{x+1}$ that satisfies $ (f \\circ f \\circ f)(x) = x $. I have tried to negate the conclusion to see if there's a contradiction, but got stuck.",
"How to convert numbers between hexadecimal and decimal How do you convert between hexadecimal numbers and decimal numbers in C#?",
"Is there an equivalent of computation of physical processes in nature? I was watching a waterfall in the Austrian Alps. There were thousands of water droplets falling down, splattering on the stones below. I thought - how does nature find out so quickly where each droplet of water should go? To find out what happens to a falling droplet of water, one can use the laws of motion and calculate the trajectory. To calculate, one needs some amount of time, some machine (the brain, computer) and some energy to feed the machine. Does it make sense to ask what is the equivalent of this computation in nature? How does nature find out so quickly how things should move? More generally, to find out how anything should happen? Where is the "calculation" in nature? There's no room or energy for a machine in the particles that make up things.",
"Is there a constructive way to exhibit a basis for $\\mathbb{R}^\\mathbb{N}$?",
"Abnormal PREEMPTIVE_OS_AUTHENTICATIONOPS Waits",
"How do I use Conditional Formatting based on due dates in Excel 2013? I am trying to format cells in Excel 2013. I want the cells to get colored as green, yellow, and red based on how close they are with the target date (January 13, 2015 in this case). I am unable to use conditional formatting as Excel says that relative formatting is not permitted within conditional formatting. Target: 06-01-2015 01-01-2015 02-01-2015 03-01-2015 04-01-2015 05-01-2015 06-01-2015 07-01-2015 08-01-2015 09-01-2015 10-01-2015 If the date in the cell is more than 2 days of the target date, I want the cell to change color to Green. I used =DATEDIF($N12,$N$9,\"d\")>=3 and the format changed to green. If the date in the cell is exactly 2 days near the target date, I want the cell to change color to yellow. I used =DATEDIF($N12,$N$9,\"d\")=2 and the format changed to yellow. If the date in the cell is within 2 days of the target date, I want the cell to change color to red. I used =DATEDIF($N12,$N$9,\"d\")<2 and the format changed to red only for 5th and 6th January. Apparently, it does not recognize negative values. How can I get this to match the required colors?",
"Avoiding Mixed DML (setup/non-setup) Approach I need an approach to allow delegated admins (i.e., non-Administators) to add members to Public Groups and Collaboration Groups (the GroupMember and CollaborationGroupMember objects). I added a custom object (UserGroupRequest__c) to capture which Users should be added/removed to which Groups. I've also built a batchable class to process the requests. However, GroupMember is a Setup object, and CollaborationGroupMember is not. So this doesn't work if I combine the operations in a single batchable class. Should I instead be using 2 batch classes, calling one from the finish method of the other? Any recommendations on how best to proceed? Am I way off base? Would a trigger on the Request object perhaps be better? I'm guessing that there may be a permission problem if this is attempted via a trigger as the delegated admins won't be able to add users to public Groups. Also, I'm guessing the trigger approach would run into the same mixed DML issue - on Insert of the Custom object, I would need to Insert/Delete from GroupMember and from CollaborationGroupMember, and then perform a 2nd update on the Custom object to indicate that processing was completed...",
"Reload activity in Android",
"How do I get the size of a java.sql.ResultSet? Shouldn't this be a pretty straightforward operation? However, I see there's neither a size() nor length() method.",
"How to fix very slow Ubuntu booting?",
"Question: Can anyone shed some light on this formula? I can't find any information on it. It has three corollaries that I also need to understand:",
"Show $\\text{Hom}_{Ab}(A,\\mathbb{Q}) = \\{0\\}$ for finite $A$ I have a finite abelian group $A$ and I have shown that $A\\otimes\\mathbb{Q} \\cong \\{0\\}$, the trivial group. Now I want to show that $\\text{Hom}_{\\textbf{Ab}}(A,\\mathbb{Q}) = \\{0\\}$, i.e we only have the trivial zero group homomorphism from $A$ to $\\mathbb{Q}$. The question I'm trying to solve is phrased in such a way that $\\text{Hom}_{\\textbf{Ab}}(A,\\mathbb{Q}) = \\{0\\}$ should fall out almost automagically once you have that the tensor product collapses but I'm really stuck on this even though some people I talked to said it was really easy. Some thoughts: I've tried to assume the existence of a nontrivial homorphism $A \\to \\mathbb{Q}$ to generate a contradiction but with no success. We have the Tensor-hom adjunction theorem stating that for abelian groups $A,B,C$ we have a natural bijection $$\\text{Hom}_{\\textbf{Ab}}(A\\otimes B,C) \\cong \\text{Hom}_{\\textbf{Ab}}(B ,\\text{Hom}_{Ab}(A,C))$$ and by plugging in our particular groups we get that: $$\\text{Hom}_{\\textbf{Ab}}(A\\otimes \\mathbb{Q},\\mathbb{Q})\\cong\\text{Hom}_{\\textbf{Ab}}(\\mathbb{Q} ,\\text{Hom}_{Ab}(A,\\mathbb{Q}))$$ Since $A\\otimes\\mathbb{Q} \\cong \\{0\\} \\implies \\text{Hom}_{\\textbf{Ab}}(\\mathbb{Q} ,\\text{Hom}_{Ab}(A,\\mathbb{Q})) = \\{0\\}$ so we only have the trivial morphism from $\\mathbb{Q} \\to \\text{Hom}_{Ab}(A,\\mathbb{Q})$ but I don't think this implies that $\\text{Hom}_{Ab}(A,\\mathbb{Q}) = \\{0\\}$ and I'm not sure if this reasoning helps me at all."
] | medi_sts_stackexchange_dupe |
$P(X_1 > 0 \mid X_1 + X_2 > 0)$ for IID $X_1, X_2 \sim \mathcal{N}(0,1)$ | What is $P(X > 0 \mid X + Y > 0)$ given that $X, Y$ are i.i.d standard normal? | [
"Problem of unbalanced data",
"Should I use the past tense with did?",
"Prove: If $\\gcd(a,b,c)=1$ then there exists $z$ such that $\\gcd(az+b,c) = 1$ I can't crack this one. Prove: If $\\gcd(a,b,c)=1$ then there exists $z$ such that $\\gcd(az+b,c) = 1$ (the only constraint is that $a,b,c,z \\in \\mathbb{Z}$ and $c\\neq 0)$",
"I have a script which calls two commands: long_running_command | print_progress The long_running_command prints progress but I'm unhappy with it. I'm using print_progress to make it nicer (namely, I print the progress in a single line). The problem: Connection a pipe to stdout also activates a 4K buffer, so the nice print program gets nothing ... nothing ... nothing ... a whole lot ... :) How can I disable the 4K buffer for the long_running_command (no, I do not have the source)?",
"Do I need Transit Visa to visit London for 4-5 hours during layover?",
"I get this error: dpkg: unrecoverable fatal error, aborting: files list file for package `fonts-tlwg-kinnari' contains empty filename",
"How do I compare binary files in Linux? I need to compare two binary files and get the output in the form: <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary form and file2.bin is 00 91 00 10 I want to get something like 00000001 90 91 00000003 11 10 Is there a way to do this in Linux? I know about cmp -l but it uses a decimal system for offsets and octal for bytes which I would like to avoid.",
"What is the definition of a symmetric distribution? What's the definition of a symmetric distribution? Someone told me that a random variable $X$ came from a symmetric distribution if and only if $X$ and $-X$ has the same distribution. But I think this definition is partly true. Because I can present a counterexample $X\\sim N(\\mu,\\sigma^{2})$ and $\\mu\\neq0$. Obviously, it has a symmetric distribution, but $X$ and $-X$ have different distribution! Am I right? Do you guys ever think about this question? What's the exact definition of symmetric distribution?",
"The coefficient of kinetic friction can be calculated using $\\mu_k = F_k/F_n$. A change in angle does not affect the normal force, but doesn't a change in angle affect the friction? As in if the angle is steeper, wouldn't the object have a greater propensity to move down the slope, thus there will be less friction?",
"It's clear to me by inspection that if we fix $\\beta = \\frac{1-\\mu}{\\mu} \\alpha$ (thereby fixing the mean) and let $\\alpha \\rightarrow 0$, the Beta distribution approaches a Bernoulli($\\mu$) distribution. For example: par(mfrow = c(1, 2), oma = c(0, 0, 1.5, 0)) xx = seq(0, 1, length.out = 1000) mus = c(.2, .7) for (ii in 1:2) { mu = mus[ii] matplot(xx, sapply(10^(-1:-5), function(al) pbeta(xx, al, (1-mu)/mu * al)), type = 'l', lty = ii, main = paste('Mean:', mu), ylab = 'Cumulative Probability', xlab = 'x') } title('Beta Approaches Bernoulli', outer = TRUE) That is, if $X \\sim B(\\alpha, \\frac{1-\\mu}{\\mu} \\alpha)$, its CDF $F_X(x; \\alpha, \\mu)$, satisfies $$ \\lim_{\\alpha \\rightarrow 0} F_X(x; \\alpha, \\mu) = 1 - \\mu = F_Y(x) \\quad \\forall x \\in (0, 1)$$ Where $Y \\sim$ Bernoulli($\\mu$), and the convergence is non-uniform. I tried to do a more formal proof of this but couldn't make any progress, even in simple cases (like $\\mu = \\frac12$). The makes reference to the $\\mu = \\frac12$ case several times without proof. Perhaps I'm missing something easy about doing the integral, or some fact about the Beta/incomplete Beta function. Any help would be appreciated!",
"Resistors in series vs parallel",
"When to use 'which' or 'in which' or 'that' (as relative pronouns)?",
"How can I left-align a caption?",
"Generate all combinations from multiple lists",
"Need to prove that $(S,\\cdot)$ defined by the binary operation $a\\cdot b = a+b+ab$ is an abelian group on $S = \\Bbb R \\setminus \\{-1\\}$.",
"Where does the word \"dog\" come from?",
"Probability to obtain more than X with 3 dice.",
"What happens if I buy a game I already own through Steam a second time? I am debating whether or not to get the Potato Sack (yes, I realize I've been debating for several weeks now) bundle through steam. I already own: Defense Grid: The Awakening, Super Meat Boy, and Audiosurf, all of which are part of the sack pack. What happens if I buy the Potato Sack? Do I get 2nd copies of the three above mentioned games to gift elsewhere? Is the price of the bundle reduced by the games I already have? Do I get nothing special for already owning those 3 games?",
"Is voting to balance in the spirit of the site? The other day I saw an answer which was ok. Not great but not bad. So no reason to upvote or downvote. However the answer already had a single downvote. I felt this was unfair so upvoted the answer to keep it at what I felt was a fair score. It wasn't until afterward that it occurred to me that I should have perhaps solely voted on the content of the answer. Is this a reasonable reason for an upvote or should I have left the answer alone?",
"Children's fantasy series with a symbol consisting of a circle divided into quarters I read this book series as a kid back in the late 1970s, so it's an old series - and my memories are similarly old, and vague. I know it's a fantasy series. I think there are 4 books in the series. Or perhaps 7. There's a central boy character who has to get a collection of magical objects (every fantasy needs a quest!), each of which represents a different magical 'element': wood, stone, fire, etc. I definitely remember there was a wooden object. He lives in our normal world. The whole series takes place \"here & now\". I have a feeling he's a \"chosen\" person of some kind... But, the strongest memory I have is of a symbol: a circle which is divided into quarters (a vertical bar and a horizontal bar). I know it's vague, but does anyone recognise this?"
] | medi_sts_stackexchange_dupe |
Dual boot issues win8/ubuntu16.04 | How can I repair grub? (How to get Ubuntu back after installing Windows?) | [
"At the end of my animation, the animation pauses a bit then loops again, how can I stop the slow pause, and let the loop work fluently?",
"Mark a comment as the answer to a question I have a question and have seen others to which the best and most relevant answer (at least the one that solved my particular problem) is placed in the comments to the question as opposed to the answers: I would like to recognize the commenter as the person who correctly answered the question, but there doesn't seem to be any way to do that. The only thing I could think of was to ask the commenter to repost his comment as an answer, but I cannot figure out a way to contact him. In the meantime the question is sitting unanswered and I am getting other \"answers\" (leading me to believe that people are not reading the comments and answers already posted before trying to answer it themselves). How are we supposed to do this? Note: I don't want to accept the comment as an answer (I agree completely with the answers to this question that comments are comments and answers are answers and they should stay that way). I do wonder if there should be some way to contact people in a reasonable manner (comments on their profile that they must opt in to receiving in email?).",
"Is there such a thing as a deposit-only bank account? My employer wants me to give my routing-numbers, social-security numbers, and basically everything else required to take money out of my account, to several third-party direct-deposit websites (one for weekly paychecks, one for mileage reimbursements, etc.). I am not comfortable giving my identity information away to all these places. I'd like to give them access to an account which they can only deposit into, never withdraw (either a separate account, or, even better, a deposit-only alias to my real account). Does such a thing exist? [Edit] I'm not worried about the companies so much as I am worried about bad guys who inevitably hack those companies' databases, or get hired to work there. This type of account would also be handy for giving read-only access to sites like mint.com or quicken.com, easing my mind about their hackers/unscrupulous employees.",
"I'm a photographer, who dabbles in graphic design from time to time as well. What are the differences between the various color spaces?",
"Is there a way to \"rescue\" mesh that has very bad topology?",
"update-initramfs missing /lib/modules/4.4.0-13-generic",
"rsync over ssh \"error in protocol data stream\" (code 12). ssh works I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] make_file(testfile,*,0) send_file_list done send_files starting server_recv(2) starting pid=17537 rsync: connection unexpectedly closed (9 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600)[sender=3.0.6] _exit_cleanup(code=12, file=io.c, line=600): about to call exit(12) This works fine: ssh -p YY me@XXXXX Which suggests to me the problem is neither that sshd is not running nor that port YY is firewalled. I have checked anyway. What other problems could there be? EDIT: The problem seems to have been \"self resolving.\" I could not replicate the following day. I started my local computer up. Perhaps notably I had a different IP address than last time. And now rsync magically works. I'd appreciate guesses as to what it could have been in light of it going away.",
"mknod /tmp/oracle.pipe p sqlplus / as sysdba << _EOF set escape on host nohup gzip -c < /tmp/oracle.pipe > /tmp/out1.gz \\& spool /tmp/oracle.pipe select * from employee; spool off _EOF rm /tmp/oracle.pip I need to insert a trailer at the end of the zipped file out1.gz , I can count the lines using count=zcat out1.gz |wc -l How do i insert the trailer T5 (assuming count=5) At the end of out1.gz without unzipping it.",
"Let $f:G\\to K$ be a surjective group homomorphism and $H$ be a subgroup of $G$ satisfying $N_G(H)=H$. Then $N_K(f(H))=f(H)$. I'm trying to prove or disprove it. perhaps, this proposition is true. But, how can we prove it? Edit: I thought it is true because WIKI said it is true without proof",
"Please provide me with the guidance to install oracle 11gr2 on Ubuntu 14.04.",
"A financial planner treated us in a dismissive fashion and I want to say that he \"gave us the back of his hand\" but that phrase doesn't seem to have the meaning of dismissive. Does it or is there a similar idiom?",
"So I've been thinking through some test cases. If $a_n = n$ then $\\sum_n \\frac{a_{n+1} - a_n}{a_n}$ is the harmonic series which diverges. And if $a_n = \\sum_{k=1}^n 1/k$ then $\\sum_n \\frac{a_{n+1} - a_n}{a_n}$ diverges like $\\sum_n 1/(n \\log n)$. So that got me thinking, if $a_n$ is a strictly increasing unbounded sequence, does $\\sum_n \\frac{a_{n+1} - a_n}{a_n}$ necessarily diverge?",
"Since a while, 2 weeks, Dropbox does not startup anymore on my laptop running Ubuntu 12.04 LTS with GNOME shell. When I run dropbox start -i in the console I get the following output. Starting Dropbox...Traceback (most recent call last): File \"/usr/bin/dropbox\", line 1387, in <module> ret = main(sys.argv) File \"/usr/bin/dropbox\", line 1376, in main result = commands[argv[i]](argv[i+1:]) File \"/usr/bin/dropbox\", line 1247, in start if not start_dropbox(): File \"/usr/bin/dropbox\", line 731, in start_dropbox stderr=sys.stderr, stdout=f, close_fds=True) File \"/usr/lib/python2.7/subprocess.py\", line 679, in __init__ errread, errwrite) File \"/usr/lib/python2.7/subprocess.py\", line 1249, in _execute_child raise child_exception OSError: [Errno 8] Exec format error I already removed Dropbox and reinstalled it. What should I do to fix this?",
"I've looked through a number of the \"Vote too old to be changed\" questions, but I think this one's different. I gave a downvote to an answer I thought had a critical defect, and I left a comment describing the defect. The answer was edited to satisfy my criticism, but it was done within the short grace period where edits aren't recorded as such. When I try to cancel my downvote I get the error - \"Your vote is now locked in unless this answer is edited\" - but it was edited! In reference to this answer:",
"Probability of asymmetric random walk returning to the origin Consider the random walk $S_n$ given by $ S_{n+1} = \\left\\{ \\begin{array}{l} S_n+2 & \\text{with probability $p$}\\\\ S_n - 1 & \\text{with probability $1-p$} \\end{array} \\right. \\ $ Assume that $S_0 = n >0 $. What is the probability of eventually reaching the the point $0$? Seems that the probability for this must be less than one; since it is not symmetric, it is not guaranteed to reach the origin if $p>0.5$. It also seems like the positive starting value not being at the origin matters too, but I'm not sure how to compute the probability of eventually reaching the origin.",
"Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask",
"Converting expressions to polynomial form",
"Do there Exist Proper Classes that aren't \"Too Big\" Some proper classes are \"too big\" to be a set in the sense that they have a subclass that can be put in bijection with $\\alpha$ for every cardinal $\\alpha$. It is implied in post that every proper class is \"too big\" to be a set in this sense, however I have been unable to prove it. It's true if every two proper classes are in bijection, but it's consistent with ZFC for there to be a pair of non-bijective classes. So, is the following true in ZFC: For all proper classes, $C$, and $\\alpha\\in\\mathbf{Card}$, $\\exists S\\subset C$ such that $|S|=\\alpha$? If not, is there something reasonable similar that preserves the intuition about classes that are \"too big to be sets\"?",
"I was wondering, why there are passport checks at the check-in counter, Immigration and even at the gate? For example, I was at Istanbul flying to either UK or US. There's a security check at the check-in counter asking a bunch of questions about my immigration status - even more than the Immigration officer at the border. Also, at the gate, there's also Security officer checking my immigration status and passport asking the same questions. I thought that would be the responsibility of an Immigration officer rather than some third party company? The thing I'm curious the most is they don't even know which countries this passport can go to with or without visa. They have to go back to the counter and check with the system which takes a long time. I was wondering why they hire these kind of companies to slow down the process?",
"Find all functions $f$ such that $f:\\mathbb{N}\\rightarrow\\ \\mathbb{N}$ and $f(f(n))+f(n+1)=n+2$ Let us plug in $n=1$ $f(f(1))+f(2)=3$ Since the function is from $\\mathbb{N}$ to $\\mathbb{N}$, $f(2)$ can only take the values $1,2$. Now we divide the problem into cases. Case-1: $f(f(1))=2,f(2)=1$ We can assume that $f(1)=c$ for the time being. Then plugging in $n=3$ and using $f(2)=1$ gives $$f(3)=4-c$$ and again since the range of the function is positive integers,then $4-c$ has to be positive and hence $c$ belongs to {$1,2,3$}. Now, $$f(1)=c$$$$\\implies f(f(1))=f(c)$$$$\\implies 2=f(c)$$ by the assumption that $f(f(1))=2$ . Now,since $c$ can only take the values $1,2,3$,we start treating cases. If $c=1$,$$f(c)=2$$$$\\implies f(1)=2$$ but we know from the deinition of $c$ that $f(1)=c=1$,a contradiction.If $c=2$,then $2=f(c)=f(2)$ but $f(2)=1$ by assumption. Finally,if $c=3$ $$2=f(c)=f(3)$$ but $$f(3)=4-c=4-3=1$$ which is once again a contradiction. Therefore there are no such functions in this case. Case-2: $f(f(1))=1,f(2)=2$ Again assuming $f(1)=c$ and using $f(n)\\le n$ along with plugging $n=c-1$ will give us that $f(1)=1$ and then it is easy to prove that such a function exists by recursion. I can only give a \"sort of recursive\" way to define the function. Here it goes $$f:\\mathbb{N}\\rightarrow \\mathbb{N}$$$$f(1)=1$$$$f(n)=n+1-f(f(n-1))$$ But this case is harder to deal with.Some help will be appreciated."
] | medi_sts_stackexchange_dupe |
Print stacktrace without throwing exception | print python stack trace without exception being raised | [
"Recurrence Inequality Define sequence ${a_n}$ as follows: $a_1 = \\frac {1}{2}, 2ka_k = (2k-3)a_{k-1}.$ Show that for any natural number $n, \\sum_{k=1}^{n} a_k <1$ (No calculus is allowed). I'm really just stuck on the right way to approach this. It is sufficient to show that $\\sum_{k=1}^{\\infty} a_k <1,$ but this isn't a series I am familiar with. I tried defining a partial sum series $b_n$ such that $b_n = \\sum_{k=n}^{\\infty} a_k,$ but that didn't help to find a non-trivial relationship.",
"I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three explanatory data points at the top of the table. e.g. \\documentclass{article} \\usepackage{array,datatool,pgfplotstable} \\begin{filecontents}{sample.csv} item,2008,2009,2010,2011 ,Actual,Actual,Forecast,Forecast ,GBP,GBP,GBP,GBP ,('000),('000),('000),('000) rounded Area 1 OP, 1000000,1500000,1750000,250000 Area 2 OP, 400000,500000, 450000,-50000 Area 51 OP, 300000,375000,390000,15000 No P, 1250000, 1000000, 950000, 50000 Residuals, 800000, 80000, 90000, 10000 \\end{filecontents} \\pgfplotstableread[col sep=comma]{sample.csv}\\mystuff I'm stumped at the next stage which is to typeset \\mystuff so I have comma separators and can add a row that sums the 'Area' columns. At the moment to display the table I have to do something like \\begin{document} \\pgfplotstableread[col sep=comma,header=false]{sample.csv}\\mystuff \\pgfplotstabletypeset[ columns/0/.style={string type}, columns/1/.style={string type}, columns/2/.style={string type}, columns/3/.style={string type}, columns/4/.style={string type}]\\mystuff \\end{document} How do I tag the top three rows as string and the rest of the last four columns as integer type so I can format and transform them?",
"Is it possible to include the tag-wiki associations in the Data Explorer? To do this would require two additional columns in the postTags table that associate a tag wiki excerpt and a tag wiki to their tag. The tag wiki data is already available in the posts table. But there is no way to associate this data with its tags. The SEDE schema lacks the required columns to link the tag excerpt and the tag wiki to the tags table. Additionally, the postTypes table only lists three posts types. It makes no mention of tag-wiki and tag excerpt posts. Perhaps the postypes table can be updated to reflect the additional post types?",
"How to read the content of a file to a string in C?",
"Prove : $$ \\text{If } \\; x-\\lfloor x \\rfloor + \\frac{1}{x} - \\left\\lfloor \\frac{1}{x} \\right\\rfloor = 1 \\text{, then } x \\text{ is irrational.}$$ I think the way to go here is to falsely assume that $x$ is rational, thus having $x=\\frac mn$ with $m,n$ integers and go with that, we also know that $x$ with the celling belongs to the integers and that $\\frac 1x$ with the celling gotta be a $0$. Still can't prove it. Thank in advance !",
"cardinality of all real sequences I was wondering what the cardinality of the set of all real sequences is. A random search through this site says that it is equal to the cardinality of the real numbers. This is very surprising to me, since the cardinality of all rational sequences is the same as the cardinality of reals, and it seemed fairly intuitive to me that if cardinality of a set $A$ is strictly greater than the cardinality of the set $B$, then cardinality of $A^{\\mathbb{N}}$ should be strictly greater than cardinality of $B^{\\mathbb{N}}$. It turns out to be false. Some technical answers have appeared in this forum elsewhere but I do not understand them. As I am not an expert in this topic, could some one explain me in simple terms why this is happening? Also is the cardinality of all functions from reals to reals also the same as the cardinality of reals?",
"I want to know the correct form: He and I will go there or He and me will go there. Which is correct?",
"find the number of analytic functions which vanish only on $S$?",
"After purge mussels 6 time in salt water 20 mins each, why they still exude much grime? I buy mussels at Pusateri and Whole Food Market for a year in Toronto. They sell them on ice and dry, not in running water. , Bart teaches add salt to cold water and soak for 20 mins. But I repeat 6 times...so 20 mins x 6 times = 120 mins of soaking!!! Mussels exudate less black grime every next time, but even after 6 times, water still has much black grime! See my pic under! Why? This happening for a year! Part 2, has GIF that shows you what I mean.",
"How does QGIS Zonal Statistics handle partially overlapping pixels? There are a couple Stackexchange posts asking this question, but neither of them were sufficiently answered: I am writing Python scripts that perform essentially the same operations as Zonal Stats, and I have been using Zonal Stats to check my scripts' outputs. I have noticed that when there are many cells in the polygon being queried, my results match perfectly, but there are discrepancies when there are only a few raster cells in the polygon. The following is an example of this. I am computing \"count\" for each polygon. Exhibit 1: The returned count is 0.45, which looks roughly correct if pixels can be treated fractionally rather than simply in/out. Exhibit 2: Similar result; count is 0.39. Exhibit 3: With a larger poylgon, now we see the count is exactly 2. Note that there are exactly 2 pixel centers contained in the polygon. Exhibit 4: Here, only one pixel center is within the polygon. The count is 1.008, though. If you exclude the polygon area from the pixel whose center is in the polygon, the remaining area is obviously greater than 0.008 of a pixel. From these exhibits, it seems that Zonal Statistics treats these cases specially. It looks like to me that if there are less than 2 pixel centers within the polygon, it performs some kind of averaging such as polygon_area/raster_cell_area to return the count. I should note that I have 48 of these polygons, and all returned counts greater than or equal to 2 are integers; fractional counts are only returned for <2. How are these fractional-pixel counts incorporated into the other statistics output by Zonal Stats? indicates strange behavior with max/min when using large raster cells, and my own testing returns mean values not congruous with simple \"pixel center in/out of the polygon.\" To reiterate, I get exact agreement when the underlying raster contains many pixels within the polygon. I couldn't find any documentation about this, and it may be important when people have never had problems with Zonal Stats but use a coarse raster and remain unaware that there is a different behavior when there are only a few pixels within the polygon.",
"Mean or sum of gradients for weight updates in SGD",
"Google Spreadsheets Enter/Return Key Behavior In Microsoft Excel, the default behavior of pressing the Enter (return) key is this: If you are in a cell, and tab over as you input data, at the end of the series when you click Enter, the focus will go to the cell directly under the cell that you began the series of tabs. For example, if you are in cell A1, tab over to C1, and then click Enter, the focus will go to cell A2. Is there any way to get this behavior in Google Spreadsheets?",
"Possible Australianism - netbank = a website + app by which an Aussie can do their banking, including transferring money to other people. A while ago, I ended up with $1000 transferred into my account, which in the description looked like a netbank transfer, not like a cheque, cash deposit etc, and which looked like it had already cleared and landed in my account. Usually when something is still working through the bank's system it displays as 'pending', but did not in this case. I received a phone call from someone, saying that they had accidentally typed in the wrong account number, and wanting me to send them the same amount of money back via netbank. Surely bank account numbers have a checksum, which make it relatively difficult for a typo to result in a payment going to the wrong person? What are likely sources of them being able to find my phone number to call me? Obviously, the bank either being hacked, or giving it out in response to a query from this person (but surely the bank is unlikely to tell me my own mobile number if I claim to have forgotten it?). Presumably either my phone, or the phone of someone I have sent money to/received money from could be compromised. Has anyone heard of any instances of this happening? I then went to my bank, explained the situation and said that I did want to refund the money through the officially sanctioned methodology. After the laughter died down, the bank told me to ask the person to fill out a form, then they would get me to fill out a form that would authorize undoing that exact payment. I rang up the person to tell them this, and over the course of about a week received an increasingly elaborate story about how that wasn't working, they needed the money immediately, there was a fee to fill out that form and they couldn't afford to pay it etc. After that, I never heard back from them again. I check my netbank for several weeks after, expecting the money to magically disappear, but it did not. This was probably a year ago, and I'm pretty vague with money so may not have noticed if it disappeared more recently. How were they expecting to benefit? Were they hoping to get the transfer from me, and undo the transfer to me, to leave them $1k up? If so, how can an internet banking transfer be 'undone' once it has already shown as 'received'. Or was this to do with money laundering? The account they requested me to send money to was the same as the one that the money appeared to come from. This was a scam, right?",
"Ways to get free and legal access to research papers as a researcher I’ve discovered that website like ResearchGate offer the possibility to ask the paper editor to provide his paper for free. Many are collaborating. Are there any other ways for researchers to obtain free access to papers?",
"How to redirect output to a file and stdout In bash, calling foo would display any output from that command on the stdout. Calling foo > output would redirect any output from that command to the file specified (in this case 'output'). Is there a way to redirect output to a file and have it display on stdout?",
"The rulebook states that carrying capacity is the strength score times 15 (lbs). Find familiar allows me to get a hawk, which has a strength score of 5. This results in a carrying capacity of 75 lbs. This is well within the range of weights for small people such as gnomes or halflings. Does this mean my familiar can carry them and fly away (given they do not struggle)?",
"How to preserve custom number formatting after closing a workbook?",
"How do you do AppBar docking (to screen edge, like WinAmp) in WPF?",
"How does the Schengen 90/180 rule work? I have searched the web a lot and could not find an answer that fits my situation. Here are two links that are quite contradictory: My situation: I've visited Portugal in December 2012 for 29 days on a Schengen visa valid from December 1st, 2012 to February 1st, 2013 for research purposes (I am a Ph.D. student). I want to visit Sweden from February 10th, 2013 to May 10th, 2013 (89 days). I have applied for a Schengen visa again (for research). How will the 90/180 rule work in my situation?",
"Am I going to have trouble flying without my full name on the ticket? In my passport, my name is Firstname middlename1 middlename2 lastname, and in the ticket is LASTNAME/FIRSTNAME MR. Will be a problem? I'll travel from Brazil to Bali, Indonesia and according to the agency I bought the ticket from, there's no problem and it's common. The airline is Qatar Airlines and I have looked , which says that the passenger name can't be changed after the booking has finished. But I don't know if it is a problem."
] | medi_sts_stackexchange_dupe |
Which one is better - more cross-type sensor or better sensitiveness of cross-type sensors? | What is the effect of the number of cross-type focus points on sharp focus? | [
"Joda Time: How to get dates of weekdays on some date interval?",
"I would like to know the best way to write test methods for controller extension classes that are used by Visualforce. What is the minimum set code that I need to cover the basic operation of the controller without taking into account any custom functionality that I might add. Here is my example class with the test method ready to be completed. public with sharing class myExtension{ private final Account acct; public myExtension(ApexPages.StandardController stdController){ this.acct = (Account)stdController.getRecord(); } public static testMethod void testmyExtension(){ } }",
"I have just got a new laptop, It is running Windows 7 Home Premium. I have shrunk the windows partition to give me some empty space and now I want to install ubuntu. From Windows my partitions look like: So now in the ubuntu live cd If I hit install and go manual the partitioner looks like So I thought I could just select the empty space and be away laughing, but when I hit it I get",
"What is the best place for storing binary files that are related to data in your database? Should you: Store in the database with a blob Store on the filesystem with a link in the database Store in the filesystem but rename to a hash of the contents and store the hash on the database Something I've not thought of The advantages of (1) are (among others) that atomicity of transactions is preserved. The cost is that you might dramatically increase storage (and associated streaming/backup) requirements The goal of (3) is to preserve atomicity to some degree - if you can enforce that the filesystem you are writing to does not allow files to be changed or deleted, and always has the correct hash as filename. The idea would be to write the file to the filesystem before permitting the insert/update referencing the hash - if this transaction fails after the filesystem write but before the database DML, that is fine because the filesystem is 'faking' being the repository of all possible files and hashes - it doesn't matter if there are some files in there that are not being pointed to (and you could clean them up periodically if you are careful) EDIT: It looks like some RDBMSs have this covered in their individual ways - I'd be interested to know how others do it - and particularly in a solution for postgres",
"Can I see my active diplomatic deals in Civ 6? When making deals with AI I'm having a hard time assessing if I'm already trading for the resource or not. Is there a way I can see my currently active deals or deal history? If not, is there a way I can see which resources I am currently importing?",
"OS X El Capitan installation error: AMD-Action:authenticate:SP When doing a clean re-installation of El Capitan (highest supported version) from a bootable USB on an older Mac (MBP, 15-inch, Late 2008), I get this error: An unexpected error occured while signing in. AMD-Action:authenticate:SP The error shows up, while logging in with the Apple ID into the App Store in the installer. I tried with different Apple IDs, Also tried running these commands in the Recovery Terminal and restarting: csrutil clear csrutil enable",
"How do I post code in chat? I would like to be able to post code in chat. I know that I can post inline snippets of code by using backticks, but I don't know how to post blocks of code, with the entire chat message formatted as code, and indentation respected. I am aware of . After reading the comments, I found out that I could format in \"fixed width\", but I can't see a \"fixed width\" button anywhere. What should I do?",
"Get Last Friday of Month in Java",
"Ok... so this is embarrassing. I typed in \"boobs\" on EncyclopediaDramatica's search because, well, it's a really funny page. But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows \"boobs\" as the first suggestion in the drop down! This is not really socially acceptable as this laptop goes with me everywhere and Chrome is my primary browser. Is there a way I can isolate and remove just that one entry?",
"Image uploads not working on Chrome When I try to upload an image, I'm presented with the following dialog box, The dialog box does not allow uploading either from my computer or by posting a link. This happens only on Chrome browser (running on Windows). Clearing cache and cookies, and restarting computer do not resolve. Is this just my computer? Or is this a site-wide bug? Additional info: Clicking on 'click' to upload does nothing. Dragging an image onto dialog redirects me to the file location on my computer. Clicking 'Add picture' redirects me to http://[SE-domain].com/upload/image?https=true. UPDATE: A Norton extension for Chrome was the source of the problem.",
"Best place to put bug reports? What websites or other resources do users of Blender have available to them to report bugs or problems with the program? I would like to get this issue cleared in Q&A format so that we can link new users with bug-report-style questions to this post.",
"Under the tag I have seen many questions on earth-616. Are there any other versions of earth as well? How do they differ from each other?",
"Motivation I want to include a list of related equations, say, for a proof, in my LaTeX document. As far as I know, I have two good options, eqnarray and align. Question What is the difference between eqnarray and align, and how do I know which I should be using? Or does it matter at all?",
"How do I figure the dice and bonuses for attack rolls and damage rolls? I'm building my character, a Half-Elf Ranger, and I'm a little confused about how to work out the attack bonus and the damage bonus. So, please tell me if I've got this right: I'm proficient with a longbow. That means my attack roll is 1d20 + prof bonus + Dex modifier. The damage roll however is 1d8 + Dex modifier. I'm just a little confused about working out the numbers (without even going into spells and when to roll for attack, etc.)",
"ESRI has an from 2004 showing all the symbols available in ArcGIS at the time and their names. I don't need it often but if I'm searching for a certain symbol and don't know its name it's sometimes easier to look at a few sheets of paper than to use the Symbol Selector. It doesn't seem like it's been updated for ArcGIS 10, though. I was wondering if anyone is aware of a new version of this, or if anyone has created one on their own they might be willing to share.",
"How to make 7-zip do a whole bunch of folders",
"Evaluating the nested radical $ \\sqrt{1 + 2 \\sqrt{1 + 3 \\sqrt{1 + \\cdots}}} $. How does one prove the following limit? $$ \\lim_{n \\to \\infty} \\sqrt{1 + 2 \\sqrt{1 + 3 \\sqrt{1 + \\cdots \\sqrt{1 + (n - 1) \\sqrt{1 + n}}}}} = 3. $$",
"How does someone get to cast more than 40 votes in a day? And by someone, I mean that evil feline WesleyDavid: That screenshot was taken just before 4pm PST, i.e. just before 0000 UTC. That shows KittehHead's votes for the month, which is the same as for the day since it's March 1st. Just to be sure it wasn't that SE had the time wrong, I tried upvoting something and got the expected \"Daily Vote Limit Reached, Please Vote Again in 6 minutes.\" So how did Kitteh^H^H^H^H^H^HWesley get 42 votes in one day? ADDED: It's getting worse... Now it's March 2nd, and Wesley/Cat has 3 extra votes: Now I finally got an extra vote (take that evil kitteh!), but it hasn't helped me understand why:",
"Disappointed to see that the 18.04 installer no longer offers the option to encrypt the home directory. According to bug report referenced in the installer, the recommended method for encryption these days is full-disk with LUKS, or fscrypt for directories. Full-disk encryption seems a bit overkill for my needs, and all the bugs and caveats mentioned on the don't make it a very attractive option. All I really want is to protect my home directory from someone accessing my documents, photos, etc. if my laptop were to get stolen, making fscrypt the option for me. The has some examples on how to set it up, but I can't find any documentation aimed at encrypting the home directory on Ubuntu. The old ecryptfs tool is still available, but after setting it up Ubuntu would sometimes freeze at the login screen. So my question is: How do I setup fscrypt to encrypt my /home directory and decrypt when I log in? I also liked how ecryptfs allowed decrypting the folder manually (eg. from disk images). (A similar question was posted and was unfortunately closed for being an \"off-topic\" bug report. To clarify, this is not a bug report. The fact that the encrypt home directory option was removed from the installer was intentional. All I'm asking here is how to setup fscrypt.)",
"Intersect (analysis) of polygons generating empty output"
] | medi_sts_stackexchange_dupe |
Why is SOM not being used? | (Why) Has Kohonen-style SOM fallen out of favor? | [
"How do I install PlayOnLinux on Ubuntu?",
"Select an area in rep graph not working on Chrome The \"select an area by dragging across the lower chart\" thing is not working on Chrome. Tested with Chrome 13.0.782.220 m, works with Firefox 6.0.1 and IE 8 Quirk: For some reason, if I open an incognito window, it works. Tried clearing the cache and cookies, still not working.",
"Citation: refer to author or paper? What is the British English way of referring to a source in-text. Is it plural because there are two authors, like this: X and Y (2011) describe ... Or is it singular because you are referring to a singular source, like this: X and Y (2011) describes... So what I am asking is whether you refer to the source or to the authors?",
"Is there a rule of thumb for objective questions asked out of curiosity?",
"Proving by induction that $ \\sum_{k=0}^n{n \\choose k} = 2^n$",
"After pacman update, pacsearch is no longer installed",
"How can one change the timestamp of an old commit in Git? The answers to describe a way to amend previous commit messages that haven't yet been pushed upstream. The new messages inherit the timestamps of the original commits. This seems logical, but is there a way to also re-set the times?",
"Local server updates for the network I have setup one computer on our network as the file server. Because Internet here in Tanzania is both slow and expensive I would like that one system to download all the updates and then the other 10 computers on the network to get those update files from the server. I'm a bit of a noobie to Ubuntu, but really want to learn how to get this working smoothly so as to help other NGOs and schools here in Tanzania. Brendon",
"Can't Open files from a directory in python",
"integral of $\\int_{0}^{1}\\frac{\\ln(x^{2}+1)}{x+1}dx$ using contour integration? I have an interest in contour integration. I am not that good at it, but I enjoy learning what I can about it. Here is a version of a rational log integral rarely encountered. $\\displaystyle \\int_{0}^{1}\\frac{\\ln(x^{2}+1)}{x+1}dx=\\frac{3}{4}\\ln^{2}(2)-\\frac{{\\pi}^{2}}{48}$ I can do this using real methods (via double integral and substitution). I can post my workings if anyone would be interested. My question is, can this be evaluated using contour integration due to the limits being $[0,1]$ instead of $[0,\\infty)$?. Contours may not be the most efficient way to go about it, but what is the course of action when the limits are 0 to 1 instead of 0 to infinity?.",
"Should I assign dwellers to the storage room?",
"I'm studying orientability of manifolds currently and I'm having trouble to prove the following: $M\\times N$ is orientable iff $M$ and $N$ are orientable. I am able to prove that the product is orientable if components are orientable (chart is $\\{(U_\\alpha\\times V_{\\beta},\\phi_\\alpha\\times \\psi_\\beta):(\\alpha,\\beta)\\in A\\times B \\}$, and $\\det J=\\det J_1 \\det J_2>0$ by Cauchy-Binet's theorem), but I don't know how to prove the other direction. So why this holds: if $M\\times N$ is orientable, then $M$ and $N$ are orientable? Thanks in advance.",
"Show that $\\left| \\frac{1}{x}-\\frac{1}{z} \\right| \\le \\left|\\frac{1}{x} - \\frac{1}{y} \\right| + \\left|\\frac{1}{y} - \\frac{1}{z} \\right|$. I'm trying to prove that $$ \\left| \\frac{1}{x}-\\frac{1}{y} \\right| $$ is a metric on $X = \\mathbb R^+$. The properties of non-negativity and symmetry are obvious (do I actually even need to prove them?), but the tricky one is, as usual the inequality property, i.e. $$ d(x,z) \\le d(x,y) + d(y,z) \\text{ for any } z \\in X. $$ So, ok, I have that $$ d(x,z) \\le d(x,y) + d(y,z) \\\\ \\iff \\left| \\frac{1}{x}-\\frac{1}{z} \\right| \\le \\left|\\frac{1}{x} - \\frac{1}{y} \\right| + \\left|\\frac{1}{y} - \\frac{1}{z} \\right| \\\\ \\iff \\left| \\frac{1}{x} \\right|- \\left| \\frac{1}{z} \\right| \\le \\left| \\frac{1}{x}-\\frac{1}{z} \\right| \\le \\left|\\frac{1}{x} - \\frac{1}{y} \\right| + \\left|\\frac{1}{y} - \\frac{1}{z} \\right| $$ ...and that's about as far as I've gotten–which is to say, not very far. I also tried multiplying both sides by $ \\left| \\frac{1}{x}-\\frac{1}{z} \\right| $, but that wasn't very fruitful. If someone could point me in the right direction, it'd be greatly appreciated. Thanks.",
"Are global variables bad?",
"Is there a HTML opposite to ? Is there a tag in HTML that will only display its content if JavaScript is enabled? I know <noscript> works the opposite way around, displaying its HTML content when JavaScript is turned off. But I would like to only display a form on a site if JavaScript is available, telling them why they can't use the form if they don't have it. The only way I know how to do this is with the document.write(); method in a script tag, and it seems a bit messy for large amounts of HTML.",
"Why is boiling water loud, then quiet? Water in my electric kettle makes the most noise sixty to ninety seconds before the water comes to a full boil. I have been fooled many times by the noisy kettle, only to discover that the water was not yet hot enough for tea. The kettle is only at a full boil after the noise has subsided. I have noticed the same phenomenon with many other kettles, including conventional kettles on kitchen ranges; it is not a peculiarity of this electric kettle. Why does the boiling become quieter as the water reaches full boil?",
"So I had been literally trying to fix my windows not being able to boot at all for more than 24 hours straight till now. I almost read every single article and troubleshooting step on the web to find a solution but nothing seems to work. I will keep it short as much as I can. I did all of the following and it was: \"Reset this PC\" gave an error \"The required drive partition is missing\" \"Refresh this PC\" gave an error \"The drive where windows is installed is locked. Please unlock and try again\" \"System restore\" gave an error something I don't actually remember but its like \"Choose your OS and then try again\" \"Automatic Repair\" just failed to fix it and reverted me back to advanced options. After all of that, I did bootrec /fixboot bootrec /fixmbr bootrec /scanos bootrec /rebuildbcd bcdboot d:\\windows (D is where I have the windows installed and C is for system reserved) bcdboot d:\\windows /s c: /f ALL All of these command prompt lines failed giving multiple errors like: For REBUILDBCD, it said \"Identified total windows installations: 1\" then clicked \"Y\" to add it to the list and then it said \"The requested system device cannot be found\" For bcdboot d:\\windows it said Failure when attempting to copy boot files\" I wiped the disk multiple times using diskpart and installed fresh copies of windows on it 3 times but each time the installation will finish stage 1 (at a very slow pace) then when it restarts to continue installation, it simply won't boot (Windows logo and a spinning dot circle below forever) I gave up and tried a totally new HDD and installed windows to it, it booted so normal and fast actually so I made sure it was not an issue with the windows. Now I am booted from the new HDD and reformatted the old HDD and working on data recovery using easeus and it is finding my stuff luckily. It is also noticeable that the old HDD is making some noise while it is reading now as I scan for lost files. My ultimate question is, will this HDD ever be able to used again? Even as a storage drive not as a drive I boot from? Because it is being seen through the bios boot menu and I see it in the disk management with healthy status. Can this HDD be fixed or I'm better off stop using it? Here is a screenshot of the health status through SMART using HD Tune Pro:",
"Maximum number of edges in a bipartite graph Prove that for a bipartite graph $G$ on $n$ vertices the number of edges in $G$ is at most $\\frac{n^2}{4}$. I used induction on $n$. Induction hypothesis: Suppose for a bipartite graph with less than $n$ vertices the result holds true. Now take a bipartite graph on $n$ vertices.Let $x,y$ be two vertices in $G$ where an edge exist between $x$ and $y$. Now remove these two vertices from $G$ and consider this graph $G'$. $G'$ has at most ${(n-2)^2}\\over4$. Add these two vertices back. Then the number of edges $G$ can have is at most $$|E(G')|+d(x)+d(y)-1$$ My question is in my proof I took $d(x) + d(y) \\le n$, where $d(x)$ denotes the degree of vertex $x$. Can I consider $d(x)+d(y) \\leq n$? I thought the maximum number of edges is obtained at the situation $K_{\\frac n 2,\\frac n 2}$",
"Your Mileage May Vary In the United States we have a saying, \"your mileage may vary\", which means \"your experience may be different\". In English-speaking countries that don't use Imperial miles, is there an equivalent expression?",
"How can I mount my partition with executive permissions using the launcher icons?"
] | medi_sts_stackexchange_dupe |
How to find Bounding Box given 4 Lat/Long and Bearing? | Finding minimum-area-rectangle for given points? | [
"Evaluate $\\int \\cos(3x) \\sin(2x) \\, dx$. Evaluate the indefinite integral \\begin{align} \\int \\cos(3x) \\sin(2x) \\, dx \\end{align} Please see my work attempt as my answer below.",
"In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows. Of course there’s a folder named Users where the users (who are not admins) can access only their folders. Thus there’s a clear picture at some level in my mind of the Windows file system. In Ubuntu, when I reach the location /, there’s a huge list of folders, most of which I have no clue as to what they contain. The /bin folder seems to be the equivalent of the Windows folder in windows. The /usr folder seems like it’s the equivalent of the Users folder in Windows. But even the /home folder looks like it can fit the bill. Please understand that I do understand, that Ubuntu (Linux) has a different character than that of Windows, i.e., there need not be exact equivalent of Windows functions, in Ubuntu. All I am looking for is a bit more clearer picture of the Ubuntu file system. This question is a part of a bigger question which I am splitting up to make it more answerable. The original question can be found here:",
"So I had an exam today and one of the questions were: Give an example of a function $f$ which is nowhere continuous but $|f|$ should be continuous at all points. At first I had no idea how to do it then I came up with this, even though I know it's wrong: $$f(x)= \\begin {cases} \\ \\sqrt{x}&\\text{if }x <0\\\\ \\sqrt{-x}\\ &\\text{if }x > 0\\\\ \\end {cases}$$ Like I said I know it's wrong..but can someone give me an example of this? Thanks.",
"Can the weak force create a bound state?",
"Validate a username and password against Active Directory? How can I validate a username and password against Active Directory? I simply want to check if a username and password are correct.",
"Why are these black dots / spots appearing in my pictures?",
"Proving that orthogonal vectors are linearly independent I am trying to prove that $a_1$, $a_2$, $a_3$ are linearly independent. I am asked to use vector product and prove that if $c_{1}a_{1} + c_{2}a_{2} + c_{3}a_{3} = 0$ then $c_1 = c_2 = c_3 = 0$ I am completely stuck on where to go with this problem. I would think that linearly independent then the null space of the space can only be equal to $0$. Would this prove it?",
"Solenoid Driving Circuit I'm trying to drive a 12v (14W) solenoid and have problems figuring out the components for the driving circuit. The solenoid draws about 1.166A and the MCU is being operated at 3.3V. I've seen many driving circuits and they all look something like this: – Schematic created using My questions: What datasheet parameters should I look for when designing this circuit? Is the IRF530PBF-ND a suitable MOSFET for driving this solenoid? Also, how do I calculate R1's value? I don't want to blindingly copy a circuit that may or may not work, I want to understand it. Thank you so much in advance!",
"I am about to sell my old desktop PC and I am cautious about some of my sensitive information being available to the purchaser, even after reformatting the hard-drive, using data recovery software. How can I securely wipe the hard drive so that the data on it cannot be recovered? Although I specifically want help with my Windows PC, it wouldn't hurt if there were suggestions for Macs as well.",
"How do I create a file of size 10M, format it with ext3 filesystem and then mount it in /media/fuse? I tried with mkfs -t ext3 file then to mount it mount -t ext3 file /media/fuse It didn't work because it said that file wasn't a block device. Can anybody help me?",
"I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing. \\documentclass[10pt,letterpaper]{memoir} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{mathpple} \\usepackage{upgreek} \\usepackage{mathpazo} \\usepackage{lipsum} \\begin{document} \\chapter{Demo} Some regular text. \\lipsum[1] Now for some maths. \\begin{displaymath} P_{N-1 + m} = \\frac{C}{N-{1} + m} \\binom{N_{2} - N_{1}}{m} \\alpha^{m}\\beta^{(N_{2} - N_{1}) -m} \\end{displaymath} The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$ \\end{document} To me the text and math fonts seem a good fit but the text does not look like Palatino.",
"Is a bivariate function that is a polynomial function with respect to each variable necessarily a bivariate polynomial?",
"disable comments if array exists This is the code which is registering the function for rewrite_endpoints(): function wpa121567_rewrite_endpoints(){ add_rewrite_endpoint( 'comments', EP_PERMALINK ); add_rewrite_endpoint( 'stats', EP_PERMALINK ); } add_action( 'init', 'wpa121567_rewrite_endpoints' ); NOTE I don't know if this matters but I will write it. I have single-CPT.php which is calling /inc/post-format/single-CPT.php like this: <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'inc/post-format/single-debate'); ... This is the code which is checking if array key exists, which is inside my /inc/post-format/single-cpt.php: ?php if( array_key_exists( 'comments', $wp_query->query_vars ) ){ the_field('comments_section'); } elseif( array_key_exists( 'stats', $wp_query->query_vars ) ) { the_field('stats_section'); } else { // the request is for the main post } ?> This is my comments.php : <div id=\"comments\" class=\"comments-area\"> <?php // If CPT and not logged in, display a message: if ( 'debate' == get_post_type() && ! is_user_logged_in() ) { echo '<p class=\"must-log-in\" style=\"padding-left:20px; font-size:20px;\">You must be logged in to post a comment.' . '</p>'; echo do_shortcode(\"[upme_login]\"); } ?> <?php if ( have_comments() ) : ?> <h3 class=\"comments-title\"> <?php printf( _n('%d comment', '%d comments', get_comments_number(), 'outbox' ), number_format_i18n( get_comments_number() ) ); ?> </h3> <ol class=\"commentlist\"> <?php wp_list_comments( array( 'callback' => 'outbox_comment' ) ); ?> </ol><!-- .commentlist --> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through? If so, show navigation ?> <nav role=\"navigation\" id=\"comment-nav-below\" class=\"site-navigation comment-navigation clearfix\"> <div class=\"nav-previous\"><i class=\"icon-left-open-1\"></i>&nbsp;<?php echo get_previous_comments_link( __( 'Older Comments', 'outbox' ) ); ?></div> <div class=\"nav-next\"><?php echo get_next_comments_link( __( 'Newer Comments', 'outbox' ) ); ?>&nbsp;<i class=\"icon-right-open-1\"></i></div> </nav><!-- #comment-nav-below .site-navigation .comment-navigation --> <?php endif; ?> <?php endif; // have_comments() ?> <?php // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class=\"nocomments\"><?php _e( 'Comments are closed.', 'outbox' ); ?></p> <?php endif; ?> <?php // Don't output the comment form if CPT and user isn't logged in if ( 'debate' != get_post_type() || is_user_logged_in() ) { comment_form(); } ?> </div><!-- #comments .comments-area --> <?php } ?> This is how the comments template is included inside my single-CPT.php : if ( comments_open() ) comments_template( '', true ); I want to disable comments if if( array_key_exists( 'comments', $wp_query->query_vars ) ){ How can I do this?",
"Using \\vfill between two texts works: \\newpage bla \\vfill blabla but it doesn't work if there is no text before it: \\newpage \\vfill blabla How can this be achieved?",
"On every bootup it's the same: /dev/sda1: clean, 908443/38690816 files, 44176803/154733312 blocks Is it some kind of option Ubuntu uses to ensure filesystem consistency or is there something wrong with my HDD? fsck takes up to 30s while booting and so about triples the time needed otherwise. Full output (partly in German): Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. fsck von util-linux 2.20.1 /dev/sda1: sauber, 908443/38690816 Dateien, 44176803/154733312 Blöcke udevd[623]: unknown key 'SYSFS{idVendor}' in /lib/udev/rules.d/45-libticables.rules:6 udevd[623]: invalid rule '/lib/udev/rules.d/45-libticables.rules:6' * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting configure network device security [ OK ] * Starting bluetooth daemon [ OK ] ####* Starting all other stuff",
"What does the '!' really do when it's added to an ex command (:wq! | :w! | :q! )? I understand that it means force to do something. When doing $ vim -R file I enter in read-only mode, but this works as preventive mode only -R Readonly mode. The 'readonly' option will be set for all the files being edited. You can still edit the buffer, but will be prevented from accidentally overwriting a file. If you forgot that you are in View mode and did make some changes, you can overwrite a file by adding an exclamation mark to the Ex command, as in \":w!\". The 'readonly' option can be reset with \":set noro\" (see the options chapter, |options|). Subsequent edits will not be done in readonly mode. Calling the executable \"view\" has the same effect as the -R argument. The 'updatecount' option will be set to 10000, meaning that the swap file will not be updated automatically very often. But what I can't get yet is why it makes the instruction to skip permissions even if the file's owner is root user, besides it also change owner & group.",
"Can anyone explain why a semi-simple finite dimensional Lie algebra $\\mathfrak{g}$ has to be perfect ? The natural way to prove something like that would be to look to the algebra generated by the Lie brackets, which when $\\mathfrak{g}$ is not perfect would be expected to be solvable. But it doesn't seem to work.",
"Make the network profile editable on the main Stack Exchange page Currently, the Stack Exchange Network Profile links to all the network accounts and acts as a centralized profile page. Seeing that the ability to edit the profile is available from the profile pages of all *.SE sites, I think the ability to edit profiles should be available on that Network Profile page as well. It will be consistent with the nature of the centralized profile page and will better the user experience. EDIT: As the current Network profile, is actually the oldest profile on the Network, providing an edit option on the Network profile which links to the oldest profile edit page, would be one way to implement this.",
"I want to do research but I'm too old for a PHD I really love research. I started a research project in graduate school for my M.A. in English. My research topic is a very viable and interesting topic for a dissertation. I'll be 60 on my next birthday and I know that many Ph.D programs are traditionally geared toward younger students.I was wondering are there any programs that I can continue this research in without facing the issues of ageism in academia?",
"Hi I'm traveling to Uzbekistan and have 12 hours layover in Seoul via Korean Airlines. Do I need a visa to go out of the airport for sightseeing? I'm a Philippine passport holder."
] | medi_sts_stackexchange_dupe |
Enable Access-Control-Allow-Origin for multiple domains in Node.js | Access-Control-Allow-Origin Multiple Origin Domains? | [
"Well, this might be a really simple one. But still... What will be the soln. to --- \\begin{aligned} \\int\\frac{1}{1+x^n} dx \\end{aligned} Is substituting \\begin{aligned} 1+x^n \\end{aligned} by tan z the correct step? Thanks for the Help.",
"How to avoid duplicating assigned materials when duplicating a mesh? how can I prevent Blender 2.8 from duplicating materials every time (?) I duplicate a mesh.",
"I was reading when I came across saying something about a particular type of programmer knowing the difference between an int and an Integer in Java/C# (Object-Oriented Programming Languages). So, what is the difference?",
"Does untapping an attacker stop its attack? If someone declares an attacker and that creature does not have vigilance, if I untap that creature, for example with , does it stop the creature from attacking?",
"Is being a right triangle both necessary and sufficient for the Pythagorean Theorem to hold? I recently encountered a Stack Overflow question (since closed) in which the OP was testing for whether a triangle was right by whether or not it \"met\" the criteria of the Pythagorean Theorem (i.e. whether or not the square of the hypotenuse is equal to the square of the two sides). The code was to this effect: public void Test(int a, int b, int c) { if ((c * c) == ((a * a) + (b * b)) { System.out.println(\"This is a right triangle\"); } else { System.out.println(\"This is not a right triangle\"); } } (There are obviously some other problems with this code, like the fact that it doesn't validate the input to make sure that the inputs are positive and the fact that it only accepts integers). The question was asking about something completely different in the code and never directly addressed the test, but I got to thinking: is this a valid test for whether a triangle is a right triangle? Obviously, the Pythagorean Theorem states that, for all right triangles, $a^2 + b^2 = c^2$ (where $a$ and $b$ are sides and $c$ is the hypotenuse). This will hold for all right triangles, so being a right triangle is a sufficient condition for the Pythagorean Theorem to hold. Is it also a necessary condition? I.e. if $c^2 = a^2 + b^2$ for some arbitrary triangle, is the triangle necessarily a right triangle? Or are there counterexamples?",
"How does Router know where to forward packet",
"Is redirecting homepage to a page with keyword it's targeting helps in SEO?",
"Why is the mean function in Gaussian Process uninteresting?",
"Do Israeli security agents interview all those flying to Israel or is it restricted to El Al flights? The one thing I hate about flying to Israel are the security checks at the origin airports. I don't mind X-rays and deep luggage searches, but there's also an annoying interview you have to \"pass\". The security folks can't really turn you down (especially since I'm a citizen), but they always make it a pain in the butt, because for some reason I fit their profile of a suspicious person. Can I avoid the personal interviews if I book on a non-Israeli airline? Or perhaps a low-cost airline?",
"Interpreting plot.lm()",
"How can I test for POSIX compliance of shell scripts? Considering that POSIX is the closest thing to a common standard among all unices, I'm interested in knowing if there's a shell that supports it exclusively. While most modern shells provide support for POSIX (and will run POSIX compliant scripts without any problem), they don't do a good job at pointing out non compliant features. Is there any shell that implements POSIX and POSIX only, in such a way that it'd throw an error for any non compliant feature? EDIT I want to clarify that I'm not asking for general tips for writing portable shell scripts. The related question mentionned in the comments already covered this. I thought of this question when I found out that bash has a --posix option but only to discover that it only affects some intialization behaviors which is not exactly what I'm looking for.",
"Non-empty intersection. Let $A_1,A_2,...,A_{2019}$ be sets s.t. $|A_i|$=45 for each $i=\\overline{1,2019}$ and $|A_i\\cap A_j|=1$ for every $i\\neq j$. Is it true that $$\\Big|\\bigcap _{i=1}^{2019} A_i\\Big|=1?$$ What I thought of doing is proving by induction by i, the base is obvious. However I'm stuck on the next step.",
"Why do I sometimes see a downloading 'pie' icon when viewing photostream photos? it normally shows in the bottom corner as a sort of 'pie' that fills up as the picture is downloaded, similar to the 'app downloading' pie when viewing a downloading app on the home page/s prior to this the picture resolution is terrible",
"How do you check the windows version in Win32 at runtime? How do you check the windows version in Win32 at runtime?",
"$\\ker \\phi = (x_1-a_1, ..., x_n-a_n)$ for a ring homomorphism $\\phi: R[x_1, ..., x_n] \\to R$ Let $R$ be a commutative ring, $a_1, ..., a_n$ its elements and $\\phi: R[x_1, ..., x_n] \\to R$ defined by $ \\phi(f(x_1, ..., x_n)) = f(a_1, ... ,a_n)$ a ring homomorphism. Prove: $\\ker \\phi = (x_1-a_1, ..., x_n-a_n)$ It is obvious that $(x_1 - a_1, ..., x_n -a_n) \\subseteq \\ker \\phi$. I'm not sure how to prove the converse. At this point I don't know any division algorithms for multivariable polynomials, only for the ones in $R[x]$(and the book from where I taken the exercise doesn't assume the reader to know something beyond basics of rings and ideals, and the division algorithm for $R[x]$). Though I know this could be solved for $i = 1$ by dividing by $x-a$: Let $f(x) \\in \\ker \\phi$, divide by $x-a: f(x) = q(x)(x-a) + r, f(a) = r = 0$, so $f(x) = q(x)(x-a) \\in (x-a)$.",
"How to sort a list of objects based on an attribute of the objects? I've got a list of Python objects that I'd like to sort by an attribute of the objects themselves. The list looks like: >>> ut [<Tag: 128>, <Tag: 2008>, <Tag: <>, <Tag: actionscript>, <Tag: addresses>, <Tag: aes>, <Tag: ajax> ...] Each object has a count: >>> ut[1].count 1L I need to sort the list by number of counts descending. I've seen several methods for this, but I'm looking for best practice in Python.",
"I have the following code: info = new System.Diagnostics.ProcessStartInfo("TheProgram.exe", String.Join(" ", args)); info.CreateNoWindow = true; info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; info.RedirectStandardOutput = true; info.UseShellExecute = false; System.Diagnostics.Process p = System.Diagnostics.Process.Start(info); p.WaitForExit(); Console.WriteLine(p.StandardOutput.ReadToEnd()); //need the StandardOutput contents I know that the output from the process I am starting is around 7MB long. Running it in the Windows console works fine. Unfortunately programmatically this hangs indefinitely at WaitForExit. Note also this code does NOT hang for smaller outputs (like 3KB). Is it possible that the internal StandardOutput in ProcessStartInfo can't buffer 7MB? If so, what should I do instead? If not, what am I doing wrong?",
"I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages. Then I created a child theme that uses load_child_theme_textdomain() to achieve the same thing for its strings. There are certain translated strings for a particular language on the parent theme that I'd like to replace/override in the child theme. I know if they were on a template file I could replace the file and simply change the textdomain for those strings, but unfortunately the ones I'm talking about are used in many places and also in the dashboard (so inside some filter/action functions). So my question is: is there a way to replace those translated strings inside the child theme without having to replace parent template files or functions? I don't know, maybe adding a parent-theme.mo file inside the languages folder of the child theme with only those strings translated, or something like that.",
"\"Closed\" (square) root symbol I found a cool trick in the which allows the square root sign to be altered such that it "closes" over its contents. Here's an example: ("closed" root on the left, normal one on the right) The way they do this is as follows: % New definition of square root: % it renames \\sqrt as \\oldsqrt \\let\\oldsqrt\\sqrt % it defines the new \\sqrt in terms of the old one \\def\\sqrt{\\mathpalette\\DHLhksqrt} \\def\\DHLhksqrt#1#2{% \\setbox0=\\hbox{$#1\\oldsqrt{#2\\,}$}\\dimen0=\\ht0 \\advance\\dimen0-0.2\\ht0 \\setbox2=\\hbox{\\vrule height\\ht0 depth -\\dimen0}% {\\box0\\lower0.4pt\\box2}} The cool thing is that (as far as I've tested it) this works regardless of the math font and with pdftex as well as xetex. However what is not possible is mulitple roots, such as \\sqrt[3]{a}. Those produce incorrect output when this "trick" is being used. So my question is, is somebody able to tweak this code so that it works for multiple roots as well?",
"Can I run CAT5/6 cables parallel to electrical cables? I am building a new house and am planning to hardwire network cables into each room. Can I run CAT5/6 cables parallel to electrical wires without introducing any general safety issues or losing much in connection quality? Wiring runs for up to 25 metres from patch panel and distribution board in garage to rooms. My research indicates that is should be fine if they are in separate conduits or if the CAT cables are shielded."
] | medi_sts_stackexchange_dupe |
Code block is not properly formatted when placed immediately after a list item | How to nest code within a list using Markdown | [
"How to find relevant and new open research topics?",
"Good review audit has \"possible spam\" warning? I was looking through someone's edit history and I was looking at : Why does it give this notice, while at the same time saying that it's a high-quality post?",
"What is the difference between the Circle-K and Lawson Power Cube?",
"How can I find infinity focus on a kit lens with no markers? I have a kit lens which has no markers. What would be a recommended way to find infinity focus on this lens? I plan to shoot objects at night -- not necessarily stars or the moon. So, adjusting the focus using the viewfinder may not be an option.",
"How to get images to planes objects to receive shadow?",
"What are the “spam” and “rude or abusive” (offensive) flags, and how do they work? When flagging, there are two special case options: spam and rude or abusive. What is spam, and when should I flag content as such? What is considered offensive, rude or abusive content? How does the spam flag differ from the rude or abusive flag? What is the effect of these special flags? When are these flags removed?",
"Is an expanding map on a compact metric space continuous?",
"I know in TNG that all computer interfaces are now touch-screen, and that got me thinking: when was the first reference to touch-screen computer interfaces in Sci-Fi made?",
"Java; String replace (using regular expressions)? As part of a project for school, I need to replace a string from the form: 5 * x^3 - 6 * x^1 + 1 to something like: 5x<sup>3</sup> - 6x<sup>1</sup> + 1 I believe this can be done with regular expressions, but I don't know how to do it yet. Can you lend me a hand? P.S. The actual assignment is to implement a Polynomial Processing Java application, and I'm using this to pass polynomial.toString() from the model to the view, and I want do display it using html tags in a pretty way.",
"PHP XML how to output nice format",
"Is my Geoserver \"Direct WMS Integration\" working?",
"Why do some Kree have white skin? This seems bizarre to me. All the Kree we've seen thus far (MCU based) were blue skinned... Ronan the Accuser being the most famous What do Kree people look like? Is there anything concrete with their appearance? It seems odd that Danvers (Captain Marvel) and Jude Law's character (Yon-Rog?) and the \"Supreme Intelligence\" are all white skinned.",
"What is the sum of non-real roots of the polynomial equation?",
"I am trying to import an Excel table with around 10,000 XY points into ArcMap 10.2. I am using State Plane NAD 1983 Alabama West (US Feet) as the Coordinate System in my map data frame. I then add the excel table to my Table of Contents in the map then select Display XY Data. Next, I choose the same coordinate system as my data frame then select OK. Once it creates the Events layer for my points they are not in the correct location. Should I switch everything in my map to WGS84 or is there a solution for my points to be added onto my current map with the state plane coordinate system?",
"What features differ between the Xbox 360 and PC versions of Minecraft? What differences does the Xbox 360 version of Minecraft have compared to playing on the PC? To clarify - I'm concerned more about the differences exclusive to each platform, not just differences of features that will probably be added in future updates (for example, crafting). Otherwise, I feel this question could be compared to "What is the difference between Minecraft version x and version y", which isn't what I'm asking.",
"How to use THAT and WHO",
"If $f(x)$ is differentiable at x, I need to prove that $\\lim_{h\\to0}\\frac{f(x+h)-f(x-h)}{2h}$ exist and is finite. so if $f(x)$ is differentiable at a $x$, the difference quotient exist for this point, and also $f(x)$ must be continuous at x as well so that mean that: $\\lim_{h\\to0^+}\\frac{f(x+h)-f(x)}{h} = \\lim_{h\\to0^-}\\frac{f(x+h)-f(x)}{h}$ and that: $\\lim_{x\\to x_0^+}=\\lim_{x\\to x_0^-}=f(x_0)$ I know I should probably use arithmetic limit laws to prove this but I can't see how what I figured out could help me. any help with that? Thanks!",
"How to combine complex powers?",
"I have been building models with categorical data for a while now and when in this situation I basically default to using scikit-learn's LabelEncoder function to transform this data prior to building a model. I understand the difference between OHE, LabelEncoder and DictVectorizor in terms of what they are doing to the data, but what is not clear to me is when you might choose to employ one technique over another. Are there certain algorithms or situations in which one has advantages/disadvantages with respect to the others?",
"Usually, when we see two letters put together it is to define the pronunciation or to differentiate synonyms or just its foreign origins. But some words don't seem to have any reason to double up. Why does vacuum have two of the letter U? Why does aardvark have two of the letter A? Why does llama have two of the letter L?"
] | medi_sts_stackexchange_dupe |
I can't do "sudo apt-get update" (malformed entry 54 in sources.list) | E: Malformed entry 54 in list file /etc/apt/sources.list (Component) | [
"Harmonic Motion",
"What does the second column in the output of 'ls -n' mean?",
"Topology induced by seminorms and initial topology Let's say we have a family of seminorms $(\\rho_\\alpha)_{\\alpha \\in A}$ on a vector space $V$. There are two ways to topologize $V$ using those seminorms: We define topology $\\mathcal S$ by a subbasis consisting of sets of the form $$ B_{x, \\alpha, \\epsilon} =\\{v \\in V : \\rho_\\alpha(v - x) < \\epsilon \\} $$ for some $\\epsilon > 0, x \\in V, \\alpha \\in A$. We define topology $\\mathcal I$ as the smallest topology in which the seminorms are continuous. I've showed that the seminorms are continuous in $\\mathcal S$, and that implies $\\mathcal I \\subseteq \\mathcal S$. I'm having trouble with the other direction. It is clear to me that $B_{0, \\alpha, \\epsilon} = \\rho_\\alpha^{-1} ((-\\epsilon, \\epsilon ))$, so it's enough to show that vector addition is continuous in respect to $\\mathcal I$, but I don't know how to do that.",
"I use object != null a lot to avoid . What is an alternative to: if (someobject != null) { someobject.doCalc(); }",
"What's the most efficient way to concatenate strings?",
"How to solve: -bash: : cannot execute binary file I have a file named b1 that contains assembly language. I am trying to execute the file on OSX using $ ./b1 I get the following error: -bash: ./b1: cannot execute binary file I've looked at other similar questions, but to no avail. I'm definitely using a 64 bit architecture. Here are output of relevant info: $ file b1 b1: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped $ uname -a Darwin Anthonys-MacBook-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 Edit: Ran as b1 which ended up terminating with: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as: fatal error in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/x86_64/as",
"How to solve $\\frac 1{1.2.3}+\\frac 1{2.3.4}+\\frac 1{3.4.5}+...$ As my question says, $$\\frac 1{1.2.3}+\\frac 1{2.3.4}+\\frac 1{3.4.5}+...$$ As far as $\\frac 1{1.2}+\\frac 1{2.3}+\\frac 1{3.4}+...$ is concerned, we can write it as $\\frac 1{n-1} - \\frac 1{n}$ What can we do here?",
"What are the fundamentals of implementing hook_menu()? I would like to see the basics covered in a single question, to avoid having to answer the same similar but different questions over and over.",
"Regex: match everything but specific pattern",
"Is it possible to remove a terminal command? For example, if there was a command call lookup (not an alias), how would I go about removing it?",
"How exactly does a \"random effects model\" in econometrics relate to mixed models outside of econometrics? I used to think that \"random effects model\" in econometrics corresponds to a \"mixed model with random intercept\" outside of econometrics, but now I am not sure. Does it? Econometrics uses terms like \"fixed effects\" and \"random effects\" somewhat differently from the literature on mixed models, and this causes a notorious confusion. Let us consider a simple situation where $y$ linearly depends on $x$ but with a different intercept in different groups of measurements: $$y_{it} = \\beta x_{it} + u_i + \\epsilon_{it}.$$ Here each unit/group $i$ is observed at different timepoints $t$. Econometricians call it \"panel data\". In mixed models terminology, we can treat $u_i$ as a fixed effect or as a random effect (in this case, it's random intercept). Treating it as fixed means fitting $\\hat \\beta$ and $\\hat u_i$ to minimize squared error (i.e. running OLS regression with dummy group variables). Treating it as random means that we additionally assume that $u_i\\sim\\mathcal N(u_0,\\sigma^2_u)$ and use maximum likelihood to fit $u_0$ and $\\sigma^2_u$ instead of fitting each $u_i$ on its own. This leads to the \"partial pooling\" effect, where the estimates $\\hat u_i$ get shrunk toward their mean $\\hat u_0$. R formula when treating group as fixed: y ~ x + group R formula when treating group as random: y ~ x + (1|group) In econometrics terminology, we can treat this whole model as a fixed effects model or as a random effects model. The first option is equivalent to the fixed effect above (but econometrics has its own way of estimating $\\beta$ in this case, called \"within\" estimator). I used to think that the second option is equivalent to the random effect above; e.g. @JiebiaoWang in his highly upvoted answer to says that In econometrics, the random-effects model may only refer to random intercept model as in biostatistics Okay --- let us test if this understanding is correct. Here is some random data generated by @ChristophHanck in his answer to (I put for those who do not use R): @Christoph does two fits using econometrics approaches: fe <- plm(stackY~stackX, data = paneldata, model = \"within\") re <- plm(stackY~stackX, data = paneldata, model = \"random\") The first one yields the estimate of beta equal to -1.0451, the second one 0.77031 (yes, positive!). I tried to reproduce it with lm and lmer: l1 = lm(stackY ~ stackX + as.factor(unit), data = paneldata) l2 = lmer(stackY ~ stackX + (1|as.factor(unit)), data = paneldata) The first one yields -1.045 in perfect agreement with the within estimator above. Cool. But the second yields -1.026, which is miles away from the random effects estimator. Heh? What is going on? In fact, what is plm even doing, when called with model = \"random\"? Whatever it is doing, can one somehow understand it via the mixed models perspective? And what is the intuition behind whatever it is doing? I read in a couple of econometrics places that random effects estimator is a weighted average between the fixed effects estimator and the \"between\" estimator which is more or less regression slope if we do not include group identity in the model at all (this estimate is strongly positive in this case, around 4.) E.g. @Andy : The random effects estimator then uses a matrix weighted average of the within and between variation of your data. [...] This makes random effects more efficient[.] Why? Why would we want this weighted average? And in particular, why would we want it instead of running a mixed model?",
"Find the nilpotents in $\\mathbb{Z}_3[x]/(x^2-1)$",
"Marketing Cloud IP Warming - is it critical that we send up to the weekly limits by domain?",
"SQL comma-separated row with Group By clause",
"How can I make an X-Y scatter plot with histograms next to the X-Y axes?",
"Is it standard to say $-i \\log(-1)$ is $\\pi$? I typed $\\pi$ into Wolfram Alpha and in the short list of definitions there appeared $$ \\pi = -i \\log(-1)$$ which really bothered me. Multiplying on both sides by $2i$: $$ 2\\pi i = 2 \\log(-1) = \\log(-1)^2 = \\log 1= 0$$ which is clearly false. I guess my error is $\\log 1 = 0$ when $\\log$ is complex-valued. I need to use $1 = e^{2 \\pi i}$ instead. So my question: is it correct for WA to say $\\pi = -i \\log(-1)$? Or should be they specifying \"which\" $-1$ they mean? Clearly $ -1 = e^{i \\pi}$ is the \"correct\" value of $-1$ here.",
"I'm trying to test a page that has an input but really its a drop down list. The user enters text and then a dropdown appears based on what the user inputted. They are groups that are in the database. If I look for these elements before typing anything they dont exist but once I start typing they do exist. The problem is I cant just type the whole name and then press enter or return because an option has to be selected from the list. I can press arrow down to get the focus on the item from the list but then if I say enter it doesnt select, it sends that enter to the original element and nothing gets selected. I can find the select element: var ddList = driver.FindElement(By.CssSelector(\".ui-autocomplete-input\")); ddList.SendKeys(\"Admins\"); This is the first time the list appears in the html. It looks like this: <li class=\"ui-menu-item\" role=\"presentation\">",
"Deriving the conditional distributions of a multivariate normal distribution We have a multivariate normal vector ${\\boldsymbol Y} \\sim \\mathcal{N}(\\boldsymbol\\mu, \\Sigma)$. Consider partitioning $\\boldsymbol\\mu$ and ${\\boldsymbol Y}$ into $$\\boldsymbol\\mu = \\begin{bmatrix} \\boldsymbol\\mu_1 \\\\ \\boldsymbol\\mu_2 \\end{bmatrix} $$ $${\\boldsymbol Y}=\\begin{bmatrix}{\\boldsymbol y}_1 \\\\ {\\boldsymbol y}_2 \\end{bmatrix}$$ with a similar partition of $\\Sigma$ into $$ \\begin{bmatrix} \\Sigma_{11} & \\Sigma_{12}\\\\ \\Sigma_{21} & \\Sigma_{22} \\end{bmatrix} $$ Then, $({\\boldsymbol y}_1|{\\boldsymbol y}_2={\\boldsymbol a})$, the conditional distribution of the first partition given the second, is $\\mathcal{N}(\\overline{\\boldsymbol\\mu},\\overline{\\Sigma})$, with mean $$ \\overline{\\boldsymbol\\mu}=\\boldsymbol\\mu_1+\\Sigma_{12}{\\Sigma_{22}}^{-1}({\\boldsymbol a}-\\boldsymbol\\mu_2) $$ and covariance matrix $$ \\overline{\\Sigma}=\\Sigma_{11}-\\Sigma_{12}{\\Sigma_{22}}^{-1}\\Sigma_{21}$$ Actually these results are provided in Wikipedia too, but I have no idea how the $\\overline{\\boldsymbol\\mu}$ and $\\overline{\\Sigma}$ is derived. These results are crucial, since they are important statistical formula for deriving Kalman filters. Would anyone provide me a derivation steps of deriving $\\overline{\\boldsymbol\\mu}$ and $\\overline{\\Sigma}$ ? Thank you very much!",
"How to get exact camera view?",
"Combinatorial proof of an identity with squared binomial coefficients Is it true that $\\sum_kk\\binom{n}{k}^2=n\\binom{2n-1}{n-1}$? (I proved it using generating functions). Could you help me to prove it combinatorially? please"
] | medi_sts_stackexchange_dupe |
Till what grade, till grade | Asking the position of a person in a sequence | [
"Union of two vector subspaces not a subspace?",
"Equivalence principle question I understand the as \"The physics in a freely-falling small laboratory is that of special relativity (SR).\" But I'm not quite sure why this is equivalent to \"One cannot tell whether a laboratory on Earth is not actually in a rocket accelerating at 1 g\".",
"How can I reinstall GRUB to the EFI partition?",
"Why does Sass change the format of my colors?",
"I'm trying to use itemize inside a tabularx environment, but I have a problem when I mention the end of the line. It seems that using \\\\ end the line after the end of itemize, resulting in a supplementary vertical spacing that I would like to remove. Any hint? \\begin{frame} \\frametitle{Sujet de thèse} \\begin{center} \\textit{Sujet N$^\\circ$221 : Formation et dynamique des champs de dunes longitudinales.} \\end{center} \\begin{tabularx}{\\textwidth}{l !{\\color{blue}\\vline width 3pt} X} Contexte & \\scriptsize{Classification des dunes selon leur mécanisme de croissance, leur orientation et leur forme. Bonne compréhension : \\begin{itemize}[noitemsep,topsep=0pt, label=\\textbullet] \\item du mécanisme de croissance lié à une disponibilité en sédiment grande. \\item de la croissance sous un vent unidirectionnel. \\end{itemize}} \\\\ Objectifs & \\scriptsize{Etude de l'orientation longitudinale : \\begin{itemize}[noitemsep,topsep=0pt, label=\\textbullet, parsep=0pt ] \\setlength\\itemsep{0cm} \\item Développement d'un formalisme sous des vents multidirectionnels. \\item Etude des dunes longitudinales dans le cas d'une faible disponibilité en sédiment. (Fingering mode) \\item Inversion: données topographiques $\\longrightarrow$ Données de vents $\\rightarrow$ paléo-climats. \\end{itemize}} \\\\ Outils & \\scriptsize{Modèle numérique (Rescal), Données expérimentales, Théorie.} \\\\ \\end{tabularx} \\end{frame} And yes, dunno if it's important but everything is inside beamer.",
"decode a quoted printable message in php I have the string which that encoded in . How do I decode this in php? Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum felis = pede, vestibulum et, ullamcorper in, ultrices eget, metus. Suspendisse in n= ulla. Sed justo. Donec dapibus auctor neque. Pellentesque faucibus ante nec= metus. Vivamus feugiat, velit rhoncus semper suscipit, libero augue venena= tis leo, nec ornare nulla elit eget diam. Nullam sollicitudin.",
"Are partitions to the inner/outer edge significantly faster Some linux dual/multi-boot tutorials / general partitioning tutorials say that the inner side of a hard disk is faster than the outer side so partitions towards the outside tend to be slower while some say that the exact opposite is true. Which side is actually faster? Is the difference noticeable? How are the partitions physically placed on the disk as compared to the partition listing order-for example gparted shows a logical ribbon layout of the partitions. Are the partitions shown to the left side of this ribbon near the outer or inner edge of the disk physically? Are there software benchmarks like testing some disk intensive stuff for the first time on identical vanilla installs of the same OS but on different partitions, inner and outer? EDIT: Links ctrl + f for \"slower\" on this page Says outer side is faster Says inner side is faster Says outer side is faster(not about dual-booting)",
"I am trying to create an spritz app. Everything was working fine, but since yesterday I keep getting this error: ./spritz: line 176: syntax error: unexpected end of file I have checked the script file and everything seems perfect. I am confused, I have an if statement at last and it looks correct! Here is the last portion: #checks if speed is 150 157 if [[ $2 -eq 150 ]]; 158 then 159 starttime=$SECONDS 160 FS=$'\\n' 161 for j in `grep --color=always -iP '\\b[^aeiou\\s]*[aeiou][^aeiou\\s]*\\K[aeiou]' $1`; 162 do 163 #Reads the text file in the centre of the screen 164 echo \" ___________________\" 165 echo \" $j\"; 166 echo \" ___________________\" 167 echo \" Speed 150 wpm\" 168 sleep 0.9; 169 clear; 170 done 171 endtime=$(($SECONDS - $starttime)) 172 echo \"You read $words_read words in $endtime seconds!\" 173 exit 8 174 fi What could cause that error?",
"General term of Taylor Series of $\\sin x$ centered at $\\pi/4$",
"Vertically align text next to an image?",
"Italian keyboard: entering tilde (~) and backtick (`) characters without changing keyboard layout",
"Are universal power supplies for laptops worth it? My laptop's cable broke and sadly it seems like I need to buy a new power supply. What I wonder is, I've found that universal power supplies are much cheaper than the official HP ones. Are they really worth it? Another question: the original supply has these specs: 65W, 18.5V, 3.5A. However the universal supplies are more powerful (90W, 100W) and come in integer voltages (17V, 18V, 19V, etc). Are they compatible? Should I set them to 18V or 19V?",
"In Ubuntu, I want to scroll up while a command is running in my terminal window and generates new output (the command that is running is rspec). I can scroll up, but each time rspec generates a new line of console output, it throws me back down to the bottom. Is there a way to scroll all the way up? I'm using terminator on Linux Mint/Ubuntu 12.04 LTS. I found a possible workaround. says that with stty ixon you can turn on "XON/XOFF flow control for terminal output. Being able to pause output by typing ^S and resume it by typing ^Q [...]" This it not totally what I wanted though, without having to pause the output (and maybe wondering when forgetting to turn it on again), I thought there might be a simple modifier key like shft-alt with mouse wheel scroll-up. Are there better solutions?",
"What is the metal sheath surrounding a USB connector, and is it commonly connected?",
", and 1 still show the old bar. 1 See",
"How can I dual boot Windows and Ubuntu? I currently have Windows 7 on my computer and I want to install Ubuntu alongside Windows safely. Could someone please provide clear instructions?",
"I am trying to install Ubuntu 16.04 LTS on a Dell XPS 13 (9350). The laptop came with Windows 10 pre-installed. I am installing from a pendrive but I think the issue would be the same if I used e.g. a USB DVD drive. Dude, where's my hard drive? I am blocked because the installation program cannot find 8.6Gb of free space on my hard drive despite the fact that there are hundreds of Gb free according to Windows. Digging a bit into the problem, it seems that Ubuntu cannot see my hard disk at all. This is the output of GParted: I am not sure what that drive mounted at /cdrom is, but it seems the only device that exists in the system that is not a RAM disk or a loop device: Content of /proc/partitions: ubuntu@ubuntu:~$ cat /proc/partitions major minor #blocks name 1 0 65536 ram0 1 1 65536 ram1 1 2 65536 ram2 1 3 65536 ram3 1 4 65536 ram4 1 5 65536 ram5 1 6 65536 ram6 1 7 65536 ram7 1 8 65536 ram8 1 9 65536 ram9 1 10 65536 ram10 1 11 65536 ram11 1 12 65536 ram12 1 13 65536 ram13 1 14 65536 ram14 1 15 65536 ram15 7 0 130048 loop0 7 1 1104188 loop1 8 0 1970239 sda 8 1 1953439 sda1 Summary of fdisk -l: ubuntu@ubuntu:~$ sudo fdisk -l |grep Disk Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors Disk /dev/loop0: 127 MiB, 133169152 bytes, 260096 sectors Disk /dev/loop1: 1.1 GiB, 1130688512 bytes, 2208376 sectors Disk /dev/sda: 1.9 GiB, 2017525248 bytes, 3940479 sectors Disklabel type: dos Disk identifier: 0x00000000 Result of fdisk of the only non-loop non-RAM device (not sure this is relevant): ubuntu@ubuntu:~$ sudo fdisk -l |grep -A 50 sda Disk /dev/sda: 1.9 GiB, 2017525248 bytes, 3940479 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sda1 * 129 3907007 3906879 1.9G c W95 FAT32 (LBA) I am blocked at this point. Any help will be much appreciated. Additional information (following comments): Running dmesg |grep -i sata shows (among others) eight lines that suggest some kind of error: ata1: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF) ata2: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF) ata3: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF) ata4: SATA link down (SStatus 0 SControl 0) ata5: SATA link down (SStatus 0 SControl 0) ata6: SATA link down (SStatus 0 SControl 0) ata7: SATA link down (SStatus 0 SControl 0) ata8: SATA link down (SStatus 0 SControl 0) I have \"Restarted\" windows instead of only \"Shutdown\" it to avoid problems with \"fast startup\", following some recommendations I have read of other users having problems installing Linux on Windows 10 laptops.ago Regarding SATA, the BIOS says: \"SATA Operation: RAID ON\". The other two options available are \"Disabled\" and \"AHCI\". I have followed the instructions of these two pages from Dell: , .",
"How to do a generalized linear model with multiple dependent variables in R?",
"How do I use itertools.groupby()? I haven't been able to find an understandable explanation of how to actually use Python's itertools.groupby() function. What I'm trying to do is this: Take a list - in this case, the children of an objectified lxml element Divide it into groups based on some criteria Then later iterate over each of these groups separately. I've reviewed , but I've had trouble trying to apply them beyond a simple list of numbers. So, how do I use of itertools.groupby()? Is there another technique I should be using? Pointers to good "prerequisite" reading would also be appreciated.",
"Someone recently asked me why a negative $\\times$ a negative is positive, and why a negative $\\times$ a positive is negative, etc. I went ahead and gave them a proof by contradiction like so: Assume $(-x) \\cdot (-y) = -xy$ Then divide both sides by $(-x)$ and you get $(-y) = y$ Since we have a contradiction, then our first assumption must be incorrect. I'm guessing I did something wrong here. Since the conclusion of $(-x) \\cdot (-y) = (xy)$ is hard to derive from what I wrote. Is there a better way to explain this? Is my proof incorrect? Also, what would be an intuitive way to explain the negation concept, if there is one?"
] | medi_sts_stackexchange_dupe |
How do magnets attract (QED)? | Feynman diagram for attractive forces | [
"Which site is more reasonable for questions about R, SO or stats.stackexchange.com? I've been using SO for a little over a year now, and recently I've noticed a shift of users between SO and stats.stackexchange.com. I'm wondering if there has been any discussion on where questions about R, a statistical environment, best fits. Would you say it's better to ask R questions on SO or would it be better to ask over at stats.stackexchange.com? What, if any, determinants would you use to decide to post between the two? What about cross posting?",
"Automatic left and right commands",
"The use of imaginary and complex values comes up in many physics and engineering derivations. I have a question about that: Is the use of complex numbers simply to make the process of derivation easier, or is it an essential ingredient, without which it would be impossible to derive some results? I can identify two different settings where the answer may be different: It doesn't look like it is mandatory for results in Newtonian mechanics, General Relativity and classical electrodynamics. Can we say the same thing about quantum mechanics either way for sure? Could this be a difference in quantum mechanics over the classical picture?",
"I run Windows XP and the wallpaper I used to have got lost. I have backups of the system itself, so if I knew where to look, I could find a copy of the old wallpaper. I have some idea of the original filename (searching now), and I recall it saves it as a bitmap, but an exact location would be helpful. It was a photo/JPEG that used to be on the filesystem, and I don't have backups, so the Firefox, and Internet Explorer wallpaper locations are unlikely. I checked %SYSTEMROOT%\\system32 as well - so I'm assuming it's somewhere else.",
"The answer is, according to the book: $(m-1)!\\cdot \\binom{m+r-1}{r}$ I get why this is true. You arrange $m$ people in their seats in $(m-1)!$ ways and then you put $r$ empty spots inbetween them.I was thinking - choose $m$ seats out of $m+r$ to put the people on => $\\binom{m+r}{m}$ Arrange them once you've chosen the seats $\\to (m-1)!$ So in total: $\\binom{m+r}{m} \\cdot (m-1)!$ This is obviously not true. What's wrong with the way I'm thinking?",
"Log4Net: Programmatically specify multiple loggers (with multiple file appenders) How to (programmatically, without xml config) configure multiple loggers with Log4Net? I need them to write to different files.",
"Resizing Controls in MFC I am writing a program which has two panes (via CSplitter), however I am having problems figuring out out to resize the controls in each frame. For simplicity, can someone tell me how I would do it for a basic frame with a single CEdit control? I'm fairly sure it is to do with the CEdit::OnSize() function... But I'm not really getting anywhere... Thanks! :)",
"I am currently studying answer on the Moore-Penrose pseudoinverse and the Euclidean norm by the user "Etienne dM". The first point of their answer proceeds as follows: Let $x$ be $A^+y$. Let me begin by the second point. For all $z$, we have: \\begin{align} \\lVert Az-b \\rVert_2^2 &= \\lVert Ax-b \\rVert_2^2 + \\lVert A(z-x) \\rVert_2^2 + 2 (z-x)^TA^T(Ax-b)\\\\ & \\geq \\lVert Ax-b \\rVert_2^2 + 2 (z-x)^TA^T(Ax-b) \\end{align} Moreover, because $(AA^+)^T = AA^+$, $$ A^T(Ax-b) = ((AA^+)A)^Tb - A^Tb = 0$$ Thus, we prove that for all $z$, $\\rVert Az-b \\lVert_2^2 \\geq\\rVert Ax-b \\lVert_2^2$, that is to say $A^+b$ is as close as possible to $y$ in term of the Euclidian norm $\\lVert Ax-b\\rVert_2$. I realise that $x = A^+ y$, but I don't understand how any of this implies that "$A^+ b$ is as close as possible to $y$ in terms of the Euclidean norm $\\lVert Ax-b\\rVert_2$". I would greatly appreciate it if people would please take the time to explain this to me.",
"I am trying to solve an integral in $k$-space where I want to calculate the ratio of the average energy of an arbitrary electronic band ($E(k)=k^n)$ to the square of average group velocity of electrons($v_g = k^{n-1})$ approximately in the form of this expression given by $$L=\\frac{\\frac{\\sum_{\\mathbf{k}}k^{n}}{\\sum_{\\mathbf{k}}1}}{\\left(\\frac{\\sum_{\\mathbf{k}}k^{n-1}}{\\sum_{\\mathbf{k}}1}\\right)^2}\\;.$$ Now, I want to do this for $d$-dimensions, so I convert this sum to integral. $$L=\\frac{\\dfrac{\\int_{0}^{k_f}k^{n} d^d k}{\\int_{0}^{k_f}1d^d k}}{\\left(\\dfrac{\\int_{0}^{k_f}k^{n-1}d^d k}{\\int_{0}^{k_f}1d^d k}\\right)^2}$$ where $d^dk = \\dfrac{d \\pi^{d/2}}{\\Gamma(\\frac{d}{2}+1)}k^{d-1}dk$ is the volume element in $d$-dimensional space. I want to get a simple expression for $L$ and how it depends with $k_f,n$ and $d$. any physical insight into this integral could also be helpful.",
"Can Wubi use the ISO I already have? The Windows Installer for Ubuntu desktop instructions say that an ISO image for Ubuntu is downloaded during the installation process. But what if I already have an ISO image for Ubuntu. Can I make the Windows Installer use that, so it doesn't have to download an ISO image again? 12.04 LTS and 12.10 are the versions of Ubuntu I'm interested in installing, in case that matters.",
"bcmwl-kernel-source broken on kernel: 5.8.0-34-generic",
"The security guard problem",
"I have windows 10 home and from time to time I see a command line window popping up for less than a second. I want to find out which process is causing that. It's not very often that this window pops up so I need some tool that can run for a long time. Does anyone have a good idea? Regards Tobias",
"A diffeomorphism whose tangent map preserves dot products is an isometry. I'm having trouble solving the following problem. If $F:\\mathbb{R^3} \\to \\mathbb{R^3}$ is a diffeomorphism such that $F\\ast$(the tangent map of $F$) preserves dot products, show that $F$ is an isometry. (Hint: Show that $F$ preserves lengths of curve segments and deduce that $F^{-1}$ does also.) I'm trying to proceed as in the hint, but I'm stuck on the first step, showing the $F$ preserves lengths of curve segments. Moreover, how does showing that both $F$ and its inverse preserves length of curve segments show that it is an isometry. And how do I characterize the curve segments. I would appreciate any solutions, hints or suggestions.",
"If I take a sponge and place it in a shallow dish of water (i.e. water level is lower than height of sponge), it absorbs water until the sponge is wet, including a portion of the sponge above the water level. In other words, it seems the sponge pulls some water from the bath up into itself, doing work, and the water gains some gravitational potential energy. Where does the energy required to do this work come from? My suspicion is that the answer involves physical and/or chemical bonds between the water and the sponge, or possibly the change in the surface area to volume ratio of the water.",
"Given that not all employees have a diamond: All Stack Overflow employees aren't given a moderator diamond; the Community team has tightened up internal policies regarding who gets one and who doesn't. [...] — can we have some visual indication that they are an employee? This was back in 2011, but declined. However, the situation appears to have changed now with fewer employees being given a diamond. That way when they post on a meta site we know that it's somewhat \"official\". Failing that please ensure that everyone includes the fact they're an employee in their profile given that to add employee to their profile pages was also declined.",
"If $A$ is an $n \\times n$ matrix and $ A^2 = 0$, then $\\text{rank}(A)\\le n/2$. Was revising for a Linear Algebra when I came across this question. \"Given a Matrix $A$ over $\\mathbb{R}^{n \\times n}$, and $A^2 = 0$, show that rank($A$) $\\leq n/2$\" My attempt: I was thinking of the theorem from Cayley-Hamilton but the matrix is a $n \\times n$ matrix hence that's probably invalid. Is there perhaps a significance of $A^2 = 0$? apart from a special case of the nilpotent matrix?",
"In JavaScript can I make a \"click\" event fire programmatically for a file input element? I'd like to make a click event fire on an <input type=\"file\"> tag programmatically. Just calling click() doesn't seem to do anything or at least it doesn't pop up a file selection dialog. I've been experimenting with capturing events using listeners and redirecting the event, but I haven't been able to get that to actually perform the event like someone clicked on it.",
"In my javascript I have this loopDeLoop: while (foo !== bar) { switch (fubar) { case reallyFubar: if (anotherFoo == anotherBar) { break loopDeLoop; } break; default: break; } } But JSLint says... lint warning: use of label Here's the notes from Labels JavaScript allows any statement to have a label, and labels have a separate name space. JSLint is more strict. JSLint expects labels only on statements that interact with break: switch, while, do, and for. JSLint expects that labels will be distinct from vars and parameters. How do I construct the above to get rid of the warning? Thanks, Greg",
"The problem is this: Suppose $I \\subseteq R$ is a nilpotent ideal and there is $r \\in R$ with $r \\equiv r^2 \\pmod I$. Show $r \\equiv e \\pmod I$ for some $e \\in R$ idempotent. I have spent a few hours rolling around in abstracta with no destination. I believe that if I could write down a concrete example of this, the example could guide me through the abstract definitions and show me where to look for an idempotent in $R$. I have looked at 2x2 matrices and could not find any such examples. Might anybody have one?"
] | medi_sts_stackexchange_dupe |
Old book series about a young shadow user | Female main character in an ice world earning gems/runes | [
"How to set the same font size for all tables?",
"Authenticate to Stack Exchange using GitHub I've seen sign in methods using as an authentication provider, for example : (AWS Cloud9) Is it possible to authenticate into Stack Exchange using this method? At the moment there's other methods such as OpenID, Google, Yahoo and Facebook, but it would be interesting to also have the GitHub authentication.",
"Animated movie that had black robots that turned people into stone late 1960s to 1970s It was a weird sci-fi animated movie I saw only a little bit of it. This is what I recall: It was old but had color, so I assume it was late 1960s to early 1970s. The animation and style reminded me of but it wasn't as psychedelic. The setting was an alien planet with all sorts of bizarre creatures. The tech was advanced but not a dominant aspect of the planet's culture. The people lived simple and peaceful. The protagonist is a man with bluish skin like the others. The antagonists were humanoid shaped black robots that shot a beam that would turn people into stone.",
"Prove if $ p$ is a prime of the form $3n+1$, then $p$ is also of the form $6m+1$ Prove that if $p$ is a prime of the form $3n+1$, $p$ is also of the form $6m+1$. I guess one could use the division algorithm for this; but, what's the best method?",
"Can any one tell me the advantage of synchronized method over synchronized block with an example?",
"In this case I'm filtering by the tag [tag:css*], but it's showing this as [css*] and showing the tag's exerpt.",
"Create a shortcut for URL? How can I create a shortcut for URL in my desktop? I want to use them in Firefox or Chrome. If a copy and paste didn't work. What script I have to use?",
"Can I insert an image into an equation? I would like to use a small image in an equation, where a symbol like \\alpha might otherwise be. Is there a nice way to do this?",
"How did Ron speak Parseltongue and re-enter the Chamber of Secrets? Although 'The Deathly Hallows' was overall an excellent conclusion to Harry Potter's saga, there were moments within the book that felt infuriatingly lazy, like Rowling was whipping the plot along regardless of the holes she tore in it. For me, the lowest point was when Ron gargles at the entrance of the Chamber of Secrets- and succeeds!- so he can get some Basilisk fangs to destroy a Horcrux (which are conveniently vulnerable to this venom). This is, by itself, a shockingly slapdash deus ex machina, but even worse is how it is completely inconsistent with the guidelines Rowling herself set. First and foremost, Parseltongue is not just a language, but a magical ability that can only be learned through hereditary or magical means (Potter being the sole example of the latter). This is firmly established by the fact that even Dumbledore, the greatest wizard of all time and a polyglot, is completely unable to speak it despite understanding it perfectly. Without linguistic knowledge nor inherent ability, the chances of making any kind of coherent sentence (let alone the right one!) would be incredibly slim even in the case of mundane languages; it would be like gibbering at a Filipino in the hope that what you said was fluent Tagalog and didn't insult their mother. Other baffling issues somewhat related to my question are thus; even if Ron had somehow unlocked the gate, how did he make his way down? In the second novel, Lockheart's foolery demolished the main tunnel to the Chamber, making it impossible to access or leave; the fact that the teeth are still there also implies that the Chamber wasn't excavated and the rubble cleared in the interval. Granted, he could have tried Apparating, but then he wouldn't have needed to fake Parseltongue to begin with.",
"Prove that if a function's average is nondecreasing then the function is nondecreasing. Let $\\omega:\\mathbb{R}_+\\to\\mathbb{R}_+$ such that $\\omega(0) = 0$ and $\\xi(s) = \\frac{1}{s}\\int\\limits_{0}^s \\omega(t)dt$ is nondecreasing, i.e., $\\forall s,s': s\\leq s'$, $\\xi(s)\\leq \\xi(s')$. Show that $\\omega(t)$ is nondecreasing a.e., i.e. find a function $w(t)$ such that $w$ is nondecreasing and $\\omega = w$ a.e. I was able to show the reverse implication easily, that if $\\omega$ is nondecreasing then $\\xi$ is nondecreasing. This way seems more difficult.",
"'const int' vs. 'int const' as function parameters in C++ and C Consider: int testfunc1 (const int a) { return a; } int testfunc2 (int const a) { return a; } Are these two functions the same in every aspect or is there a difference? I'm interested in an answer for the C language, but if there is something interesting in the C++ language, I'd like to know as well.",
"How to test apex classes with Pagereference? I'm struggling to test a class with pagereference. Following is the class... public with sharing class redirectOrderPartner{ public String currentRecordId {get;set;} public orders__c orderId {get;set;} public redirectOrderPartner(ApexPages.StandardController controller) { } Public Pagereference go(){ currentRecordId = ApexPages.CurrentPage().getparameters().get('orderid'); system.debug('---currentRecordId ---'+currentRecordId ); orderId = [select id from orders__c where name =: currentRecordId limit 1]; system.debug('---orderid---'+orderId); PageReference pageRef = new PageReference('/apex/OrderTrackingClass?id='+orderId.id); pageRef.setRedirect(true); return pageRef; } } Following is what I tried.... @isTest public class redirectOrderPartner_TEST { static testMethod void Test(){ Account acc = new Account(Name='ABC Corp.'); insert acc; orders__c tempOrder = new orders__c(name = '0001234567', account__c = acc.id ); insert tempOrder; Test.startTest(); PageReference pageRef = Page.redirectOrderPartner; Test.setCurrentPage(pageRef); ApexPages.Standardcontroller sc = new ApexPages.Standardcontroller(tempOrder); ApexPages.currentPage().getParameters().put('Id',tempOrder.name); PW_redirectOrderPartner ec = new redirectOrderPartner(sc); ec.go(); Test.stopTest(); } } I get the following error message on testing.. System.QueryException: List has no rows for assignment to SObject What am I missing? Thanks",
"Calculate expected values using logistic regression coefficients",
"How do I redirect in a class sub-classing the EventSubscriber class?",
"Which computer science / programming Stack Exchange sites do I post on? There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers. What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment. I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network? I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions. So my second instinct would then to be to post it into the Stack Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack Overflow to be safe. My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow? Now again, this is for computer science/programming/\"why isn't this code doing what I want?\" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.",
"When I include a \\usepackage{forest} all colored text title, section headings disappears with IEEE Access journal template How can I tackle this problem?",
"Cross-validation for timeseries data with regression",
"How to read high voltages on microcontroller?",
"\"When I grow up, I am going to be a doctor\"- Is it correct? When I grow up, I am going to be a doctor. Is this sentence correct? Personally I think my growing up will happen in future and \"I am going to be a doctor\" sounds like it is going to happen in next month! But the sentence clearly indicates the speaker is a child. So according to me, \"I am going to be a doctor\" should be replaced by \"I will be a doctor\". So I think a more clear sentence would be When I will grow up, I will be a doctor. Is my concept correct here?",
"Which statistics to use?"
] | medi_sts_stackexchange_dupe |
SciFi book series about a guy surviving in three deadly planets | Trying to remember a book about a human male travelling to alien planet | [
"Can I register a domain name that contains a company name or trademark? I wonder is it legal to register a domain name that contains a company name. For example cococola.cc (considering that this domain name is available). Can I buy and use any domain names that contain a name of a trademark?",
"How to show $\\lim_{n \\to \\infty} a_n = \\frac{ [x] + [2x] + [3x] + \\dotsb + [nx] }{n^2} = x/2$? This question came from the prelim exam I took last month. I have a proof that seems a bit unwieldy to me (posted as an answer), so I'm opening it up to ask if there are other ways of showing this. Let $x$ be any positive real number, and define a sequence $\\{a_n\\}$ by $$ a_n = \\frac{ [x] + [2x] + [3x] + \\dotsb + [nx] }{n^2} $$ where $[x]$ is the largest integer less than or equal to $x$. Prove that $\\displaystyle{\\lim_{n \\to \\infty} a_n = x/2}$.",
"How to understand dot product is the angle's cosine? How can one see that a dot product gives the angle's cosine between two vectors. (assuming they are normalized) Thinking about how to prove this in the most intuitive way resulted in proving a trigonometric identity: $\\cos(a+b)=\\cos(a)\\cos(b)-\\sin(a)\\sin(b)$. But even after proving this successfully, the connection between and cosine and dot product does not immediately stick out and instead I rely on remembering that this is valid while taking comfort in the fact that I've seen the proof in the past. My questions are: How do you see this connection? How do you extend the notion of dot product vs. angle to higher dimensions - 4 and higher?",
"What does (obj.length === +obj.length) compare?",
"How do you parse and process HTML/XML in PHP?",
"Create subdomains on the fly with .htaccess (PHP) I am looking to create a system which on signup will create a subdomain on my website for the users account area. e.g. johndoe.website.com I think it would be something to do with the .htaccess file and possibly redirecting to another location on the website? I don't actually know. But any information to start me off would be greatly appreciated. Creating a sign up area is not the problem - I have done this many a time. I am just unsure where to start with the subdomain.",
"How prove : $$ {31}^{11}<{17}^{14} $$ help please!",
"Pressure inside a closed room",
"If $a \\cdot a = 1$ then $a = 1$ or $a = -1$ Let $F$ be a field. And let $a \\in F$ such that $a \\cdot a = 1$. Claim: $a = 1$ or $ a = -1$ Before, I begin with the proof I cannot understand what $ a = -1$ represents... Is $a = -1$ representing the inverse of $a$? I am capable of getting to $a = 1$ with no trouble, but how do you get the $-$ sign to show up in your proof? Proof: This is my attempt at getting to $a=-1$. If $a = 0$ then we have $0 \\cdot 0 = 0 \\neq 1$. Then this implies that $a \\neq 0$ which implies that $ \\exists b \\in F,$ s.t. $a \\cdot b = 1$, i.e. $b$ is the multiplicative inverse of $a$. Knowing this fact prove as follows...: $a \\cdot a = 1 \\implies$ $ (a \\cdot a) \\cdot b = 1 \\cdot b \\implies$ $a \\cdot (a \\cdot b) = 1 \\cdot b \\implies$ $a \\cdot 1 = 1 \\cdot b \\implies$ $ 1 \\cdot a =1 \\cdot b \\implies$ $a = b$. But since $b$ is the multiplicative inverse of $a$ is this enough to say that $a = -1$?",
"Distribution of $-\\log X$ if $X$ is uniform.",
"I can reproduce that every time now, I go to a site, open an article, then to the next site, open another article. The Feed page pops up for a second, the article page lays over this with some some transparent areas (see picture). The same app-version is ok on a Smartphone with Android 4.4.2. I also sent in some bug reports. Edit 1.0.71 isn't the solution yet. I go to Meta SE, then to an article. When I want back to Meta SE again, it crashes. Much earlier than before. I already sent in a bug report for this. Another Edit I can describe it better now. From the questions-page of a site I go to a post. When I use the back button, everything is ok, I can go to the next site. When I try to go to the next site directly from the post, it crashes. This only happens on the Nexus 10 with Android 5.1.1, App version 1.0.71. Hope this helps. Edit3 This is fixed in 1.0.73 now. Thanks again.",
"I have two raster files that are the same cell size but I cannot get them to align properly. (I want the black to line up with the pink) When creating the black raster file (from using polyline to raster), I imported the pink raster in the Snap Raster section in the Environments setting. I thought that Snap Raster was supposed to make it line up? Am I doing something wrong or is it a bug in Arc (I remember reading that this was a problem about two years ago), and if it is a bug is there a work around? I have also read there is a Raster Shift, but I'm not sure what to enter in the X Coordinate and Y Coordinate. Since I only want the black raster to shift down, I know that the X Coor = 0 and the Y Coor should be negative something, but what are the units? Thanks.",
"Where can I find delay/cancelation statistics for a given airline route? My flight got canceled yesterday and I am currently waiting for the delayed next flight. Is there any website that keeps records of airlines being delayed/canceled? I would like to know my chances. I did find some sites through google (flightaware, flightstats), but they focus on us flights only and I am currently in the azores.",
"Why do I need multiple sites for the same property in Google Webmaster Tools? In researching the best practice for adding sites to the Search Console, I've often seen it suggested to add separate properties for different versions of the same website. Even in it states: \"Similarly, if your site has http:// and https:// versions, you should add each as a separate site.\" I've seen the same suggested for www/non-www. So if a site is accessible at all the variations of http/s and www/non-www we should have four properties. But what if the site is only accessible at one variant? i.e. https and www are forced via htaccess, so only can ever be accessed - should we still add all the variants? In essence, the problem is that I don't know why Google wants us to do this, so I can't work out if it'll be ok just to have one instance.",
"I always use lm() in R to perform linear regression of $y$ on $x$. That function returns a coefficient $\\beta$ such that $$y = \\beta x.$$ Today I learned about total least squares and that princomp() function (principal component analysis, PCA) can be used to perform it. It should be good for me (more accurate). I have done some tests using princomp(), like: r <- princomp( ~ x + y) My problem is: how to interpret its results? How can I get the regression coefficient? By \"coefficient\" I mean the number $\\beta$ that I have to use to multiply the $x$ value to give a number close to $y$.",
"natbib: combining chicago style and sorting by appearance",
"Is $\\int_{-\\infty}^{\\infty} \\sin x \\, \\mathrm{dx}$ divergent or convergent? I was determining whether $$\\int_{-\\infty}^{\\infty} \\sin x \\, \\mathrm{dx}$$ was divergent or convergent. So, I did the following steps: $$\\begin{align} \\int_{-\\infty}^{\\infty} \\sin x \\, \\mathrm{dx} &= \\int_{0}^{\\infty}\\sin x \\, \\mathrm{dx}+\\int_{-\\infty}^0\\sin x \\, \\mathrm{dx} \\\\ &=\\lim_{t\\rightarrow\\infty} \\left(-\\cos x |^{t}_{0}\\right) + \\lim_{a\\rightarrow-\\infty} \\left(-\\cos x |^{0}_{a}\\right)\\\\ &=\\lim_{t\\rightarrow\\infty} -\\cos (t) + \\cos 0 + \\lim_{a\\rightarrow-\\infty} -\\cos 0 + \\cos a\\\\ &=\\lim_{t\\rightarrow\\infty}1 - \\cos t + \\lim_{a\\rightarrow-\\infty} -1+\\cos a \\end{align}$$ Now, at this point, it would be reasonable to say that both the limits are undefined and therefore, the integral is divergent but then if I try something like the following \\begin{align} \\quad\\quad&=\\lim_{t\\rightarrow\\infty}1 -\\cos t + \\lim_{a\\rightarrow\\infty} -1+\\cos a \\\\ \\quad\\quad&=\\lim_{t\\rightarrow\\infty}-1 -\\cos t + \\lim_{a\\rightarrow\\infty} \\cos a+1 \\\\ \\quad\\quad&=\\lim_{b\\rightarrow\\infty}-1 +\\cos b - \\cos b+1 \\\\ \\quad\\quad&= 0 \\end{align} So, as you can see, it was shown before that the integral is divergent but with some manipulation, we came at an answer of $0$ but is that valid? I assume, a similar technique can be applied to $\\int_{-\\infty}^{\\infty} \\frac{1}{x} \\, \\mathrm{dx}$.",
"Crossroads / Second Chance / Choices I am trying to find a short story involving an alien race of 'Intellectuals.' They possess no opposable thumbs or other limbs to control their world. I think the basis of the story is their discovery of a way to influence another unintelligent species that can manipulate objects. This leads to a new start for them. They may have been at risk of breeding beyond available resources. The story ends with explorers returning from sea. They may have discovered a new land into which they can expand. The last few scenes have a darker flavor where one character has been presented with a rock that glows in the dark. He considers it for a period before being called away to greet the explorers. The author then takes over and makes some comments about most species passing one crossroads only to meet another. The story could have been written at any time from the Golden Age though to the 1970's.",
"Getting text from the Resource file in asp.net 4",
"Does anyone know of any interesting subsets of the Cantor set? When I first started thinking about this, I thought that since the Cantor set $C$ is the intersection of disjoint unions of closed sets, those particular closed sets would be subsets of $C$. Those sets, however, happen to be intervals! The Cantor set contains no isolated points nor (open) intervals, so then what subsets does it contain besides $\\varnothing$ and itself?"
] | medi_sts_stackexchange_dupe |
Add rows to table which it contains a text box and an image in a same column and onclick that image calender must opens | Add/Delete table rows dynamically using JavaScript | [
"Is it possible for information (like 1 and 0s) to be transmitted faster than light? For instance, take a rigid pole of several AU in length. Now say you have a person on each end, and one of them starts pulling and pushing on his/her end. The person on the opposite end should receive the pushes and pulls instantaneously as no particle is making the full journey. Would this actually work?",
"The following C++ code uses a ifstream object to read integers from a text file (which has one number per line) until it hits EOF. Why does it read the integer on the last line twice? How to fix this? Code: #include <iostream> #include <fstream> using namespace std; int main() { ifstream iFile(\"input.txt\"); // input.txt has integers, one per line while (!iFile.eof()) { int x; iFile >> x; cerr << x << endl; } return 0; } input.txt: 10 20 30 Output: 10 20 30 30 Note: I've skipped all error checking code to keep the code snippet small. The above behaviour is seen on Windows (Visual C++), cygwin (gcc) and Linux (gcc).",
"How to change the Google Chrome default print margins In Chrome, the default print margins are narrow. I would like the default to be wider. Is there a way to make them wider?",
"Should I assign dwellers to the storage room? I've played Fallout Shelter for a while now and normally use dwellers with appropriate SPECIAL stats for each room (Strength in the reactor, Perception in the water supply, etc). However, I have a question regarding Endurance. The only room which uses this is the storage room. It doesn't produce anything; it has no cooldown; it just does nothing... Even if I just build and upgrade the warehouse, my stock capacity is increased. Is there any good reason for me to waste my dwellers by assigning them to storage rooms?",
"Difference between @RemoteAction annotation and ?",
"Any solutions to Veritasium's hydrodynamic levitation? So this Youtube video has been around for a while now . Also this may be related. I just wanted to know if there is any standard hydrodynamic terms to explain it. Derek clearly states it is not about Bernoulli principle, as in this case the ball rotation is important. Has any recent paper/videos discussed what happens if you do the same experiment with hydrophobic spheres? Can it be predicted with laminar flow theories or does it need turbulence? Too many questions have been posed, but not so many responses on the internet yet. Edit: I said Derek stated \"it wasn't Coandă effect\", yet what he says is that it is not \"just Bernoulli's principle\". Coandă effect is the typical hairdryer ping-pong ball levitation which is explained by Bernoulli's principle. Edit2: rephrasing. Additional comment: There seems to be two explanations \"water adhere to the sphere and is ejected conserving horizontal momentum\" and \"Magnus effect\" (ME). The later is not so obvious to me as the system is in equilibrium and there are two fluids, water and air, (does ME means air pushes the ball horizontally?). Edit3: DESCRIPTION To avoid rot links and people that do not want to see the video, I'll try to explain the phenomena. You have a sphere and a water jet. The water jet is vertical (opposite to gravity), and touches the sphere almost tangentially. The ball not only rotates due to the water jet but also stays at constant height from the ground. The angular velocity can be defined in the direction of the cross product between the position of the contact point between the jet and the sphere (origin in the center of the sphere) and the direction of the jet. Some water drops fly away at the top of the sphere away from the jet. Edit4: New question, would this phenomenon occur if there was no air?",
"What ensures big holes in my bread?",
"Let $E$ be measurable and define $f:E\\rightarrow\\mathbb{R}$ such that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{Q}$, is $f$ measurable? Let $E$ be measurable and define $f:E\\rightarrow\\mathbb{R}$ such that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{Q}$, is $f$ measurable? There are a number of equivalent definitions for the measurability of a function and the most obvious one would be to show that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{R}$. Thus my strategy has been to consider an arbitrary irrational $y$ and use the density of the rationals in the reals to show that there exists some open set $O$ such that $m^*(O-\\{x\\in E : f(x)>y\\})< \\varepsilon$. I would do this by choosing some rational $q<y$, close enough to $y$, such that the set of values in $E$ which get sent under $f$ to values strictly greater than $q$ and less than or equal to $y$ is small enough. But that doesn't in general seem possible since I could keep sending intervals of some fixed positive length to smaller and smaller regions just beneath $y$. However conversely, such a function would not be enough for a counter example, since finding such a function only rules out this strategy, but doesn't necessarily entail non-measurability. Is there a better definition of the measurability of a set I should use? or does the statement actually not imply measurability? Thanks.",
"How can I solve the following sequence Let we have the following sequence $$y_n= \\frac{1}{\\sqrt{n^2+1}}+\\frac{1}{\\sqrt{n^2+2}}+\\cdots+\\frac{1}{\\ \\sqrt{n^2+n}}$$ find the limit of the sequence $y_n$ decide whether it is increasing or decreasing",
"Which has the heavier tail, lognormal or gamma? (This is based on a question that just came to me via email; I've added some context from a previous brief conversation with the same person.) Last year I was told that the gamma distribution is heavier tailed than the lognormal, and I've since been told that's not the case. Which is heavier tailed? What are some resources I can use to explore the relationship?",
"$\\int_{0}^{\\infty}\\frac{\\sin^{2n+1}(x)}{x} \\mathrm {d}x$ Evaluate Integral Here is a fun integral I am trying to evaluate: $$\\int_{0}^{\\infty}\\frac{\\sin^{2n+1}(x)}{x} \\ dx=\\frac{\\pi \\binom{2n}{n}}{2^{2n+1}}.$$ I thought about integrating by parts $2n$ times and then using the binomial theorem for $\\sin(x)$, that is, using $\\dfrac{e^{ix}-e^{-ix}}{2i}$ form in the binomial series. But, I am having a rough time getting it set up correctly. Then, again, there is probably a better approach. $$\\frac{1}{(2n)!}\\int_{0}^{\\infty}\\frac{1}{(2i)^{2n}}\\sum_{k=0}^{n}(-1)^{2n+1-k}\\binom{2n}{k}\\frac{d^{2n}}{dx^{2n}}(e^{i(2k-2n-1)x})\\frac{dx}{x^{1-2n}}$$ or something like that. I doubt if that is anywhere close, but is my initial idea of using the binomial series for sin valid or is there a better way?. Thanks everyone.",
"Is there a more accurate way to create a Javascript timer than setTimeout? Something that has always bugged me is how unpredictable the setTimeout() method in Javascript is. In my experience, the timer is horribly inaccurate in a lot of situations. By inaccurate, I mean the actual delay time seems to vary by 250-500ms more or less. Although this isn't a huge amount of time, when using it to hide/show UI elements the time can be visibly noticeable. Are there any tricks that can be done to ensure that setTimeout() performs accurately (without resorting to an external API) or is this a lost cause?",
"C#: How to create an attribute on a method triggering an event when it is invoked?",
"Packed images used as background don't show up when reopening the file I have seen a single (1) mention of View port background images disappearing when the .blend file is saved and reopened. However...the answers are not relative to what I am experiencing. I go through the trouble of setting up four images (top, side, front, back) and then pack these images using External Data > Pack all into .blend and then I save the .blend. I save the file, open it back up, and the background images are all gone. Open up properties panel, look to see background images check box is unchecked, click add image, and choosing the open drop-down arrow...the data paths still show the list of images (packed into a specific folder textures). They are still there, the data set is intact. Why is It that I have to set this up each and every time I open the file. It seems like earlier versions <2.76B saved the images and saved the file with the background images check box checked without the need to set this up each time the file is reopened. This is getting very frustrating due to the fact that a few of the background images mus be set up using Blender's rotate, scale and move tools to align the background image up with the model I have already fabricated. Thanks!",
"C# getting its own class name",
"What are the general rules regarding when can you refreeze food that was frozen and then thawed in the fridge? and what are the reasons behind them? (Hygiene? Food quality?). Let's assume for the sake of the argument that the items were in a non-frozen state only a few hours. To be more specific, I'm interested in the application of these rules for - Ginger garlic paste - Dough - Indian Curries - Green Chilly paste - Frozen green peas",
"Title of short story: God granting immortality to others to find a way to kill himself",
"Why does $x$ divided by zero not equal $x$? After all, $x$ is not being divided by anything.",
"How can I run an external program from C and parse its output? I've got a utility that outputs a list of files required by a game. How can I run that utility within a C program and grab its output so I can act on it within the same program? UPDATE: Good call on the lack of information. The utility spits out a series of strings, and this is supposed to be portable across Mac/Windows/Linux. Please note, I'm looking for a programmatic way to execute the utility and retain its output (which goes to stdout).",
"As per title, I wish to know if I can, after a successful 32bit setup and consequent software installations, update to a 64bit version. I know how to partition (actually one of the solutions is to set /, /etc, /home, /var/www, and /opt as separate partitions) and I know that a clean install is way better than a dirty one, yet I would like to know if/how it's possible to do that."
] | medi_sts_stackexchange_dupe |
proof of $\sum_{n=1}^\infty n \cdot x^n= \frac{x}{(x-1)^2}$ | How can I evaluate $\sum_{n=0}^\infty(n+1)x^n$? | [
"Proof or disproof that every integer can be written as the sum of a prime and a square. I'm refreshing some algebra and in the beginning chapters of my book I'm presented with the following simple looking problem that I got stuck on: Prove or disprove: If $n$ is a positive integer, then $n=p+a^2$, where $a$ is an integer and $p$ is prime or $p=1$. At first I thought $n=13$ would give a nice counterexample, but then I noticed my book defines primes to include the negative primes. Now $13=-3+4^2$ is a solution. I am allowed to use the fundamental theorem of arithmetic and the division and euclidean algorithms. I tried to express $n$ and $a$ by their prime factorizations, but I didn't get anywhere from there. I would like a hint which direction to take. Am I just missing something silly?",
"If I have a PATH variable that (when exploded onto multiple lines) contains something like this (with a few notes added by me): /Users/brandon/.rvm/gems/ruby-2.0.0-p353/bin /Users/brandon/.rvm/gems/ruby-2.0.0-p353@global/bin /Users/brandon/.rvm/rubies/ruby-2.0.0-p353/bin /opt/local/bin /opt/local/sbin /usr/local/sbin /usr/local/bin # <<--- notice this path appears again later /usr/bin # <<--- notice this comes AFTER /usr/local/bin /bin /usr/sbin /sbin /usr/local/bin # <<--- here it is again! /usr/local/git/bin /Users/brandon/bin /Users/brandon/.homebrew/bin /usr/local/mysql/bin /usr/local/share/npm/bin /Applications/Postgres93.app/Contents/MacOS/bin /Users/brandon/.rvm/bin is it possible for the presence of the second /usr/local/bin/ to cause the /usr/bin to take precedence over /usr/local/bin? This seems crazy (to me: I've never heard of such a thing) but that's exactly the behavior I'm seeing. I've just installed PHP with Homebrew, and yet the system PHP (from /usr/bin) is taking precedence: $ which php /usr/bin/php BUT, after manually altering the PATH (rather than digging through all the files sourced by my .zshrc to try to figure out why & where the duplication is coming from) to remove the second instance of /usr/local/bin, I find that /usr/local/bin is taking precedence over /usr/bin as I would have expected it to in the first place: $ which php /usr/local/bin/php What would cause this? Is this normal?",
"How to create a GUID/UUID in Python How do I create a GUID in Python that is platform independent? I hear there is a method using ActivePython on Windows but it's Windows only because it uses COM. Is there a method using plain Python?",
"When starring a message from the star board, it's not reflected in the main chat window",
"I entered the USA on a three month visa waiver program from Australia. I am about to return to Australia and would like to come back again to the USA. How long do I have to wait until I can re-enter the USA for another 3 months?",
"\"did shoot\" vs \"shot\" This morning I read this sentence (see ): On July 24th and again on July 29th, Egyptian police did shoot dead unarmed African migrants attempting to cross that border. Why \"did shoot\" and not \"shot\"?",
"I'm working on a new edition of a book which uses a very unusual style of bibliography: Entries are sorted in author-year fashion, but then numbered per author or group of authors, e.g.: Milnor, J.: 1. Construction of universal bundles: I, Ann. Math., (2)63:272-284 (1956). 2. Construction of universal bundles: II, Ann. Math., (2)63: 430-436 (1956). 3. On manifolds homeomorphic to the 7-sphere, Ann. Math., (2)64: 399-405 (1956). 4. The theory of characteristic classes, mimeographed, Princeton University, Princeton, N.J., 1957. Milnor, J., and M. A. Kervaire: 1. Bernoulli numbers, homotopy groups, and a theorem of Rohlin, Proc. Intern. Congr. Math., 1958. Milnor, J., and E. Spanier: 1. Two remarks on fibre homotopy type, Pacific J. Math., 10: 585-590 (1960). Citations are formatted as Milnor [3], and so on. Is there any bibtex style for something strange as this? Or can this type of bibliography be created with biblatex without too much coding?",
"Why do adult insects have 6 legs? Apparently, there is an advantage to having 6 legs in the insect world. What is that advantage, if anything? Why would such an advantage exist for insects, but not for other, larger land animals? What do those middle legs do that the front and hind legs cannot, if anything? Are they really essential, or do they just generate more muscle power?",
"How to pass parameters to an alias? For bash script, I can use \"$@\" to access arguments. What's the equivalent when I use an alias?",
"how does the circuit of a basic Variable speed electric drill work? i am trying to 'automate' the control of an electric drill motor that im taking from a garden variety Variable Speed drill (from Harbor Freight) it has a universal AC motor which I basically undertand and a DPDT switch to reverse direction and a triac citcuit to vary speed Question 1 . i see 4 wires going to the 'field/Stator coil(s)'. Are there 2 seperate field/stator coils here? is this to provide low/high power. I think in theory , you only need 1 coil with 2 wires and that coil is wired in series with the brushes... is that right? how does this circuit work with 2 coils. Question 2 . how does this variable speed circuit work. is the wiring diagram correct (it doesnt show a variable resistor and it doesnt show what drives the control input of the traic? why are there two switches in the thing? does switch 2 close at high speed and thus shunt around the triac? please see the attached 4 diagrams",
"Each Stack Exchange site should provide users the option of using a dark mode design/theme. Why is this feature missing? The major IDEs are already a letdown regarding dark color schemes.",
"Which browsers are officially supported, and what else do I need?",
"Why could the pictures and paintings in Hogwarts talk and the photos of Harry's parents couldn't?",
"Field that is a subfield of own of its subfields Let $K$ and $L$ be fields. We have homomorphisms $f: K \\to L$ and $g: L \\to K$. Are $K$ and $L$ necessarily isomorphic?",
"What should I do if I have two libraries that provide functions with equivalent names?",
"How do I install Wi-Fi drivers for Realtek RTL8723DE device in Ubuntu 16.04? lspci -v | grep -i network 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723",
"Does the everywhere differentiability of $f$ imply it is absolutely continuous on a compact interval? Suppose $f$ is differentiable everywhere on $[0,1]$. Must $f$ be absolutely continuous on $[0,1]$? I know this is true if $f'$ is integrable but I'm not sure in this more general case.",
"Any way to tell apart a CPU defect from a mainboard defect? I have a fairly modern desktop computer, an AMD Athlon II X2 based silent PC, that does not work. When turned on, it will start physically (all fans are rotating, disks start up...) but not give a signal on any of the graphics ports (DVI, VGA, and HDMI, I tried all three). Also, the reset button does not seem to have any effect. I have stripped the mainboard bare of all SATA connections, extension cards, and the one 2GB RAM chip to eliminate them as the problem source, but to no avail, so I think it's fair to assume it's either the mainboard or the processor that are at fault. However, I have neither a replacement mainboard, nor a replacement processor handy to identify which one is broken. The cause of the defect is unknown, so for all I know, it could be both. Therefore, I'm reluctant to buy replacement hardware blindly before knowing more. Is there any way to further diagnose (or at least get some indication) which component is broken without buying replacement hardware?",
"Shouldn't the Terms of Service use Stack Overflow, Inc.? The still uses the term Stack Exchange, Inc. However, I believe that the name is now Stack Overflow, Inc. , so I believe that should be changed to that. It is weird to have the wrong name in a legal document. Yes, I actually read the Terms of Service. You should also do that.",
"How does the EMH hold onto a phaser while having bullets go through him? In the Voyager episode: \"Future's End, Part II\" the doctor rescues B'elanna and Chakotay. PORTER: They've got lasers! A black man and some bald guy. (The EMH enters. Porter and Butch's bullets go straight through him.) PORTER: God in heaven help us. EMH: Divine intervention is unlikely. (The EMH phaser stuns them, then unties Torres and Chakotay.) In an earlier episode of Voyager, \"Phage\": PARIS: But a hologram is just a projection of light held in a magnetic containment field. There's no real matter involved. (The EMH slaps Paris.) EMH: Now, you hit me. (Paris's hand passes through the EMH's head.) EMH: The magnetic containment field that creates the illusion of my body can be modulated to allow matter to pass through it or be stopped. I might be able to modulate the holographic lungs in the same way, allowing oxygen and carbon dioxide to pass from the lungs to the blood stream. In order to make the above adjustments the doctor had to touch several buttons on a control panel. I realize the time I refer to above he was using the holo-emitter instead. How does it work exactly that the doctor can have bullets pass straight through him but he's able to hold on to a phaser without it falling out of his hand? Can he simultaneously have part of his body be transparent and the rest be more like matter at the same time? What if the bullets hit the hand holding the phaser? I think one had a shotgun as I recall so there probably would have been pellets going all over the place."
] | medi_sts_stackexchange_dupe |
How to remove .0 after a double while converting to string | Conditional Number Formatting In Java | [
"Gravitational waves and time Two questions. It is said that time can only go slower in gravity fields and if you move faster. I have heard that when a gravitational wave pass earth then the space/time vibrate and time change for an instance. But a wave is often with a top and a valley. They have now atomic clocks that might be able to detect time variations, placed in satellites around the sun and \"quantum entangled\". \"Using Atomic Clocks to Detect Gravitational Waves\" So what if we could compare time ticks between clocks in space at \"absolute frame of reference\" where time has its maximum universal speed as time in deep space between Galaxy Filaments. Will we only detect that time ticks slower for an instance when the gravational wave pass? 1. Or will we detect that time tick slower AND faster than normal time also, as compared to zero gravity time and no movement time in \"absolute frame of reference\"? 2. Can time go let's say 10 times faster by theory/mathematics, by a extreme theoretical gravitational wave, than time in \"absolute frame of reference time\"?",
"How can I get dramatic shallow DOF with a kit lens? I'm currently using an entry-level DSLR with 18-55mm lens and having great trouble trying to creating a blurred background effect in my photos. Now matter what aperture or shutter speed I choose, I'm not able to get it. There's a general question about , but what specific things can I do to get this effect with an entry-level lens?",
"preventDefault when clicking bounty \"cancel\" link When you click \"start a bounty\" then \"cancel,\" href=\"#\" exiles you to the top of the page and you lose your spot near the end of the question's comments. Clicking anywhere else on the page simply closes the bounty popup; clicking \"cancel\" ought to do the same. In case that wasn't clear: Dramatization aside, it's a nuisance. Can the click event on that anchor be preventDefaulted?",
"In a script I'm trying to find the Terminal.app window containing a specific tty device and raise that window to the top. Here's what I have in Applescript so far: tell application \"System Events\" set foundWin to false if (name of processes) contains \"Terminal\" then tell application \"Terminal\" set theTabs to first tab of every window where tty is \"$(tty)\" repeat with theTab in theTabs if class of theTab is tab then set theWin to (first window whose tabs contains theTab) set selected tab of theWin to theTab set foundWin to true end if end repeat end tell end if if foundWin then --RAISE THE WINDOW?! end if end tell Where I'm getting stuck is the \"raising the window\" part. Here are some things that are not quite what I want: set frontmost of theWin to true -- this brings the window to the front of the group of Terminal.app windows but doesn't raise it above any other windows. tell application \"Terminal\" to activate -- this brings every Terminal window to the front in a big stack. I just want the one window. tell application \"System Events\" set theSysWin to first window of process \"Terminal\" whose name is (name of theWin) perform action \"AXRaise\" of theSysWin end tell This almost does it, but what it does is to raise the terminal window to the #2 position, still underneath the active window (if the active app is something other than Terminal.app.) click theSysWin at {10,50} -- doesn't seem to do anything. click first static text of theSysWin -- doesn't seem to do anything. Is there a way to do this? It doesn't have to be in Applescript. EDIT I did find this web page ( ) quoting an Obj-C/Cocoa call: SetFrontProcessWithOptions(&psn, kSetFrontProcessFrontWindowOnly); I'm not familiar with either ObjC or Cocoa, and this is (ultimately) getting invoked from a shell script, so not sure where to go from there.",
"How do I install iTunes? I have an iPhone and run Ubuntu on all of my personal computers. Since I did not want to keep a separate partition with Windows on it for the sole purpose of running iTunes, I attempted to install It using Wine. I installed Wine 1.4 from the Software Center and installed iTunes 10.6.3. When I tried to run it I got a slew of error messages. I hopped over to google where it was suggested that I install it through PlayOnLinux. I did so with the same result. Further googling revealed that iTunes 10.6.x is confirmed to work with Wine 1.5.1 and up. I installed Wine 1.5.1 following the instructions I found and was unable to get it to open. I did the same with 1.5.9 with the same results. I opened the Package Manager and installed the Wine 1.5.9 packages through it, and it appears to have installed properly. When trying to install iTunes I got he error \"This iTunes installer requires Windows Vista 64 bit or later\". Realizing that Wine uses XP as a default I ran winecfg and changed it to Windows 7. This changed nothing and I tried changing it through winetricks to no avail. I even changed it to Vista with the same results. Does anyone know what is going wrong here and how to fix it? Thanks",
"Why does Newton's Third Law actually work? My father explained to me how rockets work and he told me that Newton's Third Law of motion worked here. I asked him why it works and he didn't answer. I have wasted over a week thinking about this problem and now I am giving up. Can anyone explain why Newton's Third Law works? For reference, Newton's third law: To every action there is always opposed an equal reaction: or the mutual actions of two bodies upon each other are always equal, and directed to contrary parts.",
"Can an ideal in a commutative integral domain be its own square? If $I$ is a non-zero proper ideal of a commutative integral domain, is it possible for $I$ to be its own square?",
"Ghost Schedulable Classes Blocking Deployment",
"Accidentally moved directories under root",
"I just recently completed a neutral run where I experimented seeing how the story would go on if I only killed certain characters (it was my second run, my first run was True Pacifist) and I ended up choosing to kill Flowey instead of letting him live. I planned to start a Genocide run after resetting the game, but Flowey was gone when i did. Flowey is basically the base for each story in undertale (pacifist and genocide) so I know I can't progress any further without him being here. I really just want to start anew and, without Flowey, I dont think I can access True Resets anymore. It may be possible if I did a genocide route, but then I'd have to fight Sans, and that would take FOREVER. Basically, I am wondering if I can erase all my progress somehow. I heard that True Resets don't erase everything entirely, so is there another way? Please respond, Undertale is the only game I have that's any fun and I don't want to have to buy another game.",
"How do I take a screenshot on my Mac? What's the easiest way to take a screenshot of my Mac? I've used Grab.app, but it's a bit annoying just to get a quick screenshot. Is there a faster way?",
"Do downvotes on Meta truly mean something different?",
"How to set security options for a PDF using pdflatex",
"How can I convince new players to read and learn the basic rules before sitting down to play? Everyone in this story works mostly together. Some work friends and my wife were talking about playing D&D, and I was appointed the DM. I've played the game once 20 years ago, so I've spent the past few months buying the resources and learning as much as I can about the game so I can make it as enjoyable for then as possible, we are yet to have our first session. But to make it easier so I don't have to teach them literally everything I asked them to read the Basic Rules so they have some idea of what they are in for and the expectations of them and me are. But they came back with \"its too hard to read it, I learn by doing, that's what we have you for\". I'm super pissed by this, I've spent so much time and effort learning this game and they can't be bothered to put any effort in. My question is should I let them know how much it's annoyed me, and reiterate they need to know stuff, or just ignore it and carry on?",
"Two spacecraft pilots travel at light speed, meet back on Earth in different era due to time dilation I've been looking for the name of a sci-fi romance book about space travel but haven't been successful so far. I came across it a few years ago, read the plot on its back cover but didn't read the book. It is about two spacecraft pilots, a man and a woman, who travelled at light speed (or maybe FTL, I can't remember) in separate ships. Every time they return to Earth, centuries have passed on Earth because of time dilation. They meet each other for a few times on Earth in different eras, but don't know when, if ever, they will meet again. I don't know how it ends. If anyone knows which book I'm talking about, could you please tell me the name? Thanks a lot!",
"When should you push variables in quotes in boolean conditions? Are the following two boolean expressions the same? if [ -n $1 ] ; then if [ -n \"$1\" ] ; then If not - When should you put a variable in quotes?",
"Are there gotchas using varargs with reference parameters I have this piece of code (summarized)... AnsiString working(AnsiString format,...) { va_list argptr; AnsiString buff; va_start(argptr, format); buff.vprintf(format.c_str(), argptr); va_end(argptr); return buff; } And, on the basis that pass by reference is preferred where possible, I changed it thusly. AnsiString broken(const AnsiString &format,...) { ... the rest, totally identical ... } My calling code is like this:- AnsiString s1, s2; s1 = working(\"Hello %s\", \"World\"); s2 = broken(\"Hello %s\", \"World\"); But, s1 contains \"Hello World\", while s2 has \"Hello (null)\". I think this is due to the way va_start works, but I'm not exactly sure what's going on.",
"Can you Start Skyrim 'silent' without the launcher showing up?",
"Is gcc 4.8 or earlier buggy about regular expressions?",
"How do I add \"citations\" at the end of the document as done here?"
] | medi_sts_stackexchange_dupe |
ubuntu: clean, 287617/30875648 files, 13277437/12398240 blocks | "dev/sda1: clean, ..." This message appears after I startup my laptop, then it won't continue booting | [
"Converting ArcGIS (*.mxd) file to QGIS (*.qgs) file?",
"How come if $\\ i\\ $ not of the following form, then $12i + 5$ must be prime? I know if $\\ i\\ $ of the following form $\\ 3x^2 + (6y-3)x - y\\ $ or $\\ 3x^2 + (6y-3)x + y - 1, \\ \\ x,y \\in \\mathbb{Z}^{+},i \\in \\mathbb Z_{\\ge 0}$, then $\\ 12i + 5\\ $ must be composite number, because: $12(3x^2 + (6y-3)x + y - 1) + 5 = 36x^2 + (72y - 36)x + (12y - 7) = (6x + 12y - 7)(6x + 1)$ How come if $\\ i\\ $ not of the following form $\\ 3x^2 + (6y-3)x - y\\ $ and $\\ 3x^2 + (6y-3)x + y - 1\\ $, then $12i + 5$ must be prime? $\\ x,y \\in \\mathbb{Z}^{+},i \\in \\mathbb Z_{\\ge 0}$. For example: $\\ 5 = \\ 3*1^2 + (6*1-3)*1 - 1\\ $ ,when $\\ x = y = 1\\ $, as proved before,$\\ 5*12+5\\ $ must be composite number; $\\ 0, \\ 1. \\ 2.\\ 3.\\ 4\\ $ can't of the following form $\\ 3x^2 + (6y-3)x - y\\ $ and $\\ 3x^2 + (6y-3)x + y - 1\\ $, $\\ 12*0 + 5 = 5\\ $, $\\ 5 $ is prime,$\\ 12*1 + 5 = 17\\ $, $\\ 17 $ is prime, and so on,",
"Is there a --parents option for mv like for cp? cp has a useful feature --parents that allows a file's directory structure to be copied to another directory: $ cp -v --parents source/directory/from target/ ‘source/directory/from’ -> ‘target/source/directory/from’ How do I similarly move a file?",
"When you energise a taut string, the following resonant modes of vibration occur: Plotting on the frequency domain, you can see their corresponding frequencies: But what is the underlying physical principle? Why does this happen? Is there any way of explaining it that could be understood by a smart 15 year old? EDIT: I'm going to give my best attempt so far. Here goes: We can start with sympathetic resonance. Sounding a particular frequency, a pure sinewave. And noticing the string resonates sympathetically at the frequency of each harmonic. Say this is explained and understood. Now imagine that plucking a string is equivalent to a burst of white noise, which contains frequencies all the way through the spectrum. This could be approached backwards, by starting with random frequencies and noticing that resultant wave produced looks like white noise. If the above is scientifically correct, then it restricts the domain of the question. I would really like to be able to understand it scientifically and also be able to explain it intuitively. PS Images from",
"Can I configure it to allow: select right-click to copy right-click or ctrl-v to paste?",
"filling area between 2 functions, with shading",
"How do I get my C# program to sleep for 50 msec? How do I get my C# program to sleep for 50 milliseconds? This might seem an easy question, but I'm having a temporary brain failure moment!",
"Switching languages in bibliography with biblatex I would like to have a bibliography with both Cyrillic and Latin and the main document language being English. How can I make biblatex to automatically switch between languages? (without using XeTeX as suggested by some) The minimal example returns an error if the main language is English. However, with the main language being Russian the document works. \\documentclass{article} \\usepackage[utf8]{inputenc} \\usepackage[russian,english]{babel} \\usepackage[backend = biber,babel=other]{biblatex} \\usepackage{csquotes} \\addbibresource{library.bib} \\begin{document} %\\selectlanguage{russian} %if the main document language is Russian the bibliography is compiled without any problem. This is a test. \\parencite{Bara2006,Baranov2001} \\printbibliography \\end{document} The .bib entries are @book{Bara2006, address = {New York}, author = {Bara, Judith}, publisher = {Routledge}, title = {{English Citation entry}}, year = {2006} } @book{Baranov2001, address = {Санкт-Петербугр}, author = {Баранов, Николай А}, title = {{Эволюция взглядов}}, year = {2001} }",
"I know that the harmonic series $$\\sum_{k=1}^{\\infty}\\frac{1}{k} = \\frac{1}{1} + \\frac{1}{2} + \\frac{1}{3} + \\frac{1}{4} + \\frac{1}{5} + \\frac{1}{6} + \\cdots + \\frac{1}{n} + \\cdots \\tag{I}$$ diverges, but what about the alternating harmonic series $$\\sum_{k=1}^{\\infty}\\frac{(-1)^{k+1}}{k} = \\frac{1}{1} - \\frac{1}{2} + \\frac{1}{3} - \\frac{1}{4} + \\frac{1}{5} - \\frac{1}{6} + \\cdots + \\frac{(-1)^{n+1}}{n} + \\cdots \\text{?} \\tag{II}$$ Does it converge? If so, what is its sum?",
"Marking plural of code words In my blog (which is about programming) I often use reserved words from different programming languages. Like this: When column is nullable in both tables, this query won't return a match of two NULLs for the reasons described above: no NULLs are equal. Here, NULL is a programming language keyword. For numerous reasons, I mark them with <code> tag so they are rendered with a fixed width font, not translated into the foreign languages by Google Translate, can easily be seen on the page etc. In the example above, which would be the best way to mark the plural? NULLs NULL s NULL's NULLs NULLS Option 1 looks ugly on the page (the word and the plural marker are rendered in different colors and fonts) Option 2 adds a space between the word and the plural marker Option 3 looks nicest but is not correct Options 4 and 5 may leave the reader under impression that NULLS is a reserved word (which is not true) and this may be confusing. Also, Google Translate would leave the word as is which would be definitely wrong in other languages. What would be the least of 5 evils?",
"Calendar month view is unresponsive on iOS 9",
"How to find string position within another string in C recursively?",
"What would be the optimum design/structure for product data database, where each product have many variations and many attributes? Attribute sets vary between products, and some attributes have values common for all variations of a given product. A typical example of product variations & attributes table is in the image below: (The 'ATTRIBUTE X' is here to give you and idea of a different attribute type than for 'Product 1'). Would it be practical to try to 'group' some of the attributes (to save time and minimise errors when creating new product entries)? If so, how complicated would it need to be? If it's relevant - I'm thinking of using mySQL engine, but I'd be happy to see any applicable example from other engines. EDIT : More information: at the moment we have over 400 variations in a spreadsheet, each one about 15-20 attributes, so that would give about 6000-8000 'data points'. It would be great to be able to list all possible values for a given attribute (to create a dropdown menu when adding new entries), and also to have a choice of possible attributes for a given product. It would be great to be able to specify which attributes are applicable for product variations of each product.",
"How does chain fishing work?",
"Should I set the title attribute for content DIV's to explain what they contain? I have a number of DIV's that break up a page into logical elements for styles and positioning, etc. As part of optimizing my site for search engine spiders, should I include a title attribute within these DIV's? (Yes I have a title as part of the whole page, I'm curious on individual structual elements) Ex ... <div id=\"SearchOptions\" title=\"Search filters and options - Type in a name or pick a business and Click 'Search' to get started\" > .... </div> ...",
"The Boolean modifier is not working I'm trying to model an , but it's not going so well when it comes to the magazine of the weapon. Next to the magazine is a mesh. I want to cut holes in the mag with that mesh. But the magazine just goes invisible or connects with the mesh when trying to execute the Boolean Modifier. I have tested to invert the normals and some other stuff, but it isn't working.",
"What is the best way to initialize a private, static data member in C++? I tried this in my header file, but it gives me weird linker errors: class foo { private: static int i; }; int foo::i = 0; I'm guessing this is because I can't initialize a private member from outside the class. So what's the best way to do this?",
"How to disable notifications for a single mailbox in Mail?",
"How can I manipulate field-based data from the commandline? For example How can I print only lines whose Nth field is foo? How can I print only lines whose Nth field isn't foo? How can I print only lines whose Nth field matches foo? How can I change field N to foo? Is there a standard approach or toolset that facilitates manipulating field-based data on *nix systems?",
"As we all know that Kurama's chakra is of the healing nature type. This is known from many mentions about it in the wiki page of . My question is, what is the nature type of the chakra of the other Tailed beasts? Note: This is my thinking why there should have been a nature type to each of the tailed beasts. As we all know that when Rikudō Sennin was about to die, he split his powers among his two sons (the older son inherited his powerful chakra and spiritual energy, and the younger son inherited his powerful life force and physical energy). Similarly, when creating the nine tailed beasts from the Shinju, he must have split the chakra based on their nature so that each tailed beast had a unique natured chakra. Any insight on this would be very much welcomed."
] | medi_sts_stackexchange_dupe |
Need some clarifications for the equals operator (==) | Which equals operator (== vs ===) should be used in JavaScript comparisons? | [
"Positive series problem: $\\sum\\limits_{n\\geq1}a_n=+\\infty$ implies $\\sum_{n\\geq1}\\frac{a_n}{1+a_n}=+\\infty$",
"Which side of wave-particle duality to choose in a given situation How does one know whether, in treating a certain problem, one should consider particles as waves or as point-like objects? Are there certain guidelines regarding this?",
"Help with Axis Placement when extruding I am just learning Blender. I am going through the . The first part was good. I was able to follow it. Coming from SketchUp, it is taking some adjustment. But I am getting it. I am just starting the second video. At the beginning, the instructor selects the top of the mug to extrude it. When he presses the E key and Enter, the red, green blue axis moves to the center of those vertices. That does not happen when I press the E key and Enter. This is only 1:30 into the video. How can I get the axis in the middle of this circle of vertices? The next step is to scale. I need the reference point in the middle of this circle of vertices. I cannot left-click accurately enough to position the axis/reference point. I am using 2.69. The video uses 2.64.",
"Chapter on the right side - How to turn it off?",
"What is the command to remove all files but not directories? Let's say I have a directory tree like this: FOLDER: file1 file2 file3 Subfolder1: file1 file2 Subfolder2: file1 file2 If I used rm -r FOLDER/*, everything in FOLDER would be deleted including sub-directories. How can I delete all files in FOLDER and in its sub-directories without deleting actual directories?",
"Prove that if $\\lim_{n \\to \\infty}z_{n}=A$ then: $$\\lim_{n \\to \\infty}\\frac{z_{1}+z_{2}+\\cdots + z_{n}}{n}=A$$ I was thinking spliting it in: $$(z_{1}+z_{2}+\\cdots+z_{N-1})+(z_{N}+z_{N+1}+\\cdots+z_{n})$$ where $N$ is value of $n$ for which $|A-z_{n}|<\\epsilon$ then taking the limit of this sum devided by $n$ , and noting that the second sum is as close as you wish to $nA$ while the first is as close as you wish to $0$. Not sure if this helps....",
"Meaning of U suffix",
"Possible Duplicate: I was thinking about making a pacman clone, I know there is a similar question here , but I know i can't use the original art from the game because it belongs to Namco, so if I design a character that has the shape of the slice circle it will look exactly like pacman, maybe if I use green instead of yellow? Also if the game plays like the original pacman, it is wrong? I just want to make the game as a personal project and and publish it in my site without getting in trouble",
"Output of Logistic Regression Prediction",
"If $x\\sqrt{1+y}+y\\sqrt{1+x}=0$ find $y'$ Find $\\frac{dy}{dx}$ if $x\\sqrt{1+y}+y\\sqrt{1+x}=0$ for $-1\\leq x\\leq 1$ My Attempt $$ x\\sqrt{1+y}=-y\\sqrt{1+x}\\implies x^2(1+y)=y^2(1+x)\\implies x^2+x^2y=y^2+xy^2\\\\ 2x+2xy+x^2\\frac{dy}{dx}=2y\\frac{dy}{dx}+y^2+2xy\\frac{dy}{dx}\\\\ \\frac{dy}{dx}\\Big[ x^2-2y-2xy \\Big]=y^2-2x-2xy\\\\ \\frac{dy}{dx}=\\frac{y^2-2x-2xy}{x^2-2y-2xy} $$ How do I proceed further and find the derivative ?",
"word choice - realize notice find out figure out",
"Using Laptop Screen as a monitor",
"The essential gist of my question relates to what the real, unvarnished realities are of graduate, post-graduate, research, fellowship, and professorship attainment - when you aren't a single person with no pressing demands other than feeding yourself. [EDIT: I am humbled by the incredibly helpful and thoughtful responses so far, all of which are +1 from me. I'll leave the question open a few more days before clicking 'accept' on any one, but you all have my gratitude and I hope others will benefit anywhere near as much as I have. ] What I don't know is what succeeding in this path truly requires in time committment and family support. Right now I can handle a 12-14 credit course schedule with 3.7-4.0 GPA (in the top 5-10% for college and program, dean's list, etc), work part-time, and still have time to be home and not have a burn-out/breakdown - and the academics are the easy part by far! I could do more, but I need to work more too. What I really need to know is how sharply different is the time/dedication curve of graduate work and above. I realize each step is a filter that removes most of the entrants (most people don't get a degree, most who do don't attend/finish graduate school, most who do don't seek a PhD, most who do don't seek/gain professorship...and on and on). But I don't know how severe the stepping is - I'm not talking \"tenured professor at MIT or bust\" - I realize that bar is many orders of magnitude higher. Background Details: As an \"adult, returning\" undergraduate student with a (disabled) wife and kids, I'm halfway through a bachelor degree now. I've located a field of study (in a focus of Industrial Engineering) that has made me very interested in altering my life path to include seeking a Masters and maybe even a PhD/professorship (my father was a professor, so its not a purely novel concept to me). I've met and spoken with my advisor and 2 other professors with experience in related fields, and all is encouraging; I have a graduate school in mind, I've received lots of great advice on preparing for school (on this forum and in person), I test well (no GRE fears remain), good grades/class rank, good prospects for future strong referal letters, etc - a comparitively charmed existence for which I am very grateful! I just have to investigate whether I can make it through with an intact, cared for family! Any guidance you could provide me, and other aspiring \"non-traditional\" students alike, would be appreciated immensely - thank you!",
"Create an instance of a class from a string Is there a way to create an instance of a class based on the fact I know the name of the class at runtime. Basically I would have the name of the class in a string.",
"Often called \"He-Who-Must-Not-Be-Named\" and \"You know who\", was it common knowledge at the Ministry of Magic that Voldemort was the same person as Tom Riddle?",
"Large 10 kWh 18650 Lithium-ion power pack - What configuration? I need to build a 10 kWh lithium-ion pack, anywhere from 70 V to 200 V. This is to drive a motor. Power output will not exceed 15 kW. The cells will be Panasonic NCR 'B' at 3.4 Ah 18650. I would like to minimize space and weight and cost. :D Level of safety would be standard for a hobby application. Charging will be done in a safe area using two levels of overcharge and overcurrent protection. Charging is from house current, 110V, and multiple chargers may be employed to double or triple the charge rate. What is the best configuration for cells? I would prefer if the pack is broken down into units of 1 to 2 kWh each. Each unit may be charged separately. In addition to a balancing-protection board and a CCCV charger, what other protection or safety mechanisms are recommended, short of a smart BMS system? I have looked at a cheap Chinese balancing board that offers protection (thermal, overcharge, undercharge, overcurrent, short). A 20S board will offer up to 84 V and adequate current for the application, for a 1.5 kWh unit. At 1/3C, I would need a 83 V 6 A CCCV charger. How do I get one of these? Off-topic question: Can a balancing-protection board be used for a configuration with a lesser number of cells? Such as using a 10S board to control an 8S configuration. Or does this depend on the board?",
"Pacf lag axe , is not an integer I'm trying to use ARIMA process to predict the behaviour of a time series, the probleme I face is that I can't get the order of each component of ARIMA, the lag is between 0 and 1, same goes for the acf. The time series has no tendency, and I guess no seasonality. My question is : Does this mean that ARIMA orders are all 0s, and if so, is the HoltWinters a good (or the best) solution for modelling this kind of TS ?",
"grep: memory exhausted",
"Finding the derivatives of sin(x) and cos(x) We all know that the following (hopefully): $$\\sin(x)=\\sum^{\\infty}_{n=0}(-1)^n \\frac{x^{2n+1}}{(2n+1)!}\\ , \\ x\\in \\mathbb{R}$$ $$\\cos(x)=\\sum^{\\infty}_{n=0}(-1)^n \\frac{x^{2n}}{(2n)!}\\ , \\ x\\in \\mathbb{R}$$ But how do we find the derivates of $\\sin(x)$ and $\\cos(x)$ by using the definition of a derivative and the those definition above? Like I should start by doing: $$\\lim_{h\\to\\infty}\\frac{\\sin(x+h)-\\sin(x)}{h}$$ But after that no clue at all. Help appreciated!",
"Is it possible to find all php files within a certain directory that have been modified on a certain date I'm using find /var/www/html/dir/ -mtime -28 | grep '\\.php' to get files modified within the last 28 days, but I only need files that have been modified on the following date: 2011-02-08"
] | medi_sts_stackexchange_dupe |
Which Doctor Who (classic) episodes aren't available today? | What original Dr Who episodes are left when not watching unfinished stories? | [
"Let $G$ be a finite semi-group with identity such that it has only one idempotent.Is $G$ a group? It only remains to show that for any $a\\in G$ $\\exists b\\in G$ such that $ab=ba=e$ where $e$ is the identity of $G$ Also $e$ is the only idempotent of $G$ .How to proceed next?",
"Why is \"No new release found\" when upgrading from a LTS to the next?",
"Prove $A\\cup (A\\cap B) = A$",
"Is there a characterization of the nonconstant entire functions $f$ that satisfy $|f(z)|=1$ for all $|z|=1$? Clearly, $f(z)=z^n$ works for all $n$. Also, it's not difficult to show that if $f$ is such an entire function, then $f$ must vanish somewhere inside the unit disk. What else can be said about those functions? Thank you.",
"I'm sure there is a really simple explanation to this but haven't found any pointers on this forum or elsewhere. I seem to have lost the 'processing' menu from QGIS and can't figure out how/why!? Any ideas what I might have done to make this happen? I'm running QGIS 2.8 built against GDAL 1.10 on Ubuntu 14.04.",
"Is it possible to append to innerHTML without destroying descendants' event listeners? In the following example code, I attach an onclick event handler to the span containing the text \"foo\". The handler is an anonymous function that pops up an alert(). However, if I assign to the parent node's innerHTML, this onclick event handler gets destroyed - clicking \"foo\" fails to pop up the alert box. Is this fixable? <html> <head> <script type=\"text/javascript\"> function start () { myspan = document.getElementById(\"myspan\"); myspan.onclick = function() { alert (\"hi\"); }; mydiv = document.getElementById(\"mydiv\"); mydiv.innerHTML += \"bar\"; } </script> </head> <body onload=\"start()\"> <div id=\"mydiv\" style=\"border: solid red 2px\"> <span id=\"myspan\">foo</span> </div> </body> </html>",
"Inspired by a , here's a list of the 'etymology' for the hats. For pictures and a list of criteria, see instead. The list is a community wiki; feel free to edit it if you have more information about a hat. If you like to do some research, most hats have been featured in earlier editions, so you might be able to find more information in old Meta Stack Exchange questions.",
"Story ID: Boy who is stuck at 5 years old with robot nanny Here's what I remember: The boy is 5 years old, and has been for some time, because there's a bit in which he recalls turning 5 (celebrating his 5th birthday) many different times There's a robot nanny in the apartment with him that he learned to disable so that he can hang out with the girl, who he isn't supposed to know. (In my mind the nanny bears somewhat of a resemblance to Muthr from the Wondla series... however I definitely read this story well before reading Wondla) There's a neighbor girl who teaches him to read (I think she's like 9), and when they first meet she asks how old he is (5 is the last age at which growth/development can be successfully (and safely?) suspended) and he lies, saying that he's 6, but doesn't know why he does. When a child whose aging process has been stopped learns how to read, they begin aging normally again, so the parents don't want them to learn to read. The children who have stopped aging are kept apart from other children who grow normally-- they have separate playgrounds and the like The injection/serum used to halt the aging process was developed by a scientist, who when he first shared his findings had a 5 year old son and injected him, then told the onlookers/potential buyers/other parents to come back in 20(?) years. When they did, their children were adults and no longer needed them or were ungrateful layabouts, and the scientist's son was still 5 years old, cute, needy, etc. The main character has a discussion about how he wants to turn 6 with his parents and they agree but only because he's already learned to read and it's irreversible. It's kinda dark and emphasizes the need that parents have to feel wanted. Please help! I remember it so vividly and I'd love to read it again!",
"Does there exist a function $f: \\mathbb{R} \\to \\mathbb{R}$ having the following properties? $f(x) = 0$ for all $x \\le 0$. $f(x) = 1$ for all $x \\ge 1$. For $0 < x < 1$, $f$ is strictly increasing. $f$ is everywhere $C^\\infty$. The sequence of $L^\\infty$ norms $\\langle \\left\\lVert f \\right\\rVert_\\infty, \\left\\lVert f' \\right\\rVert_\\infty, \\left\\lVert f'' \\right\\rVert_\\infty, \\dots \\rangle$ is bounded. If we impose only the first four conditions, there is : for $0 < x < 1$, define $f(x)$ by $$ f(x) = \\frac{e^{-1/x}}{e^{-1/x} + e^{-1/(1-x)}} = \\frac{1}{1 + e^{1/x - 1/(1-x)}} $$ However, the derivatives of this function appear to grow quite rapidly. (I'm not sure how to verify this, but it seems at least exponential to me.) If such a function does not exist, what is the smallest order of asymptotic growth that the sequence $\\langle \\left\\lVert f \\right\\rVert_\\infty, \\left\\lVert f' \\right\\rVert_\\infty, \\left\\lVert f'' \\right\\rVert_\\infty, \\dots \\rangle$ can have?",
"Dominoes and induction, or how does induction work? I've never really understood why math induction is supposed to work. You have these 3 steps: Prove true for base case (n=0 or 1 or whatever) Assume true for n=k. Call this the induction hypothesis. Prove true for n=k+1, somewhere using the induction hypothesis in your proof. In my experience the proof is usually algebraic, and you just manipulate the problem until you get the induction hypothesis to appear. If you can do that and it works out, then you say the proof holds. Here's one I just worked out, Show $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^n}{x} = 0$ So you go: Use L'Hospital's rule. $\\displaystyle\\lim_{x\\to\\infty} \\frac{\\ln x}{x} = 0$. Since that's $\\displaystyle\\lim_{x\\to\\infty} \\frac{1}{x} = 0$. Assume true for $n=k$. $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^k}{x} = 0$. Prove true for $n=k+1$. You get $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^{k+1}}{x} = 0.$ Use L'Hospital again: $\\displaystyle\\lim_{x\\to\\infty} \\frac{(k+1)(\\ln x)^{k}}{x} = 0$. Then you see the induction hypothesis appear, and you can say this is equal to $0$. What I'm not comfortable with is this idea that you can just assume something to be true ($n=k$), then based on that assumption, form a proof for $n=k+1$ case. I don't see how you can use something you've assumed to be true to prove something else to be true.",
"i know that|$S_n$|=$n!$ and |$A_n$|= $\\frac{n!}{2}$ but i'm not sure where to go from there. Thanks.",
"I have a vps using Ubuntu 12.04 LTS and I my host corrupted my vps so now it won't boot up. When it boots up it says: Booting from Hard Disk... error: file not found. grub rescue> How can I fix/repair this?",
"How can I monitor all and any Internet traffic from my home PC? I would like to monitor all and any Internet traffic from my home PC to see what programs installed on my home machine are accessing the Internet. I thought I could use for this, but I noticed Firefox traffic doesn't show up by default; you need . What options do I have to monitor all traffic?",
"If $\\cot A+\\cot B+\\cot C=\\sqrt3$ then prove that the triangle is equilateral triangle. Trial: I can counter check that this is true as $\\cot 60+\\cot 60+\\cot 60=3 \\frac{1}{\\sqrt3}=\\sqrt3$.Here I also know that $A+B+C=180$. But I am unable to show it. Please help.",
"Is it better to initialize class member variables on declaration private List<Thing> _things = new List<Thing>(); private int _arb = 99; or in the default constructor? private List<Thing> _things; private int _arb; public TheClass() { _things = new List<Thing>(); _arb = 99; } Is it simply a matter of style or are there performance trade-offs, one way or the other?",
"The gives the recoil force, $\\mathbf{F_{rad}}$, back on a charged particle $q$ when it emits electromagnetic radiation. It is given by: $$\\mathbf{F_{rad}} = \\frac{q^2}{6\\pi \\epsilon_0 c^3}\\mathbf{\\dot{a}},$$ where $\\mathbf{\\dot{a}}$ is the rate of change of acceleration. If a particle has a constant acceleration, $\\mathbf{\\dot{a}}=0$, then there is no reaction force acting on it. Therefore the particle does not lose energy. Does this mean that a constantly accelerating charged particle does not emit electromagnetic radiation?",
"Redirect non-www requests to www on Amazon Route 53 I want to redirect all requests from example.com to www.example.com. Preferably, this should happen at DNS level. I tried using PTR records, but that simply fails, returning a 404. wwww.example.com is an ALIAS for an Elastic Load Balancer. What’s the simplest way to achieve this?",
"Breakthrough at the Large Hadron Collider -Leptoquarks skepticism?",
"There are many cards that can put multiple permanents onto the battlefield simultaneously, such as , , or . How do these interact with the following types of abilities? As [this permanent] enters the battlefield... You may have [this permanent] enter the battlefield as... [This permanent] enters the battlefield with... When [a permanent with certain characteristics] enters the battlefield... Justification There have been many questions already about particular instances of this situation. This question is intended to be a canonical question and answer to all questions such as: Note to moderators: three of these five questions have already been marked as duplicates pointing to this one. Can we do the same for the remaining two?",
"Why does holding something up cost energy while no work is being done?"
] | medi_sts_stackexchange_dupe |
Running xindy on up-to-date OS | How can I use xindy on a system with libncurses.so.6? | [
"Why does dpkg give me this parsing error?",
"How do you uninstall wine 1.5?",
"Can you decide to counterspell after another counterspell has failed?",
"Where can I find Ghost/Poison/Psychic type Pokémon?",
"Can someone help me figure out the big-O for the recurrence relation $T(n) = T(n^{1/2}) + 1$? I didn't think the master theorem would work since it requires $T(n) = T(n/b)$... to have $b$ as a constant. I was wondering if anyone could shed some light on a method to approach this problem? (not looking for a solution)",
"Is there any bidirectional 5v-3.3v level shifter?",
"Jensen's Inequality implies convexity? Suppose $\\phi$ is a real function on $\\mathbb{R}$ such that $$\\phi \\Bigl(\\int_0^1f(x)\\,dx\\Bigr)\\leq \\int_0^1 \\phi(f)\\,dx$$ for every real bounded measurable function $f$. Prove that $\\phi$ is then convex. This one is in Rudin's Real and Complex Analysis, page 74, and, to be quite honest, I am unsure what my first step to solve this problem should even be. To help think of a general methodology, I attempted this similar question, from page 71 of the same book: Assume $\\phi$ is a continuous real valued function on $(a,b)$ such that $$\\phi\\Bigl(\\frac{x+y}{2}\\Bigr)\\leq\\frac{\\phi(x)+\\phi(y)}{2}$$ for all $x, y\\in (a,b).$ Prove that $\\phi$ is then convex (the conclusion does not follow if continuity is omitted from the hypothesis). I take it that the latter question is just a special case of the former (assuming $\\phi$ is bounded on $(a,b)$), so I attempted to solve the latter problem first. My attempt was to note that \\begin{align*} \\phi\\big(\\lambda x + (1-\\lambda)y\\big) &\\leq \\phi\\Bigl(\\frac{2\\lambda x + 2(1-\\lambda)y}{2}\\Bigr) \\\\ &\\leq \\frac{1}{2}\\Bigl(\\phi\\bigl(2\\lambda x\\bigr)+\\phi \\bigl(2(1-\\lambda)y\\bigr)\\Bigr) \\\\ & \\leq \\phi\\bigl(\\lambda x\\bigr)+\\phi\\bigl((1-\\lambda)y\\bigr) \\end{align*} with the latter inequality justified simply by applying the hypothesis again twice to the previous expression. From here, however, I am stuck; I cannot justify \"popping out\" the $\\lambda$ and the $(1-\\lambda)$ in the last inequality via some bound afforded by the hypothesis and/or the continuity of $\\phi$.",
"Can I stop 100% Width Text Boxes from extending beyond their containers? Lets say I have a text box that I want to fill a whole line. I would give it a style like this: input.wide {display:block; width: 100%} This causes problems because the width is based on the content of the text box. Text boxes have margin, borders, & padding by default, which makes a 100% width text box larger than its container. For example, here on the right: Is there any way to make a text box fill the width of its container without expanding beyond it? Here is some example HTML to show what I mean: <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\" > <head> <title>Untitled Page</title> <style type=\"text/css\"> #outer{border: 1px solid #000; width: 320px; margin: 0px;padding:0px} #inner{margin: 20px; padding: 20px; background: #999;border: 1px solid #000;} input.wide {display:block; margin: 0px} input.normal {display:block; float: right} </style> </head> <body> <div id=\"outer\"> <div id=\"inner\"> <input type=\"text\" class=\"wide\" /> <input type=\"text\" class=\"normal\" /> <div style=\"clear:both;\"></div> </div> </div> </body> </html> If this is run, you can see by looking at the \"normal\" text box that the \"wide\" text box is sticking out beyond the container. The \"normal\" text box floats to the actual edge of the container. I'm trying to make the \"wide\" text box fill its container, without expanding beyond edge like the \"normal\" text box is.",
"nomencl package : sort by order of appearance In the nomencl package, how can I make the symbols print by order of appearance in the LaTeX code?",
"I noticed that the reputation from the main site carried over to meta on Gaming (at least the first upvote), I guess that doesn't work the other way around, right? Is it then impossible to have a meta reputation higher than the site reputation?",
"How does the Ready action work? So from reading the Player's Handbook, it seems that the Ready action is taken instead of any other action as it is an action in its own right. However, can you move on the same turn that you ready an action? For instance, (taking the example from the Player's Handbook): If the cultist steps on the trapdoor, I’ll pull the lever that opens it Presumably, when you ready this action, you would want to move near to the lever so you can pull it when the time is right. Likewise, with readying a spell, you would obviously want to move away from combat so you could concentrate on the spell. Secondly, when the trigger goes off do you have to wait for your turn, or do you in effect get a bonus turn? For instance, the cultist starts running towards you, but on his way he steps on the trap door - so you immediately pull the lever, even though it wasn't your turn. I assume you then act as normal when your actual turn comes around?",
"Centos mysql version is 5.5 however PHPmyadmin still says version 5.1 When i run the following in my console: [root@****~]# mysql -u root -p -e 'SELECT VERSION();' Enter password: +-----------+ | VERSION() | +-----------+ | 5.5.39 | +-----------+ Which should be the correct version. However when i enter my PHPMYADMIN on my server it has the following specs: Server: Localhost via UNIX socket Program: MySQL Programversion: 5.1.73 - Source distribution So which version is the correct one and how do i make sure that the database is running on 5.5? Note I have already restarted sql several times without any changes",
"Forward local port or socket file to remote socket file Quick question - I run two linux boxes, one my own desktop and the other my VPS. For security reasons on the VPS end I opted for socket connections to MySQL (/var/run/mysqld/mysql.sock). I know I can tunnel like this: ssh -L 3307:127.0.0.1:3306 [email protected] if I set up the remote sql server to listen on some port, but what I want to know is can I do something like: ssh -L /path/to/myremotesqlserver.sock:/var/run/mysqld/mysql.sock thereby tunnelling two sockets, as opposed to two ports? A perfectly acceptable solution would also be to forward a local port to the remote socket file, but where possible I'm trying not to have tcp servers running on the remote box. (and yes, I know tcp would be easier).",
"Given a compact Hausdorff space $X$, if $a \\in X$ is a $G_\\delta$ singleton (i.e., $\\{ a \\}$ is a $G_\\delta$ set), then there is a countable local base at $a$. The point $a$ can be written as countable intersection of open sets let's call $U_{n}$. How can I use the compactness? What is the next step for proof? Could you give me hint please?",
"What is the ideal way to handle data pins D+ and D- on a USB power adapter to be compatible with fast charging on devices?",
"How to remove GNOME Shell from Ubuntu 20.04 LTS to install other desktop environment from scratch?",
"Why are objects at rest in motion through spacetime at the speed of light? I read that an object at rest has such a stupendous amount of energy, $E=mc^2$ because it's effectively in motion through space-time at the speed of light and it's traveling through the time dimension of space-time at 1 second per second as time goes forward. What troubles me here, is the fact that it is traveling through space-time at the speed of light. Why is it at the speed of light?",
"What is the name of the tactic that politicians use to bury people with torrent of words? Some people write bloated books and long essays with skilful use of hooks, e.g. Jared Diamond; some others speak in long-drawn sentences with torrents of words, e.g. Noam Chomsky. It reminds me of a tactic politicians use in public discourse to waste people's time. I came across this word before but I can't retrieve it from either memory or the internet.",
"Relationship between gamma and chi-squared distribution If $$Y=\\sum_{i=1}^{N}X_i^2$$ where $X_i \\sim \\mathcal{N}(0,\\sigma^2)$, i.e. all $X_i$ are i.i.d. normal random variables of zero mean with same variances, then $$Y \\sim \\Gamma\\left(\\frac{N}{2},2\\sigma^2\\right).$$ I know the chi-squared distribution is a special case of the gamma distribution, but could not derive the chi-squared distribution for random variable $Y$. Any help, please?",
"Suppose $x>0$ and we have function $f(x)=\\frac{\\sin x}{x}$ how can we show $$\\forall n \\in \\mathbb{N} :|f^{(n)}(x)|\\leq \\frac{1}{n+1}$$ I need a hint to show this property .Thanks in advance . I tried for $n=1 ,2$ by finding maximum of $|f'| ,|f''|$ but I get stuck to show for $n$"
] | medi_sts_stackexchange_dupe |
How to replace Windows 8 with Ubuntu on an Acer ES1-711 laptop? | How do I install Ubuntu alongside a pre-installed Windows with UEFI? | [
"The storage on my iPhone is nearly full. Most of the space is used by apps. I'd like to see which apps consume the most space on my device. Is there a way to get a list of the apps with their corresponding used space? By \"used space I mean the installation size (bonus for added user data).",
"Show that if $a$ is an odd integer and $b$ is an even integer then $\\gcd(a,b)=\\gcd(a,b/2)$ Show that if $a$ is an odd en integer and $b$ is an even integer then $\\gcd(a,b)=\\gcd(a,b/2)$. I understand that since $a$ is not divisible by $2$ but $b$ is, the gcd of $a$ and $b$ also can't be divisible by $2$ but I'm getting stuck using this to help me.",
"Are the various \"Zelda\" games supposed to take place in a common universe?",
"E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) I'm trying to run this command in the terminal: sudo apt install software-properties-common This is the error message I get: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?",
"Preprocess categorical variables with many values I have a dataset that consists of only categorical variables and a target variable. I want to predict the (binary) target variable with the categorical variables. I am trying to do this in Python and sklearn. The categorical variables have many different values. I was thinking to create dummy variables for each value in all the categorical variables. However, in the end this results in a sparse data set with thousands of variables. How would you go about to reduce the number of dummy variables? Would you use Chi2 to select useful features? Or would you not make dummy variables at all?",
"How to specify font size less than 10pt (or more than 12pt)? I'm trying to make a document that has a very small font throughout, I tried this: \\documentclass[0.5mm, a4paper]{article} \\documentclass[7pt, a4paper]{article} But it doesn't seem that they allow me to go anything below 10pt. This hack make it work, but not for the section headers: \\fontsize{4mm}{5mm}\\selectfont Does anyone know any better ways to do this?",
"What software can I use to write on PDFs? I'm used to OS X where the system PDF viewer will let you draw and write text on top of any PDF document. You can then flatten it and save as a new PDF. It saves paper and time so you can fill in any form without printing it and scanning it back to the computer. It also lets you insert a scanned image of your signature. Is there software for Ubuntu that would do that?",
"Cannot remove JDK – /usr/sbin/alternatives: No such file or directory When I try to remove Java with sudo apt-get remove jdk1.8.0-40 I get this: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: jdk1.8.0-40 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 245 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 231488 files and directories currently installed.) Removing jdk1.8.0-40 (1.8.040-1) ... find: `/usr/java/*': No such file or directory /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 586: /usr/sbin/alternatives: No such file or directory /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 598: /usr/sbin/alternatives: No such file or directory dpkg: error processing package jdk1.8.0-40 (--remove): subprocess installed post-removal script returned error exit status 127 Errors were encountered while processing: jdk1.8.0-40 E: Sub-process /usr/bin/dpkg returned an error code (1) Output of ls -1 /var/cache/apt/archives/*jdk*: openjdk-7-jre_7u75-2.5.4-1~trusty1_amd64.deb openjdk-7-jre-headless_7u75-2.5.4-1~trusty1_amd64.deb Output of sudo dpkg --purge --force-all jdk1.8.0-40: (Reading database ... 231488 files and directories currently installed.) removing jdk1.8.0-40 (1.8.040-1) ... /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 586: /usr/sbin/alternatives: No such file or directory /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 598: /usr/sbin/alternatives: No such file or directory dpkg: error processing package jdk1.8.0-40 (--purge): subprocess installed post-removal script returned error exit status 127 Errors were encountered while processing: jdk1.8.0-40 When trying the edit I get this: (Reading database ... 231488 files and directories currently installed.) Removing jdk1.8.0-40 (1.8.040-1) ... /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 586: /usr/sbin/alternatives: Permission denied /var/lib/dpkg/info/jdk1.8.0-40.postrm: line 598: /usr/sbin/alternatives: Permission denied dpkg: error processing package jdk1.8.0-40 (--remove): subprocess installed post-removal script returned error exit status 126 Errors were encountered while processing: jdk1.8.0-40 E: Sub-process /usr/bin/dpkg returned an error code (1)",
"Proof by induction of summation inequality: $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\dots+\\frac1{2^n}\\ge 1+\\frac{n}2$ Prove by induction the summation of $\\frac1{2^n}$ is greater than or equal to $1+\\frac{n}2$. We start with $$1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\dots+\\frac1{2^n}\\ge 1+\\frac{n}2$$ for all positive integers. I have resolved that the following attempt to prove this inequality is false, but I will leave it here to show you my progress. In my proof, I need to define P(n), work out the base case for n=1, and then follow through with the induction step. Strong mathematical induction may be used. This is equivalent to $$\\sum_{k=0}^n\\frac1{2^k}\\ge 1+\\frac{n}2\\;.$$ Let $P(n)$ be summation shown above. Base case for $n=1$, the first positive integer, $$\\sum_{k=0}^1\\frac1{2^k}=\\frac1{2^0}+\\frac1{2^1}=1+\\frac12=\\frac32\\ge 1+\\frac12=\\frac32\\;,$$ so base case is true. Induction step: Assume $P(n)$ is true and implies $P(n+1)$. Thus $$\\sum_{k=0}^{n+1}\\frac1{2^k}\\ge\\frac1{2^{n+1}}+\\sum_{k=0}^n\\frac1{2^k}\\ge 1+\\frac{n+1}2\\;.$$ This can be written as $$\\sum_{k=0}^{n+1}\\frac1{2^k}\\ge \\frac1{2^{n+1}}+1+\\frac{n}2\\ge 1+\\frac{n+1}2\\;.$$ I work the math out but I get stuck contradicting my statement. Please show your steps hereafter so I can correct my mistakes.",
"How can I execute `date` inside of a cron tab job?",
"Directing Domain to Hosting Directory I just purchased a domain on Dreamhost, let's say foo.com. I already have hosting, let's say at 123.4.56.789, and have setup a directory foo.com which is accessible at 123.4.56.789/foo.com/. I can set the DNS to point foo.com to that IP, but how do I route it to that folder once it's there? My hosting has a really bad cPanel that gives me almost no help. Can I use .htaccess, or something else? What's the best way to accomplish this? Edit in response to comment(s): It's VPS hosting, so I have access to http.conf and other system files. Also, yes it's Apache.",
"Attributive nouns vs. of-genitive I would be very grateful for some advice on how to decide whether to use an attributive noun or the \"of genitive\" (periphrastic genitive). It seems to me that an attributive noun is generally preferable, except when it leads to ambiguity, often due to the combination of several modifiers with mixed dependent relationships. Additionally, the of-genitive, when used stand-alone, seems to impart a more formal tone, a higher register. Simple examples (preferred first, less-preferred second): The department secretary vs. the secretary of the department. But: The excellent secretary of the department vs. the excellent department secretary. Any additional guidelines would be most welcome.",
"Proving a function is bounded Hi i was wondering if anyone could help me with my revision This is a question of a past paper i'm stuck on. Let $$f:[a,b]\\to \\Re$$ be Riemann intergrable. Part (a) is to prove that f is bounded and part (b) is to Give an example of a bounded function f that is not Riemann integrable my attempt for part (a) is since f is Riemann intergrable then it is continuous on [a,b] which means that it must also be bounded? or is this incorrect i find this topic rather difficult For part (b) i dont really have a clue i cant recall any function like the one they ask for",
"I have an expression for a covariance matrix $C$ in terms of the indices $i$ and $j$. In this way I can analytically calculate the elements of my covariance matrix, however when I try to invert $C$ matlab gives a warning about the matrix being close to singular. The inversion therefore doesn't work, by which I mean the multiplying $C$ by the inverse given i do not get the identity. I have tried calculating the pseudo inverse but this also does not work. I have also tried adding a small constant along the diagonal but again the results do not work. In general I'm working with matrices of dimension 1200 but I will give low dimensional example matrix that has the same properties, i.e. the matrices are symmetric about the diagonal and the anti-diagonal 19.9939 19.9954 19.9958 19.9951 19.9933 19.9905 19.9865 19.9954 19.9973 19.9981 19.9978 19.9965 19.9940 19.9905 19.9958 19.9981 19.9993 19.9995 19.9985 19.9965 19.9933 19.9951 19.9978 19.9995 20.0000 19.9995 19.9978 19.9951 19.9933 19.9965 19.9985 19.9995 19.9993 19.9981 19.9958 19.9905 19.9940 19.9965 19.9978 19.9981 19.9973 19.9954 19.9865 19.9905 19.9933 19.9951 19.9958 19.9954 19.9939 As mentioned in the title the matrix isn't positive, however the the negative eigenvalues are very small suggesting that the matrix is not positive only due to machine precision. The negative eigenvalues are $-1.4048e-14$ and $-2.4571e-15$. How can I go about inverting these matrices?",
"Is there any way to get real-time compilation for LaTeX? I would really love to have a software or tool which provided real time compilation of my LaTeX document (to be able to see the final pdf or dvi document as I type the latex code), especially for when I am drawing pictures using tikZ. So far, I know of two things, but none of them work for me. They are: : This is only for tikZ, which would be perfect for me, but unfortunately as far as I know it only works with Ubuntu and Debian, and I use Mac OS X (so I have never actually tried it, though I did dig a lot to see whether I would be able to install on my mac and from what I see it is really what I want - I am even considering installing Ubuntu just to use it!). : This is a minor mode for Emacs. It was extremely hard to get it to work on the mac (see my quest ), and it is not all that fast. The speed is not all that big of a deal for me, but the fact that it does not work with tikZ pictures is (the nodes all collapse in one point so that the words are all one on the top of the other). So my question is: is there a software ideally like KtikZ or another type of editor which provides real-time compilation and that I can use on my mac? I guess if you know of a Windows/Linux option I would also like to know, and the same for a way to set up a script to get the document compiled every 5 seconds or so (I am sure I have seen this written somewhere, but I don't know whether I can do it with a mac or whether it is editor/pdf viewer dependent), but what I really want is a software/tool which would work with a mac. To be clear, I am not after something like LyX, that is, I am not after a WYSIWYG-type thing, but rather something where I can type real LaTeX and see my code, but have at the same time another window showing me the pdf (or dvi) file compiled.",
"Error entering equation in DSolve",
"Based I'm trying to setup Tomcat Server, I have successfully installed it and tested it. Then I stopped it as recommended in the tutorial. I'm setting up \"New Server Runtime Environment\" as you can see under Tomcat Installation Directory is a windows directory, anyone knows the Ubuntu directory equivalent for this? Thanks.",
"I really enjoying using control+r to recursively search my command history. I've found a few good options I like to use with it: # ignore duplicate commands, ignore commands starting with a space export HISTCONTROL=erasedups:ignorespace # keep the last 5000 entries export HISTSIZE=5000 # append to the history instead of overwriting (good for multiple connections) shopt -s histappend The only problem for me is that erasedups only erases sequential duplicates - so that with this string of commands: ls cd ~ ls The ls command will actually be recorded twice. I've thought about periodically running w/ cron: cat .bash_history | sort | uniq > temp.txt mv temp.txt .bash_history This would achieve removing the duplicates, but unfortunately the order would not be preserved. If I don't sort the file first I don't believe uniq can work properly. How can I remove duplicates in my .bash_history, preserving order? Extra Credit: Are there any problems with overwriting the .bash_history file via a script? For example, if you remove an apache log file I think you need to send a nohup / reset signal with kill to have it flush it's connection to the file. If that is the case with the .bash_history file, perhaps I could somehow use ps to check and make sure there are no connected sessions before the filtering script is run?",
"Template specialization based on inherit class",
"What is the definition and purpose of a pre-amplifier? I find in many places mentions of pre-amplifiers being used to boost audio signals prior to feeding to a power amplifier. Wikipedia's article on gives some hints at their usage, but it doesn't really explain why it would be necessary to have two amplifiers in series rather than a single one with greater gain. If a pre-amp is just a power amp with a smaller gain, what's the point, and why the distinction between the two kinds? Is the distinction in function, or simply purpose?"
] | medi_sts_stackexchange_dupe |
Why does the chair and the grandpa look bigger and inflated? | Is there a difference between taking a far shot on a 50mm lens and a close shot on a 35mm lens? | [
"How to \"cat\" or \"less\" a libreoffice writer .odt file?",
"How to fix task manager memory column if it shows lies I have a problem in showing memory in task manager with memory and paging columns. Why it shows so small size usage? And maybe anyone knows how to fix it? Here is a screenshot(working set, memory, page pool) sorted by most consuming:",
"Unitarily evolving a separable state into an entangled one",
"Suppose, I want to refer multiple equations (1), (2), (3), (4), (5) and (7) so that they appear as (1-5, 7): \\documentclass[fleqn,preprint,10pt]{article} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{amsfonts} \\begin{document} \\begin{align} \\label{1}\\psi([e_1,e_2]) = \\psi(e_2) = e_2 = (e_2,2e_3) = (-2e_3,e_2) = (\\psi(e_1), \\psi(e_2))\\\\ \\label{2}\\psi([e_1,e_3]) = \\psi(2e_3) = 2e_1 = (e_1,2e_3) = (-2e_3,e_1) = (\\psi(e_1),\\psi(e_3))\\\\ \\label{3}\\psi([e_2,e_3]) = 0 = (e_2,e_1) = (\\psi(e_2),\\psi(e_3)),\\\\ \\label{4}\\left\\{e_4, e_1\\right\\},\\,\\,\\,\\left\\{e_4, e_2\\right\\},\\,\\,\\,\\left\\{e_4, e_3\\right\\},\\,\\,\\,\\left\\{e_4, e_1+\\epsilon\\,e_2\\right\\},\\\\ \\label{5}\\left\\{e_1, e_2\\right\\},\\,\\,\\,\\left\\{e_3, e_1\\right\\},\\,\\,\\,\\left\\{e_3, e_2\\right\\},\\\\ \\label{6}\\left\\{e_4, e_1\\right\\},\\,\\,\\,\\left\\{e_4, e_2\\right\\},\\,\\,\\,\\left\\{e_4, e_3\\right\\},\\,\\,\\,\\left\\{e_4, e_1+\\epsilon\\,e_2\\right\\},\\\\ \\label{7}\\text{Nor}_{L_4\\oplus L_3}\\left(\\{e_2\\}\\right)/\\{e_2\\}=\\,\\{e_1, e_3, e_4\\} \\end{align} \\end{document}",
"What is the sum of $$\\sum_{n=0}^{\\infty}\\frac{1}{2^n(n+1)}$$ I've spent an insane amount of time on this problem. I checked on Wolfram and it gives $ln(4)$, which I assume you get from $2\\ln(2)$. I know that the integral of $\\frac{1}{n+1}$ is $\\ln(n+1)$. What am I missing? Thank you!",
"DRAM Frequency showing 800 instead of 1600 I am running a Core i7 CPU originally at 3Ghz overclocked to 4Ghz using a multiplier of x20 and a Bus Speed of 200 Mhz My memory is 1600 Mhz OCZ. I installed CPU-Z to see what is going on - but it shows me (under the \"Memory\" Tab): DRAM Frequency 800 Mhz Channel Triple - NB Frequency 3800.2 Mhz So what is the actual frequency its running on then? I am slightly confused.",
"Labeling all sides of the matrix with kbordermatrix I have a matrix with labels on the left and top. Now I want to have a label on all sides of the matrix. How can I change my code? \\documentclass[10 pt, a4paper, leqno, oneside] {report} \\usepackage{kbordermatrix} \\begin{document} \\renewcommand{\\kbldelim}{(}% Left delimiter \\renewcommand{\\kbrdelim}{)}% Right delimiter \\[ \\tilde{\\textbf{m}} = \\kbordermatrix{ \\mbox{} & c_1 & c_2 & c_3 & c_4 & c_5 \\\\ % & c_1 & c_2 & c_3 & c_4 & c_5 \\\\ r_1 & 1 & 1 & 1 & 1 & 1 \\\\ r_2 & 0 & 1 & 0 & 0 & 1 \\\\ r_3 & 0 & 0 & 1 & 0 & 1 \\\\ r_4 & 0 & 0 & 0 & 1 & 1 \\\\ r_5 & 0 & 0 & 0 & 0 & 1 } \\] \\end{document}",
"Why do some websites show the company name next to the URL? Some websites show the company name next to the URL (in Chrome) and some don't. How do I set this up for my website? Is there a reason why or why I wouldn't want to do this?",
"How can I resolve the error \"cannot execute binary file\"? When I login using SSH, all I can see is this... -bash: /usr/bin/id: cannot execute binary file -bash: [: : integer expression expected I couldn't do anything in here. Commands such as halt, poweroff, reboot will return command not found. How can I fix this? I am using Debian Squeeze Linux",
"Slower download speed compared to Windows on Ubuntu 20.04",
"I'm considering the ring $\\mathbb{Z}[\\sqrt{-n}]$, where $n\\ge 3$ and square free. I want to see why it's not a UFD. I defined a norm for the ring by $|a+b\\sqrt{-n}|=a^2+nb^2$. Using this I was able to show that $2$, $\\sqrt{-n}$ and $1+\\sqrt{-n}$ are all irreducible. Is there someway to conclude that $\\mathbb{Z}[\\sqrt{-n}]$ is not a UFD based on this? Thanks.",
"It is quite easy to show that (by using residue theorem) $$\\int_0^{\\infty} \\frac{1}{1+x^n}dx = \\frac{2 \\pi i^{1+2/n}}{n(e^{2 \\pi i / n} - 1)} $$ for $$n \\ge 2$$ Is there any possibility to simplify $$\\frac{2 \\pi i^{1+2/n}}{n(e^{2 \\pi i / n} - 1)}$$ or it is best result? Thanks in advance!",
"Video editing software options?",
"How do I get a consistent byte representation of strings in C# without manually specifying an encoding?",
"Why it's true? $\\arcsin(x) +\\arccos(x) = \\frac{\\pi}{2}$ The following identity is true for any given $x \\in [-1,1]$: $$\\arcsin(x) + \\arccos(x) = \\frac{\\pi}{2}$$ But I don't know how to explain it. I understand that the derivative of the equation is a truth clause, but why would the following be true, intuitively? $$\\int^{x}_{C1}\\frac{1\\cdot dx}{\\sqrt{1-x^{2}}} + \\int^{x}_{C2}\\frac{-1 \\cdot dx}{\\sqrt{1-x^{2}}} =\\\\ \\arcsin(x) - \\arcsin(C1) + \\arccos(x) - \\arccos(C2) = 0 \\\\ \\text{while } \\arcsin(C1) + \\arccos(C2) = \\frac{\\pi}{2}$$ I can't find the right words to explain why this is true? Edit #1 (25 Jan, 20:10 UTC): The following is a truth clause: $$ \\begin{array}{ll} \\frac{d}{dx}(\\arcsin(x) + \\arccos(x)) = \\frac{d}{dx}\\frac{\\pi}{2} \\\\ \\\\ \\frac{1}{\\sqrt{1-x^{2}}} + \\frac{-1}{\\sqrt{1-x^{2}}} = 0 \\end{array} $$ By integrating the last equation, using the limits $k$ (a constant) and $x$ (variable), I get the following: $$ \\begin{array}{ll} \\int^x_k\\frac{1}{\\sqrt{1-x^{2}}}dx + \\int^x_k\\frac{-1}{\\sqrt{1-x^{2}}}dx = \\int^x_k0 \\\\ \\\\ \\arcsin(x) - \\arcsin(k) + \\arccos(x) - \\arccos(k) = m \\text{ (m is a constant)}\\\\ \\\\ \\arcsin(x) + \\arccos(x) = m + \\arcsin(k) + \\arccos(k) \\\\ \\\\ \\text{Assuming that } A = m + \\arcsin(k) + \\arccos(k) = \\frac{\\pi}{2} \\text{ ,for } x \\in [-1,1] \\end{array} $$ Using Calculus, why is that true for every $x \\in [-1,1]$? Edit #2: A big mistake of mine was to think that $\\int^x_k0 = m \\text{ (m is const.)}$, but that isn't true for definite integrals. Thus the equations from \"Edit #1\" should be as follows: $$ \\begin{array}{ll} \\int^x_k\\frac{1}{\\sqrt{1-x^{2}}}dx + \\int^x_k\\frac{-1}{\\sqrt{1-x^{2}}}dx = \\int^x_k0 \\\\ \\\\ \\arcsin(x) - \\arcsin(k) + \\arccos(x) - \\arccos(k) = 0\\\\ \\\\ \\arcsin(x) + \\arccos(x) = \\arcsin(k) + \\arccos(k) \\\\ \\\\ A = \\arcsin(k) + \\arccos(k) = \\frac{\\pi}{2} \\text{ ,for } x \\in [-1,1] \\end{array} $$",
"First time player in a group figuring out things as we all go. I just hit level four as a Ranger, and I get to improve one ability score of my choice by 2, or I can increase two ability scores of my choice by 1. My first thought was Strength, as I've been rocking a score of 11 with a mod of +0 so far. But I read that Rangers use (wisdom mod + 10) for their spell casting modifier. Currently my wisdom is 13, with a mod of +1. If I increase either STR or WIS, will the modifier increase as well? How and why? A Monk in our party went from 9 CON to 11 during their ability score improvement, and by doing so their modifier went from −1 to 0. We're all pretty new, so between eight people we're currently sharing one book, and all trying to locate our own copies for later campaigns. That's making it… inefficient for us to learn these things quickly.",
"Why didn't the Ministry use owls to find Sirius? Harry, before the Triwizard Tournament, was able to send owls to Sirius when he was in hiding (not at Grimmauld Place) just by telling them \"just find him, will you?\", and the owl would come back a few days later with an answer. This doesn't happen with Hedwig only, because, if I recall correctly, he uses school owls as well. If finding Sirius was as easy as telling an owl \"find him\", and a 13-year-old wizard could do it, how come the Ministry had no clue as to where he was? They could've sent an owl with a summons and followed it from a distance. Two theories, neither mentioned in the book, and both a bit unlikely: He was living as a dog and -hopefully- the Ministry would not be able to recognize him. Unlikely because the owl would have got there anyway, so they would have guessed the dog was Sirius in disguise, not necessarily as an animagus, but maybe he could perform human-animal transfiguration (remember he was brilliant at school).. Kingsley Shacklebolt was already in charge of the hunt and Dumbledore told him Sirius was innocent and all that. Then, Kingsley would have prevented the Ministry from using any method that could've actually worked. Unlikely because they could've used owls before Dumbledore's tip, when Kingsley didn't know Sirius was innocent, and also because Kingsley was quite powerful and had the support of Crouch and others at the Ministry, so if he was in charge, they would probably have succeeded. Your thoughts?",
"What would be the optimum design/structure for product data database, where each product have many variations and many attributes? Attribute sets vary between products, and some attributes have values common for all variations of a given product. A typical example of product variations & attributes table is in the image below: (The 'ATTRIBUTE X' is here to give you and idea of a different attribute type than for 'Product 1'). Would it be practical to try to 'group' some of the attributes (to save time and minimise errors when creating new product entries)? If so, how complicated would it need to be? If it's relevant - I'm thinking of using mySQL engine, but I'd be happy to see any applicable example from other engines. EDIT : More information: at the moment we have over 400 variations in a spreadsheet, each one about 15-20 attributes, so that would give about 6000-8000 'data points'. It would be great to be able to list all possible values for a given attribute (to create a dropdown menu when adding new entries), and also to have a choice of possible attributes for a given product. It would be great to be able to specify which attributes are applicable for product variations of each product.",
"I am trying to host some static content in an Amazon S3 bucket and to have that content available through my own domain. The bucket in question is called \"e.tl-dr.org\" and I have \"index.html\" set as the index document. I can visit and I see the contents of index.html (just \"test\"). This works fine. I also have added the CNAME entry for \"e.tl-dr.org\" pointing to \"s3.amazonaws.com\" from within my registrar's site. (I am not using the AWS Route 53 DNS services, which is what most tutorials about this seemed to be geared at.) So now \"\" correctly shows the file, but just the bare domain only gives me S3's standard 403 message. Is there anything else I need to set up to get this working?",
"chkrootkit shows \"tcpd\" as INFECTED. Is it a false positive?"
] | medi_sts_stackexchange_dupe |
Remove punctuations in a string | Best way to strip punctuation from a string | [
"Real-life examples of common distributions",
"If a series converges, then the sequence of terms converges to $0$.",
"Twice today I noticed that my reputation increases with 15 on Stack Overflow, but when I click to see my account, the change is being reverted and none of my recent answers are marked as accepted. Then why does the reputation on the top of the page change ?",
"Is there a pronoun I can use as a gender-neutral pronoun when referring back to a singular noun phrase? Each student should save his questions until the end. Each student should save her questions until the end.",
"I found it in an old dictionary and I'm not sure what it means. It looks like the number "3", but the top of the three has been flattened(and slightly curved). I've only seen this in three or four words. []",
"No notification (+15) for accepted answer Yesterday my answer was accepted, but I got no notification in top bar, moreover, top bar still shows that I earned 45 reps while reputation tab shows right 60 rep. Update: July, 11 Again having this problem: In the dropdown: In the rep tab: You see, first down votes in the drop down are missing.",
"Solutions to the equation $ze^{a-z}=1$ Let $a \\in \\mathbb{R}, a>1,$ and consider the equation $$ze^{a-z}=1$$ How many solutions does this equation have in the unit disk, and how many of those solutions are real? My attempt to solve was to use the Argument Principle on the function $f(z)=ze^{a-z}-1$, in hopes of recovering the number of zeroes that way. The integral I attempted to compute for this was $$\\int_{|z|=1} \\frac{e^{a-z}-ze^{a-z}}{ze^{a-z}-1}dz=\\int_{|z|=1}\\frac{1-z}{z-e^{z-a}}dz$$ I do not know how to proceed from here, as the $e^{z-a}$ in the denominator seems problematic. Thanks for your help!",
"Boot failure : No DEFAULT or UI configuration directive found!",
"A normal divided by the $\\sqrt{\\chi^2(s)/s}$ gives you a t-distribution -- proof let $Z \\sim N(0,1)$ and $W \\sim \\chi^2(s)$. If $Z$ and $W$ are independently distributed then the variable $Y = \\frac{Z}{\\sqrt{W/s}}$ follows a $t$ distribution with degrees of freedom $s$. I am looking for a proof of this fact, a reference is good enough if you do not want to write down the complete argument.",
"How do I remove duplicates from a C# array? I have been working with a string[] array in C# that gets returned from a function call. I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by using a temp array. What is the best way to remove duplicates from a C# array?",
"Strange characters when the output of `ls` is redirected to a file I want to list the components of the current working directory in a text file ls -1 > textfile Output looks fine with more. 1010661085645 1010729039145 1010747080245 1010849051345 1010859053445 1011046075845 However when I view this textfile with emacs, several strange characters appear [0m[01;34m1010661085645[0m [01;34m1010729039145[0m [01;34m1010747080245[0m [01;34m1010849051345[0m [01;34m1010859053445[0m [01;34m1011046075845[0m Can anyone explain what is going on here?",
"Fixing a code to highlight formulas and text on several lines In I've found the following amazing code to highlight text on several lines. The problem is that code dosen't work well with formulas : for example, fraction using the mode display are partially out of the highlighting frame. Here is the code with one content showing the problem. \\documentclass{article} \\usepackage{soul} \\usepackage{tikz} \\usetikzlibrary{calc} \\usepackage{amsmath} \\usepackage{xcolor} \\makeatletter \\newcommand{\\defhighlighter}[3][]{% \\tikzset{every highlighter/.style={color=#2, fill opacity=#3, #1}}% } \\defhighlighter{yellow}{.5} \\newcommand{\\highlight@DoHighlight}{ \\fill[ outer sep = -15pt, inner sep = 0pt, every highlighter, this highlighter ]( $(begin highlight)+(0,8pt)$) rectangle ($(end highlight)+(0,-3pt)$ ); } \\newcommand{\\highlight@BeginHighlight}{ \\coordinate (begin highlight) at (0,0) ; } \\newcommand{\\highlight@EndHighlight}{ \\coordinate (end highlight) at (0,0) ; } \\newdimen\\highlight@previous \\newdimen\\highlight@current \\DeclareRobustCommand*\\highlight[1][]{% \\tikzset{this highlighter/.style={#1}}% \\SOUL@setup % \\def\\SOUL@preamble{% \\begin{tikzpicture}[overlay, remember picture] \\highlight@BeginHighlight \\highlight@EndHighlight \\end{tikzpicture}% }% % \\def\\SOUL@postamble{% \\begin{tikzpicture}[overlay, remember picture] \\highlight@EndHighlight \\highlight@DoHighlight \\end{tikzpicture}% }% % \\def\\SOUL@everyhyphen{% \\discretionary{% \\SOUL@setkern\\SOUL@hyphkern \\SOUL@sethyphenchar \\tikz[overlay, remember picture] \\highlight@EndHighlight ;% }{}{% \\SOUL@setkern\\SOUL@charkern }% }% % \\def\\SOUL@everyexhyphen##1{% \\SOUL@setkern\\SOUL@hyphkern \\hbox{##1}% \\discretionary{% \\tikz[overlay, remember picture] \\highlight@EndHighlight ;% }{}{% \\SOUL@setkern\\SOUL@charkern }% }% % \\def\\SOUL@everysyllable{% \\begin{tikzpicture}[overlay, remember picture] \\path let \\p0 = (begin highlight), \\p1 = (0,0) in \\pgfextra \\global\\highlight@previous=\\y0 \\global\\highlight@current =\\y1 \\endpgfextra (0,0) ; \\ifdim\\highlight@current < \\highlight@previous \\highlight@DoHighlight \\highlight@BeginHighlight \\fi \\end{tikzpicture}% \\the\\SOUL@syllable \\tikz[overlay, remember picture] \\highlight@EndHighlight ;% }% \\SOUL@ } \\makeatother \\begin{document} Lorem ipsum \\highlight{dolor sit amet, consectetur adipis-icing elit, sed do eiusmod tempor} incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation \\highlight[red]{ullamco $laboris$ nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit} in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat \\highlight[green, draw=blue]{cupidatat non proident $\\dfrac{789}{7889}$ % The frame is not good for that formula ! suntinculpaquiofficiadeseruntmollitanimidestlaborum. Loremipsumdolorsitametconsecteturadipisicingelitseddoeiusmodtemporincididuntutlabore-etdoloremagnaaliqua.} I suppose I could write some more text here. \\end{document} Is someone could help me to fix it?",
"Find $\\lim_{n \\to \\infty} \\left[\\frac{(n+1)^{n + 1}}{n^n} - \\frac{n^{n}}{(n-1)^{n-1}} \\right]$ (a question asked at trivia) My friend's trivia league had this math question: $$\\lim_{n \\to \\infty} \\left[\\frac{(n+1)^{n + 1}}{n^n} - \\frac{n^{n}}{(n-1)^{n-1}} \\right]$$ After computing a few values, one could guess the answer is $e$ = 2.718...But how can we prove that is the limit? Someone offered up a hand-wavy proof like this: \\begin{align} \\lim_{n \\to \\infty} \\left[\\frac{(n+1)^{n + 1}}{n^n} - \\frac{n^{n}}{(n-1)^{n-1}} \\right] & = \\lim_{n \\to \\infty} \\left[\\frac{(n+1)(n+1)^{n}}{n^n} - \\frac{n \\cdot n^{n-1}}{(n-1)^{n-1}} \\right] \\\\ &= \\lim_{n \\to \\infty} \\left[(n+1)\\frac{(n+1)^{n}}{n^n} - n\\frac{n^{n-1}}{(n-1)^{n-1}} \\right] \\\\ &= \\lim_{n \\to \\infty} \\left[(n+1)\\left(1 + \\frac{1}{n} \\right)^n - n\\left(\\frac{n - 1 + 1}{n-1} \\right)^{{n-1}} \\right] \\\\ &= \\lim_{n \\to \\infty} \\left[(n+1)\\left(1 + \\frac{1}{n} \\right)^n - n\\left(1 + \\frac{1}{n-1} \\right)^{n-1} \\right] \\\\ &= \\lim_{n \\to \\infty} \\left[(n+1)e - n \\cdot e \\right] \\\\ &= \\lim_{n \\to \\infty} e \\\\ &= e \\end{align} The part about substituting $e$ is hand-wavy since technically this is an indeterminate form of $\\infty - \\infty$. And using $e$ as as upper bound did not lead me to an easy proof either. Is there a way to rigorously prove the limit? I tried a few approaches: (a) sandwiching the limit--I could prove $e$ was a lower bound, but I could not find a suitable upper bound converging to $e$, (b) using L'Hopital's rule with no luck, (c) using the mean value theorem--but that also got complicated. So this is a pretty tough problem to ask at trivia! Is there a way to prove this limit formally? Sources Trivia question: Thread on trivia: Hand-wavy proof: Idea for mean value theorem:",
"Some observations I made is for $\\frac{a}{b}+\\frac{b}{a}$, is either: the denominator has to be one, the numerator has to be a multiple of the denominator or the numerator and denominator have to be the same. Obviously, with the given conditions case 3 is eliminated since $a \\neq b$. For case 1, if $b=1$, then $a=1$ which is a contradiction to the given condition that says $a \\neq b$. For case 2, I would think of examples. For example if $b=2$ then a multiple is $4$, so $a=4$. Then we have: $$\\frac{a}{b}+\\frac{b}{a}=\\frac{4}{2}+\\frac{2}{4}=\\frac{10}{4}$$ which is not an integer, but how would i proceed to show this case for all integers.",
"DateTime.TryParse century control C#",
"On my work computer I have two USB hard drives that I use rarely. They have a power save mode that sends them into sleep after a couple of minutes of them being idle. Whenever I open a context menu on a file, the drives are woken up (most likely caused by the \"send to\" handler). So I eject the drive, but I can't find a way to get it back, other than unplugging and replugging it in. Is there a way to unmount the drives, and then remount them only when I actually need them? (On Windows 7 Ultimate.)",
"Syntax error while defining an array as a property of a class",
"QR code generation library in javascript",
"Not getting any reading from FTDI UMFT201XB USB-to-I2C module I got the in order to interface with an I2C peripheral through a USB port on my Windows 7 computer. The VCP drivers seem to install correctly, and a COM port is assigned to the module, and can be opened by a terminal emulator. However, I cannot seem to get any signal in or out of the module. That is, I see no activity when I send data through the port, or receive any data when I connect an I2C device to it (this was debugged using a scope). I have also verified that the RESET isn't on. I found very little helpful information out there on how to get this module to work, so if anyone has experience with it, or with similar FTDI modules, my question is: what are the steps that I need to take in order to get the module to communicate?",
"Review option on mobile phone not available? The other day I was looking at Stack Overflow on my Android phone. All is made very nice and all, but I could not find the Review button/link. Is it being implemented, did I miss it, or it is not available?"
] | medi_sts_stackexchange_dupe |
Using the substitution method on $p(n)=\sqrt{n}p(\sqrt{n})+\sqrt{n}$ | Solving the recurrence $T(n) = \sqrt n T(\sqrt{n}) + \sqrt{n}$ | [
"Why rationalize the denominator?",
"sObject ' ' type is not supported Hey everyone I've been seeing this a lot lately and am trying to figure out why this error is thrown when querying the SOAP API directly. I've tried several very basic SOQL queries such as SELECT Body FROM AssetFeed Only to be met with the sObject type 'AssetFeed' is not supported. error. The account that I'm currently querying is just a standard user who accepted permission from an app that was created by a Developer Account, so I'm wondering if it might be permissions from the user or permission from the app itself? Possibly because Developer accounts cannot use 95% of whats offered? The WSDL used is a v27.0 generated Partner WSDL if that helps narrow it down. I've noticed this in multiple standard objects, so I'm wondering what the trend really is? Seems like a good informational question for future googling of others? Running describeGlobal() Array ( [0] => AggregateResult [1] => Attachment [2] => ChatterActivity [3] => CollaborationGroup [4] => CollaborationGroupFeed [5] => CollaborationGroupMember [6] => CollaborationGroupMemberRequest [7] => CollaborationInvitation [8] => ContentDocument [9] => ContentDocumentFeed [10] => ContentDocumentHistory [11] => ContentDocumentLink [12] => ContentVersion [13] => ContentVersionHistory [14] => EntitySubscription [15] => FeedComment [16] => FeedItem [17] => FeedLike [18] => FeedTrackedChange [19] => Group [20] => GroupMember [21] => HashtagDefinition [22] => Name [23] => TaskPriority [24] => TaskStatus [25] => User [26] => UserFeed [27] => UserPreference [28] => UserRecordAccess [29] => UserRole ) Where would all the rest of my SOAP SObjects be? This seems like a very thin list compared to the 295 SObjects advertised",
"How to link to apps on the app store I am creating a free version of my iPhone game. I want to have a button inside the free version that takes people to the paid version in the app store. If I use a standard link the iPhone opens Safari first, and then the app store. I have used other apps that open the app store directly, so I know it is possible. Any ideas? What is the URL Scheme for the app store?",
"Do immature fruits perform photosynthesis? Most immature fruits are green: peppers, pine cones, plums, lots of them. I want to know if the green is from chlorophyll in the cells. Do the fruit cells perform photosynthesis? When you cover a green stem or leaf, it will turn pale and stretch. That is because the stems have little need for chlorophyll in the dark, which is why they are pale. They stretch because the auxins in the stems are not destroyed by the photons, and the stems stretch out and topple over. If a green fruit is covered, will it turn pale and stretch like that?",
"Should I flag obviously wrong answers as NAA?",
"Where can I get freely available audio, graphics, and other resources for games?",
"Getting higher power output by using more resistors",
"URL Rewriting of a query string in php",
"First of all, am I being crazy in thinking that if $\\lambda$ is an eigenvalue of $AB$, where $A$ and $B$ are both $N \\times N$ matrices (not necessarily invertible), then $\\lambda$ is also an eigenvalue of $BA$? If it's not true, then under what conditions is it true or not true? If it is true, can anyone point me to a citation? I couldn't find it in a quick perusal of Horn & Johnson. I have seen a couple proofs that the characteristic polynomial of $AB$ is equal to the characteristic polynomial of $BA$, but none with any citations. A trivial proof would be OK, but a citation is better.",
"Let $A \\in {M_n}$ is nonsingular and each eigenvalue of $A$ is either $+1$ or $-1$.Why $A$ is similar to ${A^{ - 1}}$?",
"Mysterious Windows 7 Autorun Location I have Acer Aspire One A521 with brand new SSD disk, on which I've just installed brand new Windows 7 HE 64. After installing system I installed all drivers, including Conexant audio driver. Starting from that moment, after each system restart I see Windows prompt asking me, if I really want to run application C:\\Program Files\\CONEXANT\\cAudioFilterAgent\\cAudioFilterAgent64.exe. Situation like that is quite normal to me, and I always use some \"startup scanner\" to find such software and purge system out of it. I have very, very old Startup Control Panel 2.8 by Mike Lin. It can have even ten years, but it has never disappointed me, so I continue using it. It scans Startup folders for current user and common one, HKLM Run, HKCU Run and Run Once sections of Windows Registry. For past ten years I thought that these are all locations where application, that is being autorun during system startup can coexist. Turns out, I was wrong. Since this is brand new Windows, just installed, its autorun locations are empty. The only entry I do have is ATI graphic card driver manager startup string in HKLM Run. I have checked that fact ten times (but only with above mentioned program and manually) and I'm 100% sure, that in none of known to me autorun locations there are no traces of Conexant program startup string. What do I miss? Does Windows 7 introduces some new startup location or a new method of autorunning programs, that is beyond, what I know and what Startup Control Panel scans? Solving this problem is a snap for me. I can use brute-force method of removing manually that file or renaming it or I can uninstall Conexant audio driver at all (for the very, very limited use of audio in my laptop, that I have, Windows driver will for sure be enough, I've installed Conexant one \"just in case\"). But I'm really, really curious, how Windows is possible to run this program each time I restart it? Where autorun string for it can exists?",
"How do I reset my Unity configuration? I've been messing around with Unity and broke something, how do I \"start over\"?",
"What is the isomorphism between the fields $(Z_2[x]^{<3},+_{x^3+x^2+1},\\times_{x^3+x^2+1})$ and $(Z_2[x]^{<3},+_{x^3+x+1},\\times_{x^3+x+1})$?",
"Where to find the checksums of Ubuntu ISO images? I just downloaded the ubuntu-10.10-desktop-i386.iso, and am having a hard time burning it, so I'd like to check that the file is intact, but I cannot find the md5sum of the file. Is there a URL or official FTP mirror which includes the md5sum of the Ubuntu disk images?",
"Zorn's Lemma states that if every chain $C$ in a partially ordered set $X$ has an upper bound then there is at least one maximal element in $X$. Let $n\\in \\mathbb{N}$, $C_n \\subset \\mathbb{N}$ be the set containing the natural numbers $\\{1,\\dots,n\\}$. Then if $k\\le n$, $C_k\\subset C_n$, so $C_n$ is a chain. Also, $C_n$ has an upper bound, such as $n+1$. But what is the maximal element of $\\mathbb{N}$? There's something I don't get in Zorn's Lemma statement.",
"Where are the evolutionary \"inbetweeners\"? The problem I've always had with evolution is the actual lack of variation between animals. More specifically, the lack of observable gradual change between species. Take for example the hammerhead shark. It obviously has a strong connection with a normal shark, but where's the \"half-hammerhead\" shark? Where's the species that only has a SLIGHTLY wider head? I really doubt that a single mutation on a normal shark resulted in a head shaped like that, it had to happen gradually. Right? As far as I understand, evolution works by random mutation in a child being somehow slightly beneficial to that animal so it get's to live longer and reproduce more, eventually resulting in it's genetic material in dominating the inferior ones before it. But if it was for whatever reason beneficial to have a slightly wider head, why don't all the sharks have slightly wider heads now? On the other hand, if it wasn't beneficial, how come the hammerhead still exists? Furthermore, I feel like some characteristics of a certain animal can't really have gradual benefits. There's a lizard that shoots blood out of it's eyes. The original ancestor certainly didn't, and I'm sure that if it's child only bled slightly from it's eyes it wouldn't really help if much in life. So for it to actually become beneficial, it seems to me that there had to be a ton of lizards that had a disadvantage of bleeding slightly. In fact, there had to be so many that they evolved even further in the same direction and kept doing that until they bled so much it's an actual benefit (sorry for this turning so gross). So why did the inbetweeners survive long enough to evolve even more, and why did they THEN die out?",
"There are $25$ horses. You can take $5$ horses at a time and race them. Each horse always finishes the race in the same amount of time, and there are no ties. The only information you get from each race is the order that the $5$ horses finished in. What is the smallest number of races you need to find the $3$ fastest horses, in order? I found this problem on and cannot figure out the best answer. Please help.",
"How to return only the Date from a SQL Server DateTime datatype",
"When/Why Did Love Escape Voldemort? We know that Voldemort does not love. He does not understand it, nor (generally) the magic that it possesses. He knows of the sort. [...] "you possess in such quantities and which Voldemort has not at all." [...] "because he could not bear to reside in a body so full of the force he detests. In the end, it mattered not that you could not close your mind. It was your heart that saved you." (Harry Potter and the Order of the Phoenix, page 1075) The above confirms it (although I believe there is a better quote), though reinforces it. The fact that he hugs so awkwardly shows that he does not really know how, due to his lack of love. I realize that Voldemort's appearance started to change after he started to create Horcruxes, but surely he had an ounce of love when he was a child? The hugging scene perhaps shows that he never once loved his whole life (possibly due to the love potion with his parents?). If so, when did Voldemort begin to have no love at all, and why?",
"How can I obtain a Cauchy distribution from two standard normal distributions? I am interested in Let $X\\sim N(0,1), Y \\sim N(0,1)$ independently. Show $\\frac{X}{X+Y}$ is a Cauchy random variable. My work: $f_{X,Y}(x,y)=\\frac{1}{2\\pi} e^{\\frac{-1}{2}(x^2+y^2)}, -\\infty<x,y<\\infty$ by independence Let $U=\\frac{X}{X+Y},V=X+Y$. (Is there a better $V$ to choose for this bivariate transformation?) Then, $X=UV, Y=V - UV$. So, $|J|=V$. $f_{U,V}(u,v)=f_{X,Y}(uv,v-uv)|J|=\\frac{v}{2\\pi}e^{\\frac{-v^2}{2}(2u^2-2u+1)},-\\infty<u<\\infty$ $f_U(u)=\\frac{1}{2\\pi}\\int_{-\\infty}^{\\infty}ve^{\\frac{-v^2}{2}(2u^2-2u+1)}dv$. Let $y=\\frac{v^2}{2}(2u^2-2u+1)$, so $dy=v(1+2u^2-2u)dv$. Then, $f_U(u)=\\frac{1}{2\\pi(2u^2-2u+1)}\\int_0^{\\infty}e^{-y}dy=(\\pi[(\\frac{u-1/2}{2})^2+1])^{-1}, -\\infty<u<\\infty$, which is not exactly a Cauchy distribution. Where did I mess up? More importantly, how would you proceed in solving this problem?"
] | medi_sts_stackexchange_dupe |
Proving Kummer Theorem | highest power of prime $p$ dividing $\binom{m+n}{n}$ | [
"Regular expression to match a line that doesn't contain a word",
"I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not. The two ways are: var functionOne = function() { // Some code }; function functionTwo() { // Some code } What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?",
"When one hears that something smells, one would generally assume that it smells bad. Isn't there a word which wouldn't bring to mind the idea of a bad odor? For example, how would you describe pot-pourri (assuming you like the smell of pot-pourri)? If possible, I would like an adjective, or a word that could takes the place of an adjective.",
"How to mount a VirtualBox shared folder at startup?",
"I was amused by the expression \"Paid a penny and only farted\" (related by @FumbleFingers), which suggested a similar Japanese saying: 大山鳴動鼠一匹 - \"Find only a small mouse coming out after hearing rumblings and experiencing shaking of the big mountain.\" It’s humorous. I chuckled when I read it, and I wrote to the author that I love it. With that said, the word \"fart\" reminds me of another Japanese proverb, 百日の説法屁一つ- \"A fart ruins 100 days of sermons by the priest\", which means that a small mistake (the sound of a fart in front of the congregation) brings all his efforts to naught. It can’t happen in big Western churches. But it could well happen in a small wooden temple where a priest would preach to 30 – 50 provincial followers. Can you imagine how the proud priest being called 'the venerable' would be embarrased when his loud fart is heard by all his followers during his serious sermon and they start to giggle here and there in the hall? We also have a similar saying\" 九仞の功を一簣に欠く, which literally means \"Collapse a 9- meter sand tower with the last pile of sand.\" What is the English equivalent of the saying \"A fart ruins 100 days of sermons by the priest (bishop): a small mistake depreciates the value of (vitiates) all labor and effort to naught,\" preferably in such a humorous way?",
"quick selection of a random row from a large table in mysql",
"How to fill a rectangular hole with an even amount of vertices on either side? I tried crating faces but it left missing edges. In the end I was left with all the right lines but there was no vertex in the center. Here's a follow up image in case you're wondering what I mean. Notice how there's no vertex in the center.",
"How to test with Math.random in JavaScript?",
"What are the colored/highlighted edges in edit mode? There are red and pink edges on my mesh. What do these colored edges mean? How can I use them?",
"How to normalize data to 0-1 range? I am lost in normalizing, could anyone guide me please. I have a minimum and maximum values, say -23.89 and 7.54990767, respectively. If I get a value of 5.6878 how can I scale this value on a scale of 0 to 1.",
"Primary decomposition of a monomial ideal",
"A potentially dangerous Request.Form value was detected from the client Every time a user posts something containing < or > in a page in my web application, I get this exception thrown. I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web application because somebody entered a character in a text box, but I am looking for an elegant way to handle this. Trapping the exception and showing An error has occurred please go back and re-type your entire form again, but this time please do not use < doesn't seem professional enough to me. Disabling post validation (validateRequest=\"false\") will definitely avoid this error, but it will leave the page vulnerable to a number of attacks. Ideally: When a post back occurs containing HTML restricted characters, that posted value in the Form collection will be automatically HTML encoded. So the .Text property of my text-box will be something & lt; html & gt; Is there a way I can do this from a handler?",
"While browsing Stack Overflow, I noticed that I lost a lot of reputation: Is this serial downvoting? Will it be corrected by a rep-recalculation? How often are those done? Here's a second instance:",
"(I am not asking how to block my posts on my timeline.) I am asking how I can block my activity, such as posting in open groups, making comments on people's posts, adding a friend, liking a photo, liking a post, etc., from people seeing it in their news feeds? I don't want people seeing my interactions with other people.",
"Help with proof that $\\mathbb Z[i]/\\langle 1 - i \\rangle$ is a field. I have been having a lot of trouble teaching myself rings, so much so that even \"simple\" proofs are really difficult for me. I think I am finally starting to get it, but just to be sure could some one please check this proof that $\\mathbb Z[i]/\\langle 1 - i \\rangle$ is a field. Thank you. Proof: Notice that $$\\langle 1 - i \\rangle\\\\ \\Rightarrow 1 = i\\\\ \\Rightarrow 2 = 0.$$ Thus all elements of the form $a+ bi + \\langle 1 - i \\rangle$ can be rewritten as $a+ b + \\langle 1 - i \\rangle$. But since $2=0$ this implies that the elements that are left can be written as $1 + \\langle 1 - i \\rangle$ or $0 + \\langle 1 - i \\rangle$. Thus $$ \\mathbb Z[i]/ \\langle 1 - i \\rangle = \\{ 0+ \\langle 1 - i \\rangle , 1 + \\langle 1 - i \\rangle\\}. $$ This is obviously a commutative ring with unity and no zero-divisors, thus it is a finite integral domain, and hence is a field. $\\square$",
"Do SAS expanders work transparently with SAS controllers? I'm new to SAS expanders and I'm trying to get things right. I understand that SAS expanders, when used with SAS controllers which supports expanders, allows you to utilise the full capacity of supported drives on a controller. However, say I've got a SAS controller with 4 x SSF-8087 ports, which by itself would support 16 disks. I could then, as far as I understand, instead connect each of these ports to an expander to increase disk capacity. However, will the SAS controller \"see\" all disks as if they were connected directly to the controller and not through an expander. Could I look at controllers as switches in a network? Would I be able to create a RAID from a disk on expander 1 and expander 3? UPDATE: I don't really have a specific project where I need to use SAS expanders. I'm just curious about how they work, and was thinking about how it would work if I used one or more SAS expanders with a LSI MegaRAID controller (9260-16i) which is running in one of our servers. However, I haven't really put any thought into the distinction between \"local\" disks and disks in another enclosure. The LSI MegaRAID controller has 4 SFF-8087 ports, which makes it capable of accomodating 16 drives.",
"I have come across numerous questions where I am given the picture such as the above one been asked \"how many rectangles are there?\". I have even come across some slightly different images that instead of rectangles you are supposed to find the number of triangles. Well, I was thinking whether there is any formula or strategy that is used to solve these problems without having to manually count every shape. Help would be appreciated. Thank you :)",
"Proving that an additive function $f$ is continuous if it is continuous at a single point Suppose that $f$ is continuous at $x_0$ and $f$ satisfies $f(x)+f(y)=f(x+y)$. Then how can we prove that $f$ is continuous at $x$ for all $x$? I seems to have problem doing anything with it. Thanks in advance.",
"The program ed, a minimal text editor, cannot be exited by sending it an interrupt through using Ctrl-C, instead printing the error message \"?\" to the console. Why doesn't ed just exit when it receives the interrupt? Surely there's no reason why a cryptic error message is more useful here than just exiting. This behavior leads many new users into the following sort of interaction: $ ed hello ? help ? exit ? quit ? ^C ? ^C ? ? ? ^D $ su # rm -f /bin/ed Such a tragic waste—easily avoidable if ed simply agreed to be interrupted. Another stubborn program exhibiting similar behavior is less which also doesn't appear to have much reason to ignore C-c. Why don't these programs just take a hint?",
"Can I use mirroring to make a copy of my Database?"
] | medi_sts_stackexchange_dupe |
Python render freezes the GUI | Is it possible to make a sequence of renders and give the user the option to cancel the process through the UI at any given time? | [
"How do I \"parent\" objects? I'm looking for a way to have two separate objects be connected, so that when I move the first object the second one will move also. The term parent is used, but how do I parent a object?",
"Discrepancy with lsof command when trying to get the count of open files per process",
"Often more than one person contributes to the community coming up with the final accepted answer to a question. However, it is only possible to accept a single answer. Restricting to one final answer does make sense for the sake of referencing that answer later, but in many cases that answer is the product of the input from several individuals. I would like to be able to decide how much of a bounty goes to different users, or some other mechanism to recognize the contribution of multiple users. Of course I could always upvote their previous answers, but this is really incorrect if their previous answers aren't the complete, final answer I've accepted. What think you metaSOrs?",
"Easy is to beginner as medium is to I want to display three levels in my game...but I don't know what the text should say. easy -> Beginner medium -> ? hard -> Expert Basically, I want the form that describes the person playing the game, instead of the game itself. What adjective is best? I have considered adept. I doubt my users will know what adept means. Also, I need something in between expert and beginner. Adept falls into the expert category. Is there anything more common that I can use, that has the same impact as the other two words I mentioned? Proficient would work, theoretically, but in day-to-day term, the levels \"beginner - proficient - expert\" won't sound great.",
"How do I sort a dictionary by value? I have a dictionary of values read from two fields in a database: a string field and a numeric field. The string field is unique, so that is the key of the dictionary. I can sort on the keys, but how can I sort based on the values? Note: I have read Stack Overflow question here and probably could change my code to have a list of dictionaries, but since I do not really need a list of dictionaries I wanted to know if there is a simpler solution to sort either in ascending or descending order.",
"Using select by attributes then calculate field on selection in ArcPy? ArcGIS Pro 2.3 I want to create a standalone script which runs outside of ArcGIS Pro (for automation purposes), which selects features (with blank attributes) in a feature class and runs calculate field on those selections. The code below doesn't work. It updates all fields, not the selected ones. import arcpy arcpy.management.SelectLayerByAttribute(r\"C:\\Automation\\Categories\\Coal\\Coal_automation.gdb\\CLAIMS\", \"NEW_SELECTION\", \"Claim_Spend_in_£ = ''\", None) arcpy.management.CalculateField(r\"C:\\Automation\\Categories\\Coal\\Coal_automation.gdb\\CLAIMS\", \"Claim_Spend_in_£\", '\"Unrecorded\"', \"PYTHON3\", None) print (\"Done\") How can I write the code to run calculate field on a selection?",
"I used python add in to make a tool bar in Arcmap that edits features on a map. It works on a file geodatabase, but not on an ArcSDE version one. I've been getting an FDO error: 0. The solutions that I've found all involve opening a workspace, but I'm getting an error doing that as well. Here is the relevant portion of my code: outFolderPath = r\"U:\\tempStuff\" outName = \"Stuff.sde\" databasePlatform = \"SQL_Server\" instance = \"SQL Server\" arcpy.CreateDatabaseConnection_management(outFolderPath, outName, databasePlatform, instance) print \"Centroid of buidling:(%r,%r) Side length: %r\" % (xCoordinate, yCoordinate, bob) print \"workspace is %r\" % outName #outName is workspace #Start edit session with an undo/redo stack then start #edit operation print \"Starting editing\" edit = arcpy.da.Editor(outName) #outName is workspace Line 86 edit.startEditing(True, True) edit.startOperation() #stuff happens cursor = arcpy.da.InsertCursor( fc, [\"SHAPE@\"]) cursor.insertRow([stuff]) #stop the edit operation and then save changes edit.stopOperation() edit.stopEditing(True) del cursor print \"Building should be drawn\" This is the exact error I've been getting: Traceback (most recent call last): File \"C:\\Users\\153289\\AppData\\Local\\ESRI\\Desktop10.3\\AssemblyCache\\{0BEF4E61-6332-4BCA-A908-959CA3C0B4E7}\\leetScripts_addin.py\", line 86, in onClick edit = arcpy.da.Editor(outName)#outName is workspace RuntimeError: cannot open workspace What's am I doing wrong in my code?",
"What is the difference between necessary and sufficient conditions? If $p\\implies q$ (\"$p$ implies $q$\"), then $p$ is a sufficient condition for $q$. If $\\lnot p\\implies \\lnot q$ (\"not $p$ implies not $q$\"), then $p$ is a necessary condition for $q$. I don't understand what sufficient and necessary mean in this case. How do you know which one is necessary and which one is sufficient?",
"grep a file, but show several surrounding lines?",
"I don't know how to solve $7^x-3^y=4$... I tried to see something $\\pmod 7$ and $\\pmod 3$ but it doesn't help at all. Can anyone give me some hints about it?",
"Adding values to a picklist using apex",
"I'm trying to find the roots of $x^4+1$. I've already found in this site solutions for polynomials like this $x^n+a$, where $a$ is a negative term. I don't remember how to solve an equation when $a$ is a positive term as the equation above. Thanks",
"Sometimes when I am running a development version of Ubuntu, the Software Updater will tell me that a partial upgrade is needed when I check for updates. What is a partial upgrade, and why are they necessary? Sometimes users run into problems when doing them, so when should I run a partial upgrade, if ever?",
"How get eigenvectors without phase jump?",
"How to get rid of update notifications for a given app in Google Play Store? General question I have an app X installed on my device in version Y. I don't want to update it to any newer version (Y+z) for some reason. Still, the Google Play Store app always lists updates for X, which keeps me from a simple "update all". My question, put to a single sentence: How to hide updates for X permanently from the "available updates" list? Specific examples First, I know there are alternatives as e.g. the , which can handle this quite well (skip this update, skip all future updates). I prefer a "generic solution", which does not depend on a 3rd party's market app. Second, I know that includes a "Market doctor", which can be used to disconnect an app from Google Play.1 However, in my specific case that only worked for a few hours: I disconnected GTalk, as I don't want it replaced by Hangouts. The update notification disappeared for a few hours, then it was back. No idea what restored the "link". Third, just to make sure: I'm not talking about the "auto update" feature as discussed e.g. in . I was rather hoping for something close to , but without the need to "freeze" the app in question (which I still want to use, but in the version installed, not in a "future version" available). Fourth: No, uninstalling the app in question is no option here, though it would perfectly hide any future updates from being displayed :) Nor is "freezing", as the app is used regularly. Fifth: There is a related question for my GTalk example: However, I want the opposite: No update. It might very well be that "Google Apps" (and other pre-installed apps) are handled in some specific way, and restore their "market links" themselves somehow. For this case, my question includes: How to prevent that from happening? Update There's a discussing the very same issue. Until recently, a work-around for "user installed apps" was to uninstall them and then sideload the .apk – but even that stopped working. Well, re-signing the .apk with a different key might work for user-apps. But both would fail for pre-installed apps (can't sideload them to override; different signature would refuse that install completely). Moreover, there's an on this by some "joel.bou..". Not hard to guess, though blanked out: that would be Joël Bourquard. If it's really him, then that's really an issue (for those who don't know: Joël is the dev behind Titanium Backup). Let me quote from the issue: For the record: in the Android Market days it was possible to "Attach" or "Detach" apps (on rooted devices) with a system tool such as Titanium Backup. But nowadays (with the Google Play Store app) this has become nearly impossible to do, because the complete app list seems to sync from Google's servers and the user has no control over that. Which explains why detaching with apps like Titanium Backup is no longer permanent. And I'm afraid I've asked the impossible. But I thought the same in the past with other questions, and surprisingly got solutions here. So I do not yet give up hope on this one! 1: what that does is explained by eldarerathis (thanks to for digging that up!)",
"$\\Bbb Q$-linear is equivalent to additive",
"Conventional parenting wisdom tells us to drive the fear of talking to strangers into our kids. Is this at all harmful though? Is there any adverse impact to a child's social development by doing this? How can you balance safety against fear?",
"Where did folder \"merge\" or \"keep both\" go in OS X 10.9 Mavericks? Before Mavericks one could hold the ALT key and move a folder \"A\" onto a folder \"B\" where already an \"A\" existed. In this case Mac OS X asked in Lion if I want to merge - or on Mountain Lion if I want to keep both (which was also a merge). I can't find this option in Mavericks. Did Apple remove this useful feature? Any hints? (And yes: I own ForkLift, which can do it - I just sometimes still prefer the Finder).",
"Default currency symbol I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be <apex:inputField> or <apex:outputField>) preferably query-able from apex (via the database, a describe or whatever) and then again the actual symbol, meaning € for Euro, $ for dollar, and so on... There must surely be some sort of mapping hidden in the code somewhere salesforce does this via the input/outputfields if bound to an sobject of type currency Can anyone point me in the right direction?",
"$\\|u\\|\\leq \\|u+av\\| \\Longrightarrow \\langle u,v\\rangle=0$ Prove that $\\langle u,v\\rangle=0\\Longleftrightarrow \\|u\\|\\leq \\|u+av\\|$. So far I can get the $\\Longrightarrow$ very easily, but I need some help with the $\\Longleftarrow$ implication, any hints would be greatly appreciated. Please no answers, I just want a small nudge to get me in the right direction, I've been stumped on this for a little bit. Here's what I have so far: ($\\Longleftarrow$) Assume $\\|u\\| \\leq \\|u+av\\|$ $\\|u+av\\|^2=\\langle u+av,u+av\\rangle=\\langle u,u\\rangle+ \\langle u,av\\rangle+\\langle av,u\\rangle+\\langle v,v\\rangle=\\|u\\|^2+\\bar{a} \\langle u,v\\rangle+a\\langle v,u\\rangle+\\|v\\|^2=\\|u\\|^2+ \\bar{a}\\bar{\\langle v,u\\rangle}+a\\langle v,u\\rangle+\\|v\\|^2$ Thoughts/ideas?"
] | medi_sts_stackexchange_dupe |
subdivision creates unwanted creases | Weird line in my mirrored mesh | [
"Novel about a man who has his car stolen and is cryogenically frozen with his cat? So this is a bit of a memory game of my behalf, but I'm trying to remember the name of a (presumably) Sci-Fi novel with only a recollection of the following: A man owns a (yellow?) car parked outside his house along with a cat The car goes missing or is stolen The man decides to be cryogenically frozen for 75 (fairly sure, could be 50?) years along with his cat (I might be muddling up novels but I'm sure there was a cat...?) He takes a walk along the street X years in the future when he wakes up and the currency he has in his pocket is now worthless I don't think I got that far into the book and all the above happened relatively early. I read it about 10 years ago and at a guess, it's an 80's novel - all of the above details might be inaccurate, but I'm certain about the cryogenic freezing and the currency aspects. I'd be surprised if this one gets anywhere!",
"How to show that the nth power of a $n \\times n$ nilpotent matrix equals to zero $A^n=0$ $A$ is a $n\\times n$ matrix such that $ A^m = 0 $ for some positive integer $m$. Show that $A^n = 0$. My attempt: For $n > m$, it's obvious since matrix multiplication is associative. For $n < m$, $A^n\\times A^{m-n} = 0$; not sure what to do next. Also I know that $\\det A = 0$.",
"There are two vectors called $\\vec{a}$ and $\\vec{b}$. Vector $\\vec{c}$ is the bisector and it can be given as $$\\vec{c} = |b|\\vec{a} + |a|\\vec{b}$$ How to prove that? I have used the dot product method. But there I can't find the angle between them. Then I tried to do this by using unit vectors. Then I got an answer like in the given picture. . Can you help me to get the correct answer",
"Please do not close this as a duplicate unless you can remove the “status-completed” tag from the (because it’s obviously not been completed). Steps to reproduce: Have someone post an answer. Downvote the answer. Have the someone edit the answer within the initial 5 minutes of the answer’s existence. Try to undo the downvote more than 10 minutes later. You cannot undo the downvote.",
"I'm trying to find $$\\lim_{n\\to\\infty}\\frac{n}{\\sqrt[n]{n!}} .$$ I tried couple of methods: Stolz, Squeeze, D'Alambert Thanks! Edit: I can't use Stirling.",
"I need an approach to allow delegated admins (i.e., non-Administators) to add members to Public Groups and Collaboration Groups (the GroupMember and CollaborationGroupMember objects). I added a custom object (UserGroupRequest__c) to capture which Users should be added/removed to which Groups. I've also built a batchable class to process the requests. However, GroupMember is a Setup object, and CollaborationGroupMember is not. So this doesn't work if I combine the operations in a single batchable class. Should I instead be using 2 batch classes, calling one from the finish method of the other? Any recommendations on how best to proceed? Am I way off base? Would a trigger on the Request object perhaps be better? I'm guessing that there may be a permission problem if this is attempted via a trigger as the delegated admins won't be able to add users to public Groups. Also, I'm guessing the trigger approach would run into the same mixed DML issue - on Insert of the Custom object, I would need to Insert/Delete from GroupMember and from CollaborationGroupMember, and then perform a 2nd update on the Custom object to indicate that processing was completed...",
"How to update Ubuntu terminal? How to update Ubuntu terminal?",
"Is there a \"theirs\" version of \"git merge -s ours\"? When merging topic branch \"B\" into \"A\" using git merge, I get some conflicts. I know all the conflicts can be solved using the version in \"B\". I am aware of git merge -s ours. But what I want is something like git merge -s theirs. Why doesn't it exist? How can I achieve the same result after the conflicting merge with existing git commands? (git checkout every unmerged file from B) UPDATE: The \"solution\" of just discarding anything from branch A (the merge commit point to B version of the tree) is not what I am looking for.",
"What word indicates spatial data within the geographical and geological domains? In particular, what word is precise enough for a science journal article (i.e., formal prose)? Candidates might include "spatial data," "geodata," "geospatial data," and "geographic data." "Spatial data" seems too generic (not necessarily within the geographical and geological domains). What is the consensus, if any exists?",
"How to get permission number by string : -rw-r--r-- I need to set the same chmod, how to get number for -rw-r--r-- ?",
"Do photons have acceleration? Photons travel at the fastest speed in our universe, the speed of light. Do photons have acceleration?",
"Proof that $\\gcd(ax+by,cx+dy)=\\gcd(x,y)$ if $ad-bc= \\pm 1$ I'm having problems with an exercise from Apostol's Introduction to Analytic Number Theory. Given $x$ and $y$, let $m=ax+by$, $n=cx+dy$, where $ad-bc= \\pm 1$. Prove that $(m,n)=(x,y)$. I've tried to give a proof, but I suspect it's wrong (or at least not very good). I would be very thankful for any hints/help/advice! My proof: We observe that since $ad-bc= \\pm 1$, $ad=bc \\pm 1$, and $(ad,bc)=1$. Now, $(a,b) \\mid m$ and $(c,d) \\mid n$ but $$(a,b) = ((d,1)a,(c,1)b)=(ad,a,bc,b)=(ad,bc,a,b)=((ad,bc),a,b)=(1,a,b)=1.$$ Similarly, we determine $(c,d)=1$. So, $1=(a,b) \\mid m$ and $1=(c,d) > \\mid n$. But $(x,y)$ also divide $m$ and $n$. Since $(x,y) \\geq (a,b)=(c,d)=1$, this implies that $(x,y)=m,n$. Hence $(m,n)=((x,y),(x,y))=(x,y)$.",
"states that the isomorphism type of a finite simple group is determined by its order, except that: $L_4(2)$ and $L_3(4)$ both have order $20160$ $O_{2n+1}(q)$ and $S_{2n}(q)$ have the same order for $q$ odd, $n > 2$ I think this means that for each integer $g$, there are $0$, $1$ or $2$ simple groups of order $g$. Do we need the full strength of the to prove this, or is there a simpler way of proving it?",
"Hint proving this $\\sum_{k=0}^{n}\\binom{2n}{k}k=n2^{2n-1}$ I need hint proving this $$\\sum_{k=0}^{n}\\binom{2n}{k}k=n2^{2n-1}$$",
"Do IE standalone-browser still exist (and run on Win 7?)",
"Everybody has to obey their own parents I am new here and I don't really know how to post, so please forgive my mistakes. My question is this: Is a sentence like \"everybody has to obey their own parents\" nowadays completely acceptable under a grammatical point of view or it is still preferable, in written form, to use \"everybody has to obey his/her own parents\"? Thank you very much and sorry if this has been asked before.",
"How can I install Windows after I've installed Ubuntu? I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go for UEFI only!",
"Effect on Google rankings if my site is down?",
"Suppose that $n \\ge 2$. How to prove that the set $\\mathcal D \\subset M_n(\\mathbb R)$ of the diagonalizable real matrices is not dense in $M_n(\\mathbb R)$?",
"How does commands like ls know what its stdout is? It seems ls is operating different depending on what the target stdout is. For example if I do: ls /home/matt/tmp the result is: a.txt b.txt c.txt However if I do ls /home/matt/tmp | cat the result is (i.e. new line per result): a.txt b.txt c.txt The process is passed a file descriptor 1 for stdout right? How does it determine how to format the result? Does the file descriptor reveal information?"
] | medi_sts_stackexchange_dupe |
Creating object with dynamic keys | How to use a variable for a key in a JavaScript object literal? | [
"$a$ and $b$ are natural numbers and $p$ is a prime number. Prove that if $a^{p}-b^{p}$ is divisible by $p$, then it is also divisible by $p^{2}$. My attempt: Based on Fermat's theorem $(a^{p}-a)$ and $(b^{p}-b)$ are divisible by p, therefore their difference is divisible by $p$. I.e. $(a^{p}-a)-(b^{p}-b)=(a^{p}-b^{p})-(a-b)$ is divisible by $p$. Since the left hand side of this equation is divisible by $p$, the right hand side also should be divisible by $p$. Based on the problem's assumption $(a^{p}-b^{p})$ is divisible by $p$ therefore we conclude $(a-b)$ must be divisible by $p$. Now We can factorize $(a^{p}-b^{p})$ $$(a^{p}-b^{p})=(a-b)(a^{p-1}+a^{p-2}b+....+b^{p-1})$$ we have to prove $(a^{p}-b^{p})$ is multiple of $p^2$ which means we have to show the right hand side should be multiple of $p^{2}$. But $(a-b)$ is multiple of p therefore we have to show $(a^{p-1}+a^{p-2}b+\\cdots+b^{p-1})$ is multiple of $p$ and I am stuck here. Any help would be appreciated.",
"How do I calculate the probability density function for a joint beta + uniform distribution? The PDF of a Beta distribution is $$ f_X(x) = {{x^{a-1}(1-x)^{b-1}}\\over {B(a,b)}} $$ and CDF $$ F_X(x) = I_x(a,b) $$ The PDF of a uniform distribution is $$ f_Y(y) = {1 \\over {b-a}} \\space for \\space x \\in [a,b] $$ and CDF $$ { x - a} \\over {b - a} $$ I've know that if X and Y are two independent, continuous random variables, described by probability density functions above of $f_X(x)$ and $f_Y(x)$ then probability density function of $Z = XY$ is $$ f_Z(z) = \\int_\\infty^\\infty f_X(x)f_Y({z\\over x}){1\\over abs(x)}dx $$ but I'm struggling with the algebra to get from this to the PDF and the CDF of the joint distribution. I'm using the uniform distribution between 0 and 1.",
"Viewing all my questions from Android app",
"What is the proper way to handle data between scenes? I am developing my first 2D game in Unity and I have come across what seems an important question. How do I handle data between scenes? There seems to be different answers to this: Someone mention using , while other people told me this should be used to store other things like screen brightness and so on. Someone told me that the best way was to make sure to write everything into a savegame everytime that I changed scenes, and to make sure that when the new scene loads, get the info from the savegame again. This seemed to me wasteful in performance. Was I wrong? The other solution, which is the one I have implemented so far is to have a global game object that isn't destroyed between scenes, handling all the data between scenes. So when the game starts, I load a Start Scene where this object is loaded. After this ends, it loads the first real game scene, usually a main menu. This is my implementation: using UnityEngine; using UnityEngine.UI; using System.Collections; public class GameController : MonoBehaviour { // Make global public static GameController Instance { get; set; } void Awake () { DontDestroyOnLoad (transform.gameObject); Instance = this; } void Start() { //Load first game scene (probably main menu) Application.LoadLevel(2); } // Data persisted between scenes public int exp = 0; public int armor = 0; public int weapon = 0; //... } This object can be handled on my other classes like this: private GameController gameController = GameController.Instance; While this has worked so far, it presents me with one big problem: If I want to load directly a scene, let's say for instance the final level of the game, I can't load it directly, since that scene does not contain this global game object. Am I handling this problem the wrong way? Are there better practices for this kind of challenge? I would love to hear your opinions, thoughts and suggestions on this issue. Thanks",
"Given $f = f(u(t), t)$, is it possible to find the following derivative? ($f$,$u \\in \\mathbb{R}^n$, $t \\in \\mathbb{R}$) $$ \\frac{\\partial f}{\\partial||u||^2_2} $$ I am aware of the following derivatives: $$ \\frac{\\partial||x||^2_2}{\\partial x} = \\frac{\\partial ||x^Tx||_2}{\\partial x} = 2x $$ So I can invert it to give me (elementwise division in the RHS) $$ \\frac{\\partial x}{\\partial||x||^2_2} = \\frac{1}{2x} $$ This step does feel like abuse of notation I find it hard to convince myself of its validity. If it's right though, I could just apply the chain rule to find $$ \\frac{\\partial f}{\\partial u} \\frac{\\partial u}{\\partial||u||^2_2} $$ However, knowing that both $f$ and $u$ are a function of $t$, I am somehow doubting my own reasoning. Or does that just mean that the derivative will still be a function of $t$ and I have nothing to worry about? Can anyone shed some light? UPDATE: I'm now doubting the existence of $$ \\frac{\\partial u}{\\partial ||u||^2_2} $$ because $u = u(||u||_2^2)$ is not injective. Is the inversion step I did above legitimate? Is there another possible approach?",
"Is it possible to enforce unique values in a column, excluding nulls?",
"Get total duration of video files in a directory I have a list of .ts files: out1.ts ... out749.ts out8159.ts out8818.ts How can I get the total duration (running time) of all these files?",
"Showing 2 Distributions are the Same Let $X_1, X_2, \\dots$ be i.i.d. exponentially distributed RVs. For $n = 1,2,\\dots$ consider: $Y_n := \\max(X_1, X_2, \\dots, X_n)$ $U_n := \\sum_{i=1}^{n}\\frac{X_i}{i}$ Show that $Y_n$ and $U_n$ have the same distribution What I've tried: $P(Y_n<y)= P(X_i<y)^n = (1- e^{\\lambda y})^n => P(Y_n=y) = n(1- e^{\\lambda y})^{n-1}$ But I get stuck with $U_n$. I tried an MGF, $U_n$ evaluates nicely but then $Y_n$ gets messy. Any thoughts?",
"Is there any way to tell the compiler, inside the main file body, how to find the class? I would like to use a class that belongs not found in my MiKTeX database. I know I might as well pick up this class and put it in some directory inside the base and update MiKTeX, but I do not want to do that. What I want is to organize it into a subdirectory within the same directory as my main tex file. However, when compiling the tex file, the class is not found. Of course, if I put the direct class in the same directory as the main file I will solve the problem, but that's not what I want. So, I ask: Is there any way to tell the compiler, inside the main file body, how to find the class? Note: I'm using MiKTeX as an example, but I'm really having the problem in overleaf. There was a revtex upgrade from version 4.1 to 4.2. However, overleaf does not find revtex4-2.cls, which is, in fact, the class I'd like to use. Below, I show an example of how I would like to organize the files. Note that the class is in a subdirectory.",
"jQuery: Uncheck other checkbox on one checked",
"QGIS ->ArcGIS Server configuration possible? Is it possible to connect a QGIS Desktop 1.8.0 to an ArcGIS Server 10.0 ? and of course publish services on it?. The configuration would be like this Quantum GIS-> ArcGIS Server 10.0 on Amazon EC2+ POstgreSQL (+PostGIS)-> web app. Is it possible to create a configuration like this? Do you think I could use it for networking?",
"Determining if trees within forest gaps are clustered using R?",
"Is there a way in photoshop to convert k values to alpha values? Basically, I would like to make it so that the lighter a pixel is (the more white it has) the more transparent it becomes. Black pixels would be opaque, white pixels would be transparent. I currently use the slider in blending options on the first tab to get rid of the white and make it transparent but find it works slightly better if I use the magic wand tool with delete. I figure that there is some blending option out there but there are so many and I'm not sure which to use to achieve my goal. (Using Photoshop CS6)",
"update line based on previous line",
"Xubuntu 18.04 Persistent Live USB: Will persistence be carried upon full installation to a machine? I've created an Xubuntu 18.04 persistent live USB stick and installed several softwares for web development, such as XAMPP, Sublime Text 3, Google Chrome, etc.. I did some configurations as well in the ~/.bashrc file. I am wondering if these installation and configuration in my persistent live USB stick be carried over in a full installation in to a new machine using it.",
"Do not load Facebook-based avatars directly from the Facebook CDN Users who register for their account via Facebook get as their default avatar. However, the avatar is not copied to SE servers or Imgur, and thus the original URL is kept. This URL compromises the privacy of the user as it contains their Facebook user ID which everyone can easily extract and then view the profile. The image is also not visible at all to those who have Facebook blocked for their own privacy (by extensions such as Ghostery or browser features ), or due to network policy (e.g. some work and school networks block Facebook). With the new avatar system, it would be much better if the Facebook photo was stored like a manually uploaded avatar to avoid this problem.",
"Prove $(1+a+b)(1+b+c)(1+c+a)\\ge 9(ab+bc+ca)$ How one can prove the following. Let $a$, $b$ and $c$ be non-negative real numbers. Then the inequality holds: $(1+a+b)(1+b+c)(1+c+a)\\ge9(ab+bc+ca).$ WLOG one can assume that $0\\le a\\le b\\le c$. It is not difficult to prove the statement when $0\\le a\\le b\\le c\\le 1$ or $1\\le a\\le b\\le c$.",
"I'd prefer as little formal definition as possible and simple mathematics.",
"does anyone know the following result? If it holds in this form and any source which presents it? Thanks a lot. Consider metric space $(X,d_{X})$. Let $f:A \\subset (X,d_{X}) \\rightarrow \\mathbb{R}$ be a Lipschitz continuous function i.e. $\\exists K > 0$ such that \\begin{align*} |f(x)-f(y)| \\leq Kd_{X}(x,y) ~~~~\\forall x,y \\in A \\end{align*} then define functions $$\\bar{f_{1}}(x) := \\sup\\lbrace f(y) - Kd_{X}(x,y): y\\in A \\rbrace ~~ \\forall x \\in X$$ and $$\\bar{f_{2}}(x) := \\inf\\lbrace f(y) + Kd_{X}(x,y): y\\in A \\rbrace ~~ \\forall x \\in X$$ it follows that \\begin{align*} \\bar{f_{1}}, \\bar{f_{2}}: X \\rightarrow \\mathbb{R} \\end{align*} are Lipschitz continuous with \\begin{align*} |\\bar{f_{i}}(x)-\\bar{f_{i}}(z)| \\leq Kd_{X}(x,z) ~~~\\forall x,z \\in X \\text{ and } \\forall i = 1,2 \\end{align*} and \\begin{align*} \\bar{f_{i}}(x) = f(x) ~~~ \\forall x \\in A \\text{ and } \\forall i =1,2 \\end{align*}",
"bash function cannot change the value of a local variable when called by $() The following code works differently depending on which way Parse_Short_Switches() is called. After calling the function 'Parse_Short_Switches' by using result=$(Parse_Short_Switches), the value of $error_flag is NOT set to -1 as I would expect. After calling the function 'Parse_Short_Switches' by simply using Parse_Short_Switches, the the value of $error_flag is set to -1 as I would expect. Any help would be greatly appreciated. Thanks #!/bin/bash function Parse_Short_Switches() { echo \"error_flag inside of the function= $error_flag\" 1>&2 error_flag=\"-1\" echo \"blah blah ...\" } # --- MAIN --- error_flag=\"999\" echo \"error_flag= $error_flag\" #result=$(Parse_Short_Switches) Parse_Short_Switches echo \"error_flag= $error_flag\""
] | medi_sts_stackexchange_dupe |
Sudo parse error while running any sudo command | Parse error in sudoers file | [
"Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error",
"Good reading on the Keldysh formalism I'd like some suggestions for good reading materials on the Keldysh formalism in the condensed matter physics community. I'm familiar with the imaginary time, coherent state, and path integral formalisms, but lately, I've been seeing Keldysh more and more in papers. My understanding is that it is superior to the imaginary time formalism at least in that one can evaluate non-equilibrium expectations.",
"Data extension values in the \"Update Contact\" activity in Journey Builder I'm looking for a way to use fields from a data extension (that is the entry source for a journey) in the \"Update Contact\" activity. I want to create a sort of log in a different data extension. Let's say I have a sourceDEthat is used by the journey and a journeylogDE where I would like to write the email of contact that's currently in the journey. What should I write in the value field to get a value from the currently used record in the sourceDE? I tried {{Contact.Attribute.sourceDE.email}}, but it did not return any values. I would appreciate it if you could give me any tips how to fix this issue.",
"My issue is that I have a blender file in which cameras and lamps do not move when I attempt to rotate them using the mouse. If I select the objects (in object mode), press R, and move the mouse in the viewport, the lamps and cameras don't respond; they remain in the same orientation as when I started, no matter how vigorously I try to move the mouse. The values in the information bar show that the mouse is communicating. If, however, I manually enter a new value for the amount of rotation in the properties shelf of the viewport, the camera moves to the new orientation. On a new default Blender scene, the cameras and lamps do respond to commands to rotate and scale using the mouse. I've compared all of the settings I can think of, and don't see anything obvious that corrects the problem. is available.",
"How to determine callee function name in a script To make it short, doing something like: -bash$ function tt { echo $0; } -bash$ tt $0 will return -bash, but how to get the function name called, i.e. tt in this example instead?",
"Is it possible to downgrade an OEM Windows 8 install to Windows 7? I recently purchased an ASUS K55A. Like all Windows 8 machines, it come with a UEFI feature called Secure Boot. This basically makes sure that the laptop won't load anything other than the Windows 8 OEM version that came with it. However the Asus UEFI allows for me to disable Secure Boot, and therefore I should be able to revert to Windows 7, Linux, etc. (drivers may or may not be supported). When I insert my Linux Mint boot disc and try to boot from it, though, nothing happens. There isn't even a boot priority list in the UEFI settings (I can provide screenshots later). It just says \"Windows 8 Bootloader\" and also on the other tab it says \"WINDOWS 8 BOOT OVERRIDE\". Has anybody purchased a Windows 8 machine and successfully installed Windows 7 or Linux on it?",
"Making images from single.php pointing to an attachment .php template",
"In a Poisson model, what is the difference between using time as a covariate or an offset? I recently discovered how to model exposures over time using the log of (e.g.) time as an offset in a Poisson regression. I understood that the offset corresponds to having time as covariate with coefficient 1. I'd like to better understand the difference between using time as an offset or as a normal covariate (therefore estimating the coefficient). In which situation should I want to use one method or the other? UPGRADE: I don't know if it is interesting, but I ran a validation of the two methods using randomly split data repeated 500 times and I noticed that using the offset method leads to a larger test error.",
"Relating the union of the power set of a set to the set itself",
"Variable declaration placement in C I long thought that in C, all variables had to be declared at the beginning of the function. I know that in C99, the rules are the same as in C++, but what are the variable declaration placement rules for C89/ANSI C? The following code compiles successfully with gcc -std=c89 and gcc -ansi: #include <stdio.h> int main() { int i; for (i = 0; i < 10; i++) { char c = (i % 95) + 32; printf(\"%i: %c\\n\", i, c); char *s; s = \"some string\"; puts(s); } return 0; } Shouldn't the declarations of c and s cause an error in C89/ANSI mode?",
"How does \\fontsize{}{} work? With the package anyfontsize I can use the command \\fontsize{}{}. But the second argument seems to be without any effect. I read that it is related to the line space. It doesn't work. \\documentclass{article} \\usepackage{anyfontsize} \\begin{document} {\\fontsize{1cm}{1cm}\\selectfont First test : I need to put some text here.} \\bigskip {\\fontsize{1cm}{2cm}\\selectfont Second test : I need to put some text here --- does it work?} \\end{document} Any clue?",
"Why does the area of a bar in a histogram represent the frequency of that particular class In a bar-graph, the height of the bars represent the frequency of a particular category but it is counter-intuitive that in a histogram, instead of the height of the bar(which represents the frequency density), the area of the bar represents the frequency of the particular class. Why is this so?",
"Neural network - meaning of weights",
"Using Chrome's Element Inspector in Print Preview Mode?",
"How to encrypt folders (not in Home)?",
"Do we have negative prime numbers? $..., -7, -5, -3, -2, ...$",
"I am trying to retrieve list items using date range based on date column. It implicit both 'Fromdate' and 'Todate'.My CAML query is also querying on two other conditions as well. I am using the below query but it is not retrieving the data.when I remove the date range from query data is retrieved fine. But i want date range as well in my query how would i do this. Little help would work for me. camlQuery.set_viewXml('<View><Query><Where><And><And><Neq><FieldRef Name=\"ID\" /><Value Type=\"Number\">0</Value></Neq><Eq><FieldRef Name=\"_ModerationStatus\" /><Value Type=\"ModStat\">0</Value></Eq><Geq><FieldRef Name=\"Created\" /><Value Type=\"DateTime\">' + fromDate + '</Value></Geq><Leq><FieldRef Name=\"Created\" /><Value Type=\"DateTime\">' + toDate + '</Value></Leq></And></And></Where><OrderBy><FieldRef Name=\"_ModerationStatus\" Ascending=\"True\" /></OrderBy></Query></View>');",
"Security importance of Key Schedule in Block Cipher",
"What is the difference between sourcing ('.' or 'source') and executing a file in bash?",
"How to show (or hide) a hidden file I wanted to add classpath to my JDK. While searching a way to do it I noticed everyone open .profile file using terminal. But when I want to open and edit it with a text editor I couldn't see that file in Home folder. Can someone tell me why is this. And also if possible how can I access .profile in home folder the GUI way."
] | medi_sts_stackexchange_dupe |
Subsets and Splits