query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
sequencelengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Bash regex match not working - escaping all special characters | bash regex with quotes? | [
"In a custom lightning component where one is using the recordEditForm tag, how can one validate fields that are filled by the user? For example, in a quick action to create a Case record, we can have the following line inside the recordEditForm: <lightning:inputField aura:id=\"caseAccount\" fieldName=\"AccountId\"/> How can one enable or disable a button if certain fields are assigned by the user? Like if the account is specified, then a button on the component is enabled for the user. Making the field required is not an option.",
"Zero visibility while editing a message in a chat room",
"$\\lambda=\\frac{2h}{p}$ instead of $\\lambda=\\frac{h}{p}$? I am studying quantum physics and there is something I don't understand: I know that for any particle $E=hf$ (Einstein relation) and $v=\\lambda f$ ($v$ is the speed of the particle). I also know that the kinetic energy is $E_k=\\frac{mv^2}{2}$. Solving those 3 equations for $\\lambda$: $$h\\frac{v}{\\lambda}=\\frac{mv^2}{2},$$ I finally find $$\\lambda=\\frac{2h}{mv}=\\frac{2h}{p},$$ which is not consistent with the De Broglie relation $$\\lambda=\\frac{h}{p}.$$ Where am I wrong in my development?",
"In my cssh config file, I have: terminal_font=6x13 this default font is too small for me. man cssh says, I can specify other font size with the -f argument, while using \"standard X font notation\". is a wikipedia page containing some other fonts types. Unfortunately, none of these work for me: $ cssh host1 host2 -f \"7x14\" Fatal: Unrecognised font used (7x14). Please amend $HOME/.clusterssh/config with a valid font (see man page). Why does \"7x14\" not work? How can I use bigger fonts with cssh ?",
"If $A$ is a non-square matrix with orthonormal columns, what is $A^+$? If a matrix has orthonormal columns, they must be linearly independent, so $A^+ = (A^T A)^{−1} A^T$ . Also, the fact that its columns are orthonormal gives $A^T A = I$. Therefore, $$A^+ = (A^T A)^{−1} A^T = (I)^{-1}A^T = A^T$$ Thus, $A^+ = A^T$. Am I correct? Thank you.",
"How to add a gif file to my LaTeX file? Related: I have an image file -- a gif file, which is the graph of a function. How do I add it to a LaTeX file? Will it come out OK in the subsequent pdf file?",
"If a set is $F_\\sigma$ and is of first category then it is a countable union of closed nowhere dense sets We say a set is $F_\\sigma$ if it is a countable union of closed sets. We say a set is of first category if it is a countable union of nowhere dense sets. The question is, if a set of $F_\\sigma$ and of first category, is it true that this set is a countable union of closed nowhere dense sets.",
"Computing the integral of $\\log(\\sin x)$ How to compute the following integral? $$\\int\\log(\\sin x)\\,dx$$ Motivation: Since $\\log(\\sin x)'=\\cot x$, the antiderivative $\\int\\log(\\sin x)\\,dx$ has the nice property $F''(x)=\\cot x$. Can we find $F$ explicitly? Failing that, can we find the definite integral over one of intervals where $\\log (\\sin x)$ is defined?",
"Find the value of $x,y$ for the equation $12x+5y=7$ using number theory . I tried the solution using other ways like: $12x+5y=7$ $12x=7-5y$ $x=7-5y/12$ putting the value of $x$ $12(7-5y/12)+5y=7$ both $12$ will cancel out $7-5y+5y=7$ here comes the problem please help me ?",
"Is it okay to ask a professor from another university for class lecture notes of a course that he offered on that university? I find two very interesting courses that were offered in the Spring 2019 semester at ETH Zürich. Unfortunately, their class lecture notes are not shared publically. I wonder if it is appropriate to email the professors and ask them for class notes.",
"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?",
"How to rename multiple files sequentially from command line? How to rename file as below AS1100801000002.RAW7AGS AS1100801001008.RAW7AH4 AS1100801002001.RAW7AH9 AS1100801003002.RAW7AHE AS1100801004009.RAW7AHT AS1100801005002.RAW7AHY AS1100801010002.RAW7AJ3 to new name AS1.txt AS2.txt AS3.txt AS4.txt AS5.txt AS6.txt AS7.txt",
"Is there a word for someone who somewhat delights in their illnesses/medications?",
"linux find command to move files",
"I am new to the telecom simulations system specially multisim, which I am having a project that I want to simulate. My project in (Analog Communications) is consisting to have FM Transmitter (Modulator) that accepts a generated signal (Sin, Cos) and get me the modulated output as a Graph. I've found this FM transmitter circuit (3 km range): ![two muppets][1] and I am building that circuit on Multisim, and I failed. Because I faced many problems, first of, the variable capacitor symbol is weird here in the multisim, and the regular capacitor doesn't have variable options. Secondly, when I Use signal generator as (Sin, Cos), the output gets weird after 5 second of the simulation. I want to show the input signal (before modulation) and the output signal (transmitted or modulated). I guess my output result where not the as expected, as the signal (Sin with phase 90°) is giving weird result of few seconds of simulating. Below are screenshots of the simulation results within time. Any ideas how to edit or fix the above circuit to have this output is similar to what it should be?",
"Flagging multiple comments versus flagging the whole post for moderator attention When multiple comments in a comment thread ought to be removed (especially if they're all for the same reason), should I flag each of them individually or flag the parent post for moderator attention? I've usually adopted the former strategy - flagging each comment with the same flag reason, often a custom one copied and pasted. I had always assumed the following things that led me to follow this strategy: Flagged comments were discretely marked as flagged in some way when the reviewer viewed the question (much like how I can see others' pending suggested edits now that I have editing privileges). By individually flagging all the comments that needed cleaning up, I was allowing the flag reviewer to see at a glance which comments needed removing, thereby providing them with useful additional information that wouldn't be available if I flagged the entire parent post. By flagging comments individually, rather than flagging the whole post, I was letting my flags be handled by anyone with 10k+ rep and access to the mod tools, rather than having to be handled by a diamond moderator. However, I just read (now deleted) by Shog9 that makes me suspect that approach is misguided, and question whether any of my assumptions about how comment flags work are actually true. Notably he says: If you'd pinged me once for every comment in that thread you found noisy, I would probably be plotting my revenge instead - at very least, I would think you very rude for doing so. Yet, that's exactly what you're doing when you start flagging multiple comments in a single thread: instead of taking a few seconds to describe a problem, you're attempting to use a moderator as a tool to do your bidding, without any real effort to communicate. He also said some more stuff on the topic - I think there was something about huge offensive boxes blotting out the UI when he views questions with multiple flags - but I now can't recover it any more because that question was deleted while I was in the process of writing this one, and it doesn't seem to be available in the Google cache. Much of the flagging and review system is still a black box to me as a low/mid rep user, and it's difficult for me to figure out what flagging behaviors are appropriate and helpful when I have no idea what actually happens when I flag a comment. (The Privileges section doesn't mention comment flags anywhere that I can find. I don't even know who reviews them at the moment, and can't find a Meta question anywhere that addresses that.) Could somebody provide some input on when (if ever) flagging lots of individual comments in a thread is appropriate, and when flagging the entire parent post is? A pretty screenshot of the UI of the relevant review/mod tools, demonstrating the effect of each approach, might also be helpful for understanding this, if that's not asking too much.",
"Is it possible to set a CNAME record at the top of a domain? (i.e. @ CNAME www, @ CNAME foobar.com., etc.) My ISP says that it's only possible to use CNAME's for subdomains but I've read somewhere else that is should be possible even if not recommended.",
"I block everything Google, including Google APIs, as I don't like to to have Google tracking all of my usage on the Internet. Is there any way to use Stack Exchange without Google APIs? I usually am browsing with Windows 7 and Firefox, but of course not Firefox with StackExchange.",
"How to force Windows 7 to ask for a \"fresh\" IP address from DHCP server? I'm troubleshooting a certain issue with my DHCP configuration, and need my Windows machine to ask for a \"fresh\" IP address, so I can see which address DHCP server gives by default. When I do ipconfig /release followed by ipconfig /renew, Windows \"proposes\" its old IP address to the DHCP server (just checked with Wireshark, initial \"DHCP Discover\" message has Option-50 (requested IP address) with Windows machine's old IP). Tried disabling/enabling network adapter. Same behavior. Question: How can I force Windows to just ask for a new IP address, without proposing its old IP address.",
"Difference between static class and singleton pattern? What real (i.e. practical) difference exists between a static class and a singleton pattern? Both can be invoked without instantiation, both provide only one \"Instance\" and neither of them is thread-safe. Is there any other difference?"
] | medi_sts_stackexchange_dupe |
Variable in JavaScript callback functions always gets last value in loop? | JavaScript closure inside loops – simple practical example | [
"Finding places to play Magic the Gathering games A friend of mine recently got MTG for the XBox and is talking us into getting real cards. I'm all up for starting but I dread the idea of playing the same two people over and over with no change epically since one of them is over competitive and exploits every loophole he can to win. Does anyone know of any a reliable (not just google it) way to find places where people play MTG?",
"Prove existence of disjoint open sets containing disjoint closed sets in a topology induced by a metric. Question: Let $(X, d)$ be a metric space. Let $A$ and $B$ be disjoint subsets of $X$ that are closed in the topology induced by $d$. Prove that there exist disjoint open sets $U$ and $V$ such that $A\\subset U$ and $B\\subset V$. Is this proof correct? : By assumption, $A\\cap B=\\emptyset$, so there is no pair like $(x_A,x_B)$ (i.e., $x_A\\in A$ and $x_B\\in B$), such that $x_A=x_B$. Because every metric space is Hausdorff, so for every pair $(x_A,x_B)$ there are two disjoint open sets $U_A\\ni x_A$ and $V_B\\ni x_B$; and thus union of all $U_A$s (which is an open set containing A) are disjoint from union of all $V_B$s (which is an open set containing A). Thanks a lot for any help. PS In special case of standard metric topology on $\\mathbb{R}$, if $[a,b]$ and $[c,d]$ are disjoint (say $c>b$), intuitively it is apparent that there is a 'space' between $c$ and $b$ so we can have two disjoint open sets, each of them containing $[a,b]$ or $[c,d]$.",
"Is there a destructor for Java?",
"While I've done quite a bit of travel now and back myself to handle situations when it comes to border guards, sorting accommodation and / or transportation, one thing I still struggle to come to terms with is haggling in the markets, be it for food, clothing or other. Image © Peter Morgan, 2014 What is the best way to go about this? I'm generally either worried I'll offend them, or that they're trying to rip me off anyway, so it's a weird combination of awkwardness inside my head ;)",
"Where are executables for programs stored in Ubuntu? An application (Komodo Edit) is asking me to identify an application to be used as a web browser. I've become used to just entering the application name as a command for situations such as these, but this scenario got me thinking. I know in Windows it would just be the relevant application folder in the 'program files' folder, but I'm assuming things are a bit different on Linux? I thought somewhere like bin would be logical but this appears to standard Linux/Unix applications. Where would I find the binary executable for applications stored on my system?",
"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.",
"Get name of caller function in PHP?",
"How to split a large file into two parts, at a pattern? Given an example file.txt: ABC EFG XYZ HIJ KNL I want to split this file at XYZ such that file1 contains lines up-to XYZ and rest of the lines in file2.",
"How many combinations can I make? let $n \\gt 1$ be an integer, and consider $n$ people; $P_1, P_2,..., P_n$ let $A_n$ be the number of ways these $n$ people can be divided into groups, such that each group have either one or two people determine $A_1, A_2, A_3$ So I have $A_1 = 1$ way $A_2 = 4$ way $A_3 = 12$ way But I am not sure if this is right... Can anyone confirm? edit: My way of getting this is $A_1 = 1 $ because {P1} only has 1 way to sort $A_2 = 4$ because {P1,P2} = {P1,P2},{P2,P1},{P1P2},{P2P1} etc.",
"Using the Fitch system, how do I prove $((p \\implies q) \\implies p)\\implies p$? I started with the hypotheses $(p \\implies q) \\implies p$ and $\\sim p$. However, from these hypotheses I did not get the desired contradiction to solve the question. Thanks sb45",
"How do I change the command that a launcher item launches?",
"Why can't we initialize members inside a structure?",
"Why does ('0' ? 'a' : 'b') behave different than ('0' == true ? 'a' : 'b')",
"XP Activation and Dual Booting",
"\"'Hello', says he. 'Hello', says I\" — is this correct? I'm reading a novel in which once in a while a character says something like \"I are\", \"He do\", and similar stuff. I understand the author is just reproducing the way people talk on the streets. However I've found a piece of text of which I'm not sure if it's proper English. One of the characters, who almost always speaks proper English, is reproducing a conversation that happened many years ago using the present tense in the following manner: I was with this guy and \"Hi\", says he, \"how are you\", says I... and so on. My question is if the \"says I\" is proper English (a special case in which \"I\" is treated as a third person because we are relating in present tense something that happened in the past) or it's just kind of slang. I was also a bit surprised by how the usual order is switched (\"says he\" instead of \"he says\") but to me it's secondary to the \"says I\" issue.",
"I want to show that for $S,T\\in B(H)$ bounded operators on Hilbertspace with $S\\geq 0,T\\geq 0$ and $ST=TS$, we have $S+T\\geq 0$, and $ST\\geq 0$. $T\\geq 0$ means $(Tx,x)\\geq 0$. To me it seems that $((S+T)x,x) = (Sx,x)+(Tx,x)\\geq 0$. But for $ST$ i like some help. There is a theorem in Rudin (12.32) that says that for every $T\\in B(H)$ we have an equivalence: $T$ is positive $\\Leftrightarrow$ $T$ is self adjoint, i.e. $T=T^*$ and $\\sigma(T)\\subset [0,\\infty)$. Since $S, T$ are self adjoint we know that $ST=TS = S^*T^* = T^*S^*$ ($ST$ is selfadjoint since $S,T$ commute). Also I read somewhere that if $S,T $ commute then $\\sigma(ST)\\subset \\sigma(S)\\sigma(T)$, but I am not sure if this is true. Clearly I cant prove it, but if it were true by this ''Theorem'' it would follow that $ST \\geq 0$. Is there a more straightforward way?",
"What's the shelf life on crushed specialty grains?",
"How to append the contents of a list at the end of the other list? How do I append the contents of one list at the end of another list?",
"Error when clipping raster in QGIS: \"'ascii' codec can't encode character\"? I have done it many times (clipping a raster with a polygon layer or by extension) but today I got an error for the first time and I don't know how to solve it. I am always using the same type of raster layers. When running the clipping tool I got the following message: gdal_translate -of GTiff -ot Byte -projwin 410282.185971 4694950.41162 410783.882475 4694524.96815 -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -co TFW=YES \"C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/Topo 1_5000/bt5mv20sd0f283077st1r031.sid\" \"C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/background/image.tif\" GDAL command output: 'ascii' codec can't encode character u'\\xf3' in position 201: ordinal not in range(128) See log for more details Does anybody know what that is?",
"How can I close a terminal without killing its children (without running `screen` first)?"
] | medi_sts_stackexchange_dupe |
RestResource Get URL | Get full URL (including querystring) from an apex REST endpoint | [
"How to get dark menu bar and dock in Mojave light mode? I prefer light windows with dark menu bar as in High Sierra. However, it seems I can only choose all-dark or all-light in Mojave now. Are there any way to hybrid or customize it?",
"This is basically the same as for the Android app, except I am making the request for the iOS app. When viewing a question in the iOS app, I'd like to see the total number of views for the question.",
"TAR 6 GB worth of files into separate 1.9 GB TAR files I have 28,000 files of size 6.7 GB in the directory aaa/input. I need create TAR files in the directory aaa/output, such that each TAR file cannot exceed 1.9 GB, so I have to tar the 28,000 files into 4 TAR files (6.7/1.9) as Log_(current date)_01.tar Log_(current date)_02.tar ... etc. such that each tarball is less than 1.9 GB. Is there a way to do this using a Unix script?",
"I know we can use both Present Simple and Present Continuous to describe future actions. But I don't know when to use the correct form. For example: We fly to Paris next week. We are flying to Paris next week. These sentences both seem correct to me. Can anyone explain me how to correctly use these tenses?",
"The question of made me wonder as to whether wizards, any of them, do practice religion. Whether there be magic-person only religions or shared muggle faiths, I do not recall any wizards (born in the wizard world anyway) saying that they did practice a religion. Many of them do celebrate Christmas, but as was commented on the above linked question, there are many non-christian muggles that also observe Christmas. So I am not sure that can be an accurate identifier. Answering this question may link into identifying .",
"How do I repeat a theorem number? Often in my papers I want to mention theorems in the introduction that are introduced in more detail and proved in a later section. I'd like to include the statement of these theorems twice over, each time numbered as the theorem would naturally appear in its later section. My current solution (using amsthm) is, e.g. %(in the introduction) \\newtheorem*{thm:associativity}{Theorem \\ref{thm:associativity}} \\begin{thm:associativity} Lorem ipsum ... \\end{thm:associativity} %(in a later section) \\begin{thm} \\label{thm:associativity} Lorem ipsum ... \\end{thm} Can anyone think of a cleaner solution?",
"Comaximal ideals in a commutative ring",
"How can I show only unnamed faces in Mac photos I was trying to show photos with unnamed faces so that I can annotate them. There is but it requires you to mark all the pictures with no faces at all. Any suggestions?",
"$3$ never divides $n^2+1$ Problem: Is it true that $3$ never divides $n^2+1$ for every positive integer $n$? Explain. Explanation: If $n$ is odd, then $n^2+1$ is even. Hence $3$ never divides $n^2+1$, when $n$ is odd. If $n$ is even, then $n^2+1$ is odd. So $3$ could divide $n^2+1$. And that is where I am stuck. I try to plug in numbers for $n$ but I want a more general form of showing that $3$ can't divide $n^2+1$ when $n$ is even.",
"I've got a NI Traktor Audio 2 sound card I'd like to get working with Mixxx, but I don't seem to have any success so far. The card seems to be supported in Ubuntu out of the box, and it seems to work well with ALSA, but I cannot select it in Mixxx and I'm not sure whether is something I can do to make it see it (e.g. through). So for testing purposes, on the command line I can execute aplay to check each channel: aplay -D plughw:2,0,0 test.wav and aplay -D plughw:2,0,1 test.wav That works well: I can hear the test sound on each channel (A and B) The relevant output for this card using aplay -D is: hw:CARD=TraktorAudio2,DEV=0 Traktor Audio 2, Traktor Audio 2 Direct hardware device without any conversions plughw:CARD=TraktorAudio2,DEV=0 Traktor Audio 2, Traktor Audio 2 Hardware device with all software conversions From those 2 items on the output, plughw is the one that works, whereas hw doesn't. The problem is that Mixxx only lets me select the hw card, which does not seem to work. I'd like to be able to select the plughw card, which is the one that's working. I've tried suspending Pulse Audio as suggested by , but that did not seem to work. I also played around with an .asoundrc file similar to the one (which was for an older model of this sound card), but also without success. Any ideas on how to make Mixxx show the right card (and channel, while we are at it)? Thanks!",
"Beamer text and image on the same slide",
"sed substitution with Bash variables",
"BitLocker issue. Recovery Key is required on each startup after installing secondary OS I'm using a laptop with TPM module with BitLocker-encrypted internal HDD, running Windows 7. Recently I've installed a Windows 8 on the external, eSATA drive. Windows 8 detected the Windows 7 and correctly replaced the bootloader with dual-boot option. Unfortunately, I'm now forced to enter BitLocker Recovery Key each time I start the computer. The only workaround I've found was to disable TPM module in BIOS, and suspend BitLocker on the Windows 7 drive. How to accomplish the following configuration: Keep the BitLocker running on Windows 7 (internal drive) Leave the Windows 8 (external, eSATA drive) completely unencrypted Don't be bugged to enter Recovery Key each time during startup No matter if the eSATA drive is plugged in, or not Is it possible? I don't care if TPM is enabled and I just want the Windows 7 drive to be BitLocker-encrypted.",
"Is \"bared fruit\" grammatical? Am I the only one whos athletic career bared fruit? Is this sentence correct grammatically?",
"Making crafted items usable in adventure mode In a map I'm making the player has to survive while locked in a maze. To stop them from breaking out, they will be in adventure mode. However, I still want them to be able to craft items and use them with specified blocks. I have tried several methods already but they all have a flaw. One method is to have a scoreboard objective called item and giving certain item entities a specific score using something like: /scoreboard players set @e[type=Item] item 1 {Item:{id:\"minecraft:sapling\"}} Then it is possible to select these items with: /entitydata @e[type=Item,score_item=1,score_item_min=1] {Item:{tag:{CanPlaceOn:[\"dirt\"],HideFlags:24}}} This works but it requires the item to be dropped, which isn't a problem for saplings, but for tools and other craftable items, it becomes a hassle. To fix this, I'm currently clearing tools without damage and giving the player a slightly damaged tool in return: /clear @a minecraft:stone_axe 0 1 /give @a minecraft:stone_axe 1 1 {CanDestroy:[\"log\",\"log2\",\"leaves\",\"leaves2\"],HideFlags:24} This doesn't work for items without damage values (e.g. torches), but I don't mind these having to be dropped as there aren't too many of these. However, there is another problem. In the nether, the player will have access to an enchantment table and an anvil. This means they can repair enchanted tools, which will cause them to be cleared and replaced with unenchanted ones as soon as they go back to the overworld. I also thought about using a stat.craftItem scoreboard objective and giving them the usable item if they craft it. However, this would result in the player having a duplicate of every item they crafted, as I think it is impossible to select an item without NBT-data in the /clear command. Is there any way to make this work? And if not, would it be better to have the player drop all crafted items or have duplicates of them all?",
"I've checked for acute: an acute illness is one that has quickly become severe and dangerous Compare:CHRONIC And for chronic: lasting for a long time Compare:ACUTE Can a disease be both "acute" and "chronic" simultaneously? For example it could be the case where a certain illness quickly becomes serious and have long term consequences Are there any "obtuse illnesses" ?",
"Using StartCoroutine() and WaitForSeconds() I am trying to perform two operations. First I want to increase the size of a GameObject and then delay for 0.1s before returning it back to its original size. However, when I try using StartCoroutine(), it keeps giving me the error : An object reference is required to access not-static members even though I made my Delay() function static. Can somebody please tell me what I'm doing wrong? public static void MoveSelected(int choice) { GameObject rock1 = GameObject.Find(\"Rock1\"); GameObject paper1 = GameObject.Find(\"Paper1\"); GameObject scissors1 = GameObject.Find(\"Scissors1\"); Vector3 scl; if (choice == 1) { scl = rock1.transform.localScale; scl.x *= 1.1f; scl.y *= 1.1f; rock1.transform.localScale = scl; StartCoroutine(Delay()); scl.x /= 1.1f; scl.y /= 1.1f; rock1.transform.localScale = scl; } else if (choice == 2) { scl = paper1.transform.localScale; scl.x *= 1.1f; scl.y *= 1.1f; paper1.transform.localScale = scl; StartCoroutine(Delay()); scl.x /= 1.1f; scl.y /= 1.1f; rock1.transform.localScale = scl; } else if (choice == 3) { scl = scissors1.transform.localScale; scl.x *= 1.1f; scl.y *= 1.1f; scissors1.transform.localScale = scl; StartCoroutine(Delay()); scl.x /= 1.1f; scl.y /= 1.1f; rock1.transform.localScale = scl; } } static IEnumerator Delay() { yield return new WaitForSeconds(0.1f); }",
"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.",
"Crontab entry executing every hour",
"Example of a domain where all irreducibles are primes and that is not a GCD domain One has the following relations for a domain $R$: $R$ GCD domain $\\Rightarrow$ All irreducible elements are prime $R$ PID $\\Rightarrow$ $(R$ GCD domain $\\land$ $R$ statisfies ACCP$)$ $R$ UFD $\\Leftrightarrow$ $(R$ GCD domain $\\land$ $R$ satisfies ACCP$)$ $R$ satisfies ACCP $\\Rightarrow$ $(R$ UFD $\\Leftrightarrow$ All irreducible elements are prime$)$ $R$ GCD domain $\\Rightarrow$ $(R$ UFD $\\Leftrightarrow$ $R$ atomic domain$)$ So what is the difference between a GCD domain and a domain where all irreducible elements are prime? What is the \"weakest\" predicate $P$ such that $R$ GCD domain $\\Leftrightarrow$ $($All irreducible elements are prime $\\land$ $P(R))$ ?"
] | medi_sts_stackexchange_dupe |
Transit visa rules in Dubai airport | Do I need a transit visa for a layover in the United Arab Emirates? | [
"Why is my text pixelated? Within my game I have some cubes with text which render fine. In addition to the cubes I want to display some static text, e.g. the current score. The score text has the camera as parent and a copy rotation constraint on the camera. While this concept works fine in principle, the score text is displayed very pixelated. I already increased the font size to 50 and made the text smaller by scaling it down, but it still doesn't show nicely. The score text is about 11 Blender units away from the camera. If I move the score text further away, it displays better, but then the text interferes (collides) with the cubes. What could I do to improve the quality of this text? Download . Open the SSCCE in Blender 2.70. Hover your mouse over the 3D viewport. Press P to start game engine.",
"How to create a shortcut that executes an xdotool command to simulate a key press? I'm trying to simulate a media key press using a custom shortcut. So far, I've been able to achieve the simulation I need using the command: xdotool key XF86AudioPlay It works perfectly, it pauses or starts the music player every time it is run. The problem comes when trying to run it as a shortcut. First I tried to run an alias with a custom shortcut, but it did not work. As explained on : The commands run by keyboard bindings are not parsed via a shell. Your best bet is to create a directory bin in your homedir. Next I created the suggested script and named it simplay: #!/bin/sh xdotool key XF86AudioPlay It is located inside a bin folder which is part of the PATH, this works fine and can be run from any location. When trying to create the Custom Shortcut, I was unable to get it to execute, the configuration is the following: Name: test Command: simplay Shortcut: Ctrl+Alt+R After searching a bit more I found another way to execute the shortcut: gnome-terminal -e simplay I tried it on a terminal and noticed that when executing it it would rapidly open a new terminal window, execute the child process, pausing the music and immediately close the window. I changed the command on the shortcut and when hitting it I noticed the same behavior opening a terminal and immediately being closed but this time the child process did not pause the music, which makes me think that the script has been called on all my previous attempts but it is somehow not being able to execute. How can I solve this problem according to your knowledge?",
"How do I show for an ideal transformer $M^2=L_1L_2$? I've been stuck on this problem for about an hour. In an ideal transformer, the same flux passes through all turns of the primary and of the secondary . Show that in this case $M^2=L_1L_2$, where $M$ is the mutual inductance of the coils, and $L_1$, $L_2$ are their individual self-inductances. My first instinct was the following: If we isolate the response of each coil to the other one, we get the equations $N_1\\Phi_1=MI_2$ and $N_2\\Phi_2=MI_1$, where $\\Phi$ is magnetic flux going through a single turn of the coil and $I$ is current. Likewise, if we isolate the response of each coil to itself, we get the equations $N_1\\Phi_1=L_1I_1$ and $N_2\\Phi_2=L_2I_2$. I would now naturally want to say \"Now just multiply $N_1\\Phi_1$ and $N_2\\Phi_2$ both ways, and get the desired result!\" i.e., $$(N_1\\Phi_1)(N_2\\Phi_2)=(MI_2)(MI_1)=(L_1I_1)(L_2I_2)\\implies M^2=L_1L_2$$ But that's incorrect, because the response of the coils to themselves and to the other coil are different quantities (i.e. not necessarily equal). Realizing this, I write down the more general equations. $$N_1\\Phi_1=MI_2+L_1I_1$$ $$N_2\\Phi_2=MI_1+L_2I_2$$ Now even with the hypothesis that $\\Phi_1=\\Phi_2=\\Phi$, I still can't see how the identity $M^2=L_1L_2$ follows. Could you help clear up my confusion? *Taken from D. Griffiths Introduction to Electrodynamics (4th ed.), Problem 7.58.",
"How to make putty to not break my session after some time?",
"I am taking my first dive into testing a mobile app. It will be available to iOS and Android. I've been searching for a way to test and automate iOS without having an actual iPhone or any other Mac device. We run Windows here at the office. I was looking to use iPhone emulators but it doesn't seem possible. I saw Appium Studio/SeeTest but it seems even that requires iTunes and a real device. I know you can set up a Mac vm on a Windows machine but are there any other ways to test iPhone without having to do this?",
"Importance of PTR records on nameserver IP's? I have not yet experienced any DNS failures due to a missing PTR record, but am wondering: Is there any added value in having a valid PTR record on a nameserver IP-address?",
"Is it only red, green and blue that can make up any color through additive mixture? I'm reading about color vision and have some trouble understanding the motivation for why the was suggested in the first place. The book I'm reading (\"Psychgology: The science of mind and behavior\") states: At the beginning of the nineteenth century it was discovered that any colour in the visible spectrum could be produced by some combination of the wavelenghts that corresponds to the colours blue, green and red in what is known as additive color mixture. From the explanation in the book, it seems like this somehow should be a reason for also supposing that the human retina was composed of cones sensitive to the colors green, red and blue respectively. I guess this would be a valid argument if it was only red, green and blue that, through additive mixture, could make up any color. Is it only red, green and blue that, through additive mixture, can make up any color?",
"...where each object also has references to other objects within the same array? When I first came up with this problem I just though of something like var clonedNodesArray = nodesArray.clone() would exist and searched for info on how to clone objects in javascript. I did find a on StackOverflow (answered by the very same @JohnResig) and he pointed out that with jQuery you could do var clonedNodesArray = jQuery.extend({}, nodesArray); to clone an object. I tried this though, this only copies the references of the objects in the array. So if I nodesArray[0].value = \"red\" clonedNodesArray[0].value = \"green\" the value of both nodesArray[0] and clonedNodesArray[0] will turn out to be \"green\". Then I tried var clonedNodesArray = jQuery.extend(true, {}, nodesArray); which deep copies an Object, but I got \"too much recursion\" and \"control stack overflow\" messages from both Firebug and Opera Dragonfly respectively. How would you do it? Is this something that shouldn't even be done? Is there a reusable way of doing this in Javascript?",
"subequations and array in braces",
"Centering with \\includegraphics not with \\begin{figure}? I mess up with things when I try to use the figure-thing: the picture is not appearing with the correct alignment (apparently because I forget the float package). Now I want to use only the graphicx package with \\includegraphics. How can I center the \\includegraphics without figure? Not working or doing centering to the document afterwards. \\includegraphics[width=0.5 \\textwidth]{./Pictures/r.png}{\\centering} \\includegraphics[width=0.5 \\textwidth]{./Pictures/r.png}\\centering",
"Input string was not in a correct format",
"Show that if $f(z)=\\sum\\limits_{n\\geq0}a_nz^n$ is analytic in $\\{z\\in\\mathbb{C}:|z|<1\\}\\cup\\{1\\}$ and $\\forall n\\geq0:a_n\\geq0$ then the radius of convergence of the power series is strictly larger than $1$. My approach: Let $D=\\{z\\in\\mathbb{C}:|z|\\leq1\\}$. We have that $f(1)$ converges, so $\\sum\\limits_{n\\geq 0} a_n<\\infty$. Moreover since the $a_n$'s are all positive we have that $|a_n|=a_n$, therefore $\\sum\\limits_{n\\geq 0} |a_n|=\\sum\\limits_{n\\geq 0} a_n<\\infty$. Let $f_n(z)=a_nz^n$, then $\\forall z\\in D, n\\geq 0$ we have: $$|f_n(z)|=|a_nz^n|=|a_n|\\cdot|z^n|=a_n\\cdot |z|^n\\leq a_n\\cdot 1^n\\leq a_n$$ Then, applying Weierstrass M-test we get that the power series is convergent in $D$. Now, I need to \"find\" an open ball $B$ such that $D\\subset B$ and the power series is convergent in it. Edit $f$ is analytic in $1$, so there is an open set $U$ that contains $1$ such that $$f(z)=\\sum\\limits_{n\\geq 0} b_n(z-1)^n$$ Does it mean that the series is convergent in $U$? I can see that we have that the two series coincide in $D\\cap U$.",
"I am a Pakistani national and need to transit through Dubai International Airport (DXB). I am not planning to leave the airport and both of my flights (arrival and departure) are from Terminal 3. I am pretty sure that I do not need transit visa at the DXB, however it is no where mentioned on any of their official website. Can anyone please provide me such a link stating that transiting without leaving the airport does not require visa at DXB, as I need to use this link as a proof for a visa application? Thanks",
"How can I get Google to stop thinking I'm a Bot? So, I'm getting the occasional CAPTCHA message, which is irritating but fine, but occasionally Google just blocks my network wholesale. I've submitted automated requests to unblock it, but I have no idea who I can email directly to clarify the issue. I've run all manner of anti-virus, parsed my router's logs, combed through Fiddler to see if any errant packets were slipping by. Nothing. The only Google searches that happen are made by me through the web-browser. Who or what do I have to do to get Google to stop falsely flagging my network as a spam-bot?",
"Insert into ... values ( SELECT ... FROM ... ) I am trying to INSERT INTO a table using the input from another table. Although this is entirely feasible for many database engines, I always seem to struggle to remember the correct syntax for the SQL engine of the day (, , , , and ). Is there a silver-bullet syntax coming from an SQL standard (for example, ) that would allow me to insert the values without worrying about the underlying database?",
"Is the following layout possible with the subfigure package?",
"Story with VR worlds for the wealthy",
"How to handle trigger recursion I have two objects A(parent) and B(child) related by a lookup relationship. I need to update records in object A using data loader. There is an after update trigger on object A which updates some fields on related records of object B. On object B as well there is an after update trigger which updates a field on parent object A. How can i handle recursion.",
"I know there a lot of posts about ram but I'm still confused about it. I'm building a new system and because it was cheaper, I bought a 6GB kit from Corsair. So I'm wondering if I would be better off just using 4GB of it in a dual channel configuration or just add all 6GB (3 DIMMS) in a single channel configuration. Thanks",
"This is a batch file in Windows. Here is my .bat file @echo off copy \"C:\\Remoting.config-Training\" \"C:\\Remoting.config\" \"C:\\ThirdParty.exe\" This works fine except the .bat file leaves the command window open the whole time the \"ThirdParty\" application is running. I need the command window to close. I would use the short-cut for the application but I must be able to run this copy command first (it actually changes which data base and server to use for the application). The ThirdParty application does not allow the user to change the source of the db or the application server. We're doing this to allow users to change from a test environment to the production environment."
] | medi_sts_stackexchange_dupe |
How to get server name from file information? | Getting / setting file owner in C# | [
"I guess I've been somewhat ignorant when it comes to the finer details of pcb layout. Lately I've read a couple of books that try their best to lead me on the straight and narrow. Here is a couple of examples of a recent board of mine, and I have highlighted three of the decoupling caps. The MCU is a LQFP100 package and the caps are 100nF in 0402 packages. The vias connect to ground and power plane. The top cap (C19) is placed according to best practices (as I understand them). The other two are not. I haven't noticed any problems. But then again the board has never been outside the lab. I guess my question is: How big a deal is this? As long as the tracks are short, does it matter? The Vref pins (reference voltage for the ADC) also have a 100nF cap across them. Vref+ comes from an onboard TL431 shunt regulator. Vref- goes to ground. Do they require special treatment like shielding or local ground? EDIT Thanks for great suggestions! My approach has always been to rely on an unbroken ground plane. A ground plane will have the lowest possible impedance, but this approach may be too simplistic for higher frequency signals. I've made a quick stab at adding local ground and local power under the MCU (The part is an NXP LPC1768 running at 100MHz). The yellow bits are the decoupling caps. I'll look into paralleling caps. The local ground and power are connected to the GND layer and the 3V3 layer where indicated. The local ground and power are made with polygons (pour). It's going to be a major rerouting job to minimize the length of the \"tracks\". This technique will limit how many signal tracks can be routed under and across the package. Is this an acceptable approach?",
"apt-get autoremove wants to remove linux headers",
"People like myself are Stack Exchange trusted users with thousands of reputation points and hundreds of badges. In other words, we've proven ourselves as people who are assets to Stack Exchange and are a key component in making it so profitable. As such, I was surprised when I posted on the site, and then shortly afterwards tried to on that same meta site, but was blocked with a message in red stating I had to wait 40 minutes before posting again. Why is this limit present for trusted Stack Exchange contributors, and can it be changed?",
"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?",
"Fermat's Last Theorem with negative exponent",
"Integral of the square of the normal distribution.",
"Prove the following integral inequality: $\\int_{0}^{1}f(g(x))dx\\le\\int_{0}^{1}f(x)dx+\\int_{0}^{1}g(x)dx$ Suppose $f(x)$ and $g(x)$ are continuous function from $[0,1]\\rightarrow [0,1]$, and $f$ is monotone increasing, then how to prove the following inequality: $$\\int_{0}^{1}f(g(x))dx\\le\\int_{0}^{1}f(x)dx+\\int_{0}^{1}g(x)dx$$",
"Just wondering if someone can give me an explanation for this capacitor layout - what is it's function? The chip to the right is an ADC. Circled in blue. I'm guessing it is well known but i don't know how to search for it.",
"What are all the member-functions created by compiler for a class? Does that happen all the time?",
"I've installed reCAPTCHA module but spam still bypass my security and leave nasty comments. What should I do? How to block them?",
"Changing unusual foreign currencies in London I've just returned from several unusual countries in Asia, and annoyingly despite being told I'd have no problem, I'm unable to find anyone in London to change back to pounds. I've tried Travelex in Heathrow, a currency exchange place, and the post office. The currencies include cash from: Mongolia, Kyrgyzstan, Kazakhstan and Uzbekistan. Most of the responses when shown the money is to the tone of \"What the hell currency is this?\" which doesn't fill me with confidence. Any suggestions welcomed for places that may change this. Otherwise I may need to go back next year ;)",
"Over the years I have seen a few people transport a dog on a bike. What options have you seen? Please include a photo in your answer if possible.",
"Probability of Various Combinations of Weather There's a 10% chance it will rain today. There's a 15% chance it will snow today. What percentage chance is it that it will: Both rain and snow (it can both rain and snow at the same time)? Neither rain nor snow? - Raining and snowing are independent of each other. EDIT: (ADDED) Rain or snow but not both?",
"How do we remove an ex-girlfriend from a car loan?",
"How can I send an email using a template? I have created a email template in ExactTarget API and I want to use it executing XML from SoapUI. Is there any tutorial or examples of how can this be done? I'm new at this and I'm not sure how ExactTarget really works.",
"Ckeditor toolbar not entirely showing up I have just moved my site from local machine to production, the wysiwyg editor based on ckeditor no longer show the complete toolbar. I have a minimal list of element. Can someone help, am trying everything, edit profile, check if all files are uploaded, i don't see any problem !",
"Recently, the titles to some questions have been displaying as \"undefined\": \"undefined\" is replaced with the question's true title upon refreshing the page. Is this a bug?",
"Why are symmetric positive definite (SPD) matrices so important? I know the definition of symmetric positive definite (SPD) matrix, but want to understand more. Why are they so important, intuitively? Here is what I know. What else? For a given data, Co-variance matrix is SPD. Co-variance matrix is a important metric, see this for intuitive explanation. The quadratic form $\\frac 1 2 x^\\top Ax-b^\\top x +c$ is convex, if $A$ is SPD. Convexity is a nice property for a function that can make sure the local solution is global solution. For Convex problems, there are many good algorithms to solve, but not for non-covex problems. When $A$ is SPD, the optimization solution for the quadratic form $$\\text{minimize}~~~ \\frac 1 2 x^\\top Ax-b^\\top x +c$$ and the solution for linear system $$Ax=b$$ are the same. So we can run conversions between two classical problems. This is important because it enables us to use tricks discovered in one domain in the another. For example, we can use the conjugate gradient method to solve a linear system. There are many good algorithms (fast, numerical stable) that work better for an SPD matrix, such as Cholesky decomposition. EDIT: I am not trying ask the identities for SPD matrix, but the intuition behind the property to show the importance. For example, as mentioned by @Matthew Drury, if a matrix is SPD, Eigenvalues are all positive real numbers, but why all positive matters. @Matthew Drury had a great answer to flow and that is what I was looking for.",
"$f$ a real, continuous function, is it measurable? Let $f: \\mathbb{R} \\to \\mathbb{R} $ be a continuous function. I need to show that is a measurable function. I tried working with the definition: Let $f: X \\to \\mathbb{R}$ be a function. If $f^{-1}(O)$ is a measurable set for every open subset $O$ of $\\mathbb{R}$, then $f$ is called a measurable function. Since $f^{-1}(O)$ also lies in $\\mathbb{R}$, I think it is sufficient to show that every subset of $\\mathbb{R}$ is measurable. But is this possible? So far I concluded that $\\mathbb{R}$ itself is measurable, since $$\\mu(A) = \\mu(A \\cap \\mathbb{R}) + \\mu(A \\cap \\mathbb{R}^c) = \\mu(A) + \\mu(\\emptyset) = \\mu(A).$$ How do I need to approach?",
"I've pluged e-pci power cable(6+2pin) to eps 8 pin on motherboard"
] | medi_sts_stackexchange_dupe |
Why is work done equal to force×displacement? | What is behind the definitions of work and energy? | [
"Methods to compute $\\sum_{k=1}^nk^p$ without Faulhaber's formula As far as every question I've seen concerning \"what is $\\sum_{k=1}^nk^p$\" is always answered with \"Faulhaber's formula\" and that is just about the only answer. In an attempt to make more interesting answers, I ask that this question concern the problem of \"Methods to compute $\\sum_{k=1}^nk^p$ without Faulhaber's formula for fixed $p\\in\\mathbb N$\". I've even checked this without finding what I want. Rule #1: Any method to compute the sum in question for arbitrary $p$ is good, either recursively or in some manner that is not in itself a closed form solution. Even algorithms will suffice. Rule #2: I don't want answers confined to \"only some values of $p$\". (A good challenge I have on the side is a generalized geometric proof, as that I have not yet seen) Exception: If your answer does not generalize to arbitrary $p$, but it still generalizes to an infinite amount of special $p$'s, that is acceptable. Preferably, the method is to be easily applied, unique, and interesting. To start us off, I have given my answer below and I hope you all enjoy.",
"I forgot my iPhone 5 passcode when I was changing the code. A window appeared on the device screen saying that iPhone is disabled. I have Apple ID and password for it. After signing in to iCloud I have erased the device in order to remove the passcode from my iPhone but it still says that device will be erased when device will connect to internet. What would i have to do?",
"How can I type a Unicode character (for example, em-dash —?) The title pretty much says it all: how can I type Unicode characters - specifically the em-dash —?",
"What would be an appropriate opposite of \"exceed\"?",
"A word that says a person is both female and your friend",
"Can we have a system to submit potential robo-reviewers for moderators attention?",
"What are the requirements to get the \"Weed Eater\" hat? The hat's description says answer a question qualifying for the Tumbleweed badge that gets accepted During the winter bash, I a question that is a , and it got accepted; yet I did not get the hat. However answer and did get the hat. (What was the difference?) So what are the exact requirements to get the hat?",
"I just bought \"Reputation to the max\". I bought this first, because I really want to help the cleanup of the vote-to-close queue, which, despite the efforts I've been hearing about, is still quite large. According to SO, my reputation is now 15,750, but that queue still says I need at least 3k rep to review! That is clearly a bug!",
"How can I resize an ext root partition at runtime? How can I increase the size of the root partition of a system at runtime? I have a partition that is not allocated after the root partition (which is also ext4), how can I add that unallocated space to the space allocated to the root partition without having to shutdown the server?",
"Why not to extend the set of natural numbers to make it closed under division by zero?",
"Syntax highlighting in app differs from normal web view",
"Extrusions causing problems in edit mode When I extruded vertices in edit mode, for some reason one of the sides of my 3-D model (the textured-looking side to the right) is creating a lot of errors. First off, it automatically sets extrusions on the x-axis. Secondly, it doesn't allow me to extrude planes into 3-D shapes. Thirdly, I can't increase the height of vertices without it creating a new face. Finally, it renders those automatic textures to create a grainy black texture in render mode. I attached an image with the solid object (top) and the rendered object (bottom). Note: I did not set any textures or alter the lighting on the model. Also, the left gray side is working perfectly fine without errors.",
"Are intermediate rings of finitely generated ring extensions also finitely generated?",
"I often find that I can zoom in to a point, but then cannot zoom any more, even when there is a lot of room to zoom to the meshes on the scene. This is particularly annoying in the following scenario: I often land up left clicking on the scene and the 3D cursor shifts there. I use Shift+C to shift the 3D cursor back to the origin. However, this also centers the view on the cursor and shifts the view to show all objects, and sometimes this zooms things way out – at this point, if I try to zoom in, I can zoom in to a point (using the pinch/zoom on trackpad), but then it stops zooming in. How do I zoom in after that? Is there anything else I am doing wrong in this case?",
"polar decomposition of a square A when A is not full rank/invertible",
"Integrate $\\int \\frac{25 - x^2}{x^4} \\operatorname d\\!x$",
"Play a short sound in iOS",
"Java method dispatch with null argument",
"What is the domain of $x^x$ as a real valued function? Consider the function $f(x) = x^x$. Wolfram alpha tells me that this function's domain is $x : x>0$, $x \\in \\mathbb{R}$. I can't see why it cannot be defined for a number like $(-2)$. I mean $(-2)^{-2}=0.25$, the same Wolfram Alpha told me. I realize that fractional powers for negative numbers may cause problems, but it could be defined for integers. Thanks for any help.",
"Replacing fonts in EPS/PDF files"
] | medi_sts_stackexchange_dupe |
Multiplication bug in java? | Why does Perl's sprintf not round floating point numbers correctly? | [
"Rules for refreezing food",
"Can I become leader of the Thieves' Guild without finishing the main chain and is there any benefits from being the leader anyway? I completed the quest where you get the Skeleton Key and I don't really want to continue the chain until I've done a lot of the other stuff in the game, since the key is so useful. Brynjolf said before that I would become leader of the guild after everything was over. Can I become the leader anyway without finishing the Nightingales quest chain? Are there any bonuses for being the leader?",
"Differences between derivatives and strong derivatives Definition: Let $f$ be a real valued function. We say $f$ is $\\mathbf{strongly}$ $\\mathbf{differentiable}$ at $x = a$ if the following limits exists and is finite: $$ \\lim_{x \\to a, y \\to a, x \\neq y} \\frac{ f(x)-f(y)}{x-y} = f^*(a) $$ and we can $f^*(a)$ the strong derivative of $f$ at $a$. Why is this definition of derivative different than the usual one? What is the main crucial point to understand here that makes it different?",
"How do injuries work with Polyjuice Potion? We know that if you (using Polyjuice), take the form of someone who had been injured, you assume that injured form (e.g. Barty/Moody). If you are injured, presumably you would be uninjured while under Polyjuice. My question is, is this in real-time? That is, if you take a Polyjuice, and while you're still under its effects, the person being transformed into gets injured (or even dies), will that injury be transferred onto you? And conversely, if you get injured while in someone else's body, will that transfer over to your real body after the Polyjuice wears off, will it disappear, or will it go to the person you turned into?",
"Use of \"to lunch\" vs.\"for lunch\" Which is right? I went to the (mall) to meet my parents for lunch / to lunch This for a paper I am submitting for a writing assignment. I have heard \"to lunch\" is right, but is it right in this sentence please?",
"c++ get registry key returns only one char",
"Software/App for electronic research notebooks I want to keep a research notebook for my computational \"experiments\". Basically, I should at least be able to write text and attach images like plots. Other nice features to have would be linking to past experiments/pages latex equations uploading papers, or other urls being able to transfer data dating and version control open-source tool I am already familiar with trello and tiddlywiki. Trello is good for attaching stuff and organising tasks, but I need a notebook where I attach a plot, write stuff around it, attach another below it. It doesn't have a paper or canvas. Tiddlywiki is a little painful for attaching pics and equations, the file bloats, it seems I am keeping a blog. What is a good, free electronic notebook tool for research/lab work?",
"How can I get bash to perform tab-completion for my aliases? I have a bunch of bash completion scripts set up (mostly using bash-it and some manually setup). I also have a bunch of aliases setup for common tasks like gco for git checkout. Right now I can type git checkout dTab and develop is completed for me but when I type gco dTab it does not complete. I'm assuming this is because the completion script is completing on git and it fails to see gco. Is there a way to generically/programmatically get all of my completion scripts to work with my aliases? Not being able to complete when using the alias kind of defeats the purpose of the alias.",
"I would be happy to get some hints on the following integral: $$ \\int_0^1\\frac{x^{19}-1}{\\ln x}\\,dx $$",
"How do I make protocol foo hostname-aware? This is a about hostname-awareness and proxying. I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www.example.com's HTTP service, not www.example.net's, even though they are on the same IP address. How can I do this for protocol foo? (Temporary note: this question appears pursuant to .)",
"Say a security has been trading at under $20.10, and there are limit orders selling at $20.10 and $20.21. Then Simon issues a limit order to buy at $20.21. According to , Simon would end up buying shares at $20.10. Why does the exchange favor the buyer here? I.e., why does the transaction execute at the seller's limit of $20.10 instead of the buyer's limit of $20.21? (I.e., why don't Inara/River get to sell at $20.21 / above their limit, but Simon gets to buy at $20.10 / below his limit?) Is the example flawed? If it makes a difference, I'm mainly curious about NASDAQ and NYSE. I tried Googling for specs (e.g. ), but couldn't find anything. Only found that some implementation executes the average of the buy/ask. Just curious how the system works.",
"dynamic does not contain a definition for a property from a project reference",
"What are some efficient ways to combine two structures in MATLAB? I want to combine two structures with differing fields names. For example, starting with: A.field1 = 1; A.field2 = 'a'; B.field3 = 2; B.field4 = 'b'; I would like to have: C.field1 = 1; C.field2 = 'a'; C.field3 = 2; C.field4 = 'b'; Is there a more efficient way than using \"fieldnames\" and a for loop? EDIT: Let's assume that in the case of field name conflicts we give preference to A.",
"I am trying to understand How can a set contain itself? Can you show example of set which is not a set of all sets and it contains itself.",
"How do I identify SMD components? (or how do I identify any component) How do I identify the markings on an SMT component and match it up with a part number so I can be a good designer and actually look at a datasheet (and read the whole thing)? Or identify a part to replace an unknown part on a PCB?",
"My Windows 10 notebook died but fortunately I was able to rescue the hard drive and put it into another PC. Unfortunately, the other PC can't open the C/Users/Joe folder. What do I have to do to open the folder?",
"I'm looking to clarify the differences/overlaps between the three and, if the terminology isn't accurate establish the correct terminology",
"After looking into the different OAuth types and reading , I'm still confused on the specific pros and cons of user-agent vs web server flows. The best explanation I can find says that user-agent tends to be used for mobile but it seems that they can both be used for desktop. What makes it more appropriate to use one over the other in certain scenarios?",
"Probability of an even number of sixes We throw a fair die $n$ times, show that the probability that there are an even number of sixes is $\\frac{1}{2}[1+(\\frac{2}{3})^n]$. For the purpose of this question, 0 is even. I tried doing this problem with induction, but I have problem with induction so I was wondering if my solution was correct: The base case: For $n=0$, our formula gives us $\\frac{1}{2}[1+(\\frac{2}{3})^0] =1$. This is true, because if we throw the die zero times, we always get zero sixes. Suppose it's true for $n=k$. Then the odds of an even number of sixes is $\\frac{1}{2}[1+(\\frac{2}{3})^n]$, and thus the odds of an odd number of sixes is $1 - \\frac{1}{2}[1+(\\frac{2}{3})^n]$. For $n=k+1$, there are two ways the number of sixes are even: a. The number of sixes for $n=k$ was even, and we do not throw a six for $n=k+1$: $ \\frac{5}{6} \\cdot \\frac{1}{2}[1+(\\frac{2}{3})^n]$ b. The number of sixes for $n=k$ was odd, and we throw a six for $n=k+1$: $\\frac{1}{6}(1 - \\frac{1}{2}[1+(\\frac{2}{3})^n])$ So the probability $p$ for an even number of sixes at $n=k+1$ is $ \\frac{5}{6} \\cdot \\frac{1}{2}[1+(\\frac{2}{3})^n] + \\frac{1}{6}(1 - \\frac{1}{2}[1+(\\frac{2}{3})^n])$ I have two questions How do I get from $ \\frac{5}{6} \\cdot \\frac{1}{2}[1+(\\frac{2}{3})^n] + \\frac{1}{6}(1 - \\frac{1}{2}[1+(\\frac{2}{3})^n])$ to $\\frac{1}{2}[1+(\\frac{2}{3})^n]$? I seem to have done something wrong, I can't get the algebra correct, I get $p = \\frac{1}{3}[1+(\\frac{2}{3})^n] + \\dfrac{1}{6}$ Other than that, is my use of induction correct? Is it rigorous enough to prove the formula?",
"System program problem detected?"
] | medi_sts_stackexchange_dupe |
Which one is the best answer and why? | What’s the rule for using “who” and “whom” correctly? | [
"Hi I would like to know whether the trace of the inverse of a symmetric positive definite matrix $\\mathrm{trace}(S^{-1})$ is convex. Actually I know that the trace of a symmetric positive definite matrix $S\\in M_{m,m}$ is convex since we can find $B\\in M_{n,m}$ such that $S=B^T\\times B$ then we can write the trace as the sum of scalar quadratic forms, i.e. $\\mathrm{trace}(S)=\\mathrm{trace}(B^T\\times B)=\\sum_{j=1}^mb_j^T\\times b_j$ where $b_j$ is the $j^{th}$ column of $B$. for instance if we have $trace([\\begin{array}{cc} 1 & 2 \\\\ 3 & 4 \\\\ \\end{array}] \\times [\\begin{array}{cc} 1 & 3 \\\\ 2 & 4 \\\\ \\end{array}])= [\\begin{array}{cc} 1 & 2 \\\\ \\end{array}]\\times [\\begin{array}{c} 1 \\\\ 2 \\\\ \\end{array}]+ [\\begin{array}{cc} 3 & 4 \\\\ \\end{array}]\\times [\\begin{array}{c} 3 \\\\ 4 \\\\ \\end{array}]=30$ And so I wonder if $\\mathrm{trace}(S^{-1})$ is convex too..",
"Zero visibility while editing a message in a chat room",
"Why is it impossible, without attempting I/O, to detect that TCP socket was gracefully closed by peer? As a follow up to a , I wonder why it is impossible in Java, without attempting reading/writing on a TCP socket, to detect that the socket has been gracefully closed by the peer? This seems to be the case regardless of whether one uses the pre-NIO Socket or the NIO SocketChannel. When a peer gracefully closes a TCP connection, the TCP stacks on both sides of the connection know about the fact. The server-side (the one that initiates the shutdown) ends up in state FIN_WAIT2, whereas the client-side (the one that does not explicitly respond to the shutdown) ends up in state CLOSE_WAIT. Why isn't there a method in Socket or SocketChannel that can query the TCP stack to see whether the underlying TCP connection has been terminated? Is it that the TCP stack doesn't provide such status information? Or is it a design decision to avoid a costly call into the kernel? With the help of the users who have already posted some answers to this question, I think I see where the issue might be coming from. The side that doesn't explicitly close the connection ends up in TCP state CLOSE_WAIT meaning that the connection is in the process of shutting down and waits for the side to issue its own CLOSE operation. I suppose it's fair enough that isConnected returns true and isClosed returns false, but why isn't there something like isClosing? Below are the test classes that use pre-NIO sockets. But identical results are obtained using NIO. import java.net.ServerSocket; import java.net.Socket; public class MyServer { public static void main(String[] args) throws Exception { final ServerSocket ss = new ServerSocket(12345); final Socket cs = ss.accept(); System.out.println(\"Accepted connection\"); Thread.sleep(5000); cs.close(); System.out.println(\"Closed connection\"); ss.close(); Thread.sleep(100000); } } import java.net.Socket; public class MyClient { public static void main(String[] args) throws Exception { final Socket s = new Socket(\"localhost\", 12345); for (int i = 0; i < 10; i++) { System.out.println(\"connected: \" + s.isConnected() + \", closed: \" + s.isClosed()); Thread.sleep(1000); } Thread.sleep(100000); } } When the test client connects to the test server the output remains unchanged even after the server initiates the shutdown of the connection: connected: true, closed: false connected: true, closed: false ...",
"Show that if $fd'=f'd $ and the pairs $f, d $ and $f',d' $ are coprime, then $f=f' $ and $d=d' $. Show that if $fd'=f'd $ and the pair $f, d $ are coprime, that is gcd($d,f $)=1, as is the pair $f',d' $, then $f=f' $ and $d=d' $. This should be simple, but I couldn't verify it. Thanks in advance!",
"Shortest path from points in one layer to points in another layer via roads in QGIS",
"Let $f$ be differentiable at $x=a$. Prove that if $x_n \\to a^+$ and $y_n \\to a^-$ then: $$\\lim_{n\\to \\infty} \\frac{f(x_n)-f(y_n)}{x_n-y_n}=f'(a).$$ Every option that I think about seems to my very trivial, so I believe that I am doing something wrong. Both numerator and denominator approach zero as $n\\to\\infty$ as the case of the formal definition of derivative, but it isn't guaranteed that the limits are equal (“$\\frac{0}{0}$”). Any direction?",
"WebView loading Url",
"Do's and Don't's of Undergraduate Research I was fortunate enough to get a position as a researcher for the Mayo Clinic's SURF Program this year. My PI's lab focus is on the the immune system's role in CNS axonal and neuronal injury, specifically through the lens of how innate and adaptive immune effectors interact w/ infected neurons. Although I do research under a professor at my college and I volunteered for a state university lab during the previous summer, this is my first REU/SURF opportunity, and I REALLY want to make a good impression. Here are my questions: What are the do's and don't's in terms of being a skilled and efficient researcher? Since I am still an undergrad, I know that I will be a less useful asset to the lab than a grad student or post-doc, but what can I do as an undergrad to not burden my colleagues and PI? Thank you all for your help! Wishing you all the very best!",
"What are the technical advantages and disadvantages of mirrorless? The main doubt one can have about mirrorless is, I think that they do not provide ttl viewfinder. Is this a big disadvantage? In what way is it worst (or best) than classical reflex system? What are the others advantages and disadvantages of a mirrorless compared to a reflex? Have mirrorless a chance to replace reflex (at least for non pros) in the future?",
"Determine number of real roots of $f(x)=x^{5}+x^{3}-2x+1$. I used Descartes's rule of sign to determine the number of positive and negative roots; there is only 1 negative (hence minimum 1 real root) and two positive roots. These 2 positive roots can be anything- a complex pair, or two real roots- but what about the other 2 roots? Is there any flaw in my understanding of rule of signs? How can I find the exact number of real roots? Thanks in advance.",
"Turning off \"Update page numbers only\" in Word When I update the fields document-wide (Ctrl + A, then F9) in a Word document that has a table of contents, a dialog appears asking if I want to update page numbers only, or update the entire table. I never want to update page numbers only if the document headings have changed, nor will I ever. (Apparently this is given as an option in case someone has manually changed an automatically generated ToC, which is almost always a really bad idea.) Unfortunately, \"Update page numbers only\" is the default selection in the dialog, which means that I have to select the other option every time. I update the fields all the time when I'm working in a document that has figures and cross-references, so this is an annoying extra step I'd really like to get rid of. Is there any way to tell Word to stop asking me this stupid unnecessary question?",
"How Triangle Law and Parallelogram law of addition of Vectors are different?Ain't they. Please don't tell me the things written in book......give me the appropriate reason.And how do i distinguish between the two while adding vectors,what am i trying to say is i get really confused where to use parallelogram law and where triangle law P.s:my basics are really weak though!May be the question might not be right",
"How can I see the source of built-in JavaScript functions?",
"\"Series\" – a noun of multitude similar to \"lot\", \"majority\", \"percentage\", \"proportion\"– verb agreement According to Garner's fourth edition Though serving as a plural when the need arises, series is ordinarily a singular noun. But it is also a noun of multitude, so that phrases such as a series of things take a plural verb. However, the collocation there {has been - is} a series has predominated in print sources. Common nouns of multitude: lot, majority, mass, minority, multitude, percentage, proportion, variety. However, reads When it has the singular sense of "one set," it takes a singular verb, even when series is followed by of and a plural noun: A series of lectures is scheduled. Are these dissimilar usages stylic advice? Secondly, the inversion after there also chooses singular elsewhere; why is it so? When the verb precedes the noun percentage, a singular verb is required. That is, a higher percentage of them are, but there is a higher percentage of them.",
"Is it possible to schedule my laptop to mute and unmute at a specific time? I always used to wake up to my favorite radio station on my alarm clock. However, I have moved and can no longer get that radio station over the air. To solve this problem, I would like to stream the station on my laptop, but have it muted overnight, then set it to unmute at a specific time in the morning, so that it will act as an alarm clock. Is there a way to schedule my laptop (Windows 7 64-bit) to unmute at a specific time?",
"In Age of Ultron, Thor seems to know something he possibly shouldn't? Sorry for the cryptic title, but I realise the film has only just been released in the UK and Europe and is yet to be released in the US. I'll hide all substantial parts of my question, just in case. I don't want to spoil anything. At the end of Age of Ultron, Thor states that 4 infinity stones have now shown up in the last few years. So, By my count we have the Tesseract, from several of the first few films. The Aether, from Thor 2. The Chitauri Scepter, again from several films. And finally, we have The Orb, from Guardians. Now, to my knowledge Thor, and indeed none of the Avengers, should know about The Orb. I don't remember Thor visiting the Collector between GoTG and the AoU. So, how did Thor know that The Orb had appeared? Or is he referencing a different infinity stone? I'm looking for an in universe answer, ideally.",
"True displacement in EEVEE? I have a Blender 2.8 scene with animated true displacement. It is created using material nodes and works fine in Cycles. However, EEVEE doesn't displace my meshes truly, only normals are changed. Is it possible and how to solve the problem now or in the future?",
"How to enable default file manager(nautilus) to handle desktop icons",
"Radius of convergence of entire function Let $f$ be an entire function on the complex plane. Is the radius of convergence of $f$ around any point $z_0$ infinite? If so, why? Thank you.",
"Where is composition tab in QGIS Composer to change page size? I am trying to change the page size in the QGIS 3.0 Composer but I am not able to see the Composition tab. I have right clicked an empty space in the toolbar but did not see anything about composition. I am using Windows 7. I tried looking at the QGIS docs but they are still in testing."
] | medi_sts_stackexchange_dupe |
How to avoid "Exception in thread "main" java.util.ConcurrentModificationException" error in Java | Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop | [
"What should be done with questions that have been resolved as a comment instead of an answer? I'm trying to go through and provide answers to every unanswered question (search "closed:0 answers:0"), somewhat following the spirit that was blogged about at . However, I'm finding this much more difficult than it needs to be, as many of the questions have already been answered without the use of an "answer" - but instead, in the form of a comment by either the OP or another poster. I wouldn't mind reading through and skipping these, as long as there was some appropriate action I could take to at least assist with preventing these questions from being seen again from the same query - either by myself or another SO member. Is there such an appropriate action? Should we vote to close? If so, using what reason? Even if I vote to close, what are the chances that 4 other users will also view the question and also vote to close? (i.e., will my individual vote even do any good? Is there any report to show recent close votes, so that others may also review and contribute supporting close votes?) Should we post some sort of an answer - even just something to the effect of "this was already answered by the OP's own comment to his answer (above)"? Would something like this be appropriate to flag for moderator attention, and let the moderators deal with it? (Or would this be considered too trivial?) Should we rename the question title to something standard that can be used in a search exclusion? (Maybe "SOLVED:"?) Basically, how can I help to denote questions as "This question is no longer in active search of an answer - though better answers may still be appreciated."? I've already reviewed , which was closed as a duplicate of - but this requires effort on part of a user who may very likely no longer be active. Otherwise, is there something I should be doing to improve my search to filter out these types of questions? I've run across this many times, so I don't consider it to be a rare issue. However, the last question like this I just ran across, prompting this question, was . In this case, the question was self-answered by the OP in the form of a comment, this question is the OP's only question, the OP has no other visible activity on SO, and the OP hasn't been seen on SO since he registered and posted the question 5 months ago. Another one I just ran across is . However, here the "answer" comment was posted by a reputable and recently active SO member. Should I leave a comment directed at him, asking him to re-post his comment as an answer, or should I post my own answer echoing his comment? (Or something else?) Yet another is . Interestingly, the OP actually self-edited the question to include the "SOLVED:" prefix on to the question, instead of posting his resolving comment as an answer (and ideally accepting it) as he was asked to do by another comment. This brings up another good idea - is there a "standard" we should use to rename the titles on these "resolved but unanswered" posts that could be used as a search exclusion? (Also added to the above list.)",
"What are imaginary numbers? At school, I really struggled to understand the concept of imaginary numbers. My teacher told us that an imaginary number is a number that has something to do with the square root of $-1$. When I tried to calculate the square root of $-1$ on my calculator, it gave me an error. To this day I still do not understand imaginary numbers. It makes no sense to me at all. Is there someone here who totally gets it and can explain it? Why is the concept even useful?",
"Gparted: move extended partition on the left I have some free disk space on the left of my ubuntu (sda5) What is best solution to extend sda5 ? I can copy sda3 or sda5 with dd to bigger disk. delete sda3,5,swap create sda3,5,swap dd original partition. Not sure how to do it properly. May be there is a simpler solution.",
"Hide text using css I have a tag in my html like this: <h1>My Website Title Here</h1> Using css I want to replace the text with my actual logo. I've got the logo there no problem via resizing the tag and putting a background image in via css. However, I can't figure out how to get rid of the text. I've seen it done before basically by pushing the text off the screen. The problem is I can't remember where I saw it.",
"In Cycles, is there a way to create a procedural texture that follows the longitudinal lines of a sphere? Like a beach ball or globe? The texture should be able to be mapped to any sphere-shaped object, not just perfect spheres. My current approach is to use a rotated wave texture, but that doesn't come from the poles (It uses latitudes)",
"Prime spectrums bijection but not homeomorphism",
"vertical lines in matrix using tikz package my problem is interconnected to my two previous posts ( and) and i've tried to incorporate answers into solution but without success. My task is this matrix multiplication with added description: and my so far code follows: \\documentclass{article} \\usepackage{tikz,amsmath} \\begin{document} \\begin{tikzpicture} \\node[minimum height=0cm,minimum width=2cm] (m) {}; \\path[shade,draw] (0,2) -- (0,5) -- (3,5) -- (3,0); \\draw (0,0) --(0,5); \\draw (3,0) --(0,2); \\draw (3,0) --(3,5); \\node (r11) at ([xshift=0.6cm,yshift=4cm]m.south) {$S_{11}$}; \\node (r11) at ([xshift=2.5cm,yshift=4cm]m.south) {$S_{12}$}; \\node (r11) at ([xshift=2.5cm,yshift=2.15cm]m.south) {$S_{22}$}; \\node (r11) at ([xshift=0.6cm,yshift=2.15cm]m.south) {$S_{21}$}; \\node (r11) at ([xshift=0.6cm,yshift=2.6cm]m.south) {$--------------$}; \\node (r11) at ([xshift=0.6cm,yshift=1.5cm]m.south) {$--------------$}; \\end{tikzpicture} \\[ \\begin{bmatrix} \\begin{equation} wn_{1} \\\\[0.3em] wn_{2} \\end{bmatrix} \\] \\end{document} with following output: I am not able to add vertical line and nodes and incorporate the matrix into document (vector that follows behind the matrix is not centered). Problem with nodes and incorporation is the same as in .",
"Let $f:(0,\\infty) \\to R$ be differentiable. Suppose that $\\lim_{x\\to\\infty}(f(x)+f'(x))=L$. Show that $\\lim_{x\\to\\infty} f(x) = L$ and $\\lim_{x\\to\\infty} f'(x) = 0$. (Hint: Write $f(x) = e^xf(x)/e^x$ and use l’Hopital’s Rule.) My working for $\\lim_{x\\to\\infty}f'(x)=0$: For $\\lim_{x\\to\\infty}f'(x) = 0$, I let $f(x) = e^xf(x)/e^x$ and applied quotient rule which then cancels off $e^{2x}$ and I'm left with $\\lim_{x\\to\\infty}(f(x)+f'(x)-f(x))$. Can I then equate this with $\\lim_{x\\to\\infty} \\left(f(x)+f'(x)\\right) - \\lim_{x\\to\\infty}f(x)$ which then gives $L-L=0$? Is this step correct?",
"If $S$ is a nonempty subset of group $G$, then $S^{|G|}$ is a subgroup of $G$. Let $G$ be a group with $|G| = n$ and let $ \\emptyset \\ne S \\subseteq G$. I want to show that $S^n$ is a subgroup of $G$ where by $S^n$ I mean the set $\\lbrace s_1\\cdots s_n \\; | \\; s_i \\in S\\rbrace$.",
"Preserve bash history in multiple terminal windows I consistently have more than one terminal open. Anywhere from two to ten, doing various bits and bobs. Now let's say I restart and open up another set of terminals. Some remember certain things, some forget. I want a history that: Remembers everything from every terminal Is instantly accessible from every terminal (eg if I ls in one, switch to another already-running terminal and then press up, ls shows up) Doesn't forget command if there are spaces at the front of the command. Anything I can do to make bash work more like that?",
"How can I let player click text to use a command? I want players to be able to click text to run an OP command even if that player is not an OP. For example something like: Console: Do you want to enable Fly? [If you do, Please click here] *Player1 clicks that text* Console: /fly Player1 Is something like this possible?",
"How do I remove my \"page not found\" pages from Google's index? I have a wordpress site that has had a large number of blog posts removed. How can i ask google to remove all these 404 page not founds, but leave the active blog posts. I see the removal tool in google webmasters but it doesnt say if it will just remove the 404s. I understand 404s naturally are removed from the index, but i want to expedite this.",
"Simple question. SO had turned me into a better developer by far, I like to browse questions that strike my interest and curiosity and just read through the answers. I never fail to learn something new everyday, whether it's something trivial or something much more complex. When I receive reputation it means a lot to me, almost a self achievement of sorts. Something I can show to someone to prove my \"worth\". I think it works for me as a great confidence booster, also its something I can show my friends who don't understand what I do. It almost feels like I can finally have something to back me up if need to be. So the question is what does YOUR reputation mean to YOU? Is it simply a number, is it a score as if you're playing a game, or does it help you mentally achieve your goals and improve yourself like it does for me.",
"If $0<a<b$, prove that $a<\\sqrt{ab}<\\frac{a+b}{2}<b$",
"Infinity, is clearly not . But there is some dissent on whether or not zero is finite. I have seen authors use \"finite\" to indicate the value of $0$ is excluded as well as infinity. Is there any rule about this?",
"How to print only defined variables (shell and/or environment variables) in bash The bash builtin command set, if invoked without arguments, will print all shell and environment variables, but also all defined functions. This makes the output unusable for humans and difficult to grep. How can I make the bash builtin command set print only the variables and not the functions? Are there other commands which prints only the shell variables, without the functions? Note: bash differentiates between shell variables and environment variables. see here",
"Database schema documentation for the public data dump and SEDE Stack Exchange releases \"data dumps\" of all its publicly available content roughly every three months , and also makes that information queryable over the Internet at the (SEDE) (updated weekly, on Sunday). Over time, as new features and other bits of data are introduced to Stack Exchange sites, the \"anatomy\" of the data dump is likely to change.",
"Let $x \\in \\mathbb R$ Find a closed form of $\\int_0^\\infty\\dfrac{\\cos(xt)}{1+t^2}dt$ . Let me give some context: this is an exercise from an improper integrals course for undergraduates. My teacher was not able to give a valid solution without resorting to Fourier series. He actually wanted to prove first that the function is a solution of the ODE $$ y-y'' =0$$ without succeeding in proving it. Anyway the result sould be $\\dfrac{\\pi}{2}e^{-x}$ Thanks for any help on this subject.",
"I understand that the entrance pupil is the image of the aperture as seen from the front of the lens. However, is the size of the entrance pupil the same as the size of the effective aperture? In other words, if I measure the size of the entrance pupil by looking at it, will that be equivalent to the focal length of the lens divided by the f-number (with the focus set to infinity)? I know that sometimes this is hard to estimate because of the shape of the aperture blades, but I was wondering whether pupil and aperture can be quite different (perhaps at very low magnification).",
"Let $f$ be a holomorphic function in $H={\\{z\\in\\mathbb{C}}:\\Re(z)>0\\}$ such that it is continuous in $cl(H)$, $|f(z)|\\leq1$ $\\forall z\\in \\delta H$ and $\\lim_{|z|\\to\\infty}f(z)=0 $. Prove that $|f(z)|\\leq1$ $\\forall z\\in H$. I thought about taking the bounded set $H\\cap D(0,R), R>0$. This way we could use the maximum modulus principle to prove it but I do not really know how to relate it with the limit since I would need $|f(z)|\\leq1$ $\\forall z\\in H\\cap D(0,R)$, and I do not have it on $D(0,R)$."
] | medi_sts_stackexchange_dupe |
How do I disable system's alt+grave on 14.04? | How to disable Alt + ` (backtick/grave) | [
"How do I opt-out of the new Reply in Gmail? Today, when trying to reply to a message in Gmail, I was told that there is a new reply mode and then it was automatically enabled. I find it difficult to use, and it doesn't let you reply to the message in accordance with the netiquette I'm used to. How do I opt-out of this brand new reply mode? It wasn't there yesterday.",
"How do I convert between big-endian and little-endian values in C++? How do I convert between big-endian and little-endian values in C++? For clarity, I have to translate binary data (double-precision floating point values and 32-bit and 64-bit integers) from one CPU architecture to another. This doesn't involve networking, so ntoh() and similar functions won't work here. Note: The answer I accepted applies directly to compilers I'm targeting (which is why I chose it). However, there are other very good, more portable answers here.",
"I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic Package Manager I can see that anbox-common & anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running sudo snap install --edge --devmode anbox and got this error: error: cannot install \"anbox\": Get https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list: dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp [::1]:54255->[::1]:53: read: connection refused What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it. ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux.",
"Let me tell the story from the beginning: I installed Big Sur on an unsupported Mac using guidelines at Medium. In the guide it was stated that I should create a separate partition for Big Sur, and shouldn't install it on my current one. I had my SSD Called "Macintosh SSD" and later I created a partition named "Macintosh SSD Big Sur" of size 40GBs. After installation I wanted to clear the "Macintosh SSD" of size 80GBs(with old MacOS) and merge it with the new "Macintosh SSD Big Sur". This is what I initially had after formatting partition with the old MacOS So, I used the command sudo diskutil apfs deleteContainer disk3 after which I had (free space) in /dev/disk1 I want to extend that 39.6GB partition which free space of 80,1GB but all the commands I googled do not work:(( Could you please guide me on what I should do now? Thank you in advance!",
"There seems to be some bug where mac os is constantly contacting . You can prevent it by turning off the wifi, but then your computer is nothing more than a fancy calculator. Is there a program, vpn, or even the firewall option, to block this site from the whole os?",
"I have the following file: abcde kwakwa <0x1A> line3 linllll Where <0x1A> represents a byte with the hex value of 0x1A. When attempting to read this file in Python as: for line in open('t.txt'): print line, It only reads the first two lines, and exits the loop. The solution seems to be to open the file in binary (or universal newline mode) - 'rb' or 'rU'. Can you explain this behavior ?",
"I'm not a native English speaker. I am having difficulty with some words. Could anyone please tell me if there's any difference between the above mentioned short sentences, as I'm a little confused.",
"For an odd prime $p$, prove that any primitive root $r$ of $p^n$ is also a primitive root of $p$ So I have assumed $r$ have order $k$ modulo $p$ , So $k|p-1$.Then if I am able to show that $p-1|k$ then I am done .But I haven't been able to show that.Can anybody help me this method?Any other type of prove is also welcomed.",
"Some people have a diamond after their username (e.g. ) What special privileges do diamond moderators have? How can I become a diamond moderator? Who are the diamond moderators? How many are there? For more information, see in the . Note: not to confuse with certain Stack Exchange employees, for example members or \"community managers\", who often have diamonds as well, but are not ordinary moderators.",
"Compute the period of a decimal number a priori I noticed that , given an operation like $\\frac{n}{m},\\;n,m \\in N$ that result in a periodic decimal number, computes really fast the length of the period. E.g. $\\frac{3923}{6173}$ has a period of 3086: . I was wondering how this computation is done: is there some method to do this (except the trivial one of executing the division and looking for a sequence repetition) ?",
"If a drive doesn't know about partitions and files systems why moving a file from one partition to another takes relatively long time, unlike the instantaneous move on the same partition? Is that file system inefficiency? In this case, NTFS. It seems like the file is being copied and then original is erased, instead of removing the entry about that file in one partition and making it in another?",
"A while ago I upgraded from Ubuntu 17.04 to Ubuntu 17.10 and everything is working fine except for the fact that the icon in the window title bar of my Terminal seems to be stretched out to some ridiculous size. This only seems to happen in the Terminal window. The Nautilus icon is completely fine. The problem seems to go away if I login into an Xorg session instead of a Wayland one. I've looked around and didn't find any immediate solution to this. Any help would be greatly appreciated.",
"How do I remove an incomplete or broken snap installation of nextcloud on a Raspberry Pi?",
"How can I return NULL from a generic method in C#?",
"A woman's butt was allegedly touched by a man several times during a commute on the MRT. How to use butt, bottom, buttock and ass? I am confusing with these words.",
"Prove by induction $\\sum_{i=1}^ni^3=\\frac{n^2(n+1)^2}{4}$ for $n\\ge1$ Prove the following statement $S(n)$ for $n\\ge1$: $$\\sum_{i=1}^ni^3=\\frac{n^2(n+1)^2}{4}$$ To prove the basis, I substitute $1$ for $n$ in $S(n)$: $$\\sum_{i=1}^11^3=1=\\frac{1^2(2)^2}{4}$$ Great. For the inductive step, I assume $S(n)$ to be true and prove $S(n+1)$: $$\\sum_{i=1}^{n+1}i^3=\\frac{(n+1)^2(n+2)^2}{4}$$ Considering the sum on the left side: $$\\sum_{i=1}^{n+1}i^3=\\sum_{i=1}^ni^3+(n+1)^3$$ I make use of $S(n)$ by substituting its right side for $\\sum_{i=1}^ni^3$: $$\\sum_{i=1}^{n+1}i^3=\\frac{n^2(n+1)^2}{4}+(n+1)^3$$ This is where I get a little lost. I think I expand the equation to be $$=\\frac{(n^4+2n^3+n^2)}{4}+(n+1)^3$$ but I'm not totally confident about that. Can anyone provide some guidance?",
"When did the word \"so\" begin to be used to start a sentence? In the last few years, I've noticed a growing usage of the word \"so\" to begin a sentence, especially in the context of higher education. For example: Interviewer: \"What is the nature of your research\" Researcher: \"So, what we wanted to find out is...\" It seems to be a replacement the word \"well\", or, more informally, \"ok\". Has this usage of the word been around for a long time and I'm just now noticing it? Do you think that is a valid use of the word?",
"Pluralizing abbreviations where the noun is not the last word For abbreviations - both acronyms and initialisms - where the last word in the abbreviation is the noun, I'm accustomed to adding an 's' with no apostrophe (e.g. ATMs), as described in the answer to this question: But how do you pluralize abbreviations where the noun is not the last word? E.g. 'Point of Presence' (POP) I can see how 'POPs' could read 'Point of Presences', when the intention is 'Points of Presence.'",
"I'm creating side skirts for a truck and I am duplicating the frames I want. The problem is it's making the duplicated object into another object. How do I put it into the same one?",
"Nested List Indices"
] | medi_sts_stackexchange_dupe |
symbolic links that will not break even after copying | How to copy symbolic links? | [
"Related to Meta Super User efforts: and Meta Server Fault efforts: We already auto-remove negatively voted unanswered old questions automatically after 30 days, network wide, with no human intervention required. I was thinking we might extend that to remove old, unanswered zero score questions... based on the following criteria: fewer than (question age in days * 1.5) views 0 score or lower, or 1 score or lower if the original author is deleted no answers 1 comment or fewer asked more than 1 year ago (thus based on creation date, not last activity date, so , or a user editing it, does not give a doomed question 365 more days of zombie "life") See the results of this query on: (10509) | (787) | (650) This query has been refined based on the comments, and this is the final version that will roll out tonight. Every site in the network (except metas) will automatically delete old questions that meet this criteria from this point forward.",
"Likelihood Ratio Test for Exponential Distribution with a Limited Parameter Space",
"MySQL: Allow both remote AND local connections",
"Uniform integrability of a backward submartingale Let $\\{\\mathcal{F}_n\\}_n$ be a decreasing sequence of sub-$\\sigma$-fields of $\\mathcal{F}$($\\mathcal{F}_{n+1}\\subset\\mathcal{F}_n$) and let $\\{X_n\\}_n$ be a backward submartingale($E[|X_n|]<\\infty$, $X_n$ is $\\mathcal{F}_n$ measurable and $E[X_n|\\mathcal{F}_{n+1}]\\geq X_{n+1}$). If we know $l=\\lim_{n\\rightarrow\\infty}E[X_n]>-\\infty$, how to prove that $\\{X_n\\}_n$ is uniformly integrable? Many thanks! I have an idea, it is enough to show: $\\sup_nE[|X_n|]<\\infty$; $\\forall\\epsilon>0$, $\\exists\\delta>0$ s.t. $\\forall A\\in\\mathcal{F}$ such that $\\mathbb{P}(A)<\\delta$, we have $\\sup_nE[1_{A}|X_n|]<\\epsilon$. For $|X_n|=2X_n^+-X_n$, we have $$E[|X_n|]=2E[X_n^+]-E[X_n]\\leq 2E[X_0^+]-l\\leq 2E[|X_0|]-l$$ which implies $\\sup_nE[|X_n|]<\\infty$. Secondly, $\\forall A\\in\\mathcal{F}$, we can suppose without loss of generality that $A\\in\\mathcal{F}_0$. $$E[1_{A}|X_n|]=2E[[1_{A}X_n^+]-E[[1_{A}X_n]$$ Does someone have an idea for this term? Thanks a lot.....",
"I have today and one member was voted as duplicate and private feedback was there, I choose no and submitted the form. When I revisit the question or refresh the page same notice reappears with yes/no options. In-network tab I got 200 OK status and response as \"success\":true Environment: OS: Windows 10 Browser: Chrome 79.0.3945.117 (Official Build) (64-bit) From the comments, the same issue is happing with (might be with whole StackExchange network) From network tab",
"How to avoid the blackening fruits once they are cut? Apples and bananas start to blacken and sour in taste soon after cutting, which spoils the presentation of dish, especially in fruit salads. How can I avoid this? Also, does browning impact nutritional value?",
"How to synchronize clocks for computers that are not online?",
"Bottom to top explanation of the Mahalanobis distance?",
"Presently, how much information can a quantum computer store, in how many qubits? What restrictions are there and how does it vary across realizations (efficiency of data storage, ease of reading and writing, etc)?",
"Random images appearing in my home directory... Where are they coming from? Here's an odd problem I've had for a while. Every so often, I find that I have several jpeg images sitting in my home directory that I didn't put there. I'm fairly sure this isn't a security breach but rather, there's something writing these files in there that I've forgotten about. Here's what I'm looking at today: oli@bert:~$ ls -l *.jpg -rw------- 1 oli oli 8061 2010-11-19 18:30 An-alien-from-Mars-Attack-002.jpg -rw------- 1 oli oli 24362 2010-11-19 18:30 An-alien-from-Mars-Attack-006.jpg -rw------- 1 oli oli 8147 2010-11-05 18:08 Avatar-Film---2009-002.jpg -rw------- 1 oli oli 35602 2010-11-05 18:08 Avatar-Film---2009-006.jpg -rw------- 1 oli oli 6058 2010-12-03 18:42 Britney-Spears-victim-of--002.jpg -rw------- 1 oli oli 28330 2010-12-03 18:42 Britney-Spears-victim-of--006.jpg -rw------- 1 oli oli 8135 2010-11-12 19:19 charlie-brooker-twitter-p-002.jpg -rw------- 1 oli oli 22115 2010-11-12 19:19 charlie-brooker-twitter-p-006.jpg -rw------- 1 oli oli 8059 2010-10-29 18:47 Leonardo-DiCaprio-002.jpg -rw------- 1 oli oli 29988 2010-10-29 18:47 Leonardo-DiCaprio-006.jpg -rw------- 1 oli oli 8064 2010-10-22 16:41 Spot-the-difference-.-.-.-002.jpg -rw------- 1 oli oli 29188 2010-10-22 16:41 Spot-the-difference-.-.-.-006.jpg They all seem like they're TV or film related... But I honestly don't have a clue what could be writing them. They don't bother me enough to go on a full-scale witch hunt but if anybody knows of something that writes images in the home directory like this, please let me know.",
"Where can I find people for hire with LaTeX skills and designer skills?",
"Beamer - Color of header foreground with AnnArbor theme I use beamer with the theme AnnArbor and colortheme whale. I tried to use: \\setbeamercolor{section in head/foot}{fg=white, bg=blue} or \\setbeamercolor{palette tertiary}{fg=white, bg=blue} But for an unknown reason, the bg works but not the fg... The sections names stay black in the header. EDIT : the problem comes from the hyperref package. This code works well : \\documentclass{beamer} \\usetheme{AnnArbor} \\usecolortheme{whale} \\setbeamercolor{frametitle}{fg=white,bg=blue} \\begin{document} \\section{Test 1} \\subsection{Test 1.1} \\begin{frame} \\frametitle{Test} \\end{frame} \\end{document} Whereas this one doesn't works : \\documentclass{beamer} \\usetheme{AnnArbor} \\usecolortheme{whale} \\setbeamercolor{frametitle}{fg=white,bg=blue} \\usepackage{hyperref} \\hypersetup{ colorlinks=true, linkcolor=black, urlcolor=blue, citecolor=gray, frenchlinks=false, pdfborder={0 0 0} } \\begin{document} \\section{Test 1} \\subsection{Test 1.1} \\begin{frame} \\frametitle{Test} \\end{frame} \\end{document} And that's pretty normal because of this line : linkcolor=black,",
"What is the command to open the shutdown dialog?",
"How delete an application that is bundled with macOS? Backstory: I am running macOS Sierra and use TextEdit a lot. The problem is that I hate the Versions save schema that causes the universal Save As shortcut of CmdShiftS to instead create a copy of the document. I also hate how Auto-Save makes permanent changes to documents I don't want to modify when I'm tentatively modifying a work-in-progress. Since the introduction of these nuisance features in Lion I have always backed up and then replaced TextEdit.app with the legacy 1.6 version from Snow Leopard. The problem: Today when I tried to delete TextEdit.app from my Applications folder using this Terminal command sudo rm -rf /Applications/TextEdit.app I got this error rm: TextEdit.app: Operation not permitted I was surprised to find that I can't kill it, even with sudo. How can I actually get rid of an application that is bundled with macOS? What I've tried so far: I followed the instructions in , but it didn't work. I also read , which almost accomplishes the same solution by means of disabling Versions and Auto-Save, but then I don't get the benefit of legacy TextEdit's temporary backup saving feature. See the part in the answer stating \"This effectively disables the old-style, pre-Lion autosaving completely\". So I think deleting the newer TextEdit v1.12 and replacing it with the legacy v1.6 is still the best option, however I can't get my system to delete it. Any help appreciated.",
"What is the difference between \"thee\" and \"thou\"?",
"this is my first question on PhysicsSE (I'm already an user of MathSE). I'm a mathematics students trying to understand Faraday's law, that is $$\\varepsilon= -\\frac{d \\Phi_B}{dt}$$ where $\\varepsilon$ means electromotive force and $$\\Phi_B=\\iint \\mathbf{B}\\cdot d\\mathbf{S}$$ means flux of magnetic field. As my textbook points out, there is an interpretation problem here: if the change in magnetic flux is due to movement of the conductor, then free charges in it are subject to Lorentz force, which then causes a current. On the contrary, if the conductor holds steady in a changing magnetic field, the induced current must be explained in terms of an electric field $\\mathbf{E}$, described by the equations $$\\begin{cases} \\nabla \\cdot \\mathbf{E}=\\frac{\\rho}{\\varepsilon_0} \\\\ \\nabla \\times \\mathbf{E} = - \\frac{\\partial \\mathbf{B}}{\\partial t}\\end{cases}.$$ Question Do those equations hold if we have a moving conductor in a stationary magnetic field? I guess not: this would mean $\\mathbf{E}=\\mathbf{0}$. How to solve this?",
"Why not use \"which\"? What to use then?",
"Recently, the TeX.SE question got onto the Hot Network Questions list. Like many questions on TeX.SE, it contains some TeX markup in its title. Unfortunately, on , this markup gets parsed and rendered as math: I propose that either: the entire Hot Network Questions sidebar should be excluded from MathJax parsing by styling it with the tex2jax_ignore class, or at least, any hot questions from TeX.SE should be so excluded from MathJax parsing. Or I suppose we could always implement , which asks for all questions with TeX in the title to be excluded from Hot Network Questions entirely. That might be throwing out the baby with the bathwater, though. Ps. This issue is partially masked by , which causes MathJax not to be rendered in many elements that are hidden by default and revealed using jQuery .show(), such as all but the first five questions in the Hot Network Questions sidebar. The user script contains a generic fix for that bug, so users who have it installed will see this issue more frequently, but it occurs even without SOUP whenever a question with TeX markup in the title happens to show up among the top five hot questions that are always visible by default.",
"How does Mathematica integrate?",
"How do I parse an ISO 8601-formatted date?"
] | medi_sts_stackexchange_dupe |
enable more form fields per post coldfusion | Passing more then 100 arguments to ColdFusion function throws an error | [
"How to define a PowerShell function which requires elevation? Since I can't find any alternative to Linux' elevation command, I have the following question: How to define a PowerShell function which requires elevation? I mean UAC prompt. Say, such function follows: function system-check { SFC /ScanNow } System: Windows 8.1 Pro 64-bit PowerShell: Major Minor Build Revision ----- ----- ----- -------- 5 0 10586 117 EDIT1: To be 100% understandable let me rephrase: I run PowerShell as user I run the aforementioned function system-check I want the function to elevate in order to be able to execute the command; note, that I want the UAC prompt to appear",
"Tracking Object Position - Firing on a Trajectory",
"A gerund or use a regular noun? Which of these is correct or more natural? One of my greatest strengths is critically analyzing. One of my greatest strengths is critical analyzing. One of my greatest strengths is critical analysis.",
"How do I remove duplicate \"Open With\" context menu items in Finder.app? For whatever reason, the \"Open With\" context menu in Finder is always listing every app four times (exactly). I've read about (and tried) rebuilding the Launch Services database to restore the context menu to its initial state, but nothing seems to work. I've also used Onyx.app to clear user and system caches, but I'm still left with four repetitions of each app under the \"Open With\" service. I have restarted the system a few times just to be sure it was not some temporary corruption of the list. I'm running OS X 10.6.6 on a 2011 17\" MacBook Pro with a fresh install of OS X (i.e. I didn't use Migration Assistant.app or a Time Machine backup). I did, however, sync all my preferences and other files using MobileMe like I always do, so I imagine it's feasible that a preference file somewhere is causing problems? I didn't notice whether this was happening before or after my MobileMe sync. How can I fix this so one app shows?",
"What does this depiction of a black hole in the movie Interstellar mean?",
"Set the default permission when creating a file",
"In the Stack Overflow podcast #36 (), this opinion was expressed: Once you understand how easy it is to set up a state machine, you’ll never try to use a regular expression inappropriately ever again. I've done a bunch of searching. I've found some academic papers and other complicated examples, but I'd like to find a simple example that would help me understand this process. I use a lot of regular expressions, and I'd like to make sure I never use one "inappropriately" ever again.",
"Windows 10 and Ubuntu do not dual boot (after multiple attempts to fix)",
"Helical motion of charged particle in external magnetic field",
"Best way to implement keyboard shortcuts in a Windows Forms application? I'm looking for a best way to implement common Windows keyboard shortcuts (for example Ctrl+F, Ctrl+N) in my application in C#. The application has a main form which hosts many child forms (one at a time). When a user hits Ctrl+F, I'd like to show a custom search form. The search form would depend on the current open child form in the application. I was thinking of using something like this in the ChildForm_KeyDown event: if (e.KeyCode == Keys.F && Control.ModifierKeys == Keys.Control) // Show search form But this doesn't work. The event doesn't even fire when you press a key. What is the solution?",
"How do I get evolution items like King's Rock?",
"When I run sudo the terminal is stuck for a few seconds and then outputs an error message. My terminal looks like this: ubuntu@(none):~$ sudo true sudo: unable to resolve host (none) What can I do to solve it?",
"How to add D-link dwm-156 to usb switch mode for automatic eject of driver CD / switch to modem mode? I am running Ubuntu 13.10, 32-bit. I had every time need to go terminal to \"eject\" the windows driver CD,nor gone to disk & eject windows driver CD to make the d-link dwm-156 gsm modem functioning through network manager. It seems that usb mode switch is not working. But on my friend's computer with ubuntu 14.04 ,usb mode switch is working and i can connect d-link dwm-156 to mobile broadband through network manager as soon as i get in. Is there any way to make usb mode switch to eject the windows driver CD of d-link dwm-156 in my ubuntu 13.10,32-bit at start up? The lsusb output is Bus 002 Device 013: ID 2001:a706 D-Link Corp before ejecting the CD (modem as storage device of windows driver). The lsusb output is Bus 002 Device 005: ID 2001:7d01 D-Link Corp after ejecting the CD (as modem). I don't want to use the driver in the CD,as i need to send sms & find the data usage.",
"What's the easiest way to use a linked list in python? In scheme, a linked list is defined simply by '(1 2 3 4 5). Python's lists, [1, 2, 3, 4, 5], and tuples, (1, 2, 3, 4, 5), are not, in fact, linked lists, and linked lists have some nice properties such as constant-time concatenation, and being able to reference separate parts of them. Make them immutable and they are really easy to work with!",
"How to automatically generate a stacktrace when my program crashes",
"Game Theory and Uniform Distribution question? In an Auction , two players are bidding. Their bids will be a unknown fraction of their valuations. The valuations come from a uniform distribution $$[0,1] $$ If Player 2 bids $$ v/2 $$ and Player 1 bids $$b1<1/2$$ What is the probability player 1 wins ? Clearly for player 1 to win,players 2 bid has to be less than player 1 bids. $$P(v/2 < b1)$$ $$P(v < 2b1)$$ I follow the question up to this stage. Now it says since its uniformly distributed the probability player 1 wins is $$2b1$$ Im confused how can you just get 2b1 from the inequality ? Thanks in advance",
"How can I refinance or get out of a car loan I am upside down on? I purchased a car a little over 1 year ago a 2012 Dodge Avenger and recently went to get it refinanced and found out that because I'm so upside down that I can't get it refinanced I still owe over 15,000 and the car is only worth about 8000. I'm so bothered by this a few days ago I received a pre-approval letter from capital one bank for 35,000 so how can I go about doing this if I trade the car in I will have to put down a substantial amount of money in order to get out of this car. Can I just get the other car and turn the other one in. What should I do",
"How to capture the scale of a scene?",
"How to make the taskbar blink my application like Messenger does when a new message arrive?",
"Direct product of Sylow subgroups Proposition II.7.5 of Hungerford's Algebra goes Proposition 7.5. A finite group is nilpotent if and only if it is the direct product of its Sylow subgroups. Let $G = (\\mathbb{Z}_6, +)$. $G$ is abelian, so it is nilpotent and thus by the proposition is the direct product of its Sylow subgroups. The Sylow subgroups of $G$ are $H = (\\mathbb{Z}_3, +)$ and $K = (\\mathbb{Z}_2, +)$, so the proposition says $G = H \\times K$. In particular, $0 \\in H$ and $0 \\in K$, so $(0,0) \\in H \\times K = G$... but that's not true, since $G = \\{0,1,2,3,4,5\\}$. Where is/are my misunderstanding(s)?"
] | medi_sts_stackexchange_dupe |
15.04 Logitech M325 scroll wheel is too sensitive | How can I adjust the mouse scroll speed? | [
"Batch files: How to read a file?",
"I'm using Ubuntu 16.04 and there's no fglrx! I'm using Ubuntu 16.04 and there's no fglrx! What happened?",
"I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how. Just to be clear: What's a simple way to write a script foo.sh, so that the command ./foo.sh outputs 0, and the command sudo ./foo.sh outputs 1?",
"Compute the moment generating function of $Y = X_1X_2 + X_1X_3 + X_2X_3$",
"How to make the tick thickness as the axis line? I am trying to make the thickness of the ticks equal to the axis line thickness. That is what I have so far: \\documentclass{article} \\usepackage{pgfplots} \\pgfplotsset{compat=1.5} \\begin{document} \\begin{tikzpicture} \\begin{axis}[ xlabel=Binding Energy (eV), ylabel=Intensity (a.\\,u.), xtick pos=left, x dir= reverse, ytick = \\empty, every x tick/.style={color=black, thin}, tick align=outside, xlabel near ticks, ylabel near ticks, xmin = 96, xmax = 108 ] %\\addplot[mark=none] table[x=BE,y=cnts] {si2p.txt}; % This data looks similar: \\addplot[mark=none, smooth] table[x=BE,y=cnts] { BE cnts 95 1 98 1 99 10 99.5 5 100 6 101 2 108 2 }; \\end{axis} \\end{tikzpicture} \\end{document} But if you take a closer look on the ticks on the outside, you'll see that they are somehow clipped or a least thinner. They are also black so the style seems to work for them. Is this a bug or can I change the clipping region? And as a second question: is thin the correct value for the thickness?",
"Python 3 with QGIS on Mac? I need to start learning Python, and I want to learn with version 3.x. I understand that QGIS--at least some plug-ins--relies on Python and Tcl/Tk, and probably on specific versions. Assuming that QGIS is dependent on Python 2, can anyone tell me how to set up parallel installations of Python 3 and Tcl/Tk such that QGIS will have what it needs and I can use Python 3 for other purposes?",
"Take the following gedankenexperiment in which two astronauts meet each other again and again in a perfectly symmetrical setting - a hyperspherical (3-manifold) universe in which the 3 dimensions are curved into the 4. dimension so that they can travel without acceleration in straight opposite directions and yet meet each other time after time. On the one hand this situation is perfectly symmetrical - even in terms of homotopy and winding number. On the other hand the Lorentz invariance should break down according to , so that one frame is preferred - but which one? So the question is: Who will be older? And why? And even if there is one prefered inertial frame - the frame of the other astronaut should be identical with respect to all relevant parameters so that both get older at the same rate. Which again seems to be a violation of SRT in which the other twin seems to be getting older faster/slower... How should one find out what the preferred frame is when everything is symmetrical - even in terms of GRT? And if we are back to a situation with a preferred frame: what is the difference to the classical Galilean transform? Don't we get all the problems back that seemed to be solved by RT - e.g. the speed limit of light, because if there was a preferred frame you should be allowed to classically add velocities and therefore also get speeds bigger than c ?!? (I know is only a local theory but I don't understand why the global preferred frame should not 'override' the local one). Could anyone please enlighten me (please in a not too technical way because otherwise I wouldn't understand!) EDIT Because there are still things that are unclear to me I posted a follow-up question:",
"I can't get grub menu to show up during boot",
"What's the easiest way to play a sound file (.wav) in Python? By easiest I mean both most platform independent and requiring the least dependencies. pygame is certainly an option, but it seems overkill for just sound.",
"Does anyone know of a nice (and preferably free) way to integrate Prolog and C#? Im looking to create a Prolog dll or similar to call from my managed code, and retrieve an answer once all the processing has been complete. Im looking for it to be predominantly one sided (c# calls Prolog). I have seen which talks about Prologs real world usage but I was wondering if anyone had either any experience with c# & Prolog? or a nice tutorial/article?",
"How to access specific raw data on disk from java",
"Prove every element of $G$ has finite order. Let $G$ be a group such that the intersection of all its subgroups which are different from $\\{e\\}$, is a subgroup different from $\\{e\\}$. Prove that every element of $G$ has finite order. Assume that $a$ has infinite order in $G$. Then let $y\\neq e$ belong to the intersection of all subgroups of $G$ different from $\\{e\\}$. Then $y=a^n$ and $y$ will also belong to subgroup generted by $a^2$ hence $y=a^{2m}$ for some integers $m$. This contradicts that $a$ has infinte order. Is this correct?",
"How to calculate the $H_2$ and $H_\\infty$ norms of TransferFunctionModels or StateSpaceModels?",
"Please help solve 'oracle-java7-installer' missing. Error below dpkg: warning: files list file for package !['oracle-java7-installer' missing;][1] assuming package has no files currently installed (Reading database ... 302933 files and directories currently installed.) Removing linux-image-extra-3.8.0-19-generic ... /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postrm: 6: /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postrm: Syntax error: \")\" unexpected dpkg: error processing linux-image-extra-3.8.0-19-generic (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: linux-image-extra-3.8.0-19-generic E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:",
"Can I travel to Canada with valid visa on old/expired passport? I recently renewed my passport. I also have an expired passport which has my Canada visa (visitor's) valid for another three years. I have already used my Canadian visa which is multiple entry. I am planning to visit Canada this summer. Since my valid Canadian visa is in my old/expired passport, do I need to renew/transfer my Canada visa or can I simply travel with valid visa in old passport?",
"How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?",
"Consequences of overstaying Schengen visa for 6 months",
"Comparing SVM and logistic regression Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows: SVM: Try to maximize the margin between the closest support vectors LR: Maximize the posterior class probability Let's consider the linear feature space for both SVM and LR. Some differences I know of already: SVM is deterministic (but we can use Platts model for probability score) while LR is probabilistic. For the kernel space, SVM is faster (stores just support vectors)",
"let's imagine i am at school with an android phone. I have a computer at home and that computer has a virtual machine working on it. here is the scenario, client and virtual client has ssh-client and ssh-server both and they can communicate each other in the local network. when i want to connect to my virtual client from school by android phone through internet there must be an ip address. the problem is virtual machine and client has the same public ip. so how do i connect one of the two machines?",
"If no exact time (such as 15:00 or 21:00) is specified about the deadline and only the date itself is given, does that mean that the Deadline date is inclusive or exclusive? For example, if the deadline for my Research Project is 10th October (no other exact times are specified) does that mean that I can turn it in on 10th October before it turns into 11th October? Or should I submit it on 9th October before it turns into 10th?"
] | medi_sts_stackexchange_dupe |
justify-content: center is not working with grid | How to horizontally center an element | [
"Is there any mention of the lands east of Mordor? Sauron seems to have huge armies east of Mordor, the Blue Wizards went there and didn't come back, and early maps of Arda when it was still flat show rough landmarks, but not much, and everything changed after the Second Age. Is there any canonical information about the East?",
"Does Java Connection.close rollback? Does Java Connection.close rollback into a finally block?. I know .Net SqlConnection.close does it. With this I could make try/finally blocks without catch... Example: try { conn.setAutoCommit(false); ResultSet rs = executeQuery(conn, ...); .... executeNonQuery(conn, ...); .... conn.commit(); } finally { conn.close(); }",
"How to limit execution time of a function call? There is a socket related function call in my code, that function is from another module thus out of my control, the problem is that it blocks for hours occasionally, which is totally unacceptable, How can I limit the function execution time from my code? I guess the solution must utilize another thread.",
"When I am writing I often come across the words \"around\" and \"round.\" I was wondering what is different between them, and how they would be used in different contexts.",
"How to convert image file data in a byte array to a Bitmap?",
"The problem I have tens of thousands of small polygons for which I want to create buffer/doughnuts for, but I don’t get the units right. I want meters and not degrees, and changing to (what I think is) the right CRS my layer doesn’t longer show. The polygons are small farming plots. I work in QGIS 3.4.15. Let me take you through it I start by adding a vector layer. I opt for ‘Directory’ as a source type (Encoding: UTF-8 by default) and under Source (Type: UK. NTF2 by default) I point to the folder in which I store the shapefile. The default CRS is set to EPSG:4326 – WGS 84, for both layer and the project (checked in bottom right), and unit is thus in degrees. I add the layer world map (EPSG:4326 – WGS 84 by default) by taping “world” in the coordinate box in the middle bottom, I also add Open street map (EPSG:3857 – WGS 84 / Pseudo-Mercator by default) from XYZ Tiles. The polygons appear nicely on the map considering some are just adjacent to the nearby lake, many nicely adjacent to roads, etc. When attempting to do buffers the distance is obviously set to degrees. I have tried to change the CRS, both for the layer(s) and the projects, but without luck. After researching (e.g. here: ) I believe that the correct CSR would be Arc 1960 / UTM zone 36S EPSG:21036 (it is my understanding that either 36N or 36S would work as the polygons appear both south and north of, but close enough to the equator). When setting the mentioned CRS for my polygon layer, the polygons disappear from the map, and remain gone even after setting the project CSR (by bottom right) to the same. It seems that whenever I try with different CRS in UTM, the layer doesn’t show. Does this mean that the polygons are somehow not compatible with units in meter? Is there an issue with importing the .prj file? Other things I've tried: I have made a good attempt searching for solutions. I have ensured that the polygon layer is on top of the layers list. I have ensured the file names are identical and tried all different suitable CRS I can think of. I have seen similar questions been solved by saving the .shp 'as', but I don't think that's my issue as it's already a .shp file. Can it be the case that I need to perform a datum transformation? I gave it a shot using a transformation code (1122) provided by above link, but then the polygons were projected on the Antarctica on the world map, so obviously something went quite wrong... Note that when I have changed to what I believe is the right CRS I can execute buffers in units of meters, however, they do not appear on the window…",
"avoid space after commas used as thousands separator in math mode",
"Integrating $\\int\\frac{x^3}{\\sqrt{9-x^2}}dx$ via trig substitution What I have done so far: Substituting $$x=3\\sin(t)\\Rightarrow dx=3\\cos(t)dt$$ converting our integral to $$I=\\int\\frac{x^3}{\\sqrt{9-x^2}}dx=\\int \\frac{27\\sin^3(t) dt}{3\\sqrt{\\cos^2(t)}}3\\cos(t)dt\\\\ \\Rightarrow \\frac{I}{27}=\\int \\sin^3(t)dt=-\\frac{\\sin^2(t)\\cos(t)}{3}+\\frac{2}{3}\\int\\sin(t)dt\\\\ \\Rightarrow I=18\\cos(t)-9\\sin^2(t)\\cos(t)+c$$ Which is where I'm stuck. I can substitute back in for the $\\sin(t)$ terms but don't know hot to deal with the $\\cos(t)$ terms and back out information about $x$. edited: because I miswrote the problem, I am sorry.",
"Irreducible cyclotomic polynomial I want to know if there is a way to decide if a cyclotomic polynomial is irreducible over a field $\\mathbb{F}_q$?",
"Why can't a Federation Starship's transporter history be used to bring someone back to life? I've always been a little confused by the fact that when a crew member dies they don't just use the transporter history to bring that person back. I'm aware that this wouldn't make for good TV, but I was wondering if there was a more technical reason.",
"Tools to measure the nonrandomness of database I was working on historical data looking for anomalous patterns that we would not expect to occur at random. I'd like to create a scheme to analyze data and markets to test for statistical significance and consistency over time. Question : Are there some tools we could use to evaluate the nonrandomness of a database? What do we use usually to say that something is random or not (statistically)? Figure we work with change in some value over time.",
"is there a way to find suitable ratio for matches to controls (using \"ratio\" in Matchit package in R or other programs) I am using matchit package in R to find a control set for my treated units and I am testing the model with different ratio to get suitable control set. Is there a way to find suitable ratio and I will use that to find my control set.",
"PHP: Static and non Static functions and Objects",
"It stands to reason: if it didn't, the entire sky would be covered with stars shining blindingly day and night. But what causes a light wave (or an electromagnetic wave) to fade if there are no celestial bodies in its way? Or, alternatively, why doesn't it fade sooner? Some stars are visible to the naked eye that are hundreds of light years away. Others, closer, can only be detected with the aid of a telescope. Why?",
"UITableView cells strangely disappearing",
"Calculus of variations -- how does it make sense to vary the position and the velocity independently? In the calculus of variations, particularly Lagrangian mechanics, people often say we vary the position and the velocity independently. But velocity is the derivative of position, so how can you treat them as independent variables?",
"Why do ssh operations always ask for passphrase? (with ed25519) I just updated my ssh key and added a passphrase, however it constantly nags me for it now, such as when I do a git (or mercurial hg) push. ssh-agent is running: xxx 1303 1118 0 09:16 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch mate-session I tried ssh-add: > ssh-add Identity added: /home/…/.ssh/id_rsa (/home/…/.ssh/id_rsa) Enter passphrase for /home/…/.ssh/id_ed25519: Could not add identity \"/home/…/.ssh/id_ed25519\": communication with agent failed What is missing? 16.04 Ubuntu Mate, in case it matters.",
"I gave a scammer my telephone number, address, and name. How bad is it? Updated question because old one was embarassing: I saw a spam email from \"PayPal\" and I didn't realize that it was a phishing attempt. I gave the phishing site my name, telephone number, and email. What could he do with them? Old question: Well, I saw a spam email, but I didn't realize that it's really a scam at first. I gave him my telephone number, address, and name. What would he do with them? Could he ruin ALL of my reputation with it?",
"Easy way to concatenate two byte arrays",
"How to do line optical illusion art effects? I was wondering how I can do this type of optical illusion. Is it done manually or is there a quicker way to do it. Thanks ahead of time."
] | medi_sts_stackexchange_dupe |
Free 100 rep on every Stack Exchange account including the parent account? | Linked account +100 rep bonus also applied to account with 200 | [
"SSH and home directory permissions It took me hours to solve this SSH problem with one of my class accounts on my school's servers. I couldn't ssh into one particular class account without entering my password, while passwordless authentication worked with my other class accounts. The .ssh/ directory and all of its contents had the same, correct permissions as the other class accounts. Turns out the problem was the permissions set on my own home directory. Passwordless authentication did not work when the permissions on my HOME directory were set to 770 (regardless of the permissions set for .ssh/), but it worked with permissions set to 755 or 700. Anyone know why SSH does this? Is it because the home directory permissions are too permissive? Why does SSH refuse to authenticate with the public/private keys when the home directory is set more permissive than 700?",
"How do I obtain the \"final\" standard deviation from a series of values containing individual (also null) SD values? I have a list of values, say: AVGprice SDprice count year 10 3 5 1999 20 2 3 2000 30 8 20 2001 40 undef 1 2002 where AVGprice is the average of a certain price and SD its respective standard deviation for that particular year. Count represents the number of occurrences. What's the best way to calculate the final AVGprice and SDprice for the whole period 1999-2002? For the former, I'd say a weighted average will do, but I am not sure about the final standard deviation - specially because of the undefined value.",
"Review counts in top-bar and /review don't match So far, I thought that the number shown in the orange box in the top-bar was the number of items available for review. However, when I acually visit /review, the numbers don't match: Note that top-bar shows 15 items (?) but the queues only add up to 8. Since I can't think of a reason for this being by design (which, as experience shows, is not a good indicator for \"this is not an SE feature) I'm tentatively labelling this a (UI) bug.",
"I am a little at a loss. A couple years before my mother-in-law passed away she signed her house over to my wife and her sister via a quitclaim deed. After she passed we sold the house for $80,000. The money was used to pay off the mortgage, some other funeral expenses, and sent $15,000 to other family members. All the money was dispersed at the closing of the house. My wife and her sister each ended up with about $20,000. How do we go about claiming this income? Since there was a quitclaim deed I guess we technically owned the house for a few years prior to its sale. How does that affect our tax and what is the basis? Is the basis the selling price(fair market value) or something else? How much does each sister claim for gains? Sorry it this is a jumble of questions I am just trying to get this straightened out before tax is due.",
"How To Set Default Wallpaper As Login Screen Wallpaper [Automatically]?",
"How to return multiple objects from a Java method? I want to return two objects from a Java method and was wondering what could be a good way of doing so? The possible ways I can think of are: return a HashMap (since the two Objects are related) or return an ArrayList of Object objects. To be more precise, the two objects I want to return are (a) List of objects and (b) comma separated names of the same. I want to return these two Objects from one method because I dont want to iterate through the list of objects to get the comma separated names (which I can do in the same loop in this method). Somehow, returning a HashMap does not look a very elegant way of doing so.",
"I am using the book documentclass and have a list of figures. After I noticed that there is a blank line to separate figures that are in different chapters, but not if they are within the same chapter. Since I changed the numbering of my figures to be {1, 2, 3, etc.} instead of {2.1, 2.2, 3.1, etc.} this looks silly and I'd rather have a blank line between each figure, no matter what. How do I do that? Similar:",
"So the stories of the Hunger Games are set in , a post-apocalyptic society situated in North America. Is there anything to explain what caused the Apocalypse? Whether from the main books, any extra material or interviews? (No fanfic please.) As well as the cause, is there any indication of when the apocalypse happened? And how long after the apocalypse are the events of the Hunger Games?",
"I accidentally changed /var owner/group to my username and then changed it back to root, but not all the /var folders' owners are root, so is there anyway to change back owner/group of files/folders to default state? Or at least those files/folders that are created by packages?",
"$$e^{i} = e^{i2\\pi/2\\pi} = (e^{2\\pi i})^{1/(2\\pi)} = 1^{1/(2\\pi )} = 1$$ Obviously, one of my algebraic manipulations is not valid.",
"Why do objects move when you apply a force that's equal in magnitude to the friction? If the friction on an object is 200 N and you apply 200 N, it seems, the forces should immediately cancel each other out since the friction and your applied force go in opposite directions, leaving you with an object that is motionless. Yet, from what I've read, that's not the case. I feel like I'm misunderstanding something. Could it be I'm wrong about needing to apply 200 N initially? Might the amount of force I actually need be greater, but instantaneously decrease to 200 N?",
"Force.Com Sidebar - Reference Data From Current Screen On URLs? I am being lead to believe this is possible: A URL on the Force.Com Sidebar Menu which references data from the currently open page. i.e., /{!recordId}?nooverride=1 However, this does not work. The brackets simply turn into percent encoded references on the resultant page. Is it possible to pass information onto a URL on the Force.Com sidebar?",
"Content type permission to specific users How do I set content permission so that specific content types become visible/usable to the admin user only, while other content types may be visible by other user roles? After I added new content types, I checked the rebuild permissions. Content access is working fine but the problem seems to be the fact that the enw content types aren't made visible / accessible to the other roles...",
"How to avoid having my father's down payment assistance get taxed as a gift",
"I want to add a comma in the thousands place for a number. String.Format()?",
"I have purchased a rather large bag of long-grain white rice (25 lbs.) and need to know the best way for storing it long-term. This rice will be used as both a food-storage food source and as my everyday source of rice for cooking, so the storage solution should (hopefully) be resealable, rather than once-it's-open-it's-open. I eat rice maybe three times a month, so it isn't really \"everyday\" but it will be my go-to when I have it.",
"Show how if Alice uses the same value of $k$ to sign two different messages $m_1$ and $m_2$, using the ElGamal signature scheme, Eve can recover the value of $a$ from the corresponding signatures $(m_1, r_1, s_1)$ and $(m_2, r_2, s_2)$. (Note: you are allowed to assume that if $\\gcd(a, n) = d$ then there are $d$ solutions to the congruence $ax \\equiv b \\pmod n$.) ElGamal Signature Scheme: Key Gen: Compute $y = g^x \\;\\bmod p$. The public key is $(p, g, y)$. The secret key is $(p, g, x)$ Signature Gen: Choose a random $k$ such that $0 < k < p − 1$ and $\\gcd(k, p − 1) = 1$ Compute $r = g^k \\;\\bmod p$ and $s = k^{-1}(m – xr) \\;\\bmod{p-1}$ Thoughts: So far, I can tell that $r_1$ and $r_2$ are equal and $s_1$ and $s_2$ are closely related since the only variation is $m$. We can relate the two equations for $s$, by solving them for $-xr$: $$s_1k - m_1 \\equiv s_2k - m_2 \\pmod p$$ $$(s_1 - s_2)k \\equiv m_1 - m_2 \\pmod p$$ Let $a = s_1 - s_2$, then we know from the question that for $\\gcd(a, n) = d$ there are $d$ solutions for $k$. Now the forger can compute $g^k$ for each solution to k, until $r$ is found. Then compute $xr \\equiv m_1 - ks_1 \\pmod{p-1}$ There are $d' = \\gcd(r, p-1)$ solutions for $x$. The forger can compute $g^x$ for all the $x$s found until she finds $y$. Once she has $y$ she knows the proper $x$ which can be used to find $m_1$ and $m_2$. How does this look?",
"I need a binary search algorithm that is compatible with the C++ STL containers, something like std::binary_search in the standard library's <algorithm> header, but I need it to return the iterator that points at the result, not a simple boolean telling me if the element exists. (On a side note, what the hell was the standard committee thinking when they defined the API for binary_search?!) My main concern here is that I need the speed of a binary search, so although I can find the data with other algorithms, as mentioned below, I want to take advantage of the fact that my data is sorted to get the benefits of a binary search, not a linear search. so far lower_bound and upper_bound fail if the datum is missing: //lousy pseudo code vector(1,2,3,4,6,7,8,9,0) //notice no 5 iter = lower_bound_or_upper_bound(start,end,5) iter != 5 && iter !=end //not returning end as usual, instead it'll return 4 or 6 Note: I'm also fine using an algorithm that doesn't belong to the std namespace as long as its compatible with containers. Like, say, boost::binary_search.",
"When is the graph of the divisor relation on $[n]$ planar?",
"How to find out which (not installed) Debian package a file belongs to? On Debian systems (and derivatives): $ dpkg --search /bin/ls coreutils: /bin/ls That is, the file /bin/ls belongs to the Debian package named coreutils. But this only works if the package is installed. What if it's not?"
] | medi_sts_stackexchange_dupe |
Why I was unable to call the class member even after declaring the member as protected | What is the difference between public, protected, package-private and private in Java? | [
"Define a new block environment in LaTeX beamer I have two kinds of examples in my document. I want to use different colors, say, red and blue. This is what I am doing now. \\documentclass[]{beamer} \\usetheme{Madrid} \\begin{document} \\begin{frame} \\frametitle{Test} \\setbeamercolor{block title}{fg=white,bg=red!75!black} \\begin{block}{First Kind Example} This is example of the first kind. \\end{block} \\setbeamercolor{block title}{fg=white,bg=blue!75!black} \\begin{block}{Second Kind Example} This is example of the second kind. \\end{block} \\end{frame} \\end{document} I know this is kind of stupid. I want to define two new block environments, one for each color, so I don't need to use setbeamercolor every time I use them. \\begin{block1}{First Kind Example} ... \\end{block1} \\begin{block2}{Second Kind Example} ... \\end{block2} I know I need to define these two new environments in the preamble, but don't know how. Thanks for the help. By the way, what is a good reference on these kinds of tricks in LaTeX/beamer? Any recommendations?",
"What TV movie had lost space cadets who piloted yellow tripod robots, and a squid bad guy?",
"File permissions and saving",
"External hard drive and Recycle Bin behavior When my Seagate external hard drive is plugged in, its $RECYCLE.BIN folder automatically contains all the files contained in the Recycle Bin of the PC. Is it true that actually we don't have any Recycle Bin of external hard drive, rather it is the Recycle Bin of the PC? Why is it so?",
"Why does my user number show up in the search box when clicking my profile information?",
"I've only played one placement match so far and I won it because my opponents were less than stellar. I'm afraid that if I get similar placement matches in the future and end up winning them all I might get put into a league beyond my skill. How many different leagues are there? Once placed in a league, is there any way to move to a different one? How?",
"Finding distance between points in two different layers along route in ArcMap? I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between the source sites and the sites where they are not through the stream network. I tried the linear referencing toolbox but the locate features along route tool can only use one layer of points and has not way to differentiate between sources and not source sites. Any ideas? I am using ArcMap 10.3?",
"I am having Problems converting user rights. I want to assign the following rights to certain files/folders but dont know hat to translate them into a format which chmod will work with like chmod 755. -rwxrwxrwx will be? And drwxr-xr-x will be? And finally -rw-r--r-- will be?",
"Every package \"has no installation candidate\" While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'openssh-server' has no installation candidate I see the same error when trying to install any package. This is the sources.list file: deb http://archive.canonical.com/ubuntu hardy partner deb-src http://archive.canonical.com/ubuntu hardy partner",
"According to the well ordering theorem \"\". Whenever we have a well ordering on a set, it is not difficult to construct a new well ordering with a largest element. My question is: For a given infinite set, can we find a well ordering on it such that there is no largest element?",
"Are there areas of mathematics (current or future) that cannot be formalized in set theory? I often read that ZFC can formalize \"most\" of everyday mathematics, but I could never find an example which it cannot. The closest I got is differential geometry (DF), where some article mentions that the translation from concepts of DF into set theory would render it almost \"meaningless\", in the sense that any intuitions one could have would be lost in the translation. So, if I didn't misunderstand, at least in theory, the translation could be done, so that a future AI machine could prove theorems of differential geometry using set theory. On the other hand, the Stanford Encyclopedia of Philosophy states that \"all of mathematics can be reduced to a formal system of set theory\"(). So, the questions are: Is there any current area of mathematics that could be not formalized within set theory? If so, which ones? and Is there any reason to think that every math of the future will be always formalizable in set theory? any references to read on the subject are welcomed! Clarification: by set theory I am not restricting to ZFC, but to any flavor of it, including all additional axioms you want (about large cardinals or any kind)",
"I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management. I'd like to find something similar to do SSH connections but haven't had much luck. I'd prefer not to simply use SSH tunneling since that requires opening port ranges other than the standard. Is there anything out there that can do this? Could HAProxy do this?",
"Unfair 3 Sided Die Question Say you have an unfair 3-sided die. Side 1 will be rolled with probability $P_1.$ Side 2 will be rolled with probability $P_2.$ Side 3 will be rolled with probability $P_3.$ Find a formula for the probability that the 8th 3 will be rolled on the 10th roll. Here is how I started: $$ \\sum_{i=8}^{10}P(T_8 = i) $$ Im just having trouble with that expansion?",
"How to prove that any idempotent matrix is diagonalizable?",
"Where can I find some guidance on index strategies?",
"For groups $A,B,C$, if $A\\times B$ and $A\\times C$ are isomorphic do we have $B$ isomorphic to $C$? The motivation for this question is in my answer to this post : (1) If I take $A$, $B$ and $C$ three groups such that $A\\times B$ is isomorphic to $A\\times C$ then do we have $B$ is isomorphic to $C$ ? In the post a counter example is given when $A$ is an infinitely generated group. However I cannot get a counter-example when $A$, $B$ and $C$ are assumed to be finite groups. Note that there is no reason a priori if $\\phi$ is an isomorphism from $A\\times B$ to $A\\times C$ that $\\phi(A\\times\\{1_B\\})=A\\times\\{1_C\\}$. In the case of finite groups it is true because of the Krull-Schmidt theorem : . A slightly more general question is the following : (2) If $B$ and $C$ are two finitely generated groups, can I always find a finitely generated group $A$ such that $A\\times B$ is isomorphic to $A\\times C$? If $A$ is not assumed to verify any property but to be a group we can take : $$A=B^{\\mathbb{N}}\\times C^{\\mathbb{N}} $$ Furthermore replacing :$ \\prod_{\\mathbb{N}}$ by $\\bigoplus_{\\mathbb{N}}$ (or more likely the restricted product for groups but I am not sure of a well known notation, it is the subgroup of the product with all but a finite number components being trivial) will give you the same result for countably infinite groups. $\\underline{\\text{Edit}}$ : To be clear about what I am asking. (1) is kown to be true for finite groups whereas (2) is known to be true when we are considering groups without restriction (even just for countably infinite groups). Let us pretend we are working on the smaller class of groups : the finitely generated groups. Is there any counter example to $(1)$? Is there any counter example to $(2)$? $\\underline{\\text{Edit 2}}$: Here is a partial answer, from the classification of finitely generated abelian groups $(1)$ is always true if all groups are assumed to be abelian finitely generated groups. Now assume that $A\\times B=G=A\\times C$. Then you have (derived groups) : $$D(G)=D(A)\\times D(B)=D(A)\\times D(C) $$ So the abelianizations verify : $$A^{ab}\\times B^{ab}=A^{ab}\\times C^{ab}$$ Because we are now in the realm of finitely generated abelian groups we get : $$B^{ab}=C^{ab} $$ So $(2)$ cannot be true in general for instance you can take $B:=\\mathbb{Z}$ and $C=\\mathbb{F}_5$, those two groups have different abelianizations. The new question can be found here :",
"What is an ultra-wide lens? What is the point at which a lens is considered \"ultra-wide angle\" vs just wide angle?",
"I just read a book \"Linear Algebra and Its Applications 4E\" by David C. Lay. The book is (should be) LaTeX typeset. The matrix and equations are so nice, please see the following 3 examples: It's so beautiful, so I want get the same effect inside my paper. Here is my code: \\usepackage{amsmath} \\usepackage{colortbl} \\newcommand\\y{\\cellcolor{clight2}} \\definecolor{clight2}{RGB}{212, 237, 244}% %%% \\[A=\\left[ \\begin{array}{ccccc} \\y 0 & -3 & -6 & 4 & 9 \\\\ -1 & \\y -2 & -1 & 3 & 1 \\\\ -2 & -3 & 0 & \\y 3 & -1 \\\\ 1 & 4 & 5 & -9 & -7 \\end{array} \\right]\\] \\[A=\\left[\\begin{array}{cccccc} \\rowcolor{clight2} 3 & -9 & 12 & -9 & 6 & 15\\\\ 0 & 2 & -4 & 4 & 2 & -6 \\\\ 0 & 3 & -6 & 6 & 4 & -5 \\end{array} \\right]\\] And the result: But how to add these arrows??",
"Intuitive Explanation of Tippe Top Effect?",
"Why didn't Dumbledore show his memory of Barty Crouch Jr's confession to Cornelius Fudge to confirm his point that Voldemort returned? Wouldn't that just prevent all the mumbo-jumbo happening in the 5th book?"
] | medi_sts_stackexchange_dupe |
A graph that all its vertices are vertices cut | Proof that any simple connected graph has at least 2 non-cut vertices. | [
"How do I remove repeated elements from ArrayList?",
"Force floats to be typeset after their occurrence in the source text?",
"I looked \"$\\divideontimes$\" up on Google and now I know that it's Unicode U+22c7 but when would it be used? I am guessing that $5 \\divideontimes 5 = 25$ and $1$...?",
"Does the pilot of a rocket ship experience an asymptotic approach to the speed of light? A question has recently come up that goes beyond my knowledge of special relativity. Suppose a pilot has his foot on the gas pedal of a rocket ship and keeps it applied to achieve a constant acceleration, and he has a magical engine that can maintain the thrust needed to accomplish such acceleration even as the vehicle acquires mass. He measures his acceleration at periodic intervals and sums it up as he goes. Observers perceive the rocket to increase in speed and gradually approach the speed of light (but never reach it). Two possibilities are being debated for what the pilot observes, and my preference is for the first: Time dilation gives him the impression that the summation of his readings are approaching light speed at a constant rate, but there is an asymptote involved here even in the inertial frame such that he never actually perceives himself to reach, let alone exceed, $c$, because time slows down to a crawl (as seen from the reference frame) before this can happen. Although to observers he is only approaching $c$, it is possible for the summation of the measurements on his accelerometer to indicate that he has surpassed $c$ and is now traveling faster than light. From the reference frame he is approaching $c$ and his instruments in the inertial frame tell him that he has surpassed it. I assume (1) is true beyond a doubt? If so, is there a straightforward explanation for this?",
"What is the \"wheel\" user in OS X?",
"Convert a JSON string to object in Java ME?",
"Have a look at the following code: \\documentclass[letterpaper]{article} \\usepackage{amsmath,amssymb} \\begin{document} $2-\\frac{2}{1-\\left(\\frac{2}{2-\\frac{2}{x^2}}\\right)}$\\quad $2-\\dfrac{2}{1-\\left(\\dfrac{2}{2-\\dfrac{2}{x^2}}\\right)}$\\quad $2-\\cfrac{2}{1-\\left(\\cfrac{2}{2-\\cfrac{2}{x^2}}\\right)}$\\quad $2-\\dfrac{2}{1-\\left(\\cfrac{2}{2-\\dfrac{2}{x^2}}\\right)}$ \\end{document} This gives: Evidently, the first display is not the proper way. The second and last are the same I guess. The third has a better display but there is too much space above the 2 in \\left(\\cfrac{2}{2-\\cfrac{2}{x^2}}\\right). Essentially, non of the above displays satisfies, for me, a good Mathematical typsetting. Although, it may be argued that it is the default in LaTeX. I just can't get it right? Any insights? In a book I got this example from it looks like this without the excessive bold (this is a scanned image):",
"I've downloaded a driver for a video card (*.run) and tried to install within a terminal. When I started the installation process I got this error: ERROR: nvidia-installer must be run as root. I'm logged in with my own profile.",
"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.",
"I would like to work out the Fourier transform of the Gaussian function $$f(x) = \\exp \\left(-n^2(x-m)^2 \\right)$$ It seems likely that I will need to use differentiation and the shift rule at some point, but I can't seem to get the calculation to work. Does anyone have any advice? By the way, I am using $$\\mbox{FT}(f)(k)=\\int_{-\\infty}^\\infty f(x)e^{-ikx}\\,\\mathrm d x$$ as my definition of a Fourier transform. Many thanks.",
"My laptop has a function key which turns F keys into keys which change volume or brightness. I would like to swap a number of them so that they perform that function under normal operation and are an Fx key while the function key is being held. I assumed that the function keys were just normal keys codes with the set of keys being large enough to include all the possible speical keys. I tried to so as this tutorial suggests () and use xev to obtain the key codes and then would use xmodmap to swap their value. This does not seem to work though. The F12 key gives the xev output: KeyPress event, serial 41, synthetic NO, window 0x4a00001, root 0xb1, subw 0x0, time 468005, (23,-15), root:(89,37), state 0x10, keycode 96 (keysym 0xffc9, F12), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False Which I think is to be expected. However, the Increase Volume button give this response: KeymapNotify event, serial 41, synthetic NO, window 0x0, keys: 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 And so does the Decrease Volume key. How can I perform the swapping of the keys that I would like? Thank you",
"What is a single word for a person who, as a habit, exaggerates a lot when relating information? So for example, they relate something that happened but exaggerate so much that they are including clear falsehood and they are well known for doing that.",
"I have no idea how to prove that the set $\\{(x, |x|): x\\in\\mathbb{R}\\}$ is not the image of an immersion of $\\mathbb{R}$ into $\\mathbb{R}^2$ For example If $f(t)=(t^3, |t|^3)$ then $f'(0)=(0, 0)$.",
"Is it possible to get total render time via Python code when render’s done?",
"At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the player's file system to change permissions in this way? I tried using chmod: $ sudo chmod a+rw SGTL\\ MSCN/ chmod: changing permissions of `SGTL MSCN/': Read-only file system SGTL MSCN is the mount point of the digital audio player. What else can I try to make it writeable?",
"How to use an existing database with an Android application",
"Is there an easy way to calculate the residue at one of the poles of a rational expression of the form $\\frac{1}{1+z^n}$? I end up having to add a bunch of polar-form complex numbers in the denominator which I have no idea how to do except to convert them to rectangular coordinates, which becomes really messy. I feel like there ought to be simple pattern/rule for such a canonical expression.",
"How to test multiple variables against a single value?",
"Also schemas can communicate over database links to schemas in other remote databases. Could one replace the preposition over with through? Will it change the meaning, and if so, when should we use over instead of through?",
"Is there any way of making a Minecraft server lower than the current version? So me and my friends manged to make a server in Minecraft for us to play on and we would like to add mods. But the mods we want to add are a few versions lower than the updated version. Is there any way of making a server with a lower version of Minecraft that people can still play on?"
] | medi_sts_stackexchange_dupe |
Best approach for precise Rational arithmetics in MySQL | Is floating point math broken? | [
"I am on Ubuntu and I have forgotten the password for my Gnome Keyring (yes, stupid me, I know). Any way I can get it back? I have already looked at , but it says it's not possible if my home directory is encrypted and unfortunately my home directory is encrypted.",
"How to make sure that Qt5.4.2 is installed properly I installed qt5.4 from in Ubuntu 14.04, but when I run: qmake -v I always get the old version Qt5.2.1, although I think it is installed here Qt version 5.4.2 in /opt/qt54/lib. Can anyone tell me how to make sure that Qt5.4.2 is installed properly? Thanks",
"question about the limit $\\lim_{h\\to0}\\frac{\\arcsin(x+h)-\\arcsin(x)}{h}$",
"Poiseuille's law states that the rate of flow of water is proportionate to $r^4$ where $r$ is the radius of the pipe. I don't see why. Intuitively I would expect rate of flow of fluid to vary with $r^2$ as the volume of a cylinder varies with $r^2$ for a constant length. The volume that flows past a point is equal to rate of flow fluid, and thus it should vary with $r^2$. I cannot understand the mathematical proof completely. Is there an intuitive explanation for this?",
"Prove that $\\det(M-I)=0$ if $\\det(M)=1$ and $MM^T=I$ $M$ is a $3 \\times 3$ matrix such that $\\det(M)=1$ and $MM^T=I$, where $I$ is the identity matrix. Prove that $\\det(M-I)=0$ I tried to take $M$ $=$ $$ \\begin{pmatrix} a &b & c \\\\ d & e & f \\\\ g & h & i \\end{pmatrix} $$ but its expansion is too long.",
"Pass the output of previous command to next as an argument",
"Is there a single word for \"moving unhinderedly\"?",
"Cylindrical vs azimuthal symmetry What is the difference between cylindrical and azimuthal symmetry, are they the same? I have not been able to find a clear explanation of these terms wrt. a cylinder. I need to know which length I should integrate over to solve the problem below. A cylinder of radius $R$ and length $L$ has a cylindrically symmetric volume charge density of $\\rho(x)$. Calculate the total charge on the cylinder.",
"Could you vs would you Could you write your name? Would you write your name? When you are asked to do this, are there any situation in which you hear weird if either is used (but the other sounds pretty natural .)",
"What is the command to open the shutdown dialog?",
"I do not understand much about mine bitcoins, but I downloaded a program that is like a wallet, but I want to know how I do to mine. Has a calling GUIminder but is for windows, someone knows one that is for ubuntu?",
"How do I set the default font size in Vim?",
"Story about last 2 men on Earth. One very evil, and the other very ethical",
"Why don't the Ubuntu repositories have the latest versions of software?",
"How to prevent an email from accidentally being forwarded?",
"Status of B1/B2 visa after citizenship change? I have a valid B1/B2 visa valid to US till March 2019 on Indian passport, I changed my citizenship to Australian. Is my B1/B2 visa on Indian passport valid?",
"Show $\\operatorname{Aut}(C_2 \\times C_2)$ is isomorphic to $D_6$ (the group with $x^3=1$, $y^2=1$ and $xy=yx^2$). I'm not really sure how to express the elements of $\\operatorname{Aut}(C_2 \\times C_2)$. Would it be sufficient to show the elements of $\\operatorname{Aut}(C_2 \\times C_2)$, find their order and show they bijectively map to every element of $D_6$ and satisfy $xy=yx^2$?",
"Short science fiction film about a Midwest farmer who builds a bunker after finding a space plant",
"Determining possible minimal polynomials for a rank one linear operator I have come across a question about determining possible minimal polynomials for a rank one linear operator and I am wondering if I am using the correct proof method. I think that the facts needed to solve this problem come from the section on Nilpotent operators from Hoffman and Kunze's \"Linear Algebra\". Question: Let $V$ be a vector space of dimension $n$ over the field $F$ and consider a linear operator $T$ on $V$ such that $\\mathrm{rank}(T) = 1$. List all possible minimal polynomials for $T$. Sketch of Proof: If $T$ is nilpotent then the minimal polynomial of $T$ is $x^k$ for some $k\\leq n$. So suppose $T$ is not nilpotent, then we can argue that $T$ is diagonalizable based on the fact that $T$ must have one nonzero eigenvalue otherwise it would be nilpotent (I am leaving details of the proof of diagonalization but it is the observation that the characteristic space of the nonzero eigenvalue is the range of T and has dimension $1$). Thus the minimal polynomial of $T$ is just a linear term $x-c$. Did I make a mistake assuming that $T$ can have only one nonzero eigenvalue? Thanks for your help",
"Not sure how to make tables, but: For a binary operation $*$, and set $\\{e,a,b,c\\}$, in the Cayley table, $a*a$ can be filled with either the identity or an element different from both $e$ and $a$. If in the table the place for $a*a$ is filled with $e$, then the rest of the table can be filled out in two different ways. What are the two different ways? Thanks"
] | medi_sts_stackexchange_dupe |
Ubuntu 18 edit root files | How do I edit a file in /proc that can be viewed with cat, but is not editable by mousepad and abiword? | [
"What is the number of triangles with integer sides, given the length of the longest side? Suppose $a,b,c \\in\\mathbb N$, and the value of $c$ is known and fixed, while $a$ and $b$ are unknown and are both smaller than $c$. What is the total number of unique triangles possible with $a, b$ and $c$ as its sides?",
"Adjust space between entries in LoF and LoT",
"Government investigating home library of missing inventor This is a short story from the 50s or 60s. A scientist or inventor has invented either teleportation or a space drive and has disappeared - leaving no documentation or clues except his extensive home library. The government gathers all types of scientists to attempt to duplicate his research. Several months later, as they are about to launch the first space drive space ship, the officer in charge reveals that there was no 'disappeared inventor'. The greatest step toward a new impossible concept is knowing that it has already been done.",
"Cycles in permutations of a given size",
"I am thinking about buying a new lens specifically to take photos of distant targets (birds, bears, etc). I currently own the Canon 70-300 IS USM, which is a nice lens, but I find that if I want to take a photo of anything further away than about 10 meters, the target does not fill a large amount of the frame (meaning I have to significantly crop in post production). I am currently looking at the Canon prime 400mm, however I would like to determine at what distance an object will fill a reasonable proportion of the frame. Is there a formula or rule of thumb I can apply that will help me in this situation? I realise the size of the target I am shooting will play a role here, so if we need to make an assumption about the size of the target please let me know.",
"Test for the convergence of the sequence $S_n =\\frac1n \\left(1 + \\frac{1}{2} + \\frac{1}{3} + \\cdots+ \\frac{1}{n}\\right)$",
"Proving $\\left(1+\\dfrac{1}{1^3}\\right)\\left(1+\\dfrac{1}{2^3}\\right)\\cdots\\left(1+\\dfrac{1}{n^3}\\right)<3$ for all positive integers $n$ Prove that $\\left(1+\\dfrac{1}{1^3}\\right)\\left(1+\\dfrac{1}{2^3}\\right)\\cdots\\left(1+\\dfrac{1}{n^3}\\right)<3$ for all positive integers $n$ This problem is copied from Math Olympiad Treasures by Titu Andreescu and Bogdan Enescu.They start by stating that induction wouldn't directly work here since the right hand side stays constant while the left increases.They get rid of this problem by strengthening the hypothesis.$$\\left(1+\\dfrac{1}{1^3}\\right)\\left(1+\\dfrac{1}{2^3}\\right)\\cdots\\left(1+\\dfrac{1}{n^3}\\right)\\le3-\\dfrac{1}{n}$$ and then proceed by induction. The problem is that I can't find a motivation for the above change.I mean,we could have subtracted a lot of things from the RHS but what should nudge us to try $\\dfrac{1}{n}$?The rest of the proof is quite standard,but I can't see how I am supposed to have thought of it.Is it just experience?Or is it a standard technique?A little guidance and motivation will be appreciated.",
"says: SSH_ASKPASS If ssh needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh does not have a terminal associated with it but DISPLAY and SSH_ASKPASS are set, it will execute the program specified by SSH_ASKPASS and open an X11 window to read the passphrase. I'd like SSH to use an askpass program even if it was run from a terminal. On occasion, I have to connect to servers, where there's some delay in showing a password prompt (maybe due to network issues, maybe due to attempted reverse DNS lookups, …). I get annoyed and switch to something else, and forget about the attempted connection. (Insert joke about attention span of a goldfish.) When I finally get back to it, the prompt's timed out and even a correct password would just result in a closed connection. Keys would be one solution, but not every system I use has my usual SSH keys. However, I usually use Ubuntu systems, and Ubuntu has an SSH askpass program installed by default. If an askpass window popped up, however, I'd be immediately aware of it. That's a good enough compromise for me, if only I can get it to work.",
"I just watched Planet Hulk. At the end the Hulk ends up with someone seemingly almost as powerful as he is. Are the Hulks (Green, Red, and She-Hulk) able to have children?",
"I tried to use the usb-creator.exe from Ubuntu 10.10 desktop i386 ISO image and it does create an USB stick that doesn't boot. When I try to boot from it I get: Operating System not found. I try to do this from Windows 7 x64. I'm not looking to create a live Ubuntu media, only an installation USB disk. I repeated the process several times and I even tried to reformat the USB drive (FAT32), no success yet. The USB stick is a 8GB one.",
"A sequence $\\{x_j\\}$ is said to be fast-Cauchy if $\\sum_1^\\infty d(x_j,x_{j+1})<+\\infty$. Show that every Cauchy sequence has a fast-Cauchy subsequence. **My attempt:**Argue by contradiction, suppose there is no such subsequence. Then for any subsequence $\\{{x_j}_k\\}$, $\\sum_1^\\infty d({x_j}_k,{x_j}_{k+1})$ diverges. Vaguely recall from an analysis course, if a series diverges, it doesn't not satisfy the Cauchy criterion. That is to say, there exists $\\epsilon>0$ such that for all $k$ and all $p\\ge1$, $d({x_j}_{k+1},{x_j}_{k+2})+...+d({x_j}_{k+p}+{x_j}_{k+p+1})\\ge\\epsilon$. Then I intuitively think that this is a contradiction, since if the original series is Cauchy, then after a large $N$, since $d(x_m,x_n)$ has to be very small, so that their sum should be smaller than given $\\epsilon$, which is a contradiction. But I don't know how I can write down the concrete proof?",
"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.",
"Word for phrase Good for you, bad for us There is a phrase I have heard quite a bit recently dealing with people that are leaving the department for promotions, etc. When a person leaves, it is good for them, but bad for us. It is good for them because they will be pursuing a new opportunity, but not so good for the department since they will have to be replaced, and others will have to pick up the slack until someone else can be hired and get up to speed. Is there a word that means that a deal is good for one party, but not necessarily the other?",
"Why is a method not identical to itself?",
"Is it possible to have multiple bevel objects along a curve? I'm wondering if it's possible to define multiple bevel objects along a curve and have Blender interpolate between the bevels like keyframes.",
"Where do I get the key for the first house?",
"How to set the command prompt's color in Bash?",
"Purpose of asterisk before a CSS property",
"Looking for a short story about a robot evolving to have supernatural powers I'm looking for a short story from about 50 years ago about a robot who escapes after being slated to be melted down and discovers while in hiding that it has evolved to have some supernatural powers.",
"After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I'm wondering if there's anything wrong with using backticks around field names in MySQL. That is: SELECT `id`, `name`, `anotherfield` ... -- vs -- SELECT id, name, anotherfield ..."
] | medi_sts_stackexchange_dupe |
Minecraft PE Connect to a Mac? | Can Minecraft Pocket Edition play with a desktop Minecraft? | [
"\\colorbox height too long \\documentclass{article} \\usepackage[utf8]{inputenc} \\usepackage{xcolor} \\usepackage{minted} \\usepackage{parskip} \\definecolor{codegray}{gray}{0.9} \\newcommand{\\code}[1]{\\colorbox{codegray}{\\texttt{#1}}} \\begin{document} \\code{test code}\\\\ anotherline \\end{document} This is working good on sharelatex.com and looks like I expect and want it: but on my local project using this command gives me this: any idea what could be causing this colorbox height going to the next line?",
"How to insert an item into an array at a specific index (JavaScript)? I am looking for a JavaScript array insert method, in the style of: arr.insert(index, item) Preferably in jQuery, but any JavaScript implementation will do at this point.",
"Rotate Geographic map",
"Will the Garbage Collector call IDisposable.Dispose for me?",
"Is the unit sphere in $\\Bbb R^4$ path connected?",
"I have this function: $$ f(x,y) = \\frac {xy}{|x|+|y|} $$ And I want to evaluate it's limit when $$ (x,y) \\to (0,0)$$ My guess is that it tends to zero. So, by definition, if: $$ \\forall \\varepsilon \\gt 0, \\exists \\delta \\gt 0 \\diagup \\\\ 0\\lt||(x,y)||\\lt \\delta , \\left|\\frac{xy}{|x|+|y|}\\right| \\lt \\varepsilon $$ Then $$ \\lim_{(x,y)\\to(0,0)}\\frac {xy}{|x|+|y|} = 0 $$ So: $$ \\left|\\frac{xy}{|x|+|y|}\\right| = \\frac{|xy|}{|x|+|y|} = \\frac{|x||y|}{|x|+|y|} \\le 1 |y| \\lt \\delta $$ So for any $$\\delta \\lt \\varepsilon$$ the inequality is true. Hence, the limit exists and is equal to zero. . Am I wrong or is Wolfram|Alpha wrong?",
"How can I add certain mobs to a team and make them passive to me if they would normally attack me? I know how to do it in 1.8, but how can I do it now in 1.16.4?",
"Avoiding NullPointerException in Java",
"What are good learning resources for a LaTeX beginner?",
"I know that the rotation period of the moon equals its revolution period. It's just so astonishing that these 2 values have such a small difference. I mean, what is the probability of these 2 values to be practically the same? I don't believe this to be a coincidence. It's just too much for a coincidence. What could have caused this?",
"I can't install software-center on Kali",
"\"Images with street signs\" CAPTCHA impossible to solve I just got challenged (over on ) by the new \"Mark all images with street signs\" CAPTCHA. I must have tried a dozen times to solve it by checking all images that had street signs, but I never succeeded. Of note is a text input field without instructions of what to enter there. I suspect that is the problem: It is expecting input, but doesn't tell me what to input. It's either broken or I am missing something. I am using Chrome on an iPhone in \"full site\" mode.",
"How to know that your machine learning problem is hopeless?",
"How to find the joint PDF?",
"Open Mapping Theorem: counterexample The Open Mapping Theorem says that a linear continuous surjection between Banach spaces is an open mapping. I am writing some lecture notes on the Open Mapping Theorem. I guess it would be nice to have some counterexamples. After all, how can you appreciate it's meaning without a nice counterexample showing how the conclusion could fail and why the conclusion is not obvious at all. Let $\\ell^1 \\subset \\mathbb{R}^\\infty$ be the set of sequences $(a_1, a_2, \\dotsc)$, such that $\\sum |a_j| < \\infty$. If we consider the $\\ell^1$ norm $\\|\\cdot\\|_1$ and the supremum norm $\\|\\cdot\\|_s$, then, $(\\ell^1, \\|\\cdot\\|_1)$ is complete, while $(\\ell^1, \\|\\cdot\\|_s)$ is not complete. In this case, the identity $$ \\begin{array}{rrcl} \\mathrm{id}:& (\\ell^1, \\|\\cdot\\|_1)& \\to &(\\ell^1, \\|\\cdot\\|_s) \\\\ & x & \\mapsto & x \\end{array} $$ is a continuous bijection but it is not open. I want a counterexample in the opposite direction. That is, I want a linear continuous bijection $T: E \\to F$ between normed spaces $E$ and $F$ such that $F$ is Banach but $T$ is not open. This is equivalent to finding a vector space $E$ with non-equivalent norms $\\|\\cdot\\|_c$ and $\\|\\cdot\\|_n$, such that $E$ is complete when considered the norm $\\|\\cdot\\|_c$, and such that $$ \\|\\cdot\\|_c \\leq \\|\\cdot\\|_n. $$ The Open Mapping Theorem implies that $\\|\\cdot\\|_n$ is not complete. So, is anyone aware of such a counterexample?",
"How can I set my system to suspend when inactive to a longer amount of time I run Mythtv on some Ubuntu 11.10 based machines. In the power settings, I can choose from a list of time periods from 5 minutes up to 1 hour for the the machine to suspend when inactive. I would like to set the suspend to occur at a longer interval, like 2 hours or 4. Previously with Gnome, I would think that I could go into the gconf editor and find the key there, I am not sure with Unity where to override a setting like this. Any suggestions?",
"As opposed to the generic polynomial form for utilizing the Eisenstein Criterion ($a_nx^n+a_{n-1}x^{n-1}+\\dots+a_0\\in\\mathbb{Z}[x]$ is irreducible in $\\mathbb{Q}$) how do we prove that if $p$ is a prime, $x^{p-1}+x^{p-2}+\\dots+x+1$ is irreducible over $\\mathbb{Q}$?",
"How can I select first occurrence between two patterns including them. Preferably using sed or awk. I have: text something P1 something content1 content2 something P2 something text something P1 something content3 content4 something P2 something text I want the first occurrence of the lines between P1 and P2 (including P1 line and P2 line): something P1 something content1 content2 something P2 something",
"When I double-click to select text in GNOME Terminal, the selection stops at spaces but continues over hyphens: Some of my filenames contain uncommon characters such as the and are not selectable by double-clicking: Is there a way to make double-click selection continue over these characters as well?",
"Independent Edit/Object mode in splitscreen"
] | medi_sts_stackexchange_dupe |
What's the easiest way to unrar a file on Ubuntu 12.04 | What's the easiest way to unrar a file? | [
"Let, $X$ be a countable set. Which of the following are true? There exists metric $d$ on $X$ so that $(X,d)$ is complete. There exists metric $d$ on $X$ so that $(X,d)$ is not complete. There exists metric $d$ on $X$ so that $(X,d)$ is compact. There exists metric $d$ on $X$ so that $(X,d)$ is not compact. 4 is true as we can take discrete metric. Then $\\{\\{x\\}:x \\in X\\}$ is an open cover containing no finite subcover. If there exists a compact metric then it would automatically become complete also. Hence if 3 is true, so is 1. What about 2? Any other comment?",
"Should it be obvious that independent quantum states are composed by taking the tensor product?",
"I've read before that, by the Principle of Explosion, if a theory is inconsistent, then absolutely any statement can be proven within it. Obviously, there are statements which are independent of ZFC (Continuum Hypothesis, etc). It seems to me that this proves that ZFC is incomplete. Why does it not then follow that ZFC is consistent? It seems to me that we could say \"Assume ZFC is inconsistent. Then the the Continuum Hypothesis is provable in ZFC. But the Continuum Hypothesis is neither provable nor disprovable in ZFC. Therefore ZFC is consistent.\" What am I missing here?",
"How do I install Komodo Edit? New to linux, help me install this program Komodo-Edit-7.1.0-10496-linux-x86_64 I'm running Ubuntu 12.04 64bit.",
"What damage can person/s do if they have your passport number and visa control number? I read as well as but it doesn't tell of what damages can be done. I have seen several sites on which people share/show the visa without the numbers and sometimes without name as well. The only reason which many people perceive is identity theft but am unable to see how is that possible. I have to use public facilities such as printing, scanning etc. where it is easy for the operator to make copies without my consent. Also as shared, both these details are widely circulated when you stay in a hotel or anywhere else (when abroad) where identity information is needed. Also particular to visas, as I'm given to understand, for short-stay visas (less than 3 months) which most tourist visas operate under, the window of doing anything nefarious activities (such as terrorism) would be extremely small. If I were a terrorist and I needed those bits to make work, then I would probably go for somebody who has a long-term stay as those credentials would look valid and I could jump from place to place under the radar under a fraudulent identity. Also as a terrorist, I would take quite a long view as any such attack takes years of planning, as shown in the investigation of various terrorist attacks in India as well as the U.S. Also, although I don't know (am speculating here) don't most airports might/should be checking on status quo of a passport to ensure issues such as showing 2 entries of a passport without exit (in some database where this information is collected and collated.) Am I missing something in the logic here ?",
"$n$ people attend the same meeting, what is the chance that two people share the same birthday? Given the first $b$ birthdays, the probability the next person doesn't share a birthday with any that went before is $(365-b)/365$. The probability that none share the same birthday is the following: $\\Pi_{0}^{n-1}\\frac{365-b}{365}$. How many people would have to attend a meeting so that there is at least a $50$% chance that two people share a birthday? So I set $\\Pi_{0}^{n-1}\\frac{365-b}{365}=.5$ and from there I manipulated some algebra to get $\\frac{364!}{(364-n)!365^{n}}=.5\\iff (364-n)!365^{n}=364!/.5=.....$ There has to be an easier way of simplifying this.",
"Is it (always) true that $$\\mathrm{Var}\\left(\\sum\\limits_{i=1}^m{X_i}\\right) = \\sum\\limits_{i=1}^m{\\mathrm{Var}(X_i)} \\>?$$",
"How to convert sshfs command to fstab entry? From another SO , I understand I should create an entry in fstab to permanently mount an access to a virtual machine. I am not Linux expert. The magic command which allows me to perform this from a terminal is: sudo sshfs -o idmap=user -o allow_other -o nonempty jverstrynge@devjverstrynge:/home/httpd /home/jverstrynge/httpd When I check the above SO question, I see an entry looking like this: /media/mybook/laptop_backup /export/laptop_backup none bind 0 0 Can someone explain how to transform the CLI command into an entry in fstab?",
"Remove votes to close question X as a duplicate of Y if question Y is closed as a duplicate of X I just happened across , which has one close vote suggesting that it be closed as an exact duplicate of . This suggestion is perfectly correct: these are exactly identical questions asked by the same user. However, there's not much point in closing question A as a duplicate of B, since question B has already been closed as a duplicate of A. Yet the close vote remains, doing nothing but wasting reviewers' time. This is not the first time I've seen this happen, so I'd like to suggest that the Stack Exchange software should do something about it. In particular, I'd like to suggest the following feature: When a question Y is closed as an exact duplicate of another question X, any votes or flags to close X as a duplicate of Y should be automatically discarded. Actually, I'm kind of surprised that the SE software doesn't do that already. If anyone else thinks that this constitutes an actual bug, feel free to retag it.",
"Prove that $E$ is disconnected iff there exists two open disjoint sets $A$,$B$ in $X$",
"Does the lens I just bought have a fungus?",
"Make a computer act as a virtual USB device for other equipments",
"Laggy viewport in 2.9 when model has a lot vertices",
"App drawer icon gone from Cyanogenmod dock I have a Samsung Galaxy S2, running the latest CM10.1. I lost the app drawer icon on my Dock; I must have deleted it. The app drawer icon lets you go to the app list, and the widget list. How do I get the app drawer icon back? The icon looks like a circle with 6 dots inside it.",
"I have recently bought a Logitech M510 as my main mouse switching over from a magic mouse. I didn't realize missing horizontal scrolling would be such an issue, but apparently it is. Now a mac does support horizontal scrolling by holding shift + scrolling, this is however amazingly slow. I have the Logitech Control Center installed, which offers a few extra options, but nothing regarding the horizontal scroll speed. The scrolling speed options offered there only affect vertical scrolling. Can the vertical speed be one setting and the horizontal speed another?",
"I wrote a script to create a big number of heat maps for a given scenario. I would like to save the result of every heat map as an PNG image. I have figured it out doing it with simple Map Rendering but the quality of the result is too low. Furthermore I would like to export to OpenLayers using the same code, which does not seem to be possible with simple rendering. Now I am trying to do it with QgsComposition instead. Manually in the Map Composer you can just set the paper color to transparent and disable the background of the map canvas. This is the code that I have so far. I just cannot figure out why it is not working. The result png-file always has a white opaque background. My OS is Windows 7 and I'm using QGIS 2.6 Brighton. I hope someone can help me out here. # PARAMETERS mainPath = 'path/to/folder/' filename = 'filename' imageType = \"png\" imageWidth_mm = 400 imageHeight_mm = 160 dpi = 300 mapRenderer = iface.mapCanvas().mapRenderer() c = QgsComposition(mapRenderer) c.setPlotStyle(QgsComposition.Print) c.setPaperSize(400, 160) x, y = 0, 0 w, h = c.paperWidth(), c.paperHeight() composerMap = QgsComposerMap(c, x ,y, w, h) c.addItem(composerMap) # get all items and disable the backgrounds itemList = c.items() c.removeItem(itemList[2]) c.removeItem(itemList[2]) itemList[2].setBackgroundEnabled(False) itemList[3].setBackgroundEnabled(False) # add them to the composition c.addItem(itemList[2]) c.addItem(itemList[3]) c.refreshItems() c.refreshDataDefinedProperty(QgsComposerObject.AllProperties) c.setPrintResolution(dpi) dpmm = dpi / 25.4 width = int(dpmm * c.paperWidth()) height = int(dpmm * c.paperHeight()) # create output image and initialize it # image = QImage(QSize(width, height), QImage.Format_ARGB32) image = QImage(QSize(width, height), QImage.Format_ARGB32_Premultiplied) image.setDotsPerMeterX(dpmm * 1000) image.setDotsPerMeterY(dpmm * 1000) #image.fill(0) imagePainter = QPainter(image) # This part does not seem to have any effect #brush = QBrush(Qt.BrushStyle(0)) # transparent brush # #imagePainter.setBackgroundMode(0) #c.setBackgroundBrush(brush) c.renderPage( imagePainter, 0 ) imagePainter.end() imageFilename = mainPath + filename + '.' + imageType image.save(imageFilename, imageType) print 'image saved' print 'done'",
"Compensation for missed connection due to delay with same airline but separate bookings Long story short, I had to fly from A (in Spain) to C (in the UK) and I booked two separate flights with the same budget airline, so the actual route was A (Spain) -> B (UK) -> C (UK). The first flight was delayed by 90 minutes, which means that I was unable to catch the second one (the layover time was around an hour and a half) and had to buy another ticket for the following day (with another airline). I googled a lot and found mixed responses. Is there any chance I can get a refund for my second flight? I will obviously ask them but I'm unsure what my best course of action is.",
"Getting different answers when integrating using different techniques Question: Is it possible to get multiple correct results when evaluating an indefinite integral? If I use two different techniques to evaluate an integral, and I get two different answers, have I necessarily done something wrong? Often, an indefinite integral can be evaluated using different techniques. For example, an integrand might be simplified via partial fractions or other algebraic techniques before integration, or it might be amenable to a clever substitution. These techniques give different results. For example, looking over a few other questions on MSE: From : evaluate $$ \\int x(x^2+2)^4\\,\\mathrm{d}x. $$ Via the substitution $u = x^2+2$, this becomes $$ \\int x(x^2+2)^4\\,\\mathrm{d}x = \\frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + \\frac{32}{5} + C. $$ However, multiplying out the polynomial and integrating using the power rule gives $$ \\int x(x^2+2)^4\\,\\mathrm{d}x = \\frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + C $$ From : evaluate $$ \\int \\frac{1-x}{(x+1)^2} \\,\\mathrm{d}x. $$ Simplifying the integrand using partial fractions then integrating gives $$ \\int \\frac{1-x}{(x+1)^2} \\,\\mathrm{d}x = \\frac{-2}{(x+1)} - \\ln|x+1| + C. $$ Via integration by parts, we get $$ \\int \\frac{1-x}{(x+1)^2} \\,\\mathrm{d}x = \\frac{x-1}{(x+1)} - \\ln|x+1| + C. $$ From : evaluate $$ \\int \\frac {\\tan(\\pi x)\\sec^2(\\pi x)}2\\,\\mathrm{d}x. $$ Using the substitution $u = \\sec(\\pi x)$, this becomes $$ \\int \\frac {\\tan(\\pi x)\\sec^2(\\pi x)}2\\,\\mathrm{d}x = \\frac {\\sec^2(\\pi x)}{4\\pi} + C. $$ Using the substitution $u = \\tan(\\pi x)$, this becomes $$ \\int \\frac {\\tan(\\pi x)\\sec^2(\\pi x)}2\\,\\mathrm{d}x = \\frac {\\tan^2(\\pi x)}{4\\pi} + C. $$",
"Reset Search Index in Exchange 2013",
"Differences between hosting options for SharePoint apps"
] | medi_sts_stackexchange_dupe |
Changing themes to 'Adwaita-dark' does not change the AppMenu color? | How can I change GNOME Shell theme? | [
"How does electricity propagate in a conductor?",
"resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX. \\documentclass{article} \\usepackage{graphicx} \\newsavebox\\IBox \\savebox\\IBox{\\includegraphics[scale=1]{koala.jpg}} \\begin{document} \\the\\wd\\IBox \\end{document} How to force pdfTeX and XeTeX to produce the same measurement for the imported image?",
"How can I convert byte size into a human-readable format in Java?",
"Why are my sauces splitting? Recently all my attempts at sauces are splitting and I'm not sure what's going wrong. Tonight I tried a balsamic vinegar reduction / chicken stock / pan juices recipe to go with my lamb chops, but once again the dreaded split occurred. My wife is patient and forgiving, but I feel like I must be missing something fundamental to get this wrong so often. Two questions. What could I be doing wrong to cause these sauces to split? What can I do to recover when it happens again? UPDATE: The Pan juices contained a tbsp or two of olive oil, and some of the fresh herb rub I'd coated the lamb chops in (thyme, rosemary, and mint). I did not drain the pan before starting the sauce. It has crossed my mind that perhaps there was too much oil / fats in the pan at that point? For completeness, I should point out that I also sauteed some chopped shallots in the pan juices immediately before adding the vinegar.",
"How to cleanly launch a GUI app via the Terminal?",
"Can I convert a C# string value to an escaped string literal? In C#, can I convert a string value to a string literal, the way I would see it in code? I would like to replace tabs, newlines, etc. with their escape sequences. If this code: Console.WriteLine(someString); produces: Hello World! I want this code: Console.WriteLine(ToLiteral(someString)); to produce: \\tHello\\r\\n\\tWorld!\\r\\n",
"Using \"on\" vs. \"in\"? Consider the following sentence: I am developing an application to be installed on Android. And this: This has been a major flaw in Android... To be clear I am unsure of the usage of \"in\" vs. \"on\". When should I use \"in\" and when to use \"on\"?",
"Is there a way to check if a file is in use?",
"What is the analytic continuation of the Riemann Zeta Function",
"Pluralization issue on new question statistics underneath title, with views It looks like the new question statistics underneath the question title introduced a pluralization issue with views: To be clear here, this was not an issue with the old sidebar-based question statistics; that used to properly say \"viewed 1 time\".",
"Unable to open any graphical app with \"sudo\" Tried to find some answer here: , but it didn't solve my problem. $ sudo gedit Failed to connect to Mir: Failed to connect to server socket: No such file or directory. Unable to init server: Could not connect: Connection refused. (gedit:4574): Gtk-WARNING **: cannot open display: only gedit in terminal works fine. This is my local computer, not a remote system.",
"Show that computation of all such expressions will result in the same element of $X$",
"Since canonical is Ubuntu One, what are the possible alternatives? I currently use Ubuntu One as a backup service for my Documents folder and various other folders I deem important. Of course I have backups on an external hard drive as well, but nevertheless, I find Ubuntu One to be very useful. What I'm especially looking for is a cloud service that does not need a special folder (such as a dropbox or google drive folder); something that is able to integrate into my own file system and syncs just any folder I want to. I am aware that this question is rather subjective, but I do guess many people who have used Ubuntu One are now in the dark.",
"VS10 debugger error: Test host process exited unexpectedly",
"Determining likely relationship based upon autosomal DNA shared cM Given two tests that share some cM of autosomal DNA, how can I easily find the predicted relationships that such shared cM would suggest? For example, a 2,200 cM match suggests it could be either: grandparent, half-sibling, or grandchild.",
"I received a table template, which I'm intended to generate dynamically with data using Java. But when the table becomes to large, the compilation with LaTeX fails. The specific about this template is, that it stretches the table width into the maximal page width and has same column widths for all data columns (except the first column). Here is a minimal version of the full template, that still works fine: \\documentclass[final,authoryear,3p,twocolumn]{elsarticle} \\usepackage{amssymb,amsmath} \\usepackage{calc} \\usepackage{array} \\newcolumntype{L}[1]{>{\\raggedright\\arraybackslash}p{#1}} \\newcolumntype{R}[1]{>{\\raggedleft\\arraybackslash}p{#1}} \\usepackage{eurosym} \\usepackage{microtype} \\usepackage{needspace} \\usepackage{fp} \\usepackage{graphicx} \\DeclareGraphicsExtensions{.pdf} \\input{pgfexternal} \\newcommand\\tabt{\\rule{0pt}{2.6ex}} \\newcommand\\tabb{\\rule[-1.2ex]{0pt}{0pt}} \\begin{document} \\begin{table*}[t] \\footnotesize \\begin{tabular*}{\\linewidth}{@{}L{2em}@{}*9{R{(\\linewidth-2em)/9}@{}}}\\hline\\tabt $i$ & $1$ & $2$ & $3$ & $4$ & $5$ & $6$ & $7$ & $8$ & $9$\\tabb\\tabularnewline\\hline\\tabt $1$ & & $48.87$ & $0.01$ & $0.05$ & $1.23$ & $0.00$ & $0.20$ & $5.67$ & $2.35$\\tabularnewline \\end{tabular*} \\end{table*} \\end{document} But when extending this example by another column, so that the table would look like the following example, it fails: \\begin{table*}[t] \\footnotesize \\begin{tabular*}{\\linewidth}{@{}L{2em}@{}*10{R{(\\linewidth-2em)/10}@{}}}\\hline\\tabt $i$ & $1$ & $2$ & $3$ & $4$ & $5$ & $6$ & $7$ & $8$ & $9$ & a\\tabb\\tabularnewline\\hline\\tabt $1$ & & $48.87$ & $0.01$ & $0.05$ & $1.23$ & $0.00$ & $0.20$ & $5.67$ & $2.35$ & b\\tabularnewline \\end{tabular*} \\end{table*} This fails, no matter how many columns I add. So far, it seems for me to be a problem with the division by 10. May it be, that LaTeX isn't able to handle that properly by default? How can I solve this problem and make even larger tables work using this template. Or is that to any other problem I don't see yet? Thanks for any help!",
"Why subtraction of a negative number from a positive number is addition? Eg: $a - (-b) = a + b$ When looking through the number scale I am unable to relate this, please kindly clarify ?",
"Understand the meaning of `$_` Could you explain the following sentences from Bash manual about $_, especially the parts in bold, maybe with some examples? At shell startup, set to the absolute pathname used to invoke the shell or shell script being executed as passed in the environment or argument list. Subsequently, expands to the last argument to the previous command, after expansion. Also set to the full pathname used to invoke each command executed and placed in the environment exported to that command. When checking mail, this parameter holds the name of the mail file.",
"Can't read code blocks from the Stack Exchange android app",
"Can't use Shortcut key on linux mint 19 XFCE"
] | medi_sts_stackexchange_dupe |
vb.net regex finding blocks of text between | Get text between two strings Regex VB.Net | [
"My Windows 7 has suddenly stopped displaying Unicode symbols For some strange reason, my computer suddenly doesn't show certain unicode characters anymore! I have no idea what happened. Affected applications include Windows Explorer (should be Japanese characters), Google Chrome (should be a heart), and Winamp (should be stars): Russian, German etc. characters are displayed normally. Chrome also displays Japanese script on websites, but not in the GUI. How can I fix it? TL;DR: A workaround is to put a shortcut with a Unicode name on the desktop so that explorer.exe is the first process to display a Unicode string after booting. Update: I have tried to use System Restore to fix it. I needed to go back in time quite a while because the most recent restore points didn't solve it so I used one from the middle of November. After that restore, Unicode symbols were displayed again. Then I updated my system with Windows Update again because those were removed during the restore. After that, the error occurred again! I then did a restore to a point before my new updates, but the error persists, and the old restore point (which I used before) is gone and there are currently no other snapshots of the system. Any suggestions on what to do now? Update 2: I could find a workaround: Control Panel → Region and Language → Administration → Change Language for Unicode-incompatible programs to Japanese (Japan). All mentioned programs display their symbols correctly again. However, I don't consider this a fix because these programs are not usually Unicode-incompatible, and it also leads to some (non-serious) artifacts in some programs. I still welcome an answer that tells me what went wrong here and how to fix the issue. Update 3: I think I have isolated the particular Windows Update which causes the error. It is . I have installed all other updates except this one, and the error did not occur again. Update 4: The true origin of this problem was Chrome, see accepted answer. Workaround: put shortcut with Unicode name on desktop so that explorer.exe is the first process to display a Unicode string after booting.",
"How was the first log table put together? Henry Briggs compiled the first table of base-$10$ logarithms in 1617, with the help of John Napier. My question is: how did he calculate these logarithms? How were logarithms calculated back then? I've found to be fairly useful, but they don't seem to say much in the way of what I'm looking for. Any answers or useful references would be appreciated.",
"Number Theory: Find all solutions of $\\phi(n)=16$ and $\\phi(n)=24$",
"Calculating p-values for two tail test for population variance A sporting goods manufacturer claims that the variance of string tensions for any decent tennis racquet should be about 9 pounds. The string tensions of 18 randomly selected tennis racquets produced a variance of 8.13 pounds. Find the p-value to test the manufacturer's claim (assume the population is normally distributed). I tried attempting the question as follows: ${H_o}: {\\sigma ^2} = 9$ ${H_1}: {\\sigma ^2} \\ne 9$ We are also given the following: $n=18$ $s^2 = 8.13$ Test Statistics: $\\chi^2 = {{(n-1)S^2}\\over{\\sigma^2}}$ Calculating Test Statistics under $H_o$ gives us: $\\chi^2 = {{(18-1)8.13}\\over 9} = 15.35667$ For calculating the p-value I proceeded as follows: $p-value = 2\\min\\{P[\\chi^2>15.35667],\\ P[\\chi^2<15.35667]\\}\\ =2\\times 0.430192 = 0.860384$ I am not certain if my method for calculating the p-value is correct or not. Can someone please tell if the above process is valid? Thanks in advance!",
"For which complex $a,\\,b,\\,c$ does $(a^b)^c=a^{bc}$ hold?",
"Do I need a visa to visit the UK with my EU partner? I am not from EU. I have Spanish partner and we live in Spain and, because of our official relationship, I have a Spanish family resident permit. We are going to travel to the UK together for tourism. I am confused whether I need an EEA family permit or not. I will not live there and I'm going to travel with my partner. I was told that I don't need a visa, that showing our civil union document will be sufficent. Is this correct, or do I need a visa to enter the UK? Thank you so much for your answer. Let me give you more detail. I hold Turkish citizenship. My resident card exactly says that Residence Card of a Family Member of a Union Citizen \" tarjeta de familiar de la union. my case is like For example, a non-EEA spouse of a German national living in Germany will usually hold a residence permit issued under German domestic law. Therefore, a United Kingdom EEA family permit is required for travel and entry to the UK , therefore I should consider that I need to EEA Family Permit even if for touristic trip with my partner.",
"Evaluating the integral $\\int \\frac{x^2+x}{(e^x+x+1)^2}dx$",
"How to open files from other machine running ubuntu I tried to take data from my pc to laptop. Both are using ubuntu 11.10 os. I googled and tried to connect both the systems. Now it is showing connected symbol. Dont know how to proceed further. I need to take data from my pc using this lan connection. Please provide me solution for this...",
"I was wondering if there was a method to alter object settings at a set point in an animation in blender. For example, I want to make the color of an object blue for the first 20 frames, but after 20 frames I want its color to change to green. Is there any known method of doing this? I could not find anything when I searched.",
"Why can a discontinuous function not be differentiable?",
"TSA requirements regarding ID If the name on my boarding pass lists Debbie and my Drivers License lists Debra, will this be a problem?",
"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.",
"Is it possible that my laptop shut down because my mobile is too close? If I put my phone on my notebook's left corner, it shuts down. Can anybody give me reliable explanation as to why this is happening??",
"I am currently writing an essay on artificial moral agents, and I need to explain the difference between ethics and morals. However, I am finding it really hard to find a good book or research paper which contains a citable definition. Could someone point me in the right direction?",
"In D&D 4e there was an option to Delay your initiative: Perform your actions as desired and adjust your initiative to your new position in the order. Does this rule to change initiative order still exist in 5th edition? I cannot find it in the PHB.",
"Proving that $\\sum\\limits_{n = 0}^{2013} a_n z^n \\neq 0$ if $a_0 > a_1 > \\dots > a_{2013} > 0$ and $|z| \\leq 1$ I'm going to teach a preparation course for the complex analysis qualifying exam from my university (which basically consists of me doing some problems from past exams) and I'm trying to solve some questions from previous exams. One of the questions is the following: Prove that $\\displaystyle{\\sum_{n = 0}^{2013} a_n z^n \\neq 0}$ if the coefficients satisfy $a_0 > a_1 > \\dots > a_{2013} > 0$ and $|z| \\leq 1$. I tried to approach the problem by using the reverse triangle inequality to try to isolate the leading term, which I thought should be the constant coefficient, as follows: \\begin{array} . \\left| \\sum_{n = 0}^{2013} a_n z^n \\right| &= \\left| a_0 + \\sum_{n = 1}^{2013} a_n z^n \\right| \\\\ &\\geq |a_0| - \\left| \\sum_{n = 1}^{2013} a_n z^n \\right|\\\\ &\\geq |a_0| - \\sum_{n = 1}^{2013} |a_n z^n|\\\\ &\\geq a_0 - \\sum_{n = 1}^{2013} a_n |z^n|\\\\ &\\geq a_0 - \\sum_{n = 1}^{2013} a_0 |z^n|\\\\ &= a_0\\left( 1 - \\sum_{n = 1}^{2013} |z^n| \\right) \\end{array} Then for $|z| < 1$, we have that this last expression is equal to $$ a_0\\left( 1 - |z| \\frac{|z|^{2013} - 1}{|z| - 1} \\right) $$ and my hope was to prove that this was always positive, nevertheless, after failing to prove it, I plotted the expression inside the parenthesis as a function of $|z|$, and found out that it changes sign in the interval $(0, 1)$. Question Can my approach somehow be made to work? And if not, how can I prove that the sum $\\displaystyle{\\sum_{n = 0}^{2013} a_n z^n \\neq 0}$ under the given conditions? Thank you very much for any help.",
"Javascript get date in format",
"How to pass the password to su/sudo/ssh without overriding the TTY?",
"Recurrence relation for the integral, $ I_n=\\int\\frac{dx}{(1+x^2)^n} $ Express recurrence relation of the integral $$ I_n=\\int\\frac{dx}{(1+x^2)^n} $$ [My Answer] $$ I_n = \\int\\frac{1+x^2}{(1+x^2)^n}dx-\\int\\frac{x^2}{(1+x^2)^n}dx $$ $$ I_n=I_{n-1}-\\int x\\cdot\\frac{x}{(1+x^2)^n}dx $$ $$ I_n=I_{n-1}-\\frac{x}{2(1-n)(x^2+1)^{n-1}}+\\frac{1}{2(1-n)}I_{n-1} $$ $$ I_n=\\frac{2n-3}{2(n-1)}I_{n-1}+\\frac{x}{2(n-1)(x^2+1)^{n-1}} \\ \\ \\ \\ (n>1) $$ $$ I_1=\\arctan(x) $$ Is my answer correct?",
"I want to mount the device /dev/sda3 to the directory /foo/bar/baz. After mounting the directory should have the uid of user johndoe. So I did: sudo -u johndoe mkdir /foo/bar/baz stat -c %U /foo/bar/baz johndoe and added the following line to my /etc/fstab: /dev/sda3 /foo/bar/baz ext4 noexec,noatime,auto,owner,nodev,nosuid,user 0 1 When I do now sudo -u johndoe mount /dev/sda3 the command stat -c %U /foo/bar/baz results in root rather than johndoe. What is the best way to mount this ext4-filesystem with uid johndoe set?"
] | medi_sts_stackexchange_dupe |
Ubuntu "USB for OS X" instructions doesn't create bootable USB drive | How do I get my Mac to boot from an Ubuntu USB key? | [
"If parsing the output of ls is dangerous because it can break on some funky characters (spaces, \\n, ... ), what's the best way to know the number of files in a directory? I usualy rely on find to avoid this parsing, but similarly, find mydir | wc -l will break for the same reasons. I'm working on Solaris right now, but I'm looking for a answer as portable across different unices and different shells as possible.",
"I'm looking to schedule 16 players to play a round robin tournament with each other such that there are 4 players at each table. I'd like for each player to play with each other player exactly once over the course of 5 rounds. I just took a look at this post: , and I was wondering if anyone knows if the case n=m=4 has been solved, and if so what that solution is.",
"What is the Physical Meaning of Commutation of Two Operators? I understand the mathematics of commutation relations and anti-commutation relations, but what does it physically mean for an observable (self-adjoint operator) to commute with another observable (self-adjoint operator) in quantum mechanics? E.g. an operator $A$ with the Hamiltonian $H$?",
"Transferring through US airport. Do I need traveling visa?",
"QGIS Processing - Additional Creation Parameter for GdalWarp I am having a hard time getting the \"Additional Creation Parameters\" to work when using GdalWarp through the processing toolbox. I am trying to set the nodata value to 0 for the output raster. processing.runalg(\"gdalogr:warpreproject\",\"InRaster.tif\",\"EPSG:32736\",\"EPSG:32736\",10,0,\"-dstnodata 0\",\"OutRaster.tif\") Has anyone used this functionality and managed to get it to work?",
"I am drawing a 3D array like the attached picture, which actually describes a multidimensional array. However, I can not put the name of the axis and take the value from the matrix like the attached picture. This is the code that I have: \\documentclass[margin=5mm]{standalone} \\usepackage{tikz} \\usetikzlibrary{matrix,calc} \\begin{document} \\begin{tikzpicture}[every node/.style={anchor=north east,fill=white,minimum width=1.4cm,minimum height=7mm}] \\matrix (mA) [draw,matrix of math nodes] { (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ }; \\matrix (mB) [draw,matrix of math nodes] at ($(mA.south west)+(1.5,0.7)$) { (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ }; \\matrix (mC) [draw,matrix of math nodes] at ($(mB.south west)+(1.5,0.7)$) { (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ (1,1,3) & (1,1,3) & (1,1,3) & (1,1,3) \\\\ }; \\draw[dashed](mA.north east)--(mC.north east); \\draw[dashed](mA.north west)--(mC.north west); \\draw[dashed](mA.south east)--(mC.south east); \\end{tikzpicture} \\end{document}",
"This poor creature is taken aboard the spaceship and the humans do not know that it is intelligent. The alien can repeat what it hears, e,g, \"pass the sugar\". It is able to escape at night and it communicates messages to its fellow aliens. It directs that they turn up the heat of the atmosphere (somehow they can do this) so as to force the humans to leave. The alien protagonist states that it will die w/ the humans or leave with them.",
"Why are real symmetric matrices diagonalizable?",
"Omission of 'for' with various quantified time intervals: influence of verb",
"Where are some places to get reference images for modeling? I'm a newbie. I've gone through a number of tutorials and want to get some actual experience with modeling. But, I don't know where to go to get good reference images for modeling with front/sides views. Can anyone recommend the best places to find such images?",
"What does \"overfull hbox\" mean? (Why is there a black mark at the end of a line?) I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?",
"I want to encrypt a USB stick, and be able to decrypt it on Windows as well as Ubuntu. How do I do this & what programs do I need to use?",
"For $q, p$ odd primes such that $p \\neq q$, there is not primitive root modulo $pq$.",
"is it possible to skip immediately preceding time points? So that, if, for example, you are using model order 2, that is, two time points, but not the two immediately previous time points, but rather, say for example, skipping 2 points, and then using those two points. So, e.g., it would be y=x(t-3) + x(t-4).",
"Can I change my itinerary and hotel reservation after getting a Schengen visa?",
"What kind of components are black blobs on a PCB? In low-cost mass-produced items I often run into black blobs of what looks like resin applied directly on top of something on the PCB. What are these things exactly? I suspect this is some kind of custom IC that is layed out directly on the PCB to save on the plastic housing/connector pins. Is this correct? If so, what is this technique called? This is a photograph of the inside of a cheap digital multimeter. The black blob is the only non-basic piece of circuitry present, along with an op-amp (top) and a single bipolar junction transistor.",
"Sum of First $n$ Squares Equals $\\frac{n(n+1)(2n+1)}{6}$ I am just starting into calculus and I have a question about the following statement I encountered while learning about definite integrals: $$\\sum_{k=1}^n k^2 = \\frac{n(n+1)(2n+1)}{6}$$ I really have no idea why this statement is true. Can someone please explain why this is true and if possible show how to arrive at one given the other?",
"I'm having a difficulty in finding one way car rentals from Alaska, which I can return in Seattle. Do all the main rental agencies restrict such one-way rentals, as they involve crossing through Canada, before entering the lower 48 states?",
"Do you mind me / my Do the following sentences mean the same? Do you mind if I open the window? Do you mind me opening the window? Do you mind my opening the window? for me they all mean the same, bit #3 is a little less common as far as I've seen so far. Do you agree with me? PS. I am more about the AmE register.",
"Use worksheet name as a variable in a lookup I have 2 workbooks with 60 plus worksheets. I need to copy data from one workbook to the other but would like to capture and use the worksheet name within the cell. This is because when I create the workbook I make a master worksheet and then copy it 60 plus times. The above would make the cell ref for each worksheet the corresponding worksheet cell in the other file."
] | medi_sts_stackexchange_dupe |
Can I get masters and PhD in CSE in USA? | How does the admissions process work for Ph.D. programs in the US, particularly for weak or borderline students? | [
"What is the solution to the following recurrence relation with square root: $T(n)=T (\\sqrt{n}) + 1$?",
"Make a div fill the height of the remaining screen space I am working on a web application where I want the content to fill the height of the entire screen. The page has a header, which contains a logo, and account information. This could be an arbitrary height. I want the content div to fill the rest of the page to the bottom. I have a header div and a content div. At the moment I am using a table for the layout like so: CSS and HTML #page { height: 100%; width: 100% } #tdcontent { height: 100%; } #content { overflow: auto; /* or overflow: hidden; */ } <table id=\"page\"> <tr> <td id=\"tdheader\"> <div id=\"header\">...</div> </td> </tr> <tr> <td id=\"tdcontent\"> <div id=\"content\">...</div> </td> </tr> </table> The entire height of the page is filled, and no scrolling is required. For anything inside the content div, setting top: 0; will put it right underneath the header. Sometimes the content will be a real table, with its height set to 100%. Putting header inside content will not allow this to work. Is there a way to achieve the same effect without using the table? Update: Elements inside the content div will have heights set to percentages as well. So something at 100% inside the div will fill it to the bottom. As will two elements at 50%. Update 2: For instance, if the header takes up 20% of the screen's height, a table specified at 50% inside #content would take up 40% of the screen space. So far, wrapping the entire thing in a table is the only thing that works.",
"At the end of the game, how are medals awarded? As a secondary, what is the relation between bronze silver and gold medals, and how much experience do they reward?",
"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?",
"I do not know how to prove this question: $m^{\\phi(n)}+n^{\\phi(m)}\\equiv 1 \\pmod {mn}$ where $m$ and $n$ are relatively prime. Can anyone help?",
"How to host my existing website with Google Drive Google has given me 15GB of storage. Can I host my own website having my own domain?",
"My text introduces multi-quibt quantum states with the example of a state that can be "factored" into two (non-entangled) substates. It then goes on to suggest that it should be obvious1 that the joint state of two (non-entangled) substates should be the tensor product of the substates: that is, for example, that given a first qubit $$\\left|a\\right\\rangle = \\alpha_1\\left|0\\right\\rangle+\\alpha_2\\left|1\\right\\rangle$$ and a second qubit $$\\left|b\\right\\rangle = \\beta_1\\left|0\\right\\rangle+\\beta_2\\left|1\\right\\rangle$$ any non-entangled joint two-qubit state of $\\left|a\\right\\rangle$ and $\\left|b\\right\\rangle$ will be $$\\left|a\\right\\rangle\\otimes\\left|b\\right\\rangle = \\alpha_1 \\beta_1\\left|00\\right\\rangle+\\alpha_1\\beta_2\\left|01\\right\\rangle+\\alpha_2\\beta_1\\left|10\\right\\rangle+\\alpha_2\\beta_2\\left|11\\right\\rangle$$ but it isn't clear to me why this should be the case. It seems to me there is some implicit understanding or interpretation of the coefficients $\\alpha_i$ and $\\beta_i$ that is used to arrive at this conclusion. It's clear enough why this should be true in a classical case, where the coefficients represent (where normalized, relative) abundance, so that the result follows from simple combinatorics. But what accounts for the assertion that this is true for a quantum system, in which (at least in my text, up to this point) coefficients only have this correspondence by analogy (and a perplexing analogy at that, since they can be complex and negative)? Should it be obvious that independent quantum states are composed by taking the tensor product, or is some additional observation or definition (e.g. of the nature of the coefficients of quantum states) required? 1: (bottom of p. 18) "so the state of the two qubits must be the product" (emphasis added).",
"I have a time series that shows a nonstationary seasonal autoregressive component as well as known heteroshedasticity. In order to model the series, I have fit a seasonal ARIMA model for the mean with the auto.arima model in the forecast package in R and a GARCH model on the residuals of the ARIMA model. Is the procedure of sequentially estimating ARIMA and GARCH model correct or would it have been better to jointly model the mean and the variance of the series? If this were correct, is there a (possibly R) function to do it?",
"How could it possible to factorise $x^8-1$ in product of irreducibles in the rings $(\\mathbb{Z}/2\\mathbb{Z})[x]$ and $(\\mathbb{Z}/3\\mathbb{Z})[x]$? How could it possible to factorize $x^8-1$ in product of irreducibles in the rings $(\\mathbb{Z}/2\\mathbb{Z})[x]$ and $(\\mathbb{Z}/3\\mathbb{Z})[x]$? I'm having a hard time starting the problem. Could anyone help me at this point?",
"Is a continuous function $ f\\colon(0,\\infty)\\to R$, such that $f(x)\\leq f(nx)$ increasing?",
"Fundamental particles identical or just differences very small? I have read that all electrons are identical and I assume the same for protons, etc. That is, all electrons are of the exact same mass and charge. But do we really know this? Could there be slightly heavier electrons with slightly higher charge or is there a reason why such particles could not exist or would be unstable?",
"I'm currently dual-booting to either Ubuntu 10.10 or Windows XP. However, I rarely use windows and would like to remove it. I've use the Ubuntu live CD to access GParted. I've also deleted the windows partitions (I think), which were labeled both ntfs and fat32. I'm just not sure how to extend the Ubuntu partition to cover the unallocated space. Furthermore, how do I deal with the 'key' designations, which state that a partition is busy. Help!",
"Integer solutions for $x^2-y^3 = 23$.",
"Specific derivatives have specific names. First order is often called tangency/velocity, second order is curvature/acceleration. I've also come across words like Jerk, Yank, Jounce, Jolt, Surge and Lurch for 3rd and 4th order derivatives. Is there a widely agreed list of names for these? How many orders have specific names? In this case, I'm dealing with NURBs curves, so the \"tangency\" and \"curvature\" related words are to be preferred over \"velocity\" and \"acceleration\" words.",
"RSA leak bits to factor N",
"Validate date format in php",
"Does Stack Exchange use caching and if so, how? Recently, I read this about how they have some of their infrastructure laid out. I was curious to know, does Stack Exchange use caching (both at the application layer and/or database layer) and if so, how?",
"Is a droid a ‘he/she’ or an ‘it’? Inspired by question. Are droids in the Star Wars universe referred to with gendered pronouns (i.e. he or she), or are they referred to as objects (i.e. it)?",
"How would you represent \"religion\" in an icon, neutrally?",
"Periodically, my MacBook Pro 17\" stops recognizing my headphones. No amount of unplugging and replugging seems to help. The sound settings never show headphones as an output device. How can I fix this? The only thing I can find elsewhere on the Internet are people saying, \"Reboot!\" This works, but is impractical and annoying."
] | medi_sts_stackexchange_dupe |
How do I install a Windows Service without external resources, third party apps, etc? | Install a .NET windows service without InstallUtil.exe | [
"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?",
"C# equivalent to wildcard imports in Java Is there a way in C# to import everything inside a namespace like there is in Java with the wildcard character? import java.awt.*;",
"Why is there a difference between ping \"localhost\" and ping \"local IP address\"? Using cmd and ping on Windows gave me the following results: Pinging \"localhost\": Pinging \"192.168.0.10\" (local IP address): Aren't both situations exactly the same? I mean, I'm pinging the same interface, the same machine and the same address. Why do I get such different results? EDIT: Here is my ipconfig /all screen:",
"One of the boys who always give/gives the correct answer is Samuel. As per rule, one of is followed by plural noun/pronoun and singular helping verb, so we should be using gives in the sentence. But the answer is give.",
"Play a Sound with Python What's the easiest way to play a sound file (.wav) in Python? By easiest I mean both most platform independent and requiring the least dependencies. pygame is certainly an option, but it seems overkill for just sound.",
"Here is a question that's been bothering me since I was a sophomore in university, and should have probably asked before graduating: In analytic (Lagrangian) mechanics, the derivation of the Euler-Lagrange equations from the principle of least action assumes that the start and end coordinates at the initial and final times are known. As a consequence, any variation on the physical path must vanish at its boundaries. This conveniently cancels out the contributions of the boundary terms after integration by parts, and setting the requirement for minimal action, we obtain the E.L. equations. This is all nice and dandy, but our intention is finding the location of a particle at a time in the future, which we do not know a priori; after we derive any equations of motion for a system, we solve them by applying initial values instead of boundary conditions. How are these two approaches consistent?",
"I was peacefully playing GTA Online (yeah, was killing someone coming out of ls customs) then a hacker came and killed me using explosive ammos, I called him a hacker and he teleported to me and gave me 790k. I know that people get banned for receiving this kind of money, what should I do to avoid the ban?",
"I wanted to get a 12 core CPU (Threadripper 1920X) and I wanted to know the max amount of cores Blender can use?",
"Herstein Topics in Algebra, $\\pi \\mid a$ or $(\\pi,a) = 1$",
"Can the definite article be omitted when referring to a person qualified by a noun?",
"Say I have 12 and have to factorize it in 2 factors. Now possible factors are 1, 12 2, 6 3, 4 Now 3,4 is such that value of maximum factor i.e. 4 is minimized among all pairs. How to find the solution in generic case where a number N is to be divided in K factors minimizing maximum value.",
"If a spell is cast on a moveable creature/object and lasts longer than a round, and the creature/object moves, does the spell move with it?",
"What is the different between an Normal user account and the Admin account in Ubuntu? You must always enter your password if you want do something. Can you give a Normal account \"limitations\" to do not install or remove anything or to not open any program? Can you also \"hide/deactive\" the terminal and console for a normal user?",
"Does anyone know any example that invalidates the following affirmation: If a morphism $f:A\\to A$ induces the identity $\\hat f:\\operatorname{Spec} \\left( A \\right) \\to \\operatorname{Spec} \\left( A \\right)$ then $f = \\operatorname{id} _A $.",
"Finding the id of a parent div using Jquery",
"I want to close one tab of chrome. I tried killing the pid of the tab, but the tab doesn't close instead says \"Aw, Snap! Something went wrong while displaying this webpage. To continue, reload or go to another page\". How can I get rid of this.",
"What is the difference between Newtonian and Lagrangian mechanics in a nutshell?",
"Atmospheric lighting in cycles How would I go a about making volume light beams? I have have tried various tutorials, but they must be for a older version. as applying them does seemingly nothing. A link to a functioning tutorial would be greatly appreciated as well. I don't have a picture or .blend to show, as my problem with atmospheric lighting does not pertain to any specific scene.",
"Consider these two ways of coining a name: 1) Bolzano's theorem, Rolle's theorem 2) the Poincare conjecture, the Kantorovich theorem. What is the difference between these ways, why do people choose one over the other? My guess is that the main difference is when you put 's at the end of a name, you strictly imply that the theorem/conjecture was written by this very person (Bolzano wrote Bolzano's theorem). But when it is \"the [Name] theorem/conjecture,\" it doesn't mean that the person which name is used actually created this thing, maybe he just inspired it (Poincare might have only inspired the Poincare conjecture but did not propose it). Sometimes there is only one way: ; you can not call it hairy ball's theorem.",
"Opt in \"mentor\" privilege at 7.5k I am suggesting a Mentor privilege at 7.5k. It would be on a per-user per-site opt in basis. At some reputation level (perhaps 7.5k) there could be an opt in \"mentor\" privilege. If someone opts in then when a new user signs up, they become their Mentor. The new user is the Mentee. They will get notified of any posts or suggested edits they make, and can help and support them. While this would by no means help everyone (I'm sure there are more new people signing up than there are 7.5k people willing to help them), it could help mitigate the \"new user's bad posts\" and such like. By no means would being someone's mentor mean you are the only person who can edit and help them, and you aren't obliged to do so - but if you have opted in then you should help. How would this work? Any Mentor would have no more than 5 active Mentees at once. Once the Mentee gets to 125 rep, the downvote privilege (or any other level deemed sensible) they are no longer a Mentee. If they aren't active for a month, they are no longer a Mentee. If the Mentor has 5 Mentees (i.e. cannot mentor anyone else) then any Mentee not active for 2 weeks is no longer a Mentee. The Mentee can opt out at any time, the Mentor can opt out, but if they opt out a lot (say 5 people in 2 months) they are blocked from the privilege for 2 weeks. The Mentor gets no extra rep. They can still get rep from answering their Mentee's questions and similar. Once the new user gets 20 rep on the site, a chat room is created for them to talk. No user with the association bonus will become a Mentee. This would (maybe) be opt in for sites. For example, this might not be at all useful for this site, or for , but on or I imagine this could be quite good. appears to be asking the same thing, based on the title, but that is asking about people who know each other offline mentoring each other. Every single one of these suggestions (especially the numbers) is open to discussion. Maybe 125 is to low to stop being mentored, or maybe it's too high. What do you think?"
] | medi_sts_stackexchange_dupe |
What is the singular source of Star Wars canonization? | How is canonicity of derivative works determined for Star Wars? | [
"I have 6 images, and I want to align them in this way (a)image1 (c)image3 (e)image5 (b)image2 (d)image4 (f)image6 Any one know how to do that? The problem for me is how to make (a), (b),..., (f) in vertical direction.",
"Windows shortcut (.lnk) parser in Java? I'm currently using Win32ShellFolderManager2 and ShellFolder.getLinkLocation to resolve windows shortcuts in Java. Unfortunately, if the Java program is running as a service under Vista, getLinkLocation, this does not work. Specifically, I get an exception stating \"Could not get shell folder ID list\". Searching the web does turn up mentions of this error message, but always in connection with JFileChooser. I'm not using JFileChooser, I just need to resolve a .lnk file to its destination. Does anyone know of a 3rd-party parser for .lnk files written in Java I could use? I've since found unofficial documentation for the .lnk format , but I'd rather not have to do the work if anyone has done it before, since the format is rather scary.",
"Prove that if $k\\mid m,$ then $Z_m$ has a subgroup of order $k.$ Prove that if $k\\mid m$, then $Z_m$ has a subgroup of order $k.$ Ok, so this doesn't look like too hard of a problem. So do I just show that it is closed under multiplication and inverse? I just don't know how I would do that with a problem like this. Can anyone help me get started please?",
"It seems to me that my costlier (Tamron 90 f/2.8 macro) lens gives better colors than my cheap Canon 18-55 IS kit lens. So does lens matter for color quality? What physical processes are involved in that?",
"I'm wondering how it is correct to structure sentence and what punctuation should be used. In particular, is the next sentence correct: I was wondering if there's any progress on the issue. Or should I put a question mark in the end of it. Also, can it be restructured to: I was wondering: is there any progress on the issue?",
"No icons for automounted volumes on GNOME / Nautilius desktop on Ubuntu 19.04 Up to Ubuntu 18.04, using default GNOME/Nautilius desktop, when I inserted a (data file) USB stick it would automount and put a USB icon onto the desktop. I find this very useful, especially for quick eject via context menu. Now at 19.04, on USB insertion I do see a \"banner\" appear for a few seconds, but I no longer get any desktop icon . I run under VirtualBox on Windows, but that has not changed and I do not think is at issue. Ubuntu does still automount the stick at /media/<username>. I found . I checked in dconf-editor and both keys, including org.gnome.desktop.media-handling.automount-open, are set.",
"How to label using just numbers from start of text field?",
"I am going to install Ubuntu to dual boot with Windows 8 soon, but one of my friends warned me that partitioning my hard drive will slow my computer down. I run on a 500GB HDD and 8GB of ram if that helps at all. Is that true if I do it?",
"Ubuntu 16.04 multitouch gestures",
"My Ubuntu laptop which was working fine until recently. My desktop disappeared and all the desktop icons are gone. All I have access to is the terminal. In an attempt to fix the problem, I installed GNOME but it made the computer give the error: Warning! Failed to connect to lvmetad. No such file or directory Falling back to internal scanning. I can press Ctrl+Alt+F1 to start tty1 but I can't get to a graphical user interface. What did I do wrong and how do I fix it?. The operating system is ubuntu Linux",
"How can I convert my Java program to an .exe file?",
"How do I technobabble without sounding like technobabble? On occasion, I've had reason to describe obviously fictional technical processes in-character. I'd like to be able to describe on these occasions without sounding like I'm saying utter gibberish. But it's not straightforward to do, particularly if I have to make stuff up on the spot. How do I do it?",
"is keyword in Python",
"Electricity takes the path of least resistance? Electricity takes the path of least resistance! Is this statement correct? If so, why is it the case? If there are two paths available, and one, for example, has a resistor, why would the current run through the other path only, and not both?",
"Page to Run Classes I have a urgent requirement to make a page in which list of all classes be there with the check box embedded and having button Run. If i select one or more than one classes and click on run button(Run Test) the test class associate with the particular class should run. please help me out of this requirement. PageLayout",
"Analogue of spherical coordinates in $n$-dimensions What's the analogue to spherical coordinates in $n$-dimensions? For example, for $n=2$ the analogue are polar coordinates $r,\\theta$, which are related to the Cartesian coordinates $x_1,x_2$ by $$x_1=r \\cos \\theta$$ $$x_2=r \\sin \\theta$$ For $n=3$, the analogue would be the ordinary spherical coordinates $r,\\theta ,\\varphi$, related to the Cartesian coordinates $x_1,x_2,x_3$ by $$x_1=r \\sin \\theta \\cos \\varphi$$ $$x_2=r \\sin \\theta \\sin \\varphi$$ $$x_3=r \\cos \\theta$$ So these are my questions: Is there an analogue, or several, to spherical coordinates in $n$-dimensions for $n>3$? If there are such analogues, what are they and how are they related to the Cartesian coordinates? Thanks.",
"Which statistics to use?",
"In Java, for a string x, what is the runtime cost of s.length()? Is it O(1) or O(n)? I've been told that code such as: for (int i = 0; i < x.length(); i++) { // blah } is actually O(n^2) because of the repeated calls to x.length(). Instead I should use: int l = x.length(); for (int i = 0; i < l; i++) { // blah } Is this true? Is string length stored as a private integer attribute of the String class? Or does String.length() really walk the whole string just to determine its length?",
"There are many visa applicants who are working as an unregistered freelancer (photographer, construction contractor, fashion designer, journalist etc ). Some of these freelancers make really handsome monthly income and don't really need to work as a full time employee. Most of them receive variable amount of payments (cash, cheques, demand drafts etc) When it comes to filling a visa application form (USA, UK, Schengen etc), there is always an employment section in all visa form, eg for Schengen visa employment form : This is a very important factor to make an application really strong. Questions: 1 Unregistered freelancers can just simply write their profession? what documents to produce along with the application? 2 Bank statements with variable methods of payments could convince the visa officer that these are all legitimate payments?",
"How to calculate hash value of a file in Java?"
] | medi_sts_stackexchange_dupe |
update data in listbox after deleted data without restarting program (winform) | Delete data using 2 DialogForm | [
"(Google) Title of page not updated, everything else did My website changed significantly this month. Amongst the changes was the website's title. Two weeks ago, I finally used Webmaster Tools and submitted the page. So far, Yahoo and Bing have updated the title in the search results, but not Google. I've resubmitted via Webmaster Tools the website, and the bots have crawled the page, and have added \"content keywords\". But the title still doesn't match. The \"content keywords\" lists many of the words in the new title (but contains keywords of the existing title also). Must say that 4 of the top 5 key words in the \"significance\" list are the new title's. Still, no change. Any remedies for this problem? Is adding the \"alt\" tag for the logo significant enough to trigger the change? There isn't an appropriate place to put the company name between tags on the front page. Any suggestions? Thanks.",
"String concatenation: concat() vs \"+\" operator",
"How long does a sequence need to be to be guaranteed to have a monotonic subsequence length k? The sequence 7, 2, 4, 1, 4, 8 has an increasing subsequence length four (2, 4, 4, 8) and a decreasing subsequence length three (7, 4, 1). It has other monotonic (increasing or decreasing) subsequences too, but none longer than four. How long does a sequence need to be to be guaranteed to have a monotonic subsequence length k?",
"Impact of hyperref, when varioref and cleveref are used",
"I have something like this: <div class=\"content\"> <a href=\"#\">A</a> </div> <div class=\"content\"> <a href=\"#\">B</a> </div> <div class=\"content\"> <a href=\"#\">C</a> </div> When one of these links is clicked, I want to perform the .hide() function on the links that are not clicked. I understand jQuery has the :not selector, but I can't figure out how to use it in this case because it is necessary that I select the links using $(\".content a\") I want to do something like $(\".content a\").click(function() { $(\".content a:not(this)\").hide(\"slow\"); }); but I can't figure out how to use the :not selector properly in this case.",
"Preserve blend mode effect when underneath layers are disabled? (Photoshop)",
"Delay in approval leads to missing out on being awarded an \"Explainer\" badge",
"Windows 7, any way to sort folders and files all mixed together? Is there a way to sort folders and files by their name all mixed together in Windows 7? It would be easier to understand if you . I want my folders and files arranged like the BEFORE situation of the first screenshot. If there is no way to do that with Windows Explorer, is there any file management programs that I should try? I've already tried Total Commander.",
"Sci-Fi short story that involved time travel and a couple who keep losing each other I read a collection of Sci-Fi short stories back in the 1970's or early 80's that had one about a couple in love who kept losing each other. The book was my dad's so the story itself could be much older than that. I am very fuzzy on the details as I was young when I read it and it was so long ago. I believe the woman/girlfriend was \"taken\" (by some bad guy aliens??) while she was sleeping. I think it involved time travel and the man had to search through time to find her. After he found her, when he was asleep one time, he somehow was then \"taken\" and I think transported through time and had to fight his way back to her again. He may have been some sort of police officer. I just remember in the end, at night when they went to bed, the couple always wore handcuffs so they were never separated when they went to sleep ever again. Does this ring a bell with anyone? (There is a possibility it is in a short story collection that also contained \" The Twonky \" by Lewis Padgett (1942), as I remember reading that story around the same time)",
"What are the Alternatives For RemasterSys?",
"How do I add a border around windows but keep the current theme? I seem to live my life in the terminal - many terminals in-fact. I also love the Ambiance theme - but the new borderless windows does not provide the visual differentiation I'm used to (the same black windows appear to blend into each other). Thus to my question - how do I add back the single pixel border for windows that is found in earlier Ubuntu versions? I want to keep the Ambiance overall theme since this looks good and I dont want to swap to another theme. Now I know that I can modify the Ubuntu Ambiance theme as follows: mkdir ~/.themes cp -r /usr/share/themes/Ambiance .themes Then flipping between the theme options in the Settings - Appearance picks up changes in the theme in now in the .themes folder. I presume I need to alter one of the .css files but I dont know which one. I was also looking at but the solutions there doesnt work for 14.04. I also looked at the but got rather lost trying to figure out which one applies to my situation.",
"How does the human eye knows how far the object from which the photon was reflected? A photon is emitted from a source and reflected off an object (or objects) until it hits the human eye. The color of the object we see depends on the photon wavelength. If photon travels with constant speed how does the human eye know how far the object from which the photon was reflected?",
"Now that Lightning is here, what's the future of Visualforce? (in short - Visualforce vs Lightning) As a developer, just curious to know what's the future of Visualforce (pages, components, email templates, etc..) ?? I believe for sure there will be backward compatibility so that the existing ones will still run. But what's gonna happen next (say after couple of releases when lightning becomes GA & goes mainstream). ?? will Salesforce stop customers from using VF for new development ? will VF & L work together (like embed one in another or call one from another) is it possible to migrate / upgrade existing VF to L without rewriting ? Just a few questions i can think of now.. but in general if any of you know more details on these, please share with us.. Thanks",
"Should I vote to close a duplicate question, even though it's much newer, and has more up to date answers? I have seen this many times, a question is being asked because a previous, duplicate question was asked and answered a few years ago and has no longer relevant answers. The is to edit the old question, or add new answers to it, but it is not always happening. I was wondering, should I still mark it as duplicate and vote to close it? Or just leave it as is?",
"Make \\cite{my reference} show name and year I am trying to figure out how to make author's name and year show up every time I make a reference. For example: my_bibtex.bib has this entry: @article{Franklin1999, author = {Franklin Allen and Risto Karjalainen}, title = {Using genetic algorithms to find technical trading rules}, year = {1999}, volume = {51}, pages = {245-271}, journal = {Journal of Financial Economics} } If in my_paper.tex I use this line: Important result has been found by \\cite{Franklin1999} My output looks like: Important result has been found by [1] But I want it too look like: Important result has been found by Franklin 1999 I there a way to do it? My bibliographystyle is set to plain \\bibliographystyle{plain} \\bibliography{my_bibtex}",
"normal subgroups of Alternating group Klein's $4$ group, $\\{1\\}$ and $A_4$ are three normal subgroups of $A_4$. I want to know about any other normal subgroups of $A_4$. Do these exist?",
"I need to make a converter to go from RS422 full duplex to my Arduino. I have found lots of different chips which I think can do this, but am slightly confused by the terminology. The RS422 device is a laser distance sensor (). It has RX+, RX-, TX+, TX-. So I have two lines for input and two lines for output. I could use two RS485 line drivers to achieve the full duplex comms which I need. There are a lot of chips to do that. But then on my Arduino (clone: chipkit max32) would I need to use two UART channels? And then alternate which one I am sending each byte on? The device uses 4 byte instructions. So if I wanted to send an instruction would I send Serial1(firstByte) then Serial2(secondByte), Serial1(thirdByte), Serial2(fourthByte)? And then receive data the same way? I feel like I am missing something and can do this on one UART channel but am not sure how.",
"“I do not know where … is” vs. “I do not know where is …”",
"How can I get the output from Image Trace to be Strokes instead of a Fill? I need to trace picture below to vector. After tracing it with black and white mode I got result below that I don't like. I would like to have all lines to be in the same constant width. What tracing strategy I should use to get needed result?",
"How to pronounce \"Moderators's\"? If I want to use the plural of "moderator" and also add the apostrophe plus S, how do I pronounce it? How do native speakers pronounce it? Moderators = moderatorz Moderators's = moderatorziz or just moderatorz? A sentence is: "I always thought that moderators's decisions seemed fairly arbitrary." I guess moderatorziz is correct but it sounds weird to me. Do native speakers pronounce it as moderatorziz?"
] | medi_sts_stackexchange_dupe |
Sort list of dictionaries by date in Python 3.4 | How do I sort a list of dictionaries by a value of the dictionary? | [
"When can we speak of collinearity In linear models we need to check if a relationship exists among the explanatory variables. If they correlate too much then there is collinearity (i.e., the variables partly explain each other). I am currently just looking at the pairwise correlation between each of the explanatory variables. Question 1: What classifies as too much correlation? For example, is a Pearson correlation of 0.5 too much? Question 2: Can we fully determine whether there is collinearity between two variables based on the correlation coefficient or does it depend on other factors? Question 3: Does a graphical check of the scatterplot of the two variables add anything to what the correlation coefficient indicates?",
"I am new to Ubuntu, but I believe I have Ubuntu 11.10 installed correctly. I am trying to install Acroread using AdbeRdr9.4.6-1_i386linux_enu.deb that I downloaded from the Adobe web site. How do I do this?",
"Block quote with big quotation marks",
"Plot Summary/Details A human spacecraft lands on an alien world. I'm not sure if they are exploring, or touched down for repairs. The world is a foreboding place, and home to a vicious predator that somewhat resembles a panther, or other big terrestrial cat. The creature is quite cunning, and ambushes several crewmen when they are scouting the planet or doing some other activity that would have them isolated and away from the ship. It sticks in my mind the creature is very strong, and able to bite through the heavy spacesuits the men wear with ease. The creature has an unusual nutritional requirement of some sort. As such, it doesn't eat its victims, but somehow drains them of a particular element or chemical substance. I can't remember what it is, though I think it had something to do with the skeletal structure of the men. Calcium, maybe? I have only very general recollections of how the story ends/is resolved. The humans become aware of the threat, and I believe they ultimately slay the beast. I can't recall anything more specific than that, unfortunately. Timeframe of Publication This one is old, I'm sure of that. I can remember the writing style and some of the descriptions being very \"old school\" - spacemen, rocketship, that sort of thing. Almost like something you'd see in an old sci-fi movie serial, to use a film analogy. If I had to guess, I'd say 1950's at the latest.",
"My PS3 controllers have died and are not charging",
"I know that I can use to make cross-references and hyperlinks clickable. That makes the clickable areas outlined in fluorescent green, however. How can I make the green boxes go away?",
"The title says it all. I want to resize windows with an right click while holding the alt key, instead of the new default alt+middle click. I have found no way to enable this behaviour in 13.04. The gconf-Key suggested in this , doesn't seem to exist any longer.",
"I want to share my computer screen over LAN, without an internet connection. How can I do it? There is different software like: LogMeIn Team Viewer etc. But these require an internet connection.",
"TikZ: remove margin, padding, border around nodes containing images I want to create a simple figure where images are connected with arrows. Here is what I did: \\begin{tikzpicture} \\node[](A) {\\includegraphics[width=0.2\\textwidth]{a}}; \\node[right=1mm of A](B) {\\includegraphics[width=0.2\\textwidth]{b}}; \\draw[->] (A) to (B); \\end{tikzpicture} But I want the arrow to start and end right at the images with no space between. How can I do that?",
"How to prove that a limit does not exist? Let $x \\in \\mathbb{R}$ and let $\\lfloor y\\rfloor$ be the largest integer less than or equal to $x$. $$ f(x) = \\frac{1}{x} - \\left\\lfloor\\frac{1}{x}\\right\\rfloor$$ How does one prove that the $ \\lim_{x\\to 0} f(x)$ does not exist by using a Epsilon Delta proof? There is a hint given that you can use a proof by contradiction.",
"Evalute $ \\lim_{n\\rightarrow \\infty}\\sum^{n}_{k=0}\\frac{\\binom{n}{k}}{n^k(k+3)} $",
"Change Error Message on FBA Login page On the default FBA Login Page, when a user enters wrong username/password an error message gets displayed: \"The server could not sign you in. Make sure your Username and Password are correct, and then try again.\". I want to change this error message to simple text \"Invalid Username and Password\". How can I achieve this?",
"How can I change font rendering to sub-pixel BGR ordering?",
"This question exists as it fills a specific criterion. While you are encouraged to help maintain its answers, please understand that \"big list\" questions are not generally allowed on Ask Ubuntu and will likely be closed per the . More information on the . What kind of desktop environments or shells are there for Ubuntu users to install? Please list a desktop environment or shell for each: a description on why you like or suggest it (features, performance, etc.). a good screenshot, preferably of it running on Ubuntu and showing off some of its features. the minimal requirement for it to be usable, If there's any setting to lower it's requirement (Like kde's low-fat profile); how to enable the said setting some instructions on how to set it up if in the repositories, please provide a software centre link",
"I can't see anything - Teams banner and cookie toaster obscure my whole screen There have been for a while, but this is ridiculous. It reminds me of , but this time it's network-wide. The banner must be scrolled past (or dismissed) on every page unless both first-party JavaScript and first-party cookies are enabled. If first-party JavaScript is enabled, and the banner is visible, the rest of the page jumps up and down every so often. Under certain circumstances (not quite sure what they are, yet – a direct link to an answer, maybe? I'm seeing it ) the entire page jumps up and down a line every few seconds even when the banner is off-screen. The cookie banner keeps coming back unless both third-party JavaScript are enabled (and is solved). The cookie box occludes the “Learn more about Teams” link in the banner (with default Firefox window sizes) and the Job / Teams link in the sidebar. As it stands, – a site for hobbyists and researchers, whose audience is not very likely to purchase Teams – is much, much harder to use, for no benefit that I can see. Can you roll back this change, please?",
"Ephemeral error message: \"cryptsetup: unknown fstype, bad password or options?\" I activated disk encryption for my Ubuntu 15.10 64bit installation and get every time after entering the (correct) password the error message: cryptsetup: unknown fstype, bad password or options? But after few seconds (without any further interaction) this error message is replaced by the expected message: cryptsetup: sda5_crypt set up successfully That's it and the system is started. Any suggestions what could be the problem? Is it merely cosmetic or serious?",
"Prevent Photos app on OSX from launching when plugging in device",
"Morphing only a part of a full path in tikz This might be a tikz newbie question but I have some trouble solving this. I want to draw and fill a rectangular path where path morphing should be applied only to the upper side of the shape, more specifically I want to have an upper part with random steps. The rest of the path (left, lower and right sides) should just be straight lines. The shape should be closed and filled with one color. My problem is that I cannot figure out how to apply the morphing only to the upper side and I suppose I cannot break up the path into different subpaths since I want to fill the final shape. Is there a way to use the morphing only on a part of the full path? Another problem is that the cycle command does not really close the shape at the upper left corner. I tried to find a solution in the tikz manual but there was nothing that really helped me. Here is some example code: \\documentclass[tikz, border=10pt]{standalone} \\usepackage{tikz} \\begin{document} \\usetikzlibrary{decorations.pathmorphing} \\begin{tikzpicture} \\draw[decorate, decoration={random steps,segment length=3.0mm, amplitude=2.0mm}, thick, rounded corners=1ex, fill=brown!70] (0,0) -- (4,0) -- ++(0, -1) -- ++(-4,0) -- cycle; \\end{tikzpicture} \\end{document}",
"What happens if my flight out of the Schengen area is cancelled on the last day of my visa?",
"Are neutrinos affected by electromagnetic forces? I know they don't interact with matter nor any electromagnetic forces, but I know they have mass, very little mass but they have. When something has mass it must be attracted by gravity and other objects (electromagnetic) right?"
] | medi_sts_stackexchange_dupe |
Is there something or There is something? | Correctness of questions without inversion, relying on intonation | [
"Does Google Chrome has anything similar to about:blank page in IE and Firefox? I did not find any suitable page mentioning this? PS: I tried about:blank but it looked like Chrome is trying to load something before showing blank page...",
"Scoping in assigning a derivative",
"I love the game Terraria for PC and played it for ages. Now I saw Terraria on the PS3-Store and gave it a shot. After some wandering around I saw something like a snow-biome and realised later on, that I was on a floating Island. I haven't played much of Terraria the last months, but this stuff seems kind of new. In addition I haven't found the (current) differences between the PC and the Consoleversion. Is there just one (upcoming?) Patch missing on the PC? What's included or - like the title said - what are the current differences (besides the splitscreen-feature of course)?",
"Proof for SSS Congruence?",
"What is the association bonus, and how does it work? I was just awarded +100 reputation on all of my Stack Exchange accounts. What is this bonus for? It simply says \"Association Bonus\" on my reputation overview. Also: What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus?",
"I want to use Google Chrome and Google search instead of Bing when I search in Windows 10. Google Chrome is launched when I click on web, but it's Bing search. (My default search engine on Google and Edge is ) I haven't found how to configure that. Someone can help me ?",
"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?",
"How should we handle downvote retaliation?",
"swap x and y axis on data generated plot",
"How can I tell what year my bike was made?",
"Image Alpha Background Renders Black when using \"Import Images as Planes\" I must be missing something here. I'm doing an extremely simple Import Image as Plane using the AddOn and the imported image has an alpha background but it renders (and even previews in the material preview) as black where the alpha background should be. When I import, I select Emission & Transparent so the material setup is automatic. I've read similar issues but people are typically missing the transparent node and connecting the Alpha channel from the image into the Mix Node factor. But this is all here. I must be missing something really stupid but I've wasted so much time trying to fix this thing. Any help would be greatly appreciated. Not sure if it matters but I'm using 2.74 RC2. Many thanks! I created this dummy blend file to test outside my project but problem still exists. Here is the simple .blend file:",
"I am stuck on how to calculate the following limit: $$\\lim_{x\\to\\infty}x\\left(\\left(1 + \\frac{1}{x}\\right)^x - e\\right).$$ Definitely, it has to be through l'Hôpital's rule. We know that $\\lim_{x\\to\\infty} (1+(1/x))^x = e$. So, I wrote the above expression as $$\\lim_{x\\to\\infty}\\frac{\\left(1 + \\frac{1}{x}\\right)^x - e}{1/x}.$$Both numerator and denominator tend to zero as x tends to infinity. I applied l'Hôpital's rule twice, but I got the limit equal to infinity which is clearly wrong. In the book, it says that the limit should be $-e/2$. Any help please? Also, in case someone managed to solve it, please tell me which numerator and denominator did you apply your l'Hôpital's rule to in both cases? Thanks a lot Also, guys can you tell me how to write equations in this forum? Thanks.",
"I am just curious that the following format looks good to you or not? The preamble I used is just \\documentclass[12pt,a4paper]{article} \\usepackage{amsmath} \\usepackage{amsthm} \\usepackage{amssymb} I don't feel it's so good because the first paragraph has no indent but the second does. If the first paragraph is much longer, than it's fine. But if not, it looks strange. Should I leave it, or you have suggestions for this?",
"Finding limit of a sequence in product form \\begin{equation} \\prod_{n=2}^{\\infty} \\left (1-\\frac{2}{n(n+1)} \\right )^2 \\end{equation} I need to find limit for the following product..answer is $\\frac{1}{9}$. I have tried cancelling out but can't figure out. Its a monotonically decreasing sequence so will converge to its infimum.. how to find the infimum?",
"What does an ampersand after this assignment operator mean?",
"A story about a male protagonist with special eyes that tells him if things are safe or not; green = safe. Can’t remember if it’s a manga or webtoon. It starts with a male protagonist who was dying on a battlefield, the goddess took pity on him, sent his emotions back into his younger self, (not memories). He had eyes that told him what is safe/good and what is dangerous/bad by using colors: green, orange, red. He used this to gamble, his eyes stopped working, borrowed money from his ex-girlfriend (who works in a cafe). Money got stolen while he took a nap by a river, the evil lady who stole his money tried to get him to enter a contract. From his future emotions, he knew he wanted an invitation instead. This leads to a gathering of people in a school gym, their tasks are given. Invited people are given bags with tools. An oni busted out under the floor. People get killed. Stairways with gates, etc. This is considered the tutorial. Points are given after, those points are needed to buy daily necessities. The protagonist had the highest points, given VIP room. Etc.",
"How does the Higgs mechanism work? I'm not a particle physicist, but I did manage to get through the Feynman lectures without getting too lost. Is there a way to explain how the Higgs field works, in a way that people like me might have a hope of understanding?",
"Which meta am I supposed to post on? I'm mostly active on and we have a separate . Most of my questions on IT Security meta have answers with links here. So my question is, where am I supposed to post what i.e. feature request, bug report, behavior questions?",
"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).",
"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 |
How can I prove $B ∨ ¬B$ without using assumption and contradiction? | Proving 'Law of Excluded Middle' in Fitch system | [
"Does it have or has?",
"Some packages, have a Provides: header. For example, the package postfix on Debian Wheezy has Provides: mail-transport-agent. The package mail-transport-agent which doesn't exist physically is considered as a \"virtual\" package. How can I know, on a Debian based system, if a given virtual package is \"installed\" (or \"provided\")? Can I list every \"provided\" virtual package? Hint: to list every existing virtual package, installed or not, do: aptitude search \"~v\"",
"How to conduct an Accent Sensitive search in MySql I have a MySQL table with utf8 general ci collation. In the table, I can see two entries: abad abád I am using a query that looks like this: SELECT * FROM `words` WHERE `word` = 'abád' The query result gives both words: abad abád Is there a way to indicate that I only want MySQL to find the accented word? I want the query to only return abád I have also tried this query: SELECT * FROM `words` WHERE BINARY `word` = 'abád' It gives me no results. Thank you for the help.",
"How to effectively close a page?",
"MWE for externalize + automatic recompilation after tikz figure modification",
"How do I mount .vhd file? I'm using 13.04 Raring amd64 and I need to mount a .vhd file on my ubuntu. I've googled about it and found that virtualbox-fuse package is the answer. But the package was deleted from apt repository. Is there any way to install the package w/ 13.04? or is there any alternative to virtualbox-fuse?",
"Stop all active ajax requests in jQuery",
"How to change color of the text in TextView on hover like in css?",
"How to prove $\\bar{m}$ is a zero divisor in $\\mathbb{Z}_n$ if and only if $m,n$ are not coprime",
"Does mass distribution/center of mass affect free fall? An everyday is example would be cars. If you were to drop a car, not taking air resistance into account, would a front-heavy car tumble forward as it fell? And a car with a perfect 50/50 front/rear weight distribution fall straight? Does mass distribution/center of mass affect free fall? Or would they both fall straight down without tumbling? Can you explain why please?",
"When I open a window to air out the room, how does the smell disperse? Let's say I'm in a room with some kind of noxious stink, possibly of flatulent nature. The quickest way to right the world that comes to mind is to open a window. When I open a window, how do the stank particles leave the room?",
"Is it correct to say \"I kindly request you to...\"? Isn't kindness already implied when you say \"I request you to...\"? When I say \"I humbly request you to...\", the word humbly helps me to label the state of my behavior during the request. On the other hand, what value does the word kindly add to the request?",
"Why KL divergence is non-negative? Why is KL divergence non-negative? From the perspective of information theory, I have such an intuitive understanding: Say there are two ensembles $A$ and $B$ which are composed of the same set of elements labeled by $x$. $p(x)$ and $q(x)$ are different probability distributions over ensemble $A$ and $B$ respectively. From the perspective of information theory, $\\log_{2}(P(x))$ is the least amount of bits that required for recording an element $x$ for ensemble $A$. So that the expectation $$\\sum_{x \\in ensemble}-p(x)\\ln(p(x))$$ can be interpreted as at least how many bits that we need for recording an element in $A$ on average. Since this formula puts a lower bound on the bits that we need on average, so that for a different ensemble $B$ which brings about a different probability distribution $q(x)$, the bound that it gives for each element $x$ will surely not bit that is given by $p(x)$, which means taking the expectation, $$\\sum_{x\\in ensemble}-p(x)\\ln(q(x))$$ this average length will surely be greater than the former one, which leads to $$\\sum_{x\\in ensemble }p(x)\\frac{\\ln(p(x))}{\\ln(q(x))} > 0$$ I don't put $\\ge$ here since $p(x)$ and $q(x)$ are different. This is my intuitive understanding, is there a purely mathematical way of proving KL divergence is non-negative? The problem can be stated as: Given $p(x)$ and $q(x)$ are both positive over real line, and $\\int_{-\\infty}^{+\\infty}p(x)dx = 1$, $\\int_{-\\infty}^{+\\infty}q(x)dx = 1$. Prove $$\\int_{-\\infty}^{+\\infty}p(x)\\ln\\frac{p(x)}{q(x)}$$ is non-negative. How can this be proved? Or can this be proved without extra conditions?",
"Let $f:\\mathbb{R}\\to\\mathbb{R}$ continuous such that $\\lim_{x\\to\\infty}f(x+1)-f(x)=l$. How can I prove that $\\dfrac{f(x)}x$ converges for $x\\to+\\infty$ ? I am just trying to prove the convergence, not that it converges to $l$ (that part be deduced immediately by Stolz-Cesaro and the sequential characterization of limits)",
"Installing Autodesk Maya on Ubuntu is possible, but can be a bit challenging. Assuming that one already has the required specs and a solid graphics card driver installed, how can it be done?",
"How does ADR (Automated Dialogue Replacement) work? There's an entry in Wikipedia that says what it is (essentially actors dubbing their lines in post production, sometimes requiring several takes) but I don't see what's \"automatic\" about it. It doesn't seem to work all that well because I can almost always tell when it has been used.",
"Converting time field omitting time and returning null values? I have a time field in my shapefile that is formatted as HH:mm:ss.s It is a text field, and I want to convert it to a date so I can calculate time elapsed across rows (if there's a better way to do this let me know). Basically, each row is a point on a route, and I want to use the time field to calculate the amount of time elapsed between the first and last points on the route. I tried using the convert time field tool, setting the input format as HH:mm:ss.s, and the output type as DATE. The output field however only shows values of 01/01/2001 for some rows and for other rows. time is the input field and time_c is the output field I'm not sure what's going wrong here, here is what shows up in the geoprocessing results window: I tried adding the date data to the field as well to make the format yyyy-MM-dd HH:mm:ss.s, but it still didn't work:",
"Any way to see mail sent by other user through shared address? My wife and I have a \"shared\" email address, like [email protected] which we both use from Gmail when we both want to get replies or for signing up for certain websites. When an email is received at that address, it gets forwarded to both of our personal Gmail accounts. The problem is that when either one of us \"sends as\" that address, the other does not see the sent message. So we have to cc or bcc each other (and she usually forgets.) Is there any automagic way to have those sent emails appear in BOTH of our Gmail accounts? I've tried filters but I don't think they work on outgoing messages. Basically we want a filter that would automatically forward emails from that address to the other person. I know this can be done with standalone mail clients, but neither of us uses those.",
"How to tail multiple files using tail -0f in Linux/AIX I tried tailing two files using the option: tail -0f file1.log -0f file2.log In Linux I see an error \"tail : can process only one file at a time\". In AIX I see the error as \"Invalid options\". This works fine when I use: tail -f file1 -f file 2 in Linux but not in AIX. I want to be able to tail multiple files using -0f or -f in AIX/Linux multitail is not recognized in either of these OS.",
"How to switch between virtual console and GUI in Ubuntu? I wanted to see what key functions would allow me to switch between the two."
] | medi_sts_stackexchange_dupe |
Why is the return value not what I expected in this C program with macro? | Strange behaviour of macros C/C++ | [
"Why does Java have an \"unreachable statement\" compiler error?",
"In all the Star Wars movies, R2D2 just boops and beeps his way around. And everyone understands him perfectly, though he is obviously not speaking Basic. How do people understand him - is there like an astromech language? If so, then would one have to learn it, or is it comprised of feelings and emotions (expressed in beeps), essentially making a tonal language? If I may be permitted to use an example from the prequels without too many lynch mobs forming, Anakin Skywalker converses frequently with Artoo while in the Naboo fighter, but he couldn't have had much schooling at the age of eleven, especially because he was a slave. So how would people, Anakin especially, be able to understand astromechs?",
"Variance of a linear combination of vectors Let $A$ and $B$ be two constant matrices and let $x$ and $ y$ be two random vectors, what is the general formula for $Var(Ax+By)$? I know the formula for when $x$ and $y$ are scalar random variables and $A$ and $B$ are constants, but what about the matrix case?",
"Prove that the following inequality holds $$a^a b^b c^c\\ge (abc)^{\\frac{a+b+c}{3}}$$ if $a,b,c$ are positive. I'm not sure how to handle these kinds of powers. Are there any \"famous\" but not so advanced inequalities that involve this kinds of expressions? I was trying to do something like ordering them without lost of generality because it's symmetric, but I get nowhere and I just make the thing even more complicated. I'm asking for solution rather than hints since this is my first time encountering these kinds of problems.",
"Duplicated Onedrive icon in explorer I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine. The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder. How can I remove the duplicated onedrive entry from the sidebar?",
"Vortex in liquid collects particles in center",
"Let $f_1 : [-1, 1] \\rightarrow \\mathbb{R};\\: f_1(0) = 0 $ be a continuously differentiable function and $\\lambda > 1$. Consider the sequence of functions defined inductively by $f_k(x) := \\lambda f_{k-1}\\left(\\dfrac{x}{\\lambda}\\right);\\: k \\geq 2;\\: x\\in [-1, 1]$. Find the pointwise limit of the sequence of functions $(f_n)$. I figured out that $f_k(0)=0 \\:\\forall\\: k\\implies f_k\\rightarrow 0 $ when $ x=0$. Also $f_k$ is continuously differentiable $\\forall \\:k$. $\\Bigg($Since $\\quad\\displaystyle\\lim_{h\\rightarrow0}\\dfrac{f_2(x+h)-f_2(x)}{h}=\\lambda\\lim_{h\\rightarrow0}\\dfrac{f_1\\left(\\frac{x+h}{\\lambda}\\right)-f_1\\left(\\frac{x}{\\lambda}\\right)}{h}.\\: $Since$ f_1 $is continuously differentiable we see $ f_2 $ is differentiable and its derivative is continuous and hence $f_k$. $\\Bigg)$. Further since $f_1(0)=0$. So I assumed $f_1(x)=x\\cdot g(x)$, where $g(x)$ is continuously differentiable and $g(0)\\neq0$. Assume $x\\neq0,\\:f_2(x)=\\lambda\\cdot\\dfrac{x}{\\lambda}g\\left(\\dfrac{x}{\\lambda}\\right)=x\\cdot g\\left(\\dfrac{x}{\\lambda}\\right)\\implies f_3(x)=x\\cdot g\\left(\\dfrac{x}{\\lambda^2}\\right)$ $\\implies f_k(x)=x\\cdot g\\left(\\dfrac{x}{\\lambda^{k-1}}\\right)$. So taking limit as $k\\rightarrow \\infty$, we get $\\displaystyle \\lim_{k\\rightarrow\\infty}f_k(x)=x\\cdot g(0)$. Now I am not sure how to proceed or whether there is something wrong here. Please provide hints or suggestions. $\\rule{17cm}{1pt}$ To sum up (using the arguments made by $\\textbf{zhw}$ and $\\textbf{Paul Frost}$) When $\\displaystyle x\\neq0, \\lim_{n\\rightarrow\\infty}f_{n+1}(x) = \\lim_{n\\rightarrow\\infty}x\\,\\frac{f_1(x/\\lambda^n)}{x/\\lambda^n} = \\lim_{n\\rightarrow\\infty}x\\,\\frac{f_1(x/\\lambda^n)-f_1(0)}{x/\\lambda^n}=x\\:f'(0).$ Thus $$f_n\\rightarrow\\begin{cases}0&x=0\\\\x\\:f'_1(0) &x\\neq0\\end{cases}=f $$",
"I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do?",
"How can I change the field names (not the alias) in ArcGIS 10.2? I already found this page on ArcGIS support: "" but there is is not "Defense Mapping" on Customized Mode Categories In my ArcCatalog! Without access to Defense Mapping, how can I change the field names?",
"How to set identity_insert to on in SQL Server",
"Resize image proportionally with CSS?",
"Create unique number from 2 numbers is there some way to create unique number from 2 positive integer numbers? Result must be unique even for these pairs: 2 and 30, 1 and 15, 4 and 60. In general, if I take 2 random numbers result must be unique(or with very high probability unique) Thanks a lot EDIT: calculation is for computer program,so computational complexity is important",
"JSF doesn't support cross-field validation, is there a workaround?",
"Definition of injective function",
"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.",
"Javascript add leading zeroes to date",
"Static nested class in Java, why?",
"How to enable multiple logon remote desktop in Windows 7",
"What changed in the Hot Questions sidebar algorithm? I've recently noticed that the hot questions list is now different almost every time I look at it. It used to be static - I.e. I could browse around for half an hour and the items on it would be minimally changed. Was the algorithm changed? In what way?",
"What software do you use to accurately draw geometry diagrams?"
] | medi_sts_stackexchange_dupe |
Can an Indian citizen visit Dubai on a layover? | Travelling from India to canada via Dubai and London. Do I need a transit visa | [
"Partitioning sum of squares",
"In Age of Ultron, Thor seems to know something he possibly shouldn't? Sorry for the cryptic title, but I realise the film has only just been released in the UK and Europe and is yet to be released in the US. I'll hide all substantial parts of my question, just in case. I don't want to spoil anything. At the end of Age of Ultron, Thor states that 4 infinity stones have now shown up in the last few years. So, By my count we have the Tesseract, from several of the first few films. The Aether, from Thor 2. The Chitauri Scepter, again from several films. And finally, we have The Orb, from Guardians. Now, to my knowledge Thor, and indeed none of the Avengers, should know about The Orb. I don't remember Thor visiting the Collector between GoTG and the AoU. So, how did Thor know that The Orb had appeared? Or is he referencing a different infinity stone? I'm looking for an in universe answer, ideally.",
"save as a video as .mp4 So I made an intro using animation and it saves it as a .blend and I want it so save as a video like .mp4 or something like that. I've tried changing the codec because I tried opening the intro with windows media instead of blend. I didn't try all the codec's but I tried some of them.",
"tmux: shared session, one user in a pane, another in another pane, two different cursors I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to the socket, or creating a group, chgrping the socket and adding both users to it, seems to let that same socket be used to share a session with only one cursor: both users can write, but always in the same cursor position. Right now both users are in the same home server over ssh, and the idea is to be able to have: A terminal in a, let's say, left pane, where I can type commands Another terminal in a right pane, where I can see another user typing commands in his own terminal The same thing for the other user What I'm doing at the moment is using two sessions (not shared) and a script -f and tail -f combination that kinda works for reading each other's key strokes, but I reckon there is probably some way of doing this using tmux sharing capabilities. Is there a way to get this idea working with write support in each other's terminal? What is the better way to do this?",
"Non-trivial cyclic group with unique generator Let $G$ be a non-trivial cyclic group with an unique generator. Show that $G$ has exactly two elements. Let $g$ be a generator of $G$. My first idea to approach the problem was to show that if $|G|=n > 2$ then there is an integer $k$ between 1 and $n$ such that $\\langle g^k \\rangle = G$ or, equivalently, $g \\in \\langle g^k \\rangle$. My second idea was to analyse the problem in 2 separate cases. For the first one, if $n$ is prime, let $k$ be a positive integer then, by Lagrange's Theorem, $|g^k| \\mid n$ and, therefore, $\\langle g^k \\rangle = n$. Hence, we must conclude that, if $n > 2$ the generator cannot be unique. For the second case, where $n$ is composite, I was hoping to get to a contradiction, but could not advance any further. Is there a way to develop either of these ideas or is it necessary a new approach?",
"Tentative definitions in C and linking",
"Clipboard.GetText returns null (empty string) My clipboard is populated with text, but when I run string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.Text); I get back an empty string. I've toyed with various forms of the call including: string clipboardData = Clipboard.GetText(); string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.UnicodeText); But with the same result. Am I missing something obvious?",
"Deciding whether $2^{\\sqrt2}$ is irrational/transcendental Is $2^\\sqrt{2}$ irrational? Is it transcendental?",
"Redirect stdout over ssh I would like to run something > file on a remote system through ssh, but if I run ssh host something > file the redirection is executed locally as ssh etc > file I've tried it with ' or '' or dd or with a pipe | instead, but I can't get it to work. How can this be done?",
"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?",
"Why was the MCU Super Soldier program considered a failure? In Marvel Cinematic Universe, military tried to create super soldiers like Hulk, but they failed. So, the program was shut down. Where did they fail? Didn't Blonsky get Wolverine-type super healing capability? Why couldn't it make the military stronger? Other than this, wasn't Abomination a success (despite the fact that it wasn't an original work of the military)? He was defeated by Hulk, but enemy forces don't have a Hulk. When it comes to anger, who cares as long as you are focused on the target? Abomination was indeed in full control and he was always after Hulk.",
"How to run .sh script with keybind",
"Question: For every polynomial $P(x)$ of degree at n we have $$\\sum_{i=0}^{n+1}(-1)^i\\binom{n+1}{i}P(i)=0$$ Well I was inducting on degree of the polynomial, for $n=0$ its true and I got a bit confused in the inductive step, actually I cant figure the inductive step. Is this property (if true) a famous one? Thank you for your help.",
"Share a Folder between two Local Users I and my brother have User Accounts on this machine. I want to share the Documents directory with him. Is there a STRAIGHTFORWARD way to do it? I am not a power user so I am looking for a way to do this using nautilus, rather than a script or a way that requires creating symlinks. I can download an application if i have to. Last time I wanted to do this I just copied the contents to /home for both of us to use. Something I can do in System Settings would be appreciated",
"\"Always on Top\" Windows with Java In Java, is there a way to have a window that is \"Always on top\" regardless if the user switches focus to another application? I've searched the web, and all of the solutions lean to some sort of JNI interface with native bindings. Truly this can't be the only way to do it?.. or is it?",
"Does every number not ending with zero have a multiple without zero digits at all? We consider numbers in their usual base 10 representation. we don't consider numbers ending with $0$, because all multiples of such numbers end with $0$. It can be proven that all powers of $2$ have such a multiple: Indeed, for every number of the form $2^n$, we can find a multiple $l$ of it whose last $n$ digits are nonzero (This can be done by repeatedly multiplying a number by $10^k+1$, as explained ), and then forget all other digits; these last $n$ digits constitute a number that is still divisible by $2^n$, since it is obtained from $l$ by subtracting a multiple of $10^n$ which is in particular a multiple of $2^n$. The same argument shows that every power of $5$ has a multiple without zeros, but this does not seem to generalize to other numbers. My intuition is actually that the claim is not true, since the density of numbers without any zero digits approaches $0$ for big numbers. This is because the probability of a random number with at most $n$ digits to contain only nonzero digits is $(\\frac{9}{10})^n$. Thus big numbers \"nearly always\" contain a zero. This hints on the existence of a counterexample, but does not prove its existence.",
"I am trying to install under Wine. The program setup continually requests proxy settings. My broker tells me this shouldn't happen, and is a problem on my end. Here is what I have tried to attempt to solve this error: I have gone into Network settings and proxy is set to none. I have looked in Wine Regedit and proxy_enable is set to 0. I have checked the firewall settings on my modem. I have tried reinstalling wine. I have installed lib32nss-mdns I can log on to my modem in iexplore using the gateway ip but thats it I've set my DNS to 10.0.0.138 to reflect the gateway I've set up a 32 bit Wine prefix How should I proceed in solving this?",
"How do I install Java? How do I install Java, including in my browser, so websites with Java work?",
"Our team is developing a new system and it has a Warehouse table that must have a hierarchical relationship between entries since a customer can have 1st, 2nd, 3rd and Nth degree warehouses. We first thought that was the best way to do it. By creating a Parent and a Child column on the table and then making Parent the FK to Child (on the same table) but friend DBA told us that there is a different way. So, for instance, we had thought about making a table like this: CREATE TABLE Warehouse( filterId INT PRIMARY KEY IDENTITY, parentId INT NOT NULL, active BOOL DEFAULT 1, warehouseName VARCHAR(30) NOT NULL, FOREIGN KEY parentId REFERENCES Warehouse(filterId) | FILTERID | PARENTID | ACTIVE | WAREHOUSENAME | -------------------------------------------------- | 1 | 0 | 1 | N WAREHOUSE 1 | | 2 | 1 | 1 | ROOM 1 | | 3 | 1 | 1 | ROOM 2 | | 4 | 1 | 1 | ROOM 3 | | 5 | 1 | 1 | ROOM 4 | | 6 | 2 | 1 | SHELF 1 | | 7 | 2 | 1 | SHELF 2 | | 8 | 2 | 1 | SHELF 3 | | 9 | 2 | 1 | SHELF 4 | | 10 | 2 | 1 | SHELF 5 | | 11 | 2 | 1 | SHELF 6 | | 12 | 2 | 0 | SHELF 7 | | 13 | 3 | 1 | BOX 1 | | 14 | 3 | 0 | BOX 2 | | 15 | 3 | 1 | BOX 3 | | 16 | 3 | 1 | BOX 4 | -------------------------------------------------- But this DBA said that we should work on something like this: CREATE TABLE Warehouse( filterId VARCHAR(20) PRIMARY KEY, active BOOLEAN DEFAULT 1, warehouseName VARCHAR(30) NOT NULL) | FILTERID | ACTIVE | WAREHOUSENAME | --------------------------------------- | 1.00 | 1 | N WAREHOUSE 1 | | 1.01 | 1 | ROOM 1 | | 1.02 | 1 | ROOM 2 | | 1.03 | 1 | ROOM 3 | | 1.04 | 1 | ROOM 4 | | 1.01.01 | 1 | SHELF 1 | | 1.01.02 | 1 | SHELF 2 | | 1.01.03 | 1 | SHELF 3 | | 1.01.04 | 1 | SHELF 4 | | 1.01.05 | 1 | SHELF 5 | | 1.01.06 | 1 | SHELF 6 | | 1.01.07 | 0 | SHELF 7 | | 1.01.01.01 | 1 | BOX 1 | | 1.01.01.02 | 0 | BOX 2 | | 1.01.01.03 | 1 | BOX 3 | | 1.01.01.04 | 1 | BOX 4 | --------------------------------------- Which way should we follow? On one hand we have a relationship between parentId and filterId; on the other we do not have any relationship, but it is easy to understand where does the entry belong. Not all the warehouses are of the same level - that's what I mean by degree. They should be ordered like: For Customer A, 1 is parent of 1.1 and 1.2, 2 is parent of 2.1, 3 is parent of 3.1 and 4 is parent of 4.1 and 4.2 - but 1, 2, 3 and 4 are of the same level (1st level), and 1.1, 1.2, 2.1, 3.1, 4.1 and 4.2 are also of the same level (2nd level) but not of the same parents.",
"For which values $r, s \\in \\mathbb R$ is the set $\\{u, v, w\\}$ linearly independent?"
] | medi_sts_stackexchange_dupe |
This needs to be reprinted vs. this needs reprinted | "Needs cleaned" or "needs to be cleaned" | [
"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?",
"Do Bard and Rogue expertise stack? If you multiclass correctly so you get expertise from both bard and rogue(e.g. Rogue 1 and Bard 3), and if in both classes you put the expertise into Deception, does it stack on an ability check? Example: The bard/rogue is proficient in Deception. With a 16 (+3) charisma at level 4 would the character get a +15 bonus to Deception rolls?",
"Why was Dumbledore worried by the cut in Harry's arm? In the Goblet of Fire, Harry is cut in the arm by Pettigrew. When Dumbledore learns it, he's extremely worried and wants to check Harry's arm. Why? When Harry told of Wormtail piercing his arm with the dagger, however, Sirius let out a vehement exclamation and Dumbledore stood up so quickly that Harry started. Dumbledore walked around the desk and told Harry to stretch out his arm. Harry showed them both the place where his robes were torn and the cut beneath them. \"He said my blood would make him stronger than if he'd used someone else's,\" Harry told Dumbledore. \"He said the protection my - my mother left in me - he'd have it too. And he was right - he could touch me without hurting himself, he touched my face.\" For a fleeting instant, Harry thought he saw a gleam of something like triumph in Dumbledore's eyes. But next second. Harry was sure he had imagined it, for when Dumbledore had returned to his seat behind the desk, he looked as old and weary as Harry had ever seen him. \"Very well,\" he said, sitting down again. \"Voldemort has overcome that particular barrier. Harry, continue, please. Edit: Plz explain this sentence specifically: \"Dumbledore walked around the desk and told Harry to stretch out his arm.\"",
"Exam with 18pt main font",
"the slash (/) after a directory name on shell commands I have a little question here. If I have two files, say filea and fileb, mv filea fileb would delete fileb rename filea to fileb Then if I have two directories, say dira and dirb, mv dira dirb would move dira into dirb (it will become dirb/dira) Noting that in both cases there are no notice or message, then this is pretty inconsistent to me. I think mv dira dirb should just overwrite dirb with the contents of dira (or merge the two directories under a directory named dirb). I remember reading somewhere that a directory name with a slash (like dira/) is treated like a directory, and name with no slash (like dira) is treated like a file (to certain extents, of course). Anyway now I want to make the shell (zsh and possibly bash) respect my notation of a directory by using a slash. Is there a terminal option which enable me to enforce that? To clarify, here is my desired behaviour: mv dira dirb results in dirb being overwritten with the contents of dira mv dira dirb/ results in dira being moved into dirb (in dirb/dira) Has anyone thought the same way as me? Or am I just weird?",
"Expected number of rolling a pair of dice to generate all possible sums A pair of dice is rolled repeatedly until each outcome (2 through 12) has occurred at least once. What is the expected number of rolls necessary for this to occur? Notes: This is not very deep conceptually, but because of the unequal probabilities for the outcomes, it seems that the calculations involved are terribly messy. It must have been done already (dice have been studied for centuries!) but I can't find a discussion in any book, or on line. Can anybody give a reference?",
"Attorney at law, is there any other kind? I have wondered from time to time about the phrase \"attorney at law.\" Are there other kinds of attorneys? Attorneys at arms? If not, why do we specify?",
"Can an abstract class have a constructor? Can an abstract class have a constructor? If so, how can it be used and for what purposes?",
"How can I reduce the ever-increasing time to push a subtree?",
"Fit a table into one page",
"Catch multiple exceptions at once?",
"Undercooked beans in chili? I made a bit of a mistake, being a lazy bachelor and inexperienced at cooking. I was making chili and when it came time to add beans I discovered I didn't have any canned beans. I did however have some dried beans. I decided to save time and add these directly to the pot of chili and add some water. However, after much simmering the beans maintain a certain unpalatable crispness. I have also read that undercooked beans contain a chemical lectin which can cause stomach discomfort. I have also read that beans should be soaked, the water discarded to remove the lectin, and then boiled to cook them. Is there any way to salvage this? Should I just continue cooking the chili for hours? Will I have to throw out my potentially delicious chili?",
"What developer text editors are available for Ubuntu?",
"How to disable pylint 'Undefined variable' error for a specific variable in a file?",
"Java Strings: \"String s = new String(\"silly\");\" I'm a C++ guy learning Java. I'm reading Effective Java and something confused me. It says never to write code like this: String s = new String(\"silly\"); Because it creates unnecessary String objects. But instead it should be written like this: String s = \"No longer silly\"; Ok fine so far...However, given this class: public final class CaseInsensitiveString { private String s; public CaseInsensitiveString(String s) { if (s == null) { throw new NullPointerException(); } this.s = s; } : : } CaseInsensitiveString cis = new CaseInsensitiveString(\"Polish\"); String s = \"polish\"; Why is the first statement ok? Shouldn't it be CaseInsensitiveString cis = \"Polish\"; How do I make CaseInsensitiveString behave like String so the above statement is OK (with and without extending String)? What is it about String that makes it OK to just be able to pass it a literal like that? From my understanding there is no \"copy constructor\" concept in Java?",
"Is the localization of a PID a PID? Let $A$ be a commutative ring and $S$ a multiplicative closed subset of $A$. If $A$ is a PID, show that $S^{-1}A$ is a PID. I've taken an ideal $I$ of $S^{-1}A$ and I've tried to see that is generated by one element; the ideal $I$ has the form $S^{-1}J$ with $J$ an ideal of $A$. $J$ is generated by one element but I can't see why $I$ has to be generated by one element, maybe I'm wrong.",
"I am confused with the grammar here. Which is grammatically correct? At which time will you call me? At what time will you call me? And why?",
"How can I create light trails without a blurry subject?",
"Summation of series $\\sum_{n=1}^\\infty \\frac{n^a}{b^n}$? How can we evaluate this series $$\\sum_{n=1}^\\infty \\frac{n^a}{b^n}?$$ Here $a$ and $b$ are positive integers. If $b=1$ then series will be diverging, in other cases, it will be converging, but how to find this sum? Isn't there a simple solution which doesn't involve Stirling numbers?",
"Fibonacci combinatorial identity: $F_{2n} = {n \\choose 0} F_0 + {n\\choose 1} F_1 + ... {n\\choose n} F_n$ Can someone explain how to prove the following identity involving Fibonacci sequence $F_n$ $F_{2n} = {n \\choose 0} F_0 + {n\\choose 1} F_1 + ... {n\\choose n} F_n$ ?"
] | medi_sts_stackexchange_dupe |
The usage of "actually" in comparison | "Actually" vs "really" | [
"Let $k$ be a finite field of order $q$ in characteristic $p$, let $n$ be a positive integer not divisible by $p$, and let $K$ be the splitting field of $X^n-1$ over $k$. Prove that $[K:k]$ equals the smallest positive integer $d$ such that $n\\mid q^d-1$. My approach: It's easy to show that if $k$ is a finite field of order $q$ with $\\text{char} \\ k=p$ then $k=\\mathbb{F}_{q}$ with $q=p^m$ with $m\\geq 1$. If $K$ is the splitting field of $X^n-1$ over $k$ then $K=\\mathbb{F}_{q^r}$ for some suitable $r\\geq 1$. Let $\\alpha \\in K=\\mathbb{F}_{q^r}$ be a root of $X^n-1$ then $\\alpha^n-1=0$ and $\\alpha\\neq 0$. Thus, $\\alpha^n=1$ and $\\alpha \\in \\mathbb{F}^{\\times}_{q^r}$ where $\\mathbb{F}^{\\times}_{q^r}$ is the cyclic group of order $q^r-1$. But I have some difficulties: 1) From $\\alpha^n=1$ it follows that $o(\\alpha)\\mid n$. How to show that $o(\\alpha)=n$? I was trying to show it using that $(n,p)=1$ but I failed. Remark: Because if we can show that $o(\\alpha)=n$ then the desired result follows immediately from cyclicity of multiplicative group of field $\\mathbb{F}_{q^r}$. I have spent one day in order to come up with this approach. So please do not duplicate this question and can anyone show how to answer my question, please. Detailed explanation would be great!",
"How to prove that you have significant ties with family in your home country?",
"My understanding is that heat is essentially atomic vibrations. If there are almost no atoms, how can there be residual heat? Also, as I understand in space there is no heat transfer via convection and it is mainly through EM radiation. In this case, why is it that if i were to go into space with no suit and just an airtight helmet through which I could breathe, I would still freeze to death very quickly?",
"HP PSC 1410 all scanner's images are black I have a HP PSC 1410 printer with scanner inside. I've been scanning documents and images with it for the last couple of years. Recently my scanner has stopped performing as excepted and i can't scan or copy images\\documents. My problem is that every images\\document i'm trying to scan - the result from the printer is a black page. I've been googling about this issue and couldn't find any helpful stuff beside replacing the whole printer - which is something i'm trying to avoid. Any ideas ? I've read something about the shipping lock of the scanner but couldn't find any information about how to check it..",
"How to make a meta box field a requirement",
"How does the double strike mechanic interact with other mechanics like lifelink or trample?",
"It is known that all $B$, $C$ and $D$ are $3 \\times 3$ matrices. And the eigenvalues of $B$ are $1, 2, 3$; $C$ are $4, 5, 6$; and $D$ are $7, 8, 9$. What are the eigenvalues of the $6 \\times 6$ matrix $$\\begin{pmatrix} B & C\\\\0 & D \\end{pmatrix}$$ where $0$ is the $3 \\times 3$ matrix whose entries are all $0$. From my intuition, I think the eigenvalues of the new $6 \\times 6$ matrix are the eigenvalues of $B$ and $D$. But how can I show that?",
"I would like to know if there is a word or phrase for a systematic campaign to annihilate every descendant of a particular ancestor. We have the word 'genocide' for killing off an entire race, and plenty of words for killing people based on how they are related to you (fratricide, filicide, et. al.), but looking over the and the , I couldn't find a term for systematically killing an entire bloodline. My question is prompted by a US news story about the horrific murder of 8 members of the same family, but those murders are not an example of what I'm thinking of because the children of the victims were left alive, so the motive for the killings was not to kill off the bloodline. The sense that some group had coordinated an attack against just one family is what made me wonder what the \"not an entire race, just one bloodline\" version of 'genocide' would be called. Searching the Internet for \"kill off\" and bloodline sends me straight into the land of vampires, Illuminati, reptilian overlords, and, naturally, Priory of Sion nonsense so I haven't had much luck finding a thread to pull. It may be that there is no word for it in the sense of murdering a human bloodline, because we just don't attempt kill off our royals down to the last heir often enough to coin a term for it. Maybe there is a scientific term for culling a line from a test population as part of biological research?",
"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?",
"I'm trying to show that $$\\delta\\big(f(x)\\big) = \\sum_{i}\\frac{\\delta(x-a_{i})}{\\left|{\\frac{df}{dx}(a_{i})}\\right|}$$ Where $a_{i}$ are the roots of the function $f(x)$. I've tried to proceed by using a dummy function $g(x)$ and carrying out: $$\\int_{-\\infty}^{\\infty}dx\\,\\delta\\big(f(x)\\big)g(x)$$ Then making the coordinate substitution $u$ = $f(x)$ and integrating over $u$. This seems to be on the right track, but I'm unsure where the absolute value comes in in the denominator, and also why it becomes a sum. $$\\int_{-\\infty}^{\\infty}\\frac{du}{\\frac{df}{dx}}\\delta(u)g\\big(f^{-1}(u)\\big) = \\frac{g\\big(f^{-1}(0)\\big)}{\\frac{df}{dx}\\big(f^{-1}(0)\\big)}$$ Can any one shed some light? Wikipedia just states the formula and doesn't actually show where it comes from.",
"Why an R-module is an R/I-module precisely when it is annihilated by I? Let $I$ be an ideal of $R$ and let $M$ be an $R$-module. Prove that the formula $(r + I) \\cdot m = r \\cdot m$ for $r + I \\in R/I$, and $m \\in M$ makes $M$ into an $R/I$-module if and only if $i \\cdot m = 0$ for all $i \\in I, m \\in M$. I don't quite understand why we must have $i \\cdot m = 0$ instead of $I \\cdot m \\in M$. This is for proving the only if part.",
"AMT stock option scenario",
"In a bash shell script, writing a for loop that iterates over string values",
"R Difference between rbinom and sample I'm trying to model a Roulette game where if you bet on red (out of red(18/37), black(18/37), green(1/37)) and if you the ball lands on red you win 1 dollar and if it doesn't you lose $1. So in this case, is it a binomial distribution? Since there are only 2 outcomes from the gamblers perspective, red or not red. If thats the case are these 2 R functions the same? set.seed(3) sample(c(0,1),100,replace=T,prob=c(19/37,18/37)) rbinom(n = 100, size = 1, prob = 18/37)",
"I would like to install chat platform on my Ubuntu 12.04 LTS system. Please, could anyone provide me the steps to successfully install this software?. I've been trying to install this software using wine but I couldn't succeed it.",
"I recently installed the apache2 package using the Software Centre, I want to create an alias apacheres which will replace the more cumbersome command /etc/init.d/apache2 restart. I opened the .bashrc file in my home directory, and it contains the following lines: # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi So I created a .bash_aliases file in my home directory, and added only this line: alias apacheres ='/etc/init.d/apache2 restart' When I started my terminal, I get this error message: bash: alias: apacheres: not found bash: alias: =/etc/init.d/apache2 restart: not found The shell has obviously read the file, otherwise it wouldn't know of its existence. I have checked the directory path and I can find the file apache2 there. What do I need to do to make this alias work?",
"What’s the rule for adding “-er” vs. “-or” when forming an agent noun from a verb? What’s the rule to decide whether you add -er or whether you add -or when creating an agent noun from a verb? Sometimes it’s -er: read > reader hate > hater hit > hitter But other times it’s -or: meditate > meditator collect > collector",
"Say I have two strings, String s1 = \"AbBaCca\"; String s2 = \"bac\"; I want to perform a check returning that s2 is contained within s1. I can do this with: return s1.contains(s2); I am pretty sure that contains() is case sensitive, however I can't determine this for sure from reading the documentation. If it is then I suppose my best method would be something like: return s1.toLowerCase().contains(s2.toLowerCase()); All this aside, is there another (possibly better) way to accomplish this without caring about case-sensitivity?",
"How to prove that exponential grows faster than polynomial?",
"The habitual past \"would\" versus \"simple past\" tense One can use the habitual past 'would' to describe past events. For example one could say, Jim would spend weekends at the farm. He would cut weed and water the plants. One can also use the simple past. Jim spent weekends at the farm. He cut weed and watered the plants. Would the use of habitual past be considered \"weak\" writing or prose, as opposed to the simple past? How does the simple past in the following sentence \"He would cut weed and water the plants.\" without any preceding time expression e.g. \"spend weekends\" make a distinction between a repeated action/habit and a one-time action of cutting weeds and watering plants?"
] | medi_sts_stackexchange_dupe |
positioning google map stays in top left corner | Google map only loading half of itself | [
"Why is King Tommen Baratheon the \"First of his Name\" rather than at least third?",
"Yes, I know the topic has been discussed before. I know that Meta already has threads that complain about how flagging doesn't work. I wanted to give a practical example. Today, a came in to the chat and asked the : Hey guys, as soon as I embed javascript, all my html elements are gone. Even if the script is empty!? ...Can anyone help out? The example is really minimalistic <script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"/> <script type='text/javascript' src="script.js"/> These lines make everything vanish. script.js is empty! I use google chrome and the file is on localhost Some context: The JS room encourages people to come and ask questions that are too small/badly put for main. The room encourages people to just ask questions rather than ask to ask. In fact we even have a bot that prompts users to just ask if they have a question whenever they join. The above user has a good Q to A ratio having 1K rep in the main site and over 80 answers. The user has no negative context in the chat. No previous offenses or anything like that. That message got 7 flags Had a mod (ThiefMaster) not been present and invalidated those flags in time that user would have probably been suspended from the chat. This is bad, it sends the wrong message and it is very rude. Now, some other rooms don't allow people to just come and ask questions right away so maybe users from other rooms validated the flag. Maybe users thought he was being rude? I don't know. I do know that we don't want this sort of negative atmosphere in the JS room (and I'm sure other useful rooms such as PHP don't want it either), we have enough on our hands trying to maintain a community while helping people joining and handing with vamps/trolls. Possible solutions: Drop spam/offensive flags altogether. Make spam/offensive flags room specific for big enough (tm) rooms. Give room owners just the ability to invalidate spam/offensive flags.",
"Pagination returns 404 after page 20 I got a paged loop that pulls in 4 posts per page from custom post type. It works great, with the only downside that the pagination wont go over the page/20 everything after that is 404, and the posts_nav_link won't show the next arrow at all. Like the pages just aren't there. In total there are 119 published posts in the custom post type. If I change posts_per_page to, say 6, then I get access to more of the posts from the end, but it also stops at the page/20. On the production site the pagination stops at 21, I guess because the live database has more entries. I got the \"Blog pages show at most\" setting set to 6. Here's the loop I'm using: <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args = array( 'posts_per_page' => 4, 'orderby' => 'modified', 'post_type' => \"projekte\", 'paged' => $paged ); $custom_query = new WP_Query($args); $c = 0; while($custom_query->have_posts()) : $custom_query->the_post(); ?> <article>...</article> <?php endwhile; wp_reset_postdata(); // reset the query ?> I've gone through the functions.php a million times looking for a some limiting get_pre_posts filter but there's nothing I can see. I also got an error log setup and nothing is returned there, I've tested it that it works. Any suggestions?",
"Well, just another idea came up into my mind and i have no idea how to solve it :D Is there infinitely many prime numbers, which are not repunits and their inverse is also prime? (For example, inverse of 31 is 13 which is also prime. i didn't have any other name to describe the function!) P.S:I now know they are called s.",
"How to find the URLs accessed by iOS Apps?",
"The list view of Nautilus 3.6 shows the dates files were modified in a variety of ways: the hour and minute if modified on the current day, and the month and day if modified during the current year, and the year tacked on if modified during a previous year. I would like to see the entire date and time consistently on all the files (e.g.: Sat 20 Apr 2012 01:28:34 PM EDT). I had this set up before, but I can't figure out how to do so with version 3.6. I did find this question, but the answers no longer apply to Nautilus 3.6: How can I do so in Nautilus 3.6+?",
"I would like to ask a question about Java that doesn't have a specific answer. It's a question to see what people think and to share their opinion. Will Stack Overflow tolerate this, or is there another Stack Exchange resource where I may ask a question like this?",
"Styling border to match fill in QGIS? In the past I have just manually matched the color of the border to the color of the fill, but this can be time consuming. I am wondering, is there any way to have the program automatically match the border color to that of the fill? The fill color is being assigned through the styling tab in layer properties. Using QGIS 2.8.6",
"Twist shifter cannot shift down – what might be the cause? My son's bike is stuck on 7. When we try to shift down to 1, there are no clicks. It just shoots right back to 7. This is a dial/twist/grip shifter, not a trigger shifter. I do not think it has anything to do with the derailleur, but want to confirm.",
"Are \"pushforward\" and \"pullback by zero section\" of diffrentials isomorphic in elliptic curves? Let S be a scheme, $p:E\\rightarrow S$ be an elliptic curve with zero section $e:S\\rightarrow E$. My question is: Are $p_*(\\Omega_{E/S}^1)$ and $e^*(\\Omega_{E/S}^1)$ isomorphic? I think it's right because I saw both definitions in different notes and they seem to represent the same thing. Thank you!",
"How can it be that the beginning universe had a high temperature and a low entropy at the same time? The Big Bang theory assumes that our universe started from a very/infinitely dense and extremely/infinitely hot state. But on the other side, it is often claimed that our universe must have been started in a state with very low or even zero entropy. Now the third law of thermodynamic states that if the entropy of a system approaches a minimum, it's temperature approaches absolut zero. So how can it be that the beginning universe had a high temperature and a low entropy at the same time? Wouldn't such a state be in contradiction to the third law of thermodynamics?",
"Take the following class as an example: class Sometype { int someValue; public Sometype(int someValue) { this.someValue = someValue; } } I then want to create an instance of this type using reflection: Type t = typeof(Sometype); object o = Activator.CreateInstance(t); Normally this will work, however because SomeType has not defined a parameterless constructor, the call to Activator.CreateInstance will throw an exception of type MissingMethodException with the message \"No parameterless constructor defined for this object.\" Is there an alternative way to still create an instance of this type? It'd be kinda sucky to add parameterless constructors to all my classes.",
"How to gracefully handle files that exceed PHP's `post_max_size`?",
"I need to show that for prime numbers of the form $p=4n+1$, $x=(2n)!$ solves the congruence $x^2 \\equiv-1\\pmod p$. I then need to show this implies p isn't a gaussian prime. I have started to solve this using Wilson's theorem that a number $z$ is prime iff $(z-1)!\\equiv-1\\pmod z$. Therefore the endpoint of my proof should be that $(p-1)!\\equiv-1\\pmod p$. As $p$ is of the form $p=4n+1$, I only need to prove that $4n!$ is congruent to $-1$ modulo $p$. Here is my working so far: Starting with the congruence $x^2 \\equiv -1\\pmod p$: $$\\eqalign{x^2 = -1\\pmod p&\\implies x^2 + 1 = kp \\implies (x-i)(x+i) = kp\\cr &\\implies ((2n)!-i)((2n!)+i))=kp \\implies 4n!- 1 =kp\\cr}$$ This is where I start to run out of any ideas that seem to get me anywhere. Any tips would be greatly appreciated!",
"What's the fastest way to make money online? Everything in the online world is expensive, well the best things are. We all want the luxurious apartment with 10 cars garage and the best weapons but to achieve that, we need money. Which missions or activities give the most cash ?",
"How to check if a point is inside a rectangle? There is a point $(x,y)$, and a rectangle $a(x_1,y_1),b(x_2,y_2),c(x_3,y_3),d(x_4,y_4)$, how can one check if the point inside the rectangle?",
"Expectation of a function of a random variable from CDF Is it possible to calculate the expectation of a function of a random variable with only the the r.v.'s CDF? Say I have a function $g(x)$ that has the property $\\int_{-\\infty}^{\\infty}g(x)dx \\leq \\infty $ and the only information I have about the random variable is the CDF. For example, I have a scenario where there are three timers that can be modeled as exponential random variables $X_1,X_2,X_3$ with rate parameters $\\lambda_1,\\lambda_2,\\lambda_3$ respectively. For each moment in time I earn a reward according to some reward function $g(x)$. That is, my reward for waiting until time $t$ can be written as $\\int_0^tg(x)dx$. However, $g(x)$ experiences diminishing returns so the the marginal reward received from waiting one second at $t=0$ is greater than one second at say $t=27$. This 'game' ends when one of two things happens. Either both timers $X_1$ or $X_2$ must ring or timers $X_1$ or $X_3$ must ring. I'm trying to find the expected reward of playing this game. Currently I can calculate the the CDF of the random variable modeling the time until the game ends, but I dont know how to use this information to when what I really need is reward associated with this time. So far I have the additional random variables: $$ W_{12}=\\max(X_1,X_2) \\quad W_{13}=\\max(X_1,X_3) \\quad Z=\\min(W_{12},W_{13})$$ Also let $F_i(x), i\\in \\{1,2,3\\}$ denote the CDF of $X_i$ The CDF of $Z$, can be written as: $$F_Z(t) = F_1(t)F_2(t) + F_1(t)F_3(t) - F_1(t)F_2(t)F_3(t)$$ I know when a random variable takes on non-negative values, you can use a shortcut to calculate the expectation using the CDF. That is, $E[X] = \\int_0^\\infty F(X\\geq x)dx$. Is there something similar I could use for a function of a random variable, or is it necessary to compute the pdf of $Z$ first to compute $\\int_0^\\infty g(t)f_z(t)dx$",
"Maximum number of files being uploaded by input type file",
"Help with packages in java - import does not work",
"How to enable MySQL client auto re-connect with MySQLdb? I came across PHP way of doing the trick: my_bool reconnect = 1; mysql_options(&mysql, MYSQL_OPT_RECONNECT, &reconnect); but no luck with MySQLdb (python-mysql). Can anybody please give a clue? Thanks."
] | medi_sts_stackexchange_dupe |
Put correct answer in the question or edit the accepted answer? | Where should I post my sum-up of the answers, as the OP? | [
"Beamer: Change only several bullets in the list I would like to change the bullets in the second itemize to arrows. \\begin{alertblock}{The Aim of this Research} \\begin{itemize} \\item Item 1 \\item Item 2 \\begin{itemize} \\item Item 2-1 \\item Item 2-2 \\end{itemize} \\end{itemize} \\end{alertblock} Form above, I would like to make: ・Item 1 ・Item 2 => Item 2-1 (change bullet to arrow) => Item 2-2 I've tried inserting \\renewcommand{\\labelitemii}{$\\rightarrow$} before and after the second \\begin{itemize} and , but they don't work.",
"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.",
"Does anybody know where to download the QGIS toolbar icons?",
"BeanFactory vs ApplicationContext I'm pretty new to the Spring Framework, I've been playing around with it and putting a few samples apps together for the purposes of evaluating Spring MVC for use in an upcoming company project. So far I really like what I see in Spring MVC, seems very easy to use and encourages you to write classes that are very unit test-friendly. Just as an exercise, I'm writing a main method for one of my sample/test projects. One thing I'm unclear about is the exact differences between BeanFactory and ApplicationContext - which is appropriate to use in which conditions? I understand that ApplicationContext extends BeanFactory, but if I'm just writing a simple main method, do I need the extra functionality that ApplicationContext provides? And just exactly what kind of extra functionality does ApplicationContext provide? In addition to answering \"which should I use in a main() method\", are there any standards or guidelines as far as which implementation I should use in such a scenario? Should my main() method be written to depend on the bean/application configuration to be in XML format - is that a safe assumption, or am I locking the user into something specific? And does this answer change in a web environment - if any of my classes needed to be aware of Spring, are they more likely to need ApplicationContext? Thanks for any help. I know a lot of these questions are probably answered in the reference manual, but I'm having a hard time finding a clear breakdown of these two interfaces and the pros/cons of each without reading thru the manual with a fine-tooth comb.",
"How to minimize residual sum of squares of an exponential fit? I have the following data and would like to fit a negative exponential growth model to it: Days <- c( 1,5,12,16,22,27,36,43) Emissions <- c( 936.76, 1458.68, 1787.23, 1840.04, 1928.97, 1963.63, 1965.37, 1985.71) plot(Days, Emissions) fit <- nls(Emissions ~ a* (1-exp(-b*Days)), start = list(a = 2000, b = 0.55)) curve((y = 1882 * (1 - exp(-0.5108*x))), from = 0, to =45, add = T, col = \"green\", lwd = 4) The code is working and a fitting line is plotted. However, the fit is visually not ideal, and the residual sum of squares seems to be quite huge (147073). How can we improve our fit? Does the data allow a better fit at all? We could not find a solution to this challenge on the net. Any direct help or linkage to other websites/posts is greatly appreciated.",
"Simplifying and evaluating $\\cot 70^\\circ+4\\cos 70^\\circ$ I have to simplify and evaluate this : $$\\cot 70^\\circ+4\\cos 70^\\circ$$ On evaluating it, the answer comes out to be $1.732$, or $\\sqrt 3$ . I tried to get everything in $\\sin$ and $\\cos$, but it doesn't go any further. Any hints?",
"When running 'screen ls' the screen stops with the text [screen is terminating]. I would like screen to keep the session alive and reattach to it to see the output of ls. Of course the real thing is that I don't run screen ls, but rather a screen fsck ..., so I would like to ensure that the screen is not terminating when this command is finished. I would love to have an answer that is useful for an already existing running screen session, so some interactive keys like C-a ... or C-a : (Enter command line mode)",
"My actual question is to find the number of transversal given a collection of set ... After a little bit of study it has come down to: How can we count the number of matchings in a bipartite graph with parts of size $m$ and $n$ such that it covers all $m$ vertices of the first part, $m \\le n$? I already know that there is a way to count the number of perfect matchings in a bipartite graph with $m=n$ using the permanent of its (square) incidence matrix.",
"Virtual Host not working as expected when I'm using .dev domain extension I'm doing a Laravel project and I need to set up a virtual host example.dev in my system. For that I've created a copy of 000-default.conf and named it as example.dev.conf and placed in /etc/apache2/sites-available. The contents of the file is given below (comments removed): <VirtualHost *:80> <Directory /var/www/html/example/public/> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> ServerName example.dev ServerAlias www.example.dev ServerAdmin [email protected] DocumentRoot /var/www/html/example/public ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Then I've enabled the site using a2ensite command and disabled 000-default.conf using a2dissite command. Then it will open my project when I try localhost (/var/www/html) in my browser and not example.dev. The virtual host example.dev always produce \"The site can't be reached\" error in browsers. Any suggestions?",
"Why doesn't the Related question list show that questions are closed? I saw a question on Meta that was obviously going to be a duplicate: And indeed, looking at the \"Related\" questions list for that question showed a number of duplicates: Being the good citizen I am, I tried to vote to close (technically Flag as duplicate as I've not got the rep here to vote to close) it as an Exact Duplicate only to find myself falling into a rabbit hole of Closed, Duplicate questions. Is there any way to flag a closed question as such in the Related list? Mostly because the first one I picked was closed as a duplicate of the second one, which was closed as a duplicate of the one that is now listed as the duplicate/linked answer. Edit to respond to comment: I take the point about \"not voting to close on title alone\", and normally wouldn't, however as the questions had identical titles, and it's pretty clear what they should be asking, I clicked the first one: which lead to: which leads to: - but I'd got bored following links and didn't check that one as the first two were identical, so assumed this was too and didn't want to see how deep the rabbit hole led. In the related list, there's only one other question in there that is an exact duplicate, but hasn't (currently) been closed as such which is: Reasoning for highlighting closed questions: The \"Questions with similar titles\" does display the closed titles when asking the question, so it should be fairly possible to include. If there are clearly duplicate titles, then as a reader/reviewer would be helpful to know which ones are already closed as duplicates so you can either: Use the remaining open questions to focus on which of those is the canonical answer to close this with. Use the closed questions to find the canonical answer (which failed for me with my route of clicks).",
"Adding values to a C# array",
"How can I delete an email address from Outlook's email history?",
"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?.",
"Back-transformation of regression coefficients I'm doing a linear regression with a transformed dependent variable. The following transformation was done so that the assumption of normality of residuals would hold. The untransformed dependant variable was negatively skewed, and the following transform made it close to normal: $$Y=\\sqrt{50-Y_{orig}}$$ where $Y_{orig}$ is the dependent variable on the original scale. I think it makes sense to use some transformation on the $\\beta$ coefficients to work our way back to the original scale. Using the following regression equation, $$Y=\\sqrt{50-Y_{orig}}=\\alpha+\\beta \\cdot X$$ and by fixing $X=0$, we have $$\\alpha=\\sqrt{50-Y_{orig}}=\\sqrt{50-\\alpha_{orig}}$$ And finally, $$\\alpha_{orig}=50-\\alpha^2$$ Using the same logic, I found $$\\beta_{orig}=\\alpha\\space(\\alpha-2\\beta)+\\beta^2+\\alpha_{orig}-50$$ Now things work very well for a model with 1 or 2 predictors; the back-transformed coefficients resemble the original ones, only now I can trust the standard errors. The problem comes when including an interaction term, such as $$Y=\\alpha+X_1\\beta_{X_1}+X_2\\beta_{X_2}+X_1X_2\\beta_{X_1X_2}$$ Then the back-transformation for the $\\beta$s are not so close to the ones from the original scale, and I'm not sure why that happens. I'm also unsure if the formula found for back-transforming a beta coefficient is usable as is for the 3rd $\\beta$ (for the interaction term). Before going into crazy algebra, I thought I'd ask for advice...",
"What is the difference between center of mass and center of gravity? What is the difference between and ? These terms seem to be used interchangeably. Is there a difference between them for non-moving object on Earth, or moving objects for that matter?",
"Handling jQuery Component Collision In plugin development, what is the best practice to prevent jQuery component collision on the front end? For instance, let's say I include the jQuery Apprise dialog in a plugin that loads this on the front-end for something, yet another plugin may do the same. Because this gets loaded and declared twice, or perhaps one is forked and customized while mine is not, we get Javascript errors on the frontend (I assume). (Note that I'm doing the best practice of using the wp_register_script() and wp_enqueue_script() strategy via a wp_head() action event in order to load a jQuery component on the frontend.)",
"What are the prerequisites to studying general relativity? This question recently appeared : Slashdot posts a fair number of physics stories. Many of us, myself included, don't have the background to understand them. So I'd like to ask the Slashdot math/physics community to construct a curriculum that gets me, an average college grad with two semesters of chemistry, one of calculus, and maybe 2-3 applied statistics courses, all the way to understanding the mathematics of general relativity. What would I need to learn, in what order, and what texts should I use? Before I get killed here, I know this isn't a weekend project, but it seems like it could be fun to do in my spare time for the next ... decade. It seems like something that would be a good addition to this site: I think it's specific enough to be answerable but still generally useful. The textbook aspect is covered pretty well by , but beyond that: What college-level subjects in physics and math are prerequisites to studying general relativity in mathematical detail?",
"What is the difference between re.search and re.match? What is the difference between the search() and match() functions in the ? I've read the (), but I never seem to remember it. I keep having to look it up and re-learn it. I'm hoping that someone will answer it clearly with examples so that (perhaps) it will stick in my head. Or at least I'll have a better place to return with my question and it will take less time to re-learn it.",
"Academic rank equivalence between the UK and the US systems",
"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."
] | medi_sts_stackexchange_dupe |
UISearchBar: clear background color or set background image | How to change inside background color of UISearchBar component on iOS | [
"Creating Workflow -> Error When I try to create a new WF in my Sharepoint Designer I get following error: The list of workflow actions on the server references an assembly that does not exist. Some actions will not be avaliable. The assembly strong name is \"Microsoft.SharePoint.WorkFlowActions, Version=14.0.0.0,Cultureneutral,PublickeyToke= Does any on know how to fix this problem?",
"Let $A,B \\subset \\mathbb{R}$. Show that $\\sup(A \\cup B) = \\max\\{\\sup A, \\sup B\\}$",
"Ubuntu Detects 2 monitors when I only have one",
"How to know current name of the database in Django?",
"How do comment @replies work?",
"I know how to solve \"simple\" recurrence relations. For instance, say you have: $$c_0 = 20$$ $$c_1 = 30$$ $$c_n = 3 c_{n-1} - 2 c_{n-2}$$ We can write the characteristic equation as: $$3x^{n-1} - 2x^{n-2} = x^n$$ Solving this with $n=2$, we get $x = 1$ or $x = 2$. This lets us write the relation $c_n = \\alpha_1 1^n + \\alpha_2 2^n$, and we can solve for $\\alpha_1$ and $\\alpha_2$ with the initial states $c_0$ and $c_1$. However, this depends on the fact that $3x^{n-1} - 2x^{n-2} = x^n$ has two roots. Now, I'm stuck on another problem where the characteristic equation has fewer roots than terms. Say I have this recurrence relation instead: $$a_0 = 0$$ $$a_1 = 2$$ $$a_2 = −1$$ $$a_n = 9a_{n-1} - 15a_{n-2} - 25a_{n-3}$$ The characteristic equation would be: $$9x^{n-1} - 15x^{n-2} - 25x^{n-3} = x^n$$ However, solving with $n=3$, we only get two roots: $x=-1$ or $x=5$. There are not enough roots to write a relation in the form of $a_n = \\alpha_1 r_1^n + \\alpha_2r_2^n + \\alpha_3r_3^n$. How do I proceed?",
"How do i test capacitors? I've just gotten through replacing capacitors on a trio of dead LCD screens (nothing's blown up yet, so far) - they either had one or two capacitors on their inverter circuit SLIGHTLY bloated, and not quite leaky. I ended up replacing all capacitors of the same brand/'colour', even the ones that looked fine, in case. Now, checking a bad resistor is simple - i can use a standard multimeter to test it, and i tend to check my solders with the continuity testing option of the multimeter. How would i test a capacitor ? Is there some standard, common way to test one?",
"I'm looking for a specific scifi book that I read years ago, I only partially remember the story, and I don't remember the author or the title. What I remember of the story is: An alien race picks up a signal from humans that includes instructions on how to make their own humans (genetic instructions). The humans grow up knowing they are created and are taught by the alien race. They are eventually given resources to build a ship, and go looking for their origins. They eventually find the solar system, but nobody answers. They find some stations orbiting earth and find that the station is very old, so old in fact that humans have long been extinct and other creatures have reached local space, and have been looking around the station as an archeological dig. I think they refer to two developed races from earth, but one developed from rats. If anyone know what story this is, and can point me at it, its been driving me crazy for at least 15 years, and I think it's actually been much longer, since I can't remember when I read it.",
"Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])",
"How many numbers of 6 digits, that can be formed with digits 2,3,9. And also divided by 3? How many numbers of 6 digits, that can be formed with digits 2,3,9. And also divided by 3? $$$$ I was trying to to add 2^6 (when there is no 2)+ C(6,2)2^2 (when 2 can be in two places)+C(6,3)2^3 (when 2 can be in three places)...",
"Solving infinite sums with primes. Let $p_n$ denote the $n$'th prime number. How would one go about proving that infinite products like: $$\\prod_{k=1}^\\infty1 - \\frac{1}{(p_k)^2} = \\frac{6}{\\pi^2}$$ or $$\\prod_{k=1}^\\infty\\frac{{p_k}^2}{{p_k}^2 - 1} = \\frac{\\pi^2}{6}$$ are correct? Is there any way to prove it except by exhaustion?",
"Why are badges on per-site-metas separate? Badges earned on per-site meta sites are separate from the main site, but reputation is carried over from the main site (because you don't earn any on Meta). I perfectly understand keeping the rep the way it is (meta votes are too subjective to integrate them with rep) but the badge split seems odd to me. Multiple badges are in fact impossible on Meta; Mortarboard, Bounty related badges. In addition badges in general are much harder to earn due to the lower amount of users and content; badges like Great Answer are nearly impossible. As a result of this, most users on Meta end up with the easy 5-10 bronze badges for basic participation on Meta and not much else; stuff like Supporter and Critic that are hard not to get. I understand the want to drive more people to meta, so perhaps badges are separate to institute a reward system; however this doesn't seem to work well since Meta badges (mostly) don't appear on the main site. This in combination of the 0 rep gain makes Meta feel almost not real. It also makes part of your progress (badges) on the main site invisible on Meta, and vise versa. IMO the badges should be the same on both Meta and main site, but more Meta-oriented badges should be added to encourage use of Meta. This way Meta badges feel \"real\" instead of \"Meta\". Is there an official reason for per site metas having separate badges?",
"Does Hard reboot damage my Ubuntu",
"Create instance of generic type in Java? Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing: class SomeContainer<E> { E createContents() { return what??? } } EDIT: It turns out that could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated. I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's .",
"Fill the area determined by two pgfplots graphs I need to fill the region determined by two (Gaussian) curves and the right red line (the region is brushed in green in the figure below). I also wonder what is the best way to draw vertical line which goes through the intersection of both graphs (the left red line on the figure). Any pointers would be greatly appreciated. My initial attemt is pasted below. \\documentclass{standalone} \\usepackage{pgfplots} \\begin{document} \\pgfmathdeclarefunction{dnorm}{2}{% \\pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% } \\begin{tikzpicture} \\begin{axis}[domain=0:12, samples=100, height=5cm, width=10cm] % Fill aread under the curves \\addplot [fill=red!20, draw=none, domain=0:6] {dnorm(6.5,1.5)} \\closedcycle; \\addplot [fill=blue!20, draw=none, domain=6:10] {dnorm(4,1)} \\closedcycle; % Draw curves \\addplot [thick] {dnorm(4,1)}; \\addplot [thick] {dnorm(6.5,1.5)}; \\end{axis} \\end{tikzpicture} \\end{document} My solution A picture is worth a thousand words. Code is pasted below. \\documentclass{article} \\usepackage{tkz-fct} \\usetikzlibrary{intersections} \\begin{document} \\tikzset{ name plot/.style={every path/.style={name path global=#1}} } % Extract coordinates for point X \\makeatletter \\newcommand{\\gettikzxy}[3]{% \\tikz@scan@one@point\\pgfutil@firstofone#1\\relax \\edef#2{\\the\\pgf@x}% \\edef#3{\\the\\pgf@y}% } \\makeatother % Dimlines \\def\\Dimline[#1][#2][#3][#4]{ \\begin{scope}[thin, >=stealth'] % redefine as flechas \\draw let \\p1=#1, \\p2=#2, \\n0={veclen(\\x2-\\x1,\\y2-\\y1)} in [|<->|, decoration={markings,mark=at position .5 with {\\node[#3] at (0,0) {#4};}, }, postaction=decorate] #1 -- #2 ; \\end{scope} } \\begin{tikzpicture}[scale=1,font=\\small] \\tkzInit[xmin=0,xmax=12,ymin=0,ymax=.3,ystep=.05] % Draw coordinates \\draw[>=stealth', <->] (0,6) node[above] {$y$} -- (0,0) -- (12.5,0) node[right] {$x$}; % Draw functions and areas \\tkzFct[name plot=A,thick,color=red,domain=0:12]{1/(1.5*sqrt(2*pi))*exp(-((x-4.5)**2)/(2*1.5**1))} \\tkzDrawArea[opacity=.3,color=blue,domain = 7:12] \\tkzFct[name plot=B,thick,color=blue,domain=0:12]{1/(2*sqrt(2*pi))*exp(-((x-7)**2)/(2*2**1))} \\tkzDrawArea[opacity=.3,color=red,domain=0:7] \\tkzDrawAreafg[between=b and a,opacity=.3,color=green,domain = 0:7] % Intersection between curves \\path [name intersections={of=A and B,by=C}]; % Extract coordinates of C \\gettikzxy{(C)}{\\cx}{\\cy} % Vertical lines \\draw [thick,dashed, black] (\\cx,0) -- (\\cx,5.5) node [above] {$x_{0}$}; \\draw [thick,dashed, black] (7,0) -- (7,5.5) node [above] {$\\hat{x}$}; % Define regions \\Dimline[($(0,0)+(0,-.6)$)][($(7,0)+(0,-.6)$)][above,black][$\\mathcal{R}_{1}$]; \\Dimline[($(7,0)+(0,-.6)$)][($(12,0)+(0,-.6)$)][above, black][$\\mathcal{R}_{2}$]; \\end{tikzpicture} \\end{document}",
"Why is my query suddenly slower than it was yesterday? [Salutations] (check one) [ ] Well trained professional, [ ] Casual reader, [ ] Hapless wanderer, I have a (check all that apply) [ ] query [ ] stored procedure [ ] database thing maybe that was running fine (if applicable) [ ] yesterday [ ] in recent memory [ ] at some point but is suddenly slower now. I've already checked to make sure it's not being blocked, and that it's not the victim of some long running maintenance task, report, or other out of band process. What is the problem, what should I do, and what information can I provide to get some help? [*Insert appropriate closing remarks*]",
"Pattern in Isomorphisms between $\\mathbb Z_m \\times \\mathbb Z_n$ and $\\mathbb Z_{mn}$",
"Reasons not to use a 741 op-amp?",
"Someone who just thinks they know what they're talking about",
"QGIS Processing - Additional Creation Parameter for GdalWarp I am having a hard time getting the \"Additional Creation Parameters\" to work when using GdalWarp through the processing toolbox. I am trying to set the nodata value to 0 for the output raster. processing.runalg(\"gdalogr:warpreproject\",\"InRaster.tif\",\"EPSG:32736\",\"EPSG:32736\",10,0,\"-dstnodata 0\",\"OutRaster.tif\") Has anyone used this functionality and managed to get it to work?"
] | medi_sts_stackexchange_dupe |
How to Recover Lost Website/ blog data with no backup? | Recovering a lost website with no backup? | [
"How do I show that $\\sum_{cyc} \\frac {a^6}{b^2 + c^2} \\ge \\frac {abc(a + b + c)}2?$ Let $a, b, c$ be positive real numbers, show that $$\\frac {a^6}{b^2 + c^2} + \\frac {b^6}{c^2 + a^2} + \\frac {c^6}{a^2 + b^2} \\ge \\frac {abc(a + b + c)}2.$$ I think this is likely to turn out to be proved by Hölder, but I can't see how. Any hints will be appreciated.",
"What happens when a moderator clicks 'leave open' in the close-vote queue? It takes clicking \"leave open\" in the close-vote queue to remove the question from the queue. How about diamond mods? Do they remove it from the queue in one click, or not?",
"Trace of a commutator is zero - but what about the commutator of $x$ and $p$? Operators can be cyclically interchanged inside a trace: $${\\rm Tr} (AB)~=~{\\rm Tr} (BA).$$ This means the trace of a commutator of any two operators is zero: $${\\rm Tr} ([A,B])~=~0.$$ But what about the commutator of the position and momentum operators for a quantum particle? On the one hand: $${\\rm Tr}([x,p])~=~0,$$ while on the other hand: $$[x,p]~=~i\\hbar.$$ How does this work out?",
"What term refers to those who adhere to scientism?",
"The \"Select your next badge\" dialog box is not displaying correctly. It looks like this: Freehand circles, as requested: It seems to be an issue with box-sizing, because when it's content-box, it looks fine. I think the width and height rules for .popup-badges .all-badge-progress .badge-progress should be increased a little, for example: .popup-badges .all-badge-progress .badge-progress { width: 214px; height: 96px; } Tested on the latest Chrome and Firefox on Linux Mint.",
"Is there a criterion to differentiate \"thriller\" from \"horror\"?",
"Which groups have precisely two automorphisms Which groups $G$ have precisely two automorphisms, i.e., precisely one non-trivial automorphism? Examples: $G= C_3, \\mathbf{Z},\\ldots$. I think $G$ has to be abelian. In fact, we have $ \\vert G\\vert \\geq 3$. Therefore, if $G$ is not abelian, we have at least two non-trivial inner automorphisms. If we can show that $G$ is cyclic the above examples are all of them.",
"Is it possible to insert multiple records in Salesforce using cURL at the same time?",
"\"the better\" vs \"the best\" of two players",
"Can a character escape the (DMG p. 177, listed in the SRD as the ) with the spell? To clarify, I am not asking if the bands prevent teleportation. I am asking whether the bands are teleported with the character as he teleports using misty step.",
"Folland, \"Real Analysis\", Chapter 5.3, Exercise 36. Folland, \"Real Analysis\", Chapter 5.3, Exercise 36: Let $\\mathcal{X}$ be a separable Banach space and let $\\mu$ be counting measure on $\\mathbf{N}$. Suppose that $\\left\\{x_n\\right\\}_1^\\infty$ is a countable dense subset of the unit ball of $\\mathcal{X}$, and define $T \\colon L^1(\\mu) \\to \\mathcal{X}$ by $Tf = \\sum_1^\\infty f(n) x_n$. (a) $T$ is bounded. (b) $T$ is surjective. I have proved (a). I would like help on (b). Here are my ideas so far. Say we want to show $y \\in \\mathcal{X}$ is in the image of $T$. Reduce to the case $||y|| = 1$ and let $x_{n_m} \\to y$. My thought is to produce for each $N$ a function $f_N \\in L^1(\\mu)$ such that $||y - \\sum_n^\\infty f(n)x_n|| < 1/N$ and also such that the $f_N$ converge in $L^1(\\mu)$ to some $f \\in L^1(\\mu)$. Then use the continuity of $T$ to conclude $T(f) = y$. The way I have been setting up my inequalities is as follows. Pick $M_N$ such that for all $m > M_N$, $||y - x_{n_m}|| < 1/N$. Then I want to define $f_N$ so that $$\\sum_n^\\infty f_N(n) = \\sum_{m > M_N}^\\infty f_N(m) = 1, $$ hence $$||y - T(f_N)|| = ||\\sum_{m > M_N}^\\infty f_N(m) y + \\sum_n^\\infty f_N(n)x_n|| \\leq \\sum_{m > M_N}^\\infty f_N(m) || y - x_{n_m} || < \\frac{1}{N}. $$ Presumably, if the $f_N$ are appropriately chosen, then I can find a dominating function and apply the Dominated Convergence Theorem to finish up. However, getting all these hypotheses to hold simultaneously has been difficult. In essence, the difficulty seems to be in requiring that the $f_N$ be \"normalized\" as well as possess a dominating function. If this method is feasible, at least it seems to require a bit of analysis to show the desired series all converge. Perhaps I am missing something cleaner. If so, a simpler solution would be much appreciated. -Thanks.",
"Plotting a 3d surface in tikz, with a limit to the infinity",
"According to this question: entire ruSO site shouldn't become hot. But I just saw the following while searching MSE: Direct link to the question on ruSO: Perhaps the HNQ filter works on question title (in the current case there are no non-Latin symbols) instead of site origin. Hence, according to the post mentioned before this behaviour should be interpreted as a bug. However, I suggest to fix such \"bug\" by taking another feature request in mind:",
"Equivalent conditions for a preabelian category to be abelian Let's fix some terminology first. A category $\\mathcal{C}$ is preabelian if: 1) $Hom_{\\mathcal{C}}(A,B)$ is an abelian group for every $A,B$ such that composition is biadditive, 2) $\\mathcal{C}$ has a zero object, 3) $\\mathcal{C}$ has binary products, 4) $\\mathcal{C}$ has kernels and cokernels. A category $\\mathcal{C}$ is abelian if it is preabelian and satisfies: 5) every monomorphism is a kernel and every epimorphism is a cokernel. Define the coimage of a map to be the cokernel of its kernel, and the image to be the kernel of its cokernel. We have the following commutative diagram: where $\\overline{f}$ is the only existing map (because of universality of kernel and cokernel). I'm having trouble proving the following: A preabelian category $\\mathcal{C}$ is abelian iff $\\overline{f}$ is an isomorphism. The converse is easily shown, I'm having trouble proving $\\Rightarrow$...",
"Debian : Verify disk encryption password for already mounted system I am working on our Debian server on which we have a Raid drive encrypted with 2 devices. I did this around 1.5 years back and have never rebooted since. Now, we want to reboot for some reasons, but I have to make sure that the password I have is the correct one, or we will be stuck. How can we verify the password for an encrypted-raid? Thank you. Raid details : mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creation Time : Thu Feb 11 14:43:40 2016 Raid Level : raid1 Array Size : 1953382336 (1862.89 GiB 2000.26 GB) Used Dev Size : 1953382336 (1862.89 GiB 2000.26 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Fri Mar 10 10:37:42 2017 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : HOSTNAME:0 (local to host HOSTNAME) UUID : 5c450558:44a2b1e9:83cb4361:9c74df8e Events : 49 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Thank you. Update dmsetup table --showkeys CryptVol: 0 Large_Number crypt aes-cbc-essiv:sha256 RANDOM_TEXT 0 253:0 4096 RaidVG-LVMVol: 0 Large_Number linear 9:0 2048",
"Ignore compile errors How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed and . However, if I save a document with a bug (either a legitimate bug, or I save it before closing a tag), then latexmk halts. Any suggests how I can have it pause, try again, and keep trying again, for ever and ever?",
"What blocks can Endermen pick up and what blocks they can't?",
"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.",
"How do I audit my reputation? If I am concerned that my reputation score is incorrect, how can I audit it, or get a report of a detailed breakdown of my reputation?",
"how to get full path from fileupload using Javascript"
] | medi_sts_stackexchange_dupe |
How to conditionally invoke a generic method with constraints? | How do I use reflection to call a generic method? | [
"How to check if file exists on FTP before FtpWebRequest",
"Close and flag links do nothing on mobile site This morning (it's about six AM here) I find that I can no longer submit close votes; the link just jumps to the beginning of the page. I'm on iOS, using a third-party browser called Grazing, but a brief check with Mobile Safari shows the same problem there. Here on Meta, where my score is much lower, I only get a \"delete\" link on my own question, and that works fine. (Oops :-)) Update: As per comments, this affects the \"flag\" link, too, which doesn't even scroll to the top of the page. Update 2: Latest comment suggests this affects Android, too. Update 3: This also affects desktop computers when viewing mobile (when you click \"mobile\" in the footer) Update 4: mentions Windows 8, too; simply deleting platform-specific tags",
"I mistakenly typed cd // instead of cd /. To my surprise, current directory showed up as //. What is that directory? Why does it exist? apple@snipped $ pwd /home/apple apple@snipped $ cd / apple@snipped $ pwd / apple@snipped $ cd // apple@snipped $ pwd // apple@snipped $ cd /// apple@snipped $ pwd /",
"When is it okay to exceed the absolute maximum rating on a part?",
"How to sort strings in JavaScript I have a list of objects I wish to sort based on a field attr of type string. I tried using - list.sort(function (a, b) { return a.attr - b.attr }) but found that - doesn't appear to work with strings in JavaScript. How can I sort a list of objects based on an attribute with type string?",
"Finding Sylow 2-subgroups of the dihedral group $D_n$ I am trying to describe the Sylow $2$-subgroups of an arbitrary dihedral group $D_n$ of order $2n$. In the case that $n$ is odd, $2$ is the highest power dividing $2n$, so that all Sylow $2$-subgroups have order $2$, and it is fairly easy to describe them. However, if $n$ isn't odd, we may factor a power of $2$ out and write $|D_n|=2^{k}m$ for some odd integer $m$. There is that there exist precisely $m$ Sylow $2$-subgroups, but it does not provide an explicit description of such subgroups in the case $n$ is odd. Additionally, someone has asked a similar question in the past, and they claim to give a description of the Sylow $2$-subroups in the case $n$ is odd, but I can not find a source or an explanation. The question is . Can anyone provide a description of how one may determine precisely the Sylow $2$-subgroups for the case $n$ is odd? Thank you.",
"Scaling in object and edit mode My question is: why do Object mode scaling and Edit mode scaling seem to be incompatible? I'm quite new to blender, so I may not know sth important about these modes. The actual case is: I create a cube, which is 2×2×2 metres in metric units by default (it's also shown under 'dimensions') Then, with the cube selected, I switch to Edit mode, and enable 'Edge info: Length' under 'Mesh display' And it shows the cube's measurements, which are 2m on each edge. Now I use the scale tool in Edit mode, making the edges 2.244m That's good so far. Changing back to Object mode, the changes can be seen under 'dimension' However, when I use the scale tool in Object mode, the scale and dimensions also change, but changing back to Edit mode, the measurements shown remain the same So the question is, why does the scale tool work differently and have different effects in Ojbect mode and Edit mode? Also, how can I enter the desired size of my cube manually to get an accurate result, without using the scale tool in Edit mode, and without changing the scale ratio in object mode?",
"Parameterize an SQL IN clause How do I parameterize a query containing an IN clause with a variable number of arguments, like this one? SELECT * FROM Tags WHERE Name IN ('ruby','rails','scruffy','rubyonrails') ORDER BY Count DESC In this query, the number of arguments could be anywhere from 1 to 5. I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some elegant way specific to , I am open to that.",
"Uninstall apps locked by phone vendor I'm using a Samsung I9000 and I have some annoying apps that came pre installed by the phone vendor, like a music store, a custom web browser and other memory leaking apps. Those crappy apps can't be uninstalled neither by Manage applications tool, nor by editing the apps tiles in the front menu. I guess I have to be a root user or something to get rid of those apps, but I don't know how.",
"Set horizontal width on custom listings environment I want to create a custom listings environment and want to set its width as something like 90% of textwidth, centred. Per an for algorithms, the first thing I tried was to embed the listing in a minipage environment. However, . I found a way to still make standard environment work, but it requires to use the escape command every time before ending the environment. The second thing I tried was this latter command, but as far as I can see, it doesn't offer a feature to set the width of the listing or centre it. \\documentclass{article} \\usepackage{listings} \\usepackage{lipsum} \\lstnewenvironment{queryl} %% APPROACH 1 {\\lstset{frame=shadowbox,escapechar=`}} {} \\newenvironment{query} %% APPROACH 2 {\\begin{minipage}{4cm}\\centering\\begin{queryl}} {\\end{queryl}\\end{minipage}} \\begin{document} %% APPROACH 1 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. \\begin{queryl} begin { do nothing } end ; \\end{queryl} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. %% APPROACH 2 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. \\begin{query} begin { do nothing } end ;`%<- needs escape-to-LaTeX character to work \\end{query} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. \\end{document} One can note that for the first environment, the frame extends beyond the width of the text. Also, puzzlingly the minipage environment doesn't seem to want to centre and swallows space (though I guess I could perhaps at least get that to work with tinkering). In any case, does anyone have any ideas on how to set a width for a custom listings environment and centre it without requiring use of the escape character each time to end the environment?",
"What are all the correct answers to the Squirrel's questions, and what is the reward when I get them all correct?",
"How do I set a background image while I am editing?",
"I remember after Stargate: Universe was cancelled, that I read, somewhere on the web, either part of an interview or an article by one of the producers about what they were planning if there had been a third season. (He said they weren't sure whether they'd set it soon after the ending of the second season, or later, or were going to do something else.) He also wrote that, while he felt okay discussing that, he did not feel like he could reveal how the story about the superstructure the Destiny had found would turn out. He said that was something the other two producers had worked out and he didn't want to reveal it and would leave it up to them to reveal it if they wanted to. Was this ever revealed? Did the other producers ever discuss or reveal anything about what was going to happen with that storyline? Addition: I'm referring to the superstructure that is the message found in the background radiation throughout the universe, not anything from the planet builders or other easily seen physical structures.",
"What's the standard \"roadmap\" to learning quantum physics? I'm really interested in quantum physics and would like to learn more. However, I don't know where to start and in what order I should learn things. So, ideally I'm looking for some sort of roadmap of what to learn. What physics topics do I need to know to start learning about quantum mechanics? (In addition to the mathematical topics mentioned at ) My current knowledge is mostly popular science stuff, like tv shows on Discovery Science and National Geographic Channel. So I have a basic understanding of some basic principals. There's also a recent lecture from Brian Cox that I have watched which gave a bit more in-depth information.",
"I have my bachelors degree in engineering science: computer science, option electrotechnic. I have a good understanding of basic mechanics and dynamics, calculus (differential equations). The books I'm now having a look at are: What book do you recommend for studying fluid dynamics on my own and why?",
"Let $R \\simeq S$ be isomorphic commutative rings with unity. Prove the following: a). If $R$ is an integral domain then $S$ is an integral domain. For this, I said that If I let $f: R \\to S$ be an isomorphism and $(R, + , \\circ), (S, \\oplus, \\ast)$, then let $x, y\\in R$, such that $x \\circ y = 0_R$, because $f$ is an isomorphism, $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$. If I let $R$ be an integral domain then, as per the definition $R$ is commutative, has unity, and no zero divisors. So $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$ where we have either $f(x \\circ y) = f(0_R) \\ast f(y) = f(0_R)$ or $f(x \\circ y) = f(x) \\ast f(0_R) = f(0_R)$. Since $f$ is an isomomorphism, let $s = f(x), t = f(y)| s,t \\in S$. Then $s \\ast t = f(0_R)$. By definition, $S$ also has unity so $0_S$ exists. If we map $0_R \\to 0_S$. Then either $s = 0_S$ or $t = 0_S$. So then, since $S$ has unity, is commutative, and has a no zero divisors as we showed above, it is also an Integral domain. I'm not sure I have this correctly. b). If $R$ is a field then $S$ is a field. I don't really understand how to do this one. Since $S$ is an integral domain, it has a $0_S$. So I need to show that $S$ distributes $\\ast$ over $\\oplus$. Any help with these is appreciated",
"How to solve \"permission denied\" when using sudo with redirection in Bash?",
"How did Jaqen H'ghar get caught? Following a recent 9gag post: Did Jaqen H'ghar end up in that cage because he knew that he would meet and \"recruit\" Arya, or was it some strange coincidence? Is it described somewhere in the books, or left unexplained?",
"Polynomial degree 3 Equation",
"Why is a normal subgroup of $G_1\\times G_2$ with trivial intersections with $G_1$ and $G_2$ is abelian? Let $G=G_1\\times G_2$ be a direct product, and let $H\\triangleleft G$ be a normal subgroup such that $H\\cap G_1=H\\cap G_2=\\{1\\}.$ Then $H$ is abelian. I considered the commutators of two elements in $H$, trying to show that it must be $1,$ but I don't see how this works. Any hint is very welcomed and appreciated. Thanks in advance."
] | medi_sts_stackexchange_dupe |
In QGis, why do parts of the OpenLayers layer export in a different scale and position? | OpenLayers low resolution and/or shifts in QGIS print composer? | [
"What are the fundamental differences between the mainstream *NIX shells and what scenarios might prompt you to use one over the other? I understand that some of it probably comes down to user preference but I've only ever used Bash and I'm interested to hear where another shell might be useful. Also, is there an impact on user-written shell scripts when running under one shell or another or is it simply a matter of changing the shell at the top of the file? My instinct says it's not that easy.",
"When should you use a class vs a struct in C++? In what scenarios is it better to use a struct vs a class in C++?",
"In many machine learning applications, the so called data augmentation methods have allowed building better models. For example, assume a training set of $100$ images of cats and dogs. By rotating, mirroring, adjusting contrast, etc. it is possible to generate additional images from the original ones. In the case of images, the data augmentation is relatively straightforward. However, suppose (for example) that one has a training set of $100$ samples and few hundred continuous variables that represent different things. The data augmentation does not anymore seem so intuitive. What could be done in such case?",
"I am trying to make a map where you have to make a village from scratch, and I need help. I'm trying to make a /clone command happen relative to where a mob that's named house is, and I cant figure it out. Any help?",
"Let $(e_n)$ (where $ e_n $ has a 1 in the $n$-th place and zeros otherwise) be unit standard vectors of $\\ell_\\infty$. Why is $(e_n)$ not a basis for $\\ell_\\infty$? Thanks.",
"How do I set up SSH so I don't have to type my password when connecting to a host?",
"Error \"Settings to access printer 'printername' are not valid\" when printing from Windows service",
"PHP: Right way to declare variable before use in loop I have a variable that is built in loop. Something like: $str = \"\"; for($i = 0; $i < 10; $i++) $str .= \"something\"; If $str = \"\" is ommitted, I get undefined variable notice, but I thought php auto-declare a variable the first time it sees undeclared one? How do I do this right?",
"If I remove the heatsink from my processor temporarily, then later put it back without changing the heatsink or CPU, do I need to reapply thermal paste?",
"Why aren't there any common words for 'defecating' and 'urinating'?",
"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!",
"Are the leftovers from making stock good for anything? Having made stock and strained it, can the meat and vegetables boiled up in the stock be used for anything, or should they go in the bin?",
"Installing \"firmware-b43-installer\" offline",
"How to get Url Hash (#) from server side",
"CASE WHEN with GROUP BY I have a table that looks like this (oversimplified case of the actual case to make my point) CREATE TABLE sales ( id int, currency VARCHAR(5), price int shop_id int ); Now I need to make a query that will give me something like this table, grouping by shops yet giving sum of sales per currency My problem is when I make currency column non aggregate it fails because my query becomes non standard. When I add currency to group by then each currency creates new row, something I don't want. I have run out of option and would appreciate any help or pointer to the right direction. I use MySQL but would appreciate if I would get the solution that works with more databases (PostGreSQL being at the top of the list after MySQL) Query that works with undesired results SELECT shop_id, (CASE WHEN currency= \"GBP\" THEN SUM(price) ELSE 0 END) AS POUND, (CASE WHEN currency= \"USD\" THEN SUM(price) ELSE 0 END) AS USDOLLAR GROUP BY shop_id, currency The data that should be produced by the query shop_id | POUND | USDOLLAR ----------------------------------------- 1 | 400 | 300 ----------------------------------------- 2 | 250 | 100 ----------------------------------------- 3 | 400 | 100 -----------------------------------------",
"Can others in my party go through TSA PreCheck? If I have (i.e. I have a KTN from TSA and the \"pre-check\" logo gets printed on my boarding pass) and a travel companion does not, can they go with me through the PreCheck security lines? This is assuming that the travel companion is booked in the same reservation on the same flights and is also a U.S. citizen and not on any no-fly or otherwise increased scrutiny lists. I'm guessing the answer is no, but I haven't seen anything from TSA specifically addressing this.",
"Adding a comment should not make me fail the review audit I just failed these in First Post, I read the question and thought it seemed reasonable but the user was deleted so to be on the safe side I clicked add comment and I failed the audit. I'm not sure why adding a comment would be considered a negative action, is the correct option to click No Action Needed or edit? What was I supposed to do in this situation? Adding a comment should not be a review audit fail.",
"How can I convert a node made material into an image texture? I have a sphere having a planet material MADE WITH NODES, and I want to convert this material into an image texture; because this material is made with nodes and only works in Blender, but I want to use in another software. This is my sphere material : For Example : This is Jupiter : And this is the texture : In this case I used a downloaded image for Jupiter to be the material but I want the opposite, I want to change the material to image texture Like The shape of Jupiter texture. Is there anyway in Blender that can achieve my goal ? This is the file with my sphere material . Textures Needed : Albedo / Color / Diffuse Normal Map Roughness Glossines I am using normal nodes and I am not useing the new Principled-shader",
"Search for singleton tags on questions",
"Photon energy - momentum in matter $E = h\\nu$ and $P = h\\nu/c$ in vacuum. If a photon enters water, its frequency $\\nu$ doesn't change. What are its energy and momentum: $h\\nu$ and $h\\nu/c$ ? Since part of its energy and momentum have been transferred to water, it should be less. If water's refractive index is $n$, are the energy and momentum equal to $h\\nu/n$ and $h\\nu/c/n$ ?"
] | medi_sts_stackexchange_dupe |
in python how to remove this \n from string or list | How to remove \n from a list element? | [
"Computing the Galois group of polynomials $x^n-a \\in \\mathbb{Q}[x]$ I have some problems with this exercise. I don't know if it can be done. Consider the polynomial $ x^n - a \\in \\mathbb{Q} $ Can I compute the Galois group of this over $\\mathbb{Q}$? Maybe having a nice \"basis. The splitting field is given by $\\mathbb{Q}(\\zeta_n,\\alpha)$ , where $\\zeta_n$ is a primitive root of unity , and $\\alpha$ is some number such that $\\alpha^n = a $. Well first of all, I want a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different (in this case the computation of the galois group is very simple). For example one easy case, it's when $a>0$, then $(a)^{\\frac{1}{n}} \\in \\mathbb{R}$ , so clearly the minimal polynomial of $(a)^{\\frac{1}{n}} , \\zeta_n$ are distincs, and I'm done. If $n$ is odd then , it's also easy, since one root it's also real, for example $x^3-3 $, the real root is $ \\root 3 \\of { - 3} = - \\root 3 \\of 3 $ , so I can consider the splitting field as $\\mathbb{Q}(-\\root 3 \\of 3 , \\zeta_3 )=\\mathbb{Q}(\\root 3 \\of 3 , \\zeta_3 )$. The difficult case is when $n$ is even and $a<0$ , for example $x^8+20$ or $x^4+20$ in some cases as in the second, there are particular cases since there exist algorithms for the Galois group of quartics, but in general. It can be done? $\\underline{Remark}$ I'm searching a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different since in this case the computation of the galois group is very simple.",
"Mock a service while running a BrowserTest? I am trying to test the output of a controller that returns some information in a given page. This controller has a custom http client injected into it. I want to create a BrowserTest that can navigate to a fake node, and then test for certain text or values. I also want to change the mock to return different values, so I can further test the output to account for those cases. I tried: $client = $this->getMockBuilder('\\Drupal\\mymodule\\Client\\AuthorizeClient') ->disableOriginalConstructor() ->getMock(); $client->expects($this->any()) ->method('request') ->with('w12345', FALSE) ->willReturn([]); $this->container->set('mymodule.auth_client', $client); But I get errors in the test that refer to the original class, and not the one I am trying to replace. I looked around in the core but wasn't really able to find what I was looking for. Does it make sense to do this? Is there a way to do a Kernel test to test responses from the route in question?",
"How does leave-one-out cross-validation work? How to select the final model out of $n$ different models? I have some data and I want to build a model (say a linear regression model) out of this data. In a next step, I want to apply Leave-One-Out Cross-Validation (LOOCV) on the model so see how good it performs. If I understood LOOCV right, I build a new model for each of my samples (the test set) using every sample except this sample (the training set). Then I use the model to predict the test set and calculate the errors $(\\text{predicted} - \\text{actual})$. In a next step I aggregate all the errors generated using a chosen function, for example mean squared error. I can use these values to judge on the quality (or goodness of fit) of the model. Question: Which model is the model these quality-values apply for, so which model should I choose if I find the metrics generated from LOOCV appropriate for my case? LOOCV looked at $n$ different models (where $n$ is the sample size); which one is the model I should choose? Is it the model which uses all the samples? This model was never calculated during the LOOCV process! Is it the model which has the least error?",
"The disk that contains Ubuntu on my computer is 115GB in size. When the disk was 114.7GBfull. I started deleting some files here and there to free up around 5GB. But I noticed the disk was 114GB filled again. I thought it was some cache or swap thingy so didn't give it much thought and went ahead and freed around 40GBby shifting some media files out of the disk. I have a notification in an hour or so that the disk is full yet again!! 40GB!!! All gone! So I debugged the problem down to the /var/log/syslog file which was initially definitely less than 20GB. I know this because /var folder was 17GB before I cleared the memory. /var/log/syslog file is currently 55.9GB! Could someone be so gracious to explain this anomaly? Is this a bug? Or am I affected with some malware or virus?",
"Execute a command once per line of piped input? I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \\; but I'm curious about the general case - is there an easy way to say \"run a command once for every line of standard input\"? (In fish or bash.)",
"There is this famous example about the order difference between gravitational force and EM force. All the gravitational force of Earth is just countered by the electromagnetic force between the electrons on the surface of my feet and the ground. But also wave-function of electrons(fermions) do not overlap each other due to Pauli exclusion principle. So which one is the true reason of me not flopping inside the earth forever? Is it only one of them(my guess is Pauli exclusion) or is it both?",
"Count how many lines start with which characters I have a file with a number of lines in a file filename. I want to count how many lines start with character 'a', with 'b' and so on in one go. What command i should execute.?",
"Difference between “with”, “at” and “for” with a business title and a company name",
"How can I get a command block?",
"Sometimes I need to look up certain words through all the manual pages. I am aware of apropos, but if I understand its manual right, it restricts search to the descriptions only. Each manual page has a short description available within it. apropos searches the descriptions for instances of keyword. For example, if I look up a word like 'viminfo', I get no results at all... $ apropos viminfo viminfo: nothing appropriate. ... although this word exists in a later section of the manual of Vim (which is installed on my system). -i {viminfo} When using the viminfo file is enabled, this option sets the filename to use, instead of the default \"~/.vim‐ info\". This can also be used to skip the use of the .viminfo file, by giving the name \"NONE\". So how can I look up a word through every section of every manual?",
"I have created my StackOverflow Careers panel, and when I click 'add a stack overflow account with over 200 reputation' the site decides that I have no StackOverflow account at all, although my current one has over 300. I log in to both with the same StackExchange Account with the same email etc so I'm curious as to why this is happening.",
"Testing Classification on Oversampled Imbalance Data I am working on severely imbalanced data. In literature, several methods are used to re-balance the data using re-sampling (over- or under-sampling). Two good approaches are: SMOTE: Synthetic Minority Over-sampling TEchnique () ADASYN: Adaptive Synthetic Sampling Approach for Imbalanced Learning () I have implemented ADASYN because its adaptive nature and ease to extension to multi-class problems. My question is how to test the oversampled data produced by ADASYN (or any other oversampling methods). It is not clear in the mentioned two paper how they performed their experiments. There are two scenarios: 1- Oversample the whole dataset, then split it to training and testing sets (or cross validation). 2- After splitting the original dataset, perform oversampling on the training set only and test on the original data test set (could be performed with cross validation). In the first case the results are much better than without oversampling, but I am concerned if there is overfitting. While in the second case the results are slightly better than without oversampling and much worse than the first case. But the concern with the second case is if all minority class samples goes to the testing set, then no benefit will be achieved with oversampling. I am not sure if there are any other settings to test such data.",
"Union of a finite set and a countably infinite set is countably infinite Ok, here is the problem statement: Prove that if $S$ is any finite set of real numbers, then the union of $S$ and the integers is countably infinite. This seems pretty obvious to me, knowing that 2 countable sets are countable. But is there some step by step way to prove this? Like do I need to prove bijectivity or something? Thanks!",
"Often I need to recall the different \\tracing commands; and a couple of times I stumbled on some webpages that worked fine for me; sadly, I didn't keep them, and my searches don't take me there anymore. So I thought I'd ask about links to where one can read a list of \\tracing commands? For instance, mentions: \\tracingall \\tracingassigns \\tracingcommands \\tracinggroups \\tracingifs \\tracinglostchars \\tracingmacros \\tracingnesting \\tracingonline \\tracingoutput \\tracingpages \\tracingparagraphs \\tracingrestores \\tracingstats \\tracingscantokens .. but, I'm pretty sure there was something like \\tracingboxes (and not so sure if there was something like \\tracingglues); yet I cannot find any resources mentioning those.",
"How should a physics student study mathematics? Note: I will expand this question with more specific points when I have my own internet connection and more time (we're moving in, so I'm at a friend's house). This question is broad, involved, and to some degree subjective. (I started out as a physics-only student, but eventually decided to add a mathematics major. I am greatly interested in mathematics; the typical curriculum required for physics students is not deep or thorough enough; mathematics is more general (that means work!); and it only requires a few more classes. Naturally, I enjoy immensely.) This question asks mainly of undergraduate-level study, but feel free to discuss graduate-level study if you like. Please do not rush your answer or try to be comprehensive. I realize the StackOverflow model rewards quick answers, but I would rather wait for a thoughtful, thorough (on a point) answer than get a fast, cluttered one. (As you probably know, produces clear, useful writing; and a properly-done comprehensive answer would take more than a reasonable amount of time and effort.) If you think an overview is necessary, that is fine. For a question this large, I think the best thing to do is focus on a specific area in each answer. Update: To Sklivvz, Cedric, Noldorin and everyone else: I had to run off before I could finish, but I wanted to say I knew I would regret this; I was cranky and not thinking clearly, mainly from not eating enough during the day. I am sorry for my sharp responses and for not waiting for my reaction to pass. I apologize. Re: Curricula: Please note that I am not asking about choosing your own curriculum in college or university. I did not explicitly say that, but several people believed that was my meaning. I will ask more specific questions later, but the main idea is how a physics student should study mathematics (on his or her own, but also by choosing courses if available) to be a competent mathematician with a view to studying physics. I merely mentioned adding a mathematics major to illustrate my conclusion that physics student need a deeper mathematical grounding than they typically receive. And now I have to run off again.",
"Product of path connected spaces is path connected",
"In my book, it proves that an infinite subset of a coutnable set is countable. But not all the details are filled in, and I've tried to fill in all the details below. Could someone tell me if what I wrote below is valid? Let $S$ be an infinite subset of a countable set $T$. Since $T$ is countable, there exists a bijection $f: \\mathbb{N} \\rightarrow T$. And $S \\subseteq T = \\{ f(n) \\ | \\ n \\in \\mathbb{N} \\}$. Let $n_{1}$ be the smallest positive integer such that $f(n_{1}) \\in S$. And continue where $n_{k}$ is the smallest positive integer greater than $n_{k-1}$ such that $f(n_{k}) \\in S$. And because $S$ is infinite, we continue forever. Now consider the function $\\beta : \\mathbb{N} \\rightarrow S$ which sends $k \\rightarrow f(n_{k})$. So in order for $S$ to be countable, $\\beta$ would have to be a bijection. $\\beta$ is injective since if $f(n_{k}) = f(n_{j})$, then $n_{k} = n_{j}$ because $f$ is injective. We also can conclude $k = j$ because the various $n_{i}$ chosen were strictly increasing. Edit: $\\beta$ also needs to be surjective. So for every $r \\in S$ there exists a $q \\in \\mathbb{N}$ such that $\\beta(q) = f(n_{q}) = r$. We know that $f^{-1}(r) \\in \\{n_{1}, n_{2}, ..., n_{k} ... \\}$, so we can let $f^{-1}(r) = n_{d}$. Thus $\\beta(d) = f(n_{d}) = r$.",
"What's the value of $\\sum\\limits_{k=1}^{\\infty}\\frac{k^2}{k!}$? For some series, it is easy to say whether it is convergent or not by the \"convergence test\", e.g., ratio test. However, it is nontrivial to calculate the value of the sum when the series converges. The question is motivated from the simple exercise to determining whether the series $\\sum\\limits_{k=1}^{\\infty}\\frac{k^2}{k!}$ is convergent. One may immediately get that it is convergent by the ratio test. So here is my question: What's the value of $$\\sum_{k=1}^{\\infty}\\frac{k^2}{k!}?$$",
"How do I start Chrome using a specified \"user profile\"?",
"As far as I know, current division for spesific place's formula is: Ix=(Req/Rx)*Isource However, here,the solution is 3/(3+2+4)*6. How is this a current division ? Can you explain this to me"
] | medi_sts_stackexchange_dupe |
How could someone like Hashirama die in the First Shinobi World War? | Do we know how Senju Hashirama died? | [
"Why is this true? $(\\exists x)(P(x) \\Rightarrow (\\forall y) P(y))$",
"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.",
"Who should own files shared by a group and where should they go",
"What are the uses of \"using\" in C#?",
"Is lemonade better when made with simple syrup? On a hot summer day and with a basketful of lemons I often want a nice cold glass of lemonade. A lot of recipes suggest making lemonade with simple syrup, which requires cooking, whereas other recipes just have stirred-in sugar. What exactly are the benefits of making lemonade (or limeade) with simple syrup versus just stirring in sugar?",
"Area 51 is miscounting my proposal followers I know of one person who is following my proposal who doesn't show up on the proposal webpage. My proposal is for quantitative finance: . It shows 19 people following the proposal (on the side of the page), and the total listed at the top of the page is 19 followers. Yet one user is not listed: . This makes me wonder if other followers are also not being counted?",
"How to combine measurement error with statistic error",
"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.",
"What triggers the benefit of the bard's \"Song of Rest\" feature? In D&D 5e, the benefit of the Bard's \"Song of Rest\" feature triggers \"if you or any friendly creatures who can hear your performance regain hit points at the end of the the short rest.\" Does Song of Rest's benefit apply just when spending hit dice to regain hit points? Or does it apply to any other way that a player might regain hit points at the end of a short rest (e.g. by casting a spell, using a Second Wind, eating a Goodberry, etc.)?",
"I have come across these three definitions of the limit superior (or upper limit) and the limit inferior (or lower limit) of a sequence of real numbers and I wonder how to establish the equivalence of these. Walter Rudin: PRINCIPLES OF MATHEMATICAL ANALYSIS, 3rd edition: Definition 3.16: Given a sequence $\\{s_n\\}$ of real numbers, let $E$ be the set of numbers $x$ (in the extended real number system) such that $s_{n_k} \\to x$ for some subsequence $\\{s_{n_k}\\}$. This set contains all subsequential limits ..., plus possibly the numbers $+\\infty$, $-\\infty$. We now ... put $$s^{*} = \\sup E,$$ $$s_{*} = \\inf E.$$ The numbers $s^{*}$, $s_{*}$ are called the upper and lower limits of $\\{s_n\\}$; we use the notation $$ \\lim_{n \\to \\infty} \\sup s_n = s^{*}, \\, \\, \\, \\lim_{n \\to \\infty} \\inf s_n = s_{*}.$$ Tom M. Apostol: MATHEMATICAL ANALYSIS, 2nd edition: Sec. 8.3: Definition 8.2: Let $\\{a_n\\}$ be a sequence of real numbers. Suppose there is a real number $U$ satisfying the following conditions: i} For every $\\epsilon > 0$ there exists an integer $N$ such that $n > N$ implies $$a_n < U + \\epsilon.$$ ii) Given $\\epsilon > 0$ and given $m > 0$, there exists an integer $n> m$ such that $$a_n > U - \\epsilon.$$ Then $U$ is called the limit superior (or upper limit) of $\\{a_n\\}$, and we write $$U = \\lim_{n \\to \\infty} \\sup a_n.$$ Statement (i) implies that the set $\\{a_1, a_2, a_3, \\ldots \\}$ is bounded above. If this set is not bounded above, we define $$\\lim_{n\\to\\infty}\\sup a_n = +\\infty.$$ If the set is bounded above but not bounded below and if $\\{a_n\\}$ has no finite limit superior, then we say $\\lim \\sup_{n\\to\\infty} a_n = -\\infty$. The limit inferior (or lower limit) of $\\{a_n\\}$ is defined as follows: $$\\lim_{n\\to\\infty}\\inf a_n = -\\lim_{n\\to\\infty}\\sup b_n,$$ where $b_n = -a_n$ for $n= 1, 2, 3, \\ldots$. Robert G. Bartle and Donald R. Sherbert: INTRODUCTION TO REAL ANALYSIS, 3rd edition: Exercises for Section 3.3: Problem 10: Let $(x_n)$ be a bounded sequence of real numbers, and for each $n\\in \\mathbb{N}$ let $s_n \\colon= \\sup \\{x_k \\colon k \\geq n\\}$ and let $t_n \\colon= \\inf \\{x_k \\colon k \\geq n\\}$. Prove that $(s_n)$ and $(t_n)$ are monotone and convergent. Also prove that if $\\lim (s_n) = \\lim (t_n)$, then $(x_n)$ is convergent. [One calls $\\lim (s_n)$ the limit superior of $(x_n)$ and $\\lim (t_n)$ the limit inferior of $(x_n)$.] Now how can one show that the above three definitions are equivalent (i.e. these three definitions are of the same pair of numbers)?",
"A finite $p$-group cannot be simple unless it has order $p$ I am to trying to prove this theorem: A finite $p$-group cannot be simple unless it has order $p$. I have this: Let $G = P$ and $|G|=p$; then there exists $N$, a normal subgroup of $G$ by Lagrange's theorem, such that $|N| \\mid |G|$ so, $|N|= |e| = 1$ or $|N| = p$ If $|N|=p$ so $N=G$. But I don't know how I can prove the part in the case of $|N|=|e| = 1$ Is my start correct?",
"How can I insert a newline in a framebox?",
"Order of a homomorphism of groups",
"What is a single word for a person who, as a habit, exaggerates a lot when relating information?",
"I don't know how to integrate $\\displaystyle \\int\\frac{1}{x^{4}+1}\\mathrm dx$. Do I have to use trigonometric substitution?",
"Could not get lock /var/lib/apt/lists/lock when I try to apt-get update I'm getting the below error, E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/",
"Is there a way to draw a sort of connection between subplots in TiKz/pgfplot, like in this ? I'm looking to achieve something like this: But I would need to draw the \"x 2000\" line between the plots. EDIT: So right now I have something like this: Coming from my main.tex: \\input{aipcheck} \\documentclass[final]{aipproc} \\layoutstyle{8x11single} \\usepackage[utf8]{inputenc} \\usepackage{algorithm2e} \\usepackage{color} \\usepackage[usenames,dvipsnames]{xcolor} \\usepackage{cleveref} \\usepackage{pgfplots} \\pgfplotsset{ tick label style={font=\\tiny}, %axis numbers label style={font=\\small}, %axis labels legend style={font=\\tiny} } \\begin{document} (...) \\begin{figure} \\centering \\newlength\\figureheight \\newlength\\figurewidth \\setlength\\figureheight{5cm} \\setlength\\figurewidth{5cm} \\input{figs/_ddmp2d.tikz} \\label{fig2D} \\end{figure} with _ddmp2d.tikz, originally created from matlab2tikz, but already modified, containing: % This file was created by matlab2tikz v0.3.3. % Copyright (c) 2008--2013, Nico Schlömer <[email protected]> % All rights reserved. % % The latest updates can be retrieved from % http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. % % % \\begin{tikzpicture} \\begin{axis}[% width=\\figurewidth, height=\\figureheight, scale only axis, xmin=0, xmax=15, xlabel={Number of iterations}, ymin=0, ymax=16000000000000, name=plot1, after end axis/.append code={\\coordinate (a) at (axis description cs:1,0);}] \\addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 1 15841000000000\\\\ (...) 15 25160000000\\\\ }; \\addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 1 15841000000000\\\\ (...) 15 52501000000\\\\ }; \\addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 1 15841000000000\\\\ (...) 15 5324200000\\\\ }; \\addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 1 15841000000000\\\\ (...) 15 551920000\\\\ }; \\addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 3 0\\\\ 3 16000000000000\\\\ }; \\addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 4 0\\\\ 4 16000000000000\\\\ }; \\addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 5 0\\\\ 5 16000000000000\\\\ }; \\addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 8 0\\\\ 8 16000000000000\\\\ }; \\end{axis} \\begin{scope}[xshift=5cm] \\begin{axis}[% width=0.35\\figurewidth, height=\\figureheight, scale only axis, xmin=995, xmax=1000, xtick={997,998,999,1000}, xticklabels={$997$,$998$,$999$,$1000$}, ymin=0, ymax=8000000000, at=(plot1.right of south east), anchor=left of south west, yticklabel pos=right, axis x discontinuity=crunch, after end axis/.append code={\\coordinate (b) at (axis description cs:0,1);} ] \\addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt ] table[row sep=crcr]{ 995 6093100000\\\\ 996 6093100000\\\\ 997 6093100000\\\\ 998 6093100000\\\\ 999 6093100000\\\\ 1000 6093100000\\\\ }; \\addplot [ thick, color=black, dashed ] table[row sep=crcr]{ 995 1577100000\\\\ 996 1598000000\\\\ 997 1598500000\\\\ 998 1628600000\\\\ 999 1631000000\\\\ 1000 1595900000\\\\ }; \\addplot [ thick, color=blue, dotted ] table[row sep=crcr]{ 995 2592000000\\\\ 996 2591900000\\\\ 997 2591700000\\\\ 998 2591600000\\\\ 999 2591500000\\\\ 1000 2591400000\\\\ }; \\addplot [ thick, color=green, solid ] table[row sep=crcr]{ 995 391810000\\\\ 996 391810000\\\\ 997 391810000\\\\ 998 391810000\\\\ 999 391810000\\\\ 1000 391810000\\\\ }; \\end{axis} \\draw[gray] (a) -- (b) node[pos=0.5,sloped,fill=white] {$\\times$2000}; \\end{scope} \\end{tikzpicture}%",
"C# regex pattern to extract urls from given string - not full html urls but bare links as well",
"How do I search for available packages from the command-line? I have successfully installed some packages using the command line 'sudo apt-get install packagename' when I have known in advance that those packages are available. But how can I search for or get a list of what is available in the repositories?",
"Converting LiDAR files from LAZ to LAS format I'm trying to convert LiDAR files from the LAZ format (the compressed version) into LAS (the uncompressed version) using software. However, I am not really sure how it works. I created a new output folder as I entered in the app interface, but it is totally empty. I also had tried the following code in the command prompt window: D:\\LiDAR\\Laszip\\laszip.exe *.laz and got a message saying 'no input specified'. In my folder, there are about 100-ish.laz files as well as one imu.laz. Any suggestions?"
] | medi_sts_stackexchange_dupe |
Definition of a 'well received question' for the purposes of the Curious badge | Misleading description of new Curious badge | [
"The \"I Get It\" Reputation Problem I wrote a question about blocking certain characters in passwords. It became tremendously unpopular, and it seemed like everyone wanted to rain on my parade every day. Eventually, I \"got it,\" agreed completely with what people were saying to me, and just wanted to withdraw my question so that my reputation didn't slide even further downhill. Unfortunately, the system is designed such that I can't withdraw my question or redeem myself. Instead, I just get daily reputation attacks. That's a terrible system, and it needs to be changed.",
"FaceTime not working on iPhone 6 Plus purchased from Dubai I bought my iPhone 6 Plus in Dubai. I am using the phone in Sri Lanka and I cannot use the FaceTime. How can I use FaceTime while in Sri Lanka?",
"What do the slashes mean in the character tables? I've been reading the PF core rulebook, but confused over some of the data in the Character tables, and not found anywhere in the book that explains it, so wondering if someone could explain it? Taking the Monk class table for example: Level | Base Attack Bonus | ..... | Flurry of Blows Bonus 1st | +0 | .... | -1/-1 2nd | +1 | .... | +0/+0 ... ... 16th | +12/+7/+2 | .... | +14/+14/+9/+9/+4/+4/-1 17th | +12/+7/+2 | .... | +15/+15/+10/+10/+5/+5/+0 18th | +13/+8/+3 | .... | +16/+16/+11/+10/+6/+6/+1 What do the slashes between the bonuses mean?",
"Lightning:input type=\"date\": how to change the date fomat - Summer'18",
"I am a permanent resident (U.S) and I'm crossing the border into Mexico and taking a flight to Mexico city. The passport from my home nation is expired and I'm trying to avoid the last minute 500 mile+ trip to the nearest embassy. My question is, can I get on the plane with my green card or state license? or my expired passport and birth certificate? also, can i get the FMM/tourist card with my drivers license? all the official information says i need a valid passport, but other travelers have had different experiences, does it just depend on the officer? I already purchased my flight!",
"How can I take a site offline using Drush?",
"Firefox browser opens but URL is not launched",
"So before I reformatted (to get rid of Windows), I simply used this command to open documents by putting it at the end of the ~/.bashrc file: alias commandless= 'gnome-open ./Documents/the-linux-command-line.pdf; gnome-open ./Documents/linux.odt' But now everytime I start the terminal, it says: bash: alias: gnome-open ./Documents/the-linux-command-line.pdf; gnome-open ./Documents/linux.odt: not found before even typing anything in, and when I run the command nothing happens, not even error messages.",
"What does each part of the `ls -la` output mean? What do the following numbers represent?",
"Prove that $\\dfrac {\\left( 5^{125}-1\\right)}{\\left( 5^{25}-1\\right)}$ is composite number using number theory. Do not use calculator or Wolfram alpha or anything like that.",
"Before, the concept of imaginary numbers, the number $i = \\sqrt{-1}$ was shown to have no solution among the numbers that we had. So we declared $i$ to be a new type of number. How come we don't do the same for other \"impossible\" equations, such as $x = x + 1$, or $x = 1/0$? Edit: OK, a lot of people have said that a number $x$ such that $x = x + 1$ would break the rule that $0 \\neq 1$. However, let's look at the extension from whole numbers to include negative numbers (yes, I said that I wasn't going to include this) by defining $-1$ to be the number such that $-1 + 1 = 0$. Note that this breaks the \"rule\" that \"if $x \\leq y$, then $ax \\leq ay$\", which was true for all $a, x, y$ before the introduction of negative numbers. So I'm not convinced that \"That would break some obvious truth about all numbers\" is necessarily an argument against this sort of thing.",
"What is the maximum number of people that will join a settlement? I've got two settlements on the go that I'm paying attention to - Sanctuary and the Starlight Drive In. Both of these settlements have radio towers and beds and all resources in the green however they appear to have stopped growing at 10 people in each settlement even though happiness is above 80 and I've got 15+ beds at each location. What is the maximum number of people that will join a settlement?",
"I'd like to split strings like these 'foofo21' 'bar432' 'foobar12345' into ['foofo', '21'] ['bar', '432'] ['foobar', '12345'] Does somebody know an easy and simple way to do this in python?",
"Which shell interpreter runs a script with no shebang? Suppose the default shell for my account is zsh but I opened the terminal and fired up bash and executed a script named prac002.sh, which shell interpreter would be used to execute the script, zsh or bash? Consider the following example: papagolf@Sierra ~/My Files/My Programs/Learning/Shell % sudo cat /etc/passwd | grep papagolf [sudo] password for papagolf: papagolf:x:1000:1001:Rex,,,:/home/papagolf:/usr/bin/zsh # papagolf's default shell is zsh papagolf@Sierra ~/My Files/My Programs/Learning/Shell % bash # I fired up bash. (See that '%' prompt in zsh changes to '$' prompt, indicating bash.) papagolf@Sierra:~/My Files/My Programs/Learning/Shell$ ./prac002.sh Enter username : Rex Rex # Which interpreter did it just use? **EDIT : ** Here's the content of the script papagolf@Sierra ~/My Files/My Programs/Learning/Shell % cat ./prac002.sh read -p \"Enter username : \" uname echo $uname",
"Understanding Bash's Read-a-File Command Substitution I am trying to understand how exactly Bash treats the following line: $(< \"$FILE\") According to the Bash man page, this is equivalent to: $(cat \"$FILE\") and I can follow the line of reasoning for this second line. Bash performs variable expansion on $FILE, enters command substitution, passes the value of $FILE to cat, cat outputs the contents of $FILE to standard output, command substitution finishes by replacing the entire line with the standard output resulting from the command inside, and Bash attempts to execute it like a simple command. However, for the first line I mentioned above, I understand it as: Bash performs variable substitution on $FILE, Bash opens $FILE for reading on standard input, somehow standard input is copied to standard output, command substitution finishes, and Bash attempts to execute the resulting standard output. Can someone please explain to me how the contents of $FILE goes from stdin to stdout?",
"What is the scope of variables in JavaScript?",
"Equation's symbols or parameters description are shown below, however, the = and the details of parameter are not aligned. I want to make a parameters list for a equation like this, in which symbols, = and detail information are aligned in terms of vertical position. where ... P = notional permeability factor N = number of waves Sd = damage level ... A tabular environment will produce more spacing before and after text. So how to make the = vertical aligned? The codes is provided: \\begin{equation} \\frac{H_s}{\\Delta D_{n50} } = 1.0~ P^{0.13}~ \\left(\\frac{S_d}{N} \\right)^{0.2} \\xi_m^P~ \\sqrt{\\cot \\alpha} \\end{equation} where: $H_s$ = significant wave height, equal to the average of the highest 1/3 of the waves $\\Delta$ = relative buoyant density, equal to $\\rho_r / \\rho_w - 1$, where $\\rho_w$ is the water density $D_{n50}$ = nominal diameter defined in Equation (2) $P$ = notional permeability factor $S_d$ = damage level $N$ = number of waves $\\xi_m$ = breaker parameter based on mean wave period $T_m$ $\\alpha$ = slope angle",
"Find a value anywhere in a database",
"Does infinity exist in physical systems? Sometimes people fail at asking a question by being too broad, unclear like . So I'll take a stab at what I believe to be the same question, but more concise and clearly stated: Does infinity exist in either terms of structure, parameters, or measurement in any physical systems? Can infinity have any real connection with reality? Or is infinity purely a mathematical concept just used by physicists as a convenient way to describe the very large, an approximation? I have heard that if you model a physical system (), and you run into infinity as a solution, then you have either made an error in your calculations or your model is wrong.",
"How do I use '&' literally in LaTeX?"
] | medi_sts_stackexchange_dupe |
Single and double quotes in form fields will not write to Mysql database. Is there a solution? | How can I prevent SQL injection in PHP? | [
"How to back up my entire system? If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this? Is it as simple as backing up everything in / and then when if I suffer a crash, just copying the files back over? Will this cover grub, and how do I actually do this when the system is inoperable?",
"I'm looking for a true 360 degree camera, so that's both vertical and horizontal 360 degrees. I've seen some clip-ons for the iPhone, but am really not wanting to by an iPhone 4S for this. What I would like to see: - decent resolution: at least 1920x1080. - and 30fps I can't settle for an alternative that's not vertically 360 degrees (or at least much more than 180 degrees). I've seen the ball camera, which isn't out yet, but would be really well suited for my case, given it does video as well.",
"When is a CDATA section necessary within a script tag? Are CDATA tags ever necessary in script tags and if so when? In other words, when and where is this: <script type=\"text/javascript\"> //<![CDATA[ ...code... //]]> </script> preferable to this: <script type=\"text/javascript\"> ...code... </script>",
"How to activate hyphenation in \\ttfamily without explictly setting a font? I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I used the wrong words for searching. \\documentclass{scrartcl} \\usepackage{xltxtra} \\usepackage{polyglossia} \\setdefaultlanguage[spelling=new]{german} \\usepackage{tabu} \\begin{document} \\begin{ttfamily} \\begin{tabu} spread \\textwidth {X[l]|X[l]|X[l]|X[l]} A& B& Sichtweise, Haltung, Akzeptanz, useability, Anwenderfreundlichkeit& D\\\\ \\end{tabu} \\end{ttfamily} \\end{document}",
"Prove that $\\lfloor\\lfloor x/2 \\rfloor / 2 \\rfloor = \\lfloor x/4 \\rfloor$",
"Is it correct to write $\\Bbb E[X]$ or $\\Bbb E_{\\theta}[X]$? Suppose that we observe the discrete random variable $ X = (X_1, \\dotsc , X_n)$ with state space S, whose distribution we do not know but we are assuming that its joint p.m.f. belongs to a known family $\\{f_θ : θ ∈ Θ\\}$. We derive a sufficient statistic $T(X)$. Is it correct to write $\\Bbb E[X]$? If not, why? Would it be more correct to write $\\Bbb E_{\\theta}[X]$?",
"How to manage users and groups using GUI? Just switched from 10.04 to 11.10. I'm wondering about the limited options in the GUI for managing users and groups. Where is the old GUI to change groups, id's, etc. I know that I can do this from cli, that's no problem. But I want this comfortable GUI back.",
"Show that $\\textbf{ZF}$ shows $\\phi$ is $\\Delta_1$",
"Consider $\\mathbb R^{[0,1]}$ the space of all functions from $[0,1]$ to $\\mathbb R$ and the cylindrical sigma algebra $\\mathcal B$ on it. The question is: how to prove that $C[0,1]\\notin \\mathcal B$.",
"Ubuntu 14.04 LTS fails to start with a kernel panic",
"Word for a temporary project name In software development, and I imagine in many other fields, we often make up temporary nicknames for new projects or features. These are not meant to be the real names for the end product and are often funny, playful, or sarcastic in nature. These are also not intended to be \"codenames\" that hide the nature of the project or feature. Is there a word for such nicknames?",
"Prove Uncountable set minus a countable set is uncountable Let B be a countable set, and let A be an uncountable set. Prove that A-B is uncountable",
"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",
"Hint: $a^2 -ab +b^2 = (a+b)^2 -3ab.$ I know we can say that there exists an $x,y$ such that $ax + by = 1$. So in this case, $(a+b)x + ((a+b)^2 -3ab)y =1.$ I thought setting $x = (a+b)$ and $y = -1$ would help but that gives me $3ab =1.$ Any suggestions?",
"@class vs. #import It is to my understanding that one should use a forward-class declaration in the event ClassA needs to include a ClassB header, and ClassB needs to include a ClassA header to avoid any circular inclusions. I also understand that an #import is a simple ifndef so that an include only happens once. My inquiry is this: When does one use #import and when does one use @class? Sometimes if I use a @class declaration, I see a common compiler warning such as the following: warning: receiver 'FooController' is a forward class and corresponding @interface may not exist. Would really love to understand this, versus just removing the @class forward-declaration and throwing an #import in to silence the warnings the compiler is giving me.",
"What's the difference between an id and a class?",
"Determine the number of lines within a text file Is there an easy way to programmatically determine the number of lines within a text file?",
"Proving $\\prod \\limits_{k=0}^{n}(1-a_k) \\geq1- \\sum\\limits_{k=0}^{n}a_k$",
"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!",
"Render not showing UV texture"
] | medi_sts_stackexchange_dupe |
Travelling without previous visa in Asia | What (if any) countries are either open to or have set definitive plans to allow international tourism? | [
"I have read in a book that the limit of the ratio of consequent Fibonacci numbers is the golden ratio. However, it was just mentioned thus not justified. So, my question is how would you derive the following limit: $$\\lim_{x\\to\\infty}{\\frac{F_n}{F_{n+1}}}=?$$ Where $F_n$ is the nth Fibonacci number?",
"Is it correct to say \"What was your name?\"? The reason I am asking this is, generally the name of the person will not change. One should say \"What is your name?\"",
"I note that the installation of qgis completed successfully. However, the log procedure returns this message: \"...... Estrazione: wvhpgn.gsb Estrazione: wyhpgn.gsb Cartella di destinazione: C:\\Programmi\\Quantum GIS Lisboa Creato il programma di disinstallazione: C:\\Programmi\\Quantum GIS Lisboa\\Uninstall-QGIS.exe Crea cartella: C:\\Documents and Settings\\All Users\\Menu Avvio\\Programmi\\Quantum GIS Lisboa Impossibile accedere al file. Il file Š utilizzato da un altro processo. Running postinstall grass64.bat... Running postinstall msvcrt.bat... ......\" System parameters: Quantum GIS Lisboa 1.8.0 Microsoft Windows Professional, Versione 2002, Service Pack 3 The message: Impossibile accedere al file. Il file Š utilizzato da un altro processo translates as Unable to access the file. The file used by another process I then get the following error: \"Impossibile trovare il punto di ingresso locale_charset della procedura nella libreria di collegamento dinamico iconv.dll\" which translates as: Can not find the entry point of locale_charset procedure in the dynamic link library iconv.dll",
"divisor of a product of integers is a product of divisors I read this recently on the web and can't manage to understand it. Not homework -- I haven't done math homework for years. If $d\\mid ab$ then $d=d_1 d_2$, that $d_1|a$, that $d_2|b$ and, further, if $(a,b)=1$ then $(d_1,d_2)=1$. I know it's the same question... if $a = a_1 a_2 ... a_n$, why can't $d$ divide some $a_i$ and only $a_i$?",
"I have backups up everything, but I'm still uneasy about the process and would like confirmation. I'd rather do this one time correctly. I want to shrink /dev/sda6/ by 200GB and reallocate it to /dev/sda2. I boot a LiveCD and turn off LinuxSwap (locked otherwise). I've been reading that it is very hard to move "left" when partitioning and other AskUbuntu threads are confusing me. Do I need to resize /dev/sda6 by 200GB "preceding" (rather than "following"), and then resize /dev/sda4 by 200GB? A little guidance would ease my nerves of messing everything up. Thank you ahead of time.",
"I'm having trouble with this functional equation, to find all functions $f:\\mathbb R \\to \\mathbb R$ for which the following is valid for all $x,y\\in \\mathbb R$: $f(x) + f(x+f(y)) = y + f(f(x) + f(f(y)))$ I haven't been able to pinpoint any solution, nor to prove surjectivity or injectivity. So 0 progress. Tried with $x=y=0, x=0, y=0, x=-f(y), y=f(x)$, and even with some assumptions on bijectivity, but nothing helped. I don't know the source but seems like a pretty difficult problem, maybe even impossible to solve.",
"I am writing an article in English, with some pages in Russian. \\documentclass[12pt]{article} \\usepackage[T1,T2A]{fontenc} \\usepackage[utf8]{inputenc} \\usepackage[russian,english]{babel} \\usepackage{newtxmath} \\usepackage{newtxtext} \\begin{document} hello \\textbf{hello} \\selectlanguage{russian} привет \\textbf{привет} \\end{document} Output: hello hello привет привет I am using \\selectlanguage{} to switch between languages when needed. However, I noticed that when I try to use \\textbf{} when in Russian language mode, it does not work because of newtxtext, which I am using for math formulas. Does anyone know how to solve this problem? Thank you.",
"Database files that are built using SQL 2008 are not compatable with 2005. Is there a work around?",
"I’m looking for a word I’m struggling to remember that refers to a job or role which is inconsequential and usually created in order to install someone in a company, not based on their merit. An example would be creating a vague new role for a friend’s son. The word I’m looking for refers to the actual job itself - it’s a noun that would replace the ‘job’ (e.g “they put so and so’s cousin in a ____”). I believe the word may not be a strictly formal or technical word but I don’t think it was slang.",
"Why is an orthogonal matrix called orthogonal?",
"I have been facing hard time understanding meaning of \"random sample\" as well as \"iid random variable\". I tried to find out the meaning from several sources, but just got more and more confused. I am posting here what I tried and got to know: Degroot's Probability & Statistics says: Random Samples / i.i.d. / Sample Size : Consider a given probability distribution on the real line that can be represented by either a p.f. or a p.d.f. $f$. It is said that $n$ random variables $X_1 , . . . , X_n$ form a random sample from this distribution if these random variables are independent and the marginal p.f. or p.d.f. of each of them is $f$. Such random variables are also said to be independent and identically distributed, abbreviated i.i.d. We refer to the number n of random variables as the sample size. But one of the other statistics book I have says: In a Random Sampling, we guarantee that every individual unit in the population gets an equal chance(probability) of being selected. So, I have a feeling that i.i.d.s are elements that construct random sample, and the procedure to have random sample is random sampling. Am I right? P.S.: I am very confused about this topic, so I will appreciate elaborate reply. Thanks.",
"Why not use exceptions as regular flow of control?",
"What is the non-parametric equivalent of a two-way ANOVA that can include interactions?",
"How do I ensure that figures appear in the section they're associated with? Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any unplaced floats?",
"Why can't I install iOS 9.3? I saw an update for my iOS 9.2.1 device to iOS 9.3. However, it said that the update cannot be verified, although it was downloaded. I even deleted all data and applications from the device, but I still cannot update the device to 9.3; it just says \"Your software is up to date\" on iOS 9.2.1. Can you force an update to 9.3?",
"I am new to Ubuntu and Linux in general. I created a dual boot OS on my laptop (Windows 10 and Ubuntu). Typing: sudo apt-get install python3-tk (or even python-tk) didn't work. Trying to install the python3-dev or python-devel (no luck). Downloading Tcl and Tk to manually install. In Windows 10 Bash Subsystem the Tk and Tcl are already included, so I thought Ubuntu already had it. But, I want to use my Ubuntu desktop to develop Python GUI apps. So, how can I install the Tcl/Tk to be use in Python 3.5 for GUI development? I loaded Python 3.5.2 fine but need the GUI modules enabled. The code to test that Tk is working is: Type python3 Type: import tkinter tkinter._test() Result: a GUI pop-up displaying This is a Tcl/Tk version..",
"Can I replace a 15 ampere circuit breaker with a 20 ampere breaker? When I plug-in a conventional heating pad or a hair dryer into any bedroom duplex, the lights dim; and/or trips the circuit breaker. The home is of new construction-- placed in service 31 Dec 2013. My question is: Can I safely replace the existing 15 AMP Breaker with that of a 20 AMP? . . . the service cable is of 14 Gauge Copper Conductor.",
"We let a>0 and b>0 and we have $\\sum_{n=0}^{\\infty}b^n-a^n$. We have to find all values a,b>0 where $\\sum_{n=0}^{\\infty}b^n-a^n$ is convergent. I think I can use that $$\\sum_{n=0}^{\\infty} b_n < \\infty , \\sum_{n=0}^{\\infty} a_n < \\infty \\implies \\sum_{n=0}^{\\infty} (b_n-a_n) < \\infty. $$. And I think $\\sum_{n=0}^{\\infty}b^n$ and $\\sum_{n=0}^{\\infty}a^n$ is convergent if a<1 and b<1? It will make sense. But how can I show it?",
"Why does Google not consider dot in usernames of Gmail addresses? E.g.: If your Gmail ID is [email protected], it considers this the same as [email protected]. Why is this so?",
"TP-LINK TL-WN823N Unable to connect to network"
] | medi_sts_stackexchange_dupe |
What was the movie name with a parasitic creature? | Movie: Creature crawls out of its current hosts mouth into next hosts mouth | [
"How do I get jQuery to select elements with a . (period) in their ID? Given the following classes and controller action method: public School { public Int32 ID { get; set; } publig String Name { get; set; } public Address Address { get; set; } } public class Address { public string Street1 { get; set; } public string City { get; set; } public String ZipCode { get; set; } public String State { get; set; } public String Country { get; set; } } [Authorize(Roles = \"SchoolEditor\")] [AcceptVerbs(HttpVerbs.Post)] public SchoolResponse Edit(Int32 id, FormCollection form) { School school = GetSchoolFromRepository(id); UpdateModel(school, form); return new SchoolResponse() { School = school }; } And the following form: <form method=\"post\"> School: <%= Html.TextBox(\"Name\") %><br /> Street: <%= Html.TextBox(\"Address.Street\") %><br /> City: <%= Html.TextBox(\"Address.City\") %><br /> Zip Code: <%= Html.TextBox(\"Address.ZipCode\") %><br /> Sate: <select id=\"Address.State\"></select><br /> Country: <select id=\"Address.Country\"></select><br /> </form> I am able to update both the School instance and the Address member of the school. This is quite nice! Thank you ASP.NET MVC team! However, how do I use jQuery to select the drop down list so that I can pre-fill it? I realize that I could do this server side but there will be other dynamic elements on the page that affect the list. The following is what I have so far, and it does not work as the selectors don't seem to match the IDs: $(function() { $.getJSON(\"/Location/GetCountryList\", null, function(data) { $(\"#Address.Country\").fillSelect(data); }); $(\"#Address.Country\").change(function() { $.getJSON(\"/Location/GetRegionsForCountry\", { country: $(this).val() }, function(data) { $(\"#Address.State\").fillSelect(data); }); }); });",
"I wanted to remove and reinstall the software-center package. I removed it, but now I can't reinstall. I tried these commands without success: sudo apt-get update sudo apt-get install software-center How can I reinstall software-center? When I performed the install command this is what I got: $ sudo apt-get install software-center Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate",
"Why do wet objects become darker?",
"Bottom to top explanation of the Mahalanobis distance? I'm studying pattern recognition and statistics and almost every book I open on the subject I bump into the concept of Mahalanobis distance. The books give sort of intuitive explanations, but still not good enough ones for me to actually really understand what is going on. If someone would ask me \"What is the Mahalanobis distance?\" I could only answer: \"It's this nice thing, which measures distance of some kind\" :) The definitions usually also contain eigenvectors and eigenvalues, which I have a little trouble connecting to the Mahalanobis distance. I understand the definition of eigenvectors and eigenvalues, but how are they related to the Mahalanobis distance? Does it have something to do with changing the base in Linear Algebra etc.? I have also read these former questions on the subject: I have also read . The answers are good and pictures nice, but still I don't really get it...I have an idea but it's still in the dark. Can someone give a \"How would you explain it to your grandma\"-explanation so that I could finally wrap this up and never again wonder what the heck is a Mahalanobis distance? :) Where does it come from, what, why? UPDATE: Here is something which helps understanding the Mahalanobis formula:",
"When I ssh into my Ubuntu 18.04 box I get the motd 1 update could not be installed automatically Which goes on to tell me to check the unattended-upgrades log. The log shows no problems. How can I clear this bogus message?",
"'longtable' caption without incrementing 'table'? For reasons both complex and confusing, I would like to caption a longtable without incrementing the table counter in the process. I want to have two consecutive longtable environments to be captioned with identical table numbers; i.e. one longtable captioned \"Table x.y: Data Set (Part A)\" and one captioned \"Table x.y: Data Set (Part B)\", with x.y being identical for both tables. Apparently however, even \\caption*{} command bumps table. I am a bit at a loss here. Note: I know that the xtab package would enable me to have one long table with switches of headers and captions mid-table. However I got a (different) problem with that package, akin to but sadly not solved by egreg's answer there; so this question should be considered longtable-only as xtab, supertabular etc. don't float my boat right now. :-(",
"Other users have been leaving me angry and hostile comments accusing me of plagiarism and saying that I'm a liar and I should stop stealing answers. But I have only been copying content from other sites, not taking answers from other users. I don't understand what is wrong here. Shouldn't we be focused on building all the content and knowledge in a single place, much like Wikipedia does? What does it matter that I copy and paste content I've found elsewhere so long as the question gets an answer?",
"Background Video is shown in Rendered mode but not when szene is rendered",
"Row colour gaps in tabularx with \\aboverulesep and \\{} \\documentclass[]{article} \\usepackage[table,dvipsnames]{xcolor} \\usepackage{multicol,booktabs,tabularx} % Table settings \\renewcommand{\\aboverulesep}{1pt} \\renewcommand{\\belowrulesep}{1pt} \\begin{document} \\begin{tabularx}{\\textwidth}{@{}X l@{}} This is Header 1 & This is Header 2 \\\\ \\toprule \\rowcolor{Apricot} This is Text 1 & This is Text 2 \\\\\\midrule This is Text 1 & This is Text 2 \\\\\\midrule This is Text 1 & This is Text 2 \\\\ \\bottomrule \\end{tabularx} \\end{document} I have the above table MWE using tabularx, and I am trying to colour the row from the table. However, due to the use of my \\aboverulesep and \\belowrulesep, I now have gaps above and below my table row that is not coloured. Also, because of the use of my @{} on either side of the table to 'remove' the excess padding on the sides of the table, the row colour is being applied in those padding as well. Qn 1: How can I colour the aforementioned gaps (arising due to the \\aboverulesep) in, while maintaining the rule separation? Qn 2: How to remove the colour from the two sides of the table? EDIT This is in response to Zarko's answer. I want to maintain the use of @{} on either side to remove the padding. If I were to adapt this into your answer, like so: % @Zarko's answer \\documentclass{article} \\usepackage[table,dvipsnames]{xcolor} \\usepackage{booktabs, cellspace, tabularx} % Table settings \\renewcommand{\\aboverulesep}{0pt} \\renewcommand{\\belowrulesep}{0pt} \\setlength\\cellspacetoplimit{5pt} \\setlength\\cellspacebottomlimit{5pt} \\begin{document} \\begin{tabularx}{\\textwidth}{@{}SX Sl@{}}% <-- S is append for activate additional vertical space This is Header 1 & This is Header 2 \\\\ \\toprule \\rowcolor{Apricot} This is Text 1 & This is Text 2 \\\\\\midrule This is Text 1 & This is Text 2 \\\\\\midrule This is Text 1 & This is Text 2 \\\\ \\bottomrule \\end{tabularx} \\end{document} I obtain this: and so my second question (Qn2) is still unresolved.. For Qn 1, I prefer to use the solution by @Skillmon with \\renewcommand{\\arraystretch}{1.15} as I need not add a new package.",
"Icon for pinned tabs in Safari? It would be nice to for . As it is, SE kind of stands out (in a not cool way):",
"How can I suppress the year from appearing in the bibliography for entries of type @inproceedings? In my specific case the year is implied in the booktitle (e.g. FOCS '09) so it is redundant when I need to save space. I found and the \"second solution\" looks promising but I am not sure how to translate it to only suppress the year for one type of entry. I am guessing \\ifentrytype might be helpful. I am using biblatex+biber.",
"WI-FI Nic showing 3 different transport id {Device id} There was a problem with my network controller so i opened up cmd and started to check for interfaces. I noticed a strange thing that my Wifi network controller had 3 different Device ID (Transport id's) When i tried to disable the wifi card the different id's went away. On my other computer i tested the same thing and it only shows 1 id? Device\\NPF_{4A45A363-6346-48DA-8D28-13DD9C9C1E6A} Device\\NPF_{E6994972-C66C-4ABF-BE27-17BAC7C1C971} Device\\NPF_{B6394772-H66C-4ABF-HRE27-17JLC0H9C971} I am using snort to check for available interfaces. Can anybody explain why i am seeing this? WLC model: intel dual band wireless-ac 8265 running default settings on the adapter however i have hyper-v open",
"What is the evidence that dark energy exists? (as of 2020) Astrophysicists believe that dark energy exists and makes up ~70% of the universe's energy content. What is the evidence that dark energy exists? Wikipedia gives : Supernovae. A specific type of supernovae (type 1A) are supposed to be standard candles - that is, their luminosity is known. In turn this lets us measure distance to faraway galaxies, check how fast those galaxies are receding from us, and check if that recession speed is increasing over time. CMB. Data from the Cosmic Microwave Background indicates the universe is approximately flat. Visible matter + dark matter can account for ~30% of the energy content required to make the universe flat, leaving ~70% for something else - dark energy. BAO. Baryon acoustic oscillations act as a \"standard ruler\" that lets us measure how the Hubble constant varies with redshift (i.e. time), and see if the recession speed is increasing with time. Late-time ISW. ISW stands for integrated Sachs-Wolfe effect. The idea is that, usually, a photon that enters a potential well gains energy as it falls in and loses energy as it emerges, and gain/loss exactly cancel. If a universe is expanding in accelerated fashion, then this is untrue; the potential wells / hills are smoothed out and there is a permanent shift in the photon's energy and therefore temperature. If we see a correlation between hot and cold spots on the CMB and the locations of superclusters and voids, then it's a sign of accelerated expansion. Galaxy evolution. This uses (known) evolution of early-type galaxies as a standard clock. Once we know how long it takes for a galaxy to evolve from one state to another, as well as their redshifts, we can reconstruct how the Hubble constant varies over time, and see if the recession speed is increasing with time. Two questions: Did I understand any of these five methods wrong? Are there any other lines of evidence for the existence of dark energy?",
"Are there strange attractors whose coordinates are \"almost integers\"?",
"Which commit has this blob? Given the hash of a blob, is there a way to get a list of commits that have this blob in their tree?",
"How to align the camera in a solved motion tracked scene? I have been having an issue with my floor plane and object when using a solved camera after tracking some footage. I get a solve error of between 0.05 and 0.4 on my solves which is good and not the issue I've been having. However when I go to orient the camera I will snap it to an origin and adjust the scale. The plane and object are not aligned, but could be fixed if I could just rotate around them (much like in PF Track). I would think the pivot point for the camera, if I have it locked to view, would be the origin (where my plane and object are), but it seems to be just some arbitrary point out in space which makes manually fixing the alignment very difficult. I'm wondering if there is any way to fix this so the pivot point is in fact in the center, or if there are any other suggestions to go about this problem.",
"\"R cannot be resolved to a variable\"?",
"Are there any significant plot elements in Fantastic Beasts that will be missed if I haven't seen the Harry Potter films? I have read all seven Harry Potter books, and The Cursed Child1, but I've only watched the first two movies. Do I have to watch all eight movies in order to fully understand the significant plot points found in Fantastic Beasts and Where to Find Them? Is there anything that I'll miss by not having seen them? 1 Waste of money, that.",
"How can we move an object with zero velocity? Consider there is a box of mass $m$ at rest on the floor. Most books give an example that we need to do a work of $mgh$ to lift the box $h$ upward. If we analyze this work done, the external force acting on the box by us should be equal to the weight of the box. Therefore the net force is zero which in turn there is no acceleration. If there is no acceleration and the initial velocity of the box is also zero, how can the box move upward?",
"Proof that Epicycloids are Algebraic Curves? Epicycloids are most commonly described by the parametric equations, $x(t) = (R + a)\\cos(t) – a \\cos \\left(\\frac{R + a}{a} t \\right),$ $y(t) = (R + a)\\sin(t) – a \\sin \\left(\\frac{R + a}{a} t \\right).$ Where $R$ is the radius of the fixed circle and $a$ is the radius of the rolling circle. With $R = ka$ we also have, $x(t) = a[(k + 1)\\cos(t) - \\cos((k + 1)t)],$ $y(t) = a[(k + 1)\\sin(t) - \\sin((k + 1)t)].$ Several books discussing epicycloids mention that if the ratio of the radii of the circles $\\left( \\frac{R}{a} = k \\right)$ is rational, then they are algebraic curves. However, I’ve only been able to find the Cartesian equations for the cardioid, nephroid and ranunculoid. With the cardioid being, $(ax + x^2 + y^2)^2 = a^2(x^2 + y^2).$ The nephroid, $(-4a^2 + x^2 + y^2)^3 = 108a^4y^2.$ And the ranunculoid, $-52521875a^{12} – 1286250a^{10} (x^2 + y^2) – 32025a^8 (x^2 + y^2)^2 + 93312a^7 (x^5 – 10x^3y^2 + 5xy^4) – 812a^6 (x^2 + y^2)^3 – 21a^4 (x^2 + y^2)^4 – 42a^2(x^2 + y^2)^5 + (x^2 + y^2)^6 = 0.$ Clearly this doesn’t cover all epicycloids where $\\frac{R}{a}$ is rational. What is the proof that shows that epicycloids, where the ratio of the radii are rational, are algebraic curves?"
] | medi_sts_stackexchange_dupe |
Can this RC boat work in thoery? | Blowing your own sail? | [
"Color change of string delimiter in listings with macro",
"I am currently looking at the various libraries that I can use to show a map in my custom Android App. I have found several like Mapsforge, OSMDroid, ArcGIS runtime for Android, Google Maps for Android and so on. I'm sure that I am missing a few. Is there a comparison chart somewhere about the differences in functionalities and pros and cons of each one? If there isn't one, we could make this question community wiki, to serve alongside & .",
"I am a graduate student of math right now but I was not able to get a topology subject in my undergrad... I just would like to know if you guys know the best one..",
"The identification of an electron as a particle and the positron as an antiparticle is a matter of convention. We see lots of electrons around us so they become the normal particle and the rare and unusual positrons become the . My question is, when you have made the choice of the electron and positron as particle and anti-particle does this automatically identify every other particle (every other fermion?) as normal or anti? For example the proton is a particle, or rather the quarks inside are. By considering the interactions of an electron with a quark inside a proton can we find something, e.g. a conserved quantity, that naturally identifies that quark as a particle rather than an antiparticle? Or do we also just have to extend our convention so say that a proton is a particle rather than an antiparticle? To complete the family I guess the same question would apply to the neutrinos.",
"Java function for arrays like PHP's join()?",
"How does the admissions process work for Ph.D. programs in the US, particularly for weak or borderline students?",
"Can you help me with my capacity planning? This is a about Related: I have a question regarding capacity planning. Can the Server Fault community please help with the following: What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?",
"I found that every character has a \"Personal Item\" in his inventory after you start the game. My question is: What is the purpose of it? I mean yeah you could sell it for 100$ but that really is absolutely nothing. It also doesn't have any stats so what can I use it for?",
"What are the best practices for battery longevity? How do you maximize the cycle count of your battery? There seems to be a debate between: Leave plugged in 24/7 but do a full cycle once a month Charge to ~100%, drain to ~10%, repeat. NOTE: Taking your Which method is better and why? How much of a difference does it really make? Here are some of the better sources I've found about battery behavior so far. Even still I feel they don't conclusively answer the question above. See my elaborations below: Elaborating on Option 1 Now IF Apple engineers were smart and optimized for AC draw when plugged in to not use up your charge cycles, then it seem logical to assume that you are using effectively none of your 1000 charge cycles while plugged in. If that's the case, it would seem that the LiPo drop from holding at 100% would be vastly outweighed by the fact you're not using any charge cycles. However, this is a purely speculative assumption and I could find no evidence to either confirm or deny. If this is NOT true, and the AC adapter only goes to charging the battery, then there would be no difference. Your battery would drain to 99%, then back up to 100%, then back down to 99%, etc. Those micro-charge cycles would add up at the same rate as 100% -> 0% -> 100%, and you would get no gain. In this case the negative effect of holding LiPo batteries at 100% would outweigh everything else. Elaborating on Option 2 There are lots of good reasons why Option 2 is the way it is: Because of known LiPo chemistry issues, holding a 100% charge for a long time causes the battery to degrade Apple specifically recommends not to leave it plugged in all the time Draining a battery all the way to zero all the time is bad for the cell (Which is why ~10% is used) Heat is a killer, and when plugged in AND charging, you get extra heat that causes damage. There are a couple reasons why I'm challenging Option 2: It seems silly that the most intuitive use case for thousands of people that use their macs as primary computers is wrong. If the hypothesis in option 1 is true, you're just burning unnecessarily through your finite charge cycles. It's a pain to have to remember to keep plugging in and plugging out and be worried about whether or not your device is plugged in.",
"Materials for learning TikZ 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.",
"One asks “how does x taste,” implying that they’d like an adverb describing the way it tastes. But one answers with an adjective, “it tastes good” instead of “it tastes well,” which would imply that x is tasting something else. What’s the reason for this discrepancy?",
"Is there a backquote on the iPhone keyboard? Is there a backquote (backtick `) on the iPhone keyboard, and if so, where is it? When I'm writing a post on a site in the SE family (especially SO), I want to use the backquote for inline code blocks. Under the single quote key, I've found two curly/angled quotes, but those (’ and ‘) don't seem to do the trick...",
"How to call a function in a Twig file",
"Of course when you type: sudo apt-get install whatever It asks you: Do you want to continue [Y/n]? Is there any way I can just install it without it asking me if I want to continue? I don't really care about space, I have more then enough.",
"Noun order: \"He and we...\" or \"We and he...\"? Similarly, \"...him and us\" or \"...us and him\"? It's convention and polite to always list yourself last in a list. I say \"John and I went to the store\" and not \"I and John went to the store.\" So does that mean that I should always list myself last, even in the case when the pronoun that represents me is first person, plural (i.e. \"us\" or \"we\")? In my case, I'm writing a recommendation letter about my experience on a team with \"John,\" who is the highlight of the letter. I hit a point where I was about to write something similar to: John and we got a lot of experience working on the project. or That project's experience really benefited John and us. Clearly, he is mentally separated from the others of us who were on the team, at least in this context, so I was just wondering if there were some grammatical conventions to govern this situation.",
"How do we fetch data through REST service which hosted in azure from SharePoint site which in office 365? How do we fetch data through REST service which is hosted in window azure, from SharePoint site which in office 365? Can we need to create app for SharePoint which contain restAPI endpoint or any better solution than this?",
"What tools (ideally affordable ones) would folks recommend for creating a website wireframe?",
"I am quite proficient with the keyboard and try to only use the mouse when necessary. Given that context I was very familiar with the shortcut keys in MS Outlook 2003 and never needed to use the mouse to use that product. Now my company has recently upgraded to MS Outlook 2010 and I am finding it impossible to operate it without having to use the mouse. In particular replying to meeting requests with the old shortcut keys no longer seems possible. I have held down the ALT key and sometimes it shows some shortcuts on the ribbon but this seems to be limited to ALT+H which tends to alternate between designating \"Accept\" and \"Tentative\" without any keys for the other options. Also as this appears to switch between \"Accept\" and \"Tentative\" one can't even use this consistently without first having to check what it means for each particular instance. Any help with this would be greatly appreciated!",
"How do you Programmatically Download a Webpage in Java",
"how do i get my stolen phone& pictures back? On 7 july 15 someone broke in my house and stole my galaxy note 3 it did not have service it has been disconnect for about 6mo now i would like to get my phone back because it had picture of me and my dad who died the day after father day this past june & other family pictures that can not be replaced.how do i go about getting those back?"
] | medi_sts_stackexchange_dupe |
Why can't I see or buy the Karin Kuruma? | Why can't I find the Karin Kuruma? | [
"I'd like to show/hide a column at runtime based on a particular condition. I'm using \"Print when expression\" to conditionally show/hide this column (and it's header) in my report. When the column is hidden, the space it would have occupied is left blank, which is not particularly attractive. I would prefer if the extra space was used in a more effective manner, possibilities include: the width of the report is reduced by the width of the hidden column the extra space is distributed among the remaining columns In theory, I could achieve the first by setting the width of the column (and header) to 0, but also indicate that the column should resize to fit its contents. But JasperReports does not provide a \"resize width to fit contents\" option. Another possibility is to generate reports using the Jasper API instead of defining the report template in XML. But that seems like a lot of effort for such a simple requirement.",
"Is there any formula for number of divisors of $a \\times b$? Let $a$ and $b$ be two numbers, Number of divisors of $a$ is $n_1$; Number of divisors of $b$ is $n_2$; How to find the number of divisors $N$ of product $a \\times b$ by using known number of divisors of factors $n_1$ and $n_2$? If $a = 20$ and $b = 21$, then $n_1 = 6$ (number of divisors of $a$), $n_2 = 4$ (number of divisors of $b$. Then $a \\times b = 420$ and $N = 32$ (number of divisors of $a \\times b$). Is there a formula to find $N$ in terms of $n_1$ and $n_2$?",
"How does similar_text work?",
"How can I have one keyboard input layout and multiples languages in Ubuntu 17.10? If I have English language I can't type \"'e\" and get an \"é\", as I can do in Portuguese and Spanish. When I manage to do that on Settings -> Region & Language, I'm able to change languages, but it also changes the keyboard layout. Is there any way to change language (Portuguese or Spanish for example) and set the keyboard input layout (US International for example)?",
"Why I'm seeing a lock besides the partition I'm trying to modify with gparted? I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) partition to fill up the created unallocated space. A screenshot of my current disk. (With the livecd there's no 'key' icon after sda6) My first thought was just right click on sda6 → move/resize → done. Unfortunately I cannot resize or move the partition. However I can resize the NTFS partition. I guess it is because the extended sda4 partition is locked. I couldn't see an unlock possibility though… So how do I resize the ext4 partition anyway, probably by unlocking the extended partition, but how?",
"How do the Incredible Hulk's pants stay on but not his shirt? I guess I can live with the fact that the changes size drastically when he transforms, but why does his shirt rip off and not his pants? I think that we need a little better answer than \"it keeps us tied to the fact that inside he's still human\".",
"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?",
"Can we build capacitors on a PCB board? For the magnitude of nF or µF capacitors, I hope I can build them on a PCB board. The capacitor is like a two metal layer and something between them. Is this possible? Not buying the capacitor, just design the capacitor on the PCB board. Double metal layers on the PCB board.",
"At the beginning of my document, I have created a counter using \\newcounter. Over the course of the document, this counter is increases using \\stepcounter. How can I display the final value of the counter in a place prior to the the final occurrence of \\stepcounter, such as at the beginning of the document?",
"Let $ X \\subset \\mathbb{R}$ be a non-empty, open set and let $f: X \\rightarrow \\mathbb{R}$ be a continuous function. Show that the inverse image of an open set is open under f, i.e. show: If $M \\subset \\mathbb{R}$ is open, then $f^{-1}(M)$ is open as well. I think that this should basically follow from the definitions, but I'm still having some troubles with the proof. Suppose $M \\subset \\mathbb{R}$ is open, then it follows that $\\forall z \\in M, \\exists r > 0: K_r(z) \\subseteq M$ Since f is continuous it follows for each $x_0 \\in X$ that for each $\\epsilon > 0 ,\\exists \\delta > 0 : |f(x)-f(x_0)|< \\epsilon, \\forall x \\in X: |x-x_0|<\\delta$ Now I need to show that $f^{-1}(M)$ is open, so that for each $z \\in M, \\exists r>0: K_r(f^{-1}(z_0)) \\subseteq f^{-1}(M)$ I'm not sure how to prove this. I guess since $z = f(x)$ and since M is open we have that $\\exists r>0:\\{z:|z-z_0|<r\\}\\subseteq M$. And since f is continuous: $|f(x)-f(x_0)| = |z-z_0|< \\epsilon$ for all $|x-x_0|<\\delta$, but since $|x-x_0|=|f^{-1}(z)-f^{-1}(z_0)|<\\delta$ it somehow follows from that that $f^{-1}(M)$ is open?! Which is just horrible and probably completely wrong. But I'm really confused from all the definitions right now and need some help please.",
"How is the amplitude of light related to number of photons? If you increase the number of photons leaving a light source you increase the brightness/intensity, so it could be said that intensity is directly proportional to number of photons. However intensity is directly proportional to amplitude squared, so this leads me to wonder that if you increase the amplitude of a light wave, are you just creating more photons rather than affecting each individual photon in some way?",
"Idiom for a speech with redundant information",
"How to check type of variable in Java?",
"How to view recently opened media files? In windows we have an option to view recently opened media files as my recent documents, I was wondering does there exists something like that in Ubuntu? via terminal or via GUI?",
"threeparttablex table notes for tabu tabulars with less than \\textwidth",
"Finding empty directories recursively",
"understanding TTNavigator",
"This is probably a silly question, but how can I run ANOVA using only the mean, standard deviation, and the sample size? i.e. Group mean sd n 1: 200 5 5 2: 100 22 5 3: 150 14 5 I am using Statsoft Statistica software. I know how to run it using the spreadsheet with all the data, but I have never done this using only the information listed above. Any information would be greatly appreciated.",
"A stranger told me that he will give me an allowance of $ weekly. I know the saying \"If it sounds too good to be true, then it is\". He told me that he would email me his check and I would be able to deposit it via mobile banking. The only information he needs is my email, name on bank account, and bank name. Is this too much information? Do you think this is a scam? I would definitely know if it was a scam if he asked for my log in but that is not what he wants. Thank you for your time and answers!",
"Android reject incoming call"
] | medi_sts_stackexchange_dupe |
SSH connection refused after upgrading | SSH Server stops working after reboot, caused by missing /var/run/sshd | [
"\"'void' type not allowed here\" error (Java)",
"How does Linux kernel compare to microkernel architectures? I read once that one advantage of a microkernel architecture is that you can stop/start essential services like networking and filesystems, without needing to restart the whole system. But considering that Linux kernel nowadays (was it always the case?) offers the option to use modules to achieve the same effect, what are the (remaining) advantages of a microkernel?",
"Are shell scripts sensitive to encoding and line endings?",
"What does \"--\" (double-dash) mean? I have seen -- used in the compgen command. For example: compgen -W \"foo bar baz\" -- b What is the meaning of the -- in there?",
"There are lots of questions tagged that don't have a response. How do we interpret this? Is it because they are declined by default? We just have to wait for a response (the team is very busy)? Is Jeff the only one that reviews this questions? I suppose the ones that have negative votes may (or may not) be declined by default, but there are quite a few with some to a lot upvotes that should have an official answer.",
"How to lazy load images in ListView in Android",
"I'm trying to display models that have shading drawn or baked directly on the textures, but I can't figure out how to disable Blender's default scene lighting. If there are no lights in the scene, everything is black, but I want to see the textured objects fully bright. How do I disable the lighting? NOTE: Just before posting this, I found the \"Shadeless\" material property, which does more or less what I want. However, is there a way to globally toggle the default lighting?",
"Negative Mass and gravitation",
"How do I check if an object has a specific property in JavaScript? Consider: x = {'key': 1}; if ( x.hasOwnProperty('key') ) { //Do this } Is that the best way to do it?",
"How to install Python 3.6?",
"Let $X$ be a transitive $G$-set. ($G$ acts on $X$ transitively.) If $X$ is finite and has at least two elements, show that there is some element $g$ $\\in$ G which does not have any fixed points; that is, such that $g$$($$x$$)$ $\\ne$ $x$ for all $x$ $\\in$ $X$ I am trying to use contradiction, but it is not very clear to me why this is true.",
"In the first half of Tenet, there is a scene where The Protagonist and Neil break into Freeport and find a glass wall with bullet holes (could only find a good photo with Christopher Nolan in it): In the next scene, we find out that these bullet holes were caused by an inverted armed man entering the room (exiting the room from their perspective) and reverse-shooting the glass, which removes the bullet holes from the future-facing perspective. This all makes sense, but raises a question: how long were the bullet holes there in the first place? Were they in place as soon as the glass was installed, possibly years ago? Or even back when the glass was manufactured?",
"How does time work in The Matrix?",
"How to create a new object instance from a Type One may not always know the Type of an object at compile-time, but may need to create an instance of the Type. How do you get a new object instance from a Type?",
"Understanding UNIX permissions and file types",
"How can I add a PPA from a previous release?",
"Why does volatile exist? What does the volatile keyword do? In C++ what problem does it solve? In my case, I have never knowingly needed it.",
"computing the orbits for a group action Let $G$ be the Galois group of a field with nine elements over its subfield with three elements. Then the number of orbits for the action of $G$ on the fields with nine elements is 3 5 6 9 I have no idea how to compute the numbers of orbits for a group action. Anyone please help me. Thanks.",
"In The Last Jedi: The Resistance fleet is tracked through hyperspace by the First Order after they make their jump away from their old base. As soon as the FO ships appear, the Resistance immediately come to the (correct) conclusion as to the tech that was used. Why would they assume the use of this tech, that they have never encountered before, as opposed to the more common technique of tracking a ship through the use of a homing beacon.",
"Prove that $a^3+b^3+c^3 \\geq a^2b+b^2c+c^2a$ Let $a,b,c$ be positive real numbers. Prove that $a^3+b^3+c^3\\geq a^2b+b^2c+c^2a$. My (strange) proof: $$ \\begin{align*} a^3+b^3+c^3 &\\geq a^2b+b^2c+c^2a\\\\ \\sum\\limits_{a,b,c} a^3 &\\geq \\sum\\limits_{a,b,c} a^2b\\\\ \\sum\\limits_{a,b,c} a^2 &\\geq \\sum\\limits_{a,b,c} ab\\\\ a^2+b^2+c^2 &\\geq ab+bc+ca\\\\ 2a^2+2b^2+2c^2-2ab-2bc-2ca &\\geq 0\\\\ \\left( a-b \\right)^2 + \\left( b-c \\right)^2 + \\left( c-a \\right)^2 &\\geq 0 \\end{align*} $$ Which is obviously true. However, this is not a valid proof, is it? Because I could just as well have divided by $a^2$ rather than $a$: $$ \\begin{align*} \\sum\\limits_{a,b,c} a^3 &\\geq \\sum\\limits_{a,b,c} a^2b\\\\ \\sum\\limits_{a,b,c} a &\\geq \\sum\\limits_{a,b,c} b\\\\ a+b+c &\\geq a+b+c \\end{align*} $$ Which is true, but it would imply that equality always holds, which is obviously false. So why can't I just divide in a cycling sum? Edit: Please don't help me with the original inequality, I'll figure it out."
] | medi_sts_stackexchange_dupe |
Android setTime() throwing NullPointer Exception | What is a NullPointerException, and how do I fix it? | [
"Will doing timelapses break my camera? I was planning to do some timelapses in the near future, until I realised that if I leave my camera taking pictures for a week or 2, I will soon reach the max number of shutter count and my camera would break. Then I read from an unverified source that during timelapse the shutter doesn't move, so there is no way to break it. I am confused. Is it possible to take timelapses without physically destroying the shutter in a month? In particular, I am interested in Canon 80D model.",
"How does the Flash breathe while utilizing his super speed? How do the Flashes breathe utilizing their super speed? The air pressure would be extreme. Do they run in a pressurized bubble?",
"Watching The Lord of the Rings movies I was really captivated by the elephant riders and the men in brazen scale armor who aided the orcs against the forces of Gondor and Rohan. From what I know they are from the cultures that worship Sauron. I'd like to know what Tolkien wrote about them, their religion, their way of life, and so on. From",
"How accurate is approximating the Earth as a sphere? What level of error do I encounter when approximating the earth as a sphere? Specifically, when dealing with the location of points and, for example, the great circle distances between them. Are there any studies on the average and worst case error compared to an ellipsoid? I'm wondering how much accuracy I'd be sacrificing if I go with a sphere for the sake of easier calculations. My particular scenario involves directly mapping WGS84 coordinates as if they were coordinates on a perfect sphere (with the defined by the IUGG) without any transformation.",
"Using the simple example below, what is the best way to return results from multiple tables using Linq to SQL? Say I have two tables: Dogs: Name, Age, BreedId Breeds: BreedId, BreedName I want to return all dogs with their BreedName. I should get all dogs using something like this with no problems: public IQueryable<Dog> GetDogs() { var db = new DogDataContext(ConnectString); var result = from d in db.Dogs join b in db.Breeds on d.BreedId equals b.BreedId select d; return result; } But if I want dogs with breeds and try this I have problems: public IQueryable<Dog> GetDogsWithBreedNames() { var db = new DogDataContext(ConnectString); var result = from d in db.Dogs join b in db.Breeds on d.BreedId equals b.BreedId select new { Name = d.Name, BreedName = b.BreedName }; return result; } Now I realize that the compiler won't let me return a set of anonymous types since it's expecting Dogs, but is there a way to return this without having to create a custom type? Or do I have to create my own class for DogsWithBreedNames and specify that type in the select? Or is there another easier way?",
"What is the best way to convert seconds into (Hour:Minutes:Seconds:Milliseconds) time? What is the best way to convert seconds into (Hour:Minutes:Seconds:Milliseconds) time? Let's say I have 80 seconds, are there any specialized classes/techniques in .NET that would allow me to convert those 80 seconds into (00h:00m:00s:00ms) format like to DateTime or something?",
"Is it possible to install an earlier version of Skype on Windows 8?",
"I'm trying to perfectly overlap two images, one complementary of the other, but apperas a white stripe in the conjunction of the path, all points are perfectly aligned how can I fix?",
"How do I install a .deb file via the command line? How do I install a .deb file via the command line?",
"I have a CSV with an address field (no lat/long), so I went to Google My Maps, imported the csv and geocoded of the records. Now I export the layer as KML and added the KML to QGIS and Google Earth Pro, but in non of them I can see the markers. In fact in QGIS, the KML layer is added as datatable (no geometry). What's happening? How can I export a geometry layer from google My Maps?",
"How to use the Extended Euclidean Algorithm manually? I've only found a recursive algorithm of the extended Euclidean algorithm. I'd like to know how to use it by hand. Any idea?",
"Why should users have to press Return twice to insert new lines? When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line. Is this really supposed to behave this way? If so, why?",
"Prove $\\gcd(a+b, a-b) = 1$ or $2\\,$ if $\\,\\gcd(a,b) = 1$ I want to show that for $\\gcd(a,b) = 1$ $a,b \\in Z$ $\\gcd(a+b, a-b) = 1$ or $\\gcd(a+b, a-b) = 2$ holds. I think the first step should look something like this: $d = \\gcd(a+b, a-b) = \\gcd(2a, a-b)$ From here I tried to proceed with two cases. 1: $a-b$ is even, which leads to $\\gcd(a+b, a-b) = 2$ 2: $a-b$ is odd, which leads to $\\gcd(a+b, a-b) = 1$ My main problem I think is, that I do not know how I should include $\\gcd(a,b) = 1$ in the proof. Any help is appreciated. Thx in advance. Cherio Woltan",
"I have a table with a varchar(max) column that stores text ~4-10KB in size. Data is just being added - never modified, it is a log. My problem is that a table grows too large in size - I would like to keep about 1000000 rows in this table. I am limited to SQL Server Express and hit the limit on database size. Compression is not available in SQL Server Express and I afraid that Filestream may not be appropriate and the number of files would be too big. What is the best solution in this case?",
"A single row background colour",
"I heard Andrew Ng (in a video I unfortunately can't find anymore) talk about how the understanding of local minima in deep learning problems has changed in the sense that they are now regarded as less problematic because in high-dimensional spaces (encountered in deep learning) critical points are more likely to be saddle points or plateaus rather than local minima. I've seen papers (e.g. ) that discuss assumptions under which \"every local minimum is a global minimum\". These assumptions are all rather technical, but from what I understand they tend to impose a structure on the neural network that make it somewhat linear. Is it a valid claim that, in deep learning (incl. nonlinear architectures), plateaus are more likely than local minima? And if so, is there a (possibly mathematical) intuition behind it? Is there anything particular about deep learning and saddle points?",
"So I have learned in class that light can get red-shifted as it travels through space. As I understand it, space itself expands and stretches out the wavelength of the light. This results in the light having a lower frequency which equates to lowering its energy. My question is, where does the energy of the light go? Energy must go somewhere! Does the energy the light had before go into the mechanism that's expanding the space? I'm imagining that light is being stretched out when its being red-shifted. So would this mean that the energy is still there and that it is just spread out over more space?",
"Let ($x_s$) be a convergent sequence, where $x_s>0$ for all s, and $y_s$ be a sequence such that $$\\displaystyle \\Large y_s=\\frac{s}{\\frac{1}{x_1}+...+\\frac{1}{x_s}}$$ Prove $\\displaystyle \\lim x_s$=$\\lim y_s$ So I know things like $x_s$ is bounded, and that it's Cauchy, but I can't think of anything to solve it. Any help is appreciated.",
"Deriving the Coulomb force equation from the idea of photon exchange?",
"Steam not opening in Ubuntu 16.04 LTS I have never used Ubuntu or any other Linux OS before last Friday. For all I know, I might have installed Ubuntu wrong and be missing a component. I would prefer if you use simplest terminology possible, but I'm OK with doing a bit of googling if need be. I just installed Steam for Ubuntu 16.04 but it won't open when I click on it in the launcher. The icon flashes for a few seconds, stops and then nothing happens. I looked in the system monitor and steam shows up there but ending the process and trying again does nothing. I heard trying to open apps that aren't working through the terminal tells you what the error is so I tried that and I got this: Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Please help I just want to play CS:GO again."
] | medi_sts_stackexchange_dupe |
Launching projectile from a "canon" | Tracking Object Position - Firing on a Trajectory | [
"Can spells be cast through a Wall of Force?",
"I am trying to create Thiessen (Voronoi) polygons, based on points within a defined shapefile extent. The output should be inclusive to the feature. The output I receive now is the rectangular area around the selected points. Steps I am using: 1. select points of interest (inside and outside spatial extent) 2. set primary display field to FID (aka:ObjectID) 3. Environment… > Set 'Analysis Mask' to shapefile with feature (in this case, a watershed) Now here is where the problem starts. I have a set of instructions for arc 9.3, but I am now operating on ArcGIS 10 (Spatial Analyst installed & activated). Also, just to clarify, I did scour the inter-webs for some number of hours- Esri support, gis.SE, Professor Google... ######## 9.3.1 version: Spatial Analyst >> Distance >> Allocation - set 'Assign To' as point shapefile of selected data - set cell size 10.0 methods tried: Analysis >> Create Thiessen Polygons -- Many variations of selected features -- File locations, both inside and out of file geodatabase I am open to any solution, using Arc 10.0 and/or python would be ideal. The first image is an example. The output does not need to be exact. wiki:",
"Does $\\lim_{n\\to \\infty} \\int^{\\infty}_{-\\infty} f_n(x) dx\\, = \\int^{\\infty}_{-\\infty} f(x)\\,dx\\,$? If $\\displaystyle\\{f_n(x)\\}$ is sequence of continuous function on $\\mathbb{R}$ converging uniformly to $f(x)$, then does $\\displaystyle\\lim_{n\\to \\infty} \\int^{\\infty}_{-\\infty} f_n(x) dx\\, = \\int^{\\infty}_{-\\infty} f(x) dx\\,$ hold? I know it holds if we integrate over an interval of the form $[a,b]$ but not sure about improper integral!",
"How can I get admin access to a Mac without knowing the current password? My Father died last year and I inherited his Mac Mini. My wife has retired and we are trying to set up the mini for her use but the changes we want to make require admin access and we do not have the information my father used to set up the machine. Is it possible to reset the admin information without having the old information? If so, how would I go about it? I am not a Mac user usually so any guidance will have to be pretty simple!",
"Charging lead-acid batteries?",
"The given differential equation $$\\lvert{dy\\over{dx}}\\rvert\\,+\\mid{y}\\mid+1=0 $$ I don't know how to deal with modulus sign in order to prove the statement Reference-Different Equations by Shipley L Ross Ch1 Exercise 7(a)",
"What’s the point in having “www” in a URL? Other than for historical reasons, is there is reason to have “www” in a URL? Should I create a permanent redirect from www.xyz.com to xyz.com, or from xyz.com to www.xyz.com? Which one would you suggest and why?",
"Can Java's NullPointerException be changed to report on which variable was null?",
"I am interested in comparing the computational cost of grid search vs. random search algorithm for hyperparameter tuning. Is random search computationally less expensive then grid search? Is there an article/paper that talks about this topic? Thank you,",
"When to use 'which' or 'in which' or 'that' (as relative pronouns)?",
"jQuery attribute selector variable",
"How could I adjust the size and placement of chapter heading in my custom class? I am using report class as my base. When I used titlesec package inside my custom class, it threw error ! Package titlesec Error: Not allowed in `easy' settings.",
"I have a raster image (Sentinel-2 band 4) and a shapefile covering the same area than the image (same projection and extension). The shapefile has different polygons which are agricultural fields. I want to create a new file where, for each polygon, the mean value of the pixels that are inside it is calculated. Could you please help me to find an appropriate R code for that?",
"How do I set up SSH so I don't have to type my password? How do I set up SSH so I don't have to type my password when connecting to a host?",
"What is the equation for the scale factor of the universe, a(t), for the best fit of data to the $\\Lambda CDM$ Model of Cosmology? Ideally I like a single formula or multiple formulas for different time ranges that would cover the time from the end of inflation through 100+ billion years after the big bang using the $\\Lambda CDM$ Model. I know that from the end of inflation back to the time of the big bang would be much more speculative, but some wild estimate would be appreciated for that time range also! The Friedmann–Lemaître–Robertson–Walker metric defines the scale factor, a(t), from the metric: $$-c^2d\\tau^2 = -c^2dt^2+a(t)^2d\\Sigma^2$$ where $d\\Sigma^2$ ranges over the 3 dimensional space of the universe and does not depend on time. Usually the scale of the scale factor is set by defining $a(t_{now}) = a(13.78 B yr) \\equiv 1$",
"Find the number of dissimilar terms in the expansion of $$\\bigg(x+\\frac{1}{x}+x^2+\\frac{1}{x^2} \\bigg)^{20}$$ Could someone give me some hint to proceed in this question. I used $x+1/x=t$ and wrote expansion as $(t^2+t-2)^{20}$ but even this does not convey much information. Please help.",
"I want to propose for a Persian version of Super User (I will explain why later) so I want to create a proposal in Area 51, but this means non-English question and answers, Is this OK? P.S: This may be a question for other non-English proposals too. Update: The main question is: How can non-English site proposals pass the Commitment phase? How can the English community support non-English proposals? You can find some information in about the Stack Exchange 2.0 Site Creation Process (specially Commitment phase): How does this thermometer work? Intuitively, if Jon Skeet says that he’ll participate in the Sock Puppet Stack Exchange, that commitment is a better sign that the site will succeed than if we get a commitment from a random Internet user who has never participated in Stack Overflow. Sure, they’re both wonderful people, I’m sure, but Jon Skeet has proven that he likes to participate in Stack Overflow so it’s a good bet that he’ll participate in SockExchange, too. .... we’re going to require a selection of existing users with certain badges and reputation that proves that they’ll participate. For instance (and I’m making these numbers up), we might require that a site get at least 100 commitments from people with the Teacher badge, at least 20 from people with the Enthusiast badge, and at least 50 from people with a reputation of 1000 or more on some of our sites.",
"I am looking for a way to convert a long string (from a dump), that represents hex values into a byte array. I couldn't have phrased it better than the person that posted . But to keep it original, I'll phrase it my own way: suppose I have a string \"00A0BF\" that I would like interpreted as the byte[] {0x00,0xA0,0xBf} what should I do? I am a Java novice and ended up using BigInteger and watching out for leading hex zeros. But I think it is ugly and I am sure I am missing something simple.",
"When does Thread.CurrentThread.Join() make sense?",
"Can I find out which tags I have created?"
] | medi_sts_stackexchange_dupe |
Can't locate element | How to analyse 'Element not Found' exceptions when working with Selenium | [
"I am using cURL to insert data into salesforce. It works with single record but I need to insert multiple records at a time. Is it possible to do so and is it possible via a REST interface?",
"Pass in an array of Deferreds to $.when()",
"Edited vs emitted - why one t vs two t's Why does \"edited\" have one \"t\" and and \"emitted\" has two? \"Edit\" and \"emit\" are so similar in spelling and pronunciation. I keep wanting to type \"editted\" for some reason.",
"I would like to draw an arrow like this using TikZ: This is taken from . I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't need all the workflow stuff. I simply want to draw such an arrow at a certain place in my text, e.g. --> \\documentclass{article} \\usepackage{<???>} \\usepackage{tikz} \\usetikzlibrary{<???>} \\begin{document} Donec vehicula augue eu neque. Pellentesque habitant morbi \\tikz <???code for the arrow???> ; tristique senectus et netus \\end{document} PS: Some explanations in your solution would be much appreciated, otherwise it will be difficult to customize it.",
"How to implement uniform grids Up until now, I implemented all-against-all collision detection in my games. It worked fine. But I reached a point where implementing this kind of collision detection, makes the game run poorly, because there are two many objects to iterate through and check for collision. I have searched this site and found something about 'uniform grids'. But I didn't completely understand what it is and how to implement it. Tried to Google it but nothing easy enough to understand came up. I am a beginner to 2D-game programming. Do you mind trying to explain to uniform-grids, or link me to some good tutorial? Thanks a lot",
"Maximum power transfer and Thevenin",
"Let $G$ be a group and $\\{H_i\\}_{i\\in I}$ a family of subgroups. I would like to find a condition that will imply that $\\cup_{i\\in I} H_i$ is a subgroup. I know that it's not true in general, I need help to find this condition. Any help is welcome. Thanks a lot.",
"Decomposition of semisimple Lie algebra via its roots Exercise 14.33 in Fulton and Harris's Representation Theory claims that If the roots of a semisimple Lie algebra lie in a collection of mutually orthogonal subsets, one sees that the Lie algebra decomposes into a direct sum accordingly. Although intuitively I can see why this is true, could anybody direct me to a proof of this assertion, or outline how I should go about doing it?",
"Is there a systematic way of finding the conjugacy class and/or centralizer of an element? Is there a systematic way of finding the conjugacy class and centralizer of an element? Could the task be simplified if we are working with \"special groups\" such as $S_n$ or $A_n$? Are there any intuitive approaches? Thanks.",
"Resizing videos with ffmpeg/avconv to fit into static sized player I have a html 5 video player which is 700px wide, 400px high. I'm trying to use avconv to use ffmpeg to resize (while retaining the aspect ratio) and making sure it fits into my player. Input can be a file of any size, so I need to resize the larger ones but center the smaller ones with black bars. So far I've tried: -s and -aspect, I've seen pad being used with the -vf switch but don't understand how it works enough to get what I need. This is a rough idea of what I need. I'm not sure if it's even possible. It's almost like CSS's max-width/max-height. I realise this may just be a jumble of words but if anyone happens to understand what I'm talking about, I'd appreciate help, Thanks. avconv command: avconv -y -i control.avi -vcodec libx264 -b 2000k -bufsize 20M -acodec aac -strict experimental -ar 44100 -ab 256k bigbuck_out.mp4",
"Representing network flows? For a project I'm working on, I need to represent network flows over 1,000 zones with directionality. Any suggestions on displaying the information in a nice and non overwhelming way? Any examples on displaying network flows in heavy urban areas? Color suggestions and thickness schemes? any \"not to dos\" when representing network flows?",
"Cannot select text in Safari address bar",
"On the uniqueness of the Riemann-Christoffel tensor According to Section 6.2, Gravitation and Cosmology by Weinberg, the Riemann-Christoffel tensor is the only tensor that can be constructed out of the second (or lower) order derivatives of the metric tensor and is linear in the second order derivatives. The reasoning behind the same goes like this: In a class of frames where $\\Gamma^{\\lambda}_{\\mu\\nu} =0$, the transformation rule for $\\dfrac{\\partial \\Gamma^{\\lambda}_{\\mu\\nu}}{\\partial x^{\\kappa}}$ involves an inhomogeneous term which is symmetric in $\\mu$, $\\nu$, and $\\kappa$. Thus, if one is to construct a tensor which is a linear combination of the first order derivatives of the Christoffel symbol then the only way to do so is by eliminating the inhomogeneous part of the transformation and this could be done only by making the combination explicitly antisymmetric in $\\mu$ and $\\kappa$. Since in these frames, $R^{\\lambda}_{\\mu\\nu\\rho}$ $ = \\dfrac{\\partial \\Gamma^{\\lambda}_{\\mu\\nu}}{\\partial x^{\\rho}} - \\dfrac{\\partial \\Gamma^{\\lambda}_{\\mu\\rho}}{\\partial x^{\\kappa}} $, $R^{\\lambda}_{\\mu\\nu\\rho}$ is the only tensor that can be formulated using the second (or lower) order derivatives of the metric tensor and is linear in the second order derivatives. I think the presented argument can only suffice to prove that $R^{\\lambda}_{\\mu\\nu\\rho}$ is the only tensor that can be formulated from the first derivatives of the Christoffel symbol and is linear in them. I can't figure out why this suffices to assert that $R^{\\lambda}_{\\mu\\nu\\rho}$ is the only tensor that can be constructed out of the second (or lower) order derivatives of the metric tensor and is linear in the second order derivatives. Edit: As the metric is covariantly constant, $\\dfrac{\\partial g_{{\\mu}{\\nu}}}{\\partial x^{\\rho}} = \\Gamma^{\\kappa}_{{\\mu}{\\rho}}g_{{\\kappa}{\\nu}}+\\Gamma^{\\kappa}_{{\\nu}{\\rho}}g_{{\\kappa}{\\mu}}$. Therefore, $\\dfrac{\\partial^2 g_{{\\mu}{\\nu}}}{\\partial x^{\\xi}\\partial x^{\\rho}} = \\bigg(\\dfrac{\\partial \\Gamma^{\\sigma}_{{\\mu}{\\rho}}}{\\partial x^{\\xi}} + \\Gamma^{\\sigma_1}_{{\\mu}{\\rho}}\\Gamma^{\\sigma}_{{\\sigma_1}{\\xi}}\\bigg)g_{{\\sigma}{\\nu}}+\\bigg(\\dfrac{\\partial \\Gamma^{\\sigma}_{{\\nu}{\\rho}}}{\\partial x^{\\xi}} + \\Gamma^{\\sigma_1}_{{\\nu}{\\rho}}\\Gamma^{\\sigma}_{{\\sigma_1}{\\xi}}\\bigg)g_{{\\sigma}{\\mu}} + \\bigg(\\Gamma^{\\sigma}_{{\\mu}{\\rho}}\\Gamma^{\\sigma_1}_{{\\nu}{\\xi}}+\\Gamma^{\\sigma}_{{\\nu}{\\rho}}\\Gamma^{\\sigma_1}_{{\\mu}{\\xi}}\\bigg)g_{{\\sigma}{\\sigma_1}} $ Now, if I want to show that the Riemann-Christoffel tensor is the only (non-trivial and independent) tensor that can be formulated out of the linear combinations of the second order derivatives of the metric tensor then I can equivalently show that the above expansion can be expressed linearly in terms of the Riemann-Christoffel tensor. But I am stuck over how to do it. Also, I am a little bit unclear as to what a linear combination means in this context. The coefficient of the second order term can be only a scalar constant or can it be the metric or can it be the metric that is getting summed over any of the indices as well?",
"What type of solder is safest for home (hobbyist) use?",
"Why does an open interval NOT have measure zero?",
"How to remove images from showing in a post with the_content()? Trying to learn more about creating my own themes and not using any plugins I wanted an ability to display all the images in a post excluding the thumbnail in my single-foobar.php file and I can do that with: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $thumb_ID = get_post_thumbnail_id( $post->ID ); $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID, 'exclude' => $thumb_ID ); $attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { echo '<div class=\"portproject\">'; $image_res = wp_get_attachment_image( $attachment->ID, ' img-responsive' ); echo $image_res; echo '</div>'; } } else { ?> <span> No pictures loaded at this time</span> <?php } endwhile; endif; ?> However, when I apply my static HTML and then try to call get_the_content() with: <?php $content = get_the_content(); $content = preg_replace(\"/<img[^>]+\\>/i\", \"(image) \", $content); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?> it removes the images but leaves a (image) in the post with spaces then displays the remaining text. I did find a similar but it suggests using get_the_content() but that strips all the styling from the post. So my question is how can I strip images from the_content()? I did find \"\" from my searches but that still uses the get_the_content() approach.",
"Calculate business days I need a method for adding \"business days\" in PHP. For example, Friday 12/5 + 3 business days = Wednesday 12/10. At a minimum I need the code to understand weekends, but ideally it should account for US federal holidays as well. I'm sure I could come up with a solution by brute force if necessary, but I'm hoping there's a more elegant approach out there. Anyone? Thanks.",
"Evaluate $\\int_0^1 \\frac{\\log \\left( 1+x^{2+\\sqrt{3}}\\right)}{1+x}\\mathrm dx$ I am trying to find a closed form for $$\\int_0^1 \\frac{\\log \\left( 1+x^{2+\\sqrt{3}}\\right)}{1+x}\\mathrm dx = 0.094561677526995723016 \\cdots$$ It seems that the answer is $$\\frac{\\pi^2}{12}\\left( 1-\\sqrt{3}\\right)+\\log(2) \\log \\left(1+\\sqrt{3} \\right)$$ Mathematica is unable to give a closed form for the indefinite integral. How can we prove this result? Please help me. EDIT Apart from this result, the following equalities are also known to exist: $$\\begin{align*} \\int_0^1 \\frac{\\log \\left( 1+x^{4+\\sqrt{15}}\\right)}{1+x}\\mathrm dx &=\\frac{\\pi^2}{12} \\left( 2-\\sqrt{15}\\right)+\\log \\left( \\frac{1+\\sqrt{5}}{2}\\right)\\log \\left(2+\\sqrt{3} \\right) \\\\ &\\quad +\\log(2)\\log\\left( \\sqrt{3}+\\sqrt{5}\\right) \\\\ \\int_0^1 \\frac{\\log \\left( 1+x^{6+\\sqrt{35}}\\right)}{1+x}\\mathrm dx &= \\frac{\\pi^2}{12} \\left( 3-\\sqrt{35}\\right)+\\log \\left(\\frac{1+\\sqrt{5}}{2} \\right)\\log \\left(8+3\\sqrt{7} \\right) \\\\ &\\quad +\\log(2) \\log \\left( \\sqrt{5}+\\sqrt{7}\\right) \\end{align*}$$ Please take a look .",
"CAML query daterange not working",
"JavaScript private methods"
] | medi_sts_stackexchange_dupe |
env VAR=VAL command or VAR=VAL command | To env or not to env | [
"How to implement Enums in Ruby?",
"I have a production server running with the following flag: -XX:+HeapDumpOnOutOfMemoryError Last night it generated a java-38942.hprof file when our server encountered a heap error. It turns out that the developers of the system knew of the flag but no way to get any useful information from it. Any ideas?",
"Are units in English singular or plural? I am a little bit confused about using units in English, sometimes I hear that people use singular units for plural things, sometimes they use plural ones. Which one is correct? 3 meter(s) long? during a 2 week(s) period? 0.5 dollar(s)",
"How can one find the zeroes of $f(x)=ae^{bx}+cx+d$? A certain physics problem I have been working on has turned into a math problem. Particularly, I want to find the solutions of some equation of the form $$f(x)=ae^{bx}+cx+d = 0$$ where $a, b, c,$ and $d$ are constant, real numbers that come from the physics problem and $x$ will be a real number. I do not know how to find the solutions of an equation of this form. In the special case where $c=0$, the solution is simply $$x = \\frac{\\ln(\\frac{-d}{a})}{b}$$ but for other values of $c$, I am stumped. If there is no exact form for the roots, is there a relatively simple way to estimate the roots?",
"How do I get query string value from script path?",
"How do I assign a value to a whole array of integers?",
"Is the cardinality of the Cartesian product of two equinumerous infinite sets the same as the cardinality of any one of the sets? I couldn't find this explicitly stated in any handout or text. This certainly seems to be true from the examples I have seen: The Cartesian product of two infinitely countable sets is again infinitely countable. The Cartesian product of two sets with cardinality of continuum again has cardinality of continuum.",
"Do lure modules and incense cause new pokemon to spawn near you, or existing pokemon to be drawn to you?",
"Saving image from PHP URL",
"Finite choice without AC Can anyone explain how we choose one sock from each of finitely many pairs without the axiom of choice? I mean : To choose one sock from each of infinitely many pairs of socks requires the Axiom of Choice, but for shoes the Axiom is not needed. The idea is that the two socks in a pair are identical in appearance, and so we must make an arbitrary choice if we wish to choose one of them. For shoes, we can use an explicit algorithm -- e.g., \"always choose the left shoe.\" Why does Russell's statement mention infinitely many pairs? Well, if we only have finitely many pairs of socks, then AC is not needed -- we can choose one member of each pair using the definition of \"nonempty,\" and we can repeat an operation finitely many times using the rules of formal logic (not discussed here).",
"I've seen many variants of this problem online, but not quite the same as this, so I don't believe this is a duplicate. The famous differential equation problem models a skydiver jumping out of a plane as $$m \\frac{dv}{dt} = -mg-cv$$ where m is the mass of the skydiver, g is acceleration due to gravity (9.81 m/s) and c is the coefficient of air resistance. Here is my question: Suppose the skydiver exits the stationary helicopter at an altitude of 2000m and opens the parachute at 500m. For this exercise, the parachute opens instantaneously. Suppose m= 70kgs, the coefficient of air resistance is c = 14 for a free falling body and c = 105 after the parachute opens. When does the skydiver open the parachute? When does the Skydiver hit the ground? So my attempt at a solution kinda starts like this, but this is where I get stuck: Let's assume that s(t) is the distance the body falls in time t from its initial point of release, then $v = \\frac{ds}{dt}$ and $a = \\frac{dv}{dt} = \\frac{d^2s}{dt^2}$. Thus we have a second order differential equation: $m \\frac{d^2s}{dt^2} = -mg-c\\frac{ds}{dt}$. By simply manipulation, we get $m \\frac{d^2s}{dt^2} + c\\frac{ds}{dt} = mg$. I originally started thinking of finding the integrating factor, however, this seems more complicated and won't help produce the equation that I need. Would anyone be able to help? Much thanks in advanced!",
"Do local flows of left-invariant vector fields satisfy $\\Phi_X^t\\circ L_x=L_x\\circ \\Phi_X^t$? Given $G$ a lie group and $X$ a left-invariant vector field. Let $\\Phi_X^t$ be the local flow of $X$. Why can we conclude that $\\Phi_X^t \\circ L_x=L_x \\circ \\Phi_X^t$? Thanks!",
"Getting secondary citations right I have some questions regarding secondary citations (in an computer-science research paper that should be published in a journal). I know that they should be avoided when possible, but it is not always that easy. More specifically, my situation is this: Article A says: The average value of ... in ... is ... [B]. [C]’s study says that in ... the value is ... This statement is exactly what i need for my paper. If I read [B] and [C], I see that [A] cited them correctly and if I would have found these two other articles myself, I would have written the same. Now how to cite this in a correct way? [B] and [C] say (cited in [A]) ... and do a “bad” secondary quote; [B] and [C] say ... and neglect the investigation done by [A] and peform citation plagiarism; [A] says ... and neglect that the data was the achievement of [B] and [C]. [A] says based on the findings of [B] and [C] ... and do a secondary quote again.",
"I have noticed that if you look directly at tubelight (I have only white ones in my home) and close your eyes little, you see little random shaped colourless things sometimes with slow speed and sometimes with falling down. They are shaped like circles with something in between and in chains of random length. My father has also seen them. So, I am sure I am not imagining things. What the hell are they?",
"Preventing applications from stealing focus Are there any solutions to prevent applications stealing focus from the active window? This is especially annoying when I'm starting an application, switch to do something else and the new application starts receiving half a sentence of text.",
"Why Not Use Public Member Functions",
"How to prove a total order has a unique minimal element Let $R$ be a total order on set $S$. Prove that if $S$ has a minimal element, than the minimum element is unique. I have difficulties with proofs. I know any graph of a total order is a straight line, which clearly has a minimal element. How doI tell when something is mathematically proven? EDIT: this is how I would prove it Let $x, y \\in S$ such that x and y are minimal. Since S is a total order $x$ and $y$ are comparable and either case 1: one comes after the other and therefore one isn't the minimal case 2: both are the same and $x=y$ I know this isn't a mathy argument and could use help making it more presentable.",
"Measuring the distance between lines and points in QGIS Using QGIS - I have a vector of fault lines. I have point data in the form of a csv which I have also loaded into QGIS. I need to know how far each point is from the nearest fault line then enter this distance in a new column in the csv file. Any ideas?",
"How do I summon a named mob? In Java Edition, I can name a mob by using NBT tags like this: /summon zombie ~ ~ ~ {CustomName:'{"text":"TheUndead"}'} But in Bedrock Edition, I've heard NBT is not accessible from commands. What can I do to summon a mob with a custom name tag using the /summon command?",
"GTA 5 Social club I used to play gta 5 online on my ps3 but it ended up breaking and I can't use it anymore I purchased the game for xbox 360 and started playing the game all over again and some of you know how hard that can be specially online.. So I was wondering if I could somehow transfer my old ps3 social club account to my xbox an use it on xbox from now on?"
] | medi_sts_stackexchange_dupe |
Suggestion a way to buy reputation | Is there a way to buy SO reputation? | [
"I have a number of friends on my battle.net account. However, sometimes I don't want to appear online to some (or all) of them. Is there a way to be hidden from your friends on battle.net?",
"Questions in titles need to be repeated, why? To me this pattern seems ridiculous. But I frequently encounter the \"not a real question\" situation, when I put my question in the title, then the context for that specific question in the 'question body'. So: I am to take it that the title is almost completely irrelevant for establishing subsequent question body is asking? I choose my titles to expose the actual question so it need not be repeated below. If questions need to be repeated in the body, could we simply title it \"A question, click here and read below\" ? Tagged bug, as I have found this \"problem\" to be quite reproducible. Steps to reproduce: Ask a question with the clear, simple question in the title, and the evidence/context/example in the question body. Await close votes.",
"Output of Logistic Regression Prediction",
"Please add Right To Left text support in Stack Exchange You know, some of us read right to left... Certain sites like and have an obvious need for this, as Arabic and Hebrew are Right To Left (RTL) languages. Many answers on those sites cite the Torah and the Quran respectively. Directly quoting these sources properly requires RTL text.",
"Nonabelian semidirect products of order $pq$? I just constructed the semidirect product in Lang, and I'm trying to tie some facts together. From Ash's Algebra, I know that if $p\\lt q$ are distinct primes, if $q\\not\\equiv 1\\pmod{p}$, then any group $G$ of order $pq$ is abelian. Is the converse true, that for any primes $p\\lt q$, if $q\\equiv 1\\pmod{p}$ then there exists a nonabelian group of order $pq$? One example I found online is that $\\mathbb{Z}_3\\ltimes \\mathbb{Z}_7$ is nonabelian, and here $7\\equiv 1\\pmod{3}$. I was considering then semidirect products $\\mathbb{Z}_p\\ltimes\\mathbb{Z}_q$ where $q\\equiv 1\\pmod{p}$ and some homomorphism $\\phi\\colon \\mathbb{Z}_p\\to\\operatorname{Aut}(\\mathbb{Z}_q)$ I calculate that $$ (1,0)(0,1)=(1+0,\\phi_0(0)+1)=(1,1) $$ and $$ (0,1)(1,0)=(0+1,\\phi_{-1}(1)+0)=(1,\\phi_{p-1}(1)). $$ Is it true somehow that $\\phi_{p-1}(1)\\neq 1$ in each case to show the group is nonabelian? I guess if it did this would imply $\\phi_{p-1}$ is the trivial automorphism, so maybe there's something there? If not, is there a way to show $\\mathbb{Z}_p\\ltimes\\mathbb{Z}_q$ is nonabelian in these cases in general? Thanks.",
"How to make ttf-mscorefonts-installer package download fonts, after it says it installed? When I install \"Installer for Microsoft TrueType core fonts\" (ttf-mscorefonts-installer) from the Software Center on 14.04, it gives a positive response--but after this I get a download error. It seems that the files actually providing the fonts are never retrieved. Is there any way to resolve this?",
"Get the client IP address using PHP",
"Experiment to find structure of water Who first determined the structure of water (two hydrogen atoms stuck to an oxygen atom at approx 105 degrees), and, more importantly, how was this done?",
"Baking cloth simulation use only 20% of cpu ressources, how to get 100%? Baking a cloth use only 20% of CPU, inactive process of cpu is 78%, is there a way to use those extra 78% ? Blender 2.75 Windows 10",
"When can I say that $\\cup H_i$ is a group? Let $G$ be a group and $\\{H_i\\}_{i\\in I}$ a family of subgroups. I would like to find a condition that will imply that $\\cup_{i\\in I} H_i$ is a subgroup. I know that it's not true in general, I need help to find this condition. Any help is welcome. Thanks a lot.",
"I read this quite a while back, part of my parents library (they're in their 50s now) I think the book was probably published in the 70s or 80s, my copy was paperback. I don't recall the cover art, but I have vague recollections of a satellite on the cover and maybe blue with grid-lines below it? I've made concerted efforts to find it again but to no avail. My parents don't remember it either, but mum's an avowed book-aholic and buys a lot of books, reads them once and forgets about them, so that's not so surprising. The key parts I remember: Both the Soviets and Americans were working on psychic techniques and technologies, with real and tangible results including Remote Viewing. MK-ULTRA was explicitly namedropped in relation to the American psychic program. The Soviets and Americans both had orbiting superweapons, One was a microwave laser (or something very similar) and the other used slivers of the brains of psychics to blow people's brains up in a wide area. A super-psychic (male) took offence to the state of the cold-war and took control over the orbital weapons by manipulating the onboard computers psychically. There's a gruesome description of a psychic weapon being tested on monkeys in a lab, the POV character throws up afterwards in horror. I think there might have been more than one POV character. There's an extended description of the psychic orbital weapon as experienced by people in its area of effect. Similar to the monkeys, it builds up, starting with alzheimer-esque hand-shaking and building up to seizures and screaming before their brain liquifies fully and either comes out the nose and ears or outright blows the skull open. (this is one of the more vivid recollections I have of the book) I remember that the super-psychic was working wholly alone and did most of his psychic stuff from motels halfway around the world from events. I believe the super-psychic also killed other psychics explicitly. The weapon satellites had code-names Both weapons were used on cities in the course of the story I vaguely recall an office building getting targeted specifically at one point.",
"BibTeX: Abbreviate first name (aka given name) to 2 or 3 letters (not 1)",
"Given that the majority of biologists do not currently consider viruses to be alive, a virus can never die. It can, however, get destroyed by long exposures to soapy water, alcohol, and apparently certain frequencies of UV light. Why is an individual SARS-CoV2 virion not infectious forever? Or is it?",
"How to remove Firefox's \"inspect element\" button? This is driving me crazy! When FF 12 came out, Firefox's own 'Inspect Element' button on the right-click menu took the place of there the Firebug 'Inspect Element' button used to be. As I've been doing web development in Firefox forever, my muscle memory still clicks there when I want to use Firebug. Is there any way to remove the Firefox internal 'Inspect Element' and replace the button on the menu with Firebug's, returning it to its original position (marked NO in the screenshot)?",
"Cold fusion is being mentioned a lot lately because of some new setup that apparently works. This is an unverified claim. See for example: ( of that last link in the Wayback Machine, given frequent from that page.) While we should give the scientific community time to evaluate the set up and eventually replicate the results, there is undoubtedly some skepticism that cold fusion would work at all, because the claim is quite extraordinary. In the past, after Fleischmann and Pons announced their cold fusion results, in perfectly good faith, they were proven wrong by subsequent experiments. What are the experimental realities that make Fleischmann and Pons style cold fusions experiments easy to get wrong? Would the same risks apply to this new set up?",
"I have removed Windows 7 using GParted, and want my computer to boot straight into Ubuntu, but I still get the dual boot screen, how can I fix this?",
"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?",
"How to set textbox value in jQuery?",
"I am trying to build an executable jar program which depends on external jar downloaded. In my project, I included them in the build path and can be run and debug within eclipse. When I tried to export it to a jar, I can run the program but I can't when I try to press a button which includes function calls and classes from the external jar. I have edited the environment variables (Windows XP) CLASSPATH to include paths of all the external jar, but it doesn't work. A point to note is that I got compile warnings while exporting my executable jar, but it doesn't show up any description about the warnings. Would someone kindly provide a thorough guide on how to include an external jar program using eclipse?",
"I am studying English in Korea. All my friends and I are studying about 'sentence patterns' Sentence patterns, said in here, are S+V, S+V+C, S+V+O, S+V+I.O+D.O, S+V+O+O.C. But my teacher said these 5-sentence patterns are not perfect in grammar. But because we don't use English by mother language, they will be helpful for understanding English. Then, I came up with something. Is sentence patterns used everywhere? (like U.S.A, U.K, Australia, anyother country where people use english by their mother language?) I really wonder."
] | medi_sts_stackexchange_dupe |
Remove one drive from Win 10 | How do I get rid of OneDrive completely? | [
"Windows & Ubuntu dual boot.No menu to choose OS?",
"$|f'(x)| \\le g(x)$ implies $|f(b) - f(a)| \\le \\int_a^b g(x) dx$, without assuming $f'$ to be integrable.",
"Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC) I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for report generation. The client POS is based on PHPPOS, and I have implemented a module that uses the standard XML-RPC library to send sales data to the service. The server system is built on CodeIgniter, and uses the XML-RPC and XML-RPCS libraries for the webservice component. Whenever I send a lot of sales data (as little as 50 rows from the sales table, and individual rows from sales_items pertaining to each item within the sale) I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 54 bytes) 128M is the default value in php.ini, but I assume that is a huge number to break. In fact, I have even tried setting this value to 1024M, and all it does is take a longer time to error out. As for steps I've taken, I've tried disabling all processing on the server-side, and have rigged it to return a canned response regardless of the input. However, I believe the problem lies in the actual sending of the data. I've even tried disabling the maximum script execution time for PHP, and it still errors out.",
"How can I see my progress for different badges?",
"While dabbling in Clojure I've written a very basic program to echo whatever the user types into it. However, it doesn't run in a way that I'm perceiving to be natural. Here's the code: (defn goo [] (print \"echo> \") (def resp (read-line)) (print resp) ) I would expect the code to run like this (for me typing in foo as the input to read-line): user=> (goo) echo> foo foonil But instead, the echo and read-line is switched: user=> (goo) foo echo> foonil Why does this happen? Is there a subtlety I'm missing? EDIT: From Joe's answer, the updated correct solution is: (defn goo [] (print \"echo> \") (flush) (def resp (read-line)) (print resp) (flush) ) Also, the flushes aren't necessary if you use println instead of print.",
"Show that $a_{n+1}= 1 + \\frac{1}{a_n}$ converges. Let $\\{a_n\\}$ be defined by $a_1 =1 $ and $a_{n+1} = 1 + {\\dfrac{1}{a_n}}$ with $n \\in N$. Show that $a_{n+1}= 1 + {\\dfrac{1}{a_n}}$ converges. I know the limit but how can I show that is a Cauchy sequence or that this sequence converges.",
"I have a table with a varchar(max) column that stores text ~4-10KB in size. Data is just being added - never modified, it is a log. My problem is that a table grows too large in size - I would like to keep about 1000000 rows in this table. I am limited to SQL Server Express and hit the limit on database size. Compression is not available in SQL Server Express and I afraid that Filestream may not be appropriate and the number of files would be too big. What is the best solution in this case?",
"Show that $A\\in\\mathbb{C}_n$ is normal $\\iff$ $tr(A*A) = \\sum_{i = 1}^n|\\lambda_i|^2$, where $\\lambda_1,...,\\lambda_n$ are the eigenvalues of $A$.",
"TexShop will not compile without trashing aux files after every error I have a couple of LaTeX files with the same problem. If I produce an error, fix it, and then try to compile a pdf, I get the following error. )Runaway argument? {{ ! File ended while scanning use of \\@newl@ablel. <inserted text> \\par l.90 \\begin{document} If I then click on the console or trash my .aux file, it compiles fine. Any thoughts on what is going on and how to prevent this annoying extra step?",
"Is there any gold standard for modeling irregularly spaced time series?",
"Why is this command not working: \"ps aux | grep xscreensaver\" I didn't see any hits about this on google, so I'm asking you: I just tried to run this command in an ssh session, local is Debian Wheezy KDE, remote is Fedora 21 Gnome: ps aux | grep xscreensaver and this is the output: bash: grep: command not found... I never seen this before, what is the cause? I just few hours before updated the system, but didn't see any packages marked for removal. There are only two users on the system, and only me installs or removes software on it. EDIT #1 Here is the commands and output copied,notice that the space is not there the second time: [root@Hostname ~]# ps aux | grep xscreensaver bash: : command not found... [root@Hostname ~]# ps aux | grep xscreensaver bash: grep: command not found...",
"I've been wondering, what is the difference between seek and search? When should one be preferred over the other?",
"How do I make a Villager Trade a Spawn Egg I am trying to make a Custom Trade on a villager. I need to make him buy 8 gold nuggets and sell a Cow Spawn Egg. basically you pay 8 nuggets for a Cow Spawner. The ID of the Cow Spawn Egg is 92 but I don't know where to put it in the command /summon Villager ~ ~2 ~ {Invulnerable:1,CustomName:Spawner_Vendor,Profession:2,Career:1,Offers:{Recipes:[{buy:{id:gold_nugget,Count:8},sell:{id:spawn_egg,Count:1}}]}}",
"My ESTA approval if I have previously had a B1 refusal I applied for a B1 visa to attend a conference in the USA in 2013. I had another nationality (Non- VWP) at the time and my B1 application rejected under section 306 of border security. I now can apply for ESTA under my new nationality. Can my ESTA application get approved? If not and I need to apply for visa is it every time I need to travel to stated or is it just the first time?",
"Does tourist visa (90 days) apply after a long-term visa ends in Schengen countries?",
"Threshold Secret sharing - How to create a shared secret from pre existing secret parts? In usual $(t, n)$ secret sharing schemes, a secret $S$ is split into $n$ parts so that any $t$ out of $n$ parts reconstruct the original secret. So, suppose that there is a group of $n$ participants each one has a secret $x_i$ ($x_i$ may be its private key). My question is, is it possible to create a secret $S$ using the prexisting secrets $x_i$ ($i=1...n$) so that with any $t$ out of $n$ from these secrets ($x_i$) we can find the secret $S$?",
"AIC versus Likelihood Ratio Test in Model Variable Selection The software that I am currently using to build a model compares a \"current run\" model to a \"reference model\" and reports (where applicable) both a chi-squared p-value based on likelihood ratio tests and AIC values for each model. I know that one advantage of AIC over likelihood ratio tests is that AIC can be compared on non-nested models. However, I am not aware of any reason why AIC couldn't or shouldn't be compared on nested models. In my model, when comparing nested models for variable selection, I'm finding several cases where the likelihood ratio test and the AIC comparison are suggesting opposite conclusions. Since both are based on likelihood calculations, I'm struggling to interpret these results. However the documentation of my software says (without explaining), \"If two models are nested (i.e. one is a sub-set of the other) then the more usual chi-squared test is the most appropriate to use. If the models are not nested, the AIC can be used...\" Can anyone elaborate on this and/or explain why AIC is not as helpful as likelihood ratio tests on nested models?",
"How to install PHP from source with latest cURL package on Linux? I simply have to use the latest cURL version (7.21.3) with PHP on my webserver. (Has to do with specific bug fixes) It is not available by default on most current Linux variant repositories. (Natty Narwhal by Ubuntu is the only one and it's still in beta stages) - so I cannot simply run \"aptitude install php5-curl\" or similar to get it (the very latest version of cURL) installed. How would one go about installing the very latest PHP + cURL packages? Is it as simple as changing the to-download file for cURL in a repository somewhere? (ie. changing a text file's entry somewhere from to or something..?) Basically I need the very latest cURL library running with PHP on Linux. How would you personally go about doing that?",
"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.",
"Can negative levels get rid of racial HD? What happens when one is affected by something such as energy drain, and permanently loses levels when one only has racial HD? Does the victim of the spell die? Or do they permanently lose racial HD?"
] | medi_sts_stackexchange_dupe |
POST regular JSON to custom RestResource | POST JSON data denormalization error | [
"Many browsers and Internet companies have recently claimed that SSL Certificates with a signature algorithm of SHA1 will imminently no longer be considered secure. Most notably, . Yet I've read that since the SSL/TLS negotiation and Cipher Suite don't make use of plain SHA1 (or even MD5), and instead use SHA1 within an ; that using a Cipher Suite with SHA1 is still an acceptable security practice. Is this the case? While we're on it, is it also the case of using MD5 in a cipher suite?",
"Macbook pro Mid-2012 not booting on battery. Not responding to power button Macbook pro Mid-2012 - Keyboard not working (Space and Caps lock only works) - Doesn't switch on using battery, when I remove the battery connector from board and Plug on AC it boots. I had recently changed the HDD to SSD myself.",
"I think my device got a malware. A lock screen with ads sometimes appear, and I must swipe an area at the bottom of the screen to open the phone. I am in Eastern Europe, some ads are in Slavic languages, and they are seemingly related to travel. Image resized. Click to view the full image I have seen ads for Lot Air (Polish carrier). I recently went to their site. Considering my recent surfing activity and the nature of the ads, I guess the malware is connected to airlines active in Eastern Europe. The lock screen also promotes the app \"DU Quick Charger\" by claiming it has recharged the phone extra fast during screen off. (!?) It also shows battery level. I have never installed DU Quick Charger. I doubt DU Quick Charger is installed on the phone. The problem started after installing Ryanair app. The problem is maybe, but not surely, related to this. Uninstalling Ryanair and restarting the phone doesn't remove the occasional appearance of this lock screen. After a while the situation has changed for the worse, now this lock screen appears after EVERY screen off. I have always used Avast. I am not rooted and only install via Google Play. What is this? And how do I remove it?",
"How can I make Ubuntu 18.04 / 18.10 desktop use Unity (be like Ubuntu 14.04)? I recently installed Ubuntu 18.04 and I'm not keen on the desktop environment. I want the desktop env. I used to have in Ubuntu 14.04. How can I get it? I've attempted to use , but when I try to install the Unity's 7.2.5 version using the command: apt install unity=7.2.5 it gives me E: Version '7.2.5' for 'unity' was not found For sure I need to add a PPA for this, but which one!?",
"How far can/should one press philosophical doubt? Should we keep on questioning until nothing is left to question or is there a point on which we need to stand (which we often tend to do)? Descartes used 'I think' as this fixed point where the skepticism abates, there may be others. But what is a rational way to find one, if any? How is this question addressed in modern philosophy?",
"Why does DNS work the way it does? This is a about DNS (Domain Name Service). If my understanding of the DNS system is correct, the .com registry holds a table that maps domains (www.example.com) to DNS servers. What is the advantage? Why not map directly to an IP address? If the only record that needs to change when I am configuring a DNS server to point to a different IP address, is located at the DNS server, why isn't the process instant? If the only reason for the delay are DNS caches, is it possible to bypass them, so I can see what is happening in real time?",
"Where to say thanks? Where is the right place to say \"thanks\" to all those that answered my question? In a comment to my original post, or in a comment to the latest answer or where?",
"Why am I getting shopping trolley notifications about local store savings? I am getting \"Shopping Trolley\" notifications appearing regularly. The notification looks like this: The notification is about \"Store savings\" at a local supermarket and that is it! Is this notification from Google Maps or another application like Google Assistant? I'm struggling to find the specific setting to disable the notification. I am also interested to know if this notification could in any way be targeted advertising generated by the store. My marketing preferences with the store are opt-out and this strikes me as very dumb advertising. Surely Google isn't doing this? Is there a means that a store can generate notifications like this? Could it be targeted if they have my email address? These are pain and I want to understand why they are spamming me and disable them without disabling everything else. I can see various options under Google Maps, settings, notifications. Which setting would apply? Could it be \"New on maps, Get occasional updates about new features in your area\"? I can't see what setting to suppress! Thanks for all help.",
"Posting and answering questions you have already found the answer to",
"If $a, b$ are positive real numbers and $a+b = 1$, prove that : $$\\left(a+\\frac{1}{a}\\right)^2 + \\left(b+\\frac{1}{b}\\right)^2 \\geq \\frac{25}{2}$$ I can see that the value $\\frac{25}2$ is attained for $a=b=\\frac12$. But I do not know how to show that this is the minimal possible value. Thank you.",
"I have created a logo with pen tool in Illustrator but between lines (where they intersect with each other) there is a gap where it gets the color of the background. Something like this: (Black color is the background color) - As you can see where the paths join each other there is a kinda dotted black line. I Grouped them but still the same. I converted to jpeg just to be sure it is not only shown like that but same effect. NOTE: I want to export that logo as SVG file type and use it in the WEB. I tried some solutions given like anti-aliasing in preferences or art optimize when saving for optimization. But still I have same problem. I want to get that logo in SVG and put it on the web where it will display clean without those strange gaps. How can i get rid of this?",
"If $f:[0,1]\\to\\mathbb R$ is continuous and $\\int_0^x f(t)dt = ∫_x^1f(t)dt$ then prove that $f(x)=0$. I suppose that $f(x)$ isn't zero, set $g(x)= \\int_y^xf(t)dt$ with $y\\in[0,1]$ and use Bolzano but I don't know if it's right.",
"Let $f$ be an entire function such that $\\mid f(z) \\mid \\leq A \\mid z \\mid$ for all $z$, where $A$ is a fixed number. Show that $f(z)=a_1z$, where $a_1$ is a complex constant.",
"I'm working in C, and I have to concatenate a few things. Right now I have this: message = strcat(\"TEXT \", var); message2 = strcat(strcat(\"TEXT \", foo), strcat(\" TEXT \", bar)); Now if you have experience in C I'm sure you realize that this gives you a segmentation fault when you try to run it. So how do I work around that?",
"What is the strict aliasing rule?",
"Does a Magic Staff count as a magic weapon? Many creatures have resistance to weapons that aren't \"magic weapons\". A Magic Staff can be used as a quarterstaff, but (usually) doesn't have a bonus to hit (a \"plus\"). Is it considered a Magic Weapon for the purpose of damage resistance?",
"Primes dividing a polynomial Let $g(x)\\in \\mathbb{Z}[x]$, a nonconstant polynomial. Show that the set of primes $p$ such that $p\\mid g(n)$ for some $n\\in \\mathbb{Z}$ is infinite. I don't know how to start. I have tried asuming that the set is finite but i haven't reached any contradiction.",
"\"To work for\" vs. \"to work in\" vs. \"to work at\"",
"Is a photon \"fixed in spacetime\"?",
"My Panda USB wi-fi adapter works just fine on 16.10, but when I try to connect to my wi-fi router in 17.04, GNOME network manager reports \"Connection failed.\" I did some tinkering, and noticed that my MAC address for my wifi adapter, according to GNOME, is DIFFERENT every time I make it forget my wifi settings and try to reconnect. Any leads on a possible fix or work-around? I'm running Ubuntu GNOME 17.04, kernel 4.10.0-19-generic, GNOME 3.24.0."
] | medi_sts_stackexchange_dupe |
present perfect how to construct interrogative sentences? | Questions with declarative forms have the same meaning as their interrogative counterparts or not? | [
"Can't kill a sleeping process",
"How do I automatically restart docky after a crash?",
"I read a novel when I was 12 or 13 (late 80's, early 90's) about two timelines combining on Earth. It was a full length novel for adults that I swiped from my mom (she doesn't remember it at all.) I've been trying to figure out what the title is for some time but my google-fu is unable to find the right search terms. The book was published in the 80's or perhaps early 90's. The story: It was set on Earth and featured two timelines running concurrently (in the 80's?) Timeline 1: The nuclear missile crisis had gone badly and a low level nuclear war had more or less destroyed the US, but small towns still survived but are slowly fading away. Much of the story was about the scarcity of goods, and the protagonist in the main thread of the book started the story by finding a 6 pack of Coke buried in a ruined house. Throughout the story people were finding things that had grown scarce (deer, bullets, human beings.) One strange scene I recall involved mutant/radioactive sweet potatoes that had driven a man insane. Eventually people in this timeline began having dreams of their lives in Timeline 2. Some of the people were not having dreams, and it was eventually discovered that they had died in Timeline 2. Timeline 2: There is panic in a world recognizable as our 1980's as nuclear war draws near. Since more and stronger missiles have been developed, the end of humanity is at hand. Things start disappearing from that world as the war begins. Timeline 2 was mostly seen as vignettes of panicked people running around. Combination of Timelines: In a weird, incongruous, almost surely poorly written scene, Gaia (yes, Earth itself) is seen to be combining a dying timeline with a doomed timeline in order to save humanity. At the end of the novel, kids from Timeline 2 are transported into Timeline 1 in order to repopulate. The new kids drink all the Coke, in case you were wondering... Any help finding the title would be welcome. I recall enjoying the book a lot when I was a kid, but I suspect my mom traded it in at our local used book store because at some point it just disappeared.",
"Suppose that f is continuous on $(a,b)$ and $\\lim_{x\\to a^+} f(x) = \\lim_{x\\to b^-} f(x) = \\infty$. Prove that $f$ has a minimum on all of $(a,b)$. I was thinking of applying the extreme value theorem, but I realized that it applies only to closed intervals. So I was thinking of defining a closed interval that is in $(a,b)$, and using the definition of one sided limits to go about the problem, but I don't know how to proceed. Help please?",
"How do I make log4j clear a log at startup?",
"IS or ARE? \"The only thing that I want you to hit right now IS/ARE the books\" In this sentence, which is the right word? The only thing that I want you to hit right now is/are the books.",
"Javascript to sort contents of select element is there a quick way to sort the items of a select element? Or I have to resort to writing javascript? Please any ideas. <select size=\"4\" name=\"lstALL\" multiple=\"multiple\" id=\"lstALL\" tabindex=\"12\" style=\"font-size:XX-Small;height:95%;width:100%;\"> <option value=\"0\"> XXX</option> <option value=\"1203\">ABC</option> <option value=\"1013\">MMM</option> </select>",
"How can I compute $\\mathrm{Aut}(\\mathbb{Z}/4\\mathbb{Z}\\times\\mathbb{Z}/6\\mathbb{Z})$?",
"Irrationality of sum of two logarithms: $\\log_2 5 +\\log_3 5$ I try to prove that the number $$\\log_2 5 +\\log_3 5$$ is irrational. But I have no idea how to do it. Any hints are welcome.",
"Why does the experience-to-next-level not change between some levels? At every level from 1st to 11th, the experience needed to reach the next level (from the current level) increases every level. However, this pattern gets broken for most of the later levels: Going from 10th to 11th takes 21,000xp (= 85k - 64k), but 11th to 12th takes only 15,000xp! (= 100k - 85k). Both 13th and 14th level only take extra 20k experience each, i.e. the amount needed doesn't increase between those two levels. Levels 16 and 17 similarly only need 30k experience each, and 18 and 19 only need 40k experience each. Why does the last half of the experience chart have some of these levels maintain the same experience costs, and even briefly decrease the experience cost for 12th level?",
"Random matrix theory impact on covariance matrix analysis",
"How do I limit the running time of a BASH script I have a long running BASH script that I am running under CYGWIN on Windows. I would like to limit the script to run for 30 seconds, and automatically terminate if it exceeds this limit. Ideally, I'd like to be able to do this to any command. For example: sh-3.2$ limittime -t 30 'myscript.sh' or sh-3.2$ limittime -t 30 'grep func *.c' Under cygwin the ulimit command doesn't seem to work. I am open to any ideas.",
"I'm writing a mildly dystopian scenario where competition is taken to vicious extremes, and I was wondering if there was a word that I could use (specifically a noun that was a synonym of \"competition\") to describe the sort of vicious, cutthroat ... _________ (the word that I want) that was going on. I'm specifically looking for a word that doesn't refer to a one-off event (like \"contest\" or \"tug-of-war\"), but rather is more about the state of things.",
"I currently have a setup where I send a char using a Tx of 434MHz and an Uno to a Mega with a Rx. The Mega counts how many times it receives the char and then if it falls below a certain number it triggers an alarm. Is this a viable way to measure the distance between two microcontrollers while indoors or is there a better way. Transmitter (Mega) #include <SoftwareSerial.h> int rxPin=2; //Goes to the Receiver Pin int txPin=5; //Make sure it is set to pin 5 going to input of receiver SoftwareSerial txSerial = SoftwareSerial(rxPin, txPin); SoftwareSerial rxSerial = SoftwareSerial(txPin, rxPin); char sendChar ='H'; void setup() { pinMode(rxPin, INPUT); pinMode(txPin,OUTPUT); txSerial.begin(2400); rxSerial.begin(2400); } void loop() { txSerial.println(sendChar); Serial.print(sendChar); } Receiver #include <SoftwareSerial.h> //Make sure it is set to pin 5 going to the data input of the transmitter int rxPin=5; int txPin=3; //Don't need to make connections int LED=13; int BUZZ=9; int t=0; char incomingChar = 0; int counter = 0; SoftwareSerial rxSerial = SoftwareSerial(rxPin, txPin); void setup() { pinMode(rxPin, INPUT); //initilize rxpin as input pinMode(BUZZ, OUTPUT); //initilize buzz for output pinMode(LED, OUTPUT); //initilize led for output rxSerial.begin(2400); //set baud rate for transmission Serial.begin(2400); //see above } void loop() { for(int i=0; i<200; i++) { incomingChar = rxSerial.read(); //read incoming msg from tx if (incomingChar =='H') { counter++; //if we get bit \"h\" count it } delay(5); //delay of 10 secs } Serial.println(incomingChar); Serial.println(counter); //prints the the bits we recieved if(counter<55) { //if we receive less than 100 bits than print out of range triggers alarm Serial.println(\"out of range\"); tone(BUZZ,5000,500);digitalWrite(LED,HIGH); } else { noTone(BUZZ);digitalWrite(LED, LOW); //if we get more than 100 bits than we are within range turn off alarm Serial.println(\"in range\"); } counter = 0; incomingChar=0; }",
"An integrable and periodic function $f(x)$ satisfies $\\int_{0}^{T}f(x)dx=\\int_{a}^{a+T}f(x)dx$. I want to prove: For an integrable function $f(x)$ and periodic with period $T$, for every $a \\in \\mathbb{R}$, $$\\int_{0}^{T}f(x)\\;dx=\\int_{a}^{a+T}f(x)\\;dx.$$ I tried to change the values and define $y=a+x$ so that $dy=dx$ and the limits of the integrals are as we want, but I'm not sure how to use the fact that $f(x)$ is periodic. Thanks a lot!",
"Indenting a whole paragraph How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?",
"Rollback Committed transaction in SQL Server Is it possible to rollback a committed transaction? I have deleted all the data in a table. The delete statement is inside Begin Transaction and I have committed the transaction with a commit transaction command. Now is it possible to rollback and get the data back?",
"So I am running on Windows 7 (64-bit) Home Premium with 12 GB RAM (Intel Core i7 920). I have restricted the Page File to 400MB since it was eating up a lot of space om my SSD (that is 80GB). After that I sometimes get the \"low memory\"-warning, like this, except for the behold-comment: When I get those warning I have usually a lot of RAM available; when I check Resource Manager I have over 2GB \"Free\" and over 2GB \"Available\" - usually more than that. The diskspace on all my drives have over 10GB free. So the question is - why does Windows complain? It actually restarted by computer (hard boot) when it happened, and as I said - lots or RAM available.",
"What are the differences between sudo, su, visudo, chroot, and gksu? What are the differences between sudo, su, visudo, chroot, and gksu ?",
"Is \"a total of 10 payments\" singular or plural? A total of 10 payments were made. OR A total of 10 payments was made. Which is correct? Or can both be correct?"
] | medi_sts_stackexchange_dupe |
Python: Is it possible to setup a folder trigger? | How do I watch a file for changes? | [
"$\\sqrt{1-x^2}$ is not a rational function If $k$ is a field in which $1 + 1 \\neq 0$, prove that $\\sqrt{1-x^2}$ is not a rational function. Hint. Mimic the classical proof that $\\sqrt{2}$ is irrational It seems rather odd to discuss the square root function in the context of an arbitrary field, but here goes nothing! Proof: Suppose that $\\sqrt{1-x^2}$ is a rational function in $k(x)$. Then there exist polynomials $p(x)$ and $q(x) \\neq 0$ that are relatively prime with $\\sqrt{1-x^2} = \\frac{p(x)}{q(x)}$; clearly we may take $p(x) \\neq 0$. Then $1-x^2 = \\frac{p(x)^2}{q(x)^2}$ or $q(x)^2(1-x^2) = p(x)^2$, which says $q^2 | p^2$, and since $q | q^2$, we can infer $q | p^2$. Moreover, since $p|p^2$ and $(p,q)=1$, then $pq|p^2$ or $q|p$, which contradicts the fact that the polynomials are relatively prime. Hence $\\sqrt{1-x^2}$ cannot be a rational function. How does this sound? Aside from the problem of discussing $\\sqrt{~~}$ in the context of an arbitrary field, I am worried about not using the fact that $1+1 \\neq 0$, at least not explicitly. Where exactly is this assumed used, if at all? EDIT: Suppose that $q(x) =1$, and let $f(x) = a_n x^n + ... a_1 x + a_0$. Then $1-x^2 = f(x)^2$. If $x=0$, $1 = a^2_0$ and therefore $a_0$ must be a unit. Letting $x=1$ we get $0 = (a_n + ... + a_1 + a_0)^2$; and letting $x=-1$ we get $0 = (-a_n - ... - a_1 + a_0)^2$. Since we are working in a field, there can be no nonzero nilpotent which means that $a_n + ... + a_1 + a_0$ and $-a_n - ... - a_1 + a_0$ are both zero. Adding the two equations together yields $2a_0 = 0$, and since $1+1 \\neq 0$, $a_0 = 0$ which contradicts the fact that $a_0$ is a unit. How does this sound? Another attemtpt: If $f(x)^2 = 1-x^2$, then $2 = \\deg(f^2) = 2 \\deg (f)$ implies $\\deg(f) = 1$. Yet if $x=-1$, we get $f(-1)^2 = 1 - 1 = 0$ and therefore $f(-1)=0$ since there are no nonzero nilpotent elements in a field; similarly, $f(1)=0$. Since $1+1 \\neq 0$, $f$ has two distinct roots in $k$ yet is only a $1$-st degree polynomial, a contradiction.",
"Calculate $\\sum_{k=1}^n (-1)^{k+1} \\binom{n}{k}\\frac{1}{k}$",
"How to prevent freehub body damage? I feel like this is poor design. I have two wheelsets that are less than a year old which have damaged freehub bodys due to cogs digging in to the splines on the freehub. It's so bad that I can't remove the cassette spacer without filing down the splines. I had to use pliers and chain whip to remove the cogs that were embedded in the freehub when trying to remove the cassette. Most of the damage is on the center of the cassette as the largest 3 cogs are held together by carrier. I'm using a shimano 105 cassette and Novatec disc hub and Velocity ATB convertible disc hubs (which were somewhat damaged in the same fashion, but not as bad as the novatec). I'm using this bike for cyclocross, offroad exploring, light singletrack use, Rail trails and some road riding. How can I prevent this damage to the freehub from happening?",
"Drawing/Sketching Tool for elaborating questions More often than not I need to elaborate my question put up on Stack Overflow with a custom sketch, UML class diagram, flow chart. It is in these times I have to open up a custom paint software, factor out some diagrams, export it as an image, attach it to Stack Overflow. I wouldn't know how complicated it is to invest in having such a sketching or drawing tool integrated, It could even be a basic pen stripped off all the advanced features leaving it a bare minimum. Such a tool if incorporated into the Stack Overflow \"ask question\" UI would be certainly helpful. As of Today this Question has been visited around 170 times and 7 answers, This was meant to be the voice of Stack Overflow users. Would you need a Drawing Tool for you on the Stack Overflow site, would it help you to express you questions and answers better? Sadly, only 2, or 3 answers are in the context of the question. The bounty was meant to be a bait and even that ends tomorrow. Hope you'll get the will and the zest to comment on this question today and in the future .",
"Missing return statement in a non-void method compiles",
"What is an intuitive way of understanding Ostrogradsky instability? Is there a way of explaining why no differential equations in physics exceed order two without delving into Lagrangian and Hamiltonian mechanics - i.e. from Newtonian mechanics? Moreover, is there such an alternative proof, which focuses more on physical reasoning than abstract mathematics?",
"Topologist's sine curve is connected I just came across the example of the topologist's sine curve that is connected but not path-connected. The rigorous proof of the non-path-connectedness can be found . But how can I prove that the curve is connected? To be honest, even intuitively I am not being able to see that the curve is connected. I am thinking if it is proved that the limit point of $\\sin(1/x)$ as $x \\to 0=0$, then it would be proved. But, why is this true? IMO, this limit doesn't exist. Intuitively also, it seems that the graph would behave crazily and not approach a particular value as a tends to $0.$ EDIT (Brett Frankel): There are a few different working definitions of the topologist's since curve. For the sake of clarity/consistency, I have copied below the definition used in the linked post: $$ y(x) = \\begin{cases} \\sin\\left(\\frac{1}{x}\\right) & \\mbox{if $0\\lt x \\lt 1$,}\\\\\\ 0 & \\mbox{if $x=0$,}\\end{cases}$$",
"Is there a reason why people can't just take the helicopter to mount Everest? Why is it that helicopters can't reach that high?",
"This question led to a new package: I wish to typeset some relatively long URLs in a piece of text, and when I use \\url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the way to the edge of the paper before wrapping around. For reference, my preamble looks like this: \\documentclass[12pt]{article} \\usepackage{mathptmx} \\usepackage{fullpage} \\usepackage[pdftex]{hyperref} and example of the url I'm including is: \\begin{itemize} \\item Some text \\url{very-long-url} ... \\end{itemize} I'm compiling using pdflatex, although I doubt this makes a difference.",
"I tried logging in with a Google account, but I got the following error:",
"Do I need a visa for a connecting flight to Japan? I'm going to the Philippines this October and would like to layover in Japan. I found a reasonably priced ticket with a 15-hour layover to Haneda, however, I have to transfer to Narita. Do I need a visa since I'm going to have to stay at a hotel and ride a bus to travel to Narita airport? Thank you!",
"If $a,b,c$ are positive , show that $$\\dfrac{b^2+c^2}{b+c}+\\dfrac{c^2+a^2}{c+a}+\\dfrac{a^2+b^2}{a+b} \\ge a+b+c$$ Trial: Here I proceed in this way $$\\dfrac{b^2+c^2}{b+c}+\\dfrac{c^2+a^2}{c+a}+\\dfrac{a^2+b^2}{a+b} \\ge \\dfrac{2bc}{b+c}+\\dfrac{2ca}{c+a}+\\dfrac{2ab}{a+b}$$ then how I proceed. Please help.",
"Javascript \"Variable Variables\": how to assign variable based on another variable? I have a set of global counter variables in Javascript: var counter_0 = 0; var counter_1 = 0; var counter_2 = 0; etc I then have a Javascript function that accepts an 'index' number that maps to those global counters. Inside this function, I need to read and write to those global counters using the 'index' value passed to the function. Example of how I'd like it to work, but of course doesn't work at all: function process(index) { // do some processing // if 'index' == 0, then this would be incrementing the counter_0 global variable ++counter_+index; if (counter_+index == 13) { // do other stuff } } I hope what I'm trying to accomplish is clear. If not I'll try to clarify. Thanks. EDIT Clarification: I'm not trying to increment the name of the counter, but rather the value the counter contains.",
"How to add startup applications in lubuntu? Is there a 'Startup applications' app for lubuntu? Or how do I add apps to startup? I attempted a tutorial to add entries to ~/.config/autostart, but it did not work. Isn't there an easy way? Any ideas please?",
"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?",
"A number of times I have asked a certain kind of ‘attractive nuisance’ question – that is, one in which I anticipate a certain kind of answer would be given that I already know I am going to find insufficient or entirely inadequate. Some examples: A more abstract example would be asking ‘is it possible to do this 100% correctly’, where people itch to come up with hacks, workarounds and half-baked solutions of various degrees of robustness – while the point of the question is obtaining a fully correct and reliable solution.0 I try to be very explicit in the question body about what kinds of answers I am not interested in. And yet, every time I ask such a question, someone gives such an answer anyway, or an outright XY-type, i.e. frame-challenge answer – where in fact the framing of the question is exactly how I want it, and I don’t want it challenged. Since I have already said in the question body that such an answer would be inaqeduate, when I get one, I downvote it. I believe it’s only appropriate, but it tends not to be received very well – I get insulting comments and downvotes in retaliation. I realise that a proper answer would be much harder to come up with than an ‘obvious’ inadequate answer. I suspect that often a real answer should be negative: ‘there is no way to do that’ or ‘there is no way to answer that for sure’. Nevertheless, if that is the right answer, this is the one I want posted – I don’t want the Internet polluted with more tumbleweed of what is already well-known (and may even be subtly wrong), and I don’t want to give ‘A for effort’ upvotes. What is the most appropriate way to act in such a situation? 0 I am also reminded of when Gary Bernhardt while trying to avoid reflexive ‘don’t use eval’ replies. Of course, expecting nuance from Twitter of all places is silly, but that’s beside the point.",
"I am flying from Orange County, California to San Francisco, California and then on to Seoul, South Korea. If I check a bag will I have to pick it up in San Francisco and re-check it and go through security or customs for the international flight? Everything I am reading leads me to believe that it's only necessary to re-check baggage and go through security and/or customs when you are first arriving into a country. However, since my first leg is staying within the United States I assume the airline will transfer my bag to the next flight and I can just go straight to the gate for my international flight? Both legs of the flight are through the same airline (United Airlines) and there are only the two legs: OC -> SF, then SF -> Seoul.",
"How to achieve function overloading in C? Is there any way to achieve function overloading in C? I am looking at simple functions to be overloaded like foo (int a) foo (char b) foo (float c , int d) I think there is no straight forward way; I'm looking for workarounds if any exist.",
"How to make git mark a deleted and a new file as a file move?",
"My competitor is using Alexa to see what I am doing. I need to get stop Alexa from including my sites in their rankings. How can I do so? Is it possible to deny access to any visitor with the Alexa toolbar and deny access to Alexa bot requests?"
] | medi_sts_stackexchange_dupe |
SPSS-independent-sample-t-test | Bonferroni adjustment in SPSS - what does it do? | [
"Should spam posts be edited?",
"Story with multiple 'third planet' races I'm looking for the name and author of a novel (or possibly novella). I first read this in the seventies, and might be older than that. It might have been written for teenagers. The story takes place on a planet inhabited by a primitive humanoid race, roughly stone age if I remember rightly. Visiting this planet is a small team from a more advanced race, also humanoid and with spacefaring technology (obviously!). They are either there to help or observe, no nefarious purposes. I think they are avoiding contact with the primitives, at least initially. It's explicitly mentioned that the planet they are visiting is the third one of a medium sized star, just like their own homeworld. Also orbiting round the planet is an even more advanced race, using high tech to remain hidden from both the others. They are observing the whole situation, and again its mentioned that this is a 'third planet', like their own homeworld. I'm a little bit hazy on the rest of the plot, but I think the super-advanced race end up revealing themselves, even though they are not supposed to. The story is told from the viewpoints of both the second and third races (maybe also the first, I forget) EDIT: For the record it turns out my recollection was faulty, and the second race are indeed coming to the planet for nefarious purposes. And the planet is at the medieval stage, not stone age.",
"At the end of Billions, Season 3, Episode 9, Grigor Andolov (John Malkovich) tells a story to Bobby Axelrod (Damian Lewis) about the Christmas market in Moscow. He asks a question about what happened to a boy: Andolov: Many years ago, I was walking along the Moskva Christmas market. You ever seen Moskva Christmas market? Always a sense of good cheer, even during the lean years. I think it was the wine. They serve warm wine with the spices in it... cinnamon and... I was waiting on the line — everyone was always waiting on the line — and finally I got my cup, I turn, and there was this little boy. Runny nose. He looking at me so desirous of my cup of this warm, warm wine that I give him a sip. He stares at me with such a gratitude. And then I notice his mother. Plump breasts. She must have known someone. So I give him my cup of wine. And I take his mother away from the square. Behind the soldiers. And after, I leave her for the soldiers. And I walked back, and this little boy is staring at me with his greedy drunken eyes. Do you know what happened to him? Axelrod: No. Andolov: I always ask. No one ever knows. What is the real meaning of this story? And how is it connected to the Axelrod – Andolov relationship?",
"How to configure lightdm to allow manual logins in Ubuntu 14.04 I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root. Now I've just installed the new Ubuntu 14.04 and the file lightdm.conf is no longer located in /etc/lightdm. It's in /etc/init and has been totally modified. How can I force lightdm login screen to show a field to input a login name?",
"So far I've been using public void run() {} methods to execute my code in Java. When/why might one want to use main() or init() instead of run()?",
"I always thought of current as the time derivative of charge, $\\frac{dq}{dt}$. However, I found out recently that it is the ampere that is the base unit and not the coulomb. Why is this? It seems to me that charge can exist without current, but current cannot exist without charge. So the logical choice for a base unit would be the coulomb. Right?",
"Is it possible to match encrypted documents using user-defined search terms? Suppose I am storing a number of encrypted documents in a database. I would like to make it possible to identify the subset of documents whose contents match user-specified search terms without a) maintaining a plaintext index or b) decrypting documents on the fly. Is there any way to accomplish this securely? By the same token, I'm wondering if a collection of encrypted documents can be sorted according to an encrypted attribute (e.g., document title) without first decrypting all attribute values.",
"I thought I remembered hearing the food agency say that you should never reheat chicken meat after the initial cooking. However, I cannot find the statement of it anymore. Now I'm starting to suspect my memory. Could this statement be true? Is it unsafe to reheat chicken?",
"joomla 2.5 in module install.mysql.utf8.sql dosent work",
"How to record how much time user has spent on my node? I want to record the time a user has spent on my particular node so I could show a pop up to the user to register once the user has read 3 article. But the user must have spent at least 30 seconds on each node. There is the module available, but I wonder if I can merge it with another (custom) module I have created (which records the number of nodes user have visited)?",
"Let's say I have a video running in an application. If I hover my mouse over the taskbar, it shows a little popup windows that diplays the video (aero peek). Sometimes I'm running a maximized window and I want to have this little screen always popped up. (Kind've like when your using the TV Guide menu, you still see a little clip of the video)",
"I've done numerous WP sites, written my own plugins, run my own server, etc etc. But I have not seen this before. I just installed a fresh 4.7.1 and installed the and all its plugins. When I went to add media files, I got: Maximum upload file size: 2 KB. I deactivated all plugins one by one...no dice. My PHP memory limit is set to 256MB for this installation via wp_config.php. Googling the 2 KB limit turned up no results. Anyone seen this before or know how to fix this limit?",
"How to use SQLDeveloper to connect to embedded Derby database",
"Recursive glob? I'd like to write something like this: $ ls **.py in order to get all .py filenames, recursively walking a directory hierarchy. Even if there are .py files to find, the shell (bash) gives this output: ls: cannot access **.py: No such file or directory Any way to do what I want? EDIT: I'd like to specify that I'm not interested in the specific case of ls, but the question is about the glob syntax.",
"Why does \"start winword\" work but just \"winword\" doesn't? Assume Microsoft Office is installed. Consider the following batch file: REM the following line successfully launches Microsoft Word start winword REM none of the following commands work to launch Microsoft Word winword winword.exe winword.com winword.bat winword.cmd winword.vbs winword.vbe winword.js winword.jse winword.wsf winword.wsh winword.msc What is it about the \"start\" instruction that allows the launching of Microsoft Word using the name \"winword\"? My curiosity stems from my interest in the mechanics of the \"start\" verb - I don't need suggestions on other ways to start Microsoft Office. Please don't suggest that I add the Microsoft Office directory to my PATH environment variable - I know what that would do. How is start finding \"winword\" when cmd cannot find it directly?",
"when EditText is empty and click calculateButton, app crashes",
"Citing a range of papers using numeric keys as in \\cite{a, b, c} -> [1-3] How can I cite a range of papers, the output is a range of numbers, instead of a list of numbers? In other words, when I type ... some dummy text here is due to me \\cite{me1, me2, me3, me4} ... I want the output to be ... some dummy text here is due to me [3-6] ... instead of ... some dummy text here is due to me [3.4.5.6] ... (I use LaTeX, and am currently using the amsart class and whatever it includes. But I am open to other suggestions.)",
"This question has come up ( ), but I'm finding the answers to be generally incomplete. The general question is \"Why does/doesn't my job get killed when I exit/kill ssh?\", and here's what I've found. The first question is: How general is the following information? The following seems to be true for modern Debian linux, but I am missing some bits; and what do others need to know? All child processes, backgrounded or not of a shell opened over an ssh connection are killed with SIGHUP when the ssh connection is closed only if the huponexit option is set: run shopt huponexit to see if this is true. If huponexit is true, then you can use nohup or disown to dissociate the process from the shell so it does not get killed when you exit. Or, run things with screen. If huponexit is false, which is the default on at least some linuxes these days, then backgrounded jobs will not be killed on normal logout. But even if huponexit is false, then if the ssh connection gets killed, or drops (different than normal logout), then backgrounded processes will still get killed. This can be avoided by disown or nohup as in (2). There is some distinction between (a) processes whose parent process is the terminal and (b) processes that have stdin, stdout, or stderr . I don't know what happens to processes that are (a) and not (b), or vice versa. Final question: How can I avoid behavior (3)? In other words, by default in Debian backgrounded processes run along merrily by themselves after logout but not after the ssh connection is killed. I'd like the same thing to happen to processes regardless of whether the connection was closed normally or killed. Or, is this a bad idea? Edit: Another, important way to keep jobs of being killed, that works (?) in either case is to run them through . But, the question is more about understanding when things get killed and when they don't: sometimes people want the jobs to be killed on logout, for instance. More threads: - - - - - - - -",
"How to put a brace on the right, not left, to group cases? 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!",
"If $\\alpha$ is an algebraic element and $L \\subset K$ are both field, does the polynomial ring $L[\\alpha]$ is also a field? I am trying to prove that the ring of fraction $L(\\alpha)$ is equal to $L[\\alpha]$. To do this, I use an exercise done in class : Let $K$ a field, $\\alpha \\in K$ and $L$ a subfield of $K$. Then $L(\\alpha)$ is the smallest subfield of $K$ containing $L$ and $\\alpha$. Is anyone could help me?"
] | medi_sts_stackexchange_dupe |
Is a long stay Hungarian visa valid in all of Schengen? | Can I visit Schengen countries on a Type-D Schengen Visa? | [
"Unable to install Ubuntu on Lenovo Y500",
"Rasterio + QGIS - rasterio.drivers() -> TypeError: 'module' object is not callable I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations. After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors. However now when I run, the first call in the example causes a Traceback: with rasterio.drivers(CPL_DEBUG=True): creates error => TypeError: 'module' object is not callable I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue. Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)",
"Uninstall kubuntu-desktop I installed kubuntu-desktop using sudo apt-get install kubuntu-desktop but I no longer want to use KDE. How do I remove all the packages that were installed by this command ? Thank you",
"How to Export this animation as a gif file for powerpoint presentation",
"Emacs text-scale-adjust causes line numbers column to incrementally shrink and disappear I've set up emacs to display line numbers (global-linum-mode 1), and it works until I start enlarging the text via text-scale-adjust The line numbers column starts to shrink, and disappears entirely after a few increments. When it has fully disappeared, further increments have no more effect on the left edge. Is this a know issue? Is there a workaround? Using GNU Emacs 23.1.1 in Ubuntu 10.04.",
"ArrayList contains case sensitivity",
"Prove that for any prime p, there is a complete set of mod p residues {q1, . . . , qp}, where each qi is prime. I used the theorem {a, a+n, a+ 2n, . . .} contains infinitely many primes if gcd(a, n) = 1 but haven't got much progress. Any comment will be helpful!",
"In history we are taught that the Catholic Church was wrong, because the Sun does not move around the Earth, instead the Earth moves around the Sun. But then in physics we learn that movement is relative, and it depends on the reference point that we choose. Wouldn't the Sun (and the whole universe) move around the Earth if I place my reference point on Earth? Was movement considered absolute in physics back then?",
"I've got a situation where I have a 240V 30A dryer line, and I want to power something else from the same circuit, but NEVER at the same time as the dryer. I'm looking for a switch to use, like a DPDT ON-ON break-before-make switch. There are tons of DPDT switches I've found, and most seem to be ON-OFF. Hardly any show their wiring diagrams, so if they don't give more details, I don't know if they'll work. Note: the second circuit will not use more than 15A, maybe just 12A. I'm hoping someone can recommend specific switches that will do what I want. Manufacturer and exact part# is what I'm looking for. Personally, I don't care if it's a knife switch, something that looks like a standard light switch, two buttons, has relays, I don't care. The breaker box is full, it's a long and difficult wire run, and I do not need a separate circuit because I'll NEVER need to run both devices at once. I could resort to just using one plug and unplugging one then plugging the other one in, but I don't see the point of constantly exposing live wires (the plugs) where something could inadvertently fall on them or water could be sprayed, instead of keeping things all sealed in the wall with a safe, simple switch between two plugs.",
"Is there anything to do during an 8 hour after-midnight layover in Dubai? We are planning a trip with an 8 hour layover in Dubai spanning from 1am-9am. I am thinking about going to see the city, but is it worth it to do it given the very late night hours? Will at least the outside attractions accessible? Will Burj Khalifa be visible in the middle of the night? Will at least some of the malls be open? Will there be anything to do at night? I have seen other questions about layovers in Dubai (), but none of them is asking about a night-only stay.",
"Android app intermittently shows blank body in questions and answers (multiple sites) Note: the bug has returned in version 1.0.89 in a somewhat different form. See: This possible bug report is similar to the bug in that was deemed not-reproducible. I can reproduce something similar with more recent app & Android versions. App Version: 1.0.34 (original report; is still present in 1.0.38, 1.0.42, 1.0.58) Android Version: 4.4 (up to 4.4.4) Device: Motorola Droid Maxx In the examples below, you can see some blank answer bodies. These are on different sites, and represent answers with both edited and non-edited text. In the first example, I clicked on the top answer tab to get to the answers, and in the second example I clicked on the bottom \"View n Answers\" button. (Trying to be a good little tester!) Because I've seen this blank-answer-body intermittently over the past couple weeks (before the May 7 update), my process to test was just to go to the first site I frequent and then systematically click through the question list until I found a question with answers in which at least one answer was blank. For all three sites shown below, it was within the first 5 or 7 questions sorted by newest. Please note that I have seen many questions with several answers, none of which were blank. It is truly intermittent. Example blank answer body at Workplace.SE: Example blank answer body at Programmers.SE: Example blank answer body at UX.SE: And now here's the kicker, which makes me think this is some sort of content-loading latency issue rather than a rendering issue: I returned to the left-side menu, selected the User Experience site, picked the same question as above, and then clicked the top answer tab to view answers again, and lo and behold the text is there: I then went back to the other questions with blank answers, shown above, and the answer bodies were no longer blank. I am happy to go through more tests/paths and do screenshots if it is helpful. The same bug also appears in question bodies.",
"I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this passwd_bkp as passwd and it did not work. No commands were being executed... I was in a terminal window. I restarted my system and now I cannot log in. GRUB gives two options: Linux and recovery mode. I tried to open a sessions as root but it says the filesystem is corrupted. I cannot access my files. Did I lose all my files?",
"Sharing Test code in Maven How can you depend on test code from another module in Maven? Example, I have 2 modules: Base Main I would like a test case in Main to extend a base test class in Base. Is this possible? Update: Found an , which involves creating a test jar.",
"Why can't this be done with Master Theorem Apparently recurrences like this cannot be solved with the Master Theorem: $T(n) = 2T\\left(\\frac{n}{2}\\right) + \\frac{n}{\\log(n)}$ Because $n^{\\log_b(a)} = n^1$ is not a polynomial multiple of $f(n) = \\frac{n}{\\log(n)}$ since $\\frac{n}{\\frac{n}{\\log(n)}} = \\log(n)$, which is less than $n^\\epsilon$ for any positive $\\epsilon$. But when is this really even an issue? For example why wouldn't the time complexity be $n \\log n$ using case 2 of the Master Theorem? Unrolling the recursion: $$T(n) = n\\sum_{k=1}^{\\log_2(n)} \\frac{1}{\\log_2(2^k)}$$ $$T(n) = n\\sum_{k=1}^{\\log_2(n)} \\frac{1}{k}$$ Doesn't this suggest $\\Theta(n \\log n)$ even though it supposedly cannot be done with Master Theorem?",
"How do I make a Villager Trade a Spawn Egg",
"I downloaded a file from the internet (I can link to it here, but in the interests of not annoying other users, I won't post the link), and I can't delete the file with the message: You need permission to perform this action You require permission from the computer's administrator to make changes to this file Trouble is, I am the administrator and UAC is completely off. If I go into the Properties/Security tab, I get the message You do not have permission to view or edit this object's permission settings Clicking \"Advanced\"/Owner, it says: Current owner: Unable to display current owner. If i try to change the owner, I get the same message: Unable to set new owner on file Access is denied.",
"How to detect online/offline event cross-browser?",
"Calculate the radius of a circle given the chord length and height of a segment I have a (circular) segment of known height and known chord length. Is is possible to determine the radius of the circle? Any help much appreciated.",
"The arrival of Minecraft Beta 1.5 brought weather conditions. However, it can at times be inconvenient when you're trying to screenshot something and show it off (as it reduces lighting and obstructs your view slightly). Is there anyway to turn weather off? Alternatively, is there a way to speed up the duration of weather or \"skip\" it?",
"How to Disable new terms (free tagging) with Taxonomies?"
] | medi_sts_stackexchange_dupe |
Example of an interesting topological space that doesn't have a metric | Non-Metrizable Topological Spaces | [
"Do images need a border around them?",
"When rolling percentages, do 1d100 and two d10s (percentiles) share the same probabilities? I know d100s are shunned because they take too much time to roll, and 1d10+1percentile is really fun, but do they share the same probabilities? Is it better to use a (digital) d100? Also, do d100s have 0? You can't roll a 0 with percentiles, I think.",
"If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the packages I installed, etc.",
"Google Chrome error: Error initializing NSS without a persistent database It was working properly before, suddenly it stopped working. When I tried to open by clicking on its icon, but nothing happens. As already here are many questions related to this, but none of them are working for me. I already checked and . I uninstalled Chrome by following the instructions from . sudo apt-get purge google-chrome-stable rm ~/.config/google-chrome/ -rf Again I installed Chrome by: sudo apt-get install google-chrome-stable But the problem is still thesame. When I enter google-chrome in terminal I get following error. [12289:12323:0723/014456:ERROR:nss_util.cc(744)] Error initializing NSS with a persistent database (sql:/home/maddy/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory [12289:12323:0723/014456:ERROR:nss_util.cc(212)] Error initializing NSS without a persistent database: NSS error code: -5925 [12289:12323:0723/014456:FATAL:nss_util.cc(214)] nss_error=-5925, os_error=0",
"Why doesn't C3PO recognize Leia in R2's recorded message?",
"If an polynomial has a complex root, is it necessary that the conjugate of that root is also a root of the polynomial? I am not sure about this. Please comment on this.",
"I used an SRTM DEM to create a hillshade in QGIS 2.2.0. However, the resultant hillshade seems to be vertically exaggerated. Also, changing the settings for scale and z-factor does not have any effect on the resultant hillshade. I have tried both options in QGIS, Analysis-> DEM (Terrain models) and Terrain analysis -> Hillshade. Both methods gave the same results. Is this an isolated incident, a bug, or am I missing something?",
"MWE: \\documentclass{minimal} \\usepackage{commath, tikz} \\begin{document} \\begin{tikzpicture} \\node {$:$}; \\end{tikzpicture} \\end{document} When I compile this, pdfTeX enters an infinite loop. Why?",
"Ok, I just bought a brand new original iPad. Sounds impossible, right? Well, we just opened the box, and it is not even charging. There is no indication that this iPad even works even though it is technically \"new.\" Is this something that Apple will need to fix or do I just need to let it sit on the charger overnight and hope it wakes up from a 2 year sleep in its box?",
"Separator between command list and }",
".php files are downloaded instead of being parsed by Apache",
"Alt Tags Missing from code",
"In what situations is it more appropriate to use an HTML IMG tag to display an image, as opposed to a CSS background-image, and vice-versa? Factors may include accessibility, browser support, dynamic content, or any kind of technical limits or usability principles.",
"None of the physics sensors in my game work, I'm trying to create an AI man that chases after a player, but for whatever reason, he just won't sense the player, I've tried copying and pasting the property name just to be sure, but that's not it.",
"Rather than rephrasing my question, let me describe to you the desired user-case: I create a short shell-script to run command \"gnome-terminal --someoptionflagname 'my text to be posted'\", and execute this script. Gnome-terminal pops up, with command-line prompt followed by my text. ie: fields@mycomputer:/$ my text to be posted Can this be done?",
"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.",
"As a grad student, I just find it tremendously frustrating when emails are ignored by faculty (both at my institution and at other places). Is this acceptable? I'd be content with a simple response with one line along the lines of \"I have read this email and am busy right now, will respond in X days when I can write a more detailed email.\" I understand that, as a first year student in my field, I'm not really in a position to request anything of anyone, but it just seems like common decency. Instead, I never hear back, as if my email has been jettisoned off into oblivion.",
"Changing plurality in parentheses If a set of parentheses lies between a subject and its verb, and the parentheses contain an substitutive subject whose singularity/plurality disagrees with the original subject, whose singularity/plurality should be chosen for the verb? In other words, in the following example, should \"questions\" (and its verb \"are\") be singular, or should they remain plural as shown? Many (if not every) questions on this StackExchange are answered. My intuition tells me that the two words in question should remain in plural forms, since the text in parentheses only interrupts the sentence (and the sentence would be grammatically incorrect if everything in parentheses were removed and the words were in singular form). On the other hand, when read aloud (assuming one reads the text in parentheses), this has an uncomfortable sound to it, and I've seen others write in what would be the above example's singular-form case, so I'm curious to find out which is correct. And, thinking about it, I suppose the same question would apply when commas are used in place of parentheses.",
"How to run scripts on start up?",
"states that if $f:X \\rightarrow Y$ is a morphism of ringed space, $G$ is a locally free $O_Y$-module, then $f^*G$ is a locally free $O_X$ module. Suppose that $G$ is a locally free $O_Y$ module, hence it is a free $O_Y|_U=O_U$ module. We have an induced map $$f^{-1}(U) \\rightarrow U$$ given by restriction of morphism of ringed spaces. Hence, as $\\bigoplus O_U \\simeq G|_U$, $f^*:Mod(O_U) \\rightarrow Mod(O_{f^{-1}(U)})$ is functorial, $f^*(G|_U) = (f^*G)|_{f^{-1}(U)}$, we have isomoprhism, $$ \\bigoplus O_{f^{-1}(U)} \\simeq (f^*G)|_{f^{-1}(U)} $$"
] | medi_sts_stackexchange_dupe |
Write the script to check remote host services running or not | Pass commands as input to another command (su, ssh, sh, etc) | [
"Is it possible to send an email from my Java application using a GMail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute the application. Answers with any of using Hotmail, Yahoo or GMail are acceptable.",
"Why is any number (other than zero) to the power of zero equal to one? Please include in your answer an explanation of why $0^0$ should be undefined.",
"A ring without the Invariant Basis Number property I was reviewing my homework and it seems I overlooked something crucial while proving some ring has no Invariant Basis Number property. This is exercise VI.1.12 in Aluffi's Algebra: Chapter 0 The setup: $V$ is a $k$-vector space and let $R = \\mathrm{End}_{k}(V)$. Prove that $\\mathrm{End}_{k}(V\\oplus V) \\cong R^4$ as an $R$-module Prove that $R$ doesn't satisfy the IBN property if $V = k^{\\oplus \\mathbb N}$. For the first, I used to the fact that $V \\oplus V$ is both the product and coproduct (in $k$-Vect) of $V$ with itself to get the isomorphism. What I just realized is I only showed that the two are isomorphic as groups not $R$-modules. So what would be the $R$-module structure on $\\mathrm{End}_{k}(V \\oplus V)$? For the second, I used the fact that $V = k^{\\oplus \\mathbb N}$ implies $V \\cong V \\oplus V$ which in turn implies $R = \\mathrm{End}_{k}(V) \\cong \\mathrm{End}_{k}(V \\oplus V)$. Again, I just realized that I only showed the latter two are isomorphic as groups. It may be obvious (and maybe why my professor let it pass?) but I can't come up with a good $R$-module structure that makes the two group isomorphisms $R$-linear. Edit: Explicitly, these are the isomorphisms I'm dealing with. Let $\\pi_j, i_j$ be the natural projection/inclusion maps of the $j$-th factor resp. and $\\psi: k^{\\oplus \\mathbb N} \\oplus k^{\\oplus \\mathbb N} \\to k^{\\oplus \\mathbb N}$ the isomorphism given by $\\psi(e_i, 0)=e_{2i-1}$ and $\\psi(0, e_i)=e_{2i}$. Then the first isomorphism $\\mathrm{End}_k(V \\oplus V)\\to R^4$ is given by $\\varphi \\mapsto (\\pi_1\\varphi i_1,\\pi_2\\varphi i_1,\\pi_1\\varphi i_2,\\pi_2\\varphi i_2)$ The second isomorphism $R \\to \\mathrm{End}_k(V \\oplus V)$ is given by $\\alpha \\mapsto \\psi^{-1} \\alpha \\psi$ The composition doesn't seem to be $R$-linear if I use the obvious $R$-module structure on $R$ and $R^4$.",
"Can a multiclass character with 1 level of wizard copy any wizard spell they find into their spellbook? The "Your Spellbook" sidebar for the wizard includes the following line: Copying a Spell into the Book. When you find a wizard spell of 1st level or higher, you can add it to your spellbook if it is of a level for which you have spell slots and if you can spare the time to decipher and copy it. Does this mean that a Wizard 1/Cleric 19 can copy any wizard spell they find into their spellbook? Is there anything preventing them from casting these spells?",
"Dynamic google-code-prettify doesn't work",
"Mark my own question as favorite?",
"Accented letters with IM FELL fonts I am having an error compiling the following code with xelatex and lualatex: ** WARNING ** \"seac\" character deprecated in Type 2 charstring. ** ERROR ** Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5) Output file removed. \\documentclass{article} \\usepackage{xunicode} \\usepackage{fontspec} \\setmainfont[Mapping=tex-text,Ligatures={Common}, Numbers={OldStyle}]{IM FELL English PRO} \\begin{document} Buongiorno a tutti. Trallallà. \\end{document} The error disappears when I omit the accented à. It also doesn't happen when I use other fonts. Could you suggest any workaround? Thank you, A",
"Using `M` instead of `k` when rep is >= 1M on https://chat.stackexchange.com/users I read on () Shouldn't it be 1.03m or (if we really follow the conventions of the metric system) 1.03M instead?",
"Biometric information for a UK visitor visa for the second time I submitted my biometric information when I applied for (and successfully received) the UK visitor visa. Now, the visa has expired and I would like to apply for it again. Do I need to submit my biometric information again? Will the process be the exact same as before?",
"I recently wanted to add some RAM to my old computer, but unfortunately I mixed together \"good\" RAM with chips that I extracted from a computer that failed after getting too much voltage. I know it sounds like a bad idea to just plug it into a motherboard, so I figured I'd ask first - is there usually any protection in the motherboards against this kind of faulty chips? Also, how likely is that RAM got damaged when computer got his deadly current or failed for internal reasons (something shorted because of dust, failed components etc.)?",
"When something gets wet, it usually appears darker. This can be observed with soil, sand, cloth, paper, concrete, bricks... What is the reason for this? How does water soaking into the material change its optical properties?",
"When should compound words be written as one word, with hyphens, or with spaces? Some compound words are written without hyphens (nonaggression, nonbeliever), some with hyphens (well-intentioned), and others with spaces (post office). Is there a rule or good guide as to which option should be used?",
"I am running Ubuntu 18.04. I wanted to install node and npm on my machine. The apt repository version of node is 8.x, whereas I wanted to have version 12.x (Current LTS version). I followed the guide here: As per the guide, I downloaded curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh and then ran it with sudo -E ./nodesource_setup.sh However, my machine fails to run sudo apt update with the following (full) output: maxim@fujitsu:~/scripts$ sudo apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:4 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease E: Repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' changed its 'Suite' value from 'bionic-updates' to 'bionic-security' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. Do you want to accept these changes and continue updating from this repository? [y/N] N Fetched 88.7 kB in 8s (10.5 kB/s) Reading package lists... Done E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease E: Some index files failed to download. They have been ignored, or old ones used instead. suggests that one should use apt update instead of apt-get update. None the less, I am running apt update. suggests to answer \"Y\" to the prompt. , from the Docker community, makes it clear that doing so is a bad idea. However, , suggests that sometimes repositories change the names of package sources. So my question is, is it OK to answer Y here? I don't want to just blindly accept whatever error the package manager throws at me.",
"Is there a way to set initial state with rigid bodies? Let's say I set up a Rigid Body simulation in Blender (not in GE), and then run the simulation for a number of frames. Is there a way to tell Blender to use the current state and position as the initial state? So that when I go back to frame 1, the rigid bodies stay in the same place they did in frame X. For instance, if I want a pile of bricks, I first place the bricks in the air and then let them drop down on the ground, coming to rest. When they have come to rest, I want to use that position as the starting position.",
"How can you turn on or off the cheats after you make an offline server?My brother did something in settings but I can't find it.",
"How can I quickly create a large file on a Linux () system? will do the job, but reading from /dev/zero and writing to the drive can take a long time when you need a file several hundreds of GBs in size for testing... If you need to do that repeatedly, the time really adds up. I don't care about the contents of the file, I just want it to be created quickly. How can this be done? Using a sparse file won't work for this. I need the file to be allocated disk space.",
"I read news on the BBC (on its website) this morning. When I was reading the news I noticed the definite article the was missing in a sentence. As per my opinion, the reporter missed the article the. But I also thought that the reporter also had some point as he did not use the article there. So I just wanted to confirm so landed here to get some help on it. On the website: It also proclaimed the group's leader, XYZ (name), as caliph and \"leader for Muslims everywhere\". As per my opinion it should have been: It also proclaimed the group's leader, XYZ (name), as the caliph and \"leader for Muslims everywhere\". Source link:",
"How do I view 'git diff' output with my preferred diff tool/ viewer? When I type git diff, I want to view the output with my visual diff tool of choice (SourceGear \"diffmerge\" on Windows). How do I configure git to do this?",
"Nearby objects won't move independently?",
"What happened to the ia32-libs package? The ia32-libs package is no longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download?"
] | medi_sts_stackexchange_dupe |
Question on isomorphism of finite field | Ring homomorphism and characteristic | [
"Do I need a transit vsa in Kuwait; what about checked baggage?",
"Can you lookup a domains past nameserver & mx record history?",
"Is it acceptable to change colors on a logo to make it fit a website's theme? I have a few payment brand images that need to go in the footer of a website, the footer is very dark grey, to the point where making the logos grey-scale wouldn't be much of a good idea, especially as we still need the logos to stand out. For example I took the following logo: And changed it to fit with our very dominant red theme: Is this good in terms of the user's perspective? Is this legal or misrepresenting the brand? If so is completely changing a logo to white acceptable for dark backgrounds?",
"How to remove the Unity Amazon package in 16.04? I was able to go to the ubuntu software center before and remove it and now it doesn't show up since the switch to the gnome software store. Trying the terminal method of removing the shopping lens doesn't work in this release.",
"Looks like flagging has been affected by releases today. Are these intended effects? Higher daily limits (appear doubled for me, flagging of posts limit also doubled). Explained by Shog9 below. Soft comment deletion - e.g. for \"accept rate\" obsolete comments - it does in fact work, but the immediate feedback is gone. This is fixed now. Has the throttling rate changed? Seems possible to repeated flag without waiting 5 seconds. If it was broken, it isn't anymore. Old soft deletions that were neither categorised as \"helpful\" or \"declined\" have all become \"helpful\". If limits have been updated, can we get the new formula published? Not changed, as confirmed by Shog9.",
"Prove that if prime $p$ divide $a_{2k}-2$, then $p$ divide also $a_{2k+1}-1$.",
"Is it possible to apply modifiers to multiple objects at once?",
"Alternating binomial sum with intervals of two Fix integer $n\\geq 1$. Consider the number $$1-\\binom{n}{2}+\\binom{n}{4}-\\binom{n}{6}+\\cdots$$where the sum continues as long as the lower number in the binomial is $\\leq n$. Is there a way to simplify this sum? The first few values are $1, 0, -2, -4, -4$.",
"How to find out what init mode system is using? I was looking at this and I'm not sure how to find out which startup service is used on my machine (Ubuntu 14.04 on Digital Ocean). Can it use all of them? (upstart, system v, systemd)",
"Flexslider view preview working but not on actual page My block is not working for the flexslider: The images are not appearing, but the view preview does work. I don't know if it is relevant, but a similar problem would happen with just a slideshow view, although one image would appear and it would not cycle. Could jQuery be a problem? The following is the actual page with the block that is not showing any images. The following is the view preview, which works.",
"How can reincarnated souls be summoned using Edo Tensei? Quoting , Reincarnation is the philosophical or religious concept that an aspect of a living being starts a new life in a different physical body or form after each biological death. It is also called rebirth or transmigration, and is a part of the Saṃsāra doctrine of cyclic existence. Then, since Ashura has reincarnated into Naruto, and Indra into Sasuke, how can Uchiha Madara and Senju Hashirama (their previous reincarnation) be summoned using Edo Tensei?",
"Will Area 51 be supported in the app?",
"When should I use \"shall\" versus \"will\"?",
"Will the Garbage Collector call IDisposable.Dispose for me?",
"How to make clickable links and cross-references in pdfs produced by LaTeX?",
"What is the name of the vertical bar in $(x^2+1)\\vert_{x = 4}$ or $\\left.\\left(\\frac{x^3}{3}+x+c\\right) \\right\\vert_0^4$? I've always wanted to know what the name of the vertical bar in these examples was: $f(x)=(x^2+1)\\vert_{x = 4}$ (I know this means evaluate $x$ at $4$) $\\int_0^4 (x^2+1) \\,dx = \\left.\\left(\\frac{x^3}{3}+x+c\\right) \\right\\vert_0^4$ (and I know this means that you would then evaluate at $x=0$ and $x=4$, then subtract $F(4)-F(0)$ if finding the net signed area) I know it seems trivial, but it's something I can't really seem to find when I go googling and the question came up in my calc class last night and no one seemed to know. Also, for bonus internets; What is the name of the horizontal bar in $\\frac{x^3}{3}$? Is that called an obelus?",
"Including Bitmap (.bmp) I can't include bitmaps with pdflatex. Here is my mwe: \\documentclass[12pt,a4paper]{article} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage[turkish]{babel} \\addto\\extrasturkish{\\uccode`i=\\string\"9D \\lccode`I=\\string\"19 } \\addto\\noextrasturkish{\\uccode`i=`I \\lccode`I=`i } \\usepackage{graphicx} \\begin{document} \\shorthandoff{=} \\includegraphics[width=5cm,height=5cm]{000.bmp} \\end{document} Gives the error Unknown graphics extension: .bmp.",
"What is covariance in plain language and how is it linked to the terms dependence, correlation and variance-covariance structure with respect to repeated-measures designs?",
"#1115 - Unknown character set: 'utf8mb4' When I Import Mysql from local server to web ser it is showng me error 1115 - Unknown character set: 'utf8mb4' in Creating wordpress wp_comment table CREATE TABLE IF NOT EXISTS `wp_commentmeta` ( // // ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT =1; #1115 - Unknown character set: 'utf8mb4' My mysql version is Version information: 4.0.4, latest stable version: 4.4.10 (local version) Version information: 4.0.10.7, latest stable version: 4.4.10( server version) Please help me to solve out the error",
"In Python, you can do this: import webbrowser webbrowser.open_new(\"http://example.com/\") It will open the passed in url in the default browser Is there a ruby equivalent?"
] | medi_sts_stackexchange_dupe |
update record entity api | Updating a field programmatically, hook_node_update | [
"An English book tells me that the following sentence is correct: This publication is made from paper from sustainable forests. Shouldn't it be of paper instead?",
"How to get hardware specs of Android device?",
"Filter questions with no accepted answer I have some questions with answers, but none of the answers are acceptable (just wrong). I'm sure there are a lot more people with the same problem. Can you add a button to filter questions with answers but no accepted answer? This way, people will see those questions and maybe try to offer a new perspective.",
"A set of elements in a reduced unity ring Let $(A,+,\\cdot)$ be a unity ring with the property that if $x \\in A$ and $x^2=0$ then $x=0$. Consider the set $M=\\{a\\in A | a^3=a\\}$. Prove that: a) $2a\\in Z(A)$, $\\forall a\\in M$, where $Z(A)$ denotes the centre of the ring $A$; b) $ab=ba$, $\\forall a,b\\in M$. My attempts revolved around the fact that an idempotent element in a reduced ring is central. So, since for $a\\in M$ we have that $(a^2)^2=a^2$, it follows that $a^2\\in Z(A)$, $\\forall a\\in M$. The next thing I wanted to use in order to solve a) was that $Z(A)$ is a subring of $A$, so if I had proved that $(a+1)^2 \\in Z(A)$, $\\forall a\\in M$, then we would have reached the desired conclusion. However, I couldn't prove this and I honestly doubt that it is true. Another idea that I had was to prove that $M$ is a subring of $A$. Of course, this didn't work out because I cannot even prove that $M$ is closed under addition. Again, I don't know if this is true and it most likely isn't. As for b), I think that a) should be of use, but I don't know how. It is a well-known problem that a ring with $x^3=x$ for any $x$ in that ring is commutative, but since $(M,+,\\cdot)$ is almost definitely not a ring, this doesn't help. EDIT: Is there any chance that this question is simply wrong? I tended to believe this before asking it here too, but since nobody has made any progress on it until now I am even more inclined to think so.",
"Why does the Community user approve and reject edits? Why does the Community user sometimes approve or reject edits? How does a machine know if my edit is valid? What does it mean if my edit was rejected by Community? See also:",
"Can a Kazakh national transit in Dubai without a visa?",
"Product of Consecutive Integers is Not a Power",
"How disk space is used on Android device? I have critical low storage level and can't understand what takes much of it and how that's possible that the installed applications can use 7 GB? I only use a few social media clients without any games or soft like Photoshop. Also on the second screenshot it indicates that the apps are using just 1.13 GB and so I can't understand the situation. Also what is the \"Other\"?",
"How do I connect Android devices to a WiFi AP and mobile data network simultaneously? When I turn WiFi on, my 3G connection shuts down, which is fine in most cases. However, I need to connect to a LAN at work that is not connected to the internet and I'd prefer not to lose my data connection when I connect to the work intranet. How can I keep both connections active? Ideally, I could limit this desired behavior to this one SSID because I want it to continue to operate with the default behavior for all other WiFi connections. If that can't be done, prefer a solution that is easy to toggle on and off. I'm using a Samsung Galaxy Nexus (Verizon Wireless) on CyanogenMod 9.",
"Multi-partition multi OS bootable USB I want to create a recovery flash drive. I have my 8 gb flash drive[Kingston data traveller] with me. I also have the required .iso files for a>Ubuntu 13.10 b>Boot-repair disk c>AVG Rescue CD I Wish to create 4 partitions(3 for each bootable .iso and one for data storage. Also, I want a way in which I can select which OS to boot each time I boot from USB. So, is there a way to install GRUB on USB as well as the three other live distros? And how to create such a setup?",
"How do I install an individual package on a Linux system? I need to install a new TeX/LaTeX/ConTeXt package on my computer. I'm running Ubuntu/Fedora/Slackware/Some-Version-Of Linux. What are the possible ways to do this? Note: We get a number of questions that essentially reduce to this one; it was felt a good idea to have one question-and-answer that can cover all the standard methods. See for the discussion. The question-and-answer are CW so that more information can be easily added. If you have information to add, please do so. If you are unsure, leave a comment here or (preferably) in . Comments on the question and answer will be periodically removed to ensure that the information is clear.",
"Why are the solutions of polynomial equations so unconstrained over the quaternions? An $n$th-degree polynomial has at most $n$ distinct zeroes in the complex numbers. But it may have an uncountable set of zeroes in the quaternions. For example, $x^2+1$ has two zeroes in $\\mathbb C$, but in $\\mathbb H$, ${\\bf i}\\cos x + {\\bf j}\\sin x$ is a distinct zero of this polynomial for every $x$ in $[0, 2\\pi)$, and obviously there are many other zeroes. What is it about $\\mathbb H$ that makes its behavior in this regard to be so different from the behavior of $\\mathbb R$ and $\\mathbb C$? Is it simply because $\\mathbb H$ is four-dimensional rather than two-dimensional? Are there any theorems that say when a ring will behave like $\\mathbb H$ and when it will behave like $\\mathbb C$? Do all polynomials behave like this in $\\mathbb H$? Or is this one unusual?",
"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?",
"Are and the really the same thing? Not too long ago, Susskind and Bousso uploaded the article \"\" with the thesis that the many-worlds interpretation and the multiverse of eternal inflation are one and the same thing. The parallel worlds of one are exactly the same thing as the parallel worlds of the other. First, they claim decoherence can't happen over a complete description of the future light-cone of the measurement. Then, they apply that principle to eternal inflation. Without decoherence, superpositions of nucleating bubbles and metastable vacua can't decohere. According to the anthropic principle, most bubbles have no conscious observers, but an exponentially small minority do. Apply black hole complementarity to causal horizons. Then, somehow, in a way I can't follow, they combine causal diamond worlds into a global multiverse. Then they claim decoherence is reversible. My head is spinning. What are your opinions on this paper?",
"Google Maps choose zoom to fit country TIGHTLY in given window",
"Multiplicative inverse questions This is my first time posting on Math exchange. I have been self-teaching myself Mathematics and recently started learning some Algebra. I was posed the following questions, in which I would like to answer before I proceed, but having some trouble finding proper solutions. So the format will be question, and my answer. What name do we give an element $a \\in \\mathbb{Z}_n$ that has a multiplicative inverse? A modular multiplicative inverse of an integer $a$ is an integer $x$ such that $ax \\cong 1 (\\mod m)$. This means that the remainder after dividing $ax$ by integer $m$ is equal to $1$. Give an example, for some $n \\in \\mathbb{N}$, of an element of $\\mathbb{Z}_n$, that does not have a multiplicative inverse? This question is throwing me off because - does the $n$ we speak of matter for both $n \\in \\mathbb{N}$ and $\\mathbb{Z}_n$ ot solely $n$? My guess here would be $0$ because we cannot have an inverse of $0$. Prove that multiplicative inverse are unique; an element $a \\in \\mathbb{Z}_n$ cannot have two multiplicative inverses. Suppose that an element $a\\in\\mathbb{Z}_n$ has an inverse $a'$. Next, suppose that $a^*$ is also an inverse of $a$. Then, $a'$ is a solution to $a \\cdot_n x=1$, and similarly $a^*$ has a solution to $a \\cdot_n x=1$. Lemma: Suppose $a'$ is multiplicative inverse of $a$ in $\\mathbb{Z}_n$, then for any $b \\in \\mathbb{Z}_n$ the equation $a \\cdot_n x=b$ has a unique solution, such that $x = a' \\cdot_n b$. By Lemma, equation $a \\cdot_n x = 1$ has a unique solution, namely $x=a'=a^*$. Therefore, an element $a\\in \\mathbb{Z}_n$ cannot have two multiplicative inverses. Thank you for the help. I would love any constructive feedback for these. If you can help me elaborate on some ideas, that would be really helpful also. Thank you very much!",
"Javascript close alert box I want to be able to close an alert box automatically using Javascript after a certain amount of time or on a specific event (i.e. onkeypress). From my research, it doesn't look like that's possible with the built-in alert() function. Is there a way to override it and have control over the dialog box that it opens? Also, I don't want an override that shows a hidden div as the alert. I need an actual dialog box.",
"Wikipedia mentions several English words that have been : Anime comes from animation and has been reborrowed into English to mean Japanese-style animation. Puroresu comes from professional wrestling and is a term for Japanese-style professional wrestling. Kosupure comes from cosplay (an abbreviation of costume play) and refers to the practice of dressing in costumes of anime and video game characters. Do you know other examples of word reborrowings from Japanese or other languages back into English, or vice versa?",
"Centering sections",
"How does Austria's suspension of Schengen affect travellers (both EU and non-EU)? I'm an Italian citizen. Next Sunday I'm going to Austria. I have a national ID card but no passport. Recently Austria suspended Schengen. So can I enter Austria?"
] | medi_sts_stackexchange_dupe |
What's the benefit of assigning a function to a variable vs just calling the function? | var functionName = function() {} vs function functionName() {} | [
"Is my C1/D visa valid for transit in the US, if I want to go on a vacation to Mexico?",
"Finding the nth non square free number We all know what numbers are. I was more interested in checking an efficient way to find nth non square free number.",
"How do I configure Nautilus to open at my Documents folder instead of my home folder? I've scoured this site and found answers instructing users to edit the /usr/share/applications/nautilus.desktop file, replacing %U with the path to the desired default directory. I've edited all the variants of nautilus.desktop in the said directory, but none of the edits has an effect. I've checked all the files after editing them to make sure that I saved the edit effectively, and all look good to me. I've edited every file to read as follows: Exec=nautilus --new-window /home/judy/Documents I've also edited the org.gnome.Nautilus.desktop file, just to be sure, with no joy. I'm running Ubuntu 15.10. Note: if I enter nautilus /home/judy/Documents from the command line, Nautilus properly opens in the desired directory. Is there a simple way that I can configure an icon in the launcher bar to run this command and have the Nautilus icon that looks like a metal file drawer? Thanks. I'm pulling my hair out over this one.",
"Physically what does warping (of space-time) mean? So there's general relativity and Einstein's field equations that tell us \"mass(or equivalently energy) warps space-time, and the warping tells mass how to move\", but I'm still having trouble understanding how space (a thing I conceive to be 'empty' or nothingness) can be 'warped'. After researching books, on-line articles, and this stack exchange itself I can't seem to find any descriptions or discussions that don't immediately resort to jumping into GR and its mathematics to provide a more physical intuitive understanding of what it means to for space to be warped. Is it space, this empty thing, that's getting warped. Or rather is it some field (Higgs field?) that exists around matter that's getting warped? Although this question appears similar to , it's asking if it's empty space that's being warped by matter or rather a field in space that's being warped (the Higgs Field?). The other question and all 10 answers addressing it do not address fields vs. empty space - What's really getting warped?",
"I've been playing Agar for some time now, and lately I've noticed there was a new XP system in Agar. Since then I've been wondering what variables chance the XP gained. I've tried googling it, but with no luck. I'm looking for how the XP system works in these game modes: FFA Teams Experimental",
"Norm $N$ on $\\Bbb Z[\\sqrt d]$ is multiplicative, $N(x)$ prime $\\Rightarrow x$ irreducible",
"Do we have different badges in different SE sites",
"Taskbar > File Explorer > Context Menu failing me So I have the latest version of Windows 10, and this is a new PC. File Explorer is in the taskbar. When I open the context menu (right-click) on it, I get the list of folders as seen in the picture. When I right click on any of them, I get the blank black box you see in the picture. If I click on any of the folders, such as Downloads or Update. Nothing happens. They don't open. The only way to use it is to click on the actual File Explorer icon and then navigate from there. I've tried uninstalling things (not that I have much installed since it's a fresh install) and I've tried scans, etc. This only happens with File Explorer. Everything else works fine. I can't figure it out.",
"123.SOGOU.COM - trojan horse in ukui-screensaver",
"So why did the price tank all of a sudden and then came back to normal? What does it mean?",
"What are the big differences among the D&D editions? I've been out of the loop for a while, and I used to play AD&D 2nd ed, but today I find there are a lot of different versions that have fairly different gameplay. Can anyone summarize the really big differences, the ones (maybe top three?) that are the 'killer features' of the different editions? What makes each edition play differently than the others?",
"Point Renderings Slightly Off in Mathematica",
"Trying to identify a very old short story about aliens colonizing human bodies Don't remember the exact start to the story, but it went something like \"walking along a path\" or something, and when he hears what sounds like a shotgun blast behind him, he then feels something strike him in the butt. He passes out, and when he awakens, he discovers that the \"shotgun blast\" was actually a miniature spaceship that exploded and shot miniature aliens into his body. The aliens prove to be very beneficial because they clean up all the toxins and other poisons in his body. They can be transmitted through kissing or sexual activity. Any help with the name of the story would be greatly appreciated. Dan",
"Sam Weller in The Pickwick Papers: What accent is Dickens portraying? In Dickens' Pickwick Papers, there's a character \"Sam Weller\". Weller's dialogue is written somewhat phonetically, I presume, but I'm struggling to understand what accent Dickens is trying to portray. The main peculiarities of Weller's speech are using \"v\" where there should be a \"w\" and a \"w\" when there should be a \"v\". For example, he says \"wery\" instead of \"very\" and \"avay\" instead of \"away\". Weller is supposed to be from London, but this doesn't seem like any kind of London accent I've heard. Is this a particular archaic accent? More importantly, what is Dickens telling us about Sam Weller by having him speak like this?",
"Adding console.log to every function automatically",
"I'd like to write an N-body simulation in which I collide two disk galaxies. To give you an idea of the accuracy I'm trying to achieve, I'm aiming to make this my screensaver at 30fps on my work desktop. Think Euler's method, large epsilons in denominators to prevent blow up, all that lazy stuff. One place I don't want to be lazy, however, is in the initial construction of the galaxies I'm trying to collide. I want to design a galaxy that will at least sort of hold together by its own gravity until it smash it into another one. How might I go about selecting the orbital velocities for each of the bodies composing the galaxy?",
"pgfplots: percentages and endvalues in stacked ybar I have two questions regarding the pgfplots package. I have attached the source code I worked on. There are two features I am not able to realize: I would like to put the total value (sum of the whole stacked bar) on top of the bar, rotated by 90°. For me, it was only possible yet to get the value of each part of the stacked bar by using the nodes near coords command. Additionally, the percentage of each part of the stacked bar as relative to the whole stacked bar should be displayed in the bar, also rotated by 90° (addition equals 100%) If it is somehow possible, percentages should have only one significant digit, and those below 5% should not be displayed in the bar. I know this is a pretty complex example, but maybe there is one who can solve it. \\documentclass{article} \\usepackage{pgfplots,pgfplotstable} \\usetikzlibrary{pgfplots.groupplots} \\pgfplotsset{compat=1.8} \\pgfplotstableread{ Criterion ddd ccc vvv (0) 700 750 750 (a) 700 750 750 (b) 1200 750 750 (c) 33 345 345 (d) 34 333 345 (e) 234 344 344 }\\Rob \\pgfplotstableread{ Criterion ddd ccc vvv 0 70 75 75 a 70 75 75 b 120 75 75 c 3 34 34 d 3 33 34 e 23 34 34 }\\Gab \\begin{document} \\begin{tikzpicture} \\begin{groupplot}[group style= { columns=2,xlabels at=edge bottom, ylabels at=edge left, horizontal sep=1cm,group name=plots, }, ymin=0, enlarge x limits={abs=.5}, enlarge y limits={upper,value=0.4}, ylabel=Mon, ylabel style={text height=0.02\\textwidth,inner ysep=0pt}, ybar,ybar stacked, major x tick style = transparent, /pgf/bar shift=0pt, /pgf/bar width=9pt, x tick label style={text height=2ex}, xlabel style={yshift=-2ex}, xticklabels from table={\\Rob}{Criterion}, xtick=data,legend columns=-1, legend style={draw=none, /tikz/every even column/.append style={column sep=5pt}}] \\nextgroupplot[xlabel=Rob, xlabel shift = -7.5cm, legend to name=grouplegend] \\pgfplotstableforeachcolumn\\Rob\\as\\col{ \\ifnum\\pgfplotstablecol=0 \\else \\edef\\tmp{ \\noexpand\\addplot table [x expr=\\noexpand\\coordindex,y=\\col] {\\noexpand\\Rob}; \\noexpand\\addlegendentry {\\col} } \\tmp \\fi } \\nextgroupplot[xlabel=Gab, xlabel shift = -7.5cm] \\pgfplotstableforeachcolumn\\Gab\\as\\col{ \\ifnum\\pgfplotstablecol=0 \\else \\edef\\tmp{ \\noexpand\\addplot table [x expr=\\noexpand\\coordindex,y=\\col] {\\noexpand\\Gab}; } \\tmp \\fi } \\end{groupplot} \\draw[dashed] (plots c1r1.south west) -- ++(0,-1.5); \\draw[dashed] (plots c1r1.south east) -- ++(0,-1.5); \\draw[dashed] (plots c2r1.south west) -- ++(0,-1.5); \\draw[dashed] (plots c2r1.south east) -- ++(0,-1.5); \\node at (plots c1r1.south) [inner sep=0pt,anchor=north, yshift=-12ex] {\\ref{grouplegend}}; \\end{tikzpicture} \\end{document}",
"Does there exist a set L of pairwise disjoint lines, each line in an axis direction, in $\\mathbb{R}^3$ such that their union is equal equal to $\\{ x : x \\text{ has at least one irrational coordinate}\\}$?",
"Computing limit of $(1+1/n)^{n^2}$",
"Is Canon 60D still a decent camera? I have a Canon 60D, bought it back in 2013. Use it quite a while, but in past two-three years, I lost interest in photography. I will be going on a long trip this summer and would like to take a decent camera with me. Is Canon 60D still a decent one or I will be missing on features and upgrades comparing to the latest versions? In terms of lenses I own Tamron 24-70 2.8 And Canon 100 2.8 Macro."
] | medi_sts_stackexchange_dupe |
How to create new folder? | How can I safely create a nested directory in Python? | [
"Isn't the uncertainty principle just non-fundamental limitations in our current technology that could be removed in a more advanced civilization? From what I understand, the states that there is a fundamental natural limit to how accurately we can measure velocity and momentum at the same time. It's not a limit on equipment but just a natural phenomenon. However, isn't this just an observational limit? There is a definite velocity and momentum, we just don't know it. As in, we can only know so much about the universe, but the universe still has definite characteristics. Considering this, how do a wide range of quantum mechanical phenomena work? For example, quantum tunneling - its based on the fact that the position of the object is indefinite. But the position is definite, we just don't know it definitely. Or the famous light slot experiment? The creation of more light slots due to uncertainty of the photon's positions? What I am basically asking is why is a limit on the observer, affecting the phenomenon he is observing? Isn't that equivalent to saying because we haven't seen Star X, it doesn't exist? It's limiting the definition of the universe to the limits of our observation!",
"Proving Pascal's Rule : ${{n} \\choose {r}}={{n-1} \\choose {r-1}}+{{n-1} \\choose r}$ when $1\\leq r\\leq n$ I'm trying to prove that ${n \\choose r}$ is equal to ${{n-1} \\choose {r-1}}+{{n-1} \\choose r}$ when $1\\leq r\\leq n$. I suppose I could use the counting rules in probability, perhaps combination= ${{n} \\choose {r}}=\\frac{n!}{r!(n-r!)}$. I want to see an actual proof behind this equation. Does anyone have any ideas?",
"What is the simplest way to prove the Earth is round? Assume you've come in contact with a tribe of people cut off from the rest of the world, or you've gone back in time several thousand years, or (more likely) you've got a numbskull cousin. How would you prove that the Earth is, in fact, round?",
"How can I compute the distance between two coordinates in TikZ? Given two points (defined, for instance using nodes), I want to compute the distance between them. Is there some build in functionality in tikz to do this? If not, how can it be done using the mathematical engine? The application I have in mind is to draw an circular arc centered at (a) and passing through some second point (b), where only (a) and (b) are known.",
"How can I render an edge only mesh as solid lines? I have a schematic of a raspberry pi that is completely flat, no solid faces, just connected vertices. Is it possible to render these lines somehow, so that it looks like a 2D drawing? Maybe with freestyle?",
"It is me who am to blame. It is I who am to blame. Which one is correct here? I am bewildered about these two sentences.",
"Is there a page listing all fields?",
"Can I rename the wp-admin folder? Is it possible to rename the wp-admin folder? I know I could just rename it, but unless it's supported by the code lots of things would break. If I use a custom folder name, it will make it slightly more secure, security by obscurity and all that.",
"I've heard that exposing database IDs (in URLs, for example) is a security risk, but I'm having trouble understanding why. Any opinions or links on why it's a risk, or why it isn't? EDIT: of course the access is scoped, e.g. if you can't see resource foo?id=123 you'll get an error page. Otherwise the URL itself should be secret. EDIT: if the URL is secret, it will probably contain a generated token that has a limited lifetime, e.g. valid for 1 hour and can only be used once. EDIT (months later): my current preferred practice for this is to use UUIDS for IDs and expose them. If I'm using sequential numbers (usually for performance on some DBs) as IDs I like generating a UUID token for each entry as an alternate key, and expose that.",
"If $G$ is a group and $G'$ is generated by $\\{xyx^{-1}y^{-1}|x,y\\in G\\}$, then $G'\\trianglelefteq G$ and $G/G'$ is Abelian. At first, I thought this is easy because I thought $g[x,y]g^{-1}=[gxg^{-1},gyg^{-1}]$. But it was a mistake. I could not prove that it is also subgroup of G and $G/G'$ is abelian. I need help.",
"Probability of $p(x_1<x_2<\\max(x_3,x_4))$",
"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!",
"What are the odd of a single coin toss after many consecutive ones? I have little knowledge of probability and have recently been thinking of a math problem I am sure you guys could answer If for example I tossed a coin ten times and got all heads, would the odds of the next coin toss beeing heads be 50 50 or s very low as the odds of getting 11 in a row is tiny? Thanks",
"Why don't wizards always use multiple wands?",
"C# 4.0 optional out/ref arguments",
"TSA broke a lock for which they have a master key. How can I claim compensation?",
"What is the origin of BrEng ‘bird’ meaning “young woman”? Bird: (Brit.) a girl or young woman, esp one's girlfriend () According to bird: \"maiden, young girl,\" c.1300, confused with (q.v.), but felt by later writers as a figurative use of (n.1). Modern slang meaning \"young woman\" is from 1915, and probably arose independently of the older word. also : , bird was used for ‘girl’, but this was probably owing to confusion with another similar middle English word, burde, which also meant ‘young woman’. The usage crops up from time to time in later centuries, clearly as an independent metaphorical application, but there does not really seem to be an unbroken chain of occurrences leading up to the sudden explosion in the use of bird for ‘young woman’ in the 20th century. (www.dictionarycentral.com) Modern usage of bird meaning girl appears to be unrelated to the old Middle Ages meaning. Etymonline dates it back precisely to 1915. What is the modern origin of bird meaning young woman? In what context did they start to use it at the beginning of the 20th century?",
"Completion handlers and return values",
"I'm looking into a restful design and would like to use the HTTP methods (POST, GET, ...) and HTTP headers as much as possible. I already found out that the HTTP methods PUT and DELETE are not supported from the browser. Now I'm looking to get different representations of the same resource and would like to do this by changing the Accept header of the request. Depending on this Accept header, the server can serve a different view on the same resource. Problem is that I didn't find a way to tell my browser to change this header. The <a..> tag has a , that can have a mime type, looked like a good candidate but the header was still the browser default (in Firefox it can be changed in about:config with the network.http.accept.default key).",
"Cannot determine size of graphic I'm trying to include graphics in my Latex-file, which I compiled with latex+dvipdf on OS X. Latex however returns this error: \"Cannot determine size of graphic\" My graphic is exported from PowerPoint, so I have tried both .pdf and .png. I get the same errors for both. Sample code that doesn't work: \\begin{figure}[htb] \\begin{center} \\leavevmode \\includegraphics[width=0.8\\textwidth]{graph.png} \\end{center} \\end{figure} If I have to manually set some measurements of the image, please tell me how I can find out those measurements. I need the image to take up about 80% of text width and be centered. Thanks."
] | medi_sts_stackexchange_dupe |
Where can I find Stack Overflow Jobs? | Enable Careers and Jobs in app | [
"In C# check that filename is *possibly* valid (not that it exists) Is there a method in the System.IO namespace that checks the validity of a filename? For example, C:\\foo\\bar would validate and :\"~-* would not Or a little trickier, X:\\foo\\bar would validate is there is an X: drive on the system, but wouldn't otherwise. I suppose I could write such a method myself, but I'm more interested in a built-in one.",
"Was Thanos really committed or just a hypocrite? The title is extremely vague, because this question contains HEAVY spoilers for Avengers: Infinity War, specifically the very last scenes of the movie. I can't reasonably put the entire question in spoiler tags, so consider this your warning. At the end of the movie, Thanos pretty much wins. He gets all the Infinity Stones, Gamora and Vision have been brutally murdered, and the rest of the cast completely beaten. Nobody could stop him. So he executes his plan. As far as I know (unless I missed something), his plan is to eradicate exactly half of all mortals in the universe, and from his own words, in a fair lottery (random chance), without taking into account a person's wealth, social status, or anything else. Pure chance decides whether you are sacrified for the greater good or live through this greater good (according to him). During the movie, Thanos and one of his underling (Ebony Maw) say themselves that being sacrified is an honor and should be appreciated. As you would expect, most people do not appreciate being sacrified. At the end of the movie, Thanos uses all 6 stones to do a finger snap, deleting half the universe. The question is: Did he exclude himself from the targets? Was there a 50% chance that Thanos himself would disappear right there? As far as I know, this is not explicitly answered in the movie itself. I am looking for similar situations in the comics (or in the movie if I happened to miss something) where you could know, or have an educated guess, as to Thanos being the kind of person who follows through to the end, even if it means dying, or the kind of person who gets scared of death when it comes down to it, and comes off as an hypocrite. Some people also mentioned his \"deal\" with Strange would make him spare Tony from the snap too. I'm also wondering about that, if there is a link between the two, but it's not the focus of the question. The reason I'm wondering is that Thanos seems to me like a very extreme utilitarist. Even though he might be wrong about the value of his plan (Do the remaining half really become happy?), in-universe it seemed successful at least once (Gamora's home planet), so his reasoning is not bad, even if the premise might be horribly flawed. Excluding himself from the snap would make it into a straight villain, while considering himself equal to the rest would make him into a wannabe hero with very very evil methods. This makes a huge difference in the interpretation of the movie and his character.",
"Suppose that we don't know logarithm, then how we would able to calculate $\\sqrt x$, where $x$ is a real number? More generally, is there any algorithm to calculate $\\sqrt [ n ]{ x } $ without using logarithm? More simple techniques would be nice. Here is a simple technique used to approximate square roots by : For example: $\\sqrt {78}\\approx 8\\frac { 14 }{ 17 } $ , where $8$ is the nearest integer root of $78$, $14 = 78 - 8^2$, $17 = 2 \\times 8 + 1$. if $n=2^k$ we can use the method above. For example, for $k=2$ Lets calculate $\\sqrt [ 4 ]{ 136 } $: $$\\sqrt [ 4 ]{ 136 } =\\sqrt { \\sqrt { 136 } } \\approx \\sqrt { 11\\frac { 136-{ 11 }^{ 2 } }{ 11\\times 2+1 } } =\\sqrt { 11\\frac { 15 }{ 23 } } \\\\ \\sqrt { 11\\frac { 15 }{ 23 } } \\approx 3\\frac { 11\\frac { 15 }{ 23 } -{ 3 }^{ 2 } }{ 3\\times 2+1 } =\\frac { 544 }{ 161 } =3.38\\\\$$ The exact result is$$ \\sqrt [ 4 ]{ 136 } =3.4149\\cdots$$ The method approximates well, but it is working for only $n=2^k$ as I know.",
"Completely clear all output from a Terminal window",
"strictly positive elements in $C^*$-algebra Let $A$ be a $C^*\\text{-algebra}$ and $A_+$ denote the positive elements. An element $a\\in A_+$ is called strictly positive if $\\overline{aAa}=A$. Want to find the following:a)What are the strictly positive elements of $C_0(\\Omega)$ where $\\Omega$ is locally compact Hausdorff space, and $C_0(\\Omega)$ is the space of continuous complex valued functions that vanishes at $\\infty$.b)If $A$ is unital, then $a\\in A_+$ is strictly positive iff $a$ is invertible.c)if $(e_n)$ is an approximate identity of $A$, then $a:=\\sum_{n=}^{\\infty}\\frac{1}{2^n}e_n$is strictly positive.What I tried and know:a) I know that positive elements in this space are functions with positive images, and thus, strictly positive elements are functions with positive images and now real root. is this correct? and how can I show that the positive elements are these kind of functions.b) I figures out that if $a$ in invertible then $a$ is strictly positive, but no idea how to do the other direction.c)I did this but using another characterization of strictly positive elements but want to do it with this one, and I don't know how.Thank you for your help.",
"If $a_1, a_2, ..., a_n$ is a reduced residue system $\\mod p$ and $a_1', a_2', ..., a_n'$ is another reduced residue system $\\mod p$ then $a_1 a_1', a_2 a_2', ..., a_n a_n'$ is not a reduced modulo system $\\mod p$. Not able to show a counter to it. Help Needed.",
"has been solved, in XeTeX, by this code: \\def\\kright#1{\\leavevmode #1\\kern-\\XeTeXglyphbounds3 \\the\\XeTeXcharglyph`#1 } \\def\\kleft#1{\\leavevmode \\kern-\\XeTeXglyphbounds1 \\the\\XeTeXcharglyph`#1 #1} which allows me to align text more precisely to the ink by accessing the side-bearing measurements (\\XeTeXglyphbounds1 and 3). This XeTeX dependency is currently the only thing stopping me from moving to LuaTeX (mainly for microtype). Is an equivalent function available in LuaTeX, or planned? After reading a bit more on microtype, could the equivalent effect be achieved by an appropriately-tailored set of character protrusions? That way, my move to LuaTeX might be a lot simpler.",
"Electorate badge rules? I just got the badge on StackOverflow, which is nice, but I noticed a number of top users aren't yet listed (inluding Jon Skeet and Marc Gravell, who would certainly qualify). This made me wonder how the badges are retrospectively applied. Is it just that the display is heavily cached and the badge is awarded when the user logs in again or something?",
"Can we switch terminals at Heathrow (LHR) for shopping only? We will be flying into and out of Terminal 5 at Heathrow. Now, my wife has taken fancy to a certain duty-free store located at Terminal 3. Assuming we factor in enough time before boarding our outbound flight from Terminal 5, are we allowed to enter Heathrow from Terminal 3, shop and then shuttle over to Terminal 5?",
"How can I output colored text to the terminal in Python?",
"Is it possible to see a list of all my edits using a query?",
"What is the most CPU efficient way to ensure that NumLock is on? Situation: I have a script watching over NumLock status, well not really watching, but turning it On every 1 second. The script is running in the background. Reasoning: I often accidentally turn off NumLock. And I have no indicator of NumLock status on the keyboard. OS, DE, DM, WM, xmodmap: : $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 18 Sarah Release: 18 Codename: sarah : echo $DESKTOP_SESSION cinnamon : cat /etc/X11/default-display-manager /usr/sbin/mdm : wmctrl -m | head -n 1 Name: Mutter (Muffin) : xmodmap -pm xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) My original Bash script follows: #!/bin/bash while true do numlockx on sleep 1s done As you can see, the script does not care about current status of NumLock. It just keeps turning it on. Goal: I would like to make the script at least somewhat CPU efficient. Question: What is the most CPU efficient way to ensure that NumLock is On in Linux (Mint 18)?",
"Partition of circumference into $3k$ arcs The following problem is from 1982 Russian Mathematical Olympiad. If you go to this , and scroll down to the section Russian Math Olympiad, then this is Problem 333 in that text-file. Let $k$ be a positive integer. There are $3k$ points marked on the circumference. They divide the circumference onto $3k$ arcs. Some $k$ of arcs have length 1, other $k$ of them have length 2, the rest $k$ of them have length 3. Prove that some two of the marked points are the ends of one diameter. I haven't given too much thought into the problem yet (I probably wouldn't get anywhere), but I thought I would share this awesome problem. Added. Trivial Observation: The length of the circumference is $k+2k+3k=6k$.",
"I would like to use the sentence He was 'over-eager' to implement his plan, leading to failure. I am looking for a single word which expresses over-eagerness in a negative sense. TIA",
"I am new to the netplan on Ubuntu 18.04, just discovered it exists today. I have an interface that I am trying to add to create a floating IP on google cloud. It is based on this example: I tested the example, and it works, but now I try to do the same on ubuntu, and I don't know how to convert this: cat << EOF >> /etc/network/interfaces auto eth0:0 iface eth0:0 inet static address 10.190.1.1 netmask 255.255.255.255 EOF to netplan. The output for ls /etc/netplan is '50-cloud-init.yaml'. and the output for cat /etc/netplan/*.yaml is: network: version: 2 ethernets: ens4: dhcp4: true match: macaddress: 42:01:0a:8e:00:3e set-name: ens4 my ifconfig: # ifconfig ens4 ens4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460 inet 10.142.0.62 netmask 255.255.255.255 broadcast 0.0.0.0 inet6 fe80::4001:aff:fe8e:3e prefixlen 64 scopeid 0x20<link> ether 42:01:0a:8e:00:3e txqueuelen 1000 (Ethernet) RX packets 9430 bytes 1635180 (1.6 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13383 bytes 1513428 (1.5 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 What is the equivalent of what he said to put in the file, for netplan?",
"continuous functions on $\\mathbb R$ such that $g(x+y)=g(x)g(y)$ Let $g$ be a function on $\\mathbb R$ to $\\mathbb R$ which is not identically zero and which satisfies the equation $g(x+y)=g(x)g(y)$ for $x$,$y$ in $\\mathbb R$. $g(0)=1$. If $a=g(1)$,then $a>0$ and $g(r)>a^r$ for all $r$ in $\\mathbb Q$. Show that the function is strictly increasing if $g(1)$ is greater than $1$, constant if $g(1)$ is equal to $1$ or strictly decreasing if $g(1)$ is between zero and one, when $g$ is continuous.",
"How can I select a point without selecting its reflected side",
"One of the boys who always give/gives the correct answer is Samuel. As per rule, one of is followed by plural noun/pronoun and singular helping verb, so we should be using gives in the sentence. But the answer is give.",
"BAD signature when trying to verify SHA256SUMS for Bionic Beaver ISO I am attempting to verify my download of Bionic Beaver on Windows 7. I feel like I am missing something very obvious. I went to and clicked on both SHA256SUMS and SHA256SUMS.gpg It seems like this does not download the files, but opens the text in the files in new tabs. I used Ctrl-A and then copied the text into Notepad, naming the files SHA256SUMS and SHA256SUMS.gpg. I made sure that windows didn't add any weird extensions when saving. I manually downloaded both keys I used from https://keyserver.ubuntu.com, one with fingerprint C598 6B4F 1257 FFA8 6632 CBA7 4618 1433 FBB7 5451 and the other with fingerprint 8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092 After I downloaded both keys I certified them with my personal key using Kleopatra, after verifying the key fingerprint with those at . When I ran gpg --verify SHA256SUMS.gpg SHA256SUMS I got gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg: using DSA key 46181433FBB75451 gpg: BAD signature from \"Ubuntu CD Image Automatic Signing Key <[email protected] om>\" [full] gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg: using RSA key D94AA3F0EFE21092 gpg: BAD signature from \"Ubuntu CD Image Automatic Signing Key (2012) <cdimage@u buntu.com>\" [full] When I ran gpg --verbose --verify SHA256SUMS.gpg SHA256SUMS I got gpg: armor header: Version: GnuPG v1 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg: using DSA key 46181433FBB75451 gpg: using pgp trust model gpg: BAD signature from \"Ubuntu CD Image Automatic Signing Key <[email protected] om>\" [full] gpg: binary signature, digest algorithm SHA512, key algorithm dsa1024 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg: using RSA key D94AA3F0EFE21092 gpg: BAD signature from \"Ubuntu CD Image Automatic Signing Key (2012) <cdimage@u buntu.com>\" [full] gpg: binary signature, digest algorithm SHA512, key algorithm rsa4096 I tried copying the data from SHA256SUMS and SHA256SUMS.gpg tabs over TOR instead, in case it was a local network problem, but no dice either. What am I missing here? Is there some way to download the SHA256SUMS and SHA256SUMS.gpg files directly, as opposed to copying the data into a text editor and saving it? Any help would be very appreciated. I am very confused and frustrated at this point.",
"Show \"Insufficient Privileges\" directly when clicking 'Edit' (override), not on 'Save' If a user clicks 'Edit' on an opportunity which he isn't allowed to edit, the \"Insufficient Privileges\" page directly appears. This is good. If a user clicks 'Edit' on a custom object (which has an edit override that points to a visualforce page), he first sees the form without problems, and the \"Insufficient Privileges\" page only appears when he tries to save it. This behaviour is misleading for the users, because they think they can manipulate the data and put effort into it, and only afterwards they realize that this wasn't possible after all. An idea was to check at page load if the user has edit permissions and otherwise redirect him to the \"Insufficient Privileges\" page. Might there be another way? Thanks!"
] | medi_sts_stackexchange_dupe |
Is the potential energy of molecules related to its temperature? | Do ideal gases at zero Kelvin have potential energy? | [
"Accidental chown under / as root I accidentally run the following command as root chown mike -Rf / backups the point is that I added a space between / and backups my mistake, I stopped the command after 1-2 seconds, how can I recover from this? I have problems with DirectAdmin right now for example when accessing it I recive the error: Unable to determine Usertype user.conf needs to be repaired http://help.directadmin.com/item.php?id=456 Or I stopped recieving emails, I dont even know what else is messed up right now...",
"'Possible duplicate' comment not appearing for questions with deleted comments containing the link I posted a comment to a duplicate question on . But I decided to delete it. Afterwards I voted as duplicate and thought a comment would be generated like possible duplicate of ... But it didn't. My guess is that the duplicate-comment won't be generated if a comment exists with that link, even if deleted.",
"What happens to the energy when waves perfectly cancel each other? What happens to the energy when waves perfectly cancel each other (destructive interference)? It appears that the energy \"disappear\" but the law of conservation of energy states that it can't be destructed. My guess is that the kinetic energy is transformed into potential energy. Or maybe it depends on the context of the waves where do the energy goes? Can someone elaborate on that or correct me if I'm wrong?",
"Help ending a proof using binomial theorem: $\\sum_{k=0}^n {n \\choose k}\\cdot\\frac{(-1)^k}{k+1} = \\frac{1}{n+1}$",
"This is probably a silly question but I need some help. I opened a file that I've been working on for about a month in the new 2.8 version of Blender. However when I tried to reopen the file in version 2.79, the scene is completely empty. Here is where the problem lies for me, I accidentally saved over the original file save while in version 2.8 . Please help. Thanks!",
"Prove that in a triangle $$r^2+r_1^2+r_2^2+r_3^2=16R^2-(a^2+b^2+c^2)$$ where the symbols have their usual meanings. I am looking for a smaller or elegant proof using trigonometry. A geometric proof would be super cool. I did prove it but it took me ages to do the calculation. Thanks.",
"At the beginning of we see that Logan (a.k.a. Wolverine) and Colonel William Stryker were working together by the end of the Vietnam War. For 5 years after the war, he lives in Canada with a girlfriend. But in we see that Logan was part of some gang at the end of the Vietnam War. My question is which of these are X-Men movie canon?",
"How to access HTML element without ID? For instance in the snippet below - how do I access the h1 element knowing the ID of parent element (header-inner div)? <div id='header-inner'> <div class='titlewrapper'> <h1 class='title'> Some text I want to change </h1> </div> </div> Thanks!",
"Detecting and acting on keyboard direction keys in Java",
"$$ x^2+2(1+a)x+(3a^2+4ab+4b^2+2)=0$$ I tried to make an inequality using the discriminant and I simplified it to get $$a^2+2ab+b^2+\\frac{1}{2}≤0$$ But I don't know how to solve this.",
"Let $\\mathbb S = \\varnothing$. Then from the definition: $ \\bigcap \\mathbb S = \\left\\{{x: \\forall X \\in \\mathbb S: x \\in X}\\right\\}$ Consider any $x \\in \\mathbb U$. Then as $\\mathbb S = \\varnothing$, it follows that: $\\forall X \\in \\mathbb S: x \\in X$ from the definition of vacuous truth. It follows directly that: $\\bigcap \\mathbb S = \\left\\{{x: x \\in \\mathbb U}\\right\\}$ That is: $\\bigcap \\mathbb S = \\mathbb U$. () Proofwiki uses the above \"proof\" to \"prove\" that intersection of the empty set is the whole universe. My question is, is the use of vacuous truth really allowed in axiomatic set theory, like ZFC? I don't see how the use of vacuous truth is justified. The next problem I can think of is that we cannot really \"define\" the elements of empty set (to my knowledge, there is no element in empty set) so how can we then prove as the above proof did? This seems to contradict the use of vacuous truth. And of course, there is issue of using the whole universe as a set, and I don't think this is allowed.... (Maybe proof above is using a different axiomatic set theory, as I am using ZF-minded thoughts...)",
"I've got a couple of URL autocomplete suggestions where Chrome suggests the wrong URL consistently. How can I delete the incorrect entry from the address bar's suggestion list? The page I want shows up too but it's never the first result.",
"What is the name of an anime from 80s-90s movie/series in which there is a scene, maybe the end, where a girl (who has an armor) exchanges age with a dying man in a beach, so the man transforms into a baby and the girl grows to a woman?",
"Should an image carousel on a mobile site automatically rotate?",
"The optical density of a medium is quantified by its refractive index $n$. Does it have any correlation with the mass/number density of the medium? In other words is an optically denser medium must have a greater mass density compared to an optically rarer medium?",
"Is there any adjustment required when computing the correlation coefficient between: continuous and discrete variable two discrete variables ? Thanks !",
"Access nested dictionary items via a list of keys?",
"Maximum and minimum value of Determinant of $3 \\times 3$ Matrix with entries $\\pm 1$ Find Maximum value of Determinant of $3 \\times 3$ Matrix with entries $\\pm 1$ My try: I considered a matrix as : $$A=\\begin{bmatrix} 1 &-1 &-1 \\\\ -1 &1 &-1 \\\\ -1&-1 &1 \\end{bmatrix}$$ we have $$Det(A)=-4$$ and maximum is $4$, but how can we show that these are max and min values? I also tried as follows: By definition Determinant of a matrix is dot product of elements of any row with corresponding Cofactors hence $$Det(A)=a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13}$$ By cauchy Scwartz Inequality we have $$a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13} \\le \\left(\\sqrt{a_{11}^2+a_{12}^2+a_{13}^2}\\right)\\left(\\sqrt{C_{11}^2+C_{12}^2+C_{13}^2}\\right)$$ any way to proceed here?",
"I have an app to deploy in production that uses 'honor system' security. That is, all users connect to the DB using a SQL user/passwd credential and the app manages permissions itself. The latter part doesn't bother me as much as the fact that the connection object contains embedded credentials and can be copied around freely. I'm try to find some way to limit connections to a more limited set of clients. I can create firewall rules to limit by IP, of course. Is there any way to 'prequalify' SQL logins either by Machine account or domain membership?",
"Option clash for package xcolor I'm writing a report, and have a rather large table in my appendix. I'd like to emphasize some specific values by coloring some single cells. I'm trying to do it with xcolor. But receiving the error: ! LaTeX Error: Option clash for package xcolor. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.17 The package xcolor has already been loaded with options: [] There has now been an attempt to load it with options [table] My preamble looks as follows \\documentclass[a4paper,oneside,article]{memoir} \\usepackage[latin1]{inputenc} \\usepackage[T1]{fontenc} \\usepackage[danish]{babel} \\usepackage{lmodern} \\usepackage{graphicx} \\graphicspath{{Figures/}} \\usepackage{fullpage} \\usepackage{modroman} \\usepackage{float} \\usepackage{caption} \\usepackage[numbers]{natbib} \\usepackage{url} \\usepackage{pgfplots} \\usepackage{mathtools} \\usepackage[table]{xcolor} And take out of my table \\begin{table} \\centering \\begin{tabular}{|c|c|c|} \\hline \\cellcolor{green!25}D & x & D/$L_0$ \\\\ \\hline 65 & 2600 & 0,417\\\\ \\hline 60 & 2400 & 0,385\\\\ \\end{tabular} \\caption{Bestemmelse af bølgehøjde} \\label{tab:Q1} \\end{table} Read some other questions asking more or less the same. And the answer to them seems to be a \"collision\" between packages. I have no idea how to find the problem. So my question is: Where is the \"collision\"? How on earth would I have found it without help ?"
] | medi_sts_stackexchange_dupe |
Including pdf as appendix without shift of page | How to include PDF pages without a newpage before the first page? | [
"How to change certain pages into landscape/portrait mode How can I change some pages into document into landscape mode, while leaving the others in portrait mode (or vice versa)?",
"I want to count the total number of files in particular directory that ends with \".mp4\" extension. I am getting following command: ls -F |grep -v / | wc -l It count all the files in particular directory, but I want the count of files that end with .mp4 extension. Is there any Ubuntu command for that?",
"Is there a rising trend in Number Series I am trying to build a stock screening utility. What I am trying is to find if there is a rising trend in a time series of profit margins of a company. I know there can be dips in some years but I want to find if mathematically that overall there is a rising trend as well as towards the recent years there is higher margins as compared to previous years. Is there any way we can find it mathematically? Profit Return Year,Company A,Company B,Company C 2005,38.97,20.44,22.01 2006,22.4,20.59,20.63 2007,22.4,20.59,20.63 2008,21.56,22.01,23.87 2009,25,20,23.52 2010,25,22.38,18 2011,30,24.13,24.85 2012,32,25.43,27.47 2013,30,20,22 2014,35,27,20",
"Services Actions Missing in Central Admin",
"Abelianization of free group is the free abelian group",
"How to select the rows with maximum values in each group with dplyr?",
"I am trying to follow Blender Guru's beginner tutorial. He went to the Compositor tab and was using it to Denoise an image but when I got there, no nodes show up. Can you guys help?",
"Why are there both Static and Kinetic Friction? When dragging an object, there is a greater start-up force than the force it takes to keep it moving. Why is this? Why are there two different values for friction?",
"What are the differences between \"su\", \"sudo -s\", \"sudo -i\", \"sudo su\"? I already read it from manual but I can't see difference.. su - change user ID or become superuser sudo -s [command] The -s (shell) option runs the shell specified by the SHELL environment variable if it is set or the shell as specified in passwd(5). If a command is specified, it is passed to the shell for execution. Otherwise, an interactive shell is executed. sudo -i disappear description in manual",
"why $1+\\frac{1}{1+\\frac{1}{\\frac{1}{1+\\dots}}}$ cannot be equal to $\\frac{1-\\sqrt{5}}{2}$ I know that some of you will answer because it is positive.I know it but I don't know how to prove it.Maybe the second part is positive how do you know that?Thanks in advance.",
"I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it would handle international formats, but it must handle US formats, including the following: 1-234-567-8901 1-234-567-8901 x1234 1-234-567-8901 ext1234 1 (234) 567-8901 1.234.567.8901 1/234/567/8901 12345678901 I'll answer with my current attempt, but I'm hoping somebody has something better and/or more elegant.",
"throwing a $k$-sided dice until you get every face the same number of times",
"Service not avaliable Unity3d error in Kubuntu I'm trying to use in Kubuntu, but I'm getting this error: Service not avaliable, please try again later. I've found : Certain systems may experience \"Service unavailable\" errors when trying to log in. WORKAROUND: Launch Unity with LD_PRELOAD=/usr/lib/libresolv.so.2 /path/to/Unity (check the path to your local libresolv) I've checked the path of libresolv.so.2 in my computer. I found it under /lib32/libresolv.so.2 and under /libx32/libresolv.so.2. (Don't know what the difference is). When I run: LD_PRELOAD=/lib32/libresolv.so.2 /opt/Unity/Editor/Unity I get: ERROR: ld.so: object '/lib32/libresolv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. and when I run: LD_PRELOAD=/libx32/libresolv.so.2 /opt/Unity/Editor/Unity I get: ERROR: ld.so: object '/libx32/libresolv.so.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. With both commands I also get this: /opt/Unity/Editor/Unity: /opt/Unity/Editor/Data/Tools/libgpg-error.so.0: no version information available (required by /lib/x86_64-linux-gnu/libgcrypt.so.20) Any suggestion?",
"In a 2D top-down game, how can I create projectiles that have a height?",
"These two exercises I encountered recently seem to develop some type of connection between GCD and LCM I can't quite figure out. Exercise 1: Find all the numbers $x$ and $y$ such that: $a) \\ GCD(x,y)=15, \\ LCM(x,y)=150$ $b) \\ GCD(x,y)=120 \\ LCM(x,y)=1320$ $c) \\ GCD(x,y)=100 \\ LCM(x,y)=990$ Exercise 2: Find all the numbers $m,n$ such that $GCD(m,n)=pq , \\ LCM(m,n)=p^2qs$ where $p,q,s$ are prime The first thing that is known to me is that $GCD(x,y) \\cdot LCM(x,y)= x \\cdot y$ Also $LCM(x,y)$ is at most $x \\cdot y$ while $GCD(x,y)$ is at most $\\max \\{x,y\\}$. Last thing is that $GCD(x,y)|LCM(x,y)$. Using all this I tried to solve the first exercise: $a)$ First two obvious pairs are $x=15, y=150$ and $y=15, x=150$. Now neither of the numbers can be bigger than $150$ or smaller than $15$. So we are looking for numbers in the range $15-150$ that satisfy $x \\cdot y = 15 \\cdot 150$ Another such pair is $(x,y)=(30,75), \\ (x,y)=(75,30)$. Similarly for $b)$ we find that the only possible values are permutations of the set {$120,1320$} and in $c)$ since $100$ does not divide $990$ no such numbers exist. Now exercise 2 is what made me think there is actually another connection I'm not quite aware of since now it's about arbitrary prime numbers and the previous method doesn't work anymore. My intuition is that it has something to do with $GCD$ or $LCM$ of the $GCD(x,y), \\ LCM(x,y)$",
"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?",
"After upgrading to Firefox 57 Quantum many website have rendering issues, such as empty frames, missing text or fonts, etc. I use Kubuntu 16.04 64 bit. So far, I've tried: Restarting Firefox in safe mode Disabling \"hardware acceleration\" Wiping out my profile Purging Firefox and reinstalling Running Firefox from a clean user account But nothing helped so far. Any tips on how to solve this are much appreciated",
"Chrome phishing warning on main I just got a Chrome phishing warning on main for Is it just me, Chrome screwing things up or do you people have work to do? The message in English: Known phishing site detected. Google Chrome has denied the access to stackoverflow.com. This site is reported as phishing site. Phishing sites are designed to mislead you, so that you disclose your login credentials, password or other personal data. These sites occur as sites which you probably trust.",
"Is there a replacement for unistd.h for Windows (Visual C)? I'm porting a relatively simple console program written for Unix to the Windows platform (). All the source files include \"unistd.h\", which doesn't exist. Removing it, I get complaints about misssing prototypes for 'srandom', 'random', and 'getopt'. I know I can replace the random functions, and I'm pretty sure I can find/hack-up a getopt implementation. But I'm sure others have run into the same challenge. My question is: is there a port of \"unistd.h\" to Windows? At least one containg those functions which do have a native Windows implementation - I don't need pipes or forking. EDIT: I know I can create my very own \"unistd.h\" which contains replacements for the things I need - especially in this case, since it is a limited set. But since it seems like a common problem, I was wondering if someone had done the work already for a bigger subset of the functionality. Switching to a different compiler or environment isn't possible at work - I'm stuck with Visual Studio.",
"SEO of in header"
] | medi_sts_stackexchange_dupe |
What is the difference between AOSP and CM/AOKP? | What is the difference between AOSP and AOKP? | [
"I was trying to prove this question. Q. If G is a group of even order, prove that it has an element a, such that a$\\neq$e satisfying $a^2$=e. I tried solving it using Principle of mathematical induction. So, Let O(G)=2m, where m$\\in$ $N$. We proceed by induction on m. For m=1, O(G)=2, $\\therefore$ G contains two elements. G=$\\{{e,a}\\}$. Now, e has order 1. So, a can not have order 1. $\\therefore$ a has order 2. So, it true for m=1. Now, let it be true for m=k. Then, we have a group G of order 2k, where $\\exists$ an element a$\\in$ G, whose order is 2. We wish to prove it for m=k+1. Then G has order 2k+2. I don't know how to proceed further.",
"How does mission progress work in multiplayer?",
"Question involving discriminant of quadratic congruence in elementary number theory.",
"Is there a difference in meaning among 'should', 'happens to', or 'should happen to'?",
"What is the purpose of the word 'self'?",
"Using WFS-T in OpenLayers? How can I use WFS-T in openlayers-2? I'm using in server side.",
"To change URL to user friendly URL I'm refactoring my ASP.net application from ASP.net 3.5 to 4.0. Also I'm changing the URLs to user friendly URLs /product.aspx?id=100 to /product-name/100. All my pages are indexed by search engines and the site has already been online for 6 years. I'm planning to do 301 redirect from the old pages to the new one. I want to make sure I won't lose the rankings and traffic. Any suggestion how to do it properly?",
"Inverse of a Positive Definite",
"Is it true that $(R\\times S)[G]\\cong R[G]\\times S[G]$?",
"System settings won't open on Ubuntu 20.04 LTS after adding System76/pop PPA I'm trying to open System Settings but it won't open in any way. Using GUI, Settings are trying to load for a moment and then they are gone. Using Terminal (gnome-control-center), I get: (gnome-control-center:8823): GLib-ERROR **: 14:44:15.433: ../../../glib/gmem.c:138: failed to allocate 13477064712 bytes Trap Trace/breakpoint (core dumped) I tried: sudo apt-get remove gnome-control-center sudo apt autoremove sudo apt-get install gnome-control-center With multiple reboots, but I had no result. UPDATE!: Same errors persist BUT, when I type: sudo gnome-control-center (instead of just "gnome-control-center") suddenly System Settings appear! Is it a user permissions issue? Any suggestions? UPDATE#2: After some system updates, sudo gnome-control-center now spawns "Segmentation fault".",
"Adding more than 15 digits in Excel",
"Bind application to a specific network interface",
"Install suspension forks on non-suspension bike I have a 1990s Saracen PowerTrax. Is there a way I can install a suspension fork, or will that muck up the bike somehow? I'm actually interested in ways to raise the bars with respect to the seat, so that wouldn't be a problem. My toes rubbing in the wheel, in the other hand, would definitely be a problem.",
"Do you need to erase the memory of *watching* a memory in a Pensieve? You remove your memory from your brain to store in a Pensieve (as Snape or Dumbledore did). Then, you re-watch the memory (e.g. as Dumbledore re-watched his memories of Voldemort's investigations with Harry) in the Pensieve. Does that mean that you now re-created the memory in your brain (because you remember watching it) and thus you'll need to extract/erase it from your brain again if you don't wish to keep it there for security/capacity reasons (which was why you stored it in the Pensieve in the first place? Canon answers only please.",
"Pointwise convergent and total variation I'm preparing for a test for real analysis and I came across this problem in Royden's book: Let $\\{f_n\\}$ be a sequence of real valued functions on $[a,b]$ that converges pointwisely on $[a,b]$ to the real valued function $f$. Show that $TV(f) \\leq \\liminf ~TV(f_n)?$ This looks quite similar in form to Fatou's Lemma to me, but can't find any way to establish TV with integration, can anybody please help? (TV is short for total variation)",
"Add a property to a JavaScript object using a variable as the name? I'm pulling items out of the DOM with jQuery and want to set a property on an object using the id of the DOM element. Example const obj = {} jQuery(itemsFromDom).each(function() { const element = jQuery(this) const name = element.attr('id') const value = element.attr('value') // Here is the problem obj.name = value }) If itemsFromDom includes an element with an id of \"myId\", I want obj to have a property named \"myId\". The above gives me name. How do I name a property of an object using a variable using JavaScript?",
"How to apply a texture to only one side of a plane How can you have an image as a texture (in this case on cloth) that is only applied to one side of a plane? I would like the reverse side to be a solid color. Please see below image where the cloth has the image texture on both sides.",
"Proving that $m+n\\sqrt{2}$ is dense in $\\mathbb R$ I am having trouble proving the statement: Let $$S = \\{m + n\\sqrt 2 : m, n \\in\\mathbb Z\\}$$ Prove that for every $\\epsilon > 0$, the intersection of $S$ and $(0, \\epsilon)$ is nonempty.",
"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?",
"As the photo - Variable 'n' has already been declared. I've tried clearing my cache, as well as using a new user profile with no extensions, but it doesn't work. Might be useful to know so it can be fixed before more people are using Chrome (If it's SO's fault of course!)"
] | medi_sts_stackexchange_dupe |
Catching multiple SIGCHLD processes for Unix Style Shell in C | Determine pid of terminated process | [
"What algorithm for a tic-tac-toe game can I use to determine the \"best move\" for the AI?",
"GUI/Unity crashing in 16.04 LTS after updates 2018-01-04, compiz segfaults 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.",
"Is it possible to scale up an image to increase the the pixel density?",
"Why do all Winforms programs require the [STAThread] attribute?",
"Windows 10 won't let me set default apps for file extensions",
"Where did the Q come from, before the Q Continuum? In the Star Trek Universe where did the Q come from? I mean before they were Q in the Q Continuum? In Star Trek Voyager you learn that the race is somewhat intolerant of individualism (in the episode of the Q Civil War) but Q also suggest they have always been Q. Is that statement true, have the Q always been the Q? or were they a race that evolved into omniscience?",
"How do ${0##*/} and ${0%/*} work? I'm quite confused about the following regular expressions I found in a shell script: ${0##*/} ${0%/*} How do they work?",
"Principled way of collapsing categorical variables with many levels? What techniques are available for collapsing (or pooling) many categories to a few, for the purpose of using them as an input (predictor) in a statistical model? Consider a variable like (discipline chosen by an undergraduate student). It is unordered and categorical, but it can potentially have dozens of distinct levels. Let's say I want to use major as a predictor in a regression model. Using these levels as-is for modeling leads to all sorts of issues because there are just so many. A lot of statistical precision would be thrown away to use them, and the results are hard to interpret. We're rarely interested in specific majors -- we're much more likely to be interested in broad categories (subgroups) of majors. But it isn't always clear how to divide up the levels into such higher-level categories, or even how many higher-level categories to use. For typical data I would be happy to use factor analysis, matrix factorization, or a discrete latent modeling technique. But majors are mutually exclusive categories, so I'm hesitant to exploit their covariance for anything. Furthermore I don't care about the major categories on their own. I care about producing higher-level categories that are coherent with respect to my regression outcome. In the binary outcome case, that suggests to me something like linear discriminant analysis (LDA) to generate higher-level categories that maximize discriminative performance. But LDA is a limited technique and that feels like dirty data dredging to me. Moreover any continuous solution will be hard to interpret. Meanwhile something based on covariances, like multiple correspondence analysis (MCA), seems suspect to me in this case because of the inherent dependence among mutually exclusive dummy variables -- they're better suited for studying multiple categorical variables, rather than multiple categories of the same variable. edit: to be clear, this is about collapsing categories (not selecting them), and the categories are predictors or independent variables. In hindsight, this problem seems like an appropriate time to \"regularize 'em all and let God sort 'em out\". Glad to see this question is interesting to so many people!",
"Is there a way to log all Microsoft SQL Server queries executed on a certain server, with their respective durations? I'd like to be able to analyze all queries will a tool like what does for PostgreSQL. While we're at it: do you know of any such tools?",
"Jump between open windows on multiple monitors in Task View on Windows 10 with keyboard I'm using two monitors with Windows 10 and I have a few windows open on each monitor. When I open the Task View (Win + Tab) I can only navigate between the main monitor's windows with keyboard (using arrow keys or the Tab key). I see the other display's windows on that display but can't figure out how to cycle through those windows with my keyboard. Is there a way I can give focus to secondary monitor's windows in the Task View using keyboard? To put it another way, how do I select the first item on the right monitor in the following screenshot using keyboard?",
"Was it just coincidence that Tahir Mahmood went on stage?",
"How to install and use CDI on Tomcat?",
"Help me identify this fantasy book about two near-omnipotent wizard run empires",
"I have to find an easy ring which this ring is isomorphic with. I can prove that $5 = (2+i)(2-i) \\in (2+i)$ but this doesn't help me further. My book says the answer is $\\mathbb {Z_5} $",
"What is the true origin of the orcs? There are a bunch of theories about the true origin of the orcs. Tolkien tried out a few different origins for his Orcs throughout his life but died before he could fully revise The Silmarillion with his final view on their origins and nature. There is a list of origins proposed by Tolkien(): Made of stone and slime through the sorcery of Morgoth; East Elves, where The Silmarillion contains a suggestion that Orcs are descended from East Elves captured by Melkor, their minds and bodies distorted and corrupted. Sentient beasts, another of Tolkien's theories proposes that Orcs may have begun as soulless animals of vaguely humanoid shapes, empowered by the will of the Dark Lord (Morgoth) and learning language only as parrots do. Fallen Maiar, there are hints in the History of Middle-earth series of books, (especially in Morgoth's Ring in the section \"Myths Transformed\"), that some Orc leaders, such as the First Age's Boldog, or the Great Goblin encountered by Bilbo and the Dwarves, may in fact have been fallen Maiar which had taken Orc form. Corrupted Men, while Tolkien at some point saw all Orcs as descended from the original corrupted and tortured Elves, later comments of his indicate, according to Christopher Tolkien in Morgoth's Ring \"Myths Transformed\" text X, that he began to feel uncomfortable with this theory. At about the same time he removed the references to the Thrall-Ñoldorin, he also began searching for a new origin for the Orcs. It seems Tolkien wanted to change the origin of the Orcs to make them corrupted and twisted Humans. A mix of corrupted Elves and Men, A late idea of Tolkien seems to be that Orcs (or Orks, showing the late spelling change) had a mixed origin of Elves and Men. Some cross-bred with Men, Tolkien also suggested that Men were cross-bred with Orcs under Morgoth's lieutenant, Sauron (and possibly under Morgoth himself). The process was later repeated during the War of the Ring by Saruman. This possibly refers to the way the Uruk-hai and the Half-Orcs were created, in The Lord of the Rings. Of all these theories, which is the most accepted, and which did Tolkien agree with the most? I always thought that orcs were made of East Elves, as explained in The Lord of The Rings, but the story goes beyond this, there are the stories in many other books that explain different things. What can you tell me about this?",
"Hypothetical party: 1st level human wizard (PC) 3x guard NPC 1x acolyte NPC This is the player's first time, and it's a solo campaign. The first mini-adventure involves recovering the cargo of a supply caravan that didn't make it to her magic academy due to bandit hijacking (as a sort of graduate-test). The guards and healer are on contract from the school to assist her. The acolyte is essentially just to hang back and tend to wounds and probably won't engage in combat unless someone goes down or the PC is seriously wounded. So, with that \"party\" makeup, how do I determine the XP budget for a \"medium\" or \"hard\" encounter since there's no clear CR->level mapping in 5e for those NPCs (who will certainly factor into any combat as meatshields and melee damage)? I was thinking about reverse-engineering them as crumby lvl2 fighters (given the 2 HD worth of HP they have), but they certainly aren't on par with a lvl2 fighter, given the lack of action surge, second wind, etc., so the encounters would end up being too hard compared to PCs or DMPCs. Could they be lvl1-equivalents, essentially trading any abilities a PC would have for extra HP? How would this work at later levels with higher CR NPCs (veteran, priest, mage, etc.)? I'd rather not have to build a bunch of DMPCs as hirelings, because I want the NPCs to be a bit vanilla compared to the versatility of my player. I'm already introducing 1-2 DMPCs to the game for her to take control over as she gets a feel for the flow of the game (for now, she'll handle them out of combat, and I'll effectively show her how to utilize them until she's ready). Just to be clear, I'm comfortable with the monster-generation rules for crafting NPCs as enemies to determine their CR, but I'm confused on how to use them in the adventuring party when budgeting encounter difficulty XP.",
"It should be trivial, and it might even be in the help, but I can't figure out how to navigate it. How do I indent multiple lines quickly in vi?",
"Editing Photoshop (PSD) files on Ubuntu? I was wondering that is it possible to edit PSD files on Ubuntu (like with Gimp). Actually, I need to edit layers. I haven't managed to do it. It would be nice if there is a chance! :)",
"If Newton's third law is true, why can we sink in sand? Newton's third law of motion states that every action has an equal and opposite reaction. That is the reason we do not sink into the earth, because when our weight exerts a force on the earth it also exerts an equal and opposite force on us. But when we stand on quicksand or on fluids we can sink in. How is this possible? Does it not exert an equal and opposite force on us? Or are Newton's laws different in the case of fluids and substances of low densities?",
"Was Louis stalked days in advance too?"
] | medi_sts_stackexchange_dupe |
I cannot boot Windows 7 after I installed Ubuntu on a partition | Windows 7 won't boot after installing Ubuntu 11 | [
"When a polished piece of metal (or steel in particular) is heated to incandescence, how do its reflective properties change? Given a mirror-like surface, would the object temporarily cease to act like a mirror at a certain temperature? Would the specular reflection of light turn into diffuse reflection; in other words, would the surface temporarily become matte/dull? I am not asking about permanent changes to the object such as melting, but rather can there be a temporary change in the reflectivity only while the the object is hot, that disappears when the object is cooled down? Background of the question: I have a laser scanner that usually has trouble scanning shiny surfaces with high specular/ low diffuse reflectivity; and it seems to work a lot better for hot steel pieces than for cold ones. Glowing steel also looks less shiny to me than cold steel, but of course that is hard to tell with all the glowing",
"How do I set a default host for nginx? I'm trying to figure out how to set a default host for my nginx installation. I found this article in the nginx Wiki: Unfortunately, this doesn’t work. After restarting I get this: Restarting nginx: nginx: [emerg] unknown directive \"http\" in /etc/nginx/sites-enabled/catchall:1 nginx: configuration file /etc/nginx/nginx.conf test failed After removing the http directive I get this: Restarting nginx: nginx: [emerg] unknown log format \"main\" in /etc/nginx/sites-enabled/catchall:7 nginx: configuration file /etc/nginx/nginx.conf test failed I’m on Ubuntu 10.04.3 where I’m using the official nginx PPA. Version 1.0.9 of nginx is running.",
"As I understand this, firewalls (assuming default settings) deny all incoming traffic that has no prior corresponding outgoing traffic. Based on and , reverse SSH tunneling can be used to get around pesky firewall restrictions. I would like to execute shell commands on a remote machine. The remote machine has its own firewall and is behind an additional firewall (router). It has an IP address like 192.168.1.126 (or something similar). I am not behind a firewall and I know the remote machine's IP address as seen from the Internet (not the 192.168.1.126 address). Additionally, I can ask someone to execute ssh (something) as root on the remote machine first. Could anyone explain me, step by step, how reverse SSH tunneling works to get around the firewalls (local and remote machines' firewalls and the additional firewall between them)? What is the role of the switches (-R, -f, -L, -N)?",
"Can I install Windows OS (Windows 7) on a removable USB hard drive? I wanted to take a sneak peek at Windows 7 so I thought of installing it. I have Windows Vista on my laptop which came pre-installed with it. I didn't want to mess with it. So I created a partition (20 GB) in my USB external hard disk and tried to install Windows 7 on that partition. But when I booted from a Windows 7 DVD and selected the target partition on USB hard disk, it said it cannot be installed. Is there any way to install Windows on an external USB hard disk?",
"Is there an Ubuntu theme available to make it look like Windows 7? I want to know is there any theme available make it Ubuntu look like Windows 7 ?",
"Can I use variables inside {} expansion without `eval`?",
"Multi-OS Portable TeX system",
"Show $\\,p\\mid 9^q -1 \\implies q\\mid p-1$ for odd primes $p$ and $q$ If $p$ and $q$ are odd primes show that $$p|(9^q -1) \\implies q|(p-1).$$ .... I am having difficulty to prove this. Yes that was the question I have misunderstood between 9 and q!!!",
"Handler frame_change_pre doesn't work in render this works in viewport but not in render. import bpy from math import * def frame_handler(scene): z = scene.objects['Lift'].location[2] scene.objects['Text'].data.body = str(floor(z / 4.0) - 2) bpy.app.handlers.frame_change_pre.clear() bpy.app.handlers.frame_change_pre.append(frame_handler) How to get it working in render? I've read and changed from \"bpy.data.objects\" to \"scene.objects\" as already seen in the script. What am I missing? Blender v. 2.81.16 Edit. Tried that depsgraph thing mentioned in comments and changed to frame_change_post: import bpy from bpy.app.handlers import persistent from math import * @persistent # maybe not relevant but doesn't harm anything? def frame_handler(scene, depsgraph): z = scene.objects['Lift'].evaluated_get(depsgraph).location[2] scene.objects['Text'].data.body = str(floor(z / 4.0) - 2) bpy.app.handlers.frame_change_pre.clear() bpy.app.handlers.frame_change_post.clear() bpy.app.handlers.frame_change_post.append(frame_handler) Now the Text doesn't show up at all in rendered (but works in viewport).",
"Why with two classes, LDA gives only one dimension?",
"Textarea CSS issue on \"needs moderator attention\" To reproduce: Click Flag (question or answer) Click other (needs moderator attention) The textarea is too wide: StackOverflow AskUbuntu StackExchange Most probably affects other sites, but didn't check. I think it's enough. :-) Reproducing on: Chromium Version 40.0.2214.111 Ubuntu 15.04 (64-bit) Google Chrome Version 41.0.2272.76 (64-bit) Firefox 36.0 (I'm using Ubuntu 15.04)",
"Of course preventing them from getting stolen is the top priority, but invariably, someone is going to get jacked. What are some good practices to minimize the damage incurred when your PC is stolen? Given most of our PCs contain our entire lives, its frightening to know that all this information can be in someone else's hands. Some ideas i had (a bit paranoid, i admit). keep encrypted backups. Use truecrypt to have double encrypted (with strong password) volumes where you store your personal data. schedule Eraser to run every evening so that potential thieves couldn't undelete (and subsequently retrieve) sensitive data do all your banking in a virtual machine. Keep the virtual machine volume encrypted, and on a portable usb drive that you carry with you / keep in a safe. have applications that phone home (or hit something to leave an IP trace) upon connection to the internet (can someone suggest a good solution for this?) Does anyone have any other suggestions?",
"Extra blue line appearing in the top bar (Firefox only) Whenever we click on the Inbox or the Achievements in the top bar, an extra blue line appears near by them. This is reproducible on Stack Overflow and Anime & Manga(as I use only those) but not on Meta Stack Overflow. Here is a snapshot of that. I'm using Firefox 25.0.1 on Win7 Pro. Edit: Just to be double sure, I restarted the FF and still I'm able to see it. Here is another snapshot, with the 2 distinct sites.",
"Need a comma before an adverb as last word in sentence?",
"A capacitor stores half the energy when charged from a battery each and every time? I understand that when a battery is connected to a capacitor that half the energy is stored in the capacitor while the other half is lost to heat or whatever other losses are involved once the capacitor is charged to the exact same voltage level of the battery. Only a one time direct connection with a simple switch from open to closed that charges the capacitor up to the voltage level of the battery is what is being referred to. My question is does this occur each and every time? Once the capacitor is charged to the voltage level of the battery then there should be 7.2 milliJoules of energy in the capacitor. If the answer is yes that half the energy is transferred into the capacitor each and every time then what would the capacitor voltage have to be in order to equal 100% of the energy if it were to come from the battery? I understand that in practice this will never happen, which is why the statement equal to 100% of the energy is indicated. (Meaning by some other method of charging means) – Schematic created using",
"How do I determine whether or not two lines intersect, and if they do, at what x,y point?",
"Choosing between meaningful and meaningless hostnames",
"Let's disallow moderator nominations from people who've been suspended in the past year",
"How to modify the system default background image I am about to ship a new 10.04 installed system to a customer. This is the 1st system that we are shipping with our preinstalled software and an additional hardware test platform, so I thought it would be a nice idea to have the desktop wallpaper include our company's logo. What I want to do is just to add the logo to the default background image. the questions are: Where are the set of backgrounds stored? What are the rules for creating a custom background from scratch? If I create a background from scratch, how do I add it to the system's background set (i.e., not just save it in the user's Pictures directory - I want it to be available to all future users of the machine)?",
"Deleting a comment (mine) shouldn't count as a comment vote"
] | medi_sts_stackexchange_dupe |
Is it legal to have 2 flights in the air at the same time with the same flight #? | Can two different planes share the same flight number? | [
"Having briefly looked at Haskell recently, what would be a brief, succinct, practical explanation as to what a monad essentially is? I have found most explanations I've come across to be fairly inaccessible and lacking in practical detail.",
"iCloud Disassociation for a Mac Computer I had a Mid-2012 MacBook Pro that recently stopped booting. I narrowed this down based on troubleshooting of the boot device to likely the SATA/hard drive connector/cable no longer working for whatever reason. I have decided to sell the system. I'd like to know if I remove the hard drive (or in this case, an after-market SSD I've installed) from the system, will there be any other data (i.e. iCloud data) stored on the system on any other chip that I can reset in any way? I plan to reset the SMC/NVRAM before I sell the system off of to someone else. Additionally, if I remove the hard drive, is the system still associated to iCloud (specifically Find My Mac) or any other service? If so, how do I disassociate it? The system will no longer boot even if I put in my boot device. Thanks!",
"I am trying to do kriging by gstat package through R. Here is my Code: krg<-krige(var ~ 1,data,grid,model=vgm,nmax=30) But each time I recive this warning: 1: In predict.gstat(g, newdata = newdata, block = block, ... : Warning: Covariance matrix (nearly) singular at location [1,4501,0]: skipping... and when I try to plot it by spplot this error appears: Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) : 'from' cannot be NA, NaN or infinite In addition: Warning messages: 1: In asMethod(object) : complete map seems to be NA's -- no selection was made 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf Here is the full code: You can download my data through this link: and here is my full code: library(gstat) library(sp) library(raster) coordinates(Mydata) <- ~East + North proj4string(Mydata) <- CRS(\"+proj=utm +zone=10+datum=WGS84\") ext <- as(extent(Mydata), \"SpatialPolygons\") r <- rasterToPoints(raster(ext), spatial = TRUE) proj4string(r) <- proj4string(Mydata) v1 <- variogram(cpue_female ~ 1, Mydata) vgm_mod_omni <- vgm(psill = 0.0003, model = \"Mat\", range = 50000, nugget = 33, kappa = 0.5) G1 <- krige(cpue_female ~ 1, Mydata, r, vgm_mod_omni, nmax = 30) gridded(G1) <- TRUE spplot(G1)",
"How does a circular lens produce rectangular shots?",
"Cycles not rendering image or movie clip used as background in the viewport",
"I am trying to make a pirate ship and am trying to attach rope to the sails. my rope is made using a path, and soft body physics. I can not find a way to attach my rope to the sail. and I can not use pinned vertices because this is not a cloth modifier.",
"Oneboxing is a handy feature in chat for quickly previewing links, but the list of supported sites is very small, and occasionally boxes for sites such as Wikipedia can break and fetch any image/text. Instead of having to request additional sites to be added to the onebox list (, , , , , and of course ), we could let the sites themselves handle the oneboxing with some <meta> tags, such as: <meta name=\"onebox-title\" content=\"The Onebox Title\"/> <meta name=\"onebox-image\" content=\"/image.png\"/> <meta name=\"onebox-summary\" content=\"This is the summary for a site's onebox\"/> Then when a link is placed on its own in chat, the oneboxing spider would look for these tags and, if they are found, show the appropriate data. Support for these tags would certainly be bad (for lack of any real better term) at first, though most users of SO chat could easily add it to their personal / company's sites (should they be in such a position) and writing friendly suggestions to other sites to implement them isn't exactly a gargantuan effort. This would also present an opportunity for currently oneboxed sites to set in stone what should be shown, such as each Wikipedia article setting the main image to be oneboxed instead of SO's spider picking one willy-nilly. Finally, sites implementing these tags would lay the foundation for other sites and services to develop similar features to the onebox, without having to write per-site scrapers.",
"Existence in ZF of a set with countable power set Is it consistent with ZF for there to exist a set $S$ such that the power set $P(S)$ is countable? If so, what is the weakest form of the axiom of choice needed to prove that no such set exists?",
"Should form 'Continue' button be disabled if validation is incomplete? In forms we often see the 'continue' button inactive until all the required fields are complete: – Wireframes created with Is this actually a help to the user, or a hindrance? I imagine the Pro for this is that it's a visual indicator to the user that they haven't finished filling in the form or dealing with errors (because even with inline validation a user won't be informed if they've never actually interacted with a field so won't show any errors for those at that point). But then the main Con for this (which I've also seen borne out in usability testing) is that users will be confused why they can't click the button. Is the pattern of disabling the Continue button until validation is complete actually providing a negative user experience?",
"I have a log file being written by another process which I want to watch for changes. Each time a change occurs I'd like to read the new data in to do some processing on it. What's the best way to do this? I was hoping there'd be some sort of hook from the PyWin32 library. I've found the win32file.FindNextChangeNotification function but have no idea how to ask it to watch a specific file. If anyone's done anything like this I'd be really grateful to hear how... [Edit] I should have mentioned that I was after a solution that doesn't require polling. [Edit] Curses! It seems this doesn't work over a mapped network drive. I'm guessing windows doesn't 'hear' any updates to the file the way it does on a local disk.",
"Creating label in QGIS? I am using QGIS 2.18.16 on Windows 10. What I want is a label to appear within the boundaries of a polygon. I select a layer, then select command Layer>Labelling, and I get: From here, I can change \"No Labels\" to \"Show labels for this layer\". But I can't actually create label text. I find a clue in a prior question: “Labelling polygon using QGIS?” The answer was: The layer you are trying to label must have at least one attribute field populated with data. You can then turn on labelling in Layer Properties and select which attribute field to use for your labels. I can enter command Layer>Open Attribute Table, and what I get is: If I need something in the attribute table in order to apply a label, how do I accomplish that?",
"I am trying to send an email using a Visualforce template and I want that template to include an icon. Is this possible?",
"Is there a term for switching syllables of words? Primary question: A common speaking mistake is to exchange syllables of words, saying \"It's trace rhyme!\" instead of saying \"It's race time!\", or pronouncing \"kickin' chackatory\" instead of \"chicken cacciatore.\" Is there an existing name in poetry, linguistics, or English studies for switching syllables of (quasi-)consecutive words? I am not especially interested in the case when switching syllables results in interpretable homonyms or portmanteaus, like in the first example. Secondary question: if not, what would you call it? Tertiary question: is there somewhere a (playful?) taxonomy of fruitful or unfruitful lingual aberrations?",
"How do I connect to a MSSQL database using Perl's DBI module in Windows? How do I connect to a MSSQL database using Perl's DBI module in Windows?",
"How do I login to the Gamecenter on PewDiePie's Tuber Simulator, if you have not done it when they asked?",
"Crick’s Central Dogma — Counter Cases",
"bash regex with quotes? The following code number=1 if [[ $number =~ [0-9] ]] then echo matched fi works. If I try to use quotes in the regex, however, it stops: number=1 if [[ $number =~ \"[0-9]\" ]] then echo matched fi I tried \"\\[0-9\\]\", too. What am I missing? Funnily enough, suggests this should work. Bash version 3.2.39.",
"Override a method via ObjC Category and call the default implementation?",
"Accumulation Points for $S = \\{(-1)^n + \\frac1n \\mid n \\in \\mathbb{N}\\}$ I was recently asked to find the accumulation points of the set $$S = \\{(-1)^n + \\frac{1}{n} \\mid n \\in \\mathbb{N}\\}$$ I answered that the accumulation points are $\\{-1,1\\}$, because despite the fact that $\\frac{1}{n}$ diverges, we can still use $\\frac{1}{n}$ to find an element arbitrarily close to either $1$ or $-1$, i.e. to show that there is an element in an arbitrarily small neighborhood of $1$ or $-1$. (No proof was required for this question --- this is my intuition.) Am I right at all?",
"How to do joins in LINQ on multiple fields in single join I need to do a LINQ2DataSet query that does a join on more than one field (as var result = from x in entity join y in entity2 on x.field1 = y.field1 and x.field2 = y.field2 I have yet found a suitable solution (I can add the extra constraints to a where clause, but this is far from a suitable solution, or use solution, but that assumes an equijoin). Is it possible in LINQ to join on multiple fields in a single join? EDIT var result = from x in entity join y in entity2 on new { x.field1, x.field2 } equals new { y.field1, y.field2 } is the solution I referenced as assuming an equijoin above. Further EDIT To answer criticism that my original example was an equijoin, I do acknowledge that, My current requirement is for an equijoin and I have already employed the solution I referenced above. I am, however, trying to understand what possibilities and best practices I have / should employ with LINQ. I am going to need to do a Date range query join with a table ID soon, and was just pre-empting that issue, It looks like I shall have to add the date range in the where clause. Thanks, as always, for all suggestions and comments given"
] | medi_sts_stackexchange_dupe |
How do I extract the text content of an article site with Python 3? | Extracting text from HTML file using Python | [
"How did Montague Apparate into the Hogwarts bathroom?",
"Robot arm move a box",
"Associates in Integral Domain Let $x$ and $y$ be nonzero elements of an integral domain $D$. Then $x$ and $y$ are associates if and only if $x = yd$ for some unit $d \\in D$. I am done proving the $\\Leftarrow$ part. For $\\Rightarrow$ what I did was: If $x$ and $y$ are associates then $x \\mid y$ and $y \\mid x$, so $x \\mid y$ implies that $xs = y$ for some $s \\in D$ and $y \\mid x$ implies that $yt = x$ for some $t \\in D$. That is, $yts=y$ which implies $ts=1$. Therefore $s$ is a unit and $t$ is a unit. Am I on the right track? Can I say that the proof is complete?",
"How to align a to the middle (horizontally/width) of the page",
"Is \"a total of 10 payments\" singular or plural? A total of 10 payments were made. OR A total of 10 payments was made. Which is correct? Or can both be correct?",
"When is $-3$ a quadratic residue mod $p$?",
"With ksh I'm using read as a convenient way to separate values: $ echo 1 2 3 4 5 | read a b dump $ echo $b $a 2 1 $ But it fails in Bash: $ echo 1 2 3 4 5 | read a b dump $ echo $b $a $ I didn't find a reason in the man page why it fails, any idea?",
"How to disable Django query cache?",
"I'm trying to use biblatex and when I compile my document I get an error like the following: Windows data source C:\\Users\\<username>\\AppData\\Local\\Temp\\par-5061756c\\ cache-890efc00b3ca6b775c7d44a325c1349fb2a3a3bd\\inc\\lib/Biber/LaTeX/recode_data.xml not found in . Mac data source /var/folders/v2/rld0ls7d2935gkvqv5hfr1x00000gn/T/par-616c616e/ cache-cdd483146f82a9655ce063f848d5139480fbf872/inc/lib/Biber/LaTeX/recode_data.xml not found in . Linux data source /tmp/par-6963617269756d/cache-f37ab610b7d79b2720a8ee3732849c6821705520 /inc/lib/Biber/LaTeX/recode_data.xml not found in .",
"How can I restore configuration files?",
"What are the rules about using an underscore in a C++ identifier? It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background, you'll probably use m_foo. I've also seen myFoo occasionally. C# (or possibly just .NET) seems to recommend using just an underscore, as in _foo. Is this allowed by the C++ standard?",
"What constitutes protons? When I see pictures, I can't understand. Protons are made of quarks, but some say that they are made of 99% empty space. Also, in this illustration from Wikipedia, what's between the quarks?",
"Why is $L^{\\infty}$ not separable?",
"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?",
"I have some survey response data that are inconsistent and I'm not sure what is the best way to handle them. This is the nature of the inconsistency: Have you ever had a food poisoning episode that you think might have been caused by the food in a particular restaurant ? a) Yes b) No Did any of these episodes prevent you from eating at that restaurant again? a) Does not apply, never have had a food poisoning episode b) Yes c) No Following these episodes, did you come back to your normal condition after 24 hours? a) Does not apply, never have had a food poisoning episode b) Yes c) No I believe that the intent of the designers of the survey was that anyone answering \"No\" to 1) should answer \"Does not apply\" to 2) and 3), but that's not how it worked. A large group of respondents picked \"No\" for 1) and \"No\" for at least one of 2) or 3). What is the best way to deal with this inconsistency? Where are some good references (books, papers, websites, etc.) to look at discussions and solutions for issues of this kind, and data cleaning in general?",
"Youths can teleport, they are chased by the government",
"Eliminating non-integer solutions to $ab / (2\\sqrt{ab} + a + b)$",
"How can I determine whether a conference is reputable? I recently received an invitation to a conference and I'm trying to determine how reputable it is. Is there a good way to go about this?",
"Why are we using a biased and misleading standard deviation formula for $\\sigma$ of a normal distribution?",
"Is there a function to round a float in C or do I need to write my own?"
] | medi_sts_stackexchange_dupe |
Need help understanding this basic JS concept regarding objects and properties | What is the scope of variables in JavaScript? | [
"I've got an iPhone app with icon file Icon.png. This icon shows up properly when the app is on the phone itself, but it doesn't show up in the applications pane in iTunes. What do I need to do to get it to show up properly?",
"If you select \"USB\" and \"Mac\" on , it gives a series of command line instructions to make a USB key which the MacBook will boot into Ubuntu from. I've followed them to the letter two or three times on different USB keys, and it doesn't work. There's a very great deal of technical discussion about EFI etc. but this set of instructions seems to suggest it should just work, but it doesn't. Help? I'm increasingly unhappy with the more locked-down approach Apple is taking, and I'd quite like to start using Linux with a view to transitioning over to using it as my main operating system, but booting from the CD takes forever, runs slowly and I'm really hoping to get it moving off USB. Can anybody help me?",
"Let $G = \\mathbb{R} / \\mathbb{Q}$. Is this an interesting group to study? Is it isomorphic to any more natural mathematical objects?",
"What is the cause of this sudden drop in CV queue size?",
"How can I customize different nodepart with different textures? My question is how can I customize hatch patterns(grid, vertical line, etc.) for different nodepart in a node? The following is a failed try. \\documentclass[border=2mm,convert]{standalone} \\usepackage{tikz} \\usetikzlibrary{shapes.multipart,patterns} \\begin{document} \\begin{tikzpicture} \\node[rectangle split,rectangle split parts =2,rectangle split part fill={red!30,red!10}, rectangle split part pattern={grid,},draw]{one \\nodepart{second}two}; \\end{tikzpicture} \\end{document}",
"Consider the diagram below: (Author: Joshua Hykes ) From this diagram we can see that the absorption coefficient for the photoelectric effect generically decreases with the increase in energy of the photon. What is the physical reason for this decrease. (i.e. why does the probability of photoelectric absorption decreases with increasing photon energy). Note: I am aware that the large spin is due to more inner electrons been able to be lifted. Edit For Clarity I will here rephrase the question: in the above diagram there is a general decrease in the absorption coefficient due to the photoelectric effect (i.e. the absorption of a photon by an electron and subsequent emission of that electron) with energy (ignoring the occasional absorption edge). This is of course linked to a decrease in the probability of the photoelectric effect occurring (and a corresponding decrease in the cross section). My question is: what is causing this decrease with increasing energy. (For the purpose of this question I am ignoring the contribution due to the Compton effect and pair production and simply focusing on the cross section due to the photoelectric effect.)",
"What does a program do when it's sent SIGKILL signal? When I used killall -9 name to kill a program, the state become zombie. Some minutes later, it stopped really. So, what's happening during those minutes?",
"Some time ago I closed my front door (rather forcefully) while the deadbolt was sticking out partially. This loosened the deadbolt, and the top screw no longer held. In addition, it cracked the door on the interior side. I've attached a picture showing the damage. The door works mainly, though it can be difficult to lock sometimes, especially when the weather gets colder. I'm currently renting, and will soon be moving out of this house, once I buy a house. I would like to repair this door myself, and I'm hoping I don't have to replace the entire door. Is this something that can be repaired? If so, how? I realize that a new deadbolt is probably needed, but how can I repair the wood damage around it?",
"windows bat file error",
"Getting polygon boundaries of City in JSON from Google Maps API? When searching Google Maps for a city, the city's administrative boundary is displayed. Is there a way to get the polygon boundaries of City in a JSON format using google maps api?",
"Do the predictions of a Random Forest model have a prediction interval?",
"SD card not showing files when connected to pc When my phone MOTOROLA G3(2015) is updated to Marshmallow, its not showing files when connected to PC. While connecting, it shows options as charing only, PTP, MTP, MIDI. When I select MTP, it shows the external card, but not showing the contents, where as internal memory is detected and all files are shown.",
"14.04.5 to 16.04 Update failed - xenial.tar.gz.gpg missing The update from Trusty to Xenial is officially available via the software updater. After updating all packages, upgrading through the software updater yields: Fetching the upgrade failed. There may be a network problem. Doing a sudo do-release-upgrade yields: Checking for a new Ubuntu release Err Upgrade tool signature 403 Sorry, not allowed to fetch that type of file: xenial.tar.gz.gpg Err Upgrade tool 403 Sorry, not allowed to fetch that type of file: xenial.tar.gz Fetched 0 B in 0s (0 B/s) WARNING:root:file 'xenial.tar.gz.gpg' missing Failed to fetch Fetching the upgrade failed. There may be a network problem.",
"Is \"It is you who are mistaken!\" correct? Possible Duplicate: This is a line spoken by the . I always wondered if this is grammatically correct. Luke says something like \"You are mistaken ...\" which the Emperor answers with No, it is you who are mistaken! Why wouldn't he say No, it is you who is mistaken! instead? I don't know what rules apply here but my stomach tells me the latter is (at least also) correct, although you would say \"you are mistaken\". It feels as if he should be referring to \"you\" in the third person. Could you please shed some light? Are both correct or – if not – which one is correct? And why?",
"Regular expression to match a line that doesn't contain a word I know it's possible to match a word and then reverse the matches using other tools (e.g. grep -v). However, is it possible to match lines that do not contain a specific word, e.g. hede, using a regular expression? Input: hoho hihi haha hede Code: grep \"<Regex for 'doesn't contain hede'>\" input Desired output: hoho hihi haha",
"What is the formula for Real vs Apparent Depth, when not looking perpendicular to the interface? I know the formula $$\\frac{\\text{real depth}}{\\text{apparent depth}}=n$$ but I'm not looking for this.",
"Launch apps full screen",
"shell scripts are still working without #!(sha-bang line) I am new to shell scripts and many books have written that use #!(sha-bang) line in starting of the script to invoke the interpreter .And this will invoke a new shell for script and do the interpretation line by line.But one of my basic script is still running without the magic line. so my questions are: from where did my basic script get the interpreter. how did the script manages to locate the interpreter. now let me tell you about my basic script it just contains the following line: echo \"basic script without the magic lines\"",
"First of Tablet info : Model number : Micromax P275 Android version : 4.0.4 Baseband version : v3.0 Kernal version : 3.0.8+ linda@SKYWORTHSERVER3 #52 Fri Sep 21 14:00:53 CST 2012 Build number : P275_HW.V0.1_V3.0_20120921 I dont know anything about android now the issue is that the screen keeps randomly jerking and there are random touches that happen which will open apps and close apps randomly. this happens after few minutes since Tablet turn on. When these things happen i cannot do anything. even if i try to power down by pressing the power key the dialog box disappears because of this random behavior. i observer this behavior mainly when i travel in bus. so i'm thinking that the vibrations are affecting the accelerometer and thus causing the random movements. When i'm in a stationary place i rarely see this issue, but it has occured. now i disabled 1)Auto rotate 2)Disabled all options in Developer options except Force hardware rendering. the system update will happen and i cant turn it off(atleast i dont know). my main useage in the Tablet are 1) pdf reading 2)videos 3)small c programmin(using CCtools). please help me with this issue. its is very very frustrating. last thing,i brought this device 28 days ago. also i would like links on reinstalling android.",
"Checkout one file from Subversion"
] | medi_sts_stackexchange_dupe |
Retagging to include tags for possible solutions | Retagging questions in terms of possible answer technologies | [
"To prove $\\sum_{cyc}\\frac{1}{a^3+b^3+abc} \\le \\frac{1}{abc}$ if $a,b,c$ are non zero positive reals prove $$\\sum_{cyc}\\frac{1}{a^3+b^3+abc} \\le \\frac{1}{abc}$$ I have used A.M G.M inequality as follows: $$a^3+b^3+c^3 \\ge 3abc$$ adding $abc$ both sides we get $$a^3+b^3+abc \\ge 4abc-c^3=c(4ab-c^2)$$ so $$\\frac{1}{a^3+b^3+abc} \\le \\frac{1}{c(4ab-c^2)}$$ But since $a,b,c$ are positive reals $$4abc-c^3 < 4abc$$ so $$\\frac{1}{4abc-c^3} \\gt \\frac{1}{4abc}$$ but i am unable to proceed here",
"I want to find an example of a homomorphism $f:G\\to H$ such that $A$ is a normal subgroup of $G,$ but $f(A)$ is not so in $H.$ I know that if $f$ was onto $f(A )$ must be normal , but otherwise i want to find an example!",
"To my understanding, \"Control\" can have two meanings in statistics. Control group: In an experiment, no treatment is given to the member of the control group. Ex: Placebo vs Drug: You give drugs to one group and not to the other (control), which is also referred as \"controlled experiment\". Control for a variable: Technique of separating out the effect of a particular independent variable. Some of the other names given to this techniques are, \" accounting for\", \"holding constant\", \"controlling for\", some variable. For example: In a Football viewing study (like or not like), you may want to take out the effect of gender as we think gender causes bias, that is, male may like it more than female. So, my question is for point (2). Two questions: How do you \"control\"/ \"account for\" variables, in general. What techniques are used? (In terms of regression, ANOVA framework). In above example, does choosing male and female randomly constitutes control? That is, is \"randomness\" one of the techniques for controlling other effects?",
"A get() like method for checking for Python attributes If I had a dictionary dict and I wanted to check for dict['key'] I could either do so in a try block (bleh!) or use the get() method, with False as a default value. I'd like to do the same thing for object.attribute. That is, I already have object to return False if it hasn't been set, but then that gives me errors like AttributeError: 'bool' object has no attribute 'attribute'",
"How to avoid the pop up message while downloading an application (.exe) using selenium I am trying to download an application and check if it's downloaded into my local system or not. But when I click the download link I have a popup with Save or Cancel options, which is stopping me from downloading the file. I googled and found some solutions and tried to change the profile of Firefox by adding the below code, but it is not working. firefoxProfile.setPreference(\"browser.download.folderList\", 2); firefoxProfile.setPreference(\"browser.download.alertOnEXEOpen\", false); firefoxProfile.setPreference(\"browser.helperApps.neverAsksaveToDisk\", \"application/x-msexcel,application/excel,application/x-excel,application/excel,application/x-excel,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel\"); firefoxProfile.setPreference(\"browser.download.manager.showWhenStarting\", false); firefoxProfile.setPreference(\"browser.download.manager.focusWhenStarting\", false); firefoxProfile.setPreference(\"browser.helperApps.alwaysAsk.force\", false); firefoxProfile.setPreference(\"browser.download.manager.alertOnEXEOpen\", false); firefoxProfile.setPreference(\"browser.download.manager.closeWhenDone\", false); firefoxProfile.setPreference(\"browser.download.manager.showAlertOnComplete\", false); firefoxProfile.setPreference(\"browser.download.manager.useWindow\", false); firefoxProfile.setPreference(\"browser.download.manager.showWhenStarting\", false); firefoxProfile.setPreference(\"services.sync.prefs.sync.browser.download.manager.showWhenStarting\", false); This is the code I added for setting up Firefox preferences, but I still get the popup.",
"There is a common story that airline ticket prices rise significantly if you buy them less than two weeks before departure. And that any time before that will yield standard prices. Is that advice valid for flying during holiday seasons? As an example: if I want to fly coast to coast USA on December 7th, must I buy my ticket ASAP, or would I get a similar price buying on November 21st?",
"How to check if jQuery.ajax() request header Status is \"304 Not Modified\"?",
"$A$ is an $n\\times n$ matrix of complex numbers. Prove that if $\\lambda$ is an eigenvalue of $A^2,$ then $\\sqrt{\\lambda}$ or $-\\sqrt{\\lambda}$ is an eigenvalue of $A.$ If $\\lambda$ is an eigenvalue of $A^2,$ we have $\\lambda\\alpha=A^2\\alpha$ for some $\\alpha.$ Then how can we find a $\\beta$ s.t. $\\sqrt{\\lambda}\\beta=A\\beta?$",
"of Stack Overflow, all content posted on Stack Exchange sites by their users (i.e. you wonderful people) has been provided to the whole universe under . For my fellow non-lawyers, that license basically means: Anyone can use any Stack Exchange posts at any time without having to ask for permission Making money off of the copied content is permitted You don't even have to copy stuff from here verbatim; you can just use it as a starting point and make whatever edits you want There are just two rules you have to follow: You have to provide . Simple links to the original post and author info are just fine. You have to and allow other people to use your content, as long as they follow these very same rules. How meta! (If you ever forget any of that, and want to refresh your memory, the license info is linked to in the footer of every page.) There are, in fact, a lot of people who republish varying amounts of our content for assorted reasons. Unfortunately, there are some Stack Content Republishers Attributing Poorly and/or Excelling at Ranking (SCRAPERs, for short). In this context, \"attributing poorly\" means any use that doesn't follow our attribution rules or make any other reasonable attempt at give credit. This can get pretty egregious; I've seen SCRAPERs that not only don't link back to SE originals, but also use fake author info and post dates to make it harder to find originals. By \"excelling at ranking,\" I'm referring to copycat sites that end up higher in Google results than the original SE sites do for the same content. That's not necessarily wrong, but in some cases, it indicates inappropriate SEO hackery. So, the question is: what can you do if you spot a SCRAPER?",
"What prevents investors from buying high yield stocks and selling them as soon as their dividend is paid out? What prevents investors from buying high yield stocks and selling them as soon as their dividend is paid out? I guess I am confused: If you know the yield and when the dividend will be paid out, why not buy a share an instant before the dividend is paid out and then sell it? Do you have to have held the share for some amount of time to get the dividend? Is there too much volatility in the instant the dividend is paid out?",
"Mysql: Select rows from a table that are not in another",
"If $S_n$ has cyclic subgroups of these orders or not? This question was asked in my quiz and I am having difficulties in solving it . Question : For a positive integer $n$ , let $S_n$ denote permutation group on $n$ symbols. Choose correct statements from below. (a) For a positive integer $n$ and for every $m$ with $1\\leq m \\leq n , S_n $ has a cyclic subgroup of order $m$; (b) For every positive integer $n$ and for every $m$ with $n<m <n!$, $S_n$ has a cyclic subgroup of order $m$; (c) There exists positive integers $n$ and $m$ with $n<m<n!$ such that $S_n$ has a cyclic subgroup of order $m$; (d) For every positive integer $n$ and for every group $G$ of order $n$, $G$ is isomorphic to a subgroup of order $S_n$ . Attempt: (a) is true as I can choose an element of length $m$ which will generate cyclic subgroup of order $m$. (b) Choose $n=4$ and $m=19$ to contradict (b). (c) I dont know if there can be found any such case and if yes how to do so . (d) I dont know about it . kindly tell. Answer: A,C,D are true",
"What would you call a person who doesn't want to learn anything new?",
"I encountered the following induction proof on a practice exam for calculus: $$\\sum_{k=1}^nk^2 = \\frac{n(n+1)(2n+1)}{6}$$ I have to prove this statement with induction. Can anyone please help me with this proof?",
"Understanding QGIS buffer tool units",
"Today my lecturer put up on the board that: If $\\lim\\limits_{n\\to\\infty}\\frac{a_{n+1}}{a_n}$ exists and $a_n>0$ then $\\displaystyle \\limsup\\limits_{n\\to\\infty}\\left(a_n^{\\frac{1}{n}}\\right)=\\lim_{n\\to\\infty}\\frac{a_{n+1}}{a_n}$ however I am not sure why this is true, can somebody give me a hint or something as to how to go about proving this. thanks for any help",
"I'm not that into dynamic programming languages but I've written my fair share of JavaScript code. I never really got my head around this prototype-based programming, does any one know how this works? var obj = new Object(); obj.prototype.test = function() { alert('Hello?'); }; var obj2 = new obj(); obj2.test(); I remember a lot discussion I had with people a while back (I'm not exactly sure what I'm doing) but as I understand it, there's no concept of a class. It's just an object, and instances of those objects are clones of the original, right? But what is the exact purpose of this ".prototype" property in JavaScript? How does it relate to instantiating objects? Update: correct way var obj = new Object(); // not a functional object obj.prototype.test = function() { alert('Hello?'); }; // this is wrong! function MyObject() {} // a first class functional object MyObject.prototype.test = function() { alert('OK'); } // OK Also these really helped a lot.",
"Find the default application for a certain extension Given xdg-open and an extension, is there a way to get the application which xdg-open is set to for that particular extension? For example given xdg-open and .jpg the result is eog.",
"There is a type and search drodown which will appear after user type in the value. I need to click on the dropdown which contains the name of the drop down field. The problem here is that there is no unique attribute present (No unique class, no unique name) & the id keeps on changing after every login so cannot take id also.",
"Ubuntu server: Cannot setup dummy driver alsa (LXC container) // modprobe issue"
] | medi_sts_stackexchange_dupe |
Can i create a facebook event from an app with any platform? | how to create facebook event in an android app? | [
"Why didn't Dumbledore just hunt Voldemort down?",
"(complex measures) $d\\nu=d\\lambda +f\\,dm \\Rightarrow d|\\nu|=d|\\lambda| +|f|\\,dm$ and $f\\in L^1(\\nu)\\Rightarrow f\\in L^1(|\\nu|)$ Two simple exercises on complex measures I don't know how to solve, from Folland's Real Analysis. I find it difficult to manipulate the definitions in computations. For context, if $\\nu$ is a complex measure on $(X,\\mathcal{M})$ then $|\\nu|$ is defined as $d|\\nu|=|g|\\,d\\mu$ where positive measure $\\mu$ and $g\\in L^1(\\mu)$ are such that $\\nu \\ll \\mu$ and $\\nu = g\\,d\\mu$ (and in the textbook it's shown that this definition does not depend on the choice of $\\mu$). 1) Let $\\nu$ be a reguar complex Borel measure on $\\mathbb{R}^n$, $m$ denote Lebesgue measure, and let $d\\nu = d\\lambda + f\\,dm$ be its Lebesgue-Radon-Nikodym representation. Then (\"it is easily verified\") $d|\\nu|=d|\\lambda|+|f|\\,dm$. 2) If $f\\in L^1(\\nu)$ then $f\\in L^1(|\\nu|)$. I was able to prove the reverse implication, but not this one. The definition of $|\\nu|$ in the case of real signed measures (as $|\\nu|=\\nu^+ + \\nu^-$) makes sense to me but I can't see intuitively into the definion of $|\\nu|$ for complex measures as given in the textbook. Do you have any advice on this? Thank you!",
"I have an excel file with 2 attribute columns, 1-feature info 2-Number of color (RGB) that the current feature should be symbolize. This file file can be joined with the layer using the \"feature info\" field which is unique (join by attribute table). So i have as attribute the color number attribute for every polygon feature. How can i use this this information to symbolize every feature with their attributed color already imported from the excel sheet?",
"How much money did Charlie Harper have? This is quite tricky to figure out, and I am not looking for a specific number, but for a approximation. As you know, Charlie (nearly) always had a lot of money to spend, but a few hints suggest that he actually did not have money at all (talking about absolute, not cash flow) he went bancrupt after a few months without income he told Alan that there is no money, and everything just a house of cards he worries about Bertha giving away a few clothes he has three mortgages on his house when he died, there was no inheritage to Alan or anyone, and they had to sell the house ... However, considering the lifestyle and spendings, Charlie must have had a substantial amount available. driving the latest foreign expensive cars owning a malibu beachhouse paying the property tax for said house discussing retirement at 45 spending endless money on booze, betting and women ... So all things considered, did he have money, or was he just a scam?",
"How does a wizard or bard learn new spells?",
"Why is this quotient space not Hausdorff?",
"What is the value of $\\sum\\limits_{i=1}^\\infty\\dfrac{1}{p_{p_i}}$ where $p_n$ is the nth prime (and so $p_{p_n}$ is the $k$th prime, where $k$ is the $n$th prime) ? Thus $\\frac{1}{3}+\\frac{1}{5}+\\frac{1}{11}+...=$ ?? How do I efficiently decide if $\\sum_{i=1}^\\infty\\dfrac{1}{p_{p_i}}\\gt1$ is true without using a computer ? I assume this infinite sum is an irrational number. Has this already been proven ?",
"Interpretation of log transformed predictor and/or response I'm wondering if it makes a difference in interpretation whether only the dependent, both the dependent and independent, or only the independent variables are log transformed. Consider the case of log(DV) = Intercept + B1*IV + Error I can interpret the IV as the percent increase but how does this change when I have log(DV) = Intercept + B1*log(IV) + Error or when I have DV = Intercept + B1*log(IV) + Error ?",
"When testing the difference between 2 proportions why do we use a z-test rather than a t-test? Further, is there a simple way to conduct an omnibus test for significant differences between more than 2 proportions (in the form of percentages). Is there an equivalent to a one-way ANOVA for this? I imagine that you could use logistic regression (assuming you have the original data for the proportions in the form of 0s and 1s) Are there other options?",
"Iterating each character in a string using Python",
"How to recover files from dead windows using dos?",
"Solve the recurrence $T(n) = 2T(n-1) + n$",
"How to convert physical Ubuntu operating system into a virtual machine? A while ago I turned my PC into dual boot with Windows and Ubuntu. But my experience is, that I rarely boot into Ubuntu, so I wanted to make it available as virtual machine in Windows rather than as a second OS. Can you provide me some information which is the tool of my choice and how I can achieve this migration? I already have VMWare Player installed.",
"Properties of $\\liminf$ and $\\limsup$ of sum of sequences: $\\limsup s_n + \\liminf t_n \\leq \\limsup (s_n + t_n) \\leq \\limsup s_n + \\limsup t_n$ Let $\\{s_n\\}$ and $\\{t_n\\}$ be sequences. I've noticed this inequality in a few analysis textbooks that I have come across, so I've started to think this can't be a typo: $\\limsup\\limits_{n \\rightarrow \\infty} s_n + \\liminf\\limits_{n \\rightarrow \\infty} t_n \\leq \\limsup\\limits_{n \\rightarrow \\infty} (s_n + t_n) \\leq \\limsup\\limits_{n \\rightarrow \\infty} s_n + \\limsup\\limits_{n \\rightarrow \\infty} t_n$. I understand the right two-thirds of the equation, and can prove it. I'm stuck on the far-left third. I don't understand how that is true.",
"Can I store the .git folder outside the files I want tracked? I have an unusual idea to use git as a backup system. So let's say I have a directory ./backup/myfiles and I want to back that up using git. To keep things clean I don't want to have a .git directory in the myfiles folder, so I thought I could create ./backup/git_repos/myfiles. From looking at the git docs, I've tried doing this: $ cd backup/myfiles $ mkdir ../git_repos/myfiles $ git --git-dir=../git_repos/myfiles init Initialized empty Git repository in backup/git_repos/myfiles/ $ git --git-dir=\"../git_repos/myfiles/\" add foo fatal: pathspec 'foo' did not match any files You can see the error message I get there. What am I doing wrong?",
"It's said that if is spared in quest, he remains in the Dawnstar sanctuary and can be later hired as a follower. Well I did just that and I can't find him anywhere. Where exactly is he? Does he disappear and only reappear after some other moment in the game?",
"Is there a formal spelling for the English letter names?",
"How to find and replace a string by increasing its numerical part? My input file is, ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55 ami54 ami32 Using a single command line I need the output as, ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33 I used the command awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile > outputfile but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32 i.e. all strings are written in same line and without space. Could anyone suggext me some better command line.",
"Let $X$ be a locally compact metric space which is also $\\sigma$-compact. Let $C_{c}(X)$ be the continuous functions on $f$ from $X$ to $\\mathbb{R}$ with compact support. Is $C_{c}(X)$ separable? My work so far: If $X$ is a compact metric space, then by Urysohn's Lemma and Stone-Weierstrass, the continuous functions $C(X)$ on $X$ are separable and hence the result follows as $C_{c}(X) = C(X)$. Suppose $X = \\mathbb{R}$. Write $\\mathbb{R} = \\bigcup_{N = 1}^{\\infty}[-N, N]$. Let $f \\in C_{c}(\\mathbb{R})$. Then $f$ is supported on a compact set $K \\subset [-N, N]$ for some $N$. Thus $C_{c}(\\mathbb{R}) =\\bigcup_{N = 1}^{\\infty}C([-N, N])$. Each $C([-N, N])$ has a countable dense subset $\\{\\psi_{N, n}\\}_{n = 1}^{\\infty}$ and so $\\bigcup_{N, n = 1}^{\\infty}\\{\\psi_{N, n}\\}$ is a countable dense subset of $C_{c}(\\mathbb{R})$. In the general case, $X = \\bigcup_{i = 1}^{\\infty}X_{i}$ where each $X_{i}$ is compact and $X_{1} \\subset X_{2} \\subset \\cdots$. Let $f \\in C_{c}(X)$. Then $f$ is supported on a compact set $K = \\bigcup_{i = 1}^{\\infty}K \\cap X_{i}$. Is it still true that $C_{c}(X) = \\bigcup_{i = 1}^{\\infty}C(X_{i})$?",
"Hide some fields in the NewForm.aspx for a custom list I have 5 columns in the custom list. Out of which only 3 have to displayed in the NewForm.aspx page. All of the 5 columns have to be displayed on the EditForm.aspx page. While googling, I have come across the following : When I implemented the code that was given on this page, I get an error which says that parentNode is not found. Please guide me how can I implement this requirement. Any other alternatives other than this are also appreciated."
] | medi_sts_stackexchange_dupe |
Nose picking probability | What is the probability that a man likes pink? | [
"I'm wondering about the period character . used as a shortcut for the local computer name. You can use it when logging into Windows 7, for example, to specify that the user account you're entering belongs to the local computer rather than to a domain: .\\MyLocalUserAccount And you can use it within a Windows Management Instrumentation (WMI) query to indicate that the target is the local computer rather than a remote computer. You can also use it when working with named pipes to for similar purposes. However, you cannot use it as the UNC network name for the computer, like this: \\\\.\\MyShare Does this character have an official name (e.g. \"LocalHostToken\") and when and where can it be used for this purpose?",
"Forgotten the pattern and phone not showing the \"forgot pattern\" button. I upgraded my Moto G2 to Android Lollipop using over-the-air upgrade. It was awesome but I set a pattern lock which I forgot. Usually after 5 wrong attempts it shows the \"forgot password\" button but it is not showing that button even after 100 wrong attempts. How to unlock the phone?",
"How do I compute the normalisation of $A=k[X,Y]/(Y^3 - X^5)$? I'm trying to solve exercise 4.7 in Reid's UCA: \"Find the normalisation of $A=k[X,Y]/(Y^3 - X^5)$.\" I can easily show $A$ is not normal: let $x$ and $y$ denote the images of $X$ and $Y$ in $A$. Thus $y^3 = x^5$. So there exists $t=y/x\\in\\operatorname{Frac} (A)$ which is a root of the monic polynomial $T^3 - x^2 \\in A[T]$. But since $t\\notin A$, $A$ is not normal. However, I don't know how to compute the normalisation of $A$; I have not seen dimension theory developed, so to a similar question doesn't really help me. Similarly I cannot try and apply something like to a related question, because in this case the map $k[X,Y]\\rightarrow k[t]$ sending $X\\mapsto t^3, Y\\mapsto t^5$ is injective so the image isn't isomorphic to $A$ UCA never really gives a good explanation on how to actually compute normalisations, so I'd be grateful if anyone could walk me through it.",
"Order of elements in $Z_n$ I have this question: Let $x, n$ be integers with $n \\geq 2$ and $n$ not dividing $x$. Show that the order o($\\bar{x}$) of $x \\in Z_n$ is $o(\\bar{x})= \\frac{n}{HCF(x, n)}$ I've been thinking about it for ages but I still don't get why. A hint would be appreciated.",
"Does the Hong Kong metro map give interchange direction suggestions? On the , some of the interchange symbols have little lines and half-circles in them. They're a bit small to read on some maps, but if you zoom in they get a big clearer: Are these suggestions for where to change depending on the direction you're going + changing to? Or do they have some other meaning? . Bonus marks - Assuming I am right that that these are direction interchange suggestions, what does it mean if it's an empty circle, or a \"T\" in one?",
"Is it worth it to upgrade a Toshiba Satellite C55-A5300 laptop given the latest productivity software requirements? I would like to upgrade a Toshiba Satellite C55-A5300 laptop so it can be as useful as it can be nowadays. I haven’t needed to use much software for a few years now, and I’m not able to gauge whether a maxed out upgrade of this laptop would be up to running the latest versions of MS Office and Acrobat smoothly. Maybe even run some Photoshop and Lightroom? I want to install the best CPU that will work optimally within the parameters of this laptop, including the laptop’s cooling capabilities. I ultimately want improved performance, but I want the performance to be as smooth as possible. From what I gather the Pentium 2030M is the best processor this motherboard will accept. Am I on the right track? I also plan to fully upgrade the memory and the hard disk speed with respective upgrades. What is the max memory per RAM slot (2 total)? What is the fastest speed of RAM I can use? Copied from the Toshiba spec sheet: Processor and Graphics Intel® Celeron® Processor 1037U o (2M Cache, 1.80GHz) Mobile Intel® NM70 Express Chipset Mobile Intel® HD graphics with shared graphics memory Memory Memory Configured with 4GB DDR3 1333MHz (max 16GB) 2 main memory slots. One slot is occupied Storage Drive 500GB (5400 RPM) Serial ATA hard disk drive Power 45W (19V 2.37A) 100-240V/50-60Hz AC Adapter",
"For a certain Hibernate entity we have a requirement to store its creation time and the last time it was updated. How would you design this? What data types would you use in the database (assuming MySQL, possibly in a different timezone that the JVM)? Will the data types be timezone-aware? What data types would you use in Java (Date, Calendar, long, ...)? Whom would you make responsible for setting the timestamps—the database, the ORM framework (Hibernate), or the application programmer? What annotations would you use for the mapping (e.g. @Temporal)? I'm not only looking for a working solution, but for a safe and well-designed solution.",
"Injecting beans into a class outside the Spring managed context I'm an end-user of one of my company's products. It is not very suitable for integration into Spring, however I am able to get a handle on the context and retrieve the required bean by name. However, I would still like to know if it was possible to inject a bean into this class, even though the class is not managed by Spring itself. Clarification: The same application which is managing the lifecycle of some class MyClass, is also managing the lifecycle of the Spring context. Spring does not have any knowledge of the instance of MyClass, and I would like to some how provide the instance to the context, but cannot create the instance in the context itself.",
"Error: MIXED_DML_OPERATION on setup and non-setup objects",
"$\\lim_{n\\to\\infty}a_nb_n=? $ given that $\\lim_{n\\to\\infty}a_n=0$ and $\\lim_{n\\to\\infty}b_n=\\infty$ A. $\\lim_{n\\to\\infty}a_nb_n=?$ given that $\\lim_{n\\to\\infty}a_n=0$ and $ \\lim_{n\\to\\infty}b_n=\\infty$ B. $\\lim_{n\\to\\infty}{a_n \\over b_n}=?$ given that $\\lim_{n\\to\\infty}a_n=0$ and $\\lim_{n\\to\\infty}b_n=0$ C. $\\lim_{n\\to\\infty}{a_n \\over b_n}=?$ given that $\\lim_{n\\to\\infty}a_n=\\infty$ and $\\lim_{n\\to\\infty}b_n= \\infty$ These seem to be difficult situations I come across when I have to evaluate limits. Some examples, $\\lim_{n\\to\\infty}n^a\\sin(1/n^b)$ with $a,b>1$ $\\lim_{n\\to\\infty}{n^a\\over \\sin(1/n^b)}$ with $a,b>1$ $\\lim_{n\\to\\infty}{1/n^a\\over \\sin(1/n^b)}$ with $a,b>1$ $\\lim_{n\\to\\infty} nf(x_n)$ [where we only know that $\\lim \\ f(x_n) = 0]$ My first question is : Are the two situations A and B equivalent ? I feel that they are equivalent as $\\lim_{n\\to\\infty}b_n=\\infty \\iff \\lim_{n\\to\\infty}{1\\over b_n}=0$, The problem is that I'm not sure if we can apply the product rule for limits to take the limit inside. My second question is : What are some ways to solve such problems ? I only know that we can apply stolz- cesaro in some cases.",
"Is it possible to log back into a Pokemon Go account? So I had 20+ Pokemon on my account and today when I tapped on the app, it brought me back to the original screen when you first start playing. My friend who signed up tested using my username when she first started and my username was unavailable, meaning the account still exists. I don't have the password for the account, but I do have the email. So I wanted to know if it was possible to log back into an account?",
"Is JavaScript a pass-by-reference or pass-by-value language?",
"Should I round my uncertainty to nearest hundred? I was doing some exercises on error propagation when I came across this problem: $4\\pi^2/(0,034 \\pm 0,004 \\space s^2/cm)$ I calculated my uncertainty to be $\\Delta$ = 136 $cm/s^2$ And so the hole thing gives me: $(1200 \\pm 136) \\space cm/s^2$. Now going into my question I rounded $4\\pi^2/0,034 = 1161.12993$ to $1200$ which makes sense since my uncertainty is 136 but in the solution to this problem $136$ is rounded to $100$ and that's not making much sense to me. So should I always round my uncertainty to the nearest hundred (assuming my uncertainty has 3 digits)?",
"I am trying to auto-mount my NFS drives, but it doesn't work too well sadly. What does work is mounting from CLI: me@client:/$ sudo mount 192.168.178.4:/mountdir /mnt/mountdir me@client:/$ mount -t nfs 192.168.178.4:/mountdir on /mnt/mountdir type nfs (rw,addr=192.168.178.4) when I try to add mountdir in the fstab, I cannot mount it due to \"protocol not supported\" (which seems strange as I can mount it) $ sudo mount films_d3 mount.nfs: Protocol not supported So there might be something wrong with my fstab entry. This is my current entry: 192.168.178.4:/mountdir /mnt/mountdir nfs auto,_netdev,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0 During startup I also get this error twice: I was trying to fix the mount-from-fstab first, then worry about that, but nevertheless this might be a different problem: init: idmapd-mounting (/mnt/kazemat/films_d3) main process (445) killed by TERM signal This seems to be before the eth0 is initialised, while I thought the \"_netdev\" option would make the entry wait for the network to be up? can anywone see the mistake in my fstab entry?",
"I want to Setup GIMP 2.10 on Ubuntu 16.04 (Xenial Xerus) without flatpak. can it be possible now or on future??",
"resetPassword problem for enterprise users when called from a community? I'm working within a custom application in a customer community that is used by both community-license users and Salesforce enterprise users. There is a custom Visualforce page where an application admin can select a user and reset the password. The VF Controller is using the standard System.resetPassword() method. We are finding that when an enterprise user receives this password reset email, the user can't get to the expected password reset page. Instead, it eventually redirects to the community login screen. The password reset URL for these enterprise users is based on the community's URL, and it seems that these users cannot change password through the community -- it has to be through the enterprise URL, like what you get when you reset password via Setup. Has anyone run into this and found a workaround? (Of course community users have no trouble with password resets through this Visualforce page.)",
"What does \"ain't\" mean? What does the contraction ain't mean? Is it appropriate to use it in formal settings?",
"ATMEGA328P standalone sketch doesn't work as expected",
"Finding $\\frac {d(\\tan \\theta)}{d\\theta}$",
"If there are two twins. such that one of them goes on a space voyage maintaining a constant velocity, and that one never returns to earth, and the twins decide to never meet but send information about their age to each other by some light pulse or any other method. If then one knows that he is younger, won't he know he is the one travelling thus violating the postulate of relativity that all inertial frames are equal w.r.t. all phenomena and that one can never know if he is moving with a constant velocity."
] | medi_sts_stackexchange_dupe |
Objects not casting shadows in Eevee using HDRI | In Blender 2.8, how do I light an EEVEE scene with an HDR? | [
"In PHP you can do: print_r($var) or vardump($var) which prints \"human-readible\" information about variable. Is there equivalent functions / helpers for those in Ruby / Rails ?",
"Switching between virtual console and GUI How to switch between virtual console and GUI in Ubuntu? I wanted to see what key functions would allow me to switch between the two.",
"How to fill a mesh with solid color",
"How do I get add-apt-repository to work through a proxy? I'm trying to follow the (on my Ubuntu 10.04 VM). The first step is: sudo add-apt-repository ppa:linaro-maintainers/toolchain But when I run that I get: Error reading https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain: <urlopen error [Errno 110] Connection timed out> I'm guessing the problem is with my configuration for my employer's proxy server, particularly for HTTPS. When I opened in Firefox, I got \"The connection has timed out\". I then went into Firefox Preferences -> Advanced -> Network -> Settings... and set HTTP Proxy to \"gateway\" and Port to 8080, and checked \"Use this proxy server for all protocols\". Then the page loaded. This supports my theory. I've tried setting the http_proxy and https_proxy environment variables (both lower and upper case): $ set | grep -i proxy HTTPS_PROXY=https://gateway:8080 HTTP_PROXY=http://gateway:8080 http_proxy=http://gateway:8080 https_proxy=https://gateway:8080 I also tried changing them to: $ set | grep -i proxy HTTPS_PROXY=gateway:8080 HTTP_PROXY=gateway:8080 http_proxy=gateway:8080 https_proxy=gateway:8080 And I tried adding this second line to /etc/apt/apt.conf: Acquire::http::proxy \"http://gateway:8080/\"; Acquire::https::proxy \"https://gateway:8080/\"; But I continue to get the same error. How do I troubleshoot this? Update: I followed the instructions in the to and got further: $ sudo add-apt-repository ppa:linaro-maintainers/toolchain Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1DD749B890A6F66D050D985CF1FCBACA7BE1F97B gpg: requesting key 7BE1F97B from hkp server keyserver.ubuntu.com gpgkeys: HTTP fetch error 7: couldn't connect to host gpg: no valid OpenPGP data found. gpg: Total number processed: 0 I wonder if the \"HTTP fetch error\" means I also need to add \"Defaults env_keep = http_proxy\" to /etc/sudoers... Update #2: I added: Defaults env_keep=\"http_proxy\" Defaults env_keep=\"https_proxy\" ...as in , but I still get the same \"gpgkeys: HTTP fetch error 7: couldn't connect to host\" error. And this is curious: $ sudo env | grep proxy https_proxy=https://gateway:8080 ...because http_proxy isn't there. Any advice is appreciated. Update #3: Since the host of my VM is a laptop, I took it home and tried there (with no proxies): $ sudo add-apt-repository ppa:linaro-maintainers/toolchain Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1DD749B890A6F66D050D985CF1FCBACA7BE1F97B gpg: requesting key 7BE1F97B from hkp server keyserver.ubuntu.com gpg: key 7BE1F97B: public key \"Launchpad Linaro Overlay PPA\" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) It worked. So problem is related to proxy configuration. But I suppose I have a workaround.",
"Which of the following is a correct sentence: Does anyone know where's Linda? Does anyone know where Linda is? Does anyone know why and how to use above usage if #2 is correct. Also please let me know this kind of specific structures.",
"Whenever I add a Quick Smoke effect, I can't preview it on the viewport unless I bake it. And Yes, I added the Smoke Domain on the object. I've seen tutorials like this and this that clearly shows the possibility of previewing the smoke before baking it. I'm using Blender on a Mac with AMD GPU. I would guess that this is something related to OpenGL, as thoroughly explained here - but that's for Windows. Does anyone have any idea how to fix this?",
"Adding Custom Menu \"Run Script\" Button Causes Duplicate Is there a way to use the Blender Text Editor for adding a custom menu and not get a duplicate every time I click on \"Run Script\" to test the menu? For example, in the text editor, load the template like so: Template -> Python -> UI Menu Then notice every time you press \"Run Script\" you get another menu in your main menu bar. How can I update my menu without getting a duplicate? I tried simply commenting out register() but then new updates don't show up.",
"Is there an idiom for people who boast too much?",
"Rules of thumb for divisibility Given a number presented in decimal form $n=\\sum_{k=0} d_k10^k$ there are some nice thumb rules to decide whether it is divisible with a prime number $p\\in\\{7,11,13,17,19,23,29\\}$. For each of this numbers there is a number $a_p$ such that $p|n\\iff p|(a_p\\cdot d_0+\\sum_{k=0} d_{k+1}10^k)$. $a_7=-2,\\;a_{11}=-1,\\;a_{13}=4,\\;a_{17}=-5,\\;a_{19}=2,\\;a_{23}=7,\\;a_{29}=3$ E.g. $\\;19\\cdot 17=323$ and $32+2\\cdot 3=38=2\\cdot 19$ and $32-5\\cdot 3=17$. Is there a number $a_{31}$ that works the same way? Or $a_p,\\;p\\ge37$?",
"Generating random results by weight in PHP? I know how to generate a random number in PHP but lets say I want a random number between 1-10 but I want more 3,4,5's then 8,9,10's. How is this possible? I would post what I have tried but honestly, I don't even know where to start.",
"Story about last 2 men on Earth. One very evil, and the other very ethical",
"How does Earth's interior dynamo work? I'm interested in getting a basic physical understanding of how Earth's magnetic field is generated. I understand that it's a \"dynamo\" type of effect, driven by convection currents in the molten outer core. These currents cause charges to move, and this generates the field. However, what I can't find a good explanation of is why there is a separation of charges in the first place. Presumably, moving neutrally charged molten iron would have the same effect as moving any other neutrally charged thing, i.e. it wouldn't create a field. And presumably, if the fluid wasn't moving then it would become neutral pretty quickly, since molten iron is a good electrical conductor. So am I right in thinking that the charge separation is the result of positive feedback, in that an intial deviation from neutrality would generate a field, and this would (somehow) cause a greater separation of charges, resulting in a kind of self-maintaining charge separation? Or is there another explanation? In either case, does anyone know of a good resource that explains the basic principles in physical terms? I know that the interior dynamo is a very complex phenomenon, but I'd like something that gives a good physical picture of how the electromagnetic and fluid dynamical phenomena interact, rather than diving straight into partial differential equations.",
"How do I get the full url of the page I am on in C#",
"What's the arc length of an implicit function? While an explicit function $y(x)$'s arc length $s$ is easily obtained as $$s = \\int \\sqrt{1+|y'(x)|^2}\\,dx,$$ is there any formula for implicit functions given by $f(x,y) = 0$? One can use the implicit differentiation $y'(x) = -\\frac{\\partial_y f}{\\partial_x f}$ to obtain $$s = \\int\\sqrt{1 + |\\partial_y f / \\partial_x f|^2}\\,dx,$$ but that still requires (locally) solving for $y(x)$. Is there any formulation that does not require this, e.g. another implicit equation involving $s$? Thoughts so far: One could rewrite $s$ as $$s = \\int |\\nabla f|\\, |\\partial_x f|dx,$$ or symmetrize to $$s = \\int |\\nabla f|\\, \\underbrace{(|\\partial_x f|dx + |\\partial_y f|dy)}_{(*)}/2$$ where $(*)$ might be strongly related to $|df|$ I guess (though it's not identical due to the $|\\cdot|$), but then?",
"Our GM won't let us affect the story; the more I play the less fun I have. What do I do? I was wondering if anyone could give me some advice or anything on a GM situation. My current GM is running a campaign and it is very video game/anime like. It started out super fun and the deeper we get the less fun I have. The reason is, it feels like GM is telling us a story but we cannot interact or change anything during his, \"cut scenes\". No matter what any player does he just says, \"No it didn't work,\" or, \"Yeah you do that. See if you roll a 20.\" We also can't damage any boss he has until we reach the point in the story that he has planned, so our interactions we have with villains don't matter. I feel like he is making us sit there and listen to an anime he has come up with in his head. Since the players can't change or react to the key situations. I find my self sitting there thinking, why would I react, it doesn't matter. It's not just me either. Another player feels the same way. I am going to talk to my other fellow players soon about it and see how they feel. Side note: the GM as a person is very defensive and I am afraid to confront him about it because I know he will throw a fit. We have also caught him straight lying about abilities and stats on his own PC in other campaigns, and he doesn't take to kindly when you call him out. He is new to GMing. This is only the second game I have played with him as a GM. The first one had one session the he just never wrote more for. Is there anything I can do to maybe get him to more lenient with his story? I really enjoy the story for the most part and if he would just let our characters do things and give us a chance at stopping his villians or letting us change the story based on our actions, everything would be cool.",
"Can I transfer saved data from my old PS3 hard drive to my new PS3? A while ago, my PS3 completely broke. Every time I turn it on, it just completely shuts down a few seconds later. I decided to buy a new ps3 to play my old games. The problem is that I don't have my saved data, but I still have the original hard drive. Is it possible to somehow transfer the saved data from the old hard drive to my new PS3? I was thinking maybe I could clone the hard drive, but I don't have a spare hard drive to do it on. I do however have a 2 TB external hard drive. Would it be possible to clone it on the external? Are there any alternative methods?",
"Getting a domain name off of the blacklist I have a friend who purchased a domain name recently that he found out (after buying it) is apparently blocked by many corporate firewalls or proxies b/c it's been tagged as porn by the blacklist db they're using. Are there any common agencies he can appeal to in order to get the domain name off the black lists? It's not just one corporation, either, he's looking at marketing a subscription-based service to a certain industry, so any contacting a particular firewall/proxy admin and have them manually update the blacklist won't scale well. Thanks in advance. Paul",
"Is there an easy way to convert a number to a word in PHP?",
"How can I create an AddIn to ArcGIS Pro and where can I find it from ArcGIS Pro application?",
"NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305] I get this error message NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305] on the startup of my system (even with live-cd). My PC is a dell inspiron 7559 with intel graphic and nvidia. UPDATE - this issue also happens when attempting to install ubuntu 18.10 using LiveUSB"
] | medi_sts_stackexchange_dupe |
How to give two equations the same equation number? | How to get only one vertically centered equation number in align environment with two equations | [
"How can I forward delete on iOS? Is there a way to delete text in front of the caret using the iOS software keyboard? The small wireless hardware keyboard accomplishes this with a fn+delete, so there might be a way to use multiple keys to accomplish the same task in iOS?",
"Mixed content on many SE sites Many SE sites (like math.SE) have a problem with mixed content, which causes display bugs in recent browsers. This is particularly evident with math.SE (because of the huge use of MathJax) and with chat sections. Will this be fixed? How to reproduce Visit or What happens Mixed content is blocked, output is missing pieces of code (MathJax): This picture also includes my main Firefox addons (top right), it relevant. It shows missing styles: The white on the left is my tab list.",
"It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap.",
"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?",
"how long does the care take to reach the last pole algebra word problem There are 20 poles with a constant distance between each pole. A car takes 22 seconds to reach the 12th pole starting from the first pole, with a constant speed between each pole. how many seconds will it take to reach the last pole? Is the answer 36 seconds? since $\\frac{22} {12} = 1.83 $ $1.83 \\times 20 = 36.67 $",
"Mean absolute error OR root mean squared error? Why use Root Mean Squared Error (RMSE) instead of Mean Absolute Error (MAE)?? Hi I've been investigating the error generated in a calculation - I initially calculated the error as a Root Mean Normalised Squared Error. Looking a little closer, I see the effects of squaring the error gives more weight to larger errors than smaller ones, skewing the error estimate towards the odd outlier. This is quite obvious in retrospect. So my question - in what instance would the Root Mean Squared Error be a more appropriate measure of error than the Mean Absolute Error? The latter seems more appropriate to me or am I missing something? To illustrate this I have attached an example below: The scatter plot shows two variables with a good correlation, the two histograms to the right chart the error between Y(observed ) and Y(predicted) using normalised RMSE (top) and MAE (bottom). There are no significant outliers in this data and MAE gives a lower error than RMSE. Is there any rational, other than MAE being preferable, for using one measure of error over the other?",
"Having line color vary with data index for line graph in matplotlib?",
"I've got a couple of URL autocomplete suggestions where Chrome suggests the wrong URL consistently. How can I delete the incorrect entry from the address bar's suggestion list? The page I want shows up too but it's never the first result.",
"Why is polynomial regression considered a special case of multiple linear regression? If polynomial regression models nonlinear relationships, how can it be considered a special case of multiple linear regression? Wikipedia notes that \"Although polynomial regression fits a nonlinear model to the data, as a statistical estimation problem it is linear, in the sense that the regression function $\\mathbb{E}(y | x)$ is linear in the unknown parameters that are estimated from the data.\" How is polynomial regression linear in the unknown parameters if the parameters are coefficients for terms with order $\\ge$ 2?",
"Guinier regime for form factor Why is it such a good idea to plot the logarithm of the form factor vs $Q^2$ in . It seems arbitrary to me.",
"I just reached the 3k rep limit required for close votes and have started exploring the vote-to-close UI that's opened up to me, and I have a request. The review queue has a Do Not Close button, but when I click the close link under a question that has close votes (i.e. it shows close (1)), there isn't an option for me to vote against closing the question. I came across a question that had a vote to close it as not a question, but it had just been updated with code and more details and was no longer a candidate for closing. However, I couldn't cast a vote to not close it from the question itself. When I clicked on close, it brought up the usual voting UI, and \"Do Not Close\" was not an option. TL;DR, do this: Open a question in the close votes review queue Note the Do Not Close button Click the question title to go to it Click the close (n) link under the question (assuming it hasn't already been closed) Notice the lack of an equivalent \"Do Not Close\" option Could a \"Do Not Close\" option be added to the close button popup for questions that already have close votes, that way the review interface isn't the only place a \"Do Not Close\" vote can be cast? Edit: Okay, so 5 3 \"Do Not Close\" votes kicks it out of the review queue, it doesn't have \"no effect\" as suggested in the comments. (See , in which the was just updated a few minutes ago to say 3 DNC votes.) I still don't see why the same DNC option can't be available from the question. Basically, I guess I would like some rationale behind this bullet point from : Only accessible from the review queue (so rather difficult to target a specific question). Yes, this is very much by-design.",
"Did J.R.R. Tolkien ever write a deeper connection between The Hobbit & Lord of the Rings: Fellowship of the ring? There seems to be a bit of a gap between The Hobbit and Lord of the Rings: Fellowship of the Ring. While we know the outcomes from The Hobbit to Lord of the Rings, we don't know what happened between them. Did Tolkien ever novelize this? Connecting the two movies together, I've pieced the following sub-plots: Saruman becomes corrupted by peering into the Palantír of Orthanc at some point after The Hobbit Gollum gets captured by Sauron's army Legolas leaves his homeland, in search of a ranger of some importance Tauriel is banished from her homeland Bilbo returns to the Shire, and finally relinquishes the one ring on his 111th birthday to Frodo What doesn't seemed joined by the books or the two trilogy films: How did a powerful white wizard like Saruman become enchanted/corrupted by Sauron What was Gollum doing before he was captured Where was Thranduil during the events of Lord of the Rings What happened to Tauriel during Lord of the Rings What happened to the remaining company of dwarves after The Hobbit Who now resides within Erebor What happened to Radagast during Lord of the Rings",
"A non orientable closed surface cannot be embedded into $\\mathbb{R}^3$",
"Problems with macOS path on Synology NAS (SMB) I am having issues with macOS where, after mounting a drive it will mount new drives instead of just jumping to the sub-folder path within the mounted drive. For example, I'm seeing where I send someone a path for in the \"Video\" drive on a Synology (smb://HAL9000/Video). Instead of mounting the \"Video\" drive (smb://HAL9000/Video) and going to a sub-folder within the video drive labeled \"GoPro -IMPORT\", it will create a new drive on their desktop labeled \"GoPro - IMPORT\". If I create a new sub-folder within \"GoPro - IMPORT\" and send them a link to that like (smb://HAL9000/Video/GoPro%20-%20IMPORT/Test), instead of taking to the sub-folder in the \"Video\" drive that they already have mounted on their desktop, it will create an entirely new drive labeled \"Test\" on their desktop. I've tried reaching out to both Apple and Synology and had no luck with this. I would appreciate any kind of help/support.",
"The limit of $((1+x)^{1/x} - e+ ex/2)/x^2$ as $x\\to 0$",
"Dual boot windows 8 and Ubuntu with Windows 8 Boot manager",
"Should I use UUID as well as ID",
"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.",
"This should be a fairly trivial problem. I'm trying to open an ofstream using a std::string (or std::wstring) and having problems getting this to work without a messy conversion. std::string path = \".../file.txt\"; ofstream output; output.open(path); Ideally I don't want to have to convert this by hand or involve c-style char pointers if there's a nicer way of doing this?",
"Are users notified when their questions are reopened? Do users get notified when their question is reopened? I know there are no notifications , and that makes sense because 1) you assume the user is paying attention to their open, unanswered question, and they'll probably notice it's been put on hold and 2) it follows with the SE policy of (in general) not sending notifications for negative events. However a reopening is a good thing, and once a question is closed it becomes less likely that the OP will be coming back to check on it often (so they might not notice the reopening otherwise). If there are not reopen notifications, why not? Or can we add them?"
] | medi_sts_stackexchange_dupe |
to install ubuntu on dell latitude d600? | How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements? | [
"How do I add a border around windows but keep the current theme? I seem to live my life in the terminal - many terminals in-fact. I also love the Ambiance theme - but the new borderless windows does not provide the visual differentiation I'm used to (the same black windows appear to blend into each other). Thus to my question - how do I add back the single pixel border for windows that is found in earlier Ubuntu versions? I want to keep the Ambiance overall theme since this looks good and I dont want to swap to another theme. Now I know that I can modify the Ubuntu Ambiance theme as follows: mkdir ~/.themes cp -r /usr/share/themes/Ambiance .themes Then flipping between the theme options in the Settings - Appearance picks up changes in the theme in now in the .themes folder. I presume I need to alter one of the .css files but I dont know which one. I was also looking at but the solutions there doesnt work for 14.04. I also looked at the but got rather lost trying to figure out which one applies to my situation.",
"How to find fixed points for DES weak keys",
"How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?",
"Can I run PC steam games on a Mac? I recently downloaded 'Blood Bowl' on Steam to my Mac, not realizing that it was not Mac-compatible. Is there any software or any way that will allow me to play it, as obviously I've already paid for it? Cheers.",
"Interval preserving transformations are linear in special relativity",
"How to tell if mains voltage is on with microcontroller? I want to be able to tell if the mains voltage is on or off with an Arduino. How could I do this safely with minimal components (or components from Radio Shack)?",
"How can I get a list of all packages in a repository section from command line?",
"In Python, I can compile a regular expression to be case-insensitive using re.compile: >>> s = 'TeSt' >>> casesensitive = re.compile('test') >>> ignorecase = re.compile('test', re.IGNORECASE) >>> >>> print casesensitive.match(s) None >>> print ignorecase.match(s) <_sre.SRE_Match object at 0x02F0B608> Is there a way to do the same, but without using re.compile. I can't find anything like Perl's i suffix (e.g. m/test/i) in the documentation.",
"What is information?",
"How to repair a corrupted Excel file I'm trying to restore some files for a friend who messed up a USB stick by pulling it out of the computer too soon. By searching invisible partitions I was able to restore the files. All files are intact, except 1 excel file that seems to be corrupted. I've googled about ways to repair an Excel file, because the default repair options in Excel 2003-2010 do not work for this file. I've came across a numerous third-party apps, of which the one seemes to be able to do the job: Recovery Toolbox for Excel. Of-course, this and all other apps I found require a purchase to actually repair the file. It seems a bit silly to pay 30 dollars for a one time thing, and something that is not for myself. So, I would like to keep that as a last-resort option. Is there anything I can try to fix this? I've attached a screenshot of how the file looks when I open it on my OSX when converted to a HTML file (to view the code), for the option that it could be a character set problem.",
"mod_pagespeed : install earlier version compatible with libc6 2.13 (Debian Wheezy)",
"Setting proxy for apt from terminal Possible Duplicate: I have tried changing my proxy settings in a terminal as: export HTTP_PROXY=http://10.1.3.1:8080 and export http_proxy=http://10.1.3.1:8080 but when I try to install a new package or update apt-get, apt-get starts displaying messages from which it seems it is trying to connect to a previously set proxy: sudo apt-get update 0% [Connecting to 10.1.2.2 (10.1.2.2)] [Connecting to 10.1.2.2 (10.1.2.2) I have tried setting the proxy via bashrc file but that din work either. As far as I remember 10.1.2.2 was set using GNOME GUI but I don't have access to the GUI right now so I am trying to set it from terminal.",
"Why does your reflection suddenly turn upside down while slowly walking away from a curved mirror? Many people should have realised, when looking into a concave curved mirror (or even a rather reflective spoon in that fact) at a close distance, you will see a slightly distorted reflection. But as you move further away, the image will suddenly become upside-down. why is this?",
"This is what is supposedly his claim: My noumenal self is an uncaused cause outside of time, which therefore is not subject to the deterministic laws of nature in accordance with which our understanding constructs experience. How can he say that if a noumenal self has to exist in nature and be bound to body that exists in nature? Also, if his noumenal self is free then so does 7 billion other people's, which is not the case because they all live in a societal structure where everyone has freedom that comes with a bunch conditions as to what is forbidden.",
"I have a small issue with configuring the lidR for parametrizing the extracted raster files with grid_metrics() function. My question is how to set in the catalog options that: be able to overwrite the results with a second run if I want to run my script several times and I do not want to name each output differently. instead of .tif I would like to get .grd files as output. My current code (which is working) is the following: normalizedctg = catalog(workingdirectory) opt_output_files(normalizedctg) <- paste(workingdirectory,\"/clipped/normalized/{XLEFT}_{YBOTTOM}_height\",sep=\"\") height = grid_metrics(normalizedctg, max(Z),res = resolution) But with a second run on the same code I get the following error: Error in .getGDALtransient(x, filename = filename, options = options, : filename exists; use overwrite=TRUE",
"The prepositions “with”, “at” and “for” are also used to associate a business title with a company's name. It seems that they are interchangeable, with no (significant) difference in meaning. The following examples taken from The New York Times website seem to confirm that: Until now, said Justin Nielson, a senior analyst for the media research firm SNL Kagan, “there really hasn't been any direct competitor . . . “The consumer is still deleveraging,” said Jason Goldberg, a senior analyst with Barclays. “It's not a lack of supply; it's a lack of demand.” “There’s the party of fear and the party of despair,” Nikos Xydakis, a political analyst and an editor at Kathimerini daily, said. Are they really the same as for meaning? If it isn't so, what is the difference between them?",
"Improper display of parentheses in fraction of fraction The following code: $\\dfrac{\\left( \\dfrac{\\left( \\dfrac{1}{2}\\right) }{2}\\right) }{2}$ gives a nasty output: It seems that the $\\left( \\right)$ command doesn't do the job. Any idea how to solve this in general?",
"70s UK science fiction TV show with time travel and telepathic cat I'm trying to identify a science fiction series on UK TV during the 70s, but I can only recall the following: A party of adults and children. There was a woman with a telepathic bond to her cat: she could look into its eyes to see what it had seen. Time travel was involved. I think it may have been inadvertent or uncontrolled time travel. On one occasion the party encountered an Elizabethan seaman who demanded to know if Elizabeth was still queen. They party replied \"err... yes\" because they didn't want to have to explain time travel.",
"Why not use the Lagrangian, instead of the Hamiltonian, in nonrelativistic QM?",
"Assign default keyboard language per-application Is it possible to assign default keyboard language for specific applications? I know that there is an option to always start an application with a default keyboard language but this is not what I want. I'm looking for something similar to \"fixed workspaces\" which you can set using CompizConfig (You set Chrome to always open at X1Y1, terminal at X2Y1 etc). Something where I would set Chrome: Czech, terminal: English, Spotify: English, ..."
] | medi_sts_stackexchange_dupe |
Why does Round produce a different result than Application.Round | Round function in Excel, worksheet function vs VBA | [
"How can I extract a page range / a part of a PDF? Do you have any idea how to extract a part of a PDF document and save it as PDF? On OS X it is absolutely trivial by using Preview. I tried PDF editor and other programs but to no avail. I would like a program where I select the part that I want and then save it as a PDF file with a simple command like CMD+N on OS X. I want the extracted part to be saved as PDF and not as JPEG, etc.",
"How to use CDF and PDF statistics for analysis This may be too much of a general question but I hope I can find help here. I am starting a RA job in my university and my topic will be related to Internet Traffic Analysis. I am fairly new to the world of analysis but I guess in the world of research this is what I have to do a lot of. I've been through a few papers and in a lot of them I find they use Probability Density (PDF), CDF, CCDF etc to explain the results they've obtained. For example, PDF of user session duration, CDF of bytes transferred each day etc. I have taken probability and statistics class so I understand what they are but I am still confused to the cases in which such representation would be chosen. So, if there is anyone out there who does such graphs and analysis (in any other topic in general or this) could you tell me simply in what situation would I use one or the other of these representations",
"Helvetica font has jagged edges I use 'Helvetica' as my font and build my document using Texmaker. But the PDF generated has jagged edges while using this font and when I use a different font (say Times or even Helvetica sans-serif) it builds just fine. Please suggest if there is anyway I can get over this. The problem with these jagged edges is that it appears very dull and unreadable at 100% resolution. OK guys, now here is the MWE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% HEADER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\documentclass[a4paper,twoside,12pt]{book} %% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\usepackage[T1]{fontenc} \\usepackage[latin1]{inputenc} %\\usepackage[utf8]{inputenc} \\usepackage{graphicx,color,subfigure} %% Line Spacing %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\usepackage{setspace} %\\singlespacing %% 1-spacing (default) %\\onehalfspacing %% 1,5-spacing \\doublespacing %% 2-spacing %% Other Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\usepackage[left=1.5in, right=1.5in, top=1in, bottom=1in, includefoot, headheight=13.6pt]{geometry} \\usepackage[pagebackref=true,breaklinks=true,letterpaper=true,colorlinks,bookmarks=false]{hyperref} \\usepackage{helvet} \\usepackage[square,numbers]{natbib} \\usepackage{hyphenat} \\usepackage{fancyhdr} \\begin{document} \\pagestyle{empty} %No headings for the first pages. \\cleardoublepage %The first chapter should start on an odd page. \\pagestyle{plain} %Now display headings: headings / fancy / ... \\pagebreak %------------------------------------------------------------------------ \\chapter{Divorce} A major change that has occurred in the Western family is an increased incidence in divorce. Whereas in the past, divorce was a relatively rare occurrence, in recent times it has become quite commonplace. This change is borne out clearly in census figures. For example thirty years ago in Australia, only one marriage in ten ended in divorce; nowadays the figure is more than one in three (Australian Bureau of Statistics, 1996: p.45). A consequence of this change has been a substantial increase in the number of single parent families and the attendant problems that this brings (Kilmartin, 1997). \\end{document}",
"What is the probability that the selected function maps prime numbers to prime numbers? Let $X = \\{1, 2, 3, . . . , 25\\}$. If a student selects a function randomly from the set of all functions from $X$ onto $X$, then what is the probability that the selected function maps prime numbers to prime numbers ? No idea how to proceed, please guide.",
"When performing machine learning, the performance of the machine learning method is dependent on the original function $f$ that we are trying to learn (let's forget for a moment the non-deterministic error and focus on the properties of $f$). I have a conceptual question. What would make a function easy to learn? For instance, a linear function can be easily learnt by linear methods such as linear regression and SVM. But in the general case, what would make a function easier to learn for decision trees or a neural network? I believe feature engineering helps us move to a feature space in which the function we want to approximate is easier to represent. But what properties exactly are we trying to achieve for this function?",
"Prevent back button after logout",
"Web designer's link back to own website (rel=\"designer\" / rel=\"nofollow\")",
"What was L's real name? I watched through Death Note once, and I never remember hearing L's name, even after he died. What was L's real name, or did he never have one (it was never said)?",
"Why is Compactification restricted to Toroids, Calabi-Yau et al?",
"Is it possible to install multiple instances of the same delphi service application?",
"Using subcaption package but subfigures end up stacked rather than side by side",
"Scaling vs Offsetting in Quasi-Poisson GLM I modeled insurance claim frequency assuming a Quasi-Poisson distribution in R. My frequency dependent variable was calculated, in advance of modeling, as the number of claims per underlying exposure. Someone that it would be incorrect to do this, and that the correct method was to model the observed claim counts and use the underlying exposure as an offset. Can someone explain the theoretical and practical differences between scaling and offsetting? I ran the code both ways and noticed that the deviance residuals are significantly smaller when using offsets, but otherwise there were no material differences in variable selection. P.S. Note the similar but still different question .",
"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?",
"How to make a LAMP server accessible from the internet? Hi I want to make my own SNS (Social Networking Site), so I installed LAMP on my Ubuntu 14.04. But its not accessible from the internet! I can run the server only on my computer by typing \"https:\\localhost\" on my browser. I don't want any domains; I just want that whosoever from any part of the world wants to use my SNS he/she just have to type the ip-address and my SNS opens i.e. I want my server accessible from the internet. My router is Binatone DT 850W. Can you please tell me what should I do?",
"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.",
"This story had a researcher landing on an uncharted planet to see if it was any good for mining some type of mineral/metal. Whilst there he encounters this type of ball that chases him all over the planet. He ends up finding this ball’s collection of other things it has caught including animals all the way back to the dinosaurs. On the ball it has the writing '+/-7. In the end it chases him for so long that he weighs too little for the balls 'collection'. Any ideas greatly appreciated.",
"The statement is: In a commutative ring with 1, every proper ideal is contained in a maximal ideal. and we prove it using Zorn's lemma, that is, $I$ is an ideal, $P=\\{I\\subset A\\mid A\\text{ is an ideal}\\} $, then by set inclusion, every totally ordered subset has a bound, then $P$ has a maximal element $M$. My question is why $M$ must contain $I$?",
"I put all my music on a playlist seperate from the rest of the music on the iTunes library, so I could easily get to what music I wanted to listen to, instead of my brother or sister's music. My brother recently got an iPod nano, and didn't know how to use iTunes, after explaining it to him, he deleted my whole entire playlist. I didn't know, so when I hooked my phone up to the computer to sync some songs I was going to buy, all the music on my phone disappeared. I've tried re-doing the playlist and syncing all of it to my phone again, but it won't work. I've also tried turning off my phone for certain periods of time, still nothing. I lost about 200 songs (thankfully not more), and I don't know how to get it back.",
"How to make Latexmk use makeglossaries?",
"If I have $f:\\mathbb{R}\\rightarrow\\mathbb{R}$ such that $f$ is onto and $f\\circ f\\circ f = f$, how can I prove that $f$ is bijective? I know that I only have to prove that it is 1-to-1 because I'm given the fact that it's onto, but how can I use the fact that $f\\circ f\\circ f=f$ to prove that it is 1-to-1? Thanks!"
] | medi_sts_stackexchange_dupe |
Is this use of en dash legitimate? | When should I use an em-dash, an en-dash, and a hyphen? | [
"Novel about a guy who is possessed by the divine essence and the world ends? I read this novel back in the mid-80's but I'm pretty sure it was written in the 70's. Strange things start to happen around a homeless man - like the laws of chance are changed. The investigators discover that they can figure out what is going to happen next by interpreting the dreams/vision of the man. One such dream is of a large body of water that is split into two pieces. Turns out that means that \"C\" (sea) - the speed of light has been halved. The homeless man had become the embodiment of the creator essence. The creator was hiding, because it was tired of trying to keep the universe working and from the fight with is adversary - chaos. At the end of the book, the creator allows the world to be destroyed and recreates it - except that planets are cubes and move in squares. Yes - it was rather bizarre.",
"Question involving discriminant of quadratic congruence in elementary number theory.",
"Why isn't my Minecraft LAN server working? My LAN server won't let my cousin join me or me join my cousin. It won't show up on the multiplayer screen - it keeps saying \"scanning for LAN servers\" but it never finds it. I am at his house and we use different computers but it won't connect. How can I fix this?",
"No more updates for Google Chrome 32-bit I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message: This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported I thought Ubuntu 14.04 is supported for five years, what's exactly happening here? And on 64-bit Ubuntu, I get an error from Update Manager and apt-get update: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) Some index files failed to download. They have been ignored, or old ones used instead.",
"Proving $a^2$ is even $\\implies$ $a$ is even by contradiction",
"For example, here are top five accounts in each site (this picture was taken when I was in Biology SE). As you can see, all the badges are DNA, while Academia's badges should be hats, so on. What do you think?",
"Find full path of the Python interpreter?",
"Conservation Of Angular Momentum of a falling stone I am currently stuck on the following question. A stone is dropped from a stationary helicopter 500m above the ground, at the equator. How far from the point vertically below the helicopter does it land and in what direction? Solve this problem by conserving angular momentum. My current interpretation is that when the stone falls in order to converse angular momentum the angular velocity must increase. This leads to the stone travelling to the east. I equated the angular momentum at the start L0=*(re+h)mVo where re is radius of earth, h is the height above that, m is mass and Vo is inital velocity. To the angular momentum at any time L=(re+h-1/2gt^2)m(Ve+Vo) where the 1/2at^2 term comes from gravitational acceleration and Ve is the additional velocity. I rearranged to find Ve and then integrated over the time it takes to fall the 500m in order to work out the extra distance the stone traveled. However, my answer is 1/2 what the answer should be. I have checked the maths and it seems to be fine. So I believe my set up is wrong. Any help would be appreciated.",
"$\\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)$.",
"Calculate all integer solutions $(x,y,z)\\in\\mathbb{Z}^3$ of the equation $x^2+y^2+z^2 = 2xyz$. My Attempt: We will calculate for $x,y,z>0$. Then, using the AM-GM Inequality, we have $$ \\begin{cases} x^2+y^2\\geq 2xy\\\\ y^2+z^2\\geq 2yz\\\\ z^2+x^2\\geq 2zx\\\\ \\end{cases} $$ So $x^2+y^2+z^2\\geq xy+yz+zx$. How can I solve for $(x,y,z)$ after this?",
"(a) $S_k=\\{A\\subset\\mathbb{N}: |A|=k\\}$ for $k\\in\\mathbb{N}$ (b) $S = \\bigcup_{k=1}^\\infty S_k$ Work: For (a), I am not too sure about what approach I should use. I think finding a bijective function between the $S_k$ and $\\mathbb{N}$ is hard to do . I also thought about using the Schroeder-Bernstein theorem and find injective functions $f:\\mathbb{N}\\rightarrow S_k$and $g:S_k\\rightarrow\\mathbb{N}$ in order to prove that $S_k$ and $\\mathbb{N}$ are numerically equivalent. However, I have a hard time finding and proving these injective functions. I haven't really looked at (b) as I have yet to complete (a).",
"How to get the last value of an ArrayList",
"What graphics packages are there for creating graphics in LaTeX documents?",
"Where to declare environment variables? What are correct places for: Global environment variables meant to affect all users? User-specific environment variables?",
"Why is my Mega Stone not in the location it should be? I upgraded my Mega Ring and have been looking for Mega Stones, and I found . However, the Mega Stone isn't in the place it's supposed to be, and I'm sure the location is right. Why isn't my Mega Stone here?",
"What is a \"year\" in Westeros?",
"Ubuntu 17.10 windows' menu in panel I installed the latest version of Ubuntu (17.10) , but the problem is, I can't find the menu bars of applications in the GNOME panel. For instance, the Chrome menu bar doesn't appear on the panel like in Ubuntu 17.04 and earlier versions.",
"What TV movie had lost space cadets who piloted yellow tripod robots, and a squid bad guy? I'm trying to find a movie I watched on TV, probably in the 90s. I think it was a made-for-TV movie. It was about a ship with an AI. The ship was crewed by young adults. I think they were cadets? There was an accident (like a warp drive malfunction) and they end up in another part of space where they meet a female alien whose ship had been shot down. I remember they had manned robots they would pilot and they took them to a planet to get upgraded and they are attacked by more manned robots. They had three legs and they were yellow, I think. I also remember the baddie had a holo-projector or something like that which allowed him to change his appearance. He commanded a massive fleet and he worked for someone he spoke to in a video chat that looked like a squid.",
"Bound states of the $V(x)=\\pm \\delta'^{(n)}(x)$ potential? The $\\delta(x)$ Dirac delta is not the only \"point-supported\" potential that we can integrate; in principle all their derivatives $\\delta', \\delta'', ...$ exist also, do they? If yes, can we look for bound states in any of these $\\delta'^{(n)}(x)$ potentials? Are there explicit formulae for them (and for the scattering states)? To be more precise, I am asking for explicit solutions of the 1D Schroedinger equation with point potential, $$- {\\hbar^2 \\over 2m} \\Psi_n''(x) + a \\ \\delta'^{(n)}(x) \\Psi(x) \\ = E_n \\Psi_n(x) $$ I should add that I have read at least of three set of boundary conditions that are said to be particular solutions: $\\Psi'(0^+)-\\Psi'(0^-)= A \\Psi(0)$ with $\\Psi(0)$ continuous, is the zero-th derivative case, the \"delta potential\". $\\Psi(0^+)-\\Psi(0^-)= B \\Psi'(0)$ with $\\Psi'(0)$ continuous, was called \"the delta prime potential\" by Holden. $\\lambda \\Psi'(0^+)=\\Psi'(0^-)$ and $\\Psi(0^+)=\\lambda\\Psi(0^-)$ simultaneusly, was called \"the delta prime potential\" by Kurasov The zero-th derivative case, $V(x)=a \\delta(x)$ is a typical textbook example, pretty nice because it only has a bound state, for negative $a$, and it acts as a kind of barrier for positive $a$. So it is interesting to ask for other values of $n$ and of course for the general case and if it offers more bound states or other properties. Is it even possible to consider $n$ beyond the first derivative? Related questions (If you recall a related question, feel free to suggest it in the comments, or even to edit directly if you have privileges for it) For the delta prime, including velocity-dependent potentials, the question has been asked in In the halfline $r>0$, the delta is called \"Fermi Pseudopotential\". As of today I can not see questions about it, but seems to be the same potential. A general way of taking with boundaring conditions is via the theory of self-adjoint extensions of hermitian operators. This case is not very different of the \"particle in 1D box\", question A general take was the question A related but very exotic question is because obviosly the point-supported interacctions have a peculiar scaling Comments Of course upgrading distributions to look as operators in $L^2$ is delicate, and it goes worse for derivatives of distributions when you consider its evaluation $<\\phi | \\rho(x) \\psi>$. Consider the case $\\rho(x) = \\delta'(x) = \\delta(x) {d\\over dx}$. Should the derivative apply to $\\psi$ only, or to the product $\\phi^*\\psi$?",
"dpkg: error: dpkg status database is locked by another process I just wondered if somebody could tell me what this means: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. reidsr@ubuntu:~$ sudo dpkg --configure -a dpkg: error: dpkg status database is locked by another process reidsr@ubuntu:~$ How do I run sudo dpkg --configure -a manually?"
] | medi_sts_stackexchange_dupe |
Prove that a complete metric space without isolated points is uncountable | In a complete metric space with no isolated points, any countable intersection of open dense sets is uncountable? | [
"QGIS 3.0 and Qt 5.7 time schedule When will QGIS 3.0 with QT5.7 (possibly) be released as a stable and long term support version?",
"Generalized Tube Lemma",
"Which statistics to use?",
"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?",
"Google Chrome PPA upgrade invalid signature",
"Making a string out of a string and an integer in Python",
"Examples of a non-commutative division ring",
"I have a very simple component: PushTopicTest.cmp <aura:component implements=\"flexipage:availableForAllPageTypes\" access=\"global\"> <lightning:empApi aura:id=\"empApi\"/> <aura:handler name=\"init\" value=\"{!this}\" action=\"{!c.onInit}\"/> </aura:component> PushTopicTestController.js ({ onInit: function(component, event, helper) { var empApi = component.find(\"empApi\"); empApi.setDebugFlag(true); empApi.subscribe(\"/topic/AccountChanges?Id=0011t0000033C9QAAU\", -1, function(message) { console.log(\"Event Received : \" + JSON.stringify(message)); }); } }) I also have PushTopic created like this: What I am trying to do, is to only receive events for specific record Id. Based on documentation this should work: \"/topic/AccountChanges?Id=0011t0000033C9QAAU\", but it doesn't. \"/topic/AccountChanges\" works though. I've tried Id='0011t0000033C9QAAU' aswell, but no luck. Do you know if it is possible at all?",
"How to secure recommendations and apply for PhD after having worked outside of academia for two years?",
"The number of permutations of $\\{1,2,\\ldots,n\\}$ that have exactly one ascent (rise). Sloane's counts the number of $n$-permutations with exactly one ascent. For example $a(3)=4$ because we have: $1\\wedge32$, $21\\wedge3$, $2\\wedge31$, $31\\wedge2$ where I have marked the unique ascent with $\\wedge$. The same sequence also counts the number of length $n$ binary words that contain at least two $1$'s. For example $a(3)=4$ because we have: $011, 101, 110, 111.$ Is there a simple bijection between these two classes? The formula for the sequence is $a(n) = 2^n - n - 1$. I see how this counts the number of such binary words. Is there a combinatorial derivation of this formula demonstrating that it counts the number of such n-permutations? Both the exponential and ordinary generating functions of the sequence are given. Again, I understand their symbolic derivation for enumeration of such binary words but can these functions be derived symbolically by considering the structure of such n-permutations?",
"How to Disable Copy Paste (Browser)",
"Standardize Training and Validation Data",
"Would spending one more year as an undergraduate adversely affect my chances of getting into a graduate program? I wasn't really thinking about economics PhD until recently so my GPA is not too impressive and I lack in math courses so I've decided to spend one more year to boost my GPA taking upper level courses and get a math minor. However, could the very fact of spending one more year to finish college be a disadvantage of getting into a graduate program?",
"How to easily build your own Linux Distro? I wanted to have a go at creating my very own Linux Distribution. Could you suggest some nice and easy-to-follow tutorials (preferably text based and not videos). I have heard something about Arch Linux but I don't know how to go from there. What do I need?",
"Any Set with Associativity, Left Identity, Left Inverse is a Group",
"Suppose we are in $\\mathbb R^n$. What can we say about the sign of $\\Delta u(\\vec x)$ if u($\\vec x$) has a local max/min at $\\vec x$? I've tried looking at the reverse of the second partial derivative test and it seems to suggest that $\\Delta u(\\vec x) \\leq 0$ if $\\vec x$ is a min and $\\Delta u(\\vec x) \\geq 0$ if $\\vec x$ is a max. However, I'm not convinced of this result. Can somebody point me towards a statement (theorem, etc.) involving the above. I appreciate the help.",
"Aluminum foil is said to be not absorbing light at all. It reflects light. So, does it mean that a more shiny aluminum foil will reflect more light and thus make the room more cooler as compared to less shiny foil? If yes, then where does unreflected light go in case of less shiny aluminum foil? Does less shiny and more shiny actually make a difference? Why? In order to keep whole room cool will it help if I stick the foil to the outside of wooden door (exposed to the sunlight) too?",
"Is it possible to bring built-in lightning components into aura component? I have a form that needs to let the user select 3 out of 5 products, something similar to Order > Add Product (Modal). I was wondering if there was a way to bring that piece into my component (markup) and add some sort of filter that only shows the products I want to show. What I found so far: <lightning:listView objectApiName=\"Products2\" listName=\"productsView\" showActionBar=\"true\" enableInlineEdit=\"true\" showRowLevelActions=\"true\"/> But Product2 is not supported for that component. also these from browser inspector: forceMultiAddUsingLVM forceListViewManager These are data-aura-class attributes when rendered. I'm looking for directions here. Thanks in advance.",
"I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that. I just tried to upload a screen shot but since I'm new it won't allow me to. I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following: COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse) E: The list of sources could not be read., E: The package list of status file could not be parsed or opened. How do I report bugs? What can be done about this. I have searched and everything everyone says to do leads me back to the same line error message. So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.",
"If all derivatives of $f$ are uniformly bounded by a common constant and $f(1/n) = 0$ for all $n$, is $f$ identically zero? $$ f: \\Re \\longrightarrow \\Re \\ \\in C^{\\infty} \\\\ \\exists \\ L>0: \\ \\forall x \\in \\Re, \\forall n\\in N \\\\ |f^{(n)} (x)| \\le L \\\\ f(\\frac{1}{n})=0 \\ \\forall n\\in N \\\\ f(x) \\equiv 0 $$ Good morning, Can you give me an help to make this proof? This is my thought: $\\lim_{n \\rightarrow +\\infty } \\dfrac{1}{n}=0=\\theta$ $f(\\theta)=0$ $f^{(n)} (\\theta) =0\\\\f(x)=\\sum_{k=0}^n \\dfrac{f^{(k)}(x-\\theta)^k}{k!}$ $f$ is analytic, the rest of Taylor's expansion is 0, because the derivatives are bounded, $f$ is null. I have thought this reasoning, but I have difficulties to demonstrate part 3. Can you help me? Is there any mistake? Can I use an easier way to make the proof? Thanks."
] | medi_sts_stackexchange_dupe |
How does ABE decryption works? | What is Attribute Based Encryption? | [
"Equivalent of \"both\" when referring to three or more items? What would be the correct word to use when referring to three or more items, in the same manner as the word both? For example, using two words, with the word both: \"There are several recommendations I have to further improve the sites — both to improve their profit, and decrease their cost.\" Using three words, with a blank space in place of the correct word: \"There are several recommendations I have to further improve the sites — _ to improve their profit, decrease their cost and improve their usability.\" So, what would be the correct word to use in place of the __?",
"Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the approaches. So far, I've found three ways to deal with this problem: split the number into two columns (integer and fractional parts), as documented or . The LaTeX code is simple, but the approach is a pain when it comes to copying and pasting tables from external sources. use manually use Mike Zhang's automatic (). I have yet to test it. What do most people use? dcolumn? Are there other options?",
"Why have the subjunctive and indicative converged in Modern English?",
"Who provides the Internet service to Internet Service Providers (ISPs)? I've been wondering recently about how the infrastructure of the Internet really works. I know that I have an Internet Service Provider (ISP) that supplies my connection to the Internet. But what I don't know is: Who provides the Internet to the ISP? And who supplies it to them? Is there a never-ending loop that eventually connects us all together?",
"How does one get started with web test automation using Selenium? So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated tests and to introduce automated testing into my company. I've done a little research and it seems that Selenium is quite big when it comes to writing automated tests, but most of the tutorials I've come across reference the Java language. Some questions: Is Java the primary language used for Selenium tests? Do you recommend it over C# ? Wat is the process of writing test scripts? Are there Frameworks that I should use that can make the process even easier?",
"Sort Order on the User Filter is Surprising To Me When filling in the \"Type to Find Users\" , it seems to sort by exact match and then by reputation when I am on the reputation tab. For example, please consider the following search results: This threw me off since I thought that the sort order is reputation. I guess this often might give people what they want, but when picking a popular name is shows a lot of 0 rep users. Maybe adding a filter for low rep to the exact match might give more expected results, or just sorting on Rep?",
"I'm looking to write some Groovy code to perform tasks inside of install anywhere but because of the platforms we support I'm restricted to java 1.5. Any idea if this will be sufficient to run the latest groovy?",
"Names of higher-order derivatives Specific derivatives have specific names. First order is often called tangency/velocity, second order is curvature/acceleration. I've also come across words like Jerk, Yank, Jounce, Jolt, Surge and Lurch for 3rd and 4th order derivatives. Is there a widely agreed list of names for these? How many orders have specific names? In this case, I'm dealing with NURBs curves, so the \"tangency\" and \"curvature\" related words are to be preferred over \"velocity\" and \"acceleration\" words.",
"How to build a single virtual machine on top of multiple computers? Is there a way to run Linux operating system on a virtual machine which aggregates the resources of physical machines on the local network and acts as a single super-computer? If possible, how? Thanks.",
"What does the dot product of two vectors represent? I know how to calculate the dot product of two vectors alright. However, it is not clear to me what, exactly, does the dot product represent. The product of two numbers, $2$ and $3$, we say that it is $2$ added to itself $3$ times or something like that. But when it comes to vectors $\\vec{a} \\cdot \\vec{b}$, I'm not sure what to say. \"It is $\\vec{a}$ added to itself $\\vec{b}$ times\" which doesn't make much sense to me.",
"I'm using GNU Emacs from After Migration to OSX 10.11 \"El Capitan\", Auctex can't run the *tex utilities anymore: Running `LaTeX' on `poisson' with ``pdflatex -file-line-error -interaction=nonstopmode \"\\input\" poisson.tex'' /bin/sh: pdflatex: command not found There is no problem running for example pdflatex on the shell: #pdflatex This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex) restricted \\write18 enabled. but it seems that auctex calls /bin/sh pdflatex instead, and that does not work anymore: /bin/sh pdflatex /Library/TeX/texbin/pdflatex: /Library/TeX/texbin/pdflatex: cannot execute binary file maybe due to El Capitan's changes to Gatekeeper sandboxing. How can I configure auctex to run pdflatex again?",
"How to 'sum' a standard deviation? I have a monthly average for a value and a standard deviation corresponding to that average. I am now computing the annual average as the sum of monthly averages, how can I represent the standard deviation for the summed average ? For example considering output from a wind farm: Month MWh StdDev January 927 333 February 1234 250 March 1032 301 April 876 204 May 865 165 June 750 263 July 780 280 August 690 98 September 730 76 October 821 240 November 803 178 December 850 250 We can say that in the average year the wind farm produces 10,358 MWh, but what is the standard deviation corresponding to this figure ?",
"Write down the sum of sum of sum of digits of $4444^{4444}$ Let $A = 4444^{4444}$; Then sum of digits of $A = B$; Then sum of digits of $B = C$; Then sum of digits of $C = D$; Find $D$. What should be the approach here?",
"How to redirect complete outgoing phone's traffic to a proxy server?",
"Well, one example is this file of the game The Sims 2 for PS2: quickdat.arc. The file contains this .arc extension, but it's no one an archive file and it contains some data of the game inside. How can I do this? Put so many files in one? How to do something like this? All the game files inside one without using a file compressor?",
"Error when clipping raster in QGIS: \"'ascii' codec can't encode character\"? I have done it many times (clipping a raster with a polygon layer or by extension) but today I got an error for the first time and I don't know how to solve it. I am always using the same type of raster layers. When running the clipping tool I got the following message: gdal_translate -of GTiff -ot Byte -projwin 410282.185971 4694950.41162 410783.882475 4694524.96815 -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -co TFW=YES \"C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/Topo 1_5000/bt5mv20sd0f283077st1r031.sid\" \"C:/Users/FERRAN ALA/Desktop/Justificació Fontanals/QGIS/background/image.tif\" GDAL command output: 'ascii' codec can't encode character u'\\xf3' in position 201: ordinal not in range(128) See log for more details Does anybody know what that is?",
"This image is what's supposed to look like in Edit Mode/Object Mode(although I still can make these screenshots even after the update by pressing F12 which is rendering) but the following is what my donut looks like now in Blender. It shows no shadows and colors. The only thing I did is updating blender to 2.81 from 2.80. And I don't know what but something seems off with blender. Sometimes I can't click any objects so I just pressed tab and then now it's all clickable. Seems like I was in edit mode, but to me, it looked exactly like object mode. I don't know what is wrong with it. How do I make my colors show up again?",
"I have a box that I have extruded to the shape I want. Then I placed a cylinder so that it intersects the box. After that I deleted the bottom faces of both the cylinder and box. Now what I want to do is delete the portion of the cylinder that is inside the box and join the nodes so that it is one object. I have already joined the meshes so I can select points/edges/faces from either shape. It seems like the easiest way would be to just put nodes where the edges of the cylinder and box intersect and then delete the parts I don't care about. I can't find a good way to do that though. What's the best way to accomplish what I'm trying to do?",
"Where do I change my shell?",
"Illogical twoside margins"
] | medi_sts_stackexchange_dupe |
A proof that $\mathbb{Z}[\frac{1 +i\sqrt{19}}{2}]$ is not Euclidean. | The ring $\Bbb Z\left [\frac{-1+\sqrt{-19}}{2}\right ]$ is not a Euclidean domain | [
"The actual period of a pendulum at 90°. Looking for the correct formula Do you have access to any scientific experiment which gives the period of a pendulum when the angle is $90^\\circ$: says $T$ varies to about $18\\%$ up to $90^\\circ,$ so for a seconds pendulum the complete period would be roughly $2.36.$ I d'like to know the ratio at $90^\\circ$ with a good approximation, and the span it can vary in relation to air friction, if the bob is not massive. Also, I'd like to know the max. speed of the bob at $P_0$ and how it compares with the speed of same ball sliding without friction on a circular surface, would it be the same? What I am trying to understand here is rather complex, I'll try to explain: If the block is placed on an air-track or other frictionless surface, the block would acquire a certain speed, momentum and KE in the opposite direction, right? same amount of momentum is lost by the bob and we can find speed loss. Isn't the same amount of speed lost by the bob when it is attached to a pendulum? Is this an important factor or may be the most important factor (more relevant than air friction or friction at the pivot) for the increase of the period when the angle is greater than $30^\\circ$? I figured out that this factor can account for about one third of the $18\\%$ increase, can you give a more accurate value? What I am suggesting is that this (loss of horizontal momentum, which is made clear when the bob is not attached to a rod but slides on a block) is the most important factor that makes the actual period increase when the starting point deviates on the vertical direction.",
"Displaying intersecting roads and creating multiple labels for long roads in QGIS? I am new to GIS and I am using QGIS 1.7.3 on Windows. Can any one tell me how to display a map from line shapefile with these two characteristics: Roads are displayed with borders at the sides and intersect at crossroads Name label for long roads are duplicated at specified intervals Here is the link to an image that illustrates my idea: (The map was taken from underdark's blog) This is the best I can achieve by drawing lines with two overlapping simple line, one slightly bigger than the other:",
"A geometry question: Let $ABCD$ be a convex quadrilateral. Prove that AD is parallel to BC. Let $ABCD$ be a convex quadrilateral such that the length of the segment connecting midpoints of the two opposite sides $AB$ and $CD$ equals $\\frac{AD+BC}{2}$ . Prove that AD is parallel to BC. I assume that AD is not parallel to BC but I can't find any contradiction.",
"Real valued analytic function defined on a connected set is constant",
"How do \"pet\" Walkers help ward off other Walkers? In both the comics and the show, Michonne first appears with two walkers that she essentially keeps as pets. The comics sort of half-explain this - as per : She notices walkers don't attack one another and hacks off the arms and lower jaws of Mike and Terry. She chains them up by their necks to use them as escorts for an escape that was successful. In , we see that even if they still sort of smell like Walkers, the Walkers can smell/detect the living and will attack. In , We see Andrea effectively making a new \"pet\" so that she can use to deter the Walkers that she comes across on her trip to the prison. Along the trip, she is shown to come within close range of Walkers, but they give her space when she points the \"pets\" in the right direction. Why would the Walkers not just attempt to go around the \"pets\"? What about them creates an effective protective barrier?",
"$k^{\\phi(l)} + l^{\\phi(k)} \\equiv1\\pmod{lk}\\,$ if $\\,\\gcd(l,k)=1$ I would like to prove the following equality: $$k^{\\phi(l)} + l^{\\phi(k)} \\equiv1\\pmod{lk}$$if $\\gcd(l,k)=1$. What methods can I use? Thank you for your help.",
"If $f,g$ are continuous at $a$, show that $h(x)=\\max\\{f(x),g(x)\\}$ and $k(x)=\\min\\{f(x),g(x)\\}$ are also continuous at $a$ If $f,g$ are continuous at $a$, show that $h(x)=\\max\\{f(x),g(x)\\}$ and $k(x)=\\min\\{f(x),g(x)\\}$ are also continuous at $a$. Here is my attempt at a proof. It feels very elaborate and I am not sure if it is correct. Can someone please point out any mistakes or places where I may improve. Thanks! By the definition of continuity at $a$ of $f,g$ we have that $\\lim\\limits_{x\\to a}f(x)=f(a)$ and $\\lim\\limits_{x\\to a}g(x)=g(a)$. Suppose that $f(a)>g(a)$. Then there exists a $\\delta>0$ such that $f>g$ for all $x$ satisfying $|x-a|<\\delta$. Then for $x$ satisfying $|x-a|<\\delta$ we have $h(x)=f(x)$ and $k(x)=g(x)$ and thus $h$ and $k$ are continuous at $a$ because $f$ and $g$ are continuous at $a$. Now if $f(a)<g(a)$ we simply relabel $f=\\tilde{g}$ and $g=\\tilde{f}$, so that $\\tilde{f}(a)>\\tilde{g}(a)$ and we apply the previous result to show that again $h$ and $k$ are continuous at $a$.\\ Now if $f(a)=g(a)$ then we can distinguish three cases. $f\\geq g$ in a small neighborhood about $a$, $f\\leq g$ in a small neighborhood about $a$ or $f\\geq g$ on one side of $a$ and $f\\leq g$ on the other side. In the first case we assume that $f\\geq g$ in some small neighborhood about $a$. Then, since $f(a)=g(a)$ we have $h(x) = f(x)$ in this neighborhood and $k(x) = g(x)$ and again we see that $h$ and $k$ are continuous at $a$ due to the continuity of $f$ and $g$ at $a$. Similarly if $f\\leq g$ in a neighborhood around $a$ then $h(x)=g(x)$ and $k(x)=f(x)$ in this neighborhood and $h$ and $k$ are continuous at $a$. Suppose that just to the left of $a$ we have $f\\geq g$ and just to the right of $a$ we have $f\\leq g$. Then $\\lim\\limits_{x\\to a^-}h(x)=\\lim\\limits_{x\\to a^-}f(x)=f(a)=h(a)=g(a)=\\lim\\limits_{x\\to a^+}g(x)=\\lim\\limits_{x\\to a^+}h(x)$. Similarly $\\lim\\limits_{x\\to a^-}k(x)=\\lim\\limits_{x\\to a^-}g(x)=g(a)=k(a)=f(a)=\\lim\\limits_{x\\to a^+}f(x)=\\lim\\limits_{x\\to a^+}k(x)$. So $\\lim\\limits_{x\\to a}h(x)=h(a)$ and $\\lim\\limits_{x\\to a}k(x)=k(a)$ which means that $h$ and $k$ are continuous at $a$. Lastly if $f\\leq g$ just to the left of $a$ and $f\\geq g$ just to the right of $a$ we can relabel $f=\\tilde{g}$ and $g=\\tilde{f}$ and apply the last result to show $h$ and $k$ are continuous at $a$. Again, please point out any mistakes I may have made. Thanks!!",
"Calculating $\\lim_{x\\to+\\infty}(\\sqrt{x^2-3x}-x)$ Let $f(x) = \\sqrt{x^2-3x}$ and $g(x) = x$. Calculate the following limits, showing all working. I've done the first two - $$\\lim_{x\\to0}f(x)\\\\ =\\lim_{x\\to0}\\sqrt{x^2-3x}=0$$ $$\\lim_{x\\to-\\infty}\\frac{f(x)}{g(x)}\\\\ =\\lim_{x\\to-\\infty}\\frac{\\sqrt{x^2-3x}}{x}=\\sqrt{1-\\frac{3}{x}}=1$$ How do I calculate this one? $$\\lim_{x\\to+\\infty}(f(x)-g(x))$$",
"$_POST vs. $_SERVER['REQUEST_METHOD'] == 'POST' Some guy called one of my Snipplr submissions \"crap\" because I used if ($_SERVER['REQUEST_METHOD'] == 'POST') instead of if ($_POST) Checking the request method seems more correct to me because that's what I really want to do. Is there some operational difference between the two or is this just a code clarity issue?",
"Is the vector cross product only defined for 3D?",
"Flag pop-up hidden beneath answer box (and it's still transparent!) The flag window on (a comment to) the last question is hidden beneath the answer box, as shown in the following screenshot: Linked: , which is currently - this is not fixed for flags on comments!",
"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!",
"java.lang.NullPointerException at org.glassfish.hk2.classmodel.reflect.impl.TypesImpl.getType",
"How do I insert a nice tilde that is centered in the middle in a lstlisting? I found another thread about but I can't apply it because the method described there only works outside of lstlisting as lstlisting displays all the text literally. Any ideas? Here is how the tilde looks in my document at the moment - it's at the very top of the font and I would like it to be in the middle (like ~ this). Here is the LaTeX for this fragment: \\section{Remove duplicate, consecutive lines (emulate \"uniq\")} \\begin{lstlisting} awk 'a !~ $0; { a = $0 }' \\end{lstlisting} Variables in Awk don't need to be initialized or declared before they are being used.",
"What are Harry, Ginny, Ron and Hermione's professions?",
"Has Java 3D changed much since 2005? I'm thinking of picking up the book called \"Killer Game Programming\" by Andrew Davidson, but its pretty old, now. I know Java, and I've been messing with jMonkeyEngine for a few days, but I'm curious to see if I would benefit from the 3D chapters of this book. The book was published was in 2005. Has Java changed to the point where this book would now be obsolete, assuming it was up to date at time of publication?",
"How to implement a single instance Java application? Sometime I see many application such as msn, windows media player etc that are single instance applications (when user executes while application is running a new application instance will not created). In C#, I use Mutex class for this but I don't know how to do this in Java.",
"I have float raster and now I want to convert it to vector. How is it possible with the Python GDAL library? I have tried with gdal_polygonize.py of GDAL utilities on the command line and it worked excellently. But this utility is based on GDALPolygonize() of C++ library and I want to C++ method GDALFPolygonize() to be used instead, which manipulates float raster data as far as I know.",
"Question: If $(1+x)^n=\\binom{n}{0}+\\binom{n}{1}x+\\binom{n}{2}x^2+\\dotsm+\\binom{n}{n}x^n$, prove that $\\binom{n}{1}-2\\binom{n}{2}+3\\binom{n}{3}-\\dotsm+(-1)^{n-1}n\\binom{n}{n}=0$ My attempt: I wrote the expression for $\\binom{n}{k}$ for each term in the L.H.S and then tried to simplify but could not reach the R.H.S. Please help. I have no idea on how to begin. I am not allowed to use calculus.",
"How to use \"`\" in the same way it is used on the SE websites?"
] | medi_sts_stackexchange_dupe |
unable to use import the following System.Web.Services.WebService | can't find using System.Web.UI.HtmlControls namespace | [
"Refresh a section after adding HTML dynamically to jquery mobile",
"I am reading Schwarz QFT and I reached the mass renormalization part. So he introduces, after renormalization, a physical mass, defined as the pole of the renormalized propagator, and a renormalized mass which can be the physical mass, but can also take other values, depending on the subtraction schemes used. Are these masses, other than the physical one, observable in any way experimentally, or are they just ways to do the math easier (using minimal subtraction instead of on-shell scheme, for example)? Also, in the case of charge renormalization, the explanation was that due to the vacuum polarization, the closer you are to the charge, the more you see of it, so the charge of the particle increases with the momentum you are testing the particle with. However, I am not sure I understand, from a physical point of view, why do you need to renormalize the mass. Is this physical mass (defined as the pole of the renormalized propagator) the same no matter how close you get, or it also changes with energy? And if it changes, what is shielding it at big distances?",
"Calling acro first use when plural is producing an 's' in the short definition that is wrong I have an acro first use that must be plural, but I am getting an erroneous \"s\" when I shouldn't be. I'm getting (sIMFs) when it should be (IMFs). See picture and code below. The problem only occurs on the first call and it does so for all my acronyms. Thanks in advance. \\documentclass[12pt,twoside]{report} \\usepackage{acro} \\DeclareAcronym{IMF}{ short = IMF, long = Intrinsic Mode Function, class = abbrev} \\begin{document} \\acp{IMF} \\acresetall \\ac{IMF} \\acp{IMF} \\acfp{IMF} \\end{document}",
"What are the correct version numbers for C#?",
"Possible Duplicates: I'm wondering whether or not I should use a plural form noun with a collection name. For example, which one is correct, bookList or booksList (obviously they are variables in a programming language)?",
"More than one private key for RSA In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key. The value of $φ(143) = 120$ is not known to Mallory. However from $43 \\cdot d \\equiv 1 \\bmod 120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n \\in \\mathbb{Z}$ $d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption?",
"I have played the game Othello (Reversi) numerous times but I never approach it with a specific logic or algorithm to apply on each move in my mind. I won many times and lost as much. How would one approach this game? How would one work in his mind to prune the possible moves and choose the "right" one in each step? I see that most Othello CPUs more or less "think" the same at each move, how should I think on each move?",
"When I open the file in Vim, I see strange ^M characters. Unfortunately, the world's favorite search engine does not do well with special characters in queries, so I'm asking here: What is this ^M character? How could it have got there? How do I get rid of it?",
"How to generate all permutations of a list?",
"I'm looking for a simple, easy to understand algorithm to alphabetically sort an array of characters in C.",
"Can someone tell me how to get a closed form for $$\\sum_{k=1}^n k^p$$ For $p = 1$, it's just the classic $\\frac{n(n+1)}2$. What is it for $p > 1$?",
"How can I list all the printable ASCII characters in the terminal?",
"Combinef in R HTS package- constrain to keep forecasts positive? When using the combinef function from Rob Hyndman's very useful for forecasting hierarchical and grouped time series, there does not seem to be a way to constrain the optimally combined forecasts to be positive- the starting forecasts can be positive, but can go negative through the reconciliation process. The forecast.gts and forecast.hts functions have an argument to keep forecasts positive, but this does not seem to be an option when using combinef by itself with forecasts obtained by other methods. Am I correct in this understanding, and if so is there a decent workaround?",
"Can I find the connected components of a graph using matrix operations on the graph's adjacency matrix? If I have an adjacency matrix for a graph, can I do a series of matrix operations on the adjacency matrix to find the connected components of the graph?",
"Length of a JavaScript object",
"Why can the row-reduced echelon matrix $R$ only be identity matrix? I'm reading Linear Algebra by Hoffman, Kunze where the authors explained that a $n\\times n$ matrix $A$ being invertible is equivalent to the fact that $A$ is row-equivalent to $n\\times n$ matrix $R$ which is an identity matrix. In the proof of the theorem, they wrote: $$R= E_k\\ldots E_2E_1 A$$ where $E_1,\\ldots,E_k$ are elementary matrices. Each $E_j$ is invertible, and so $$A = E_1^{-1}\\ldots E_k^{-1}~R\\,. $$ ... Since, $R$ is a (square) row-reduced echelon matrix, $R$ is invertible if and only if $R=I\\,.$ [...] I couldn't get the conclusion, since any row of $R$ can't be zero, it has to be identity matrix $I\\,.$ Why is it so? Isn't there any other row-reduced echelon matrix other than the identity matrix having no zero row and invertible? Why is it so?",
"There used to be a place where you could buy Stack Exchange branded gear, what happened to it?",
"I'm downloading Sentinel-2 tiles from but they dont seem to be 100 % aligned. Right image is band 08 Sentinel-2 added to ArcGis Desktop (i have done nothing more than adding the 08.jp2 to the map), left esri basemap photo. The offset in Sentinel is about 35-40 meters. How do i correct them? . Level-1C, Sentinel-2: SOLUTION: From HDunn's answer i did this: Using a road vector layer i added five point pairs and calculated difference in x and y coordinates. The mean differences i used as xvalue and y value in Shift tool. Result:",
"ls command operating differently depending on recipient",
"I am in the last year of MSc. and would like to read string theory. I have the Zwiebach Book, but along with it what other advanced book can be followed, which can be a complimentary to Zwiebach. I would like a more mathematically rigorous book or lecture notes along with Zwiebach. Specifically, mention whether the book discusses string theory Rigorously? Intuitively? What's the scope of the book? Does it cover the advanced materials, e.g. Matrix string theory, F-theory, string field theory, etc. Maybe even String Phenomenology?"
] | medi_sts_stackexchange_dupe |
Difference between modelAttribute and commandName | Difference between modelAttribute and commandName attributes in form tag in spring? | [
"Why can't we see light travelling from point A to B? Let's say we have a cloud of dust which is a lightyear across and someone shoots a beam of light from point A to B , why it is not possible for an observer far far away to see the light while it travels through the cloud at the speed of light?",
"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?",
"Random point uniform on a sphere If $X=(x,y,z)$ is a random point uniform on the unit sphere in $\\mathbb{R}^3$, Are the coordinates $x$, $y$, $z$ uniform in interval $(-1,1)$?",
"Is there an official Marvel Cinematic Universe viewing order?",
"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.",
"Convert a Cannondale SM1000 (about 1991 model) to disk brakes I've got an older, about 1991, model Cannondale SM1000 mountain bike purchased new. Would it be worth it to convert to disk brakes and if so what would be the process?",
"How do I get horizontal lines to the left and right of a heading in Microsoft word? In Word 2007 I want to put a heading in the center of a line with a horizontal line to the left and to the right of the text. The line must not cross through the text. I have tried using autoshapes and lines - but then the lines move each time I press Enter or ← Backspace and I have to put them in place again manually. At Borders and Shading there is an \"Insert horizontal line\" option, but this gives me a solid line from the left to the right of the page and I cannot insert text anywhere on it or in it. The final product should look something like this: ------------------------- Heading -------------------------",
"Recovering user files with a Live CD For some reason I can't boot my system. I get an error akin to Operating System Not Found. I tried bootrepair, and that didn't work. So then I decided I would just save my personal files, wipe everything, and reinstall. But in the live session, when I go to the /home directory, my username folder isn't there, instead it goes to the Live CD's desktop and other directories. Is there some other error occurring? Is there a way to recover the files?",
"filter the file type with the file upload control",
"Is it possible to backup individual files with Deja Dup? In the Deja Dup preferences, it is possible to select certain folders to backup and certain folders to exclude. I would like to be able to backup individual files in my Home folder (Such as .vimrc and .bashrc), but I don't see any way to do this. So my question is, is it possible to either Select individual files (instead of whole folders) to backup, or backup my Home folder, but exclude all subfolders?",
"Radius of convergence of a sum of power series I have two series $\\displaystyle\\sum_{n=1}^{\\infty} a_n x^{n}$ $\\displaystyle\\sum_{n=1}^{\\infty} b_n x^{n}$ with radius of convergence $2$ and $3$ respectively. How can I find the radius of convergence for the following? $\\displaystyle\\sum_{n=1}^{\\infty} (a_n +b_n)x^{n}$ Can anyone help me?",
"Force pagebreak after every sentence/paragraph Is there a way to force a pagebreak after every sentence or paragraph? This may seem like an odd thing to do, but for catching typos and just general editing I find it much easier to look at a sentence or paragraph in isolation so that I am not tempted to skip ahead. Currently, I just zoom in so I can only see a few word at a time, but this is not a perfect solution.",
"It looks like Ubuntu 11.04 will come with by default. I do like them, but I don't like the current mix of scrollbar types as many applications don't yet use those overlay scrollbars. Is there a way to disable overlay scrollbars (without removing the overlay-scrollbar package)?",
"Nested Radical of Ramanujan I think I have sort of a proof of the following nested radical expression due to Ramanujan for $x\\ge 0$. $$\\large x+1=\\sqrt{1+x\\sqrt{1+(x+1)\\sqrt{1+(x+2)\\sqrt{1+\\cdots}}}}$$ for $ x\\ge -1$ I just want to know if my proof is okay or there is a flaw, and if there is one I request to give some suggestions to eliminate them. Thank you. The proof is the following: Proof: Let us define $$ a_n(x)=\\underbrace{\\sqrt{1+x\\sqrt{1+(x+1)\\sqrt{1+(x+2)\\sqrt{1+\\cdots}}}}}_{n \\ \\mbox{terms}}$$ for $x\\ge 0$ so that $$ a_1(x)=\\sqrt{1+x},\\ a_2(x)=\\sqrt{1+x\\sqrt{1+(x+1)}},\\ a_3(x)=\\cdots$$ and so on. Since $x\\ge 0$ each one of the $a_n$ is defined (I am taking only the positive square root). Also, we note that $$a_{n+1}^2(x)=1+xa_{n}(x+1)$$ Now, we note that $\\{a_n(x)\\}$ is an increasing sequence and that $$a_n(x)<x+1$$ $\\forall n\\ge 1$, this is easy to prove by induction as below: For $n=1$, $a_1(x)=\\sqrt{1+x}<1+x$ since $x\\ge 0\\Rightarrow 1+x\\ge 1$. SO it is true for $n=1$. Similarly, the truth can be proved for $n>1$. Then $a_n(x)$ converges to $$l(x)=\\sup_{n}a_n(x)\\le x+1$$ Now I make the following claim: Claim: $l(x)=x+1\\quad \\forall i\\ge 0$ Proof: Fix $x$. Let $l(x)<x+1$. Then, $l(x)=x+1-\\epsilon$ for some $\\epsilon>0$. Now, I claim that there must be a $n$ such that $$x+1-a_n(x)<\\epsilon$$, and if that is true then $$a_n(x)>x+1-\\epsilon=l(x)$$ which is a contradiction since $$l(x)=\\sup_{n}a_n(x)$$ and then it implies that $$l(x)=x+1$$ To prove my claim it requires $$x+1-a_n(x) < \\epsilon$$ Now, \\begin{align} x+1-a_n(x) = & x+1-\\sqrt{1+xa_{n-1}(x+1)} \\\\ \\ =& \\frac{(x+1)^2-({1+xa_{n-1}(x+1)})}{x+1+\\sqrt{1+xa_{n-1}(x+1)} } \\\\ \\ =& x\\frac{(x+1)+1-a_{n-1}(x+1)}{x+1+\\sqrt{1+xa_{n-1}(x+1)} } \\\\ \\ <& \\frac{x}{x+2}((x+1)+1-a_{n-1}(x+1))\\\\ \\ <& \\frac{x}{x+2}\\cdot\\frac{x+1}{x+3}((x+2)+1-a_{n-2}(x+2))\\\\ \\ <& \\frac{x}{x+n-1}\\cdot \\frac{x+1}{x+n} ((x+n-1)+1-a_{1}(x+n-1))\\\\ \\ <& \\frac{x}{x+n-1}\\cdot \\frac{x+1}{x+n}(x+n-\\sqrt{x+n})\\\\ \\ <& \\frac{x(x+1)}{x+n-1} \\end{align} Now, if one is able to find $n$ such that $$\\frac{x(x+1)}{x+n-1}<\\epsilon \\Rightarrow x< \\frac{-(1-\\epsilon)+\\sqrt{(1-\\epsilon)^2+4\\epsilon(n-1)}}{2}$$ then we're done. Now from the upper bound it seems that there always exists some $n$ that satisfies this requirement. Hence the claim is proved.",
"Variance of dot product When reading a proof I came across the following step: $$\\operatorname{Var}(x^Ty) = x^T\\operatorname{Var}(y)x$$ $x$ and $y$ are column vectors. How can you derive this?",
"Close vote review audit is broken - displays \"on hold\" while reviewing I just reviewed this: But while reviewing, it already displays the \"put on hold as not a real question\" section, and it asked: Should this question be closed as: ? So as it stands, the audits are broken, since we already know that the question is \"on hold\" while reviewing, and it is incredibly hard to miss the huge grey box at the bottom. Another with screenshot:",
"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.",
"Disable drag and drop option for multiple file uploader These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second view(drag and drop) by editing upload.aspx in the layouts folder? Thank you",
"Other word for person who does something to others but does'nt like it done to them This is a duplicate question but has still not been answered for me. I'm so close to the exact word - I know there is one out there - but the closest word I can find is a hypocrite -- a person who claims to have certain moral principles or beliefs but behaves in a way that shows they are not sincere. The word I'm looking for is a person who does not claim things, but does thing to another and they consider it wrong or immoral to have done to them.",
"Can't get armature to move mesh!"
] | medi_sts_stackexchange_dupe |
Find angle $ \angle AED $ in the following triangle. | Problem about angle in isosceles triangle | [
"ClassNotFoundException: org.eclipse.jetty.util.component.AbstractLifeCycle running inside jetty",
"regexp in ksh for extensions tgz, tar.tgz I'm trying to get a regexp (in ksh) to identify files with only the following extensions: tgz, tar.gz, TGZ and TAR.GZ. I tried several but can't get them to work. I'm using this regexp to select only files files with those extensions to do some work with them: if [ -f $myregexp ]; then ..... fi",
"java.lang.RuntimeException Cannot find FacesContext",
"If $\\gcd(a,b) = 1$ and $a,b\\mid x$ then $ab\\mid x$. If $\\gcd(a,b) = 1$ and $a,b\\mid x$ then $ab\\mid x$. My attempt at answering the question: \\begin{align*} x &\\equiv 0 \\pmod{a}\\\\\\ &\\Longrightarrow x\\text{ is divisible by $a$}\\\\\\ &\\Longrightarrow x = ma\\text{ for some integer $m$}\\\\\\ \\ \\\\\\ x &\\equiv 0 \\pmod{b}\\\\\\ &\\Longrightarrow x\\text{ is divisible by $b$}\\\\\\ &\\Longrightarrow x = mb\\text{ for some integer $m$}\\\\\\ \\ \\\\\\ x^2 &= (ma)(mb)\\\\\\ x^2 &= (m^2)(ab)\\\\\\ x &= \\sqrt{m^2ab}\\\\\\ x &= m\\sqrt{a}\\sqrt{b} \\end{align*} Let $m$ be $k\\sqrt{a}\\sqrt{b}$. Then \\begin{align*} x &= kab\\\\\\ &\\Longrightarrow x \\equiv 0 \\pmod{ab} \\end{align*} Is this correct, if not can someone point me in the right direction?",
"I need to factory reset my Macbook but cannot recall the password. So I used Cmd+R during startup and go to terminal and typed 'resetpassword' according to this advice Now 'Reset Password' application appears but there is nothing where I have to select the volume containing the user account. Why does this happen?",
"Why is the Yang-Mills gauge group assumed compact and semi-simple? What is the motivation for including the compactness and semi-simplicity assumptions on the groups that one gauges to obtain Yang-Mills theories? I'd think that these hypotheses lead to physically \"nice\" theories in some way, but I've never, even from a computational perspective. really given these assumptions much thought.",
"PDO SQL-state \"00000\" but still error?",
"Why can't I edit attribute table imported through 'text as layer' I imported the coordinates from an Excel table. They show as single points as intended. Now I want to add columns to the attribute table, but I'm not able to edit it. I wanted to import the following columns from Excel as well, but that doesn't seem to work either. Sorry for the noob-question, but I couldn't find anything relating the theme through google and such. Ok, with pictures then: I want to use that to add columns with information to these You see, the small pensil thingy is greyed out, so I can't edit anything in this layer and I can't add any information to my points. If I try Ale suggestion I get this error:",
"Is my ESTA valid for a second trip? I visited the USA in May this year, on an ESTA which I applied for in April. It was approved and I was allowed entry into the country. I'm re-visiting again this November for two weeks. Am I able to use the same ESTA again or do I need to re-apply for a new one? I know it says it's valid for two years, but is that valid for every use within those two years, or I have to use it within two years, and once I have visited on that visa, it's invalid?",
"How to find the frequency and type of my current RAM? How shall I find out the frequency and type of my current RAM? My OS is Ubuntu 12.04.",
"How to show $\\lim_{x \\to 1} \\frac{x + x^2 + \\dots + x^n - n}{x - 1} = \\frac{n(n + 1)}{2}$? I am able to evaluate the limit $$\\lim_{x \\to 1} \\frac{x + x^2 + \\dots + x^n - n}{x - 1} = \\frac{n(n + 1)}{2}$$ for a given $n$ using l'Hôspital's (Bernoulli's) rule. The problem is I don't quite like the solution, as it depends on such a heavy weaponry. A limit this simple, should easily be evaluable using some clever idea. Here is a list of what I tried: Substitute $y = x - 1$. This leads nowhere, I think. Find the Taylor polynomial. Makes no sense, it is a polynomial. Divide by major term. Dividing by $x$ got me nowhere. Find the value $f(x)$ at $x = 1$ directly. I cannot as the function is not defined at $x = 1$. Simplify the expression. I do not see how I could. Using l'Hôspital's (Bernoulli's) rule. Works, but I do not quite like it. If somebody sees a simple way, please do let me know. Added later: The approach proposed by Sami Ben Romdhane is universal as asmeurer pointed out. Examples of another limits that can be easily solved this way: $\\lim_{x \\to 0} \\frac{\\sqrt[m]{1 + ax} - \\sqrt[n]{1 + bx}}{x}$ where $m, n \\in \\mathbb{N}$ and $a, b \\in \\mathbb{R}$ are given, or $\\lim_{x \\to 0} \\frac{\\arctan(1 + x) - \\arctan(1 - x)}{x}$. It sems that all limits in the form $\\lim_{x \\to a} \\frac{f(x)}{x - a}$ where $a \\in \\mathbb{R}$, $f(a) = 0$ and for which $\\exists f'(a)$, can be evaluated this way, which is as fast as finding $f'$ and calculating $f'(a)$. This adds a very useful tool into my calculus toolbox: Some limits can be evaluated easily using derivatives if one looks for $f(a) = 0$, without the l'Hôspital's rule. I have not seen this in widespread use; I propose we call this Sami's rule :).",
"Saving image from PHP URL",
"What happened to these edits (and the associated reputation)? My reputation rating on SO took this hit an hour ago, and it is due to what appears to be the simultaneous deletion of multiple questions. I am uncertain why it happened, am concerned, and would appreciate an explanation. Going to shows that it was removed due to moderation. Was a script run deliberately, or were we hit with a question deletion attack; what happened? -12 today -2 1 hour ago removed How to send a 2d Vector over UDP in c++ -2 1 hour ago removed How do I use the Eclipse debugger to debug a Java application? -2 1 hour ago removed PHP string error; inconsistency with local and server -2 1 hour ago removed Unable to start the MySQL service after a server migration -2 1 hour ago removed How to use Java to print a text file on a ticket printer? -2 1 hour ago removed How can all of the ZBrush Obj files be imported to make a complete model?",
"Suppose that $f : \\mathbb{C} \\to \\mathbb{C}$ is entire. Let $\\Omega = \\{ z : \\frac{1}{2} < |z| < 2\\}$. Furthermore, suppose that $ \\mathcal{F} = \\{f(kz) : k \\in \\mathbb{C}\\}$ is a normal family of analytic functions defined on $\\Omega$; the family $\\mathcal{F}$ is normal on $\\Omega$ iff each sequence from $\\mathcal{F}$ has a subsequence converging uniformly on compact subsets of $\\Omega$. Prove that $f$ is a polynomial. I'm studying for my qualifying exam in complex analysis, and this question appears on an old exam. Usually, when I want to show that some entire $f$ is a polynomial, I just try to show that there exists some $N$ so that $f^{(k)}(0) = 0$, all $k \\ge N$, but I'm having trouble getting that strategy to work here. I've been looking at the sequence $f(\\frac{z}{n})$ trying to make something work, but have not had any success. I would prefer to receive a hint or two, and then I'll try to post my own solution. Thanks in advance!",
"The limit of a complex integral If $f(z)$ is continuous in the neighborhood of the point $z=a$, then $$\\lim_{r\\to 0^+} \\int_{\\vert z-a\\vert =r} \\frac{f(z) dz}{z-a}=2\\pi i\\,f(a)\\tag{1}$$ In my desperate intents of proving the above exercise, I tried to prove a 'particular' case of it, which is when $z=0$. So if $z=0$ and as $f$ is continuous on a neighborhood of zero, given $\\epsilon>0$, there exists $\\delta>0$ such that $|f(re^{i \\theta})-f(0)|\\le \\epsilon$ for $r\\in[0,\\delta)$ and $\\theta\\in\\mathbb R$. Hence, $\\left\\lvert\\int_{0}^{2 \\pi}(f(re^{i \\theta})-f(0))d\\theta\\right| <2\\pi\\epsilon \\Rightarrow \\limsup_{r\\to0}\\left\\lvert\\int_{0}^{2 \\pi}(f(re^{i \\theta})-f(0))d\\theta\\right| \\le2\\pi\\epsilon.$ If $\\epsilon\\to0$, then $\\limsup_{r\\to0}\\left\\lvert\\int_{0}^{2 \\pi}(f(re^{i \\theta})-f(0))d\\theta\\right|=0 \\Rightarrow \\lim_{r\\to0}\\int_{0}^{2 \\pi}(f(re^{i \\theta})-f(0))d\\theta=0.$ Is this proof correct? How can I make the proof for $(1)$ following the 'particular proof'? Can someone help me?",
"I installed Android studio some time ago using the following suggested method: To set up Android Studio on Linux: Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate location for your applications. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh. You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory. Follow the links to install the SDK outside of the Android Studio directories. For whatever reason it has become corrupt and insists I must un-install and re-install. I can't for the life of me find how to un-install it however. I didn't use apt-get so I can't do apt-get remove. Does anyone have any suggestions?",
"Find the tangent lines to the graph of $x^2+4y^2 = 36$ that go through the point $P=(12,3)$ I was solving a few problems from a textbook and I came across this one: Find the tangent lines to the graph of $x^2+4y^2 = 36$ that go through the point $P=(12,3)$ I could find the tangency points $$ but my solution was completely messy (I had four equations that I had to go back-and-forth with. Is there an elegant/simple solution to that? Tangency points: $$P_1 = (0,3)$$ $$P_2 = \\left( \\frac{24}{5} , 3-\\frac{24}{5} \\right)$$",
"I'm giving training to a large group of people remotely and will be covering a number of application shortcut keys. I've seen 's on-screen display of keystrokes; is there a similar product for Windows? The other features of MousePose (fancy mouse pointers, etc.) aren't really useful to me, just the OSD of key presses.",
"So what does Cyanogen Inc shutting down mean for CyanogenMod and similar ROMs? So Cyanogen Inc (cyngn), known for their support for their support for CyanogenMod and their efforts to integrate Cyanogen OS into devices such as the OnePlus One, Alcatel POP Mirage, and . Cyanogen Inc just recently . What does this mean for CyanogenMod, Cyanogen OS, and the devices which originally shipped with Cyanogen OS? Will they no longer receive OTA updates?",
"When my receiver that I have hooked up to my pc turns on it causes my monitors to turn black is there a way to stop this?"
] | medi_sts_stackexchange_dupe |
Prove that $\pi$ is irrational | Help with proving that $\pi$ is irrational | [
"Diamond is not shown for mod name under wiki posts If a diamond mod is an author of a wiki post then the diamond is not displayed besides the mod name. E.g. : Even when the name refers to the user profile page (in case of more then one author) like in : Is it intentional or a bug?",
"Compile and install rtl8192cu driver Can someone help me with this problem ? I am new to Linux, so I do not know commands and I never did something like installing or compiling with command-line. I bought WiFi adapter from Edimax, model EW-7811UN for my PC (not laptop, so I do not have wifi card, only ethernet). When I go through guide on CD, I came across a version of kernel. It said I need version 2.6, but I have 3.5.0-22-generic. I got errors like I do not have file or folder etc. Can someone tell me where I can download compiled driver and where I need to put it? Or some other advice. I don't want downgrade kernel when it is not necessary.",
"Multiple Inheritance #include<iostream> using namespace std; class A { int a; int b; public: void eat() { cout<<\"A::eat()\"<<endl; } }; class B: public A { public: void eat() { cout<<\"B::eat()\"<<endl; } }; class C: public A { public: void eat() { cout<<\"C::eat()\"<<endl; } }; class D: public B, C { }; int foo(A *ptr) { ptr->eat(); } main() { D obj; foo(&(obj.B)); //error. How do i call with D's B part. } The above foo call is a compile time error. I want to call foo with obj's B part without using virtual inheritance. How do i do that. Also, in case of virtual inheritance, why the offset information need to be stored in the vtable. This can be determined at the compile time itself. In the above case, if we pass foo with D's object, at compile time only we can calculate the offset of D's A part.",
"Proving $\\lim_{x\\to 1} x^3=1$ with $\\epsilon$-$\\delta$ definition Problem: I need to formally prove that $$\\lim_{x\\to 1} x^3 = 1.$$ My work: This is what I have so far and I'm generally a bit stuck with these proofs from here onwards. Because$$-\\epsilon < x^3-1 < \\epsilon = | x^3-1 | < \\epsilon,$$ then $$ -\\epsilon < x^3-1 < \\epsilon$$ $$-\\epsilon+1 < x^3 < \\epsilon +1$$ $$ \\sqrt[3]{-\\epsilon+1}< x < \\sqrt[3]{\\epsilon+1}.$$ Hoping that what I have done so far is correct. Am I right in thinking that $$ \\sqrt[3]{-\\epsilon+1}< x < \\sqrt[3]{\\epsilon+1}$$ is giving me an interval where $x$ is going to give me a $f(x)$ value that falls within the distance $\\epsilon$ from the limit on the $y$-axis ? Or is this interval smaller than the $\\epsilon$-distance on the $y$-axis?",
"Assign z values to depth curves in QGIS I'm new to QGIS and working with GIS in general (student of architecture), so please bear with me. I have obtained shapefiles with topographic curves of an ocean floor. My intention is to export these as CAD files and render as 3D models of the ocean floor in Revit. I have done this procedure earlier with terrain shapefiles. My problem now is that these files mapping depth does not contain z values, so when exporting them into CAD they are completely flat rather than 3D models. The depth information in meter exists as attributes in the file (see attached image). What I want is to transform this depth value into real z coordinates for each line so that the curves have different heights when importing as CAD file in Revit. Thankful for any pointers in the right direction.",
"Plotting Population Regression Function with pgfplot I want the make the following population regression function with pgfplot. My attempted code is \\documentclass[border=5mm]{standalone} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture}[ % Define Normal Probability Function declare function={ normal(\\m,\\s)=1/(2*\\s*sqrt(pi))*exp(-(x-\\m)^2/(2*\\s^2)); } ] \\begin{axis}[ no markers , domain=-3.2:3.2 , samples=100 , ymin=0 , axis lines*=left , xlabel= , every axis y label/.style={at=(current axis.above origin),anchor=south} , every axis x label/.style={at=(current axis.right of origin),anchor=west} , height=5cm , width=12cm , xtick=\\empty , ytick=\\empty , enlargelimits=false , clip=false , axis on top , grid = major , hide x axis , hide y axis ] \\addplot[cyan!50!black, rotate=-45] (x, {normal(0, 1)}); \\end{axis} \\end{tikzpicture} \\end{document} Any help to get this graph will be highly appreciated. Thanks",
"Problem sudo notify-send Test \"Hello World\" Displays a notification as expected. notify-send Test \"Hello World\" Does not display a notification. Further information Ubuntu version 16.04. The notifications appear to use notify-osd instead of notification-daemon. Running notify-send appears to launch a notify-osd process under the user that ran notify-send. I'm not sure what dbus is. No error messages There are no errors in the syslog. When I run the following code no error messages occur. #include <libnotify/notify.h> #include <stdio.h> int main() { gboolean x = notify_init (\"Hello world!\"); printf( \"notify_init: %d\\n\", x ); NotifyNotification * Hello = notify_notification_new (\"Hello world\", \"This is an example notification.\", \"dialog-information\"); GError *err = NULL; x = notify_notification_show (Hello, &err); printf( \"notify_notification_show: %d\\n\", x ); if(err != NULL) { printf(\"Error detected!\\n\"); printf(\"Error message:%s\\n\", err->message); } else { printf(\"No error detected.\\n\"); } g_object_unref(G_OBJECT(Hello)); notify_uninit(); return 0; } I do not know what I'm doing. Thanks for the help. Python Notify In the past, I've used a python program that has working notifications. I tested a hello world notification and it works without sudo! #!/usr/bin/env python # -*- coding: utf-8 -*- import gi gi.require_version('Notify', '0.7') from gi.repository import Notify Notify.init(\"test\") n = Notify.Notification.new('test', 'test2') n.set_urgency(Notify.Urgency.CRITICAL) n.show() Code from I am not sure why this works. The python Notify is just wrapping the library used in the C example. I'd prefer not to use python but will if I must. Edit The problem occurred again. Resolved by adding urgency critical.",
"class variable vs instance variable --Python",
"What can I do if I forgot my Windows password?",
"How do i create a linestring from points sort by date in PostgreSQL? I tried: SELECT observations.id, ST_MakeLine(observations.geom ORDER BY observations.date) AS newgeom FROM observations GROUP BY observations.id; This is going wrong. It returns me a linestring with same coordinates. So, instead of a line from a to b, it gives me a to a. What am I doing wrong?",
"How to write a Hello World application in Java?",
"Why do backslashes appear twice?",
"What's the difference between eq, eql, equal and equalp, in Common Lisp? What's the difference between eq, eql, equal and equalp, in Common Lisp? I understand that some of them check types, some of them check across types an all that, but which is which? When is one better to use than the others?",
"Why is it that $$\\lim_{n \\rightarrow +\\infty} \\left( 1 + \\frac{\\lambda}{n}+ o \\left( \\frac{1}{n} \\right) \\right)^n = e^{\\lambda}$$ I once remembered the justification for \"ignoring\" the $o(1/n)$ but can't recall it again.",
"How to get a list of the filenames of the figures embedded in a document I have a TeX document that is embedding a huge amount of figures from a fig folder that is full of another humongous amount of other figures. I would like to move the document along with its figures, but I don't want to take the whole fig folder, just the figures in there that are embedded by the document. Is there a package (or any other way) that allows me to, for example, print out the filenames of all the figures embedded by the document? Something like: fig/figurename1.eps fig/figurename2.eps ... etc I could then just copy-paste that list and add some cp's in a plain text file and automate the copy of those files to my desired location by running the file in my shell: $ cp fig/figurename1.eps wherever/fig/ $ cp fig/figurename2.eps wherever/fig/ ... etc Of course this is just an idea, if somebody has an alternative to the \"file listing and copy-pasting in a shell file\" I would be happy to listen =)",
"Tags on badge question list I'm trying to get the Weed-Eater hat on Stack Overflow. To do so, I'm looking at the list of questions . The problem is, no tags show up there, and so it's rather difficult to see which ones I have a shot at. Any chance of showing the tags on this page? I realize that getting this before Winter Bash is over would be difficult, but it would be good to keep such things in mind for the future.",
"Can we re-request features that were declined a sufficient while ago?",
"I can type: dirname ~/home/blah/file.zip for instance, and this works fine alone, but when I use this syntax as the parameter for some command it always reads 'dirname' as the desired directory. i.e.: cd dirname ~/home/blah/file.zip bash: cd: dirname: No such file or directory Basically, how do I get 'dirname file' to be read as one entity?",
"Can I use older MySQL workbench with newest MySQL server? MySQL newbie here. I'm using Ubuntu 16.04 (64-bit). I've successfully installed MySQL Community Server 5.7 and MySQL Community Workbench 6.3. Unable to find these answers in the MySQL forums. I've asked this on Stack Exchange and it was suggested that I ask here instead. I've searched on Ubuntu Forum and here also but did not find an answer. One would think they are common questions but maybe not. Additionally, I cannot find a way to ask a new question on the MySQL Forum. I've spent a ton of time reading/researching/installing/uninstalling and reinstalling MySQL and community workbench on Linux Ubuntu 16.04 (64-bit) and do not want to lose the momentum I've gained. I'm actually making forward progress after a week or so of trial and error working on this up to a few hours per day. It appears that I cannot load MySQL Community Workbench 8.0 without Linux server installed. That seems to be one of the requirements if I understood correctly. Can anyone tell me if MySQL Community Workbench 6.3 will work with MySQL Community Server 8.0 on Ubuntu 16.04 (64-bit)? I would still like to upgrade and use MySQL community server 8.0 if I can. Can I use MySQL Community Server 8.0 on Linux Ubuntu 16.04 32-bit? I've spent many hours googling it and looking on MySQL Forums but couldn't find the answer. Thanks much. ...Rick",
"I created some linestring features in EPSG:32632 (WGS 84 / UTM zone 32N) exactly 10 000 m long. QGIS calculates all line lengths (horizontal, vertical, diagonal) as 10 001.9 m. The measure tool explains \"Project CRS transformation is turned on and ellipsoidal calculation is selected. The coordinates are transformed to the chosen ellipsoid (WGS84), and the distance is calculated in meters.\" When I set the ellipsoid to \"None / Planimetric\" in project properties, I get the expected results (10 000 m). I don't understand the phrase \"coordinates are transformed to the chosen ellipsoid (WGS84)\", is it a transformation to unprojected degrees (4326?)? Since 32632 already is based on WGS84, is there anything to transform? If there is a kind of \"great circle\" calculation involved, I would have expected lengths can only get smaller. Is QGIS's calculation correct/meaningful, is it plain wrong or do I see rounding errors? This are the geometries I tested: LineString (370000 5615000, 370000 5625000) LineString (366464.46609406732022762 5616464.46609406732022762, 373535.53390593267977238 5623535.53390593267977238) LineString (365000 5620000, 375000 5620000) LineString (373535.53390593267977238 5616464.46609406638890505, 366464.46609406638890505 5623535.5339059317484498) Edit as addition to MappaGnosis's answer: I forgot that in UTM , this seems to be the simple answer for the title question."
] | medi_sts_stackexchange_dupe |
if a series is convergent, prove the subsequence of its sequence is convergent. | Prove that the subsequence of a convergent series with nonnegative terms converges | [
"Everyone knows that Wolverine's adamantium claws are super-sharp — sharper than even a razor — and virtually indestructible. What puzzled me the first time I saw Wolverine is: how do the claws stay in his body? As it is shown, Wolverine's flesh and skin are human in strength, but the healing factor makes it superhumanly durable and strong. Still, when Wolverine slashes something, or someone, extremely hard, dense, or thick (as he has to use great amount of force), the claws don't tear through his hand and leave his hand through the opposite side of the palm (because of the action having equal and opposite reaction).",
"if/then/else man page I would like to know if there is any man page documenting the construction of the most basic script commands like if/then/else, while, for each, and all the relative switches, like -eq, -e, -ge, and so on.",
"Gapless superconductivity I don't understand what is meant by "gapless superconductors". As far as I know, the superconducting gap is necessairy for both zero resistance and the Meissner effect, the two hallmarks of superconductivity. So, what does it mean to have gapless superconductivity and how does it work? Thanks in advance, Greetings",
"How to trick a command into thinking its output is going to a terminal Given a command that changes its behaviour when its output is going to a terminal (e.g. produce coloured output), how can that output be redirected in a pipeline while preserving the changed behaviour? There must be a utility for that, which I am not aware of. Some commands, like grep --color=always, have option flags to force the behaviour, but the question is how to work around programs that rely solely on testing their output file descriptor. If it matters, my shell is bash on Linux.",
"I have a Asus ROG G551VW laptop and I'm trying to install Ubuntu 16.04 on my laptop, but when i try to load the installer, my laptop just freezes and its fan starts working for no reason. I have tried to install Ubuntu 14.04 on my laptop and the installation went smoothly. What should I do if I want to install Ubuntu 16.04 on my laptop? Any help would be greatly appreciated.",
"How to find all the tables in MySQL with specific column names in them?",
"Calling PHP functions within HEREDOC strings In PHP, the HEREDOC string declarations are really useful for outputting a block of html. You can have it parse in variables just by prefixing them with $, but for more complicated syntax (like $var[2][3]), you have to put your expression inside {} braces. In PHP 5, it is possible to actually make function calls within {} braces inside a HEREDOC string, but you have to go through a bit of work. The function name itself has to be stored in a variable, and you have to call it like it is a dynamically-named function. For example: $fn = 'testfunction'; function testfunction() { return 'ok'; } $string = <<< heredoc plain text and now a function: {$fn()} heredoc; As you can see, this is a bit more messy than just: $string = <<< heredoc plain text and now a function: {testfunction()} heredoc; There are other ways besides the first code example, such as breaking out of the HEREDOC to call the function, or reversing the issue and doing something like: ?> <!-- directly output html and only breaking into php for the function --> plain text and now a function: <?PHP print testfunction(); ?> The latter has the disadvantage that the output is directly put into the output stream (unless I'm using output buffering), which might not be what I want. So, the essence of my question is: is there a more elegant way to approach this? Edit based on responses: It certainly does seem like some kind of template engine would make my life much easier, but it would require me basically invert my usual PHP style. Not that that's a bad thing, but it explains my inertia.. I'm up for figuring out ways to make life easier though, so I'm looking into templates now.",
"How to find the sum of this series? $$\\sum_{k=0}^{\\infty}\\cfrac{{2}^{k}}{\\binom{2k+1}{k}}$$ It seems very easy. But I still can not work it out, can anyone help?",
"Which damage dice exactly does the Great Weapon Fighting fighting style allow you to reroll?",
"Is there an online community to find travel partners (for mountains, sightseeing etc.)? Is there an online community to find travel partners for mountain trekking or sightseeing, or anything else? I don't want to travel to foreign mountains alone, but I don't know where to search for company. There's a great community for accommodation (I mean CouchSurfing) so I think there should be something in \"reverse\" direction (searching not the place to stay but the people to go with).",
"Is the function Riemann integrable? If yes, obtain the value of $\\int_0^1f(x) \\ dx$ $f(x) = \\begin{cases} \\frac {1}{n}, & \\frac{1}{n+1}<x\\le\\frac{1}{n}\\\\ 0, & x=0 \\end{cases}$ My attempt $f$ is bounded and monotonically increasing on $[0,1]$. Also, $f$ has infinite discontinuities but only one limit point. Therefore $f$ is Riemann integrable. Now, to calculate the integration $\\int_0^1f(x) \\ dx=\\int_{1/2}^{1}1 \\ dx + \\int_{1/3}^{1/2}\\frac{1}{2} \\ dx + \\int_{1/4}^{1/3}\\frac{1}{3} \\ dx+...$ $=\\sum_{n=1}^\\infty \\frac{1}{n^2}-\\frac{1}{n}+\\frac{1}{n+1}$ How do I proceed from here? How do I calculate these summations? I know $\\sum \\frac{1}{n}$ is $\\log 2$, but not the other two summations.",
"data & synchronization - manually sync mail. calender and contacts",
"We can test the symmetry of a distribution around $0$ by Wilcoxon sign rank test, based on its sample. But if we want to test if a distribution is symmetric around its mean, based on its sample $X_1, \\dots, X_n$, is it valid to first normalize $X_i$ by the sample mean as $Y_i := X_i - \\bar{X}$, and then apply Wilcoxon sign rank test to $Y_i$'s? If not, what are some ways? Thanks and regards!",
"How to convert from one grading scheme to another? I'm trying to figure out the equivalence between grade schemes in different countries. According to some Google results: If you are a U.S. citizen, you need a GPA of 3.2+ (it varies, some say 3.2 and some others say 3.6, etc) to apply for a position in the UK (job or university) where the prerequisite is to have a minimum grade of 2:1. In UK 2:1 is earned if you have a 60-69% of the points. I've read that 2:1 is the same as 67%. In Spain we use a grading scheme of 10 points. So according to (2), for have a UK 2:1 you need to have 6-6.9 points. If you are Spanish and have 6.7, when converting it to GPA the result is 1.5. However, if you take the above points and treat them as a math equation, the final result will be GPA 1.5 = GPA 3.2, which doesn't make any sense. GPA 3.2 = UK 2:1 UK 2:1 = Spain 6.7 Spain 6.7 = GPA 1.5 Replacing now... UK 2:1 = GPA 1.5 GPA 3.2 = GPA 1.5 My question is if someone has a better explanation on converting grades obtained in different countries.",
"What is an \"AppImage\"? How do I install it? I just read . It talks about downloading an AppImage. Yes, Linux; the Linux packages is distributed as an .appimage for 32-bit and 64-bit distributions, and should run across all major Linux distributions without any issues. The team currently have no plan to provide a native .deb (or .rpm) installer. What are AppImages? How do they differ from snaps?",
"structs in C with initial values",
"Using the fact that $n^3 + 5n$ is divisible by $6$, infer that $n^4 - 2n^3 + 11n^2 + 14n$ is always divisible by $24$ The problem is as stated in the title. I've tried factorization, but it doesn't seem to yield anything. Any help is greatly appreciated. Also please don't use modular arithmetic, thank you.",
"Speed of light travel I have just started special theory of relativity. The limiting speed known as speed of light fascinated me most. I asked my teacher: Consider two massless objects moving in the same direction at the speed of light. What would be their relative velocity w.r.t each other? My teacher tells me that their relative velocity would be zero. But then the speed of light is universal constant regardless of the motion of its frame of reference, so shouldn't their relative velocity be $c$? What is their relative velocity and how? Do objects moving at the speed of light obey law of addition of velocities?",
"What is the difference between an abstract method and a virtual method? What is the difference between an abstract method and a virtual method? In which cases is it recommended to use abstract or virtual methods? Which one is the best approach?",
"What, precisely, is a confidence interval?"
] | medi_sts_stackexchange_dupe |
Using a definite integral find the value of $\lim_{n\rightarrow \infty }(\frac{1}{n}+\frac{1}{n+1}+...+\frac{1}{2n})$ | The limit of truncated sums of harmonic series, $\lim\limits_{k\to\infty}\sum_{n=k+1}^{2k}{\frac{1}{n}}$ | [
"Git keeps prompting me for a password",
"$\\gcd(a,b)\\!=\\!1\\!=\\!\\gcd(a,c)\\Rightarrow\\gcd(a,bc)\\!=\\!1$ [coprimes to $\\,a\\,$ are product closed] How do I go about proving this? If $\\gcd(a,b)=1$ and $\\gcd(a,c)=1$, then $\\gcd(a,bc)=1$. I'm very confused with gcd proofs.",
"I've lost my portal home, and I am invincible. How can I leave the nether?",
"Totally disconnected space that is not $T_2$",
"How do I make ditto marks? In France, students are taught not to repeat the same text twice when there is little difference between a line and the one below. It's a quick way to take notes. I reproduced this effect by tinkering: The code is as follows: \\documentclass[aspectratio=1610]{beamer} \\usepackage[T1]{fontenc} \\usepackage[french]{babel} \\usepackage{amsmath, amsfonts, amssymb} \\usefonttheme[onlymath]{serif} \\begin{document} \\begin{frame} Lorsque le \\og \\textit{carreau carré} \\fg{} mesure: \\begin{itemize} \\item $\\rm 1\\,cm$ de côté, l'unité d'aire est appelée le \\og \\textrm{centimètre carré} \\fg{} et est noté $\\rm cm^2$; \\item $\\rm 1\\,dm$ \\hspace{1mm}'' \\hspace{3mm}'' \\hspace{8mm}'' \\hspace{8mm}'' \\hspace{5mm}''\\hspace{8mm}'' \\hspace{5.5mm}''\\hspace{1mm} \\og \\textrm{décimètre carré} \\fg{} \\hspace{2mm}'' \\hspace{2mm}'' \\hspace{4mm}'' \\hspace{1.5mm} $\\rm dm^2$; \\item $\\rm 1\\,m$ \\hspace{3mm}'' \\hspace{3mm}'' \\hspace{8mm}'' \\hspace{8mm}'' \\hspace{5mm}'' \\hspace{7mm}'' \\hspace{5.5mm}''\\hspace{1mm} \\og \\textrm{mètre carré} \\fg{} \\hspace{9mm}'' \\hspace{2mm}'' \\hspace{4mm}'' \\hspace{1mm} $\\rm m^2$; \\item etc. \\end{itemize} \\end{frame} \\end{document} How can I get the same effect more simply than by tinkering like I just did?",
"How to choose the number of hidden layers and nodes in a feedforward neural network? Is there a standard and accepted method for selecting the number of layers, and the number of nodes in each layer, in a feed-forward neural network? I'm interested in automated ways of building neural networks.",
"Number of non-decreasing functions? Let $A = \\{1,2,3,\\dots,10\\}$ and $B = \\{1,2,3,\\dots,20\\}$. Find the number of non-decreasing functions from $A$ to $B$. What I tried: Number of non-decreasing functions = (Total functions) - (Number of decreasing functions) Total functions are $20^{10}$. And I think there are ${20 \\choose 10}$ decreasing functions. Since you choose any $10$ codomain numbers and there's just one way for them to be arranged so that the resultant is a decreasing function. However my answer doesn't match. Where am I going wrong? How can I directly compute the non-decreasing functions like without subtracting from total?",
"What's the difference between \"Service\" and \"/etc/init.d/\"?",
"What items are mutually exclusive between worlds? As of 1.2, some features are mutually exclusive between worlds. In the case of ores at least, . However, a gives you the chance for a (and the upgraded Sweetheart Necklace) which does not seem to have an equivalent version in the Corruption. What items, if any, are truly mutually exclusive in function between worlds?",
"How can I export a list containing e-mail addresses for everyone that has sent me an e-mail? I have all of the messages archived.",
"I sometimes have long running processes that I want to kick off before going home, so I create a SSH session to the server to start the process, but then I want to close my laptop and go home and later, after dinner, I want to check on the process that I started before leaving work. How can I do that with SSH? My understanding is that if you break your SSH connection you will also break your login session on the server, therefore killing the long running process.",
"Changing ChildOf constraint influence to 0, but keeping the position it had as a child I had a sword object rigged with a single bone, with a ChildOf constraint making it a child of a sheath (with an influence of 1). Throughout an animation i move the sheath, and the sword bone follows as expected. However, i cant seem to lower the influence of the sheath to zero and still have the sword retain the position it was just at, and I am wondering how i should go about making this happen. Thanks for your time.",
"Is there any formula for number of divisors of $a \\times b$? Let $a$ and $b$ be two numbers, Number of divisors of $a$ is $n_1$; Number of divisors of $b$ is $n_2$; How to find the number of divisors $N$ of product $a \\times b$ by using known number of divisors of factors $n_1$ and $n_2$? If $a = 20$ and $b = 21$, then $n_1 = 6$ (number of divisors of $a$), $n_2 = 4$ (number of divisors of $b$. Then $a \\times b = 420$ and $N = 32$ (number of divisors of $a \\times b$). Is there a formula to find $N$ in terms of $n_1$ and $n_2$?",
"TAR 6 GB worth of files into separate 1.9 GB TAR files",
"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.",
"A twice differentiable function $f$ satisfies $f′′(x)+f(x)=−xg(x)f′(x)$, $\\forall x\\ge 0$. Consider $f\\in C^2$ so that $$f''(x)+f(x)=-x\\,g(x)f'(x), \\ \\forall x\\ge0 $$ where $g(x)\\ge 0$. Then ($\\forall x\\ge 0$) (A) $f(x)^2+f'(x)^2$ is non-increasing, (B) $f(x)^2<3f(0)^2+(2f'(0))^2$, (C) $|f(x)|\\le\\alpha$, where $\\alpha$ is a fixed real constant. (D) $\\lim_{x\\to\\infty} f(x)\\sin\\left(\\dfrac{1}{x}\\right)$ exists. Answer Given: (A),(B),(C),(D) What I have tried : I differentiated option (A) and then with the help of the given equation in the question I was able to show that it is less than zero . Hence I was able to infer that option (A) is correct . Now coming to option (B). I assumed the function in option (A) to be $h(x)$. $$ h(x) = f(x)^2 + f'(x)^2 $$ Since $h'(x)<0$ ,therefore $h(x)$ is a decreasing function hence for all $x\\ge 0$ $h(x)< h(0)$ which implies $(f(x))^2 + (f'(x))^2<(f(0))^2 + (f'(0))^2$ From the above expression we can get the second option . Is my method correct ?. If not , please show the right method . I am unable to get the the 3rd and 4th option .",
"Given $N\\geq30$ i.i.d. $X_n\\approx\\mathcal{N}(\\mu_X,\\sigma_X^2)$, and $\\mu_X \\approx 0$, looking for: accurate closed form distribution approximation of $Y_N=\\prod\\limits_{1}^{N}{X_n}$ asymptotic (?) approximation of same product This is a special case $\\mu_X \\approx 0$ of a more .",
"How to add a dot after the section number? I wonder is there any way to change the format of section numbering from 1.1 to 1.1. ? I know this is trivial, but I really need to add one more dot after the section number. Does anybody know how to do that? Thanks a lot",
"To my understanding, \"Control\" can have two meanings in statistics. Control group: In an experiment, no treatment is given to the member of the control group. Ex: Placebo vs Drug: You give drugs to one group and not to the other (control), which is also referred as \"controlled experiment\". Control for a variable: Technique of separating out the effect of a particular independent variable. Some of the other names given to this techniques are, \" accounting for\", \"holding constant\", \"controlling for\", some variable. For example: In a Football viewing study (like or not like), you may want to take out the effect of gender as we think gender causes bias, that is, male may like it more than female. So, my question is for point (2). Two questions: How do you \"control\"/ \"account for\" variables, in general. What techniques are used? (In terms of regression, ANOVA framework). In above example, does choosing male and female randomly constitutes control? That is, is \"randomness\" one of the techniques for controlling other effects?",
"How can there be animals on the surface in Zion's world? It is apparently canon that in Neo's day. However, in the first movie, The Matrix, Morpheus tells Neo that one of the things known for certain is that humans \"burned the sky\" in order to deny solar engery to the machines, which in turn led to the humans who survived the War being plugged into the Matrix to provide bioelectric energy to supply the machines. If there's not enough sunlight for solar power, how can there be enough to grow plants to serve as food for animals? Low levels I can understand -- house plants, at least, thrive in conditions too dim for solar panels to produce cost-effective power -- but every surface scene we see in the trilogy is as dark as a cloudy night; light coming only from the machines. That wouldn't begin to support photosynthesis, which means all animal life would starve in, at most, a matter of a few years."
] | medi_sts_stackexchange_dupe |
Can you create more Polyjuice Potion using hair/clippings from your own transformed self? | What would happen if you used a dead person's hair in Polyjuice Potion? | [
"pgfplots fillbetween with multiple curves",
"Solve a system of equations with Euclid's Algorithm",
"In what order does WordPress load plugin files? In what order are plugins loaded in WordPress? And within a particular plugin's folder, what order is followed for loading?",
"FastBoot recovery failed: partition 'recovery' not support flash",
"How long do you get to use a UK standard visitor visa from time of issue or is it valid for entry indefinite I am going to apply for a standard visitor visa for my girlfriend to enter UK. If it is issued how soon does it have to be used after issue, ie. validity until time of entry?",
"Why should the minimal class be avoided?",
"number of vertices in a self-complemntary graph Problem: Prove that the number of vertices of a self-complementary graph must be congruent to 0 or 1 modulo 4. I think my starting point would be that P4 and C5 are self-complementary and proceed by induction by adding P4s. I established the first step in a previous problem, but I need help on the induction step. i.e. proving that adjoining P4 will indeed yield a self-complementary graph.",
"I got pretty confused at that question... Can anyone help me understand this question better and/or drop some hints please? Thank you!",
"If $A$ and $B$ are nonempty sets, prove that $A \\times B = B \\times A$ if and only if $A = B$. Proving the first direction of this is easy. That is, if $A = B$ then it is obvious that $A^2 = A^2$. I am wondering how to prove the other direction now. Maybe proving it by contradiction will be easier than directly.",
"Resizing an image in a post?",
"What are C++ functors and their uses? I keep hearing a lot about functors in C++. Can someone give me an overview as to what they are and in what cases they would be useful?",
"\\mathbb{Z} yields undefined control sequence error",
"Scanner is skipping nextLine() after using next() or nextFoo()?",
"How do I make a Villager Trade a Spawn Egg",
"Why doesn't this perpetual motion machine using the buoyant force work?",
"How do I tell what version and edition of Windows is on the filesystem?",
"Looking for a classic sci-fi short story about a boy who discovers pods growing in a field For years, I've been looking for a short story about a boy who discovers alien pods in a field that are growing replacement people. If I remember right, he sees the pod creature eat his mother and then become her, and no one believes him. The story ends with him going in to see his dad, one of the few real people left until that point, and seeing something (an empty pod maybe) that lets him know his dad has been taken and he's next. I'm thinking that the title was something like Father Figure, but I may be remembering wrong. The story was part of several collections of classic science fiction stories that we had on our bookcase when I was growing up, so I'm guessing that the story could be from the 70's or any time earlier.",
"Adding dynamic text to layout from attribute table with Data Driven Pages I was trying to figure out how to use dynamic text from an attribute table in a collection of Data Driven Pages in ArcGIS 10. I've looked in the help files, but can't find anything on dynamic text from attribute tables.",
"$x^4 + y^4 = z^2$ $x, y, z \\in \\mathbb{N}$, $\\gcd(x, y) = 1$ prove that $x^4 + y^4 = z^2$ has no solutions. It is true even without $\\gcd(x, y) = 1$, but it is easy to see that $\\gcd(x, y)$ must be $1$",
"Is there a way to turn off an external Apple Cinema Display remotely and continue to use the computer? Here's the situation: I often access my Mac Pro remotely using Screen Sharing and sometimes TeamViewer. The problem is that when I do this, everything I'm doing can be seen by those near the physical computer. It also uses a considerable amount unnecessary power to have the displays on but not actually being used. Is there a way to turn them off and not just blank if possible, while still using Screen Sharing or TeamViewer Free?"
] | medi_sts_stackexchange_dupe |
How to best respond to a request to send a passport scan by unsecured email? | What harm can be done with a copy of one's passport? | [
"Can I travel in UK before switching to a study visa? As I read in general visitor visa Terms & Condition, I would only be granted to stay up to 6 months in UK. However I am planning to apply for General Student Visa to further my studies. Would it be possible for me to enter UK as visitor for first 6 months/less before I apply for student visa in the same year if I want to travel and study on the same year?",
"Difference between \"I'm home\" vs \"I'm at home\"",
"I've seen in every introductory material on LaTeX and in a lot of code of other people (event experts) that the \\newcommand command is used by wrapping the first argument in braces, even if it seems unnecessary to me. The braces are consistent with the usual way arguments are passed to LaTeX commands (since usually the braces are used even if the argument is made of a single token, for consistency and clarity), but in this single case they appear very ugly to me and in my opinion they lower readability. But these are opinions, while the question is technical: is there any technical reason why one should write this: \\newcommand{\\mycmd}[1]{Hello #1} instead of this: \\newcommand\\mycmd[1]{Hello #1}",
"Configure Postfix to use external MX servers for delivery of local mail if user is unknown I have a following setup: linux box with postfix configured to be responsible for example.com domain domain's MX servers are configured so that mail sent to example.com is sent to google mail servers several user accounts on linux machine exist (same machine also hosts example.com site) When someone from the outside attempts to send mail to address ending with @example.com, it gets routed to google mail (and there handled appropriately). When linux machine tries to send mail to outside world, mail is delivered correctly, as reverse dns and spf records are configured correctly, so linux machine is valid mail sender for example.com domain (along with google mail servers). However, here's the problem. When php application (hosted at linux box) tries to send mail to [email protected] (and someuser doesn't exist on linux box), it fails, since it doesn't even consult google mail servers, but postfix smtp locally concludes that \"someuser\" is unknown. So, the question is: how do I tell postfix to relay mails sent to @example.com domain to google mail servers (so, to servers specified in MX records), IF and only if a mailbox is not found locally.",
"Continuing example in Beamer",
"What's the difference between stochastic and random?",
"When are infinities okay? I'm a little confused about how to handle infinities in physics. On the one hand, I always here things like infinities are not physically tenable answers. GR can't answer anything about the origin of the universe because of singularities. Throw away the radial solution that gives an infinite potential when solving the Laplace equation in spherical coordinates. But then there are other times that the infinities are okay. For instance, it is usually okay to set the reference point for your potential at infinity. There are certain times in David Tong's quantum field theory lecture notes where he seems to almost to hand wave away infinities. So, philosophically, physically, and mathematically when are infinities okay, and when are they not okay?",
"Can I travel domestically within the United States with my USA expired passport? I need to fly domestically within the United States. The only ID I have is an expired USA passport. Can I use that to pass T.S.A.? Can I use it as ID?",
"Printer not recognized on Ubuntu Libre Office I am running 14.04 and have a HP Deskjet 2545 wireless printer which is supported by Ubuntu. I have run HpLIP, the latest version and installed the printer. The printer is recognised by Ubuntu, printer and network, but LibreOffice do not see the printer. Only a Generic printer. I don't know what to do anymore and would like to get some good advice",
"What should be in the sources.list for Kali Rolling Linux? This is exact content from my sources.list: # # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free I couldn't install the Synaptic package manager and was told to modify sources.list. I googled a lot and added some repos into it and ran update and upgrade command only to see Kali crash... I had to recover it. Please mention the exact content that should be there to ensure that Kali Linux works.",
"Reoccurring Bent Axles, any reasons or upgrades? Earlier this month I had a issue with a broken axle. It was the original that was sold with the bike and lasted around 5,000 miles. I went to my LBS and bought a new axle (unbranded, labeled, etc, paid $13, came with cones, spacers, and hardware). I did the install myself and had everything adjusted nicely. The next time I rode it was on my commute to work, but I didn't get 4 miles into it when I found that I bent the axle. I took the wheel to the shop but they wouldn't do anything about it since I didn't have them do the work. However, I figured this was a fluke and asked them for a new axle and to true the wheel. Once again I did the install of the axle and only got 15 miles out of it this time before bending it. Before I got home I felt the wheel get stiff, but it stayed true. The question is what will be a cause of bending 2 axles in 20 miles? I think the guy at the shop said it was a cro-moly axle (while talking to another person today at the shop, these may not be), and he couldn't believe that I bent it. If so, where would such an axle fall in the quality hierarchy? Or is my hub toast? While the wheel was being repaired, I swapped to a new original wheel for about 2 weeks. I have not had any issues with it, but I wanted to keep it as new as possible. Reading other questions I saw a comment that said not to use a hub where the bearing was catching. I did have one in this wheel but I figured since it is a cheap wheel I would just burn it up and move on to a better one. Besides, it has lasted 5k miles without issue to this point. The bike in question is a 2008 Schwinn High Timber with Joytech freewheel hubs. I do use a trailer with this bike using a Burley axle hitch. While I had the hitch installed on both axles I bent, I did not have either trailer hooked up to them. Something I would like to note is that when I removed the first bent axle (axle #2) that the cones on it had a wavy bearing track. I didn't think too much of it, and I put them on axle #3. Only having a few miles on them shouldn't have made a difference?",
"What do \\makeatletter and \\makeatother do? Many LaTeX “hacks” begin with \\makeatletter and end with \\makeatother. What do these commands do?",
"Diagonalizable matrix with parameters $$ \\begin{bmatrix} -2 & -2 & 0 & 0 \\\\ -b & -b & 0 & 0 \\\\ 0 & 0 & -4 & 4 \\\\ 0 & 0 & b & -b \\\\ \\end{bmatrix} $$ I have this matrix and I need to find the values for $b$ that this matrix won't be diagonalizable. For what I got this matrix is diagonalizable for every $b$ value. Please write me also the final answer, thank you very much.",
"I need to take a screenshot that records my Eclipse IDE menu item status. For example, if I clicked the \"Project\" menu and there comes a list of menu items. I need to record those menu items. The problem is when the menu item list window (which works like a context menu window) has the focus, the screenshot function is not working. I tried everything on this and nothing works as long as the menu items window is opened. Any mouse click will close the context menu window, so I cannot use mouse either. However if there is no context menu window opened then screenshots works fine. How can I record the screen with context menu window displayed?",
"How do you remove Nvidia's proprietary drivers? I always seem to have grief with Nvidia drivers and have often had to re-install Ubuntu: is there a better way to remove them? When I first installed the drivers, the display came up on 640 by 480. I managed to set 2 screens to 1024 by 780 which was usable, but then Ubuntu recommended installing proprietary drivers (nvidia-current-updates 295.40-ubuntu1). After doing this and re-booting it shows LAPTOP and offers only 640 by 480 on a single screen. Is there any way to revert to the original driver? Is there any way to find out if the new drivers work before installing them? - For years I have been hoping that it would be all fixed in the latest release… I always seem to fall for this!",
"How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)?",
"Find My iPhone Email Notification Is the email notification from Apple that your device has been tracked using Find My iPhone a new feature?",
"Ephemeral error message: \"cryptsetup: unknown fstype, bad password or options?\" I activated disk encryption for my Ubuntu 15.10 64bit installation and get every time after entering the (correct) password the error message: cryptsetup: unknown fstype, bad password or options? But after few seconds (without any further interaction) this error message is replaced by the expected message: cryptsetup: sda5_crypt set up successfully That's it and the system is started. Any suggestions what could be the problem? Is it merely cosmetic or serious?",
"Dropdownlist control with s for asp.net (webforms)? Can anyone recommend a dropdownlist control for asp.net (3.5) that can render option groups? Thanks",
"Suppose there is a message that is encrypted with AES-128-CBC. The message is as follows, new lines are used to delimit the 16 byte boundary for each block: Wire funds from: Alice to Bob in the amount of $ 1 Because this message is encrypted using CBC mode, any modification of the first block of cipher text would propagate throughout the message. However, the amount of the fund transfer falls in the last block. I am under the assumption that an attacker can use the property of to alter the last block and produce a valid amount that is greater than \\$1 in far fewer than $2^{128}$ operations. Is this a correct assumption? Is there a name for this attack or do you know of a real world example? My instinct is that if you just need one byte of the 16 byte block to be of a specific value then it would only require $2^8$ operations because the other 120 bits of the plain text could be any value. For example lets say we wanted the last block of cipher text to decrypt to 9\\0 (where \\0 denotes a single null byte, and the message would be interpreted as \\$9), then it would take only $2^{16}$ operations to find this cipher text block. Is there something I am missing?"
] | medi_sts_stackexchange_dupe |
Why does inherting from object in Python, change they type of the __dict__ when not specifying a parent does not? | What is the difference between old style and new style classes in Python? | [
"How to create a page like this? I'm a LaTeX newbie. I want to create a page layout like in the picture below on every page. Can someone help please? Thanks.",
"Double orthogonal complement is equal to topological closure",
"What is the official name for the \"special\" ASP.NET tags like this: <%# %> <%= %> <%@ %> <%$ %> I can't seem to figure out the conceptual or well known name for these, so I'm having trouble searching for more info. As a bonus, can anyone give me a quick rundown of all of the possible \"special tags\" and what each one of them does (or point me to a resource)?",
"I’m having trouble finding an official clarification of this, so I’m wondering if anyone has found a ruling: Solarians gain powers known as stellar revelations. These are either “photon” or “graviton” revelations. It is specifically mentioned they can be used out of combat, though most include improved effects or separate powers that can only be used “while attuned” - a state a Solarian enters during combat. They may be photon or graviton attuned, at the player’s choice, and are able to increase their level of attunement each round until they become fully attuned to one or the other. However, apart from the very powerful “zenith revelations”, nowhere in the rules mentions whether photon revelations may only be used while photon attuned, or graviton revelations only while graviton attuned. The revelations themselves usually say “while attuned or fully attuned” for the more powerful effects, without mentioning the mode, and there’s no general rule in the class feature that answers this question. Is there an official ruling on whether the “only while attuned” power of a photon revelation can be used when the character is graviton attuned, or vice versa? I suspect the answer is yes but it’s hard to tell based on the core rules.",
"I need a counsel about my websites' domain. Let's say I have just bought two domains: xyz.com and xyzphotography.com. As we can see, the first one is shorter but way less meaningful than the second one. The second one contains a photography keyword but it's longer. I have only one website which is my photography portfolio. Can you advise me how to set those domains to make it all as SEO-friendly as possible? Which one should be the main one, does the rest should work on their own or have some kind of SEO-friendly redirect to the main domain?",
"solution :- $21= 3 \\times 7$ there is only one Sylow $3$ and Sylow $7$ subgroup so, Sylow $3$ and Sylow $7$ subgroup are normal in group $G$ so $G$ is cyclic group of order $21$. Am I right ? somebody told me that group of order $21$ is not cyclic. he gave me this . If group of order 21 is not cyclic, then can we understand it by Sylow method ?",
"Closures in a for loop",
"In polar coordinate how we can get $dx\\;dy=r\\;dr\\;d\\theta$? with these parameters: $r=\\sqrt{x^2+y^2}$ $x=r\\cos\\theta$ $y=r\\sin\\theta$ Tanks.",
"Variable number of arguments in C++?",
"calculate slope for a road network I am working on a road network for routing operations using postgis and QGIS. I am new to both of these tools and need to calculate the slope for each edge (by retrieving the Z value for the start and end node for the edge from a raster). Any ideas of the best approach to this? I know postgis can dump points and get the value from a raster, but can I get the slope attribute to the edge without breaking the network topology (with edges that have corresponding start/end nodes) using this method? thanks",
"Equation's symbols or parameters description are shown below, however, the = and the details of parameter are not aligned. I want to make a parameters list for a equation like this, in which symbols, = and detail information are aligned in terms of vertical position. where ... P = notional permeability factor N = number of waves Sd = damage level ... A tabular environment will produce more spacing before and after text. So how to make the = vertical aligned? The codes is provided: \\begin{equation} \\frac{H_s}{\\Delta D_{n50} } = 1.0~ P^{0.13}~ \\left(\\frac{S_d}{N} \\right)^{0.2} \\xi_m^P~ \\sqrt{\\cot \\alpha} \\end{equation} where: $H_s$ = significant wave height, equal to the average of the highest 1/3 of the waves $\\Delta$ = relative buoyant density, equal to $\\rho_r / \\rho_w - 1$, where $\\rho_w$ is the water density $D_{n50}$ = nominal diameter defined in Equation (2) $P$ = notional permeability factor $S_d$ = damage level $N$ = number of waves $\\xi_m$ = breaker parameter based on mean wave period $T_m$ $\\alpha$ = slope angle",
"Can't Remove Cortana from Windows 10",
"I am seeking suggestions on what may be going in with an iMac I am currently troubleshooting, as it’s displaying behaviour I do not recall seeing before. Short story This iMac refuses to boot up. It gets the Apple logo, gets past the progress bar, and then gets stuck on the grey screen for about two minutes before rebooting itself. However, what makes this odd is that I can: Start the iMac in Target Disk Mode and use it to successfully boot up other Macs. In doing so everything seems to work perfectly fine. Successfully boot the iMac from an external drive and everything seems to work perfectly fine. Long story I was presented this iMac about 2 weeks ago as it refused to bootup. That is, it would commence booting up and cycle through the Apple logo and progress bar, but after the progress bar completed it would remain on the grey screen for a couple of minutes before rebooting itself and doing the same thing all over again. To address this I undertook the following troubleshooting steps: Resetting SMC - failed Resetting NVRAM - failed Starting up in Safe Mode - failed Starting up in OS X Recovery Mode – failed Starting up in OS X Recovery Mode via the internet – failed Undertook an extensive hardware test using Apple Hardware Test (AHT 3A213) - passed Started iMac in Target Disk Mode and retested hard drive using Scannerz on another iMac - passed Started iMac in Target Disk Mode and reformatted the hard drive and did a clean install of Mac OS X El Capitan 10.11.6 - successful Migrated data from a Time Machine backup - successful After these steps I tested the iMac for four days with no issues in terms of booting up and using the computer. On the fifth day I needed to manually import seven Apple Mail mailboxes. I did these one by one and six of them imported within minutes. The last mailbox was showing as being 270 GB in size. I knew this was inaccurate, but I decided to import the mailbox so I could do a mailbox rebuild to correct whatever corruption had taken place. This import took over 12hrs to do but seemed to work fine and Mail was displaying the emails. I then tested the iMac on and off for another day to ensure it had no problems booting up. This was successful. I then decided to initiate the mailbox rebuild, but as soon as I did the screen went black and stayed that way regardless of any keyboard shortcuts I tried using. I waited an hour, forced a reboot, and ever since the iMac has returned to its original behaviour of not booting up – it would get past the progress bar and stay on the grey screen for a while before rebooting itself and starting the whole vicious cycle again. I have again retested the hard drive, processor, RAM and Video Ram by starting the iMac from an external hard drive and using a combination of the following packages: Apple Hardware Test (AHT 3A213) Scannerz TechTool Pro Memtester (under the Homebrew subsystem) And now I have a situation where I can boot the iMac from external hard drives, and also use it in target disk mode to boot up other Macs, but cannot use it to boot from its own internal drive. At present I have isolated the internal hard drive and am running a scan to check for any malware. In the meantime, I am wondering: Has anyone come across a similar scenario and, if so, what was the cause? Assuming I find no malware, do I go through the reformat/clean install/migration process again, but this time not import the last mailbox and see whether the iMac works fine? Any other suggestions? iMac specs are as follows: iMac (27”, mid 2011) 3.1 GHz Intel Core i5 8 GB RAM AMD Radeon HD 6970M 1024 MB 1 TB 3.5” SATA HD Mac OS X El Capitan 10.11.6",
"Determine resultant velocity of an elastic particle-particle collision in 3d space So I have two particles that have collided in 3 dimensional space. I want the particles to rebound off of each other in an elastic manner. How do I determine the resultant velocity vector if I know: Both particles' initial velocity vector, their masses, and their initial position vectors relative to the origin. I tried to follow the instructions on but I am not sure how to make their equations work without polar coordinates / how to translate my data to polar coordinates. Also, if you answer my question in terms of polar coordinates, can you explain which angle is theta and which is phi? Since there are 2 different conventions, I am not really sure which angle is being referred to in the explanation on the aforementioned website. EDIT: This isn't for a class. I'm writing a physics engine for a gravity simulation I am making using Unity. I haven't taken kinematics since I was in high school, which is why I am so rusty.",
"I am using a cloned hard drive in attempts to restore some old files. The cloned drive has 2 users, one with an encrypted home drive, one without. Both are administrators. When I couldn't get into the main user (with the encrypted home directory), I logged in as the 2nd user and changed the password. It seems that I somehow broke the relationship between the encryption passphrase and the user. I'm pretty sure I have the passphrase. Is there a way to get to the data?",
"This is a generic inquiry on the common practice/standard for determining the acceptable values of RMS when georeferencing topographic maps. Is there an absolute value? Some literature suggests that it should be \"less than or equal to 1/2 of the side of a cell which make up the total resolution of the image.\"",
"'+' and 's' in permission strings If the ls -l command gives me a permission string like rwsr-s--x What does the 's' mean? The only sources I found mention that it can be present sometimes but do not elaborate. What does a '+' instead of a '-' mean? I have found mentions of 'extended permission' but nothing clear.",
"I have a bibliography in which a particular author wrote two papers in the same year. Bibtex is sorting them alphabetically by title, but I want them listed chronologically. (So in the example below 'universal grammar' should precede 'English as a formal language'.) What's the appropriate way to flip the order? MWE: \\documentclass{article} \\usepackage{natbib} \\begin{document} ... formal semantics in the Montagovian tradition \\citep{montague1970aug,montague1970befl,montague1973ptq}. \\bibliographystyle{harvard} \\bibliography{test} \\end{document} This generates the text 'formal semantics in the Montagovian tradition (Montague, 1970b,a, 1973)' whereas I actually want '1970a,b,1973'. test.bib file for MWE: @incollection{montague1973ptq, title={The proper treatment of quantification in ordinary {English}}, author={Montague, Richard}, booktitle={Approaches to natural language}, editor={Hintikka, K. Jaakko J. and Moravcsik, Julius M.E. and Suppes, Patrick}, pages={221--242}, year={1973}, publisher={Dordrecht} } @article{montague1970aug, title={Universal grammar}, author={Montague, Richard}, journal={Theoria}, volume={36}, number={3}, pages={373--398}, year={1970}, publisher={Blackwell Synergy} } @incollection{montague1970befl, title={English as a formal language}, author={Montague, Richard}, booktitle={Linguaggi nella Societa e nella Tecnica}, editor={Visentini, Bruno and others}, publisher={Edizioni di Comunità}, pages={189--224}, year={1970} }",
"I am studying for an exam and I am having trouble with this practice question: In this question, we consider finite bit strings that do not contain $00$. Examples of such bitstrings are $0101010101$ and $11110111$. For any integer $n\\geq 2$, let $B_n$ be the number of bitstrings of length $n$ that do not contain $00$. Determine $B_2$ and $B_3$. Prove that $B_n = B_{n-1} + B_{n-2}$ for each $n\\geq 4$. For each $n\\geq 2$, express $B_n$ in terms of a Fibonacci number. Any help is greatly appreciated",
"How do I get my PCs to not be a bunch of murderous cretins? Most RPGs teach you that casual violence is the best solution to all your in-game problems. This is so well established a part of the vast majority of RPGs that there are entire satire RPGs like Greg Costikyan's and John Tynes' dedicated to showcasing the issue. Even now that the '80's anti-RPG hysteria is past, you see more sober critiques of endemic violence in RPGs in places like . In most RPGs, PCs become inured to murder and other antisocial activities very quickly, and enter the depths of depravity that wouldn't be appropriate in the worst parts of the world. Armed robbery, mass murder, and genocide become routine parts of an adventurer's day, something only stick-in-the-mud characters with the most extremely stated ethics object to. , even though it is not properly applied to just any conflict, is a PC's friend and they generally escalate any conflict in that direction. The sophistication of the gamer mindset towards introspection on this issue can be demonstrated in that the most meaningful question usually debated about in-game violence is some variant on "but should we kill the noncombatant children" or "can we just murder people out of hand as long as they're from a typically evil race?" In the real world, we generally a priori regard anyone having to have this discussion as a monster already. (P.S. The "wipe out a given evil race" thing isn't the point of this question; it is only mentioned to indicate that it's only "that far" that usually causes ethical handwringing from players, when that is a really quite extreme case and we should be uncomfortable with casual violence a lot sooner. ) What I'd like to have is a more realistic in-game treatment of conflict. People getting wounded and giving up, taking and ransoming of prisoners, not always escalating a fistfight to weapons, not always escalating weapon combat to killing, etc. Heck, as I write this, I'm watching an episode of Adventure Time with my daughter and the protagonists snuck in and rescued a princess kidnapped by the Ice King and then exit right next to his sleeping form. I thought, "If this were D&D they'd all be carefully coordinating a coup de grace to kill him in his sleep on the grounds that he inconvenienced them." The problem isn't limited to D&D of course, sci-fi PCs are happy to neutron bomb planets for convenience too, for example. I'm not part of the "D&D is Satanic" crowd obviously, but I frankly do have compunctions about continually playing in games where the taught behavior is uncomfortably equivalent to the worst examples of human behavior we see on the nightly news. How can I give my PCs a newfound respect for human life?"
] | medi_sts_stackexchange_dupe |
When/why did Stack Overflow disallow anonymous questions? | Encouraging users to create an account (and keep it) | [
"C++ single template specialisation with multiple template parameters",
"gwt java.lang.ExceptionInInitializerError",
"Attempt to de-reference a null object: Trigger There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was: Apex trigger updatequotestatus caused an unexpected exception, contact your administrator: updatequotestatus: execution of AfterInsert caused by: System.NullPointerException: Attempt to de-reference a null object: Trigger.updatequotestatus line 5, column 1. Error Occured at Line: if((t.what.getsobjecttype() == quote__c.sobjecttype) && (t.subject.substring(0,5) == 'Email') trigger updatequotestatus on task (after insert, after update){ Set<Id> quoteIds = new Set<Id>(); List<quote__c> quotes = new List<quote__c>(); for(task t:trigger.new){ if(t.whatId!=null){ if((t.what.getsobjecttype() == quote__c.sobjecttype) && (t.subject.substring(0,5) == 'Email')){ quoteIds.add(t.whatId); } } } for(quote__c q:[select StageName__c from quote__c where Id IN : quoteIds]){ quote__c qt = new quote__c(); qt.Id = q.Id; qt.StageName__c = 'Proposal Sent'; quotes.add(qt); } if(quotes.size()>0){ update quotes; } }",
"How to change background and maintain realistic effect? I have like 30 different photos to process like this, but I want to know key things to maintain realistic photo by changing it's background, or maybe just modify background so it would be more pleasing to eye.(If you know tutorial related to my problem, please do provide it to me) Here is the photo: Here is my step 2: Here is background: Here is the result: As you can see, it isn't any close to realistic feel. I fooled around with levels, but all I got was this and still it doesn't feels right. First try: Second try: Update Different background:",
"What do the plus and minus signs mean in Objective-C next to a method?",
"bash prompt messed up on arrow up I have made some modification to my prompt with use of colors via tput. It looks like now when I try to do an arrow up lookup after few moves up, the prompt is being cut into half, what I mean by this is: From this: PROD [email protected]:~$ vim .bashrc To this: PROD mysuer@servegit rebase origin/add_pool ctrl + c brings everything back to normal. I have found some posts indicating that this may be due to the issue with missing escapes for [ however I don't see an issue here: My code: #red for prod, green for lab COLOUR_RESET=$(tput sgr0) COLOUR_GREEN=$(tput setaf 2) COLOUR_BLUE=$(tput setaf 6) COLOUR_YELLOW=$(tput setaf 3) COLOUR_RED=$(tput setaf 1) BOLD=$(tput bold) if [[ $HOSTNAME =~ .*\\.domain.com$ ]]; then COLOUR=$COLOUR_RED PROMPT_TEXT=\"PROD\" fi if [[ $HOSTNAME =~ .*\\.lab$ ]]; then COLOUR=$COLOUR_BLUE PROMPT_TEXT=\"LAB\" fi MYPROMPT=\"$COLOUR$BOLD$PROMPT_TEXT$COLOUR_RESET \\[\\u@$COLOUR$BOLD$(hostname -f)$COLOUR_RESET:\\w\\]\\$ \" PS1=$MYPROMPT UPDATE: @KamilMaciorowski has pointed out a similar question although it was not relating to a tput colors.",
"VBA Hide Rows that contain N/A",
"What is the optimal order of post-processing steps?",
"How to use exclamation marks in Minecraft commands? I know that you can use exclamation marks in Minecraft commands to check for an entity that does not have a specific tag. For example, you can use /kill @e[type=!Player] to kill all entities except for the player. I have, however, encountered two problems with using exclamation marks that I can't find a solution for. For my first problem, I've set up a series of command blocks to summon shootable fireballs above the player’s head when a certain item is being held; /scoreboard players add @a Fireball 1 {SelectedItem:{tag:{display:{Name:\"Summon Fireball\"}}}} /execute @a[score_Fireball_min=1,score_Fireball=1] ~ ~ ~ /summon Fireball ~ ~2.5 ~ {direction:[0.0,0.0,0.0]} /scoreboard players set @a Fireball 0 I used a comparator and a redstone torch so that the last command would activate when the first command would deactivate, that is, when the player is not holding the item. The problem is, that when I move far away from the setup, the redstone stops working, leaving me unable to summon any new fireballs. Instead, I'm trying to use a command block to check when anything except for item is being held; /scoreboard players set @a Fireball 0 {SelectedItem:{tag:{display:{Name:!\"Summon Fireball\"}}}} I’ve either put it at the wrong place, or you simply can’t use exclamation marks in NBT tags. Could someone tell me where I should put the exclamation mark, or in the latter case, how I can check for anything except for a specific item? Further, I’ve tried using exclamation marks to set the score of all entities, including the ones with a blank score, but except for the ones with a score of 2 or higher, to 0; /scoreboard players set @e[score_arrows_min!=2] Arrows 0 /scoreboard players set @a Arrows 1 {SelectedItem:{tag:{display:{Name:\"Rain of Arrows\"}}}} /scoreboard players set @e[type=Arrow] Arrows 2 {inGround:1b} The code does change the scores of entities without scores to 0, but it doesn’t exclude the arrows with a score of 2. Could anyone tell me what I’m doing wrong here?",
"How can I tell if sheet a exists in a workbook? I have the following code that's not working as expected: If Sheets(\"a\") <> \"\" Then MsgBox (\"sheet a exists\") How can I tell if sheet a exists in the workbook?",
"Creating and configuring .bash_profile I was setting path for anaconda. an answer to a question has the following solution. I searched for .bash_profile, but I can't seem to find it. How do I setup this file and get it to run on startup?",
"Don't impose delay loading Close dialog when you haven't just loaded it",
"Book identification about boy who gets computer zapped into head",
"What and with what was Luthor doing in the ship at the end of the movie? After Doomsday was defeated, a spec-ops team sent to the Kryptionian ship in Metropolis found Luthor submerged in water, in front of a... thing, which \"held\" three metal cubes. The thing looked up, roars, and dissipates into thin air. What the hell was that all about? I am really confused. What was that creature and what was Luthor doing with it?",
"What's the easiest way to install a missing Perl module? I get this error: Can't locate Foo.pm in @INC Is there an easier way to install it than downloading, untarring, making, etc?",
"Change web folders names with uppercase to lowercase or not?",
"I started by Time Series Analysis by Hamilton, but I am lost hopelessly. This book is really too theoretical for me to learn by myself. Does anybody have a recommendation for a textbook on time series analysis that's suitable for self-study?",
"How to turn off Facebook notifications on Mac OS X? How to turn off Facebook notifications on Mac OS X Mountain Lion?",
"I want to have more than one user logged on at the same time, on the same computer. Each user should have a full X session. It is easy enough to log in to multiple concurrent non-X Linux terminals, but I want the X factor. Maybe I've missed something, but I only see a Main Menu option to Log out of the current user, and nothing for Switch User. Is there a simple way to do this?",
"Last night I was updating my Ubuntu 10.04 to either 11.04 or 12.04 (I'm not entirely sure which one it was, but I think it was 11.04) and I left it overnight to finish. When I came down in the morning, I noticed that the computer hadn't barely begun installing the updates! The update thing said that my computer was on the installation step, but it was still preparing the libc bin (or whatever its called) . It's like the first part of the step installing the upgrades. So, I stupidly restarted the computer, and when it rebooted, I got five options on a purple screen: Ubuntu, with Linux 3.0.0-28-generic Ubuntu, with Linux 3.0.0-28-generic (recovery mode) Previous Linux versions Memory test (memtest86+) Memory test (memtest86+, serial console 115200) Long story short, not matter which way I enter Ubuntu to try and reinstall the updates using the root thing (it's like terminal) after I enter sudo apt-get update it basically said it failed to fetch every url link, and it then says: W: Some index files have failed to download. They have been ignored, or old ones used instead. W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So, I entered sudo dpkg --configure -a, and it says: dpkg: error: unable to access dpkg status area: Read-only file system\" I'm left like wtf, and I really just some guidance here. I just got this laptop, and I can not afford a new one if I broke this one."
] | medi_sts_stackexchange_dupe |
What is the correct CASE SELECT Statement in Access 2010? | Case expressions in Access | [
"How do you convert a cake recipe to make brownies?",
"Can you explain the sentence structure 'In a hole in the ground there lived a Hobbit'? Why put the verb before the subject? The opening sentence to The Hobbit by J.R.R. Tolkien reads, In a hole in the ground there lived [verb] a hobbit [subject]. I wonder if there are accepted stylistic purposes for such a structure. When is it natural, and when is it unnatural?",
"VirtualBox Toolbar is hidden! How to show it?",
"A finite sum involving the binomial coefficients and the harmonic numbers Wikipedia has a proof of the identity $$ H_{n} =\\sum_{k=1}^{n} (-1)^{k-1} \\binom{n}{k} \\frac{1}{k}$$ Curiously, there is also the identity $$ \\frac{1}{n} = \\sum_{k=1}^{n} (-1)^{k-1} \\binom{n}{k} H_{k} $$ Can the second identity be derived from the first one?",
"Why upload to academic preprint sites like arXiv? The recent question made me realize that I don't have any understanding of why one would upload to a preprint site. (I don't work in a field where they seem to be common.) Why would one be concerned about getting a manuscript on arXiv, if it's already under review with a journal? Is it because of the long publishing timeline of journals? (That could explain why computer science — which publishes much more in conferences — doesn't seem to do much with them.)",
"What Nikon lens for both macro and portrait? All three lenses are available at a local store near me: 85mm 1.8 at about 400USD 85mm 1.4 at about 1000USD 105mm 2.8 at about 1015 USD I plan on doing macro and portrait photography and have the ff thoughts so far: I can save a lot with the 85mm 1.8 and a site claims that AF-wise it is much faster than the 85mm 1.4 at twice the price 105mm has VR but I don't know if that would be of much use with portrait and macro as I usually don't use slow shutter speeds with such subjects 105mm has AF-S which means I can get better insect shots because of the silence( and the 105 mm range) I don't know why I should prefer the 85mm 1.4 over the 105mm, when the 85mm may only have AF speed as an advantage, though I am not so sure if it is faster so as you can see, I'm leaning towards 105mm f/2.8 or 85mm f/1.8 and less towards the 85mm f/1.4. However, I don't want to finalize the decision as many also claims that the 85mm f/1.4 is so good. Any professional insights to add in helping me make the decision?",
"change folder icons in ubuntu-mono-dark theme",
"How to split one string into multiple strings separated by at least one space in bash shell?",
"I have an external hard drive and I did something which I shouldn't have done, and I am annoyed that many files are prompting me about Administrator permissions to move a folder. They are regular files. How do I reset all the permission on the external hard drive?",
"Is it true that: $a+bi$ is prime in $\\mathbb{Z}[i]$ if and only if $a^2+b^2$ is prime in $\\mathbb{Z}$",
"How do i make my ubuntu server public? I want to know how to make my ubuntu server ip public. I'm not asking for a domain, if people would be able to access my website by ip, it would be great! (just for now) Does someone have an idea how to do this?",
"No space following macro without argument",
"Bread and butter is/are my breakfast? Bread and butter (is or are) my breakfast? And what's the difference between the above sentence and saying \"My breakfast is bread and butter\"? Thanks.",
"msbuild, defining Conditional Compilation Symbols I'm possibly just blind, but is there a command line to specify conditional compilation symbols in MSBUILD? I currently have this Line in my buildscript: SET MSBUILD=C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe SET CONFIG=Debug %MSBUILD% /p:Configuration=%CONFIG% /p:OutputPath=..\\..\\output source\\MyProject\\MyProject.csproj And I'd like to add a condition. In Visual Studio, i can just go into Project Properties => Build => Conditional compilation symbols, but I have not seen that option for msbuild? Bonus Karma if you know if I can completely override all symbols already specified in the .csproj files to make sure that only the conditionals from my Buildscript go in.",
"Spoilers for the end of the second film Towards the end of the fight against Ego, we see that the bomb Groot set off blows up Ego's core. Shortly thereafter, it cuts to a scene where Quill is shown apparently losing his powers. Given that the movie builds up this finale so much, I'm left wondering: Did Quill lose his powers or merely the means to access them after Ego's apparent death? Answers from the film or comics are very much welcome.",
"Position of a relative clause before/after a verb I'm not sure about the sentence structure below: All kinds of problems arise that smaller animals or plants do not have to cope with. It looks like that works as a relative pronoun for all kinds of problems, but I couldn't find such usage in my dictionary or online. This sentence could be divided into There are all kinds of problems. Smaller animals or plants do not have to cope with all kinds of problems. But, I can't figure out where 'arise' fits. If you have any thoughts, please share them.",
"Changing wp login url without .htaccess How to change wordpress login url without using .htaccess, should be a manual process, so example.com/login will not redirect to example.com/wp-login.php so example.com/login will be the login page?",
"In my assignment I have to prove that the following function doesn't have a limit: $$f(x)=\\frac{x}{x-\\lfloor{\\sin x}\\rfloor}$$ when $${x \\to 0}$$ In other words, I have to prove that for every $\\delta$ such that $0<|x-{x_0}|<\\delta,$ $|f(x)-L|>\\epsilon$. In fact, I don't even know how to start. Do I choose my $\\delta$? I know that the sin function has certain values that's supposed to help me. How do I use it? I have to prove this by definition, so I can't use limit arithmetic for example Thanks.",
"How to position the paper's authors' addresses on the front page (maketitle)? When I use the following code for the title page of a paper (please see below), the authors' addresses and emails appear on the last page of the paper. However I need them to appear on the first-title page (after the authors' names before the abstract). How can I do this? \\documentclass [reqno, 12pt ]{amsart} ... \\begin{document} \\title[paper]{Nice paper} \\author{Me} \\address{University} \\email{[email protected]} \\thanks{.} \\author{my friend} \\address{Institute} \\email{[email protected]} \\thanks{.} \\date{\\today} \\keywords{XXX } \\begin{abstract} Lalala \\end{abstract} \\maketitle",
"Let's say I want a way to display just the the center 50x50px of an image that's 250x250px in HTML. How can I do that. Also, is there a way to do this for css:url() references? I'm aware of clip in CSS, but that seems to only work when used with absolute positioning."
] | medi_sts_stackexchange_dupe |
How to compile and install a driver for TP-Link TL-WN823N WiFi adapter on Ubuntu 18.04.4 LTS | Can't install rtl8192eu-linux-driver on UBUNTU 18.10 | [
"Is there any way to script Windows 10's \"color filter\" feature programmatically?",
"$$(1+2+\\cdots+n)^2=1^3+2^3+\\cdots+n^3$$ I noticed this only because $\\displaystyle \\sum_{i=1}^n i = \\frac{n(n+1)}{2}$ and $\\displaystyle \\sum_{i=1}^n i^3 = \\frac{n^2(n+1)^2}{4}$. But the two things look completely different and I can't think of an intuitive reason I would have seen this connection. Something like the 'Proof Without Words' images. Or a trick I could use while expanding the right hand side to transform it to the sum of cubes.",
"Force figure placement in text I have a problem when a lot of figures are in question. Some figures tend to \"fly around\", that is, be a paragraph below, although I placed them before that paragraph. I use code: \\begin{figure}[ht] \\begin{center} \\advance\\leftskip-3cm \\advance\\rightskip-3cm \\includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \\caption{} \\label{visina8} \\end{center}\\end{figure} to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?",
"Cycles not rendering image or movie clip used as background in the viewport",
"Combine or rebase an arbitrarily large number of commits",
"pgrouting unexpected output",
"Proper use of passive and active voices?",
"Now that El Capitan is \"rootless\", is there any way to get dtrace working? I've found dtrace to be an invaluable tool for debugging and troubleshooting all sorts of issues, not to mention the two dozen dtrace toolkit scripts shipped by Apple as part of El Capitan. On El Cap though, running dtrace usually results in an endless spew of errors making dtrace all but useless.",
"Is it acceptable to use \"whose\" when referring to an object? Whose is used for people (e.g. \"Whose that girl?\"), but is it acceptable to use whose for objects too? Is there another word I should use for objects? To make the question clearer, when I ask \"Whose that car?\" I am expecting an answer similar to \"It's X's car.\" where X refers to a person. I could say \"a man whose opinion I respect.\" and whose opinion would refer to the opinion of a person. Could I say \"the desk whose drawer was broken by my brother\"? Should I replace whose with another word?",
"Why does unequal amounts of RAM in each slot decrease performance? describes the RAM specifications for many of the MacBook laptops. In the section for my laptop (13\" Pro Late 2011), it says: Additional Notes: For best performance, fill both memory slots, installing an equal memory module in each slot. This isn't the first time I've heard of this phenomenon, and it's definitely not specific to Apple. Why is this the case? Other than the obvious decrease in available memory, why would it be worse to run with 6GB (1x4GB + 1x2GB) than with 8GB (2x4GB)?",
"Can I have multiple DHCP servers on one network? This is a about Redundant DHCP Servers. Is it possible to have more than one DHCP server on the same LAN? What are the implications of doing this? What happens if there is more than one DHCP server available? How do my clients know which one to use? How can I have DHCP servers supplying addresses to more than one subnet\\network segment? How can I configure multiple DHCP servers to supply addresses for the same subnet.",
"In the Phone app (iPhone 5, iOS 6.1.2), I click on a contact's number, the call is initiated and starts ringing. For a brief moment at this point, the label of the number (home / work / etc…) is displayed alongside the contact's name, but it quickly is removed and replaced with the call timer counting up and only the name (and picture of the contact) are shown. How can I see the number that is being called during a phone call?",
"I've been using the $K$-fold cross-validation a few times now to evaluate performance of some learning algorithms, but I've always been puzzled as to how I should choose the value of $K$. I've often seen and used a value of $K = 10$, but this seems totally arbitrary to me, and I now just use $10$ by habit instead of thinking it over. To me it seems that you're getting a better granularity as you improve the value of $K$, so ideally you should make your $K$ very large, but there is also a risk to be biased. I'd like to know what the value of $K$ should depend on, and how I should be thinking about this when I evaluate my algorithm. Does it change something if I use the stratified version of the cross-validation or not?",
"Counting the Lotto number draws which contain consecutive numbers",
"The word that always gets me mixed up : JUST I had just arrived at the hotel, checked in and gotten into my room. Just as I was about to unpack, I noticed that one of my bags was missing. At first I thought I had left it back at the airport, but it turned out that I had left it on the taxi. Here, what's the meaning and role of \"just\"? Why do you guys input the word \"just\" here? What exactly does the word do grammatically? Could you help me?",
"Can HTML checkboxes be set to readonly? I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting the readonly attribute doesn't actually seem to do anything. I'd rather not use Disabled, since I want the checked check boxes to be submitted with the rest of the form, I just don't want the client to be able to change them under certain circumstances.",
"I get this error message NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305] on the startup of my system (even with live-cd). My PC is a dell inspiron 7559 with intel graphic and nvidia. UPDATE - this issue also happens when attempting to install ubuntu 18.10 using LiveUSB",
"Someone edited my message on StackOverflow, but it really bugs me out. I'm not sure what's wrong with it: As you see, the bigger the circle becomes, the more vertices I need for hiding the straight lines. As you see, the bigger the circle becomes, the more vertices I need to hide the straight lines. The latter (corrected) sentence just bugs me out for some reason. It would sound better if there was a comma after the word \"need\", perhaps, but I guess that would be even worse in means of grammatical correctness. Can someone explain why is the first sentence bad and the second sentence correct? And could there even be better solution to fix the first sentence?",
"How do I fix my USB drive to get its original 8GB size back? My USB drive used to be originally 8GB when I bought it. I'm trying to reformatted in Windows 7 by right clicking on the drive and selecting Format.... But the capacity only shows 250MB. Is there something I can do to get the original size back? Maybe it got partitioned in a weird way? The flash drive is a SanDisk Cruzer Micro 8GB. I got it from Wal-Mart but this is the same drive.",
"Since I've a database systems examination in less than 3 hours (from now), I have been browsing Stack Exchange network for questions with normalisation and related tags. Most of the questions are now closed as or others from the list. Since, these questions are closed, no users are allowed to post answers to them (unless they are reopened). Why am I, then, allowed the option to protect such questions? Doesn't that beat the entire purpose behind \"protecting\" a question?"
] | medi_sts_stackexchange_dupe |
send email and https problems | How do you make sure email you send programmatically is not automatically marked as spam? | [
"I wanted to change my own password (as an admin) so I did the following command: sudo passwd and then it prompted for a password but when I tryed to relog, my password was not changed. I'm now wondering what password did I changed since it did prompted me to enter a password but I'm not sure what password did it changed exactly. I know that if I do sudo passwd <MY_USER> it works, I'm just wondering without a user what happens. Thank you",
"Let $A,B$ be any two sets. I really think that the statement $|A|\\leq|B|$ or $|B|\\leq|A|$ is true. Formally: $$\\forall A\\forall B[\\,|A|\\leq|B| \\lor\\ |B|\\leq|A|\\,]$$ If this statement is true, what is the proof ?",
"$\\mathbb Z[i]/ \\langle 1+2i \\rangle \\cong \\mathbb Z_5$",
"Implementing a Custom Subscription Center in Salesforce Marketing Cloud Has anyone implemented a custom subscription center using landing pages? The example one from the documentation doesn't seem to be working. I would really like to just customized the out of the box one but the amp script is hidden when I view source. Does anyone have and tips/tricks for creating a sub center? Thanks!",
"Prove that a power series $\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$ which converges for any $z \\in \\mathbb{N}$, converges for any $z \\in \\mathbb{C}$. PROBLEM Prove that a power series $\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$ which converges for any $z \\in \\mathbb{N}$, converges for any $z \\in \\mathbb{C}$. MY ATTEMPT Since the power series $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ converges for any $z \\in \\mathbb{N}$, then $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ can be considered (?) to be a polynomial in $\\mathbb{C}$. Hence, $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ is entire, and therefore continuous in $\\mathbb{C}$ (since differentiability implies continuity). It follows that $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ converges for any $z \\in \\mathbb{C}$. QUESTION I am aware that, while I may have (some) ideas for a (general) proof, admittedly there are several grey areas (i.e., gaps) that need to be filled. Would you be kind enough as to fill in these gaps, by providing useful hints?",
"Show that $ \\sum_{n=2}^m \\binom{n}{2} = \\binom{m+1}{3}$",
"I am moving from one job to another (postdoc to tenure track) this summer and I have papers in several stages of being written, these go from handwritten notes with all the necessary arguments to under revision at a journal. All the papers will have my new contact information put on them but where is the line for changing affiliation? It seems obvious to me that the one that is still in the handwritten notes stage will get the new affiliation and that the ones under revision won't. So somewhere in between is a line. Where is it? There are some similar questions so far (see and but they do not seem to be quite the same situation since I am not changing fields and the appointments are not concurrent.",
"I have a common scenario in app design, where I need to store an ordered list, and make the ordering easily accessible and adjustable via an application UI. The ordering operations are simple and operate on only one item at a time - move to top, move to bottom, move up one position, or down one position. These positioning operations may be interspersed in with typical add / edit / delete list operations. For discussion, this is a single-user app and db store. Because the objects can be highly complex, I'd like to avoid caching the entire list client-side, and tracking newly created objects in memory until a big save operation occurs. I am using MS-SQL almost exclusively on these projects, and I'm wondering if there are db features, SQL features, or design patterns I should be using to better support the management of ordered lists. My current approach is to use a DECIMAL column to store the list positions, which become fractional during the item move process. Then I sort the list and re-generate integer positions to normalize list. Following this operation, it's ready for another item move. In an example implementation, I create a column named Seq for position tracking. Once decimal place is enough for the .5 storage. [Seq] [decimal](10, 1) NOT NULL When an item is re-positioned in the app UI, I UPDATE that record with new Seq value I retrieve the full table, sorted ascending by Seq and regenerate all Seq values in the table from a 1-based integer series The new Seq value is easily calculated- Move to top = 0 Move to bottom = MAX(Seq) + 1 Move up = subtract 1.5 from the current Seq value Move down = add 1.5 to the current Seq value As lists get longer, updates get slower, since I'm doing N UPDATE statements, where N is the number of rows in the table, so it seems only suitable for small tables. Is there some kind of in-built capability for managing an ordered list in SQL or MS-SQL? Is there a means to update multiple rows in one call? A far more performant approach would be to allow more decimal places, and then position at the median of the two adjacent items, with no re-sequencing on the list. Move to top = Min(Seq) - 1 Move to bottom = MAX(Seq) + 1 Move up = median of the 2 previous item Seq values Move down = median of the 2 following item Seq values This approach only requires one SELECT (containing 2 rows max) and one UPDATE. However with enough re-positions I imagine the field would run out of decimal places. For example, if I start with items at positions 10 and 11, and keep moving items down the list from position 9, they'd be given sequences of 10.5, then 10.25, then 10.125. After 10 moves, the positions get lengthy... 10.0009765625. UPDATE #1 - IMPROVED RE-SEQUENCING OF THE LIST Regarding re-sequencing, I'm more caught up on row_number(), OVER, and WITH capabilities in MS-SQL. It's nice to find that there's a much smoother way to re-sequence the list in a single UPDATE operation; with OrderedItems as ( select ItemID, Seq, row_number() over (order by Seq asc) NewSeq from Items ) update OrderedItems set Seq = NewSeq",
"Without a physical form, what would Sauron have done had he recovered the Ring? Assuming one of Sauron's servants managed to recover the Ring, what exactly would Sauron do with it? He had no physical body to manipulate it and no finger to put it on. I guess he would have constructed a physical body for himself, but how? How would he get in \"possession\" of his Ring again? Just by a small enough distance between the Ring and the \"Eye of Sauron\"? What would be the scenario of the event when one of Sauron's servants returns with the Ring?",
"Heroku and Twisted",
"SF Short Story about resetting the world every day Trying to identify a short story. I recall it was quite short, shorter than a novella. I read it within the last few years, but my impression is that it's from the second half of the twentieth century, maybe the sixties. I can't recall if I read it online, in an anthology, or collection. Set in America, a middle-aged man stumbles on a team (maybe like dwarves or gnomes) whose job it is to set up the world for the next day by removing all the previous day's "stuff", like street furniture? (I know that makes no sense). He disrupts this process and somehow prevents progressing to the next day. I also remember the story was quite lighthearted with the team behaving in a very grumpy way like interrupted workmen. I thought the title was something like "What happened to Tuesday" or similar. For some reason, I thought it was by Keith Laumer, but a search doesn't reveal anything. The trope was similar to "The Tunnel Under the World" by Pohl, and "The Adjustment Team" by Dick, in that reality was constantly changed and controlled by an organisation of some kind.",
"How to let the user switch language in playframework 2",
"How can I edit my network profile independently? My oldest account on the network is Area 51, followed by Mi Yodeya. I recently filled out the \"about me\" section on Mi Yodeya (but nowhere else) and did not choose the \"update all sites\" option because my blurb is pretty specific to that site. I intended to have that blurb on exactly one site. I was surprised tonight to discover that that blurb is now on my network profile, where I see no \"edit\" link. Am I stuck with either having a site-specific blurb as my network blurb (because it's my first non-Area-51 site) or rewriting it to be more general? Or is there some way that I can independently edit the network profile? (Or designate a different site as the default?) shows that someone else had this problem too, but I'm asking for support, not for a new feature, so I'm asking this separately.",
"How can PPAs be removed? I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there. This is on a server system so a command line solution would be great!",
"Preview on the right please, optionally?",
"Reduction Integration of $I_n=\\int{\\frac{x^n}{\\sqrt{x^2+a^2}} dx}$ How do I derive this using reduction formula? $$I_n=\\int{\\frac{x^n}{\\sqrt{x^2+a^2}} dx}$$ I got $\\sqrt{x^2+a^2}(x^n) - \\frac{1}{n-1}(x^{n-1})\\sqrt{x^2+a^2} + \\frac{1}{n-1}(I_n) $ . I'm not too sure if this is correct. I would appreciate any form of help or correction to my answer. Thank you.",
"I've started trying to make a 3D model that I will end up exporting to an augmented reality app but I've hit a problem in terms of the particle system. The app wants the 3D file in .dae(collada) format which blender allows, but it doesn't seem to export particle systems. I've read that blender doesn't support exporting particle systems at all so I'm now focused on converting the particle system to lots of meshes which will (hopefully)animate using key frames. Then I can export all the meshes and the particles will 'work'. Currently I'm just using a standard particle system emitting small icospheres. I've tried a few different techniques, such as 'make duplicates real' and using a particle instance instead but they don't seem to animate. Instead it just freezes the current frame into an object(which exports fine but is not what I want). I've also tried recording the animation in the blender game engine but particle systems don't work with it so that didn't work either. Any help would be appreciated! Thanks",
"Were there any improvements to the second Death Star (other than the change in exhaust port) that we know of? We know that the second Death Star was meant to have a different/non-existent exhaust port and when under construction it had a shield projected around it. Other than these elements, one of which was planned to be totally temporary, do we know of any other improvements over its predecessor? Did it have improved defences against one-man fighters? Did its laser charge more quickly? Did it have an upmarket cafeteria?",
"Load CSS/Javascript in frontend conditionally if block is used Assuming I have no infinite scroll or anything else going on in my theme: Is there a way to enqueue my custom Gutenberg block styles and scripts so they are only (lazy) loaded in the front-end when the block is really used? Something like is_active_widget, just for blocks? If I enqueue them inside a enqueue_block_assets function they're added to any site. On github, I found this , but it sounds like it's more on bundling than conditional load, so I still hope they didn't leave that optimization opportunity out - otherwise any other site will soon be junked with 20 additional scripts from numerous Gutenberg block plugins people install and only use once on a page (think of large image gallery block scripts for example). Thanks & Regards!",
"Viewed, deleted comments staying in inbox Lets start with a life-like scenario. User A receives an offensive comment in his inbox from the OP of a question. A then clicks on the notification in order to flag the offending comment. A mod sees the flag and deletes the comment. Shortly after, the question is also deleted. Because A clicked on the notification in the inbox, that notification is still in A's inbox, with the offensive part of the comment still visible. Edit: The flag was marked helpful because the post was deleted, not because the comment was deleted by a mod. Please note that although the behaviour of the notifications is as it is supposed to be, this does not fix the possible problem of such notifications "hanging around". User A can't get rid of that comment in any way, and it may be a long time before it is flushed out by new messages. This issue is mentioned in but it is supposed to be that comments on a post that you own can hang around, not on someone else's post. is speaking about comments which have not been read and this . To me this seem like an important issue. To have to see an offensive message every time you open your inbox is not a good thing. I can think of two ways in which this problem can be avoided: Make sure notifications for deleted comments don't hang around (this I'm sure is the easier option) Allow users to delete unwanted notifications (this could be useful, as this would also allow users to remove notifications that they are not interested in, or even just to keep their inbox uncluttered. It would most likely be hard to implement, though.) What are your thoughts on this?"
] | medi_sts_stackexchange_dupe |