query
stringlengths
6
215
document
stringlengths
50
1.23k
negative
sequencelengths
15
209
dataset
stringclasses
1 value
What is the purpose of the column length in TINYINT(M)?
Types in MySQL: BigInt(20) vs Int(20)
[ "Microsoft recommends using Rowversion over timestamp, but I can not find \"rowversion\" data type inside my sql server 2008 R2 Microsoft mentioned that we should use the rowversion data type over Timestamps. Now inside my SQL Server 2008 R2, I want to create a column with the Rowversion data type. But in my SQL Server 2008 R2 Management Studio, I cannot find such a data type: Also when I tried altering existing column named timestamp which is of type timestamp using this statement: ALTER TABLE [SkillManagement].[dbo].[Customer] ALTER COLUMN timestamp rowversion I get this error: Msg 4927, Level 16, State 1, Line 1 Cannot alter column 'timestamp' to be data type timestamp Can anyone advise? EDIT", "Is there a picture showing all the lengths used in lists?", "is there any diffrence to use nonlinear or liner activation function in single hidden layer network", "According to the documentation, the method uses a round-to-even algorithm which is not common for most applications. So I always end up writing a custom function to do the more natural round-half-up algorithm: public static decimal RoundHalfUp(this decimal d, int decimals) { if (decimals < 0) { throw new ArgumentException(\"The decimals must be non-negative\", \"decimals\"); } decimal multiplier = (decimal)Math.Pow(10, decimals); decimal number = d * multiplier; if (decimal.Truncate(number) < number) { number += 0.5m; } return decimal.Round(number) / multiplier; } Does anybody know the reason behind this framework design decision? Is there any built-in implementation of the round-half-up algorithm into the framework? Or maybe some unmanaged Windows API? It could be misleading for beginners that simply write decimal.Round(2.5m, 0) expecting 3 as a result but getting 2 instead.", "How to get GNOME Shell \"Applications overview\" to show the full name of applications", "Why does 1+++2 = 3? How does Python evaluate the expression 1+++2? How many ever + I put in between, it is printing 3 as the answer. Please can anyone explain this behavior And for 1--2 it is printing 3 and for 1---2 it is printing -1", "Rkhunter warnings help I installed Ubuntu 14.04 a few days ago. I've made a scan with a RkHunter and got a few warnings that I don't really know what to do with. I read about false positives a little bit but I didn't find the answer for myself really. I got those errors: Checking /dev for suspicious file types [ Warning ] [19:44:16] Warning: Suspicious file types found in /dev: [19:44:16] /dev/.udev/rules.d/root.rules: ASCII text [19:44:16] Checking for hidden files and directories [ Warning ] [19:44:16] Warning: Hidden directory found: /etc/.java: directory [19:44:16] Warning: Hidden directory found: /dev/.udev: directory [19:44:16] Warning: Hidden file found: /dev/.initramfs: symbolic link to `/run/initramfs' Checking for group file changes [ Warning ] [19:44:16] Warning: Group 'winbindd_priv' has been added to the group file. Should I be worried ?", "Suppose f is a twice differentiable function with $f(0)=0$ and $f(1)=1$, $f'(0)=f'(1)=0$. Then show that $|f''(x)| > 4$ for some $x$ in $(0,1)$", "How I would go about getting the current users username or first and last name? I have been looking at this for the last couple of hours - I was just wondering how I would go about getting their name and then displaying it on the page. For example the current user is 'John Smith' and in the lightning component I want to output John Smith's name like: Welcome to our community John Smith!", "How do you make Ubuntu accept files sent over bluetooth I have a problem when I send my files from phone to ubuntu 12.04 via bluetooth as the phone prompts with the message \"the file not sent\"! I can send any files from ubuntu 12.04 to my android phone.", "Solve $\\frac{d}{dx}f(x)=f(x-1)$ I am trying to find a function such that $\\dfrac{d}{dx}f(x)=f(x-1)$ Is there such function other than $0$ ?", "Prove that $\\int_0^1t^{p-1}(1-t)^{q-1}\\,dt=\\frac{\\Gamma(p)\\Gamma(q)}{\\Gamma(p+q)}$ for positive $p$ and $q$ I'm trying to prove that for $p,q>0$, we have $$\\int_0^1t^{p-1}(1-t)^{q-1}\\,dt=\\frac{\\Gamma(p)\\Gamma(q)}{\\Gamma(p+q)}.$$ The hint given suggests that we express $\\Gamma(p)\\Gamma(q)$ as a double integral, then do a change of variables, but I've been unable thus far to express it as a double integral. Can anyone get me started or suggest an alternate approach? Note: This wasn't actually given to me as the $\\Gamma$ function, just as a function $f$ satisfying $$f(p)=\\int_0^\\infty e^{-t}t^{p-1}\\,dt$$ for all $p>0$, but I recognized that. This is in the context of an advanced calculus practice exam.", "If a>0 and b>0, $ \\lim_{x\\rightarrow +\\infty } \\sqrt[x]{a^x+b^x} = ? $ What I was trying to do: Suppose a>b. Then, for sufficiently large values of x, $ a^x >> b^x $; so $\\sqrt[x]{a^x+b^x} \\rightarrow \\sqrt[x]{a^x} \\rightarrow a $ when $x \\rightarrow +\\infty$. Is that idea correct? How can I formalize it?", "I'm using Ubuntu 16.04 and there's no fglrx! What happened?", "Need to schedule a job every hour in jenkins I'm New to Jenkins. I have a job which i need to schedule every 1 hour. I am using * */1 * * * but it is not working effectively. Please provide any other solution.", "Alright, when I run certain commands the wrong way, (misspelled, etc.) The terminal outputs this: > instead of computername:workingfolder username$, and when I type enter it goes like this: > > > That would be if I pressed enter 3 times.", "Files list file for package missing -- dpkg warning I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is: Selecting previously unselected package oracle-java8-installer. dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed E: Sub-process /usr/bin/dpkg returned an error code (2) I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue?", "On the left is the normal map generated by the Bevel node. On the right is an unbeveled cube with the Bevel node in action. I wish to convert this to a BW map where The edges/gradients are highlighted and the rest isn't. Does anyone know if this can be achieved with more nodes?", "I was wondering if there was any was I could right click inside any instance of a \"Finder\" window such that I have an option that says \"Open Terminal Here\". It would be really helpful.", "Impose strict time-limit for questions on Hot Network Questions list" ]
medi_sts_stackexchange_dupe
Over a dozen close recommendations are needed?
How many "Recommend Close" votes is too many?
[ "A word used to describe someone who loves to be photographed", "While studying rotational mechanics, I came across a section where it mentioned that angular momentum may not necessarily be parallel to angular velocity. My thoughts were as follows: Angular momentum ($L$) has the relation $L=I\\omega$ where $\\omega$ is angular velocity and $I$ is the moment of inertia, so following this relation, it seems they should be in the same direction. Why are they not?", "What the difference is here? Are you seeing ? VS Do you see? Are you seening family members arriving at the hospital to find some of the miners? ( exact quote from BBC presenter asking someone over the phone ) Do you see ....... Difference in meaning not grammar.", "How to assign many variables the same value in a smart way?", "Is an Otyugh's grapple different from a standard grapple? In 5e to escape a Grapple check, I know you roll athletics (str) or acrobatics (dex) opposed by an athletics (str) check. In the Otyugh entry in the Monster Manual it doesn't say there's any check, instead it assigns a set DC for an \"escape\" (DC 13... which is a str check with a 10 assigned as the \"roll\"). So the question is: Does the Otyugh actually make a roll in this instance (like the general rule) or does it have a set DC (for the specific case) OR is it just a poorly communicated version of the GENERAL rule being played out? A little clarification on this would be AWESOME. In the event of a \"specific vs general\" scenario, what actually is the \"escape\" roll? What modifier is applied? None?", "I created a custom module in drupal 8. And I am trying to add js and css file in my_module.libraries.yml file using this lrv_key: version: 1.x js: js/lrv.js: {} dependencies: - core/jquery - core/drupalSettings css: theme: css/lrv.css: {} But it doesnt work.", "This morning, I read Wikipedia's informal definition of a limit: Informally, a function f assigns an output $f(x)$ to every input $x$. The function has a limit $L$ at an input $p$ if $f(x)$ is \"close\" to $L$ whenever $x$ is \"close\" to $p$. In other words, $f(x)$ becomes closer and closer to $L$ as $x$ moves closer and closer to $p$. To me that sounds like something that might be better described as a 'target'. If I take a simple function, say one that only multiplies the input by $2$; and if my limit is $10$ at an input $5$: then I've described something that seems to match the elements contained in Wikipedia's definition. I don't believe that that's right. To me it looks like an elementary-algebra problem ($2p = 10$). To make it more calculusy, I could graph the function's output when I use inputs other than $p$, but that really wouldn't give me anything but an illustration of the fact that one's answer moves farther from the right answer as it becomes more wrong (go figure). So limits are important; what I've just described is trivial. I do not understand them. I know calculus is often used for solving real-world challenges, and that limits are an important element of calculus, so I assume there must be some simple real-world examples of what it is that limits describe. What is a simple example of a limit in the real world? Thank you -Hal.", "ArrayList object sorting confusion", "I have a question about my choice of name for publication. I recently got married and legally changed my name to my husband's surname (for example's sake: from Hunter to Jones). So, despite legally being Ms Jones now, I would quite like to use the hyphenated name Hunter-Jones in the professional context and in publications. This is so that people realise that it is still me and so that I can somewhat keep my maiden name. Is this possible or do I have to use my legal name professionally and when publishing? Thank you for any help", "Fred and George stumbled upon the Marauder's map in their first year. They passed it on to Harry while in their fifth year. Also note that, while talking to Harry on the train, Ron described Scabbers as being \"Percy's old rat\". Hence, we can safely assume that the twins had the Marauder's Map for about five years. How could they not see Peter Pettigrew on the map, with Percy for first two years and with Ron for the next three years? How come Harry didn't see Peter? How was Lupin the only one able to see Peter on the map?", "What is the Fastest a Character Can Move in One Turn? At level 20 with any magic items in the DMG, and any spells, what is the fastest a DnD 5e character could move using their movement? (i.e., not including teleportation)", "How to prevent ENTER keypress to submit a web form?", "I really tried hard to do this on my own, but I keep failing ... Using multi-column and multi-row commands confused me. I know some of you might frown upon such a request but I really need help getting this table implemented .. So I'm sorry if I upset anyone. My preamble has : \\documentclass[12pt,a4paper]{report} \\usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \\linespread{1.5} Is there a way I can convert this from excel to LaTeX form ? I tried an add-in before but it didn't work for me. Also online generators cannot combine cells the way I want them (unless I didn't find a better table generator ? )", "Can I access private members from outside the class without using friends?", "I'm curious to know how important the bias node is for the effectiveness of modern neural networks. I can easily understand that it can be important in a shallow network with only a few input variables. However, modern neural nets such as in deep learning often have a large number of input variables to decide whether a certain neuron is triggered. Would simply removing them from, e.g., LeNet5 or ImageNet have any real impact at all?", "I have this value How to read that in English? translating from my native language, I would say Ten base of nine. but is that really correct?", "I need to make Windows 7 STOP disabling the wifi adapter when the wired LAN is connected This is a Dell Latitude E6430. There is a setting in the bios to control this behavior and I have DISABLED it but it still happens. I am also running the latest bios. When I plug in a network cable the wifi adapter becomes disabled. I need it to stay enabled. What else could be making this happen? EDIT: The reason I need to do this is because with NETSH WLAN commands you can create a wifi hotspot by sharing the internet connection on the wired adapter and broadcasting a ssid on the virtual wifi nic. I do this all the time but it's not working on this laptop. I'm wondering if it's a network security thing where I am. I'm going to try from my hotel tonight and report back.", "Why are the orbits of planets in the Solar System nearly circular? Except for Mercury, the planets in the Solar System . Is this property special to the Solar System? : Most exoplanets with orbital periods of 20 days or less have near-circular orbits of very low eccentricity. That is believed to be due to tidal circularization, an effect in which the gravitational interaction between two bodies gradually reduces their orbital eccentricity. By contrast, most known exoplanets with longer orbital periods have quite eccentric orbits. (As of July 2010, 55% of such exoplanets have eccentricities greater than 0.2 while 17% have eccentricities greater than 0.5.) This is not an observational selection effect, since a planet can be detected about equally well regardless of the eccentricity of its orbit. The prevalence of elliptical orbits is a major puzzle, since current theories of planetary formation strongly suggest planets should form with circular (that is, non-eccentric) orbits. What is special about the Solar System that orbits of planets here are nearly circular, but elsewhere they are moderately or highly eccentric?", "How to include graphics with spaces in their path?", "Am wondering if somewhere there is a list of industry \"minimums\" for browser support. My company release two \"portals\" over the past 6 months and did very little to support IE8 users, who at this time, according to my G Analytics makes up about 14% of all IE visitors. Amazingly enough IE7 is 25%... Figured support for IE7 was out the window already, but figured 14% was significant enough to warrant some support. Any arguments to support my side of wanting to support IE8? Any arguments to NOT support IE8?" ]
medi_sts_stackexchange_dupe
Single Email Limit Exceeded Error
SINGLE_EMAIL_LIMIT_EXCEEDED. What does it mean?
[ "Is there a rule of integration that corresponds to the quotient rule?", "How do I convert my PhD dissertation so that it can be published as a book? I have just completed a PhD by research, which I think has some merits in being available as a book (This is, of course, my personal opinion). The research cuts across several fields (e.g. sociology, public policy). I am wondering what I need to do to take the next step. In particular: How do you turn an academic piece like the dissertation (which is written for the examiners) into a book (which is for the general public)? How do I find publishers who specialise in my field?", "Batch fit images into ratio with blurred background", "Importing a Single Symbol From a Different Font Is there a general way to change the font of a particular symbol without switching packages? For example, suppose I'm using Computer Modern for my entire document, but I want the \"subset\" operator to look as it does in mathabx. How can I redefine it to appear in this way?", "How can I check if a program exists from a Bash script?", "Is it possible to make the -init method private in Objective-C?", "How to show that the monomials are not a Schauder basis for $C[0,1]$ why the monomials are not a Schauder basis for $C[0,1]$? $p_n(x)=x^n$ such that $(p_n)$ does not form a Schauder basis for $C[0,1]$ span$\\lbrace p_n : n\\ge 0\\rbrace$ is dense in $C[0,1]$ by Weierstrass approxmation theorem, but I cannot figure out why they are not a Schauder basis. Could you please explain", "Do I have to do any configuration to start brace expansion? When I run mkdir {1..10}, it just creates a dir naming {1..10}.", "Similar matrices and field extensions Given a field $F$ and a subfield $K$ of $F$. Let $A$, $B$ be $n\\times n$ matrices such that all the entries of $A$ and $B$ are in $K$. Is it true that if $A$ is similar to $B$ in $F^{n\\times n}$ then they are similar in $K^{n\\times n}$? Any help ... thanks!", "Using uniform coloring in MatrixPlot", "I want to use the get_option() function of wordpress in one of my theme's files, which is not related to WP, it is just located in the same directory of the other theme files. I need this file because of some extra IPN paypal related actions, but I need some values from the options table that exists in WP to be called in this page in order for it to work. I know I can't just use get_option() as this file is overlooked by wordpress. Is there any approach by including some parts of wordpress in my theme to make this functionality only work?", "I understand there is a method for solving simultaneous modular equations. For example; $$x = 2 \\mod{3}$$ $$x = 3 \\mod{5}$$ $$x = 2 \\mod{7}$$ We find numbers equal to the product of every given modulo except one of them - giving $5 \\cdot 7$, $3 \\cdot 7$ and $3 \\cdot 5$. We then find the multiplicative inverses of these numbers with modulo equal to the number missing from the product. The numbers found are then 2, 1 and 1 in this case. The value of x is then given by: $$x = 2 \\cdot (5 \\cdot 7) \\cdot 2 + 3 \\cdot (3 \\cdot 7) \\cdot 1 + 2 \\cdot (3 \\cdot 5) \\cdot 1 = 233 = 23 \\mod{3\\cdot5\\cdot7}$$ But I do not understand how this method correctly gives the value of $x$. I understand that the Chinese remainder theorem proves that there is a unique value of $0\\le x \\lt 3\\cdot5\\cdot7 \\mod{3\\cdot5\\cdot7}$ but can someone please explain why this method finds this value of x?", "In the simple linear regression case $y=\\beta_0+\\beta_1x$, you can derive the least square estimator $\\hat\\beta_1=\\frac{\\sum(x_i-\\bar x)(y_i-\\bar y)}{\\sum(x_i-\\bar x)^2}$ such that you don't have to know $\\hat\\beta_0$ to estimate $\\hat\\beta_1$ Suppose I have $y=\\beta_1x_1+\\beta_2x_2$, how do I derive $\\hat\\beta_1$ without estimating $\\hat\\beta_2$? or is this not possible?", "At the end of the new Guardians of the Galaxy Vol. 2 Trailer we meet Star Lord's father: Dad appears to be human. But Peter Quill's mother said in the first film that his father was a \"being made of pure light\". What race (species?) is Star Lord's father in the MCU?", "Copy-paste functionality stops working after about an hour after each reboot on a Windows 7 64-bit system. Running Google Chrome (with gmail and few other tabs open like Calendar, Reader), MS Outlook (which I don't think has anything to do with the problem — I saw it when outlook was off as well), iTunes (9.1.1.12 if it matters). Would appreciate hints where and what for to look in a registry, and ideas for possible fix. That is not an Internet Explorer problem (I don't even run it) — it happens in all applications. Neither Ctrl-C/Ctrl-V nor context menu right-click Copy-Paste (actually, nothing happens on Copy, so there is nothing in a clipboard to Paste) are working. Drag-and-Drop (where supported) continues working though.", "Showing that the class of all sets of a particular cardinality is not a set. How to show that the class of all sets of a particular cardinality ,say $h$ is not a set. My argument: I assume that I've shown the following lemma. Lemma: If $X$ is an infinite set of cardinality $h$ , $a\\ne x$ for every $x\\in X$ then $\\{a\\}\\cup X$ is of cardinality $h$ too i.e. adding new element to an infinite set doesn't change cardinality. Let $h$ be an infinite cardinal number. Let $T_h=\\{x:\\text{x is a set of cardinality h}\\}$. Suppose $T_h$ is a set. Let $a$ be any set and consider any $t\\in T_h$. Let $R=t\\cup \\{a\\}$. Using the above lemma, $R\\in T_h$. So, $a\\in R\\subset \\bigcup T_h$. As $T_h$ is a set then $\\bigcup T_h$ is also a set. As $a$ was arbitrary set then we have, $a\\in\\bigcup T_h$ for every set $a$. Hence, the set $\\bigcup T_h$ contains all sets which meas that the collection of all sets is a set, contradiction. If $h$ is non-zero finite cardinal number. Define $T_h$ the same way as above. Let $a$ be any set, Let $A_1=a, A_{n+1}=A_n\\times a$. Consider $A=\\{A_1,A_2,...,A_h\\}$. So, $A\\in T_k$. Hence, $a=A_1\\in \\bigcup T_h=K$. So K is a set containing all sets $a$ since $a$ was arbitary,contradiction. My main question is, Is there any flaws in my argument? If yes, point it out please. If the argument is valid, Is there any standard proof to show the same fact?", "Run a command on all subfolders If you have a series of subfolders (like from a to z) and want to run a command on each one of them (like rm *.pdf or ls *.pdf), how do you do that? The \"manual\" approach would be cd a, rm *.pdf, or ls *.pdf, cd .., cd b, ... That seems too complicated, so I believe there must be an easier approach.", "Posting a Solution of a problem that You faced to Help Newbies About an Hour ago, I faced a problem and tried different ways to solve it. At last I was going to post my Question on Stack Overflow, but the last trick which came in my mind worked, and the problem got resolved. Now, if I want to post that problem on Stack Overflow with the solution which worked for me, for the purpose to help other newbies to get their answer if they face the same problem, what is the proper way of posting such solution to a problem?", "Proof of dilogarithm reflection formula $\\zeta(2)-\\log(x)\\log(1-x)=\\operatorname{Li}_2(x)+\\operatorname{Li}_2(1-x)$", "When will there be a Windows Phone app?" ]
medi_sts_stackexchange_dupe
removin event listener
removing event listener
[ "If $G$ is a finite $p$-group with a nontrivial normal subgroup $H$, then the intersection of $H$ and the center of $G$ is not trivial.", "Voldemort was said to be very interested in the four founders of Hogwarts. He created a Horcrux from the Ravenclaw diadem, the Hufflepuff cup, and the Slytherin locket. Did he try to find a Gryffindor relic to complete the set, or did he not bother? I can't see him giving up on such a task, but maybe there was insufficient time. Gryffindor's sword was hiding 'inside' the Sorting Hat, but a famous family usually has some other heirlooms too. If there are no canon answers I'd be interested in your own speculation!", "Top-bar hat misplaced", "How does one go about and try to find all subclasses of a given class (or all implementors of a given interface) in Java? As of now, I have a method to do this, but I find it quite inefficient (to say the least). The method is: Get a list of all class names that exist on the class path Load each class and test to see if it is a subclass or implementor of the desired class or interface In Eclipse, there is a nice feature called the Type Hierarchy that manages to show this quite efficiently. How does one go about and do it programmatically?", "How to change the hostname of a RHEL-based distro?", "Why enums require an explicit cast to int type?", "Solidify thickness doesn't correspond to specified scale I'm Having trouble with setting the thickness applied by solidify. The selected block is 15 by 28 cm (single mesh sides) and the thickness of solidify is set to 3mm (pointing inwards). Checking off even thickness makes it even worse. I was using the function in a different object earlier today and it worked just fine. Is there something I'm missing or is this just a bug? Feel free to treat me like an idiot, I've literally started using blender yesterday :)", "Has user testing found that the \"three horizontal bars\" for main menu on mobile is commonly understood?", "When should I create a new tag? How do I request a new tag if I don't have enough rep?", "Defining macros with arguments With newcommand I can define customized command like \\ABC. Is there any way to define a command with arguments. For example I want \\brat{A}{B} be the same as [\\![A,B]\\!].", "Understanding the difference between two theorems related to $|G\\,:\\,K|=|H\\,:\\,K|\\cdot|G\\,:\\,H|$.", "Removing all 'stable' theme's CSS from a Drupal 8 custom theme I would like to remove all CSSs automatically included from stable theme: /core/themes/stable/css/system/components/* I can remove them one by one inside the .info.yml file: stylesheets-remove: - 'core/themes/stable/css/system/components/ajax-progress.module.css' - 'core/themes/stable/css/system/components/autocomplete-loading.module.css' - ... Is there a way to remove all of them at once? Something like: stylesheets-remove: - 'core/themes/stable/css/system/components/*'", "Where does Drupal store its content? I have been currently learning Drupal while trying to duplicate a Drupal application into CakePHP. I have been looking at the database tables to know where data is being stored so I can safely migrate any data or study how it is working. I have researched and have come across questions like: So far, I have only seen the title in my Drupal (7) installation. What I have seen in my node revisions table for a recipe content type, which includes fields like, field_ingredients, field_instructions, field_description, field_preptime, field_cookingtime, just the title of the recipe. This is a sample record on my node_revision table. nid | vid | title | log | timestamp | status | comment | promote | sticky ------------------------------------------------------------------------------------------- 1 | 1 | Awesome Sauce | | 1369998600 | 1 | 2 | 1 | 0 As you can see I can only see the title. Where are the other field contents?", "How to convert standard IP address format string to hex and long? Does anyone know how to get the IP address in decimal or hex from standard IP address format string (\"xxx.xxx.xxx.xxx\")? I've tried to use the inet_addr() function but didn't get the right result. I tested it on \"84.52.184.224\" the function returned 3770168404 which is not correct (the correct result is 1412741344). Thanks!", "Android, how do I stop a pointer appearing below an EditText", "Add a note about downvoting on Meta", "Number of ways to pair off $2n$ points such that no chords intersect For $n \\geq 0$ evenly distribute $2n$ points on the circumference of a circle, and label these point cyclically with the numbers $1, 2 . . . , 2n$ Let $h_n$ be the number of ways in which these $2n$ points can be paired off as $n$ chords where no two chords intersect I want to find a recursive formula for $h_n$. First I find $h_1,h_2,h_3$ to see the recursive nature. $h_1 = 1$ as their only one way to make one chord $h_2 = 2$ Now $\\require{enclose} \\enclose{horizontalstrike}{h_3=4}h_3=5$ ((1,4), (2,3), (5,6) case is missed in image) I found a wikipedia link and it is very close to my problem, But in this link you don't need to pair off $n$ chords. But I can't get to come up with a recursive formula for my question. If I would to guess I would say $h_n = 2 \\times h_{n-1}$, And would this means that $h_4 = 8$ ??", "In \"Seeing like a state\" of James C.Scott there is a sentence at the beginning of a paragraph (Acknowledgements xi): There are a good many scholars whose writings opened up new perspectives for me or provided outstanding analyses of issues that I could not have hoped to study so comprehensively on my own. What worries me is a good many scholars. Is this some type of inversion or ancient English? Is this grammatically right? Why is a here? I thought that appropriate version would be There are many good scholars. Am I wrong?", "How to watch videos in Amazon Prime Instant Video?", "I have a question, I think it concerns with field theory. Why the polynomial $$x^{p^n}-x+1$$ is irreducible in ${\\mathbb{F}_p}$ only when $n=1$ or $n=p=2$? Thanks in advance. It bothers me for several days." ]
medi_sts_stackexchange_dupe
Blender 2.83 Scale SVG not showing visual effect
Why can't I import a SVG file from Adobe Illustrator or Inkscape?
[ "How to Micro Manage Manipulator", "Is there any Sound enhancers/equalizer?", "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.", "su command + authentication failure", "When learning a new subject, I would frequently use lecture notes found somewhere in the Internet. When writing a paper (or a master thesis, as in my case, but the rules should be similar, I believe) one should give some reference for used results which are not common knowledge, if I understand correctly. This make me wonder: what do I do if I want to reference a result I found in some notes? The natural thing to do would be to just add these notes to bibliography. What format would be preferable for this? Note that there will generally not be much publishing information, perhaps not even a definite year and place. (A BibTeX template would be .) Secondly, is it OK to cite such materials as a reference?", "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)", "Determining a matrix from its characteristic polynomial Let $A\\in\\mathcal{M}_{n}(K)$, where $K$ is a field. Then, we can obtain the characteristic polynomial of $A$ by simply taking $p(\\lambda)=\\det(A-\\lambda I_n)$, which give us something like $$p(\\lambda) = (-1)^n\\lambda^n + (-1)^{n-1}(\\text{tr } A)\\lambda^{n-1} + \\cdots + \\det A$$ Now, how can we obtain the matrix $A$ knowing the characteristic polynomial?", "My C# application is returning 0xE0434352 to Windows Task Scheduler but it is not crashing", "Let $(X,d)$ be a metric space and let $S$ be the set of Cauchy sequences in $S$. Define \"~\" in $S$ by \"$\\{s_k\\}$ ~ $\\{t_k\\}$\" to mean that $d(s_k,t_k) \\to 0$ as $k \\to \\infty$. Let $X'$ denote the set of equivalence classes of $S$ and let $s'$ denote the equivalence class of $s = \\{s_k\\}$. I know $\\phi(s',t') = \\lim\\limits_{k \\to \\infty} d(s_k,t_k)$ is a metric on $X'$. Show $(X',\\phi)$ is complete. For $x \\in X$, define $x'$ to be the equivalence class of the constant sequence ${x,x,...}$. Show that the function $x \\to x'$ is an isometry of $X$ onto a dense subset of $X$. If anyone can share a proof, or steer me in the right direction, maybe tell me what it is that I need to prove specifically, that would be great.", "Predict() - Maybe I'm not understanding it", "I'm considering finite groups only. Cayley's theorem says the a group $G$ is isomorphic to a subgroup of $S_{|G|}$. I think it's interesting to ask for smaller values of $n$ for which $G$ is a subgroup of $S_n$. Obviously, it's not always possible to do better than Cayley's theorem. But sometimes it is possible (for example, $\\mathbb{Z}_6$ as a subgroup of $S_5$). So I'm asking: Given a finite group $G$, is there an algorithmic way to find or approximate the minimal $n$ for which $G$ is isomorphic to a subgroup of $S_n$? If the answer to $(1)$ is not known, is it known for specific classes of groups? In particular, for finite abelian groups, is it true that for a prime $p$, the minimal $n$ for $\\mathbb{Z}_{p^{t_1}} \\times \\mathbb{Z}_{p^{t_2}}$ is $p^{t_1}+p^{t_2}$ (I can prove that is is true for different primes $p_1$ and $p_2$, but have problems when it's the same prime in both factors). Thanks!", "Is there any advantage in marketing my product for £99.99 instead of £100?", "My PC was working yesterday without any problem. I shut it down and tried to open this morning. It prints out these messages on the black screen: systemd-udevd[713]: failed to execute '/bin/systemctl' '/bin/systemctl start --no-block nvidia-persistenced.service': No such file or directory systemd-udevd[852]: failed to execute '/bin/systemctl' '/bin/systemctl stop--no-block nvidia-persistenced': No such file or directory It then continued with the login screen. I entered my password and pressed enter. It waited for a while and the login screen reappeared again. How can I fix the problem?", "Is there a limit of $\\cos(n!)$? I encountered a problem today to prove that $(X_n)$ with $X_n = \\cos(n!)$ does not have a limit (when $n$ approaches infinity). I have no idea how to do it formally. Could someone help? The simpler the proof (by that I mean less complex theorems are used) the better. Thanks", "If/Else with Selenium IDE - when confirmation message comes up I have a scenario, in case of the user registration successful, it will display a success message on the next page otherwise an error message shows on the same page. How to automate the test case to return as passed if it is success and failure in case of error message comes up. Please help me out here.", "\"going to\" definition, does it imply intent? I have had a debate with one of my friends about this little game: \"1 rabbit saw 9 elephants while going to the river. Every elephant saw 3 monkeys going to the river. Each monkey had 1 tortoise in each hand. How many animals are going to the river?\" Answers: 4 - if you could rabbit and monkeys (which are described as \"going to\" the river) 10 - if you are counting tortoises in monkeys' hands 19 - if you assume all my argument is that the tortoises are not \"going to\", but are being either \"taken to\" or \"move towards\" river. That's what I would say if someone holds me and goes to the river. my friend's argument is that because they move towards the river, they are \"going to\" the river. he gave example of me being in the car. Me: If I don't intend to go there, I'm being \"taken to\", even if in the car. Question: does \"going to\" implies intent of the subject ?", "Find all functions $f\\colon \\mathbb R\\rightarrow \\mathbb R$ such that for all reals $x$ and $y$: $$f(f(x)f(y))+f(x+y)=f(xy).$$ It was six hours ago in IMO 2017 (problem 2). I tried the standard way: $x=0$, $x=y$, $x=1$,etc. but without any success. Let $f(0)=a$. Hence, for all $x\\in\\mathbb R$ we have $f(a(f(x))+f(x)=a$. What is the rest? Also we have $(x-1)(y-1)-1+x+y-1=xy-1$ and $1-(1-x)(1-y)+1-x-y=1-xy$.", "Upgrade to the specific php 7.1/7.2 from php 7.0 in Ubuntu 16.04 How can I upgrade to php 7.1 from php 7.0 in ubuntu 16.04 ? If I do a php -v I get this message: PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies", "Revisiting question templates suggested to have templates for tags. Their example was with the tag on Stack Overflow. I'm suggesting a more general approach: Templates, Mark II I suggest that each site will have a template. That template will prefill the textbox when a new question is asked. However, it will be completely optional. Something like (for Stack Overflow): ## The Problem ## { Please tell us what the problem is with as many details as possible. Include language, operating system, and any other relevant information. Remember to add the relevant tags below, too. } ## Attempted Solutions ## { Please tell us what you've tried so far. Have you tried searching Google? What queries? } ## Existing Code ## { Do you have any existing code to show? Please keep it short and simple. We should be able to detect the problem right away. } Why am I suggesting this? Well, it seems as though most users will stick with the default. They don't bother to read, and so prefilling the question form for them with information that we know might be relevant, will forceWe'll get to that in a second them to actually stop and read. Scenarios: Best case: User arrives to ask a question, actually reads the template, fills the correct information in the placeholders. (Yeah, because that'll happen a lot) Neutral: User simply removes all of the template text and rewrites their own question. Result is exact same as we have currently. Worst case: User will ignore or misunderstand the template, will use it wrong or not at all and we'll get something like <template text here, still unfilled> <(crappy) question> This can be solved in a couple different ways. We could detect the template tags (i.e. { }, subject to discussion), and throw an error when a user attempts to post with them still available. We could also act more autonomously and remove placeholders which still exist. Some more points: Templates should be per-site, not per-tag. Sure, there are differences between the tags, but all questions are expected to have the same general information, and this isn't meant to be a rule, but a guideline to help write better questions. Site templates should be editable by that site's mods, like close reasons. We could autofocus on the first placeholder, and perhaps implement TAB to jump from one placeholder to the other, similar to mixins in IDEs. This doesn't have to be implemented everywhere. This suggestion makes sense to Stack Overflow or Superuser, but not to Anime & Manga or Gaming All of the details are subject to discussion, and all discussion is welcomed.", "Currently using ubuntu 15.10 on azure and installed the gnome and vnc4server latest version on ubuntu. Please find log file below: Current VNC client screen: $ cat .vnc/myhost1\\:1.log --cut-- VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565 VNCSConnST: Client pixel format depth 8 (8bpp) colour-map Window manager warning: Invalid WM_TRANSIENT_FOR window 0x20000c specified for 0x20000b (I nitialization error). Error org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.gnome.ze itgeist.Engine': no such name amdxdg-su: no graphical method available for invoking '/usr/bin/amdcccle' as 'root' $ cat .vnc/xstartup unset SESSION_MANAGER [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources vncconfig -iconic & gnome-panel & gnome-settings-daemon & metacity & nautilus -n & gnome-terminal & How to get 24bit color with wide screen (Now I getting square screen in vnc client)" ]
medi_sts_stackexchange_dupe
Find $\int_{-\infty}^{\infty}\frac{sin^2(t)}{t^2}dt$
Solve $\int_0^{+\infty} \Big(\frac{\sin t}{t}\Big)^2 \ dt$
[ "Page number in title page I want to add page number from 531 to 536 in my latex IEEE conference template. But page number appearing from page 2 i.e. 532. \\documentclass[conference]{IEEEtran} %\\IEEEoverridecommandlockouts \\makeatletter \\let\\old@ps@headings\\ps@headings \\let\\old@ps@IEEEtitlepagestyle\\ps@IEEEtitlepagestyle \\def\\confheader#1{% % for all pages except the first \\def\\ps@headings{% \\old@ps@headings% \\def\\@oddhead{\\strut\\hfill#1\\hfill\\strut}% \\def\\@evenhead{\\strut\\hfill#1\\hfill\\strut}% }% % for the first page \\def\\ps@IEEEtitlepagestyle{% \\old@ps@IEEEtitlepagestyle% \\def\\@oddhead{\\strut\\hfill#1\\hfill\\strut}% \\def\\@evenhead{\\strut\\hfill#1\\hfill\\strut}% }% \\ps@headings% } \\makeatother \\confheader{ 2020 IEEE International Conference on Computation, Automation and Knowledge Management (ICCAKM) } %%footer %\\usepackage[pscoord]{eso-pic} %\\newcommand{\\placetextbox}[3]{ % \\setbox0=\\hbox{#3} % \\AddToShipoutPictureFG*{ \\put(\\LenToUnit{#1\\paperwidth},\\LenToUnit{#2\\paperheight}){\\vtop{{\\null}\\makebox[0pt][c]{#3}}} % } %} %\\placetextbox{.23}{0.055}{\\small{978-1-5386-8007-0/19/\\$31.00~\\copyright 2019 IEEE}} \\usepackage{cite} \\usepackage{amsmath,amssymb,amsfonts} \\usepackage{algorithmic} \\usepackage{graphicx} \\usepackage{textcomp} \\usepackage{xcolor} \\usepackage{float} \\usepackage[export]{adjustbox} \\usepackage{subcaption} % %\\usepackage[pscoord]{eso-pic} %\\newcommand{\\placetextbox}[3]{ % \\setbox0=\\hbox{#3} % \\AddToShipoutPictureFG{ \\put(\\LenToUnit{#1\\paperwidth},\\LenToUnit{#2\\paperheight}){\\vtop{{\\null}\\makebox[0pt][c]{#3}}} % } %} %\\placetextbox{.2}{0.055}{978-1-4799-5522-0/15/\\$31.00~\\copyright 2015 IEEE} \\IEEEoverridecommandlockouts \\IEEEpubid{\\makebox[\\columnwidth]{978-1-7281-0666-3/20/\\$31.00~\\copyright~2020 IEEE \\hfill} \\hspace{\\columnsep}\\makebox[\\columnwidth]{ }} \\thispagestyle{plain} \\pagestyle{plain} \\setcounter{page}{531} \\begin{document} \\title{Performance Analysis of Physically Unclonable Function Based on Voltage Divider Arrays} \\author{\\IEEEauthorblockN{Sumit Chaudhary$^{1}$} \\IEEEauthorblockA{\\textit{Dept. of Electronics and Communication} \\\\ \\textit{MNIT Jaipur, India}\\\\ [email protected]} \\and \\IEEEauthorblockN{Chitrakant Sahu$^{2}$} \\IEEEauthorblockA{\\textit{Dept. of Electronics and Communication} \\\\ \\textit{MNIT Jaipur, India}\\\\ [email protected]}} \\maketitle \\end{document}", "Is it possible for an American to get a Chinese visa in Hong Kong?", "Vertical space in lists", "Calculating ratio between \"rows\" in ArcGIS field calculator I have a problem similar to but that is for QGIS whereas I have to perform it in ArcGIS. I have to calculate the Ratio between rows (sequentially, i.e., row1/row2, row2/row3 and so on) of a specific field based on the ID field and have to assign the results to a separate field. Here is the code and the error message: def CalcRatio(ID,Frequency): vDict = {} with arcpy.da.SearchCursor("Test",['Frequency'],'ID = {}'.format(ID)) as sCur: for Row in sCur: vDict[Row[0]]=Row[1] # Dict[id] =Frequency try: value = ( vDict[1] / vDict[2]) except: value = -1 return value Message: ERROR 000539: Error running expression: CalcRatio( 1 , 50680) Traceback (most recent call last): File "<expression>", line 1, in <module> File "<string>", line 5, in CalcRatio IndexError: tuple index out of range Here is the data OID Id Frequency 0 1 50680 1 2 49740 2 3 48620 3 4 48300 4 5 48004 5 6 45600 6 7 44384 7 8 42720 8 9 41890 9 10 39700 10 11 38530 11 12 38207 12 13 38106 13 14 37303 14 15 37205 15 16 36527 16 17 35301 17 18 31674 18 19 28890 19 20 24612", "Does ClamAV Scan Windows virus? I'm new to Ubuntu. I'm now setting up an OwnCloud server which supports ClamAV file scan. Since most of the users connected to the server uses Windows OS, can ClamAV scan for Windows virus? I also did some research that such as BitDefender. It clams that it scans real time, if someone upload files to the server, will BitDefender scan the file even OwnCloud doesn't support? By the way, I heard that if I update the system frequently, I don't have to install any antivirus that scan for Linux virus. Is that right?", "Correct way of declaring pointer variables in C/C++", "When may adjectives precede determiners? (E.g. too difficult a task) The expression too difficult a task sounds a little pompous, but it doesn't sound ungrammatical. According to my folk-beliefs about English grammar, determiners precede adjectives. However, the expression too difficult a task seems to controvert that belief. Additionally, the expression too difficult of a task seems grammatical too. Under what conditions may determiners precede adjectives? Are there conditions under which too difficult of a task would be a more grammatical expression than too difficult a task would be? (This question does not ask what the question “How big of a problem” vs. “how big a problem” asks. That question does not pertain to determiners.)", "How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04? I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command \"sudo lshw -C network\" so here it is: *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd physical id: 0 bus info: pci@0000:01:00.0 logical name: enp1s0 version: 15 serial: 48:ba:4e:5c:06:5f size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.21 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: ire:31 import:e000(size=256) memory: fea04000-fea04fff memory:fea00000-fea03fff *-network UNCLAIMED description: Network controller product: Realtek Semiconductor Co., Ltd. vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress cap_list configuration: latency=0 resources: import:d000(size=256) memory:fe900000-fe90ffff Output from \"lspci -nnk | grep -A2 0280\": 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821] Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a] 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)", "Union of connected subsets is connected if intersection is nonempty", "Creating your own Tinyurl style uid", "Can Muggles publicly establish the existence of a magical community?", "I have two rasters: a digital elevation model (DEM) and a Landsat band. The grid resolution of both is 30 m, but the grids are not coincident (see image: the dark raster on top is the DEM; the light raster underneath is the Landsat band). I want to perform some transformation of the Landsat band so that its grid aligns perfectly with the DEM grid. I've tried resampling the Landsat band to 30 m in ArcGIS using the DEM as a Snap Raster in the Environment settings, but this does not have any effect. I've also tried clipping the Landsat band to the extent of a vector polygon (that the DEM is also clipped to), while setting the DEM as the Snap Raster, but to no avail. I suspect this is happening because both rasters are already at the same resolution (just on different grids), but I really need their grids to be aligned to be able to do any further analysis. Can I do this in ArcGIS Desktop?", "I am confused about the usage of the words like and unlike in sentences. Like and unlike make me confused because I see them being used everywhere almost interchangeably, and to make matters worse I even saw commas making difference in meaning. Which of the following sentences is most correct, and least ambiguous? Unlike Xbox, Playstation can't play Halo. Playstation can't play Halo unlike Xbox can. Playstation can't play Halo, unlike Xbox can. Like Xbox, Playstation can't play Halo. Playstation can't play Halo like Xbox can. Playstation can't play Halo, like Xbox can. Playstation can't play Halo unlike Xbox. Playstation can't play Halo, unlike Xbox. Playstation can't play Halo like Xbox. Playstation can't play Halo, like Xbox. In case you don't know what I actually wanted to say in those sentences: I'm trying to say that Playstation can't run the Halo video game and Xbox can run that game. I probably should have tried sentences with no brands but I can't imagine any meaningful sentences at this moment which contains like/unlike.", "First Bash Script Problem", "Find Max Value for each month for the last 3 months, properly", "Run system commands from QML App I want to run a system command from inside my application. It's suppose to run a command on a remote server using SSH. But that's not really the point. The point is that I don't know how to run any kind of command from the app. I asked in the mail list and they referred me to build a QML extension using C++. But I don't know C++ and it seems that I have to learn so much only to run a simple command. In Python (as in PHP) it's easy to run a system command. Is there any other way of doing it in my Touch app, or is there someone that could help me even more? Or perhaps have a better solution to my problem?", "While reading a question here whose answer was Stephen Baxter's "Light of Other Days" book, it reminded me of a short story I read with a similar idea. Probably read at least 30-40 years ago, in English. The fact that the Government has invented a device that can view the past is made public (by a whistleblower, I believe). Historians go nuts besieging the government to look at their favorite time periods to reveal the truth about various historical "facts" and or "mysteries" (Who shot JFK? Who was Jack the Ripper? Was Helen of Troy really that beautiful? Did Jesus exist? etc, etc.) And the government is stonewalls most of them and claims it's expensive to operate, hard to control to get exact time/location, etc. So someone (maybe the whistleblower?), knowing it's possible, does math/construction and builds his own version, and realizes it's easy to make, cheap to operate, and easy to use. So he makes plans to stick it to the government by releasing the info. Maybe he tries to force the government to release the info, or they realize he has made it, so they grab him and try to convince him to stop. But he is not convinced until they tell him, it can't see back very far (maybe just a few days/weeks, because it needs exponentially more power the further you look back.) Finally the agents tell him: "Don't you see, you can use it to see what's happening just a few minutes ago, or even now. Your company can't make widgets? Zoom in on your competitors and see how they make them. Think your wife is fooling around on you? Zoom in on her and track her to see if she is. Your pretty neighbor is taking a bath now? Zoom in and watch her... These devices mean no one will have any privacy now." At which point he tells them it's already too late. They kept him there so long that the letters he mailed will already be delivered to various newspapers, scientists, historians, etc.", "Paging SQL Server 2005 Results How do I page results in SQL Server 2005? I tried it in SQL Server 2000, but there was no reliable way to do this. I'm now wondering if SQL Server 2005 has any built in method? What I mean by paging is, for example, if I list users by their username, I want to be able to only return the first 10 records, then the next 10 records and so on. Any help would be much appreciated.", "Facebook must have changed something again because I cannot find out how to view the list of subscribers. In Googling for this, I came upon this question: However, it doesn't take me to my list os subscribers. Where do I view this list now? Please include a screenshot and highlight the link I need to click on. This way, when Facebook changes their layout again, your screenshot will at least clue future inquirers in on this fact so they know they're not going crazy. Edit Here's what I see when I log into Facebook:", "Let $trcA=0$.why $A=M+N$ where $M$ and $N$ are nilpotent matrices?" ]
medi_sts_stackexchange_dupe
CellValueFactory throws nullPointerException
What is a NullPointerException, and how do I fix it?
[ "linq: order by random", "Sell your home and invest in growth stock mutual fund I purchased a home and I made an agreement with a guy who is living in that home and paying me monthly rent. Since I live with my brother I don't have to live in my purchased home. The rent I'm getting is only 10% of total cost of home while stock fund industry (mutual fund) is paying 20% minimum i.e. I'm getting 10% loss every year and that is a big amount. I'm not really sure if my home also increase it's value by 10% every year. But I don't think it will be. Now I'm thinking of selling that home and investing all of my money in a growth mutual fund. Any advice?", "Renaming user name I made a mistake in the username at the time of installation. So I changed the name of the user after logging in by creating a guest account with SUDO rights. But when I checked the list of users using ls /home command I am not seeing the new name for the user instead Old name is appearing. But I use the new name to login. Is it like I need to change the name inside Home directory separately? Also , if there is any other changes needs to be done .. ?", "Do we have $\\lim_{h\\to 0^+}\\int_0^\\infty|f(t+h)-f(t)|dt=0$? Let $f:\\mathbb{R^+}\\to\\mathbb{R}$ be an integrable function ($f\\in L^1(\\mathbb{R}^+,\\mathbb{R})$). Do we have $$\\lim_{h\\to 0^+}\\int_0^\\infty|f(t+h)-f(t)|dt=0$$ ? How can we prove it ?", "Global setting of spacing between items in itemize environment for beamer", "Adding Grids in Project Manager of QGIS I am using QGIS 3.12. I am new to QGIS after having worked with ArcGIS Desktop for a while. I am having issues with adding a grid to my project. I am using CRS ESPG:3587 WGS 84 / Pseudo-Mercator and noticed that the grid is showing the wrong coordinates and have included the parameters I have set for the grids.", "Free way to clone HDD to SSD? Is there a free way to clone a full Windows 7 installation from HDD to SSD? (The free part is important, I know I can pay for Acronis True Image.) SSDs are usually much smaller than HDDs which complicates matters. For instance, I have about 50GB data, my new SSD is 80GB but I still can't use Windows clone/restore system if my HDD is something like 300GB. Therefore, I'm looking for a third party tool that will be able to: Create a clone of my C: partition Store it onto an external USB drive Boot from some rescue / restore CD Load the image onto the new SSD Acronis True Image seems like a tool that should support this but it's a paid-for software and the trial version cannot create clones. Acronis Migrate Easy is a fully functional tria for 15 days but need both the HDD and SSD connected at the same time which is a bit of a problem for me as a laptop user. P.S. I almost got there combining Windows image backup combined with Acronis True Image restore CD (which can load .vhd's) but was not able to boot as some boot information were probably lost and could not be repaired using the Win7 installation DVD.", "Is it acceptable to change the vid column of a term programmatically in the database? I need to move some terms from one vocabulary to another by retaining all their data: translations, aliases, and node references. Is it acceptable to change its vid column value directly in the database? The terms don't have hierarchy relationships which needs to be handled.", "Can the real and imaginary parts of $\\dfrac{\\sin z}z$ be simplified? I have calculated the real and imaginary parts of $\\dfrac{\\sin z}z.$ I've obtained $$\\begin{eqnarray} \\frac{\\sin z}z&=&\\frac{\\sin(x+iy)}{(x+iy)}\\\\ &=& \\frac{\\sin(x)\\cosh(y)+i\\cos(x)\\sinh(y)}{x+iy}\\\\ &=& \\frac{x\\sin(x)\\cosh(y)+y\\cos(x)\\sinh(y)}{x^2+y^2}+i\\frac{x\\cos(x)\\sinh(y)-y\\sin(x)\\cosh(y)}{x^2+y^2}. \\end{eqnarray}$$ Before calculating it, I hoped I could use this in a solution to a certain problem, but I would need to differentiate the real and imaginary parts of $\\dfrac{\\sin z}z$ with regard to $x$ and $y$. But what I'm getting is very complicated. I understand that it could be that that's just the way it is. But maybe there are some simplifications to be done either in the functions or in their derivatives? I've never really used hyperbolic functions before so I'm not sure I'm not missing something. Added. The problem I'm working on is the following. Prove that the solutions of the equation $$\\tan z=z$$ are all real. I will sketch the solution I know here. It can be calculated that $$\\tan(x+iy)=\\frac{\\sin(2x)}{\\cos(2x)+\\cosh(2y)}+i\\frac{\\sinh(2y)}{\\cos(2x)+\\cosh(2y)}.$$ Plugging this to the equation, we get $$\\begin{eqnarray} x&=&\\frac{\\sin(2x)}{\\cos(2x)+\\cosh(2y)}\\\\ y&=&\\frac{\\sinh(2y)}{\\cos(2x)+\\cosh(2y)}. \\end{eqnarray}$$ From this we can get $$\\sin(2x)\\cdot2y=\\sinh(2y)\\cdot2x.$$ By plotting the functions $\\sin,$ $\\mathrm{id}$ and $\\sinh$ (and proving the right inequalities we can see from the plots), we can see that this is only possible when $xy=0$. But when we plug $x=0$ to the second equation, we can show that the only solution is $y=0$, which ends the proof. What strikes me in this solution is the fact that $\\dfrac{\\sin z}z$ is used. (Not explicitly in my statement.) This function has another connection to the problem: The non-zero solutions of the equation $\\tan z=z$ are exactly the zeros of the derivative of $\\dfrac{\\sin z}z.$ This is easy to prove. I wondered if there shouldn't be a solution to the problem which uses this fact, given that $\\dfrac{\\sin z}z$ appears in the solution I know.", "How can I run Maniac Mansion through ScummVM? Day of the Tentacle Remastered Edition includes Maniac Mansion as a . The game appears to be exactly the same as the old DOS release (albeit, the enhanced version). If possible, how can I run this game through ScummVM? Pointing ScummVM at my installed game doesn't work. What do I need to do to play this version of Maniac Mansion?", "How to make clickable links and cross-references in pdfs produced by LaTeX?", "How can I obtain total number of points?", "Proving that a list of perfect square numbers is complete Well, I have a number $n$ that is given by: $$n=1+12x^2\\left(1+x\\right)\\tag1$$ I want to find $x\\in\\mathbb{Z}$ such that $n$ is a perfect square. I found the following solutions: $$\\left(x,n\\right)=\\left\\{\\left(-1,1^2\\right),\\left(0,1^2\\right),\\left(1,5^2\\right),\\left(4,31^2\\right),\\left(6,55^2\\right)\\right\\}\\tag2$$ Is there a way to prove that this a complete set of solutions? So I mean that the solutions given in formula $(2)$ are the only ones? My work: We know that: $$ 1 + 12x^2 \\left(1+x \\right) \\ge 0 \\space \\Longleftrightarrow \\space x \\ge -\\frac{1+2^{-2/3}+2^{2/3}}{3} \\approx -1.07245 \\tag3 $$ So we know that for $x<-1$ there are definitely no solutions.", "I need to rename a bunch of files in order to fix their sort order, therefore I need to be able to do a sort of \"find and replace\" so I can replace chunks of the filenames at a time. What tools should I use? I prefer GUI but a command line tool recommendation would also be fine.", "A bounce-rate attack to manipulate SEO? This is a question to experienced people that might help us shed some light on the issue. We noticed a very strange behavior on our site, in Google Analytics. Some dude from Finland, namely, from Kouvola city is hitting one of our pages - only one page on our site, 'bout a hundred times per day, all with an average bounce rate of 90%+... This is causing our overall bounce rate to go up by 1 to 3% per day... which is very disturbing.. since we're trying to do our best in order to keep it as low as possible. And obviously having it jumped from ~24% to 27%, just because of that crazy dude is not making us happy at all... We tried implementing a geo-targeted script in order to catch this particular visitor and deliver him a juicy message, and it seemed like it helped in the beginning, it has stopped for a day or two, but now he's back... The geo-targeted script was also logging all IP addresses for page requests originating from Finland in order to find out more details and (in order to block them on the server level, later).. but thing is, it was all mainly cable or DSL connections with various, but not constantly repeating IPs... we are all wondering what is he up to really ? I think that this page should be kept updated with ideas on how to combat this and perhaps someone could also shed light on what it might be ? What is the reason for doing this \"bounce-rate attack\", as I call it? There was a similar question asked on stackoverflow earlier, with no meaningful answer - here -", "Let's make the hot network questions icons clickable I would like to see the icons in the 'Hot Network Questions' right panel clickable, leading to the homepage of the site where the question comes from. It would make it more comfortable to switch to the site when you want rather to visit it than to see that specific \"hot\" question.", "Reason for the current trend to use «she» as the gender-neutral pronoun? There are some questions on gender-neutral pronouns both and on . User Christine Letts : In academia, there is currently a movement toward using the feminine pronoun at all times. I wonder why that is. I came across several examples on papers I read, but the only one I can remember at the moment is a book: Seth Godin's . While some might not be comfortable labeling it as part of academia, it suits my point perfectly. Every time he refers to a person, he uses the feminine pronoun. User Senseful the following, potentially identifying affirmative action as the precursor for this trend. I remember reading somewhere that it was recommended to use the opposite of what most people stereotype the profession as. So, for example, when talking about a chiropractor, you would use \"her\", and when talking about a secretary, you would use \"his\". So, where do you think this trend comes from?", "Control Android with broken screen from PC My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work in Jelly Bean. Perhaps someone knows why and we can patch the code? (see: ) Installing a VNC server is another, but for the love of me I can't get it to work. Eg, using Droid VNC Server, I install the apk, and am supposed to execute /data/data/org.onaips.vnc/files/androidvncserver but there is no files directory inside org.onaips.vnc (instructions from here: ). VMLite is another VNC server that can be started with a special Windows utility (and doesn't need root!) but it's not OSS so I can't get the apk in order to install (Google Play is not pushing apps to my phone prob because I disabled some service--let me know if I can force Google Play to update itself from ADB or install the app). fastdroid-vnc is a binary (not apk) and it runs fine via shell, but something is broken and it shows nothing. What are my options? Let's make this a community wiki, to help anyone who's broken their screen!", "I'm looking for a simple, easy to understand algorithm to alphabetically sort an array of characters in C.", "\"Stack Overflow\" showing up on hamburger menu for all sites to link to /questions Why does it say \"Stack Overflow\" instead of the site name?" ]
medi_sts_stackexchange_dupe
Password If-Check error
How do I compare strings in Java?
[ "$X$ is Hausdorff if and only if the diagonal of $X\\times X$ is closed", "Divisor function asymptotics Define $\\tau_{r}(n) = \\sum_{d_1...d_r = n}1$. One exercise in a book on sieve theory asked for an elementary proof by induction of the fact that $$\\sum_{n\\le x}\\tau_r(n) = \\frac{1}{(r - 1)!}x(\\ln x)^{r - 1} + O\\left(x(\\ln x)^{r - 2}\\right)$$ The base case $r = 2$ is easy with reversing the order of summation. The only other progress that I made was the fact that $\\sum_{n\\le x}\\tau_{r}(n) = \\sum_{d\\le x}\\left\\lfloor\\frac{x}{d}\\right\\rfloor\\tau_{r- 1}(d)$, but I don't know how to proceed.", "Why is electric field lines away from (+) and toward (-)? I have a questions about the electric field lines. Well in the basic learning, we know that: The electric field lines extend away from a positive charge They move forward a negative charge Let's take parallel plates, which make a uniform electric field.If we take the basic learning, which I mentioned, in accounts, it's very easy to understand that this is the direction of a positive charge object if we put the object between the plate (move away the positive charged plate and toward negatively charged plate). The problem is if we put a negative charged object between. Isn't the electric field reversed ?", "Alternative IDE for VB6 and VBA", "I have scene that looks like this: And I want to add volumetric lighting to it so that light forms a rays of light when it go through the trees like on this example that I found in youtube: But the problem is that all of these tutorials show how to make this lighting coming from windows, but when I try to replicate it in my forest scene it looks like big ugly fog with cubical shape. Also the light is coming from the back of the camera (as you can see) and there are some spots that needs this special lighting (like places where light goes through trees) and some that don't (like big bright are on the bottom left corner) so I can't just add a giant cube to all of the scene.", "Using relative paths for Windows shortcuts", "\"within 1 to 2 weeks\" vs \"in 1 or 2 weeks\"", "Closed unit interval is connected proof", "I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error: I tried to install gksu manually via sudo apt install gksu but I got this error Building dependency tree Reading state information... Done Package gksu 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 'gksu' has no installation candidate How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?", "What Thunderbolt to USB 3.0 cables/adapters exist for OS X and Mac hardware? I have the Late 2013 Macbook Pro, which has two USB 3.0 ports and two Thunderbolt 2 ports. I currently use both USB 3.0 ports and one TB2 port. I want to connect a third USB 3.0 device to the machine, but I don't want to use a USB splitter on one USB port as I'm concerned the devices would draw too much power from the bus. I have no current use for the second TB2 port and I would love to be able to use it for this purpose. Browsing extensively online, I've found numerous docks, such as , that connect via a Thunderbolt cable. This would work, but it's an expensive, 'bulkier' solution (and not the one I'm looking for). I'm aware that a USB 3.0 device wouldn't be able to take advantage of Thunderbolt's I/O speeds, but it's certainly compatible, which is all I'd need. After all, Apple even sells a . I also know that Thunderbolt is not only used for digital video purposes (along with the TB > Firewire option, there exists ). There are almost no Thunderbolt to USB 3.0 cables/adapters on the market. I'd think this hardware would be more prevalent given the prominence of USB devices out there. What adapters are available for OS X?", "I am getting the following error trying to read from a socket. I'm doing a readInt() on that InputStream, and I am getting this error. Perusing the documentation this suggests that the client part of the connection closed the connection. In this scenario, I am the server. I have access to the client log files and it is not closing the connection, and in fact its log files suggest I am closing the connection. So does anybody have an idea why this is happening? What else to check for? Does this arise when there are local resources that are perhaps reaching thresholds? I do note that I have the following line: socket.setSoTimeout(10000); just prior to the readInt(). There is a reason for this (long story), but just curious, are there circumstances under which this might lead to the indicated error? I have the server running in my IDE, and I happened to leave my IDE stuck on a breakpoint, and I then noticed the exact same errors begin appearing in my own logs in my IDE. Anyway, just mentioning it, hopefully not a red herring. :-(", "Don't heavier objects actually fall faster because they exert their own gravity?", "How can I reliably get the operating system's name?", "I just flagged a comment as \"obsolete\" in . To my surprise, it was deleted immediately, just after pressing \"Flag Comment\". Now I see it in my flag summary as helpful: Does this mean that obsolete flags are somehow handled automatically? I went through but could not find any description on this.", "Using MSSQL2005, can I truncate a table with a foreign key constraint if I first truncate the child table (the table with the primary key of the FK relationship)? I know that I can either Use a DELETE without a where clause and then RESEED the identity (or) Remove the FK, truncate the table, and recreate the FK. I thought that as long as I truncated the child table before the parent, I'd be okay without doing either of the options above, but I'm getting this error: Cannot truncate table 'TableName' because it is being referenced by a FOREIGN KEY constraint.", "Can I set the start point of a bezier curve?", "When should you use generator expressions and when should you use list comprehensions in Python? # Generator expression (x*2 for x in range(256)) # List comprehension [x*2 for x in range(256)]", "Why are the holodecks on Voyager in use if they have energy issues? I'm watching the first two seasons of Voyager and various episodes have commentary on having energy limitations -- but we constantly see crew using extremely complicated holodeck simulations. Why would they allow use of the holodeck if they need to conserve energy?", "Counting homomorphisms between $\\Bbb Z$ and $\\Bbb Z_n$ and also between $\\Bbb Z_n$ and $\\Bbb Q$", "Does a non-EU Spouse of a UK national need a visa to visit the Schengen area? I am a British national resident in the UK. My wife is Jordanian, resident in the UK with me. She has a UK biometric residency permit. We were married in the UK and the marriage is registered in the UK. Does my wife need visas to travel with me on holiday in France and Spain? I understand from EU Directives that she does not. Would we be able to leave the UK by ferry to France if my wife does not have a French visa but can prove that she is married to me and resident in the UK? If visas are necessary but the French or Spanish consulates were NOT to grant the visas, would this be in contravention of EU Directives/Law? If the answer to question 3 is \"Yes, it would be unlawful\", what action can one take to get the visas?" ]
medi_sts_stackexchange_dupe
Objects won't Render
One Object won't Show up in Final Render even though it shows up in the Preview Render
[ "Permalink rewrite with custom post type and custom taxonomy I think thats a quick one: I've got: Custom post type: Food Custom taxonomy (Registered to Food): Fruits Terms in Fruits: Apple, Orange, Cherry If I type in example.com/food?fruits=Apple,Cherry, I get all posts in Fruits with the terms Apple and Cherry, thats great! But I would like to type in example.com/food/fruits/Apple,Cherry or example.com/food/Apple,Cherry to get the same result. I´ve tried different permalink and rewrite plugins related to custom posts but nothing helped. Thank you, David", "My Notes has Title-Task2 and Content is \"Talk to customers\" When I run following query: SELECT Title,Content FROM ContentNote Output is: ('Title', 'Task2'), ('Content','/services/data/v42.0/sobjects/ContentNote/0692x000000WFDKAA4/Content')])] how to get my actual content from this?", "Special event cards and timing", "Calling a parent window function from an iframe", "¿Can you help me with axiom of regularity? I understand that if we define a set such that $A=\\{A\\}$ we have then a contradiction because of regularity axiom, thus, a set can not be a member of itself. My question is; how can it be so, if I define a set $A=\\{A,b\\}$ ($b$ disjoint from $A$)? Thanks.", "\"Failed to download repository information\" error", "Proof that the relation $5 \\mid (a + 4b)$ is symmetric and transitive Take the relation $R$ to be defined on the set of integers: $$aRb \\iff 5 \\mid (a + 4b)$$ As part of a larger proof, I have to show that $R$ is both symmetric and transitive. I'm lost. I see the first steps, but I can't find how to progress further. Here's what I have at this point: Proof of Symmetry We have to prove that if $5 \\mid (a + 4b)$, then $5 \\mid (b + 4a)$. Clearly, this is true if $a = b$, but apart from that, it's unclear in my mind. Proof of Transitivity We have to prove that if $5 \\mid (a + 4x)$ and $5 \\mid (x + 4b)$, then $5 \\mid (a + 4b)$. I've fiddled around with sample values, but I still don't see it. I'm pretty lost here. Thoughts?", "Calculate E[X] from incomplete data? The exercise I'm doing describes the random variable $X$ as the following | Number of cars | 0 | 1 | 2 | 3 | 4+ | | % of families | 15 | 45 | 25 | 13 | 2 | Then it asks me to evaluate $E[X]$. But if there could be cases with 4+ cars, wouldn't that make it impossible to calculate the expectancy?", "MiKTeX and Perl scripts (and one Python script)", "What does \"it\" refer to in \"it's raining\"? I wanted to leave the question title as is so as not to take away from my amusement :). Anyway, It's raining. What is raining? Is it the sky? The clouds? The weather? The rain? What is \"it\"? Any historical insights on the statement?", "Now that Apple has removed the ability to access the iOS App Store in iTunes 12.7 on Mac/Windows , I can't find any way to download an IPA file from the App Store. As a note, I'm not worried about installing the IPA files (see ), I just need the IPA files as a developer looking for some basic information on the apps. I'd like to solve this without resorting to jailbreaking as my devices are already updated to iOS 10.3.3. Here are things that I've tried that didn't work: Extract from backup: The apps seem no longer to be backed up. Save to Mac from iPhone management software: I believe this has been blocked by Apple works as far back as iOS 8.3. Figuring out how the file is downloaded via proxy connection: At least for me, this looks too complicated to do because you have to authenticate with your Apple ID and I'm sure that by now, Apple even requires the phone to be authenticated in some way. Not sure if it would even be possible in the same way that you see all those Android APK download services out there. At least for now, it looks to me like maybe the only way is to hold onto an older version of iTunes for as long as that works.", "How to disable all div content", "My 12.04 x64 system won't boot into GUI, but I can still use virtual console with my own account, so apparently it's the Windows Management System that's causing it, how can I reinstall it from tty, what's the apt-get command?", "Which form should be used for at­tribu­tive nouns like “stu­dent union”: sin­gu­lar or plu­ral, or pos­ses­sive sin­gu­lar or pos­ses­sive plu­ral? When should a noun that’s used at­tribu­tively to de­scribe an­other noun be plu­ral, and when should it be sin­gu­lar? And when should it be pos­ses­sive, like bak­er’s dozen and when should it be plu­ral pos­ses­sive, like farm­ers’ mar­ket? In other words, why do we say teach­ers union rather than teacher union? And why do we say wed­ding plan­ner rather than wed­dings plan­ner? Which of these vari­ants is or are cor­rect? stu­dent union stu­dents union stu­den­t’s union stu­dents’ union What about com­mu­nity val­ues ver­sus com­mu­ni­ty’s val­ues? Please note I am look­ing for a gen­eral rule or at least some tips. These are only ex­am­ples. Up­date: It seems even na­tive speak­ers fol­low their per­sonal style to write such com­pound words. I won­der why in the IELTS lis­ten­ing sec­tion, the lan­guage learner has to write a spe­ci­fic form and there is no rule for this.", "Four tasks in parallel... how do I do that? I have a bunch of PNG images on a directory. I have an application called pngout that I run to compress these images. This application is called by a script I did. The problem is that this script does one at a time, something like this: FILES=(./*.png) for f in \"${FILES[@]}\" do echo \"Processing $f file...\" # take action on each file. $f store current file name ./pngout -s0 $f R${f/\\.\\//} done Processing just one file at a time, takes a lot of time. After running this app, I see that the CPU is just 10%. So I discovered that I can divide these files in 4 batches, put each batch in a directory and fire 4, from four terminal windows, four processes, so I have four instances of my script, at the same time, processing those images and the job takes 1/4 of the time. The second problem is that I lost time dividing the images and batches and copying the script to four directories, open 4 terminal windows, bla bla... How do that with one script, without having to divide anything? I mean two things: first how do I from a bash script, fire a process to the background ? (just add & to the end?) Second: how do I stop sending tasks to the background after sending the fourth tasks and put the script to wait until the tasks end? I mean, just sending a new task to the background as one tasks end, keeping always 4 tasks in parallel? if I do not do that the loop will fire zillions of tasks to the background and the CPU will clog.", "Why do we need to set swap space as twice big as our physical memory? When we want to setup a linux system, there is a common a suggestion to set the swap space twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come to be?", "Number of solutions of $x_1+2x_2+\\cdots+kx_k=n$?", "The latex file coding is not there but the pdf file is there I wrote all my coding in the .tex file. The next day when I opened it the coding is all gone and the pdf file is opening with it and is displayed as an output. How do I bring back my coding?", "Can a word be contracted twice (e.g. \"I'ven't\")?", "What registers to save in the ARM C calling convention? It's been a while since I last coded arm assembler and I'm a little rusty on the details. If I call a C function from arm, I only have to worry about saving r0-r3 and lr, right? If the C function uses any other registers, is it responsible for saving those on the stack and restoring them? In other words, the compiler would generate code to do this for C functions. For example if I use r10 in an assembler function, I don't have to push its value on the stack, or to memory, and pop/restore it after a C call, do I? This is for arm-eabi-gcc 4.3.0." ]
medi_sts_stackexchange_dupe
Get data as a list against a primary key in from the database
How to use GROUP BY to concatenate strings in MySQL?
[ "From Geneva airport to Lausanne station", "Batch renaming files with pattern I have some files named like these: 63018933.mp4?token=1325697436_b0c3e70c6e339380b4a484c576a8c287 63808488.mp4?token=1325697401_4ae5f7a68d93873c8881b303e7655e14 How do I rename all them to, for example 63018933.mp4(remove characters after mp4)?", "Ubuntu 20.04 Failed to Set MokListRT: Invalid Parameter I have a MacBook Pro and only use Ubuntu on it. I just upgraded from 18.04 to 20.04. Now when I start the computer it says: Failed to Set MokListRT: Invalid Parameter Could not create mokListRT: Invalid Parameter Importing MOK states has failed: import_mok_state() failed: Invalid Parameter Continuing boot since secure mode is disabled. Does anyone know EXACTLY how I can fix this?? Step-by-step process I don't want to mess anything up trying to fix this.", "AuraClientService.postProcess: error in processing [RangeError: Maximum call stack size exceeded] - Client Side Action I have a lightning component that is using ui:inputSelect. The component code: <div class=\"slds-form-element__control\"> <ui:inputSelect class=\"slds-select\" aura:id=\"quals\" change=\"{!c.getPreCodes}\"> <aura:iteration items=\"{!v.questions}\" var=\"q\"> <ui:inputSelectOption aura:id=\"question\" text=\"{!q.Id}\" label=\"{!q.Question_Text__c}\"/> </aura:iteration> </ui:inputSelect> </div> The controller: getPreCodes : function(cmp, event, helper){ var selected = cmp.find(\"quals\").get(\"v.value\"); var action = cmp.get(\"c.getPreCodes\"); action.setParams({ \"qualID\" : selected }); action.setCallback(this, function(response){ var state = response.getState(); if (state === \"SUCCESS\") { console.log('precodes: ', response.getReturnValue()); } }); $A.enqueueAction(action); } The basic logic is that the uiSelect is dynamically populated on init (this works fine). When a user makes a selection the \"change\" parameter function is fired to retrieve a list from the database and pass it to another component. However, the change function {!c.getPreCodes} seems to be called recursively causing a \"Something has gone wrong. AuraClientService.postProcess: error in processing [RangeError: Maximum call stack size exceeded] . Please try again.\" error. If I comment out the enqueueAction the function only runs once (nothing is called recursively) so I suspect it has something to do with the controller call.", "Best technique to create oldschool (fake 3D) racing game? What would be a good approach to develop the render system for an oldschool type racing game that uses a pseudo 3D scenery, like for example Outrun or Lotus Esprit Turbo Challenge? There's an endless scrolling road and scenery graphics are placed like billboard items, etc. I think you get the idea. Are these developed in a similar way like or is there a different technique behind it? Does the technique has a specific name I could search for on the web? I need to develop something like that in Flash.", "options for appearance of links in hyperref", "My keyboard doesn't have an Fn key so I can't get the coordinates to show up. I don't know how to get into the multiplayer settings and Shift + F3 doesn't work either. How can I fix this?", "What does 'close invalidated' mean Recently I flagged as a duplicate. A few days later, when I checked it again to see if it was closed, I realized it wasn't. Searching in Meta brought me to , where a comment suggested checking the timeline. So I checked the and saw that the close flag was set as invalidated. Does this mean that it was disputed? When I click on it I see only \"This item is no longer reviewable.\" Do I need more reputation (3000+ ?) to view more detailed information?", "Testing random number generation I have a program which generates random numbers. How can I test if the random number generator is generating actual random numbers?", "I'm unable to access the following website from my Internet Explorer 8 under Windows XP with Internet Explorer unable to display web page error. By the other hand the FireFox browser at the same Windows XP can access this website. How to solve the issue with IE8 ?", "Draw power from a portable mobile charger to power circuits", "Why does $\\lim\\limits_{t\\to-\\infty}te^t=0$? Intuitively, $\\lim\\limits_{t\\to -\\infty}te^t=0$, since $e^t\\to 0$ much faster than $t\\to -\\infty$. Is there a way to more rigorously compute this? Writing it as $e^t/(1/t)$ seems resistant to l'Hopital's rule.", "$\\lim_{n\\to\\infty}((\\frac94)^n+(1+\\frac1n)^{n^2})^{\\frac1n}$ Here's what I did: $\\lim_{n\\to\\infty}((\\frac94)^n+(1+\\frac1n)^{n^2})^{\\frac1n}\\\\ =(\\lim(\\frac94)^n+\\lim((1+\\frac1n)^{n})^n)^{\\frac1n}\\\\ =(\\lim(\\frac94)^n+\\lim e^n)^{\\frac1n}\\\\$ Any hints on how to continue? PS: no logs/integration/derivation because we haven't covered it.", "I have a simple spreadsheet, two columns \"Amount\" (col Q) and \"Account\" (col O). I want to get the sum of the \"Amount\" column where the corresponding \"Account\" forum equals \"Paypal\". This is as far as I can get! =SUM(Q:Q)*(O:O=\"Paypal\")", "I'm using an HP laptop running Windows 7 Home Edition. The moment I reach the login screen the computer automatically types \"ppppppppp\" in the password place, luckily I have fingerprint login to counter that. The moment I login, it keeps acting as if I'm typing 'p' repeatedly. I tried removing the button and cleaning under it but it was no use. I've tried restarting, uninstalling the keyboard driver, but it was no use. I can't go to Control Panel because the moment I get there, it starts typing \"pppppp\" in the search field and I'm unable to find anything. I'm typing this from my phone because going anywhere on my laptop seems impossible.", "Find the sum of angles without trigonometry?", "Conveying \"under the radar\" in a less colloquial way", "In my experimentation, I've used only BJTs as switches (for turning on and off things like LEDs and such) for my MCU outputs. I've been repeatedly told, however, that N-channel enhancement-mode MOSFETs are a better choice for switches (see and , for examples), but I'm not sure I understand why. I do know that a MOSFET wastes no current on the gate, where a BJT's base does, but this is not an issue for me, as I'm not running on batteries. A MOSFET also requires no resistor in series with the gate, but generally DOES require a pull-down resistor so the gate doesn't float when the MCU is rebooted (right?). No reduction in parts count, then. There doesn't seem to be a great surplus of logic-level MOSFETs that can switch the current that cheap BJTs can (~600-800mA for a 2N2222, for example), and the ones that do exist (TN0702, for example) are hard to find and significantly more expensive. When is a MOSFET more appropriate than a BJT? Why am I continually being told that I should be using MOSFETs?", "When you die, 3 things happen. You swear A message appears in the chat log describing how you died A \"You died\" screen appears, with the options to quit or respawn, and a \"Score\". What contributes to this score?", "How can I transfer large files from Linux to iPad over a cable or wifi? I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server. I run an Ubuntu laptop as my only OS at the moment and want to be able to transfer movies to my iPad. I currently transfer most of my files by way of the dropbox app which works well for small files but is quite slow for larger files and eats up my bandwidth. Ideally I'd like to be able to transfer over a cable or through WiFi. Thanks for any tips." ]
medi_sts_stackexchange_dupe
Parentheses after "new " optional?
Can we omit parentheses when creating an object using the "new" operator?
[ "Is a music band a singular or a collective entity, grammatically speaking? Duplicate: What is correct to say? Korn* is a great band OR Korn* are a great band. (* You can replace your favourite band's name here) Of course everybody there is no doubt about the following sentences: The Beatles are a great band Led Zeppelin is a great band But with certain kinds of names, the situation becomes difficult. Metallica are a great band OR Metallica is a great band Is there any consensus on this matter?", "Why can a discontinuous function not be differentiable?", "How to keep Heading together with text? I use a very custom style (not mine) and very frequently I get a heading on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. The same is true for listings and the listing description. Is there a general way how I can adjust the \"badness\" of these events? Or can I adjust when a section heading would be on the last, say, 3cm of a page it should go to the next page? Or can I say, if a *listing description\" is on the top 3cm of a page pull 5 more listing lines from the last page onto this page? The style I use does not use standard structure tags and environments. But lets call them section, subsection, listing and I will try to migrate them to my lingo.", "$x^a - 1$ divides $x^b - 1$ if and only if $a$ divides $b$ Let $x > 1$ and $a$, $b$ be positive integers. I know that $a$ divides $b$ implies that $x^a - 1$ divides $x^b - 1$. If $b = qa$, then $$x^b - 1 = (x^a)^q - 1^q = (x^a - 1)((x^a)^{q-1} + \\ldots + x^a + 1).$$ I'm interested in the converse of the statement. If $x^a - 1$ divides $x^b - 1$, does this imply that $a$ divides $b$?", "As a developer of free software, I want to get my application into Ubuntu. Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu directly, or should I try to get into Debian and then into Ubuntu automatically?", "Use of \"Or\", inclusive or exclusive? My wife and I are playing a game where you roll dice and move so many spaces in a grid \"vertically or horizontally\". In the use of English it is very common to say, this or the other when it comes to making a choice (exclusive or). Now I know that \"or\" can also be inclusive, for example \"she couldn't read or write\", or can be clearly used as an xor \"you either come or not\" making the statement true for only one of the options but not both. My issue is where it is not clear whether it is an inclusive/exclusive or, the best example being our game. I argue that you can move in either direction (inclusive) and the normal use of this conjunction in English should be inclusive unless specified otherwise. Is this right?", "Combining randomForests in R, why are the err.rate, mse and rsq components NULL From ?combine in : The confusion, err.rate, mse and rsq components (as well as the corresponding components in the test compnent, if exist) of the combined object will be NULL. Why are the err.rate, mse and rsq components for the combined NULL? Is there an efficient way to re-calculate these metrics? I ask because I would like to figure out a way to use the oob re-sampling method with the parRF model in .", "How do I create a vertical version of \\not?", "Gave up waiting for root device on Ubuntu", "Are there any open source alternative to Landscape?", "I am looking for easy(!) counterexamples that the product of two quotient maps is not necessarily a quotient map and that the quotient space of a Hausdorff space is not necessarily Hausdorff.", "Adding the consensus to review's history", "What are the benefits of playing an alignment other than True Neutral?", "How to install Python 3.4 on Ubuntu?", "How can I rank observations in-group faster?", "In ZF, how would the structure of the cardinal numbers change by adopting this definition of cardinality? In ZFC, a good way of ordering sets by cardinality is by leveraging the notion of an injection. We define: $$X \\lesssim Y \\leftrightarrow \\mbox{ there exists an injection } X \\rightarrow Y.$$ Alternatively, we can leverage the notion of a partial surjection, by which I mean a partial function that hits every point of its codomain at least once. $$Y \\succsim X \\leftrightarrow \\mbox{ there exists a partial surjection } Y \\rightarrow X.$$ Now in ZFC, these approaches are equivalent, in the sense that $$X \\lesssim Y \\iff Y \\succsim X.$$ But if we just consider ZF (that is, we drop choice) then the equivalence breaks down. However, we've still got the forward implication, because the converse of an injection is always a partial surjection. A specific question. Define that two sets are weakly equipotent iff $X \\succsim Y$ and $Y \\succsim X$. Question: does weak equipotence imply genuine equipotence? I'm guessing \"no.\" A general question: In broad terms, how would the structure of the cardinal numbers in ZF be altered by adopting $\\succsim$ rather than $\\lesssim$ as the fundamental order relation, and taking equality of cardinal numbers to correspond to weak equipotence of sets? I'm guessing this would hide a lot of the (usually very complicated) structure of the cardinal numbers in ZF. Remark. The order symbols can be written \\lesssim and \\succsim.", "Getting incorrect slope values from an ASTER DEM in QGIS? I have a DEM layer from ASTER satellite and I want to get the slope information from it. I use terrain analysis > slope, but the output is so wrong. Why is that? Here is the DEM: And here is the \"Slope\" that is totally wrong. It should stretch the values from 0 - 89.9097 but it does not.", "I have a little problem with the placement of my picture. I want to insert it at the end of the introduction chapter but its place is not where I want. I think the problem become from the: \\begin{figure} ... \\end{figure} Because when I insert the picture without using \\begin{figure}... the picture is at the end of the chapter as I want. Look the picture below.", "I'm studying for qualifying exams and ran into this problem. Show that if $\\{a_n\\}$ is a nonincreasing sequence of positive real numbers such that $\\sum_n a_n$ converges, then $\\lim_{n \\rightarrow \\infty} n a_n = 0$. Using the definition of the limit, this is equivalent to showing \\begin{equation} \\forall \\varepsilon > 0 \\; \\exists n_0 \\text{ such that } |n a_n| < \\varepsilon \\; \\forall n > n_0 \\end{equation} or \\begin{equation} \\forall \\varepsilon > 0 \\; \\exists n_0 \\text{ such that } a_n < \\frac{\\varepsilon}{n} \\; \\forall n > n_0 \\end{equation} Basically, the terms must be bounded by the harmonic series. Thanks, I'm really stuck on this seemingly simple problem!", "How can I develop my Android game for different phone resolutions?" ]
medi_sts_stackexchange_dupe
What are these folders for?
Strange directory under C: of Windows 7
[ "After a table of addresses is geocoded, ArGIS provides information about each geocoded address, among those the \"match score\" of the candidate to which the address was matched, which ranges from 0 to 100. According to their documentation \"The match score is based on how well the locations found in the reference data match with the address data being searched.\" It seems intuitive that 100 means an address with the exact name was found in the Address locator and 0 means no such address was found. However, I could not find any information about how exactly this score is calculated, particularly if values are somewhere between the extremes. I this known? I found the pointer to in the answer to , but I could not find any information in that paper that would answer the question.", "I remember a story I have read buy could not remember the author the name or anything apart from the basic plot. The story is about some future where humanity has to fight with some aliens (not 100% sure). The story tells about a guy who was some kind of activist and who was in a prison two or more times and somehow helped humanity by being held in a prison (can't remember details). I think the story starts by saying that there is a statue in his honor that is not very well known but he did more to help humanity than famous politicians. The story is most likely written by some famous English-speaking author, though I read it in a translation.", "Does \"singular\" have a common meaning across matrices, decomposition, vectors and values?", "Unable to Telnet into port 25 on CentOS PostFix Server", "When you hit up a site, such as cnn.com, does the TCP/IP packet contain the MAC address of your network card? Could cnn.com theoretically record my MAC address?", "Continuously Differentiable Curves in $\\mathbb{R}^{d}$ and their Lebesgue Measure Show that the image of the curve $\\Gamma\\in\\mathscr{C}^{1}\\left([a,b]\\to\\mathbb{R}^{d}\\right)$ has d-dimensional Lebesgue measure zero (of course, $d\\geq2$). This can be proved using the absolute continuity of $\\Gamma'$ (since $[a,b]$ is compact and $\\Gamma'$ is assumed continuous, hence in $L^{1}([a,b])$) together with the fundamental theorem of calculus to obtain an $\\epsilon$-small cover of $\\Gamma$ by balls. But I am trying to prove this using more elementary means (i.e. without integration). Intuitively, since $\\Gamma$ is smooth, we ought to (for fine enough partitions) be able to cover $\\Gamma$ by boxes which arise from its tangent line. And by taking the partition of $[a,b]$ to be finer and finer, the \"tangent box\" cover ought to also get smaller and smaller. More rigorously, the vector-version of the mean value theorem can be applied: $$|\\Gamma(t_{i-1})-\\Gamma(t_{i})|\\leq(t_{i}-t_{i-1})|\\Gamma'(t_{i}^{\\star})|\\leq M_{i}\\Delta t$$ where $t_{i}^{\\star}\\in(t_{i-1},t_{i})$ and $M_{i}=\\sup_{t\\in[t_{i-1},t_{i}]}|\\Gamma'(t)|$ which exists and is finite since $\\Gamma'$ is continuous. But to me, it's not quite clear how to rigorously construct a cover by boxes from here. NOTE: In the proof I mentioned (using integration), essentially you sum the left hand side over all partition intervals of uniform length $\\delta$ (which depends on the $\\Gamma'$), and \"integrate\" the right hand side. Actually, to be more specific, for each $\\epsilon>0$ there exists a $\\delta>0$ such that $||P||<\\delta$ implies $\\int_{t_{i-1}}^{t_{i}}|\\Gamma'(t)|dt<\\epsilon$ (e.g. absolute continuity). This allows you to define numbers $\\epsilon_{i}=\\sup_{t,\\bar{t}\\in[t_{i-1},t_{i}]}|\\Gamma(t)-\\Gamma(\\bar{t})|\\leq\\epsilon$ so that $\\sum_{i=1}^{\\#P}\\epsilon_{i}\\leq||\\Gamma'||_{L^{1}([a,b])}$. Then you can use these $\\epsilon_{i}$ to put balls at each point $\\Gamma(t_{i})$ of radius (say) $2\\epsilon_{i}$, thus giving you an $\\epsilon$-small cover. Again though, this is harder to establish without integration theory.", "Automatically generate thumbnails for all subfolders of a directory in Windows 7?", "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 to prove that we are living in a 3+1D world? Is there any scientific experiment that can lead us to conclude we live in 3 spatial dimensions without the premise of the conception of limited dimensions? Thank you all who helped in the improvement of this question (which was not clear at first). EDIT: I know that this can be a little philosophical, but it is also a scientific question. Let's consider the scenario where the mankind was not ever able to see. Let's also consider that this limitation could be surpassed thus not limiting us to reach a scientific and technological knowledge \"similar\" to what we have today. Would this civilization of blind people reach the conclusion that they are living in a 3D spatial world? Is the sense of touch enough to reach that conclusion? Is there any scientific experiment that can lead us to that conclusion without the premise of the conception of limited dimensions? Would it be easier, harder, or just different to reach a conclusion predicted by the M-Theory? (please do not focus only on this last question)", "Is it possible to get Inkscape's bucket fill to entirely fill regions marked by lines? I've noticed there's a slight gap between shapes and lines in which bucket-fill is applied (to the enclosed areas found therein) and the colour fill in Inkscape, is there any way of removing this gap (besides the older-fashion manual way by manipulating the borders of the bucket fill, which is very tedious)?", "This question led to a new package: I want to reference to citations from other file. Similar to what xr package does to labels, but I want to apply it for the bibliography. If I'm able to do \\cite{someone} in the main file, and it creates let say the number [4], I want to do the same \\cite{someone} in a second file, and also create the same number [4]. Similar to what xr does with the labels. By the way, I tried to add the main.bbl file from the main file. However, that adds all the references to the end of the second file. I want to avoid this. Is there any package that accomplish this?", "Resistor in series needed with LED string?", "I'm out of close votes. Can I use moderator flags instead?", "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!", "Integral ${\\frac{1}{\\pi^2}} \\int_{0}^{\\infty}\\frac{{(\\ln{x}})^2}{\\sqrt{x}{(1-x)^2}} \\mathrm d x$", "How to visualize a value resulted from math node? How to visualize a value resulted from math node,or just to know it. I tried the way of scaling this value to the scene size and then pick the color and get the value but I want more effective way to do this.", "Sufficiency to prove the convergence of a sequence using even and odd terms", "As the title says: Is a 1st-level spell cast using a 4th-level slot a 1st-level spell, or a 4th-level spell?", "Remove blank attributes from an Object in Javascript How do I remove all attributes which are undefined or null in a JavaScript object? (Question is similar to for Arrays)", "How to make a disk image and restore from it later?" ]
medi_sts_stackexchange_dupe
Convert comment to answer
Allow converting comments to answers
[ "How do I access folders created on Ubuntu with Windows?", "Layover at Tokyo Narita airport: can I travel outside, and what kind of visa would I need?", "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?", "Do cards with abilities that target trigger heroic?", "To prove $\\left|\\frac{p_n(z)}{q_m(z)}\\right|\\leq \\frac{M}{|z|^{m-n}}$ for some $M>0$", "Can I perform a DNS lookup (hostname to IP address) using client-side Javascript?", "I'm new to d20. I recently acquired a bunch of D&D books and I'm sure they are all either 3.0 or 3.5, but it doesn't say in the book which version it is. How can I tell which version the book is? For instance, I have \"Complete Warrior - A Player's Guide to Combat for All Classes\". It's hard back, published in '03. Is it 3.0 or 3.5? Another example, I have \"Sword and Fist - A Guidebook to Fighters and Monks\". Perfect Bound, published in '01. Is it 3.0 or 3.5?", "Is it possible to create an shader in Cycles? Specifically for something like , , , etc..", "php - insert a variable in an echo string", "Why Inox Steel doesn't interact with magnets? My dad has a HUGE magnet on his workshop. I love magnets, and when I saw it, I asked him what it was for. His reply was: \"I don't know why, but inox steel bolts don't get attracted to it, so I use it to identify them.\" Thus I got curious, why a magnet don't attract bolts? Steel, even if a inox variation is still mostly iron, no?", "Collection of short stories; in one a spy attempts to escape detection on Mars's moon by moving faster than the spaceship can scan", "Explicit vs implicit SQL joins", "How do I completely reset network settings?", "If n is such that every element $(\\mathbb{Z}/n\\mathbb{Z})^{\\times}$ is a root of $x^2-1$. Prove that $n$ divides 24.", "Cannot mount NTFS partition in Ubuntu 13.04 After I installed Ubuntu 13.04, I can't mount my NTFS partition. Error mounting /dev/sda5 at /media/mrxfly/xFLyDiskData: Command-line `mount -t \"ntfs\" -o \"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177\" \"/dev/sda5\" \"/media/mrxfly/xFLyDiskData\"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.", "Identification of fuzzy insect in Pennsylvania I live in south eastern Pennsylvania, USA. About a month ago I came across this very peculiar insect. Its body was about an inch long, it was fuzzy, and it had a long proboscis(?) and long orange legs. I've been wondering about it ever since. Can anyone identify it?", "I'm DM'ing a play-by-post campaign and I'm at a point in the adventure where the group all meets for the first time. They've all had something stolen from them at the same time and saw a creature that took something run into a nearby alley (there's three separate parties within the play group currently, as they've only just started, so there's three separate robbers running into alleys in the marketplace). Ideally, I want the players to have their PCs all give chase so they end up in the same part of town, all looking for the same thing. However, I don't want to railroad my players into doing this. I know I'm not supposed to take away player agency or narrate their actions for them, but the only way I could think of was to tell them that they start giving chase. So how would you deal with this situation? And more broadly, how can I stop something like this happening again? If it matters, we're currently playing D&D 5e.", "How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure?", "My tea bags are expired, can I still use them? This box of tea has an expiration date which has passed but I would like to know if I can still use it. What do you think?", "Changing SRID of existing data in PostGIS? While importing my shapefile data to PostGIS, I did not select the proper Projection. How do I now change the SRID of the data, without transforming the Coordinates?" ]
medi_sts_stackexchange_dupe
How to reset multiple select boxes in a form with jquery?
Reset select value to default
[ "Script to change current directory (cd, pwd) I want to run a script to simply change the current working directory: #!/bin/bash cd web/www/project But, after I run it, the current pwd remains unchanged! How can I do that?", "How can I use ranges in a switch case statement using JavaScript?", "access parent object in javascript", "I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on VirtualBox versus VMware (free); so I thought to keep the former. Both systems are updated, I installed the additions on the guest and I evenly split memory and video memory (64MB) between guest and host. I am running a Toshiba m200 laptop with 4GB ram and shared video memory. The host bios does not include a configuration option for machine virtualization. I have 2 cpus and I can't give them both to the virtual machine. Is there anything I overlooked that could solve my problem? Feel free to ask for more info, and thank you for any help. EDIT Idling with the system monitor open the (single) guest cpu never gets below 55% and could rise to 80 - 90% just by moving the mouse around. Opening Firefox will cause the system monitor to show cpu usage 100% in the guest, while the host shows that both cpus are evenly working around 60%. My cpu is Intel® Core™2 Duo CPU T5450 @ 1.66GHz × 2. If this is not a configuration problem, does it mean my machine is too weak for virtualization?", "$$ 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.", "Why is $1$ not considered a prime number? Or, why is the definition of prime numbers given for integers greater than $1$?", "Simple way to monitor a multiple URLDownloadSubmit calls?", "How can I scale all images in a folder to the same width? I want to scale all images in a given folder to the same width (but different appropriately scaled heights). How can I do this using a GUI-based or command-line tool? For bonus points, is it possible to restrict which images are scaled based on their initial width (that is, only scale images that have a width > x and/or a width < y)?", "In the previous version the logout button is under your username, which it can be found by clicking the down arrow. However, in the new version, after a couple minutes of searching, it is under the \"site-switcher\" button: This is really illogical since the logout button is usually under your username, including Google and Yahoo! services. I suggest bringing back the which will definitely benefit new users and even old users.", "Submitting a URL to Google using PHP/cUrl", "Is there a difference between SWAP and Cache memory? I installed the indicator-multiload 0.2-0ubuntu1 from the software center. (It's very similar to the gnome panel indicator showing memory and CPU graphs) When I click on the Unity panel which shows the little memory graph, it says ; Mem :1.451 GB Cache: 2.581. This is also represented in the color graph. However, when I load the System Monitor, SWAP is at a flat 0. Is this normal, or could there be a bug in either the System Monitor or Panel Indicator?", "Why does an argument similiar to 0.999...=1 show 999...=-1? I accept that two numbers can have the same supremum depending on how you generate a decimal representation. So $2.4999\\ldots = 2.5$ etc. Can anyone point me to resources that would explain what the below argument that shows $999\\ldots = -1$ is about? Here is the most usual proof I see that $0.999\\ldots = 1$: $x=0.999\\ldots$ $10x=9.999\\ldots$ $10x - x = 9$ $x=1$ Using this same argument template I can show $999\\ldots=-1$: $x= \\ldots9999.0 $ $0.1x= \\ldots9999.9$ $0.1x - x = 0.9$ $x=-1$ What might this mean? Edit from one of the comments: $$\\sum_{k=0}^{\\infty}{9 \\cdot 10^k}=-1$$", "MT7610U - Unable to install wifi driver", "How to make two people play at the same time? My brother owns Skyrim on steam. We use Steam Family Share, but we were wondering how both of us could play it at the same time?", "How do I install Ubuntu 16.04 from an SD card? Could someone explain how to install Ubuntu from an SD card? I don't have any CDs or USB sticks around. My current operating system is Windows 10 64 bit.", "I want to use a Java file SaveProp which is written in a package user. The class file has been placed in WEBINF/classes. Below are the two lines which cause the issue. jsp:useBean id=\"user\" class=\"user.SaveProp\" scope=\"session\" jsp:setProperty name=\"user\" property=\"*\" It throws: The value for the useBean class attribute user.SaveProp is invalid I'm using Tomcat 6.0.", "How many syllables are in the word 'hour'? Does the word 'hour' have 1 or 2 syllables?", "I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume (/dev/sda2), and the boot partition is ext4 (/dev/sda1).", "Pure significance of line integrals of vector fields I can understand how the line integral of a scalar function has pure-mathematical significance, representing an area beneath a curve. But is there a pure significance to the line integral of a vector field? The only understanding I have of this is the physical example of work done on a moving particle. Thanks for any insight.", "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." ]
medi_sts_stackexchange_dupe
Wrap div based on content inside it
How can I make a div not larger than its contents?
[ "How to Set Firefox 4 to only store History for a set period of time, i.e. one day?", "What is the default /etc/inittab file on a fresh install of Debian Jessie? I'm looking for the full contents of the default /etc/inittab file on a fresh install of Debian 8.7 before any system-specific modifications are made. I searched for this on the Debian website and other forums, but could not find it.", "Google Drive files opening in new window vs new tab? This might be a duplicate of but that question is 5 years old and unanswered. When I'm in drive.google.com and I open a G Suite file (either double-click or select & press enter) in Firefox it opens in a new window whereas in Chrome it opens in a new tab. Why do they do that? Is this a browser-specific quirk or a Google setting (that I haven't found)? Is there a way to control the behavior? I'd like them both to open in tabs, but presumably the same answer would be relevant in the opposite direction too.", "Is “ ’s ” ever correct for pluralization?", "Do I need a bus/train/plane ticket out of Thailand in order to get a Visa-on-Arrival? Someone told me I need a ticket out of Thailand in order to enter. I am traveling to Thailand, on March 18th. I have a Ticket from Bangkok to Sweden booked for June 4th. I will be staying in Thailand for 2 weeks when I arrive there, then traveling around Cambodia, Laos and Vietnam until June 4th when I leave. With that ticket out of Thailand, will I be able to get in and get a (30 day) Visa-On-Arrival (or not because the ticket out is not within the first 30 days). Or do I need to show proof that I am leaving within 2 weeks of being there at first?", "To prove that $f_n(x) = \\frac{nx}{1+n^2x^2}$ does not uniformly converge to $f(x) = 0$ on $[0,1]$", "Children’s books, one in space setting, the other in a jungle", "How to manually typeset text in parallel on facing pages in (Lua)LaTeX? I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), don't allow for different font sizes of the two parallel texts (), or generally provide a poor result of aligned text chunks (eledpar). As the text is not too long, I really came to consider breaking the pages myself. For this to do, I have to solve the following problem(s): Consider two facing pages with ending paragraphs of different length. The following paragraphs should then begin at the same vertical position such that the beginnings of these following paragraphs face each other. For this to accomplish on has to determine the position of the end of the longer paragraph on its page to have the means to let the next parallel paragraphs both begin at the identified position. Is this something which is doable? Are there mechanisms provided by (Lua)LaTeX to determine positions on a page and to begin typesetting at a specific position on a page? EDIT: The following example illustrates the task. Here the latin paragraph starting with \"O tempora, o mores\" (third chunk of text in the code) should begin at the facing position of the beginning of the paragraph \"Shame on the age...\" (fifth chunk). \\documentclass[a6paper]{scrbook} \\usepackage{fontspec} \\usepackage[latin,english]{babel} \\begin{document} \\mbox{}\\pagebreak \\noindent\\selectlanguage{latin}{\\large quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam furor iste tuus nos eludet? quem ad finem sese effrenata iactabit audacia? nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus habendi senatus locus, nihil horum ora voltusque moverunt? patere tua consilia non sentis, constrictam iam horum omnium scientia teneri coniurationem tuam non vides? quid proxima, quid superiore nocte egeris, ubi fueris, quos convocaveris, quid consili ceperis quem nostrum ignorare arbitraris?\\par\\newpage} \\noindent\\selectlanguage{english}When, O Catiline, do you mean to cease abusing our patience? How long is that madness of yours still to mock us? When is there to be an end of that unbridled audacity of yours, swaggering about as it does now? Do not the nightly guards placed on the Palatine Hill — do not the watches posted throughout the city — does not the alarm of the people, and the union of all good men — does not the precaution taken of assembling the senate in this most defensible place — do not the looks and countenances of this venerable body here present, have any effect upon you? Do you not feel that your plans are detected? Do you not see that your conspiracy is already arrested and rendered powerless by the knowledge which every one here possesses of it? What is there that you did last night, what the night before — where is it that you were — who was there that you summoned to meet you — what design was there which was adopted by you, with{\\parfillskip0pt\\relax\\par} \\noindent\\selectlanguage{latin}{\\large O tempora, o mores!\\par\\newpage} \\noindent\\selectlanguage{english}which you think that any one of us is unacquainted? Shame on the age and on its principles! \\end{document}", "Limit $ a_{n+1} = \\frac{1}{3}(2a_n + \\frac{5}{a_n^{2}}), a_1 > 0 $ Let $ a_{n+1} = \\frac{1}{3}(2a_n + \\frac{5}{a_n^{2}}), a_1 > 0 $. Show the sequence converge and find it's limit. I did the following: We see that $a_n$ is positive for every n obviously (considering $a_1 > 0$). Then: $$ a_{n+1} - a_n = \\frac{2a_n^{3} + 5}{3a_n^{2}} - a_n = \\frac{5 - a_n^{3}}{3a_n^{2}}$$ We see that for each $a_n > ^3\\sqrt{5}$ the sequence is decreasing. That means the proof collapses to prove $a_n > ^3\\sqrt{5}$ in order for $a_n$ to be decreasing. Suppose $ a_n > ^3\\sqrt{5}$ then obviously $a_{n+1} = \\frac{2a_n^{3} + 5}{3a_n^{2}} > \\frac{2(\\sqrt[3]{5})^{3} + 5}{3(\\sqrt[3]{5})^{2}} = \\sqrt[3]{5}$ so we deduced $a_{n+1} > ^\\sqrt[3]{5} $. (It's important to note $a_1$ might be less then $\\sqrt[3]{5}$, hence the sequence will decrease from the second element.) So we observed $a_n$ is always positive and decreasig hence it's bounded below so it's bounded. As for it's limit: $$\\begin{align} L = \\lim_{n \\to \\infty} a_{n+1} = \\lim_{n \\to \\infty} \\frac{1}{3}(2a_n + \\frac{5}{a_n^{2}}) = \\frac{1}{3}(2L + \\frac{5}{L^{2}}) = \\sqrt[3]{5}\\end{align}$$ I'm not sure as of the correctness of the solution. I'm aware that it's not a contradiction because it only implies it's in the epsilon-environment of $\\sqrt[3]{5}$, or rather in this case $(\\sqrt[3]{5}, \\sqrt[3]{5}+\\epsilon)$. Is it correct? EDIT: If anyone encounter a question in the likes, to sum it up you obviously should show the sequence is montonic and bounded. In this case for example we can show it using AM-GM inequality to see the sequence is bounded by $\\sqrt[3]{5}$ and then in the difference of two consequective elements we see the difference is negative due to every element being greater then the third root of 5. From here we know the sequence is bounded below and decreasing hence it's bounded. If we plug in the limit of the sequence to itself we will see it's the third root of five. And that's it.", "I have little experience with testing and I'm being hired to work on a team where I am the only tester. I'm struggling to find the best approach for the process. Being alone should I write down a test script or not? Wouldn't it take too much time? I have no experience in writing test scripts, could anyone help with a good reference (book, video or whatever), please?", "How to handle OutOfMemoryError in Java?", "How can I view the time of a text message in iOS 7?", "If $x_1,x_2,\\ldots,x_n$ are real numbers larger than $1$, prove that $$\\dfrac{1}{1+x_1}+\\dfrac{1}{1+x_2}+\\cdots+\\dfrac{1}{1+x_n} \\geq \\dfrac{n}{\\sqrt[n]{x_1x_2\\cdots x_n}+1}$$ Attempt AM-GM doesn't work here since we will get an upper bound. I don't see Cauchy-Schwarz working either. Thus, I think a substitution might work, but I am unsure of which one to use.", "Where is the dimensions option?", "wrapfig: frame around image and caption", "Switch off Windows Update for a particular program or feature I'm getting really tired of unchecking the same Windows Update candidates so save hundreds of MB's of dowbloads, especially for programs I never use, that are in fact not even installed, and those I don't wish to update. Is there any way to permanently, or until another explicit change, to turn off certain updates? There is an option called 'Hide update', but that unsettles me a bit.", "Blending colors in photoshop and illustrator", "Why does Loki look \"sick\" when he first arrives on Earth? In the Avengers movie, why is Loki sweating and weak when he first arrives on Earth, in the SHIELD base?", "A friend of mine has some very old photos where the deterioration process seems to have increased in the past few years, and the owner is worried about the preservation of these old memories. They have been stored inside an album within plastic sleeves. The owner is not aware of the display method prior to that. I have been informed by the owner that since being in their possession, they seem to be looking worse than when first viewed and seem to be falling apart. He is looking for the best way to preserve these photos inside an album, but not really sure what would be the best method. I have suggested for the albums as a whole to be stored in vacuum sealed bags for now, but I'm not even sure if that is good! I am looking for any suggestions or personal experiences from anyone who has had to deal with such photos and what they did to preserve their memories.", "\"This box of matches is empty\" There are several Japanese books teaching Japanese students how to write in English. I found this example in (Correcting Errors in English Composition Manuals) by Michio Kawakami and J.D. Monkman. The authors of this book claim that this sentence is incorrect: This box of matches is empty. They note that a “box of matches” is a box containing matches (and not a box made for keeping matches), hence the sentence should instead be: This matchbox is empty. Likewise, an “empty bottle of beer” should instead be an “empty beer bottle.” Is this actually an error that I should avoid in writing English? If so, is it a grammatical error or something else?" ]
medi_sts_stackexchange_dupe
Cant access the json data
Parse JSON in JavaScript?
[ "Change the passphrase of an ecryptfs directory", "Derivatives of $ \\frac{1}{r} $ and Dirac delta function I am trying to understand the formula \\begin{equation} \\nabla^2\\left(\\frac{1}{|{\\bf r}-{\\bf r}'|}\\right) = - 4 \\pi \\delta(\\bf{r}-\\bf{r}'), \\qquad\\qquad {\\rm (I)} \\end{equation} where ${\\bf r}=(x,y,z)$. This is something heavily used in electrostatics and the steps to 'show' this is often the following: The first derivative reads \\begin{equation} \\nabla \\frac{1}{| {\\bf r} - {\\bf r}' |} = - \\frac{ {\\bf r} - {\\bf r}'}{| {\\bf r} - {\\bf r}'|^3} \\end{equation} And taking the second derivative gives zero, except for the singularity at ${\\bf r} = {\\bf r'}$. Then from the divergence theorem we have \\begin{equation} \\int dV \\, \\nabla^2 \\frac{1}{| {\\bf r} - {\\bf r'}|} = \\int dS \\,\\,{\\bf n} \\cdot ( \\nabla\\frac{1}{|{\\bf r} - {\\bf r}'|}) = -4 \\pi \\end{equation} where the integration is performed over a sphere centered at ${\\bf r}'$. Q1: Is there a more direct proof for equation (I)? Then my main question is about the separate second-order differentials. For instance, we can obtain, by direct computation \\begin{equation} \\partial_x^2 \\, \\frac{1}{| {\\bf r} - {\\bf r}'|} = \\frac{ 3 (x-x')^2 }{| {\\bf r} - {\\bf r'} |^5} - \\frac{1}{| {\\bf r} - {\\bf r}'|^3} \\end{equation} Q2: Should there be a $\\delta$ function on the r.h.s of this equation?", "If you have a statically allocated array, the Visual Studio debugger can easily display all of the array elements. However, if you have an array allocated dynamically and pointed to by a pointer, it will only display the first element of the array when you click the + to expand it. Is there an easy way to tell the debugger, show me this data as an array of type Foo and size X?", "What does \"in spades\" mean?", "C# Structs: Unassigned local variable?", "css vertical centering how could i vertically center a <div> within a <div> ? my code so far: <div style=\"height:322px;overflow:auto;\"> <div style=\"border: Solid 1px #999999;padding:5px;\"> </div> </div> i have tried \"top:50%;\" and \"vertical-align:middle;\" without success EDIT: okay so it's been discussed a lot. and i've maybe started another mini flame war. but for argument sake, how would i do it with a table then? i've used css for everything else so far so it's not like i'm not trying to employ \"good practices\". EDIT: the inner div does not have a fixed height", "How to look up a symbol or identify a letter from a math alphabet or other character?", "OAuth 2.0 access token request failed with error \"must use HTTP POST\" OAuth 2.0 Auth token request failed with below error { \"error\": \"invalid_request\", \"error_description\": \"must use HTTP POST\" } What does this error mean? I am using Postman. Have a connected app. I have used Post method, Url has https. Same request works for other Orgs. Did I missed any configuration/Permission check? https://testOrg.lightning.force.com/services/oauth2/token?grant_type=password&client_id={{CLIENT_ID}}&client_secret={{CLIENT_SECRET}}&username={{USER_ID}}&password={{PASSWORD}}", "This is a trivial problem, but it annoys me that I can't get to the bottom of it: I'm running Windows 8, Powershell version 3.0. By right-clicking on the title bar I can go into the Properties and change the font, size, background colour etc without any problems. After closing and restarting Powershell, all of the changes I've made stick except that if I've set the font to Lucida Console then on reopening I get the Raster font. (Note that all of the above applies to when I run Powershell as Administrator.) So: If I set the font to Lucida, then it switches to Lucida for the remainder of the session. If I set the font to anything other than Lucida, then it stays as that after closing and reopening. If I alter the window sizes or text colours or anything else, the changes persist after reopening. The only thing that goes wrong is that if I set the font to Lucida, it switches to 'Raster fonts' when I reopen. But cmd and powershell ISE don't have this problem - only the powershell console. Can anyone suggest what might be going wrong? (One observation I've made is that upon re-opening Powershell after setting the font to Lucida, at first the width of the window is what it would be if the font were Lucida, but then after a second, it widens slightly to accommodate the raster font.)", "Recovering a accidently deleted file in Ubuntu I'm using ubuntu 9.10 and accidently deleted a specific file within a directory on my system. I checked in the Trash bin and could not locate the file. I deleted it 10mins ago, are there any tools available that I can recovery this file? It's a really important file. Any help would be highly appreciated My partition is ext4", "How to Connect & Share your Internet Connection (Wired & Wireless) I have Ubuntu 12.04 on a HP 430 notebook and this has a single wired internet connection and I would like to share this with a LG Optimus One with Android 2.3.3. I followed instructions and created a hotspot as shown below, but UbuntuHost is not visible on the LG Optimus One when I enable the Wifi on it. To summarize, I want my Laptop with an internet connection to act as a WiFi router and access the internet from other devices (LG Optimus One with Android in this case). What additional steps have to be done?", "How do Minecraft biomes work? I've never seen any information about the distribution of biomes in a generated world. First, are all types of biomes, guaranteed to exist in a world? Will I always find snow somewhere, and desert somewhere? I've got one world that doesn't seem to have cactus (so I guess the sand is beaches, no actual desert). Second, is there any kind of pattern or relation to biomes? Is snow to the North, and desert South, for example? Third, how about density of biomes? If all types do exist, would I find them all within distance X of my spawnpoint, or have to travel for weeks to find a given type?", "Age of universe? Well relativity teaches us that time interval between two events is a frame dependent quantity, then how can we say that our universe is 13.8 billion years old? Should it not depend on who is asking this question?", "First off I'll let you know I'm a total noob at blender I've used 3ds Max up until this point, but the company I'm working for at the moment needs me to use blender so I'm trying to make the transition over. Literally all I'm making at the moment is a simple book and cannot understand how the bevel tool isn't working similar to how the chamfer tool would in 3ds Max. I want a nice curved edge for the spine of the book however when I press control + B and try to bevel it bevels the edge unevenly with the new bevel pushing forward. Is there a way I can get it to bevel evenly like it does in Max?", "How to tell if a travel location is \"affordable\"? Disclaimer: The locations are just examples to set up the question and all prices are made up for the sake of the example and question. Background: Let's say I want to visit London or Busan, and my currency is USD. While comparing the two locations I notice their exchange rates. 1 USD is 0.60 GBP, while 1 USD is 1,200 KRW. Question: Are there traveler's tips and/or tools when it comes to currency exchanges where I know how much I can get for my \"dollar\" in a certain travel location? To use the exchange rate above as an example, consider the following. A bottle of water in London costs 0.40 GBP while a bottle of water in Busan costs 2,000 KRW. How would I know the relative value of goods I can get for my \"dollar\"? I found that provides that information but I'm wondering if there are other travel tips or anything to answer my question. Edit: I replaced Korea with Busan to give it a more precise location and to keep it on the same level as London.", "Is there more to an interface than having the correct methods So lets say I have this interface: public interface IBox { public void setSize(int size); public int getSize(); public int getArea(); //...and so on } And I have a class that implements it: public class Rectangle implements IBox { private int size; //Methods here } If I wanted to use the interface IBox, i can't actually create an instance of it, in the way: public static void main(String args[]) { Ibox myBox=new Ibox(); } right? So I'd actually have to do this: public static void main(String args[]) { Rectangle myBox=new Rectangle(); } If that's true, then the only purpose of interfaces is to make sure that the class which implements an interface has got the correct methods in it as described by an interface? Or is there any other use of interfaces?", "My objects are semi-transparent, and not one behind the other in the compositor", "How to access the Keyboard Layout Options in 13.10+", "How to address a professor in letter?", "I'll like to add this functionality to the autocomplete widget in Entityreference field to show node ID next to the titles in the dropdown list. The reason behind the idea is to differentiate between multiple nodes with same title. Example: This is a title (3) This is a title (2) This is a title (1) I know the node ID is shown once a selection is made but I like to show it in the dropdown list in order to pick the right node quickly based on the node ID." ]
medi_sts_stackexchange_dupe
Ruby print function
Why am I getting objects printed twice?
[ "Decode JWT Token in Apex I am trying decode JWT token in apex, and i am not sure how that can be done. If anyone has done that before, please let me know the process. A JWT token is sent to SFDC and need to decode it in apex class. Questions: 1) Can we decode the JWT using any standard salesforce classes, if yes what class and method? 2) Or do we need to decode it with our custom code -- if so can you provide an example.", "Proof of Neumann Lemma Prove that if $\\|A\\| < 1$, then $I-A$ is invertible. Here, $\\|\\cdot\\|$ is a matrix norm induced by a vector norm. This lemma is referred to as Neumann Lemma. Any ideas on how to go ahead with this? Thanks.", "Irreducible polynomials and affine variety Let $k$ be any field, and let $f,g\\in k[x,y]$ be two irreducible polynomials such that $g$ is not divisible by $f$. Prove that $V(f,g)\\subseteq A_k^2$ is finite.", "So essentially does margin collapsing occur when you don't set any margin or padding or border to a given div element?", "Bash: command not found", "Should I upgrade to the \"mainline\" kernels? Newer \"mainline\" versions of the kernel are available from the , e.g. 3.4 and 3.5, while Ubuntu 12.04 is on 3.2. What are the mainline kernels? Are they better than my existing kernel? What are the pros and cons of upgrading to a mainline kernel? Will I easily be able to go back?", "\"Cannot find this file\" error when deploying from Visual Studio 2010 I'm getting an error in Visual Studio 2010 after pressing F5 to Debug: Error occurred in deployment step 'Add Solution': Error: Cannot find this file specified in the manifest file: G2_SiteDefinition_List_Instances_Feature\\ListInstance1\\Elements.xml But elements.xml file is there with the ListIntance1 folder. What am I missing here?", "Discrepancy with lsof command when trying to get the count of open files per process", "In English, the number 0 is treated as plural. It is then: 0 seconds 1 second 1.2 seconds 2 seconds Shouldn't it be \"nobody want to go there,\" instead of \"nobody wants to go there\"? I also saw in TOEFL that \"any __\" should be used with a singular. But I see it very common that it is a plural also. Why is that? (updated: example, \"we don't have any apples any more\" vs \"If you get any apple, please let me know.\")", "Is there some easy way to pad Strings in Java? Seems like something that should be in some StringUtil-like API, but I can't find anything that does this.", "\"I think him to be about 50\" or \"I think he is about 50\"? I have two options. Which one is correct? a) I think him to be about 50. b) I think he is about 50. If both are correct, should I avoid one or the other?", "To show that $2$ | $x^{2n} - x^n$, $n \\in \\mathbb{Z^+}$ is the following adequate? Show that $2$ | $x^{2n} - x^n$, $n \\in \\mathbb{Z^+}$ Let $x^n = a$ then $\\frac{a}{2}$ $\\implies a = 2q + r$ such that $r = 0 \\vee r = 1$. So $x^{2n} = (x^n)^2 = a^2 = (2q + r)^2$, which means that $2|[x^{2n} - x^n ]= 2| [(2q + r)^2 - (2q + r)]$. If $r = 1$ we get $(4q^2 + 4q + 1) - 2q - 1 = 4q^2 + 2q = 2(2q^2 +1)$. Thus $2$|$x^{2n} - x^n$, $n \\in \\mathbb{Z^+}$. Is this reasoning correct? Is it adequate?", "How to install latest HPLIP on my Ubuntu to support my HP printer and/or scanner? Let's assume that one has some modern HP printer and/or scanner which is not supported by HPLIP package from official repository. Currently Ubuntu versions have : trusty (14.04LTS): 3.14.3-0ubuntu3.4 xenial (16.04LTS): 3.16.3+repack0-1 bionic (18.04LTS): 3.17.10+repack0-5 focal (20.04LTS): 3.20.3+dfsg0-2 groovy (20.10): 3.20.5+dfsg0-3build1 hirsute (21.04): 3.21.2+dfsg1-2 What can one do if printer is supported in newer version of HPLIP (checked this in )?", "I edit a lot of posts every day. I often run across posts with 'Hi' and 'Thanks' on the top and the bottom of the post respectively. I also run across things like: --User Should these items be removed during the editing of the post by an editor?", "How does a USB 2.0 Wall Charger negotiate current output? I'm trying to use a mobile phone charger for my projects, and want a high current output. I have read , however my measurements show something else. is a link to the Battery Charging Specification Rev. 1.2. 1.4.7 Dedicated Charging Port A Dedicated Charging Port (DCP) is a downstream port on a device that outputs power through a USB connector, but is not capable of enumerating a downstream device. A DCP shall source \\$I_{DCP}\\$ at an average voltage of \\$V_{CHG}\\$. A DCP shall short the D+ line to the D- line. I verified on three different chargers, and all read \\$R_{DCP\\_DAT}\\$ as ~1.5 Ohms. Now, if there is a short between the D+ and D-, there is no detection on the charging port side, and the charger should always output \\$I_{DCP}\\$ {0.5 - 5.0A max} on the VBUS line - is this correct? I tested the current output of three chargers, but they are all completely different. Charger 1 - Nokia Rated current output: 1.3A Measured current output: 1.34A Charger 2 - Asus Rated current output: 2.0A Measured current output: 0.7A - 1.1A (unstable) Charger 3 - HTC Rated current output: 1A Measurent current output: 0.1A If all these dedicated charging ports have no current negotiation, how come only one charger is showing it's rated output? N.B All three chargers can charge a mobile phone in a reasonable amount of time.", "Convergence of $\\int_0^\\infty \\sin(t)/t^\\gamma \\mathrm{d}t$ For what values of $\\gamma\\geq 0$ does the improper integral $$\\int_0^\\infty \\frac{\\sin(t)}{t^\\gamma} \\mathrm{d}t$$ converge? In order to avoid two \"critical points\" $0$ and $+\\infty$ I've thought that it would be easier to test the convergence of the sum (is this coherent?): $$ \\int_0^1 \\frac{\\sin(t)}{t^\\gamma}\\mathrm{d}t + \\int_1^\\infty \\frac{\\sin(t)}{t^\\gamma}\\mathrm{d}t. $$ For the second integral, it converges if $\\gamma > 1$ (comparision) and also converges if $0 <\\gamma \\leq 1$. I'm stuck on proving the last part and the fact that the first integral converges for $\\gamma < 2$. Any help would be appreciated. Thanks in advance. PD: I've checked the answers for but I would not like to solve this integral using $(n\\pi,(n+1)\\pi)$ intervals.", "I have seen many programs consisting of structures like the one below typedef struct { int i; char k; } elem; elem user; Why is it needed so often? Any specific reason or applicable area?", "I am trying to capitalize Western Canada or western Canada properly and am wanting a definition for when the \"ern\" is added as a suffix to a locational distinction of a proper noun. I believe the capitalization is related to the suffix and am grouping two questions. After researching on the internet I have found a trend that areas of discrete area become capitalized along with their proper noun East New York West Hollywood East London (Britain) East Los Angeles Some locations have \"ern\" added to their locational modifier. Web Examples (from government sites): eastern Canada ( Western Canada () All the examples listed contain discrete areas. The \"ern\" suffix is used for larger areas, but I am unable to determine when an area becomes large enough.", "Bravo for allowing comment editing, but what's the explanation for enforcing a five-minute window? I think this might be over-engineering. If I have a spelling mistake or an inaccuracy I'd like to fix, I don't think the fact that five minutes has elapsed should prevent me from fixing it. Further, if you are worried people will edit their comments in a way that makes the comment thread nonsensical, they can already do this by deleting their comment. So, limiting the ability to edit isn't really helping much in that regard. Update If people don't like this idea, I'm definitely open to hearing your reasons. For now, it seems like an unnecessary limitation of a quite awesome feature. Update 2 Regarding John's scenario... Me: Obama is cool! You: You are right, man! My edit: Obama is an idiot! You: You are right, man! ...this problem can still occur with deletions... user1: Obama is cool! user2: No, McCain is cool! you: You are right, man! user1: Obama is cool! ---- deleted ----- you: You are right, man! So, yes, editing could be abused as you suggest, but discontinuities can occur already because of deletions (and as someone else mentioned, because upvoted comments get prioritized upward). As for Jeff's argument about rate limiting, I agree that is important, but I don't understand why you can't just use a CAPTCHA to prevent too many edits in a short period of time.", "Consider: List<String> someList = new ArrayList<String>(); // add \"monkey\", \"donkey\", \"skeleton key\" to someList for (String item : someList) { System.out.println(item); } What would the equivalent for loop look like without using the for each syntax?" ]
medi_sts_stackexchange_dupe
The correct placement of "only"
Correct position of "only"
[ "What would happen if you put your hand in front of the 7 TeV beam at LHC? Some speculation here: Is there a possibility it would pass 'undetected' through your hand, or is it certain death? Can you conclude it to be vital, or only loose your hand? Would it simply make a small cylindrical hole through your hand, or is there some sort of explosion-effect? Assume your hand has a cross section of 50cm², and a thickness of 2cm, how much of the beam's energy would be transferred to your hand?", "I want to set a folder such that anything created within it (directories, files) inherit default permissions and group. Lets call the group \"media\". And also, the folders/files created within the directory should have g+rw automatically.", "Caption on tabular environment I have got codes like the following (generated by Kile). How can I add a caption. I guess I should have used the table environment. Is there any solution now? \\newcommand{\\mc}[3]{\\multicolumn{#1}{#2}{#3}} \\begin{center} \\begin{tabular}{rccll} & & \\mc{3}{c}{Colin}\\\\ & & a & \\mc{1}{c}{b} & \\mc{1}{c}{c}\\\\\\cline{3-5} Rose & \\mc{1}{c|}{A} & \\mc{1}{c|}{(1,2)} & \\mc{1}{c|}{(2,5)} & \\mc{1}{c|}{(4,4)}\\\\\\cline{3-5} & \\mc{1}{c|}{B} & \\mc{1}{c|}{(7,4)} & \\mc{1}{c|}{(3,5)} & \\mc{1}{c|}{(0,6)}\\\\\\cline{3-5} \\end{tabular} \\end{center}", "Sorting multiple keys with Unix sort", "Solve recurrence relation $a_n = 3 a_{n - 3} + a_{n-1} + 2 n$ I am not able to solve the above recurrence relation which involves $n$. The initial conditions $a_0 = 1, a_1 = 2, a_2 = 3$, for $n \\geq 0$. Please try to give closed form in terms of arbitrary $a_i \\geq 1 $ for $i \\geq 0$", "Do cards with abilities that target trigger heroic?", "I'm trying to split text in a JTextArea using a regex to split the String by \\n However, this does not work and I also tried by \\r\\n|\\r|n and many other combination of regexes. Code: public void insertUpdate(DocumentEvent e) { String split[], docStr = null; Document textAreaDoc = (Document)e.getDocument(); try { docStr = textAreaDoc.getText(textAreaDoc.getStartPosition().getOffset(), textAreaDoc.getEndPosition().getOffset()); } catch (BadLocationException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } split = docStr.split(\"\\\\n\"); }", "Can't boot into Ubuntu in Windows 10 / Ubuntu dual boot I installed Ubuntu on a Dell XPS 13 laptop that had Windows 10 preinstalled on it. I installed it from a USB flash drive on a partition. When I boot my computer I can only boot into Windows 10 and Ubuntu is nowhere to be seen. If I boot into my USB then I can see that Ubuntu is installed, but I can't get to it from the BIOS boot menu.", "This is a variation of the questioned some time ago. For a complex Hilbert space $H$ let $T: H \\rightarrow H$ be a bounded operator. We call that $T$ is a trace-class operator if the following sum $$\\sum_{i}{\\langle |T|e_{i}, e_{i} \\rangle} < \\infty$$ converges, where $|T| = (T T^{*})^{\\frac{1}{2}}$ is the absolute value of the operator. Assume that $$\\sum_{i}{\\langle Te_{i}, e_{i} \\rangle}$$ converges for any basis in the space $H$. How to prove that if the aformentioned property holds then the operator is a trace class operator? The progress on the problem is the following: Given an arbitrary bounded operator $T: H \\rightarrow H$, one can use the following decomposition $$T = \\big( \\frac{T + T^{*}}{2} \\big) ^{*} + i \\big( \\frac{T^{*} - T}{2i} \\big) ^{*}$$ The latter line gives the decomposition $$T = A + i B$$ where $A, B$ are normal operators. For the normal operators we can apply the spectral theorem that proposes that $T$ is unitary equivalent to $$(UT U^{-1})(f(x)) = g(x) f(x)$$ where $$U: H \\rightarrow L^{2}(X, \\mu)$$ $$g \\in L^{\\infty}(X, \\mu)$$ Though this decomposition classify the operator in a broad sence, i see no direct way to conclude the statement. Are the any hints that may extend the previous argument? If not, are there any ways to conclude the statement?", "Why would Antimatter behave differently via Gravity?", "Is it possible to experimentally show that observable universe is much larger than ~93B ly?", "I'm having trouble understanding the simple \"planetary\" model of the atom that I'm being taught in my basic chemistry course. In particular, I can't see how a negatively charged electron can stay in \"orbit\" around a positively charged nucleus. Even if the electron actually orbits the nucleus, wouldn't that orbit eventually decay? I can't reconcile the rapidly moving electrons required by the planetary model with the way atoms are described as forming bonds. If electrons are zooming around in orbits, how do they suddenly \"stop\" to form bonds. I understand that certain aspects of quantum mechanics to address these problems, and that there are of atoms. My question here is whether the planetary model itself addresses these concerns in some way (that I'm missing) and whether I'm right to be uncomfortable with it.", "I'm trying to get apache to redirect from http to https, however I want them both on the same port (20100, but I doubt that will matter). Basically what's going on except I'm not doing this for webmin. Currently I have it configured to serve HTTPS, and when I access with HTTP I get: Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please. There seem to be a lot of somewhat similar questions, however I am unable to find one that actually answers my question.", "I want the QED symbol to be 1 line lower at the end of proof", "How can I stop Nautilus from dereferencing symlinks? I use symbolic links to tidy my home folder. This works well in the terminal, since the links create the illusion of normal folders: In Nautilus, however, the links behave more like , immediately teleporting me to their target: This is particularly troubling when¹ I later want to navigate \"up\" to the parent folder, as it strands me somewhere outside of the tree I've carefully tidied. How can I make Nautilus show symbolic links as normal folders, like the terminal does? Details Nautilus did not dereference symlinks in Ubuntu 12.10: Maybe this new behavior is just a bug? I'm not sure how to tell. Here's what I know: It's not on the . I've skimmed the and didn't see anything related. The Nautilus mailing list archive . I received no response from about 120 idlers when posing the question on the GNOME IRC channel. A change was made in Nautilus 3.6 to . ¹ This is an example. A workaround for this particular scenario does not constitute an answer to my question. Since people seem to be interested in discussing it, though: Using the Back button is not a suitable workaround; it does not always take me to the parent folder. You can navigate up by pressing Alt+Up. The desired behavior in this example is for \"up\" to navigate to the parent folder of the symbolic link. The current behavior is to navigate to the parent folder of the target of the symbolic link.", "According to there adverb in or at that place (opposed to here ): She is there now. pronoun (used to introduce a sentence or clause in which the verb comes before its subject or has no complement): There is no hope. Then, what element is there in: There is the man. I'm confused because \"There is the man\" is an adverb inversion, in which there is an adverb and \"the man is\" is inverted. But according to the definition above, there suddenly becomes a pronoun.", "How do I tell if a regular file does not exist in Bash?", "When in a browser (Chrome or Safari), the following keyboard shortcut will always bring up a window that says \"Welcome To Mail\": Command+Shift+I I would like to use this shortcut for another purpose. Is there any way to disable this shortcut?", "Is Argothian Elder a Druid? is listed on a lot of websites with the Druid creature type, but the card only lists \"Elf\". Is Argothian Elder a Druid too?", "Finding a tricky limit I have a homework in real analysis and I'm very confused about it. I would be very thankful, if you could give me any ideas or solutions how to get this task done. The task is as follows: Find the limit: $$\\lim_{x\\to 0} \\frac{1}{x} \\int_{0}^{x} (1+ \\sin(t))^{1/t} dt.$$ A hint that has been given is to use L'Hospital's Rule. Moreover, it must be substantiated why we can use L'Hospital' Rule in this situation. It is also important to mention that $(1 + \\sin(t))$ has a removable point of discontinuity at $0$ and therefore the integral can be interpreted as a Riemann integral." ]
medi_sts_stackexchange_dupe
How to boot into single user mode in 14.04
How do I boot into single-user mode from GRUB?
[ "Show reference label when it is undefined When a reference is undefined, LaTeX shows simply [??] which doesn't give much information. I would like it to show the label instead. This is useful when more collaborators work on the same preprint and the references are yet to be done. I'm using neither biblatex nor natbib. I do use bibtex but it is irrelevant for this question. MWE: \\documentclass{article} \\begin{document} This: \\cite{undef} should look like: [{\\bfseries ?? undef}] \\end{document}", "Can newsletters take into account a user's favorite tags on that site? Stack Overflow is huge and varied. Wouldn't it be great if I could just subscribe to a newsletter with a list of my favorite tags? If I love dealing with , I think it would make sense for my version of the newsletter to focus more on Android questions. Or, if I sign up for the newsletter, but don't own a Mac, it would be nice if I my newsletter would focus on the part of the site I do follow (i.e., iOS). So I would like to suggest that the newsletters for each site (optionally) take into account the user's favorited and ignored tags for that site. I know that you can receive emails about specific filters, but I don't think that's a good solution for users who already receive the newsletter. Most of the questions it highlights cover topics that I have no interest in. It would be much better if I could filter out all the noise and get down to my likely favorites.", "Say I have a metric space $(X, d)$ and a set $A\\in X$. I want to prove that if $a \\in \\overline{A}$ then there is a convergent sequence $\\{x_n\\}$ that converges to $a$. Could I have any help?", "Is WUBI freely available? I checked the link to download WUBI and the only way to proceed is by giving some amount as donation. I will surely do it, but I don't have a Paypal account and I am in urgent need to install Ubuntu. Can someone help me?", "I'm trying to understand the /etc/rsyslog.conf file, but I'm missing something. For example, this is a part of the file: auth,authpriv.* /var/log/auth.log *.*;auth,authpriv.none -/var/log/syslog cron.* /var/log/cron.log daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log lpr.* -/var/log/lpr.log mail.* -/var/log/mail.log user.* -/var/log/user.log According to page: The facility is one of the following keywords: auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as auth), syslog, user, uucp and local0 through local7. The priority is one of the following keywords, in ascending order: debug,info, notice, warning, warn (same as warning), err, error (same as err) crit, alert, emerg, panic (same as emerg). The keywords error, warn and panic are deprecated and should not be used anymore. The priority defines the severity of the message. An asterisk (\"*\") stands for all facilities or all priorities, depending on where it is used (before or after the period). The keyword none stands for no priority of the given facility. You can specify multiple facilities with the same priority pattern in one statement using the comma (\",\") operator. You may specify as much facilities as you want. Remember that only the facility part from such a statement is taken, a priority part would be skipped. Multiple selectors may be specified for a single action using the semicolon (\";\") separator. Remember that each selector in the selector field is capable to overwrite the preceding ones. Using this behavior you can exclude some priorities from the pattern. So, this is pretty understandable but what about the file path on the right. It can be just a path, or path with | or - before it (or maybe even something else). What is the difference between the three?", "Choice of $q$ in Baby Rudin's Example 1.1 First, my apologies if this has already been asked/answered. I wasn't able to find this question via search. My question comes from Rudin's \"Principles of Mathematical Analysis,\" or \"Baby Rudin,\" Ch 1, Example 1.1 on p. 2. In the second version of the proof, showing that sets A and B do not have greatest or lowest elements respectively, he presents a seemingly arbitrary assignment of a number $q$ that satisfies equations (3) and (4), plus other conditions needed to show that $q$ is the right number for the proof. As an exercise, I tried to derive his choice of $q$ so that I may learn more about the problem. If we write equations (3) as $q = p - (p^2 - 2)x$, we can write (4) as $$ q^2 - 2 = (p^2 - 2)[1 - 2px + (p^2 - 2)x^2]. $$ Here, we need a rational $x > 0$, chosen such that the expression in $[...]$ is positive. Using the quadratic formula and the sign of $(p^2 - 2)$, it can be shown that we need $$ x \\in \\left(0, \\frac{1}{p + \\sqrt{2}}\\right) \\mbox{ for } p \\in A, $$ or, for $p \\in B$, $x < 1/\\left(p + \\sqrt{2}\\right)$ or $x > 1/\\left(p - \\sqrt{2}\\right)$. Notice that there are MANY solutions to these equations! The easiest to see, perhaps, is letting $x = 1/(p + n)$ for $n \\geq 2$. Notice that Rudin chooses $n = 2$ for his answer, but it checks out easily for other $n$. The Question: Why does Rudin choose $x = 1/(p + 2)$ specifically? Is it just to make the expressions work out clearly algebraically? Why doesn't he comment on his particular choice or the nature of the set of solutions that will work for the proof? Is there a simpler derivation for the number $q$ that I am missing?", "I am running Ubuntu 14.04 on think-pad T450. When using an external monitor with higher resolution than the in-built laptop screen, the text of dialog boxes are getting messed up. Looks like I need to replace the Graphic card driver. Anyone found a solution to this? Updated to add requested information: lspci -nnk | grep '\\[03' -A2 gives the following: 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) Subsystem: Lenovo Device [17aa:5034] Kernel driver in use: i915 Below is a screenshot, see how the letters are messed up on the screen.", "Cool Text Highlighting in LaTeX", "We are having issues with our exchange 2013 server. The server is running Windows Server 2008 R2 Standard. The issue we're having is that our Exchange server isn't receiving internet emails. It can currently send mail out to internet addresses, and send and receive internal emails from the current email server. I have checked the settings of the receive connectors and everything seems correct. We have tried everything that we can think of. We can send and receive email locally, and send out to a gmail account. However, we don't get the reply email from the gmail account to the inbox. Thanks in advance!! Image is of the DNS settings on the exchange server.", "In Star Trek canon, what's the range of operation of Transporters? By \"range of operation\" of the transporter, I mean \"distance up to which it could transport\" or \"distance from which it could transport something to its own location\". The range of operation would have increased with time without a doubt but I want to know the average range at any period. It'll be better if you provide full stats of all times.", "Ubuntu to Kubuntu switch! I have been running Ubuntu for about a year, now I would like to switch to kubuntu. Is it possible that I can port all the configuration data from the home folder of Ubuntu to kubuntu? (Without causing some serious trouble) If I copy all them contents of the home folder (Including the hidden files and folders) will I be able to get the same application configurations ? I know that copying the Thunderbird folder copies the emails on the newer installation, will it work to other applications?", "Get the real width and height of an image with JavaScript? (in Safari/Chrome)", "Can you eradicate a disease without finding a Cure first? If you eradicate a disease in Pandemic without finding a cure first (ie remove all of one colour from the board) does it remain eradicated or can it still come back unless it has also been cured? The rules are a bit unclear on this point ... Or I missed the rule that explicitly states this.", "I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer work with Jetty 9.2.13. There are mentions that CORS support is already packaged with Jetty 9.2.13 in the jetty-servlets.jar. The Jetty lib which is compiled with Geoserver contains a jetty-servlet-9.2.13.v20150730.jar in geoserver/lib but not jetty-servlets.9.2.13.v20150730.jar. Are these supposed to be the same jar with a different name? It should be possible to enable CORS either in geoserver/etc/webdefault.xml or in geoserver/webapps/geoserver/WEB-INF/web.xml. My understanding is that the webdefault.xml is applied first and the web.xml thereafter. I have tried following filter in both xml. I haven't got as far as adding a filter mapping. Adding the filter alone will cause the Geoserver/Jetty service to not start proper. <filter> <filter-name>cross-origin</filter-name> <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class> </filter>", "Can a ring of positive characteristic have infinite number of elements?", "Adding a CTAN package to a MacPorts-maintained TeX installation I have installed TeXlive through MacPorts and now discover that I am missing some package. For clarity let's use a trivial example and say I am missing lipsum.sty. I now have two options: Option 1 I go to a CTAN site, look for lipsum.sty, download it, and install it in ~/Library/texmf/tex. This is not bad, but it leaves it possible that I will end up with a second lipsum at some point. That's why the second option is desirable. Option 2 2.1-- I find out which MacPorts package includes lipsum.sty and 2.2-- I sudo port install the necessary package. How do I do 2.1?", "Referencing List by indexVar in lightning component I have nested list in my lightning component and now I want to refer records of list using indexVar. Has anyone done this before? <aura:iteration items=\"{!v.records}\" var=\"row\" indexVar=\"rowCnt\"> Like `{!row[rowCnt]}?` </aura:iteration>", "Word for feeling conflicting emotions simultaneously", "deleting windows system folder", "Android: Using default styles" ]
medi_sts_stackexchange_dupe