query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
listlengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Trouble proving that $\mathbb{R} \approx \textbf{I} $
|
$\mathbb R$ has the same cardinality of any interval
|
[
"It is possible to make ls -l output the size field with digits grouped by thousands? If so, how? For instance: $ ls -l -rw-rw---- 1 dahl dahl 43,210,052 2012-01-01 21:52 test.py (Note the commas in the size). Maybe by modifying the LC_NUMERIC setting inside the locale I'm using (en_US.utf8)? I'm on Kubuntu 12.04 LTS.",
"Can I vent my dryer into the crawl space without creating mold and moisture problems? We have a crawl space with a combination of sandy and clay soil in it. The crawl space is about 3' deep. To eliminate a long dryer vent run, I'd like to vent the dryer directly into the crawl space. We have vents built into the foundation that I open each spring and close in the fall. Will this help dissipate the moisture enough to prevent mold?",
"What is so called meta-game in StarCraft 2? What other games have this meta-game?",
"How long does it take for DNS records to propagate?",
"How is the notation $X\\sim N(\\mu,\\sigma^2)$ read? Is it $X$ follows a normal distribution? Or $X$ is a normal distribution? Or perhaps $X$ is approximately normal.. What if there are several variables that follow (or whatever the words is) the same distribution? How is it written?",
"setting upper and lower limits in rnorm",
"Basically I would like to use on website a \"Norasi\" font, that was bundled with Ubuntu, but I cannot find any license. Am I allowed to distribute that font through website? What is its license?",
"What does closed form solution usually mean? This is motivated by and the fact that I have no access to Timothy Chow's paper indicated there by Qiaochu Yuan. If an equation $f(x)=0$ has no closed form solution, what does it normally mean? Added: $f$ may depend (and normally does) on parameters. To me this is equivalent to say that one cannot solve it for $x$ in the sense that there is no elementary expression $g(c_{1},c_{2},\\ldots ,c_{p})$ consisting only of a finite number of polynomials, rational functions, roots, exponentials, logarithmic and trigonometric functions, absolute values, integer and fractional parts, such that $f(g(c_{1},c_{2},\\ldots ,c_{p}))=0$.",
"How do I create a file of size 10M, format it with ext3 filesystem and then mount it in /media/fuse? I tried with mkfs -t ext3 file then to mount it mount -t ext3 file /media/fuse It didn't work because it said that file wasn't a block device. Can anybody help me?",
"Real definition of \"countable set\"",
"How to install hp scanjet 200 in Ubuntu 12.04? Unable to scan with hp scan-jet 200. When I type lsusb command in terminal it shows the scanner details. I opened the simple scan which displays no scanners found, and x sane image scanners also displays the same error.",
"^x^y unix trick for all instances in last command? One of my favorite Unix tricks is ^x^y, which will take the last command and replace the first instance of \"x\" with \"y\". However, I'm wondering if a similar trick works to replace all instances of \"x\" with \"y\" in the last command?",
"Why is compactness in logic called compactness? In logic, a semantics is said to be compact iff if every finite subset of a set of sentences has a model, then so to does the entire set. Most logic texts either don't explain the terminology, or allude to the topological property of compactness. I see an analogy as, given a topological space X and a subset of it S, S is compact iff for every open cover of S, there is a finite subcover of S. But, it doesn't seem strong enough to justify the terminology. Is there more to the choice of the terminology in logic than this analogy?",
"RECENTLY ON THE ANDROID SITE WE GOT WRITTEN IN ALL CAPS. THIS WAS SURPRISING TO ME, SINCE I ASSUMED IT WOULD HAVE BEEN CAUGHT BY THE QUALITY FILTER — BESIDES BEING INDICATIVE OF OTHER POST QUALITY ISSUES, IT'S AWFUL TO LOOK AT AND REQUIRES A LARGE AMOUNT OF EDITING TO FIX (EVEN IF YOU RUN IT THROUGH TOLOWER() FIRST). WE ALL KNOW THAT CAPS LOCK IS , BUT STILL: CAN WE BLOCK THESE QUESTIONS? RICK RICK OH MAN THAT STUFF JACOB G IS COMEDY GOLD RIIICK Note to editors: This post looks exactly like it is supposed to look, as an example of a question in all-caps. Please do not replace the uppercase letters with lowercase.",
"For a 2x2 matrix A satisfying $A^k=I$, compute $e^A$ Oh, the exponential of a matrix is: $e^A=\\sum_{i=0}^\\infty\\frac{1}{i!}A^i$ I thought I'd solved the $e^A$ form but I actually did something really silly, now I'm a little stuck. If $A^k=I$ then $A^{k+1}=A$ and we have a cycle forming, so we will get: $$\\sum^{k-1}_{i=0}\\sum^{\\infty}_{j=1}\\frac{1}{(kj+i)!}A^i$$ (Or something like this form, I don't have paper to hand and just spotted that now) Is this what the question wants? It doesn't use the 2x2 property. I believe the answer lies in finding an expression for the inner summation, I can do this for two terms (think of $e+e^{-1}$ all the odd power leave)",
"I could install with an error message \"unknown media /ALL\". It could not run WPS Office.",
"Why multiple capacitors in parallel? Wondering why you would choose to use smaller capacitors in parallel vs one bigger one. Here's an example: Is this a component size and track width choice? Thanks!",
"My model has a clear plastic (or glass) dome with objects inside. The objects appear dark. I've tried the glass shader with color 100% RGB, with very small IOR, and using just a refraction shader. I know Cycles has problems with caustics, but I just want broad illumination to fall clean through the glass. The light-to-column path can ignore refraction, but is blocked or tremendously attenuated. The camera-column path needs refraction, and seems to work fine anyway. This demo image offers all optical paths of interest: light upon object, seen directly light upon object, seen through glass (looks okay) light through glass onto object, seen directly. This is the shadow on the lit side of the column just below the glass tubing. I expect full illumination, but there is shadow. There is some light, but it's diffuse light from the floor. light through glass onto object, seen through glass. This I did at one point try non-progressive rendering, and find extremely coarse light where there shouldn't be shadow, but this is not a practical way to make nice images. I've even tried cranking up certain sampling settings to many thousands, but still get bad noise though less, at the cost of long render times. I would like to finish my creations sometime before \"Star Trek, the Generation After the Next\" becomes real life, if you know what I mean. The next image is an example. I think Transmission in Sampling was 5000, but not sure. I'm using Cycles in Blender 2.67 on a quad core Linux machine, 16GB RAM. Machine limits have never been a problem for 3D rendering. Possibly, I screwed up some setting when I made my startup file, and just need to fix it. OTOH maybe this is just a limitation of path tracing, or of the way Cycles does it. If that's the case, what to real-world Blender artists do when they need to produce images on a budget and schedule? What is the practical real-world fix?",
"\"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?",
"In Fringe's season 1, the episode (1x13) shows how travels on VertusAir flight 718. We witness how he develops some strange symptoms, withdraws into a lavatory and transforms into a porcupine-like monster. At the end of season 3, Peter \"switches\" the timeline (changing the past and making the present continue in a different timeline henceforth) from blue- to orange-verse. Various statements throughout the 4th season indicate time (the date) was not reset; Olivia and Walter have been working on Fringe cases for some three years etc. - hence it is safe to say that season 4 plays 3 years after season 1. Then, in the episode (4x16), the events from 1x13 happen again, up to the point of Bowman's transformation, which this time doesn't happen (not aboard the plane, anyway). As far as I can tell, great care was taken to exactly recreate the events from the season 1 episode, including hiring the same actors to play the flight attendants once again ( and ), so obviously this is supposed to be the same event with slight changes. Peter, as well as Olivia - who is in the process of regaining her memories from the blue-verse -, remember the events from 1x13 and note the difference that Bowman's transformation happened later this time, implying that in the orange-verse, everything related to flight 718 played out the same way, except for the small difference that the transformation happened a bit later. BUT ... all of this happened 3 years later!! Is there any explanation for this? How unlikely is it that in the orange-verse timeline, Marshall Bowman is on the very same flight with the very same flight attendants 3 years after the same would have happened in the blue-verse? Mind you, this is not a \"small change\" in the course of events while mostly everything else stays the same. So, why did Peter and Olivia realize the transformation happened a tad later in the orange-verse timeline, but were not baffled by the fact that essentially the same events as in the blue-verse happened, but three years later? EDIT: Not only the flight and the flight attendants were the same in both episodes. The passenger next to Bowman was the same, an elderly lady played by both times, as well. Moreover, the transcripts of and reveal that the dialogue between Bowman, the passenger next to him, and the cabin crew is the same down to the lines of text until the moment of transformation. Interestingly, the announcement by the captain in the beginning seems to be different - starting the inflight movie + selling headsets vs. circling before beginning the final descent + selling snacks. On the other hand, this could be presumed to be a slight retcon, as in 4x16, it was crucial for the plot that the plane would be close to landing, and starting the inflight movie would not make much sense right before landing."
] |
medi_sts_stackexchange_dupe
|
Regex to extract text between parenthesis paired with asterisk
|
How do I extract text that lies between parentheses (round brackets)?
|
[
"I want to trace a border in a box or minipage like this model. A border customizable in left angle on top and right angle in bottom. Somebody can help me? Thanks a lot JPierre",
"Travelling within the US as a foreign citizen without a passport",
"I have already had the same problem before. On that occasion, I found a program that could scan my entire hard drive for string pieces so I could recover it. Unfortunately I don't remember the name of the program. It had to access the hard drive data directly, normal searches won't get any data from the hard drive before formatting.",
"Can anyone explain reverse bias pn junction using only electrons as charge carriers In forward bias condition p-type semiconductor is connected to positive side and ntype semiconductor to negetive side and the electrons flow from n-type to p-type to cathode of battery. But imagine the same situation when the situation is reverse biased so now p-type is connected to negetive terminal of battery and n-type to positive terminal of battery. Now there is excess of electrons in n-region and it is connected to positive terminal of the battery.So electron can flow from n-type region to positive terminal of the battery due to potential difference created by battery whereas in p-type electrons can flow from one covalent bond to another as they do in forward biasing. Only difference is,here electron move in opposite direction (from one covalent bond to another) i.e. from n-region to depeletion region whereas in forward bias they move from depeletion to n-region.Which shouldn't be a problem Now in this manner current must flow regardless of biasing so what's the correction?",
"Why not introduce a donate button in Stack Exchange sites?",
"Why do we say that irreducible representation of Poincare group represents the one-particle state? Only because Rep is unitary, so saves positive-definite norm (for possibility density), Casimir operators of the group have eigenvalues $m^{2}$ and $m^2s(s + 1)$, so characterizes mass and spin, and It is the representation of the global group of relativistic symmetry, yes?",
"Problem aligning overlapping corner points in Illustrator I am drawing some overlapping paths in Illustrator. However, some anchor points of different paths do not align correctly, they create some rugged corners. I tried to manually adjust the points with the direct selection tool but it is difficult to handle the corners. Can anyone help me to fix the corners in the red circles?",
"How would one go about proving that the rationals are not the countable intersection of open sets?",
"I received a mail today from Academia.edu (a site I wasn't previously aware of), asking me to confirm that I co-authored a paper with a colleague. Having looked into it a little it sounds like it might be a useful site - the idea of a \"social network for scientists\" is one I've seen the need for in the past. However, partly due to bad experiences with the seemingly similar ResearchGate, I'm also skeptical.* Without signing up for an academia.edu account the site doesn't offer much information, so I would like the following information: What specific features does academia.edu offer to its users? Is it genuinely useful for any of the following purposes (each of which seems genuinely needed) as a platform for networking with academics for discovering relevant research as an effective system for post-publication peer review for organising references among a small team of people working on a project Will it send out mails to my colleagues without my express and explicit permission? (I.e. are the mails I received today the result of a deliberate action by my colleague, who is aware that I will be emailed and wishes me to join the site; or are they essentially spam from a social networking site aggressively trying to expand its user base?) It's clear from its that it's a private, venture-capital funded company. What is its business model? In short, is this a site that has some genuine utility for academics, or should I just ignore it? *I've never signed up for ResearchGate but I regularly receive spam from it purporting to be from my colleagues, who aren't aware that it's being sent on their behalf. I would be mortified if my senior colleagues received such mails claiming to be from me, so I won't touch it with a barge pole.",
"Is it \"5–6 weeks are a lot of time\" or \"5–6 weeks is a lot of time\"?",
"What is this story about 20 y.o. inexperienced \"kids\" fighting against a stronger foe in space? Years ago (mid 90's) I saw a show on network TV, and I'm trying to figure out what the name of it was. The parts of the plot I remember are: The crew consisted of 20-year-olds (half were women). They were on some mission when they lose their commander. They must then try to get back home, while being tracked down by a foe in a faster, more powerful ship. One of the main characters turns traitor. He's locked up in the brig pending a decision on his fate. He hangs himself, and his body is incinerated by the crew. One of the main characters plays a video game that basically looks like a visor over his face. While playing the game, he's given an idea on how to outwit their foe by using the laser cannon on their ship to create a holographic projection of a larger ship. In the end, they are about to be destroyed by a torpedo launched from the enemy ship. The torpedo is destroyed by a laser beam from a friendly capital ship that arrives at the last moment. I remember there being some sort of romance sub-plot to the show as well between two crew members. Other non-plot details: This was live action, not animated. I remember the special effects being quite high-end. The guns on the ships were manipulated by a person sitting in a gunnery chair. This chair projected a holographic view of the fight in front of him/her. From there the gunner used a joystick and a keypad to control the weapons on the ship. All the crew wore simple Star-Trek style uniforms throughout the entire program, so no jumpsuits or helmets. I don't know if this was a movie or a TV show, because I never actually saw the beginning of it. I think I saw at least 45 minutes worth, so it could be either as far as I know. That's all I remember, other than I think the name of the show was fairly generic (something like \"Star Command\"). I loved the show as a kid even though I only saw it once. I would like to watch it again and see how lame it really was.",
"Making a private method public to unit test it...good idea?",
"When is the Killing form null? When is the Killing form $\\kappa$ of a Lie algebra $\\mathfrak g$ null, i.e. $\\kappa(\\cdot,\\cdot)=0$? Surely this is true for any Lie algebra with trivial bracket, but is this the only case? I can't seem to find any nontrivial examples.",
"Including pdf_tex images from inkscape",
"Serial voteup someone you learn from",
"Why rationalize the denominator?",
"Is it possible to batch import Wavefront .obj to blender? I'm working on 2.69. If I select multiple .obj files, only one gets imported. Also if I hit A on file selection window to select all files (.obj and .mtl) I get an error, nothing gets imported. I have to import several hundreds of .obj into the blender file, is this possible?",
"I want to change only the color (not font size, etc.) of all headings in my documents (\\section, \\subsection, \\subsubsection, ...). I want to keep all other settings fixed. Is there a way to do this?",
"Convert a string to an enum in C# What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration value. In an ideal world, I could do something like this: StatusEnum MyStatus = StatusEnum.Parse("Active"); but that isn't a valid code.",
"How to pass data from Javascript to PHP and vice versa?"
] |
medi_sts_stackexchange_dupe
|
How to keep my background image settings?
|
Packed images used as background don't show up when reopening the file
|
[
"With slapd.conf you could globally disable anonymous binding and require authentication with the following static directives: disallow bind_anon require authc How can I achieve the same global settings, but using the new cn=config live configuration method?",
"How do you debug PHP scripts? How do you debug PHP scripts? I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. What is the best (in terms of fast and easy) way to debug in phpStorm or any other IDE?",
"Is it possible to create a URL link to a website on the home screen?",
"I know when evaluated it gives one but I can't figure out how to prove it. Can anyone help? I believe it requires L'Hopitals rule and taking a natural log but i cannot figure out the exact math.",
"I've searched websites, written to Mr. Barth and William Safire, scanned bookstore shelves, and buttonholed likely prospects in search of a grammar text that would address matters in the manner of the following, which is from John Barth's \"The End of the Road\". If such a text exists, I'd be much obliged to learn of it: \" ... it gives a man a great sense of lucidity and well-being, if not downright formidability, to be able not only to say, but to understand perfectly, that predicate complements of infinitives of copulative verbs without expressed subjects go into the nominative case, whereas predicate complements of infinitives of copulative verbs with expressed subjects go into the objective case. I made this observation to my assemblage of young scholars and concluded triumphantly, \"I was thought to be he, but I thought John to be him.\" Thank you.",
"How do I determine if an array is initialized in VB6? Passing an undimensioned array to the VB6's Ubound function will cause an error, so I want to check if it has been dimensioned yet before attempting to check its upper bound. How do I do this?",
"I'd like to use epigrafica specifically for chapters and sections, but like to use times font for main texts. \\usepackage{epigrafica} % for chapter/section \\usepackage{newtxtext,newtxmath} % for main text Is there any way to do this? I can only use pdftex.",
"I have to use a particular web site for work, but this web site checks to see whether I'm using Internet Explorer and, if not, won't allow me to log in. I can switch my User-Agent header using the Firefox plugin and the web site works fine, but I really don't want to switch the header every time I go to the site and also don't want my User-Agent header to perpetually say I'm using IE. I'm on Linux, so actually switching to IE unfortunately isn't an option. Is there any way to define a particular User-Agent for a particular web site in either Firefox or Chrome?",
"Find the value of $\\left[\\frac{1}{\\sqrt 2}+\\frac{1}{ \\sqrt 3}+......+\\frac{1}{\\sqrt {1000}}\\right]$ Find the value of $$\\left[\\frac{1}{\\sqrt 2}+\\frac{1}{\\sqrt 3}+.....+\\frac{1}{\\sqrt {1000}}\\right]$$.Where [•] denote the greatest integer function. I am very confused about this problem. I tried to find the upper and lower bound of the function. But I can't find any formulas to find the bounds. Somebody please help me.",
"Replacing NAs with latest non-NA value",
"Can Ubuntu run on a Microsoft Surface with Windows RT? My family might be buying a Windows Surface tablet with Windows RT (Nvidia)? I was wondering if I can run Ubuntu or WUBI on it for my homework?",
"As I am seeing this, the man and boat will have different displacement from ground frame, so there should be a net work done by friction . The books says, total work done by friction is zero when friction is static and internal to system. Please explain..",
"Mach-O 64-bit format does not support 32-bit absolute addresses. NASM Accessing Array",
"When does the set enter set theory?",
"I'm reading through for the , which contains this figure on page 16: This is of course an instrumentation amplifier that apparently uses an inverting amplifier's output instead of a ground in the lower-right corner of the above figure, but what really perplexes me is the 100 kΩ resistors attached directly to the noninverting inputs of three of the four amps. I don't recall seeing an instrumentation amplifier circuit in books or application notes that have them, and all of the instrumentation amplifiers I've built using the three op-amp scheme works fine without them. The datasheets specifies an input resistance of 1012 Ω, which is 10,000,000 times greater than 100 kΩ, so it doesn't seem to add anything to the already high-impedance JFET inputs. I thought perhaps it has something to do with input bias currents, but that's just me making a wild stab in the dark. Curiously, figure 26 in the same datasheet (page 18) shows a two-op-amp version of an instrumentation amplifier without the 100 kΩ resistors at the noninverting op-amp inputs! What's the purpose of the 100 kΩ resistors at the noninverting inputs in the above circuit? Am I missing something completely obvious?",
"Regular expression to match a line that doesn't contain a word I know it's possible to match a word and then reverse the matches using other tools (e.g. grep -v). However, is it possible to match lines that do not contain a specific word, e.g. hede, using a regular expression? Input: hoho hihi haha hede Code: grep \"<Regex for 'doesn't contain hede'>\" input Desired output: hoho hihi haha",
"USB is a popular standard and I was wondering whether there is some way to connect two or more computers using USB ports rather than the Ethernet ports.",
"Create ArrayList from array I have an array that is initialized like: Element[] array = {new Element(1), new Element(2), new Element(3)}; I would like to convert this array into an object of the class. ArrayList<Element> arraylist = ???;",
"Where were the Avengers during Iron Man 3?",
"Meaning of Sun Lamp Size? In Cycles, a sun lamp is treated as infinitely far away - only the angle matters, not the position. Other lamps have their sizes defined in blender units: a point lamp with size 1 emits light from a area with size of 1. But if a sun lamp at infinity had a size of 1 blender unit, the angular arc of that sun would be nonexistent. Clearly, when you change the size of a sun lamp, shadows get fuzzier or sharper. But what does that actually mean? What are you changing?"
] |
medi_sts_stackexchange_dupe
|
creating a list of tuples (x, y) from a string
|
Converting string to tuple and adding to tuple
|
[
"How do I mimic Pathauto transliterated output for an alias in my custom PHP code? When writing my custom function I need to manually append node name to a taxonomy term link. To get the taxonomy term part done I use: $link_uri = taxonomy_term_uri($term); $path_alias = drupal_get_path_alias($link_uri['path']); This works ok, now - I want to append node name (\"/\" . $node_name), but instead of raw string, I want the Pathauto transliterated output, as set in the URL alias configuration, for that node context. What function should I use to mimic that output? I looked at hook_pathauto_alias_alter(&$alias, array $context) but I'm not sure that's what I need.",
"component.set not working for picklist field I have a number of lightning:inputField that i'm setting based on certain criteria, these all work except for picklist field types. The code below shows how i am setting the fields. The country field is the picklist and the 2 alerts have the correct value in them, however the value is not getting set on country. Is there a different method for setting picklist fields? var address = res.getReturnValue(); var country = component.find('Country__c'); var pcodeFld = component.find('Postcode__c'); if(country != undefined){ alert(country); alert(address.Country); country.set('v.value', address.Country); } if(pcodeFld != undefined){ pcodeFld.set('v.value', address.Postcode); } EDIT: I can set a default value whilst using $A.createComponents using .set(\"v.value\", \"United Kingdom\"); it just seems that i can't set it after the component has rendered based on some user action. Reproduceable Example: I just can't seem to set the value of any picklist fields when using lightning:inputField. Component <aura:component implements=\"flexipage:availableForRecordHome, force:hasRecordId\"> <div class=\"slds-p-bottom_large slds-p-left_large\" style=\"width:500px\"> <lightning:recordEditForm aura:id=\"recordViewForm\" recordId=\"{!v.recordId}\" objectApiName=\"Contact\"> <lightning:messages /> <lightning:inputField fieldName=\"FirstName\" /> <lightning:inputField fieldName=\"LastName\" aura:id=\"lastname\"/> <lightning:inputField fieldName=\"Birthdate\" /> <lightning:inputField fieldName=\"Phone\" /> <!--Picklist--> <lightning:inputField fieldName=\"Country__c\" aura:id=\"Country__c\"/> <lightning:button label=\"Update\" variant=\"brand\" onclick=\"{!c.update}\"/> </lightning:recordEditForm> </div> </aura:component> Controller ({ update: function(component, event, helper) { //alert(component.find(\"Country__c\")); component.find(\"Country__c\").set(\"v.value\", \"Ireland\"); }, })",
"How are constraint forces represented in Lagrangian mechanics?",
"Are there any organised resources available from where I can begin my quantum computing studies?",
"Passing a varible from jQuery to PHP",
"Why is a ConcurrentModificationException thrown and how to debug it",
"Examples of infinite groups such that all their respective elements are of finite order. I am in need of examples of infinite groups such that all their respective elements are of finite order.",
"\"Which\" vs. \"what\" — what's the difference and when should you use one or the other? Most of the time one or the other feels better, but every so often, \"which\" vs. \"what\" trips me up. So, what's the exact difference and when should you use one or the other?",
"No surname in my passport",
"Could the granting lag for each badge be added to the FAQ?",
"In terms of UX what do you guys think is the best approach when integrating a trial period for subscriptions? My application offers a 15 day trial, at the minute the user can sign up without providing any payment information (Paypal Subscription). The account is then set to trial status and after 15 days the user will be redirected to an upgrade page. Do you think this is the best approach? I am unsure whether or not to let Paypal manage the trial, this however means that the user will need to go through the Paypal payment system during signup. I think this may put some people off signing up. On the other hand this approach may increase the number of conversions to a full account.",
"How to make document custom page dimensions?",
"What do they do with all the plates and cups in Star Trek? Whenever someone in Star Trek creates food or drink in the replicator it is generated in the bowl, plate, or cup. It seems like after a few months they would have piles of used dishes from replicator food while making more for every meal. What do they do with all the dishes?",
"ConcurrentModificationException Woes",
"How can I switch between starting a coroutine vs running the routine all at once? I'm generating a level, and I have an optional delay to show the steps level generation one by one. If my generationDelay boolean is true, I want to use StartCoroutine to spread the generation out over time. If it's false, I want to call the same method but without StartCoroutine. The problem is that the method is type IEnumerator. I can make two methods one type of IEnumerator and one not. But I wonder if there is a way to use one method. In the first script top i did: public bool generationDelay = false; Then in a method: private void BeginGame() { mazeInstance = Instantiate(mazePrefab) as Maze; if (generationDelay == true) { StartCoroutine(mazeInstance.Generate(generationDelay)); } else { mazeInstance.Generate(generationDelay); } } Then the other script where the method Generate is: In the top: public float generationStepDelay = 0.01f; Then the method Generate: public IEnumerator Generate (bool generationDelay) { if (generationDelay == true) WaitForSeconds delay = new WaitForSeconds(generationStepDelay); cells = new MazeCell[size.x, size.z]; List<MazeCell> activeCells = new List<MazeCell>(); DoFirstGenerationStep(activeCells); while (activeCells.Count > 0) { yield return delay; DoNextGenerationStep(activeCells); } } I'm getting an error on the line: WaitForSeconds delay = new WaitForSeconds(generationStepDelay); \"Embedded statement cannot be a declaration or labeled statement\" And an error on the line: yield return delay; \"The name 'delay' does not exist in the current context\" The reason I want to use a bool variable is that when i'm using StartCoroutine it's kind of slow, even if I change the value of generationStepDelay to 0 it's kind of slow. And if I'm not using StartCoroutine and not using the Generate method as IEnumerator it will work fast. So i wonder what should I do and how?",
"The wavefunction $\\Psi(x,t)$ for a free particle is given by $$\\Psi(x,t) = A e^{i(kx-\\frac{\\hbar k}{2m}t)}$$ This wavefunction is non-normalisable. Does this mean that free particles do not exist in nature? Why then do we use free particles $\\psi(\\vec{x}) = e^{ikz}$, for example, in scattering theory?",
"How can I disable a tab inside a TabControl? Is there a way to disable a tab in a ?",
"Quantum entanglement for faster-than-light (FTL) network communication? Quantum entanglement is 2 atoms that are paired together and when you stop one from spinning the other also stops with the same spin. Can you use these pairs to have faster-than-light (FTL) communication between 2 computers?",
"how to *completely* turn off automatic updates in Windows 10 I have disabled the services "Windows Update" and "Windows Update Medic Service" in using services.mcs. Furthermore, I made changes to the registry, creating a key HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU with a DWORD (32-bit) Value "AUOptions" with value set to 2. I still see frequent queries to ctldl.windowsupdate.com sent to my DNS server. Which services need to be disables to completely shut this down?",
"CSV for Excel, Including Both Leading Zeros and Commas"
] |
medi_sts_stackexchange_dupe
|
What is the SQL Select Statement for merging 2 sets of results with the same column names?
|
combining results of two select statements
|
[
"Pygame - blitting from x and y cordinates of image",
"How to best respond to a request to send a passport scan by unsecured email? It is not uncommon for travel or holiday accommodation companies to ask for a scan of your passport by email. Sometimes local laws require them to keep a record of the passport numbers of all visitors. I'm happy to provide that information but you usually have to send it in an unsecured email, which may have consequences . Could these companies be more responsible, and provide a public cryptographic key at least? Are there other steps you should take to protect yourself, if you do send by unsecured email?",
"I'm reading through a proof in my lecture notes: Every convergent sequence of a metric space has a unique limit. Suppose $\\lim_{n \\to \\infty} x_n = l$ and $\\lim_{n \\to \\infty} x_n = m.$ Then for every $\\epsilon > 0,$ there exists $N$ such that for every $n \\geqslant N,$ $$d(l,m) \\leqslant d(l,x_n) + d(x_n,m) < \\epsilon + \\epsilon = 2 \\epsilon. $$ So $(\\star) \\hspace{1mm} 0 \\leqslant \\frac{d(l,m)}{2} < \\epsilon \\Longrightarrow \\hspace{1mm} (\\star^\\prime) \\hspace{1mm} \\frac{d(l,m)}{2} =0 \\Longrightarrow l = m.$ I can follow the proof up until the jump from $(\\star)$ to $(\\star^\\prime)$. Why does $\\frac{d(l,m)}{2}=0$?",
"How do I rotate an object along it's own axis (windmill) I'm trying to rotate the blades of a windmill for an animation but the windmill is already at an angle. When I keyframe it on it's own axis (after pressing control + alt + space) and rotate it the blades spin inwards during the animation before coming back at the end. I've tried locking the other axis but that keeps the blades from rotating back to the right orientation. Also, whenever I rotate the object 360 degrees it turns the 360 into a really small number (0.0001) so it plays forward hallway then backwards (with a 180 degree keyframe halfway). Any help would be appreciated!.",
"How do I put /home in a different partition? Yeah, so I have 2 hard drives, on with 2 partitions(backups and windows), and I have another that also has 2 partitions with only one used. I have Ubuntu on hard drive 2:partition one, but I have come to a point when the /home folder can't hold any more files, but the partition is only about 15% filled up. So I did some researching and figured out that you can put it on a separate partition, but most of the guides were vague on what I needed to do. Could someone give me step-by-step instructions on what I need to do, or even tell me a, easier or different way to fix this /home folder capacity problem?",
"Significance of starting the Fibonacci sequence with 0, 1.... DISCLAIMER: I do not deal with in-depth mathematics on a daily basis as some of you may, so please pardon my ignorance or lack of coherence on this topic. QUESTION: What is the significance of starting the Fibonacci sequence with $0,1$ ? For instance, if I picked any two random integers, say 2 and 7, to start a sequence would I actually be creating some multiple or derivation of the Fibonacci sequence? Is there a general mathematical explanation for the relationship between any sequence represented by $a[0] = x, a[1] = y, a[n] = a[n-1] + a[n-2]$ and the Fibonacci sequence? Or, back to my example sequence, is there a general mathematical relationship between: $2,7,9,16,25,41,66,107,173,280...$ and $0,1,1,2,3,5,8,13,21,34...$ Perhaps the Golden Ratio explains it somehow? Any help would be appreciated.",
"Received W-2 but was never paid I just now received a W-2 from a company that I worked for 3 days as a contractor. I had to leave country for 2 months due to a family emergency. Since the employment duration was very short, I was not paid. I was told that they don't want to charge the client because 3 days is not enough contribution. Since I had to leave country the same day, I did not argue with them and told it's okay if they feel right. Now I have a W-2 from them saying they have paid me about $1500. I contacted them but I have not received any reply yet. I just want to be prepared. What can I do here?",
"I have a CSV containing x,y, and z coordinates. The CSV also has a fourth column containing information on sphere diameter. I need to create a sphere at each coordinate, having the corresponding diameter. Can someone provide me a basic Python script that performs this task? My actual task is much more involved, but I think I can solve it if I have the basics in place.",
"Sentient Bomb in a city on the moon? I would like to know the title of the short story that I believe takes place on the moon. The setting is a mall or some other very public location and the main character is a police officer. She needs to talk a sentient bomb out of exploding. I know there was the John Carpenter film \"Dark Star\" with a similar plot line but I'm trying to identify the short story and the author.",
"InDesign: How do I automatically align the bottoms of different columns of text boxes to the same height as the one with the most text? In InDesign, I have some filled text boxes, sized by columns, with the one on the left being three columns wide. The wide text box is most likely to contain the most text (it's an invoice template). I will use the 'Fit frame to content' button on the Selection Tool toolbar for automatically vertically resize it to fit the containing text. How do I make the other three smaller text frames automatically adjust to the same height as the big (and longer) text box?",
"Question: Show that $n^2 + 3n + 5$ is not divisible by $121$, where $n$ is an integer.",
"Are token creatures considerd as a creature spell?",
"Jeffrey Wooldridge in his Econometric Analysis of Cross Section and Panel Data (page 357) says that the empirical Hessian \"is not guaranteed to be positive definite, or even positive semidefinite, for the particular sample we are working with.\". This seems wrong to me as (numerical problems apart) the Hessian must be positive semidefinite as a result of the definition of the M-estimator as the value of the parameter which minimizes the objective function for the given sample and the well-known fact that at a (local) minimum the Hessian is positive semidefinite. Is my argument right? [EDIT: The statement has been removed in the 2nd ed. of the book. See comment.] BACKGROUND Suppose that $\\widehat \\theta_N$ is an estimator obtained by minimizing $${1 \\over N}\\sum_{i=1}^N q(w_i,\\theta),$$ where $w_i$ denotes the $i$-th observation. Let's denote the Hessian of $q$ by $H$, $$H(q,\\theta)_{ij}=\\frac{\\partial^2 q}{\\partial \\theta_i \\partial \\theta_j}$$ The asymptotic covariance of $\\widehat \\theta_n$ involves $E[H(q,\\theta_0)]$ where $\\theta_0$ is the true parameter value. One way to estimate it is to use the empirical Hesssian $$\\widehat H=\\frac{1}{N}\\sum_{i=1}^N H(w_i,\\widehat \\theta_n)$$ It is the definiteness of $\\widehat H$ which is in question.",
"ViewExpiredException in Firefox and IE after migrating to Jboss 7.0 AS",
"Problem with camera orientation in motion tracking sorry for my English, I write from Italy. I'll try to explain my problem. I'm tracking a footage with a solver error 0.2973. When I try to set the floor, the orientation of the camera is wrong (see screenshot). So I tried to manually orient the camera, but even if well oriented respect to the xyz axes, geometry is incorrect as you can see from the screenshots below (the selected marker appears to be on the same plane but it is lower). The video was recorded by a roof of a house so much higher than the road. It seems that Blender is not able to recognize this height and set the floor in a wrong point of view. Can someone help me solve this problem? Thank you",
"How to Solve this Arithmetic Progression Question? Please help- Four different integers form an increasing AP.One of these numbers is equal to the sum of the squares of the other three numbers.Then- find all the four numbers. I assumed the numbers to be $a,a+d,a+2d,a+3d$ and wlog let $a+3d$ this number and according to question- $a^2+(a+d)^2+(a+2d)^2=a+3d$ but I could not solve the above equation.",
"how to get output of a script/program into a file?",
"Why is there conservation of kinetic energy in elastic collision and not in inelastic collision?",
"Is it possible to perform a power analysis for the Kruskal-Wallis and Mann-Whitney U test? If yes, are there any R packages/functions that perform it?",
"What computer components are currently vulnerable to magnets? When I first started using computers, law of the land in computer class was never bring magnets near anything computer related, lest you lose all your data or screw up your monitor. Now I am pretty sure magnets will still royally mess up a standard hard drive, and I know for a fact they screw up a CRT monitor. Though I am also pretty sure they do not screw up a LCD monitor? Now I have my phone which uses magnets to determine if it's docked, and it made me wonder. Is it the power of the magnet preventing data loss or the sheer fact that whatever memory type in the phone is immune to it? What about ear buds, as I know those have tiny magnets in them. Are those capable of damaging any electronic device currently in use? I'm wondering if I'm being paranoid, but I really am not sure what magnets will damage and what they won't! Is there a list, or rule of thumb for determining what will be hurt by magnets and what won't be?"
] |
medi_sts_stackexchange_dupe
|
How do I prove that there is way that at least $2$ people will sit in front of their own name card?
|
Rotating a table so that at least two name cards are correct
|
[
"How to switch from Natbib to Biblatex in pre-made document class/template? I am using to write my thesis. The template uses Natlib for references, whereas I really need Biblatex. When I simply try to change \\usepackage[natbib] for biblatex I get the error message This is BibTeX, Version 0.99d (TeX Live 2016/Debian) Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The top-level auxiliary file: aagot-1-report.aux The style file: acm.bst Illegal, another \\bibstyle command---line 80 of file aagot-1-report.aux : \\bibstyle : {acm} I'm skipping whatever remains of this command Database file #1: Mendeleytry.bib.bib Warning--I didn't find a database entry for \"\" You've used 14 entries,code here The solution \\usepackage[backend=bibtex, natbib=true, style=numeric]{biblatex} didn't work. Another possible solution was said to be to recompile from scratch to delete the .aux file, but that resulted in /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.sty:462: LaTeX Error: Command \\bibhang already defined. Or name \\end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.462 \\newlength{\\bibhang} I have tried to use this \"marco\" to override the \\requirePackage settings, but that also didn't work and resulted into LaTeX Error: Two \\documentclass or \\documentstyle comm ands. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.45 \\documentclass[whitelogo]{ tudelft-report} Where I can't seem to delete any of the document classes without getting the functionality of the tudelft-package and the biblatex citing (or in fact getting it to work at all!) (no line number): [0] Config.pm:343> INFO - This is Biber 2.5 [0] Config.pm:346> INFO - Logfile is 'aagot-1-report.blg' [62] biber:290> INFO - === Tue Apr 24, 2018, 22:24:06 [246] Utils.pm:165> ERROR - aagot-1-report.bcf is malformed, last biblatex run probably failed. Deleted aagot-1-report.bbl [246] Biber.pm:113> INFO - ERRORS: 1 Is there any way I can still make this template work with Biblatex? Natlib seems to deeply rooted in the file and I don't know how to change it/access the settings/the \".sty\"-file. Can I use the example documentclass combined with biblatex (instead of the standard natbib) without losing the great parts of the rest of the document class? Thanks very much :)",
"How to use downloaded fonts with pdfLaTeX on Ubuntu I want to use the font in my pdfLatex document. What steps should I do for using a downloaded font Should I download the TTF or the OpenType version? Where should I store the font? Should any font processing be done? How can pdfLatex find this font? I am using TexLive 2011 installed in a custom location (/somepath/texlive/2011) on Ubuntu",
"Is momentum conserved in this situation? Suppose we have object A , which has momentum mv. Then it elastically collides with a wall, so it's momentum now -mv, So how is momentum conserved here ?",
"Does it increase security if the CBC chunks of a AES-256 encrypted bytestream are uploaded to different clouds? I want to backup my data according to the 3-2-1 rule. I am already back up to 2 different drives (2 different systems) at home. In addition, I would like to use cloud storage (Google, Amazon, etc.). Considering the future weakening of cryptography by advancements in computing power (e.g. key guessing by quantum computing) I want my data to be as safe as possible because once it's uploaded it's prone to decryption in the future (i can't guarantee the data is deleted if I delete it from the cloud(s)). Does it increase the security of my data if I split the CBC chunks to let's say 2 clouds? Uploading the even-numbered CBC elements to e.g. Google and the odd-numbered elements to Amazon. Since one storage hoster is constantly missing the next part of the CBC-Chain (1/2 in total) shouldn't this increase security of the data even if the AES key is known by the hoster(s)?",
"Windows 10 thinks it's up to date, but it's not",
"\"Cancellation\", \"Canceled\", \"Canceling\" — US usage I'm trying to figure out if there is a specific rule behind the word \"cancel\" that would cause \"cancellation\" to have two L's, but \"canceled\" and \"canceling\" to have only one (in the US). I understand the rules are very loose when it comes to double L's in English, and I have read several posts on here talking about \"canceled\" and \"canceling\" (vs \"cancelled\" and \"cancelling\"), but my specific question is more about the spelling of \"cancellation\". - they do NOT mention cancelation with one \"L\" - they do seem to have cancelation listed with one \"L\" Microsoft Word marks \"cancelation\" as an invalid word Same with the spell checker in Firefox So my question is: is there a reason or rule why in US English, \"cancellation\" seems to have two L's (to most dictionaries), while \"canceled\" and \"canceling\" does not?",
"I'm trying to understand an algorithm that tries to map points from a lie group to its lie algebra using the exponential map. The background is the representation of 3d coordinate transformations as a lie group. I can imagine, how one can map points on a manifold (eg a sphere) to the tangent space (tangent plane) at some point x on the sphere. I can imagine to create the tangent space by computing derivatives at that point x. But I cannot imagine how the exponential of some matrix is giving me that tangent space? How can I envision the exponential of a matrix? Is there some picture or analogy I can use as intuition?",
"Is it possible to raise stats?",
"Do messages in archive count to your inbox space? Pretty much as the title says, do messages in archive count to your total inbox space?",
"What triggers a full garbage collection in Java?",
"Why does a $1/2$ appear in this simple capacitor equation? The maximum energy stored by a capacitor is when it’s (theoretically) fully charged, or just before it reaches dielectric breakdown, if you will. It seems, then, that the maximum energy ($E$) $=QV$, where $Q$ is the maximum charge attained and $V$ is the maximum ‘voltage’. However, the correct equation for the maximum energy is $E=\\frac{1}{2}QV$. Why? I’m looking for a simple, intuitive explanation because my reasoning that $E=QV$ seems sound to me. I know about , but I’m looking for a reason to disprove my specific argument that $E=QV$ and not the “Oh, it comes from integration.” response.",
"Find coefficient of $x^{50}$ in $(\\sum_{i=1}^{\\infty}x^n)^3$",
"I have installed the pimd service by means of apt. This comes with an upstream systemd unit file (/lib/systemd/system/pimd.service). I want the service to be restarted when for some reason it gets killed, hence I wish to add the line Restart = always in the unit file. However, I don’t want to modify the upstream unit file. Is there any workaround for this?",
"How to influence the name of the pdf file created with pdfLaTeX (from within the source code)? I have a source file called 2011-05-27_Myfilename.tex and I'd like to create a PDF file from it called only Myfilename.pdf. Can this be configured from within the .tex file itself? (It seems to be possible with pdflatex -jobname=Myfilename.tex 2011-05-27_Myfilename.tex However, as many different files are concerned, It would be easier to have an option like output=Myfilename in the LaTeX source code.)",
"I have previously saved a copy of /var/lib/mysql/ddms directory (\"ddms\" is the schema name). Now I installed a new MySQL on a freshly installed Ubuntu 10.04.3 LTS by running apt-get install mysql-server, I believe version 5.1 was installed. After I copy the ddms directory under /var/lib/mysql, some of its tables work fine, these are the tables with an associated set of three files: a .frm file, a .MYD file and a .MYI file. However, there are two tables with a different set of files: a .frm file and a .ibd file. These two tables didn't show up in the table list in phpMyAdmin. When I look at the error log, it says: [ERROR] Cannot find or open table ddms/dictionary_item from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? or, the table contains indexes that this version of the engine doesn't support. Please help with restoring these two tables. Thanks.",
"I need to reset my password. I have followed these steps: However, then I go to \"root\" or \"netroot\" recovery options, it tells me: Give root password for maintenance (or type Control-D to continue) Clearly, I do not know the root password. If I type CTRL+D, I return to the list of options. From I read: Under chapter 'The Other Way': 4. Highlight the line that begins kernel and press 'e' to edit` But in the grub configuration file I have no line that starts with kernel. Only: setparams 'Ubuntu...' recordfail set gxfpayload... insmod part_msdos insmod ext2 set root=... search --no-floppy... linux /boot/vmlinuz-2.6.38... initrd /boot/initrd.img-2.6.... Those are all lines in my GRUB. Which line should I edit? Or is there another way to reset my password?",
"I'm writing a math paper in LaTeX and for math formulas I'm just using $$math formula$$. Is is possible to numerate formulas? Or do I have to you use some specific commands such as align?",
"Why does \"under the sea\" mean \"in the sea\"?",
"What is the difference between Set and SetDelayed?",
"Failed to start TSQL debugger I want to debug in TSQL.When I start the debug the following message box popup. In SSMS v17.2 Then I see this message: In Microsoft Visual Studio 2015 Server Explorer same Error: Then I see this message: Thank You!"
] |
medi_sts_stackexchange_dupe
|
How to make sure if the residuals are normally distributed?
|
Regression - How do I know if my residuals are normally distributed?
|
[
"Where in the registry does Windows store with which program to open certain file types? After installing Adobe PDF reader, it opens files with the .PDF file extension. Ones' default web browser opens .html files and notepad opens .txt files, etc. Where exactly in the registry are these filetype - program associations stored in the registry? In other words, how does Windows know with which software/program it must open a certain file(type)?",
"Generalized Pell equation $x^2-2y^2=49$",
"Why is sudoers NOPASSWD option not working?",
"Computing $ \\lim_{n\\rightarrow \\infty}\\left(\\frac{1^n+2^n+\\cdots \\cdots +n^n}{n^n}\\right)$",
"-Bash command not found appearing every time I start terminal every time I start my terminal, it always says \"-bash: .: command not found\" twice. Does anyone know how I can get rid of that?",
"An increasing number of funding organizations require publications on the research that they fund to be open access, i.e. available to the public without having to subscribe to a journal or pay a fee. Does anybody know where I can find a list of journals/publishers that do not allow material that they publish to be published this way?",
"A very basic ring theory question, which I am not able to solve. How does one show that $\\mathbb{Z}[i]/(3-i) \\cong \\mathbb{Z}/10\\mathbb{Z}$. Extending the result: $\\mathbb{Z}[i]/(a-ib) \\cong \\mathbb{Z}/(a^{2}+b^{2})\\mathbb{Z}$, if $a,b$ are relatively prime. My attempt was to define a map, $\\varphi:\\mathbb{Z}[i] \\to \\mathbb{Z}/10\\mathbb{Z}$ and show that the kernel is the ideal generated by $\\langle{3-i\\rangle}$. But I couldn't think of such a map. Anyhow, any ideas would be helpful.",
"I'm trying to solve this problem from Hatcher 3.3.24. Let $M$ be a closed connected 3-manifold, and write $H_1(M, \\mathbb{Z})$ as $\\mathbb{Z^r} \\oplus T$ where $T$ is torsion. Show that $H_2(M, \\mathbb{Z})$ is $\\mathbb{Z^r}$ if $M$ is orientable or $\\mathbb{Z^{r-1}} \\oplus \\mathbb{Z_2}$ if $M$ is not orientable. In particular $r \\geq 1$ if $M$ is not orientable. Using exercise 6 construct examples showing there are no other restrictions on the homology groups of closed 3-manifolds. (In the nonorientable case consider the manifold $N$ obtained from $S^2 \\times I$ by identifying $S^2 \\times \\{0\\}$ with $S^2 \\times \\{1\\}$ via a reflection of $S^2$.) I think I've solved the first part, here's my proof: First note the following theorem: If $M$ is a closed connected and orientable n-manifold then $H_n(M, \\mathbb{Z}) = \\mathbb{Z}$ and $Tors(H_{n-1}(M, \\mathbb{Z})) = 0$. If nonorientable, then $H_n(M, \\mathbb{Z}) = 0$, $Tors(H_{n-1}(M, \\mathbb{Z})) = \\mathbb{Z_2}$. Now note by Poincare duality and UCT we have that $H_2(M) \\cong H^1(M) \\cong \\mathbb{Z^r} \\oplus T_0 \\cong \\mathbb{Z^r}$. In the nonorientable case consider the exact sequence: $0 \\longrightarrow H_2(M) \\longrightarrow H_1(M) \\longrightarrow H_0(M) \\longrightarrow 0$ But we know $H_1(M) = \\mathbb{Z^r} \\oplus Z_2$ from the earlier theorem and $H_0(M) = \\mathbb{Z}$. Therefore $H_2(M) \\cong ker(\\mathbb{Z^r} \\oplus Z_2 \\rightarrow \\mathbb{Z}) \\cong \\mathbb{Z^{r-1}} \\oplus \\mathbb{Z_2}$. For the rest of the question I'm quite lost.",
"How to deal with SettingWithCopyWarning in Pandas",
"Fastest way to try all passwords Suppose you have a computer with a password of length $k$ in an alphabet of $n$ letters. You can write an arbitrarly long word and the computer will try all the subwords of $k$ consecutive letters. What is the smallest word that contains all combinations of $k$ letters as subword? (i.e. the fastest way to hack the computer :) ) The smallest word that contains $n^k$ subwords of size $k$ has length $k-1+n^k$ and based on some easy cases, we would like to prove that it is in fact possible to find a word of such length that contains all possible passwords. The problem can be translated into a problem in graph theory, by taking as vertices all words of length $k$. We tried $k=2$, where you can prove the conjecture by induction. For $n=2$ and small $k$ it also works.",
"How to get the type of T from a member of a generic class or method Let's say I have a generic member in a class or method, like so: public class Foo<T> { public List<T> Bar { get; set; } public void Baz() { // get type of T } } When I instantiate the class, the T becomes MyTypeObject1, so the class has a generic list property: List<MyTypeObject1>. The same applies to a generic method in a non-generic class: public class Foo { public void Bar<T>() { var baz = new List<T>(); // get type of T } } I would like to know what type of objects the list of my class contains. So what type of T does the list property called Bar or the local variable baz contain? I cannot do Bar[0].GetType(), because the list might contain zero elements. How can I do it?",
"Can I live in the UK for a long time through repeat visits? I had recently entered the UK without a visa to be with my partner, from 21 July 2016 until 16 December 2016. I hope to return on the 9th of January. We don't meet the income requirement for a Spouse visa. I recently applied to university, and got in, and was intending to return to the UK on a student visa, but my university did not tell me about maintenance fees and my loan wasn't large enough to cover it all, so my visa would have been denied. Now, I am hoping to attend university in the next semester, and therefore return to the US to apply for that visa. Do you think that if I try to return to the UK without a visa, I will be turned away? I won't be working or studying during this time, however, I'm afraid that they'll consider it living in the UK illegally; I don't have a criminal record or anything like that.",
"How can I pad a value with leading zeros?",
"I've found many queries to check edit counts, and I get different results for each one. Which one is the most accurate and up-to-date query? Or is there any way to see the edit count in stats?",
"Cannot Delete Item \"Could Not Find This Item\" issue A friend sent a long a file (a .rar) he wanted me to check out for him before he installed it. I downloaded it and unrared it with no problems, but it was full of .exe's instead of the intended contents (fonts) so I advised him to delete it immediately and not use. I then proceeded to do the same, but the folder simply will not delete. Oddly the files went fine, and I never ran anything, but this is what I'm seeing: Could not find this item This is no longer located in C:\\Users\\This_User\\Desktop. verify the item's location and try again. I've tried the following things with no help: Using \"Unlocker\" to Unlock and delete Using move on reboot and rebooting Using PendMoves (from sysinternals) and rebooting Elevating a cmd line, doing a dir /x to get the short name of the folder, and then del 'shortna~1' Moving the folder to a new folder and then trying to delete the parent folder I'm on Windows 7 RTM, very fresh install. Any thoughts? Update: Just to confirm, I've run Hijack this and half a dozen other malware detectors, and everything came back clean (no extra processes, no other obvious badness). Rebooting in safe mode didn't help either.",
"I am going to start a phd at the US with an F1 visa. University told me that I could enter the US only 30 days before the date on I-20. Since English is not my first language (and this would be a big change in my life) I would like to go there by June. The thing is that I have an European passport with a valid ESTA. My plan would be to arrive with this passport, stay 4-6 weeks , go to Canada for a short vacation (maybe flight maybe by land) and come back to the USA with F1 visa. I have two questions about this: 1) is this possible? 2) If yes, how could I justify knowing I will lose my come-back flight during my first entry? (I would purchase round trip because one-way are too expensive, probably with less than 90 days difference)",
"Should I ask questions I already know the answer to and answer them myself?",
"Finding center and radius of circumcircle Find the center and radius of the circle which circumscribes the triangle with (complex) vertices $a_1,a_2,a_3$. Express the result in symmetric form. I'm not sure where to start in this question. The circumcenter is the intersection of the perpendicular bisectors, but I don't know how to calculate the line equation of the perpendicular bisectors yet. As for the radius, after we find the circumcenter $c$ we can calculate it using $|c-a_1|$ (or $|c-a_2|$ or $|c-a_3|$; all three should be equal.) So how can I calculate the circumcenter?",
"How to prove that it is a group?",
"I'm looking for a way to insert a <style> tag into an HTML page with JavaScript. The best way I found so far: var divNode = document.createElement(\"div\"); divNode.innerHTML = \"<br><style>h1 { background: red; }</style>\"; document.body.appendChild(divNode); This works in Firefox, Opera and Internet Explorer but not in Google Chrome. Also it's a bit ugly with the <br> in front for IE. Does anyone know of a way to create a <style> tag that Is nicer Works with Chrome? Or maybe This is a non-standard thing I should avoid Three working browsers are great and who uses Chrome anyway?"
] |
medi_sts_stackexchange_dupe
|
when i run my application on android emulator it crashed though there is no error in my code.it shows the following error
|
What is a NullPointerException, and how do I fix it?
|
[
"I've never really understood why math induction is supposed to work. You have these 3 steps: Prove true for base case (n=0 or 1 or whatever) Assume true for n=k. Call this the induction hypothesis. Prove true for n=k+1, somewhere using the induction hypothesis in your proof. In my experience the proof is usually algebraic, and you just manipulate the problem until you get the induction hypothesis to appear. If you can do that and it works out, then you say the proof holds. Here's one I just worked out, Show $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^n}{x} = 0$ So you go: Use L'Hospital's rule. $\\displaystyle\\lim_{x\\to\\infty} \\frac{\\ln x}{x} = 0$. Since that's $\\displaystyle\\lim_{x\\to\\infty} \\frac{1}{x} = 0$. Assume true for $n=k$. $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^k}{x} = 0$. Prove true for $n=k+1$. You get $\\displaystyle\\lim_{x\\to\\infty} \\frac{(\\ln x)^{k+1}}{x} = 0.$ Use L'Hospital again: $\\displaystyle\\lim_{x\\to\\infty} \\frac{(k+1)(\\ln x)^{k}}{x} = 0$. Then you see the induction hypothesis appear, and you can say this is equal to $0$. What I'm not comfortable with is this idea that you can just assume something to be true ($n=k$), then based on that assumption, form a proof for $n=k+1$ case. I don't see how you can use something you've assumed to be true to prove something else to be true.",
"How do I setup keyboard macros? In my daily life I'm always typing <kbd>Keyboard Character</kbd> and I'd like to set up a macro in Ubuntu to automatically enter <kbd> </kbd>. I'd like to assign it to say Shift+Control+K or whatever keyboard control character combination isn't assigned and already used by Ubuntu. Back in the day of TSR (Terminate and Stay Resident) MS-DOS programs this was possible. Certainly it must be in Ubuntu too? Do I have to write a daemon to accomplish this? I found other questions with no answers: , I found a similar question with an answer: . However that question stipulated the answer could not be AutoKey.",
"I encountered an 'errorUnknown graphics extension: .eps.' I tried to load an .eps picture, but an error occured, errorUnknown graphics extension: .eps.",
"How to get correct scale values? The scale of my map is wrong, no matter what coordinate system I use in my project. The map and all objects show the correct coordinates but the scale of the map shows nonsense and the measurement tool gives wrong dimension. The map should be like 1:10000 but qgis shows 1:1. Anyone an idea?",
"How do I convert Word smart quotes and em dashes in a string?",
"I am creating a custom form on a Salesforce Marketing Cloud Landing Page. This page will have information such as Email address, first name and last name pre-filled from an email, however there will be some cases where emails can be entered by the customer. What is the best way to validate email addresses on form submit? E.g. a regex to look at overall structure or is there a better way?",
"What kind of ring $R$ makes $\\mathcal O(\\mathrm{Proj}\\,R[x_0,\\cdots,x_n])=R$?",
"The set of limit points of the sequence $1,\\frac12,\\frac14,\\frac34,\\frac18,\\frac38,\\frac58,\\frac78,\\frac1{16},\\frac3{16},\\ldots$",
"Alternative proof that $(a^2+b^2)/(ab+1)$ is a square when it's an integer Let $a,b$ be positive integers. When $$k = \\frac{a^2 + b^2}{ab+1}$$ is an integer, it is a square. Proof 1: (Ngô Bảo Châu): Rearrange to get $a^2-akb+b^2-k=0$, as a quadratic in $a$ this has two values: $a$ and $kb - a = (b^2-k)/a$. (The second root is determined in two different ways from the expansion $(x-r_1)(x-r_2) = x^2 - (r_1 + r_2)x + r_1 r_2$.) Now suppose we have $a,b$ such that $k$ is an integer but not a square, by the investigation about roots we have that the second root is a nonzero integer since $k,b,a$ are integers and $k \\not = b^2$, futhermore it is positive which is easily seen from its defining equation. WLOG assume $a \\ge b$ so that the second root is strictly smaller than $a$. This leads to a decent, replacing $a$ with the second root. Proof 2 (Don Zagier): Apply reduction theory (specifically, Sätze 1 and 2 of Section 13 of my book on quadratic fields) to the quadratic form $x^2 + kxy + y^2$, which is the unique reduced quadratic form in its equivalence class. Note that Proof 2 is pretty much the same as Proof 1 when written out in explicit detail, but I could not read Zagier's book because I cannot read German. I would like to know more approaches to this and other alternative proofs of this result if possible! Thanks in advance. I would also be interested in related problems (especially easier ones of a similar nature) and texts which cover the reduction theory in English.",
"Use hostnames to connect to machines on LAN I have just had my broadband upgraded to which means my router has had to change. Previously I was using a Thomson TG585v7 ADSL thingy provided by my ISP. One nice thing about that router was that it would act as a local DNS and allow me to find my other machines on the network by using <hostname>.lan instead of IP addresses. I've now switched to a Linksys WRT320N ethernet router which connects to my fibre modem, and which I've updated to the latest firmware (1.0.04). I have 2 machines on the network which I regularly want to connect to each other; one is running Windows 7 and the other is running OS X Lion. The problem I'm having is that I'm unable to connect to my Win7 machine from the OS X machine using the Win7 machine's name. However, I'm able to ping the OS X machine from my Win7 machine using the hostname.",
"Why is it that scanf() needs the l in \"%lf\" when reading a double, when printf() can use \"%f\" regardless of whether its argument is a double or a float? Example code: double d; scanf(\"%lf\", &d); printf(\"%f\", d);",
"How Triangle Law and Parallelogram law of addition of Vectors are different?Ain't they. Please don't tell me the things written in book......give me the appropriate reason.And how do i distinguish between the two while adding vectors,what am i trying to say is i get really confused where to use parallelogram law and where triangle law P.s:my basics are really weak though!May be the question might not be right",
"Are $10\\times 10$ matrices spanned by powers of a single matrix? I don't know how to answer this question: Is there a $10 \\times 10$ matrix $A$ such that $$M_{10}(\\mathbb{F})=\\text{span}\\{I,A,A^2,\\ldots, A^{100}\\}\\textrm{,}$$ where $M_{10}(\\mathbb{F})$ is the vector space of $10 \\times 10$ matrices over $\\mathbb{F}$? I think there is a connection to Jordan normal form.",
"NRPE unable to read output, but why?",
"How do you test that a Python function throws an exception? How does one write a unittest that fails only if a function doesn't throw an expected exception?",
".NET How to check if path is a file and not a directory? I have a path and I need to determine if it is a directory or file. Is this the best way to determine if the path is a file? string file = @\"C:\\Test\\foo.txt\"; bool isFile = !System.IO.Directory.Exists(file) && System.IO.File.Exists(file); For a directory I would reverse the logic. string directory = @\"C:\\Test\"; bool isDirectory = System.IO.Directory.Exists(directory) && !System.IO.File.Exists(directory); If both don't exists that then I won't go do either branch. So assume they both do exists.",
"Please help me to prove this trigonometric equation. $\\cos \\left( 36^\\circ \\right)-\\cos \\left( 72^\\circ \\right) = \\frac{1}{2}$ Thank you.",
"As, the above link shows, other countries have similar murder rates but they are not in the radar of international travelers. For example, as seen in the list, Puerto Rico has similar statistics. But, personally, I never heard of Puerto Rico to be a dangerous place to travel. Why is it considered so dangerous to travel in South Africa? Is that due to the incompetent law enforcement agencies?",
"Prove: $\\gcd(a,b) = \\gcd(a, b + at)$.",
"set session - custom variable to store user id I want to store user id in custom session variable and use it (read) in trigger procedures to authorize user actions. I found something like this: set session \"myapp.user\" = '12345'; ... SELECT current_setting('myapp.user'); and it seems to work - I thought that \"myapp.user\" should be declared in .conf file but it seems that I can create session variables on the fly (I didn't change .conf file at all). Is there any disadvantage of doing like this?"
] |
medi_sts_stackexchange_dupe
|
How to change mouse pointer size and appearance in GNOME (18.04)?
|
How do I change the cursor and its size?
|
[
"I downloaded Ubuntu 14.04 (64 bit) lts. I made a bootable usb stick. But I keep receiving this error message upon booting: SYSLINUX 4.04 EDD 20110518 Copyright (C) 1994-2011 H. Peter Anvin et al Unknown keyword in configuration file: gfxboot.c32: not a COM32R image",
"Show $\\inf_f\\int_0^1|f'(x)-f(x)|dx=1/e$ for continuously differentiable functions with $f(0)=0$, $f(1)=1$. Let $C$ be the class of all real-valued continuously differentiable functions $f$ on the interval $[0,1]$ with $f(0)=0$ and $f(1)=1$. How to show that $$\\inf_{f\\in C}\\int_0^1|f'(x)-f(x)|dx=\\frac{1}{e}?$$ I have been able to show that $1/e$ is a lower bound. Indeed, $$\\begin{align*} \\int_0^1|f'(x)-f(x)|dx &= \\int_0^1|f'(x)e^{-x}-f(x)e^{-x}|e^xdx \\\\ &\\geq \\int_0^1\\left(f'(x)e^{-x}-f(x)e^{-x}\\right) dx \\\\ &= \\int_0^1 \\frac{d\\left(f(x)e^{-x}\\right)}{dx}dx \\\\ &= f(1)e^{-1}-f(0)e^{0}\\\\ &=\\frac{1}{e}. \\end{align*}$$ But how to show this is the infimum? Is there a function $f\\in C$ such that we get $\\int_0^1|f'(x)-f(x)|dx=1/e$?",
"Can some metadata about deleted posts be included in Data.SE? I like to use to view usage stats for some of the sites, however deleted posts are not included on Data.SE and I think this skews the numbers quite a bit, particularly on sites with a lot of deletions. Would it be possible to include some limited data about deleted posts in Data.SE to make statistical queries more accurate? You could clear the non-public data fields of deleted posts, such as Posts.Title, Posts.Body, and Posts.OwnerUserId to address privacy concerns explained . You could even leave the PostId set to 0 since I know SE doesn't want to provide users with a way of searching deleted questions. The data I would mostly be interested in is CreationDate, LastActivityDate, PostHistory (date closed, date reopened, date deleted, etc), and the fact there was a deleted question in the first place. Up/Down votes, Score, Tags, and View/Answer/Favorite count would also be preferred. This would make the statistical queries accurate, while still removing the information not meant to be visible to the public.",
"I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora.",
"Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? How can I fix this?",
"It was suggested to me recently that Annihilator sacrifices (such as 's) are only chosen during resolution, rather than while they're going on the stack. Do I choose those sacrifices during resolution? What part of the comprehensive rules backs that up? I can't find any clarity on the internet, in the rules, on the MTG Salvation wiki for Annihilator, or in the ability's rulings. It seems reasonable, but I'd like to know what's behind it. Plus, if I can choose and then later some stuff, all the better.",
"What is $\\Delta t$ in the time-energy uncertainty principle? In non-relativistic QM, the $\\Delta E$ in the time-energy uncertainty principle is the limiting standard deviation of the set of energy measurements of $n$ identically prepared systems as $n$ goes to infinity. What does the $\\Delta t$ mean, since $t$ is not even an observable?",
"Open subsets in a manifold as submanifold of the same dimension? An open set in an $n$-manifold is clearly a submanifold of the same dimension as its containing manifold (see open manifolds). Now, given an $n$-manifold $M$, is it true that a set, to be the underlying set of a submanifold of $M$ with dimension $n$, must be open?",
"Regex to validate date format dd/mm/yyyy",
"Proving : $ \\bigl(1+\\frac{1}{n+1}\\bigr)^{n+1} \\gt (1+\\frac{1}{n})^{n} $",
"Is there a point of beating Vault of Glass raid on Hard after finishing on Normal?",
"While I'm aware of it does not quite answer my question. I have a simple sentence: If any of the devices was not switched off, do something. Is there supposed to be was or were? I was thinking about was since it could be rephrased as: If any one of the devices was not switched off, do something. But maybe that does not make any sense at all. Also, this is for a technical documentation where more formal language is preferred, not sure if that makes any difference.",
"I'm having a problem rendering the environment map. I downloaded a sample project that has the same settings as my project but it renders without a problem. I tried using both a .hdr and .png image. Attached are screenshots with node settings. First is the incorrect render and 2nd image is the project the renders correctly. How do I go about fixing this?",
"What would happen if you used a dead person's hair in Polyjuice Potion? Polyjuice Potion is changing based on someone's current physical state. It shows tattoos (or lack of) and such from DH when Ron changed to Harry. \"I knew Ginny was lying about that tattoo,” said Ron, looking down at his bare chest. What would happen if someone used hair of a dead person, taken from their body after death, and drank the potion? Would they die as well?",
"Messages on Macs don't work I've tried every suggestion I could find on Apple forums. Deleted .plist files, removed message caches, reset passwords, coordinated sign on/offs between my iPhone and my Macs, reset iPhone and reinstalled Mavericks on my Macbook Air. All pointless exercises. I suspect it all started because I jailbroke my iPhone using Pangu. It may or may not have been the culprit, but my problems started a couple of days after I did it. All my phone conversations went green and stopped synchronizing with Messages apps on my Macs. Trying to send a new message from Macs would result in either \"Your message could not be sent\" error with a warning icon next to it, or: XXX is not registered with iMessage. So I restored my iPhone to factory defaults using iTunes. That didn't help immediately, but in a day or two, my conversations with other iPhone users went blue. So I am happy that works. So now I sacrificed my Macbook Air to try and make messages work on it. I reinstalled Mavericks several times, each time trying different approaches: not immediately signing into iCloud, not associating an iCloud profile with login profile, etc. Nothing helps. I launch Messages app, it asks me to sign in (and I do, successfully), and then nothing goes through. Sending messages to myself also works inconsistently. Yesterday, whatever I sent to myself (using phone number) would appear delivered to the same window, but not on my phone. Today I get \"... not registered with iMessage\" error.",
"Find the value of : $\\cos x \\cos 2x...\\cos 999x$ given that $x=\\frac {2\\pi}{1999}$ Given $x=\\frac {2\\pi}{1999}$ Find the value of $$\\cos x \\cos 2x \\cos 3x ...\\cos 999x$$ So I tried expanding $\\sin {2000x}=2\\sin 1000x \\cos 1000x$ Then rewriting $\\cos 1000x= \\cos {(999x+x)}$ No luck so far.",
"How to get GUI sudo password prompt without command line? Currently, for all my commands that require root access, I have to type them out on a command line. I would like for the GUI to prompt me to key in my password, when sudo is required, instead of having to type out the commands from command line. Is there any way to enable this? Previously one version of Ubuntu desktop had this feature out of the box. This version of Ubuntu (that I am now running) I upgraded from a server installation. I will add, my user account is already added to sudo group. Thus I can run commands such as sudo gedit or sudo apt-get but I'm not able to install software in the Ubuntu Software Center.",
"Does the shapefile support mixed geometry types (ie. point and polygon all in the same file)?",
"Did your team win the football match yesterday? The weather was very bad, so we weren't playing. vs The weather was very bad, so we didn't play. Is the first one not correct? Why is it?",
"I think it would be super if, in my LaTeX editor, I could click on the name of package... \\usepackage{blob} ... and the corresponding style file, blob.sty, would be opened. Do any LaTeX editors have this feature? I mainly use Aquamacs/AucTeX myself, but am interested in other editors too. I reckon it would be mildly challenging to implement, because blob.sty might be in the current working directory, in the system texmf directory, or in the user's texmf directory."
] |
medi_sts_stackexchange_dupe
|
Problems upgrading Ubuntu 12.10 to 13.04
|
Can I skip over releases when upgrading?
|
[
"iPhone screen randomly turns on",
"Is it possible to accept the alternative hypothesis? I'm aware of several related questions here (e.g., , ) but I don't know the definitive answer for my question below. Suppose a hypothesis test where we want to test whether a coin is fair or not. We have two hypotheses: $H_0: p(head)=0.5$ $H_1: p(head)\\neq0.5$ Suppose we use 5% significance level, there are two possible cases: When we obtain the data and find that the p-value is less than 0.05, we say \"With significance level 5%, we reject $H_0$.\" p-value is greater than 0.05, then we say \"With 5% significance level, we cannot reject $H_0$.\" My question is: In case 1, is it correct to say \"we accept $H_1$\"? Intuitively, and from what I have learned in the past, I feel that \"accepting\" anything as a result of hypothesis testing is always incorrect. On the other hand, in this case, since the union on $H_0$ of $H_1$ covers the whole \"space\", \"reject $H_0$\" and \"accepting $H_1$\" look exactly the same to me. On another thought, I can also think of the following idea, which says it is incorrect to say \"we accept $H_1$\": We have an evidence strong enough to believe that $H_0$ is not true, but we may not have an evidence strong enough to believe that $H_1$ is true. Therefore, \"rejecting $H_0$\" does not automatically imply \"accepting $H_1$\" So, what is the right answer?",
"Looking at moving my laundry upstairs, and the right answer is to combine two adjacent closets to get the width and move one of their walls a foot or two into the kitchen to get the depth. The kitchen floor is 10-inch-square tiles. It would be sort of nice if that continued on into the laundry closet. I do have a full bundle of spare tiles in the basement. Question: Could/should I plan on the new wall coming in on top of the existing tiles (presumably having to drill to secure the footer without shattering them), or should I plan on removing the ones under the footer and fitting cut pieces back in afterward?",
"AND gate made out of transistors letting current pass despite only one input high I recently built a gate with transistors, however my meter reads 1.6 volts when only input B is high, and 2.3 while both are high. How can I fix this? (I used 3 volts instead of 6 and 2k instead of 10k)",
"Show that $\\forall (x,y)$ in the first quadrant: $\\frac {x^2+y^2}{4}\\leq e^{x+y-2}$",
"Showing that $|N \\cap Z(G)| > 1$ for normal subgroups of p-groups I have a finite $p$-group $G$ and a normal subgroup $N$ which is not the trivial subgroup. I am asked to show that $|N \\cap Z(G)| > 1$. There has been a similar question on MSE here: Unfortunately, I cannot comment on other user's questions yet, so I made my own question. I know that the trick is to use conjugation but I can't follow the logic. Can someone elaborate? Especially on the last part of the top answer.",
"Replace symbols with values without evaluation",
"The FAQ mentions bounty, but sometimes a question just doesn't really have a right answer: No solution exists The question as written is unanswerable and unsalvageable There may be a technically correct answer, but the asker is unable to utilize it for some reason. In these cases, a bounty, and more answers, won't really help. What is the appropriate etiquette in these cases? Should the question be closed? Left hanging?",
"What is hard reset and what is factory reset? It is mentioned at that one should do Factory reset or hard reset. I'm a bit confused about what is hard reset? Factory reset I suppose is using the option in settings to reset phone to the factory state i.e. when it was unboxed.",
"Why is Ubuntu using so much memory? I have just turned on my PC and have two applications running; Thunderbird and Firefox. Whatever else is running is part of Ubuntu's feature set (as well as a few indicators). This has been ongoing for weeks, so I'm not sure if it's normal behaviour or not. Right now, my memory usage indicator says that Ubuntu is using 41% of my 6GB of RAM. I haven't even opened Gimp or my other day-to-day things. I'll be buying another 6GB of RAM, this week, so that I don't run out when using Gimp or Openshot, for example. An overview of my running applications shows that Nautilus is using the most, yet it isn't even open. This seems a little excessive, or am I missing something?",
"Is it possible to \"hack\" a MacBook so as to be able to install macOS Mojave?",
"I would like to have an app include a custom font for rendering text, load it, and then use it with standard UIKit elements like UILabel. Is this possible?",
"Prove that, for $p > 3$, $(\\frac 3p) = 1$ when $p \\equiv 1,11 \\pmod{12}$ and $(\\frac 3p) = -1$ when $p \\equiv 5,7 \\pmod{12}$",
"Combinatorial argument for $\\sum\\limits_{k=i}^{n}\\binom{n}{k}\\binom{k}{i} = \\binom{n}{i}2^{n-i}$ I need to show that $$\\sum\\limits_{k=i}^{n}\\binom{n}{k}\\binom{k}{i} = \\binom{n}{i}2^{n-i}$$ I know that $\\displaystyle \\binom{n}{k}\\binom{k}{i}$ is counting the number of ways to pick $k$ elements from $n$ and then $i$ elements from those $k$, so $\\displaystyle \\sum\\limits_{k=i}^{n}\\binom{n}{k}\\binom{k}{i}$ is counting the number of ways to do that $\\forall k$. I know that $\\displaystyle \\binom{n}{i} = \\binom{n}{n-i}$ and that $2^{n-i}$ is the number of elements in the power set for $[n]\\setminus[i]$. How do I show that both sides are equivalent? I'm stumped on this one. Could anyone give me a pointer in the right direction?",
"LINQ - Query syntax vs method chains & lambda",
"Is Java's default value for Boolean 'true'?",
"What does why would I do it mean in this context? I've often heard people saying this. And even I say it when someone accuses me of doing something that I didn't do. I'd say: Why would I do that? But what's the grammar behind it? Is it future from the past tense or something or what? It's obviously not a conditional construction 😒 Context from SE01 EP02 Austin & Ally Austin: what does the jacket have to do with the music video? Trish: It's a line in Ally's song, \"my jacket's in the lost and found.\" Ally: \"my jacket\"? It says \"I like it.\" The line is \"I like it when you hang around.\" Dez: \"hang around\"? I thought it said \"kangaroo.\" ♪ I like it when you kangaroo. ♪. Ally: Why would I write \"I like it when you kangaroo\"?",
"Reference — What does this symbol mean in PHP?",
"Word or phrase for mere coincidence that brings happiness",
"How do I share samba via Open VPN? Is that possible? I have configured open VPN in my home so that it can be accessible from my office easily. Now I want to share samba via my open VPN. How can I share samba over open VPN between Ubuntu and Windows? Home public IP: HHH.OOO.MMM.EEE Home desktop IP: 192.168.10.10 Office public IP: OOO:FFF:III:CCC Office Windows desktop IP: 192.168.1.10"
] |
medi_sts_stackexchange_dupe
|
Block domain pointing to my website
|
Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask
|
[
"I have a .net client application which is connected to a remote database. Is it safe to keep a single connection open for the lifetime of the client (hours)? Does the answer hold if I have multiple (10 or 100) clients running?",
"How to define a Bijection between $(A^B)^C$ and $A^{B \\times C}$",
"$n!+1$ being a perfect square",
"Lately it's happening to me this: After completing one or more \"First Posts\" reviews, I go back to the Review Section main page: And the post counter shows that there are still posts to review. I click the link to review them, but there is nothing. Refreshing the page doesn't solve the issue: it shows the wrong number again.",
"When should a supervisor be an author?",
"Proof: Every convergent sequence of real numbers is bounded",
"Show that both mixed partial derivatives exist at the origin but are not equal $$f(x,y) = \\begin{cases} \\displaystyle \\frac{xy(x^2-y^2)}{x^2+y^2} & \\text{if } (x,y) \\neq (0,0), \\\\ 0 & \\text{if } (x,y) = (0,0). \\end{cases}$$ I tried finding both mixed partial derivatives but they ended up being the same for that function. I must be failing to take into account something dealing with the fact that it is piece-wise. I still need to show the mixed partial derivatives exist. How can I do all of this?",
"Can I upload an entire folder using FTP? I need to upload a full folder using FTP. Is there is any option for transferring a folder and all of its contents at once?",
"A script on AIX which checks the number of parameters passed and complains if they are not correct:- if [ \"$#\" -ge 1 ]; then ... else echo 'Usage: myscript <a> [b] [c]' fi The script sets some environment variables so it is sourced. By that I mean I type the following on my command line. There is no second script, I am not sourcing a script from within another script. . ./myscript.sh If I pass it no parameters, I expect it to print out the usage statement but instead it runs using the parameters passed to the previous command that was sourced (not necessarily even this script!). To double check this I added this line at the beginning of my script to prove that this was the case. echo $# $@ If I pass it no parameters, it prints out the number and the list of parameters from a previously sourced script. How do I get it to say $# is zero when I pass it zero parameters and source it? The smallest possible recreate is a script thus:- myscript.sh echo $# $@ and then run it thus:- . ./myscript.sh a b c which prints out 3 a b c then run it again without any parameters thus:- . ./myscript.sh which prints out the same 3 a b c when you would expect it to print out 0 If you don't source the script and just run it thus:- ./myscript.sh then it works as expected and prints out 0 I hope that clarifies the issue at hand. Since I seem to be getting lots of answers to explain why the above doesn't work and no answers to tell me what I should do instead, I thought I would have one more attempt at trying to explain what I am trying to do. Requirement I need to write a script that expects at least one parameter and complains if it is not invoked with a said parameter (see the first block of code in my question above), and this script needs to set some environment variables. Because of this second requirement I have assumed that I need to source the script so that the environment variables are still set when the script completes. How can you write a script that can tell when it has not been passed parameters that is also able to set an environment variable?",
"As many people already know, there are several ways to trigger Windows 7 Aero Snap feature. A user can either press Win+{Left,Right,Up,Down} to snap the window to the left or right or maximize or restore. One can also drag the title bar to all the corner except bottom one. However, is there any keyboard or mouse shortcut to place one window on top half the screen, and another window on bottom half the screen? Please do not tell me to use \"Show Windows Stacked\" because if I have more than two windows, it will place ALL the windows horizontally, which is not what I want. I want to be able to select the window I want and place it automatically either on top or bottom half the screen. Thanks! Edit: Thanks for Moab's suggestion, both on recommend WinSplit and updating my question. I should make it more clear that I'm looking for a software that will do the functions WinSplit provided, but with on screen input, such as touch screen or pen.",
"Schengen visa refusal on threat to public policy, security, health",
"Making Change for a Dollar (and other number partitioning problems) I was trying to solve a problem similar to the \"how many ways are there to make change for a dollar\" problem. I ran across a that said I could use a generating function similar to the one quoted below: The answer to our problem (293) is the coefficient of $x^{100}$ in the reciprocal of the following: $(1-x)(1-x^5)(1-x^{10})(1-x^{25})(1-x^{50})(1-x^{100})$ But I must be missing something, as I can't figure out how they get from that to $293$. Any help on this would be appreciated.",
"I want to add this iostat command to my .bashrc and create an alias for it: iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}') I'm adding this to my .bashrc: alias ios='iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')' Unfortunately, it doesn't work. If I run the above iostat command in a terminal it works, but when I run the ios alias it no longer works. And yes, I restart my shell every time.",
"One of the topics that seems to come up regularly on mailing lists and online discussions is the merits (or lack thereof) of doing a Computer Science Degree. An argument that seems to come up time and again for the negative party is that they have been coding for some number of years and they have never used recursion. So the question is: What is recursion? When would I use recursion? Why don't people use recursion?",
"Is there any way to specify a suggested filename when using data: URI? If for example you follow the link: data:application/octet-stream;base64,SGVsbG8= The browser will prompt you to download a file consisting of the data held as base64 in the hyperlink itself. Is there any way of suggesting a default name in the markup? If not, is there a JavaScript solution?",
"How to compute $$\\prod^{\\infty}_{n=2} \\frac{n^3-1}{n^3+1}\\ ?$$ My Working : $$\\prod^{\\infty}_{n=2} \\frac{n^3-1}{n^3+1}= 1 - \\prod^{\\infty}_{n=2}\\frac{2}{n^3+1} = 1-0 = 1$$ Is it correct",
"Is every discrete absolute value non-archimedean? I've been reading Milne's notes on absolute values and local fields (Chapter 7 of the book on algebraic number theory), and a possibly minor point is confusing me. On page 126, Milne writes, \"$K$ is a field complete with respect to a discrete absolute value $|\\cdot|$...\" and then he talks about things that only make sense for non-archimedean absolute values, like the ring of integers and its maximal ideal. Is every discrete absolute value on a field $K$ also non-archimedean? This would explain a lot, but I also suspect that it is not true, because I can't find any statement of this fact anywhere. EDIT: An absolute value is discrete if the value group $|K^\\times|$ is a discrete subgroup of the multiplicative group $\\mathbb{R}_{>0}$. An absolute value is non-archimedean if it satisfies the stronger triangle inequality $$ |x+y| \\le \\max (|x|,|y|) $$ or equivalently if the set $\\{|1|,|1+1|,|1+1+1|,\\ldots\\}$ is a bounded subset of $\\mathbb{R}$.",
"What exactly is a distribution? I know very little of Probability and Statistics, and am wishing to learn. I see the word \"distribution\" used all over the place in different contexts. For example, a discrete random variable has a \"probability distribution.\" I know what this is. A continuous random variable has a probability density function, then for $x\\in\\mathbb{R}$, the integral from $-\\infty$ to $x$ of the probability density function is the cumulative distribution function evaluated at $x$. And apparently just \"distribution function\" is synonymous with \"cumulative distribution function,\" at least when talking about continuous random variables (question: are they always synonyms?). Then there are many famous distributions. $\\Gamma$ distribution $\\chi^2$ distribution, etc. But what exactly is a $\\Gamma$ distribution? Is it the cumulative distribution function of a $\\Gamma$ random variable? Or the probability density function of a $\\Gamma$ random variable? But then a frequency distribution of a finite data set appears to be a histogram. Long story short: in Probability and Statistics, what is the definition of the word \"distribution\"? I know the definition of distribution in Mathematics (an element of the dual space of the collection of test functions equipped with the inductive limit topology), but not Probability and Statistics.",
"Is there a way to access wifi in Zurich airport without a phone service? I am traveling through Zurich and have a phone without any roaming there; I'm planning on picking up a SIM once I get to my final destination. Last time I was there, I couldn't access the airport wifi because it required a code sent via SMS. In the event I need to contact someone or coordinate about flight delays, is there some alternate way to get wifi access?",
"Is there a way in javascript to detect if the unload event is caused via a refresh, the back button, or closing the browser?"
] |
medi_sts_stackexchange_dupe
|
Maintaining original object as constant
|
What is the most efficient way to deep clone an object in JavaScript?
|
[
"How to export data as CSV format from SQL Server using sqlcmd?",
"With biblatex, the author can be replaced by a dash (or “idem”) in the bibliography. Is it possible to have this replacement also if there are multiple authors, and the first of these multiple authors is the same as the author of the book listed before? (It is somewhat difficult to describe, see the attached example instead, where “Buchautor, Hans-Wilhelm” should be replaced in book3 as well.) I assume that it should be possible by customising \\DeclareNameFormat, but I don’t know how. Minimal example: \\documentclass{scrartcl} \\usepackage[T1]{fontenc} \\usepackage[latin1]{inputenc} \\usepackage[english]{babel} \\usepackage{csquotes} \\usepackage{filecontents} \\begin{filecontents}{\\jobname.bib} @BOOK{book1, author = {Buchautor, Hans-Wilhelm}, title = {Irgendein Buch}, location = {Buch am Wald}, date = {2000} } @BOOK{book2, author = {Buchautor, Hans-Wilhelm}, title = {Ein anderes Buch}, location = {Berlin}, date = {2001} } @BOOK{book3, author = {Buchautor, Hans-Wilhelm and Zweitautor, Zoran}, title = {Noch ein Buch}, location = {London and New York}, date = {2010} } \\end{filecontents} \\usepackage[ style=authortitle, backend=bibtex8 ]{biblatex} \\bibliography{\\jobname} \\renewcommand*{\\bibnamedash}{% \\bibstring[\\mkbibbold]{idem\\thefield{gender}}} \\begin{document} \\nocite{*} \\printbibliography \\end{document} Edit 15/02/2011 17:14 I should have added that there was a feature request for biber which pointed back to biblatex. See . Edit 21/06/2011 9:26 Is this somehow possible now with biblatex 1.4/1.5? I played a bit with uniquename/uniquelist, but I could not get it to work.",
"Can we query the info from \"Data Management -> Storage Usage\" through SOAP API?",
"Is it ok to have mixed grounds and neutrals on bars in a breaker box? So to continue my line of electrical questioning (and perhaps narrow down my ), I took a look through the two panels in this house. There is a 200amp main service in the basement, which then feeds up to a 100amp sub-panel for the main floor. This 100amp sub feeds a kitchen (fridge, microwave, dishwasher, gas range), a bathroom, 3 bedrooms, and a living room. The 200amp main feeds the 100amp sub, 2 bedrooms, a living room, a washer/dryer (gas dryer), a utility room (well pump, pressure tank, gas water heater, gas furnace), and an A/C. My first concern is that the main service panel has the bare ground and neutral wires mixed on the two bus bars. Reading around, some say this is OK, other's say it is bad. Any thoughts? The sub-panel is wired with grounds and neutrals on separate bars. My second concern- is a 100amp sub sufficient for the main floor?",
"for $f\\in L^1[0,2\\pi]$ define $$\\hat{f}(n)=\\int_{0}^{2\\pi} f(t)e^{-int} dt$$ for $n\\in\\mathbb{Z}$, $X$ is a closed linear subspace of $L^1[0,2\\pi]$ such that $\\sum_{n} |\\hat{f}(n)|<\\infty$ for each $f\\in X$, we need to show that there is $M<\\infty$ such that $\\sum_{n} |\\hat{f}(n)|\\le M\\int_{0}^{2\\pi}|f(t)|dt$ for each $f\\in X$ please tell me how to solve this one, I have no clue.",
"How old is Chewbacca, anyway? Do Wookiees get gray fur when they are old?",
"After I installed plank as my dock panel, I removed the default Ubuntu dock by running sudo apt-get remove gnome-shell-extension-ubuntu-dock Then Ubuntu dock is not on my desktop anymore, but when I open the application menu or Activities overview it is there, how can I hide it? Removed dock shows on the left:",
"Playing a remote movie on the remote computer",
"I don't know anything about Star Trek except for the fact that it's about spaceships. In the person only wanted to watch the TV series. I want to watch every movie and TV series there is about Star Trek but I don't know where to start. I found this page on which is about a time line. Do I need to watch it in this order? Are the movies and TV series related?",
"how to output text to both screen and file inside a shell script? Currently I have a shell script which logs messages to a log file like this: log_file=\"/some/dir/log_file.log\" echo \"some text\" >> $log_file do_some_command echo \"more text\" >> $log_file do_other_command When executing this script, there is no output to screen, and, since I'm connecting to the server via putty, I have to open another connection and do \"tail -f log_file_path.log\", because I can't terminate the running script and I want to see the output in real time. Obviously, what I want is that the text messages are printed on screen and into file, but I'd like to do it in one line, not two lines, one of which has no redirection to file. How to achieve this?",
"Where is the \"Manipulate Centers Only\" button in Blender 2.8? I have looked just about everywhere on the Internet and I can't find the answer to this question. Where the hell is the \"Manipulate Centers Only\" button in Blender 2.8???? It's the the double arrow icon here: I seem to have enabled it somehow and I can't scale or rotate my object.",
"Regular expression to match balanced parentheses I need a regular expression to select all the text between two outer brackets. Example: some text(text here(possible text)text(possible text(more text)))end text Result: (text here(possible text)text(possible text(more text)))",
"I want to completely replace Ubuntu with Lubuntu",
"Java Generics (Wildcards) I have a couple of questions about generic wildcards in Java: What is the difference between List<? extends T> and List<? super T>? What is a bounded wildcard and what is an unbounded wildcard?",
"I have been trying to figure out the time complexity of the conjugate gradient method. I have to solve a system of linear equations given by $$Ax=b$$ where $A$ is a sparse, symmetric, positive definite matrix. What would be the time complexity of the conjugate gradient method?",
"What is \"root\" and how can I become it? When I ran a command, I got the following error: You need to be root to perform this command. What is root and how can I become it?",
"Should I say \"She is in the park\" or \"She is at the park\"?",
"Eclipse Shortcut to Split Long Strings I swear I've seen someone do this, but I can't find it in the various lists of shortcuts. Given: String s = \"A very long ............................ String\"; Is there an Eclipse shortcut to turn it into: String s = \"A very long ............................ \" + \"String\";",
"Cleaning unwanted overlapping duplicate meshes I have a model with hundreds of mesh objects. Unfortunately I clicked shift+D to duplicate many and did not notice. Later after working a while, I was rendering, and noticed there are double meshes overlapping each other. How can I find all duplicate meshes and delete them. I could do it manually, just clicking, but it would take a long time and if I miss something i will not notice. Is there any option, or can anybody suggest to me, how can I find all duplicate mesh and delete them. Model with all double (duplicate) mesh Final Result",
"Fancy vertical timeline I'd like to have a timeline as similar as possible to this with the addition of being able to add a logo at the left of each textbullet, but I've got no clue at all: Thanks very much in advance for any help :) p.s. I've stumbled upon this answer () but I don't how to modify it to get what I want!"
] |
medi_sts_stackexchange_dupe
|
How to do email address validation using Javascript (without JQuery)?
|
How to validate an email address in JavaScript
|
[
"What are recommended, general strategies to start block-cipher design and/or analysis? I (and many others for that matter) have always been fascinated by the inner workings of the modern building block of cryptography: block ciphers. Now, the ressources on the \"black art\" of design and analysis of these ciphers are sparse; especially for the entry level. Available information like seems to be somewhat outdated (due to its age). What's the general consensus of the “best” (read: recommended) strategy to start designing and/or analyzing modern cryptographical block ciphers? Nota bene: Think of this as a general, wiki-alike question – for learning purposes only. (Besides that, this Q&A would represent a place we can point people to when alike algorithm design questions arise.)",
"Ubuntu 14.04: very slow UI in Oracle VirtualBox Short summary: 14.04 is much slower than 12.04 even with more RAM assigned. I'm using latest VirtualBox 4.3.10 on Mavericks 10.9.2. How can I make it faster?",
"How to dynamically create a local variable?",
"Find the maximum value of the expression ${\\frac {x}{1+x^2}} + {\\frac {y}{1+y^2}}+{\\frac {z}{1+z^2}}$. Find the maximum value of the expression : $${\\frac {x}{1+x^2}} + {\\frac {y}{1+y^2}}+{\\frac {z}{1+z^2}}$$ where $x,y,z$ are real numbers satisfying the condition that $x+y+z=1$. Taking $x=y=z=\\frac {1}{3}$, I get the expression as $\\frac {3x}{1+x^2}$, which is equal to $\\frac {1}{1+{\\frac{1}{9}}}$ or $\\frac {9}{10}$. How can I actually solve the problem without making unnecessary assumptions ?",
"How long does it usually take for published articles to show up on Google Scholar? The title pretty much says it all - what's the typical delay with which Google Scholar indexes newly published articles? (Note I'm not talking about citations, but about the article showing up at all.) Edit: the article in question went for over six months after being published (in a well-regarded Springer journal with its own Wikipedia page) without appearing on Google Scholar, until it received a citation, at which point it was added to Google Scholar almost immediately. One more motivation to write papers that get cited. :) Edit 2: Another article in an even more mainstream journal took a little over seven weeks.",
"Redirect everything from old domain to new domain I need to (permanent) redirect all of the following: www.example.com www.example.com/folder sub.example.com sub.example.com/folder Basically, all URLs that are reachable without being intended to: www.new-example.com, I want to do this within Apache and using the mod_rewrite module via the .htaccess file.",
"What does it mean to \"program to an interface\"? I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this? I know what interfaces do, but the fact I am not clear on this makes me think I am missing out on using them correctly. Is it just so if you were to do: IInterface classRef = new ObjectWhatever() You could use any class that implements IInterface? When would you need to do that? The only thing I can think of is if you have a method and you are unsure of what object will be passed except for it implementing IInterface. I cannot think how often you would need to do that. Also, how could you write a method that takes in an object that implements an interface? Is that possible?",
"One page website - Effect on SEO I'm considering re-designing my personal website to promote my web services in my local area. My issue is whether to do a one page website with a scroll-to navigation system. What effect does this have on SEO. As i understand it, you set stuff like h1's and meta description on specific page content. How does this work when all of your different content is on one page?",
"How can I measure the execution time of a terminal process? I'm trying to measure the execution time of a process that I call via the command line (i.e., I want to find out how long it takes to for the process to finish). Is there any command that I can add to the command calling the process that will achieve this?",
"As my question says, $$\\frac 1{1.2.3}+\\frac 1{2.3.4}+\\frac 1{3.4.5}+...$$ As far as $\\frac 1{1.2}+\\frac 1{2.3}+\\frac 1{3.4}+...$ is concerned, we can write it as $\\frac 1{n-1} - \\frac 1{n}$ What can we do here?",
"How to do joins in LINQ on multiple fields in single join",
"Can the default font be changed? I have been playing with the settings for the text object recently, and every time I add a new text object, I need to change the font to my favorite one. (Eurostile LT ExtendedTwo) Is there any way to change the default font so I do not need to change it every time I add a new text object? Example:",
"All Stack Exchange data dumps The original ClearBits link to the September 2011 data dump has broken. How can I access it and other previous data dumps? The Internet Archive only has .",
"How do I get from Terminal 1 to Terminal 5 in Fiumicino Airport?",
"I realise it's unlikely that posting the file would cause a problem. However, since I know nothing about what a what's in a minidump file I thought I should check.",
"How can I center a too wide table? I have a document containing a table which is slightly too wide for the page. But instead of growing to the right side only, I would like to have it centered on the page. I have tried to use the center environment but this doesn't seem to help.",
"The error: \"mount: only root can do that\" while mounting a partition I've installed Ubuntu 12.04 along with Windows 8.1. When I tried to open the C: drive in Ubuntu a window is popping out saying to run this command: mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/2A36EE3236EDFEA7 After running the command I'm getting the error mount: only root can do that. What should I do?",
"I am comfortable with the different sizes of infinities and Cantor's \"diagonal argument\" to prove that the set of all subsets of an infinite set has cardinality strictly greater than the set itself. So if we have a set $\\Omega$ and $|\\Omega| = \\aleph_i$, then (assuming continuum hypothesis) the cardinality of $2^{\\Omega}$ is $|2^{\\Omega}| = \\aleph_{i+1} > \\aleph_i$ and we have $\\aleph_{i+1} = 2^{\\aleph_i}$. I am fine with these argument. What I don't understand is why should there be a smallest $\\infty$? Is there a proof (or) an axiom that there exists a smallest $\\infty$ and that this is what we address as \"countably infinite\"? or to rephrase the question \"why can't I find a set whose power set gives us $\\mathbb{N}$\"? The reason why I am asking this question is in \"some sense\" $\\aleph_i = \\log_2(\\aleph_{i+1})$. I do not completely understand why this process should stop when $\\aleph_i = \\aleph_0$. (Though coming to think about it I can feel that if I take an infinite set with $\\log_2 \\aleph_0$ elements I can still put it in one-to-one correspondence with the Natural number set. So Is $\\log_2 \\aleph_0 = \\aleph_0$ (or) am I just confused? If $n \\rightarrow \\infty$, then $2^n \\rightarrow \\infty$ faster while $\\log (n) \\rightarrow \\infty$ slower and $\\log (\\log (n)) \\rightarrow \\infty$ even slower and $\\log(\\log(\\log (n))) \\rightarrow \\infty$ even \"more\" slower and so on). Is there a clean (and relatively elementary) way to explain this to me? (I am totally fine if you direct me to some paper (or) webpage. I tried googling but could not find an answer to my question)",
"Silencing \"Your disk is almost full\" notification",
"Linear Transformations: Proving 1 dimensional subspace goes to 1 dimensional I am having trouble understanding this whole question, and how to prove it. Let $F:\\mathbb{R}^n\\to\\mathbb{R}^m$ be a linear transformation. Prove that if $L$ is a $1$-dimensional subspace of $\\mathbb{R}^n$, then $F(L)=\\{y\\in\\mathbb{R}^m: y=F(x)\\text{ for some }x\\in L\\}$ the image of $L$ under $F$ is a subspace of $\\mathbb{R}^m$ with dimension $1$ or $0$. Hence prove that if the kernel of $F$ is $\\{0\\}$, then the image of $L$ is a $1$-dimensional subspace of $\\mathbb{R}^m$ (and so, in this case, $F$ takes lines in $\\mathbb{R}^n$ to lines in $\\mathbb{R}^m$)."
] |
medi_sts_stackexchange_dupe
|
Xpath expression with both an ID and contains Text
|
Xpath expression with multiple predicates
|
[
"I accidentally removed my /etc/apt/sources.list file. Is it hosted by Canonical somewhere so I can re-add it to the system? It's a bit of an emergency, so I hope someone can provide a quick answer.",
"Solving functional differential equation $f'(x)=2f(2x)-f(x)$",
"Make \\cite{my reference} show name and year I am trying to figure out how to make author's name and year show up every time I make a reference. For example: my_bibtex.bib has this entry: @article{Franklin1999, author = {Franklin Allen and Risto Karjalainen}, title = {Using genetic algorithms to find technical trading rules}, year = {1999}, volume = {51}, pages = {245-271}, journal = {Journal of Financial Economics} } If in my_paper.tex I use this line: Important result has been found by \\cite{Franklin1999} My output looks like: Important result has been found by [1] But I want it too look like: Important result has been found by Franklin 1999 I there a way to do it? My bibliographystyle is set to plain \\bibliographystyle{plain} \\bibliography{my_bibtex}",
"For my MAC laptop, I only have 250GB and out of this 250GB MAC is taking up 129GB in the other section. I looked everywhere to the best of my knowledge. Please note my home directories is only 45GB. Can you somehow please help me?",
"How to prove that there exist no functions $f,g:\\Bbb{R}\\to\\Bbb{R}$ such that $f(g(x))=x^{2018}$ and $g(f(x))=x^{2019}$? I have tried a little bit to solve the problem which goes as follows: My intuition says that there exist no $f:\\Bbb R\\to\\Bbb R$ such that $$f(g(x))=x^{2018}\\text{ and }g(f(x))=x^{2019}.$$ Note that $$f(g(f(x)))=f(x)^{2018}\\implies f(x^{2019})=f(x)^{2018}$$ Similarly, $$g(x^{2018})=g(x)^{2019}$$ Putting $x=1$ in $f(x^{2019})=f(x)^{2018}$, we get $f(1)=f(1)^{2018}$ and thus $f(1)=0$ or $f(1)=1$. Similarly, putting $x=1$ in $g(x^{2018})=g(x)^{2019}$ we get $g(1)=g(1)^{2019}$ and thus $g(1)=0,1,-1$. Now, I can't proceed further. Can anybody solve it? Thanks for assistance in advance.",
"In linear regression, each predicted value is assumed to have been picked from a normal distribution of possible values. See below. But why is each predicted value assumed to have come from a normal distribution? How does linear regression use this assumption? What if possible values are not normally distributed?",
"Prove inequality using Schwarz's Lemma I'm having trouble proving the following: Let $f$ be analytic on $D(0,R)$ and suppose there is a real constant A for which $\\operatorname{Re}f(z) < A$ for all $z \\in D(0,R)$. If $f(0) = 0$, show that $|f(z)| \\leq \\frac{2A|z|}{R-|z|}$. I was told to first start by showing that $|\\frac{f(z)}{2A-f(z)}| \\leq 1$ and also use the following result, which I was able to prove: Let $f$ be analytic on $D(0,R)$ and let $f(0)=0$. If $|f(z)| \\leq M$ for all $z \\in D(0,R)$, then $|f(z)| \\leq M|z|/R$ for all $z\\in D(0,R)$. Thanks in advance!",
"Most of the time, it should be really easy to determine who is my ally and who is not. The people who try to kill me are most likely my foes, whereas the people who entered the dungeon with me are probably my allies. But sometimes it’s not that simple. What if one of my party members got replaced by an evil doppelganger, who plans to kill me in the near future? What if one of my allies infiltrated the court of the evil king and I accidentally have to fight her, while she is (unbeknownst to me) under the effect of a spell? What if a character fell in love with the BBEG and just wants to save him from himself, while the BBEG hates the character and actively tries to murder him? Most spells and abilities that affect others specify the targets as “creatures” or “willing creatures”. Some explicitly affect allies only. That’s why I want to know, how to determine who’s allied with whom. Do I have to think that someone is my ally for someone to count as my ally? Does someone else have to believe to be my ally in order to count? Do both of us have to agree on being allies? Is there an objective observer who determines who’s allied? Can Person A be the ally of Person B, while Person B is not the ally of Person A? There are many examples for spells/abilities that care about allies, among others: the Exalted Champion feature from the (SCAG, p. 132-133), that grants allies within 30 feet advantage on Wisdom saving throws. the Inspiring Surge feature from the (SCAG, p. 128), that allows one or two allies within 60 feet to make a melee weapon attack as a reaction. With features like this, you could accidentally affect someone who’s not actually your ally. You could fail to affect someone who is actually your ally, but you don’t know it (yet). Or you could affect someone who doesn’t want to be affected (because they don’t want to be allied with you). This all depends on the interpretation of the word “ally”. I’m not sure if \"ally\" is a defined game term (but I don’t think so), or if I have to rely on the dictionary definition. That’s why I want to ask: How do I determine who’s allied with whom?",
"ASP.NET MVC Relative Paths In my applications, I often have to use relative paths. For example, when I reference JQuery, I usually do so like this: <script type=\"text/javascript\" src=\"../Scripts/jquery-1.2.6.js\"></script> Now that I'm making the transition to MVC, I need to account for the different paths a page might have, relative to the root. This was of course an issue with URL rewriting in the past, but I managed to work around it by using consistent paths. I'm aware that the standard solution is to use absolute paths such as: <script type=\"text/javascript\" src=\"/Scripts/jquery-1.2.6.js\"></script> but this will not work for me as during the development cycle, I have to deploy to a test machine on which the app will run in a virtual directory. Root relative paths don't work when the root changes. Also, for maintenance reasons, I cannot simply change out all the paths for the duration of deploying the test - that would be a nightmare in itself. So what's the best solution? Edit: Since this question is still receiving views and answers, I thought it might be prudent to update it to note that as of Razor V2, support for root-relative urls is baked in, so you can use <img src=\"~/Content/MyImage.jpg\"> without any server-side syntax, and the view engine automatically replaces ~/ with whatever the current site root is.",
"How to capture the scale of a scene?",
"What are the differences between a multidimensional array and an array of arrays in C#?",
"An equivalence relation is defined by three properties: reflexivity, symmetry and transitivity. Doesn't symmetry and transitivity implies reflexivity? Consider the following argument. For any $a$ and $b$, $a R b$ implies $b R a$ by symmetry. Using transitivity, we have $a R a$. Source: Exercise 8.46, P195 of Mathematical Proofs, 2nd (not 3rd) ed. by Chartrand et al",
"How to filter uninteresting questions",
"I am working on a proof about Dedekind cuts on the positive rational numbers. I have been stuck for a while on the following point and would appreciate any help. Given $x\\in \\mathbb{Q}^+$ such that $x^2<2$, how to find $y\\in \\mathbb{Q}^+$ such $y>x$ and $y^2<2$?",
"What translation occurs when writing to a file that was opened in text mode that does not occur in binary mode? Specifically in MS Visual C. unsigned char buffer[256]; for (int i = 0; i < 256; i++) buffer[i]=i; int size = 1; int count = 256; Binary mode: FILE *fp_binary = fopen(filename, \"wb\"); fwrite(buffer, size, count, fp_binary); Versus text mode: FILE *fp_text = fopen(filename, \"wt\"); fwrite(buffer, size, count, fp_text);",
"This has puzzled me for years: How does Blender decide the window where it will display the rendered image when I hit F12 to render?",
"mysqli_fetch_assoc() expects parameter / Call to a member function bind_param() errors. How to get the actual mysql error and fix it?",
"I am getting this error: SObject row was retrieved via SOQL without querying the requested field: Contact.Account Controller: public class WrapperAccountCtrl { public List<Account> acclist{get;set;} public List<Contact> conlist{get;set;} public List<MyWrapper> wap{get;set;} public WrapperAccountCtrl() { acclist=[Select id,name from Account]; conlist=[Select id,name,AccountID from contact where AccountID IN:acclist]; system.debug('Size----'+conlist.size()); wap=new List<MyWrapper>(); for(integer i=0;i<acclist.size();i++) { wap.add(new MyWrapper(conlist,acclist[i])); } } public class MyWrapper { public Account accn{get;set;} public List<Contact>conrec{get;set;} public MyWrapper(List<Contact> con,Account acc) { accn=acc; conrec=con; } } } VF Page: <apex:page controller=\"WrapperAccountCtrl\" sidebar=\"false\"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value=\"{!conlist}\" var=\"c\"> <apex:column value=\"{!c.account.Name}\"/> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:page>",
"A reward becomes a penalty if I am working to build a reinforcement agent with DQN. The agent would be able to place buy and sell orders for a day trading purpose. I am facing a little problem with that project. The question is \"how to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$\". I want to maximize the profit inside a trading day and avoid to place the pair (limit buy order, limit sell order) if the profit on that transaction is less than 100$. The idea here is to avoid the little noisy movements. Instead, I prefer long beautiful profitable movements. Be aware that I thought using the \"Profit & Loss\" as the reward. \"I want the minimal profit per transaction to be 100$\" ==> It seems this is not something that is enforceable. I can train the agent to maximize profit per transaction, but how that profit is cannot be ensured. At the beginning, I wanted to tell the agent, if the profit of a transaction is 50 dollars, I will remove 100 dollars, then It becomes a penalty of 50 dollars for the agent. I thought it was a great way to tell the agent to not place a limit buy order if you are not sure it will give us a minimal profit of 100$. It seems that all I would be doing there is simply shifting the value of the reward. The agent only cares about maximizing the sum of rewards and not taking care of individual transactions. How to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$? With that strategy, what guarantee that the agent will never make a buy/sell decision that results in less than 100 dollars profit? Does the sum of reward - # transaction * 100 can be a solution?",
"What does an unprocessed RAW file look like?"
] |
medi_sts_stackexchange_dupe
|
Friendly id, Friendly is reserved
|
Friendly_Id and Reserved Words -- How can i replace the reserved word?
|
[
"MathJax does not work on question title on Android app Although, the question is displayed correctly with MathJax when opened. App Version: 1.0.85 Device Manufacturer: Spreadtrum Device Model: Celkon A35K OS Version: 4.4.2 (eng.root.20140613.225402)",
"Does anyone know of a .NET date/time parser similar to (handles stuff like \"tomorrow\" or \"3pm next thursday\")? Note: I do write Ruby (which is how I know about Chronic) but this project must use .NET.",
"Reload activity in Android",
"Altium de-highlighting nets after using 'Find Similar Objects...' command",
"I can't open google-related sites I'm getting timeout errors on google-related sites. If I try to open google.com, gmail.com, etc, it will keep displaying the \"waiting reply\" on the browser bottom, and the page won't open. If I am browsing another site that includes, say, www.google-analytics.com, ajax.googleapis.com, google fonts, etc, then it start loading, displaying a \"connecting to [google-related site]\" on the browser bottom, and stall at that point for a long time. I can browse other sites fine and they load quickly. I can ping the domains with 0% loss and <100ms times. I can ping 8.8.8.8, I am not behind a proxy, there is nothing on my hosts file, I am not at work or in a networked environment: it is a home network behind a router. I connect using wifi (I am too distant to use wired). Other users on the same network don't have the issue. I can both ping and browse the sites. I have pinged ajax.googleapis.com from my android and my other laptop, and they return the same IP than on this laptop. They also share the same external IP address, according to The issue happens on ubuntu 12.04, and as it is cyclic but not frequent enough to make sure, I don't honestly remember if it happens on Windows 7 as well (it is a dual-boot machine). Rebooting the router won't help. Rebooting the computer fixes the problem, until it happens again. It's been happening for a few months now. The last time it happened (earlier today) I performed a ping before and after the reboot. Here's the results: before $ping ajax.googleapis.com PING googleapis.l.google.com (74.125.21.95) 56(84) bytes of data. 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=1 ttl=47 time=157 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=2 ttl=47 time=163 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=3 ttl=47 time=156 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=4 ttl=47 time=165 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=5 ttl=47 time=157 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=6 ttl=47 time=155 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=7 ttl=47 time=159 ms 64 bytes from yv-in-f95.1e100.net (74.125.21.95): icmp_req=8 ttl=47 time=157 ms after $ping ajax.googleapis.com PING googleapis.l.google.com (74.125.134.95) 56(84) bytes of data. 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=1 ttl=47 time=207 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=2 ttl=47 time=154 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=3 ttl=47 time=154 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=4 ttl=47 time=152 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=5 ttl=47 time=157 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=6 ttl=47 time=160 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=7 ttl=47 time=154 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=8 ttl=47 time=157 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=10 ttl=47 time=154 ms 64 bytes from gg-in-f95.1e100.net (74.125.134.95): icmp_req=11 ttl=47 time=152 ms The issue happens on different browsers, I installed epiphany and it shows the same behaviour. I have inspected the network tab on firefox and it shows a single, unreplied GET request: I installed wireshark and listened for HTTP GET requests; on other sites it pops up on the report, but on ajax.googleapis it shows nothing. I listened then for DNS requests, there are some differences: If connect via telnet to the port 80 of a random site and perform a GET it works, but I can't telnet to ajax.googleapis.com (or it's IP), the connection never completes.",
"How to get this only in small letters (lowercase)? I used the following code to give out the category name (without link) in a single post. How would it be possible for the category name that is given out to only appears in small letters ? I just think this has to be made with substring, but I dont get it :) Could somebody please help me :) <?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?>",
"pattern matching in vim",
"I have a Category entity which has a Nullable ParentId field. When the method below is executing and the categoryId is null, the result seems null however there are categories which has null ParentId value. What is the problem in here, what am I missing? public IEnumerable<ICategory> GetSubCategories(long? categoryId) { var subCategories = this.Repository.Categories.Where(c => c.ParentId == categoryId) .ToList().Cast<ICategory>(); return subCategories; } By the way, when I change the condition to (c.ParentId == null), result seems normal.",
"I was skimming through by Cosma Shalizi (in particular, section 2.1.1 of the ), and was reminded that you can get very low $R^2$ even when you have a completely linear model. To paraphrase Shalizi's example: suppose you have a model $Y = aX + \\epsilon$, where $a$ is known. Then $\\newcommand{\\Var}{\\mathrm{Var}}\\Var[Y] = a^2 \\Var[x] + \\Var[\\epsilon]$ and the amount of explained variance is $a^2 \\Var[X]$, so $R^2 = \\frac{a^2 \\Var[x]}{a^2 \\Var[X] + \\Var[\\epsilon]}$. This goes to 0 as $\\Var[X] \\rightarrow 0$ and to 1 as $\\Var[X] \\rightarrow \\infty$. Conversely, you can get high $R^2$ even when your model is noticeably non-linear. (Anyone have a good example offhand?) So when is $R^2$ a useful statistic, and when should it be ignored?",
"Could it be that Goldbach conjecture is undecidable?",
"How to prove that $\\lim\\limits_{h \\to 0} \\frac{a^h - 1}{h} = \\ln a$",
"Comma — a punctuation error? Consider: This book provides a solid psychological understanding of these experiments, and adds a few expansions and conclusions of its own. It also provides … My question regards the comma. I have been told that having the comma there is an error. According to this seems to be the case according to “some style guides”. The reason is that the stuff after the comma is not independent; it’s dependent on what comes before. What do you think? It would seem to me the comma helps a lot, because those two “and”s without any comma make the sentence rather cluttered. That’s why I put the comma there. So I’m not sure.",
"Are there number systems corresponding to higher cardinalities than the real numbers?",
"Using a function in two different ways",
"Chicken Stock gelatinous",
"In HP-UX server, grep -r option is not working In unix server grep -r option is not working. OS is HP-UX. If grep -r is not working any alternative way to do recursive search without -r option?",
"Which statistical test to analyse? I am trying to find out how inflammatory markers change in response to a mechanical device change. I have daily readings for the 5 days before the event and for the 5 days after the event. I am expecting a rise in inflammatory markers in the pre readings followed by a fall after the device change. I also need to find out how the change differs in two subgroups (sample sizes of the subgroups are n=21 and n=88). The aim is to find out if the change is significant, to consider these markers as predictors of the device failing and hence needing to be changed. I would like to know what test would be appropriate to analyse this. I need to keep things simple as I and the people reading the results are non-statisticians.",
"OpenSSL remains vulnerable after update to 14.04",
"List has No Rows for Assignment to SObject: Error",
"Calculating $\\lim_{x\\to+\\infty}(\\sqrt{x^2-3x}-x)$ Let $f(x) = \\sqrt{x^2-3x}$ and $g(x) = x$. Calculate the following limits, showing all working. I've done the first two - $$\\lim_{x\\to0}f(x)\\\\ =\\lim_{x\\to0}\\sqrt{x^2-3x}=0$$ $$\\lim_{x\\to-\\infty}\\frac{f(x)}{g(x)}\\\\ =\\lim_{x\\to-\\infty}\\frac{\\sqrt{x^2-3x}}{x}=\\sqrt{1-\\frac{3}{x}}=1$$ How do I calculate this one? $$\\lim_{x\\to+\\infty}(f(x)-g(x))$$"
] |
medi_sts_stackexchange_dupe
|
What lens is compatible with Nikon D90 for birding?
|
What Nikon lens to buy to make photos of birds?
|
[
"How to use Redstone dust in Minecraft PE? I have Minecraft Pocket Edition and I have collected a lot of redstone dust. For some reason, I couldn't use it for things such as iron doors. Why?",
"It would be nice to for . As it is, SE kind of stands out (in a not cool way):",
"What's the difference between iterating over a file with foreach or while in Perl?",
"Extreme Points of a Convex Hull",
"We are all told at school water vapour and carbon dioxide are the top two greenhouse gases, and that they absorb thermal infra red radiation, trap heat and warm up the Earth. My question is how do they do that? Why can't Oxygen or Nitrogen or any other gas not absorb infra red radiation as well as water vapour or CO2?",
"Status of B1/B2 visa after citizenship change?",
"How can I retrieve mp3 metadata in Python?",
"Using a java library from python I have a python app and java app. The python app generates input for the java app and invokes it on the command line. I'm sure there must be a more elegant solution to this; just like using JNI to invoke C code from Java. Any pointers? (FYI I'm v. new to Python) Clarification (at the cost of a long question: apologies) The py app (which I don't own) takes user input in the form of a number of configuration files. It then interprits these and farms work off to a number of (hidden) tools via a plugin mechanism. I'm looking to add support for the functionality provided by the legacy Java app. So it doesn't make sense to call the python app from the java app and I can't run the py app in a jython environment (on the JVM). Since there is no obvious mechanism for this I think the simple CL invocation is the best solution.",
"Where do I get a SIS mirage 672 vga driver?",
"Linear regression with fixed point I have a data set to which I want to add a trend line. For my system, there will always be a fixed point on (2, 0). I have the line representing this system, but currently I do not account for the fixed point. Is there functionality to achieve this? \\begin{figure} \\begin{tikzpicture} \\begin{axis} [ ylabel={Some Time [ms]}, ] \\addplot[only marks, color=red, error bars/.cd, y dir=both, y explicit] table [x=num_of_nodes, y=MyData, y error=stdev_delay_var] {MyData.dat}; \\label{plot_one} \\addplot +[mark=none, dashed] table[y={create col/linear regression={y=MyData}}] {MyData.dat}; \\end{axis} \\end{tikzpicture} \\caption{Test Results} \\label{fig:test_results} \\end{figure}",
"Why can't enum's constructor access static fields? Why can't enum's constructor access static fields and methods? This is perfectly valid with a class, but is not allowed with an enum. What I'm trying to do is store my enum instances in a static Map. Consider this example code which allows lookup by abbreivation: public enum Day { Sunday(\"Sun\"), Monday(\"Mon\"), Tuesday(\"Tue\"), Wednesday(\"Wed\"), Thursday(\"Thu\"), Friday(\"Fri\"), Saturday(\"Sat\"); private final String abbreviation; private static final Map<String, Day> ABBREV_MAP = new HashMap<String, Day>(); private Day(String abbreviation) { this.abbreviation = abbreviation; ABBREV_MAP.put(abbreviation, this); // Not valid } public String getAbbreviation() { return abbreviation; } public static Day getByAbbreviation(String abbreviation) { return ABBREV_MAP.get(abbreviation); } } This will not work as enum doesn't allow static references in its constructor. It however works just find if implemented as a class: public static final Day SUNDAY = new Day(\"Sunday\", \"Sun\"); private Day(String name, String abbreviation) { this.name = name; this.abbreviation = abbreviation; ABBREV_MAP.put(abbreviation, this); // Valid }",
"How come this is happening in java?",
"Irreducibility of reciprocal polynomials Given that $f(x)=\\sum\\limits_{k=0}^n a_kx^k$ is an irreducible polynomial, show that $g(x)=\\sum\\limits_{k=0}^n a_kx^{n-k}$ is irreducible too. I don't see how this specific coefficient exchange would preserve the irreducibility. Is there something else I should be looking at?",
"I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing is that only the startup sound comes when I log in (Indian/African drum tone), then comes the utter silence. I tested both Digital Output (S/PDIF) and the speakers in the sound settings but can hear nothing. Any help?",
"I cannot update my Kali Linux, when trying to execute apt-get update I get this error message: # apt-get update Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB] Err:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]> Reading package lists... Done W: GPG error: http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]> E: The repository 'http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. If you need my kernel version: # uname -a 4.13.0-kali1-amd64 #1 SMP Debian 4.13.10-1kali2 (2017-11-08) x86_64 GNU/Linux How can I fix this?",
"Suffixes indicating people and language of country vary by country: _an: American, German, Italian, Belgian, Australian, Russian, Ukrainian, Korean, Mexican, Brazilian, Chilean, Argentinean, Indonesian, Malaysian, Iranian, Egyptian, Somalian, Palestinian _sh: English, British, Polish, Danish, Swedish, Turkish, _ch: French, Dutch _ese: Chinese, Taiwanese, Japanese, Vietnamese, Portuguese _no: Filipino, Latino _i: Israeli _: Thai Among the above, _an seems to outnumber other suffixes. Are there any simple rule to govern appropriation of suffix turning a country name into adjective, indicating people and language of countries in the world in terms of say, region, race, or cultural background? Or is it just discretional?",
"I wanted to know how I could configure multi-touch gestures in Ubuntu. In windows I can do this using the synaptics driver software. I have already used synclient to configure the taps, palmdetect, scroll, etc. But I'd also want gesture support. Is is even possible? System-Info: Ubuntu 12.10, Synaptics clickpad",
"Android app intermittently shows blank body in questions and answers (multiple sites) Note: the bug has returned in version 1.0.89 in a somewhat different form. See: This possible bug report is similar to the bug in that was deemed not-reproducible. I can reproduce something similar with more recent app & Android versions. App Version: 1.0.34 (original report; is still present in 1.0.38, 1.0.42, 1.0.58) Android Version: 4.4 (up to 4.4.4) Device: Motorola Droid Maxx In the examples below, you can see some blank answer bodies. These are on different sites, and represent answers with both edited and non-edited text. In the first example, I clicked on the top answer tab to get to the answers, and in the second example I clicked on the bottom \"View n Answers\" button. (Trying to be a good little tester!) Because I've seen this blank-answer-body intermittently over the past couple weeks (before the May 7 update), my process to test was just to go to the first site I frequent and then systematically click through the question list until I found a question with answers in which at least one answer was blank. For all three sites shown below, it was within the first 5 or 7 questions sorted by newest. Please note that I have seen many questions with several answers, none of which were blank. It is truly intermittent. Example blank answer body at Workplace.SE: Example blank answer body at Programmers.SE: Example blank answer body at UX.SE: And now here's the kicker, which makes me think this is some sort of content-loading latency issue rather than a rendering issue: I returned to the left-side menu, selected the User Experience site, picked the same question as above, and then clicked the top answer tab to view answers again, and lo and behold the text is there: I then went back to the other questions with blank answers, shown above, and the answer bodies were no longer blank. I am happy to go through more tests/paths and do screenshots if it is helpful. The same bug also appears in question bodies.",
"SQL Server: Examples of PIVOTing String data Trying to find some simple SQL Server PIVOT examples. Most of the examples that I have found involve counting or summing up numbers. I just want to pivot some string data. For example, I have a query returning the following. Action1 VIEW Action1 EDIT Action2 VIEW Action3 VIEW Action3 EDIT I would like to use PIVOT (if even possible) to make the results like so: Action1 VIEW EDIT Action2 VIEW NULL Action3 VIEW EDIT Is this even possible with the PIVOT functionality?",
"How to protect website from bulk scraping /downloading?"
] |
medi_sts_stackexchange_dupe
|
Orthogonal Projection onto the Affine set $ \left\{ x \mid A x = b \right\} $
|
Orthogonal Projection of $ z $ onto the Affine set $ \left\{ x \mid A x = b \right\} $
|
[
"Why does a 95% Confidence Interval (CI) not imply a 95% chance of containing the mean? It seems that through various related questions here, there is consensus that the \"95%\" part of what we call a \"95% confidence interval\" refers to the fact that if we were to exactly replicate our sampling and CI-computation procedures many times, 95% of thusly computed CIs would contain the population mean. It also seems to be the consensus that this definition does not permit one to conclude from a single 95%CI that there is a 95% chance that the mean falls somewhere within the CI. However, I don't understand how the former doesn't imply the latter insofar as, having imagined many CIs 95% of which contain the population mean, shouldn't our uncertainty (with regards to whether our actually-computed CI contains the population mean or not) force us to use the base-rate of the imagined cases (95%) as our estimate of the probability that our actual case contains the CI? I've seen posts argue along the lines of \"the actually-computed CI either contains the population mean or it doesn't, so its probability is either 1 or 0\", but this seems to imply a strange definition of probability that is dependent on unknown states (i.e. a friend flips fair coin, hides the result, and I am disallowed from saying there is a 50% chance that it's heads). Surely I'm wrong, but I don't see where my logic has gone awry...",
"Prediction interval for binomial random variable What is the formula (approximate or exact) for a prediction interval for a Binomial random variable? Assume $Y \\sim \\mathsf{Binom}(n, p)$, and we observe $y$ (drawn from $Y$). The $n$ is known. Our goal is to obtain a 95% prediction interval for a new draw from $Y$. The point estimate is $n\\hat{p}$, where $\\hat{p}=\\frac{y}{n}$. A confidence interval for $\\hat{p}$ is straightforward, but I cannot find a formula for a prediction interval for $Y$. If we knew $p$ (rather than $\\hat{p}$), then a 95% prediction interval just involves finding the quantiles of a binomial. Is there something obvious I'm overlooking?",
"For some reasons, I would like to do an explicit quoting of a string value (becoming a part of constructed SQL query) instead of waiting for implicit quotation performed by cursor.execute method on contents of its second parameter. By \"implicit quotation\" I mean: value = \"Unsafe string\" query = \"SELECT * FROM some_table WHERE some_char_field = %s;\" cursor.execute( query, (value,) ) # value will be correctly quoted I would prefer something like that: value = \"Unsafe string\" query = \"SELECT * FROM some_table WHERE some_char_field = %s;\" % \\ READY_TO_USE_QUOTING_FUNCTION(value) cursor.execute( query ) # value will be correctly quoted, too Is such low level READY_TO_USE_QUOTING_FUNCTION expected by Python DB API specification (I couldn't find such functionality in document). If not, maybe Psycopg2 provides such function? If not, maybe Django provides such function? I would prefer not to write such function myself...",
"Mathematical expression to form a vector from diagonal elements I would like to know is there any way to express mathematically (using matrices multiplication, addition, etc.) a vector which is formed from the diagonal elements of a matrix. For example, I have a matrix called $\\mathbf{M}$ and I want to create a vector $\\mathbf{v}$ such that $\\mathbf{v}= \\text{diagonal elements of } \\mathbf{M} $ Any matrix algebra or operation do that ? Thank you.",
"Query standard input of lightning-input I want to query standard HTML textarea which is wrapped by lightning-textarea. How can I get it? <lightning-textarea name="secret_field" label="Secret" value={secretFieldValue}></lightning-textarea>",
"Is there a list of error codes for Minecraft? Similar to on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.",
"How to prove that $L=${$a^p$: p is prime} isn't regular? I tried using pumping lemma or finding infinite equivalence classes, but I didn't succeed. It's clear to me that there is no automata that accepts this language, but I just can't formally prove that this language isn't regular. How can you prove it?",
"It's using Euclidian inverse. Can you show it step by step? $$N=7, q=11, a = 3+2X^2 -3X^4 +X^6$$ the inverse of $a \\pmod {11}$ is $$A=-2+4X+2X^2 +4X^3 -4X^4 +2X^5 -2X^6$$ How do we compute $A$?",
"How to delete a file from Time Machine backups in Big Sur?",
"First time this happens to me. When I try to edit , the title part is immediately erased: And when I click cancel, the title becomes invisible: Actually, the revision history is incomplete: It shows that the question was asked after the comments: That's highly likely a result of an edition of the history by a moderator. Google Chrome 62.0.3202.94 (Official Build) (64-bit) on macOS 10.13.2 (17C88).",
"Are there any massless (zero invariant mass) particles carrying electric charge? If not, why not? Do we expect to see any or are they a theoretical impossibility?",
"How would you cut a shape out of an object using another object?",
"I can see that this works for any integer $n$, but I can't figure out why this works, or why the number $42$ has this property.",
"Cell identification by Body Cells How do the B-cells and T-cells recognize or distinguish a body cell from a foreign particle? I suspect something to do with this causes Auto Immune Disorders.",
"I'm trying to run down a memory leak in a windows forms application. I'm looking now at a form which contains several embedded forms. What worries me is that the child forms, in their constructor, take a reference to the parent form, and keep it in a private member field. So it seems to me that come garbage-collection time: Parent has a reference to the child form, via the controls collection (child form is embedded there). Child form is not GC'd. Child form has a reference to the parent form, via the private member field. Parent form is not GC'd. Is this an accurate understanding of how the garbage collector will evaluate the situation? Any way to 'prove' it for testing purposes?",
"Modify TikZ coil decoration Can I modify the existing tikz coil decoration, so that the downstrokes are not drawn in a certain interval, to produce a picture like this? Edit: Previous attempts, code and MWE has been moved to or superseded by my own answer.",
"Installed 14.04 on a non-PAE (Pentium-M), but now I can't update (\"This kernel does not support a non-PAE CPU.\") Here is what I'm looking at. This isn't my computer. I repair PC's and I had an end user with this low powered laptop running XP so I decided to let him try out lubuntu. The install went smoothly with the non-PAE boot switch, but now I can't update anything. I'd rather not have to format and start over since he's spent time configuring his system. Any tips would be appreciated. I tried sudo apt-get clean, sudo apt-get install -f, sudo apt-get update. No go. Also his touchpad stopped working, the wireless stopped working, the keyboard works in firefox but not chrome, and in firefox the address bar sometimes turns black and gray for some reason. I was hoping the update would help address some of this stuff. Here's the message I get trying to update: Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main linux-image-3.13.0-26-generic i386 3.13.0-26.48 [14.6 MB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-24-generic i386 3.13.0-24.47 [14.6 MB] Fetched 29.2 MB in 2min 19s (208 kB/s) (Reading database ... 169286 files and directories currently installed.) Preparing to unpack .../linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb ... This kernel does not support a non-PAE CPU. dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-26-generic /boot/vmlinuz-3.13.0-26-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-26-generic /boot/vmlinuz-3.13.0-26-generic Preparing to unpack .../linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb ... This kernel does not support a non-PAE CPU. dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb /var/cache/apt/archives/linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)",
"Let's say that there is a question asked in a bad manner, in a way that the question is missing. For example the user shows the code and doesn't explain very well which is the problem. Usually someone starts digging in the OP mind posting comments and asking him for details. It may happen that the question gets edited and the OP edits it to a valid question. Do you usually give the OP time to edit the question or you immediately vote to close it?",
"Random integer in VB.NET I need to generate a random integer between 1 and n (where n is a positive whole number) to use for a unit test. I don't need something overly complicated to ensure true randomness - just an old-fashioned random number. How would I do that?",
"Possible Duplicate: I was thinking about making a pacman clone, I know there is a similar question here , but I know i can't use the original art from the game because it belongs to Namco, so if I design a character that has the shape of the slice circle it will look exactly like pacman, maybe if I use green instead of yellow? Also if the game plays like the original pacman, it is wrong? I just want to make the game as a personal project and and publish it in my site without getting in trouble"
] |
medi_sts_stackexchange_dupe
|
How to search for raw URL
|
Search question and answer Hyperlinks for a hostname?
|
[
"When a sentence uses a parenthetical plural, should the rest of the sentence treat it as singular or plural? Consider the following sentence: We assume that the individual(s) possesses some general knowledge of the rules of football. Is \"possesses\" correct there? Should it be \"possess\"? Is the rule more complex than always using one or the other?",
"Can I deploy Juju on Eucalyptus? Please let me know if I can deploy juju on Eucalyptus, if yes please provide me the configuration details which i need to edit on environments.yaml file.",
"Can a parallel computer simulate a quantum computer? Is BQP inside NP?",
"Booting system without full network configuration I was trying to solve internet problems, and seem to have made things worse: Now when I start the computer it gets stuck on \"Booting system without full network configuration\". Does anyone know how to make it unstuck? Alternatively: It got messed up when I changed the contents of /etc/network/interfaces, so presumably would work again if I changed it back. How can I edit this file during boot? I'm using Ubuntu 12.10.",
"How do I install nVidia graphics drivers from “X-Swat” ppa? How am I supposed to install nvidia drivers from xorg-edgers? I try sudo add-apt-repository ppa:xorg-edgers/ppa -y sudo apt-get update sudo apt-get install nvidia-graphics-drivers-331 and I get E: Unable to locate package nvidia-graphics-drivers-331 The nvidia-graphics-drivers-331 for trusty, why wouldn't it install?",
"Trying to find a story about an unborn telepathic baby who can save a spaceship from doom There's a spaceship, nearing the end of its journey. Everybody on board is in cryosleep. For some reason the wake-up system malfunctions, and the ship will fly on indefinitely. The people at the space port realise this, and try to wake someone up. Their last resort is finding someone on board who is telepathic, and wake this person up. They find one, but it turns out to be an unborn baby.",
"I'm working on a mac, I use the package TikZ and it works. But I have problems when I want use ellipse or diamond ex : \\documentclass{article} \\usepackage{graphicx} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} \\node[ellipse] {Ellipse}; \\end{tikzpicture} \\end{document} If somebody could help me thank you !",
"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.",
"I'd like to typeset documents using the '' of page layout. Good examples are on pages 40-53 of . The package is helpful for this, but two additional features would be useful: Automatic flow of text across (arbitrarily placed) columns / textpos blocks. Vertical line spacing enforced to be an integer multiple of a base line spacing, even when interrupted (for example) by an equation of arbitrary height. Any ideas as to how either or both of these could be accomplished?",
"It is usually said that existence of discrete spacetime violates Lorentz symmetry. What quantity is used to quantify such violation? I mean could someone points a reference for a derivation that shows such analysis. My other question is: if Lorentz symmetry is violated, does that imply space-time is discrete? or not necessarily?)",
"I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose \"Replace Windows 8 with Ubuntu\", do I lose the other partition too? And are there other ways to leave the other partition as it is, and install ubuntu in the partition where windows was installed.",
"How to extract logs between two time stamps I want to extract all logs between two timestamps. Some lines may not have the timestamp, but I want those lines also. In short, I want every line that falls under two time stamps. My log structure looks like: [2014-04-07 23:59:58] CheckForCallAction [ERROR] Exception caught in +CheckForCallAction :: null --Checking user-- Post [2014-04-08 00:00:03] MobileAppRequestFilter [DEBUG] Action requested checkforcall Suppose I want to extract everything between 2014-04-07 23:00 and 2014-04-08 02:00. Please note the start time stamp or end time stamp may not be there in the log, but I want every line between these two time stamps.",
"Active Web Site as Gnome Background Is there a way to put an active website, such as Gmail, as your Desktop background in Gnome, running Ubuntu 10.10 64-bit? MS Win calls it \"Active Desktop\".",
"One of the new search hints is wrong",
"Open more than one instance of Windows 10 settings How can I open more than one instance of the Windows settings? It wasn't a problem with the old style, but with the new one I can't seem to open multiple settings simultaneously and side by side. Example of the new settings window:",
"I am having a problem computing the pearson correlation coefficient of data sets with possibly zero standard deviation (i.e. all data has the same value). Suppose that I have the following two data sets: float x[] = {2, 2, 2, 3, 2}; float y[] = {2, 2, 2, 2, 2}; The correlation coefficient \"r\", would be computed using the following equation: float r = covariance(x, y) / (std_dev(x) * std_dev(y)); However, because all data in data set \"y\" has the same value, the standard deviation std_dev(y) would be zero and \"r\" would be undefined. Is there any solution for this problem? Or should I use other methods to measure data relationship in this case?",
"Traverse a list in reverse order in Python",
"I was answering a question on Stack Overflow and required to use a trailing space in one of my code snippets. I formatted it like so: `<a ` And it renders without the trailing space: <a Using the <code> tag does account for trailing spaces, though in my case it busts because of the <. Here's my formatting with the <code> tag: <code><a </code> Here's how it renders: (Yes, you should see nothing there). This is a pretty annoying bug. Can we get it fixed?",
"I used an SRTM DEM to create a hillshade in QGIS 2.2.0. However, the resultant hillshade seems to be vertically exaggerated. Also, changing the settings for scale and z-factor does not have any effect on the resultant hillshade. I have tried both options in QGIS, Analysis-> DEM (Terrain models) and Terrain analysis -> Hillshade. Both methods gave the same results. Is this an isolated incident, a bug, or am I missing something?",
"Fail of markdown parser detected if '_ 's are used in a naked URL"
] |
medi_sts_stackexchange_dupe
|
Run script after wake up
|
Run Script on Wakeup?
|
[
"How can I save the command and its execution output to file at the same time Suppose I have a command java -cp src/ nlp.lm.BigramModel wsj/ 0.1, I want to save the command itself and the command execution output to the file at the same time. One way to do this is to echo \"$ java -cp src/ nlp.lm.BigramModel atis/ 0.1\" > trace/bigram-trace.txt java -cp src/ nlp.lm.BigramModel atis/ 0.1 >> trace/bigram-trace.txt Is there a better way to do this?",
"Find all integers $a$,$b$ and $c$ that satisfy the following equations $a^2=bc+1\\tag{i}$ $b^2=ac+1\\tag{ii}$ I tried solving came out with following results: $(i)-(ii)$ gives $a+b+c=0$ which implies, $a^3+b^3+c^3=3abc$ Multiplying equation $(i)$ with $a$ and multiplying equation $(ii)$ with $b$ and then subtracting $(i)-(ii)$ we get $a^2+b^2+ab=1$ which can be written as $(a+b)^2-ab=1$ , which can be further written as $c^2-ab=1$.",
"hotel occupancy counting problem The multiple-choice question: A hotel has four vacant rooms. Each room can accommodate a maximum of four people. In how many different ways can six people be accommodated in the four rooms? (A) 4020 (B) 4068 (C) 4080 (D) 4096. My attempt: If there were no 'four person' constraint, the six people could be accommodated in $4^6=4096$ ways. however, this number includes combinations with 5 or 6 people in one room, which should be excluded. If one room has 5 occupants, one other room has 1 occupant. The number of '1,5' combinations is ${{4} \\choose {2}}$=12. If one room has 6 occupants, the other three rooms have no occupants, and there are four such combinations. I believe the answer should be $4096-12-4=4080$, but am not confident. I'd be grateful for any comments on my attempt.",
"How can I maximize the \"blurry background, sharp subject\" (bokeh) effect? I know that this effect occurs when there's a shallow depth of field. My question is, what are the various ways I can increase this effect in my photos when I'm taking them? Note that I'm not asking how to use an editing program to achieve this effect after in post production or after the image is captured.",
"1970s or 80s kids book: girl's life taken over by a robot doppelganger version of herself I read this book between 1980-82 but it could have been written earlier. It's about a girl who is dissatisfied with her life, as her parents have her on a diet and she wants to be able to eat what she wants. Someone offers her a solution: to come live in this large building where she can eat all the chocolate eclairs and other junkfood she wants, while a robot doppelganger android version of herself will take her place at home and at school. The girl agrees, but finds that after week of eating mainly eclairs, she is sick and wants to eat a decent meal. But she is not allowed to eat anything else and has found herself to be a prisoner, so she sets out to get rid of the android and get her life back. I don't recall the ending but it seemed the 'people' behind it all might have been aliens and the building might have been a kind of ship that then disappears.",
"Language Options -> Spell Checking in Windows 10 version 1803",
"Unable to solve equation for a variable by any method",
"How to get the path of a running JAR file?",
"Polite or unrectified placement of the word please",
"URL to load resources from the classpath in Java",
"Install packages from newer release without building (apt pinning) I need these packages with the latest upstream version backported for ubuntu/natty libccid_1.4.5-0ubuntu1_amd64.deb libpcsclite1_1.8.1-0ubuntu1_amd64.deb libpcsclite-dev_1.8.1-0ubuntu1_amd64.deb libusb-1.0-0_1.0.9-0ubuntu1_amd64.deb libusb-1.0-0-dev_1.0.9-0ubuntu1_amd64.deb opensc_0.12.2-1ubuntu1ppa1~natty1_amd64.deb pcscd_1.8.1-0ubuntu1_amd64.deb pcsc-tools_1.4.18-0ubuntu1_amd64.deb I tried to build them from source with update but it failed. I am not an expert at packaging and there are so many tutorials and recipes out there. Do you know a good and up to date tutorial for backporting Ubuntu packages? How do I get packages from other releases without having to build them myself?",
"I have an internal microphone in my laptop. I think it uses Intel High Definition Audio. But I can't get it to work with Ubuntu. It doesn't work with either the Sound Recorder or Skype. On the Input tab in 'Sound Preferences', I just see Internal Analog Input Device...",
"A spaceship crew stuck in a damaged spaceship that's losing power",
"This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the tag. This canonical question is intended to address several classes of common questions by providing a quick summary and links to comprehensive resources: How do I start writing my first unit test? How do I unit test this code? I need help writing this unit test. Salesforce Stack Exchange looks for detailed, specific questions that the community can help you with, and can't write tests on your behalf. We feel that working with the resources below can help you get started, and we encourage you to make an attempt to write your test and return to SFSE with your specific questions when you encounter challenges you can't resolve.",
"What is the pressure at the center of the Earth? (Or a neutron star) The has microgravity and is thought to be solid and almost 6000 degrees hot. What is the pressure like there? The confusing thing, for the common man I suppose, is that there's no gravity there, but lots of matter around it which does gravitate towards the center. How does that add up? Is the center just a gas cloud or is it highly compressed? And I could add the aside question about what it is like in the microgravity center of a or a black hole, but I don't expect anyone to know about that.",
"I've recently installed Fedora 19. is installed. But its own examples don't work. When I enter gedti the output is: bash: gedti: command not found... Similar command is: 'gedit' And it works correctly but when I enter powertop, the output is: bash: powertop: command not found... With no suggestion about the package. Why? Should I edit some configuration files or update some cache or ... ?",
"text processing rows to columns for a block",
"How can I see my progress for different badges?",
"probability of getting 50 heads from tossing a coin 100 times",
"How does Lucio's aura work vertically? If I play Lucio, can I heal the teammates located at a different height? (roof, upstairs, hovering Pharah... ) In other word is that aura strictly horizontal? Or does it work more like a bubble like Winston's barrier? If it's horizontal, does it require Line Of Sight or not? (will I heal a nearby ally right behind a wall?)"
] |
medi_sts_stackexchange_dupe
|
What are vintage magic cards worth?
|
What's the most efficient way of determine individual card values for my collection?
|
[
"How to batch watermark JPG files? I have around 15,000 JPG files that need to be watermarked. Is there any way to process these images en masse and add a watermark? The images may be different sizes, I want the watermark placed in the center of the images.",
"Let $\\varphi:G\\rightarrow H$ be a group homomorphism from group $G$ to group $H$. Show that, if $H$ is abelian, all subgroups of $G$ that contain $\\mathrm{ker} (\\varphi)$ are normal in $G$.",
"I marinated chicken five days ago in lemon juice, seasoned salt, and garlic powder, is it still safe to cook in the oven?",
"Could someone provide me with a good explanation of why $0^0=1$? My train of thought: $x>0$ $0^x=0^{x-0}=0^x/0^0$, so $0^0=0^x/0^x=\\,?$ Possible answers: $0^0\\cdot0^x=1\\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined PS. I've read the on mathforum.org, but it isn't clear to me.",
"Check if email exist php",
"Associated elements in a ring Please help me to find elements $a,b$ in a ring $R$ such that $a\\mid b$ and $b\\mid a$, but there does not exist any unit $u$ in $R$ such that $a=ub$.",
"An element of a group has the same order as its inverse If $a$ is a group element, prove that $a$ and $a^{-1}$ have the same order. I tried doing this by contradiction. Assume $|a|\\neq|a^{-1}|$ Let $a^n=e$ for some $n\\in \\mathbb{Z}$ and $(a^{-1})^m=e$ for some $m\\in \\mathbb{Z}$, and we can assume that $m < n$. Then $e= e*e = (a^n)((a^{-1})^m) = a^{n-m}$. However, $a^{n-m}=e$ implies that $n$ is not the order of $a$, which is a contradiction and $n=m$. But I realized this doesn't satisfy the condition if $a$ has infinite order. How do I prove that piece?",
"US citizens travelling to Cuba are restricted to a set of \"reasons\" for travel, of which tourism is not one. I have US-Philippines dual citizenship, and both passports. Would I just buy the ticket using my Filipino passport? What kind of documentation/proof would I need to return back to the US? And as a US citizen travelling with a foreign passport, where would I go for US customs? Thanks.",
"Supremum of a product measurable function...",
"How to differ sessions in browser-tabs?",
"Show discontinuity of $\\frac{xy}{x^2+y^2}$",
"What Is Energy? Where did it come from?",
"What does “a couple” mean to you, and what does “a few” mean to you? What does “a couple” mean to you, and what does “a few” mean to you? Is there a proper way to use these words? It was striking to hear that “a couple” meant two (2) to someone. My reaction was, “how/why do you make a short word longer by adding an extra syllable to just say ‘two?’” I think Few: 2-3, Couple 4-6, Several 7+. What are your thoughts?",
"Series of binomial coefficients: $\\sum\\limits_{n=k}^{\\infty}{\\binom nk}x^n=\\frac{x^k}{(1-x)^{k+1}}$ Any hint to prove this? I tried with properties of binomial coefficient but I can't get anything. $$\\sum_{n=k}^{\\infty}{{n}\\choose{k}}x^n=\\dfrac{x^k}{(1-x)^{k+1}}$$",
"This question has an inverse: What would be the most efficient way to translate a combination of $k$-tuple into its positions within the $\\left(\\!\\!\\binom{n}{k}\\!\\!\\right)$ combinations? I need this to be fast for combinations of $\\left(\\!\\!\\binom{70}{7}\\!\\!\\right)$ order of magnitude - very large, but not exceeding 2 billion (fits into int32 maximum value). Below is an example of $\\left(\\!\\!\\binom{6}{3}\\!\\!\\right)$, where the aim is to quickly translate (a, d, f) tuple to value 9, while in the real problem $k$ ranges between 5 and 8. $$\\begin{array} {cccccc|c} a&b&c&d&e&f&^{combination}/_{sort\\_order}& \\\\\\hline x&x&x& & & &1\\\\ x&x& &x& & &2\\\\ x&x& & &x& &3\\\\ x&x& & & &x&4\\\\ x& &x&x& & &5\\\\ x& &x& &x& &6\\\\ x& &x& & &x&7\\\\ x& & &x&x& &8\\\\ x& & &x& &x&9\\\\ x& & & &x&x&10\\\\ .&.&.&.&.&.&.\\\\ & & &x&x&x&20\\\\ \\end{array}$$ I know that I could pre-calculate all the combinations and reverse the lookup dictionary. However, such dictionary would not be efficient in terms of memory usage. Therefore I am looking for either calculation-based approach, or a more efficient data structure to perform this mapping.",
"On Cesàro convergence: If $ x_n \\to x $ then $ z_n = \\frac{x_1 + \\dots +x_n}{n} \\to x $",
"Real-life examples of common distributions",
"Profitable strategy in coin tossing? There is a coin with a probability $p$ of heads, and $1-p$ of tails. Tosses are independent of each other. When you bet an amount of money $x$, you receive $2x$ if it lands heads, and you lose what you bet if it lands tails. We are going to use the following strategy: You start betting an initial amount $x_0$. Every time you lose, you bet twice what you bet in the previous throw. You keep doing this, until you win, at which point you retire, or start again, betting $x_0$. The interesting case of course is when $p < 0.5$. The question is: How profitable is this strategy? Intuitively I feel that eventually I can always win an arbitrarily large amount of money. But that can't be entirely right (\"the house always wins!\"). So what am I missing here? What's the expected win in each run? Also, does this sort of strategy have a name in the literature? P.S.: Found this later,",
"Collapsing a stream of multiple lines into one line I have a file containing a a large number of lines, each of which contains a bunch of numbers which are separated by spaces. I process this data in a pipe in some way, and then I want to collapse the multiple lines into a single line of all the numbers separated by spaces. Is there a standard command-line utility I can use to do this? It seems like most line-by-line utilities won't mess with the newlines...",
"Q1: Does a DNS rule for *.domain.com match multi-level domain names? In other words, if I just set *.domain.com in my DNS records, will it match all of: a.domain.com b.a.domain.com c.b.a.domain.com as many levels deep as needed, with just that one wildcard DNS specifier? We have a use case for multi-level DNS and I would like to confirm that we are doing the right thing in setting one wildcard DNS setting for the root domain. Q2: will this work with round-robin DNS?"
] |
medi_sts_stackexchange_dupe
|
Why does my question not meet your quality standards?
|
What can I do when getting “This question body does not meet our quality standards”?
|
[
"Looking around for rim brake pads, I have noticed a wide variety: low end-ish: cheap, rubber pad with metal stem, unknown brand high end-ish: expensive, rubber pad with metal stem, known brand cool end-ish: dedicate pad sections (1 for dry, 1 for mud, 1 for rain) Is there any good reason to go for an high end-ish or for the cool end-ish, or is it just plain old marketing tricks?",
"Are players allowed to pass a penalty kick? I saw a video of Johann Cruyff , isn't that against the rules?",
"Should you use \"who\" or \"that\" when talking about multiple people doing something? Which of the following is correct? There were 10 people that went to the store. There were 10 people who went to the store. Edit: Which of the following is correct? There were 10 people that had brown hair. There were 10 people who had brown hair.",
"I like to be thorough, but if you feel confident you can skip the first paragraph. Review: A ring is a set $R$ endowed with two operations of + and $\\cdot$ such that $(G,+)$ is an additive abelian group, multiplication is associative, $R$ contains the multiplicative identity (denoted with 1), and the distributive law holds. If multiplication is also commutative, we say $R$ is a commutative ring. A ring that has no zero divisors (non-zero elements whose product is zero) is called an integral domain, or just a domain. We want to show that for a domain, the equation $x^2 = 1$ has at most 2 solutions in $R$ (one of which is the trivial solution 1). Here's what I did: For simplicity let $1,a,b$ and $c$ be distinct non-zero elements in $R$. Assume $a^2 = 1$. We want to show that letting $b^2 = 1$ as well will lead to a contradiction. So suppose $b^2 = 1$, then it follows that $a^2b^2 = (ab)^2 = 1$, so $ab$ is a solution as well, but is it a new solution? If $ab = 1$, then $abb = 1b \\Rightarrow a = b$ which is a contradiction. If $ab = a$, then $aab = aa \\Rightarrow b = 1$ which is also a contradiction. Similarly, $ab = b$ won't work either. So it must be that $ab = c$. So by \"admitting\" $b$ as a solution, we're forced to admit $c$ as well. So far we have $a^2 = b^2 = c^2 = 1$ and $ab = c$. We can procede as before as say that $(abc)^2 = 1$, so $abc$ is a solution, but once again we should check if it is a new solution. From $ab = c$, we get $a = cb$ and $b = ac$, so $abc = (cb)(ac)(ab) = (abc)^2 = 1$. So $abc$ is not a new solution; it's just one. At this point I'm stuck. I've shown that it is in fact possible to have a ring with 4 distinct elements, namely $1,a,b$ and $c$ such that each satisfies the equation $x^2 = 1$ and $abc = 1$. What am I missing?",
"Why is it OK to jump into the scope of an object of scalar type w/o an initializer?",
"If a drive doesn't know about partitions and files systems why moving a file from one partition to another takes relatively long time, unlike the instantaneous move on the same partition? Is that file system inefficiency? In this case, NTFS. It seems like the file is being copied and then original is erased, instead of removing the entry about that file in one partition and making it in another?",
"I want to install the on my iPhone. On the phone I have iOS 7. When I try to install the App, it tells me it needs at least version 8 of iOS. I do not want to upgrade my iOS version, especially for the sole purpose of installing an App. However, I do want to use it, it's kind of important. I searched for a while about how to do this, but I could only find solutions that would work if you installed the App before and it shows up on the \"Purchases\" page in iTunes or something like that. And this doesn't apply to this case. How can I install an older version of the App (one that requires \"only\" iOS 7) without having to upgrade the operating system on my iPhone ?",
"Can I use an Android phone as webcam for an Ubuntu device?",
"I use this program in Windows that's one-box and searches all of my drives. By default it lists all files, everywhere, in a single list. Is there a Linux graphical utility that does this?",
"I have a requirement to create triggers dynamically after a managed package is installed. I have read that the tooling API can be used to create triggers dynamically however it cannot be used in production. Is it possible to create triggers from a managed package in an org? I want to be able to create the trigger based on some user inputs.",
"Is there any way to get the number of pending chat request on omni channel? I have a requirement to get the number of pending chat request in the omni channel. I have set the presence configuration capacity to 5 so that an agent can have only 5 chat requests. if a case is solved agent will get one of the pending chat request. But right now i can't see the number of pending request. Lets say i have 10 pending request in the queue, but i don't have any numbers to see how many are pending in the queue. Is there any way that can show the pending chat requests in the queue?",
"Displaying row/column of point in raster using QGIS? Is it possible in QGIS to display column and row index of pixel in raster? I mean something similar to value tool.",
"Where can I find Obsidian in the Pocket Edition? I have looked everywhere for lava or obsidian in 0.7.1. I've looked all the way from top to bottom and all around, in about a 100 block diameter, but I can't find any. Where can I get some?",
"Deleting self-answered question gets \"Delete this answered question\" warning While attempting to delete a question which was answered by myself, and with no other answers, I got the following warning: Delete this answered question? We do not recommend deleting questions with answers because doing so deprives future readers of this knowledge. Repeated deletion of answered questions can result in your account being blocked from asking. Are you sure you wish to delete? I understand that deleting your question when someone else has answered it is effectively nullifying the effort that person put into that answer, which is bad. But is it bad if the only answer that's deleted along with your question is your own?",
"Which OpenType Math fonts are available?",
"Solve the following equation in positive integers $x$ and $y$",
"Counting homomorphisms between $\\Bbb Z$ and $\\Bbb Z_n$ and also between $\\Bbb Z_n$ and $\\Bbb Q$",
"Say I have a Python function that returns multiple values in a tuple: def func(): return 1, 2 Is there a nice way to ignore one of the results rather than just assigning to a temporary variable? Say if I was only interested in the first value, is there a better way than this: x, temp = func()",
"Apply display settings to all user accounts?",
"Suppose we have a sample of size n= 9, where the sum equals 27, and the sum of the squaredvalues equals 113. Sample mean is 27/9=3 and mean of squared values is 113/9 = 12.56 Can we then say that the sample variance $S^2 = E(\\overline X^2) - E(\\overline X)^2 = 12.55 - 9 = 3.56$ ?"
] |
medi_sts_stackexchange_dupe
|
Adding texture on a material
|
How to place a .png texture with transparency over a material
|
[
"Variable with colon dash ${VAR:-}",
"Can an observer B move in such a way that his clock will run faster than that of a fixed observer A? My understanding of Special and General Relativity comes from books which attempt to explain them to non-experts in these fields. Let A and B be observers, which at some time t(0), are together at some location P fixed to the earth's surface. A and B are provided with \"clocks\", which at time t(0), are identical lumps of the same radioactive element-that has a very long half-life. A and A's \"clock\" remain fixed to the earth's surface. B and B's \"clock\" leave A and stay together, but eventually return to A after some interval of time T (as measured by A's \"clock\"). If, during this time T, B's velocity relative to A is sufficiently close to the velocity of light or B remains close to a sufficiently massive body, it seems that time can \"pass more slowly\" for B than for A. So that when B rejoins A, B's \"clock\" will contain more of the radioactive element than A's \"clock\" My question is: Are there any scenarios that B together with B\"s \"clock\" can undergo (during the time T) which will cause time to \"pass more quickly\" for B than for A? So that when B rejoins A, B's \"clock\" will contain less of the radioactive element than A's \"clock\". If there are no such scenarios, is there any fact or law in Relativity theory which rules them out?",
"No homomorphism from $Z_{16}\\oplus Z_{2}$ onto $Z_{4}\\oplus Z_{4}$. For some reasons, homomorphism is a very hard area for me to make improvements. I've been hitting the brick wall for almost 2 hours. Prove that no homomorphism exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Assume a homomorphism $\\phi$ exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Then $\\phi$ is an isomorphism. Note that the $\\left | \\ker \\phi \\right |=2$ The $\\ker \\phi$ is also a normal subgroup for $Z_{16}\\oplus Z_{2}$. We want possible normal subgroup of order 2. I.e., 2 elements in each normal subgroups. By Lagrange's theorem, the order of each element in a group divides the order of a group so the possible order of the elements are 1 or 2. If the elements has order 1, then the Ker \\phi cannot have 2 elements. Hence, $\\ker\\phi$ = $\\left \\{ (0,0),(8,0) \\right \\}$ ,$\\left \\{ (0,0),(0,8) \\right \\}$,$\\left \\{ (0,0),(8,1) \\right \\}$, possibly. By the First isomorphism theorem: $\\phi: Z_{16}\\oplus Z_2 \\rightarrow Z_2\\oplus Z_2$ $\\Psi: G/\\ker \\phi \\rightarrow \\phi\\left ( Z_16\\oplus Z_2 \\right )=Z_2\\oplus Z_2$ $g\\ker \\phi \\mapsto \\phi(g)=\\Psi(g\\ker \\phi)$ Any help is appreciated. Edit: I know that $(2,0)$ has order $8$ in $Z_{16}\\oplus Z_{2}$ but any elements in $Z_{4}\\oplus Z_{4}$ does not have order $8$ which would have solved the question at the outset. But I would like a different route.",
"Suppose I installed ubuntu with the user usr1 then I added usr2. I then create a group grp1 where this 2 users are added. A folder is owned by usr1 and has group grp1. But when I login as usr2 I cannot write. The folder has permissions 755... usr2@kmserver:/media/data/www$ groups usr1 usr1 : grp1 ... usr2@kmserver:/media/data/www$ groups usr2 usr2 : grp1 ... usr2@kmserver:/media/data$ ls -l total 20 drwx------ 2 root root 16384 2011-05-12 10:53 lost+found drwxrwxr-x 2 grp1 grp1 4096 2011-05-12 15:15 www Whats wrong?",
"How To Store Files In An EXE Alright, so I'm working on programming my own installer in C#, and what I'd like to do is something along the lines of put the files in the .exe, so I can do File.Copy(file, filedir); Or, if this isn't possible, is there another way of doing what I am attempting to do?",
"What should my Objective-C singleton look like? My singleton accessor method is usually some variant of: static MyClass *gInstance = NULL; + (MyClass *)instance { @synchronized(self) { if (gInstance == NULL) gInstance = [[self alloc] init]; } return(gInstance); } What could I be doing to improve this?",
"\"the police conspiracy\" vs. \"the police's conspiracy\"",
"Set of branch points isn't discrete, but branch points are isolated? I refer to , which I understand says that the branch points of a nonconstant holomorphic map $F: X \\to Y$ between Riemann surfaces $X$ and $Y$, both of which are not necessarily compact, form a discrete subset of range $Y$ of the map $F$. (Not sure if 'connected' is part of the definition of Riemann surfaces in other textbooks, but it is here.) Question 1: Do I understand correctly, and is this indeed true? What else I understand: $A$ is a discrete subspace/subset (I just assume everything here is the usual subspace topology) of $B$ if and only if every singleton subset of $A$ is open in $A$ if and only if every point of $A$ is isolated. This overflow question () seems to suggest this is not true but is true if $F$ is proper. However, I'm not sure the definitions of Riemann surface are the same (maybe some answers use definitions where Riemann surfaces are not necessarily connected or something). 2.1. I know $F$ is 'discrete' (meaning that its fibres are discrete; here, i refer to a ): see definition before Lemma 3.1, on p. 7), by Proposition II.3.12, and open, by open mapping theorem, which is Proposition II.3.8, but I'm not sure these help show $F$ is proper or are otherwise helpful. Ostensibly 'discrete' maps don't map discrete subsets to discrete subsets. This stackexchange question () seems to suggest this is true. I think this is true if $F$ is injective or at least something like locally injective. (Please don't make me type up all the stuff I did for this part.) However based on the question in (3) and based on the , which I think uses the term 'branch points' to mean the same thing as what Miranda means by 'ramification points' (and thus is different from Miranda's 'branch points'), it seems that no neighbourhood $U$ of a ramification point $p \\in U \\subseteq X$ of $F$ is such that the restriction $F|_U$ is injective. Kinda related: This page () says Now, the ramification and branch points must form a discrete set I don't think the page assumes anything like $F$ is proper. The text in (2.1) actually seems to assume proper based on the '3.7. Proper holomorphic maps' part, but said part refers to 'Lemma 3.17', so I think proper can be replaced with closed. Maybe $F$ is closed or something. Kinda related (see Question 2 below): says If $F$ is proper then the image $\\Delta = F(R)$ is discrete in $Y$. This seems to have all the same assumptions as with Miranda. Ostensibly, either Miranda is wrong or there's some higher level machinery that allows us to omit $F$ proper. Question 2: To possibly generalise this, what are the minimum requirements on $F, X$ and $Y$ to make $F$ map discrete subsets to discrete subsets? I mean, I'm not sure we really need 'holomorphic' here. I have a feeling this applies perhaps to maps that are just open/closed, continuous and discrete and spaces that are just Hausdorff and locally compact or something. (again) Kinda related:",
"Is there a standard pronunciation for gender-neutral -@ or -x More and more I see, especially in activist communities, Spanish-derived words ending in x or @ in order to neuter the gendering inherent in the original language. For example: latinx (or latin@) as opposed to latina and latino. How, though, are these endings pronounced? Please provide evidence of how this orthography is most commonly pronounced. Note 1: I recognize this is in an English Language site, rather than a Spanish language site, but this phenomenon is very much happening in English, albeit with Spanish loan words. Therefore the question is relevant to non-Spanish-speaking English speakers. Note 2: A question like this can lead to politically charged or, at least, sarcastic comments. Please refrain from bringing in your biases for or against. Note 3: This question is not seeking opinions as to how some people pronounce the suffixes. Answers should address evidence of a developing orthodoxy in pronunciation.",
"Proof Verification: Converse of Intermediate Value Theorem A function $f$ is increasing on $A$ if $f(x)\\leq f(y)$ for all $x<y$ in $A$. Show that the Intermediate Value Theorem does have a converse if we assume $f$ is increasing on $[a,b]$. The converse of IVT along with the additional hypothesis would look like this: Lef $f:[a,b] \\rightarrow \\mathbb{R}$ be an increasing function on $[a,b]$ which satisfies: if $L$ is a real number such that $f(a)<L<f(b)$ (or $f(a)>L>f(b)$), then there exists a point $c\\in (a,b)$ where $f(c)=L.$ If the preceding conditions are met, then $f$ is continuous on $[a,b]$. The proof (if it's correct) I'm going to show is only for the $c \\in (a,b)$, but I think for end points ($a$ or $b$), the method should be similar. We want to show that given $c \\in (a,b)$, for all $\\epsilon>0$, there exists a $\\delta>0$ such that $|x-c|<\\delta \\implies |f(x)-f(c)|<\\epsilon$. Since $f$ is increasing, we know that $f(a)\\leq f(c)$. If $f(c)-\\epsilon<f(a)$, then set $x_1=a$, if $f(c)-\\epsilon\\geq f(a)$, then we know by hypothesis that a $x_1<c$ exists such that $f(x_1)=f(c)-\\epsilon.$ In either case, we have for $x \\in (x_1,c]$ $$ f(c)-\\epsilon \\leq f(x_1) \\leq f(x) \\leq f(c) .$$ In a similar way, since we know that $f(c)\\leq f(b)$, we can deduce that a $x_2>c$ exists such that, for $x \\in [c,x_2)$ $$f(c)\\leq f(x)\\leq f(x_2)\\leq f(c)+\\epsilon .$$ Pick $\\delta = \\min \\{c-x_1,x_2-c \\}$, we then have $$|x-c|<\\delta \\implies |f(x)-f(c)|<\\epsilon .$$ Is this correct? In the proof that I saw, they originally used $\\frac{\\epsilon}{2}$, instead of just $\\epsilon$, but I think this one works just as well, what do you guys think?",
"Antecedent Precedence?",
"We were trying to come up with an easy way to generate a rational number in between two existing rational numbers with a fairly low numerator and denominator (the way we were doing this earlier was to find the average of the two rationals, but that results in a denominator of up to $c * d$. Does this inequality hold for all values of $a, b, c, d$?",
"Why did Voldemort take the wand of one of his most loyal servants? In Harry Potter and the Deathly Hallows, chapter one The Dark Lord Ascending, Voldemort believes he must use a wand other than his own in order to kill Harry, when Harry is moved from Privet Drive. He demands Lucius Malfoy's wand, and gets it. My question is, why did Voldemort take the wand of one of his most loyal servants, rendering Lucius Malfoy useless if a battle was to occur? If I remember correctly, he had Ollivander at his disposal, and he was the one who told him to use another wand in first place. Why not ask Ollivander to create another wand, or just use ones that he had ready to sell in his shop at Diagon Alley? He could even have taken Ollivander's own wand. If my memories are correct, a wand's importance was compared to that of a limb.",
"MediaElement not playing audio from stream WP7",
"Show that $\\lim\\limits_{y\\downarrow 0} y\\mathbb{E}[\\frac{1}{X};X>y]=0$. Let $(\\Omega,\\mathcal{F},\\mathbb{P})$ be a probability space, and let $X$ be a nonnegative random defined on this space. For any $A\\in \\mathcal{F}$, let $\\mathbb{E}[X;A]:=\\mathbb{E}[X\\mathbb{1}_{A}]$, where $\\mathbb{1}_{A}$ denotes the indicator random variable on $A$. Without assuming $\\mathbb{E}\\left[\\frac{1}{X}\\right]<\\infty$, show that \\begin{eqnarray} \\lim\\limits_{y\\downarrow 0} ~~y~\\mathbb{E}\\left[\\frac{1}{X};X>y\\right]=0. \\end{eqnarray} Any initial ideas will be greatly appreciated.",
"How do I take a screenshot on my Mac? What's the easiest way to take a screenshot of my Mac? I've used Grab.app, but it's a bit annoying just to get a quick screenshot. Is there a faster way?",
"Default currency symbol I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be <apex:inputField> or <apex:outputField>) preferably query-able from apex (via the database, a describe or whatever) and then again the actual symbol, meaning € for Euro, $ for dollar, and so on... There must surely be some sort of mapping hidden in the code somewhere salesforce does this via the input/outputfields if bound to an sobject of type currency Can anyone point me in the right direction?",
"InputStream returning NullPointerException (Java)",
"Why are my render times 30+ minutes, but other people's are ~3 minutes? I am currently using Sheep It! to render my blend (built on v2.68c) on multiple computers, and I noticed something rather strange. According to the log on-site, the frames rendered from other people's blends were completing in 3 to 4 minutes. This was on an 4 core i5. My main rig (with an 8 core i7) was completing frames in no less than half an hour. How is this possible? To clarify, these people's frames are very complex, often with very detailed textures. I have 2 objects in my blend. Below are the options I changed for my blend: Aspect Ratio: 1000px x 1000px Output: PNG Clamp Indirect: 0.98 Render Sampling: 128 Min Light Bounces: 0 Max Light Bounces: 4 Cycles Render Is there something in there that I should change to make it go faster? I can't really comprehend how it's going to quickly. EDIT: To answer what @Duarte asked... System Specs: i7-920, 3GB DDR3, GT 630, Windows 10 I have two circles, extended to form a sort of coin with a star on it. It is not complex at all. I have Firefox and Steam running in the background, but not actively. I've been away from the computer for 8 hours and noticed this behavior. (I am running Blender from Steam.) I made sure when I began rendering that the blend was set for CPU rendering. And to answer what @pycoder asked, yes, I am using Cycles Render.",
"Thermodynamics of supercooled water"
] |
medi_sts_stackexchange_dupe
|
What's snap folder in Ubuntu home? Is it apps themselves of only versions info?
|
What's the difference between the snap folder in /home/UserName and the snap folder in root (/)?
|
[
"Number of possible combinations of x numbers that sum to y I want to find out the number of possible combinations of $x$ numbers that sum to $y$. For example, I want to calculate all combination of 5 numbers, which their sum equals to 10. An asymptotic approixmation is also useful. This question seems to be very close to number partitioning, with the difference that a number can be 0. See: All possible partitions for sum 10 and 3 positions that can be zero, are 63 possiblities: (numbers shown as 3 digits) 019 028 037 046 055 064 073 082 091 109 118 127 136 145 154 163 172 181 190 208 217 226 235 244 253 262 271 280 307 316 325 334 343 352 361 370 406 415 424 433 442 451 460 505 514 523 532 541 550 604 613 622 631 640 703 712 721 730 802 811 820 901 910",
"Only generation-I Pokemon are available, however it seems that the types which did not exist in Gen-I do exist in Pokemon Go (e.g. Dark type moves). So I'm wondering which type chart the game is using for move effectiveness. According to Bulbapedia, in Gen I Bug attacks were super-effective against Poison, but in Gen II-V Bug attacks are not very effective against Poison. What is it in Pokemon Go? Similarly, in Gen II-V Ghost attacks are not very effective against Steel, but in Gen VI Ghost attacks are normal effective against Steel. Does anyone have a Magnemite, is it Steel type? Does it resist Ghost? Does STAB exist in this game?",
"Is it positive or negative for the average website to allow search engines to index user comments? I've been trying to answer this question myself by researching and searching on google but I haven't been able to come with a final answer. I have some hypothesis I would like share anyway: The average website intends to reach the higher audience possible. User generated content by comments is an efficient way of increasing the relevance and the valuable information of the average website. Indexing comments will make any site attractive to spammers. Indexing comments is more convenient for new/low-traffic websites than it is for old/high-traffic websites. The web in general is currently choosing not to index comments in the average website because of fear to the SPAMMERS. The average author of a content-valuable comment would like his comment to be indexed Not indexing comments discourages the creation of content-valuable comments. So, what do you think finally? Is it positive or negative for the average website to allow search engines to index user comments? Why?",
"iPhone 6s with iOS 12.4 not connecting to MacBook Pro mid2015 with macOS 10.14.6",
"$(\\Bbb R,+)$ is a topological group. Is there any other group structure on $\\Bbb R$ such that it is still a topological group and this group is not isomorphic to $(\\Bbb R,+)$ ? Refer to for the general problem. In that problem I have conjectured that there is no such group however I couldn't prove it.",
"I am trying to make folder that everyone can view and can't copy,modify. For all answers.I thinking about specially ms office files. I tried following methods Software - copy protect - anti copy This method can't protect save as and upload MS office macro Users can enable,disable macros. MS office restriction This is best choice but can't protect from file uploading. Almost I found the solution. Way is combination of MS office restriction and restrict access from browsers using firewall or antivirus. But I don't exact how to do this.",
"Explaining to an 8-year-old why nothing can travel faster than light",
"I would like to show that $a^n \\mid b^n$ implies $a \\mid b$ I thought I could convert it to congruences and work backwards, but as far as I remember, $a \\equiv b \\pmod{m}$ implies $a^n \\equiv b^n \\pmod{m}$, not the opposite, unless $m$ is prime. Is that right? So I am not sure how to approach this one. Any ideas? Thanks!",
"What good CAD programs are available?",
"I am working on refactoring some old code and have found few structs containing zero length arrays (below). Warnings depressed by pragma, of course, but I've failed to create by \"new\" structures containing such structures (error 2233). Array 'byData' used as pointer, but why not to use pointer instead? or array of length 1? And of course, no comments were added to make me enjoy the process... Any causes to use such thing? Any advice in refactoring those? struct someData { int nData; BYTE byData[0]; } NB It's C++, Windows XP, VS 2003",
"I own a Windows 10 K or N Edition which doesn't include the media player package. My problem is: I want to have preview thumbnails in the explorer for my MP3s and videos. I had the issue before when I updated to Win10 but there saved me. Since the Anniversary update they are gone again. Now I can install the old update but I still don't get the media player nor the preview images. I tried most of the things Microsoft offers me but they are either not installable or don't work. Any ideas what might be the correct update package? Thx! Ron",
"Add sort by relevance to search jobs In Careers 2.0, individuals can choose \"search jobs\" and sort by date posted, job title, and company name. However, Careers 2.0 already knows what tags I'm proficient in, and knows the tags associated with the job postings. A sort option, relevance, should be added so that jobs matching my skill set, as demonstrated on stack exchange, will float to the top.",
"How do tag merge requests work? I had raised a to merge pre-build-event, and pre-buildevent; and postbuild-event and post-build-event. That was about 11 months ago, and I still see these two tags even now. How are tag merge requests handled? Is there a better way for tag merge requests other than posting on Meta?",
"Attempting to compile kernel yields a certification error I'm currently attempting to follow guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian. Every time I attempt to compile the kernel, however, I get this error following the line \"CC certs/system_keyring.o\": CC certs/system_keyring.o make[2]: *** No rule to make target 'debian/certs/[email protected]', needed by 'certs/x509_certificate_list'. Stop. Makefile:951: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2 I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). Can someone out there tell me how to fix my OS and compile my kernel? P.S. Here is the output of cat /proc/version: Linux version 4.6.0-kali1-amd64 ([email protected]) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)",
"Determinant of a special $n\\times n$ matrix",
"How to easily build your own Linux Distro? I wanted to have a go at creating my very own Linux Distribution. Could you suggest some nice and easy-to-follow tutorials (preferably text based and not videos). I have heard something about Arch Linux but I don't know how to go from there. What do I need?",
"How to prove that $\\lim\\limits_{h \\to 0} \\frac{a^h - 1}{h} = \\ln a$ In order to find the derivative of a exponential function, on its general form $a^x$ by the definition, I used limits. $\\begin{align*} \\frac{d}{dx} a^x & = \\lim_{h \\to 0} \\left [ \\frac{a^{x+h}-a^x}{h} \\right ]\\\\ \\\\ & =\\lim_{h \\to 0} \\left [ \\frac{a^x \\cdot a^h-a^x}{h} \\right ] \\\\ \\\\ &=\\lim_{h \\to 0} \\left [ \\frac{a^x \\cdot (a^h-1)}{h} \\right ] \\\\ \\\\ &=a^x \\cdot \\lim_{h \\to 0} \\left [\\frac {a^h-1}{h} \\right ] \\end{align*}$ I know that this last limit is equal to $\\ln(a)$ but how can I prove it by using basic Algebra and Exponential and Logarithms properties? Thanks",
"Should I normalize word2vec's word vectors before using them? After training word vectors with word2vec, is it better to normalize them before using them for some downstream applications? I.e what are the pros/cons of normalizing them?",
"Is there any hint that some of the beings in Tolkien's lore may have survived into \"our\" times? In Tolkien's lore, they are many very old beings. Is there any indication that some or even one would have been truly immortal and survived into what we would call \"our\" history or Age? Galadriel, Cirdan, Ingwe, Bombadil, Ungoliant, or any Maia or Ainur? Anyone or anything? Seems there must be some kind of carry-over seeing as how \"man\" existed in this time.",
"List of tables, db schema, dump etc using the Python sqlite3 API"
] |
medi_sts_stackexchange_dupe
|
Android: progress dialog error java.lang.NullPointerException
|
What is a NullPointerException, and how do I fix it?
|
[
"Why is there a file called [ in my /usr/bin directory? Recently back to Linux from another operating system I noticed a file called [ which seems strange to me. What is it for? $ ls -l /usr/bin | head -2 -rwxr-xr-x 1 root root 39552 Nov 3 14:44 [ I'm using Ubuntu 15.04",
"Rstudio is duplicating commands in the command line",
"How to check the maximum number of allowed connections to an Oracle database?",
"Which damage dice exactly does the Great Weapon Fighting fighting style allow you to reroll?",
"I would like to increase the size of pretty much every headlines, so that it is more prominent than the normal text. I read about the package, but can't seem to find good example how to use the package. Using Gonzalo Medina does in fact change the font size, however, it changes the default font as well. Before: After:",
"Linear vs nonlinear differential equation How to distinguish linear differential equations from nonlinear ones? I know, that e.g.: $$ y''-2y = \\ln(x) $$ is linear, but $$ 3+ yy'= x - y $$ is nonlinear. Why?",
"find all the members of A4/K Let K={(1),(12)(34),(13)(24),(14)(23)} show that K is a normal subgroup of the alternating group of degree A4 and find all the members of A4/K and write down the group table for A4/K. i know that K is the Klein four group and i have already proven it is a normal subgroup but i need a start on approaching the A4/K part of this question no direct answers are necessary,just ideas thank you! :)",
"Prove by induction that for all $n \\geq 3$: $n^{n+1} > (n+1)^n$",
"Waiting for user input with a timeout I have searched but apparently my google foo is weak. What I need is a way to prompt for user input in the console and have the request time out after a period of time and continue executing the script if no input comes in. As near as I can tell, Read-Host does not provide this functionality. Neither does $host.UI.PromptForChoice() nor does $host.UI.RawUI.ReadKey(). Thanks in advance for any pointers. EDIT: Much thanks to Lars Truijens for finding the answer. I have taken the code that he pointed out and encapsulated it into a function. Note that the way that I have implemented it means there could be up to one second of delay between when the user hits a key and when script execution continues. function Pause-Host { param( $Delay = 1 ) $counter = 0; While(!$host.UI.RawUI.KeyAvailable -and ($counter++ -lt $Delay)) { [Threading.Thread]::Sleep(1000) } }",
"How do I compare 2 rows from the same table (SQL Server)? I need to create a background job that processes a table looking for rows matching on a particular id with different statuses. It will store the row data in a string to compare the data against a row with a matching id. I know the syntax to get the row data, but I have never tried comparing 2 rows from the same table before. How is it done? Would I need to use variables to store the data from each? Or some other way? (Using SQL Server 2008)",
"What should I do, as my submitted paper is still under review after 1 year?",
"Expected value of a non-negative random variable",
"Newcommand + Stepcounter I'm trying to come up with a command which should increase a counter and return a string including the current value of the counter. Have a look at the following minimal example: \\documentclass{article} \\newcounter{mycounter} \\newcommand{\\mystepFAILS}{\\stepcounter{mycounter}foo\\themycounter} \\newcommand{\\mystepWORKS}{foo\\themycounter} \\begin{document} \\section{\\mystepFAILS} \\section{\\mystepWORKS} \\end{document} Why does the command with \\mystepFAILS throw an error? What is so special about \\stepcounter? Any ideas?",
"Updating a field programmatically, hook_node_update",
"Why are there no discrete zero sets of a polynomial in two complex variables? Why is the zero set in $\\mathbb{C}\\times\\mathbb{C}$ of a polynomial $f(x,y)$ in two complex variables always non-discrete (no zero of $f$ is isolated)?",
"Range of A and null space of the transpose of A So I'm complete stuck with something. I know it the following statements are true (or at least the seem to be from the results that I got from messing around with it a bit on MATLAB), but I don't understand why they are true or how to show so. Let $A$ be and $m$X$n$ matrix. Show that: a) if $x \\in N(A^TA)$ then $Ax$ is in both $R(A)$ and $N(A^T)$. For this one I messed around with it with my own examples and I got $Ax=0$, therefore satisfing the statement, but I don't understand what's actually going on. b) $N(A^TA)=N(A)$ again, makes sense when I see the results in MATLAB, but don't undestand why it works. c) $A$ and $A^TA$ have the same rank d) If $A$ has linearly independent columns, the $A^TA$ is nonsingular. For the last two I have no idea on how to even start showing the relationship. I feel like I'm missing some crucial relationship between $A$ and $A^TA$, but I'm just not seeing it. I would greatly appreciate any help of sugestions on how to show that these statements are true. Thank you very much.",
"On my fully updated Ubuntu 18.04.3 system, audio doesn't work unless I switch between outputs. When I boot my PC, the right output (stereo speakers) is already selected by default, but there is no audio from Chromium, Firefox, VLC or any other program. However, the GNOME speakers test works. I can hear \"front left\" and \"front right\" from there, but no audio from other programs. In order to fix that, I can simply switch to another audio output (e.g. HDMI out) and then switch back to the stereo speakers, and the audio will magically work. Any idea why? It's not a big deal because it takes a couple of seconds to switch between outputs, but it's kind of annoying to do that after every reboot.",
"What licence is subscriber content provided under 4.0, 3.0 or them all? In the footer it says: site design / logo © 2018 Stack Exchange Inc; user contributions licensed under with . rev 2018.8.7.31273 However, in the footer under Company > Legal > '6. Content Permissions, Restrictions, and Creative Commons Licensing' it instead doesn't specify which CC BY-SA licence we're releasing our content under. It also links to the CC BY-SA 4.0 license: The CC-BY-SA Creative Commons license terms are explained in further detail by , but you should be aware that all Public Content you contribute is available for public copy and redistribution, and all such Public Content must have appropriate attribution. Since if subscriber content is only provided under 4.0, where the footer says 3.0 it can cause users to break the licences. The footer under Area 51 also mentions that content is licensed under CC BY-SA 2.5. Since it's not defined which version of the license the content is provided under, I also interpret it to potentially mean all the versions. What license is subscriber content licensed under?",
"Alternative to itoa() for converting integer to string C++? I was wondering if there was an alternative to itoa() for converting an integer to a string because when I run it in visual Studio I get warnings, and when I try to build my program under Linux, I get a compilation error.",
"How do I build a SOQL query for records in a list of IDs? Can some one correct my soql? I need to export records in data loader like: WHERE Id IN ('123123123','123123fsdf') But this following query does not work for me: SELECT Id, Syndication_Documents__c FROM ContentVersion WHERE Syndication_Documents__c in : 'a4fa0000000KzbV','a4fa0000000KzbW'"
] |
medi_sts_stackexchange_dupe
|
How can I export a flowchart as an image on ShareLatex?
|
Export tikz as image file
|
[
"SSH: How to disable weak ciphers?",
"For which real values of t does the following system of linear equations: $$ \\left\\{ \\begin{array}{c} tx_1 + x_2 + x_3 = 1 \\\\ x_1 + tx_2 + x_3 = 1 \\\\ x_1 + x_2 + tx_3 = 1 \\end{array} \\right. $$ Have: a) a unique solution? b) infinitely many solutions? c) no solutions? I haven't done linear algebra in almost a year, so I'm really rusty and could use some pushes in the right direction.",
"This is in very common use on the internet. I just read this: \"[The] hotel employee walks in, I say \"uh, puppy\" and she just NOPEd the [heck] out of the room.\" This is often done by adding 'd to the word.",
"Compress a folder with tar? I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date. This is what I have: cd /var/www && sudo tar -czf ~/www_backups $time\" I am completely lost and I've been at this for hours now. Not sure if -czf is correct. I simply want to copy all of the content in /var/www into a $time.tar file, and I want to maintain the file permissions for all of the files. Can anyone help me out?",
"Intraclass correlation coefficient vs. F-test (one-way ANOVA)? I'm a little confused regarding the intraclass correlation coefficient and one-way ANOVA. As I understand it, both tell you how similar observations within a group are, relative to observations in other groups. Could someone explain this a little better, and perhaps explain the situation(s) in which each method is more advantageous?",
"How is the classical twin paradox resolved? I read a lot about the classical twin paradox recently. What confuses me is that some authors claim that it can be resolved within , others say that you need . Now, what is true (and why)?",
"Improve alignment of \"Learn more\" button in \"Newest badge\" popup The popup when you click on your newest badge in your user profile has a "Learn more" button, but its alignment is suboptimal; it's too close to the top of its container: It looks better with a 4px top margin:",
"Here is the dictionary I have propertyList = { \"id\": \"int\", \"name\": \"char(40)\", \"team\": \"int\", \"realOwner\": \"int\", \"x\": \"int\", \"y\": \"int\", \"description\": \"char(255)\", \"port\": \"bool\", \"secret\": \"bool\", \"dead\": \"bool\", \"nomadic\": \"bool\", \"population\": \"int\", \"slaves\": \"int\", } But when I print it out with \"\\n\".join(myDict) I get this name nomadic dead port realOwner secret slaves team y x population id description I know that a dictionary is unordered but it comes out the same every time and I've no idea why.",
"Group of $r$ people at least three people have the same birthday? What is the probability that in a randomly chosen group of $r$ people at least three people have the same birthday? $\\displaystyle 1- \\frac{365\\cdot364 \\cdots(365-r+1)}{365^r}$ $\\displaystyle \\frac{365\\cdot364 \\cdots(365-r+1)}{365^r} +{r\\choose 2}\\cdot \\frac{365\\cdot364\\cdot363 \\cdots (364-(r-2) +1)}{364^{r-2}}$ $\\displaystyle 1- \\frac{365\\cdot364 \\cdots(365-r+1)}{365^r} +{r\\choose 2}\\cdot \\frac{365\\cdot364\\cdot363 \\cdots (364-(r-2) +1)}{364^{r-2}}$ $\\displaystyle\\frac{365\\cdot364 \\cdots(365-r+1)}{365^r} $ My attempt : (May be typo in option $(3)$ of question !) $$P(\\text{at least 3 persons have same birthday})$$ $$= 1 - \\{P\\text{(no one has same birthday) + P(any 2 have same birthday)\\}}$$ So, option $(3)$ is true. Can you explain it, please? It before, but I'm not satisfied by explanation.",
"find . -name *.rb doesn't work on my ubuntu I have to do find . -name \"*.rb\" to get it to work. Why is that?",
"I haven't had the chance to take any serious low-level programming courses in school. (I know I really should get going on learning the \"behind-the-scenes\" to be a better programmer.) I appreciate the conveniences of Java, including the ability to stick anything into a System.out.print statement. However, is there any reason why you would want to use System.out.printf instead? Also, should I avoid print calls like this in \"real applications\"? It's probably better to to print messages to the client's display using some kind of UI function, right?",
"Text not very readable on different image backgrounds",
"Missing Schengen entrance stamp Last night I took a night train from Romania to Hungary. I shared a compartment with another American backpacker (and others.) The border crossing on the Romanian side was normal -- all of our passports were stamped and the border officer recorded our data in his notepad. On the Hungarian side, some sort of commotion broke out further down the train car while we were being processed. The officer who was scanning and stamping our passports left and never came back. As a result, the other American backpacker never had her passport scanned or stamped. What sort of difficulties might she run into since her passport has not been recorded as entering the schengen zone, nor does she have an extra stamp? What might get options be now, from within Schengen, to get her entrance recorded? (When I say \"scanned\", the officers had hand-held devices that read the passport biometrics and I assume, recorded some sort of data somewhere.)",
"I've been reading up on STL containers in my book on C++, specifically the section on the STL and its containers. Now I do understand each and every one of them have their own specific properties, and I'm close to memorizing all of them... But what I do not yet grasp is in which scenario each of them is used. What is the explanation? Example code is much prefered.",
"Splitting ethernet cable I have one ethernet cable that runs into my TV cabinet. It comes from a router in my closet. The router splits the main feed into the home into six runs that run through out the house. I now have several components in my TV cabinet that work best if they are connected to a hard line and not WiFi. Can I split the one cable in my TV cabinet into three or four lines to run to these other components, i.e.: playstation, Receiver,TV antenna box etc. If so, what items do I need to purchase? Thanks for your help.",
"I installed Oneiric as a guest OS in VirtualBox using the Mini CD. I installed the ubuntu-desktop package and everything seems to work fine - well, except for a font issue with the terminal: As you can see, some of the letters overlap and it's difficult to read. I checked the settings and it the checkbox \"Use the system fixed width font\" is checked with \"Monospace | 12\" selected underneath it. Edit: running the commands mentioned in the comments: $ fc-match \"Monospace\" DejaVuSansMono.ttf: \"DejaVu Sans Mono\" \"Book\" $ gconftool --get /desktop/gnome/interface/monospace_font_name Monospace 10 $ debsums ttf-dejavu-core /usr/share/doc/ttf-dejavu-core/AUTHORS OK /usr/share/doc/ttf-dejavu-core/BUGS OK /usr/share/doc/ttf-dejavu-core/NEWS.gz OK /usr/share/doc/ttf-dejavu-core/README OK /usr/share/doc/ttf-dejavu-core/changelog.Debian.gz OK /usr/share/doc/ttf-dejavu-core/copyright OK /usr/share/doc/ttf-dejavu-core/langcover.txt.gz OK /usr/share/doc/ttf-dejavu-core/status.txt.gz OK /usr/share/doc/ttf-dejavu-core/unicover.txt.gz OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf OK /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf OK",
"Variable with colon dash ${VAR:-}",
"What to put in \"affiliation\" field when submitting paper without affiliation? Recently my paper is reviewed (by a professor from independent third party) and accepted by a journal. But, my employer allows me to publish this paper only without its name there. Publishing house is expecting affiliation for each author, i.e. I can not leave affiliation as blank. What should I write as the affiliation?",
"why __getitem__ cannot be classmethod?",
"Play Framework (2.1.3) doesn't run any tests"
] |
medi_sts_stackexchange_dupe
|
Android Studio - add and reference the Google Play services library without Gradle
|
Importing google-play-services lib into Intellij IDEA 12 (and 13)
|
[
"Why is the net speed of Stack Overflow so fast? This question is about the net speed. I'm from China, and I find that opening pages on Stack Overflow is very fast, normally within a range of 1 to 4 seconds. This speed is very good for a website outside China; it's even faster than some native websites. Not every website outside China has such good speed, so I am wondering why and how Stack Overflow manages to be so quick.",
"I was reading a book and this sentence seemed a little odd to me: At approximately 19.45 hours the two men rose, stretched and yawned. They picked up their gear and stood at the door, ... What does the first part mean? If it's the exact time, shouldn't it be 19:45? And if it's duration, shouldn't it be \"After 19.45 hours\"? (The story here happens at an airbase, if it's of any relevance) Edit: The book I've quoted is this: by John Creed. The author is Irish and the text is set in northern England/Ireland.",
"How to compare two different files line by line in unix? File1: 123 234 345 456 File2: 123 234 343 758 Expected output: File3: TRUE TRUE FALSE FALSE so the code should compare two files and print 'TRUE' if it matches otherwise it should print 'FALSE' in the new file. Could anyone please provide the solution for this?",
"I know that I can use to make cross-references and hyperlinks clickable. That makes the clickable areas outlined in fluorescent green, however. How can I make the green boxes go away?",
"How to retrieve GET parameters from JavaScript",
"Finding the Transform matrix from 4 projected points (with Javascript)",
"How can I write % into a file? How can I write % into an auxiliary file? % will not work, because LaTeX thinks that I start a comment with it (in the main file, not in the auxiliary file!), and \\% will write \\% into the file. How can it be accomplished? \\documentclass{article} \\begin{document} \\newwrite\\outfile \\immediate\\openout\\outfile=example.dat \\immediate\\write\\outfile{%}% will not work, of course, but neither \\% \\immediate\\closeout\\outfile \\end{document}",
"Obviously, most beers are carbonated with carbon dioxide, while some stouts/porters are \"carbonated\" with nitrogen. I was curious if there has been any notable experimentation with other gasses to \"carbonate\" beer. If nitrogen can introduce a \"creamy\" texture to a beer, I would think that other gasses would also be able to introduce their own characteristics on beer. If any of these experiments have done, what characteristics do these other gases impart? I'm sure cost would be an issue for certain gasses that would prohibit its use in beer, but for purposes of this question, cost is irrelevant. As an aside, what is the correct term to use, as opposed to \"carbonate\", for a question of this nature?",
"Why do I get \"Required key not available\" when install 3rd party kernel modules or after a kernel upgrade?",
"Why doesn't backpropagation work when you initialize all the weight the same value (say 0.5), but works fine when given random numbers? Shouldn't the algorithm calculate the error and work from there, despite the fact that the weights are initially the same?",
"How do I install OpenOffice instead of LibreOffice?",
"Javascript add js libraries by code",
"The blackboard bold font in the AMSFonts package only has capital letters. I sometimes wish to use a blackboard bold \"1\", for which I can use \\usepackage{bbold}. But this changes the entire blackboard bold font, and I like the original AMSFonts versions of the capital letters better. Is there a simple way for me to get \\mathbb{1} from one package and the blackboard bold capitals from another?",
"How do you end with a single quote followed by a double quote? I have a paragraph as follows: ``This is a quote. `Here is a quote within a quote.''' But the formatting works out to be a double quote (\") followed by a single quote (') instead of the other way around. How can I solve this problem?",
"Universe being flat and why we can't see or access the space \"behind\" our universe plane? I'm a layman, but i watched some intereting videos about big bang on youtube[michio kaku, hawking this kind of things, not some crackpots :)] I described everything on my picture: So is there any possibility to see that inner side, for example, by creating wormhole, or entering new dimension? Or i get something wrong, on the way, and my model is totally wrong? And another question. I heard that even if you would fly a ship across the universe you would eventually end in the place where you started, because we live in a 3d space that is defined on a surface of big sphere. But why a big sphere? Universe might be a big mobius strip, and the same principle of ending at start will apply. Is it possible? Thanks in advance, and please don't bash me for silly questions. Im just curious, but i don't have any degree in physics. Im also not an english native speaker.",
"A function for which one-sided limits are zero and infinity",
"Is there a word for four times as much, analogous to once, twice, and thrice? Is there a word for 'four times as much', analogous to once, twice, and thrice?",
"Is there a way to force a line break inside a math mode text? My example: \\[ \\underbrace{....}_\\text{Some long text that should be multiline} \\] Trying \\text{Some long text that\\\\ should be multiline} Didn't do the trick.",
"Prove if $\\operatorname{ord}(a)=m$, $\\operatorname{ord}(b)=n$, and $\\operatorname{gcd}(m,n)=1$, then $\\operatorname{ord}(ab)=mn$. I was reading this and was thinking how this proof would look like. I tried to do it and am not sure if this is correct. Here is what I did: If $a$ and $b$ commute then $(ab)^{mn} = a^{mn} * b^{mn} = (a^m)^n * (b^n)^m = 1 * 1 = 1.$ So $ord(ab) | mn$. Now, take $k = \\operatorname{ord}(ab) = m^\\prime * n^\\prime$ where m' is relatively prime with $n$ and $n'$ is relatively prime with $m$. By the result above $m' | m$ and $n' | n$. Now we have $((ab)^k)^{m/m'} = 1$ since $(ab)^k=1$. But on the other hand, by the commutativity: $$((ab)^k)^(m/m') =$$ $$((ab)^(m' * n'))^(m/m') =$$ $$ a^{n'm} * b^{n'm} = $$ $$(a^m)^{n'} * b^{n'm'}=$$ $$b^{n'm'} = 1$$ This implies that $n' * m'$ is divisible by $n$. But $m'$ is relatively prime with $n$, so we must have $n' = n.$ By symmetry, $m' = m$. So $ord(ab) = mn$. Just to say this again, I want to prove if $a$ and $b$ commute and $m$ and $n$ are relatively prime then $$ord(ab)=mn.$$ The comments are vague. I guess this must be the answer then and there probably is not another way to do this.",
"Reference to a figure uses the section's number"
] |
medi_sts_stackexchange_dupe
|
Is there a way to derive the second linearly independent solution to ODE whose characteristic quadratic has double roots?
|
Where does $xe^x$ solution come from when the characteristic polynomial is square?
|
[
"Kinetic energy is simple, right?! from the equation it seems as though if you know the speed and mass you'll know the work. Let's try to prove it. let's assume we know the acceleration and distance for now. $$w=mda$$ So the distance is $$d= 1/2 *at^2$$ Then $$t = \\sqrt{2d/a}$$ So $a*t$, which is the speed, is $$a*\\sqrt{2d/a} = a* \\sqrt{2d}/\\sqrt{a} = \\sqrt{2da} = \\sqrt{2w/m}$$ So regardless of the distance or acceleration, if you know the work and the mass, you can calculate the speed which is $$v=\\sqrt{2w/m}$$ What if you know the speed and the mass? You can easily calculate the work. $$v = \\sqrt{2w/m}$$ Then $$v^2 = 2w/m$$ That would mean $$m*1/2*v^2=W $$ Rearrange it and $$W= 1/2 *m *v^2$$ would be the equation. What if you have an initial speed and a new speed and want calculate the amount of work done after an initial speed to get the new speed? You'll just subtract the total work from the initial speeds work. $$1/2mv^2 - 1/2ms^2$$ where s is the initial speed and v is the new speed. However if you do it the other way which is $$d= 1/2at^2 + vt$$ and solve it the answer would be $$1/2ms^2 + 1/2msv$$ Why aren't they equal?",
"What reputation do you need on Stack Overflow to receive an invite to Careers?",
"How to reduce vertical space in matrix? I want to reduce the size of the vertical space in matrix environment and have a result something like this But at present I manage something like below with the following code $\\begin{bmatrix} 00 & 08 & 10 & 18 & 20 & 28 & 30 & 38 \\\\ 01 & 09 & 11 & 19 & 21 & 29 & 31 & 39 \\\\ 02 & 0a & 12 & 1a & 22 & 2a & 32 & 3a \\\\ 03 & 0b & 13 & 1b & 23 & 2b & 33 & 3b \\\\ 04 & 0c & 14 & 1c & 24 & 2c & 34 & 3c \\\\ 05 & 0d & 15 & 1d & 25 & 2d & 35 & 3d \\\\ 06 & 0e & 16 & 1e & 26 & 2e & 36 & 3e \\\\ 07 & 0f & 17 & 1f & 27 & 2f & 37 & 3f \\end{bmatrix}$ I can change the font using \\mathsf{}, but other than that, how I reduce the vertical space between the rows? I did find things like to increase vertical space between rows in matrix, but not something that can decrease the space.",
"I recently got a Windows 10 laptop. Opposite to my Macbook, I must swipe right-to-left to go to the right virtual desktop. Is there a way to reverse this, so I swipe left-to-right to go to the right virtual desktop?",
"What does the \"Current event\" post notice mean? The recently introduced "Current event" feels incomplete: At the very least, it needs a period at the end to complete the sentence. Aside from that, what is a future visitor of a question supposed to take away from this notice? The "citation needed" text explains what expectations are placed on the question bearing the notice and invites action. Is the "current event" notice purely informational? What's the desired effect of adding it to a question? The current on-question notice is: This post relates to a rapidly changing event. In addition to answering those questions, I'm hoping we can work out a proposal for a wording change to make it more clear. I can't come up with anything to start with, since I don't quite get what the notice is supposed to achieve in the first place.",
"I have a table with a column for ID, Date and Frequency of occurrence for that particular date and ID. ID date Frequency 1 2014-05-18 5 1 2014-05-19 4 1 2014-05-20 25 2 2014-05-20 7 3 2014-05-18 4 3 2014-05-20 1 4 2014-05-18 6 I'm looking to insert the dates for each ID that aren't currently there (assuming that the date ranges from 2014-05-18 to 2014-05-20) and add a value of 0 in Frequency for those. For example, you can see that ID 1 has an observation for all three dates; ID 2 is missing 2014-05-18 and 2014-05-19; ID 3 is missing 2014-05-19; ID 4 is missing 2014-05-19 and 2014-05-20. Therefore, the output should look like this ID date Frequency 1 2014-05-18 5 1 2014-05-19 4 1 2014-05-20 25 2 2014-05-18 0 2 2014-05-19 0 2 2014-05-20 7 3 2014-05-18 4 3 2014-05-19 0 3 2014-05-20 1 4 2014-05-18 6 4 2014-05-19 0 4 2014-05-20 0 I've attempted the following from . However, that will only add dates with 0 Frequency that aren't present throughout the entire table instead of on an ID level. DECLARE @s DATE = '20140518', @e DATE = '20140520'; SELECT c.date, Frequency = COALESCE(a.Frequency,0) FROM dbo.Calendar AS c LEFT OUTER JOIN dbo.table AS a ON c.date = s.[date] WHERE c.d >= @s AND c.d < DATEADD(DAY, 1, @e);",
"What is the reason for the observation that across the board fields in physics are generally governed by second order (partial) differential equations? If someone on the street would flat out ask me that question, then I'd probably mumble something about physicists wanting to be able to use the Lagrangian approach. And to allow a positive rotation and translation invariant energy term, which allows for local propagation, you need something like $-\\phi\\Delta\\phi$. I assume the answer goes in this direction, but I can't really justify why more complex terms in the Lagrangian are not allowed or why higher orders are a physical problem. Even if these require more initial data, I don't see the a priori problem. Furthermore you could come up with quantities in the spirit of $F\\wedge F$ and $F \\wedge *F$ and okay yes... maybe any made up scalar just doesn't describe physics or misses valuable symmetries. On there other hand in the whole renormalization business, they seem to be allowed to use lots and lots of terms in their Lagrangians. And if I understand correctly, supersymmetry theory is basically a method of introducing new Lagrangian densities too. Do we know the limit for making up these objects? What is the fundamental justification for order two?",
"What did Dumbledore say his scar on his left knee was? In Philosopher's Stone, we hear Dumbledore replying to McGonagall's query as to whether he could do something about the scar baby Harry has on his forehead: “Even if I could, I wouldn’t. Scars can come in handy. I have one myself above my left knee that is a perfect map of the London Underground.\" - Chapter 1, The Boy Who Lived. Now, I have no idea what that last sentence means. It could be because English is not my native tongue. Is it some kind of a joke, or does it really mean something?",
"I want to initialize a struct element, split in declaration and initialization. This is what I have: typedef struct MY_TYPE { bool flag; short int value; double stuff; } MY_TYPE; void function(void) { MY_TYPE a; ... a = { true, 15, 0.123 } } Is this the way to declare and initialize a local variable of MY_TYPE in accordance with C programming language standards (C89, C90, C99, C11, etc.)? Or is there anything better or at least working? Update I ended up having a static initialization element where I set every subelement according to my needs.",
"Given a message and DES encrypted form of said message, is it possible to efficiently compute the key used to encrypt the data?",
"Unsealed meat in freezer Below is my situation: Is completely (vacuum) sealing leftover meat in the freezer absolutely necessary? I would always just use a plastic bag to cover the meat and fold it around couple of times so it's almost as good as sealed (usually grocery plastic bag is much bigger than the piece of meat) and have never had a problem with it last a decade or so I have been cooking. But recently I got this new roommate who insists on me using special small plastic bags with sealers to use and he is being very paranoid, obsessive about it. So my question is: Is he right?",
"compare two columns of different files and print if it matches I am using Solaris 10 and so grep options involving -f don't work. I have two pipe-separated files: file1: abc|123|BNY|apple| cab|234|cyx|orange| def|kumar|pki|bird| file 2: abc|123| kumar|pki| cab|234 I would like to compare the first two columns of file2 with file1 (search through the entire contents of file1 in first two columns) if they match print the matched line of file1. Then search for the second line of file 2 and so on. Expected Output: abc|123|BNY|apple| cab|234|cyx|orange| The files I have are huge, containing about 400,000 lines, so I would like to make the execution fast.",
"If $Y$ is connected, why is $A\\cup Y$ connected in this case?",
"Word for \"not consciously aware of\" What's the word to convey the meaning \"not consciously aware of\"?",
"Assume that $f$ be continuous on $\\mathbb{R}$, $f'(x)$ exists for all $x\\neq 0$, and $\\lim_{x\\rightarrow 0} f'(x)=1$. We need to show $f'(0)$ exist and is equal to $1$. $f'(0)=\\lim_{x\\rightarrow 0}\\frac{f(x)-f(0)}{x}$, $\\lim_{x\\rightarrow 0}f'(x)=1\\Rightarrow\\lim_{x\\rightarrow 0}\\lim_{h\\rightarrow 0}\\frac{f(x+h)-f(x)}{h}=1$...am I going in the right direction? Please help.",
"Allow the owner of a post to approve a suggested edit even if it was rejected by reviewers",
"I'm looking for a library/method to parse an html file with more html specific features than generic xml parsing libraries.",
"What should be created first in a video game?",
"i am finding nowhere a solution I am running UBUNTU 12.04 and using GNOME desktop, which I installed additionally. Logging into classic GNOME I see the following: WHAT is this \"earth globe\" icon coming from?Seems to be named \"starter\". It is configured to open a website, from my bookmarks. WHY is it not showing the TIME? Using dconf-editor I had no luck in answering the above questions. Any idea?",
"Finding the limit of roots products $(\\sqrt{2}-\\sqrt[3]{2})(\\sqrt{2}-\\sqrt[4]{2})(\\sqrt{2}-\\sqrt[5]{2})\\cdot \\cdot \\cdot (\\sqrt{2}-\\sqrt[n]{2})$"
] |
medi_sts_stackexchange_dupe
|
Cannot copy/cut and paste from file manager to Desktop on Ubuntu 20.04 LTS
|
Basic desktop actions are not available on Ubuntu 20.04
|
[
"Detect browser language in Rails",
"Why is $\\sqrt{-x}*\\sqrt{-x}=-x?$",
"Why are my fields initialized to null or to the default value of zero when I've declared and initialized them in my class' constructor?",
"Best practice for Rails App to run a long task in the background?",
"how to disable system apps without root? How to disable system apps without root? My phone model is vivo x5 max+ and android 4.4.4 I have tried Debloater but it failed to connect (I am sure I've allowed USB debugging).",
"Does the intersection of two finite index subgroups have finite index?",
"How can one differentiate between \"who\" and \"whom\"? Many times, I've been asked the difference between \"who\" and \"whom\". I myself know the difference, but it is hard to explain to others. What is the easiest way to explain it to those with a basic understanding of English? A mnemonic (if possible) would help.",
"reformat date to have month in words Currently my text file looks like this.. David Webb Box 34 Rural Route 2 Nixa MO 65714 (417)555-1478 555-66-7788 09-13-1970 Martha Kent 1122 North Hwy 5 Smallville KS 66789 (785)555-2322 343-55-8845 04-17-1965 Edward Nygma 443 W. Broadway Gotham City NJ 12458 (212)743-3537 785-48-5524 08-08-1987 O'Reilly Baba 123 Torch Ln Joplin MO 64801 (417)222-1234 456-65-3211 12-13-1999 Martin Bob 44 Boss Rd Joplin MO 64801 (417)888-4565 456-98-1111 01-01-2007 the dates are in the 9th field and I want to display them as January 7, 2017 instead of 01-07-2017 for example. How should I do that? If using options please explain what they do briefly. Doing this in bash. Needing to put it in a script and output to a new file to preserve original.",
"$\\|u\\|\\leq \\|u+av\\| \\Longrightarrow \\langle u,v\\rangle=0$ Prove that $\\langle u,v\\rangle=0\\Longleftrightarrow \\|u\\|\\leq \\|u+av\\|$. So far I can get the $\\Longrightarrow$ very easily, but I need some help with the $\\Longleftarrow$ implication, any hints would be greatly appreciated. Please no answers, I just want a small nudge to get me in the right direction, I've been stumped on this for a little bit. Here's what I have so far: ($\\Longleftarrow$) Assume $\\|u\\| \\leq \\|u+av\\|$ $\\|u+av\\|^2=\\langle u+av,u+av\\rangle=\\langle u,u\\rangle+ \\langle u,av\\rangle+\\langle av,u\\rangle+\\langle v,v\\rangle=\\|u\\|^2+\\bar{a} \\langle u,v\\rangle+a\\langle v,u\\rangle+\\|v\\|^2=\\|u\\|^2+ \\bar{a}\\bar{\\langle v,u\\rangle}+a\\langle v,u\\rangle+\\|v\\|^2$ Thoughts/ideas?",
"Are there rules for falling in water vs. diving vs. just jumping in for various depths of water?",
"Using conjugates to find a limit with a cubic root: $\\lim_{h\\to 0}\\frac{\\sqrt[3]{h+1}-1}{h}$ I currently have $$\\lim_{h\\to 0}\\frac{\\sqrt[3]{h+1}-1}{h}$$ Now, I know that when you have square root instead of a cubic root it's easy. You just multiply by the conjugate and simplify afterwards. If it were a sqrt I know that the limit is 1/2. I know that the result here is 1/3 but I can't seem to get there. I always end up with 1/4 due to getting something like: $$\\frac{h+1-1}{h(\\sqrt[3]{h+1}+1)(\\sqrt[3]{h+1}+1)}$$ After simplifying and evaluating the limit you end up with $$\\frac{1}{(\\sqrt[3]{0+1}+1)(\\sqrt[3]{0+1}+1)}$$ which turns out to be $1/4$. What am I doing wrong?",
"How can I form a word like \"quadruple\" for any number I want? I'm not sure what these are called, but how can I form a word like \"quadruple\" for any number I want? Like 5× as much is quintuple, what is 31× as much or 147× as much? I want to know how they are formed so I can make my own. Similarly, how do I construct the prefixes, such as unicycle, bicycle, tricycle, quadricycle? I figured out 12 is duodeci-, but how can I form any prefix like this?",
"PostgreSQL check bloating of a table",
"Bounty-like facility for rewarding excellent questions Amongst the reasons for starting a bounty, one can select: Reward existing answer One or more of the answers is exemplary and worthy of an additional bounty. Why not enable one to reward excellent questions in a similar manner?",
"If $f(x)=x-\\int^{\\frac{\\pi}{2}}_0f(x)\\sin(x)dx$ find the explicit function for $f(x)$ in its simplest form",
"How can I disable the hot corner /Activities corner using the Terminal? How can I disable the hot corner /Activities corner using the Terminal? I know I can use the Tweak Tool, as mentioned , but I am writing a little bash script to reconfigure my Ubuntu Gnome quickly to my needs so I would like to use e.g. gsettings for that.",
"Why I can't scan the WhatsApp QR?",
"Best method for short time-series",
"We all know that the amount of current flowing b/w the plates is independent of the frequency. If I were to ask why doesn't it depend then you'd probably say that it depends on the number of electrons rather than the frequency or you might show me a current vs frequency graph. But here is my theoretical argument. Electric current is defined as the amount of charge flowing through a point/space/wire per unit time. Let I be current due to photo electrons ejected by photons of some frequency. Now if I would increase the frequency, the kinetic energy of the ejected electron would increases, therefore it will move faster and therefore contribute more current (charge will through the same point many times per unit time) . Thereby, giving a net current greater than I. What is wrong with my argument? After thinking a lot, I came up with a possible reason. However fast the electrons may move, but when they hit the metal plate, they would lose their velocity and start moving in drift velocity. Now there is a problem with this argument. If this were to be true then I should expect to see a big chunk of extra electrons getting stuck at the anode. If my reasoning was correct, then why can't I see a big charge buildup at the anode.",
"Find the point which is furthest away from existing points while remaining within the convex hull"
] |
medi_sts_stackexchange_dupe
|
Better performance to have nullable columns or an extra table?
|
Why shouldn't we allow NULLs?
|
[
"How to identify the process locking a file?",
"Better Information On Defense Damage Clash of Clans The way that Clash of Clans chooses to convey information about how much damage defense buildings output is bad. The current method of telling the user that a mortar does X dmg a second is pretty worthless since they fire much slower than once a second. Where can I find a break down / what is the damage break down for how much damage these buildings do per shot rather than per second? Sure, information on each level of the buildings would be nice but if that is too much I think simply providing the data for level one of each building would also work.",
"I want to prove that $\\lim_{(x,y)\\to (0,0)} \\frac{\\sin(x+y)}{x+y} = 1$ Is it sufficient to say that if $u = x+y$ then as $(x,y) \\rightarrow (0,0)$ then $u \\rightarrow 0$ and then evaluate $\\lim_{u\\to 0} \\frac{\\sin u}{u}$ which is 1 by L'Hôpital's rule? I feel that this is somehow \"cheating\" and I would really like to prove it in a more rigorous way, i.e., by using an $\\epsilon$ - $\\delta$ argument. I have tried for a long time to use the one variable version and prove that if $0 \\lt \\sqrt{x^2 + y^2} \\lt \\delta$ then somehow $0 \\lt |x+y| \\lt \\delta$ and it would follow from the one variable case that $| \\frac{\\sin(x+y)}{x+y} - 1| \\lt \\epsilon$. However, because $|x+y| = 0$ when $y = -x$ I am not getting anywhere with this. Any input on this would be helpful :)",
"Where do I find system sounds? After installing gm-notify I see the option of hearing a sound every time a new e-mail arrives in my Gmail inbox, but I don't know where Ubuntu (10.4) stores the system sounds to assign one. Any ideas? Thanks.",
"How is voltage always able to increase, if electrons move at the speed of light?",
"I want my Qt application to be able to save simple vector graphics to clipboard in a compatible way. On windows I want to be able to paste the graphics into Microsoft Word or Powerpoint. On Linux I want to be compatible with the Open Office. Which format would you recommend? Can Qt generate EMF in an easy way? Is SVG an option? Update: My current plan is to add a piece of native win32 code to render the graphics to emf on windows. This code will not be available on linux.",
"How to use the method? Say I want to find number of combinations I can get with $x_1+x_2+x_3+x_4=22$, where $x_i\\in\\mathbb{N}$. Is this the correct time to apply the method? This is being repurposed in an effort to cut down on duplicates, see here: and here:",
"Lubuntu Installer Giving Error after Partition creation \"YOUR SYSTEM MAY OR MAY NOT BOOT \" I was replacing my Ubuntu 18.04 with Lubuntu 20.04. I wanted to keep my /home partition same. After creating /root , swap and changing mount point for /home partition the installer gave a warning that /boot/efi partition is not created Lubuntu 20.04 needs /boot/efi partition to boot. Please create a FAT32 partition and mount it as /boot/efi and enable flag esp. Then I created the /boot/efi partition but there was no esp flag(s). I had installed Ubuntu 18.04 alongside windows10. What should I do now?",
"How do I make an object face the mouse position, but only on one plane?",
"What is a good asymptotic for $f_n = f_{n-1}+\\ln(f_{n-1})$?",
"I have a pretty simple table that needs to span multiple pages. This seems like a job for either the / package or the package. The voting on the answers to this suggest that longtable is the preferred package, yet xtab is much newer and has been revised since that question was asked. What are the differences between xtab and longtable and when is one preferable to the other?",
"I got pretty confused at that question... Can anyone help me understand this question better and/or drop some hints please? Thank you!",
"help you learn vs. help you to learn Source: by Douglas Crockford (2008) Example: My goal here is to help you to learn to think in JavaScript. I will show you the components of the language and start you on the process of discovering the ways those components can be put together. Although it is usually the case that you mostly hear people say something like "this will help you become a better person", is there any particular reason as to why he chose not to leave out the to and say help you to learn instead? If you've got something interesting to say, could you please elaborate on it as well? I would very much like to receive some coherent explanation and get this thing finally straight. The only time I know of, though, that you would use the to is when you say it like this: It helps a lot to think of the rather difficult concept of classes used in modern software development as mere blueprints that architects and builders use to build houses. In life, it really helps to know your times tables by heart because not all the time do you have a calculator on you. Because the aspect of the verb "help" is a little bit different here. But in all other cases, help do or help you do something is by far more common.",
"How are connections differentiated from behind NAT routers?",
"I'm trying to model my face on Blender using and it gives links to reference photos. The thing is, as I mentioned above, I want to try and model my face. So I've decided to take photos of my face. But it doesn't seem to be working well (not symmetrical enough and stuff), so how exactly should I take my reference photos so that it would work well when I try to model it with the Mirror modifier? Note: I only have the 'webcam' on my Macbook Pro and the camera on my Hongmi phone and I don't want to spend money on a new camera.",
"How to prove that the number $1!+2!+3!+...+n!$ is never square?",
"Most useful additions in KOMA-Script? (Background: I'm a beginner who will mostly use LaTeX for university articles and reports, but no math. Also, as I reside in Canada, the German typography conventions, which I understand KOMA-Script supports better than LaTeX, are less relevant). I've read that the KOMA-Script package has a lot of improvements for the default document classes. Yet the 's length, about 250 pages, is somewhat daunting. I plan to read the chapters I'm interested in anyway but it'd be useful to have some pointers about low hanging fruits. I searched the site and answers say KOMA-Script adds improvements but do not delve into details. I'll ask this as a community wiki topic and, since the audience of this site is international, feel free to mention German typography if KOMA-Script is better there.",
"Should I use the past tense with did? For example, I was to say: The important question is: Did they knew what it means or not? Or should I say: The important question is: Did they know what it means or not? In other words: Should I use past tense with did? I looked at this: but it didn't really answer my question.",
"Make Vim show ALL white spaces as a character",
"How do I remove/delete a folder that is not empty? I am getting an 'access is denied' error when I attempt to delete a folder that is not empty. I used the following command in my attempt: os.remove(\"/folder_name\"). What is the most effective way of removing/deleting a folder/directory that is not empty?"
] |
medi_sts_stackexchange_dupe
|
What should my family do to notify SE if I die?
|
How should a user's death be handled?
|
[
"Full URL not working with php include",
"What was the point of testing carbonite-freezing technology on Han Solo? Darth Vader tested carbonite-freezing technology on Han Solo because he didn't want to kill Luke who was precious to the emperor. But, why was it necessary? Wasn't it already a tested and proven technology? Even Darth Vader (when he was Anakin) himself used it along with others decades ago (Star Wars: The Clone Wars S03E18).",
"Proving by induction that $1^3 + 2^3 + 3^3 + \\ldots + n^3 = \\left[\\frac{n(n+1)}{2}\\right]^2$ Need guidance on this proof by mathematical induction. I am new to this type of math and don't know how exactly to get started. $$ 1^3 + 2^3 + 3^3 + \\ldots + n^3 = \\left[\\frac{n(n+1)}{2}\\right]^2 $$",
"removeClass and fade animation",
"I just updated from Ubuntu 10.10 to 11.04 and have an issue regarding the screen resolution. I have Intel integrated gfx chip and my monitor supports resolutions larger than 1024x768. (in 10.10 I've been using 1280x1024) But as soon as I upgraded, I'm stuck with 1024x768 resolution and seems I can't change it. running xrandr In terminal yields the following results, Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280x800 58.1 + 1024x768 60.0* 800x600 60.3 56.2 640x480 59.9 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 1366x768 59.9 + 1360x768 60.0 1024x768 75.1 72.0 70.1 60.0* 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 1280x1024_60.00 (0xce) 109.0MHz h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.7KHz v: height 1024 start 1027 end 1034 total 1063 clock 59.9Hz What maybe the problem? Is it a bug? What kind of steps I should take in order to get a higher resolution? (changing xorg.conf maybe?) Any insight is highly appreciated. Thanks in advance. UPDATE Screenshot after running xrandr --addmode VGA1 1360x768 As you can see, side bar is not completely visible and Ubuntu logo at the task bar is missing. Also when you open an application, the Task bar of the application (where it should go to the top panel) is missing as well..",
"Why is $\\frac{1}{\\infty } \\approx 0 $ and $ \\frac{1}{0} = {\\infty}$? First I have checked the search option but found nothing relevant to my problem and also level of math. I just started learning the language of mathematics, on my own and I have trouble understanding why $ \\frac{1}{\\infty } \\approx 0 $ and why $\\frac{1}{0} = {\\infty}$? I want to know how exactly do I get to these answers. It might sound strange but it's hard for me as a beginner to picture things like this on my own.",
"Detecting current iPhone input language",
"I used to study at Cambridge School I used to study at Cambridge School. I am used to studying at Cambridge School. If the verb is continuous tense, it need to be added \"verb to be\" before used to?",
"Maximum and minimum of of $f(x)=|x-1|+|x-2|+|x-3|$",
"Previously I thought this is a universal theorem, for one can prove it in the one dimensional case using variational principal. However, today I'm doing a homework considering a potential like this:$$V(r)=-V_0\\quad(r<a)$$$$ V(r)=0\\quad(r>a)$$ and found that there is no bound state when $V_0a^2<\\pi^2\\hbar^2/8m$. So what's the condition that we have at least one bound state for 3D and 2D?",
"What are the differences between 32-bit and 64-bit, and which should I choose? What is the difference between 32-bit and 64-bit Ubuntu? I've heard the 64-bit platform performs better and can detect more than 4GB of RAM. Also, while some apps haven't ported to 64-bit yet, ia32-libs lets a 64-bit machine run them. If so, why not promote 64-bit over 32-bit?",
"Why doesn't my command work when aliased? I use ps -ef | grep catalina | grep -v grep to print the tomcat process running on the system: kshitiz 7099 1 0 May11 ? 00:02:29 /usr/lib/jvm/jdk1.8.0/bin/java -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:38156 -Dcatalina.base=/home/kshitiz/Documents/workspaces/ggts/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 -Dcatalina.home=/opt/tomcat-7.0.42 -Dwtp.deploy=/home/kshitiz/Documents/workspaces/ggts/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps -Djava.endorsed.dirs=/opt/tomcat-7.0.42/endorsed -Dfile.encoding=UTF-8 -classpath /opt/tomcat-7.0.42/bin/bootstrap.jar:/opt/tomcat-7.0.42/bin/tomcat-juli.jar:/usr/lib/jvm/jdk1.8.0/lib/tools.jar org.apache.catalina.startup.Bootstrap start Then I use ps -ef | grep catalina | grep -v grep | awk -F' ' '{print $2}' to extract the process id: 7099 But when I alias the whole command alias tomcat_id=\"ps -ef | grep catalina | grep -v grep | awk -F' ' '{print $2}'\" and use it via alias, it prints the whole text and awk doesn't seem to work. type tomcat_id gives: tomcat_id is aliased to `ps -ef | grep catalina | grep -v grep | awk -F' ' '{print }''",
"Let $p$ be an odd prime number. Prove that $$\\left( \\frac{1 \\cdot 2}{p} \\right) + \\left( \\frac{2 \\cdot 3}{p} \\right) + \\left( \\frac{3 \\cdot 4}{p} \\right) + \\cdots + \\left( \\frac{(p-2)(p-1)}{p} \\right) = -1$$ where $\\left( \\frac{a}{p}\\right)$ is the Legendre symbol. This seems to be a tricky one! I've tried using the property $\\left( \\frac{ab}{p} \\right)=\\left( \\frac{a}{p}\\right) \\left( \\frac{b}{p} \\right)$ and prime factoring all the non-primes but to no avail. I had a quick thought of induction haha, but that was silly. I tried factoring the common Legendre symbols like $\\left( \\frac{3}{p}\\right) \\left[ \\left( \\frac{2}{p} \\right) + \\left( \\frac{4}{p} \\right) \\right]$ but that didn't bring anything either. And I've been looking for pairwise cancellation with $1$ term leftover, but that does not seem to work. Can you help?",
"zsh: excluding files from a pattern Say I have the following files: |-- bar `-- foo |-- type_A_1 |-- type_A_2 |-- type_B_1 |-- type_B_2 |-- type_B_xx |-- type_B_xx `-- something_else I thought the following command print -l foo/*~{type_B*} would print everything under foo except things that start with type_B but it doesn't, instead it prints everything under foo: foo/type_A_1 foo/type_A_2 foo/type_B_1 foo/type_B_2 foo/type_B_xx foo/something_else I also tried print -l foo/*~type_B and got the same thing. How does the exception wildcard ~ work in zsh?",
"Number of normal subgroups of a non abelian group of order $21$... CSIR December $2013$ Question is to : Find the number of Normal subgroups of a nonabelian group $G$ of order $21$ other than $\\{e\\}$ and $G$. What I have done so far is : As $|G|=21=3\\cdot7$ we have : No. of sylow $3$ subgroups $1+3k$ dividing $7$ leaving out possibilities $1$ or $7$ No. of sylow $7$ subgroups $1+7k$ dividing $3$ leaving out only possibilities $1$. So, we have a unique sylow $7$ subgroup and so it is normal. I remember somehow that any normal group should come from a normal sylow subgroup or something like that. S0, I prefer to conclude there is only one Normal subgroup for a non abelian group of order $21$. Please let me know if this is true and please help me to fill that gap : I remember somehow that any normal group should come from a normal sylow subgroup or something like that. Thank you.",
"self referential struct definition? I haven't been writing C for very long, and so I'm not sure about how I should go about doing these sorts of recursive things... I would like each cell to contain another cell, but I get an error along the lines of \"field 'child' has incomplete type\". What's up? typedef struct Cell { int isParent; Cell child; } Cell;",
"In a preadditive category, products are coproducts $\\renewcommand{\\phi}{\\varphi}$ $\\require{AMScd}$ My question is different from . I want to see how in a preadditive category $\\mathcal{C}$ a product is a coproduct, following . I'll write the proof up to the point where I get stuck. Let $A=A_1,B=A_2$ be objects and suppose their product $P$ does exist, with projections $\\pi_i:P\\rightarrow A_i$. By considering a wedge $$\\begin{CD}A @<{id_A}<< A @>{0_{AB}}>> B\\end{CD}$$ and the obvious analogous one with $A$ and $B$ exchanged, where $0_{A,B}$ is the zero morphism, we see that the product property implies the existence of two unique morphisms $k_i\\in\\mathcal{C}[A_i,P]$ s.t. \\begin{align*} \\pi_j\\circ k_i=\\begin{cases} \\mathrm{id}_i &\\text{if }i=j\\\\ 0_{A_i, A_j} &\\text{if }i\\neq j \\end{cases}. \\end{align*} Using these equations and the definition of zero morphism, it's easy to see that the morphism $m\\equiv k_1\\circ \\pi_1+ k_2\\circ \\pi_2$ satisfies $\\pi_i\\circ m=\\pi_i$. This is where I get stuck: In the linked proof, they now state that this implies $m=\\mathrm{id}_P.$ But I don't see why this should be true. Specifically, if $\\phi\\in\\mathcal{C}[S,P]$ for some arbitrary object $S$, it is not apparent why $m\\circ\\phi=\\phi$. All that we know is that there are some morphisms $x_i\\in\\mathcal{C}[S,A_i]$ that factor through $P$ via the universal property, but these are not necessarily unique. And we learn even less about $m$ by looking at morphisms in $\\mathcal{C}[P,S]$. What am I missing here?",
"Using while loop to ssh to multiple servers I have a file servers.txt, with list of servers: server1.mydomain.com server2.mydomain.com server3.mydomain.com when I read the file line by line with while and echo each line, all works as expected. All lines are printed. $ while read HOST ; do echo $HOST ; done < servers.txt server1.mydomain.com server2.mydomain.com server3.mydomain.com However, when I want to ssh to all servers and execute a command, suddenly my while loop stops working: $ while read HOST ; do ssh $HOST \"uname -a\" ; done < servers.txt Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux This only connects to the first server in the list, not to all of them. I don't understand what is happening here. Can somebody please explain? This is even stranger, since using for loop works fine: $ for HOST in $(cat servers.txt ) ; do ssh $HOST \"uname -a\" ; done Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server2 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server3 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux It must be something specific to ssh, because other commands work fine, such as ping: $ while read HOST ; do ping -c 1 $HOST ; done < servers.txt",
"How can I hide my code in visualforce page?",
"OLS is BLUE. But what if I don't care about unbiasedness and linearity?"
] |
medi_sts_stackexchange_dupe
|
i am getting java.lang.NullPointerException in Automation testing selenium
|
What is a NullPointerException, and how do I fix it?
|
[
"Windows of an application have minimum size and I can't find the window anymore I had an application (in case it matters: LibreOffice Calc] in full-size mode. I then clicked the middle of the three buttons of the top right to adjust the size. When I did that, the window became minimum size, literally a vertical line. I panicked and alt-tabbed, and now I can't even find the vertical line anymore. Opening new windows in that application opens all of them hidden to me, and closing/reopening or even restarting the OS doesn't help. I don't know how to resize my invisible windows anymore. Here's the preview of the windows in the application launcher: a vertical line (that I don't find on my screen anywhere if I click this).",
"Suppose the default shell for my account is zsh but I opened the terminal and fired up bash and executed a script named prac002.sh, which shell interpreter would be used to execute the script, zsh or bash? Consider the following example: papagolf@Sierra ~/My Files/My Programs/Learning/Shell % sudo cat /etc/passwd | grep papagolf [sudo] password for papagolf: papagolf:x:1000:1001:Rex,,,:/home/papagolf:/usr/bin/zsh # papagolf's default shell is zsh papagolf@Sierra ~/My Files/My Programs/Learning/Shell % bash # I fired up bash. (See that '%' prompt in zsh changes to '$' prompt, indicating bash.) papagolf@Sierra:~/My Files/My Programs/Learning/Shell$ ./prac002.sh Enter username : Rex Rex # Which interpreter did it just use? **EDIT : ** Here's the content of the script papagolf@Sierra ~/My Files/My Programs/Learning/Shell % cat ./prac002.sh read -p \"Enter username : \" uname echo $uname",
"Confidence bands for QQ line This question doesn't specifically pertain to R, but I chose to use R to illustrate it. Consider the code for producing confidence bands round a (normal) qq-line: library(car) library(MASS) b0<-lm(deaths~.,data=road) qqPlot(b0$resid,pch=16,line=\"robust\") I'm looking for an explanation of (or alternative a link to a paper/online document explaining) how these confidence bands are constructed (I have seen a reference to Fox 2002 in the help files of R but sadly I don't have this book handy). My question will be made more precise with an example. Here's how R computes these particular CI's (I've shortened/simplified the code used in car::qqPlot) x<-b0$resid good<-!is.na(x) ord<-order(x[good]) ord.x<-x[good][ord] n<-length(ord.x) P<-ppoints(n) z<-qnorm(P) plot(z,ord.x,type=\"n\") coef<-coef(rlm(ord.x~z)) a<-coef[1] b<-coef[2] abline(a,b,col=\"red\",lwd=2) conf<-0.95 zz<-qnorm(1-(1-conf)/2) SE<-(b/dnorm(z))*sqrt(P*(1-P)/n) #[WHY?] fit.value<-a+b*z upper<-fit.value+zz*SE lower<-fit.value-zz*SE lines(z,upper,lty=2,lwd=2,col=\"red\") lines(z,lower,lty=2,lwd=2,col=\"red\") The question is: what is the justification for the formula used to compute these SE (e.g. the line SE<-(b/dnorm(z))*sqrt(P*(1-P)/n)). FWIW this formula is very different from the formula of the usual",
"How to create a good glass reflection with Principled BSDF",
"I read on the wiki that people will move in under the following conditions: You do something to please them An empty house is available with a light source, table, and chair (also with walls). I have a house which is about 7x8, then a roof space above that; about half the area. I could put furniture up there too, but will anyone move in?",
"Integral $\\int_{1}^{2011} \\frac{\\sqrt{x}}{\\sqrt{2012 - x} + \\sqrt{x}}dx$ Evaluate: $$\\int_{1}^{2011} \\frac{\\sqrt{x}}{\\sqrt{2012 - x} + \\sqrt{x}}dx$$ Using real methods only. I am not sure what to do. I tried finding a power series, which was too ugly. I just need some hints, not an answer to do this integral, this is from the MIT Integration bee 2012.",
"I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4. When I start my computer, I eventually see GDM3 offering a login prompt, as expected. After I login, my monitors flash a little (like they're unplugged and then replugged in), and then I am brought to the gnome 3 desktop. However, if I hit CTRL + ALT + F1, I am brought back to GDM3, offering a login prompt. If I then hit CTRL + ALT + F2, I am brought back to my Gnome 3 desktop. So it seems like GDM3 continues to run in TTY1 while the desktop runs in TTY2. Questions Is this how things are supposed to work? I thought the desktop was supposed to use the same TTY (or whatever you call it) as the display manager. Am I using more graphical resources by having things setup this way? Is there a way to have GDM3 pass off the display to Gnome Desktop after I login? Is there any advantage do doing #3?",
"Are there fixed size integers in GCC? On the MSVC++ compiler, one can use the __int8, __int16, __int32 and similar types for integers with specific sizes. This is extremely useful for applications which need to work with low-level data structures like custom file formats, hardware control data structures and the like. Is there a similar equivalent I can use on the GCC compiler?",
"Minkowski Metric Signature When I learned about the Minkowski Space and it's coordinates, it was explained such that the metric turns out to be $$ ds^{2} = -(c^{2}dx^{0})^{2} +(dx^{1})^{2} + (dx^{2})^{2} + (dx^{3})^{2} $$ where $ x^0,x^1,x^2,x^3 $ come from $ x^{\\mu} : \\mu = 0,1,2,3 $, and $ c $ is the speed of light. The first resource I had access to--I have to do a bit of digging for the exact paper--of course addressed that this invariant takes the tensor form: $$ ds^2 = g_{\\mu \\nu}dx^{\\mu}dx^{\\nu} $$ as well. This two things I've seen in all of my texts and online resources regarding resources. The element in question that varies between authors, is the time coordinate, $ x^0 $. When it was first explained to me, it was using the standard Cartesian representation for the spatial portion of the coordinates, and the time coordinate was labeled as $ x^0 = ict $. Squaring gives $ (x^0)^2 = -c^2t^2 $, and applying differential calculus, we get $ (dx^0)^2 = -c^2dt^2 $. Sensible and expected to have the tensor formula spit out the Minkowski Metric. The author then later explicitly states the coordinates are $ x^0 = ict, x^1=x,x^2=y,$ and $x^3 = z$. My questions is then, why is it most authors on the subject omit the imaginary unit on the time coordinate? For example, . The only reason I can fathom omission is if the author is using metric signature $ [+,-,-,-] $, where I started off learning the theory with signature $ [-,+,+,+] $ which may be the reason seeing the time coord with no imaginary unit seems dissonant to me. All help appreciated! Edit: After reading the other answers, my questions is now one of why and how (mathematically) do we obtain the Minkowski Metric Signature. More specifically the one element with a different sign.",
"Set \"older\" kernel as default grub entry I installed a mainline kernel for testing purposes. I would like to set grub to boot from the older kernel by default. I know I can set the GRUB_DEFAULT=0 setting for the first page of grub but how do I set it to boot by default from one kernel in the second page (Advanced page)? I would prefer doing this without installing other software (ex. grub-customizer). Related Questions:",
"Putting char into a java string for each N characters",
"Proving question on sets I am unable to understand this question. I have to say whether its true of false and then prove it but I can't proceed with the question unless I understand it. Let $S$ be the set of stars in our galaxy. There is exactly the same number of subsets of stars in our galaxy as there are functions $f:S\\rightarrow\\{\\alpha,\\beta\\}$",
"Did she judge him \"wrong\" or \"wrongly\"? Which one is the correct use? She judged him wrong. She judged him wrongly. Or, are both correct, but have slightly different meanings?",
"I've just got my first follower, and I'm wondering if I can get a second person to follow me. Is the game limited to one or two follower(s) or does it allow for a large number of followers? It really seems handy to me to have some followers protect me when I draw attention from a larger group, or when I try to steal something where I really shouldn't...",
"Original The remainder provided by polynom.sty is NOT complete (as shown in the following figure). My Objective When I was in senior high school, my teacher made the diagram like below. :-) Thus the final step must show the TOTAL remainder and mark it with L-shaped curve. NOTE I am sorry. The previous post I forgot to put back -1/4 in the original position. It have made you confused. Now there is no mistake anymore. :-) Minimal Code \\documentclass{article} \\usepackage{polynom,array} \\usepackage[table]{xcolor} \\makeatletter \\def\\pld@ArrangeResult#1{% \\ifx\\pld@remainder\\@empty \\@tempcnta\\pld@maxcol\\relax \\pld@InsertItems@do\\pld@lastline {\\pld@firsttrue\\pld@PLD{\\pld@R{0}{1}}}% \\fi \\ifnum\\pld@currstage>\\z@ \\pld@Extend\\pld@allines{\\pld@lastline\\cr}% \\else \\pld@InsertFake\\pld@lastline \\fi \\pld@iftopresult \\def\\pld@lastline{\\pld@PrintPoly\\pld@divisor% %==================================================================================== \\quad\\smash{{\\color{red}\\rule[-6pt]{\\arrayrulewidth}{17pt}}}\\kern-\\arrayrulewidth&}% %==================================================================================== \\else \\let\\pld@lastline\\@empty \\ifx B\\pld@style\\else \\def\\pld@lastline{\\pld@leftdelim\\strut\\pld@rightxdelim&}% \\fi \\fi \\expandafter\\pld@AR@col\\expandafter\\pld@PLD \\expandafter\\pld@lastline#1+\\relax+% \\pld@SplitQuotient \\pld@iftopresult \\let\\pld@currentline\\@empty \\expandafter\\pld@AR@col\\expandafter\\pld@PLD \\expandafter\\pld@currentline \\pld@quotient+\\relax+% \\expandafter\\pld@AR@col\\expandafter\\pld@XPLD \\expandafter\\pld@currentline \\pld@shadow+\\relax+% \\edef\\pld@subline{% \\noexpand\\cline{\\tw@-\\pld@maxcol}% \\noalign{\\vskip\\jot}}% \\pld@Extend\\pld@currentline{\\expandafter\\cr\\pld@subline}% \\else \\@tempcnta-\\@tempcnta \\advance\\@tempcnta\\pld@maxcol\\relax \\advance\\@tempcnta\\@ne \\edef\\pld@span{\\the\\@tempcnta}% \\ifx B\\pld@style \\pld@AddTo\\pld@lastline{% &\\multispan\\pld@span${}=% \\pld@PrintPolyWithDelims\\pld@divisor \\expandafter\\pld@IfSum\\expandafter{\\pld@divisor}{}{\\cdot}% \\expandafter\\pld@IfSum\\expandafter{\\pld@quotient}\\pld@true \\pld@false \\pld@if \\pld@leftdelim \\pld@PrintPolyShadow \\pld@rightdelim \\else \\pld@PrintPolyShadow \\fi \\pld@firstfalse \\expandafter\\pld@PrintRemain\\expandafter{\\pld@remainder}$}% \\else \\pld@AddTo\\pld@lastline{% &\\multispan\\pld@span$\\pld@leftxdelim\\strut\\pld@rightdelim \\pld@div \\pld@PrintPolyWithDelims\\pld@divisor= \\pld@PrintPolyShadow \\ifx\\pld@remainder\\@empty\\else +{}% \\setbox\\z@=\\hbox{$\\displaystyle \\frac{\\let\\strut\\@empty\\pld@firsttrue \\expandafter \\pld@PrintRemain\\expandafter{\\pld@remainder}}% {\\let\\strut\\@empty\\pld@PrintPoly\\pld@divisor}$}% \\dp\\z@=\\z@\\box\\z@ \\fi $}% \\fi \\fi \\expandafter\\pld@AR@\\pld@allines\\relax} \\makeatother \\arrayrulecolor{red} \\arrayrulewidth=0.8pt \\def\\strut{\\rule[-6pt]{0pt}{12pt}} \\begin{document} \\polylongdiv[style=A]{\\frac{3}{7}x^9+x^2-\\frac{1}{4}}{\\frac{9}{5}x^4-1} \\vspace{1cm} \\polylongdiv[style=A]{x^4-1}{x^2-1} \\end{document}",
"I have a raster image (Sentinel-2 band 4) and a shapefile covering the same area than the image (same projection and extension). The shapefile has different polygons which are agricultural fields. I want to create a new file where, for each polygon, the mean value of the pixels that are inside it is calculated. Could you please help me to find an appropriate R code for that?",
"Prove that a polynomial is irreducible or the field contains a $p$th root An exercise from Lang: Let $k$ be a field. Let $n$ be a nonnegative integer. Consider the polynomial $x^{p^n}-a \\in k[x]$. Assume that $\\text{char}(k) = p > 0$. Prove that either the polynomial $x^{p^n}-a$ is irreducible over the field $k$ or there exists a $b\\in k$ such that $a = b^p$. How to prove this statement? I am a little bit confused with this statement.",
"Blaise Pascal's famous wager was that even if the existence of God cannot be determined through reason, a rational person should wager as though God exists, because living life accordingly has everything to gain, and nothing to lose. What logical flaws and/or fallacies (if any) are committed in making this argument?",
"Google Maps API v3, jQuery UI Tabs, map not resizing",
"How can I translate CMYK to Pantone colors? In particular, how do I translate CMYK 90C 85M 80Y 63K to a Pantone color?"
] |
medi_sts_stackexchange_dupe
|
Fix old links to Activities profile tab
|
Profile tab hyperlink should match name change
|
[
"How to send and receive data from Salesforce to a FTP server My question is how I can intergrate Salesforce with different FTP servers in real time. I have read some articles about it, but to be absolutely sure I thought it would be a good idea to post a question here. I want to be able to send and receive data from Salesforce as a csv file to a ftp server. How I'm thinking about doing this is listed below. Send the data: Create a apex class which query the necessary data in Salesforce and create a csv file. I guess this is trivial? Then send the file to a web service created in Salesforce, just by calling it in the apex code. Create a web service in Salesforce which receives the data from the apex code. This web service should in some way send the data to the appropriate ftp server. I guess I can simply modify some of the code provided by Salesforce to make this work? The file is sent. Receive the data This one is a bit trickier. I guess I have to pull the data from the FTP server by using my web service, which then send the file collected to the appropriate apex class. Or, the FTP server could send the data to the SFDC web service, I don't know if this is possible? The web services on the other side that sends the data to the ftp server, could send it directly to the SFDC web service, which then again forward it to the apex class. I guess the web service will use the remote site url to connect to the SFDC web service?",
"So, I've finally obtained the Werewolf form. After returning out of the form, fully naked... I seem to be stuck in third person view! How can I fix this? Scrolling or pressing F does not work. I want to get back in first person view... Mouse wheel allows to zoom in/out but not get me into the first person view but rather behind and slightly to the right of the character. The command animcam locks me at a certain distance, doing it again brings me back into the mode that I'm stuck in third person view. Hitting F after this doesn't work. tfc doesn't help me either, although that command is nice to take screenshots...",
"Print lines between (and excluding) two patterns",
"Which one is correct? (Maybe both are correct.) He passed away on the morning of March 5. Or He passed away in the morning of March 5.",
"What is the difference between the search() and match() functions in the ? I've read the (), but I never seem to remember it. I keep having to look it up and re-learn it. I'm hoping that someone will answer it clearly with examples so that (perhaps) it will stick in my head. Or at least I'll have a better place to return with my question and it will take less time to re-learn it.",
"How to create a good glass reflection with Principled BSDF",
"Winter 18 does not get values from a parent record",
"How to compare the differences between two PDF files on Windows?",
"After the downfall of Voldemort, what happened to the Death Eaters? They committed many crimes, including mass murder and torture. Nothing in the books made mention of their punishments. What happened?",
"How much can a grappler with reach move a grappled creature inside its reach?",
"Double booked - User bookmarking question recorded twice In this one user is shown as having bookmarked twice: This doesn't appear to be the same question as: or though it's certainly possible that the cause is the same.",
"iCloud Drive is stuck uploading items and no longer syncs I got the macOS Sierra update when it went into public beta, and I've been trying to use the automatic . I've enabled the feature, however since September 7 no files have been uploaded. By this point, the bottom of my Finder windows say: 15.78 GB available on iCloud, uploading 156,106 items (543.2 MB of 543.2 MB) However the files are never actually uploaded. I keep my screenshots folder on my desktop and I take a lot of screenshots, so I can see that September 7 was the last date any file was actually uploaded. What should I do? Is there a way I can disable and re-enable the feature without risking loss of data? Are there any solutions to this problem? What should I try? So far I've tried rebooting, and tried software update to macOS 10.12.2 public beta.",
"Different results between individual and batch clip of rasters in QGIS?",
"Examples I've recently found examples of using pairs of enclosing braces {}, with nothing in between the opening and closing braces, as arguments to commands and even to their options: cat foo | xargs -I{} echo {} find . -size 0 -exec rm -i {} \\; No Documentation My problem is that I cannot find a documentation in the that describes the usage of {} in such context as in the examples above. I do not think it is a , because a dollar sign must precede the enclosing braces in a parameter expansion as in ${}. It cannot be a either, because it takes the form of {x..y[..incr]}, where x and y are not optional. It also cannot be a either, because {} is used as arguments. Questions What does a pair of enclosing braces {} even mean, in general, as an argument to any command that accepts it? Where can I find a documentation that describes the usage of {} as arguments?",
"How do I install MATLAB via the ISO?",
"Shutdown Cause -128",
"Adding a script to the page dynamically with jQuery never uses the cached file",
"Definition of electric charge and proper explanation",
"Why is the network configuration I set in /etc/network/interfaces ignored on Ubuntu 17.10?",
"fontawesome icons are getting too big using XeLaTeX The following example must be compiled with XeLaTeX to reproduce the issue. % arara: xelatex \\documentclass{article} \\usepackage{fontawesome} \\begin{document} Text Text \\faMobilePhone\\ Text Text \\end{document} Normally I am using TeXworks to compile and view the output. With the internal viewer I am getting the desired result. The following image demonstrates it: However if I open the pdf with Preview (viewer of Mac) the scaling of the icon fails. If I open the pdf file with Adobe Acrobat Reader the icon is still scaled correctly. If I print the page my printer is also not able to scale the icons correctly. If I use LuaLaTeX everything seems to work correctly. Can you reproduce the issue and do you know a solution?"
] |
medi_sts_stackexchange_dupe
|
Does any set admit a total order?
|
Does linear ordering need the Axiom of Choice?
|
[
"Just don't show UI for actions that can't be actioned Recently I just deleted one of my answer in stackoverflow where there was one comment. After deleting the answer it also show for sometime that we all know but in the comment it still allow us to up to make it useful but as I clicked it it just showed me the message: If we are not allowed to do then what was the meaning? Why don't it just be removed or make it disable if the answer is deleted. Just don't show UI for actions that can't be actioned",
"Proof of greatest integer theorem: floor function is well-defined I have to prove that $$\\forall x \\in \\mathbb{R},\\exists !\\,n \\in \\mathbb{Z} \\text{ s.t. }n \\leq x < n+1\\;.$$ where $\\exists !\\,n $ means there exists a unique (exactly one) $n$. I'm done with proving that there are at least one integers for the solution. I couldn't prove the "uniqueness" of the solution, and so I looked up the internet, and here's what I found: Let $\\hspace{2mm}n,m \\in \\mathbb{Z} \\text{ s.t. }n \\leq x < n+1$ and $m \\leq x < m+1$. Since $n \\leq x \\text{ and } -(m+1) < -x$, by adding both, $n + (-m-1) < (x-x) = 0$. And (some steps here) likewise, $(x-x) < n+m+1$. Now, can I add up inequalities like that, even when the book is about real analysis (and in which assumptions are supposed to be really minimal)? Or should I also prove those addition of inequalities? Thank you :D",
"Every cyclic group with order > 2 has at least 2 distinct generators Every cyclic group with order > 2 has at least 2 distinct generators Here's what I've got so far: Either order of our group, $G$, is finite or infinite. Suppose infinite: then our group is isomorphic to $\\mathbb Z$ under addition. This group has two distinct generators, therefore so does $G$. Suppose finite: Then $G$ is isomorphic to $\\mathbb Z_n$ under addition modulo $n$. We know order of $G$ is $\\geqslant 3$. If order of $G$ is odd, both 1 and 2 are generators of $\\mathbb Z_n$ under addition modulo $n$, so $G$ has at least two generators. If order of $G$ is even, then both 1 and some odd number between 1 and $n$ are generators. How do we determine this odd number? Does this look like I'm on the right track?",
"How do you appear offline to friends on Battle.net? I have a number of friends on my battle.net account. However, sometimes I don't want to appear online to some (or all) of them. Is there a way to be hidden from your friends on battle.net?",
"How do I properly clean up Excel interop objects?",
"What happens when I hover over a link in Chrome?",
"What is meant by a continuous-time white noise process?",
"Decidability of a predicate. I have the following problem: Let the following predicates be: $P1, P2, Q1, Q1 : R \\to \\{0,1\\} $ . It is given that $P1 \\lor P2$ and $Q1 \\lor Q2$ are semidecidable and $P2 = \\lnot Q2$ What can it be said about $P1 \\lor Q1$? I have searched all over the internet and I simply cannot understand the concept of decidability of a predicate, let alone a logic operation with predicates.",
"A certain physics problem I have been working on has turned into a math problem. Particularly, I want to find the solutions of some equation of the form $$f(x)=ae^{bx}+cx+d = 0$$ where $a, b, c,$ and $d$ are constant, real numbers that come from the physics problem and $x$ will be a real number. I do not know how to find the solutions of an equation of this form. In the special case where $c=0$, the solution is simply $$x = \\frac{\\ln(\\frac{-d}{a})}{b}$$ but for other values of $c$, I am stumped. If there is no exact form for the roots, is there a relatively simple way to estimate the roots?",
"Do comic characters sometimes get drawn like the actor playing them? I noticed in Spider-Man's recent cameo in Captain Marvel, he appeared an awful lot like Andrew Garfield who is playing Spider-Man in the recent movie. Irrelevant of whether it is just my imagination, do some depictions of comic characters morph to be more like an actor who plays them around the time a corresponding movie is released? By comparison, here is Spider-Man's depiction in the Spider-Men crossover:",
"Plot draws list of curves in same color when not using Evaluate",
"Fix missing ssl-cert for subdomain www. using redirect or similar",
"I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange post) \\newcounter{P} \\newcommand{\\plb}[1]{\\refstepcounter{P}\\label{#1} \\textbf{P-\\ref{#1}.}} \\begin{problem} \\plb{p1} A parallel-wire transmission line is constructed of \\#6 AWG copper wire (diameter $d=0.162$ in., conductivity $\\sigma_c=5.8\\times 10^7$ S/m) with a 12-inch separation in air. Assuming no leakage between the two wires, find $R'$, $L'$, $G'$, and $C'$. Assume a working frequency of 1 MHz. \\end{problem} \\begin{solution} Using Table.~\\ref{tab:tlparam} and Fig.~\\ref{fig:tlempl}, \\[ Rs = \\sqrt{\\pi f \\mu_c/\\sigma_c} = 2.61\\times10^{-4}~ \\Omega\\] \\[ R' = \\frac{2R_s}{\\pi d} = 4.04\\times10^{-2} ~\\Omega\\text{/m} \\] \\[ L' = \\frac{\\mu_0}{\\pi} \\ln{\\frac{2D}{d}}=2.0~\\mu \\text{H/m} \\] \\[ C' = \\frac{\\pi \\epsilon}{\\displaystyle\\ln{\\frac{2D}{d}}}=5.56 ~\\text{pF/m} \\] $G'=0$ because the problem states that there is no leakage between the two wires. \\end{solution} \\begin{figure}[ht] \\begin{centering} \\includegraphics{fig24} \\caption{(Fig.2-4 from FAE) A few examples of transmission lines.} \\end{centering} \\label{fig:tlempl} \\end{figure} \\begin{table}[ht] \\caption{(Table 2-1 from FAE)Transmission-line parameters $R'$, $L'$, $G'$, and $C'$ for three types of lines.} \\begin{tabular}{c} \\hspace{3cm}\\includegraphics{tb21} \\end{tabular} \\label{tab:tlparam} \\end{table} ... and more Now all the figure references stop working, I get \"Fig. \" instead of \"Fig. 1\". The table references are alright though. Any idea what the problem could be?",
"MSTest Code Coverage",
"I was asked to prove the following: If $\\{ E_1,E_2,\\ldots,E_n\\}$ is a fully independent set of events, prove that: $$ P\\left(\\bigcup_{i = 1}^n E_i \\right) = 1 - \\prod_{i = 1}^n \\left[ 1 - P(E_i) \\right] $$ (Hint: use complements) I got the following: Let $\\alpha = E_1\\cup E_2 \\cup \\cdots \\cup E_n = \\{E^C_1 \\cap E^C_2 \\cap \\cdots\\cap E_n^C\\}^C$. Then, $\\alpha^C = \\{ E^C_1 \\cap E^C_2 \\cap \\cdots \\cap E^C\\} $. Assuming that the set of complements of each ${E_i}$ is also fully independent, we have: \\begin{align} & P(\\alpha^C) = \\prod_{i = 1}^n P(E_i^C) = \\prod_{i = 1}^n \\left[ 1 - P(E_i) \\right] \\\\ & P(\\alpha) = 1 - P(\\alpha^C) = 1 - \\prod_{i = 1}^n \\left[ 1 - P(E_i) \\right] \\\\ & P(\\bigcup_{i = 1}^n E_i) = 1 - \\prod_{i = 1}^n \\left[ 1 - P(E_i) \\right] \\end{align} However, even though I know (by Googling it) that my assumption is true, I'm unable to prove it so I could validly use it as a lemma. Is there another way to prove this equality?",
"Linux: Case-INSENSITIVE Filesystem",
"Why I can't scan the WhatsApp QR?",
"need a regex to parse a csv file with double quotes in php",
"ibus Avro in Ubuntu 14.04 LTS",
"Showing that a finite abelian group has a subgroup of order m for each divisor m of n I have made an attempt to prove that a finite abelian group of order $n$ has a subgroup of order $m$ for every divisor $m$ of $n$. Specifically, I am asked to use a quotient group-induction argument to show this. I'd appreciate comments on the validity or lack thereof of my attempted proof below. Let $G$ be a finite abelian group of order $n$ and let $m$ be a divisor of $n$. The proposition is true for $n=1$, so we'll proceed by induction and assume $n \\ge 2$. Let $p$ be a prime dividing $m$ and let $x$ be an element of order $p$ in $G$ (which exists by Cauchy's Theorem for Abelian Groups). By the induction hypothesis, $G/\\langle x \\rangle$ has a subgroup of order $\\dfrac{m}{p}$. This subgroup is of the form $H/\\langle x \\rangle$ for some $H \\le G$. Since $|H/\\langle x \\rangle| = \\dfrac{m}{p}$, it follows that $H \\le G$ has order $m$. I chose to use a prime divisor of $m$, but I don't see why it wouldn't work to use any proper divisor of $m$. Am I correct on this point? Thanks, I appreciate the help."
] |
medi_sts_stackexchange_dupe
|
Clang CMAKE Precompiled headers
|
Using pre-compiled headers with CMake
|
[
"New to Macbook Pro, need help upgrading I was recently gifted an old Mid 2010 Macbook Pro with the following specs listed here: I would like to do a few things to it, but I have never owned an apple computer before and I know there are some restrictions on the hardware i can purchase to upgrade it. These are the things I want to do 1) Upgrade Ram: Currently it has 2x2GB of RAM in it. This model is rated for up to 8GB but I have been reading online and it seems some people have been able to successfully install 16GB of RAM, so i am confused. Does anyone have a definitive statement on whether or not this Macbook Pro will work with 16GB of RAM? If it does accept 16GB total which RAM should i buy for a Macbook Pro like this? If it only accepts 8GB total which RAM should i buy? And I know the clock speed must be 1066Hz for this Macbook Pro, but can i use DDR3, or DDR4 RAM? Does the DDR type matter? 2) Install Secondary Hard Drive: I am not 100% so i need someone to inform me but i believe there is space in this Macbook Pro for a second hard drive. Does the CD Drive need to be removed in order for a second Hard Drive to be put in? Or is there simply space inside it for a second hard drive but not installed by Apple? Either way I would like to install an SSD into it and install the Operating System onto that SSD. Which SSD can i look to buy that is compatible with this Pro? 3) Fresh install of Mac OSX: As it currently stands my friend who gave this laptop to me didn't erase his data. I am uncomfortable with this and want a fresh start. How do I do a fresh install of Mac OSX Mavericks (or should i wait for Yosemite?). Where can i buy a Disk/USB for it (or make a disk/USB for it) to do a clean install and how do i format a Macbook Pros hard drive and install fresh? Should this be done at an apple store? 4) Higher Screen Resolution: This is my lowest priority and I don't think it is possible to do without major invasive changes to the Macbook Pro but i want to know if it is possible. Currently the Max Resolution on the Device is 1440x900, i would like to know if it is possible to replace the LCD with one that is 1920x1080 for high resolution.",
"Add an API key to QGIS for QOSM layer",
"Open-source alternative to Adobe InDesign There is some open-source software, similar to Adobe InDesign? It would be awesome if it do exist... I know all the others like Inkscape, Gimp, etc... but for InDesign i have none. Could you give me one direction?",
"Why is $\\sqrt{-x}*\\sqrt{-x}=-x?$ Q1 - Why is $\\sqrt{-x}*\\sqrt{-x}=-x?$ Q2 - I was thinking it would be: $\\sqrt{-x}*\\sqrt{-x}=\\sqrt{-x*-x}=\\sqrt{x^2}$ but apparently not (why not?) Q3 - What are the formal algebra rules to use? Can I calculate this without using i such as in: $\\sqrt{-x}*\\sqrt{-x}=i\\sqrt{x}*i\\sqrt{x}=-\\sqrt{x^2}=-x$.",
"Collinearity diagnostics problematic only when the interaction term is included",
"Are PDO prepared statements sufficient to prevent SQL injection?",
"Why did Aragorn and Theoden ride out at the Hornburg? In the Battle of the Hornburg from The Two Towers, Aragorn and Theoden say \"We must ride out.\" Why did they do this? Was it just a matter of honor? Did they ride out on their horses in the middle of battle because they thought it was the end, as they were outnumbered? Was it because Aragorn knew Gandalf was coming so they were confident they were about to win?",
"What are the limitations of a typical kit lens as a general purpose lens? I have a Canon EOS 550d with the 18-55mm IS kit lens. I have done (portraits, nature, night shots etc), and find the image quality to be pretty good. In fact most of the reviews have also been positive (at least in terms of image quality): Quote: indeed Canon's main concern may ultimately become whether users have as much incentive to upgrade to more expensive optics as they did before So, what are the key limitations of this lens (or any other similar kit lens) that would compel one to upgrade to a more expensive general purpose zoom lens (apart from the wanting to upgrade the zoom range)?",
"Is there a shorter alternative for \"Enjoy your meal\"? The French have \"Bon appetit\". In Belgium and the Netherlands we have \"Smakelijk\". Is there a short way to wish someone a good meal in English?",
"There is a command l available on my machine which appears to do nothing. which l also produces no output. Is this a real command, and does it actually do anything?",
"Can I successfully bake previously-frozen bread dough?",
"In an ideal case, we assume strings and ropes to be massless and having same tension throughout. However, I was doing some questions which involved a rope with mass. The question was that if a uniform thick rope of length 5 m is resting on a horizontal smooth (assume frictionless) surface and is pulled by a force of 5N from one end, then what is the tension in the rope at the point 1 m away from the end where force is applied? (sorry for the poor image) I came to the conclusion that since rope is not fixed, tension anywhere should be zero. However, when I checked the answer, it was 4 N. I failed to understand how. Then the next part of the question was that if the rope now hangs between two fixed points which are at same level, then what would be the tension in the rope at its lowest point? The answer has to be expressed in terms of mass of string m, acceleration due to gravity and $\\theta$ where $\\theta$ is the angle that tangents to the rope make with the horizontal. I took that force acting on lowest point is mg, since it is center of mass and hence T = mg. However, according to the answer it depends upon $\\theta$ as well. However, I failed to see what I was doing wrong? I would appreciate any help in solving these questions, since I have no clue of where exactly I am wrong. I did search the Internet and a few books, but everywhere they assumed string/rope to be massless.",
"Do things use apostrophe for indicating possessive? Possible Duplicate: If someone owns something I would say: Mom's car. But if the owner is not a person, does it actually own it according to English rules or common usage? Which phrase is right? The house windows. The house's windows. The windows of the house. (Or something like that.) (Feel free to modify this question so it would be clear for other people.)",
"Calculate: $$\\int_{0}^{2\\pi}e^{R{ {\\cos t}}}\\cos(R\\sin t+3t)\\mathrm{d}t$$ My try: $\\displaystyle\\int_{0}^{2\\pi}e^{R{ {\\cos t}}}\\cos(R\\sin t+3t)dt\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\cos(\\mathfrak{I\\textrm{z}}+3(-i\\log z)dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}}^{(\\mathfrak{I\\textrm{z}}+3(-i\\log z))i}dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}^{\\mathfrak{I\\textrm{z}}}}z^{3}dz\\\\ \\displaystyle \\int_{|z|=R}e^{\\mathfrak{R\\textrm{z}}}\\mathfrak{R\\textrm{e}^{\\mathfrak{I\\textrm{z}}}R}z^{3}dz$ and there is nothing here that is not holomorphic, therefore according to Cauchy theorem it must be exactly $0$.",
"pure code formatting, to enhance a question, is impossible (without 2k rep)",
"100 prisoners are imprisoned in solitary cells. Each cell is windowless and soundproof. There's a central living room with one light bulb; the bulb is initially off. No prisoner can see the light bulb from his or her own cell. Each day, the warden picks a prisoner equally at random, and that prisoner visits the central living room; at the end of the day the prisoner is returned to his cell. While in the living room, the prisoner can toggle the bulb if he or she wishes. Also, the prisoner has the option of asserting the claim that all 100 prisoners have been to the living room. If this assertion is false (that is, some prisoners still haven't been to the living room), all 100 prisoners will be shot for their stupidity. However, if it is indeed true, all prisoners are set free and inducted into MENSA, since the world can always use more smart people. Thus, the assertion should only be made if the prisoner is 100% certain of its validity. Before this whole procedure begins, the prisoners are allowed to get together in the courtyard to discuss a plan. What is the optimal plan they can agree on, so that eventually, someone will make a correct assertion? I was wondering does anyone know the solution for the 4,000 days solution. Also, anyone got any ideas on how to solve this? Just wanted to know if anyone got any ideas how to solve this. is offering prize money for a proof of a optimal solution for it. I suppose to make it clear the people want a plan that would mean on average it would take least amount of time to free the prisoner. The point is the average run time is as low as possible.",
"MacPorts fails to find 'make' I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---> Computing dependencies for wgetError: Unable to execute port: can't read \"build.cmd\": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? mba:~ cnst$ And, indeed, there is no make or clang in the path, but it is definitely installed, though: mba:~ cnst$ find /Applications -name \"clang\" -or -name \"make\" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang /Applications/Xcode.app/Contents/Developer/usr/bin/make mba:~ cnst$ Why is there no make or clang in the path? Why MacPorts doesn't work? I notice that mentions that you have to install something from ADC, Apple Command Line Developer Tools, but ADC doesn't work since last Thursday or Friday due to their security breach, so, the developer tools are nowhere to be found. What's the proper solution here?",
"Add review queues to Android app I know there are some similar posts on adding review queues to the mobile web page. However, this is regarding the Stack Exchange Android app. I really would like to review posts and edits from the Android app, however this isn't included in the app yet. I'm not sure how it would be implemented; maybe there could be a button or something for review. Could we please see this?",
"Why is spawning threads in Java EE container discouraged? One of the first things I've learned about Java EE development is that I shouldn't spawn my own threads inside a Java EE container. But when I come to think about it, I don't know the reason. Can you clearly explain why it is discouraged? I am sure most enterprise applications need some kind of asynchronous jobs like mail daemons, idle sessions, cleanup jobs etc. So, if indeed one shouldn't spawn threads, what is the correct way to do it when needed?",
"I use Stack Overflow a lot and have noticed a certain trend that I myself got caught up in at one time of using the phrase \"I am having a problem\" in place of \"I have a problem.\" I would use this phrase for an event in the future, for example, \"I am having a steak dinner tonight,\" but for a problem that I need solved and am asking for a solution, I'd use \"I have a problem...\" What would force us to use this phrase? Is it even valid English for the present tense?"
] |
medi_sts_stackexchange_dupe
|
What does this line in the Dope Sheet mean?
|
What do the bars between keyframes mean?
|
[
"If $f(xy)=f(x)f(y)$ then show that $f(x) = x^t$ for some t Let $f(xy) =f(x)f(y)$ for all $x,y\\geq 0$. Show that $f(x) = x^p$ for some $p$. I am not very experienced with proof. If we let $g(x)=\\log (f(x))$ then this is the same as $g(xy) = g(x) + g(y)$ I looked up the hint and it says let $g(x) = \\log f(a^x) $ The wikipedia page for functional equations only states the form of the solutions without proof. Attempt Using the hint (which was like pulling a rabbit out of the hat) Restricting the codomain $f:(0,+\\infty)\\rightarrow (0,+\\infty)$ so that we can define the real function $g(x) = \\log f(a^x)$ and we have $$g(x+y) = g(x)+ g(y)$$ i.e $g(x) = xg(1)$ as $g(x)$ is continuous (assuming $f$ is). Letting $\\log_a f(a) = p$ we get $f(a^x) =a^p $. I do not have a rigorous argument but I think I can conclude that $f(x) = x^p$ (please fill any holes or unspecified assumptions) Different solutions are invited",
"I know how to compute modular multiplicative inverses for co-prime variables $a$ and $b$, but is there an efficient method for computing variable $x$ where $x < b$ and $a$ and $b$ are not co-prime, given variables $a$, $b$ and $c$, as described by the equation below? $ a x \\equiv c \\mod b $ For example, given $ 154x \\equiv 14 \\mod 182 $, is there an efficient method for computing all the possibilities of $x$, without pure bruteforce? Please note that I'm not necessarily asking for a direct solution, just a more optimized one. I do not believe that the Extended Euclidean Algorithm will work here, because $a$ and $b$ are not co-prime. Edit: Follow up question, since the first one had a shortcut: Could the be computed efficiently as well? $12260x \\equiv 24560 \\mod 24755$. $107$ needs to be one of the computed answers.",
"Can I hire my kid and start a Roth IRA for him? I own an LLC, of which I am currently the sole member. It's my main source of income. I am wondering if there is a reason why I could not do the following: Hire my child as a part-time employee of the LLC, for an annual salary of $5500. Start a Roth IRA for the kid and put the $5500 into it. Deduct the $5500 as a payroll expense for my LLC, thereby reducing my amount of taxable income. To me, this seems attractive because I'd lower my LLC's tax liability. Meanwhile, my kid would not have to pay any taxes on the $5500 because it is lower than the standard deduction. And by putting the money in a Roth IRA, he'd get an investment that would grow tax-free. It would essentially be like getting the pre-tax benefits of a traditional IRA with the post-tax benefits of a Roth. The way I see it, I'd win, my kid would win and the IRS would lose, for once. Is there any reason this wouldn't work? There is no minimum age or income for contributing to a Roth IRA. So as long as I could legally hire my kid, I don't see any obstacles.",
"It seems that with some profiles the Gravatar image is broken. I am not sure if this is an issue with SE or Gravatar, or both, so posting here. As an example, shows an error on , which shows a HTTP 500 on Gravatar. Profile image on SO: Image on Gravatar: Switching to the MSE profile of the user, the image is working (but has a different hash). Is this a bug on the SE side? Can anything be done to make Gravatar fix this? Update 2016-10-04: It happened to me again two times today. The last user profile was . Calling the service two or three times fixes the issue.",
"The div containing tags for a question doesn't reflow, causing layout issues for questions with long/many tags This appears to be a css bug which (I think) has recently been introduced. It's most visible when viewing questions on Stack Exchange sites using mobile devices (the full site with responsiveness, not the mobile site) but can easily be reproduced by resizing a browser window on a question where the combined width of the tags is large. A couple of example questions show this behaviour: On Meta Stack Overflow: On Meta Stack Exchange: Using the Meta Stack Overflow question to demonstrate (as the total width of the tags is larger): At 1100px, the tags just about fit into their containing div. At 800px, the tags appear on top of related questions: At 450px, the tags are now wider than the view (the last tag is completely off the screen), causing scroll bars to appear: This doesn't happen to lists of questions - the tags flow onto multiple lines: Reproduced on: { Firefox 81, Chrome 84, Edge 84 } on Windows 10, and Chrome 85 on Android 11.",
"I don't want my users to change the system wallpaper. How do I the lock the wallpaper down? Update Users are changing wallpaper by right clicking the picture and choosing set as wallpaper. How to restrict this behaviour? Is it possible to remove Backgrounds Tab from Appearance Preferences? If yes how?",
"How to use PSTricks in pdfLaTeX? I thought that PSTricks package was not possible to use in pdfLaTeX but . How can I force pdfLaTeX to use PSTricks then?",
"What are the correct settings for min-memory and max-memory in this use case? The server has 8GB ram, dual Intel Xeon processors, running Windows Server 2008 R2 / Sql Server 2008 Standard Edition. It's running several databases ranging from 30GB - 5GB in size. Originally the memory usage was set to the default settings (min=0 max=2,147,483,647). On these settings most of the memory usage was taken up by sqlservr.exe and the server would eventually need to be restarted every day or two. It would run normally at first but within a day start to timeout on simple operations like looking up a record using the primary key. I have changed min=4,096 and max=6,144. This results in only 1.4GB memory usage. However now all four cpus are running at 50-60% cpu usage constantly. Tasks are taking roughly 1/3rd longer to execute, although the server is much more stable.",
"Prove that, $f'(0) \\ge -\\sqrt{2}$ for a function $f$ satisfying some conditions on $(-1,1)$. Let $f:(-1,1)\\to \\mathbb{R}$ be a twice differentiable function such that, $f(0)=1$, $f'(x)≤0$, $f(x)≥0$ and $f''(x)≤f(x)$ for all $x≥0$. Prove that, $f'(0)≥-\\sqrt2$ Progress: I was able to prove $f'(0)≥-2$. For this I have applied Cauchy MVT for $f'$ and $g$ on $[0,x]$ for any $x\\in (0,1)$ where $g: [0,x]\\to\\mathbb{R}$ is defined by, $g(x)=\\sqrt{x+1}$. But, couldn't find another approach to get $-\\sqrt{2}$.",
"If directory is empty do this, If directory is not empty do that",
"Geometric proof that a Pythagorean triple has a number divisible by $3$? Can I infer from “If $a,b \\in \\mathbb{N}$ such that $(a,3)=(b,3)=1$ then $a^2+b^2\\neq c^2$ for any $c\\in\\mathbb{N}$” that any pythagorean triple has a number which is divisible by $3$? If so, how can this relationship be proved geometrically?",
"Twitter Bootstrap uses these break points for responsive design: Large Display: 1200px Default: 980px Tablet: 768px Mobile: 480px A client said they are using 1280px for their Large Display breakpoint. Is there an industry standard for these or are they just made up as we go right now?",
"Help us test the alpha version of our Android app We are in the early stages of development of the official Stack Exchange Android app and we need your help with testing. To set a few expectations: there will be bugs, crashes, and missing features, all of which will be fixed in . We are initially targeting Android devices running (Android 4.1 or higher) starting with phones (up to ~5 inch) and eventually moving our way to tablets. To register for alpha testing . After you register we will send you an invite to a private Google community where you can find a link to download our app directly from the store. The invitations will be sent out in waves, so if you don’t get an invite immediately, be patient. Crash reports will be automatically reported back to us using . Bugs or feature requests should be reported here on meta and tagged . Please do not use the Google community to report bugs. As always, we welcome your feedback and are committed to building the best mobile app possible for browsing the Stack Exchange sites.",
"Is there a way to fix a small chip in a wall's paint? I'm not sure exactly with what I've bumped my wall and caused this this: Is there anything that can be done to fix this without repainting the entire room? I've been reading around a bit, and not sure exactly what to call this, hence the weird question title. The paint is a beige-ish colour, not exactly white. The hole is about 2 x 1.5 cm in size. I've read a bit about spackling paste, though I understand that's for small cracks and holes. Here are some picture with a better resolution: and Unfortunately, I don't have much experience with this sort of thing. Help please. Also, this is in the UK, so you can tell what stores I might have access to for materials.",
"Quotient of the ring of integers of a number field by a prime ideal",
"Can you combine multiple lists with LINQ? Say I have two lists: var list1 = new int[] {1, 2, 3}; var list2 = new string[] {\"a\", \"b\", \"c\"}; Is it possible to write a LINQ statement that will generate the following list: var result = new []{ new {i = 1, s = \"a\"}, new {i = 1, s = \"b\"}, new {i = 1, s = \"c\"}, new {i = 2, s = \"a\"}, new {i = 2, s = \"b\"}, new {i = 2, s = \"c\"}, new {i = 3, s = \"a\"}, new {i = 3, s = \"b\"}, new {i = 3, s = \"c\"} }; ? Edit: I forgot to mention I didn't want it in query syntax. Anyway, based on preetsangha's answer I've got the following: var result = list1.SelectMany(i => list2.Select(s => new {i = i, s = s}));",
"Contacting prospective advisors before graduate school applications - courtesy or annoyance? Last year, rather late during the MSc application cycle (after one round of funding was allocated - tardiness due to an abrupt change in my life situation), I emailed two professors from two schools that I most wanted to go to. I had perused their webpages and decided these professors had the specific research interests closest to my own. My reason for contacting them before finishing my applications for their respective schools was that the applications included a large section for specific research questions that I wanted to investigate. So, I emailed these professors asking a bit about their work, because their webpages of course featured surface-level stuff. One professor was very receptive and invited me to Skype with her so she could better explain herself and I could ask her questions. With her support, I was able to write an application that met her standards quite quickly. The other professor told me - paraphrasing, of course - that he was too far into the process of choosing a new student for his research group to spend time helping me finish the application. Let me be clear that the latter professor didn't say any harsh words and I have nothing bad to say about him. That said, the purpose of my question is to decide whether it's better for me as a prospective MSc student to email professors ahead of time like this. Was the latter's rejection likely due to my tardiness rather my emailing him? The more receptive professor made the point that she always wanted to have prospective MSc students write their own research proposals and get her approval before submitting the application. Is this common? If so, then I guess reaching out beforehand is a good thing to do, but earlier in the application cycle? Thank you.",
"Nature of the quantum degeneracy pressure",
"How can I search for bounty questions? Is there any possible way to search and list the bountied questions separately in SE?",
"Why 220V and 110V? Why did the industry choose these seemingly unintuitive values of 110V and 220V for the mains AC? Is there a physical reason why they aren't simply 100V and 200V?"
] |
medi_sts_stackexchange_dupe
|
Show that if N is relatively prime to 10, then there exists a multiple that consists only of 1s.
|
prove that there are infinitely many numbers of the form $x = 111....1$ such that $31\mid x$
|
[
"Solving linear congruence (modular inverse or fraction) via gcd Bezout equation Isn't finding the inverse of $a$, that is, $a'$ in $aa'\\equiv1\\pmod{m}$ equivalent to solving the diophantine equation $aa'-mb=1$, where the unknowns are $a'$ and $b$? I have seem some answers on this site (where the extended Euclidean Algorithm is mentioned mainly) as well as looked up some books but there is no mention of this. Am I going wrong somewhere or is this a correct method of finding modular inverses? Also can't we find the Bézout's coefficients by solving the corresponding diophantine equation instead of using the extended Euclidean Algorithm?",
"scanf not taking in data",
"Let $R$ be a commutative Noetherian ring (with unity), and let $I$ be an ideal of $R$ such that $R/I \\cong R$. Then is it true that $I=(0)$ ? I know that a surjective ring endomorphism of a Noetherian ring is also injective, and since there is a natural surjection from $R$ onto $R/I$ we get a surjection from $R$ onto $R$, but the problem is I can not determine the map explicitly and I am not sure about the statement. Please help. Thanks in advance.",
"Exporting coordinates from LAS files to CSV? Is there any tool available for extracting the X, Y and Z coordinates from a .las file and exporting them to a .csv or similar file?",
"Can sudo be reinstalled after being removed? This seems to be a chicken-egg problem. The most common task using sudo is installing and removing software. sudo apt-get purge <appname> But sudo itself can be removed. sudo apt-get purge sudo # Do not run this command on production computers! This is where the fun comes ubuntu@ubuntu:~$ sudo bash: /usr/bin/sudo: No such file or directory Although it's obvious that no person in his right mind will purge sudo (other than me), someone can be fooled to run this command (not directly, in its hex mode, or whatever it's called) or a person could SSH in disguised as tech guru and do the mess. So is there a way of reinstalling sudo?",
"How to display Trash and Home folder icons?",
"How to correct for small p-value due to very large sample size I am running into a problem where an independent variable, which should have no predictive power on the dependent variable based on domain knowledge, comes out with very small p-value because the sample size is very large(~100,000). If I only use < 5000 data points, then the p-value becomes large enough to support the prior that the variable is insignificant. However, I don't think tweaking the sample size to get to the desired conclusion is a good practice. Is there any procedure to adjust for small p-value simply due to huge sample size?",
"I am taking an abstract algebra course and I am really interested about the topic. So much so that I spend most of my time reading supplementary materials. I consequently know a lot more theorems than the ones covered in class. In a recent quiz, I used a theorem in one of my proofs that was not mentioned in the lecture since. My professor gave me partial marks for my answer for the reason that we didn't cover this theorem in class even though the proof was completely valid! I can't really see where he is coming from. How would someone be able to use a theorem correctly if he doesn't know its proof? I was quite baffled by his comment. Do you agree with this? EDIT: The professor just Emailed me and said that after thinking for a while, he decided to award me the full mark for the question. He also mentioned that he didn't want discourage me from studying the subject (since he saw most of my previous quiz grades were full marks) and I was passionate about it, but kindly requested that I include any proof for a theorem that I cite from now on in his exams. He also sent a broadcast message to the whole class indicating this.",
"Confused about AMD/Intel When I go to the downloads page to get Ubuntu, it automatically downloads the AMD version, but my computer has no hardware with AMD on it. I only have Intel and Nvidia. Also, when I install this AMD version on my computer, it works (other than the constant random freezing of the computer when I use Ubuntu). I don't really understand why the amd version works on a computer with an intel processor.",
"Number of $n^2\\times n^2$ permutation matrices with a 1 in each $n\\times n$ subgrid I found the following question in a paper I was trying to solve: The following figure shows a $3^2 \\times 3^2$ grid divided into $3^2$ subgrids of size $3 \\times 3$. This grid has $81$ cells, $9$ in each subgrid. Now consider an $n^2 \\times n^2$ grid divided into $n^2$ subgrids of size $n \\times n$. Find the number of ways in which you can select $n^2$ cells from this grid such that there is exactly one cell coming from each subgrid, one from each row and one from each column. My try: Since we have $n^2$ rows, $n^2$ columns and $n^2$ subgrids in total, we have to choose one and only one cell from each of them. Let's choose them one at a time. We can choose the first cell in $n^4$ many ways. Then, we'll have to avoid that subgrid, that column and that row that we've chosen the first one from when choosing the second cell. So, we have $n^4-n^2-2n(n-1)$ choices. We can continue this to get the total number of possible ways. But, I think there's a hole. Say, we've chosen the first cell from the subgrid of the up-left corner and the second from the subgrid just right to it so that it doesn't violate any rules. Then, when finding the number of ways we can choose the third cell, we would have substracted some of the cells twice. I think you get it. Please, if anyone can help me solving this problem, it'd be greatly appreciated.",
"\"Z-level\" in TikZ",
"Quotient rings of Gaussian integers I used this isomorphism today but now I'm having trouble justifying it. The norm function isn't additive so I can't come up with a ring isomorphism to prove the following: For any $\\,a+bi\\in\\Bbb Z[i],\\,\\gcd(a,b)=1$, we have a ring isomorphism $$\\Bbb Z[i]/\\langle a+bi\\rangle\\,\\cong\\Bbb Z/(a^2+b^2)\\Bbb Z=:\\Bbb Z_{a^2+b^2}.$$ Could someone show me an isomorphism between these rings to prove this?",
"Search favorite questions by tag Favorite questions on Stack Overflow I feel is highly unused feature of all the features provided on the site. (This again is my personal opinion) I have favorited around 90 question till date and it gets very very very difficult if I want to search for a question which I remember I have favorited, which defeats the entire purpose of one favouriting a question, so here is my small suggestion. Favorites by tags Screen 1 Screen 2 Please share your opinions on this.",
"Manipulating Partial Derivatives of Inverse Function In lectures we're told: $$\\dfrac {\\partial y} {\\partial x} = \\dfrac 1 {\\dfrac {\\partial x} {\\partial y}}$$ as long as the same variables are being held constant in each partial derivative. The course is 'applied maths', i.e non-rigorous, so don't confuse me. But anyway, if we have: $$\\xi = x - y \\qquad \\eta = x$$ Then $\\dfrac {\\partial x} {\\partial \\xi} = 0$ and $\\dfrac {\\partial \\xi} {\\partial x} = 1$. The rule presumably fails because one of the partial derivatives is $0$. But then isn't this rule useless? Since I cannot use it without checking that the partial derivative isn't in fact $0$, but then I've worked out the partial derivative manually anyway.",
"Cross-site AJAX requests I need to make an AJAX request from a website to a REST web service hosted in another domain. Although this is works just fine in Internet Explorer, other browsers such as Mozilla and Google Chrome impose far stricter security restrictions, which prohibit cross-site AJAX requests. The problem is that I have no control over the domain nor the web server where the site is hosted. This means that my REST web service must run somewhere else, and I can't put in place any redirection mechanism. Here is the JavaScript code that makes the asynchronous call: var serviceUrl = \"http://myservicedomain\"; var payload = \"<myRequest><content>Some content</content></myRequest>\"; var request = new XMLHttpRequest(); request.open(\"POST\", serviceUrl, true); // <-- This fails in Mozilla Firefox amongst other browsers request.setRequestHeader(\"Content-type\", \"text/xml\"); request.send(payload); How can I have this work in other browsers beside Internet Explorer?",
"Do the electric and magnetic components of an electromagnetic wave really generate each other? Frequently when EM waves are taught, it is said that the change in electric field causes a change in the magnetic field, which then causes a change in the electric field, and so on and so forth. But from my understanding of basic electromagnetics, it is not necessarily a changing electric field that creates a change in magnetic field, but instead an accelerating charge. and it is this charge that creates both the electric and magnetic field. Again, from my understanding, a changing magnetic field is not generated by a changing electric field, but instead just happens to always be present perpendicular to a changing electric field due to the laws of electromagnetism. Am I wrong? Or is the \"mutual generation\" concept between the electric and magnetic components of an EM wave an actual thing?",
"What is your simplest explanation of string theory?",
"Apex Array Slice Sometimes I like to use a Queueable to perform work on a list of Ids or sObjects over the heaver Batchable Interface. However, to do this, we need a very solid implementation of an Array slice method. Most other programming languages have a native slice method, but Apex does not. While I have written my own version of slice and it's working fine, I would be interested in hearing about other implementations of slice - the more efficient the better. My version is in this Utilities class on github It's modelled after the Javascript version described on the mozilla site I would expect that the usage and output be similar to this: String[] arr = ['zero', 'one', 'two', 'three']; String[] sliced = Utilities.slice(arr,1, 3); System.debug(arr); // ['zero', 'one', 'two', 'three'] System.debug(sliced); // ['one', 'two']",
"How to uninstall chrome OS and install Ubuntu 16.04 fully (not Crouton) on a Chromebook I want to uninstall Chrome OS and install Ubuntu instead. How would I do this?",
"Autorun.inf in Windows 8/8.1 for USB Drives I have created a file named autorun.inf to make one of my software setup run when the usb is plugged into Windows 8/8.1 OS . This is my autorun.inf code: [AutoRun] shellexecute=\"Mem.exe //It would be nice if i could add path to this like my Doc//mem.exe UseAutoPlay=1 Is there any software that let's us to create auto-run files for USB Sticks? Is there any way to add new options in right click menu only on my USB window?"
] |
medi_sts_stackexchange_dupe
|
Pass arguments of .BAT file to executed .EXE file
|
Does %* in batch file mean all command line arguments?
|
[
"As discussed here: offering actual money as a bounty sets the wrong incentives. However I would suggest giving users the ability to pay with money for offering a bounty regardless of their reputation. The bounty would still count as reputation for the receiving user but would not be discounted from the paying user's reputation.",
"Show that $\\frac{1}{x_1^2}+\\frac{1}{4\\cdot x_2^2}+\\ldots+\\frac{1}{n^2\\cdot x_n^2}\\leq\\frac{3n-2}{2n-1}$. Let $$x_n=\\frac{1}{1^2}+\\frac{1}{2^2}+\\ldots+\\frac{1}{n^2},\\;\\forall n\\geq 1.$$ Show that $$\\frac{1}{x_1^2}+\\frac{1}{4\\cdot x_2^2}+\\ldots+\\frac{1}{n^2\\cdot x_n^2}\\leq \\frac{3n-2}{2n-1}.$$ I tried to prove it by induction but I got a contradiction.",
"Which is the best way to install new hplip versions? Hplip is the software that drives most hp printers. Usually new printers are only supported in newer versions of the software. Canonical doesn't backport new versions packages to older Ubuntu versions, that means that newer drivers are not going to be available in the Software Center of older Ubuntu versions. As an example yesterday I needed to hook a hp 1005p to a computer running 8.04. I was forced to install a newer hplip than the version available in the repositories. I installed it using the script from the hp page, but I'd like to know other alternatives. Which is the best (technically, not the easiest) way to install it and why?.",
"I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this is that I'm not sure if there's a way to mount an encrypted SD card on Windows (or other desktop OS's) When I encrypt the SD card on my Samsung Galaxy S5, is it using a known implementation of encryption, or is it something that only works on Android (or perhaps Samsung) phones? I do not want to use USB connection to my phone to access my SD card, it's terrible. Mounting the SD card is much easier and faster and less annoying. EDIT: just to clarify, I am NOT talking about adoptable storage. I want a portable encrypted SD card that can both be read on PCs and Android phones (i.e. I want to be able to remove the SD card from my phone, plug it into my PC, provide a password to decrypt and read/write it like any other SD card)",
"What happens when Wild Shape/Polymorph runs out in a space that's too small?",
"SSH and home directory permissions",
"What's the best way to version CSS and JS URLs?",
"Php string not working in Wordpress Functions.php (trying to fetch 1st category for each blog that post appears in the sidebar) I am trying to fetch 1st category for each blog post that appears in the sidebar of any blogpost landing page. I tried multiple options to add the 2nd block code to the 1st block at the line ".wp_get_post_categories ($post_id)." but I could not find any solution. Please help me with that and if you need closer to the code just let me know. 1st Block $related_blog .="<div class='related-blog'> <div class='row'> <a href=".get_the_permalink()."> <div class='col-lg-4 col-md-4 col-xs-4 blog-image'> <img src=".$image_related[0]."> </div> <div class='col-lg-8 col-md-8 col-xs-8 blog-text'> <strong><p class='related-blog-title'>".get_the_title()."</p></strong> </a> <span class='related-blog-sidebar-content '>".substr(get_the_content(),0,250)."...</span> <p class='related-blog-sidebar-category'> ".wp_get_post_categories ($post_id)." </p> <a class='related-blog-sidebar-link' href=".get_the_permalink().">Read More </a> </div> </div> </div>"; 2nd Block <?php $category = get_the_category(); ?> <a href="<?php echo get_category_link($category[0]->cat_ID); ?> "> <?php echo $category[0]->cat_name; ?> </a>",
"How to install Android Studio on Ubuntu?",
"Determining true mean from noisy observations",
"How long does it take for DNS records to propagate?",
"Can I completely disable Cortana on Windows 10? Windows 10 has Cortana, which I don't like. I disabled it as soon as I could. However, looking in Task Manager, the process for Cortana is still running, and can't be effectively terminated: ending the task simply results in the process respawning a few seconds later. Using the command taskkill /IM Cortana.exe /F has the same result: the process respawns. Is there any way to disable Cortana so that the process doesn't keep running in the background, and doesn't respawn if terminated?",
"At the end of . the author states that Suppose we have $n \\times n$ matrix $A$ having only positive elements and satisfying the property $a_{ij}=1/a_{ji}$ (a matrix satisfying this property is called a reciprocal matrix). If its largest eigenvalue $\\lambda_{max}$ is equal to $n$, then the matrix $A$ satisfies the property (consistency property) $a_{ij} a_{jk} = a_{ik}$ where $i,j,k=1,2,...,n$. I'm not convinced this theorem is true. Could anyone help?",
"Evaluation Symbol: Consistent Implementation",
"After I installed plank as my dock panel, I removed the default Ubuntu dock by running sudo apt-get remove gnome-shell-extension-ubuntu-dock Then Ubuntu dock is not on my desktop anymore, but when I open the application menu or Activities overview it is there, how can I hide it? Removed dock shows on the left:",
"I've been having trouble getting my server to send email and I haven't for the life of me figured out how to fix it. If anyone could give me some simple pointers, that would be muchly appreciated! May 19 15:36:03 ubuntu-12 sm-mta[2484]: s4JFa3jp002484: from=<[email protected] production>, size=412, class=0, nrcpts=1, msgid=<[email protected] production>, proto=ESMTP, daemon=MTA-v4, relay=ip6-localhost [127.0.0.1] May 19 15:36:03 ubuntu-12 sendmail[2483]: s4JFZw4c002483: [email protected], ctladdr=www-data (33/33), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30123, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s4JFa3jp002484 Message accepted for delivery) May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002484: to=<[email protected]>, ctladdr=<[email protected]> (33/33), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120412, relay=mailserver.mycompany.com. [213.171.216.115], dsn=5.0.0, stat=Service unavaila$ May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002484: s4JFa3jp002487: DSN: Service unavailable May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002487: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent",
"Can you trade from Pokemon Red on GBA to Pokemon gold on virtual console? I have a Game Boy Advance SP and Pokemon Red GEN 1, and I'm curious if it is possible for me to trade a Pokemon from Red to the Virtual Console release of Pokemon Gold on the 3DS",
"I asked that turned out to have multiple correct answers. How do I pick between them to determine which to accept? All of the answers were different. They were not the same answer given multiple times.",
"Natural Sort in MySQL",
"Consider there is a box of mass $m$ at rest on the floor. Most books give an example that we need to do a work of $mgh$ to lift the box $h$ upward. If we analyze this work done, the external force acting on the box by us should be equal to the weight of the box. Therefore the net force is zero which in turn there is no acceleration. If there is no acceleration and the initial velocity of the box is also zero, how can the box move upward?"
] |
medi_sts_stackexchange_dupe
|
Find the smallest positive integer $n$ such that $\frac n2$ is a perfect square, $\frac n3$ is a perfect cube and $\frac n5$ is a perfect 5th power.
|
Find $n$ such that $n/2$ is a square, $n/3$ is a cube, and $n/5$ a fifth power
|
[
"How can I vertically align the numerators of two fractions?",
"Determining likely relationship based upon autosomal DNA shared cM",
"How do I remember which units counter which in StarCraft 2?",
"Can't install aircrack-ng Whenever I attempt to install aircrack-ng in terminal I get the following error: Package aircrack-ng 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 However the following packages replace it: iw E: Package 'aircrack-ng' has no installation candidate\" I'm new to Ubuntu and so have no idea what to do.",
"Should my first trip be to the country which issued my Schengen Visa?",
"A common mistake for beginning group theory students is the belief that a quotient of a group $G$ is necessarily isomorphic to a subgroup of $G$. Is there a characterization of the groups in which this property holds? If this question is too broad, I might ask if such a characterization exists for $p$-groups. History: I originally posed the opposite question, regarding groups for which $\\exists N\\unlhd G\\,:\\, \\not\\exists H \\unlhd G\\, \\text{ s.t. } H \\cong G/N$, and crossposted this to . I received an answer there to the (now omitted) peripheral question about probability, which shows that most finite groups probably have this property. After this, I changed the question to its current state, as this smaller collection of groups is more likely to be characterizable.",
"Do plugin files have to follow a specific convention to be \"picked up\" by WordPress?",
"Benefits of using backtick (`) in MySQL queries? In MySQL we can create queries with or without the backtick (`) symbol. Example: SELECT * FROM TEST; SELECT * FROM `TEST`; Both works fine in mysql-console. Is there any technical difference between them? Is there any benefit using (`) over over simple queries?",
"Force applied off center on an object",
"How to make traces on an universal PCB? I hope this question won't be closed as too subjective. I'd like to know best practice - how to make traces on universal PCB's with individual holes without traces (like the following image). My idea is to bend the ends of discrete components and use them to make traces to other components. Is this approach acceptable, or nasty? Although this is called \"prototype\" PCB, I'd like to use it for my simple final circuits (low frequency, low current applications), because I hope it will save time.",
"Which is the correct gerund clause? 'People's killing animals', or 'People killing animals ... '?",
"How can I remove duplicate rows?",
"Dates and times: \"on\", \"in\", \"at\"? I’m often confused when I speak about times and dates. What is the rule for using on, in, and at in the following sentences? I will do it ___ Tuesday. We married ___ March. He returned ___ the same day. Every day ___ the same time, I walk the dog.",
"How to escape @ characters in Subversion managed file names?",
"Came across this little practice exercise, and I couldn't properly convince myself of this relation: Let $X,Y \\subset \\mathbb{R}^n$ and $g:X\\times Y \\rightarrow \\mathbb{R}$. Show that $$\\sup_{y \\in Y} \\inf_{x \\in X}g(x,y) \\leq \\inf_{x \\in X} \\sup_{y \\in Y} g(x,y).$$ My thinking was starting with $\\inf_{x \\in X}g(x,\\overline{y}) \\leq\\sup_{y \\in Y} g(\\overline{x},y)$, but does that even hold for all $\\overline{x} \\in X$ and $\\overline{y} \\in Y$?",
"How can I enable shell-escape? I need to enable shell escape for a package that I want to use. What is shell escape exactly, and how do I enable it in my editor or compiling toolchain? Links to answers for different editors/toolchains, in alphabetical order: AUCTeX (Emacs) , Note: this is a FAQ post. Related Meta question: . Please add an answer for your own editor/toolchain if it is missing. Thank you! When adding an answer, please indicate if the setting is permanent or per-document, and/or describe how you can add a button, shortcut, menu item, etc. to make it easy to switch between shell-escape and regular compilation.",
"Gauss law and electric flux Can you please explain me what is electric flux. I know it is $\\int\\mathbf{E}\\cdot\\mathrm{d}\\mathbf{S}$, but in many place its given flux means to flow. But how does electric field \"flow\"? Also if we assume its the electric field lines (can you also specify what exactly are these) are \"flowing\" how does $\\int\\mathbf{E}\\cdot\\mathrm{d}\\mathbf{S}$ give the total electric field lines passing through that area? (can you please elaborate when you explain?) Pls. I know it shouldn't come here but there is no page for electric flux.",
"GNOME has grey bar on top and bottom after upgrade from 17.04 to 17.10, how do I fix it to how it's supposed to look? This is how my desktop looks after the update, the top bar turning grey and the addition of the bottom bar happened after the update. From my searching of screenshots this does not appear to be how it is supposed to be. Is there any way to fix it?",
"Is there any criterion (theorem or algorithm) to find out a given polynomial $f(x)$ is irreducible over the field $\\mathbb{F}_2$?",
"Sci-Fi book female fighter pilot All I remember about the book is that the protagonist was a human female fighter pilot, she has short hair, not sure if it was blond or auburn and she was involved in making peace with the alien race. The alien race was invading Earth, but because of her they stopped, surrendered and because of her helped Earth improve its technology. I remember that she melded with something and was starting to sort of think like them and lose a bit of her humanity. It was set in the not too distant future. I believe I read it in the 90s."
] |
medi_sts_stackexchange_dupe
|
How many versions of Kat were there in the car chase sequence in Tenet?
|
Can someone explain how Kat experienced this part of Tenet from her perspective?
|
[
"How can I randomise the output of a redstone circuit? I have 5 buttons and only one of these can be correct, all others must be false. These 5 outputs will go into 2 outputs, in between there needs to be a circuit which changes which single button out of the 5 will go down the "correct" output of the final 2. The 4 remaining buttons must go to the second of the final 2 outputs. Both final outputs must give out a true signal for a brief period the same as a button on its own would produce. There should also be a way of activating the circuit. Not sure if that is explained well enough so I have made a basic diagram of what I need. The diagram shows how I need the signal to be split. However in between the buttons and the final two wires there needs to be a circuit (marked by the grey box). This circuit changes the single button connected to the left wire. The right input should start the circuit and randomise the 5 buttons. There are no limits to size, amount of materials used or method used. This question is similar to the one asking about , but I am specifically working with Redstone circuitry - the commands solutions do not apply here",
"Can't install experimental modules",
"Parallel execution of bash script I have a table URL_Experiment in my database (mySQL database). I have 2 million URL links in this table. For each URL, I am checking if some particular text is present in the URL and updating the information back in my URL_Experiment table. Now, I need to make the script run fast. The easy solution that comes to my mind is: split the URL_Experiment into 10 tables (each with 200,000 rows) and run the script 10 times simultaneously. This way, I can ensure that the updates happen properly. But for this, I need to save 10 scripts, each accessing the correct table (I need to rename the tables from 1 to 10). Though the above seems a pretty neat solution, I am looking for a more sophisticated solution. Something which will execute the same script simultaneously (in parallel) as 10 processes. My concern is the execution time. I do not want the resources to be wasted when they can be utilized.",
"Is there a way to get DateTime value from timestamp type column?",
"Could not open input file: composer.phar",
"Let $(a_k)$ be a sequence of real numbers and let $b_k=\\frac{a_1+a_2+\\dots a_k}{k}$ for each $k\\in \\mathbb{N}$. Prove that if $(a_k)$ converges to $\\alpha\\in \\mathbb{R}$, then the sequence $(b_k)$ also converges to $\\alpha$. My answer: Let $\\epsilon > 0$. Since ($a_k$) converges to $\\alpha$, then there exists a $N_{\\epsilon1}\\in\\mathbb{N}$ such that $|a_k - \\alpha | < \\frac{\\epsilon}{2}$ for all $k \\geq N_{\\epsilon1}$. Notice that $\\frac{a_1+...+a_n - n\\alpha}{k}$ converges to $0$ as $k$ approaches infinity. Thus, there exists $N_{\\epsilon2}\\in\\mathbb{N}$ such that $|\\frac{a_1+...+a_n - n\\alpha}{k}|<\\frac{\\epsilon}{2}$ for all $k>N_{\\epsilon2}$. Now, let $N= $max$ (N_{\\epsilon1},N_{\\epsilon2})$. Then for any $k>N$ we get, $$\\begin{array}{rcll} |b_k-\\alpha| &=& |b_k - \\alpha*1|&\\\\ &=& |\\frac{a_1+...+a_k}{k} - \\frac{k\\alpha}{k}|&\\\\ &=& |\\frac{a_1+...+a_n}{k} + \\frac{[a(n+1)+...+a_k]}{k} - \\frac{(k-n)\\alpha}{k} - \\frac{n\\alpha}{k}|& \\text{(notice that $N_{\\epsilon1}\\leq N<k$)}\\\\ &=& |\\frac{a_1+...+a_n - n\\alpha}{k} + \\frac{[a(n+1)+...+a_k - (k-n)\\alpha]}{k}|&\\\\ &=& |\\frac{a_1+...+a_n - n\\alpha}{k} + \\frac{[(a(n+1) -\\alpha) + ... + (a_k - \\alpha)]}{k}|&\\\\ &=& |\\frac{a_1+...+a_n - n\\alpha}{k} + \\frac{(a(n+1) -\\alpha)}{k} + ... + \\frac{(a_k - \\alpha)}{k}|&\\\\ &\\leq& |\\frac{a_1+...+a_n - n\\alpha}{k}| + |\\frac{(a(n+1) - \\alpha)}{k}| + ... + |\\frac{(a_k - \\alpha)}{k}|& \\text{(by the triangle inequality)}\\\\ &=&|\\frac{a_1+...+a_n - n\\alpha}{k}| + \\frac{|(n+1) - \\alpha|}{k} + ... + \\frac{|a_k - \\alpha|}{k}&\\\\ &<& \\frac{\\epsilon}{2} + [\\frac{\\epsilon}{2}/k + ... + \\frac{\\epsilon}{2}/k]& \\\\ &=& \\frac{\\epsilon}{2} + \\frac{\\epsilon}{2}*\\frac{(k-n)}{k}&\\\\ &<& \\frac{\\epsilon}{2} + \\frac{\\epsilon}{2}& \\text{(since $k-n<k$)}\\\\ &=& \\epsilon& \\end{array}$$ And since we found such an $N$ for arbitrary $\\alpha$, then $(b_k)$ converges to $\\alpha$ by definition. I'm not sure i kept all my variables straightened out. How does this look and if you have a better idea let me know!",
"How does ownership in fractional shares work? I've been trying to find out some more information about fractional shares, and how they work. I understand conceptually, you own x% of a share rather than x \"full\" shares, but I'm curious about how such a system is implemented. As I understand it, in a \"traditional\" purchase of shares, the role of a broker is to act as an executor on your behalf, and does not hold any assets themselves. In the case of a fractional share, is this then not the case? For example, the broker holds the complete shares, and then just ensures that they keep an internal record of each partial owner in their system? So there would be no external record of partial ownership? Thanks!",
"How to calculate $\\lim_{n\\to\\infty}(1+1/n^2)(1+2/n^2)\\cdots(1+n/n^2)$? How can we compute the following limit: $$\\lim_{n\\to\\infty}(1+1/n^2)(1+2/n^2)\\cdots(1+n/n^2)$$ Mathematica gives the answer $\\sqrt{e}$. However, I do not know to do it.",
"Installing AMD & Intel dual graphics",
"Reading about I understood that black holes lose energy over time - which is logical in some way (otherwise they would be there forever and heat death would never technically happen) But - how exactly does it \"evaporate\"? What happens when it no longer contains enough mass within it's ? Does it explode somehow? Transforms into \"regular matter\"? Simply vanishes over time? Or?",
"I'm trying to make a list of ways to tell if a given degree sequence is impossible. For example $3,1,1$ is not possible because there are only 3 vertices in total so one can't have degree 3. The list so far vertices has degree equal to or larger than number of vertices sum of degrees is odd for n vertices if one has degree n-1 and another has degree 0 for n vertices the sum of the degrees cannot be greater than $n(n-1)$ because this would be have more edges than a complete graph",
"The type initializer for 'Emgu.CV.CvInvoke' threw an exception If anyone who use Emgu openCv wrapper in .net 3.5 framework,please tell me why this exception appears,Its inner exception is unable to load cxcore.dll.",
"Can you use your off-handed weapon for your main attack action? My friend is 2 weapon fighting a flesh golem. He has one sword that does lightning damage, and one sword that does fire damage. His right hand holds the lightning sword, and his left hand holds the fire sword. My friend wants to attack with his left hand because lightning heals the golem. However, the DM says that because his left hand is his left hand, he can't use it as his \"main\" hand, and only attack with it. Is this rules as written/intended?",
"Can two different planes share the same flight number?",
"I've looked through a number of the \"Vote too old to be changed\" questions, but I think this one's different. I gave a downvote to an answer I thought had a critical defect, and I left a comment describing the defect. The answer was edited to satisfy my criticism, but it was done within the short grace period where edits aren't recorded as such. When I try to cancel my downvote I get the error - \"Your vote is now locked in unless this answer is edited\" - but it was edited! In reference to this answer:",
"For most OpenID options, it doesn't much matter if you pick the \"Sign up\" versus the \"Log in\" tab on the sign in page. Whether you have an account on the site or not, it just does the right thing. Not so if you are using the Stack Exchange OpenID service: (Bonus bug: the reCAPTCHA box is a bit too wide for the expanded \"Sign up using Stack Exchange\" container.) Since we already have collected an email and password (well, two copies of the password), could we not check to see if they match and automagically log the user into their SE OpenID? If not, the error needs to be reworded somehow to explain that while the email might have been used to create a Stack Exchange OpenID, that doesn't mean they can't log in with that OpenID to create an account. Counterintuitively, they need to use the even if they've never had an account there before. The link adds to the confusion since it sends an email that leads off with: Someone requested an account recovery on The Workplace Stack Exchange for [email protected], but we don't have an account on this site that matches this email address. (For people with accounts on other sites and/or Stack Exchange OpenIDs, this paragraph is followed by other instructions that would probably work if followed. By that time I imagine many users are at wit's end.) To simplify: If a user already has a Stack Exchange OpenID (likely because they have an account on another site) they should be able to use the to sign up for an account or there should be clear instructions on what to do next if they fail.",
"Abiword starts automatically each restart Abiword starts automatically each restart, on any user. Already checked out Startup Applications. Remember session is turned off. () Additional info, may be it'll give a clue - I configured VNC server on this machine to run, so sometimes, in additional to regular Ubuntu/Unity sessions I start XFCE4 session. I think this behavior started after VNC4 configuration, but ~/.vnc/xstartup does not contain abiword - just regular xfce startup stuff. What are additional places where I can look?",
"How to disable the \"Get Windows 10\" icon shown in the notification area (tray)? This icon showed up in my taskbar notification area today and I cannot seem to get rid of it: Clicking on it displays the following screen: So how do I disable or remove the \"Get Windows 10\" icon?",
"When in a group chat, if many messages are exchanged between other people in the group, when I check my Whatsapp, the messages are grouped according to sender and not chronologically. I know that my phone isn't the problem as I have recently changed my phone, however, I'm still experiencing the same problem. I have tried uninstalling and re-installing WhatsApp on my phone, and the same problem still occurs.",
"I recently put a bounty on a question regarding the . I did this as the only two answers on that page are not satisfactory and I wish to encourage a tractable answer. I am concerned that when the bounty period expires, if I do not select an answer for the bounty that it may be awarded automatically to one of these speculative and unsatisfactory answers. How might I prevent that? I could put an answer of my own stating \"no satisfactory sources are available\" and award the bounty to that, however I feel that there should be a better way. I stress that I put the bounty on the question specifically because the current answers are not satisfactory and I do not want to award them."
] |
medi_sts_stackexchange_dupe
|
LNK 2001 unresolved external on NPPluginFuncs struct ptr as static class member
|
What is an undefined reference/unresolved external symbol error and how do I fix it?
|
[
"Detailed proof that no essential singularity at infinity implies polynomial",
"Does a word rhyme with itself?",
"Suppose A is a 3*3 symmetric matrix s.t. $$\\begin{pmatrix} x & y & 1 \\\\ \\end{pmatrix} A \\begin{pmatrix} x \\\\ y\\\\ 1\\end{pmatrix} = xy -1 $$ let p be the no. of positive eigen value of A and q = rank(A)-p, then p=? q=? what matrix A should be I can't find??",
"Instantiating object of type parameter",
"Me and my friends want to listen to music together. Two of us have Bluetooth Headphones (Beats Solo2 Wireless, Beats Studio Wireless) and one has a wired headset. Is there any way to use all three of these together?",
"Failure to download extra data files - ttf-mscorefonts-installer This is an old problem that deserves a bugfix, but it's getting beyond a joke now and I can't seem to work around it. I keep getting the dreaded failed To download extra data files error in relation to ttf-mscorefonts-installer: Repeatedly asking it to try again doesn't help, additionally, repeatedly trying- sudo rm -rf /var/lib/update-notifier/package-data-downloads/partial/* sudo apt-get --purge --reinstall install ttf-mscorefonts-installer Isn't working either. I just get at least one 404 error from one of the sourceforge links that stops it working- Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 20 not to upgrade. Need to get 0 B/29.5 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 352049 files and directories currently installed.) Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ... mscorefonts-eula license has already been accepted Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ... Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ... Processing triggers for update-notifier-common (3.168.2) ... ttf-mscorefonts-installer: processing... ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB] Fetched 198 kB in 0s (339 kB/s) W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB] Fetched 554 kB in 0s (575 kB/s) W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arial32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe Get:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [168 kB] Fetched 168 kB in 0s (306 kB/s) W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arialb32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe Err:1 http://downloads.sourceforge.net/corefonts/comic32.exe 404 Not Found W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/comic32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) E: Failed to fetch https://netix.dl.sourceforge.net/project/corefonts/the fonts/final/comic32.exe 404 Not Found E: Download Failed Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ... The specific point at which it fails to download changed - it seems to be a sourceforge reliability problem, but this has now been going on weeks and results in annoying popups as above all the time. How do we get this fixed and/or how can I work around it for now.",
"What does UNDEF and notype() mean when seeing the C++ library information using dumpbin?",
"No 'Open with' option to open/run jar file with openjdk",
"If the dot product between two vectors is $0$, are the two linearly independent? If we have vectors $V$ and $W$ in $\\mathbb{R^n}$ and their dot product is $0$, are the two vectors linearly independent? I can expand $V_1 \\cdot V_2 = 0 \\Rightarrow v_1w_1+...+v_nw_n = 0$, but I don't understand how this relates to linear independence.",
"I'm using Ubuntu 13.04 and I have ASUS X550V laptop. This is my rfkill list: 0: asus-wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: asus-bluetooth: Bluetooth Soft blocked: no Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: yes 3: hci0: Bluetooth Soft blocked: no Hard blocked: no Before you start going: Hey, just turn on your hardware switch, dummy... my hardware switch is Fn + F2 and it works perfectly fine on my Windows boot. But, on my Ubuntu boot it does nothing... All the other Fn + F_ combos work (turn off the touchpad, screen turn off, screen brightness, sound) and they give some kind of visual indicator when I press it. My lshw log: *-network DISABLED description: Wireless interface product: AR9485 Wireless Network Adapter vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:03:00.0 logical name: wlan0 version: 01 serial: 24:0a:64:28:b4:25 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=3.8.0-19-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn resources: irq:17 memory:f7900000-f797ffff memory:f7980000-f798ffff",
"Install 0bda:f179 Realtek Semiconductor Corp. (rtl8188fu), or Netgear rtl8812au USB WiFi adapters 19 DEC 2019 - I really, really wanted to use the Cinnamon desktop to set up a new system my 83-year-old Dad could navigate. I struggled to get any USB WiFi device working with Debian using Cinnamon, gave up and installed Ubuntu, but still struggled (I think) because I had immediately changed to the Cinnamon desktop before attempting to get the WiFi device set up. It just kept prompting for the password, no matter what fixes I tried. Not sure if Cinnamon was the problem, or if I just hadn't found the right solution online.",
"My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to dial (PPPoE) using a username and password. Gateway, subnet mask, IP, DNS servers all stayed the same. But since then, I haven't been able to browse certain websites on Ubuntu, even though there have been no such issues on Windows. Some example websites are - (although share.ovi.com loads fine, and nokia.com loads fine), (works on Chrome(ium) and Opera but not on Firefox (both 3.6 and 4)) Mozilla and other random websites. Some of the websites that don't load show timeout messages and for some websites (like the moz addons one), the browser will keep trying to load without an end (I've left it like that even for hours but not noticed anything different happen). I have tried changing the DNS servers to public ones. I have even tried booting from a Fedora LiveCD and then changing the DNS to those (and even to the ones of OpenDNS), but the exact same thing happens. What could be inherently wrong with some config within Linux itself that is causing this problem? Does anyone know why this is happening and how it can be fixed? Note: This question has been on SU, but not gotten any responses. Update: Just saw that someone else was having similar problem and solved it by putting a NetworkManager.conf file in /etc/NetworkManager. What needs to be in that file?",
"According to the official sources, is the radioactive green crystal that serves as Superman's Achilles' heel actually composed of the noble gas krypton, or is it supposed to be made out of some other substance? If so, what is that substance?",
"Protect .NET code from reverse engineering? Obfuscation is one way, but it can't protect from breaking the piracy protection security of the application. How do I make sure that the application is not tampered with, and how do I make sure that the registration mechanism can't be reverse engineered? Also it is possible to convert a C# application to native code, and is too costly. C# provides lot of features, and is the ideal language for my code, so writing the whole codebase again in C++ is out of the question. Secure certificates can be easily removed from the signed assemblies in .NET.",
"Parallel website running a copy of my original website We have been working on a gaming website. Recently while making note of the major traffic sources, I noticed a website that I found to be a carbon-copy of our website. It uses our logo, and everything else the same as ours, but with a different domain name. Their domain name is not however pointing to our site because at several places the links are like: carbonccopy-website/our-links. This website even has links to some images as: carbonccopy-website/our-images. How could they have done that, and what can I do to stop it?",
"Could authors overturn recent community review decisions? When new users edit a post, the review is posted to a review queue and other reputable users can review the edit and choose to approve or reject it. However, I feel that a lot of people do it pretty quickly. to . He was fixing broken links in the answer, and as soon as I saw it I knew it would have been a good edit. However, only one reviewer found so, and three others rejected it. I ended up manually doing the edit, and poor Onato didn't get any credit for it (in fact, he got an undeserved 'rejected' for it). The point I want to bring is that, first and foremost, the person who wrote the answer probably knows best if an edit is acceptable or not. Could there be a time frame where the author of the answer (or question) can overturn a review decision? EDIT: one more was rejected by overeager reviewers as well. I absolutely disagree with the notion that the community knows better. The community repeatedly proves that it only wants Internet points. EDIT: I told a commenter to fix something himself in one of my posts, but . I went back and applied the changes myself. It's not credited to him and his stats got a rejected edit now (which really should be an approved edit). The reason (\"This edit is incorrect or an attempt to reply to or comment on the existing post\") is blatantly wrong and shows once more that the community has much less insight into edit quality than the people who wrote the answers in the first place. It's true that the UI didn't make it easy for them, but those guys clearly didn't read the comment thread; I did, because as the author, I was notified. EDIT: This time around, a user fixed a blatant (though small) mistake in one of my accepted answers. One hour later, another, unrelated 10k user , even though it had been approved by the community. I went back to undo his undo. This goes on again to show that an active user is the best judge for the quality of an edit, and that since I can have the last word on edits on my own posts, I should be allowed to retroactively overturn a community edit vote and accordingly credit the person who proposed the change. EDIT I wrote a years ago. Some guy found it and tried to fix it but the community thought that it wasn't worth it. I think that the changes are great and once more I'll integrate them by myself into my post. Unfortunately for this user, he won't be credited for it. I still don't understand why I can't have a binding vote on edits on my posts.",
"How can I play encrypted DVD movies? My machine can't play encrypted DVDs on a fresh install. How do I add this capability? Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so. See the . Will I be able to play DVD movies from ?",
"Handle null value using Guava MapMaker/CacheBuilder",
"$X/{\\sim}$ is Hausdorff if and only if $\\sim$ is closed in $X \\times X$",
"I have just discovered that my local bank, Nordea, has decided to remove the only good thing about their entire operation: the so-called \"simplified login\" feature on their website, which allows (soon allowed) the customer to log in to a kind of very limited \"read-only\" mode which basically just allowed you to see your current balance, the last few transactions (limited descriptions) and see whether or not there are any new \"customer support messages\", but not read those messages, not make any kind of payments, edit accounts, etc. Now, they will only allow \"full\" logins, which 100% prevents any kind of automation and requires you to sit with a hardware device and enter numbers into it and then into the webpage before it allows you to see as much as your account balance. Other than being very obnoxious for every customer, it also blocks me and other \"advanced\" users out from our custom-programmed bots which have always regularly logged in with that \"simplified\" login method just to regexp out the current balance/new messages and then notify us via whatever mechanism we use privately. I have previously asked them if they have any kind of JSON/RSS API of any kind, but no. They don't even have as much as e-mail notifications! Nothing except their spyware \"smartphone app\" which I would never install, nor would I ever allow such a surveillance device to track me 24/7 in the first place. Only by being a registered corporation with special, way more costly account types do you get any kind of \"API\" access from them, even to do this most basic imaginable task. Before you tell me to switch banks, the others are at least just as bad (even worse from what I can tell, and for a longer time), and the act of switching banks is practically impossible for me personally. What I'm asking is if maybe somebody knows of some sort of \"hidden standard\" or something which all banks in the world support, but don't have documented, for people like me to automate basic things such as knowing my account balance. Needless to say, I have looked for this countless times on their website, asked them about it, and asked other people about it. Nobody seems to know anything, or, if they do, won't tell me. I know that there are a bunch of \"Nordea-supporting\" PHP libraries and whatnot on Github, but they are all ancient and even if they were up to date, they were most likely using the same method as I have been using: automating the login process through their \"simplified login\" mechanism, which is \"soon\" to be gone. (Probably at new year; they didn't even mention any dates or time frames.) And yes, I have a Bitcoin wallet and have that fully automated. The problem is that virtually nobody else in the world cares about my Bitcoin, so \"switching to Bitcoin\" remains a pipe dream which I would be ready to do, but the world clearly isn't."
] |
medi_sts_stackexchange_dupe
|
Ubuntu prompts me for a username and password when i didn't make one for Ubuntu
|
Live CD asks for a username and password
|
[
"How to show that $\\lim_{n \\to +\\infty} n^{\\frac{1}{n}} = 1$?",
"With arrays, why is it the case that a[5] == 5[a]? As Joel points out in , in (aka: K & R), there is mention of this property of arrays in C: a[5] == 5[a] Joel says that it's because of pointer arithmetic but I still don't understand. Why does a[5] == 5[a]?",
"Usage of into vs in vs inside When should 'into', 'in' and 'inside' be used? What are the differences between the three? For example, what are the differences between the following statements? Are any of them incorrect? The frog jumped into the well. The frog jumped in the well. The frog jumped inside the well.",
"What makes a spell being cast considered to be a {class} spell? My understanding is that when a spell is known or prepared via one of your class features, or if you cast it via a class feature, it's considered a \"class spell\" (sorcerer spell, cleric spell, etc.) for you. If you cast it via some method outside your class (items, etc.), it isn't considered a spell from your class. For clarity, some class features care about whether or not a spell is a 'class' spell (emphasis mine): Wild Magic Surge for Wild Magic sorcerers can only trigger \"[...] immediately after you cast a sorcerer spell [...]\". Overchannel for School of Evocation wizards can only be used \"when you cast a wizard spell [...]\" Empowered Evocation for School of Evocation wizards can also only be used on \"[...] any wizard evocation spell you cast\". Rod of the pact keeper gives a bonus \"[...] to the saving throw DCs of your warlock spells\". Contrast with a feature like Blessed Healer for Life Domain clerics that just use the language of \"When you cast a spell [...]\", and you'll see why I believe there's an important distinction as to whether or not a spell instance is a 'class' spell. However, comments on made me question where my understanding of what makes a spell instance a 'class' spell comes from, and I'm not sure of a concise spot that explains it. What are the rules that govern what is or is not considered a class spell when cast? Of particular concern is whether or not a spell is, in all instances, a class spell once you've obtained it from your class. For example, if you were a wizard that had magic missile both prepared and in your spellbook, would any instance of magic missile you cast be considered a wizard spell, even if it was cast by way of, say, a wand of magic missile?",
"Decorating Python class methods - how do I pass the instance to the decorator?",
"Given this (very) tricky determinant, how can we calculate it easily? $$\\begin{pmatrix} \\alpha + \\beta & \\alpha \\beta & 0 & ... & ... & 0 \\\\ 1 & \\alpha + \\beta & \\alpha \\beta & 0 & ... & 0 \\\\ 0 & 1 & \\alpha + \\beta & \\alpha \\beta & ... & ... \\\\ ... & ... & ... & ... & ... & 0 \\\\ ... & ... & .... & ... & ... & \\alpha \\beta \\\\ 0 & 0 & 0 & ... & 1 & \\alpha + \\beta \\\\ \\end{pmatrix} \\in M_{n\\times n}$$ EDIT: I have to prove it is equal to $\\frac{{\\alpha}^{n+1} - {\\beta}^{n+1}}{\\alpha - \\beta}$ Any help is appreciated, I just could not find a trick to ease it up!",
"R raster: masking a raster by polygon also remove cells partially covered? I want to mask out a raster based on the values of a polygon: i.e., set to NA all values of the raster that are not covered by the polygons. However, it seems that raster::mask() masks out cells (i.e. set them to NA) even if they are partially covered? This is similar to the question: , but unlike crop(), mask() does not have the snap=\"out\" option. Check: here the right point of the triangle touches a cell, yet that cells is masked out. library(raster) library(sp) r <- raster(xmn=1, xmx=5, ymn=1, ymx=5, nrows=4, ncols=4) r[] <- 1:length(r) Sr1 = Polygon(cbind(c(2,4,4,1,2),c(2,3,5,4,2))) Sr2 = Polygon(cbind(c(4.1,4,2),c(2,3,2))) SpP = SpatialPolygons(list(Polygons(list(Sr1), \"s1\"), Polygons(list(Sr2), \"s2\")), 1:2) plot(mask(r, SpP)) plot(SpP, add=TRUE)",
"Is it possible to recover an email that has been clicked \"delete forever\" in the trash folder? Is it possible to recover an email that has been clicked on \"delete forever\" in the trash folder? I have accidentally clicked delete forever for an email but now I need to recover it.",
"I always stumble when using abbreviations in a sentence, as they inherently contain a period in them. How do I use a comma or a semicolon after an abbreviation? How about a period? E.g. (This is an example of my quandary)",
"TikZ: Bend text so that it follows a line I have two arrows going from a node on the left to a node on the right. Both arrows are slightly bent. I want to label the arrows with text that is bent just like the arrows. This is as far as I've got: \\begin{tikzpicture} \\node (One) at (-3,0) [shape=circle,draw] {One}; \\node (Two) at (3,0) [shape=circle,draw] {Two}; \\draw [->, thick] (One) to [bend right=45] (Two); \\draw [->, thick] (One) to [bend left=45] (Two); \\node (mental) at (0,1.75) {Some bent text}; \\node (non-mental) at (0,-1.75) {Some more bent text}; \\end{tikzpicture}",
"All Faces to Individual Objects I am looking for a way to take all the faces of an object and make each face it's own object. In the image above, you'll see a basic representation of what I'm trying to accomplish. On the left is a shape with faces, all attached. On the right is the result I want, an object for each face. The project I'm working on is much more complicated than this example, so I can't select each face and separate by selection. I have over 3,000 faces to work on.",
"What is the difference between metonymy and synecdoche?",
"Is there a single word for \"one who speaks/boasts a lot about everything\"? I'm looking for a single word to most aptly describe a person possessing the following \"qualities\": Appears to be superior in every technology/skill under the sun, which he deems worthy of knowing On being questioned/assigned the task, is found to have only superficial/no knowledge of the said skill. Inherent tendency to \"one-up\" anyone and everyone - example: \"I didn't work hard at all in my undergrad days, but yet I have better/equal grades than you have! \" Could someone help? Edit: I've got some very good responses, but despite popular opinion for \"braggart\", I'm going with \"pretentious\" as it suits what I was looking for more aptly IMHO.",
"Is there any tool available for extracting the X, Y and Z coordinates from a .las file and exporting them to a .csv or similar file?",
"[Firmware Bug]: TSC_DEADLINE disabled due to Errata - what should I do about this? I saw several bugs and error messages when I was looking by chance into the tool called \"logs\". Being a newbie in Ubuntu I have no idea how to deal with these bugs, where to report them or how to fix them. Any help to guide me here? The bug I have (which is listed under important) reads: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)",
"How to calculate $\\lim_{x\\to 1^+} \\log (x)^{\\log(x)}$? How to calculate $\\lim_{x\\to 1^+} \\log (x)^{\\log(x)}$ ? i know that its \"1\", but why? How can i calculate this? Thank you very very much =)",
"Custom fields not useable in Approve/Reject Approval Request I'm trying to get through my first SalesForce mod and it's definitely been a rocky path. I have one task I'm trying to do, but this section is holding me back. I have two custom fields. One a pick list and the other a text box. I have added them to the Approve/Reject Approval Request section in the Opportunity page. I added the fields through the Select Fields to Display on Approval Page Layout and they DO show up on the Approve/Reject Approval Request section. I added them in like (). However, just the label for the fields show, the field itself is nowhere to be found and can't be used. You can see and even use the fields when you open the Opportunity page itself, but when you go to use the Approve/Reject, you can't do anything with them or see any values. I was never a SalesForce user and got this tossed in my lap and really don't know my way around yet. I appreciate any help on this!! Thanks!! Kurt",
"Field extensions and algebraic/transcendental elements Let $E$ be an extension of field $F$, and let $\\alpha, \\beta \\in E$. Suppose $\\alpha$ is transcendental over $F$ but algebraic over $F(\\beta)$. Show that $\\beta$ is algebraic over $F(\\alpha)$. Okay, first questions: What does the notation $F(\\alpha)$ and $F(\\beta)$ mean? And being transcendental means it solves no equations with rational coefficients, but what does it mean for a field?",
"Disable Repeated System Alerts in iOS 7 On iOS 7, there is a feature under Cellular in Settings called: Use Cellular Data For:. This lists all of the apps I have on my iPhone 4 with individual On/Off Switches to disable or enable cellular data. So, I disable it on several of my apps, one of which being Music. When I open my Music app, it tells me… Cellular Data is Turned Off for \"Music\" You can turn on cellular data for this app in Settings. This alert does not occur once, but every time I clear the Music app from my multitasking and re-open it. Is there a way to dismiss this alert once and forever? The alert looks something like this, but for Music:",
"Is the prefix \"pre-\" meaningless in the terms \"pre-heated\" and \"pre-board\"? This question poses a paradox of meaning. The general question is whether, if two sentences (x and y) can be used in the same situation, with the same literal meaning, and x and y only differ in that x has morphological affixes that y doesn't, aren't the surplus affixes \"meaningless\" by the alternation test? Take this example: I put the chicken inside a preheated oven. Wouldn't it make more sense to say: I put the chicken inside a heated oven. There is only two states an oven can possibly be in—heated or unheated. Another example: Does first-class board the plane, or pre-board the plane? What does that mean—to get on before you get on?"
] |
medi_sts_stackexchange_dupe
|
My chain on my 9 speed is slipping
|
Chain skip happening seemingly at random with a new chain
|
[
"why Booleans slow my computer more than expected",
"iOS 10 remember to \"not trust this computer\"",
"Did Dolores Umbridge Have Any Association with Voldemort (or Death Eaters) before His Return?",
"Unit ball in $C[0,1]$ not sequentially compact This question is taken from Saxe K -Beginning Functional Analysis. Show that the closed unit ball in $C[0,1]$ is not compact by proving that it is not sequentially compact. (It's assumed that we are using the uniform norm). I've been working on this for ages but I could not come up with any sequence $\\{f_n\\}$ in the unit ball such that there exists $N\\in \\mathbb{N}$ such that for all $m,n\\geq N$ we have that $d(f_n,f_m)>c$. Should be a nice example of this, please help me!",
"Copyright issues if using vector art from Shutterstock?",
"Wifi disabled, no hardware switch available, rfkill list reads \"Hard Blocked\" anyway on an Acer Aspire One",
"Why do you cast downvotes on answers? This is a question which started off with a , then turned into an , and now it's a question in its own right (as suggested by Jeff). I'm not sure where it could go from here :) It's obvious that different people cast downvotes for different reasons. (Upvotes are less controversial, generally.) Here are some possible reasons: Answer is wrong Answer is misleading (may be technically accurate, but will lead to readers making mistakes) Answer doesn't match the question (e.g. a C# answer to a question about Java) Answer doesn't really address the question, e.g. suggesting a completely different solution, even if the question specifies that there are good reasons why the current approach has to be followed Answer is okay, but not as good as another one which currently has fewer votes Answer appears to be plagiarised from existing answers. Answer is by someone I don't like. Answer is abusive (profanity, spam etc). No reason, I just felt like it. I'm a , and prefer down to up. Have you considered down? Ideological grounds: answer suggests a technology I don't like, or expresses a negative opinion of a technology I do like Personally I go with 1, 2 and 8 - although I'll add comments suggesting changes in various other situations. Have I missed anything? What do you do, and why? What are the net benefits (to you, the world in general, and the answerer) from your approach?",
"It's fairly straight forward to fix up a single orphaned SQL user to a login using: EXEC sp_change_users_login 'Auto_Fix', 'user' I could script this, but is there an existing stored procedure which automatically tries to fix up every orphaned user in a given database?",
"After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash. How can I get rid of them?",
"Strange book where teen protagonist is sent to a warzone, uses illusory magic to grow male genitalia",
"How to give an image or video a TV screen effect?",
"It's so annoying to drag it over and over again. How to change default position of a console?",
"Determiners: anyone versus someone",
"How can I get a pure white background in jewelry photography, without losing sparkle and shine? I've read through several threads similar to this, but I'm looking for a comparison of two options here. I currently take photos on a raised glass platform against a white foam board background and run about 300w of lights (3 100x LEDs @ 5000k, Home Depot Specials in softboxes and umbrellas). As you can imagine, it takes me about 15 minutes of post processing to achieve a perfect white background, and sometimes I have a particular photo that I am unable to get there. I want to upgrade to either a photography table with a translucent background that I can place a speedlight under, or a cyclorama infinity background such as the MyStudio MS20. The latter option may require an upgrade to my lighting, which I am planning to do anyways. The idea of course is to get a blown out 255 background with no post processing, other than color correction on the jewelry or product as needed. This would cut my time after the shoot to a ridiculously small amount of time. Which option would make my life easier? For reference, I currently use a D5300 with a Tamron 90mm f2.8 macro lens. This is the best shot I got after quite a lot of effort, before and after processing: Note that the silver is not shiny like it should be, and the sparkle on the gems is lost.",
"Probability that no two consecutive heads occur? A fair coin is tossed $10$ times. What is the probability that no two consecutive tosses are heads? Possibilities are (dont mind the number of terms): $H TTTTTTH$, $HTHTHTHTHTHTHT$. But except for those, let $y(n)$ be the number of sequences that start with $T$ $T _$, there are two options, $T$ and $H$ so, $y(n) = y(n - 1) + x(n-1) = y(n - 1) + y(n - 2)$ Let $x(n)$ be the number of sequences that start with $H$, $H _$ the next option is only $T$ hence, $x(n) = y(n - 1)$ The total number of sequences $F(n)$ is: $$F(n) = y(n) + x(n) = 2y(n - 1) + y(n - 2)$$ We are after $F(10)$, $$F(10) = 2y(9) + y(8)$$ $$F(3) = 2y(2) + y(1) = 1 + 4 = 5$$ $$F(4) = 2y(3) + y(2) = 6 + 2 = 8$$ But I'm not quite sure where this will take me though.",
"For only my index pages, I am receiving this warning in Google Search Console: Duplicate, submitted URL not selected as canonical I know that this occurs because Google is attempting to track both the default landing \"page\" (i.e. www.domain.example/) and the page to which to which DirectoryIndex points (i.e. www.domain.example/index.html). They are, in fact, the same page, and so the warning is the result of a false positive. Two questions for our community: Why does Google not conflate these and count them as a single page? Alternately, is there something wrong with my set up if this has happened? I can easily force both pages to point to a single canonical URL. But which is preferable, \"/\" or \"index.html\"?",
"How do I download Minecraft 1.6.4? I tried connecting to a server this morning but it said \"outdated client\". I understand that that means I have to get Minecraft 1.6.4 but I have no clue how to do it. I tried getting it on Minecraft.net but I couldn't find it. Please tell me how to download it and use it.",
"Show that $2^n > n^2$ whenever n>4. Let $S(n)$ be the proposition \"$2^n > n^2$\" Basis step: $S(5)$ is true, since $2^5 = 32$, $ 32 > 25 = 5^ 2$ Inductive step: Induction hypothesis: Assume $S(K)$ is true, $2^K > K^2$. Then $2^{K+1} = 2.2^K > K^2 + K^2$ I don't know how to proceed after this. How to complete this proof?",
"Where is the known_hosts file for OpenSSH for Windows?",
"This is a about setting up . I have an office with many computers that share a single external ip (I'm unsure if the address is static or dynamic). Each computer connects to our mail server via IMAP using outlook. Email is sent and received by those computers, and some users send and receive email on their mobile phones as well. I am using to generate an SPF record and I'm unsure about some of the fields in the wizard, specifically: Enter any other domains who may send or relay mail for this domain Enter any IP addresses in CIDR format for netblocks that originate or relay mail for this domain Enter any other hosts which can send or relay mail for this domain How stringent should SPF-aware MTA's treat this? the first few questions i'm fairly certain about... hope i have given enough info."
] |
medi_sts_stackexchange_dupe
|
can not define a function inside jquery? ... undefined
|
Unable to make recursive call in Javascript
|
[
"How to test if these two samples are from the same distribution? (These are tweets located near some tourist attractions. If yes, is there a simple implementation in Python?",
"How do I change the default session for when using auto-logins? When autologon is active, lightdm will start the Unity 3D session, not the 2D (or any other shell that I want to auto-login to). Is there a way to start the shell I want automatically (autologon)? Anyway, if autologon is disabled, the last used session is launched, and that's fine. I just want to choose which is default with autologon.",
"There appears to be a poltergeist in my speakers (no, really) I've no idea if there's a suitable Stack Exchange for poltergeists. It appears to be software, hardware or virus related, so I thought I'd try here, seeing as Ghostbusters is just a film, so I can't call them. I'm not going mad, and this isn't a joke. There's what appears to be a radio stream coming out of my speakers, except I can only hear it when the volume knob is turned down to the min setting whilst the speakers are on, which makes no sense. Sometimes it's French, which also makes little to no sense. The speakers are Logitech 5.1s, I forget the model number, and I'm running XP 64bit. If that makes a difference. I'd suspect it could be some sort of crazy virus, but I've been randomly killing processes whilst the poltergeist is active and it hasn't killed it, so I'm not sure about that. Once again, I'm perfectly sane and this really isn't a joke. Perhaps other people have had this problem but have been too afraid of the reaction to ask anyone (please don't have me committed to an insane asylum). Googling for strange noises coming from speakers didn't really get me anywhere. Has anyone heard of a virus that can do this and affect the volume controls on the hardware in that way?",
"The game has a very unique intro that I would like to show my friend again for the first time. I'm not sure how to reset all my progress on this game to achieve this though. Any thoughts?",
"Adding tags to files in OS X: How to use, where are tags stored, and will they work on a network? I've heard it is possible to add tags to a file's meta data in OS X, and have Spotlight search through such tags. In a nutshell, how would one access this feature in Finder – not Spotlight (Command+Space) – but the adding of tags themselves? Where are these tags stored? Do they go in .DS_Store (I tend to delete those!) or elsewhere in the filesystem? Does this tagging mechanism work on removable drives? What are the requirements? Does this tagging mechanism work over a network share? I have some Windows SMB network shares at home that I frequently store files on. Would it work on those or is another configuration required? Aside from Spotlight, are there any command-line tools for searching through or accessing the tag data for files? Thank you!",
"I was setting up up android-studio referring to . While installing oracle-java7-installer, this error is displayed: sudo apt-get install oracle-java7-installer [sudo] password for cyan: Reading package lists... Done Building dependency tree Reading state information... Done oracle-java7-installer is already the newest version (7u80+7u60arm-0~webupd8~1). The following package was automatically installed and is no longer required: snap-confine Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ... Downloading Oracle Java 7... --2017-11-27 08:40:47-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 223.223.158.138, 223.223.158.136 Connecting to download.oracle.com (download.oracle.com)|223.223.158.138|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following] --2017-11-27 08:40:47-- https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.58.58.93, 2600:140f:7:18e::2d3e, 2600:140f:7:18d::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.58.58.93|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1511752368_824528560c20825821ecbcac8f4e9be9 [following] --2017-11-27 08:40:48-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1511752368_824528560c20825821ecbcac8f4e9be9 Connecting to download.oracle.com (download.oracle.com)|223.223.158.138|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-11-27 08:40:50 ERROR 404: Not Found. download failed Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java7-installer E: Sub-process /usr/bin/dpkg returned an error code (1) How do I fix this error? I did a fresh installation of Ubuntu 16.04.",
"I have two question concerning information content of qubit. Question 1: How many classical bits are needed to represent a qubit: A qubit can be represented by a vector $q = \\begin{pmatrix}\\alpha \\\\\\beta \\end{pmatrix}, ~~ \\alpha, \\beta \\in \\mathbb{C}$. So, we need four real numbers to represent it. But when facts that (i) $|\\alpha|^2+|\\beta|^2 = 1$ and (ii) two qubits which differ in global phase only are indistinguishable, are taken into account, only two real numbers are necessary (angles on Bloch sphere). Moreover, we can choose a precission of the qubit representation (i.e. number of decimal places in $\\alpha$ and $\\beta$ or Bloch sphere angles) which influence number of classical bits needed to described the qubit. So, it seems to me that the qubit representation cannot be used for measuring qubit information content but only memory consumption in simulation. Am I right? Question 2: What is an (effective) information content of qubit: A superdense coding enable us to send two classical bits via one qubit. But on the other hand you need two entangled qubits prepared in advance. Given these facts, what is an information content of qubit? One or two classical bits? Or do I need to use another angle of view given the fact that qubits are \"continuous\" (i.e. described by complex numbers $\\alpha$ and $\\beta$)?",
"Understanding NSString comparison",
"how to suppress \"chapter\" in \\chapter (while keeping numbering)",
"Is there a regular expression to validate an email address in JavaScript?",
"Given that the sequence $(v,Av,A^2v,...,A^nv)$ is linearly dependent (1), $A_{n \\times n}$, over $\\mathbb{F^n}$ prove that scalars $c_0,c_1,..,c_n$ exist (such that not all of them are zeroes) such that the matrix $M=c_0I+c_1A+..+c_nA^n$ is singular. First I'm not sure how (*) can be used here exactly. We can say that the sequence $(c_0I,c_1A,..,c_nA^n)$ resembles the sequence (1) where $v=I$. But here we have scalar $c_i$ so it's not exactly the same sequence. Maybe I could say that the sequence $(c_0I,c_1A,..,c_nA^n)$ is linearly dependent because it has $n+1$ elements while over $dim\\mathbb{F^n}=n$ $\\quad$(2). Intuitively I understand that suppose we sum all the matrices $c_iA^i$ and then in the last sum operation we get to some $c_jA^j$ and if it's a linear combination of other matrices then we can have such a $c_j$ that: $$ c_oI+\\sum_{i=1}^{n-1} c_iA^i+c_jA^j=0 $$ But I don't think this is enough to prove.",
"I'm far from being a physics expert and figured this would be a good place to ask a beginner question that has been confusing me for some time. According to Galileo, two bodies of different masses, dropped from the same height, will touch the floor at the same time in the absence of air resistance. BUT Newton's second law states that $a = F/m$, with $a$ the acceleration of a particle, $m$ its mass and $F$ the sum of forces applied to it. I understand that acceleration represents a variation of velocity and velocity represents a variation of position. I don't comprehend why the mass, which is seemingly affecting the acceleration, does not affect the \"time of impact\". Can someone explain this to me? I feel pretty dumb right now :)",
"This is a story that was read on BBC radio about thirty years ago, and this is about as right as I can remember it: The human pilot of a spacecraft is doing some reconnaissance on an alien planet. He crashes but survives. For some reason, no one will know where to look for him. He sees something in the distance that looks like a building of some sort. When he gets there, it seems to be a home. Very much like a human home. There's furniture, but it's strange and uncomfortable . There's food, but it's inedible. There's a faucet but what comes out of it seems more like acid. Everything looks as though it should be right, but it's not. He leaves the house, wanders and after a few days is desperate for water. But there isn't any water anywhere. He's close to death, crawling on the ground and then something happens. There are cracks in the soil and there appears to be water bubbling up from perhaps some underground stream. The water revives him. He goes back to the house and tries the food again. It's delicious and he eats enough to gain back his strength. Then he decides to try the water again. It's pure and wonderful. He takes a shower and the last line of the story is how refreshing the water is on his skin and something about him lifting his tail.",
"Proof that a sequence of continuous functions $(f_n)$ cannot converge pointwise to $1_\\mathbb{Q}$ on $[0,1]$",
"Automatic line breaking of long lines of text? Here, it is just a example. I have a line: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaa Now, I want to let LaTeX automatically wrap the line according to the width of the text block/margins.",
"Fspy add-on not installing",
"Escaping both forward slash and back slash with sed",
"In thinking how to ask this question (somewhat) succinctly, I keep coming back to a Microwave Oven. A Microwave Oven has a grid of holes over the window specifically designed to be smaller in diameter than the wavelength of the microwaves it produces, yet larger than the wavelengths of the visible light spectrum - this is so you can watch your food being heated without getting an eye full of microwaves. The \"realness\" of electromagnetic waves seems indisputable - both from the microwave example above, and also because if I want to broadcast a radio wave with a certain wavelength, then I need to make sure I have an antenna of corresponding length to produce the wave I'm looking for. Furthermore, we discuss and treat these waves as real, measurable \"objects\" that exist and can be manipulated. Now, if I want to describe the behavior of my Microwave Oven in the framework of QM (let's pretend my oven is going to only produce 1 photon of energy corresponding to a wavelength of the microwave spectrum for simplicity) then I'll describe the behavior of that photon as a wavefunction that evolves over time and gives a probability distribution within my microwave that similarly does not allow the photon to pass through the safety grid and exit the oven cavity giving me a retinal burn. The difference is, the wavefunction is never treated as something \"real\" in this description. When the safety grid is described as working to protect you because it has holes smaller than the wavelength of the classical waves it's blocking, this is a useful description that seems to describe \"real\" objects/be-ables. While it is possible to describe why an individual photon has low probability of passing through the same grid but extended physical properties such as wavelength (in space) are treated as non-real because we're dealing with a point particle and with behavior described by something we also treat as non-real (the wavefunction); it seems unclear to me why we insist this wave function which predicts behavior of physical measurements so well is somehow \"non-real.\" Put another way, if we have no problem treating EM waves as \"Real,\" then why do we insist on treating the wavefunction that describes the same behavior as \"unreal?\" I understand there is recent research (Eric Cavalcanti and his group for one) trying to argue this point, but as every respectable physics professor, I've ever encountered, has treated the wavefunction as an indisputably non-real mathematical tool, I needed to ask this community for an answer.",
"How do I sort a dictionary by value?",
"I have two user profile fields \"Last Name\" and \"First Name\". I also have a user list views. I want to expose \"Name\" as filter which can search for both Last Name and First Name. How can I do single filter of combination of those two fields? Can I create it from views UI? One possible way is to create another profile field \"Name\" which will be hidden in the form. On user save, I would combine the two field values into the \"Name\" field and then expose it as filter in the views. But this solution is hard coding and it needs to write hooks."
] |
medi_sts_stackexchange_dupe
|
My lens's focus ring can be twisted past infinity and the close-focus stops without ever hitting a hard stop— is it defective?
|
Why am I allowed to turn my focusing ring beyond infinity?
|
[
"Suppose $G$ is a semigroup and it holds both left and right cancellation. Suppose $G$ is a semigroup and it holds both left and right cancellation. Also for each $a,b\\in G$, $xa=b$ has solution in $G$. Prove G is a group. I know this question looks very \"old\" style. First I think it's easy for me too since I already practice probelems like \"semigroup, $xa=b$ and $ax=b$ have solution , then group\" Or \"finite semigroup, both left and right cancellation hold, then group \". But I still get stuck... My try: First of course, for $xa=a$ , there exists $e_a$ such that $e_aa=a$. Now we need to proof $e_a$ is left identity for all elements. Then left inverse exists hence $G$ is a group. But the key is to proof $e_ab=b$ for all $b\\in G$.",
"How to set shell to wrap words for long commands?",
"Don't let the association bonus be given away as bounties When a user with at least 200 rep on any Stack Exchange site registers a new account on another SE site, they immediately receive 100 rep on that site as an . This is a deliberate feature to give users who are already familiar with how the SE platform and community works a bit of an extra boost (e.g. letting them upvote and comment immediately), and it's pretty much working as intended. What's probably not intended is that, currently, this bonus rep can be given away as . In fact, because awarding bounties currently requires only 75 rep, any user with 200+ rep on at least one site can join another site, receive the 100 rep bonus, and immediately award it all as a bounty to another user, without having to earn any actual rep on the site at all. Not only does this seem contrary to the design intent of bounties (and of the association bonus), but it also seems ripe for potential abuse. (In fact, the only thing stopping a sockpuppet ring from gaining unlimited rep this way is the fact that the bounties would likely be sooner or later noticed by mods.) It's also possible for experienced users to (more or less) accidentally bounty their reputation so low that that they lose access to basic site features that they'd normally have due to the bonus. Arguably, of course, this is entirely the user's own fault, but it can still be . Also, this behavior , which currently require 110 rep to answer for users with the association bonus. The fix I'd like to suggest is simple: If a user has been awarded the association bonus, don't let them award a bounty that would take their rep below 100. Of course, it would still be possible for users with the bonus to drop below 100 rep via other means, e.g. by having their posts downvoted. But they wouldn't be able to just give away this baseline rep to other users any more.",
"Why do harmonics occur when you pluck a string? When you energise a taut string, the following resonant modes of vibration occur: Plotting on the frequency domain, you can see their corresponding frequencies: But what is the underlying physical principle? Why does this happen? Is there any way of explaining it that could be understood by a smart 15 year old? EDIT: I'm going to give my best attempt so far. Here goes: We can start with sympathetic resonance. Sounding a particular frequency, a pure sinewave. And noticing the string resonates sympathetically at the frequency of each harmonic. Say this is explained and understood. Now imagine that plucking a string is equivalent to a burst of white noise, which contains frequencies all the way through the spectrum. This could be approached backwards, by starting with random frequencies and noticing that resultant wave produced looks like white noise. If the above is scientifically correct, then it restricts the domain of the question. I would really like to be able to understand it scientifically and also be able to explain it intuitively. PS Images from",
"Delete commits from a branch in Git",
"Can “whose” refer to an inanimate object?",
"Once a post has been edited, you can go into the revision list, and click \"View Source\". If a post has not been edited (and I don't have the edit privilege) is there any way to see the raw Markdown? The reason I ask I because of - it's impossible to see the source markdown, and how it's different from the rendered Markdown. Not exactly a huge issue, just curious!",
"I was just awarded +100 reputation on all of my Stack Exchange accounts. What is this bonus for? It simply says \"Association Bonus\" on my reputation overview. Also: What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus?",
"I am trying to estimate summary statistics of points located inside a polygon. Each points in the point layer is associated with N attributes. My target is to summarize (say mean, min,..) the attributes of points located within a polygon and populate the attribute fields of the corresponding polygon. I am looking for a solution using GeoPandas or other Python libraries. import geopandas as gpd gdf_points = gpd.read_file('/path_to_points.json') gdf_polygon = gpd.read_file('/path_to_polygons.json') dfsjoin = gpd.sjoin(gdf_polygon ,gdf_points) Now, how can I summarize the stats for each attribute in the point layer and add it to the polygon shapefile? Which function can I use? I am looking for something that is functionally equivalent to ESRI ArcGIS with",
"Q: \"Do you have any juice?\" A: \"Yes, there's some in the fridge.\" Sounds perfectly fine to me, but: Q: \"Do you have any towels?\" A: \"Yes, there's some in the closet.\" Does not. I asked for towels - plural - so wouldn't \"Yes, there're some in the closet,\" in which there are is turned into a contraction be the correct way to say it? Spellcheck, however, doesn't like \"there're\", and I think I'm the only person I've ever heard use the word \"there're\". Even folks who I know say \"there are\" shorten it to \"there's\" when possible. Am I saying it wrong, or are both forms acceptable?",
"This is a problem from Rudin's Functional Analysis: Show that there is a sequence of functions $\\{ f_n \\}$ in $X$ (the vector space of all complex functions) such that $f_n \\to 0$ pointwise, but if any sequence $\\{ \\gamma_n \\}$ tends to $\\infty$, $\\gamma_n f_n \\not\\to 0$. The hint says to use the fact that the collections of all complex sequences converging to $0$ has the same cardinality as $[0,1]$. Honestly, this confused me more than it helped me. My main issue is through the method of showing existence: I am not sure if I should attempt to construct an explicit sequence $f_n$, or if I need to appeal to other nonconstructive means such as Zorn's Lemma, etc. I have been trying to construct clever choices of sequences for a good bit now, but it always seems like I will be able to find a sequence that diverges slowly enough to allow that $\\gamma_n f_n \\to 0$. Thanks!",
"Are the limits $\\lim\\limits_{n\\to \\infty }\\left|\\frac{a_{n+1}}{a_n}\\right|\\,$ and $\\lim\\limits_{n\\to \\infty }\\sqrt[n]{|a_n|}\\,$ equal? Let consider the power series $$ \\sum_{k=1}^\\infty a_kx^k. $$ We know that it converges when $$\\lim_{n\\to \\infty }\\sqrt[n]{|a_n|}|x|< 1\\quad\\text{or}\\quad |x|< \\frac{1}{\\lim_{n\\to \\infty }\\sqrt[n]{|a_n|}}$$ But D'Alembert test tells us that it converges if $$|x|< \\frac{1}{\\lim_{n\\to \\infty }\\left|\\frac{a_{n+1}}{a_n}\\right|},$$ so since the radius of convergence is unique, we should have that $$\\lim_{n\\to \\infty }\\sqrt[n]{|a_n|}=\\lim_{n\\to \\infty }\\left|\\frac{a_{n+1}}{a_n}\\right|.$$ I tried to prove it, but this result looks strange to me. So if it doesn't work always, how can we have those to limit as radius of convergence? I guess the equality of those two limit should be true most of the time. So under what conditions is it true?",
"How do I go about tracking down IO usage in Linux and other *nix OS'? Occasionally, something on my system starts hammering the disk. I would like to log data that would let me know about I/O usage per process, then I could go back to it later and see what keeps doing this. How should I go about solving this problem? Bonus points for solving this for arbitrary block devices.",
"Error to calculate date diff with DateTime class",
"How to link to apps on the app store I am creating a free version of my iPhone game. I want to have a button inside the free version that takes people to the paid version in the app store. If I use a standard link the iPhone opens Safari first, and then the app store. I have used other apps that open the app store directly, so I know it is possible. Any ideas? What is the URL Scheme for the app store?",
"How do you find the directory of a command?",
"How to send an SMS in iOS 10",
"Is it better in C++ to pass by value or pass by constant reference? Is it better in C++ to pass by value or pass by constant reference? I am wondering which is better practice. I realize that pass by constant reference should provide for better performance in the program because you are not making a copy of the variable.",
"I couldn't find anything about Ubuntu acting as a receiver or sender. Can it work at all? Are there hardware prerequisites? Is WiFi a requirement or can it work over LAN or another kind of network connection? WiFi direct seems to be a necessary requirement, is it a sufficient one? (i.e. if a system supports WiFi direct does that mean it supports Miracast?) Are there differences in support between receiving/sending? How is the latency? (compared to the competition, i.e. VNC, commercial Miracast devices, etc.) How do I actually use it, if it's difficult? Specifically, I plan to use it together with an Android phone (4.x Jelly Bean).",
"Can command substitution be nested in variable substitution?"
] |
medi_sts_stackexchange_dupe
|
Bounty question no longer relevent to OP
|
What to do with bounty on question which is no longer relevant?
|
[
"In Fantastic Beasts: The Crimes of Grindelwald Dumbledore teaches DADA. But from the books we always heard about him as of a Transfiguration teacher (say, in Tom Riddle's days). It is stated in the movie that Dumbledore was prohibited to teach DADA by the Ministry, though the limitations seemed to be canceled at the end of the movie together with the removal of his handcuffs (not completely clear about the teaching though). The strange thing is, however, that Dumbledore was a Transfiguration teacher and even the Head of Transfiguration Department in Hogwarts before Newt's days, as we learn from Pottermore: Under the guidance of her [McGonagall] inspirational Transfiguration teacher, Albus Dumbledore, she had managed to become an Animagus She [McGonagall] sent an owl to Hogwarts, asking whether she might be considered for a teaching post. The owl returned within hours, offering her a job in the Transfiguration department, under Head of Department, Albus Dumbledore. That is of course if we accept that Minerva McGonagall in the movie is the same Minerva we know. So it seems that he taught Transfiguration, then for some reason switched to DADA and then to Transfiguration again. While it is possible in general, is there any explanation for the reasons?",
"Find the Limit (n to infinity) Hi I have a question regarding of limits to infinity please help! Thank You! The question states the user to find the following limit: $ \\lim_{n\\to\\infty} n^2 ({\\sqrt[n]{x}-\\sqrt[n+1]{x}}) $ Where $(x > 0) $ Thank You!!!",
"I want to schedule my script for last Saturday of every month. I have come up with the below: 45 23 22-28 * * test $(date +\\%u) -eq 6 && echo \"4th Saturday\" && sh /folder/script.sh Is this correct or I need to change it? I can't test it right now as it will be invoked only on last saturday. Please advise. I have the below for last sunday of every month but i can't understand much of it. The first part gives 24 which is sunday and after -eq gives 7 which i don't know what it means: 00 17 * * 0 [ $(cal -s | tail -2 | awk '{print $1}') -eq $(date | awk '{print $3}') ] && /folder/script.sh Can i modify the above to get last saturday? With Romeo's help I was help to come up with the below answer: 00 17 * * 6 [ $(cal -s | tail -2 | awk '{print $7}') -eq $(date | awk '{print $3}') ] && /folder/script.sh",
"How to find hydrogen wave-functions? I have found the hydrogen wave functions and would now like to calculate the function that describes the orbitals so that I can plot this function and see how they look. I don't know how I can do that and it is crazy how I cannot find anything on the subject on the internet as if there was no relation between the wave functions and the orbitals. Could you please tell me what I need to do to get a function $r(\\theta,\\phi)$ out of my wave functions $\\psi(r,\\theta,\\phi)$.",
"How do I install and use the latest version of GNOME? I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got version 2.31.x, while the latest is 2.91.5 or something. So is there a way for me to install the latest build? Is there some repository available for the latest build?",
"iBooks preview not working? I recently converted one of my books into an iBooks format using Author. However when I connected to my iPad and went into 'preview', I saw my device, clicked it, but the 'preview' button to enable the previewing process was faded and I could not click it. Has anyone actually used the preview feature enough to give me some help? Thanks!",
"I've just upgraded to Ubuntu 17.10 and am missing the Ubuntu Dock settings, i.e. in gnome-control-center the dock settings are blank: I think I might be missing the \"ubuntu-dock\" package, but can't find this anywhere in the software centre. Also the gnome-control-center was completely missing after the update, and I had to install this separately - not sure if this is related. I think this is different from because changing the type of GNOME session doesn't fix the problem. If I go for GNOME* I get no Dock settings section at all, and if I got for Ubuntu* I get the blank Dock settings section described above. Output of apt-cache policy gnome-shell-extension-ubuntu-dock: rob@rob-pc:~$ apt-cache policy gnome-shell-extension-ubuntu-dock gnome-shell-extension-ubuntu-dock: Installed: (none) Candidate: 0.7 Version table: 0.7 500 500 http://gb.archive.ubuntu.com/ubuntu artful/main amd64 Packages 500 http://gb.archive.ubuntu.com/ubuntu artful/main i386 Packages",
"Drop Tables with Bigger size We have a mysql database with a size of 2 TB, in which we have for to five big tables ranging from 110GB to 350GB. When we try to drop these tables the mysql goes to the defunct mode and hangs in that state for a long time. Is there a solution to drop these tables without mysql hanging. We have a machine which has a memory of 122GB and swap of 60 GB. We use an InnoDB Engine Hope the information suffices kindly help us with this issue",
"Aligning multiple points to line in QGIS? I would like to align multiple points to a line, or lines within a layer, using a specified tolerance or buffer around the line objects. Please refer to the sample sketch attached. For the sake of this example, the points closest to the line in the BEFORE picture are within 5 map units of the line, while the outermost points are over 10 map units away. I would like to snap the closest points onto the nearest line, using a tolerance of 5 map units to achieve the result in the AFTER picture.",
"I was working on a userscript today, which had a goal of displaying chat pings immediately at the main site. This would allow me to respond more quicker-like to chat pings. However, I was met by this fearsome warrior: Can we please set some decent header things? I want to be able to do this really bad.",
"I put a video in my pdf with Acrobat and there I can watch my video. But if I open the pdf on my mobile, I can't watch the video, I only see an image. Is there a way to watch videos of a pdf in a mobile? I have a samsung J5.",
"How add 14 days on end date I have End Date column and I want to add 14 Days on it auto when created, can I do it by workflow? Can I do it via jQuery. If yes how? if no how I can do it?",
"I have an ASUS N550JK laptop (BIOS version 204) running Ubuntu 14.04 (3.13.0-43-generic kernel). My issue is that the battery indicator ALWAYS shows that it's using battery power - even when plugged in and fully charged. So even though I have selected to show the battery status in the menu bar only when charging or in use (in power settings), it is ALWAYS displayed. When it reaches a full charge, the indicator icon will either show just the percentage (usually 99% or 100%), or sometimes a very big number for time (like 22:14) along with the percentage. If I go to the power settings menu, it always says \"Using battery power\", with something like 40 hours remaining. This is all while plugged in and fully charged. Are there any fixes less drastic than trying to update BIOS, or is a BIOS update necessary to fix this? The latest BIOS version is 208 according to the ASUS website, but the (very brief) descriptions of the updates don't mention anything about battery issues. If at all possible I'd like to avoid updating BIOS because of the risk involved. I've already tried letting the battery drain all the way and then charging to full, with no luck. Thanks in advance!",
"Find the sum $\\sum_{n=1}^{\\infty} \\frac{\\ln n}{n(n- \\ln n)}$ Find the following sum : $\\sum_{n=1}^{\\infty} \\frac{\\ln n }{n(n- \\ln n)}$ I couldn't find any way to solve. I just want a hint, how to initiate?",
"This is about the upcoming Zack Snyder movie , where Ben Affleck is playing Batman. I just read an that Christian Bale wanted to be Batman again. So I wanted to ask why wasn't he cast as Batman in this movie. I checked the Wikipedia entry but nothing suggests why Christian Bale was not there. Nolan is associated with the movie as an adviser and DC Entertainment is producing this one too. So sort of familiar turf, right? But how come Ben Affleck is the new Batman? EDIT: I would like to add another interesting piece of information. Bale is aged 40 (born 1974) and Affleck is 42 (born 1970). So they have actually cast an older actor.",
"How do I declare and initialize an array in Java?",
"Get name of caller function in PHP? Is there a PHP function to find out the name of the caller function in a given function?",
"What happens when a photon hits a mirror? When a photon of light hits a mirror does the exact same photon of light bounce back or is it absorbed then one with the same properties emitted? If the same one is bounced back does it's velocity take all values on $[-c,c]$ or does it just jump from $c$ to $-c$ when it hits the mirror? Or, is the phenomenon of a mirror better explained using a wave analogy? If so, what is this explanation?",
"How to check if a string contains a substring in Bash I have a string in Bash: string="My string" How can I test if it contains another string? if [ $string ?? 'foo' ]; then echo "It's there!" fi Where ?? is my unknown operator. Do I use echo and grep? if echo "$string" | grep 'foo'; then echo "It's there!" fi That looks a bit clumsy.",
"It's a series of fantasy books in which the inhabitants of the world, from the time when they're children, get to somehow have an accompanying small animal that represents their soul or their personality."
] |
medi_sts_stackexchange_dupe
|
How does VBA treat 'or' statements
|
Does the VBA "And" operator evaluate the second argument when the first is false?
|
[
"As in I'm trying to use apa6e and biblatex-apa together and having problems. Before I arrived at these problems, over the course of many hours of much reading, I first managed to get BibTeX working as expected in a simple input file (by modifying sample2e.tex). Then I managed to get apa6e working as expected based on the author's example in apa6e.pdf (which uses apacite). But when I try to get apa6e working with biblatex-apa, I end up with problems. Here's my input file: \\documentclass{apa6e} \\usepackage[american]{babel} \\usepackage{csquotes} % biblatex \\usepackage[style=apa]{biblatex} \\bibliography{biblatex-apa-test-references} \\title{An Example Document} \\shorttitle{Psychology: the end} \\author{Silly Name} \\authornote{\\dots} \\abstract{\\dots} \\begin{document} \\maketitle This is an example input\\cite{7.01:2} file. Comparing it with the output it generates can show you\\cite{7.01:3a} how to produce a simple document of your own. \\printbibliography \\end{document} Attempting to typeset this in TeXShop by running LaTeX, then BiBTeX (which based on console messages, does seem to correctly call biblatex rather than BiBTeX), then LaTeX again, I get the following error message which I am having great difficulty (no doubt due to my lack of experience with TeX and co.) decoding. (./test6.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/ot1ptm.fd) *geometry* driver: auto-detecting *geometry* detected driver: pdftex (./test6.bbl) Underfull \\hbox (badness 10000) in paragraph at lines 18--18 []\\OT1/ptm/m/n/12 An Ex-am-ple Doc-u-ment Underfull \\hbox (badness 10000) in paragraph at lines 18--18 []\\OT1/ptm/m/n/12 Silly Name Underfull \\hbox (badness 10000) in paragraph at lines 18--18 []\\OT1/ptm/m/n/12 Author Note [1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] Underfull \\hbox (badness 10000) in paragraph at lines 18--18 []\\OT1/ptm/m/n/12 Abstract [2] Underfull \\hbox (badness 10000) in paragraph at lines 18--18 []\\OT1/ptm/m/n/12 An Ex-am-ple Doc-u-ment Underfull \\hbox (badness 10000) in paragraph at lines 25--25 []\\OT1/ptm/b/n/12 References ./test6.tex:25: Undefined control sequence. <argument> \\mkbibdateapalongextra (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/ot1pcr.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/omlztmcm.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/omsztmcm.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/omxztmcm.fd) Overfull \\hbox (8.03372pt too wide) in paragraph at lines 25--25 [][] \\OT1/ptm/m/n/12 Gilbert, D. G., Mc-Cler-non, J. F., Ra-bi-novich, N. E., Sugai, C., Plath, L. C., As-gaard, G., ... Botros, ./test6.tex:25: Undefined control sequence. <argument> \\mkbibdateapalongextra {year}{month}{day}\\iffieldundef {endyear}{... l.25 I tried many different sources in several different *.bib files before eventually trying the .bib database shown above and included with biblatex-apa. All trials gave a similar error. Can someone help? I'm impressed that the poster above was able to do anything with apa6e and biblatex-apa, and if I only had her problem of having the reference page title show up in bold, I'd be really happy. If you need to know, my tools are from a fresh installation of MacTeX that I immediately updated using the TeX Live Utility. I've checked my versions for apa6e (v0.3) and biblatex-apa (v4.2), and I think these are current.",
"Which metric to use to evaluate highly imbalance classification model performance I have to do classification model to predict the possibilities of person getting cancer based on certain attributes. The data is highly imbalanced. As per client requirement I have to report model performance based on any one of these 4 metrics AUC_Weighted normalized root mean square log loss Accuracy Can you suggest me which one should I use?",
"hard disks spin up by processes / applications that simply get a list of disks? How to prevent? I have a 24/7 always-on Debian Jessie based headless home server that has a large 1TB SSD for the OS and all of my frequently accessed files. This same system has 4 larger hard disk drives in a SnapRAID array. These are mainly for archiving infrequently accessed Blu-rays and want those drives to remain spun down in standby unless I actually read or write to them. They are all formatted as ext4 and mounted with noatime and nodiratime enabled. So even though no process or program should be regularly accessing those drives in any direct way, the hard drives constantly get spun up from standby. It seems to be related to graphical programs that provide a gui file browser, even something like Chromium. If I don't even browse into those drives, I'm thinking that these processes by simply getting a list of available drives spins up the hard disks. Much like blkid does. The problem is, it's hard to determine the root cause of this since none of these processes are actually reading or writing the filesystem on those drives, so no files are actually changing or being touched. Is there some sort of cache that I can populate or a buffer to prevent these programs from spinning up the hard drive simply by getting a list of available disks? This is honestly driving me insane, since I can't find a reliably way to keep these disks spun-down even though there is no direct access of the filesystem. UPDATE: Thanks to Stephen's answer, I was able to trace the disk activity to gvfs and udisks. It's a real shame that these processes insist on waking up disks in standby when they aren't actually being accessed to do any real I/O with the filesystem. So far I just uninstalled them, knowing that it will remove some functionality from PCManFM and the like.",
"Why is ridge regression called \"ridge\", why is it needed, and what happens when $\\lambda$ goes to infinity?",
"Do I need to have antivirus software installed? I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages clamtk and klamav in Ubuntu software center yesterday. This leads to the following questions: How do viruses differ between Linux and Windows? How do the strategies for protection differ between Linux and Windows? Should a virus scanner package be installed on my system? If so, which would be a better option?",
"Let he who believes in this prophet speak now what he knows. Let him who believes in this prophet speak now what he knows.",
"Powershell Rename Multiple Files with LastWriteTime Prefix I am trying to put together a Powershell script that will: -Search recursively from a root directory -Exclude files with existing \"yyyyMMdd \" file name prefix -Rename the files not excluded above with \"\"yyyyMMdd \" file name prefix based on their specific LastWriteTime Note: ideally, this script should include all file type extensions I have tried myself, but it would seem to be above my head, as my attempts are not going well. Thanks, in advance. #StampMe.ps1 param( [string] $fileName) # Check the file exists if (-not(Test-Path $fileName)) {break} # Display the original name \"Original filename: $fileName\" $fileObj = get-item $fileName # Get the date $DateStamp = get-date -uformat \"%Y-%m-%d@%H-%M-%S\" $extOnly = $fileObj.extension if ($extOnly.length -eq 0) { $nameOnly = $fileObj.Name rename-item \"$fileObj\" \"$nameOnly-$DateStamp\" } else { $nameOnly = $fileObj.Name.Replace( $fileObj.Extension,'') rename-item \"$fileName\" \"$nameOnly-$DateStamp$extOnly\" } # Display the new name \"New filename: $nameOnly-$DateStamp$extOnly\" I am hoping to change the line: $DateStamp = get-date -uformat \"%Y-%m-%d@%H-%M-%S\" To be LastWriteTime instead of get-date, but I have no idea how to make this happen. This code (from another Super User question): Get-ChildItem \"Test.pdf\" | Rename-Item -newname {$_.LastWriteTime.toString(\"yyyyMMdd\") + \" Test.pdf\"} ...successfully renames a single file, but I can't seem to integrate this into the larger script. With regards to running the above recursively, I have tried this (also from ): foreach ($file in get-ChildItem *.* -recurse) { ./StampMe.ps1 $file.name } Which succeeds to apply the PS script to files in the root directory, but fails to apply to any files in the sub-folder tree that propagates from the root directory.",
"Alternating binomial sum with intervals of two Fix integer $n\\geq 1$. Consider the number $$1-\\binom{n}{2}+\\binom{n}{4}-\\binom{n}{6}+\\cdots$$where the sum continues as long as the lower number in the binomial is $\\leq n$. Is there a way to simplify this sum? The first few values are $1, 0, -2, -4, -4$.",
"Can virtual particles be thought of as off-shell Fourier components of a field? I just found blog post, which gives an interpretation of virtual particles I haven't seen before. Consider a 1D system of springs and masses, where the springs are slightly nonlinear. A \"real particle\" is a regular $\\cos(kx-\\omega t)$ wavepacket moving through the line, where $\\omega$ satisfies the dispersion relation $\\omega = \\omega(k)$. When two real particles collide, the region where they collide temporarily looks really weird, as they interact nonlinearly, pulling and pushing on each other. Formally, we can write this weird region as the sum of a bunch of $\\cos(kx-\\omega t)$ waves, but there's no guarantee they'll have the right dispersion relation. Thus, each term in the resulting expansion is a off-shell \"virtual particle\". If you add up all the virtual particles, you get the actual intermediate field state, which is just a weird ripple in the field where the two particles are interacting. As another example, consider the statement \"a static EM field is made of virtual particles\". Under this interpretation, what that really means is, \"a static field (e.g. $1/r^2$) is not equal to $\\cos(kx-\\omega t)$, but may be expanded in terms of such sinusoids\", which is much less mysterious sounding. In fact, this is exactly what we do when we consider scattering off a potential in normal QM, e.g. in the Born approximation. The above gives some intuition for what a 'virtual particle' means in classical field theory. They are the Fourier components of the field with $(\\omega, k)$ not satisfying the dispersion relation, and they are useful in classical perturbation theory. However, they are not propagating degrees of freedom, so they only appear during interactions. The picture above is entirely classical. Does this picture generalize to quantum field theory, giving a physical intuition for virtual particles there?",
"I know this sounds like a stupid question, but I just wanted to confirm if they are the same thing. In new canon, anti-gravity is never mentioned.",
"I have recently found an argument against disabling a root user login in Linux at I assume that, if everybody uses a public key authentication, there's no risk at losing the root password. Is it always better to disable the root login via ssh?",
"How is it possible that quantum phenomenons (e.g. superposition) are possible when all quantum particles are being constantly observed? I don't understand how quantum mechanics (and therefore also quantum computers) can work given that while we work with quantum states, particles that this quantum state consist of cannot be observed, which is the most fundamental requirement. If I am not mistaken, by \"observed\" we mean interaction with any other particle (photon, gluon, electron or whatever else). So my very important questions: Aren't the particles this quantum state consists of interacting with each other? Why doesn't that cause the state to collapse? Aren't all particles in the universe interacting with Higgs field and gravitons etc? Why doesn't that cause every quantum state to collapse? I feel there is something very fundamental in quantum mechanics that I am not aware of, hence I would be very pleased to have these questions answered.",
"How can I set my system to suspend when inactive to a longer amount of time I run Mythtv on some Ubuntu 11.10 based machines. In the power settings, I can choose from a list of time periods from 5 minutes up to 1 hour for the the machine to suspend when inactive. I would like to set the suspend to occur at a longer interval, like 2 hours or 4. Previously with Gnome, I would think that I could go into the gconf editor and find the key there, I am not sure with Unity where to override a setting like this. Any suggestions?",
"Is a switches voltage and current rating a hard limit?",
"Import curly brackets from MathDesign (Utopia) I am using Fourier maths fonts with Utopia text (\\usepackage{fourier}) for a book project, but I'm not satisfied with the curly brackets \\{ and \\}. They are too slim, and barely distinguishable from other brackets in font size 10. Utopia with MathDesign (\\usepackage[utopia]{mathdesign}) seems to have better-looking curly brackets. Is there a way of importing just the curly brackets from MathDesign to my document, sticking to Fourier otherwise. And are the curly brackets defined by the maths fonts even if they are used outside math mode, since with MathDesign you get better-looking brackets in normal text, too. Following egreg's answer I added the suggested lines, but the sizes of the bigger brackets are incorrect. When I load type $\\{\\bigl\\{\\Bigl\\{\\biggl\\{\\Biggl\\{$, this is what I get: After a bit of research, I've found that the cause seems to be the amsmath package. I'm relying on amsmath quite heavily, so it would be nice to find a fix. Unfortunately, I have almost no experience in working with fonts in LaTeX myself. Below is a working example: \\documentclass{article} \\usepackage{amsmath} \\usepackage{fourier} \\DeclareSymbolFont{mdsymbols} {OMS}{mdput}{m}{n} \\DeclareSymbolFont{mdlargesymbols}{OMX}{mdput}{m}{n} \\DeclareMathDelimiter{\\lbrace} {\\mathopen}{mdsymbols}{\"66}{mdlargesymbols}{\"08} \\DeclareMathDelimiter{\\rbrace} {\\mathclose}{mdsymbols}{\"67}{mdlargesymbols}{\"09} \\renewcommand{\\textbraceleft}{% {\\fontfamily{mdput}\\fontencoding{OMS}\\selectfont\\char\"66}} \\renewcommand{\\textbraceright}{% {\\fontfamily{mdput}\\fontencoding{OMS}\\selectfont\\char\"67}} \\begin{document} $\\{\\bigl\\{\\Bigl\\{\\biggl\\{\\Biggl\\{$ \\end{document}",
"I presented the following problem to some of my students recently (from Senior Mathematical Challenge- edited by Gardiner) In the Fibonacci sequence $1, 1, 2, 3, 5, 8, 13, 21, 34, 55,\\ldots$ each term after the first two is the sum of the two previous terms. What is the sum to infinity of the series: $$\\frac{1}{2} + \\frac{1}{4}+ \\frac{2}{8} + \\frac{3}{16} + \\frac{5}{32} +\\frac{8}{64} + \\frac{13}{128} +\\frac{21}{256} +\\frac{34}{512}+ \\frac{55}{1024} + \\cdots$$ Now, I solved this using an infinite geometric matrix series (incorporating the matrix version of the relation $a_n= \\frac{a_{n-1}}{2}+ \\frac{a_{n-2}}{4}$), and my students, after much hinting on my part, googled the necessary string to stumble across Binet's formula (which allows one to split the series into two simple, if rather messy, geometrics). Both of these are good methods, but neither really seems plausible for a challenge set for 15-18 year olds under exam conditions. So how is one supposed to do it?",
"There are many cases in maths where doing the same thing over and over again will bring you closer to a value. Derivation of polynomials is the striking example: no matter what you start with, you end up with 0. In a series expansion, the longer you continue the sequence the closer you get to the real value. This concept applies in areas other than math (Wikipedia's everything-leads-to-philosophy phenomenon, for example). It's a little unrelated but it just proves the concept. Hashing algorithms are just special math. Following logically, hash entropy supposedly decreases the more you hash a value. So is there a point at which any input value will give the same hash as any other? (Let me just specify that we're not re-injecting any new data every time we hash, as if we're trying to increase the security of the hash by salting and re-hashing. It's strictly a matter of md5(md5(md5(... if that's the algorithm we're using. I can see some problems with this already. Algorithms like md5 are designed to change their output radically when the input changes only by one bit of information. So even if a common hash for two values appears along the way, it itself will start changing. But then, does the fact that the output appears to be very different actually mean the possibilities are still many?",
"Extracting a regex matched with 'sed' without printing the surrounding characters To all the 'sed' doctors out there: How can you get 'sed' to extract a regular expression it has matched in a line? In other words words, I want just the string corresponding to the regular expression with all the non-matching characters from the containing line stripped away. I tried using the back-reference feature like below regular expression to be isolated gets `inserted` here | v sed -n 's/.*\\( \\).*/\\1/p this works for some expressions like sed -n 's/.*\\(CONFIG_[a-zA-Z0-9_]*\\).*/\\1/p which neatly extracts all macro names starting with 'CONFIG_ ....' ( found in some '*.h' file ) and prints them all out line by line CONFIG_AT91_GPIO CONFIG_DRIVER_AT91EMAC . . CONFIG_USB_ATMEL CONFIG_USB_OHCI_NEW . e.t.c. BUT the above breaks down for something like sed -n 's/.*\\([0-9][0-9]*\\).*/\\1/p this always returns single digits like 7 9 . . 6 rather than extracting a contiguous number field such as. 8908078 89670890 . . . 23019 . e.t.c. P.S.: I would be grateful to feedback on how this is achieved in 'sed'. I know how to do this with 'grep' and 'awk' I would like to find out if my - albeit limited - understanding of 'sed' has holes in it and if there is way to do this in 'sed' which I have simply overlooked.",
"Find executable files recursively I have got the directory called Test and a few directories inside it. Both Test and the directories inside it have executable files. I'd like to print them with ls. I'd use this command. ls -l `find Test/ -perm /u=x,g=x,o=x -type f` Is this a good/right/quick command or not? My solution is: find Test/ -executable -type f -exec ls -l {} \\; and got the same result as warl0ck and pradeepchhetri offered.",
"How to reduce vertical space in matrix? I want to reduce the size of the vertical space in matrix environment and have a result something like this But at present I manage something like below with the following code $\\begin{bmatrix} 00 & 08 & 10 & 18 & 20 & 28 & 30 & 38 \\\\ 01 & 09 & 11 & 19 & 21 & 29 & 31 & 39 \\\\ 02 & 0a & 12 & 1a & 22 & 2a & 32 & 3a \\\\ 03 & 0b & 13 & 1b & 23 & 2b & 33 & 3b \\\\ 04 & 0c & 14 & 1c & 24 & 2c & 34 & 3c \\\\ 05 & 0d & 15 & 1d & 25 & 2d & 35 & 3d \\\\ 06 & 0e & 16 & 1e & 26 & 2e & 36 & 3e \\\\ 07 & 0f & 17 & 1f & 27 & 2f & 37 & 3f \\end{bmatrix}$ I can change the font using \\mathsf{}, but other than that, how I reduce the vertical space between the rows? I did find things like to increase vertical space between rows in matrix, but not something that can decrease the space."
] |
medi_sts_stackexchange_dupe
|
Calling function in Child component controller from Parent Controller using aura:method not working
|
How to call child component controller function/helper from Parent Component Controller
|
[
"When a land becomes creature, can you kill it?",
"Stack Overflow is not getting refreshed automatically Stack Overflow is not getting refreshed automatically. I have to press F5 explicitly to refresh the website. What might be the issue?",
"What is a one-word synonym for \"science lover\"? I'm searching for a one-word synonym for \"science lover\". In my case, I love science and I self study it, but I never got a degree in Physics or Chemistry or any of these related subjects (except computer-science). But I enjoy experimenting stuff and see what's going on. So, what would be a one-word good alternative for \"science lover\"? The best one I found is learner, but that's more general I guess. Scientist is probably too much in my case. I saw sciencophile in another post, but I don't really like it–it sounds too complicated.",
"Are submodules of finitely generated free modules always free? I don't believe it's true that all submodules of a finitely generated free module are free just based on results from google. Is there a canonical simple example of a finitely generated free module with a submodule that is not free?",
"I'm a Canadian citizen with a Canadian passport. I booked a flight with American Airlines to Mexico City From Toronto Pearson and it says that \"Passenger details are needed to check in\". Flight 1: YYZ -> DFW -> MEX Flight 2: MEX -> DFW -> YYZ They already took my name, gender and such. It is now asking for my passport number and expiry date. That all seems reasonable. However, when I enter that I am a Canadian resident it asks for: 1) Street or hotel in US 2) City in US 3) State in US My trip to DFW is only for a connecting flight. The fields are required so I can't submit my passport information without filling this in. Is there something I'm missing?",
"Alternative ways to say \"if and only if\"? There are some scenarios about which I would like to get some confirmation: when defining a concept A, We call A, if ... [definition of concept A] Does \"if\" here mean equivalence instead of just sufficiency? Is it incorrect to replace \"if\" with \"if and only if\"? For precisely what condition is B satisfied? Does \"precisely\" mean asking for necessary and sufficient condition for B? Some other ways to say \"if and only if\" / \"necessary and sufficient\"? Some references that summarize some standard terminologies in Mathematics such as this one? Thanks and regards!",
"Why can't photons have a mass? Why can't photons have a mass? Could you explain this to me in a short and mathematical way?",
"Using conjugates to find a limit with a cubic root: $\\lim_{h\\to 0}\\frac{\\sqrt[3]{h+1}-1}{h}$ I currently have $$\\lim_{h\\to 0}\\frac{\\sqrt[3]{h+1}-1}{h}$$ Now, I know that when you have square root instead of a cubic root it's easy. You just multiply by the conjugate and simplify afterwards. If it were a sqrt I know that the limit is 1/2. I know that the result here is 1/3 but I can't seem to get there. I always end up with 1/4 due to getting something like: $$\\frac{h+1-1}{h(\\sqrt[3]{h+1}+1)(\\sqrt[3]{h+1}+1)}$$ After simplifying and evaluating the limit you end up with $$\\frac{1}{(\\sqrt[3]{0+1}+1)(\\sqrt[3]{0+1}+1)}$$ which turns out to be $1/4$. What am I doing wrong?",
"Is it possible to determine the exact date and time (if possible) of creation of an Apple ID? Is there any official or unofficial way to establish this if you don't have the initial sign up information recorded?",
"Stupidly, I had been using a condition like this as part of a script: if [ $(ls FOO* 2> /dev/null) ] # if files named \"FOO*\" were downloaded then echo \"Files found\" # ... process and email results else echo \"Not found\" # ... email warning that no files were found (against expectations) fi That works for zero and one files named FOO*, but fails if there are more than one. From logs I found several different error messages stemming from this: [: FOO_20131107_082920: unary operator expected [: FOO_20131108_070203: binary operator expected [: too many arguments My question is: what is the correct way to check, in a Bash if condition, whether one or more files whose name begins with FOO exist? GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)",
"What does limit actually mean? I have been in a deep confusion for about a month over the topic of limits! According to our book, the limit at $a$ is the value being approached by a function $f(x)$ as $x$ approaches $a$. I have a doubt that in real number line we can never ever reach the closest value to $a$ because always a more closer value will exist. Now when talking about our methods for calculating limit, what method comes in our mind when we have to calculate where the value approaches? Let's say we have to find what value $f(x)$ approaches when $x$ moves from $[0,a)$. So we calculate the value of $f(x)$ at $x=0$, say $4$, and then at $x\\to a$. But the problem is that we don't know the value $x\\to a$, so we say the value is $a-h$ where $h\\to 0$ and calculate the value of $f(a-h)$, say $5-h$. Now here is where my doubt starts! In the final step we put the value of $h=0$ say in that it is an infinitesimal quantity. My doubt is that $h$ was tending to $0$ means that it was never equal to zero maybe it is infinitesimally small, not a stationary value, not an imaginable value, but we know for sure that it is not equal to $0$. Maybe it is the point closest to zero, but it is not equal to zero and when we use the result $5-h=5$ we are actually making an error which is tending to zero. Maybe the error is very small, but still, there is some error in that we cannot calculate it but we can see that there is this infinitesimal error present. That means we don't get the exact limiting value or last value of $f(x)$. $x$ belongs to $[0,a)$ but a value approximate to infinitesimal? Isn't it right! We get an approximated value?",
"Can a function be made to accept a variable amount of inputs?",
"I found the following blog title without a question mark from : How to ease Afghanistan’s progress in cricket Is it grammatical, if we don't put question mark in questions of titles? I think this blog title should have been like this: How to ease Afghanistan’s progress in cricket? I also found the following blog title from without a question mark: Election rigging 101: How to steal a mandate However, I found a question mark from other blog title of : Elections 101: What is the ECP and what does it do on election day?",
"Rewriting a custom-post-type permalink with taxonomy term?",
"I am firmly convinced he is innocent and his accusation is the result of the police conspiracy. I am firmly convinced he is innocent and his accusation is the result of the police's conspiracy. Which sentence do you think is a better choice?",
"I was wondering if $\\mathbf{A}\\times\\mathbf{C}=\\mathbf{B}$ and $\\mathbf{A}\\cdot{\\mathbf{C}}= p$, is it possible to express C in terms of A, B, and p? Note: A, B, C are vectors and p is a scalar. Sorry if this question has been asked before. If so, can anyone give me a link to it?",
"I have filed my 2012 tax return jointly with my wife, along with my wife's ITIN application, back in late March. In April, I got a letter for IRS ITIN department saying that we should send my wife's original passport to them. So we sent my wife's passport on May 15th. USPS tracking number confirmed that IRS received it on May 20th. However, last week (end of June) we have received another letter from IRS ITIN department saying that our ITIN application has been rejected, rejected because we have not sent the original identification document that they requested! Okay, let's put our tax return and ITIN aside. Where is my wife's passport? Right now my wife does not have her personal identification, nor proof of legal status in U.S. Could IRS have lost it? I tried to call the IRS several times. One time I waited for 1 hour and 20 minutes to talk to a person, and that person said he has only 10 minutes to talk before he has to leave. He said they'll investigate and someone(?) will call us back soon, but never called back. I wrote them a letter, but no response. I tried calling several times more, but machine is saying 'sorry too many calls right now, we can't accept your call'. What can I do?",
"Show the Dihedral Group $D_n$ is generated by rotations and reflection along the x axis.",
"Is it possible to set start-up applications to initialize in certain workspaces? I'd like to not have to manually distribute my start-up applications across my numerous workspaces every time I boot up my machine. I'm running Ubuntu 12.04 . Any Help ?",
"pgfplots external with large dataset (lualatex?) I have fairly large datasets with densely strucutred data that i cant downsampe much without loosing structure. I use TexMaker on Ubuntu 14.04LTS. I use \\usepackage{tikz,pgfplots,pgfplotstable} \\pgfplotsset{compat=1.9} \\usepgfplotslibrary{external} \\tikzexternalize and \\tikzsetnextfilename{figs/test1} to externalize the figures. This works good compiling with pdflatex -shell-escape. But as the data becomes to large I am out of memory. I am trying to compile using LuaLaTeX -shell-escape instead of pdfLatex but get the following error message: ! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error -interact ion=batchmode -jobname \"figs/test1\" \"\\def\\tikzexternalrealjob{article}\\input{ar ticle}\"' did NOT result in a usable output file 'figs/test1' (expected one of . pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls. For pd flatex, this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or something like that. Or maybe the command simply failed? so pgfPlots seem to call pdfLatex without the appropriate -shell-escape flag and without me specifying it. How can i get this to compile in LuaLatex? or can i compile only the figures in LuaLatex and the rest in pdfLatex (the opposite of what is happening now)? I found and example but neither helped me... Thankfull for help and i am also thankful for any general advice that can help me resolve the problem of ploting larger data sets in pgfplots. Cheers /J"
] |
medi_sts_stackexchange_dupe
|
Shouldn't string.Format be more efficcient than x + "" + y?
|
When is it better to use String.Format vs string concatenation?
|
[
"My online friend is asking for money in order to visit my home country. Is this a legit request or a scam?",
"Why is my total reputation less than my monthly reputation? When I went to the to see my ranking in the reputation league, I saw this. Is this an error? My total reputation is less than my monthly reputation.",
"Password Reset for Users on a Multisite Subsite",
"Booting from USB and not installing I created a live usb to boot Kubuntu, which has worked well enough. However, when the installation gets to the point of telling me to restart the computer (and it restarts) the installation window pops up again, and the computer is still signed in as a live user. None of the installation or settings appear to have saved. Any ideas?",
"Why use the Conjure Minor Elemental spell when its results are so unpredictable? The spell states: You summon elementals that appear in unoccupied spaces that you can see within range. You choose one the following options for what appears: One elemental of challenge rating 2 or lower Two elementals of challenge rating 1 or lower Four elementals of challenge rating 1/2 or lower Eight elementals of challenge rating 1/4 or lower. It seems like the only two things a player can select are the maximum CR of the elemental conjured, and, arguably, the location its summoned in. I am confused as to why you would want to use this spell given that its results are so unpredictable. Why would a wizard cast a spell that's essentially an open invitation to whatever elemental from a list decides to show up? You can't strategize around the spell very much because, as written, you don't choose what gets summoned, and you can easily end up with something you weren't counting on. It won't be useless, but why would you cast a spell that has such an unpredictable result? It's like the difference between the chromatic orb and chaotic bolt - if the chaotic bolt didnt have the chance to bounce. You'd never pick a random damage type over a damage type of choice. Why would you choose a spell that might do something you want over something that does exactly what you intend it to do? What are the situations in which you would use this spell that wouldn't be better solved by a spell of equal or lower level that has more predictable results?",
"How can I use asymmetric encryption, such as RSA, to encrypt an arbitrary length of plaintext? RSA is not designed to be used on long blocks of plaintext like a block cipher, but I need to use it to send a large (encrypted) message. How can I do this?",
"Command not found $ (dollar sign) Any command that starts with $ returns command not found How can I fix this? I am using 16.10 Ubuntu.",
"I know that the harmonic series $$\\sum_{k=1}^{\\infty}\\frac{1}{k} = \\frac{1}{1} + \\frac{1}{2} + \\frac{1}{3} + \\frac{1}{4} + \\frac{1}{5} + \\frac{1}{6} + \\cdots + \\frac{1}{n} + \\cdots \\tag{I}$$ diverges, but what about the alternating harmonic series $$\\sum_{k=1}^{\\infty}\\frac{(-1)^{k+1}}{k} = \\frac{1}{1} - \\frac{1}{2} + \\frac{1}{3} - \\frac{1}{4} + \\frac{1}{5} - \\frac{1}{6} + \\cdots + \\frac{(-1)^{n+1}}{n} + \\cdots \\text{?} \\tag{II}$$ Does it converge? If so, what is its sum?",
"In the 70's or 80's I read a short story in which 2 astronauts looking for a nice place to eat lunch choose a spot at the pole of a small desolate planet, overlooking the world's only pool of surface water. Due to the harsh extremes of heat, and lack of water, this is the home of the planet's single living organism, which has grown slowly over eons, surviving the daily extremes, moving slowly over the bare rock, dissolving it with acidic digestive juices to get the nutrients it needs for survival. The men watch the organism while eating their lunch, then depart, unknowingly leaving death behind them in their garbage - cigarette butts, tin cans, wrappings - a bonanza that the creature moves over to dissolve and ingest, along with the human-based microscopic organisms that will destroy the alien being. The theme of the story is that although we reach out to the stars to seek life, we are much more connected to the lowest forms of life on Earth, than to any life we may find on other planets. I don't remember the author and title. Can someone identify the story?",
"I am travelling to Athens, Greece, shortly, and have seen . Should I be worried? Should I cancel my trip? Update It's fine, taxis are currently on strike, but Syntagma Sqaure is fine:",
"Find the condition on $a$ and $b$ so that the two tangents drawn to the parabola $y^2=4ax$ from a point are normals to the parabola $x^2=4by$ Find the condition on $a$ and $b$ so that the two tangents drawn to the parabola $y^2=4ax$ from a point are normals to the parabola $x^2=4by.$ The required condition is $a^2>8b^2$.I dont know how to prove it.I tried. Let $(h,k)$ be the point from where tangents are drawn to the parabola $y^2=4ax$.Let $m_1,m_2$ be the slopes of the tangents.Equations of tangents are $y=m_1x+\\frac{a}{m_1}$ and $y=m_2x+\\frac{a}{m_2}$ and equations of normal to the parabola $x^2=4by$ is $y=m_1x-2bm_1-bm^3_1$ and $y=m_2x-2bm_2-bm^3_2$. As $y=m_1x+\\frac{a}{m_1}$ and $y=m_1x-2bm_1-bm^3_1$ are the same lines.Therefore,$\\frac{a}{m_1}=-2bm_1-bm^3_1$ $bm^4+2bm^2+a=0$ And I am stuck.I cannot get the desired condition.Please help me.",
"I'm working on a 2nd order passive low pass filter, consisting of two passive low pass filters chained together. – Schematic created using Let \\$ H(s) = H_1(s)H_2(s) \\$ where \\$ H_1(s) \\$ and \\$ H_2(s) \\$ are the transfer functions for each separate filter stage. Then \\$ |H(s)| = |H_1(s)||H_2(s)| \\$ Knowing the magnitude of a passive low pass filter, $$|H(s)| = \\dfrac1{\\sqrt{ (\\omega R_1C_1)^2 + 1} } \\times \\dfrac1{\\sqrt{ (\\omega R_2C_2)^2 + 1} } = \\dfrac1{\\sqrt{((\\omega R_1C_1)^2 + 1)((\\omega R_2C_2)^2 + 1)}} $$ Then trying to find the cutoff frequency: $$ \\left(\\dfrac1{\\sqrt{2}}\\right)^2 = \\dfrac1{\\sqrt{((\\omega R_1C_1)^2 + 1)((\\omega R_2C_2)^2 + 1)}} $$ $$ 2 = \\sqrt{((\\omega R_1C_1)^2 + 1)((\\omega R_2C_2)^2 + 1)} $$ $$ 4 = ((\\omega R_1C_1)^2 + 1)((\\omega R_2C_2)^2 + 1) $$ $$ 4 = (\\omega R_1C_1)^2(\\omega R_2C_2)^2 + (\\omega R_1C_1)^2 + (\\omega R_2C_2)^2 + 1 $$ And I'm stuck. Research on the web tells me \\$ \\omega_c = \\dfrac1{\\sqrt{R_1C_1R_2C_2}} \\$, but I can't find why? Can anybody show my the derivation to find this?",
"I'm trying to make a list of ways to tell if a given degree sequence is impossible. For example $3,1,1$ is not possible because there are only 3 vertices in total so one can't have degree 3. The list so far vertices has degree equal to or larger than number of vertices sum of degrees is odd for n vertices if one has degree n-1 and another has degree 0 for n vertices the sum of the degrees cannot be greater than $n(n-1)$ because this would be have more edges than a complete graph",
"Do I need an airport transit visa for Dublin, Ireland en route to the UK?",
"I have imported a mesh (AutoCad DXF) and I'm experiencing strange shading behavior. I've done the following to try and address the problem with no luck: Recalculate Normals Remove Doubles Delete Loose Geometry Cleared Seam, Sharp, and Bevel Weights There are no modifiers on the mesh. The original imported mesh looks fine in smooth shading but I need the mesh to be in quads which causes the shading to mess up as shown in photo. I can add my .blend file but I'm not sure how to do that.",
"Why do the Localization of a Ring This question may be a bit vague, but neverthless, i would like to see an answer. Wikipedia tells me that: In abstract algebra, localization is a systematic method of adding multiplicative inverses to a ring. It is clear that for integral domains, we have the Field of Fractions, and we work on it. It's obvious that a Field has multiplicative inverses. Now if we consider any arbitrary ring $R$, by the definition of localization, it means that we are adding multiplicative inverses to $R$ thereby wanting $R$ to be a division ring or a field. My question, why is it so important to look at this concept of Localization. Or how would the theory look like if we never had the concept of Localization.",
"Between you and (\"me\" or \"I\")? Is it correct to say \"between you and me\" or \"between you and I\"? I am not a native English speaker, so please bear with me.",
"How to backup an Android device? Can anyone recommend a good way to backup Android devices? Ideally I would like to do this wirelessly and, not only backup my data, but also my user settings. Is it possible to backup an image of an Android device - so that one doesn't even need to reinstall apps? It would be particularly useful to hear from users that have restored backups, as to how easy, and complete, their processes were. Thanks",
"For three days straight, I have connected to the public WiFi network at my local library. Each day, I have seen a different prompt in Terminal. Here are some of the prompts I've seen: zp-pc:~ russell$ mary-pc:~ russell$ normob05:~ russell$ I have check under System Preferences -> Sharing, and my computer name is \"Russell's Mac\". Also, I set the DHCP Client ID to \"RUSSMAC\" under System Preferences -> Network -> Advanced -> TCP/IP, but I still see the random host names at the Terminal prompt. Why is my computer name changing every day?",
"We are provided with a string A (may contain repeated characters as well ). One needs to make all possible permutations of A , and find out how many pairs of strings chosen from these permutations are not similar. Two strings are similar if we can make both of them exactly same by carrying out at most 1 swap in each of them . Example :- if we are provided with string abcd , then for permutation abcd , the permutations which are not similar to it are bcda , bdac , cadb , cdba , dabc , dcab . Similar is the case for other permuations as well. So overall number of desired pairs are 24*6=144 . I tried solving it for each possible pair by approach mentioned here But as the permutations can be large enough , I need a better approach of solving this."
] |
medi_sts_stackexchange_dupe
|
error LNK2019: unresolved external symbol "public: __thiscall destructor
|
Why can templates only be implemented in the header file?
|
[
"How do I generate a smooth random horizontal 2D tunnel? I'd like to create a smoother version of the navigable and quite natural-looking random tunnel found in . It should ideally be... infinite, so more can be generated as the player progresses; parametrised, allowing control of its thickness over time; made of smooth curves, not rectangles as in the above game; precomputable, as knowing its bounds in advance allows collision detection for e.g. positioning powerups inside the tunnel. I'm looking for a generic method I could implement myself. Further parameters and optimizations are welcome. Asking here was suggested . I think this fits in both places, as it's as much about the algorithm as about gamedev.",
"If A and B are symmetric is AB=BA true? Question if we have matrices $A$ and $B$ which are symmetric. Both of these satisfy: $$ A=A^T$$ Is $AB=BA$ true ? Attempt to solve Now if $A$ and $B$ are symmetric then $AB$ most be symmetric too. $$ AB=(AB)^T=B^TA^T=BA $$ problem is how do you proof that if $A$ and $B$ are symmetric also $AB$ is symmetric ? If somone could provide some insight on this that would ge highly appreciated. Thanks, Tuki",
"See , page 2: the internal logic diagram for the MM74HC138. The diagram shows logic inverters with bubbles at the input or at the output. Is there an actual difference between them?",
"What are the differences between executing shell scripts using \"source file.sh\", \"./file.sh\", \"sh file.sh\", \". ./file.sh\"?",
"Taking back turns, and forgotten privileges A generic question across most board games: once a player has taken their turn (taken their finger off the piece they are playing), should they be allowed to change their mind? Similarly, if a player forgets to take a privilege, such as an occupied building in Puerto Rico giving an extra worker, or plantation, if they remember a few moves later, should they be allowed to take the privilege? Very few rules explicitly express how these events should be dealt with, so they are generally left up to the group. However, my group's rules will change depending on the personality of the players playing (not all members are available each time we play). I would like to make this consistent, and would appreciate feedback on how others deal with this scenario.",
"How do I format a String in an email so Outlook will print the line breaks? I'm trying to send an email in Java but when I read the body of the email in Outlook, it's gotten rid of all my linebreaks. I'm putting \\n at the ends of the lines but is there something special I need to do other than that? The receivers are always going to be using Outlook. I found a page on microsoft.com that says there's a 'Remove line breaks' \"feature\" in Outlook so does this mean there's no solution to get around that other than un-checking that setting? Thanks",
"Is it possible to exclude questions I've already answered from the search criteria? Recently I asked if it were possible to find questions with just one answer and as a result we got an . That's great, but ... Is there a way to restrict the search to questions where that one answer isn't mine? That would help. :-) It's certainly possible to search for , but it's not possible to exclude your own posts as far as I can tell: -user:me searches for posts that . user:1-67 doesn't search for posts from user #1 to user #67, but searches for . (And I'm not sure that will help anyway since I don't think it would be possible to simultaneously exclude 69-max(userID).) -Ericson searches for posts that , but since my last name is in the the metadata and not the searchable portion of posts: no joy. And of course none of this will actually work to eliminate the questions that that I've answered already and want to ignore. In general, If I'm involved in a Q&A (or ) the notification procedures do a good job of keeping me up-to-date with developments. But when I search, it's often to find questions I've not noticed before. So being able to eliminate questions I have already answered would be a generally useful feature for me.",
"There is a requirement in our project where they want to evaluate if it is possible to downgrade SQL Server from Enterprise to Standard edition and if a server can be decommissioned. How can I identify which servers are suitable for downgrade?",
"I'm currently typing a mathematical document which counts many sum symbols. I frequently use the align environment to render equations, although the default behaviour of this environment is to render the equations in displaystyle, which in my opinion wastes vertical space. I therefore have added \\textstyle at the beginning of each line of math in this environment, but I'm looking for a more convenient solution. So is there an environment that is similar to align with the exception it displays textstyle math by default ? Thank you.",
"Universe from nothing?",
"Why is it that $$\\lim_{n \\rightarrow +\\infty} \\left( 1 + \\frac{\\lambda}{n}+ o \\left( \\frac{1}{n} \\right) \\right)^n = e^{\\lambda}$$ I once remembered the justification for \"ignoring\" the $o(1/n)$ but can't recall it again.",
"Recently my audio input, from USB headset and USB guitar cable have stopped working. Going into Windows 'Sounds' and enabling 'Listen to this device' outputs the audio as expected; the problem is not with the devices. However, as soon as I try to use them with any other program, discord, for example, no audio input is detected by discord. I have tried everything I can think of and some suggestions from Googling around; Updating everything - windows, drivers, all related software Rolling windows back to the last build Trying different USB ports Reinstalling drivers and software Running Windows troubleshooters Playing with device properties settings But nothing seems to work, any suggestions?",
"Probability of people attending same and different places $5$ tourists plan to attend Octoberfest. Each attends a location at random from the choices: Alpine, Bingeman, Concordia, Kitchener, Queens, Schwaben, Transylvania. Q What is the probability that two attend one location and three attend another same location? I get that there are $\\binom{5}{2}$ possibilities to create 2 groups. There are $\\binom{7}{2}$ ways to choose 2 places so shouldn't it be $\\frac{\\binom{7}{2}\\binom{5}{2}}{7^5}$?",
"How do I install Ubuntu to a USB key? (without using Startup Disk Creator) If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu install. To do this, I need to install the nVidia drivers first (sigh). To do this, I need changes to persist a reboot. To do this, I need to really install Ubuntu on a USB key. How do you do that? What I tried I tried to make a USB key from , then boot from it, then choose \"Install Ubuntu.\" The installer refused to install to the installation media itself. I tried, from my installed copy of Ubuntu: sudo kvm /dev/sdb --cdrom .cache/testdrive/iso/ubuntu_natty-desktop-i386.iso ...but the installer didn't detect the disk properly.",
"Polling the keyboard (detect a keypress) in python How can I poll the keyboard from a console python app? Specifically, I would like to do something akin to this in the midst of a lot of other I/O activities (socket selects, serial port access, etc.): while 1: # doing amazing pythonic embedded stuff # ... # periodically do a non-blocking check to see if # we are being told to do something else x = keyboard.read(1000, timeout = 0) if len(x): # ok, some key got pressed # do something What is the correct pythonic way to do this on Windows? Also, portability to Linux wouldn't be bad, though it's not required.",
"Is there a way in blender or an addon that allows me to select a bunch of faces (or verts) and evenly distributes (or relaxes) them into quads clean quads. Without screwing up the vert ID/order. Edit: I would like to have the shapes of my quads to turn into perfect squares while maintaining the volume of the object and the vertex order.",
"During a sunny day the walls of my house warm up (no surprise). My question: how much of this warming up (if any) comes from visible light? I associate infrared with thermal energy. If my house was floating in space (to prevent any thermal exchange with its surroundings) and I installed a giant infrared (and UV) filter between it and the sun, would it still warm up (compared to its rest temperature in full darkness)?",
"Would a 9V alkaline power a 12V DC motor? I am thinking about buying a 12V DC motor but want to keep everything, including the motor, battery, and power switch somewhat compact. I am not very knowledgeable about these kind of things and am curious whether or not my 12V DC motor would run at all on a 9V battery.",
"Can not create SFTP user Debian 7 I have a linode and I access via ssh throw terminal. I need to create an sftp user which his default directory (and the only he can access) is /var/www/xxxxxx.com/public_html/directory Now, I did it, but when I try to connect I get broken pipe or connection rejected by peer What I did is this: $ adduser --home /var/www/xxxxxx.com/public_html/directory/ username $ chown username:username /var/www/xxxxxx.com/public_html/directory/ $ chmod 755 /var/www/xxxxxx.com/public_html/directory/ $ nano /etc/ssh/sshd_config In /etc/ssh/sshd_config I added the following lines Match User username ChrootDirectory /var/www/xxxxxx.com/public_html/directory/ AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp What am I doing wrong? EDIT: This is the actual error EDIT2: this is the error in filezilla EDIT 3: auth.log Oct 15 17:47:11 (none) sshd[361]: fatal: bad ownership or modes for chroot directory \"/var/www/xxxxxxxxxxxx.com/public_html/extras_html\"",
"One-hot vs dummy encoding in Scikit-learn There are two different ways to encoding categorical variables. Say, one categorical variable has n values. converts it into n variables, while converts it into n-1 variables. If we have k categorical variables, each of which has n values. One hot encoding ends up with kn variables, while dummy encoding ends up with kn-k variables. I hear that for one-hot encoding, intercept can lead to collinearity problem, which makes the model not sound. Someone call it \"\". My questions: Scikit-learn's linear regression model allows users to disable intercept. So for one-hot encoding, should I always set fit_intercept=False? For dummy encoding, fit_intercept should always be set to True? I do not see any \"warning\" on the website. Since one-hot encoding generates more variables, does it have more degree of freedom than dummy encoding?"
] |
medi_sts_stackexchange_dupe
|
Could these hypothetical very long distance properties of light offer alternatives to an expanding universe or a finite number of galaxies?
|
Other explanation for cosmological redshift?
|
[
"My employer didn't send me W-2 for December 2015. In fact, he told me that I wasn't on payroll for the two months(Dec/Jan) I worked for them so I am not sure whether he will be able to generate W-2 for me or not. I am wondering should I call IRS and inform them about the same, and probably they will call the employer? Or should I report my December 2015 earnings as Miscellaneous and report to IRS while filing taxes? Or what other options do I have? I am a non resident alien on F-1 Visa. My employer also has not paid me full salary as promised, which I am discussing with him. Also, I got paid by check in January month for my December payment, so I am wondering does this apply for 2015 tax filing as I got paid in January 2016?",
"The spell says: The spell captures some of the incoming energy, lessening its effect on you and storing it for your next melee attack. You have resistance to the triggering damage type until the start of your next turn. Also, the fist time you hit with a melee attack on your next turn, the target takes an extra 1d6 damage of the triggering type, and the spell ends. The cantrip says: Lightning springs from your hand to deliver a shock to a creature you try to touch. Make a melee spell attack against the target. You have advantage on the attack roll if the target is wearing armor made of metal. On a hit, the target takes 1d8 lightning damage, and it can’t take reactions until the start of its next turn. If I absorb fire damage with absorb elements, would I be able to add an extra 1d6 fire damage to my next shocking grasp attack?",
"Calculate a running total in MySQL I have this MySQL query: SELECT DAYOFYEAR(`date`) AS d, COUNT(*) FROM `orders` WHERE `hasPaid` > 0 GROUP BY d ORDER BY d Which returns something like this: d | COUNT(*) | 20 | 5 | 21 | 7 | 22 | 12 | 23 | 4 | What I'd really like is another column on the end to show the running total: d | COUNT(*) | ??? | 20 | 5 | 5 | 21 | 7 | 12 | 22 | 12 | 24 | 23 | 4 | 28 | Is this possible?",
"Earlier this year, I read a huge (1000+ pg) novel about a cloistered group of monks that sort of worshiped math. The story involved alternate dimensions or time travel or something. A big thing in the book was coordinates, containing data like for speed or something as an alternate axis. There were several rings of the monastery. At some point the main character was called out of his monastery to never return. I'm hoping to figure out the name so I can discuss it with my book club.",
"Nobody owner (99 99) in FTP caused by php functions?",
"How to change background and maintain realistic effect? I have like 30 different photos to process like this, but I want to know key things to maintain realistic photo by changing it's background, or maybe just modify background so it would be more pleasing to eye.(If you know tutorial related to my problem, please do provide it to me) Here is the photo: Here is my step 2: Here is background: Here is the result: As you can see, it isn't any close to realistic feel. I fooled around with levels, but all I got was this and still it doesn't feels right. First try: Second try: Update Different background:",
"lstlisting - line number gaps Is it possible to add non-number characters on the left of a code block? Specifically, I want to add ... to correspond with some source code (see image). I am currently using commands to stop / start the line numbers. Here is the code: \\documentclass[12pt]{article} \\usepackage[a4paper, margin = 20mm, top = 30mm, bottom = 25mm]{geometry} \\usepackage{xcolor, soul} \\usepackage{listings} \\definecolor{codebackground}{rgb}{0.95, 0.95, 0.92} \\lstset { frame = tb, % hrule above and below keepspaces = true, columns = flexible, basicstyle = {\\normalsize\\ttfamily}, escapeinside = {(*@}{@*)}, % for escaping backgroundcolor = \\color{codebackground}, showstringspaces = false, language = C, keywordstyle = \\color{blue}, stringstyle = \\color{red}, commentstyle = \\color{teal}, numbers = left, % {none, left, right} firstnumber = 1, numberstyle = \\scriptsize\\color{black}, numbersep = 5pt } \\let\\origthelstnumber\\thelstnumber \\makeatletter % for stopping line numbers \\newcommand*\\stopnumber { \\lst@AddToHook{OnNewLine} { \\let\\thelstnumber\\relax \\advance\\c@lstnumber-\\@ne\\relax } } % for starting line numbers \\newcommand*\\startnumber[1] { \\setcounter{lstnumber}{\\numexpr#1-1\\relax} \\lst@AddToHook{OnNewLine} { \\let\\thelstnumber\\origthelstnumber \\refstepcounter{lstnumber} } } \\makeatother \\begin{document} \\begin{lstlisting}[firstnumber = 456] int third_function(const int c) { /* error checking */ if(c < 0) { return; } (*@ \\stopnumber @*) ... (*@ \\startnumber{512} @*) /* other stuff */ int d = 4; char* word = \"third function\"; (*@ \\stopnumber @*) ... (*@ \\startnumber{678} @*) return (c * d); } \\end{lstlisting} \\end{document}",
"Prove that $\\left(1+\\dfrac{1}{1^3}\\right)\\left(1+\\dfrac{1}{2^3}\\right)\\cdots\\left(1+\\dfrac{1}{n^3}\\right)<3$ for all positive integers $n$ This problem is copied from Math Olympiad Treasures by Titu Andreescu and Bogdan Enescu.They start by stating that induction wouldn't directly work here since the right hand side stays constant while the left increases.They get rid of this problem by strengthening the hypothesis.$$\\left(1+\\dfrac{1}{1^3}\\right)\\left(1+\\dfrac{1}{2^3}\\right)\\cdots\\left(1+\\dfrac{1}{n^3}\\right)\\le3-\\dfrac{1}{n}$$ and then proceed by induction. The problem is that I can't find a motivation for the above change.I mean,we could have subtracted a lot of things from the RHS but what should nudge us to try $\\dfrac{1}{n}$?The rest of the proof is quite standard,but I can't see how I am supposed to have thought of it.Is it just experience?Or is it a standard technique?A little guidance and motivation will be appreciated.",
"Display current layout (language code/country flag) in keyboard indicator Just upgraded from 10.04 to 10.10, and the keyboard indicator applet no longer displays the two-letter country code for the active layout. This is terrible. Is this the default behaviour? Anyone using two layouts can't tell which language they're in. I can't seem to find the setting for this, it used to be in the preferences for keyboard layout. Update 1: In case this wasn't obvious - I have two keyboard layouts - English and Hebrew. I just upgraded form 10.04, where the country code (USA/IL) was displayed, overlaid on the flag. Now all I get is a vague keyboard icon, and can't find the settings for this. Update 2: this seems to be a , and is now back in Maverick",
"How can I protect my save data from casual hacking? What options are there for saving game data in a secure manner? I'm interested in solutions specifically tailored for C++. I'm looking for something that is fast and easy to use. I'm only concerned about storing simple information such as Which levels are and are not unlocked The user's score for each level I'm curious again to know what's out there to use, any good libraries to use that give me nice, secure game data files that the average player can't mess with. I just found here which looks very nice, but it would be great to get some opinions on potential other libraries/options out there.",
"Add the ability to add \"top questions\" to Careers 2.0 Profile Allow me to add my own \"top questions\" too! I know, I know, the site should be more heavily weighted to answering, but sometimes, how and what people ask is important too! For example I recently asked which I think is a fairly good question. Clearly I'm going to avoid questions where I've asked something very simple, but I know of a user or two who are implementing their own C standard libraries and the depth of those questions is important/ought to be on show. Of course, the argument I can just look at their profile holds, but that awesome q/a might have been from a year or so ago in which case finding it is difficult.",
"Exponential of the differential operator I am not sure whether this question is even well-posed. But today I learnt that $e^Df(x) = f(x+1)$ where $D$ is differential operator and $$e^D \\triangleq \\sum_{i=0}^{\\infty} \\frac{D^i}{i!}.$$ (ref. ) So I was curious as to whether the differential equation $$\\frac{df(t)}{dt} = e^Df(t) = f(t+1)$$ has any solutions apart from $f = 0$?",
"Was Stack Exchange named after Experts Exchange? Was Stack Exchange named after Experts Exchange, or is the former using the word \"Exchange\" a coincidence?",
"How would I use Takeown to take ownership of all folders on one drive?",
"It is given that $X,Y \\overset{\\text{i.i.d.}}{\\sim} N(0,1)$ Show that $\\frac{XY}{\\sqrt{X^2+Y^2}},\\frac{X^2-Y^2}{2\\sqrt{X^2+Y^2}} \\overset{\\text{i.i.d.}}{\\sim} N(0,\\frac{1}{4})$ I was thinking of making polar transformations $X=r \\cos \\theta, Y=r \\sin \\theta$ Then I am getting stuck at ranges of $\\theta$",
"Is there a systematic way of solving cubic equations? In my text book, to solve cubic equations, I need to find by trial & error what $f(a)$ will make the equation 0. The factor will be $(x-a)$ then the other factor will be $Ax^2+Bx+C$ then I can solve using compare coefficient But for te first part, is there any other way apart from trail & error? Or is there some technique to guess the factor of an equation? The question I am currently doing happens to be $2x^3+3x+4=9$ UPDATE: $2x^3+3x+4=9$ should be $2x^3+3x+4=9x^2$ UPDATE 2 So I am going to try substituting $x=\\pm{1}, \\pm\\frac{1}{2}, \\pm{2}, \\pm{4}$ When $x=-\\frac{1}{2}$, one of the provided answers, $2(−0.5)^3−9(−0.5)^2+3(−0.5)+4=-18.75\\neq 0$ did I make a mistake?",
"The ship flying away from Rey in her flashback of being left on Jakku looks like one of the ships in the group that takes her away when she is captured. If so, and it is a First Order ship that dropped her off, this is an interesting Easter egg.",
"Are you allowed to stack Divine Smite and Eldritch Smite on the same attack?",
"How do I tell if ACR will work with my camera and how do I get the correct version for Photoshop?",
"What's the associated matrix of this linear operator? Let $V$ be a complex vector space of dimension $n$ with a scalar product, and let $u$ be an unitary vector in $V$. Let $H_u: V \\to V$ be defined as $$H_u(v) = v - 2 \\langle v,u \\rangle u$$ for all $v \\in V$. I need to find the characteristic polynomial of this linear operator, but the only way to find it that I know of is using the associated matrix of the operator. I don't know how to find this matrix because I don't know how to deal with the scalar product. Is there some other way to find the characteristic polynomial? If not, how can I find the associated matrix of this linear operator? Thanks in advance."
] |
medi_sts_stackexchange_dupe
|
combine a list with &&
|
How do I convert an argument list to a sequence of arguments?
|
[
"Let $G$ be a finite abelian group, then $G$ has a subgroup of order $n$ if and only if $n\\mid G$. Proof: by Lagrange if $H\\leq G$ then $|H|$ divides $|G|$ so this proves one of the implications. We prove the other implication by strong induction on the order of $G$, for primes this is just Cauchy, so we can take these like base cases. Now let $n$ be a proper divisor of $|G|$, take $p$ a prime in the factorization of $|G|$ (instead of $|G|$ is should be $n$, I had made a mistake when typing the first time), then by cauchy there is an element $x$ of $G$ of order $p$, since $G$ is abelian $\\langle x\\rangle$ is normal in $G$ so we can look at the quotient group $G/\\langle x\\rangle$, this group has order $\\frac{|G|}{p}$, now take a prime $p_1$ in the factorization of $\\frac{|G|}{n}$. By induction the quotient group has a subgroup $E$ of order $G/pp_1$ now look at the preimage of $E$ under the natural homomorphism from $G$ to $G/\\langle x\\rangle$, it is easy to see this is a subgroup of $G$, we call it $I$, consider the restriction of the natural projection to $I$, this is a surjective homomorphism from $I$ to $E$ with kernel $\\langle x\\rangle$ so by the first isomorphism theorem $I/x\\cong E$ so $\\frac{|I|}{|\\langle x\\rangle|}=|E|\\implies |I|=\\frac{|G|}{pp_1}{p}=\\frac{|G|}{p_1}$ Notice $\\frac{|G|}{p_1}$ is a multiple of $n$ since $p_1$ was in the fatorization of $\\frac{|G|}{n}$. So by induction $I$ has a subgroup of order $n$ which is also a subgroup of $G$.",
"Evaluating $\\int_{0}^{1}\\frac{x-1}{(x+1)\\ln x} dx $ Evaluate the following integral $$\\displaystyle I=\\int_{0}^{1}\\frac{x-1}{(x+1)(\\ln x)} \\mathrm{d}x $$ My work: I tried it by letting $\\displaystyle I(a)=\\int_{0}^{1}\\frac{(x-1)x^a}{(x+1)(\\ln x)} \\mathrm{d}x$ and then $\\displaystyle I'(a)=\\int_{0}^{1}\\frac{(x-1)x^a}{x+1} \\mathrm{d}x$. Now $\\displaystyle I'(a)=\\int_{0}^{1}x^a \\mathrm{d}x-\\int_{0}^{1}\\frac{2x^a}{x+1} \\mathrm{d}x$ Now if $\\displaystyle J(a)=\\int_{0}^{1}\\frac{x^a}{x+1}\\mathrm{d}x$ , then by applying integration by parts, we get the reccurence relation $J(a)+J(a-1)=\\dfrac{1}{a}$ and we can solve it then, but the thing is, we neet to find $I(0)$ ,so even if we compute $J(a)$, it wouldn't be defined at $0$ and so would $I(a)$, then how do I find $I'(a)$ by other method? I also tried the substitution $x \\to \\frac{1}{x}$, which yields $\\displaystyle I=\\int_{1}^{\\infty}\\frac{(x-1)}{(x+1)(\\ln x)} \\mathrm{d}x$ and when I saw their graphs, it clearly doesn't seem that the area under the graph of this function from $0$ to $1$ and from $1$ to $\\infty$ are equal. I would appreciate if someone could continue from my method and other solutions are also welcomed...",
"How can I limit the headphone max volume on OS X? So I hurt my ears from excessively loud music last week at work. I'm well aware of the volume down key of course, but I tend to crank it up too much throughout the day without noticing it. I need a limiter and it needs to be system-wide, since I listen to various other sound sources aside from iTunes. This isn't really an issue on my phone, since I can set a volume limit in the iOS settings. Is there an equivalent built-in or third-party fix for OS X Lion?",
"Help me to get command or ansibile Regex to fetch below details",
"Uses of the definite article (the) in generic noun phrases",
"Geometry with Trigonometry From the given figure, prove that $$\\cot\\ \\theta=\\cot\\ A+\\cot\\ B+\\cot\\ C$$ I could not even start to the first point. Please help me to solve this. Thanks in advance",
"Convert a Bitmap to GrayScale in Android",
"Sorting seach results in Android app The issue is how can user sort questions for a particular search query? For example, I would want to search questions for and want to see newest questions first. Right now If we write any query in Search Questions... input box then users are not able to select sorting options as search questions input box takes whole width of the screen and sorting options box gets hidden. I have also tried to select sorting options first and then search for but still its showing questions without considering sorting option I have selected.",
"Deseasonalizing count data I used stl() in R to decompose count data into trend, seasonal & irregular components. The resulting trend values are not integers anymore. I have the following questions: Is stl() an appropriate way to deseasonalize count data? Since the resulting trend is not interger valued anymore, can I use lm() to model the trend components?",
"how to concatenate string variables into a third?",
"As a new user, I find it impossible to contribute to the community or to even begin contributing. I know why the reputation system is in place and I respect it, but at the same time it is too hard on new users. It started with me wanting to upvote a question... \"Vote Up requires 15 reputation\" Just to appreciate a good question that helped me I need 15 rep? OK..., so I find out how I can get reputation points. More or less, I need to ask a question for +5 and add an answer for +10. I don't have any questions at the moment and I don't want to spam a random question, but I did happen to have a slightly different answer to the earlier question that I wanted to upvote. So I try to answer... This question is protected to prevent \"thanks!\", \"me too!\", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site. Now... I know this doesn't apply to every question, but at the same time, this means I'm forced to answer yet another question, and I don't want to go around looking for random questions and spam irrelevant answers... Now I'm stuck. So I try to talk to some other users in the chat rooms about how to go about getting reputation points and how they first started. I entered into a \"casual chat room\". You must have 20 reputation on Meta Stack Overflow to talk here. Yes... I can understand why this is enforced, because we don't want new users to spam chat rooms, but all I wanted to do was ask for help. So I can't even talk to anyone about my newbie problems. So okay, I'll just settle for upvoting comments in the question that helped me. I don't see an upvote hover-over button so I can't even do that. So now I'm stuck at 1 reputation point, unable to cross that 15 rep barrier, and even after posting this question I'll only have 6 rep points and still unable to do anything, and I'll be forced to look for questions to answer. Yes, I should be contributing to the community, but I shouldn't need to begin answering or making questions to upvote questions and answers. This only spurs more spam/irrelevant answers if anything. Very, very, very new-user unfriendly.",
"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.",
"I am looking for a book that goes through the mathematical aspects of neural networks, from simple forward passage of multilayer perceptron in matrix form or differentiation of activation functions, to back propagation in CNN or RNN (to mention some of the topics). Do you know any book that goes in depth into this theory? I've had a look at a couple (such as Pattern Recognition and Machine Learning by Bishop or Deep Learning by Goodfellow, Bengio and Courville) but still have not found a rigorous one (with exercises would be a plus). Do you have any suggestions?",
"I am trying to install Microsoft Office 2013 on Ubuntu 12.04 LTS (32-bit). I have downloaded an iso file of said product and installed wine1.4-i386 using the apt-get command on the terminal. The question is I don't know the steps how to install it. I can't get much tutorials on Internet how MSOffice2013 can be installed on Ubuntu. If any versions of wine isn't an option, what other options can be used to run Microsoft Office 2013?",
"How is the recommended next badge determined exactly? According to , the \"Progress to next badge\" bar automatically selects the badge you're closest to earning (or that's most logical to go for next) While \"the badge you're closest to earning\" is pretty easy to determine: it's the bar with the most progress, I'm wondering what \"most logical to go for next\" means. Because right now on Meta Stack Exchange, I can track two badges: Illuminator and Legendary. My progress for Illuminator is 66.40% and for Legendary it's 66.67%, yet Illuminator is shown as the recommended next badge: On some child metas where I barely have any activity, Student is shown as recommended next badge with a progress of 0/1, but I do have cast some votes so I have a small progress towards e.g. Civic Duty. So obviously there is some other logic at work, but what?",
"Is this correct: \"Our listeners are what make X\"?",
"Why two inverters cascaded in multiplexer control signal terminals? Why cascaded inverters are used in the multiplexer when it is possible to realize the circuit using a single inverter.",
"The indefinite article applied to a group of things",
"I would like to install Ubuntu for almost 120 users. But it's very difficult in using USB and drives. Any suggestions?",
"I have the following diagram: \\documentclass{article} \\usepackage{amsmath,amsfonts,graphicx} \\usepackage{algpseudocode} \\usepackage{tikz, nth} \\usetikzlibrary{arrows.meta,decorations,decorations.pathreplacing,calc,bending,positioning, chains} \\begin{document} \\begin{tikzpicture}[scale=0.6] \\draw[thick,] (0,8) -- (0,0) node[left] {0}; \\draw[thick,] (0,0) -- (8,0) node[right] {8}; \\draw[thick,] (8,8) -- (8,0) node[left] {}; \\draw[thick,] (8,8) -- (0,8) node[left] {8}; \\draw[thick,] (4,0) -- (4,8) node[left] {}; \\fill (1, 4) circle[radius=2.5pt] node[below]{$A$}; \\fill (2, 6) circle[radius=2.5pt] node[below]{$B$}; \\fill (3, 2) circle[radius=2.5pt] node[below]{$C$}; \\fill (4, 8) circle[radius=2.5pt] node[below]{$D$}; \\fill (7, 3) circle[radius=2.5pt] node[below]{$E$}; \\fill (6, 1) circle[radius=2.5pt] node[below]{$F$}; \\fill (5, 7) circle[radius=2.5pt] node[below]{$G$}; \\fill (3, 8) circle[radius=2.5pt] node[below]{$H$}; \\end{tikzpicture} \\end{document} How can I position the caption of the node $D$ both below and left, so that the line doesn't obscure the caption?"
] |
medi_sts_stackexchange_dupe
|
detect duplicate character in string
|
How do I compare strings in Java?
|
[
"Let $\\{a_n\\}$ be an unbounded, strictly increasing sequence of positive real numbers and let $x_k=\\frac{a_{k+1}-a_{k}}{a_{k+1}}$. Which of the following statements is/are correct? (CSIR NET December 2014) For all $n\\geq m, \\sum\\limits^{n}_{k=m}x_k>1-\\bf{\\frac{a_m}{a_n}}$ There exist $n\\geq m, \\sum\\limits^{n}_{k=m}x_k>\\frac{1}{2}$ My attempt: Analysing question in light of $a_k=k\\implies x_k=\\frac{k+1-k}{k+1}=\\frac1{k+1}$, I feel both are correct, I doubt if I can generalise the result in light of this one example. Any way to prove that this true for general case? Note: Please do not confuse with my question. The first two options are different, I've marked the difference in bold.",
"How to find the sum of the sequence $\\frac{1}{1+1^2+1^4} +\\frac{2}{1+2^2+2^4} +\\frac{3}{1+3^2+3^4}+.....$ Problem : How to find the sum of the sequence $\\frac{1}{1+1^2+1^4} +\\frac{2}{1+2^2+2^4} +\\frac{3}{1+3^2+3^4}+.....$ I am unable to find out how to proceed in this problem.. this is a problem of arithmetic progression... Please suggest how to proceed...Thanks..",
"How to format a USB or external drive? Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop, but instead come on the Launcher.",
"How to stack three relations",
"I'm using Ubuntu and I'm trying to connect to another machine in a different network using remote desktop. In Windows7 I have made the following in order to activate remote desktop: I've gone to computer -> properties -> remote settings I've selected the option: \"Allow connections from computers running any version of Remote Desktop I've opened \"Windows Firewall with Advanced Security\" In inbound rules I've enabled the rules for remote desktop (public and domain) I have also installed Remmina in the Ubuntu machine. For configuring it I did the following steps: Selected the RDP protocol In the server input I have written the Windows machine public IP. In username / password I have typed my login credentials (the same as my Windows admin account) But when I try to connect I get this error message: \"Unable to connect to RDP server 89.130.251.160\" If I ping my Windows7 machine, I have a correct response. Any suggestions?",
"The Earth is spinning, so why don't we jump and land on a different location? I know there are similar questions on StackExchange but I think it is different and detailed. The earth is spinning 465 meters/second so why don't we jump and land on a different location? I googled about this question and I got some answers: When we jump, we (and the atmosphere itself) also spin along with the earth so we don't land at a different location. (But why we are also spinning along with earth ?) The earth is so big and we are very small relative to earth so the tiny jump won't make any difference. But according to answer 1, We are also spinning with the earth. But the question is, \"why are we also spinning along with earth\" ?? Regarding the answer 2, it won't make any difference but logically it doesn't make sense or I just don't understand it. Here is the followup question, \"When we jump why don't we thrown out of earth due to centrifugal force of the spinning earth ??\" Please provide some detailed answer to these questions. With logic if possible. This phenomenon is not possible I know, but even if it exists, then traveling will be so easy, we just have to hang on space (with help of helicopter etc.. ) and we can travel the whole world in 24 hours :D",
"In my lecture, the lecturer said: Let $K$ be the key generation algorithm. Given a security parameter represented in unary, $1^k$, $K(1^k)$ will output a keypair $(pk; sk)$, known as the public key and the private (or secret) key, respectively. My question is: When I want to implement the cryptosystem, how should I represent this $1^k$? When I implement the key generation procedure, do I literally require callers to pass me a string of $k$ one-bits that the procedure will never use? And, if so, why is it there in the first place?",
"Will the silhouette formula change depending on the distance metric? I am using Silhouette width to compute the best value for k in k-means. As I am performing document clustering, I am calculating the values of a and b as follows in Python: a = distance(data[index], centroids[clusters[index]], metric=metric, p=p) b = min([distance(data[index], c) for i,c in enumerate(centroids) if i != currentindex]) score = float(b - a) / max(a, b) if max(a, b) > 0 else 0.0 The original formula from the is the following: I am using a cosine similarity measure to compute the distances and was wondering if this formula needs to be changed or it can be left as is. In the above snippet of code, the function distance computes the cosine similarity metric.",
"What is meant by \"obfuscate by pretending\"? I came accross the following sentence: \"Politicians obfuscate by pretending that the world would be the same if it weren't for the Cold War.\" What is the meaning of obfuscate by pretending and how does it relate to the rest of the sentence? The way I understood it: politicans are aware that the world would not be the same if it weren't for the Cold War, but are (due to unknown or suspected reasons) not willing to admit this and therefore pretend otherwise.",
"Question on operator: // N",
"Did Sidious know the secret of cheating death? In Star Wars: Revenge of the Sith, Chancellor Palpatine tells Anakin the tale of Darth Plagueis the Wise. He told Anakin that if he joined the dark side he could save the people he loved from death by extending their midichlorian count, just as Darth Plagueis had done (obviously more subtly than that). When Anakin asked what had happened to Plagueis, Palpatine says: Unfortunately, he taught his apprentice everything he knew. Then his apprentice...killed him in his sleep. It is revealed (not in the movie) that it was Palpatine himself that was Plagueis' apprentice After Anakin and Palpatine kill Mace Windu, Palpatine says, To cheat death is a power only one has achieved, but if we work together I know we can discover the secret. This implies that Palpatine doesn't already know the secrets but if Plagueis taught him \"everything he knew\" then surely he would have. So did Sidious know the entire time or was \"everything he knew\" an exaggeration? Just to be clear when I say \"cheat death\" I only mean extending someone's midichlorian count, not \"transfer essence\" or anything else like that.",
"How to check iOS version?",
"Are all multiplicative functions additive?",
"Greek Text (babel) and English Code Text (listings): Problem I use the babel package in order to write in greek with font \"kerkis\". I want to add code in english (\"courier new\" font) to my latex document but I get some difficulties. Can anybody help me, please. Thank you in advance. \\documentclass[12pt]{article} \\usepackage[english,greek]{babel} \\usepackage[utf8x]{inputenc} \\usepackage{graphicx} \\usepackage{fancybox} \\usepackage{verbatim} \\usepackage{courier} \\usepackage{kerkis} \\usepackage{float} \\usepackage{geometry} \\usepackage{fancyhdr} \\usepackage{titlesec} \\usepackage{tocloft} \\usepackage{hyperref} \\usepackage{afterpage} \\usepackage{color} \\usepackage{listings} \\renewcommand{\\lstlistingname}{Κώδικας} \\lstset{ %matlab backgroundcolor=\\color{white}, basicstyle=\\normalsize, % COURIER NEW? commentstyle=\\color{green}, % comment style escapeinside={\\%*}{*)}, extendedchars=true, frame=single, keywordstyle=\\color{blue}, % keyword style numbers=left, numbersep=5pt, numberstyle=\\normalsize\\color{black}, rulecolor=\\color{black}, stepnumber=1, stringstyle=\\color{magenta}, % string style } \\begin{document} \\selectlanguage{greek} Ελληνικά: \\textlatin{this word means greek} \\selectlanguage{english} Now I write in english \\selectlanguage{greek} Ελληνικά %\\selectlanguage{english}??? \\begin{lstlisting}[caption = \\textlatin{example1.m}] { % Entropy E = 0; for i = 1:J if p(i) ~= 0 E = E + p(i)*log2(1/p(i)); end end } \\end{lstlisting} \\end{document}",
"Try to do something vs. Try doing something Is there any differences between Try to do And Try doing Thank you in advence.",
"CDF of absolute value of difference in random variables",
"Why are bias nodes used in neural networks? How many you should use? In which layers you should use them: all hidden layers and the output layer?",
"How to execute a script just by double clicking like .EXE files in Windows? How can I make a bash script executable by double clicking just like .exe files in Windows? I tried , but there are two consequences: the terminal twinkles, disappears, and nothing is done. you must specify to run in terminal in order to work. I have a script that installs tomcat on an offline PC, including all dependencies of tomcat in the script. I need to make the script work on double clicking like windows since most who use the script will not be familiar with Ubuntu. Forget the above explanation. I want to make a script that can be run by double-clicking on it, without using the terminal. Anybody knows how?",
"When can we find holomorphic bijections between annuli?",
"What is the meaning of this sentence - \"Were it not for the bodies there on the ground, it would have appeared to be a normal day at the oasis.\"? Possible Duplicate: What is the meaning of this sentence - \"Were it not for the bodies there on the ground, it would have appeared to be a normal day at the oasis.\"? Does it mean something like this - If the bodies were not there on the ground, it would have appeared to be a normal day at the oasis. Can anyone also explain the structure of this sentence and example of some similar sentences?"
] |
medi_sts_stackexchange_dupe
|
need help with solid color layer on photoshop
|
how do i change the color of typeface on photoshop?
|
[
"Shapefile projections not matching up in QGIS? To start off with, I'm very new to QGIS. I'm attempting to place a shapefile with locations for 3 substations on a map of Peniche, Portugal. The locations for the substations are given in latitude and longitude coordinates. When I start off by importing the substation shapefile, I make sure that both the layer CRS and project CRS are set to EPSG:32629, which gives each substation point the correct coordinates, however the scale is at 1:1, which is not correct. As soon as I then add a raster map of the region or a shapefile of Portugal using the same CRS the position of the substations also becomes incorrect. I'm sure there's a simple solution I'm not getting, but I've been trying for a while and have had no success. Here's a dropbox link to the files",
"Creating account didn't log me in / didn't create an account",
"I can not see how mathematically one can divide the numerator and denominator by theta. Can some one explain this in a different way. When you divide two fractions you multiply the first fraction by the reciprocal of the second. This is not the case here. Divide numerator and denominator by $\\theta$. ($\\sin\\theta$ also works.) $$\\eqalign{\\lim_{\\theta\\to0}\\dfrac{\\sin\\theta}{8\\theta+\\tan\\theta}&= \\lim_{\\theta\\to0}\\dfrac{\\dfrac{\\sin\\theta}\\theta}{8+\\dfrac{\\sin\\theta}\\theta\\cdot\\dfrac1{\\cos\\theta}}\\\\&=\\dfrac{\\lim\\limits_{\\theta\\to0}\\dfrac{\\sin\\theta}\\theta}{8+\\lim\\limits_{\\theta\\to0}\\dfrac{\\sin\\theta}\\theta\\lim\\limits_{\\theta\\to0}\\dfrac1{\\cos\\theta}}\\\\&=\\dfrac1{8+1\\cdot1}\\\\&=\\dfrac19.}$$",
"Programming pattern to generate VGA signal with micro-controller? I want to generate VGA signal with micro-controller (like TI Tiva ARM which runs at 90/120Mhz speed). I'm not sure how to make accurate timings with micro-controller. Which programming pattern I need to use? Do I need any inline assembler code? How to wisely use interrupts? Would be great if anybody show some pseudo code how to generate VGA signal. I successfully generated VGA signal with FPGA. But I just can't figure out how to do it with MCU.",
"Deleting missing data with CountryData",
"Is it possible to get the sheetname?",
"How to find the mime type of a file in python? Let's say you want to save a bunch of files somewhere, for instance in BLOBs. Let's say you want to dish these files out via a web page and have the client automatically open the correct application/viewer. Assumption: The browser figures out which application/viewer to use by the mime-type (content-type?) header in the HTTP response. Based on that assumption, in addition to the bytes of the file, you also want to save the MIME type. How would you find the MIME type of a file? I'm currently on a Mac, but this should also work on Windows. Does the browser add this information when posting the file to the web page? Is there a neat python library for finding this information? A WebService or (even better) a downloadable database?",
"How to create a scope? I'd like to create a custom scope that searches and returns results from an online source for personal use. Is this possible? And if so, how?",
"How do I update the GUI from another thread?",
"How to figure if it is safe to travel to the area I am interested in? When planning a trip, I like to make sure I will feel safe enough (I am talking about war/terrorism risk, not pickpockets), or at least I like to have an idea about the risks. I know the risk could be subject to political views (for example the political stability of a region might not be acknowledged by every country) and therefore I am mostly interested in a Western country view. In order to figure that, I thought about checking travel operators offers. I suppose if they do not organise trips to a specific region, it might be due to political instability risks. But it might be due to a lack of tourist interest too. As I tend to travel without their help, I am not really considering this kind of source as very helpful. So I am interested in one (or two, for cross-checking) source(s) of information with a western view (I mean I understand the view could be biased) regarding the security of ideally any area in the world. My expectation is that, the same way I can browse a tour operator's catalog of visited areas, I could browse through the areas and see if it is recommended or not to travel there.",
"I am trying to display certain features in a shapefile-based layer using QGIS. I have found the subset function in the properties panel, which does exactly what i want, but is too tedious given that I have to manually sift through a large number of features. Is there a quicker way to do this? I am using both shapefiles and postGIS best, dietmar",
"Already I have lost all hope of looking at late answers etc. It's just a parade of meh. I can't make any kind of intelligent decision because I can't see the other answers to the question, for instance. There's no Looks Good, only Skip, and those feel different to me. So I've been more interested in . But people keep approving crap while I'm looking at it. Two or three \"the post was already approved; please visit to edit\" and I'm just \"screw this whole thing\". Can we do something like one reject bounces all existing votes: you need three approves in a row? Because a lot of people are stupidly approving and actually driving me away from the queue. Note this is less about letting bad edits through and more about keeping reviewers motivated.",
"Entire function problem: translation",
"Alternative to Adobe Illustrator Can you recommend a good alternative to Adobe Illustrator? I am learning vector based graphic design, but I am not ready to make such a large investment as to purchase a copy of Adobe Illustrator. Also, Illustrator might be a little more power than I need at the moment. I am using a Macintosh.",
"What should I do to avoid ear pain when flying?",
"Does electron orbital theory contradict the Heisenberg uncertainty principle?",
"How can I find the right lens cap for my lens? I own a Nikon D3000 Camera with the AF-S 18-55mm VR Kit Lens. Last week I lost the lens cap and now I want to buy a new one. But when I went to , I got confused with the different ranges of lens names — LC-62, LC-78, etc. My concern is what if I order one lens cap and it won't fit correctly on my lens? If you guys have an D3000, can you please let me know how to find the correct lens cap names?",
"How to prevent automatic redirection of 404 errors and \"incorrect\" URLs? Wordpress has a feature whereby it will automatically redirect your URLs if it percieves them to be written wrongly. Here is an example: I have a page called my-page If I go to: www.mysite.com/something/my-page/ it will immediately redirect me to www.mysite.com/my-page/ as nothing exists at the first URL. How can I turn this feature off, and instead just get a 404 if incorrect URL's are typed in?",
"I have customers who want to buy large amount of flash memories but he wants to copyright all files inside it. The flash will contain files that will be delivered for his customers but they're not allowed to copy or delete any of the files the only allowed permission is to ready the files. I searched and found many solutions but all have on function it WriteProtect the USB though I can't add files to Drive at all but I can delete or copy any file in the drive. Is there any way to protect the flash memory so I can't copy data out of it?",
"Difference between \"in time\" and \"on time\" I have an appointment at 8 and I arrive there at 7:55, is it \"on time\" or \"in time\"? What about \"the nick of time\"?"
] |
medi_sts_stackexchange_dupe
|
Find the probability of Filium (child) that are dark (and) heterozygote
|
Two mice heterozygote and black are reproduced. Find the probability of getting the filium dark and heterozygote
|
[
"Reading text file with NSString:stringWithContentsOfFile?",
"Could someone with experience in using these exercise typesetting packages please offer a quick compare and contrast of these packages to help me choose? Packages under consideration are: Having read briefly the documentation, they all seem to do the same thing generally, so could you please focus on the differences? Some differences will not be obvious until I've learnt and used all the different packages but I want to better appreciate the differences now, a priori.",
"What to call the attitude of pursuing something",
"What are good advanced LaTeX books?",
"Attempting to compile kernel yields a certification error I'm currently attempting to follow guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian. Every time I attempt to compile the kernel, however, I get this error following the line \"CC certs/system_keyring.o\": CC certs/system_keyring.o make[2]: *** No rule to make target 'debian/certs/[email protected]', needed by 'certs/x509_certificate_list'. Stop. Makefile:951: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2 I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). Can someone out there tell me how to fix my OS and compile my kernel? P.S. Here is the output of cat /proc/version: Linux version 4.6.0-kali1-amd64 ([email protected]) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)",
"Can I take a sex-toy on plane through UAE? I will be traveling from Australia to Austria, transferring in Abu Dhabi. Is it alright for me to bring a vibrator in the check-in luggage, or are there laws against that? It is approximately 17cm long. Are there any precautions to take?",
"Use of inequality $1 - \\cos (x) \\leq x^2 /2$ In answer the value of $1 - \\cos(x)$ has to be evaluated in order to find its upper limit, if it exists. In particular, $x = 2 \\pi / n$. The answer is related to the length of a side of a regular $n$-gon inscribed into a unit-radius circumference; because the perimeter of the $n$-gon is always less than $2 \\pi$, the single side must always be less than $2 \\pi / n$. The inequality $$1 - \\cos (x) \\leq \\displaystyle \\frac{x^2}{2}$$ (1) is used and the proof is completed with $$2(1 - \\cos(x)) \\leq (2 \\pi / n)^2$$ $$\\sqrt{2(1 - \\cos(x))} \\leq 2 \\pi / n$$ But it is well known that the cosine is a function $f(x) \\in [-1;1]$, so $1 - \\cos (x) \\in [0,2]$. By using this information, we would obtain $$1 - \\cos (x) \\leq 2$$ (2) The proof would provide $$2(1 - \\cos(x)) \\leq 4$$ $$\\sqrt{2(1 - \\cos(x))} \\leq 2$$ which is a completely different result. Why in that case it is preferable to use (1) instead of (2)? How to choose when it is convenient to use (1) and when to use (2) in a proof?",
"Differences between no child vs no children a) They have no child. b) They have no children. Are both a) and b) correct? Though b) seems more common.",
"External hard drive and Recycle Bin behavior When my Seagate external hard drive is plugged in, its $RECYCLE.BIN folder automatically contains all the files contained in the Recycle Bin of the PC. Is it true that actually we don't have any Recycle Bin of external hard drive, rather it is the Recycle Bin of the PC? Why is it so?",
"I checked my to see whether I can find something similar to the main-site flag-history for chat-flags, but didn't find anything. I recently had the (dis)pleasure of regularly having to deal with a user, that has been deleted multiple times. Whenever they show up (with the same nick-name) again I have to flag them again. I'd like to get an overview of how often I had to do that, and whether my flags were helpful for the moderators. As such I propose the implementation of a flag-history as it is already in place for the main-site for chat-flags, that request moderator intervention. To be completely clear I am not talking about the 10k user flags, which are acted on in a matter of sometimes seconds with instantly visible results, but about moderator attention flags from this menu:",
"Comparing StringBuffer content with equals",
"Problem working fontspec, babel and datetime with cyrillic I have discovered that fontspec with russian babel settings doesn't work with datetime package. I tried to compile such code: \\documentclass[a4paper,11pt]{article} \\usepackage[T2A]{fontenc} \\usepackage[utf8]{inputenc} \\usepackage[main=russian,english]{babel} \\usepackage{datetime} \\usepackage[cm-default]{fontspec} \\begin{document} \\today \\end{document} with a xelatex and got an error: Command \\cyri unavailable in encoding EU1. Is there any way to handle it? UPDATE: I really bungle with charset in XeLateX. Thanks to egreg. I have removed fontenc and inputenc and used some cyrillic font, so my MWE now looks this way: \\documentclass[a4paper,11pt]{article} \\usepackage[main=russian,english]{babel} \\usepackage{fontspec} \\setromanfont{PT Sans} \\usepackage{datetime} \\begin{document} \\today \\end{document} and I've got another error, if I used russian as a main language in babel: Undefined control sequence. \\\\monthnamerussian ...cyrm \\cyra \\cyrya \\or \\cyri \\cyryu \\cyrn \\cyrya \\or \\c... Is it still because of XeLaTeX?",
"I'm looking to schedule 16 players to play a round robin tournament with each other such that there are 4 players at each table. I'd like for each player to play with each other player exactly once over the course of 5 rounds. I just took a look at this post: , and I was wondering if anyone knows if the case n=m=4 has been solved, and if so what that solution is.",
"Book covering differential geometry and topology for physics I'm interested in learning how to use geometry and topology in physics. Could anyone recommend a book that covers these topics, preferably with some proofs, physical applications, and emphasis on geometrical intuition? I've taken an introductory course in real analysis but no other higher math.",
"What is approximate error of Pythagorean Theorem vs. Haversine Formula in measuring distances on sphere at various scales? Many people when first trying to calculate distances between two longitude / latitude pairs ask if Pythagorean theorem works as an appropriate distance function. Most often people answer \"no, the Pythagorean theorem only works on a 2D Euclidean plane.\" Rarely, however, do people mention the effect of scale and location on the sphere on how inaccurate the Pythagorean theorem is. The basic idea being at very small scales, the surface of a sphere looks very much like a plane. At very large scales, it distances along the surface are more curved and therefore the difference between the incorrect Pythagorean Theorem and the correct Haversine Formula is greater. Does anyone know a formula or rule of thumb that tells you the difference between the two distance measures based on the scale of the distance you are trying to measure? I think having this explicitly would help in: explaining why the Pythagorean Theorem isn't perfect; and in letting people who are looking for more \"rough\" distances know when Pythagoras actually will serve their purposes.",
"how to extend a basis",
"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?",
"Adding Basemaps from Google or Bing in QGIS",
"Why don't Death Eaters always use Avada Kedavra? When the Death Eaters attacked Hogwarts, why did the Death Eaters not just use Avada Kedavra and kill everyone?",
"Short Story: Army investigates barrier and house I am trying to identify the author and title of a short story with the following plot. A scientist narrates a story where s/he is called in to help the army investigate an unexplained phenomena. The army has cordoned off an area where a prairie home has appeared. It is surrounded by a dome that allows things to enter but not to leave. Briefing the scientist, the Army explains that it appears that it is a family of five with mother, father, son, daughter, and grandfather. They look completely normal and live an idyllic life of the 40s or 50s. They continue to send probes in to investigate the dome and its proprieties. Not sure if this a time anomaly or another dimension. An Army lieutenant, so enamored by their life runs through the barrier to join the family. The Family faces split into an unnaturally wide smile full of sharp teeth runs towards him and tears him to pieces & eats him. The grandfather then looks up acts as if he can see the forces gathered outside the barrier. He then retrieves a book and it looks as if he reads it out loud and the house and barrier disappear. The narrator worries that the aliens will return."
] |
medi_sts_stackexchange_dupe
|
how to assign value to pointer string in C
|
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
|
[
"How to derive the standard symplectic form on a 2-sphere in cylindrical polar coordinates? I have already know that at a point $p\\in S^2$ with $u,v$ the tangent vectors at $p$. Then the standard symplectic form is $\\omega_p(u,v) :=\\langle p,\\,u\\times v\\rangle$ where $u\\times v$ is the outer product. My question is: How can one deduce from this that the symplectic form is $dz\\wedge d\\theta$ in the cylindrical polar coordinates $(z,\\theta)$ on $S^2$? Here, $z$ is the height and $\\theta$ is the angle. Thanks.",
"I have to prove by induction that $$\\sum_{r=0}^{n}\\begin{pmatrix}n \\\\ r \\end{pmatrix}=2^k$$, using the identity $\\begin{pmatrix}n \\\\ r-1 \\end{pmatrix}+\\begin{pmatrix}n \\\\ r \\end{pmatrix}=\\begin{pmatrix}n+1 \\\\ r \\end{pmatrix}$. I'm fine with everything except the inductive step, where I only managed to get as far as $$\\sum_{r=0}^{k+1}\\begin{pmatrix}n \\\\ r \\end{pmatrix}= \\sum_{r=0}^{k}\\begin{pmatrix}n \\\\ r \\end{pmatrix}+\\begin{pmatrix}n \\\\ k+1 \\end{pmatrix}$$ I tried to then use the identity and substitute $\\begin{pmatrix}n \\\\ r \\end{pmatrix}=\\begin{pmatrix}n+1 \\\\ r \\end{pmatrix}-\\begin{pmatrix}n \\\\ r-1 \\end{pmatrix}$ but all this did was just take me around in a circle. I also couldn't substitute $2^k$ for $\\sum_{r=0}^{k}\\begin{pmatrix}n \\\\ r \\end{pmatrix}$ since this didn't properly simplify to give $2^{k+1}$. However, I think that I have to obtain the expression $\\sum_{r=0}^{k}\\begin{pmatrix}n \\\\ r \\end{pmatrix}$ since it simplifies to $2^{k+1}$. But I've not been able to obtain this in anyway so I'm wondering if anyone can guide in what I need to or what direction I need to take to complete the inductive step.",
"Possible to click on an object in the viewport and the object list hierarchy automatically goes to that object also?",
"How do I compare version numbers in Python?",
"ubuntu terminal is not working properly in vi editor",
"How Triangle Law and Parallelogram law of addition of Vectors are different?Ain't they. Please don't tell me the things written in book......give me the appropriate reason.And how do i distinguish between the two while adding vectors,what am i trying to say is i get really confused where to use parallelogram law and where triangle law P.s:my basics are really weak though!May be the question might not be right",
"Memory layout of a .NET array What is the memory layout of a .NET array? Take for instance this array: Int32[] x = new Int32[10]; I understand that the bulk of the array is like this: 0000111122223333444455556666777788889999 Where each character is one byte, and the digits corresponds to indices into the array. Additionally, I know that there is a type reference, and a syncblock-index for all objects, so the above can be adjusted to this: ttttssss0000111122223333444455556666777788889999 ^ +- object reference points here Additionally, the length of the array needs to be stored, so perhaps this is more correct: ttttssssllll0000111122223333444455556666777788889999 ^ +- object reference points here Is this complete? Are there more data in an array? The reason I'm asking is that we're trying to estimate how much memory a couple of different in-memory representations of a rather large data corpus will take and the size of the arrays varies quite a bit, so the overhead might have a large impact in one solution, but perhaps not so much in the other. So basically, for an array, how much overhead is there, that is basically my question. And before the arrays are bad squad wakes up, this part of the solution is a static build-once-reference-often type of thing so using growable lists is not necessary here.",
"Usage of dash (-) in place of a filename For a command, if using - as an argument in place of a file name will mean STDIN or STDOUT. But in this example, it creates a file with the name -: echo hello > - How can I make - in this example mean STDOUT? Conversely, how can I make - mean a file named - in examples such as: cat -",
"Using right-hand Riemann sum to evaluate the limit of $ \\frac{n}{n^2+1}+ \\cdots+\\frac{n}{n^2+n^2}$ I'm asked to prove that $$\\lim_{n \\to \\infty}\\left(\\frac{n}{n^2+1}+\\frac{n}{n^2+4}+\\frac{n}{n^2+9}+\\cdots+\\frac{n}{n^2+n^2}\\right)=\\frac{\\pi}{4}$$ This looks like it can be solved with Riemann sums, so I proceed: \\begin{align*} \\lim_{n \\to \\infty}\\left(\\frac{n}{n^2+1}+\\frac{n}{n^2+4}+\\frac{n}{n^2+9}+\\cdots+\\frac{n}{n^2+n^2}\\right)&=\\lim_{n \\to \\infty} \\sum_{k=1}^{n}\\frac{n}{n^2+k^2}\\\\ &=\\lim_{n \\to \\infty} \\sum_{k=1}^{n}(\\frac{1}{n})(\\frac{n^2}{n^2+k^2})\\\\ &=\\lim_{n \\to \\infty} \\sum_{k=1}^{n}(\\frac{1}{n})(\\frac{1}{1+(k/n)^2})\\\\ &=\\lim_{n \\to \\infty} \\sum_{k=1}^{n}f(\\frac{k}{n})(\\frac{k-(k-1)}{n})\\\\ &=\\int_{0}^{1}\\frac{1}{1+x^2}dx=\\frac{\\pi}{4} \\end{align*} where $f(x)=\\frac{1}{1+x^2}$. Is this correct, are there any steps where I am not clear?",
"Environment for two columns with lstlistings In order to reduce copy-pasting, I want to create an environment that will produce a two-column table with headers and two listings in different languages, like below: \\begin{tabular}{l l} Python & Haskell \\\\ \\hline \\\\ \\lstset{language=Python} \\begin{lstlisting} A \\end{lstlisting} & \\lstset{language=Haskell} \\begin{lstlisting} B \\end{lstlisting} \\end{tabular} I want to use it like below, hiding everything but code: \\begin{comparison} A \\vs B \\end{comparison} So far I tried making two new environments (instead of a \\vs command inside) with \\lstnewenvironment, where first environment had \\tabularx command and second \\endtabularx. I also tried creating normal \\newenvironment for this tabular, & for \\vs command and manually inserting \\begin{lstlistings} and \\end{lstlistings} with code, but it stopped compiling when I put lstlistings inside. How can I create such an environment? EDIT: The most compact version I've came up with until now is \\newenvironment{comparison} {\\begin{parcolumns}[nofirstindent,distance=0pt,colwidths={1=0.35\\textwidth}]{2}} {\\end{parcolumns}} \\lstnewenvironment{python} {Python \\lstset{language=Python,frame=t}} {} \\lstnewenvironment{haskell} {Haskell \\lstset{language=Haskell,frame=t}} {} which is used like that: \\begin{comparison} \\colchunk{ \\begin{python} A \\end{python} } \\colchunk{ \\begin{haskell} B \\end{haskell} } \\end{comparison} I'm still unable to hide \\colchunk{} within python or haskell environments.",
"How to calculate the $H_2$ and $H_\\infty$ norms of TransferFunctionModels or StateSpaceModels?",
"Should the top navigation be frozen (optional)? In Excel, the window can be frozen in place in such a way that you can always see the name of the column even though you go way down below the 'fold' of the screen. On SE, when you scroll, the whole page goes up (or down). This means the top navigation bar is scrolled off screen. I'm not sure if it would be a good idea or not to fix the top navigation to the top of the screen and let the rest of the content scroll. What do you think about this, in terms of pros and cons? [Update] With the new Top navigation bar, kudos to the design team, I think this question becomes relevant again. I'm aware of the busload of downvotes, but still. The top navigation bar doesn't occupy much space and has two notification areas: Inbox Achievements Having these two notifications visible at all times would be nice, IMO. [Update] I've just noticed that I haven't used the word \"optional\" in this discussion... My bad. In Excel, the Freeze function is controlled by the user. You can optionally Freeze part of the interface, and you can eliminate the Freeze at will.",
"How do I delete files that are locked when no other app can delete them? So I found out that I had a Trojan on my external hard drive. My anti-virus app killed it, but it has created a bunch of random files on my computer which cannot be deleted. These are image files. They cannot be renamed - using any method - nor can they be moved, cut, copied, permanently deleted or even opened (in any program). How can we rid these files from our system? I have tried: Right-click > Delete Shift+Delete (Permanently Delete) Swearing and then: FileASSASSIN from MalwareBytes Eraser program sdelete program several commands in cmd but none of them have been successful. How can I completely obliterate these files?",
"I would like to ask for some simple examples showing the uses of <div> and <span>. I've seen them both used to mark a section of a page with an id or class, but I'm interested in knowing if there are times when one is preferred over the other.",
"Is there a way to get a background in CSS to stretch or scale to fill its container?",
"How to enable/disable a specific graphic card?",
"I have been using the Copy Attributes add-on to copy some properties from active object to selected objects. This add-on is not enabled by default and must be explicitly enabled. But its a very useful workflow enhancing tool. There is a limitation though. Not all properties can be copied and even those that can be copied are copied in groups (Its hard-coded in to the add-on). My question is if there is a built-in feature or any another other way to copy any property from the active object to the selected objects?",
"Showing $\\int_x^{x+1}f(t)\\,dt \\xrightarrow{x\\to\\infty}0$ for $f\\in L^2 (\\mathbb{R})$ Show that if $f\\in L^2 (\\mathbb{R})$ then $$\\lim_{x \\rightarrow \\infty} g(x)=0,$$ where $$g(x)=\\int_x^{x+1}f(t)\\,dt$$ Since $f \\in L^2 (\\mathbb{R})$ then $f \\in L^2[x,x+1]$ for every $x$. Then $$|g(x)| \\leq \\left(\\int_x^{x+1} f(t)^2 dt\\right)^{\\frac{1}{2}} \\int_x^{x+1} 1 dt$$ $$|g(x)|\\leq \\left(\\int_x^{x+1} f(t)^2 dt\\right)^{\\frac{1}{2}}$$",
"What is the relationship between ISO, aperture, and shutter speed? I know digital cameras have ISO options, and that ISO is the camera's sensitivity to light, but if you set higher ISO then you can get a noisy image. I also know there are two other camera options, shutter speed and aperture. What is the relationship of between them? Is there any equation, or something like that? For example, if I set the ISO to 640, then how should I set the shutter speed and aperture?",
"I have heard many (rather most) people, especially in the USA, saying: I don't know nothing about it. Is that correct? I always get a weird feeling hearing this and feel the correct one would be saying: I don't know anything about it."
] |
medi_sts_stackexchange_dupe
|
Bibliography references by order of appearance
|
Sort thebibliography by citation order
|
[
"True Ubuntu on Chromebook ARM",
"Story Identification: colonists on a planet where the wheat is crystalline I read a story back in the early 90s about a group of colonists who landed on a planet where the wheat (or wheat-like equivalent) is some kind of crystalline plant. The colonists face starvation until one of them figures out how to process the wheat. I think it was by Asimov but so far I haven't found it by looking for his works. I also cannot remember if it was a novel or a short story.",
"Pivot rows into multiple columns",
"How to make horizontal lists? This might seem like a very simple question, but what is the easiest way to turn a normal vertical list into a horizontal one?",
"English questions and negation with *do* in syntax",
"Can I open a US bank account even if I don't live in the country?",
"How can you explain that this double negation is not a double negation? Is there a rule in English about this kind of sentence? PS / Do I have to mention Pink Floyd Copyright ? :-) Edit : Since there are a lot of Pink Floyd related explanation, I'll bring a Freddy Mercury one : \"I don't have time for no monkey business\", which I also understand as \"I don't have time for monkey business\". Am I right ?",
"We all know that in an idealised world all objects accelerate at the same rate when dropped regardless of their mass. We also know that in reality (or more accurately, in air) a lead feather falls much faster than a duck's feather with exactly the same dimensions/structure etc. A loose explanation is that the increased mass of the lead feather somehow defeats the air resistance more effectively than the duck's feather. Is there a more formal mathematical explanation for why one falls faster than the other?",
"Multiple Inheritance in C# Since multiple inheritance is bad (it makes the source more complicated) C# does not provide such a pattern directly. But sometimes it would be helpful to have this ability. For instance I'm able to implement the missing multiple inheritance pattern using interfaces and three classes like that: public interface IFirst { void FirstMethod(); } public interface ISecond { void SecondMethod(); } public class First:IFirst { public void FirstMethod() { Console.WriteLine("First"); } } public class Second:ISecond { public void SecondMethod() { Console.WriteLine("Second"); } } public class FirstAndSecond: IFirst, ISecond { First first = new First(); Second second = new Second(); public void FirstMethod() { first.FirstMethod(); } public void SecondMethod() { second.SecondMethod(); } } Every time I add a method to one of the interfaces I need to change the class FirstAndSecond as well. Is there a way to inject multiple existing classes into one new class like it is possible in C++? Maybe there is a solution using some kind of code generation? Or it may look like this (imaginary c# syntax): public class FirstAndSecond: IFirst from First, ISecond from Second { } So that there won't be a need to update the class FirstAndSecond when I modify one of the interfaces. EDIT Maybe it would be better to consider a practical example: You have an existing class (e.g. a text based TCP client based on ITextTcpClient) which you do already use at different locations inside your project. Now you feel the need to create a component of your class to be easy accessible for windows forms developers. As far as I know you currently have two ways to do this: Write a new class that is inherited from components and implements the interface of the TextTcpClient class using an instance of the class itself as shown with FirstAndSecond. Write a new class that inherits from TextTcpClient and somehow implements IComponent (haven't actually tried this yet). In both cases you need to do work per method and not per class. Since you know that we will need all the methods of TextTcpClient and Component it would be the easiest solution to just combine those two into one class. To avoid conflicts this may be done by code generation where the result could be altered afterwards but typing this by hand is a pure pain in the ass.",
"How to convert an MKV to AVI with minimal loss To convert an MKV to AVI, I do two things. The first thing I do is this: ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi or this: ffmpeg -i filename.mkv -sameq -acodec copy output.avi Either of these will convert the MKV to an AVI, but the problem is that the video does not play smoothly for some reason. That's fine though, because if I do one more thing it gets fixed: ffmpeg -i output.avi -vcodec mpeg4 -b 4000k -acodec mp2 -ab 320k converted.avi After I do this then the file plays without problem. I had success doing it this way for one file, but then I tried it on another file, and there is a slight, but noticeable loss in video quality. This is the output I get when doing the second step: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers built on Dec 29 2010 18:02:10 with gcc 4.2.1 (Apple Inc. build 5664) configuration: libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.11. 0 / 0.11. 0 Seems stream 0 codec frame rate differs from container frame rate: 359.00 (359/1) -> 29.92 (359/12) Input #0, avi, from 'output.avi': Metadata: ISFT : Lavf52.64.2 Duration: 00:04:17.21, start: 0.000000, bitrate: 3074 kb/s Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], 29.92 fps, 29.92 tbr, 29.92 tbn, 359 tbc Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16 Output #0, avi, to 'converted.avi': Metadata: ISFT : Lavf52.64.2 Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], q=2-31, 4000 kb/s, 29.92 tbn, 29.92 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 320 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 I just used arbitrarily large settings on the second step and it worked nicely before but not in this case. What settings should I use?",
"Is it two-third or two-thirds? Is it two-third or two-thirds? If both are correct, how does their usage differ?",
"What is the function of \"do\" in this sentence?",
"A skydiver jumps out of a plane from a height of $2200$m. The skydiver's height, $h$ meters above the ground, can be modeled by the function $$s = 2200 - 4.9t^2$$ How fast is the skydiver falling at $t = 4$s? If the skydiver is approaching a height of $2200$m, I reasoned that I could use the following definition to find the solution $${f(x+h)-f(x)\\over h}$$ I entered the function into this definition and got stuck when I got to this$$f'(x) = \\lim_{x\\to 0} {2200-4.9t^2-9.8th-4.9h^2\\over h}$$ Where can I go from here? Can I continue with this method or did I make a mistake a few steps back? New Solution How does this look?",
"Removing all \\n\\r characters from a node XSLT? wondered if you could help me please? I have node in xml that is as followed $LOG: 08880xbpnd $ fhdsafidsfsd df sd fsd f sd fsd I was wondering is there anyway to make all the text go on to one line so that it then can be passsed through to a javascript function? so it would turn out like this $LOG: 08880xbpnd $fhdsafidsfsddfsdfsdfsdfsd",
"I have downloaded Aptana Studio 3 and created the following launcher item for using Alacarte: file: alacarte-made.desktop [Desktop Entry] Comment= Terminal=false Name=Aptana Studio 3 Exec=AptanaStudio3 Type=Application Icon=/opt/Aptana-Studio-3/icon.xpm Then, when I add the icon to the favorites and opens the Aptana Studio 3 I get two icons for it, one for launching new instances, and one for the currently running instance as per the following screenshot: How do I force the application to use the same icon added to the favorites?",
"YA novel about dystopian future with non-human overlords and teenage heroes",
"I am currently in a clan with three members. When we tried to initiate a clan war it said we had insufficient clan requirements. Does anyone know what the full requirements are? Is there a minimum clan member requirement?",
"How to prove that $\\lim\\limits_{h \\to 0} \\frac{a^h - 1}{h} = \\ln a$",
"Canonical question: One has a Windows 10 installed with display language A, but uses keyboard layout B. What does one need to do, to stop Windows from automatically adding an unwanted keyboard layout from language A to one's system? My example: I have a Windows 10 in English and I'm using a Slovenian keyboard layout. And this is working just fine, until I run a certain program that Windows ever so intelligently thinks needs an US keyboard layout. Windows adds this unwanted layout automatically, switches to it and doesn't remove it afterwards. The new layout isn't even listed in installed layouts. The only way to remove it after it appears, is to manually add it as a keyboard layout and remove it. It seems that's a common problem for many people but after many hours of googling, I just couldn't find a good solution for it... It would be perfectly fine with me if I could just completely remove the US keyboard layout from my system, but if I do that, the keyboard stops working in some programs altogether. Programs that I or other people have this problem with: ICQ, some versions of Microsoft Office (lol), games based on Source engine, some versions of UltraVNC, Adobe CC Suite, and the list goes on.",
"java.lang.IllegalArgumentException: The servlets named [X] and [Y] are both mapped to the url-pattern [/url] which is not permitted"
] |
medi_sts_stackexchange_dupe
|
how to separate one object into different parts?
|
Splitting pieces of a mesh into a new object
|
[
"I know that python has a len() function that is used to determine the size of a string, but I was wondering why it's not a method of the string object. Update Ok, I realized I was embarrassingly mistaken. __len__() is actually a method of a string object. It just seems weird to see object oriented code in Python using the len function on string objects. Furthermore, it's also weird to see __len__ as the name instead of just len.",
"This is something I've been curious about since starting this whole 'meta' thing a couple years back. Let's say a user posts a feature request. Under what circumstances is the feature-request read by staff? If staff decline to do anything (I'd guess it's some sort of triage), under what circumstances is the feature-request reevaluated by staff? Let's say a user posts a bug. Under what circumstances is the bug tested? What generally determines whether a verified bug is actionable? (And/or what are the criterion for deciding what to do?) For both of the above, would it be possible to see a general-but-relatively-detailed flow for what happens to these questions?",
"Pass a PHP string to a JavaScript variable (and escape newlines)",
"What is the coefficient of the term $a^i b^j c^k$ in the expansion of $(a+b+c)^n$? What is the coefficient of the term $a^i b^j c^k$ in the expansion of $(a+b+c)^n$ ? Given solution: Before collecting like terms, each term in the expansion is a product of $n$ factors each of which is $a, b,$ or $c$. Those terms which have exactly i a’s, j b’s and k c’s can be combined into the single term $a^i b^j c^k$ and the number of such terms will be equal to the number of n letter strings containing i a’s, j b’s and k c’s, which by the Mississippi rule is $\\frac{n!}{(i!\\times j! \\times k!)}$. I understand that this problem is actually about the derivation of the coefficient of the multinomial theorem,but I am not sure about the combinatoric reasoning,what I mean is that I understand the analogy problem but what I couldn't is how the analogy holds here,Could anybody explain this to me?",
"Why is my crontab not working, and how can I troubleshoot it?",
"Why doesn't pressing enter return '\\n' to getch()? #include <stdio.h> #include <conio.h> main() { char ch,name[20]; int i=0; clrscr(); printf(\"Enter a string:\"); while((ch=getch())!='\\n') { name[i]=ch; i++; } name[i] = '\\0'; printf(\"%s\",name); } When I give \"abc\" as input and if I press enter it's not working. Can anyone let me know why the condition ch=getch() != '\\n' is not becoming false when I press enter? I have also observed that ch is taking \\r instead of \\n. Kindly let me know. Thanks",
"What is the difference between Halt and Shutdown commands? What is the difference between the halt and shutdown commands?",
"Go to Add a few photos to a photo album Go back to All Photos See all of the photos there, even ones you copied to the Album. No problem here, per se. At least not yet. What if you want to delete photos that you did not copy to that album? Where is the selector or filter that filters those \"in an album already\" photos from this main view? Or is there a way to create such a filtered view such that I can then cherry-pick photos for deletion?",
"How to install Ubuntu on portable external Hard Drive? OS: Windows 7. I want install Linux Ubuntu on portable external Hard Drive USB 2.0. I read a variety of methods, but I'm confused by contradictory advices and methods. Actually, installing Ubuntu on anything other than clean PC looks much more complicated than installing Windows. I need to have Ubuntu package + Python 2.7 + C compiler installed. My external hard drive is partially filled, I need to keep all files. Will Ubuntu run entirely on external hardrive, without writing anythinhg to Windows system folders and to registry? Can anyone post detailed guide how install Ubuntu on external hard drive?",
"Is there any explanation for why the other 2 schools in the TriWizard tournament are both single-gender, unlike Hogwarts? Was single-gender education normal in wizarding world with Hogwarts being the exception? Was this some special intentional literary trick on Rowling's part or on movie creators'? Here's the evidence from the movies: Durmstrang Institute is boys-only: Beauxbatons Academy of Magic seems to be an all-girl school:",
"Chrome and IE 11 are fine, I'm only able to reproduce this in Firefox. Using version 27.0.1 on Windows 7. Meta as well as all the other sites are affected. I can still see the hover effect, but the image is gone. I see this in Firebug: The image doesn't show up in the Network tab. I am able to see the image by visiting which goes to I've done Ctrl-F5, I've cleared the cache and I've tried Private Browsing. Possibly related to ?",
"How to remove cookies using CookieManager for a specific domain?",
"How do you attach a debugger to a Web service? I am using a Web service. Can anybody tell me how to debug through it?",
"How to check if file exists on FTP before FtpWebRequest",
"An explanation for the Landauer's principle Has anyone understood the ? What is the current status? In specific, is there a theoretical derivation of the Landauer's Principle?(not the heuristic one based on Salizard's engine) How does one account for thermodynamic concepts applicable to situations involving measurement? What does it mean to reset the state of the apparatus why is free energy expended in the process?",
"What are the practical implications of a name change for international travel and activities abroad? I am considering a name change, which seems to be a relatively straightforward action, when one remains in the same country: certain documents are replaced with new ones bearing the new name, and others are presented together with the name change document. However, I travel internationally multiple times per year, and I often change temporary residence from one country to another. So I often deal with immigration and similar things. Furthermore, I have a lot of things going on like work and studies. Quite obviously, if I change my name, I would often have to produce a proper translation of the name change document, which may include notarized translation thereof with apostille or, for example, traduction assermentée in France. However, it would be great to hear about experiences of people, who have dealt with this issue first-hand, so I can weight the disadvantages against advantages of this correctly. In particular, I would like to know if anyone has encountered unforeseen difficulties with this, and how people rate the overall difficulty of such experiences.",
"Option to be notified when a post I downvoted is edited Prologue: This is an effort to follow up on which is marked as a duplicate of highly voted and status-declined feature request (although they seem to be different, one focusing on the OP and the other on the downvoter). My New Year's resolution was to downvote more. So on January 3rd or so, I saw a post that was low quality, and downvoted. Two days later, I came back to see if it was ready to be deleted or had gotten piled with downvotes, to find it with a significant positive score! At which point, I noticed that the answer had been significantly improved. So I retracted my downvote, changed it to an upvote, and immediately resumed my dearth of downvoting again. I think I have a responsibility to downvote bad posts, despite that oh-so-painful -1 rep penalty. But if I am also going to have the responsibility to follow up on every downvote I cast, I'm not going to bother. I don't want my downvote to leave a residual penalty on posts that were once low quality, and I am not going to trouble myself to keep checking up on every post I downvoted. Can a downvoter have an option to be notified when a post they voted down was edited? I wouldn't make this an automatic thing, because not all downvoters want it, and it isn't applicable to all cases of downvoting (although that this should be part of the responsibility of a downvoter). Personally, I would make this a universal toggle on-off option on the user profile page, not a question-by-question option, but I don't have strong feelings about it.",
"How to use \"tens of\" and \"hundreds of\"? If I'm not mistaken, tens of means 10 to 99 and hundreds of means 100 to 999. Is this correct? I found in some dictionaries that tens of is actually not correct. I also found that hundreds of could also mean any arbitrary large number. So how would people usually interpret hundreds of? Based on context? In my case, I want to describe numbers of some items that are usually 50-90 but sometimes could be around 100-200, but definitely not as many as 300 or so. I want to really emphasize that there are a lot of these items. In this case, can I say \"... have tens or even hundreds of ...\"? Would people misinterpret what I actually want to say?",
"remove isp-provided dns My isp provides a dns service; but unfortunately they do block certain sites. I would like to use opendns or google; but it seems like it doesn't work. I have set up a wired connection; given a manual ip and entered opendns-ip's in the nameserver field (all through the gui). Still url's are being resolved through my ISP. I have tried to configure the same on my girlfriends laptop (win 7) and I also can't seem to do the setup. My previous computer also was a win 7 and had no problem. (so I believe the problem is 'me') If it were only one site, i could edit the hosts file; but I prefere to circumvent their whole dns server. Is there something an isp can do to block the use of other dns-servers than theirs? Is it possible to re-route the ISP dns to the opendns?",
"Say we have a rod with a fixed axis of rotation. If we give it a push at some point other than the axis, it will start to rotate. Say our force is $F$, then we might write: $\\Delta P=F\\Delta t$. I’m wondering how to incorporate angular momentum here. We know that for a single particle it holds that $L=r\\times p$. And for an extended object with a fixed axis of rotation, we generally might write $L=I\\omega$. However, can I write $L=r\\times p$ too for the extended object? I would think that I would need to integrate. So we have $p_\\alpha=m_\\alpha v_\\alpha=m_\\alpha r_\\alpha\\omega$, where we consider an infinitesimal mass $\\alpha$. So should I write $L=\\int r^2\\omega\\,dm$? I’m confused whether to work with this integral, or just use $L=r\\Delta P$ at once. The reason I'm asking, is because I'm trying to calculate the sweet spot of a baseball bat. So this is my attempt at solving the exercise."
] |
medi_sts_stackexchange_dupe
|
Why do we need extra force to pull an upside down mug out of a bucket?
|
Why is it so difficult to pull an immersed mug out of the water?
|
[
"Should an image carousel on a mobile site automatically rotate?",
"How can I make a peer-to-peer multiplayer game? How can I make a p2p multiplayer game? I would like to have a server-less multiplayer game. But then, how all the clients know each other? Why the p2p-protocol is so famous in file transfer but not in multiplayer games?",
"Is there a way to make bash more TAB friendly? I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it. My one complaint however is that its TAB completion isn't as good as Windows Command Line TAB completion. For example, if there are two files with the same prefix, then bash just beeps at me when I try to TAB complete. If I keep nailing TAB, then it will eventually show me a list of potential files. I definately prefer how Windows will cycle through potential files right on the command line. Is there a way to get bash to operate similar to Windows Command Line in this regard? If there isn't (I do not want to switch shells), am I missing something about TAB completion in bash? Is there a more efficient way to use it?",
"The problem from Burton: show that the equation $n^2 + (n+1)^2 = m^3$ has no solution in the positive integers. So far, I can see that gcd($n$,$n+1$)$=1$ and $m \\equiv_4 1$ and $m=a^2 + b^2$ for some integers a,b. I'm guessing I need to reach a contradiction. At this point, I am stuck. Any hints?",
"AMD GPU Material in \"material preview mode\" and \"rendered mode\", is entirely gray as background. Only outline is displayed I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?",
"Bounded sequence which is not convergent, but differences of consecutive terms converge to zero I have a question that says \"Show that there is a bounded sequence $x_n$ which is not convergent but has the property that $x_n - x_{n+1} \\to 0$ as $n \\to 0$. What does this mean? Do I need to come up with an example or does the problem actually want me to prove such proposition? By the way, I see that this sequence looks like Cauchy because of $x_n - x_{n+1} \\to 0$ as $n \\to 0$, but it is obviously not.",
"I'm asking this because my HDD (Hard Disk) has 5 years, and ultimately (this year) it gave me many headaches. Many moths ago I has Windows 7 (and 10 T.P. since april) and all was good. But after a moment, instantly, all gets reversed: veeery slow, and actions which will take a tiny time, at these moment the time seems frozen (for example, instead a 1 minute boot, it turned to 5-8 minutes boot). I formatted and installed Windows every 2 months because it was the time which runs good before it gets slooww. Seeing the abuse of privacity in W10, I changed to Ubuntu 15.04 and the things lasted more in time... But again, HDD error. Click, trying to read, click, trying to read... And the upper bar (title of window/buttons of volume, language, wifi, etc.) disappeared. The left bar (where are the app's icons) was empty and the file explorer said the resource wasn't available (or something like these error). I restarted and nothing happens. I had to press CTRL+D to boot-up Ubuntu, but after hours... the same error (can't do anything except moving the mouse/cursor). Welcome to the routine: copy files with live-cd to a pendrive, wipe HDD and install all again. And the things was calmed again... and the errors comes again. And after 2 weeks, I had to do the same. Now my PC works fine, but yesterday I heard a few \"clicks\" from the HDD. Now, I remembered this and I came to Disks and the HDD shows a new value; normally, the problematic number was \"pending sectors\", always changing, but now, in \"irrecoverable sectors\", the number is different of zero. I never had \"reallocated sectors\". Now, neither. And now, while I write this lines, I've 5 \"pending s.\" and 9 \"irrecoverable s.\". If this helps, the \"read error rate\" is 42, 5 for \"write error rate\". Very well!! While I was writing \"write error rate\", I heard 2 clicks. And while writing this, one click more. And 123 \"CRC error rate\". So, with this information: is my HDD dying? It'll last days or months? I think this problem will kill the disk in a not very far time. The drive is a Western Digital Green 1TB-WDC WD10EARS-00Y5B1 (80.00A80) S.N.: WD-WCAV5J301610 PS: When I boot with CTRL+D, many times the system is in \"RO mode\"; I can't save/download files, Unity doesn't find apps when I write their name {click again, now, while I write the text} and, after a few hours, a crash like the lines above",
"I'm looking for a book I read in Junior High (probably) about a world where everyone was basically the same race. One genetically pure male and female teenager of each race still exists. They are transporting a genetically pure boy to meet his genetically pure female counterpart and accidentally introduce him to a genetically pure female of a different race. And, of course, chaos ensues. Any thoughts?",
"I am trying to calculate the final velocities of two equal mass 2-dimensional circles after an elastic collision. I have tried to figure it out using formulas I know from high school physics, but nothing seems to work. My known variables are: initial x and y velocities for each circle x and y distances between the centres of the circles at the time of the collision The variables I would like to solve for are: final x and y velocities for each circle Here are diagrams showing all the variables:",
"Today a student asked me $\\int \\ln (\\sin x) \\, dx.$ Calculate the integral $$\\int \\ln (\\sin x) \\, dx.$$",
"My question is in the title. I'm a little lost in how to solve this problem. There is a hint associated with the problem that states the following: Use a line integral to show that $ |f(z)| \\leq A + |z| $ where A = $\\max\\{1, |f(0)|\\}$ Thanks for the help.",
"In languages like Java and C#, strings are immutable and it can be computationally expensive to build a string one character at a time. In said languages, there are library classes to reduce this cost such as C# System.Text.StringBuilder and Java java.lang.StringBuilder. Does php (4 or 5; I'm interested in both) share this limitation? If so, are there similar solutions to the problem available?",
"How can I make a single event handler handle ALL Button.Click events?",
"Suppose there are $2$ permutations given by $p$ and $q$. I need to check whether $p$ belongs to the group generated by $q$, and if so, it's representation in a power of $q$. In other words, I've been given $p$ and $q$, I need to check whether $\\exists i \\in \\{ 0,...,|q|-1 \\} \\text{ such that } p = q^i$ I know that if $m = \\gcd(i, |q|)$, then $|q^i| = \\frac{|q|}{m}$. Now, say that such an $i$ exists. Then, $$ |p| = \\frac{|q|}{\\gcd(i, |q|)} \\Rightarrow \\gcd(i, |q|) = \\frac{|q|}{|p|} $$ Thus, a necessary condition for such an $i$ to exist is: $|p|$ divides $|q|$ Say that this holds, and $\\frac{|q|}{|p|} = r$, where r is an integer. Then we just have to solve $\\gcd(i, |q|) = r$ for $ i \\in \\{ 0,...,|q|-1 \\}$. Can this be done? If not manually, then by some efficient algorithm? (Note: Just looping over all values of $i$ is not efficient as $i$ may be very large) Edit: Another way I can think of solving this is by writing both $p$ and $q$ as product of disjoint cycles: $$ p = c_1c_2\\ldots c_k \\text{ and } q = d_1d_2\\ldots d_l $$ And thus, as disjoint cycles commute: $$ p^i = c_1^ic_2^i\\ldots c_k^i $$ How to proceed after this?",
"How to remove top and bottom whitespace of longtable? I am using longtable instead of tabular environment and noticed that it puts some additional whitespace at the top and at the bottom of the table. Is there some way to remove it (something less hacky than \\vskip -\\baselineskip before the table)? Small piece of code for illustration: \\documentclass[12pt]{book} \\usepackage{longtable} \\begin{document} Linelineline \\begin{longtable}{l l} cell1 & cell2 \\end{longtable} Linelineline \\begin{tabular}{l l} cell1 & cell2 \\end{tabular} Linelineline \\end{document} And that's what I am getting: Common tabular environment does not have any additional margins, but longtable does.",
"Make \"compact view\" as a default directory view instead of \"icon view\" How can I make \"compact view\" the default for all directory views in File Manager, instead of \"icon view\" ?",
"Resolve the error \"An illegal choice has been detected...\"",
"I want to run a script on all files with two specific extensions on a disk with a hierarchy of multiple nested folders. My script works fine when I choose a folder further down the line with fewer subfolders but I'd like to run it on an entire archive with over a thousand folders. The AppleScript takes forever to get all the files and then exits without returning anything and without executing the operations after getting the files. No timeout message, no error message. And the Finder becomes unresponsive (and remains stuck after the script exits). set myFolder to choose folder with prompt \"Choose a folder:\" tell application \"Finder\" try set eafFiles to (every file in entire contents of myFolder whose name ends with \".eaf\") as alias list on error try set eafFiles to ((every file in entire contents of myFolder whose name ends with \".eaf\") as alias) as list on error set eafFiles to {} end try end try try set pfsxFiles to (every file in entire contents of myFolder whose name ends with \".pfsx\") as alias list on error try set pfsxFiles to ((every file in entire contents of myFolder whose name ends with \".pfsx\") as alias) as list on error set pfsxFiles to {} end try end try set myFiles to eafFiles & pfsxFiles end tell repeat with CurrentFile in myFiles set CurrentFile to CurrentFile as string do shell script \"perl /path/to/perl/script.pl \" & quoted form of CurrentFile end repeat",
"USB WiFi dongle device that can emulate a virtual mass storage device for a home video player Is there a USB WiFi dongle device that can: Emulate a virtual mass storage device for a home video player But in fact shows the files from a network-shared folder?",
"Prove that for any positive integer $n$, $$2\\sqrt{n + 1} − 2 \\le 1 +\\frac 1 {\\sqrt 2}+\\frac 1 {\\sqrt 3}+ \\dots +\\frac 1 {\\sqrt n} \\le 2\\sqrt n − 1$$ Progress I think Riemann sum should be used for the middle term. I got the limit as $n\\to \\infty$ of the function inside using Riemann sum but what I cannot get are the lower and upper bound."
] |
medi_sts_stackexchange_dupe
|
What set of properties does a matrix have to have in order for all its pairs of distinct eigenvectors $x$ and $y$ to have $x^Ty=0?$
|
Are all eigenvectors, of any matrix, always orthogonal?
|
[
"I know I can choose \"Hidden in menus\" and never see the devices again when I install a application. But I don't want my old mobile phones display in my account settings anymore. I have sold those phones already and never use them again! In fact, the list look likes a cemetery in my mind now. ;(",
"How do I convert a hex string to an int in Python? I may have it as \"0xffff\" or just \"ffff\".",
"Every element of a group has order $2$. Why, intuitively, is it abelian?",
"What is the best technique for long-exposure photography in good light?",
"A word for something that is deeper, more compelling than what is obvious or visible",
"In a Feistel cipher structure, what exactly does the \"round function $F$\" do? In a Feistel cipher structure, what exactly does the \"round function $F$\" do to the right half of the data, before taking XOR of the output with the left half of the data?",
"Checking from shell script if a directory contains files From a shell script, how do I check if a directory contains files? Something similar to this if [ -e /some/dir/* ]; then echo \"huzzah\"; fi; but which works if the directory contains one or several files (the above one only works with exactly 0 or 1 files).",
"What are the C++ coding and file organization guidelines you suggest for people who have to deal with lots of interdependent classes spread over several source and header files? I have this situation in my project and solving class definition related errors crossing over several header files has become quite a headache.",
"How can I make my touchpad scroll either vertically or horizontally, but not both? If I'm browsing the internet and a page has both horizontal and vertical scroll bars it becomes really irritating to scroll with my touchpad. It keeps scrolling horizontally as well as vertically! I'm using Ubuntu 16.04 and below are touchpad settings Device 'SynPS/2 Synaptics TouchPad': Device Enabled (160): 1 Coordinate Transformation Matrix (162): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (282): 1 Device Accel Constant Deceleration (283): 2.500000 Device Accel Adaptive Deceleration (284): 1.000000 Device Accel Velocity Scaling (285): 12.500000 Synaptics Edges (286): 1769, 5431, 1652, 4658 Synaptics Finger (287): 25, 30, 0 Synaptics Tap Time (288): 180 Synaptics Tap Move (289): 242 Synaptics Tap Durations (290): 180, 100, 100 Synaptics ClickPad (291): 0 Synaptics Middle Button Timeout (292): 75 Synaptics Two-Finger Pressure (293): 282 Synaptics Two-Finger Width (294): 7 Synaptics Scrolling Distance (295): 200, 200 Synaptics Edge Scrolling (296): 0, 0, 0 Synaptics Two-Finger Scrolling (297): 1, 1 Synaptics Move Speed (298): 1.000000, 1.750000, 0.036300, 0.000000 Synaptics Off (299): 1 Synaptics Locked Drags (300): 0 Synaptics Locked Drags Timeout (301): 5000 Synaptics Tap Action (302): 2, 0, 0, 0, 1, 3, 0 Synaptics Click Action (303): 1, 1, 0 Synaptics Circular Scrolling (304): 0 Synaptics Circular Scrolling Distance (305): 0.100007 Synaptics Circular Scrolling Trigger (306): 0 Synaptics Circular Pad (307): 0 Synaptics Palm Detection (308): 0 Synaptics Palm Dimensions (309): 10, 200 Synaptics Coasting Speed (310): 21.120001, 50.000000 Synaptics Pressure Motion (311): 30, 160 Synaptics Pressure Motion Factor (312): 1.000000, 1.000000 Synaptics Resolution Detect (313): 1 Synaptics Grab Event Device (314): 0 Synaptics Gestures (315): 1 Synaptics Capabilities (316): 1, 0, 1, 1, 1, 1, 1 Synaptics Pad Resolution (317): 83, 46 Synaptics Area (318): 0, 0, 0, 0 Synaptics Noise Cancellation (319): 8, 8 Device Product ID (277): 2, 7 Device Node (278): \"/dev/input/event6\"",
"I took a look at but my question is not the same. I have unique keys encrypting each plaintext (in CBC mode, AES-256) and I do not use a key to encrypt more than one plaintext. Is it insecure to use null IVs in this case? If it is insecure, why?",
"I want to remotely control my Android device from my PC without rooting it. Is this possible?",
"Collage of six photos, not Facebook Lookback movie",
"After running a VM and logging out, I got a black screen. I powered off and re-started but got the same after the bios option in start up passed. Several attempts went bye with the same result. So I fiddled with bios boot options a bit and was able to get to a different looking Ubuntu start up screen which, after entering pass key would run a series of commands that were too numerous and frantic to make out. They appeared to be overlapped/layered (the text that is) and seemingly repeating endlessly. I had to power down to get it to stop and re-booting just had the same effect. Finally, I hit the down arrow key when prompted for \"disk sda5_crypt\" at the pseudo Ubuntu log-in screen I mentioned before. This brought me to an all black screen which read something like: lvmetad not active cannot process volume group \"umbuntu-vg\" unlock disk sda5_crypt** From here I entered a password and Ubuntu start up ran. That was an unsettling hour or so and I'd like to avoid that in the future. Any ideas what caused it and how to avoid it going forward? Should have said this before but Ubuntu is the only OS on my machine and my optical drive cannot be opened manually.",
"Show that $R/I\\otimes_R R/J\\cong R/(I+J)$",
"I know that the finite sum of Bernoulli i.i.d. random variables is a binomial distribution, but what is the distribution of $$\\lim_{n \\to \\infty}\\sum_{k=1}^{n} \\frac{x_k}{2^k}$$ where $x_k$ is a Bernoulli random variable with parameter $\\frac12$?",
"Disable automatic activation of Gnome Shell activities on mouse over",
"Incorrect bookmarks and page number in table of contents I have problem with table of contents and with bookmarks. In pdf file table of contents shows wrong page number of Introduction and Bibliography, Bookmarks: introduction and bibliography don't bring me to the correct page. Part of my code \\documentclass[12pt,a4paper]{book} \\usepackage[polish]{babel} \\usepackage{polski} \\usepackage[cp1250]{inputenc} \\usepackage[pdftex,pagebackref=false,draft=false,pdfpagelabels=false,pdfstartview=FitH,pdfstartpage=1,bookmarks=true,pdfauthor={LiN},pdftitle={PD},pdfsubject={Titlei},pdfkeywords={words},unicode=true]{hyperref} \\usepackage{tocloft} \\begin{document} \\tableofcontents \\addcontentsline{toc}{chapter}{Introduction} \\chapter*{Introduction} \\chapter{Chapter1} \\section{Section} \\addcontentsline{toc}{chapter}{Bibliography} \\begin{thebibliography}{9999999}% \\bibitem{1}Author, \\emph{Title of book}, Publisher. \\end{thebibliography} \\end{document} How can I change that?",
"Is there a bulletproof way to know a file has been successfully decrypted? I am wondering whether there is a bulletproof way to know if one is successful in decrypting a file. As an example, say I encrypt a text file and protect it with a 3 letter password. I use brute force to decrypt it, but two different passwords lead to a file that contains English intelligible text. Is there a way for me to know which one is the original one? In other words, is there an infallible way to know I've entered the password correctly?",
"I read that A typical stream cipher encrypts plaintext one byte at a time, although a stream cipher may be designed to operate on one bit at a time or on units larger than a byte at a time. (Source: , William Stallings.) A block cipher encrypts one block at a time. The block may be of size one byte or more or less. That means we can also encrypt a block of one byte by help of a stream cipher as a stream. So, what exactly is the difference between a stream cipher and a block cipher?",
"I read this book a few years ago which was part of a series, but I only found the first book and now I've forgotten the name. The first book featured 3 children/teens from different places that end up on a quest to search for magic gems/stones together and the story takes place in a medieval kind fantasy world. One is a girl, while the other 2 are boys. One of the boys actually finds a stone/gem while he is on a school field trip (I think the gem/stone is red in colour), and when he picks it up, he gets transported to the fantasy land but ends up in some sort of military training ground/camp somewhere in a desert type area. He isn't familiar with the fantasy world. The other 2 characters each start out on their own on a quest to collect some magical gems/stones which once collected, can be used to fight an evil ruler (I guess). But halfway through the book, the girl and boy meet up and continue the quest together while the third boy(transported one) doesn't know that the stone he picked up is actually one of the magical stones others are looking for. A few other details I remember: The stone the boy finds is red in colour I think The cover of the book had a border depicting the stones It's part of a series or trilogy Some books with similar storylines, but not the one I'm looking for: Deltora Quest The Seven Towers Sword of Heaven series Westeria series Diadem series"
] |
medi_sts_stackexchange_dupe
|
How redirecting debug output to a file
|
Redirect a portion of a bash script to a file to capture set -x output
|
[
"Use of \"though\" versus \"however\" Consider the sentence E-books are on the rise, but they haven't suppressed paper books though. This usage seems to be quite common, but when I learned English I was taught to use \"however\" where I now read \"though\". My questions on this use of \"though\" are: Is this a new trend? Is it restricted to American English? Is \"though\" considered more colloquial than \"however\" ? And on a syntactic level: Do you put a comma before \"though\"?",
"Is soaking beans 24 hours unrefrigerated safe?",
"What is the probability that the selected function maps prime numbers to prime numbers? Let $X = \\{1, 2, 3, . . . , 25\\}$. If a student selects a function randomly from the set of all functions from $X$ onto $X$, then what is the probability that the selected function maps prime numbers to prime numbers ? No idea how to proceed, please guide.",
"How to modify font for all text fields?",
"Should I format /sdcard and /data if I want to wipe all personal data with Cyanogenmod? I'm trying to completely wipe all personal data from my Nexus 4 with CM installed. I've seen different advice on different sites for making sure all my data is gone: Just do 'Factory Reset'. Do 'Factory Reset' at least 3 times. Do 'Factory Reset' and wipe dalvik cache. ... and so on... I'm interested in erasing all traces of my personal data from the device. It's a Nexus 4, so there is no removable storage to worry about. My guess would be to 'wipe data/factory reset' and 'wipe cache partition' in the main recovery menu. In the mount/storage menu, I would choose 'format /cache', 'format /data', and 'format /data and /data/media (/sdcard)'. Finally, in the advanced menu, I would choose 'wipe dalvik cache'. Is this thorough enough? Should I also choose 'format /system', 'format /firmware', etc? Are there any options I should steer clear from? I would like the phone to boot to a fresh Cyanogenmod after clearing all data.",
"I am constructing a bibliography of as much of the prior research in a field I am working in. I would like to use BibTeX to print the citation in the pdf, and then I would like to add the details of the paper after the citation. Only then would I like to print the next citation. For example: [1] Jahan M. Dawlaty and Yunquing Chen. Measurement of the optical absorption of graphene in the terahertz. Applied Physics Letters, 2008. Research Group: Cornell Pump Wavelength: 500 nm. Probe Wavelenth: 7 microns. Relaxation Time: 50 fs. [2] Paul George and Dmitry Vekslar, Measurement of Ultrafast Carrier Dynamics in Graphene. Applied Physics Letters, 2009. . . . and so on. Does anyone know how this could be done?",
"How does \\fontsize{}{} work? With the package anyfontsize I can use the command \\fontsize{}{}. But the second argument seems to be without any effect. I read that it is related to the line space. It doesn't work. \\documentclass{article} \\usepackage{anyfontsize} \\begin{document} {\\fontsize{1cm}{1cm}\\selectfont First test : I need to put some text here.} \\bigskip {\\fontsize{1cm}{2cm}\\selectfont Second test : I need to put some text here --- does it work?} \\end{document} Any clue?",
"What is numeric promotion?",
"My chooser (file-picker dialog) goes under the dock so I can't see buttons. What can I do?",
"This is a follow-up question to , and is somehow related to However, my question does not concern the reviews I receive for the papers I submit, but concerns the reviews I write for papers I have been assigned. Since the whole process is done under confidentiality, it is not clear who owns the copyright on a review I wrote, and what does the review include. For instance, let us assume that X is member of a PC of a conference Y, and assigns to me a review of a paper Z, written by A and B (assuming it's not a double-blind). Can I publish on my blog: \"Here is my review for Y, asked by X, on the paper Z, written by A and B\"? I think that there are two points here: Is it legal? (for instance, publishing the camera-ready version of a paper might be illegal due to the copyright transfer, would it be also the care here?). Is it ethical? (who should I ask in order to do so? X? Y? A and B? everybody?). EDIT: There is been several comments/answer wondering why I would like to publish a review I wrote. To give a bit of background of this question, I believe that the current reviewing system, created when the academic community was small and there was no Internet (i.e. no easy access to information), might not be the best, although clearly working. This is for me a very interesting debate, but somehow out of the scope the Q&A format of Academia SE, which is why I tried to focus on my question on whether it was possible to do so, not if it was the best thing to do in the current system (and just to be clear, I don't plan to do it, but I just like to know what are my options). Anyway, thanks for the answers bringing a different light on this debate. EDIT 2: After seeing the update in Jeff's answer, I just realised that I didn't make it explicit that I was talking about reviews after the reviewing process. Jeff says that it's ok if the paper is accepted, and although I clearly understand the argument of why I shouldn't publish a review of a rejected paper, the question still holds: by publishing a review of a rejected paper, I publish the information that these authors submitted this paper to this conf/journal, which is supposed to be confidential between the authors and the editors. Would I break any rule by doing so?",
"tput: No value for $TERM and no -T specified I am trying to run a bash script I have via cron, and I am getting the following error at the beginning of the execution: tput: No value for $TERM and no -T specified Here is what is in my crontab: 0 8 * * 1-5 cd /var/www/inv/ && /var/www/inv/unitTest run all 2>&1| mail -r \"[email protected]\" -s \"Daily Inventory Unit Test Results\" [email protected]",
"Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers. Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions). Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space. How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?",
"This may be a silly question, but I ask it still. If I have declared a shebang #!/bin/bash in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash [my@comp]$bash my_shell_script.sh or can I use e.g. [my@comp]$sh my_shell_script.sh and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX.",
"Eclipse: Can you format code on save? In Eclipse, under Windows -> Preference -> Java -> Code Style, you can define code templates for comments and code, and you can setup a code formatter. I'm wondering if it is possible in Eclipse to have these setting take affect every time I save a source file. Basically, instead of me highlighting everything and pressing Ctrl+Shift+F, I want Eclipse to be responsible for making sure my code is formatted properly. Is this possible and how do you set it up? Note On Using the Auto-Format: It's probably best to choose \"Format Edited Lines\" as merging changes becomes very difficult when you reformat a whole file that is in source control already that was not formatted properly. Already did this to a co-worker.",
"So, if $\\gcd(a,b)=1$, then $\\gcd(a^2,b^2)=1$ means $1=ax+by$, and want to show $a^2x+b^2y=1$. By squaring $1=ax+by$ both sides, I get, $1=(ax)^2+b(2axby+by^2)$. It doesn't help my proof. Please help me with this proof.",
"Finding the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4 I have an exercise where I am supposed to find the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4. But how do I generate the cosets? As I have understood it you are supposed to pick a number that is not in the set H and multiply it with every number in H. But this does not exactly give the right answer. I would really appreciate it if someone gave an easy to understand explanation of how to generate the left and right cosets.",
"How can black hole increase its mass?",
"$e^A$, where $A= \\begin{bmatrix} 0 & \\omega \\\\ -\\omega& 0 \\end{bmatrix}$ $\\omega>0$, Then Compute the matrix: $e^A$, where $A= \\begin{bmatrix} 0 & \\omega \\\\ -\\omega& 0 \\end{bmatrix}$ I have never seen any problem like this. So Please help me solving this. Any link for theoretical reading is welcome.",
"How do I add a kernel boot parameter? I need to add the boot parameter foo=bar to my kernel. How can I do this once for testing, and permanently if testing was a success?",
"Say I have the titanic kaggle competition, but I'm not interested in the competition for predicting survival for each individual. Instead I want the most accurate estimate of total survivors on the titanic. Would this be achieved by using a probabilistic model, then adding the probabilities for each individual? For example, if I have 3 people and 1 survived, but my model produced 0.4, 0.4, and 0.4 probabilities for each person to survive, I calculate 0 survived. But if I add 0.4 for each person, I get 1.2, which is closer to the actual. Does this make sense?"
] |
medi_sts_stackexchange_dupe
|
Potential solution to Bug #1573052 (Gnome-software crash due to broken dependency link)
|
Ubuntu Software (Software Center) Crash - Ubuntu 16.04
|
[
"After restarting my computer when I am presented with the initial login screen (the light gray one with the restart and shut down buttons), I see only two of my three user accounts. If I log in with one of these accounts, I can see, and log in to, the third (missing) account by either: Logging off (Apple > Log Out...) to reach the second login screen (the dark gray one with sleep/restart/shut down buttons) Clicking on the fast user switching menu. How can I restore this account in the initial (light gray) login screen? I tried repairing disk permissions to no avail. If I create a new account, it does show up in the list.",
"Suppose $u$ is an element of a ring with a right inverse. I'm trying to understand why the following are equivalent. $u$ has at least two right inverses $u$ is a left zero divisor $u$ is not a unit If $v$ and $w$ are distinct right inverse of $u$, then $u(v-w)=0$, but $v-w\\neq 0$, so $u$ is a left zero divisor. It's also clear that if $u$ is a left zero divisor, it cannot be a unit (else I could cancel $u$ from $ub=0$ to see $b=0$). I'm having a heck of a time seeing why $u$ is not a unit implies $u$ has at least two right inverses. I tried the contrapositive, but saw no good approach. What am I missing?",
"I was wondering if anyone knows how to configure a Windows 7 x64 Enterprise install that is on a domain to run a script if the user attempts to shutdown the computer - but I dont want the script to run if the user tries to log out. Here is a bit of detail on my situation... I have installed drive encryption software on 5 desktops that are in use by various people in my group. These desktops are installed a few buildings away in a secure lab that very people have access to. People in my group access these machines (8 Core 2600K Intel Sandybridge with 8GB RAM) over RDP to preform tasks that require heavy lifting that laptops are not well suited for. I wrote a shutdown script (.hta file) to warn a user that if he/she shuts the computer down, they will have to get access to the lab and enter the drive encryption password in order to bring the machine back online. The script has a timer that counts down for 1 minute and allows the user to cancel the shutdown command. The script works as expected when a user tries to shutdown the computer, but I just realized that the script seems to run when a user tries to log off. Is there any way to differentiate between a user logging off and a user shutting down a machine? If possible, I would only want the script to run if the machine is shutdown. If the user logs out, I would not want any script to run. If this is possible, it seems like this would be managed via local Group Policy. Let me know if you need any further details.",
"No Badge Progress color for Golden Badges?",
"Word for a person being used I'm looking for a word to describe someone who is being used. I want a noun to describe this person, not a verb or or adjective. Maybe like a pushover.",
"When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.",
"Prove that $\\lim_{x \\to \\infty} \\frac{\\log(1+e^x)}{x} = 1$ Show that $$\\lim_{x \\to \\infty} \\frac{\\log(1 + e^x)}{x} = 1$$ How do I prove this? Or how do we get this result? Here $\\log$ is the natural logarithm.",
"I use both GNOME and KDE SC. In GNOME, I use Docky but I do not use it with KDE. So, I would like Docky to start up only when I login into GNOME not KDE. In KDE, there is an option to make a program autostart only in KDE. But I cannot find any such option in GNOME. How can I do this? Thanks in advance.",
"Find $f$ where $f'(x) = f(1+x)$ Let $f \\colon \\mathbb{R} \\rightarrow \\mathbb{R}$ be a smooth function such that $$f'(x) = f(1+x)$$ How can we find the general form of $f$? I thought of some differential equations, but not sure how to use them here. Thanks.",
"Starting scheduled task by detecting connection of USB device",
"I know cell phone cameras are the lowest rung, but when reading reviews of phones, the reviewers always have sample shots that are much better than what I can manage. What are some ways to take decent shots with a cell phone camera? (I'm thinking of the higher end Android or iPhone cameras).",
"Are keywords in URLs good SEO or needlessly redundant? A coworker and I are locked in a debate over the value of SEO keywords in the URL of a page. She wants to change all the filenames of the HTML pages of a fencing company so they look like residential-home-chicago.html, contact-chicago-contractor.html, and so on. She is convinced that because Google highlights keywords in URLs in search results, that means that putting keywords here is more valuable. My position is that these do not improve SEO, since Google doesn't seem to give keywords in the URL any more weight than keywords in the body of the page, and . In the meantime, they make it harder for me to find the pages I want when its time to edit them, and the site as a whole looks cheap and spammy. suggests to me that yes, keywords in URLs are useful, but not superior, and that they are more useful for human readability than search engine rankings. I'm looking for authoritative sources that support either position, not blog articles from SEO optimization companies trying to promote themselves.",
"How can I save the world from the spread of Hallow and Corruption/Crimson? After the Wall of Flesh, the Hallow appears and Corruption/Crimson spreads even faster. Corruption/Crimson spreads through everything Except Hallow Hallow spreads through everything Except mud (jungle) Except synthetic blocks like gray-brick The results of Hallow and Corruption meeting are unpredictable How can I stop them both permanently and effectively from taking over the world, considering both the top layer and underground? (Eg, simply placing gray brick on top of the surface won't stop the underground spread?) And, is it worth the effort?",
"How does PK know better than Jaggu? In , PK knows about Jaggu's boyfriend that he didn't cheat/left her in Belgium. But PK only read the mind of Jaggu. PK didn't know about Tapasvi's lies. How does he know that Sarfaraz still loves Jaggu in the ending?",
"Convergence of non increasing and non decreasing sequences to the same limit",
"How does the \"this\" keyword work?",
"Get full name twice in Bibliography I use biblatex with style=authoryear and when there are two references of the same author in the bibliography there is just a dash. How can I get the full name in the second entry too?",
"How find the maximum value of $|bc|$ Question: Given complex numbers $a,b,c$, we have that $|az^2 + bz +c| \\leq 1$ holds true for any complex number $z, |z| \\leq 1$. Find the maximum value of $|bc|$ It is said this is answer is $$|bc|\\le \\dfrac{3\\sqrt{3}}{16}$$ My idea: let $z=1$,then $$|a+b+c|\\le 1$$ let $z=-1$,then $$|a-b+c|\\le 1$$ let $z=0$, then $$|c|\\le 1$$ let $|\\theta|=1$,then we have $$|a(z/\\theta)^2+b(z/\\theta)+c|\\le 1\\Longrightarrow |az^2+b\\theta z+c\\theta^2|\\le 1$$ and only this can't solve this problem,Thank you",
"Subsurf on a crown. How can I smooth some edges and keep others sharp? How can I smooth all crown but don't smooth the top of the crown? I did a subdivision surface, but this didn't work. All crown became smooth and changed form.",
"When to use an object pronoun or a possessive adjective before a gerund"
] |
medi_sts_stackexchange_dupe
|
after installation 12.04 LTS (04) - is not encrypted?
|
Check if partition is encrypted
|
[
"Prove that $L(V,W)$ forms a vector space Let $V$ and $W$ be vector spaces over a field $F$. Let $L(V,W) = \\{T:V\\to W : T \\text{ is linear} \\}$, that is, $L(V,W)$ is the collection of all linear functions from $V$ to $W$. For $S,T \\in L(V,W)$ and $a \\in F$, define new functions $(S+T):V \\to W$ and $ aT :V \\to W$ by $(S+T)(x) = S(x)+T(x)$ ; $(aT)(x) = a(T(x))$. Prove that $S+T$ belongs to $L(V,W)$ and $aT$ belongs to $L(V,W)$.",
"Any complete group (that is, with trivial center and outer automorphism group) is isomorphic to its automorphism group. The inverse is not true, as the dihedral group of order 8 is isomorphic to its automorphism group but isn't complete. Problem 15.29 in the Kourovka Notebook asks to find another exemple of a p-group, but I was wondering, is any other exemple known? Is there any other finite (or even infinite) group (not necessarily a p-group) which is isomorphic to its automorphism group but isn't complete?",
"Delete questions/answers in iOS app There is currently no way to delete questions or answers in the iOS app, even with the required Trusted User privilege. We can edit and vote, but not delete. Can this option please be added to the app?",
"I understand intuitively that this is true, but I'm embarrassed to say I'm having a hard time constructing a rigorous proof that $|a+b| \\leq |a|+|b|$. Any help would be appreciated :)",
"Why didn't Kenobi start training Luke earlier? When Anakin was only 9 years old, everyone in the Jedi Council was arguing that he was already too old for Jedi training. When it comes to Luke, it was a pre-planned agenda to make him a powerful Jedi. So, why did Kenobi wait for Luke to be much older? He could have started Luke's training by himself.",
"How can I cure lycanthropy? I really want to get rid of it. I've been through the whole companion’s quest line and cured Kodlak's. I killed all 5 witches and have 4 of the heads left in my inventory. I've been back to that same flame and tried to use it with the head, but nothing going; activating it does nothing. I've heard this is how you cure it; however I have not heard a first-hand account of anyone actually curing it. If you have, can you explain what you do? Do you go to the same tomb where you fought Kodlak's beast form? Do you do something special with the witch head in your inventory, or just have it in there and activate the harbinger flame or whatever?",
"How do I change my Minecraft username during the 30-day restriction?",
"Schengen refusal formulae can be difficult to understand sometimes. Sometimes an applicant receives a refusal with: Justification for the purpose and conditions of the intended stay was not reliable. often accompanied by: Your intention to leave the territory of the Member States before the expiry of the visa applied for could not be ascertained. What is meant by this refusal reason? What are they trying to say?",
"Let $\\alpha$ be an irrational real number and let $a_j$ be a sequence of rational numbers converging to $\\alpha$. Suppose that each $a_j$ is a fraction expressed in lowest terms: $a_j = \\alpha_j / \\beta_j$. Prove that the $\\beta_j$ tend to $\\infty$ Attempt: AFSOC that $\\beta_j$ does not tend to infinity, then it is bounded by some $M$. We can also find an interval $\\alpha \\in (k, k+1)$. Let $\\epsilon > 0$, $\\exists N_0$ such that for all $N > N_0$ we have $|a_N - \\alpha| < \\epsilon$. So $|\\frac{p_N}{q_N} - \\alpha| < \\epsilon$. We try to use the fact that $q$ is bounded but fail to derive a contradiction. I do not know how to use the fact that $\\alpha$ is between two integers, although it might not be relevant at all. Ideas?",
"How to make an international emergency call?",
"Linearization of PDE: $0$ is an eigenvalue since all translates of travelling waves are also travelling waves Consider the following PDE: $$ u_t=u_{xx}+f(u)-w,~~~~~w_t=\\varepsilon (u-\\gamma w),~~~~~~~~~(1) $$ where $f(u)=u(u-a)(1-u), 0<a<\\frac{1}{2}, \\varepsilon,\\gamma >0, \\varepsilon\\ll 1,\\gamma\\ll 1$. A travelling wave for (1) is a solution that is a function of the single variable $\\xi=x-ct$, i.e., $(u(\\xi),w(\\xi))$ satisfies $$ -cu'=u''+f(u)-w,~~~~~~-cw'=\\varepsilon (u-\\gamma w)~~~~~~~('=d/d\\xi).~~~~~~(2) $$ If (1) is recast in a moving coordinate frame, i.e., in terms of variables $\\xi=x-ct$ and $t$, it becomes $$ u_t=u_{\\xi\\xi}+cu_{\\xi}+f(u)-w,~~~~~~w_t=cw_{\\xi}+\\varepsilon (u-\\gamma w).~~~~~~~~(3) $$ One can see by (2), that a travelling wave is an equilibrium solution of (3). So one nearby question is to ask whether a travelling wave is stable. For a fixed $\\varepsilon$, let $U_{\\varepsilon}(\\xi)=(u_{\\varepsilon}(\\xi),w_{\\varepsilon}(\\xi))$ be a travelling wave for (1), i.e., an equilibrium solution for (3). A standard technique for determining stability of $U_{\\varepsilon}(\\xi)$ is to linearize: If the right-hand side of (3) is linearized along $U_{\\varepsilon}(\\xi)$, the resulting operator is $$ L\\begin{pmatrix}p\\\\r\\end{pmatrix}=\\begin{pmatrix}p_{\\xi\\xi}+cp_{\\xi}+f'(u_{\\varepsilon})p-r\\\\cr_{\\xi}+\\varepsilon (p-\\gamma r)\\end{pmatrix}, $$ where $\\begin{pmatrix}p\\\\r\\end{pmatrix}(\\xi)\\in\\text{BC}(\\mathbb{R},\\mathbb{R}^2):=\\left\\{u\\colon\\mathbb{R}\\to\\mathbb{R}^2 | u\\text{ is bounded and uniformly continuous}\\right\\}$. (The linearized criterion for stability of the travelling wave is that the spectrum of $L$ (except for $0$) lies in a left half-plane and $0$ is a simple eigenvalue.) Thats the background. Now, there is a statement that I could not understand yet. Note, that $0$ must be in the spectrum because the translate of a travelling wave is another travelling wave. I know that a translate of a travelling wave is again a travelling wave. But why does this imply that $0$ is in the spectrum of $L$? Edit After some looks at definitions, I have an idea: Consider a solution $U(\\xi,t)$ that is a translate of the travelling wave $U_{\\varepsilon}(\\xi)=(u_{\\varepsilon}(\\xi),w_{\\varepsilon}(\\xi))$, i.e. $$ U(\\xi,t)=U_{\\varepsilon}(\\xi-k)=(u_{\\varepsilon}(\\xi-k),w_{\\varepsilon}(\\xi -k)) $$ for some $k$. Then $U$ is an equilibrium solution of (3), too. If I am not totally wrong, then we have $$ p=u_{\\varepsilon}(\\xi-k)-u_{\\varepsilon}(\\xi),~~~~r=w_{\\varepsilon}(\\xi-k)-w_{\\varepsilon}(\\xi) $$ and $$ p_t=0,~~~w_t=0, $$ because travelling waves are equilibria for (3) and a translate of a travelling wave is a travelling wave. Hence $$ L\\begin{pmatrix}p\\\\r\\end{pmatrix}=\\begin{pmatrix}0\\\\0\\end{pmatrix}, $$ meaning that $$ \\text{ker}(L-0\\text{ id })\\neq\\left\\{\\begin{pmatrix}0\\\\0\\end{pmatrix}\\right\\}, $$ because for each translate of the travelling wave, $p,r\\neq 0$ and $\\begin{pmatrix}p\\\\r\\end{pmatrix}\\in\\text{ker}(L-0\\text{ id})$. Hence $0$ is in the spectrum (point spectrum) of $L$. Is this what was meant?",
"Why is the ROC curve two-dimensional instead of three-dimensional?",
"Number of equivalence relations on a set",
"Why do the measurements of this object seem erroneous?",
"If $A$ and $B$ are nonempty sets, prove that $A \\times B = B \\times A$ if and only if $A = B$. Proving the first direction of this is easy. That is, if $A = B$ then it is obvious that $A^2 = A^2$. I am wondering how to prove the other direction now. Maybe proving it by contradiction will be easier than directly.",
"How can I add a new value to a picklist using APEX? I have queries pulling all of the information correctly but what I can't seem to find was a way to add new options to a picklist using APEX. I currently have Package__c.Products__c.add(new Schema.PicklistEntry(products[j].Name)); Package__c is my custom object, and Products__c is the picklist. products[j] is pulling a list of products pulled from our products page. And I've tried adding it as a select option, or even casting the variable type. And this information has to go to the actual picklist within a custom object, and not within a visual force page or anything like that.",
"Why does Li-Po battery voltage drop under load? I have very low background in electronics. I have a Li-Po battery connected to an electric motor. The question is: Why does battery voltage drop under load? Why is each cell of a Li-Po battery limited to 3.0 V (discharging)? Why is each cell of a Li-Po battery limited to 4.2 V (charging)?",
"Smooth rendering of bitmap fonts",
"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.",
"Linear regression best polynomial (or better approach to use)? Any ideas on other polynomials I could successfully use for applying regression? My goal is a solution that has fit error strictly based on the noise. Is this possible since it is a bell-like curve? The tails can be long, short or non-existent. Am I looking for the impossible? Please note it has been a while since I have plunged this far into linear regression. Anyway, my data points do not fit the $ax+bx^2+c$ polynomial well enough. I would like a replacement for this polynomial to apply regression (or different approach). In the following example, each point misses the fit curve by $20\\%$ of the $Y$ range on average (of the data points). I looked at splines, but I do not know how to apply the regression since they look piece-wise. Example $Y$ values (evenly spaced in $X$). It looks kind of like a bell curve. I would be applying 5 to 50 data points to determine the polynomial coefficients. Ultimately, I am interested in the best $X$ location for the peak based on the data points. X Y -40 -21142.1111111111 -30 -21330.1111111111 -20 -12036.1111111111 -10 7255.3888888889 0 32474.8888888889 10 32474.8888888889 20 9060.8888888889 30 -11628.1111111111 40 -15129.6111111111"
] |
medi_sts_stackexchange_dupe
|
Upvote didn't increase my reputation (haven't hit the cap)
|
What are "Community Wiki" posts?
|
[
"What's using up my disk space? My Vista 64 installation has drive C, a 150 GB hard drive. I also has a 1.5 TB drive D. My C drive has 12.3 GB free. I don't know what's using up all the space. There's almost 83 GB unaccounted for!!! As per question and question, I downloaded and . WinDirStat, once I found the right options, tells me there's 82.9 GB of . SpaceMonger, which has a particularly nice display of the data, tells me there's 82.3 GB \"Unscanned\", with 2 unscannable folders. Where do I turn now? Both tools roughly agree there's a large amount of data on my drive, but neither seem to be able to tell me what. I've tried the standard approach; disk cleanup, remove hibernation file, set the virtual memory to the D drive instead of the C drive.",
"When $z\\neq 0$, $\\arg z$ is defined to be the set $\\{\\theta \\in \\mathbb{R} : z=|z|e^{i\\theta}\\}$. What if $z=0$? Usually does one leave the argument of $0$ undefined? Or is $\\arg 0 = \\mathbb{R}$?",
"How to minimize residual sum of squares of an exponential fit? I have the following data and would like to fit a negative exponential growth model to it: Days <- c( 1,5,12,16,22,27,36,43) Emissions <- c( 936.76, 1458.68, 1787.23, 1840.04, 1928.97, 1963.63, 1965.37, 1985.71) plot(Days, Emissions) fit <- nls(Emissions ~ a* (1-exp(-b*Days)), start = list(a = 2000, b = 0.55)) curve((y = 1882 * (1 - exp(-0.5108*x))), from = 0, to =45, add = T, col = \"green\", lwd = 4) The code is working and a fitting line is plotted. However, the fit is visually not ideal, and the residual sum of squares seems to be quite huge (147073). How can we improve our fit? Does the data allow a better fit at all? We could not find a solution to this challenge on the net. Any direct help or linkage to other websites/posts is greatly appreciated.",
"How do I change the launcher commands?",
"Why is the Yang-Mills gauge group assumed compact and semi-simple? What is the motivation for including the compactness and semi-simplicity assumptions on the groups that one gauges to obtain Yang-Mills theories? I'd think that these hypotheses lead to physically \"nice\" theories in some way, but I've never, even from a computational perspective. really given these assumptions much thought.",
"Will wolves attack Ocelots?",
"Commas that are sentence flow-stoppers ... Can I leave them out?",
"Equality holds in triangle inequality iff both numbers are positive, both are negative or one is zero How do we show that equality holds in the triangle inequality $|a+b|=|a|+|b|$ iff both numbers are positive, both are negative or one is zero? I already showed that equality holds when one of the three conditions happens.",
"Homeomorphism is bijective Here is my question: Is a homeomorphism, that is, a continuos function whose inverse function is also continuous, always bijective?",
"Passing functions to setTimeout in a loop: always the last value?",
"Every time I read the tips for installing an SDK, IDE, some extension and so on, it says, that I should unpack them in /opt folder. Why do I need to do that? When I was installing Ubuntu, I read that I should set only 10-20 GiB for the / file system and remaining space set for /home. So should I extend the space for root folder, or leave all stuff at /home? Is there any difference?",
"Equals(=) vs. LIKE When using SQL, are there any benefits of using = in a WHERE clause instead of LIKE? Without any special operators, LIKE and = are the same, right?",
"How to determine whether the direction of rotating a 2D vector to another one is counter-clockwise or clockwise using the cross product? Vec2 a, b; // some random vector Vec2 cross = a.Cross(b); RelativeDirection(a,b,cross); // return true if the direction of // rotating a to b is counter-clockwise How do I implement the function RelativeDirection()? I got some suedo code from the textbook: if a.Cross(b) > 0 then ... else ... but the cross product is a vector right? how do you compare it with an integer?",
"How to pad zeroes to a string?",
"Convert a number to its expression in words (e.g. 55 -> fifty-five) Is there a way to convert a number to a string (Apex code, formula field ..) For example: 5200 > cinq milles deux cents",
"Using Either a Comma or a Semicolon My teacher was explaining how sometimes a comma isn't enough to make a sentence correct, and that sometimes you have to use a semicolon. I am having trouble figuring out when you should use which. Can someone please explain?",
"Why are moderators now required to report underage users? Just today (December 2, 2020), a was enacted, which requires moderators to report users that they find to be underage: If you find a user claiming to be under 16 escalate it to us through the "Contact Community Team" button and select the "underage user" template - this will flag the on-duty CM for action so we can investigate and, if deemed necessary, delete that account and all personal data associated with it. [...] This policy only applies to sites where you are a moderator. If you see things on a site where you’re not, there is no obligation to escalate. Being part of the , moderators are required to follow the instructions there, and not following them is considered a violation of the moderator agreement. However, this contradicts a , which states (bold added): Users and moderators are not legally responsible for underage users and are under no obligation to report them to us. If out of concern you would like to report it, [...] As part of the re-enaction of the policy on December 2, the text "and moderators" in the above quote was edited out of that statement. Why are moderators now required as per policy to report underage users that they come across? Is there a legal explanation as to why SE's stance on this changed? I'm aware of from a then-employee, which stated that moderators are expected, but not required as a condition of remaining a moderator, to report underage users. However, the new policy requires reporting them. Why? An example of a case where a moderator may not want to report an underage user is if the user claims to be from an EU country that has reduced the required age from 16. While SE's Terms of Use specify a blanket limit of 16 to comply with regulations in all EU countries, individual member states do have the ability to reduce the limit, so long as it's not below 13. There is no law violation if, say, a 15-year-old user from an EU country that has reduced the age limit to 14 registers, so a moderator may not feel like reporting them (since in that case they're merely enforcing the Terms of Use, which they're not otherwise expected to do). The policy was recanted a few days after it was originally enacted on October 15, 2020, but was enacted again on December 2 after minor revisions following a review among moderators. The same question still applies to the revised policy, however.",
"A person who speaks kindly. Sometimes she might be hard, but fair. What is an adjective to describe such person?",
"How many injective functions $f:[1,...,m]\\to{[1,...,n]}$ has no fixed point? $(m\\le n)$",
"How to determine the architecture of an installation or Live CD/DVD? How can I determine which architecture (x86 or x64) my Ubuntu installation medium is for? I don't have it installed, I just need to know which files on the installation media I can use to determine the architecture."
] |
medi_sts_stackexchange_dupe
|
Irreducible polynomials?
|
Family of irreducible polynomials
|
[
"After running a VM and logging out, I got a black screen. I powered off and re-started but got the same after the bios option in start up passed. Several attempts went bye with the same result. So I fiddled with bios boot options a bit and was able to get to a different looking Ubuntu start up screen which, after entering pass key would run a series of commands that were too numerous and frantic to make out. They appeared to be overlapped/layered (the text that is) and seemingly repeating endlessly. I had to power down to get it to stop and re-booting just had the same effect. Finally, I hit the down arrow key when prompted for \"disk sda5_crypt\" at the pseudo Ubuntu log-in screen I mentioned before. This brought me to an all black screen which read something like: lvmetad not active cannot process volume group \"umbuntu-vg\" unlock disk sda5_crypt** From here I entered a password and Ubuntu start up ran. That was an unsettling hour or so and I'd like to avoid that in the future. Any ideas what caused it and how to avoid it going forward? Should have said this before but Ubuntu is the only OS on my machine and my optical drive cannot be opened manually.",
"I would like to be able to change the default CSS used by chrome, such as removing the underlines for links, etc. However, I cannot find the default CSS file used by Chrome. Does anyone know where it is?",
"How to launch the default (native) application for a given file from Java?",
"In Walter Rudin's Principles of mathematical analysis Exercise 5.21, it is proved that for any closed subset $E\\subseteq \\mathbb{R}$, there exists a smooth function $f$ on $\\mathbb{R}$ such that $E=\\{x\\in \\mathbb{R}\\mid f(x)=0\\}$. Since $E^c$ is open in $\\mathbb{R}$, $E^c$ is a countable disjoint union of open intervals $(a_i,b_i)$. On an interval $(a,b)$, if we let $f(x)=\\exp(\\frac{1}{(x-a)(x-b)})$, $x\\in(a,b)$; $f(x)=0$, $x\\notin(a,b)$, ($f(x)=\\exp(\\frac{1}{(x-a)})$ or $f(x)=\\exp(\\frac{1}{(x-b)})$ on $(a,\\infty)$ and $(-\\infty,b)$ resp.), then $f$ is smooth. Hence we can get a smooth function on $\\mathbb{R}$ such that $E$ is the zero point sets of $f$. (1). How about a closed subset $E$ of $\\mathbb{R}^n$? is it true that for any closed subset $E\\subseteq \\mathbb{R}^n$, there exists a smooth function $f$ on $\\mathbb{R}^n$ such that $E=\\{x\\in \\mathbb{R}^n\\mid f(x)=0\\}$? An open set in $\\mathbb{R}^n$ cannot be written as a disjoint union of countable open balls hence the proof above is not valid. The partition of unity only claims that for an open set $U$, there exists open $V$ in $U$ such that $\\bar V\\subseteq U$ and a smooth function $f$ on $\\mathbb{R}^n$ such that $supp f\\subseteq U$, $f|_V=1$. (2). The taylor series of $f(x)=\\exp(\\frac{1}{(x-a)(x-b)})$ does not converge around points $a,b$ hence $f$ is not analytic at $a,b$. Is it true that for any closed subset $E\\subseteq \\mathbb{R}$, there exists an analytic function $f$ on $\\mathbb{R}$ such that $E=\\{x\\in \\mathbb{R}\\mid f(x)=0\\}$?",
"Not all files are visible over MTP I have LG L5 (e610 model) device with Cyanogenmod 10. When I connect the phone to a computer with Linux (I have mtpfs installed), I can see both internal storage and the SD card. However when I navigate inside them, I can't see some of the files. For example, if I open file manager app on the phone, I can see several files in the Internal storage/Notifications directory, however the directory on the computer only shows one of those files. If I switch USB connection type to PTP (camera) - as OS X doesn't support MTP natively - Image Capture sees the phone as a camera, however it can only see about a third of all the images present on the phone. I don't have a Windows machine to try, but I suspect the results would be similar. I tried upgrading Cyanogenmod to the latest nightly, clearing and reinstalling it - same results. Any idea as to what is going on? How can I make all files appear on the host computer?",
"Is there a better name for this than \"emphatic and\"? In semi-poetic writing, I have had occasion to deviate from the standard prose list practice (interpose commas or semicolons between items, with an \"and\" preceding the final item), by utilizing a second or third and to separate three or four items. That is, Bob likes beer, wine and liquor. The variant would be: Bob likes beer and wine and liquor. Now, the usage is obviously nonstandard and should be avoided in formal writing, but for those instances where poetic variation may be justified. What is it called? \"Emphatic And\" is the best I can coin on my own, but I wonder if there is a more established name for this variation.",
"How can one refute John Searle's \"syntax is not semantics\" argument against strong AI?",
"I think we need a button that says Edit and Close added to the Review Close button options. Many of these closed posts will be around forever (and should be, closed should not just be a path to deletion), so they need editing. If I edit it now it goes away, with the only option being a back click to get back to the review, and then click into the post and edit it. We have an Edit and Reopen button, so this would fit in just fine.",
"Multiple two pin multi-color LEDs pattern - how does this work?",
"Let's say I have Table A: BookingsPerPerson Person_Id ArrivalDate DepartureDate 123456 2012-01-01 2012-01-04 213415 2012-01-02 2012-01-07 What I need to achieve with a view is the following: Person_Id ArrivalDate DepartureDate Jan-01 Jan-02 Jan-03 Jan-04 Jan-05 Jan-06 Jan-07 123456 2012-01-01 2012-01-04 1 1 1 1 213415 2012-01-02 2012-01-07 1 1 1 1 1 1 The system is for events, so each hotel booking could take anything between 1 to 15 days but no more than that. Any ideas would be very much appreciated.",
"How to increase the width and height of the Rich Text area field in Visual force Page?",
"Let $A\\in M_{n\\times n}(\\Bbb R)$ so that $I\\notin span(A,A^2,...,A^n)$. Prove that $\\det(A)=0$. I was thinking of showing $A$ is not invertible, meaning it has an eigenvalue of $0$. Since no matter the power you give to $A$, it is still not the identity, you can deduce that at least one eigenvalue is indeed $0$. However this doesn't work if you have different eigenvalues in the Matrix, so I got stuck. Help will be most appreciated.",
"How can I escape white space in a bash loop list? I have a bash shell script that loops through all child directories (but not files) of a certain directory. The problem is that some of the directory names contain spaces. Here are the contents of my test directory: $ls -F test Baltimore/ Cherry Hill/ Edison/ New York City/ Philadelphia/ cities.txt And the code that loops through the directories: for f in `find test/* -type d`; do echo $f done Here's the output: test/Baltimore test/Cherry Hill test/Edison test/New York City test/Philadelphia Cherry Hill and New York City are treated as 2 or 3 separate entries. I tried quoting the filenames, like so: for f in `find test/* -type d | sed -e 's/^/\\\"/' | sed -e 's/$/\\\"/'`; do echo $f done but to no avail. There's got to be a simple way to do this. The answers below are great. But to make this more complicated - I don't always want to use the directories listed in my test directory. Sometimes I want to pass in the directory names as command-line parameters instead. I took Charles' suggestion of setting the IFS and came up with the following: dirlist=\"${@}\" ( [[ -z \"$dirlist\" ]] && dirlist=`find test -mindepth 1 -type d` && IFS=$'\\n' for d in $dirlist; do echo $d done ) and this works just fine unless there are spaces in the command line arguments (even if those arguments are quoted). For example, calling the script like this: test.sh \"Cherry Hill\" \"New York City\" produces the following output: Cherry Hill New York City",
"Help with math symbols in BibTeX I am writing a PhD thesis using LaTeX. Every thing is going fine, but I have problem with the output of the mathematical symbols in the references lists. I copy one example from the Pdf file to make it clear for you. You can see that the fraction remains the same. [1] Mezzacapo, F. and Cirac, J. I. (2010) Ground-state properties of the spin-\\frac{1}{2} antiferromagnetic Heisenberg model on the triangular lattice: a variational study based on entangled-plaquette states. New. J. Phys., 12, 103039. You can see below the all the packages I use: \\documentclass[12pt,PhD,twoside,a4paper]{GB_muthesis}%[10pt,PhD, singlespace] \\usepackage[pdftex]{graphicx} \\usepackage[bookmarks=true,colorlinks=true,linkcolor=blue, urlcolor=blue,citecolor=blue]{hyperref} \\usepackage[numbers,comma, sort&compress]{natbib} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{mathtools} \\usepackage{rotating} %\\usepackage{GE_manthesis} \\usepackage{GB_thesis} \\usepackage{bm} \\usepackage{fmtcount} \\usepackage{setspace} \\usepackage{chapterbib} \\usepackage{subfigure}% allow subfigures \\usepackage{amsfonts} \\usepackage{url, enumitem} \\usepackage{lscape} \\usepackage{notoccite}%This package is for ingnoring the citation in the caption of the figures and tables. \\begin{document}",
"What to do when I get an \"attempt to read or write outside of disk 'hd0'\" error and Boot Repair does not solve the problem?",
"How can I have a different input method for each app window on windows 8. When I change input language to ENG all app window also uses this method and I don't want that. Like windows 7 that has a different input method for this purpose. thanks",
"Using wp_query is it possible to orderby taxonomy? My question is simple, I'm using WP_Query to retrieve some custom type posts filtering by a taxonomy using tax_query. Now my problem is I would like to orderby the taxonomy, but from documentation and searching on the web I can't find a solution. The orderby in WP_Query lets you order by a bunch of fields even custom meta fields but it doesn't seem to support taxonomy. Any pointers in the right direction? Thank you all.",
"SED: insert text after the last line? This inserts a tag to the beginning of a file: sed -i \"1s/^/<?php /\" file How can I insert something to the end of each file with sed?",
"Using Squeeze Theorem to show the following limits Consider a function f (x) defined on R satisfying: for all x distinct 0. Calculate: lim f(x) with x→∞ and limf(x) with x→−∞ Issue information: if x → ∞ then we can consider | x | = x if x → -∞ then we can consider | x | = -x I can use x² = | x |?",
"Simplify $\\sum (x_i- \\mu)^2$ How can I simplify this relation? $$\\sum_{i = 1}^m(X_i-\\mu)^2=\\sum_{i = 1}^m(X_i-\\bar{X}_m)^2+m(\\bar{X}_m-\\mu)^2$$ I know how to set up: $$\\sum_{i = 1}^m(X_i-\\mu)^2=\\sum_{i = 1}^m[(X_i-\\bar{X}_m)+(\\bar{X}_m-\\mu)]^2$$ but when I open the bracket, how do I handle the mixed term? $$2\\sum_{i = 1}^m(X_i-\\bar{X}_m)(\\bar{X}_m-\\mu)$$ Thank you!"
] |
medi_sts_stackexchange_dupe
|
Remove Firefox developer edition
|
How do I install the Firefox Developer Edition?
|
[
"What are the practical differences between Bash and Zsh? With the news that , I'm finding lots of results telling me about the switch, and that it may cause problems with shell scripts, but I'm not familiar enough with Zsh to know what those problems might be. My shell scripts are really not that complicated, but I've only ever used Bash on macOS and Linux - zero experience with Zsh. Can anyone provide a simple practical comparison, or specific stumbling blocks I will need to know, so that I can start working towards being ready for the new shell when Catalina is released?",
"Exclude a view from master layout?",
"How much did the Trade Federation know about their 'lord' at time of blockade?",
"How do you split a list into evenly sized chunks? I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive. I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators. I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though. Related question:",
"Conditional \\endinput I want to prevent processing rest part of a package in case if it is loaded not from lualatex. For some reason I cannot load ifluatex package, so I borrowed definition of \\ifluatex from that package and invented the following chunk of code: \\expandafter\\ifx\\csname luatexversion\\endcsname\\relax % = not \\inluatex %\\typeout{^^J********************** not LuaTeX^^J} \\PackageError{babel}{ ^^J\\space\\space * Option russianu is intended for LuaTeX only. ^^J\\space\\space * Option russian is used instead. } \\relax \\input{russianb.ldf} \\let\\@next@action\\endinput \\else %\\typein{^^J********************** LuaTeX^^J} \\let\\@next@action\\relax \\fi \\@next@action It seemed to work but Is there a better solution. In particular, it is desirable to avoid introduction of \\@next@action because it is used the only time. Just to explain: my goal is to hack babel with option russian to make it working painlessly with LuaLaTeX without any additional hacks (as described, eg, in and )",
"What is /etc/mtab in Linux? What is /etc/mtab in Linux? Why is it needed and advantages of having it?",
"Batch processing LiDAR files (.las to raster) with PyQGIS? for layers in glob.glob(\"*.las\"): processing.runalg(\"grass7:r.in.lidar\", \"input_las\",5,1,\"\",1,100,\"\",\"\",5,\"\",\"\",False,True,True,\"331289.57265,337990.42735,4558790.0,4560890.0\",0,layers+\"E:/las_new/.tif\") {'output': 'PNOA_2016_CAT_huso31_346-4560.lasE:/las_new/.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4562.lasE:/las_new/.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4564.lasE:/las_new/.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4566.lasE:/las_new/.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4568.lasE:/las_new/.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4570.lasE:/las_new/.tif'} output_ras=(\"E:/las_Ras\") for layers in glob.glob(\"*.las\"): processing.runalg(\"grass7:r.in.lidar\", \"input_las\",5,1,\"\",1,100,\"\",\"\",5,\"\",\"\",False,True,True,\"331289.57265,337990.42735,4558790.0,4560890.0\",0,layers+\"output_ras.tif\") {'output': 'PNOA_2016_CAT_huso31_346-4560.lasoutput_ras.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4562.lasoutput_ras.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4564.lasoutput_ras.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4566.lasoutput_ras.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4568.lasoutput_ras.tif'} {'output': 'PNOA_2016_CAT_huso31_346-4570.lasoutput_ras.tif'} for layers in glob.glob(\"*.las\"): processing.runalg(\"grass7:r.in.lidar\", \"input_las\",5,1,\"\",1,100,\"\",\"\",5,\"\",\"\",False,True,True,\"331289.57265,337990.42735,4558790.0,4560890.0\",0,\"output_ras.tif\") {'output': 'output_ras.tif'} {'output': 'output_ras.tif'} {'output': 'output_ras.tif'} {'output': 'output_ras.tif'} {'output': 'output_ras.tif'} {'output': 'output_ras.tif'} I would like to batch process many LAS files to rasters using the PyQGIS algorithm. As you can see in the code, I think the final problem is with the output. It does not write the files out to my defined output pathway as tif files. Also how can I make sure the naming of output rasters are according to the original LAS they are generated from? What am I doing wrong here? Not a pro at Python. Started 3 days ago.",
"There are a plethora of words for user accounts, like logon, login, signon, and also the action of logging in (or logging on) or signing in. Are there any usage guidelines here?",
"How can I prevent Chrome from offsetting newly opened Window? When I open a new Window in Chrome on Windows 7 (by pressing CTRL+N), the new window does not exactly overlap the existing window. Instead it is offset to the right slightly. So, immediately after opening a new window I have to manually move it to the left so that it uses the full screen real estate. Is there a way to prevent this offset?",
"How to restrict some websites in Ubuntu 14.04",
"I always use lm() in R to perform linear regression of $y$ on $x$. That function returns a coefficient $\\beta$ such that $$y = \\beta x.$$ Today I learned about total least squares and that princomp() function (principal component analysis, PCA) can be used to perform it. It should be good for me (more accurate). I have done some tests using princomp(), like: r <- princomp( ~ x + y) My problem is: how to interpret its results? How can I get the regression coefficient? By \"coefficient\" I mean the number $\\beta$ that I have to use to multiply the $x$ value to give a number close to $y$.",
"I'm a little confused about the following sentences. Could you please tell me which one(s) is/are correct? The first and the second chapter are difficult. The first and the second chapters are difficult. The first and second chapters are difficult. The first and second chapter are difficult. I believe #1 & #3 are correct, while #2 & #4 are incorrect. But when seeing the answers to the Quora question , I wonder why they say #2 is correct.",
"Let $A$ be a diagonalizable matrix and $\\lambda$ be an eigenvalue of A. Prove that rank($\\lambda I - A$) = rank(($\\lambda I - A)^2$). Let $A$ be a diagonalizable matrix and $\\lambda$ be an eigenvalue of A. Prove that rank($\\lambda I - A$) = rank(($\\lambda I - A)^2$). The hint they provided is that for any invertible matrix B, rank(AB) = rank (A) and rank(BA) = rank(A).",
"What's the difference between a method and a function?",
"Our production server (2012, VM + SAN) has 32 GB of RAM, the database size is ~80GB. The application uses TempDB heavily - disk is hit ~100 MBps both reads & writes. Seeing tons of SQL compilations/sec .. 95% of all batch requests are compilations. Ideally would like to increase the RAM to 64GB or 128GB, but need to 'prove' to team that it's required. Buffer Cache Hit Ratio (BCHR) is 99.9%, but Page Life Expectancy (PLE) is only ~400. What's the explanation for this ? I though PLE & BCHR had a linear relationship (i.e. they increase or decrease together) On other VMs with larger databases and lot more RAM, both BCHR & PLE are high. Current wait stats and perf counters",
"I am using Ubuntu 11.10 (64 bits) and I do not want to mount automatically USB thumb drives in my system. I tried the command dconf-editor and gconf-editor but there isn't the icon to disable it in nautilus preferences (apps|nautilus|preferences|media_automount). Thanks.",
"Proof a set cannot contain its own powerset - Russell's Paradox",
"How does MySQL process ORDER BY and LIMIT in a query?",
"Let $x\\in \\mathbb{R}$ an irrational number. Define $X=\\{nx-\\lfloor nx\\rfloor: n\\in \\mathbb{N}\\}$. Prove that $X$ is dense on $[0,1)$. Can anyone give some hint to solve this problem? I tried contradiction but could not reach a proof. I spend part of the day studying this question and its answers. Only one answer is clear and give clues to solve the problem. This answer is the first one. However, this answer does not answer the question nor directly, nor the proof follows from this answer. This answer has some mistakes, he use that $[(k_1-k_2)\\alpha]=[k_1\\alpha]-[k_2\\alpha]$ which is not true. Consider $k_1=3, k_2=1, \\alpha=\\sqrt{2}$ we have $[(k_1-k_2)\\alpha]=2\\not= 3=[k_1\\alpha]-[k_2\\alpha] $. We only can assure that $[k_2\\alpha]-[k_1\\alpha]-1\\leq [(k_2-k_1)\\alpha]\\leq[k_2\\alpha]-[k_1\\alpha]$. Who answered said something interesting about additive subgroups of $\\mathbb{R}$, but unfortunately the set $X=\\{nx-[nx] : n\\in \\mathbb{N} \\}$ is not a subgroup. Considering the additive subgroup $G=\\langle X \\rangle$, if we prove the part (a) of the link, we get that indeed $G$ is dense on $\\mathbb{R}$ but we can not conclude that $X$ is dense on $[0,1)$. I think this problem has not been solved. Thanks!",
"In a family with two children, what are the chances, if one of the children is a girl, that both children are girls? I just dipped into a book, The Drunkard's Walk - How Randomness Rules Our Lives, by Leonard Mlodinow, Vintage Books, 2008. On p.107 Mlodinow says the chances are 1 in 3. It seems obvious to me that the chances are 1 in 2. Am I correct? Is this not exactly analogous to having a bowl with an infinite number of marbles, half black and half red? Without looking I draw out a black marble. The probability of the second marble I draw being black is 1/2."
] |
medi_sts_stackexchange_dupe
|
undefined reference to template function
|
"Undefined reference to" template class constructor
|
[
"Where can I find a list of Magic Items by rarity? I am currently looking for a list of Magic Items (non-homebrew and preferably Armor/Weapons) arranged in Common, Uncommon, Rare, Very Rare, and Legendary. There is not one in the Players Handbook or Dungeon Masters Guide that is appropriate. Does such a list exist and if so, where can I find it?",
"Solving the Kolmogorov forward equation for transition probabilities Let $\\lambda \\mu > 0$ and let $X$ be a Markov chain on $\\{1,2\\}$ with generators $$ Q = \\begin{pmatrix} -\\mu & \\mu \\\\ \\lambda & -\\lambda \\end{pmatrix}$$ Write down the forward equations and solve them fro the transition probabilities, $p_{i,j}(t), i,j = 1, 2$. The answers say: \"We have that $$p_{11}' = -\\mu p_{11} + \\lambda p_{12}, \\, \\, \\, p_{22}' = -\\lambda p_{22} + \\mu p_{21}$$ where $p_{12} = 1 - p_{11}$ and $p_{21} = 1 - p_{22}$. Solve these subject to $p_{ij}(t) = \\delta_{ij}$, the Kronecker delta, to obtain that the matrix $P_t = \\{p_{ij}(t)\\}$.\" The bits I don't understand are these 1) How do they get those equations in the first place? For example, why have they added $\\lambda p_{12}$ when the coefficient for $p_{12} = \\mu$? 2) How do you solve these equations? What do you do with that Kronecker delta to solve them?",
"Convert date to another timezone in JavaScript",
"Are there dextral/sinistral higher animals? For example, almost every dog I've met in my life (more than 20 subjects) uses their right paw touching one while asking for attention. Can it be used as a criterion for calling them dextral? If not, what? However, I realize that even those dogs who live in the street might get influenced by dextral people: There is no domestic animal which has so radically altered its whole way of living, indeed its whole sphere of interests, that has become domestic in so true a sense as the dog (Konrad Lorenz) Is there any research about it?",
"When I try to render a wave, it keeps being rendered in extremely low quality. I'm not sure exactly which setting is causing this, but increasing the renderand viewport sampling don't seem to help.",
"What is a good, short, word to describe a software engineer? What should I call a person who write software, computer programs ? I know he/she is a software engineer, can I call him/her as \"Coder\"?",
"How to prove or disprove $\\forall x\\in\\Bbb{R}, \\forall n\\in\\Bbb{N},n\\gt 0\\implies \\lfloor\\frac{\\lfloor x\\rfloor}{n}\\rfloor=\\lfloor\\frac{x}{n}\\rfloor$. How to prove or disprove $\\forall x\\in\\Bbb{R}, \\forall n\\in\\Bbb{N},n\\gt 0\\implies \\left\\lfloor\\frac{\\lfloor x\\rfloor}{n}\\right\\rfloor=\\left\\lfloor\\frac{x}{n}\\right\\rfloor$. So we want to prove $\\left\\lfloor\\frac{\\lfloor x\\rfloor}{n}\\right\\rfloor\\ge\\left\\lfloor\\frac{x}{n}\\right\\rfloor$ and $\\left\\lfloor\\frac{\\lfloor x\\rfloor}{n}\\right\\rfloor\\le\\left\\lfloor\\frac{x}{n}\\right\\rfloor$ Since $\\lfloor x\\rfloor\\le x$, we can just start from here and prove $\\left\\lfloor\\frac{\\lfloor x\\rfloor}{n}\\right\\rfloor\\le\\left\\lfloor\\frac{x}{n}\\right\\rfloor$ But for $\\left\\lfloor\\frac{\\lfloor x\\rfloor}{n}\\right\\rfloor\\ge\\left\\lfloor\\frac{x}{n}\\right\\rfloor$, I have no idea how to start.",
"How should I handle possible revenge downvotes? I don't like such kind of questions on Meta, so I will try to make it a good question and describe all with a details. Today I down-voted added a comment with explanations why I down-voted it, and flag it as non constructive (my flag was marked as helpful). An hour later was downvoted, without any comment left about the reason. Yes, that wasn't my best answer, but in my opinion it answers the question. Well, even if somebody considered my answer incorrect he could add the correct answer, or up-vote the competitive ones. I checked the who made competitve answer, and he didn't get any rep today for that answer. It was my second down-vote on Stack Overflow, so I was a little bit down, after that. I think who could considered my answer so completely wrong, and that I thought that maybe it was revenge down-vote. So I checked of the user I down-voted today, and it was clear that he down-voted some answers today. After I checked that that user cast only 19 downvotes in 8 months, so chances were very big that this was revenge down-voting. I came to this meta, and searched what I should do in this case. I found that most questions about down-votes, were closed as duplicates. After I found , and found that a team member of Stack Exchange suggested to cast a flag for moderator attention, and explain the situation there. I did that, and create next flag: I think after I down-voted this question (and a comment about this), the OP down-voted me in revenge; it's clear from his today's reputation and from timing of my down-vote of his question, and time when one of my answers was downvoted. I cannot be 100% sure about that, but if somebody can check this, and point him that it's not the good way to do. As you can see, I didn't ask for returning any reputation, or banning that user, I just wanted, somebody to point him, that he did wrong. And after I get this respons on my flag: \"declined - flags should only be used to make moderators aware of content that requires their intervention.\" So in the end I also lost 10 points of the flag weight. After describing all situation in details, I want to know were exactly I was wrong here. And what should I do next time something like this happens?",
"I have looked through several questions and answers on EL&U, and often there is an indication that American English prefers \"have\" while British English prefers \"have got\". In addition, there are several references to \"have got\" being more informal than \"have\" (e.g.: , ). But where is it considered more informal? In American English alone or both American and British English? This point may seem obvious to those who made the above mentioned references, but the fact is that even the most fluent users of English in my country will say without a doubt that 'have got' is the preferred usage in the UK and, therefore, it must also be more formal. Why? Because in an academic environment, the more informal structures are generally frowned upon, outside some specific spoken exercises. And if the teachers insist on using \"have got\", it follows it isn't informal. So, is the teaching of (British) English in our schools transmitting the wrong idea? EDIT: I'm adding some information in answer to the comments. I'm mainly concerned with the idea of possession: I have got a cat vs. I have a cat and She has got a dog vs. She has a dog As mentioned in the comments, every (Portuguese) student will be told that \"have\" and \"have got\", when it comes to the idea of possession, are absolute synonyms, the only two differences being: \"have got\" is preferred by British English, \"have\" is preferred by American English the negative and interrogative structures differ I have never heard of any distinction in formality. In fact, I was rather surprised when I went through the EL&U archives and read about it. So, would \"I have got a cat\" be as formal/informal as \"I have a cat\"? And how do British and American English look at its formality/informality? Is it the same?",
"How do I set up SSH so I don't have to type my password? How do I set up SSH so I don't have to type my password when connecting to a host?",
"How do humans dominate the Federation in Star Trek?",
"C structure initialization?",
"I recently spilled water on my computers keyboard, and as a result the left shift key seems to be stuck in the on position. This means that the system always boots into safe boot unless I hold down the option key. I have managed to change my password to one which is all caps and once I login I use keyremap4mac but it is still very annoying. Is there anyway which I can remap the keyboard during boot? Possibly with a startup bash script or something similiar? If that is not possible is there any way to use a script to bypass safe boot? I was planning on installing a new bootloader anyway in order to dual-boot linux, I don't know if this will help. Advice is appreciated.",
"How to add item to right-click menu when NOT selecting a folder or file? How do I add a menu item to my context menu to open up powershell (or any other arbitary application) when I right-click inside Windows Explorer? I found tons of links on how to add menu items when doing this: (selecting a folder; ) ...but couldn't find any instructions on how to add menu items when doing this: (not selecting a folder or file) I did find and tried adding powershell to HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\, (loosely based on the and linked above) but it didn't work for me. I'm running Windows 7, by the way. Also, I'm currently interested in adding only PowerShell, but I'd prefer a general solution I can apply to add any program to the context menu.",
"Execute program from within a C program How should I run another program from within my C program? I need to be able to write data into STDIN of the launched program (and maybe read from it's STDOUT) I am not sure if this is a standard C function. I need the solution that should work under Linux.",
"Title is removed/cleared/erased when starting editing",
"How to copy files that have too long of a filepath in Windows?",
"Coauthoring with a reviewer possible? I recently submitted an article to a math journal and got a response from a reviewer, with an attachment. In it, I have found some good advice that could improve my article tremendously. I am a bit suspicious of its accuracy since it could resolve what I have been working with for some months in a few sentences. But anyway, it was enough for me to ask the reviewer for coauthoring with me. My question would be, does it often happen that an author asks a referee for coauthoring during the review process? Or could it even be possible? I was given a month to revise my article, but the chance that I could revise successfully by myself seems to be fat. I would be looking forward to any advice. Thanks in advance.",
"What are Click packages? I noticed that Ubuntu SDK recently had some updates and it installed a program named \"Click\". I would like to know what they are and how to use them. Also, would they make Debian packaging easier?",
"Record a macro of windows commands"
] |
medi_sts_stackexchange_dupe
|
Divider lines of matrix
|
How to create vertical and horizontal dotted lines in a matrix?
|
[
"We have the matrix: $$\\left[\\begin{array}{rrr} 0.8&0&0\\\\ 0&1.2&0\\\\ 0&0&1\\\\\\end{array}\\right]$$ Finding the eigenvalues and eigenvectors are easy. But finding ${\\bf M}^n$ when $n \\rightarrow \\infty$ is the hard part. Any suggestions?",
"Modified Hamilton's Principle overconstraining a system by imposing too many boundary conditions In Hamiltonian Mechanics, a version of Hamilton's principle is shown to evolve a system according to the same equations of motion as the Lagrangian, and therefore Newtonian formalism. In particular, letting $\\delta$ indicate a variation of the path through phase space, $$ \\delta \\int_{t_1}^{t_2} \\big(p_i \\dot{q}_i - H(p_i,q_i,t)\\big)dt = 0 $$ is shown to generate the same motion equations as those found by the Legendre transform of the Lagrangian equations of motion. Essentially, when we calculate the Euler-Lagrange equations for the above integrand, we find $$ \\dot{p}_i + \\frac{\\partial H}{\\partial q_i} = 0\\text{, } \\dot{q}_i - \\frac{\\partial H}{\\partial p_i} = 0. $$ Now, since these are both first-order equations of motion, we require $2n$ boundary conditions to obtain a solution, where $n$ is the number of particles. This is perfectly consistent with the Lagrangian formalism which had $2n$ boundary conditions due to its $n$ distinct second-order motion equations. An important thing to note is that since $p_i\\dot{q}_i - H(p_i,q_i,t)$ contains no $\\dot{p}_i$ dependence, the variation in $p_i(t)$ need not be zero at the endpoints of the path. This is not the case with $q_i(t)$ because the $\\dot{q}_i$ dependance results in the appearance of boundary terms that must be set to zero in order to obtain the motion equations. Now, as far as the boundary conditions are concerned, this makes sense. For the path to be uniquely specified given Newtonian mechanics, we require $2n$ boundary conditions. These can either be the usual Newtonian choice of initial positions and velocities/momenta, or they can be the initial and final positions. Both are perfectly acceptable mathematically speaking. If we were required, in the modified Hamilton's principle variation, to enforce that the variations in the momenta also be zero at the initial and final times, this would mean $2n$ additional boundary conditions, which would generally over constrain a Newtonian system. However, my confusion is this: when textbooks (Goldstein in particular) consider generating functions, they require that the integrand be invariant to the addition of a total time derivative of a function $F(q_i,p_i,t)$ of the phase space coordinates. However, adding such a function will in general add some $\\dot{p}_i$ dependence to the integrand, which will then add boundary terms to the equations of motion unless we require that the $p_i(t)$ variations be zero at the boundaries. This is fine as far as it goes. We can always define the variation however we like. The point is just that it spits out the right motion equations at the end of the day. But my confusion lies in how this doesn't generally over constrain the system. If we specify all the positions and momenta at both the initial and the final times, might not the required path to connect those points in phase space be non-Newtonian? Does this only matter if you're actually trying to use the stationary action principle to find the paths, rather than just using it to find the motion equations?",
"I've looked at the demo of Beeline reader and would like to test it out on a physical version of my books, which are done in LaTeX. I'm wondering if it would even be possible. Beeline reader takes online test a puts a slight gradient on the letters for a single line of text. On the next line it reverses the direction of the gradient. The idea being that it helps tracking text and improves speed of reading. Any hints or suggestions as to how to do this in LaTeX? What follows is an example taken from",
"Are there any guidelines for converting cooking recipes from Regular Ovens to Convection? I was looking to buy a Convection Oven and wanted to know if there are any general differences in baking methods between the two.",
"As a part of self study, I am trying to prove the following statement: Suppose $X$ and $Y$ are topological spaces and $f: X \\rightarrow Y$ is a map. Then $f$ is continuous if and only if $f(\\overline{A})\\subseteq \\overline{f(A)}$, where $\\overline{A}$ denotes the closure of an arbitrary set $A$. Assuming $f$ is continuous, the result is almost immediate. Perhaps I am missing something obvious, but I have not been able to make progress on the other direction. Could anyone give me a hint which might illuminate the problem for me?",
"I have been trying to show these two inequalities hold for all positive integers n, but I don't know how to proceed at all... I have tried playing around with them but I didn't find anything helpful. I have also tried induction but I couldn't make it work.",
"Is it possible to create a counter just with wiring? With the new logic gates in the 1.3.1 update, is it possible to create some wiring circuit that counts how many times a trigger was activated? In other words, is it possible to make a circuit that outputs a trigger every two input triggers? I've done some experimenting but the nature of wires and there being no intrinsic on/off state in Terraria makes it pretty counter-intuitive compared to real world logic circuits.",
"Operator norm. Alternative definition",
"How can the speed of sound increase with an increase in temperature?",
"Programmatical Setting of 'Store Relative Pathways' for multiple MXDs ArcGIS 10.1 I am looking to move large number of mxds to a different location on the same drive. Many mxds haven't got 'Store relative pathways' option checked therefore this operation will result in broken links to data. I've only started using ArcGIS 10.1 and it is now possible to programmatically update relative pathways for all mxds by using arcPy and setting relativePaths to be \"True\". I had a go at writing Python script which (in theory) loops through a top folder and searches for all mxds and then updates \"Store relative pathways\" setting to be on. When I run this script in PyScripter, it fails to complete, I get the following error: \"exceptions.NameError: name 'mxd' is not defined Can anyone help ?!? Thanks in advance, Magda import arcpy, os folderPath = r\"C:\\My Folder Path\\...\\...\\...\" for filename in os.listdir(folderPath): fullpath = os.path.join(folderPath, filename) if os.path.isfile(fullpath): basename, extension = os.path.splitext(fullpath) if extension.lower() == \".mxd\": mxd = arcpy.mapping.MapDocument(fullpath) mxd.relativePaths = 'True' mxd.save() del mxd",
"I've read and am interested in this line: You should never use normal sudo to start graphical applications as Root. Why? What is the difference? Please provide a simple explanation, as I'm just a normal desktop user.",
"I am quite proficient with the keyboard and try to only use the mouse when necessary. Given that context I was very familiar with the shortcut keys in MS Outlook 2003 and never needed to use the mouse to use that product. Now my company has recently upgraded to MS Outlook 2010 and I am finding it impossible to operate it without having to use the mouse. In particular replying to meeting requests with the old shortcut keys no longer seems possible. I have held down the ALT key and sometimes it shows some shortcuts on the ribbon but this seems to be limited to ALT+H which tends to alternate between designating \"Accept\" and \"Tentative\" without any keys for the other options. Also as this appears to switch between \"Accept\" and \"Tentative\" one can't even use this consistently without first having to check what it means for each particular instance. Any help with this would be greatly appreciated!",
"Explicit vs implicit SQL joins Is there any efficiency difference in an explicit vs implicit inner join? For example: SELECT * FROM table a INNER JOIN table b ON a.id = b.id; vs. SELECT a.*, b.* FROM table a, table b WHERE a.id = b.id;",
"How can momentum but not energy be conserved in an inelastic collision? In inelastic collisions, kinetic energy changes, so the velocities of the objects also change. So how is momentum conserved in inelastic collisions?",
"If I have a legendary creature out, and I make a copy of it (such as by enchanting it with or making a ), do I get enters-the-battlefield effects from the creature before I have to sacrifice it to the legend rule?",
"App keeps crashing & rendering error since update to 1.0.68 I can reproduce that every time now, I go to a site, open an article, then to the next site, open another article. The Feed page pops up for a second, the article page lays over this with some some transparent areas (see picture). The same app-version is ok on a Smartphone with Android 4.4.2. I also sent in some bug reports. Edit 1.0.71 isn't the solution yet. I go to Meta SE, then to an article. When I want back to Meta SE again, it crashes. Much earlier than before. I already sent in a bug report for this. Another Edit I can describe it better now. From the questions-page of a site I go to a post. When I use the back button, everything is ok, I can go to the next site. When I try to go to the next site directly from the post, it crashes. This only happens on the Nexus 10 with Android 5.1.1, App version 1.0.71. Hope this helps. Edit3 This is fixed in 1.0.73 now. Thanks again.",
"What is different about the Mac ISO image?",
"This has just dawned on me that if you're writing an operating system then what are you writing it on? I ask this as I am reading a microprocessor fundamentals book from 1980 and this question popped in to my head: How was the first microprocessor chip programmed? The answer may be obvious but its bugging me.",
"(Re?)Install Ubuntu on a Dell laptop that had Ubuntu preinstalled",
"How can I remove a key from a Python dictionary?"
] |
medi_sts_stackexchange_dupe
|
IllegalBlockSize Exception
|
Getting javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher?
|
[
"AC: Why differentiate between Ground and Neutral? Current flows through a conductor connecting points at different potentials. Leaving aside multi-phase details, common/conventional AC systems use a 3-wire setup: Wire-1: a line/live/hot/phase wire presenting a point that oscillates between 2 potentials. Wire-2: a neutral wire presenting a point of unknown/unspecified and varying potential, that nevertheless presents some fixed/specified potential difference to Wire-1 at least some of the time. Wire-3: a ground/earth wire presenting a point at 0V potential difference to its immediate physical surroundings. Wire-1 and Wire-2, in addition to some device that is to be powered, are used to construct a closed electrical circuit. Wire-3, leaving aside EMI/shielding concerns, is used to ensure that current will flow through it, rather than the device's user, if there ever occur any faults and the device's user comes in contact with Wire-1 or Wire-2. Additionally to this however, Wire-2 and Wire-3 are at some point connected. This is done to ensure that Wire-2's potential remains close to that of Wire-3 .. which seems to be important for some reason. Now the part I don't understand is why there needs to be a distinction between Wire-2 and Wire-3 at the power socket, if there is none a few meters further down the line. I have tried to look this up, but all answers I could find so far seem incomplete. The answers depend on how the question is phrased: If the question is phrased as \"Why do we need Wire-3 in addition to Wire-2\" the answer is because \"Wire-2 may be at a substantial potential difference to its surroundings/user and thus endanger him/her if he/she ever comes in contact with it or Wire-1\". If the question is phrased as \"Why do we need Wire-2 in addition to Wire-3\" the answer is because \"Wire-2 is needed to form a closed electrical circuit\" or phrased somewhat differently \"Wire-2 is needed to create a potential difference to Wire-1 and thus for current to flow\" .. with the argument further being that when taking practical considerations into account Wire-3 can't provide a reliable/stable potential difference to Wire-1 like Wire-2 can. This doesn't really answer why there's a need to differentiate between Wire-2/Wire-3 though, considering how Wire-3 remains Wire-3 and maintains 0V potential difference to its surroundings/user, regardless of whatever else happens around it .. since that is what it's supposed to do, or phrased differently, since that is the reason for Wire-3 being useful in the first place .. right? and Wire-2 is connected to Wire-3 What am I missing here? Why is it safe to touch Wire-3 but not Wire-2, or why can Wire-3 provide a level of protection that Wire-2 can't? Why differentiate between Wire-2 and Wire-3 at the power socket but then connect them further down the line?",
"Flattening a shallow list in Python",
"Simplify the expression $\\binom{n}{0}+\\binom{n+1}{1}+\\binom{n+2}{2}+\\cdots +\\binom{n+k}{k}$",
"I have two tensors that i must calculate double dot product. matrix A is rank 2 and matrix B is rank 4. I want to multiply them with Matlab and I know in Matlab it becomes: A : B = trace (A*B) but it has one error and it says: Inner matrix dimensions must agree So how can I solve this problem? anybody help me? Thanks",
"Single word describing a person new in something What is a word for someone who is totally new in something or participates in something for the first time?",
"Replace Tag of and xml file after pattern matching using shell I have an input xml file like below INPUT FILE <ReconSummary> <entryName>Total Deep</entryName> <Code>777</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary> <ReconSummary> <entryName>Total Saurav</entryName> <Code>666</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary> <ReconSummary> <entryName>Total Ankur</entryName> <Code>555</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary> I want to comment the tag if i find the pattern "Total Deep" so that the output file looks like below OUTPUT <!--<ReconSummary> <entryName>Total Deep</entryName> <Code>777</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary>--> <ReconSummary> <entryName>Total Saurav</entryName> <Code>666</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary> <ReconSummary> <entryName>Total Ankur</entryName> <Code>555</Code> <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary> Since i am new to shell scripting, can anyone help me out as to how i can apply this with the help of shell scripting?",
"Is \"chutzpah\" used by non-Jewish English speakers?",
"I am currently undergoing a full Apostol Calculus I reading, and with few chapters left I've began planning what other books to read. I was thinking about finishing both Apostol Calculus l and ll, and then read Apostol mathematical analysis. I'm not pretty sure whether these are the best books or if they will provide me with a strong math basis. I've already taken calculus i, ii, iii and linear algebra. The reason I've chosen Aapostol volume 1 and 2 is that I've heard they cover almost all the topics I've seen and will see in the next semester/s. I would appreciate if somebody could give me some advice about this. I really like to have a book that really gives me hard and challenging problems. I don't know whether to read Spivak Calculus book or not.",
"I am looking for a quick way to sleep without closing the lid, or using the mouse. If it matters, I have Lion version OS and a MacBook Air.",
"Determining bare earth DEM from unclassified LAS file? I have data in LAS format with RGB values created from aerial photogrammetry using a UAV. I am trying to find a solution to extract the bare earth DEM from the point cloud. I have tried SAGA, Fusion, MCC-LIDAR, but it is seems they need the LAS file to be already classified (which it naturally isn't). Can anyone point me in the right direction with a brief explanation of the process? Generally, I would need to process about 100 mill points at a time (can tile them if needed).",
"Evaluation of ratio of two binomial expression",
"How to delete files from a folder using a list of file names in windows? i have a folder with 2K+ files in it, i need to delete around 200, i have a txt file with all the file names i need removed ordered in a list, how do i remove the specific files from the folder using the list? (OS is windows 7)",
"Is there a systematic way to obtain all conserved quantities of a system? I'd like to know whether, given a system, there's a way to obtain all the conserved quantities. For instance if the system consists of electric and magnetic fields, the fields must satisfy Maxwell's equations. These equations are invariant under many transformations (Lorentz transformation, rotations, spatial and temporal translations, etc. By the way is there a way, maybe from group theory, to find all the possible transformations that leaves the equation(s) invariant?) which imply as many conserved quantities thanks to Noether's theorem. In wikipedia I can see an equation that seems to give all the conserved quantities () but it involves the Lagrangian and I'm not sure whether the formula is valid for all systems whose Lagrangian is possible to obtain.",
"How to keep leading zeros in PHP integer",
"Should edits with only minor code improvements be accepted. As an example, I'm reviewing an edit that changes all double quotes to single quotes and renames a variable in some javascript. With the exception of the variable rename (which is not entirely necessary), the edit is frivolous. Should I accept on the merits of a debatable variable name change?",
"After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message: The disk drive for /osshare is not ready yet or not present Continue to wait; or Press S to skip mounting or M for manual recovery Funny thing is, if I skip, then /osshare/ is mounted once I log in. I've a similar setup on my desktop, and it works fine. Fstab on desktop: UUID=4663-6853 /osshare vfat utf8,umask=007,gid=46 0 1 /etc/fstab on laptop: UUID=1234-5678 /osshare vfat utf8,auto,rw,user 0 0",
", Laser Interferometer Gravitational-Wave Observatory, is a large-scale physics experiment aiming to directly detect gravitational waves. The device measures the phase shift laser beams. If I understand this well, the measurement assumes that a suitable gravitational wave reduces and prolongs one of the tubes and the extension will take effect in the phase-shifting laser beams. But I think if there's a gravitational wave that passes through it, it will affect everything, even the laser beam. This means that when the wave lengthens or shortens the tube, it also lengthens or shortens the wavelength of the laser beam. In my opinion, therefore, this device does not work. Or am I wrong?",
"If you view the Earth from far enough away can you observe its past?",
"Shell Script for logging into a ssh server I tried writing a shell script which can do automatic login into a ssh server using password which is mentioned in the script. I have written the following code: set timeout 30 /usr/bin/ssh -p 8484 [email protected] expect { \"[email protected]'s password\" { send \"password\\r\" } } This code is not running properly, still it is asking for the password. Can somebody please help me in solving this",
"When a word ends in 's' or 'x', do you add 's or just an '? 1) Alex's house 2) Alex' house When the noun ends with the letter 's' or 'x', do I need to put 's' after an apostrophe or not? I remember I read some rules related to this in my school grammar book, but now I've forgotten it."
] |
medi_sts_stackexchange_dupe
|
Check my editor status
|
How can I see my progress for different badges?
|
[
"Automate taking a screenshot of specified area",
"Is there a good Valgrind substitute for Windows?",
"Viewed, deleted comments staying in inbox Lets start with a life-like scenario. User A receives an offensive comment in his inbox from the OP of a question. A then clicks on the notification in order to flag the offending comment. A mod sees the flag and deletes the comment. Shortly after, the question is also deleted. Because A clicked on the notification in the inbox, that notification is still in A's inbox, with the offensive part of the comment still visible. Edit: The flag was marked helpful because the post was deleted, not because the comment was deleted by a mod. Please note that although the behaviour of the notifications is as it is supposed to be, this does not fix the possible problem of such notifications "hanging around". User A can't get rid of that comment in any way, and it may be a long time before it is flushed out by new messages. This issue is mentioned in but it is supposed to be that comments on a post that you own can hang around, not on someone else's post. is speaking about comments which have not been read and this . To me this seem like an important issue. To have to see an offensive message every time you open your inbox is not a good thing. I can think of two ways in which this problem can be avoided: Make sure notifications for deleted comments don't hang around (this I'm sure is the easier option) Allow users to delete unwanted notifications (this could be useful, as this would also allow users to remove notifications that they are not interested in, or even just to keep their inbox uncluttered. It would most likely be hard to implement, though.) What are your thoughts on this?",
"If $f_k \\to f$ a.e. and the $L^p$ norms converge, then $f_k \\to f$ in $L^p$",
"Calculus book recommendations (for complete beginner) Well I have not started calculus yet but I am really keen to. I would love if you suggest some books. Points to be noted: I really don't like the way textbooks are written so please no \"textbooks\" I am COMPLETELY beginner in calculus. I know a little bit of trigonometry and what functions are but not really in depth.The book should start from the base, I mean really from the base. I may require a precalculus book too if the books don't cover that. I would really love if the book shows how calculus was developed, why it was developed and things like that. Well,thanks in advance!",
"This is a follow up question to . My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would like to achieve is extending the code from Herbert and hyperlink the title of the entry with the following priority: 1. DOI, 2. URL, 3. ISBN/ISSN. What I mean is, if both DOI and URL is available, use DOI. If URL and ISBN is available use URL. If only ISBN is available use that. There are two further isses: The URL field might contain several URLs, which are just seperated by a white space. In that case just the first URL should be used. Herbert's code just extends to articles. I would like to extend this to all entry types. The code from Herbert to Hyperlink the Title with DOIs is: \\newbibmacro{string+doi}[1]{% \\iffieldundef{doi}{#1}{\\href{http://dx.doi.org/\\thefield{doi}}{#1}}} \\DeclareFieldFormat{title}{\\usebibmacro{string+doi}{\\mkbibemph{#1}}} \\DeclareFieldFormat[article]{title}{\\usebibmacro{string+doi}{\\mkbibquote{#1}}} This far surpasses my skill, so it would be great if someone could give me some guidance how to achieve that.",
"What does a \"Legacy USB Mouse\" option in a BIOS mean? Yes legacy usually means older revision, or obsolete. So legacy usb mouse means support for \"old style usb mouses\". That's not really answering the question. As Mr. Tamm, my high school electricity teacher, liked to say, \"Yes, and oranges taste orangey.\" What does legacy USB mouse support mean? What is a legacy USB mouse? There's an \"old style\" USB mouse? What changed between what version of usb and what version of usb that made mice incompatible? Why was the change made? When was the change made? Who made the change? What was the virtue of the \"new USB mouses\" over the \"old USB mouses\"? Put it another way: What is the BIOS doing when \"Legacy USB Mouse\" option is enabled? What is the BIOS doing when \"Legacy USB Mouse\" option is disabled? See also",
"Explain $\\iint \\mathrm dx\\,\\mathrm dy = \\iint r \\,\\mathrm \\,d\\alpha\\,\\mathrm dr$",
"NetworkOnMainThreadException on higher API",
"Defining the Product of Ideals",
"PC started having screen glitches after update I'm not sure what's caused it. I haven't changed any system settings. The only thing I've done that may have broken something is updating my software. My update was: upgrade linux-generic-hwe-20.04:amd64 5.8.0.48.54~20.04.32 5.8.0.49.55~20.04.33 upgrade linux-image-generic-hwe-20.04:amd64 5.8.0.48.54~20.04.32 upgrade linux-headers-generic-hwe-20.04:amd64 5.8.0.48.54~20.04.32 upgrade linux-image-extra-virtual:amd64 5.4.0.70.73 5.4.0.71.74 upgrade linux-image-generic:amd64 5.4.0.70.73 5.4.0.71.74 upgrade linux-libc-dev:amd64 5.4.0-70.78 5.4.0-71.79 upgrade libseccomp2:amd64 2.4.3-1ubuntu3.20.04.3 2.5.1-1ubuntu1~20.04.1 upgrade nomachine:amd64 7.3.2-3 7.4.1-3``` Removing nomachine did not solve the problem. It was far worse before, I'm not sure how to describe exactly, but my entire screen's UI was glitching out. So I rebooted and that stopped, but now the terminal text looks like this: I haven't changed any terminal settings. This seems to be occurring in the entire OS. Here is another example: Not sure how to go about troubleshooting this? I don't have the time to reinstall the OS, nor do I think I should have to because this is just ridiculous and shouldn't happen. I'm not aware of anything I've done to make the system unstable. Edit Earlier I also tried booting the PC. It failed and got stuck on some command in a terminal (didn't manage to take a photo of what it said). So I rebooted into recovery mode with both available kernels. I was getting strange glitches like this: That didn't work. So I rebooted the PC normally, and now I somehow logged in fine. Now I'm getting popups saying to report a system error. It says this: Environment Ubuntu 20.04.2 LTS GNOME 3.36.8 sudo lshw -class display *-display description: VGA compatible controller product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 06 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:33 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff I also did , which passed with 0 errors. Let me know if more details are required.",
"Proving that the function is differentiable and $f'(0)=0$ Consider a function $f (x) $ such that $f (x)=\\begin {cases} x^2 & \\text {x=irrational} \\\\ 0 &\\text {x=rational} \\end {cases}$ Then prove that $f $ is differentiable at $x=0$ and $f'(0)=0$ $$\\text {Attempt} $$ . . Now I consider two sequences $x_n=\\frac {\\sqrt{2}}{n},y_n=\\frac {1}{n} $ one irrational one rational both going to $0$ as $n\\to \\infty $. But now the problem is how to consider LHD,RHD.Do we have to consider irrational case then rational case and if both limits go to same value then say that function is differentiable.I can easily see the graph on graphical calculator and verify the result but I am more interested in analytical method.",
"Can you add new statements to Python's syntax? Can you add new statements (like print, raise, with) to Python's syntax? Say, to allow.. mystatement \"Something\" Or, new_if True: print \"example\" Not so much if you should, but rather if it's possible (short of modifying the python interpreters code)",
"I have always taken these kinds of things for granted. Well of course $a(b+c)=ab+ac$! But why? The thought randomly popped in my head, and I realized that I could not prove it. Perhaps we should take some time to prove these \"obvious\" things. I feel like if I cannot prove it, then I do not fully understand it. I would really like a proof of this most basic law, because I have been pondering over it for quite a while. Thanks! Edit: This proof is for real numbers.",
"Finding matrix $B$ is not zero matrix where $AB= 0$",
"I would like to convert tab to spaces in gVim. I added the following line to my _vimrc: set tabstop=2 It works to stop at two spaces but it still looks like one tab key is inserted (I tried to use the h key to count spaces afterwards). I'm not sure what should I do to make gVim convert tabs to spaces?",
"Show that $\\arctan(n)$ is irrational for all $n \\in \\mathbb{N}$",
"Java: how do I check if a Date is within a certain range? I have a series of ranges with start dates and end dates. I want to check to see if a date is within that range. Date.before() and Date.after() seem to be a little awkward to use. What I really need is something like this pseudocode: boolean isWithinRange(Date testDate) { return testDate >= startDate && testDate <= endDate; } Not sure if it's relevant, but the dates I'm pulling from the database have timestamps.",
"How to create the matrix attached that has 2x2 blocks in its diagonal and a square outlining them?",
"Find and replace text within multiple files"
] |
medi_sts_stackexchange_dupe
|
when taken 5 root of big number gives wrong answere in js
|
Is floating point math broken?
|
[
"How can I remove duplicate rows?",
"A feature of C++ is the ability to create unnamed (anonymous) namespaces, like so: namespace { int cannotAccessOutsideThisFile() { ... } } // namespace You would think that such a feature would be useless -- since you can't specify the name of the namespace, it's impossible to access anything within it from outside. But these unnamed namespaces are accessible within the file they're created in, as if you had an implicit using-clause to them. My question is, why or when would this be preferable to using static functions? Or are they essentially two ways of doing the exact same thing?",
"Get full name twice in Bibliography I use biblatex with style=authoryear and when there are two references of the same author in the bibliography there is just a dash. How can I get the full name in the second entry too?",
"Problem to launch java at Debian: \"error while loading shared libraries: libjli.so\"",
"Possible Duplicate: The describes the expansion of the $n$th power of the sum $(a+b)$: $$(a+b)^n = \\sum_{k = 0}^n {n\\choose k}a^kb^{n-k}$$ In calculus, there is a generalization of the product rule called , which describes the expansion of the $n$th derivative of the product of two functions $f$ and $g$: $$(fg)^{(n)} = \\sum_{k = 0}^n {n\\choose k}f^{(k)}g^{(n-k)}$$ It's not difficult to prove using the product rule and induction, what I'm really trying understand here is why the formula is true. Is there a way to prove it using the binomial formula? How are these two formulas related? Is there a combinatorial proof for Leibniz's rule like there is for the ? I understand this question is a bit vague, but I hope you'll agree that these two formulas look so similar it just feels like there should be some relation between the two. Of course this is not necessarily true, but I'm hoping it's not just a crazy coincidence.",
"How to describe arbitrary accelerations in special relativity",
"How can I eliminate condensation on my toilet tank? My toilet is getting a great deal of condensation on the tank and dripping onto the floor. What can be done to address condensation on the exterior of a toilet tank?",
"Do not disturb mode - but allow certain apps",
"I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine grained syntax highlighting? For example all commands (\\foo), matching braces, sub- and superscripts, etc. should get a different color.",
"What is Attribute Based Encryption?",
"I have come across these three definitions of the limit superior (or upper limit) and the limit inferior (or lower limit) of a sequence of real numbers and I wonder how to establish the equivalence of these. Walter Rudin: PRINCIPLES OF MATHEMATICAL ANALYSIS, 3rd edition: Definition 3.16: Given a sequence $\\{s_n\\}$ of real numbers, let $E$ be the set of numbers $x$ (in the extended real number system) such that $s_{n_k} \\to x$ for some subsequence $\\{s_{n_k}\\}$. This set contains all subsequential limits ..., plus possibly the numbers $+\\infty$, $-\\infty$. We now ... put $$s^{*} = \\sup E,$$ $$s_{*} = \\inf E.$$ The numbers $s^{*}$, $s_{*}$ are called the upper and lower limits of $\\{s_n\\}$; we use the notation $$ \\lim_{n \\to \\infty} \\sup s_n = s^{*}, \\, \\, \\, \\lim_{n \\to \\infty} \\inf s_n = s_{*}.$$ Tom M. Apostol: MATHEMATICAL ANALYSIS, 2nd edition: Sec. 8.3: Definition 8.2: Let $\\{a_n\\}$ be a sequence of real numbers. Suppose there is a real number $U$ satisfying the following conditions: i} For every $\\epsilon > 0$ there exists an integer $N$ such that $n > N$ implies $$a_n < U + \\epsilon.$$ ii) Given $\\epsilon > 0$ and given $m > 0$, there exists an integer $n> m$ such that $$a_n > U - \\epsilon.$$ Then $U$ is called the limit superior (or upper limit) of $\\{a_n\\}$, and we write $$U = \\lim_{n \\to \\infty} \\sup a_n.$$ Statement (i) implies that the set $\\{a_1, a_2, a_3, \\ldots \\}$ is bounded above. If this set is not bounded above, we define $$\\lim_{n\\to\\infty}\\sup a_n = +\\infty.$$ If the set is bounded above but not bounded below and if $\\{a_n\\}$ has no finite limit superior, then we say $\\lim \\sup_{n\\to\\infty} a_n = -\\infty$. The limit inferior (or lower limit) of $\\{a_n\\}$ is defined as follows: $$\\lim_{n\\to\\infty}\\inf a_n = -\\lim_{n\\to\\infty}\\sup b_n,$$ where $b_n = -a_n$ for $n= 1, 2, 3, \\ldots$. Robert G. Bartle and Donald R. Sherbert: INTRODUCTION TO REAL ANALYSIS, 3rd edition: Exercises for Section 3.3: Problem 10: Let $(x_n)$ be a bounded sequence of real numbers, and for each $n\\in \\mathbb{N}$ let $s_n \\colon= \\sup \\{x_k \\colon k \\geq n\\}$ and let $t_n \\colon= \\inf \\{x_k \\colon k \\geq n\\}$. Prove that $(s_n)$ and $(t_n)$ are monotone and convergent. Also prove that if $\\lim (s_n) = \\lim (t_n)$, then $(x_n)$ is convergent. [One calls $\\lim (s_n)$ the limit superior of $(x_n)$ and $\\lim (t_n)$ the limit inferior of $(x_n)$.] Now how can one show that the above three definitions are equivalent (i.e. these three definitions are of the same pair of numbers)?",
"I want to extract infromation from logs using a shell script for a particular time range . A line in logs looks like this: [14:58:27:176][15-10-2015]: testing1-vidya-Thu Oct 15 11:49:27 IST 2015 [14:59:27:178][15-10-2015]: testing2-vidya-Thu Oct 15 11:49:27 IST 2015 [15:00:27:179][15-10-2015]: testing3-vidya-Thu Oct 15 11:49:27 IST 2015 [15:01:27:180][15-10-2015]: testing4-vidya-Thu Oct 15 11:49:27 IST 2015 [15:01:27:181][15-10-2015]: testing5-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:182][15-10-2015]: testing6-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:183][15-10-2015]: testing7-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:184][15-10-2015]: testing8-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:191][15-10-2015]: testing9-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:192][15-10-2015]: testing10-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:193][15-10-2015]: testing11-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:208][15-10-2015]: testing12-vidya-Thu Oct 15 11:49:27 IST 2015 [15:04:27:209][15-10-2015]: testing13-vidya-Thu Oct 15 11:49:27 IST 2015 [15:49:27:210][15-10-2015]: testing14-vidya-Thu Oct 15 11:49:27 IST 2015 [13:02:17:209][15-10-2015]: testing13-vidya-Thu Oct 15 11:49:27 IST 2015 [15:04:27:209][16-10-2015]: testing13-vidya-Fri Oct 16 11:49:27 IST 2015 [15:49:27:210][16-10-2015]: testing14-vidya-Fri Oct 16 11:49:27 IST 2015 I need to extract data in specific intervals. for example in between 14:59 to 15:03 on 15-10-2015 as shown below: [14:59:27:178][15-10-2015]: testing2-vidya-Thu Oct 15 11:49:27 IST 2015 [15:00:27:179][15-10-2015]: testing3-vidya-Thu Oct 15 11:49:27 IST 2015 [15:01:27:180][15-10-2015]: testing4-vidya-Thu Oct 15 11:49:27 IST 2015 [15:01:27:181][15-10-2015]: testing5-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:182][15-10-2015]: testing6-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:183][15-10-2015]: testing7-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:184][15-10-2015]: testing8-vidya-Thu Oct 15 11:49:27 IST 2015 [15:02:27:191][15-10-2015]: testing9-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:192][15-10-2015]: testing10-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:193][15-10-2015]: testing11-vidya-Thu Oct 15 11:49:27 IST 2015 [15:03:27:208][15-10-2015]: testing12-vidya-Thu Oct 15 11:49:27 IST 2015 I am new to shell script.I have tried with grep command . Can anyone suggest me how to do this ?",
"Hi i want to put this simbol \"%\" in the tick labels only in the x axis how can i do?",
"Build and strengthen the Stack Exchange community with \"crossover questions\" between sites I've been a Stack Exchange contributor for a couple of years now, currently most active on . One thing that keeps coming up is questions that would appeal to audiences on two different Stack Exchange sites but there are almost no features taking advantage of these questions. On travel.SE we have crossover questions most often with and possibly next most often with - but it can happen with almost any SE site. Today alone we had with and had . I am absolutely sure that this must happen all the time between arbitrary pairs of Stack Exchange sites but the only feature that takes advantage of it is the possibility of migrating off-topic questions which leaves the original question acting as a redirect across the two sites. I think there is a missed opportunity to build the network between sites where users of one site don't realize they could make valuable contributions to a sister site they have had so far little to do with. At the very least there could be a way to "advertise" a question on a second site that could be interested in it. Probably by listing it in the sidebar where there are also links to meta questions, linked questions, related questions, new blog posts, and But there could also be some kind of features that make some sort of acceptable crossposting. There could be gamification/badges added around building cross-site questions or whatever else you can think up. I think this is a great way for people to spread their expertise from their main site onto other sites, to make the network stronger and more cohesive, to bring more attention to questions that would have a divided audience between two sites. I can think only of positives and no negatives. Does anyone else have some ideas to add or think this is a bad idea for any reason? Example crossover questions: Here are some links to some crossover questions I've been finding in the Stack Exchange network here. (This was previously posted as an answer, but more people wanted it to be part of the question.) ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ :",
"What happened to Jarvis at the end of Avengers: Age of Ultron",
"Is it possible to test apex that relies on field history tracking? I have some code that relies on field history tracking by querying the History for a custom object. This works fine, but it appears that the history records aren't created during the test so none of my tests will pass.",
"Say you have a stick which breaks randomly into three pieces (we can choose the points randomly). What is the probability that the area is greater than or equal to $0.4$? I can see it has something to do with Heron's formula but I just can't put t together.",
"a year on: what does it mean? PLease, dear native English speakers, help me to understand the meaning of the expression \"a year on\" within the context \"The reality is that, a year on, a true 4K standard is still very much a work in progress...\" Thank you a lot!",
"Every metrizable space with a countable dense subset has a countable basis",
"Why don’t photons interact with the Higgs field and hence remain massless?"
] |
medi_sts_stackexchange_dupe
|
Dividing $61!$ by $3$ as we can.
|
Highest power of a prime $p$ dividing $N!$
|
[
"What is the difference between AOSP and AOKP?",
"I have a Java process that opens a file using a FileReader. How can I prevent another (Java) process from opening this file, or at least notify that second process that the file is already opened? Does this automatically make the second process get an exception if the file is open (which solves my problem) or do I have to explicitly open it in the first process with some sort of flag or argument? To clarify: I have a Java app that lists a folder and opens each file in the listing for processing it. It processes each file after the other. The processing of each file consists of reading it and doing some calculations based on the contents and it takes about 2 minutes. I also have another Java app that does the same thing but instead writes on the file. What I want is to be able to run these apps at the same time so the scenario goes like this. ReadApp lists the folder and finds files A, B, C. It opens file A and starts the reading. WriteApp lists the folder and finds files A, B, C. It opens file A, sees that is is open (by an exception or whatever way) and goes to file B. ReadApp finishes file A and continues to B. It sees that it is open and continues to C. It is crucial that WriteApp doesn't write while ReadApp is reading the same file or vice versa. They are different processes.",
"Is there a standard function in C that would return the length of an array?",
"I'm running Drush on a host that has multiple versions of PHP installed. By default, php --version would give you 5.2.x, but php53 and php54 are also available. So in my .bash_profile I have alias php='php53' (php --version = 5.3.13), which makes Drush work for some commands. However, I still get \"Your command line PHP installation is too old. Drush requires at least PHP 5.3.2\" messages for some very useful commands. A couple of really annoying instances: drush pm-update will report that it has backed up and then updated all modules and core successfully, then return the PHP version error and restore all backups. In verbose mode, the command that comes before the error is: php /home/[username]/drush/drush.php --backend=2 --verbose --root=/home/[username]/webapps/drup --uri=http://[domain name] pm-updatecode-postupdate 2>&1 drush archive-dump will immediately return the PHP version error The other commands I have tried so far work fine. I'm not sure why this would be, if Drush is sometimes using the php53 binary, and other times not, or if it just has trouble detecting the version correctly, but some very important features are broken for me.",
"Probability of a 2 pair in poker What is wrong with my method of find the probability of a 2 pair? For the first card we have 52 choices, one this is picked( call it A) we have 3 choices(different suite than A but this same value) for the second card, ( lets call this card B). Now we have AB, to we have to throw away 2 more cards so we don't have 3 of a kind or a four of a kind. Therefore one our third card we have 48 choices and on our fourth card we have 3 choices again similar to above. On our last card we only have 44 choices left. So the probablity of getting a 2 pair should be (52*3*48*3*44)/(52 choose 5). But this isn't correct. Note: I edited this to \"2 pair\"; the original version was wrong.",
"How do I parse command line arguments in Bash?",
"How can I produce the text Word_one_two in LaTeX? I tried: Samp\\_Dist\\_Corr But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing: \\texttt{Samp\\_Dist\\_Corr} I find it looks a bit like the underscore is merging in to the bottom of the \"D\", but maybe it's just because of the typewriter D?",
"Is the below a valid circuit implementation and are there any things to watch out for? It's a simplification of the larger circuit but the crux of it is that I need to sink current into two GPIO input pins. The pins are signified by the 1 and 0. Also, would a diode on the pins be advisable? Edit: Here's the non-simplified circuit. The question relates to the 3.3v part of it. In essence, the timer and decade counter sequentially pulse current, 'activating' the transistors one at a time. The keypad is a simple matrix keypad. What I'm wondering if I can do is to put a GPIO pin on the line between the keypad and ground. The intended effect is that, when a button on the keypad is pressed, 2 pins will change state - this signifies the row and column. Note that some of the resistance and capacitance values are notional at the moment.",
"Can't access select https sites on Linux over PPPoE My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to dial (PPPoE) using a username and password. Gateway, subnet mask, IP, DNS servers all stayed the same. But since then, I haven't been able to browse certain websites on Ubuntu, even though there have been no such issues on Windows. Some example websites are - (although share.ovi.com loads fine, and nokia.com loads fine), (works on Chrome(ium) and Opera but not on Firefox (both 3.6 and 4)) Mozilla and other random websites. Some of the websites that don't load show timeout messages and for some websites (like the moz addons one), the browser will keep trying to load without an end (I've left it like that even for hours but not noticed anything different happen). I have tried changing the DNS servers to public ones. I have even tried booting from a Fedora LiveCD and then changing the DNS to those (and even to the ones of OpenDNS), but the exact same thing happens. What could be inherently wrong with some config within Linux itself that is causing this problem? Does anyone know why this is happening and how it can be fixed? Note: This question has been on SU, but not gotten any responses. Update: Just saw that someone else was having similar problem and solved it by putting a NetworkManager.conf file in /etc/NetworkManager. What needs to be in that file?",
"If I have example.com, and blog.example.com, do search engines see those as one site or two? Will using subdomains hurt SEO? I have some technical reasons why I can't use example.com/blog.",
"`time echo` got no output",
"Do I need to re-check my bags when flying into the US on a transit through Newark Airport? Travveling with SAS 907 from Oslo, Norway to Newark Terminal B. Transfer to Terminal C and further with United 239 to Nashville. Do I have to pick up the luggage at terminal B and bring it to terminal C?",
"Are moving objects producing stronger gravity fields? If the strength of gravitational influence exerted by a body is derived from its mass and energy then is it true that a moving object which has some kinetic energy should also produce stronger gravitational pull than a static/slower one? If that's correct then would it be also possible for an object moving fast enough to produce gravity so strong that it would collapse into a (fast moving) black hole?",
"When does a locational distinction change its suffix and capitialization in a proper name?",
"No internet after upgrade to 17.10",
"Can I use Divine Intervention or Wish to regain Wish? After reading this question on , I started wondering if there are ways for them to regain that ability. I figured a Divine Intervention is probably strong enough as that is a god's power, as well as a second caster casting wish to undo the first wish (and thereby undoing its effects). Are these valid ways of regaining the ability to cast wish?",
"I'm working with a date in this format: yyyy-mm-dd. How can I increment this date by one day?",
"Is there a way to turn option strict off for just a single line of code? I'm doing some maintenance work and I need to \"cheat\" in just one place and I don't want to lower the standard for the entire file.",
"Do eyeballs exhibit chromatic aberration? Fairly straightforward question. If not, why not? I suspect that if they do, it is not perceived due to the regions of highest dispersion being in one's region of lowest visual acuity.",
"Durrett Example 1.9 - Pairwise independence does not imply mutual independence?"
] |
medi_sts_stackexchange_dupe
|
How to know name of source branch in Git
|
How to find the nearest parent of a Git branch?
|
[
"One of my favorite quotes is by Alvin Toffler which says: The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. The way I understand \"relearn\" in the quote is to learn something new that is different from what was originally learned. I'm wondering in general if \"relearn\" convey learning the same thing again, or a different thing, or it depends on the context of the sentence. Is the same thing true for \"learn again\"?",
"Is it possible to choose which OS will be loaded using a hardware switch?",
"The annihilator of a module is an ideal Let $R$ be a ring and let $M$ be an $R$-module. Define the annihilator of $M$ to be the following subset of $R$: $Ann_R(M) =\\{r\\in R \\mid rm = 0_M \\text{ for all } m\\in M \\}$ Prove that $Ann_R(M)$ is an ideal of $R$. please help as much as you can a full answer is greatly appreciated Thanks",
"Is the null set a subset of every set? Ever since day one of of my Mathematical Logic course, this fact has really bothered me. I cannot wrap my head around how an empty set is a subset of every possible set. Could someone kindly explain how this is true? Any help is appreciated!",
"I'm having some troubles understanding the solution (going from step $2$ to step $3$) of this linear congruence equation. Here's the problem with the solution: Solve the congruence $2x + 11 \\equiv 7 \\pmod 3$. First, we reduce all the coefficients $\\pmod 3$: $$2x + 2 \\equiv 1 \\pmod 3. \\tag{1}$$ Next, we add $1$ to both sides, using the fact that $2 + 1 \\equiv 0 \\pmod 3$: $$2x \\equiv 2 \\pmod 3. \\tag{2}$$ Finally, we multiply both sides by $2$, using the fact that $2 · 2 = 4 \\equiv 1 \\pmod 3$: $$x \\equiv 1 \\pmod 3. \\tag{3}$$ That is, any number in the set $\\{\\ldots, −5, −2, 1, 4, \\ldots\\}$ will solve the original congruence. Like I said my problem is the step between $(2)$ and $(3)$. If I multiply both sides of $(2)$ by $2$ I get: $$4x \\equiv 4 \\pmod 3.$$ Now, I understand that $4$ is congruent to $1 \\pmod 3$ so the RHS \"simplifies\" to $1 \\pmod 3$ but I don't understand why the LHS \"simplifies\" to $x$. Can someone help me with this?",
"How to close/open a view panel I can't find a way to close a view panel, in particular the horizontal at the bottom, is pretty useless to me at this moment.",
"Choosing OpenLayers or Leaflet? I was debating with one of my collegues on OpenLayers v/s Leaflet. I made a point that OpenLayers is much better API if we wish to build a project, where you need direct connectivity to the Geoserver and PostGIS. Then I found , which looks pretty new but has the features of connectivity with the Geoserver and PostGIS. So my project details are as follows, Use the map interface to fetch Feature Info Create a customized tool that takes the lat/lon from user as to where he/she clicks on the map and then fetches the Climate Data from the raster (which is handled by a py script on the server) Allows user to upload excel, which is sent to the py script, which returns a GeoJSON, which creates Vector Features on the map Allow user to create vector polygons, which will fetch the Features it intersects from the WFS Layer. Fetches Layer from the PostGIS Datastore on GeoServer and displays the layers on the map. So now I am confused on which is better and why using OpenLayers over Leaflet makes more sense or not?",
"Different batteries connected in parallel If we have 2 batteries one of emf x and the other is of emf y and we connect them in series we get an effective emf of x+y. But what if we connect them in parallel, how to calculate the emf now?",
"How to unlock device when I forgot my password? I've read which states that there is an option to disable the lock using my Google account information. However I did not noticed such an option when I entered my password five times wrong. (Although there was also a 20s or 30s delay to complicate brute force attacks.) I use Android 4.0.3 on a Asus Transformer Prime TF201. Would factory reset work?",
"I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing is that only the startup sound comes when I log in (Indian/African drum tone), then comes the utter silence. I tested both Digital Output (S/PDIF) and the speakers in the sound settings but can hear nothing. Any help?",
"IIS7 - The request filtering module is configured to deny a request that exceeds the request content length",
"Bypass GeneratedValue in Hibernate (merge data not in db?)",
"Emoji Characters I'm trying to display Emoji Characters inside my XeLaTeX Document. It seems to work for some glyphs like the numbers and pound sign but not for all. Here is a MWE: \\documentclass{scrartcl} \\usepackage{fontspec} \\setmainfont{Apple Color Emoji} % The emoji Font \\begin{document} \\char\"0030{} %Works \\char\"1F60D{} % Doesent Work should out put SMILEY FACE WITH HEART SHAPED EYES \\end{document} What is the reason for this strange behavior and is there a way to include Emojis in XeLaTeX? Edit: It seems the Character is there. It is selectable but not visible. I can copy&paste it.",
"Multivariate linear regression vs. several univariate regression models In the univariate regression settings, we try to model $$y = X\\beta +noise$$ where $y \\in \\mathbb{R}^n$ a vector of $n$ observations and $X \\in \\mathbb{R}^{n \\times m}$ the design matrix with $m$ predictors. The solution is $\\beta_0 = (X^TX)^{-1}Xy$. In the multivariate regression settings, we try to model $$Y = X\\beta +noise$$ where $y \\in \\mathbb{R}^{n \\times p}$ is a matrix of $n$ observations and $p$ different latent variables. The solution is $\\beta_0 = (X^TX)^{-1}XY$. My question is how is that different than performing $p$ different univariate linear regression? I read that in the latter case we take into consideration correlation between the dependent variables, but I don't see it from the math.",
"Applications losing focus for a few seconds in Windows 7 Recently all of my applications keep losing focus every minute (or so) for a few seconds (then the window gets the focus back). It is very annoying, since I'm typing most of the time and get interrupted by this behavior. Things worked fine until a week ago and I have no idea what is causing this error, but I noticed the mouse moves to a certain point on one of my screens when this happens. I would appreciate any advice: it starts to drive me crazy...",
"How can one have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter?",
"What diceless tabletop RPG techniques are there? I am interested in using a diceless resolution system for my roleplaying, but am not sure what my options are in that vein. I can think of basically two categories of diceless tabletop role-playing systems - systems which eschew any randomisation, and those which randomise by some method other than dice. Examples Non-random tabletop systems One option is of direct comparison of stats or other game statistics without a randomization factor. The obvious example here is Amber DRPG, but I suspect that there are other narrative driven RPGs out there that I don't know about. Even in Amber, situation resolution it is rarely by direct comparison between stats. Narrative techniques can be used to manoeuvre two characters into a situation which narrows the gap between their ranking, widens it, or brings other stats into the picture - the classic example of course being Corwin relying on his stamina to stretch out conflicts with his siblings such that it becomes a dominant enough factor that he can escape. Other randomisation techniques I have seen card-based randomization system. Over the years, I've played quite a few home brew games based on the original SAGA Dragonlance system, which was similar to the SAGA Marvel superhero system. The basic mechanics were that you had a hand size according to your experience, and for any skill check you would play a card from your hand and replace your card from the draw pile. If you had a card of the right suit as the skill check (a strength card on a strength check) you would also draw a card from the draw pile and add that to your skill check, so a small trump was often worth more than a medium value card not of the correct suit. When you were wounded, you would discard cards to the value of the damage, but those cards wouldn't be replenished - your hand size would be reduced until you were healed. One nice aspect of the system was that it simulated fatigue beautifully, you might start a scene with a spread of high, medium and low cards, but as your high cards were played they would more often than not get replaced by lower value cards, until you were left with a bunch of useless cards and feeling very vulnerable. The only other system I've played without dice was Everway which, if I remember correctly, used a combination of these techniques, stats based resolution, card resolution and GM fiat. What I would be interested in is what other diceless resolution techniques exist, ideally with examples of tabletop diceless resolution methods people have tried and how they found them to play.",
"How to prove that $\\lim_{n\\rightarrow \\infty}\\frac {n^{2}}{2^{n}}=0$ & $\\lim_{n\\rightarrow \\infty}\\frac {n^{2}}{n!}=0$? Prove that: $$\\lim_{n\\rightarrow \\infty}\\dfrac {n^{2}}{2^{n}}=0$$ I think I need to show $2^n \\geq n^3$ $\\forall n \\geq10$. Is it true? What about: $$\\lim_{n\\rightarrow \\infty}\\dfrac {n^{2}}{n!}=0$$ What to do with $n!$?",
"$\\forall a,b,c \\in \\mathbb{N}\\!:\\ a\\mid b \\Rightarrow ac\\mid bc. $ Divisibility Proof Could someone verify this proof? Given the following definition of divisibility $(\\forall{a,b \\in \\mathbb{N}})[a \\mid b \\equiv (\\exists{c \\in \\mathbb{N}})(ac=b)]$. Statement: $(\\forall{a,b,c \\in \\mathbb{N}})[(a\\mid b) \\rightarrow (ac\\mid bc)] $ . Proof: Let $a,b \\in \\mathbb{N}$ be arbitrary. Assuming that $a\\mid b$, we can conclude that $\\exists{d \\in \\mathbb{N}}$ such that $ad = b$. By Algebra we can deduce the following sequence of statements. If $(ad)=b$, then $(ad)c=bc$. Therefore $(ac)d=bc$. Hence by the definition of divisibility we know that $ac\\mid bc$.",
"How to set a shortcut for \"Always on Top\" for window? In 12.04 (Unity), I would like to assign a shortcut to the \"always on top option\" for a window. Probably something like Ctrl+Shift+Home to turn on and Ctrl+Shift+End to turn off, or whatever. Is there an option to do this somewhere in the Compiz Settings Manager? This (old) claimed that For compiz, Enable Extra WM Actions. Check the properties, and insert ALT+A to Key field for Toggle Always-On-Top action. But I couldn't find that."
] |
medi_sts_stackexchange_dupe
|
CSS challenge, can I do this without introducing more HTML?
|
CSS technique for a horizontal line with words in the middle
|
[
"Finding a set of continuous functions with a certain property 2 I need help finding the set of continuous functions $f : \\Bbb R \\to \\Bbb R$ such that for all $x \\in \\Bbb R$, the following integral converges: $$\\int_0^1 \\frac {f(x+t) - f(x)} {t^2} \\ \\mathrm dt$$ I think it might be the set of constant functions but i havent been able to prove it :( I was thinking that you can use the stone weiestrass theorem considering the set of continuous functions on a closed interval(non trivial) ,and a subset which contains the set of continuous functions whose integral above diverges in some point in that interval along with with the set of constant functions. So in order to solve the problem i need only to prove that if two functions do not meet the condition of the problem then their product does not as well . I hope you can provide some insight and thank you .",
"What is the difference between 'can', 'could', 'may' and 'might'? I'm a native English speaker and I've been doing some research into English grammar for a programme I'm working on. However, on looking into modal verbs, I've only just come to appreciate how subtle and complicated they are. What is the difference between these sentences? What possible different response might one have to each? I can go to the cinema tonight. I could go to the cinema tonight. I may go to the cinema tonight. I might go to the cinema tonight. Granted, the first of these looks more like a statement of ability or possibility than the three that follow. But in what ways does it differ from the others, since all suggest ability and possibility? And crucially, what distinguishes the other three. Perhaps it's a matter of tone, of context, of the speaker... The question may appear quite simple but I haven't found a satisfactory answer elsewhere. looked quite useful in that it covered levels of confidence and certainty but it was talking about the potential state of something rather than the possibility for the person who is speaking. Are there any differences in that sense? looked at these verbs used in question form (e.g., differences between 'Can I...?' and 'May I...?') but I'm not so interested in that for now. Any thoughts appreciated.",
"Connected graph with colored edges We have connected undirected graph with colored edges in two way (green or blue). And also each vertex have the same number of green and blue edges. How to prove that there are alternate colored (green-blue) path between any two nodes?",
"I am trying to build a computer, placing an in a custom . The case is an extra small form factor which can accommodate the Mini ITX board, but it requires an external power supply, similar to the power-bricks that laptops use. I am looking at different power supplies and like , but I cannot figure out whether/how to power this system, because they provide a 24-pin connector, but the motherboard has a 4-pin connector as well. Is the 4-pin connector optional or is it required? If it is required, how can I provide power for this system?",
"How do you take off body armor in GTA Online? It's kind of hard to shop for clothes with a big bullet proof vest on. Is there a way to take off the armor after missions, or at least hide it?",
"Two functions $f:A\\rightarrow B$ and $g:B\\rightarrow A$. Can someone give me an example where $g\\circ f=id_A$ but $f\\circ g\\neq id_B$?",
"Is there a way to test an application where you simulate a hundred different clients connecting to a IIS server and asking the same data? At the customer where our project is running they have 400 computers and they often do stress tests with all computers. I on the other hand have only got my laptop... (and a development server). (In my case the data is asked through a WebORB Gateway).",
"I want to see if my process makes a lot of context switches. I also want to see how manpulating task groups affects the number of context switches.",
"Correlation between dichotomous and continuous variable I am trying to find the correlation between a dichotomous and a continuous variable. From my ground work on this I found that I have to use independent t-test and the precondition for it is that the distribution of the variable has to be normal. I performed Kolmogorov-Smirnov test for testing the normality and found that the continuous variable is non-normal and is skewed (for about 4,000 data points). I did the Kolmogorov-Smirnov test for the entire range of variables. Should I split them into groups and do the test? I.e., say if I have risk level (0 = Not risky, 1 = Risky) and cholesterol levels, then should I: Divide them into two groups, like Risk level =0 (Cholestrol level) -> Apply KS Risk level =1 (Cholestrol level) -> Apply KS Take them together and apply the test? (I performed it on the whole dataset only.) After that, what test should I do if it is still non-normal? EDIT: The above scenario was just a description I tried to provide for my problem. I have a dataset which contains more than 1000 variables and about 4000 samples. They are either continuous or categorical in nature. My task is to predict a dichotomous variable based on these variables (maybe come up with a logistic regression model). So I thought the initial investigation would involve finding the correlation between dichotomous and a continuous variable. I was trying to see how the distribution of the variables are and hence tried to go to t-test. Here I found the normality as an issue. The Kolmogorov-Smirnov test gave a significance value of 0.00 in most of these variables. Should I assume normality here? The skewness and kurtosis of these variables also show that the data is skewed (>0) in almost all cases. As per the note given below I will investigate the point-biserial correlation further. But about the distribution of variables I am still unsure.",
"\"How\" vs. \"that\" in \"You know how we have pizza on Thursdays, right?\" From time to time I hear sentences like this: You know how we have pizza on Thursdays, right? Here, how doesn't mean exactly how those guys eat pizza, it is something like \"that\" in this context. So what is the difference between using how, that or just skipping the conjunction?",
"Can I connect to a sandbox using JWT Flow and Prod connect app? I'm trying to connect to a sandbox using the sfdx cli and the JWT flow through force:auth:jwt:grant. According to , we can use the same connected app information from Production to connect to our Scratch Org. Is it something that should work for sandbox too ? I'm getting a \"Failed: Not approved\" error. Connected app in sandbox comes from the refresh but has a different consumer key. The Permission set is set correctly on my user. Is there a way to connect to a recently refreshed sandbox using the JWT flow (without manually changing something like the consumer key) ?",
"Various \\textcolor within lstlisting?",
"Zero module of differentials implies finite extension?",
"I had one batch class in which i am passing some data required for creating object record.But when i call that batch class from parent class variables are initialized but start method are not called as there is no record to query i also tried with iterable object but not able to do that.My code is as below global class testBatchClass implements Database.Batchable<SObject>,Database.Stateful{ public List<sObject> sObjectList; public string objectName; public String dataList; public testBatchClass(String objectName,String inputdata){ String listType = 'List<'+objectName+'>'; system.debug('list type value is'+listType); List<SObject> castRecords = (List<SObject>)Type.forName(listType).newInstance(); this.sObjectList = castRecords; this.objectName = objectName; this.dataList = inputdata; } global Iterable<SObject> start(Database.BatchableContext batchableContext) { return new sObjectList{}; } global void execute(Database.BatchableContext batchableContext, List<sobject> scope){ List<OpportunityRenewal__mdt> mdtList = new List<OpportunityRenewal__mdt>([Select id,Api_Name_of_Fields__c,Sobject_Name__c from TestFileUploadCustomSetting1__mdt where Sobject_Name__c=:objectName]); List<String> fieldName = new List<String>(); for(OpportunityRenewal__mdt md : mdtList){ if(md.Sobject_Name__c == objectName){ fieldName = md.Api_Name_of_Fields__c.Split(','); break; } } List<String> dataRowsSplit= dataList.split(','); dataRowsSplit.remove(0); for(String eachRow: dataRowsSplit){ List<String> splitString = eachRow.Split(','); sObject sobj = Schema.getGlobalDescribe().get(objectName).newSObject(); for(Integer i=0; i <= splitString.Size(); i++){ sobj.put(fieldName[i],splitString[i]); } scope.add(sobj); } if(scope != Null && scope.Size() > 0){ upsert scope; } } global void finish(Database.BatchableContext batchableContext) {} } Thanks",
"In the Wikipedia article , it says After Newtonian gravitation was found to be inconsistent with special relativity, . . . I don't see how Newtonian gravitation itself is inconsistent with special relativity. After all, Newton's Universal Law of Gravitation is completley analogous to Coulomb's Law, so it would seem that, if there were an analogous \"gravitational magnetic field\", one could formulate a theory of gravitation in exact analogy with Maxwell's Theory of Electromagnetism, and of course, this would automatically be consistent with Special Relativity. What about this approach to gravitation does not work? The only problem I could see with this is the lack of evidence for a \"gravitational magnetic field\". That being said, gravity is \"weak\" as it is, and my guess is that it would be extremely difficult to set up an experiment in which a massive body were moving fast enough for this \"magnetic field effect\" to be obsevable. EDIT: As has been pointed out to me in the answers, Newton itself is inconsistent with SR. Similarly, however, so is Coulomb's Law, yet, electromagnetism is still consistent with SR. Thus, how do we know that it is not the case that Newton's Law is the special \"static\" case of a more general gravitomagnetic theory exactly analogous to Maxwell's Theory: Let $\\mathbf{G}$ be the gravitation field, let $\\rho$ be the mass density, and $\\mathbf{J}$ be the mass current density, let $\\gamma _0$ be defined so that $\\frac{1}{4\\pi \\gamma _0}=G$, the Universal Gravitation Constant, let $\\nu _0$ be defined so that $\\frac{1}{\\sqrt{\\gamma _0\\nu _0}}=c$, and suppose there exists a field $\\mathbf{M}$, the gravitomagnetic field, so that the following equations hold: $$ \\vec{\\nabla}\\cdot \\mathbf{G}=-\\frac{\\rho}{\\gamma _0} $$ $$ \\vec{\\nabla}\\cdot \\mathbf{M}=0 $$ $$ \\vec{\\nabla}\\times \\mathbf{G}=-\\frac{\\partial \\mathbf{M}}{\\partial t} $$ $$ \\vec{\\nabla}\\times \\mathbf{M}=\\nu _0\\mathbf{J}+\\gamma _0\\nu _0\\frac{\\partial \\mathbf{G}}{\\partial t} $$ where theses fields would produce on a mass $m$ moving with velocity $\\mathbf{v}$ in our inertial frame the Lorentz force $\\mathbf{F}=m\\left( \\mathbf{G}+\\mathbf{v}\\times \\mathbf{M}\\right)$. This theory would automatically be consistent with SR and would reduce to Newton's Law of Gravitation for the case of gravitostatics: $\\frac{\\partial \\mathbf{G}}{\\partial t}=\\frac{\\partial \\mathbf{M}}{\\partial t}=\\mathbf{J}=0$. (To be clear, you can't just set the time derivatives equal to $\\mathbf{0}$ as it seems I have done. Upon doing so, you obtain the corresponding static theory, which is technically incorrect (as you can easily see because it won't be relativistically invariant), but is nevertheless often a useful approximation.) My question can thus be phrased as: without appealing directly to GR, what is wrong with this theory?",
"Triple integral limits over pyramid",
"Share your experiences on exploring iOS 7 with us.. Whether you found hidden or little-known feature of iOS 7 or can explain how a big feature makes a difference, we're looking for objective reports of how the new OS affects your workflow. Also provide details on how to achieve that feature, and if possible, include a relevant image too (hold Home and Lock for a screenshot on your iOS device). Please post one tip per answer. Please also check to see if your answer has already been posted - duplicate answers will be deleted in favour of the original answer on any given topic. To search answers for this question use inquestion:101382 (or inquestion:this, directly from the question page) in addition to your search terms in the search box in the upper right hand corner of this page.",
"Drawing a 3D cylinder, and a circle shape on the x---y plane I'm trying to draw a cylinder on the three dimensional space, and I also want its projection on the x--y plane. I found the first answer to be very useful. I just copy-paste it to my document, and modify it as follows (the modifications are only inside the \\begin{tikzpicture} tags): \\documentclass[parskip]{scrartcl} \\usepackage[margin=15mm]{geometry} \\usepackage{tikz} \\pgfmathsetmacro{\\xdeg}{30} \\pgfmathsetmacro{\\xx}{cos(\\xdeg)} \\pgfmathsetmacro{\\xy}{sin(\\xdeg)} \\pgfmathsetmacro{\\ydeg}{120} \\pgfmathsetmacro{\\yx}{cos(\\ydeg)} \\pgfmathsetmacro{\\yy}{sin(\\ydeg)} \\pgfmathsetmacro{\\zdeg}{80} \\pgfmathsetmacro{\\zx}{cos(\\zdeg)} \\pgfmathsetmacro{\\zy}{sin(\\zdeg)} \\newcommand{\\tdcyl}[5]{% origin x, origin y, origin z, radius, height \\path (1,0,0); \\pgfgetlastxy{\\cylxx}{\\cylxy} \\path (0,1,0); \\pgfgetlastxy{\\cylyx}{\\cylyy} \\path (0,0,1); \\pgfgetlastxy{\\cylzx}{\\cylzy} \\pgfmathsetmacro{\\cylt}{(\\cylzy * \\cylyx - \\cylzx * \\cylyy)/ (\\cylzy * \\cylxx - \\cylzx * \\cylxy)} \\pgfmathsetmacro{\\ang}{atan(\\cylt)} \\pgfmathsetmacro{\\ct}{1/sqrt(1 + (\\cylt)^2)} \\pgfmathsetmacro{\\st}{\\cylt * \\ct} \\filldraw[fill=white] (#4*\\ct+#1,#4*\\st+#2,#3) -- ++(0,0,#5) arc[start angle=\\ang,delta angle=-180,radius=#4] -- ++(0,0,-#5) arc[start angle=\\ang+180,delta angle=180,radius=#4]; \\filldraw[fill=white] (#1,#2,#3+#5) circle[radius=#4]; } \\begin{tikzpicture}[x={(\\xx*1cm,\\xy*1cm)},y={(\\yx*1cm,\\yy*1cm)},z={(\\zx*1cm,\\zy*1cm)}] \\tdcyl{-3}{-3}{0}{1}{3} % x y z r h \\tdcyl{0}{0}{0}{1}{3} % x y z r h \\draw (-3,0,0) -- (3,0,0) node[circle,fill=white] {x}; \\draw (0,-3,0) -- (0,3,0) node[circle] {y}; \\draw (0,0,-3) -- (0,0,3) node[circle] {z}; \\end{tikzpicture} \\end{document} I added another cylinder and tweaked the positions to fit what I need. This produces the following: Which is almost what I want, except that I want to see the projection of that cylinder on the x--y plane, but unfortunately, the top cylinder hides the full circle. When I disable the top cylinder: \\begin{tikzpicture}[x={(\\xx*1cm,\\xy*1cm)},y={(\\yx*1cm,\\yy*1cm)},z={(\\zx*1cm,\\zy*1cm)}] \\tdcyl{-3}{-3}{0}{1}{3} % x y z r h \\draw (-3,0,0) -- (3,0,0) node[circle,fill=white] {x}; \\draw (0,-3,0) -- (0,3,0) node[circle] {y}; \\draw (0,0,-3) -- (0,0,3) node[circle] {z}; \\end{tikzpicture} Now the projection is shown again: But the top cylinder is missing... How can I make the top cylinder transparent, or, alternatively, and even better; how do I create one long cylinder and emphasize its projection on the x--y plane? BTW, what determines the position of the labels x,y,z in the above code? I want to reposition them so they won't overlap with the axis. Thanks in advanced!",
"if $x+2y+z=4$ and $x,y,z$ are real number. then find maximum value of $xy+yz+zx$ putting $x+z=4-2z$ in $y(x+z)+zx = y(4-2z)+zx = 4y-2yz+zx$ i wan,t be able to go further,could some help me with this",
"How to move /usr to a new partition?"
] |
medi_sts_stackexchange_dupe
|
null reference problems with c#
|
What is a NullReferenceException, and how do I fix it?
|
[
"Running own executable on Android shell I need a specific command line tool and I have made a C program in my Linux shell. I have compiled the program with an ARM cross-compiler. I have then moved the program into the Android file system and tried to run it. The output is permission denied. What do I have to do, in order to run my own compiled programs in Android file system?",
"How does one create, caption, label and refer to a subfigure?",
"Finding the limit $ \\lim_{x\\to a^+} \\frac{\\cos(x)\\ln(x-a)}{\\ln(e^x-e^a)} $",
"According to , weight decay (regularization) is not usually applied to the bias terms b why? What is significance (intuition) behind it?",
"Do creatures that enter the battlefield at the same time see each other enter?",
"I'm getting the following error when trying to update a taxonomy field value via REST api: { \"error\": { \"code\": \"-1, Microsoft.SharePoint.Client.ClientServiceException\", \"message\": { \"lang\": \"en-US\", \"value\": \"Cannot deserialize data for type Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection.\" } } } The request: https://server/_api/web/GetFileByServerRelativeUrl('/Shared Documents/file.txt')/ListItemAllFields { \"__metadata\": { \"type\": \"SP.Data.Shared_x0020_DocumentsItem\" }, \"Title\": \"some title\", \"Project\": { \"results\": [ { \"Label\": \"Term1\", \"TermGuid\": \"897bdf7f-08d6-44b9-a71a-ddc4cf131664\", \"WssId\": 5 } ] } }",
"What is the MIME equivalent of uuencode for sendmail? e.g., I've got files I want to send by sendmail but the receiving mailbox (for posting pictures to my blog) will not accept uuencode files a la $uuencode file | sendmail user@domain I'm guessing it'll accept MIME though. So what command can I use instead?",
"Does set difference distribute over set intersection?",
"lists Ubuntu 4.10 (Warty Warthog) as the first Ubuntu released by Canonical Ltd. But I wanted to know whether there ever was an Ubuntu 1.x, as in Windows or Mac OS. If yes, is it available somewhere?",
"I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up. I have revisited this issue, i managed to get this far but the pop up doesn't work. See image:",
"Proving by induction that $ \\sum_{k=0}^n{n \\choose k} = 2^n$",
"In an ordered field we have $x^2 \\ge 0$, hence the equation $-1 = x^2 + y^2$ has no solution. But what about finite fields in general? What is the solutions set $$ -1 = x^2 + y^2 $$ of this equation?",
"Compute $P(X_1+\\cdots+X_k\\lt 1)$ for $(X_i)$ i.i.d. uniform on $(0,1)$ Consider $N=\\min\\{n: S_n>1\\}$, where $S_n=X_1+\\cdots+X_n$ and $(X_i)_{i=1}^\\infty$ is i.i.d. uniform on $(0,1)$. So, $N$ is the first time that $(S_n)_{n=1}^\\infty$ crosses $1$. I'd like to calculate $E(N)$. To this end I'd like to calculate $\\Pr(N\\gt k)=\\Pr(S_k\\lt 1)$. Is there a way to actually do this for any arbitrary $k$? I mean, certainly there is as I know about the distribution of $S_n$ but the formula is just formidable when you move with $k$ toward $\\infty$ and even though tractable with a computer, I don't think it's tractable without it. Is there maybe a better way to calculate the expectation? Thanks for any help.",
"Do we still need swap partitions on desktops? I have read , but it was asked in the context of servers not desktops or notebooks. If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space?",
"I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it. I want to call the help function on each one. In Ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in Python? eg. something like: from somemodule import foo print(foo.methods) # or whatever is the correct method to call",
"Freeze first column in SharePoint List View? I am working in SP2013 , in a particular list view we want to freeze first column on horizontal scrolling. Please help on this if any one having idea/code/any reference URLS.",
"Are mounts proficient in armour (barding)?",
"Invoking Java main method with parameters from Eclipse During development (and for debugging) it is very useful to run a Java class' public static void main(String[] argv) method directly from inside Eclipse (using the Run As context menu). Is there a similarily quick way to specify command line parameters for the run? What I do now is go to the \"Run Dialog\", click through the various settings to the tab where I can specify VM and program arguments and enter them there. Too many steps, plus I do not want to mix the more permanent runtime configuration settings with the one-off invokation parameters. What I want instead is to check a box somewhere (or have a separate menu item \"Run as Java application with command line\") and then be prompted for the commandline every time (with a nice history).",
"Cannot login to chat.meta.stackexchange.com; server error when trying to access chat homepage I just recreated my MSE account after having deleted it a few years ago. Now, I'm trying to log in to Meta Stack Exchange Chat, and whenever I try to do so, it just fails silently and I'm still logged out. Additionally, in the same browser session that I'm supposedly logged out, I get a server error when accessing the chat homepage or the chat profile page of any user. I don't get any errors when trying to access any of these pages in a private session. I also was able to sign in to Stack Exchange Chat and Stack Overflow Chat without problems, since my accounts on SO and my parent site for SE chat haven't been deleted. I think it might be because it's trying to sign me in to my old chat profile, which was not deleted, but that is associated to my old, deleted site account, which clash and thus cause it to fail.",
"Merging bib files from within LaTeX"
] |
medi_sts_stackexchange_dupe
|
Extended titles for subsections gets my TOC all pilled-up
|
How to modify the space between the numbers and text of sectioning titles in the table of contents?
|
[
"Is there any objective benefit to escape sequences over tput? In people's '.*rc' files I see online or in various code, I tend to see a lot of people who manually use ANSI escape sequences instead of using tput. I had the understanding that tput is more universal/safe, so this makes me wonder: Is there any objective reason one should use escape sequences in place of tput? (Portability, robustness on errors, unusual terminals...?)",
"I used the jQuery Form plugin for asynchronous form submission. For forms that contain files, it copies the form to a hidden iframe, submits it, and copies back the iframe's contents. The problem is that I can't figure out how to find what HTTP status code was returned by the server. For example, if the server returns 404, the data from the iframe will be copied as normal and treated as a regular response. I've tried poking around in the iframe objects looking for some sort of status_code attribute, but haven't been able to find anything like that. The $.ajax() function can't be used, because it does not support uploading files. The only way to asynchronously upload files that I know of is using the hidden iframe method.",
"Prove or show a counter example for: $\\forall a, b, c \\in \\mathbb Z$, if $ab\\mid c$ then $a\\mid c$ and $b\\mid c$ I'm working on my Discrete Mathematics homework and they are asking me this: Prove or show a counterexample for: $\\forall a, b, c \\in \\mathbb Z$, if $ab\\mid c$ then $a\\mid c$ and $b\\mid c$ I'm not completely sure how to prove it. I was thinking to find a counterexample like zero but I'm not sure if that it's going to work. Or maybe try to approach it backwards? I'm a little bit lost",
"If I have an item, combined with another item, is it still a singular subject in the sentence? For example: This paper, combined with some glue, makes for an afternoon of art projects. This paper, combined with some glue, make for an afternoon of art projects. All of my experience tells me that it should be the first, but I have multiple people arguing for the second.",
"Is a capacitor in an open circuit charged? Say I have a circuit consisting of a battery, a wire, an open switch, and a capacitor. The circuit is open since the switch is open. My book says that the capacitor will only be charged when the switch is closed, but I don't see why this is true. I would expect the capacitor to be charged a little - not as much as if the circuit is closed, but still charged none the less. To further illustrate my point consider this: If the circuit is open, the current must be zero. Consequently the field must be zero. For the field to be zero, the capacitor's field must cancel out the battery's field. Therefore the capacitor must be charged. Generalizing this concept, shouldn't capacitors be charged (to a lesser degree) in open circuits? EDIT: In other words, if the field is zero, the capacitor must be charged to cancel out the field of the battery.",
"Are you less likely to down-vote someone whose gravatar is a photograph of them? I know this is hard to answer since, to the extent that anyone does this, they likely don't do it consciously. In the spirit of Richard Wiseman and I just wondered what were people's thoughts on it. Please bear in mind that that's me in the picture, and if you down-vote this, that'll be a real person hurtin', not some abstract symbol.",
"I was just testing Eevee and found that you cannot view a glass object through another glass. Is there any workaround? It works fine only If I rotate the glass window or put my camera to the back side of the scene",
"Render result is completely blank A scene I made is not rendering, at all. This grey screen stays the same and nothing changes. Here are my settings: [",
"If a stock doesn't pay dividends, then why is the stock worth anything? I read somewhere that companies are not required to pay dividends to shareholders (this is correct, yes?). If so, then if company A never pays dividends to its shareholders, then what is the point of owning company A's stock? Surely the right to one vote for company A's Board can't be that valuable. What is it that I'm missing?",
"How do i show that $w=z^2$ maps $|z-1|\\leq 1$ onto the cardioid $R=2(1+\\cos \\theta)$?",
"I have a CSV file which has postcode data in a field, but it is non-spatial e.g. no Easting and Northing. I have a shapefile with postcode in a field and some additional data. I want to join the CSV with the shapefile based on attributes (postcode fields). I know I can do this in ArcMap, but how can I achieve the same thing in QGIS?",
"Is there a term for someone who \"can see multiple perspectives\"? A colleague of mine is trying to describe herself as \"capable of seeing a situation from multiple perspectives\" or \"able to look at the big picture from various viewpoints\". I feel like there must be a better way to get this point across. Is there a more concise way to describe this characteristic?",
"Splicing a Javascript array from within the callback passed to forEach",
"Which choice of line-breaking parameters gives the minimum number of lines",
"What are these notices above my post? My post has been marked with an informational notice in a box above it. What should I do about this? Who attaches notices to posts? What kinds of notices are available? What should I do if I think a notice should be added to a post? What should I do if I think a notice should be removed from a post?",
"Sort Order on the User Filter is Surprising To Me When filling in the \"Type to Find Users\" , it seems to sort by exact match and then by reputation when I am on the reputation tab. For example, please consider the following search results: This threw me off since I thought that the sort order is reputation. I guess this often might give people what they want, but when picking a popular name is shows a lot of 0 rep users. Maybe adding a filter for low rep to the exact match might give more expected results, or just sorting on Rep?",
"Indian Trains Wait List - will I get a seat? After the of registering an account to book train tickets online using my British VISA card, I finally got into a position of being able to book a ticket, but what it appears to be telling me is that I'm only being added to a wait list, which I assume means my tickets aren't confirmed. Can someone explain how the wait list works, and what my chances are of getting on the train successfully? It currently says the wait list is 7 The train is the Mandor Express, from Delhi to Jodhpur on the 18th of Nov Update: So I got the train! Although it didn't get confirmed until a few hours before it was due to leave.",
"The \"I Get It\" Reputation Problem I wrote a question about blocking certain characters in passwords. It became tremendously unpopular, and it seemed like everyone wanted to rain on my parade every day. Eventually, I \"got it,\" agreed completely with what people were saying to me, and just wanted to withdraw my question so that my reputation didn't slide even further downhill. Unfortunately, the system is designed such that I can't withdraw my question or redeem myself. Instead, I just get daily reputation attacks. That's a terrible system, and it needs to be changed.",
"Symmetric and exterior power of representation Does there exist some simple formulas for the characters $$\\chi_{\\Lambda^{k}V}~~~~\\text{and}~~~\\chi_{\\text{Sym}^{k}V},$$ where $V$ is a representation of some finite group? Thanks.",
"Switching to different font size(s) locally"
] |
medi_sts_stackexchange_dupe
|
What does "this" do in Java?
|
Java - when to use 'this' keyword
|
[
"I want to save a backup of my data on a remote server, but never want the backup server to see the data unencrypted. Editing a single file and backing up should not result in everything being encrypted and sent again. The remote server should preferably not even know the directory structure (and especially not the directory names). Is there such a solution?",
"Cannot expand asterisk without proper permission",
"(a) $S_k=\\{A\\subset\\mathbb{N}: |A|=k\\}$ for $k\\in\\mathbb{N}$ (b) $S = \\bigcup_{k=1}^\\infty S_k$ Work: For (a), I am not too sure about what approach I should use. I think finding a bijective function between the $S_k$ and $\\mathbb{N}$ is hard to do . I also thought about using the Schroeder-Bernstein theorem and find injective functions $f:\\mathbb{N}\\rightarrow S_k$and $g:S_k\\rightarrow\\mathbb{N}$ in order to prove that $S_k$ and $\\mathbb{N}$ are numerically equivalent. However, I have a hard time finding and proving these injective functions. I haven't really looked at (b) as I have yet to complete (a).",
"What are the differences between 32-bit and 64-bit, and which should I choose?",
"How to design partitions for SSHD? I'm going to install Linux on Lenovo B5400, which contains: 500GB Hybrid SSHD with a 8 GB SSD and 500 GB HDD Designing partitions for my 2 Linux distros was quite easy before, when I had only HDD. I always had: 10GB for Linux distro (mounted as \"/\") 10GB for another distro (again \"/\"; for another distro; for testing purposes or to assure continuity when switching distros) 2GB for swap (used for both distros; no need to separate) 300GB+ for \"/home\" (used for both distros; different usernames eliminates possible conflicts) It's simple, isn't it? I would like to keep this approach, but I know that SSD has its own specificity - it prefers to be read, continuous writing may affect its life span. I don't want to kill SSD in a year, so I would like to move some system partitions to HDD in order to protect SSD. As far as I know /tmp is one of often read&written locations. How much space it needs? What else should be placed on HDD? Or: how to design partitions to achieve exactly the same effect and to keep SSD as safe as possible? I'd be grateful for your help.",
"Make wifi preferable over wired connection in Ubuntu 14.04? How do I make Ubuntu choose wifi connection over wired connection when both are connected to internet? I edited the Ethernet connection to route using the preference \"Use this connection only for resources on this network\", which other people have reported having success with as a means of getting WiFi preferred, but it doesn't work for me. The issue persists. Ethernet is still being preferred for internet, and WiFi gets ignored. another thing, is it possible to use wired connection as fail over connection to wireless?",
"Combining the first and second law of thermodynamics we can get the following equation $$TdS=dU-P_{ext}dV$$ First question: Is this equation applicable for irreversible processes such that that $dS≠\\dfrac{dQ}{T}$? Second question:If the system temperature $T_{sys}$ is smaller than the surrounding temperature $T_{sur}$, which temperature should we put in the equation? I have this question because sometimes people use $T_{sur}$ instead of $T_{sys}$ (e.g. , ) but the equation is supposed to describe changes in the system.",
"How to correctly install Minecraft, including setting any needed packages or apps to install it and to troubleshoot the most common problems that Ubuntu users face when trying to use Minecraft. I am trying to install and run Minecraft without first having to install the Oracle version of Java. I want to use the OpenJDK version that comes with Ubuntu and as a last resort, use the Oracle one. I also want to know a list of problems related to Minecraft in Ubuntu and the possible solutions to them. A step by step guide on how to install Minecraft would also help.",
"Proving if $d_0$ is the smallest positive integer in $S$ then $d_0 = \\gcd(a,b)$",
"Does casting blindness on a Medusa (or other gaze using creature) stop their gaze attack?",
"This is the proof, which I mostly understand except for one bit: You have $h_1 \\in H_1$ and $h_2 \\in H_2$. We also have $h_1^{-1}(h_2^{-1}h_1h_2) \\in H_1$, because $h_2^{-1}h_1h_2 \\in h_2^{-1}H_1h_2 = H_1$. Similarly, we have $(h_1^{-1}h_2^{-1}h_1)h_2 \\in H_2$. Therefore $$ h_1^{-1}h_2^{-1}h_1h_2 \\in H_1 \\cap H_2 = \\{1_G\\} $$ and so $h_1^{-1}h_2^{-1}h_1h_2 = \\{1_G\\}$. Let's first multiply everything on the left by $h_1$ $$h_1^{-1}h_2^{-1}h_1h_2 = \\{1_G\\}$$ $$ h_1 h_1^{-1}h_2^{-1}h_1h_2 = h_1 \\{1_G\\}$$ $$ h_2^{-1}h_1h_2 = h_1 \\{1_G\\}$$ Multiply both sides on the left by $h_2$ giving us $$ h_1h_2 = h_2 h_1 $$ The bit I don't get is right at the beginning. Why is this correct: \"We also have $h_1^{-1}(h_2^{-1}h_1h_2) \\in H_1$, because $h_2^{-1}h_1h_2 \\in h_2^{-1}H_1h_2 = H_1$.\"",
"Can I talk to the blue alpaca? Reese's boyfriend seems to constantly be asleep. When I try and talk to him, she warns me that he's been hard at work all night, but I can't actually enter the shop at night. Is there any way to talk to him or any benefit for doing so? I've tried to talk to him daily for a week (thinking it was something akin to talking to Sable) but I've had no luck. Trying to come in after-hours doesn't work.",
"How to update Android Studio in Ubuntu? I am trying to update from version 2.0.0 to version 2.1.2 in Ubuntu 64bit/14.04LTS but when I click \"update and restart\" it says \"Downloading patches\" and it closes. It does not start again and if I try to open it, the version is still 2.0.0. Is there any tutorial to manually update android studio? (keep all settings and etc).",
"Why do we make a distinction between derivatives and partial derivatives?",
"I have the name of a function in JavaScript as a string. How do I convert that into a function pointer so I can call it later? Depending on the circumstances, I may need to pass various arguments into the method too. Some of the functions may take the form of namespace.namespace.function(args[...]).",
"GCD in polynomial rings with coefficients in a field extension",
"SubView slide in animation, iphone",
"Can't see a glass object through another glass object in Eevee",
"include svg images with the svg package",
"Computational complexity of Fibonacci Sequence"
] |
medi_sts_stackexchange_dupe
|
How to give to a user ability like root with visudo?
|
Redirecting stdout to a file you don't have write permission on
|
[
"Get the index of the nth occurrence of a string?",
"I'm currently building a town in Minecraft Pocket Edition and I'm wondering how many blocks long and how many blocks wide the world is.",
"Excluding System admin from this validation rule I have the following validation rule ; OR( AND( Upper(MailingCountry) <> 'UK', NOT(ISBLANK(TEXT(UK_Email_Consent__c))) ), AND( Upper(MailingCountry) = 'UK', ISBLANK(TEXT(UK_Email_Consent__c)) ) ) I know to exclude system admins I need to include the following line $Profile.Name <> \"System Administrator\" In the validation rule above where do I add profile <> system admin Looking forward to your help many thanks",
"I already have a 6 month valid UK business visa received prior to April 24 2015. I was supposed to travel to the UK in April, but my trip was cancelled on medical grounds. I am now planning to visit the UK in July for tourism. Would it be fine for me to do so? Will I be allowed to enter the UK? Should I carry the original invite letter and medical certificate to prove why I didn't go the first time?",
"I deleted the \"/etc/passwd\" file and cannot log in",
"How do I redirect in a class sub-classing the EventSubscriber class?",
"How can I run Windows applications on a MacBook Pro? I have a friend that wants to buy a Mac Book Pro and he has some windows applications that he needs to run. He doesn't want to buy the applications again. Can he run the Windows applications on his MacBook Pro? What ways to accomplish this are available?",
"In terms of UX what do you guys think is the best approach when integrating a trial period for subscriptions? My application offers a 15 day trial, at the minute the user can sign up without providing any payment information (Paypal Subscription). The account is then set to trial status and after 15 days the user will be redirected to an upgrade page. Do you think this is the best approach? I am unsure whether or not to let Paypal manage the trial, this however means that the user will need to go through the Paypal payment system during signup. I think this may put some people off signing up. On the other hand this approach may increase the number of conversions to a full account.",
"Can I play a save from the non-GOTY edition of Red Dead Redemption in the GOTY edition? My friend is able to lend me Red Dead Redemption. However it's the vanilla edition, so I'm going to end up buying the GOTY edition anyway. Here is a question now: If I were to play Red Dead Redemption, non-GOTY edition, have a save from it, and then buy the GOTY edition, will I be able to play on the save I made while playing the non-GOTY edition?",
"How to answer a negative question in English? Q: \"Don't you know?\" If I really don't know, how should I respond to this question? Yes or No? There's a similar question on EL&U, but the answer isn't clear how it works: Also here on ELU too: These answers are confusing. I want to know what one word answer I can use. In other words I want to know: What will native speakers understand if I reply No to this question? What will native speakers understand if I reply Yes to this question?",
"Formatting should not count towards the character limit on comments This is a minor frustration, but I have a that I put italics and bold into (using asterisks.) Now I know I just just be happy that I could do it at all, but it seems to me that those should not count toward my comment char limit.",
"Which is correct: \"drive safe\" or \"drive safely\"? When someone is going to drive their car somewhere, I always used to say \"drive safely\" to them. Recently I was told I should say \"drive safe.\" (From: ) Which one is correct? Similarly, is \"do good\" correct?",
"Should the mean be used when data are skewed? Often introductory applied statistics texts distinguish the mean from the median (often in the the context of descriptive statistics and motivating the summarization of central tendency using the mean, median and mode) by explaining that the mean is sensitive to outliers in sample data and/or to skewed population distributions, and this is used as a justification for an assertion that the median is to be preferred when the data are not symmetrical. For example: The best measure of central tendency for a given set of data often depends on the way in which the values are distributed.... When data are not symmetric, the median is often the best measure of central tendency. Because the mean is sensitive to extreme observations, it is pulled in the direction of the outlying data values, and as a result might end up excessively inflated or excessively deflated.\" —Pagano and Gauvreau, (2000) Principles of Biostatistics, 2nd ed. (P&G were at hand, BTW, not singling them out per se.) The authors define \"central tendency\" thus: \"The most commonly investigated characteristic of a set of data is its center, or the point about which observations tend to cluster.\" This strikes me as a less-than forthright way of saying only use the median, period, because only using the mean when the data/distributions are symmetrical is the same thing as saying only use the mean when it equals the median. Edit: whuber rightly points out that I am conflating robust measures of central tendency with the median. So it is important to keep in mind that I am discussing the specific framing of the arithmetic mean versus the median in introductory applied statistics (where, mode aside, other measures of central tendency are not motivated). Rather than judging the utility of the mean by how much it departs from the behavior of the median, ought we not simply understand these as two different measures of centrality? In other words being sensitive to skewness is a feature of the mean. One could just as validly argue \"well the median is no good because it is largely insensitive to skewness, so only use it when it equals the mean.\" (The mode is quite sensibly not getting involved with this question.)",
"Deserializing JSON when sometimes array and sometimes object",
"I know the minimum number of reference letters required at many U.S. PhD programs in the STEM fields is three -- and that it is also not uncommon for someone to submit a fourth letter. What about a fifth letter? Would a fifth letter of recommendation be perceived as \"too many\"?",
"Best lens for taking pictures of surfers I'm just trying to decide which new lens to get. I need to take surf and windsurf photos from onshore. Sometimes 300 mm is enough but there are many times they are too far away. I have a sigma 70-300 but I need something better, if the light is not perfect it doesn't give me the sharpness I hope for. I can not afford the 400L 2.8 of course, so I'm trying to choose between the Canon EF 100-400L, Canon EF 70-300L (which I heard is far better than the base one), or Sigma 50-500. My body is a canon 600D.",
"Varnish cache with Nginx SSL termination How can I use varnish cache with nginx SSL termination for my SSL-Only (Https only) website? I use ubuntu 18.04 and I am currently running a wordpress site on my server.",
"Use induction to prove the following: $1! + 2! + .... + n! < (n + 1)!$ Base case: $n = 1$ $1! < 2!$ true Inductive step: Assume that $1! + 2! + .... + k! \\le (k + 1)!$ is true let $n = k + 1$ $1! + 2! + .... + (k + 1)! < (k + 2)!$ $1! + 2! + .... + k! + (k + 1)! < (k + 2)!$ $1! + 2! + .... + k! + (k + 1)! < (k + 2)!$ $(k + 1)! + (k + 1)! < (k + 2)!$ $2(k + 1)! < (k + 2)!$ $2(k + 1)(k)(k - 1).. < (k + 2)(k + 1)(k)(k - 1)....$ $2 < (k + 2)$ the right is always bigger for k are non negative integer.",
"Space before chapters and contents I am using LaTeX to write my dissertation, and I have realised that on the table of contents and on every chapter page, LaTeX leaves a lot of empty space. What I mean is that lets say in the page where chapter 1 begins, from the top of the page until the chapter title there is much more vertical space than on any other page. The same goes with chapter 2 etc... and for contents page as well. Can anybody help me to remove that space? Is there any mistake in my code or something like that? Is this a default of LaTeX? the preamble is \\documentclass[12pt,twoside]{report} \\pagestyle{plain} \\usepackage{a4paper} \\usepackage{setspace} \\doublespacing \\usepackage{amssymb} \\usepackage{amsmath} I've tried the methods below, but none of them work properly.",
"Apply a string replacement on the citation as returned by \\cite I have biblatex with options \\usepackage[backend=bibtex, style=authoryear]{biblatex} The citations made with \\cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need \\cite{SmithsPaper} % --> Smith, 2019 \\cite{MyPaper} % --> Manny, 2019 %%% \\newcite{SmithsPaper} % --> Smith, 2019 \\newcite{MyPaper} % --> MC, 2019 I have tried with the package xstring to do something like \\newcommand{\\newcite}[1]{% \\begingroup \\edef\\@temp{\\cite{#1}}% \\StrSubstitute{\\@temp}{Manny}{MC} \\endgroup } The problem is that I can't figure out how to tell LaTeX to expand \\cite{#1}. As a result the citation comes out without the replacement. If I change \\cite{#1} by simply #1 and I call \\newcite{bla Manny bla} it gives bla MC bla as expected. It shouldn't be relevant but I'm using this within the beamer documentclass."
] |
medi_sts_stackexchange_dupe
|
How many string objects will be created in memory?
|
How many objects are being created?
|
[
"How do you Xforward windows using ssh?",
"How can I change the default program installation directory in Windows 7? Windows 7 is installed on my C drive, which is quite small. I am very tired of instructing new programs to put their files on my larger D drive during installation; I would like to change the default drive. says that you can use a registry hack, but I am giving Microsoft the benefit of the doubt and naively assuming that a configuration option exists somewhere. It's 2010... do I really have to hack my registry to make a simple tweak like this? Also, there's a that explains how to move the \"Users\" directory and create a symlink, which could also work. However, at the moment I have some apps in C:\\Program Files, some apps in C:\\Program Files (x86), and some apps in the corresponding folders on D:\\, so it would be a hassle. Also, my small OS boot drive is a 10k RPM WD Raptor, and I feel like that probably gives a speed boost to apps installed on it that need to read & write to their directories a bunch. I wonder if it actually matters.",
"What are the minimum requirements to run Windows 10?",
"Why shouldn't root be allowed to login via ssh? why should root access be disabled for ssh? I always hear that's for security reasons. But I don't get it. What's different to login as non-root and then sudo su -? What's the preferred way to handle tasks that need privileged permissions? Thanks Thomas",
"Showing that the roots of a polynomial with descending positive coefficients lie in the unit disc. Let $P(z)=a_0+a_1z+\\cdots+a_nz^n$ be a polynomial whose coefficients satisfy $$0<a_0<a_1<\\cdots<a_n.$$ I want to show that the roots of $P$ live in unit disc. The obvious idea is to use Rouche's theorem, but that doesn't quite work here, at least with the choice $f(z)=a_nz^n, g(z)=$ (the rest). Any ideas?",
"Radical of $\\mathfrak{gl}_n$ I find it intuitive enough that the radical of $\\mathfrak{gl}_n\\mathbb F$ is the scalar matrices, but I have trouble finding an easy, but complete proof: Proof. Let $\\mathfrak s$ denote the scalar matrices. Clearly $\\mathfrak s\\subset\\mathrm{rad}(\\mathfrak{gl}_n\\mathbb F)$. Suppose that $\\mathrm{rad}(\\mathfrak{gl}_n\\mathbb F)$ is generated by more than one element, so that $X\\in\\mathrm{rad}(\\mathfrak{gl}_n\\mathbb F)$, but $X\\notin\\mathfrak s$. We can change basis such that $\\mathrm{rad}(\\mathfrak{gl}_n\\mathbb F)$ is upper-triangular. (The change of basis leaves the scalar matrices invariant.) Then $X$ is upper-triangular. I want to conclude that there exists a $Y\\in\\mathfrak{gl}_n\\mathbb F$ s.t. $[X,Y]$ is not upper-triangular. How can I see that $Y$ always exists, except by waving hands?",
"How do I increase the render distance?",
"How to render a background image in 2.8?",
"Stop Excel from automatically converting certain text values to dates Does anyone happen to know if there is a token I can add to my csv for a certain field so Excel doesn't try to convert it to a date? I'm trying to write a .csv file from my application and one of the values happens to look enough like a date that Excel is automatically converting it from text to a date. I've tried putting all of my text fields (including the one that looks like a date) within double quotes, but that has no effect.",
"Non-pejorative synonym of \"notoriety\" I'm trying to say: He probably gained some __________ [good notoriety] from this picture. I was thinking publicity, but that connotes some kind of negative to me as well (like the stuff you see in gossip magazines at the checkout line). I want a word as powerfully positive as notoriety is powerfully negative.",
"This may be a silly question, but I ask it still. If I have declared a shebang #!/bin/bash in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash [my@comp]$bash my_shell_script.sh or can I use e.g. [my@comp]$sh my_shell_script.sh and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX.",
"Finding an example of a discrete-time strict local martingale.",
"What is the longest word you can come up with that the letters are all in alphabetical order? It's Friday again, how about some fun to get us into the weekend? What is the longest word you can come up with for which all the letters in that word are in alphabetical order? Rules: English words only Can't be a name of a place, person or other proper noun. if it contains the same letter twice in a row, that does not disqualify it. No fair looking it up on Google! Update: One more rule to help you guys out. The word can be in either ascending or descending alphabetical order.",
"Are there recommendations or pitfalls for playing an archer cleric? In my 4E game, a player is going to try an elven cleric with a longbow (and a mace, just in case). She chose mostly ranged powers. Are there any caveats to playing such a character, or any builds that I could recommend for her?",
"Infinite Geometric Series Formula Derivation",
"What does 's=.*/==' do in sed? I saw sed 's=.*/==' in context of sh script and I'm puzzled. I could not find in sed manual or web search (for sed s=) how s is used, not s///. Apart from s I see only one potential command here = (Print the current input line number), but in such case what the rest is doing... Running the command in shell produces same output as input for e.g echo 'jkfdsa=335r34', whereas echo 'jkfdsa=335r34' | sed 's/=.*/==/' does replacement as per manual. Also slightly modifying command to e.g. echo 'jkfdsa=3' | sed 's798=.*/==/' gives sed: -e expression #1, char 11: unterminated 's' command, so original should have some correct meaning. What is it?",
"Assume I wield a Whip in one hand and a dagger in the other. If a creature moves from 5ft to 10ft it has technically moved out of my reach (dagger), but at the same time it is still inside my reach (whip). When does it provoke opportunity attacks from me? I am fully aware that this would not enable me to make off-hand attacks since the whip is not a light weapon, just to cut that issue out of the question.",
"Some text lines are italicized with no spaces between words",
"Should a toggle button show its current state or the state to which it will change?",
"Identity for convolution of central binomial coefficients: $\\sum\\limits_{k=0}^n \\binom{2k}{k}\\binom{2(n-k)}{n-k}=2^{2n}$ It's not difficult to show that $$(1-z^2)^{-1/2}=\\sum_{n=0}^\\infty \\binom{2n}{n}2^{-2n}z^{2n}$$ On the other hand, we have $(1-z^2)^{-1}=\\sum z^{2n}$. Squaring the first power series and comparing terms gives us $$\\sum_{k=0}^n \\binom{2k}{k}\\binom{2(n-k)}{n-k}2^{-2n}=1$$ that is, $$\\sum_{k=0}^n \\binom{2k}{k}\\binom{2(n-k)}{n-k}=2^{2n}$$ My question: is there a more direct, combinatorial proof of this identity? I've been racking my brains trying to come up with one but I'm not having much success."
] |
medi_sts_stackexchange_dupe
|
Row-wise maximum in T-SQL
|
SQL MAX of multiple columns?
|
[
"Direct observations of a black hole?",
"Find the value of $\\sum_0^n \\binom{n}{k} (-1)^k \\frac{1}{k+1}$ Find the value of $\\sum_0^n \\binom{n}{k} (-1)^k \\frac{1}{k+1}$. Writing out several terms, I think the answer is $1/(n+1)$, but I'm struggling to prove this. I would greatly appreciate it if someone could show how to prove this.",
"While researching my theory that , I noticed that there are surprisingly few posts with zero comments. Here's what the looks like: That graph was generated using the following SQL: select CommentCount, count(*) from Posts where CommentCount < 30 group by CommentCount order by CommentCount The huge distribution disconnect makes me think comments are not being counted correctly.",
"Let $ f $ be a continuous function defined on $ [0,\\pi] $. Suppose that $$ \\int_{0}^{\\pi}f(x)\\sin {x} dx=0, \\int_{0}^{\\pi}f(x)\\cos {x} dx=0 $$ Prove that $ f(x) $ has at least two real roots in $ (0,\\pi) $",
"Add a way for moderators to cast a normal, non binding close/open vote I think moderators should have the ability to cast a normal, non binding close and open vote like they were a normal user (while of course retaining their ability to cast a binding vote where necessary). This can be used in "grey areas" where a moderator can choose to give his or her opinion, but not make a decision alone; a good example of this is . This also helps in areas not so grey (questions that everyone would agree should be closed) since the OP has the time to see close (1) and possibly edit his or her question. The moderator can then optionally come back after a few minutes and close it for real if it's not improved (or maybe during that time other 4 people voted to close it). This would also fit perfectly in : Since we’re about to add community moderators on both Stack Overflow and Server Fault, I need to document what it is, exactly, we expect moderators to do. The short answer is, as little as possible!",
"How could I retrieve the exact duplicate value from conditionally formatted list that highlight duplicates? I have imported a webpage table in to Google Sheets. It frequently being updated. A series of calculations has been conducted on the sheet named Shawn Of the link spreadsheet. I have filtered the my desired results into the Calculation sheet of that linked document... which is in columns A5:A. I then applied =ARRAYFORMULA(if(A5:A200="",,A5:A200*{12,13,37,101,111})) in columns B5. The Results of the formula extends from B5:F. This results from a5:F was subsequently conditionally formatted to highlighted duplicates in the aforementioned, i.e. a5:f using the lists of values in K5:K and I5:5. In Columns A5:F, is it possible to generate/place values in the range A5:f with matching name of states and aligned values in J5:K and H5:I?",
"Is there a (Unix) shell script to format JSON in human-readable form? Basically, I want it to transform the following: { \"foo\": \"lorem\", \"bar\": \"ipsum\" } ... into something like this: { \"foo\": \"lorem\", \"bar\": \"ipsum\" }",
"Let $R \\simeq S$ be isomorphic commutative rings with unity. Prove the following: a). If $R$ is an integral domain then $S$ is an integral domain. For this, I said that If I let $f: R \\to S$ be an isomorphism and $(R, + , \\circ), (S, \\oplus, \\ast)$, then let $x, y\\in R$, such that $x \\circ y = 0_R$, because $f$ is an isomorphism, $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$. If I let $R$ be an integral domain then, as per the definition $R$ is commutative, has unity, and no zero divisors. So $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$ where we have either $f(x \\circ y) = f(0_R) \\ast f(y) = f(0_R)$ or $f(x \\circ y) = f(x) \\ast f(0_R) = f(0_R)$. Since $f$ is an isomomorphism, let $s = f(x), t = f(y)| s,t \\in S$. Then $s \\ast t = f(0_R)$. By definition, $S$ also has unity so $0_S$ exists. If we map $0_R \\to 0_S$. Then either $s = 0_S$ or $t = 0_S$. So then, since $S$ has unity, is commutative, and has a no zero divisors as we showed above, it is also an Integral domain. I'm not sure I have this correctly. b). If $R$ is a field then $S$ is a field. I don't really understand how to do this one. Since $S$ is an integral domain, it has a $0_S$. So I need to show that $S$ distributes $\\ast$ over $\\oplus$. Any help with these is appreciated",
"Test for convergence $$\\sum_{n=1}^{\\infty} \\frac{1}{n^n}$$ I'm at a loss on what to do, is this a geometric series $\\frac{1^n}{n^n}$?",
"Difference between staticmethod and classmethod What is the difference between a function decorated with and one decorated with ?",
"What is a valid use case for an \"execute only\" file permission? I was reading up on chmod and its . I saw that 1 is execute only. What is a valid use case for an execute only permission? To execute a file, one typically would want read and execute permission. $ echo 'echo foo' > say_foo $ chmod 100 ./say_foo $ ./say_foo bash: ./say_foo: Permission denied $ chmod 500 ./say_foo $ ./say_foo foo",
"Is 'that is' optional? When I write something like this: I am a man that is doing these things. Is it correct to shorten it like this? I am a man doing these things. And does it require commas?",
"How is every subset of the set of reals with the finite complement topology compact? While we know that every finite set is compact, how to prove that every infinite subset of $\\mathbf{R}$, the set of all real numbers, is also compact in the finite-complement topology (also called the co-finite topology)? What is the situation in the case of an arbitrary infinite set $X$ with the finite-complement topology?",
"In a particular textbook, the work function of a metal (in the context of the photoelectric effect) is defined as: the minimum amount of energy necessary to remove a free electron from the surface of the metal This sounds similar to ionisation energy, which is: the amount of energy required to remove an electron from an atom or molecule in the gaseous state These two energies are generally different. For instance, Copper has a work function of about 4.7eV but has a higher ionisation energy of about 746kJ mol-1 or 7.7eV. I've sort of figured it's because the work function deals with free electrons whilst ionisation is done with a valence electron still bound within the atom. Is the difference due to the energy required to overcome the attraction of the positive nucleus?",
"Search with Auto-Complete (like Gmail / Intellisense)",
"I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, which aims on the /etc/init.d folder and its contents. The other one I found is to edit .conf files in the /etc/init folder. What's the recommended way to enable / disable / add services and why? Could you please give a short bulletproof step by step example on how to add a service in Ubuntu and enable and disable it?",
"I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into java.lang.OutOfMemoryError: Java heap space error because I am not being conservative on memory usage. The user can open unlimited number of files, and the program keeps the opened objects in the memory. After a quick research I found and others saying on Windows machine the JVM defaults max heap size as 64MB. Given this situation, how should I deal with this constraint? I could increase the max heap size using command line option to java, but that would require figuring out available RAM and writing some launching program or script. Besides, increasing to some finite max does not ultimately get rid of the issue. I could rewrite some of my code to persist objects to file system frequently (using database is the same thing) to free up the memory. It could work, but it's probably a lot work too. If you could point me to details of above ideas or some alternatives like automatic virtual memory, extending heap size dynamically, that will be great.",
"Is the gravitational constant $G$ a fundamental universal constant?",
"In Windows I used command-line clipboard copy-and-paste utilities... pclip.exe and gclip.exe These were UnixUtils ports for Windows (but they only handled plain text). There were a couple of other native Windows utilities which could write/extract any format. I've looked for something similar in Synaptic Package Manager, but I can't find anything. Is there something there, that I've missed? ... or maybe this is available in Bash scripting? The type of utility I'd like will be able to read/write via std-in/std-out or file-in/file-out, and handle Unicode, Rich Text Format, picture, etc. clipboard formats... NB: I'm not after a clipboard manager.",
"Switch statement fall-through...should it be allowed? For as long as I can remember I have avoided using switch statement fall-through. Actually, I can't remember it ever entering my consciousness as a possible way to do things as it was drilled into my head early on that it was nothing more than a bug in the switch statement. However, today I ran across some code that uses it by design, which got me immediately wondering what everyone in the community thinks about switch statement fall-through. Is it something that a programming language should explicitly not allow (like C# does, though it supplies a workaround) or is it a feature of any language that is powerful enough to leave in the programmer's hands? Edit: I wasn't specific enough to what I meant by fall-through. I use this type a lot: switch(m_loadAnimSubCt){ case 0: case 1: // Do something break; case 2: case 3: case 4: // Do something break; } However, I'm concerned about something like this. switch(m_loadAnimSubCt){ case 0: case 1: // Do something, but fall through to the other cases // after doing it. case 2: case 3: case 4: // Do something else. break; } This way whenever the case is 0, 1 it will do everything in the switch statement. I've seen this by design and I just don't know if I agree that switch statements should be used this way. I think the first code example is very useful and safe. The second seems kind of dangerous."
] |
medi_sts_stackexchange_dupe
|
How can I create a fake microphone in Ubuntu 20.04?
|
Creating a virtual microphone
|
[
"I have the value 25.00 in a float, but when I print it on screen it is 25.0000000. How can I display the value with only two decimal places?",
"Where does tidal energy come from?",
"Detecting significant predictors out of many independent variables In a dataset of two non-overlapping populations (patients & healthy, total $n=60$) I would like to find (out of $300$ independent variables) significant predictors for a continuous dependent variable. Correlation between predictors is present. I am interested in finding out if any of the predictors are related to the dependent variable \"in reality\" (rather than predicting the dependent variable as exactly as possible). As I got overwhelmed with the numerous possible approaches, I would like to ask for which approach is most recommended. From my understanding stepwise inclusion or exclusion of predictors is E.g. run a linear regression separately for every predictor and correct p-values for multiple comparison using FDR (probably very conservative?) Principal-component regression: difficult to interpret as I won't be able to tell about the predictive power of individual predictors but only about the components. any other suggestions?",
"What is the difference between the \"...\", '...', $'...', and $\"...\" quotes in the shell? Sometimes I see shell scripts use all of these different ways of quoting some text: "...", '...', $'...', and $"...". Why are there so many different kinds of quote being used? Do they behave differently or affect what I can do inside them?",
"Why should we care about groups at all?",
"Many times I see that URL extensions are hidden (e.g. .html, .php), but not all websites do this. Why do webmasters hide the extension? Is it for security, for the URL to look cleaner, or for some other purpose?",
"Can I view Shared Albums in the iCloud Photos web interface?",
"How to get relative path from absolute path There's a part in my apps that displays the file path loaded by the user through OpenFileDialog. It's taking up too much space to display the whole path, but I don't want to display only the filename as it might be ambiguous. So I would prefer to show the file path relative to the assembly/exe directory. For example, the assembly resides at C:\\Program Files\\Dummy Folder\\MyProgram and the file at C:\\Program Files\\Dummy Folder\\MyProgram\\Data\\datafile1.dat then I would like it to show .\\Data\\datafile1.dat. If the file is in C:\\Program Files\\Dummy Folder\\datafile1.dat, then I would want ..\\datafile1.dat. But if the file is at the root directory or 1 directory below root, then display the full path. What solution would you recommend? Regex? Basically I want to display useful file path info without taking too much screen space. EDIT: Just to clarify a little bit more. The purpose of this solution is to help user or myself knowing which file did I loaded last and roughly from which directory was it from. I'm using a readonly textbox to display the path. Most of the time, the file path is much longer than the display space of the textbox. The path is supposed to be informative but not important enough as to take up more screen space. Alex Brault comment was good, so is Jonathan Leffler. The Win32 function provided by DavidK only help with part of the problem, not the whole of it, but thanks anyway. As for James Newton-King solution, I'll give it a try later when I'm free.",
"Noether's Theorem: Lie groups vs. Lie algebras; finite vs. infinitesimal symmetries I've had a brief look through similar threads on this topic to see if my question has already been answered, but I didn't find quite what I was looking for, perhaps it is because I'm finding it hard to put words on my question and I hope that you will be able to help me ask it clearly. I'm trying to link what I know from mathematics to what we are writing in physics for Noether's theorem. If I understand correctly we are looking at the symmetries of the action i.e. under which symmetry groups is it invariant. Noether's theorem allows us to calculate a conserved current in the case of a continuous symmetry (Lie groups), by means of so-called infinitesimal symmetries which I believe to be elements of the Lie algebra (so the tangent space to the neutral element) of the Lie group. I'm guessing that if the action is invariant under the symmetry then it's \"variation\" should be 0 when we vary the system (space-time coordinate, or field) using this symmetry; it is exactly this step that I would like to understand better, how can I formalize this step correctly mathematically? How should I understand this variation, and how does it's calculation give rise to the elements of the Lie algebra?",
"I need a regular expression to select all the text between two outer brackets. Example: some text(text here(possible text)text(possible text(more text)))end text Result: (text here(possible text)text(possible text(more text)))",
"Can I set up WhatsApp on my desktop when my smartphone is broken?",
"Configure Postfix to use external MX servers for delivery of local mail if user is unknown",
"I have 256 colors working just fine in konsole,. I thought I'd give tmux a try because, unlike screen, it seems to support vi mode. However I find that the colors of my prompt show up and this is most likely because I have a 256 color mode prompt. What do I need to do to get tmux to recognize all 256 colors?",
"I am looking for a proof possibly using the sandwich theorem and/or Bernoulli's inequality for proving the following statement: If $x>0$ then $x^{1/n}$ tends to $1$.",
"Time Manager (QGIS) date format I've been through associated answers but cannot quite seem to find something which works! I'm having trouble getting TimeManager to recognise a simple data field (this is in QGIS2 - but I've had this error in earlier versions). I have these fields formatted in what appears to be one of the acceptable formats: ... here is a screenshot of the field properties: The format appears to be recognised in QGIS as I've worked out days difference between two dates (the \"Time on Market\" field shown in the image). However ... I always end up with: The Twitter.shp file works fine as a test, so I don't think this is an issue with the install / phyton conflict. Any thoughts welcome!",
"More than a decade ago, I read a short story about a small group of people at the end of the world. The story was premised on some sort of mass-produced device which took ambient heat and turned it into power. The devices had been overused, and now the world was freezing. I think the people were essentially bandits; the main character may have been a woman who lured men to her house and killed them for their body heat? There was also a strong implication that one person she had done this to was an alien who had come to warn that the devices were destroying the world. I think the story was in a hardbound collection, and I think the collection was from the late 70's or very early 80's. (Calling it a \"short story\" is just meant to distinguish it from a full novel — it may have actually been a novella or similar.)",
"LINQ's Distinct() on a particular property",
"Adjectives and nouns to describe an answer that doesn't answer the question?",
"How do I evaluate this integral $\\int_0^\\pi{\\frac{{{x^2}}}{{\\sqrt 5-2\\cos x}}}\\operatorname d\\!x$? Show that $$\\int\\limits_0^\\pi{\\frac{{{x^2}}}{{\\sqrt 5-2\\cos x}}}\\operatorname d\\!x =\\frac{{{\\pi^3}}}{{15}}+2\\pi \\ln^2 \\left({\\frac{{1+\\sqrt 5 }}{2}}\\right).$$ I don't have any idea how to start, but .",
"what do it mean by \"A real nxn matrix always has a real eigenvalue when n is odd?\" Shouldnt it be that regardless of odd or even there will always have a real root? hope to hear from you guys soon:)"
] |
medi_sts_stackexchange_dupe
|
How can I get table names in MySql 4.0?
|
Get table names using SELECT statement in MySQL
|
[
"Case insensitive 'Contains(string)'",
"Predicator vs. Predicate BACKGROUND According to Oxford Dictionaries Online: means "(In systemic grammar) a verb phrase considered as a constituent of clause structure, along with subject, object, and adjunct." means "The part of a sentence or clause containing a verb and stating something about the subject (e.g. went home in John went home)." In the latter example of John went home, it seems, the predicate is went home whereas the predicator is went, home being an adjunct and thus not part of the predicator as defined. Now, I looked further in to better understand the difference. The article recognizes two competing notions of the predicate in theories of grammar: (1) Predicates in traditional grammar (e.g., went home in John went home) (2) Predicates in modern theories of syntax and grammar (e.g., went in John went home) Which, according to the article, causes confusion as to what exactly the term predicate mean, and some grammarians came up with a new term "predicator" specifically for use (2), says the article. No problem thus far. What bothers me: The article in its explanation of (2) says, "Other function words -- e.g. auxiliary verbs, certain prepositions, phrasal particles, etc. -- are viewed as part of the predicate." (Emphasis mine.) Now, remember this definition of the predicate, i.e., (2) above, corresponds to the new term "predicator". I understand that auxiliary verbs are part of this definition of predicate, because an auxiliary verb can be part of a verb cluster. But can certain prepositions and phrasal particles also? The article has these example sentences (Words belonging to "predicate" (2) are boldfaced as in the article itself; My comments in parentheses.): The butter is in the drawer. (preposition in being part of the predicate) You should give it up. (particle up being part of the predicate) Susan is pulling your leg. (I don't know why leg is marked as part of the predicate. Maybe a typo?) QUESTION Except for the last one, which I suspect is a typo, I'd like to know whether the preposition in and the particle up belong to the predicate as presented in (2) and thus belong to the new term "predicator".",
"latexmk: jobname option and clean up incompatibility? I'm using in a Makefile to compile my document. Since I want my output filename to be different from the input filename, I use latexmk's option jobname. The problem is: it seems to be incompatible with latexmk -c to clean temporary files. Here's the specific entry in my Makefile: these.pdf: header.tex $(OBJS) latexmk \\ -pdf \\ -pdflatex=\"$(TEX)\" \\ -jobname=\"these\" \\ -use-make $< Input files are header.tex containing the latex instruction header and other latex content files. The output files are these.{aux,bbl,bcf,...}. Then latexmk -c does not remove temporary files: .{aux,bbl,bcf,...} files.",
"I'm trying to run an interactive command through paramiko. The cmd execution tries to prompt for a password but I do not know how to supply the password through paramiko's exec_command and the execution hangs. Is there a way to send values to the terminal if a cmd execution expects input interactively? ssh = paramiko.SSHClient() ssh.connect(server, username=username, password=password) ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command(\"psql -U factory -d factory -f /tmp/data.sql\") Does anyone know how this can addressed? Thank you.",
"How to add tags to files in Windows 7 so that they appear in search results In Windows 7, I want to add tags to my files (PDF, Word, Images etc) so that they appear directly in the search results, regardless of their content, title etc. shows how to search by tag, but it does not tell how to add a tag in any file. In the long term, I'm planning to add such tags programmatically as well.",
"What is JSON and what is it used for?",
"I am working on parameter estimation and one of the estimators involves a summation of $_nC_k$ ($n$ choose $k$) expressions. For some iterations, I need to compute expressions like $_0C_1$, $_0C_2$, etc. In general how do we compute $_nC_k$ when $n$ is less than $k$? Do we still use the formula $\\frac{n!}{(n-k)!k!}$ and use the gamma function to compute the negative factorial? Thanks!",
"Why is Ubuntu Software Center dropping previously provided applications? Ubuntu Software used to provide Pinta, KolourPaint, Audacity, and others, but they are no longer available there. I have to use apt to install them. Why has Ubuntu Software 3.20.5 stopped providing applications that it used to? Ubuntu 16.04 Ubuntu Software Center 3.20.5 Thanks in advance for your help!",
"How can I prove the IFF condition for this group of matrices? I'm tasked with showing that matrix $A$ commutes with every $2\\times2$ matrix if and only if $A = \\begin{bmatrix}a & 0\\\\0 & a\\end{bmatrix}$ for some a. I was able to prove in the first direction, assuming that $A = \\begin{bmatrix}a & 0\\\\0 & a\\end{bmatrix}$, by just multiplying the matrix by $\\begin{bmatrix}a & b\\\\c & d\\end{bmatrix}$ in AB = BA format, and showing how AB does equal BA. $$ (=>)$$ $$\\begin{bmatrix}a & 0\\\\0 & a\\end{bmatrix}\\begin{bmatrix}a & b\\\\c & d\\end{bmatrix} = \\begin{bmatrix}a & b\\\\c & d\\end{bmatrix}\\begin{bmatrix}a & 0\\\\0 & a\\end{bmatrix}$$ $$\\begin{bmatrix}a^2 & ab\\\\ac & ad\\end{bmatrix} = \\begin{bmatrix}a^2 & ab\\\\ac & ad\\end{bmatrix}$$ But now I have to prove in the other direction, assuming that A already does commute with every $2\\times 2$ matrix, and I'm not particularly sure how I can do that. Somehow, I have to show that if A commutes with $\\begin{bmatrix}a & b\\\\c & d\\end{bmatrix}$, then A will be $\\begin{bmatrix}a & 0\\\\0 & a\\end{bmatrix}$, and I don't know how I can carry that out. Where can I start? Ideas are appreciated.",
"Steps to solve this system of equations: $\\sqrt{x}+y=7$, $\\sqrt{y}+x=11$",
"I'm trying to connect to a sandbox using the sfdx cli and the JWT flow through force:auth:jwt:grant. According to , we can use the same connected app information from Production to connect to our Scratch Org. Is it something that should work for sandbox too ? I'm getting a \"Failed: Not approved\" error. Connected app in sandbox comes from the refresh but has a different consumer key. The Permission set is set correctly on my user. Is there a way to connect to a recently refreshed sandbox using the JWT flow (without manually changing something like the consumer key) ?",
"The use of hyphen in consecutive compounds I am not that punctuation-savy, so I have one question for my research title. Currently it is Social crowdfunding: individual- and project-related determinants of success. Empirical investigation on Kickstarter Here I have two questions. Is it right to say individual- or just individual? Should there be a period after \"Empirical investigation on Kickstarter\"?",
"I am aware there are many questions similar to this on MSE but I am having trouble following any of the solutions given. I have the function given by $f(x) = \\dfrac{xy}{x^2+y^2}\\;$ for $(x,y)\\neq (0,0)$ and $f(0,0)=0$ I have calculated the partial derivatives and found: $$\\frac{\\partial f}{\\partial x} = \\frac{y(-x^2+y^2)}{(x^2+y^2)^2}, \\quad \\frac{\\partial f}{\\partial y} = \\frac{x(-y^2+x^2)}{(y^2+x^2)^2}$$ Now I need to show the partial derivatives exist for $(x,y) = (0,0)$. I am also asked to show it is not continuous at $(x,y)=(0,0)$, based on other answers I've seen it seems like this follows from solving the first part but I fail to see how that follows through as well. I could just copy the solutions with my function in place as I have seen a lot of answers using the definition of the derivative, but realistically I do want to understand what the thinking behind this is. Any help would be appreciated.",
"amsmath align environment: row spacing How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \\fracs in which both the numerator and the denominator consist of textual phrases, not math symbols, and the result looks too cluttered. \\begin{align*} X &= \\frac{\\textit{Some text here}}{\\textit{And some text here}}\\\\ Y &= \\frac{\\textit{Will make everything}}{\\textit{Look too close together}} \\end{align*}",
"How can I secure an Ethernet-over-power network? I just bought myself an Ethernet-over-power adapter, and plugged it in. It seems to be working great, but now I'm concerned that my neighbours may be able to access my network. I live in a rowhome complex; is it possible they can access my network? If so, how can I secure it?",
"What award did Leia give Chewie, Han and Luke? What award/medal is this - I have been searching to try and find what medal this is, but i have not found it, does anyone know what this medal/award was and why it would be given (eg- bravery, serving in the battle of Yavin)?",
"Item cannot be installed or removed until the package catalogue is repaired",
"\"compare with\" or \"compare to\" Please check both sentences and let me know, which one is correct and why? She compares me with her boyfriend. She compares me to her boyfriend.",
"Mirror modifier is not working, no mirrored object?",
"I've used \"//\" and \"\\\" to create this \"W\", and have made them into outlines, as I'm trying to give the different layers a colour, as well as having a white space where the lines touch and I would like to remove the top of the second \"\\\". I'm struggling with the white space at the moment and now I've added a stroke, the fill has decreased. Is there another way I could do this? I've also tried to use my pen tool to remove the top of the \"\\\" but when using \"Path Finder\" I cannot find an option to \"Minus Forward\". I'm a newbie so any advice would be lovely :)"
] |
medi_sts_stackexchange_dupe
|
How do I install Intel Graphics drivers under Ubuntu 17.10?
|
"Distribution not supported" when trying to install Intel Graphics Installer in Ubuntu
|
[
"Any idea why the piece of code below does not add the script element to the DOM? var code = \"<script></script>\"; $(\"#someElement\").append(code);",
"I gave a scammer my telephone number, address, and name. How bad is it? Updated question because old one was embarassing: I saw a spam email from \"PayPal\" and I didn't realize that it was a phishing attempt. I gave the phishing site my name, telephone number, and email. What could he do with them? Old question: Well, I saw a spam email, but I didn't realize that it's really a scam at first. I gave him my telephone number, address, and name. What would he do with them? Could he ruin ALL of my reputation with it?",
"To translate a vector by 10 unit in the X direction, why do we have to use a matrix? We can just add 10 to the mat[0][0], and we got the same result too.",
"Copying data over with rsync causes size discrepancies",
"I have a tag in my html like this: <h1>My Website Title Here</h1> Using css I want to replace the text with my actual logo. I've got the logo there no problem via resizing the tag and putting a background image in via css. However, I can't figure out how to get rid of the text. I've seen it done before basically by pushing the text off the screen. The problem is I can't remember where I saw it.",
"Disallow closing of questions with a certain number of question / answer upvotes With reference to this currently open question At the time of writing, it has 3 close votes yet has 7 question upvotes and the single answerer (11 upvotes) will have been awarded the enlightened badge (silver). Therefore in the opinion of many (i) the question adds value and (ii) the answer adds value. As a staring point for discussion, I suggest that 5 net question upvotes (and perhaps 5 answer net upvotes) should be enough to keep a question permanently open. Let's haggle over the numbers though. Thoughts?",
"SElinux: allow httpd to connect to a specific port My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could fix this via the command: setsebool -P httpd_can_network_connect However, I don't exactly want httpd to be able to connect to all tcp ports. How can I specify which ports/networks httpd is allowed to connect to? If I could make a module to allow httpd to connect to port 6379 ( redis ) or any tcp on 127.0.0.1, that would be preferable. Not sure why my paranoia is so strong on this, but hey... Anyone know?",
"Consider a text file with the following entries: aaa bbb ccc ddd eee fff ggg hhh iii Given a pattern (e.g. fff), I would like to grep the file above to get in the output: all_lines except (pattern_matching_lines U (B lines_before) U (A lines_after)) For example, if B = 2 and A = 1, the output with pattern = fff should be: aaa bbb ccc hhh iii How can I do this with grep or other command line tools? Note, when I try: grep -v 'fff' -A1 -B2 file.txt I don't get what I want. I instead get: aaa bbb ccc ddd eee fff -- -- fff ggg hhh iii",
"When I compile the Python code below, I get IndentationError: unindent does not match any outer indentation level import sys def Factorial(n): # Return factorial result = 1 for i in range (1,n): result = result * i print \"factorial is \",result return result Why?",
"The title says it all. I'd like to know how I can install software - an example is the Chromium web browser.",
"How do I execute for a player wearing armor with a colored name I am working on a command block contraption on my server that involves armor giving you certain potion effects. /execute if entity @p[nbt={Inventory[{Slot:100b,id:\"minecraft:leather_boots\",tag:{display:{Name:\"{\\\"text\\\":\\\"Frog Boots\\\"}\"}}}]}] run effect give @s jump_boost 1 1 true However, it only works if the boots are named in an anvil. How would I write the command if I wanted to test if the player was wearing boots named \"Frog Boots\" in bold and green text?",
"Can someone explain the layer system? I am really confused with the different uses of the terms \"Layers\" and \"Passes\" in Blender. Can someone please explain how they work in Blender. I know about Render Passes like AO, Diffuse and so on, but there seems to be a confusion with layers. Also, how do the layer buttons work in the properties panel like in the image shown? I get it that you can assign objects onto certain layers, but whats the difference between \"Scene\" and \"Layer\" buttons in the image? How do they refer to rendering? How can you see what layer a certain object is on?",
"Knots in Smoothing Splines In , there's this line under the section describing Smoothing Spline's tuning parameter $\\lambda$: In fitting a smoothing spline, we do not need to select the number or location of knots - there will be a knot at each training observation, $x_1,...,x_n$. But, in my opinion wouldn't that be overfitting? Reason for such a claim: If there are more points which act as knots in the Spline fit, then the range for each slot for fitting is very small. Thus each change in the data, is recognized and imititated in the fit. Thus fitting the changes, which are random, and do not mean anything. Thus overfitting. Possibilities: We know that cubic splines and Smoothing splines are different. The basic differences are: Smoothing splines try to minimize the function $$\\sum_{i=1}^n(y_i-g(x_i))^2+\\lambda\\int g''(t)^2dt$$ Smoothing splines shrink the parameters. Moreover, Smoothing Splines are basically natural cubic splines, and thus they're smooth too. So, how can these differences( and properties) save the Smoothing Spline from overfitting? Is there anything else that I'm missing here?",
"Is it safe to knowingly buy an oversized (67-inch) suitcase? Are size limits enforced?",
"Getting the starting shortcut in c#",
"How does IPv4 Subnetting Work? This is a about IPv4 Subnets. Related: How does Subnetting Work, and How do you do it by hand or in your head? Can someone explain both conceptually and with several examples? Server Fault gets lots of subnetting homework questions, so we could use an answer to point them to on Server Fault itself. If I have a network, how do I figure out how to split it up? If I am given a netmask, how do I know what the network Range is for it? Sometimes there is a slash followed by a number, what is that number? Sometimes there is a subnet mask, but also a wildcard mask, they seem like the same thing but they are different? Someone mentioned something about knowing binary for this?",
"I searched around, and currently there are two methods suggested; installing an enhancement for Windows Subsystem for Linux and installing an XServer. I want to know which method is the most hassle-free (easy to install AND to use), and which one is less memory-heavy. I just want Synaptic and CMake. Why couldn't that be a builtin feature?",
"not working in Phonegap app on Android 2.3.3",
"Another problem from quora. What can be said about $v =\\prod_{s=2}^{\\infty} \\zeta(s) $? Wolfy says that $v \\approx 2.294856591673313794183 $. The Inverse Symbolic Calculator () finds nothing. Here are the close values: $2294856391585950 = (0064) sum((7/6*n^3-3*n^2+65/6*n-3)/(Fibo(n)+1),n=1..inf)\\\\ 2294856397653578 = (0001) GAM(5/6)*BesI(1,2)^{GAM(7/12)}\\\\ 2294856469349552 = (0006) 1/4357571\\\\ 2294856473388934 = (0324) 1/10*(10+14^{1/2}*10^{1/4})^{1/2}*10^{3/4}\\\\ 2294856488490537 = (0001) BesJ(0,1)^{GAM(1/3)/GAM(5/12)}\\\\ 2294856524215021 = (0314) sin(Pi*8/45)-sin(Pi*14/51)\\\\ 2294856591673313 \\text{ would be here}\\\\ 2294856740350177 = (0011) sum((2*n^3-5*n^2+22*n-14)/(n!+2),n=1..inf)\\\\ 2294856991319600 = (0324) 23^{1/2}/(12^{3/4}-3^{2/3})^{1/2}\\\\ 2294857017919943 = (0001) Feig2*Li4(1/2)/GAM(5/6)\\\\ 2294857089879260 = (0248) F(11/26;27/50;1) \\\\ 2294857493303450 = (0404) Psi(1/21)+Psi(19/21)+Psi(13/14)\\\\ $ I tried using Euler's zeta product and partition sum, but this didn't seem to help. Here is what resulted: $\\zeta(s) =\\dfrac1{\\prod_p (1-p^{-s})} $. $\\begin{array}\\\\ v &=\\prod_{s=2}^{\\infty} \\zeta(s)\\\\ &=\\prod_{s=2}^{\\infty} \\dfrac1{\\prod_p (1-p^{-s})}\\\\ &=\\prod_{s=2}^{\\infty} \\prod_p\\dfrac1{ (1-p^{-s})}\\\\ &= \\prod_p\\prod_{s=2}^{\\infty}\\dfrac1{ (1-p^{-s})}\\\\ \\end{array} $ Euler's product identity states that $\\prod_{n=1}^{\\infty}\\dfrac1{1-zx^n} =\\sum_{n=1}^{\\infty} \\dfrac{x^nz^n}{\\prod_{k=1}^n(1-x^k)} $. Putting $x=z=\\dfrac1{p} $, $\\prod_{n=2}^{\\infty}\\dfrac1{1-p^{-n}} =\\sum_{n=1}^{\\infty} \\dfrac{p^{-2n}}{\\prod_{k=1}^n(1-p^{-k})} $. That's as far as I can go.",
"As I was trying to validate our pcb design, I measured the impedance matching on the digital transmission lines, and got stuck with the oscilloscope not showing what I expected. We are using the PicoScope 4227, but I suspect that the strange measurement is not directly related to the specific oscilloscope but more to general on how to measure digital signals. My setup is as follow: I measure the output-pin of an FPGA with both oscilloscope input A and B. Input A (blue) is measured using the oscilloscope probe set to x10. Input B (red) is measured using a 50-ohm coxial cable terminated at the scope input with 50-ohm. As you can see, Input B seems correct, no reflection ect. But Input A (the probe) has some overshoot, and ringing. The probe should be calibrated and valid to 250MHz, so I don't get was is wrong. ? I suspect that the small probe-clip adds some inductance, and therefore we see the ringing. But I really don't know. EDIT After reading your answers, I walked got into our lab storage and started looking, and found a probe GND clip like the one showed in the answer below. When I use that clip, I get the output below. Which is really a huge improvement."
] |
medi_sts_stackexchange_dupe
|
Use pgfplots to plot a single column .txt file
|
Plot a data/Table from Mathematica using `pgfplots`
|
[
"Why do different humans look different? Although farmers appear to be able to tell their cows apart, cows look very much alike to me. And this similarity in appearance seems to be a general trait across the animal kingdom: one individual of one animal species looks much like another. Why do human facial and body shapes vary so much? I understand that human beings live in many different environments (e.g. hot and cold) and have adapted to these (e.g. through lighter or darker skin color), but there seems to be much variation that has no apparent evolutionary purpose. So does the difference have a purpose in itself? That is, did we evlove to vary in appearance, and what is the purpose of this variation?",
"The more I use Stack Exchange, the more it is getting a knowledge-base for me. All questions, that I need for later reference I mark as favorite. Now I need to store these pages locally on my laptop. It is really time-consuming: I could use Ctrl+S on each favorite question page on Linux: there could be a solution with wget -N -r -l 1 "https://stackoverflow.com/users/1069083/rubo77?tab=favorites" this will download all favorite questions but it creates no correct index.html Another approach would be to use the to automatically follow into all your Stack Exchange-accounts. But that would have to be somehow limited to only favorites links on your in each stack. cross-platform: You would need a firefox-plugin that downloads links recursively but only within the favorite-area of the in your stack Additionally, I would like to and",
"Javascript function only works if there's an alert",
"Possible bug in hypergeometric function AppellF1",
"Why is human vision restricted to 400-700 nm? Across the electromagnetic spectrum, 400-700 nm is a narrow spectrum of frequencies and focused in the region of short wavelengths. For example, radio waves cover a large range of frequencies unexploited by the visual system. So what biological reason is there that evolved us to use such a small frequency bandwidth for vision?",
"When I visit I see this: The \"Congratulations! You've earned (badge)\" section has dropped down completely beneath the tabs under it. The \"You've earned a new privilege!\" section has a gap at the bottom: Shog9 says in comments how to reproduce this: Gotta have earned a badge, not dismissed the notification, and be looking at your own profile.",
"Why don't C++ compilers define operator== and operator!=? I am a big fan of letting the compiler do as much work for you as possible. When writing a simple class the compiler can give you the following for 'free': A default (empty) constructor A copy constructor A destructor An assignment operator (operator=) But it cannot seem to give you any comparison operators - such as operator== or operator!=. For example: class foo { public: std::string str_; int n_; }; foo f1; // Works foo f2(f1); // Works foo f3; f3 = f2; // Works if (f3 == f2) // Fails { } if (f3 != f2) // Fails { } Is there a good reason for this? Why would performing a member-by-member comparison be a problem? Obviously if the class allocates memory then you'd want to be careful, but for a simple class surely the compiler could do this for you?",
"This is my attempt to prove that, if $a > 0$, then $\\frac{1}{a} > 0$, using just field and order axioms. $$a > 0 \\implies a \\cdot \\left(\\frac{1}{a}\\right)^2 > 0 \\cdot \\left(\\frac{1}{a}\\right)^2 \\implies a \\cdot \\left(\\frac{1}{a}\\right)^2 > 0 \\implies a \\cdot \\left(\\left(\\frac{1}{a}\\right) \\cdot \\left(\\frac{1}{a}\\right)\\right) > 0$$ By associativity of multiplication: $$\\left(a \\cdot \\left(\\frac{1}{a}\\right)\\right) \\cdot \\left(\\frac{1}{a}\\right) > 0$$ We know that $a \\cdot \\left(\\frac{1}{a}\\right) = 1$, because one is the multiplication inverse of the other. So we have: $$1 \\cdot \\left(\\frac{1}{a}\\right) > 0 \\implies \\frac{1}{a} > 0 $$ Which is what we wanted to prove. My question are: In the field axioms, there's no axiom that says that $0$ times another number is $0$, but I have used this property. How would you translate it to field and order axioms? I have assumed that $\\left(\\frac{1}{a}\\right)^2$ is positive, have you noticed? Note that I need a positive number in order not to change the $>$ sign. But this is not present in the field or order axioms. How would you explain this?",
"Boot error > no such device: grub rescue After an installation of Ubuntu 12.04, erasing an old partition with Ubuntu 10.10, I can't get grub to load. I can't access my Windows 7 partition either I get the message: > error: no such device: 58ABF29C... grub rescue> I suppose my master boot record got erased/corrupted. How can I check and fix this?",
"Write to FIFO only if it exists",
"find() function in python2.7.5",
"I shall assume that the sun is at rest, so before the half mass disappear, the orbit of earth is an ellipse.",
"Too many blanks between summation symbol and its associated expression",
"How to fix pagination for custom loops? I have added a custom/secondary query to a template file/custom page template; how can I make WordPress use my custom query for pagination, instead of using the main query loop's pagination? Addendum I have modified the main loop query via . Why isn't pagination working, and how do I fix it?",
"Robocall claiming to be IRS saying they are about to sue - Is it legit? We got a recorded call with a message claiming to be from the IRS. It said they were giving final notice and preparing to file a lawsuit against us. In our case, the message went to voicemail so the end was cut off, but it seemed like a scam all the way. (We don't have any pending problems with the IRS as far as we know.) The question was whether this is a known scam?",
"Statements equivalent to the Axiom of Choice The Axiom of Choice reads: The product of a collection of non-empty sets is non-empty. As you know well, this axiom is equivalent to many other statements. A few examples (probably the most known) are the following: Zorn's lemma: Let $(P,\\ge)$ be a poset in which every chain has an upper bound. Then $P$ has a maximal element. This is used in a number of different places to prove very powerful theorems. A couple of examples I can think of right now are: the proof that every ring has a maximal ideal (commutative algebra) and the (functional analysis). Well ordering theorem: Every set can be well-ordered (i.e. it admits a total order such that every subset has a least element). Tychonoff's theorem: Every product of compact topological spaces is compact. This is used for example in the proof of (again functional analysis). gives various more. Among them: Tarski's theorem: If $A$ is an infinite set, then there is a bijection $A\\to A\\times A$. (As @Wicht dutifully commented, Tarski's theorem is the name given to the implication $|A|=A\\times A \\Rightarrow$ Axiom of Choice, while the other implication was known before the proof of this fact by Tarski.) Every vector space has a basis. My question is: what are other useful statements which are equivalent to the axiom of choice? Where are they used, and to prove what? P.s.: By \"useful statements\" I mean either statements which are important theorems by themselves (as Tychonoff's theorem) or that are directly used in (simple versions of) the proof of important theorems (as Zorn's lemma).",
"Is there any actual written dialog for the astromech droids? When R2-D2 and BB-8 converse in The Force Awakens for example, is there any written record of what the two characters were saying to each other? I mean actual dialog, if it exists, and not something like ”BB-8 beeps excitedly”.",
"Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands: \\bibliographystyle{plain} \\bibliography{thebibliography} Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file.",
"Does commutativity imply Associativity? Does commutativity imply associativity? I'm asking this because I was trying to think of structures that are commutative but non-associative but couldn't come up with any. Are there any such examples? NOTE: I wasn't sure how to tag this so feel free to retag it.",
"Consider the following piece of Markdown code: This is some regular text. >>> def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... * This is a list item. >>> def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... Notice that the second code block is preceded by a list item. Why is the factorial code not properly formatted under these circumstances? To demonstrate the problem, I'll insert the Markdown code show above: This is some regular text. >>> def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... This is a list item def factorial(n): ... return 1 if n < 2 else n * factorial(n - 1) ... This applies to numbered as well as unnumbered lists."
] |
medi_sts_stackexchange_dupe
|
Visitor automagically transported to Original Question: Status by design or fluke?
|
Automatically redirect anonymous user from unanswered duplicate question to corresponding answered version
|
[
"Creating bash scripts that take arguments",
"I am looking for a package to create bullet gauge graphs, but I couldn't find any. A bullet graph looks like this: and an ample description/specification can be found It is available in Mathematica 9 () Is it possible create this kind of graphs in a easy way with TeX (like Matehmatica 9 or similar)?",
"Optimizing logical sector size for physical sector size 4096 HDD",
"Similar to '', is it also ok to add an example? I was going to but I noticed that one answer had most of the things I needed to say, except perhaps that the questioner didn't perhaps understand the answer and I feel that an example may help.",
"How do you document your databases?",
"Why Dumbledore kept mum until the very end of the \"Deathly Hallows\"?",
"Most of the time, it should be really easy to determine who is my ally and who is not. The people who try to kill me are most likely my foes, whereas the people who entered the dungeon with me are probably my allies. But sometimes it’s not that simple. What if one of my party members got replaced by an evil doppelganger, who plans to kill me in the near future? What if one of my allies infiltrated the court of the evil king and I accidentally have to fight her, while she is (unbeknownst to me) under the effect of a spell? What if a character fell in love with the BBEG and just wants to save him from himself, while the BBEG hates the character and actively tries to murder him? Most spells and abilities that affect others specify the targets as “creatures” or “willing creatures”. Some explicitly affect allies only. That’s why I want to know, how to determine who’s allied with whom. Do I have to think that someone is my ally for someone to count as my ally? Does someone else have to believe to be my ally in order to count? Do both of us have to agree on being allies? Is there an objective observer who determines who’s allied? Can Person A be the ally of Person B, while Person B is not the ally of Person A? There are many examples for spells/abilities that care about allies, among others: the Exalted Champion feature from the (SCAG, p. 132-133), that grants allies within 30 feet advantage on Wisdom saving throws. the Inspiring Surge feature from the (SCAG, p. 128), that allows one or two allies within 60 feet to make a melee weapon attack as a reaction. With features like this, you could accidentally affect someone who’s not actually your ally. You could fail to affect someone who is actually your ally, but you don’t know it (yet). Or you could affect someone who doesn’t want to be affected (because they don’t want to be allied with you). This all depends on the interpretation of the word “ally”. I’m not sure if \"ally\" is a defined game term (but I don’t think so), or if I have to rely on the dictionary definition. That’s why I want to ask: How do I determine who’s allied with whom?",
"Travel to Australia with new passport (with visa in old passport) I was granted a visa to Australia few months ago. I’d like to travel to Australia in few days. However, I’ve just renewed my passport and I don’t have enough time to inform them about my passport renewal. Can I travel to Australia by carrying both my old and my new passports?",
"I've been to South Korea a few times already and always enjoy it but I've always had an onward ticket before. Now I need to fly home from a trip that's lasted over a year, but I still want to take my time and keep my options open. There's a good choice of cheap flights from Istanbul to Seoul and from Seoul I can't decide yet whether to fly straight home or take a ferry to China, hitchhike to Guangzhou, and get a cheap flight home from there. I can't really just buy the China-Australia flight now because I'm not sure yet whether I'll be able to get the Chinese visa easily enough or how long my remaining money will last. I know Korea, like most countries, has rules saying you need an onward ticket, but in my experience many countries never try to verify that you have this ticket unless you fit some profile. So in this instance I would find first-hand knowlegde much more informative that pointers to a government website. In practice does South Korea admit tourists with one-way tickets?",
"Proving by induction that $1^3 + 2^3 + 3^3 + \\ldots + n^3 = \\left[\\frac{n(n+1)}{2}\\right]^2$ Need guidance on this proof by mathematical induction. I am new to this type of math and don't know how exactly to get started. $$ 1^3 + 2^3 + 3^3 + \\ldots + n^3 = \\left[\\frac{n(n+1)}{2}\\right]^2 $$",
"Max or Default? What is the best way to get the Max value from a LINQ query that may return no rows? If I just do Dim x = (From y In context.MyTable _ Where y.MyField = value _ Select y.MyCounter).Max I get an error when the query returns no rows. I could do Dim x = (From y In context.MyTable _ Where y.MyField = value _ Select y.MyCounter _ Order By MyCounter Descending).FirstOrDefault but that feels a little obtuse for such a simple request. Am I missing a better way to do it? UPDATE: Here's the back story: I'm trying to retrieve the next eligibility counter from a child table (legacy system, don't get me started...). The first eligibility row for each patient is always 1, the second is 2, etc. (obviously this is not the primary key of the child table). So, I'm selecting the max existing counter value for a patient, and then adding 1 to it to create a new row. When there are no existing child values, I need the query to return 0 (so adding 1 will give me a counter value of 1). Note that I don't want to rely on the raw count of child rows, in case the legacy app introduces gaps in the counter values (possible). My bad for trying to make the question too generic.",
"Creating a query that uses criteria from two tables?",
"$ which echo echo: shell built-in command. $ which ls /bin/ls $ which cat /bin/cat Why is echo not an independent utility like ls, ps, cat etc? Why is it shell specific? Any good reasons?",
"Can I nohup/screen an already-started process? I'm doing some test-runs of long-running data migration scripts, over SSH. Let's say I start running a script around 4 PM; now, 6 PM rolls around, and I'm cursing myself for not doing this all in screen. Is there any way to \"retroactively\" nohup a process, or do I need to leave my computer online all night? If it's not possible to attach screen to/nohup a process I've already started, then why? Something to do with how parent/child proceses interact? (I won't accept a \"no\" answer that doesn't at least address the question of 'why' -- sorry ;) )",
"Association Reputation Bonus on preexisting sites",
"Is it possible to trade Pokemon from the 1st generation games to the most recent ones?",
"Speed of light in a gravitational field?",
"Can we mix dual-rank and single-rank DDR4 RAMs",
"I'm trying to write a page that calls PHP that's stored in a MySQL database. The page that is stored in the MySQL database contains PHP (and HTML) code which I want to run on page load. How could I go about doing this?",
"in bash I have some jobs running, in background. They are always producing random irrelevant error messages that pollute the terminal. I am not always so prompt to start them with the 2>&1 > /dev/null redirect. How can I redirect the output when they are already running?"
] |
medi_sts_stackexchange_dupe
|
generate log .txt file on PC for arduino serial terminal log (send and receive commands)
|
Saving Arduino sensor data to a text file
|
[
"In Minecraft, you can only build up to a certain height limit (which is something around 256). However, if a player uses mods/hacks to go above the limit (Or simply goes into Creative Mode), then they can go above the height limit. How high is the player height limit in Minecraft? Is there even a limit to it? I've tried testing this myself, but my thumb started hurting when I reached Y= 1000.",
"I'm trying to wire up 6 RGB LEDs in parallel, all controlled from a single source (well, three sources, one for each colour). The LEDs came supplied with resistors to limit the current of 270 Ohm for a 5v supply. The problem is, 6 LEDs x 3 colours = 18 resistors, which is a lot, and means I need a much bigger board and a lot more soldering. So, can I instead wire the LEDs in parallel with each other, with a single resistor protecting all six? (3 resistors in total, one for each colour). How do I calculate the value of that resistor? More details: The LEDs are being driven from a to supply a bit of current, which is in turn controlled by a Netduino providing a PWM signal on the three channels. . If I've correctly understood the data sheet they want 20mA of current, and forward voltages of 2, 3, 3 volts (for R,G and B respectively?). The supplied resistors were all 270 Ohm, so the channels may not be balanced quite right. For extra credit: I'm only using 3 of the transistors in my driver chip, which has 8 in total. could I wire the PWM from the netduino to a second trio of transistors, and split the LEDs into two groups of three? Is it worth the effort? PS I don't have any diagramming tools to hand, but I can provide a diagram (drawn in paint) if it would help clarify my question. (see also )",
"What is \"my guy syndrome\" and how do I handle it? I've been reading forum posts and blogs who mention \"my guy\" syndrome as a specific type of difficult player, but I can't seem to find a solid definition for the term. Can someone explain this particular kind of problem player to me? How do you deal with this kind of problem?",
"Many To many for Bulk records I have created two custom objects (A and B)and a junction object(AB). i.e. Both A and B have Many to Many relationship. Now I need to insert 5000 records. How can I automatically populate the relation in Junction object. DO I have to write any trigger or Do I have to do Manually mapping the records?",
"The range of $T^*$ is the orthogonal complement of $\\ker(T)$ How can I prove that, if $V$ is a finite-dimensional vector space with inner product and $T$ a linear operator in $V$, then the range of $T^*$ is the orthogonal complement of the null space of $T$? I know what I must do (for a $v$ in the range of $T^*$, I have to show that $v\\perp w$ for every $w$ in $\\ker(T)$ and then do the opposite), but I don't know how to show that this inner product is zero.",
"How are digital movies sent to a movie theater? For many years, movies were stored on rolls of film that were physically mailed to theaters. Now, most theaters project their movies digitally. But how are these digital movies sent to the theater? Do they mail a hard drive to the theater? Do they give the theater a username and password to a super secret website where they can download it? How does it get there?",
"Could the Infinity Gauntlet be used to make two people fall in love with each other? I am wondering if there is anything in Marvel comic book canon or in the MCU that says that the Infinity Gauntlet has the power to make someone fall in love with the person wearing the Infinity Gauntlet, or that the wearer of the Infinity Gauntlet can use the Infinity Gauntlet to make two strangers fall in love with each other? Perhaps the combined power of the Mind Stone and the Soul Stone would make two people fall in love.",
"Are there any programs that will let me dictate (speech-to-text) to any program? Or at least to a text editor and text fields in Firefox. I’m not interested in anything that uses an online service, it has to be on-device. It may be a commercial product.",
"How do you return from 'gf' in Vim I am using Vim for windows installed in Unix mode. Thanks to this site I now use the gf command to go to a file under the cursor. I'm looking for a command to either: return to the previous file (similar to Ctrl+T for ctags), or remap gf to automatically launch the new file in a new window.",
"Hydrogen radial wave function infinity at $r=0$ When trying to solve the Schrödinger equation for hydrogen, one usually splits up the wave function into two parts: $$\\psi(r,\\phi,\\theta)= R(r)Y_{\\ell,m}(\\phi,\\theta).$$ I understand that the radial part usually has a singularity for the $1s$ state at $r=0$ and this is why you remove it by writing: $$R(r) = \\frac{u(r)}{r}$$ But what is the physical meaning of $$R(r=0) = \\infty~?$$ Wouldn't this mean that the electron cloud is only at the centre of the atomic nucleus?",
"What causes the tension in the strap between Dr. Ryan and Matt? In the scene where Dr. Ryan Stone's (Sandra Bullock) leg is entangled in Soyuz's parachute cords and she is tethered with Matt Kowalski (George Clooney) through a strap, there is tension in the strap, suggesting act of some external force. Where is this force coming form that is causing tension in the strap and pushing both Dr. Ryan and Matt outwards? I'm guessing that the tension might be coming from centrifugal force, but immediate events before this scene, as well as other parts of ISS in same scene do not suggest presence of such force (or presence of any kind of rotation).",
"Compact space and Hausdorff space A continuous map from a compact space to a Hausdorff space is closed. Why this is true? Help me please I want to learn why this is correct.",
"Suggested edit review should show custom rejection reasons Somewhat similar to , but rather more limited: when Rejecting an edit, not only the count of custom rejection reasons but the actual text of the reasons should be shown, IMO. Just now I on SO that tidied some code in a trivially correct and substantially superior way because it looked perfectly legitimate and I couldn't understand why anyone would bother with a custom rejection reason. As it turned out, it was code in a question, of course. In this case, the rejection reason correctly identified the problem, and had I seen it, I would have been reminded of that aspect I had neglected to check.",
"Using modulo operation to draw graph",
"Moving users folder on Windows Vista/7 to another partition When I format the computer and reinstall Windows, my first step is move the My Documents folder to another partition. In Windows XP it wasn't enough because the desktop folder and another user folders was in the primary partition. Now in Windows Vista and 7 we can use junctions/symlinks to \"move\" the folder to another partition and Windows and another programs will think that the data is in the primary partition. What the fastest and secure steps to move the Users folder to another partition and to create the hardlinks correctly?",
"How to make text aligned left/center/right in the same line?",
"SOQL results returning RecordTypeId which is not included in query",
"This is a question that's been nagging me for some time. I always thought that C++ should have been designed so that the delete operator (without brackets) works even with the new[] operator. In my opinion, writing this: int* p = new int; should be equivalent to allocating an array of 1 element: int* p = new int[1]; If this was true, the delete operator could always be deleting arrays, and we wouldn't need the delete[] operator. Is there any reason why the delete[] operator was introduced in C++? The only reason I can think of is that allocating arrays has a small memory footprint (you have to store the array size somewhere), so that distinguishing delete vs delete[] was a small memory optimization.",
"I have to give a combinatorial proof of $$\\sum_{k=1}^nk{n\\choose k}^2=n{2n-1\\choose n}.$$ I find it difficult to solve such problems. I'm not a brilliant person and never will be so I need to have algorithms to solve most problems. Usually I won't just \"see\" solutions unless I have a thorough enough understanding of a theory. This is also the case here. I know what the symbols mean, but I don't see what I should count and how to obtain the identity. I think the right-hand side counts $n$-element subsets of a $(2n-1)$-element set with one element chosen to be \"special\". I think I should find a partition of the set of such subsets into $n$ parts so that the left-hand side is the sum of the cardinalities of the parts. Is there $n$ of anything on the right-hand side? Well, there are $n$ choices for the \"special\" elements, but only after I've chosen the $n$-element subset. Otherwise I can choose the \"special element\" in $2n-1$ ways. This is a homework problem so I probably shouldn't ask for a full solution. But I would like to have some guidelines for approaching such problems, perhaps based on this example.",
"I've followed this tutorial to install Ubuntu 15.10: After restarting my computer I got to the grub menu and chose Ubuntu. Shortly after that I got this error: /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. These messages keep adding up on a black screen every second. After a while, I get access to the initramfs ash console. what am I doing wrong?"
] |
medi_sts_stackexchange_dupe
|
What is less bad for SEO: to have a with no heading, or to hide the heading with CSS?
|
How important are headings in SEO
|
[
"ProcessStartInfo hanging on \"WaitForExit\"? Why? I have the following code: info = new System.Diagnostics.ProcessStartInfo("TheProgram.exe", String.Join(" ", args)); info.CreateNoWindow = true; info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; info.RedirectStandardOutput = true; info.UseShellExecute = false; System.Diagnostics.Process p = System.Diagnostics.Process.Start(info); p.WaitForExit(); Console.WriteLine(p.StandardOutput.ReadToEnd()); //need the StandardOutput contents I know that the output from the process I am starting is around 7MB long. Running it in the Windows console works fine. Unfortunately programmatically this hangs indefinitely at WaitForExit. Note also this code does NOT hang for smaller outputs (like 3KB). Is it possible that the internal StandardOutput in ProcessStartInfo can't buffer 7MB? If so, what should I do instead? If not, what am I doing wrong?",
"In Interstellar, what do Murph and NASA do to save humanity after solving Brand's equation? Do they get the entire human race on giant space ships and transport them to a habitable planet? (How exactly do they do this?) If yes, is this habitable planet Edmunds' (the one that Amelia lands on)?",
"SUB-TREE WITHIN A TREE in MySQL In my MYSQL Database COMPANY, I have a Table: Employee with recursive association, an employee can be boss of other employee. A self relationship of kind (SuperVisor (1)- SuperVisee (∞) ). Query to Create Table: CREATE TABLE IF NOT EXISTS `Employee` ( `SSN` varchar(64) NOT NULL, `Name` varchar(64) DEFAULT NULL, `Designation` varchar(128) NOT NULL, `MSSN` varchar(64) NOT NULL, PRIMARY KEY (`SSN`), CONSTRAINT `FK_Manager_Employee` FOREIGN KEY (`MSSN`) REFERENCES Employee(SSN) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; I have inserted a set of tuples (Query): INSERT INTO Employee VALUES (\"1\", \"A\", \"OWNER\", \"1\"), (\"2\", \"B\", \"BOSS\", \"1\"), # Employees under OWNER (\"3\", \"F\", \"BOSS\", \"1\"), (\"4\", \"C\", \"BOSS\", \"2\"), # Employees under B (\"5\", \"H\", \"BOSS\", \"2\"), (\"6\", \"L\", \"WORKER\", \"2\"), (\"7\", \"I\", \"BOSS\", \"2\"), # Remaining Leaf nodes (\"8\", \"K\", \"WORKER\", \"3\"), # Employee under F (\"9\", \"J\", \"WORKER\", \"7\"), # Employee under I (\"10\",\"G\", \"WORKER\", \"5\"), # Employee under H (\"11\",\"D\", \"WORKER\", \"4\"), # Employee under C (\"12\",\"E\", \"WORKER\", \"4\") The inserted rows has following Tree-Hierarchical-Relationship: A <---ROOT-OWNER /|\\ / A \\ B F //| \\ \\ // | \\ K / | | \\ I L H C / | / \\ J G D E I written a query to find relationship: SELECT SUPERVISOR.name AS SuperVisor, GROUP_CONCAT(SUPERVISEE.name ORDER BY SUPERVISEE.name ) AS SuperVisee, COUNT(*) FROM Employee AS SUPERVISOR INNER JOIN Employee SUPERVISEE ON SUPERVISOR.SSN = SUPERVISEE.MSSN GROUP BY SuperVisor; And output is: +------------+------------+----------+ | SuperVisor | SuperVisee | COUNT(*) | +------------+------------+----------+ | A | A,B,F | 3 | | B | C,H,I,L | 4 | | C | D,E | 2 | | F | K | 1 | | H | G | 1 | | I | J | 1 | +------------+------------+----------+ 6 rows in set (0.00 sec) [QUESTION] Instead of complete Hierarchical Tree, I need a SUB-TREE from a point (selective) e.g.: If input argument is B then output should be as below... +------------+------------+----------+ | SuperVisor | SuperVisee | COUNT(*) | +------------+------------+----------+ | B | C,H,I,L | 4 | | C | D,E | 2 | | H | G | 1 | | I | J | 1 | +------------+------------+----------+ Please help me on this. If not query, a stored-procedure can be helpful. I tried, but all efforts were useless!",
"How do I select all but two types of entities in Minecraft with the type selector? I've asked this question towards a developer for Minecraft and I thought I'd ask here too since they might not see the question. How do I select all but two types of entities in Minecraft? For example, something like: /say @e[type=![Player,Item],r=50] (to clarify I also tried type=Item,Player, type=Item,type=Player etc) Should select any entity that does not match players or items, so things like Creepers, Ghasts, XPOrbs, PrimedTNT and so on within a radius of 50 blocks and print them to the chat. Instead it ignores one of the flags, and works with the other instead.",
"Adding Favorites to the Stack Exchange global inbox We're considering adding favorite notifications to the global inbox, and are looking for feedback on the idea (as we're not completely sold on it). But first, some history. Favorites are kind of like bookmarks, in that they're kept in a handy centralized place. They also follow you across browsers. Ok, ok... \"bookmarks, on the internet\" is not the most compelling feature, but Favorites also opted you into notices for those questions as if you were the owner (edits and new answers, at least). This was probably the most confusing part (though a feature) of the old envelope behavior judging by erroneous bug reports, so a way to opt out of this . Now, favorite updates go nowhere. But we could* put them into the inbox. Here's how we envision this feature working: Every current user has their \"notify me on favorite changes\" preference cleared (new users start with it cleared). The first time someone favorites a question, they're prompted to opt-in to favorite notices. Whenever a question is commented on or answered (or, possibly, edited) a new notice is pushed into the inbox of users who have favorited it, and have opted in. Opt-in would be per-site, and it would remain possible to opt-out from your profile page. This is not a final design, but the basic idea is correct As I mentioned above, we're not 100% sold on this idea. We've had a policy to date that nothing goes into the inbox that isn't specifically targeted at a user; this would be tweaking that policy. *We could also put changes into their tab on the user page, but that reduces their visibility.",
"mysql_fetch_array does not retrieve all rows",
"Create an instance of a class from a string",
"Prove by mathematical induction that: $\\forall n \\in \\mathbb{N}: 3^{n} > n^{3}$ Prove by mathematical induction that: $$\\forall n \\in \\mathbb{N}: 3^{n} > n^{3}$$ Step 1: Show that the statement is true for $n = 1$: $$3^{1} > 1^{3} \\Rightarrow 3 > 1$$ Step 2: Show that if the statement is true for $n = p$, it is true for $n = p + 1$ The general idea I had was to start with $(p+1)^{3}$ and during the process substitute in $3^{p}$ for $p^{3}$ as an inequality. $$(p+1)^{3} = p^{3} + 3p^{2} + 3p + 1 < 3^{p} + 3p^{2} + 3p + 1$$ Now, if it can be shown that: $$\\forall p \\in \\mathbb{N}: 3p^{2} + 3p + 1 \\leq 2 \\cdot 3^{p}$$ ...the proof is complete. This is because $3^{p+1} = 3 \\cdot 3^{p}$ and one of those three have already been used. We do this by mathematical induction. First, the base case of $n = 1$: $$3\\cdot 1^{2} + 3 \\cdot 1 + 1 \\not \\leq 2 \\cdot 3^{1}$$ ..which turns out to be false. What are some more productive approaches to this step?",
"How can I test if a RegEx matches a string exactly? var r = /a/; r.test(\"a\"); // returns true r.test(\"ba\"); // returns true testExact(r, \"ba\"); // should return false testExact(r, \"a\"); // should return true",
"I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures). I'd like to cover such situations: If your disk contains other systems:",
"Voting on Meta sites generally express agreement and disagreement with a proposal, unlike on the Q&A sites where they indicate useful/good vs. non-useful/bad content. It seems to me that a down-vote on Meta Stack Exchange should not carry a -1 rep penalty, which only discourages down-voting. With this discouragement, questions on Meta SE will be biased towards agreement, since for every up-voter, there may be several in disagreement who don't want to lose the rep for down-voting. Can the penalty for down-voting on Meta SE be removed?",
"Is it possible to train a neural network without backpropagation? Many neural network books and tutorials spend a lot of time on the backpropagation algorithm, which is essentially a tool to compute the gradient. Let's assume we are building a model with ~10K parameters / weights. Is it possible to run the optimization using some gradient free optimization algorithms? I think computing the numerical gradient would be too slow, but how about other methods such as Nelder-Mead, Simulated Annealing or a Genetic Algorithm? All the algorithms would suffer from local minima, why obsessed with gradient?",
"Are the various \"Zelda\" games supposed to take place in a common universe?",
"Finishing a proof: $f$ is injective if and only if it has a left inverse I've already done a lot of searching (in particular: ) to try to prove this statement: $f: A \\to B$ is injective if and only if it has a left inverse. [I'm going to also assume $A$ and $B$ are nonempty.] My attempt so far: $\\Leftarrow$ Suppose $f$ has a left inverse and $f(a_1) = f(a_2)$ for $a_1, a_2 \\in A$. Then there is a function $g: B \\to A$ such that $g\\left(f(a_1)\\right) = a_1$ and $g\\left(f(a_2)\\right) = a_2$. Since $g$ is well-defined, it follows that $g\\left(f(a_1)\\right) = g\\left(f(a_2)\\right)$, and hence $a_1 = a_2$. $\\Rightarrow$Now suppose $f$ is injective. Then $f(a_1) = f(a_2) \\implies a_1 = a_2$. Furthermore, since $A$ is nonempty, there is an element $x \\in A$. Define $g: B \\to A$ by \\begin{equation*} g(b) = \\begin{cases} f^{-1}(b), & b \\in \\text{Im}(f) \\\\ x, & b \\in A \\setminus \\text{Im}(f)\\text{.} \\end{cases} \\end{equation*} This mapping is well-defined, since if $f$ is injective, $f^{-1}(b)$ is unique. My main question: does this imply that if $f: A \\to B$ is injective that any mapping $g: \\text{Im}(f) \\to A$ is bijective? Otherwise, I don't understand why we can even use $f^{-1}$ on an element. [Please read the link above for more details - in proof 1.]",
"I thought I'd post this as it illustrates a problem often encountered on ELU. In structures such as 'football manager', is 'football' a modifier or a complement of the head noun? I've seen both terms used as if there were only one possible correct answer. However, I've come across widely differing definitions of both 'modify' and 'complement' as used in grammar. I believe that people stating baldly that this is either one or the other are assuming a grammar that they prefer, rather than giving a balanced overview. Notice that I intend this question to explore the usage/s of the term 'modify' and of the term 'complement' in this context. There may be overlap with the question of which word-class 'football' fits into, but that decision hardly answers the question.",
"I'm curious whether I can find the overlap $\\langle q | p \\rangle$ knowing only the following: $|q\\rangle$ is an eigenvector of an operator $Q$ with eigenvalue $q$. $|p\\rangle$ is an eigenvector of an operator $P$ with eigenvalue $p$. $Q$ and $P$ are Hermitian. $[Q,P] = i \\hbar$. I'm asking because books and references I've looked in tend to assume that $Q$ is a differential operator when viewed in the $P$-basis, then show that it satisfies the commutation relation. (I haven't read one yet that proves that the form given for $Q$ is the only possible one.) I've heard, though, that we can work purely from the hypothesis of the commutation relation and prove the properties of $Q$ and $P$ from it.",
"My question is in the title. I'm a little lost in how to solve this problem. There is a hint associated with the problem that states the following: Use a line integral to show that $ |f(z)| \\leq A + |z| $ where A = $\\max\\{1, |f(0)|\\}$ Thanks for the help.",
"In Xubuntu 16.04.3 (and several previous versions aswell) it is not possible to have no power icon in the notification area. A power icon is displayed even though 'Show system tray icon' is unchecked in Xfce Power Manager. When 'Show system tray icon' is checked, there are two power icons displayed. (See screenshots) I've searched and I can't find any information related to this in Xubuntu/Xfce. Is there a way to fix or work around this bug?",
"I have installed a package using snap and I need to modify one of the files but when I try to change its ownership or permissions, I always get the following message: sudo chmod +x ./my_file.js chmod: changing permissions of '/snap/my_app/my_file.js': Read-only file system How can I modify files that are installed via snap?",
"Should Stack Exchange have a spam filter? (Does it already and I’m not aware?) Of course spam posts should be flagged, and if they come up in review, rejected. Over on Mi Yodeya during the past 24 hours I’ve helped delete and reject four spam posts through the review queue, and I can only imagine that others were posted over the course of the night. To clarify, I’m referring to edits and answers that were about 99.274% words that I don’t think any decent person would use in everyday discussions, even if someone got them really angry. Thing is, if the only thing we can do as a community is delete his posts/reject his edits, and as moderators to ban his account, can’t he just create a new account? Further, some of these posts . Maybe the mods can ban his IP address? I’m not one, so I have no idea what kind of power they wield in that respect. But he can always just get a new computer. I don’t have the numbers to see what this is like on other sites, but I know this doesn’t happen often on Mi Yodeya. I wonder, then, whether this is the optimal solution, or whether an automatic spam filter be put into place - say, a new review queue that automatically deletes posts or rejects edits that can then be voted on whether to be reposted if it’s a false alarm. Perhaps it can be automatically triggered by certain keywords (like ****, %$#^, or @$+^). Now, all of these posts that I voted to delete/reject came up in Suggested Edits and First Posts. Maybe such edits would show up in Low Quality in general, and that just wasn’t the case here because of precedence rules. I don’t know. But perhaps the above would be a better solution, if this is even as big of a problem as I’m making it out to be."
] |
medi_sts_stackexchange_dupe
|
Merge two datasets of different lengths, R
|
Merge two data frames while keeping the original row order
|
[
"Possible Duplicate: It's time once again to support your favorite open source project through our Free Vote-Based Advertising for Open Source Projects. We are clearing the leader boards to start the first half of 2011 anew. Here is your chance to create a . Create a graphical ad for an open source programming project and post it as an answer to this question (in the right format), and it will feed live remnant ads on Stack Overflow. Ad Requirements It must be an advertisement soliciting the participation and contribution of programmers writing actual source code. This is not intended as a general purpose ad for consumer products which just happen to be open source. It's for finding programmers who will help contribute code or other programmery things (documentation, code review, bug fixes, etc.). Your ad should be an original creation which has not previously appeared on Stack Overflow. Please do not resubmit entries that have appeared as ads on Stack Overflow in previous periods. In order to work, the answers you post to this question must conform to the following rules. Answer Template [![Tagline to show on mouseover][1]][2] [1]: http://image-url [2]: http://clickthrough-url Please do not add anything else to the body of the post. If you want to add any commentary, keep it in the comments. Image requirements The image that you create must be 220 pixels by 250 pixels Can be hosted anywhere (tinypic, twitpic, your blog); we will mirror the image locally when we serve it. Must be GIF or PNG No animated GIFs Absolute limit on file size of 150 KB The output, which ultimately will be served in an ad slot on Stack Overflow, can be previewed by clicking through to this URL: Score Threshold There is a minimum score threshold an answer must meet (currently 6) before it will be served up by that URL and shown on Stack Overflow. You can see all the ads that currently make the threshold and meet our criteria on this page: You can also view the ads that meet the threshold using 's",
"Finding a basis for a certain vector space of periodic polynomials",
"Ubuntu installation does not recognize drive partitioning I have a 1TB drive and installed Windows 7 on a 128GB partition. When I now try to install Ubuntu 11.04 it does not recognize the Windows partition but offers the complete 1TB drive to install Ubuntu on instead. It displays: However, in the Ubuntu Disk Utility the Windows partitions are recognized. What do I need to do in order for Ubuntu to recognize the Windows 7 partition and install Ubuntu as a dual boot? Response to comments The following commands were executed and the results are shown below: fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x34a38165 Device Boot Start End Blocks Id System /dev/sda1 * 1 13 102400 7 HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/sda2 13 16318 130969600 7 HPFS/NTFS Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x14a714a6 Device Boot Start End Blocks Id System /dev/sdb1 1 60801 488384001 83 Linux parted -l Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. Error: /dev/sr0: unrecognised disk label",
"In C++, sizeof('a') == sizeof(char) == 1. This makes intuitive sense, since 'a' is a character literal, and sizeof(char) == 1 as defined by the standard. In C however, sizeof('a') == sizeof(int). That is, it appears that C character literals are actually integers. Does anyone know why? I can find plenty of mentions of this C quirk but no explanation for why it exists.",
"I'm trying to find the derivative of $\\sin^{-1}(x)$. I know the steps that lead to $\\frac{1}{\\sqrt{1-x^2}}$, however I don't understand why the following reasoning leads to a wrong answer. Because $$\\frac{d}{dx}f^{-1}(x) = \\frac{1}{f'(f^{-1}(x))} $$ If we plug in for $f(x) = \\sin(x)$, and because $\\frac{d}{dx}\\sin(x) = \\cos(x)$ we get $$\\frac{d}{dx}\\sin^{-1}(x) = \\frac{1}{\\cos(\\sin^{-1}(x))} $$ Since $\\sin(x) = \\cos(x-\\frac{\\pi}{2})$, we can state that $\\sin^{-1}(x) = \\cos^{-1}(x-\\frac{\\pi}{2})$. (I suspect this is what is wrong) Thus, $$\\frac{d}{dx}\\sin^{-1}(x) = \\frac{1}{\\cos(\\cos^{-1}(x-\\frac{\\pi}{2}))}$$ Then, by the definition of inverse function, we have $$\\frac{d}{dx}\\sin^{-1}(x) = \\frac{1}{x - \\frac{\\pi}{2}}$$",
"Does \"the same number of people\" behave as singular or plural? This hurts my eyes to read it and my ears to say it, but the writer stands by About the same number of people was awarded bachelor's degrees in 2010 as filed for personal bankruptcy (1.6 million). Is the subject in this sentence singular or plural?",
"How do I run a program with commandline arguments using GDB within a Bash script?",
"What are Click packages? I noticed that Ubuntu SDK recently had some updates and it installed a program named \"Click\". I would like to know what they are and how to use them. Also, would they make Debian packaging easier?",
"I'm using a 5 V / 2 A voltage regulator () without a heatsink. I'm testing the circuit with a microcontroller (PIC18FXXXX), a few LEDs and a 1 mA piezzo buzzer. The input voltage is aprox. 24 VDC. After running for a minute, the voltage regulator starts to overheat, meaning it burns my finger if I keep it there for more than a second. Within a few minutes it starts to smell like it's burnt. Is this a normal behavior for this regulator? What could cause it to heat that much? Other components used in this circuit: L1: R2: F1:",
"Is it grammatically wrong to say It's been too hot in the last / the past few days It's been too hot for the last / the past few days I saw this following sentence also, can we omit in it? He's had two new cars in the last / in the past three years as He's had two new cars the last / in the past three years Is there a strict rule in using of preposition or non-preposition when we use the last/past ? What is the structure when I refer to weeks, months ?",
"Is there an MD5 Fixed Point where md5(x) == x? Is there a fixed point in the MD5 transformation, i.e. does there exist x such that md5(x) == x?",
"Set same icon for all my Forms Is there any way to set the same icon to all my forms without having to change one by one? Something like when you setup GlobalAssemblyInfo for all your projects inside your solution.",
"How can I instantiate a generalized hash function? I've come across a bunch of \"strange\" hash function notations, such as the following ones and now I don't know how to choose / instantiate them. Can you please explain me what this notation means and how I can actually instantiate such a hash function? The notation in question: $$H_1:\\mathcal M \\rightarrow \\mathbb F_p$$ $$H_2:\\mathcal M \\rightarrow \\mathbb Z_n^*$$ $$H_3:\\mathcal M \\rightarrow \\{0,1\\}^l$$ $$H_4:\\mathcal M_1\\times ...\\times \\mathcal M_k\\rightarrow \\mathcal S$$ where $\\mathcal M\\in\\{\\mathbb F_p,\\mathbb Z_n^*,\\{0,1\\}^*,\\mathbb G,...\\}$ where $\\mathbb G$ is a generic (but there instantiated) group and $\\mathcal S\\in\\{\\mathbb F_p,\\mathbb Z_n^*,\\{0,1\\}^l\\}$",
"Is it possible to download using the Windows command line? Without using any non-standard (Windows included) utilities, is it possible to download using the Windows command line? The preferred version is Windows XP, but it's also interesting to know for newer versions. To further clarify my question: It has to be using HTTP The file needs to be saved Standard clean Windows install, no extra tools So basically, since everybody is screaming , I want simple Wget functionality, without using Wget.",
"Is \"shined\" correct? If so, is \"he shined X on the tree\" also correct? Recently, I overhead a former professor of mine use the word shined, a word that makes me grammatically uncomfortable. She used it as following: \"Then, after we shined a light on the other ball, what happened?...\" My first question is: Is using shined mainstream, over what sounds better to my ear, shone? If so, is there any historical flip-flopping between the two usages? Secondly, if shined is in fact legit, can it be used transitively? Saying something like, The light shined all throughout the night. while odd, doesn't sound as bad to my ear as, He shined the light on the ball throughout the night. The latter sounds quite bad to my ear. Indeed, à propos the original question, can shone — the better sounding alternative to my ear — be used transitively?",
"Definitions of connected space I have seen several definitions of connected space, but I would like to discuss those from . I am concerned about these: $X$ is disconnected, if it is the union of two disjoint nonempty open sets. What about $[0,1] \\cup [2,3] $ ? It is not the union of two disjoint nonempty open sets, so it is connected? $X$ is connected, when it cannot be divided into two disjoint nonempty closed sets. What about $(0,1) \\cup (2,3) $ ? It cannot be divided into two disjoint nonempty closed sets, so it is connected? Maybe I don't understand what \"divided\" means.",
"Google Drive storage mismatch I have a paid 100GB Google Drive plan. It is reporting that I am at 99% capacity. According to the the storage both within the desktop and web application, I have used 90.53GB within Drive. My Drive is mapped to my OS X filesystem, and when fully synched it reports only 61.28GB used. So what is going on here? I need to do a cleanup but cannot account for the 30GB difference.",
"The strongest player in the game is a close ally of mine and we each founded and follow of one of the strongest two religions in the game, with little cross-over between religions within our territories. I've just spotted that he has a Great Prophet approaching my territory. According to the Civopedia they are powerful at spreading religion, and I'd rather not have a huge hit to the followers of my religion in my cities. How can I prevent another players Great Prophet from damaging the religion in my cities, preferably without causing a major diplomatic incident.",
"I have an external USB 3 disk drive (2TB capacity) that is most likely going to be moved from machine to machine. The disk has a GUID partition table and an ext4 partition. I am unable to write to the disk unless I elevate the process (sudo). As of now I am thinking of trying one or both of the following and would like to know the cons of each - chmod 777 /mnt/externalDrive chown nobody:nogroup /mnt/externalDrive If I give 777 permission and user1 (UID:1005) writes to it and I later move the disk to another computer where user7 is UID:1005, what happens? Does user7 become the owner of the file on that computer? It seems to me that I will periodically have to run chown -R nobody:nogroup /mnt/externalDrive on the disk. Is any of what I am considering an obvious bad practice? The disk will most likely contain videos, music and pictures none of it need to be protected like some financial data.",
"I would like to understand a couple of fact on maximum likelihood estimators (MLEs) for logistic regressions. Is it true that, in general, the MLE for logistic regression is biased? I would say \"yes\". I know, for example, that sample dimension is related to the asymptotic bias of MLEs. Do you know any elementary examples of this phenomenon? If the MLE is biased, is it true that the covariance matrix of the MLEs is the inverse of the Hessian of the maximum likelihood function? edit: I have met this formula quite often and without any proof; it seems a quite arbitrary choice to me."
] |
medi_sts_stackexchange_dupe
|
Use a class that is declared after in the code, in other class
|
When can I use a forward declaration?
|
[
"How to remove old device from Safari iCloud Tabs? I returned a MacBook to Apple Store, however apparently I forgot to sign out of iCloud and the latest tabs I was browsing still appear in Safari iCloud Tabs of my new MacBook and existing iPad. I removed the device from icloud.com -> Find My iPhone but it didn't work. Tabs list from my old computer is still there and I am trying to remove it from my devices list. I appreciate any ideas.",
"Missing vertices in Edit Mode",
"Is the topological product $\\Pi \\{G_\\alpha: \\alpha < \\kappa\\} $ a topological group?",
"About $\\lim \\left(1+\\frac {x}{n}\\right)^n$",
"How frequently can you ask for a personal reference without being disrespectful?",
"A mathematically mature introduction to Turing Machines and Computability [reference-request] In the computer science course for mathematicians held at my university Turing Machines have been presented very briefly. So much so that I didn't quite get why they are relevant to mathematics. I did understand what a Turing Machine is, but I feel that the presentation given was (for schedule reasons) quite naive and simplified. So I would like to ask if you can point out a good reference for a mathematically mature introduction to turing machines and computability.",
"Dynamic Object Intellisense",
"In Ruby on Rails, how do I format a date with the \"th\" suffix, as in, \"Sun Oct 5th\"? I want to display dates in the format: short day of week, short month, day of month without leading zero but including \"th\", \"st\", \"nd\", or \"rd\" suffix. For example, the day this question was asked would display \"Thu Oct 2nd\". I'm using Ruby 1.8.7, and just doesn't seem to do this. I'd prefer a standard library if one exists.",
"Simple & easy way to jail users I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an online free public server with 10 to 20 GB free space. I don't know how many users. I want to give them SSH and SFTP so that they can connect through FileZilla.",
"A command-line clipboard copy and paste utility? In Windows I used command-line clipboard copy-and-paste utilities... pclip.exe and gclip.exe These were UnixUtils ports for Windows (but they only handled plain text). There were a couple of other native Windows utilities which could write/extract any format. I've looked for something similar in Synaptic Package Manager, but I can't find anything. Is there something there, that I've missed? ... or maybe this is available in Bash scripting? The type of utility I'd like will be able to read/write via std-in/std-out or file-in/file-out, and handle Unicode, Rich Text Format, picture, etc. clipboard formats... NB: I'm not after a clipboard manager.",
"Invoking Java main method with parameters from Eclipse During development (and for debugging) it is very useful to run a Java class' public static void main(String[] argv) method directly from inside Eclipse (using the Run As context menu). Is there a similarily quick way to specify command line parameters for the run? What I do now is go to the \"Run Dialog\", click through the various settings to the tab where I can specify VM and program arguments and enter them there. Too many steps, plus I do not want to mix the more permanent runtime configuration settings with the one-off invokation parameters. What I want instead is to check a box somewhere (or have a separate menu item \"Run as Java application with command line\") and then be prompted for the commandline every time (with a nice history).",
"Book series where they collect either stones or gems I'm looking for a fantasy book I read about 10 years ago. I don't remember a lot of it, but there are a few things I still know: The setting was in medieval times. There was no traveling dimensions. I can't recall whether there was magic or not. It wasn't on Earth, but on some invented world. I believe it was a trilogy, with a focus on the son of some nobility. The goal for the characters was to collect a certain number of stones or gems (I believe there were 5 of them), all in certain colours. Every stone has a certain power attached to it. I believe it started out with one or two characters, but the group grew and every character had a certain colour stone at the end. What is important about the gems is that they are unique. It's not part of a bigger magic system, but they are artefacts from somewhere. There are some minor incidents I can recall vividly: They build up a fellowship with some stereotypical fantasy builds: an old school fighter, a minstrel, a female archer and probably more. At one point, they mention that if one of the guards in a country falls asleep on duty, he will be kept awake by his garrison/brothers in arms for seven days. At some point the minstrel falls asleep, and the old fighter teaches him how to stay awake. They travel through a forest full of leeches and other insects to reach one of the stones. Also, I seem to recall there was a member of an underground evil organisation among the nobility, who tried to poison someone and were able to do that because they built up an immunity to the poison. Does anyone has a clue what this series might be? Suggestions by kind people, but not what I'm looking for, are: The Seventh Tower Deltora Quest Diadem Westria Sword of Heavens series",
"Improve alignment of \"Learn more\" button in \"Newest badge\" popup The popup when you click on your newest badge in your user profile has a "Learn more" button, but its alignment is suboptimal; it's too close to the top of its container: It looks better with a 4px top margin:",
"When creating the id attributes for HTML elements, what rules are there for the value?",
"Want to delay startup of program but can't find it in Task Scheduler I'm trying to delay the startup of a specific program that loads at login. As per an answer in , I should be able to do it using Task Scheduler. The problem is, I can't find the program listed anywhere. Is there a particular pane I should be looking in? The program is Razer Synapse so I don't think it would be in the Microsoft or Western Digital folders. If it's not in Task Scheduler, is there another way I can delay it at startup? Out of curiosity how many ways are there for a program to be run at Startup in Windows?",
"Pollinator abundance---sampled two years, fixed or random effect? I'm trying to construct several GLMMs with my thesis data and I can't solve this question. I have data on pollinator abundance and fruit set from plant individuals (with different treatments - related to a pest infection -) sampled at six study sites (spatial replicas) and during two consecutive years (time replicas). The problem is that not all individuals (plants) were sampled in both years (because of lack of bloom). My question is: How should i use "Year", as random effect or as fixed effect? I constructed three candidate models and compared the AIC: a) Response variable ~Predictor variables + (1 | year/plant) + (1 | site/plant) b) Response variable ~Predictor variables + (1 | year) + (1 | site/plant) c) Response variable ~Predictor variables * year + (1 | site/plant) Option a) had the lowest AIC and the highest R2, but I read in some papers that is not correct use a variable with less than five levels as random effect ... so, anyone could help me?",
"How to prove floor identities?",
"Word for a person being used I'm looking for a word to describe someone who is being used. I want a noun to describe this person, not a verb or or adjective. Maybe like a pushover.",
"Is there a way to do an \"upside down\" \\widehat? I've come across this in a book I'm looking through, but I can't find the code for it. I want it to look exactly like the \\widehat and go above text like \\widehat does...I just want it to be (vertically) flipped!",
"If I squeeze something really hard, will it ever become two-dimensional?"
] |
medi_sts_stackexchange_dupe
|
Good introductory books on homological algebra
|
Good textbooks on homological algebra
|
[
"Correct use of 'with' or 'at' when talking about percentages? I'm writing the following sentence: Women lead uptake at XX%. But a friend is saying that it should be written: Women lead uptake with XX%. Which one is correct?",
"I did a dumb thing and now need to undelete some files. In fact, I have already recovered the files using , which has served me well on the other rare occasions where this has been necessary. So I have the files. The problem is that Glary and the don't preserve the original folder structure. In this case I have about 3,000 small files that I must match to their original locations in a complex nested folder hierarchy. I could see the full folder paths in Glary before the restore, so I know the information is there; it's just not using that information and copying everything to root of my designated destination, rather than relative to the original location.",
"Altium: How can I edit a component from a library",
"When viewing a question, when I hover over the star icon (under the voting module) the tooltip says I've made it a favorite when I haven't yet.",
"Why does the natural ring homomorphism induce a surjective group homomorphism of units? I'm trying an old problem here: Suppose $n\\mid m$, and I have a natural ring homomorphism $\\varphi\\colon \\mathbb{Z}/m\\mathbb{Z}\\to\\mathbb{Z}/n\\mathbb{Z}$ defined by $\\varphi(j)=j\\mod{n}$. I can verify that this is a ring homomorphism, but why does it induce a surjective group homomorphism on the unit groups $(\\mathbb{Z}/m\\mathbb{Z})^\\times\\to(\\mathbb{Z}/n\\mathbb{Z})^\\times$? My question in particular is why is it surjective? I take $k\\in(\\mathbb{Z}/n\\mathbb{Z})^\\times$. Then there exist integers $s,t$ such that $sn+tk=1$. Since $n\\mid m$, I can also write $m=na$. So multiplying through I get $sm+tka=a$. I'm lost here. How can I find a unit in $(\\mathbb{Z}/m\\mathbb{Z})^\\times$ which maps to $k$ to show surjectivity?",
"Alternative IDE for VB6 and VBA I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app. Does anyone know of an alternative/ updated IDE for VB6? A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase.",
"Show that AB is singular if A is singular Actually I need to show that $\\det(AB) = \\det(A)\\det(B)$ if $A$ is a singular matrix. The determinant of $A$ is $0$ if $A$ is singular, so $\\det(AB)$ has to be $0$ as well, but I have problems showing that $AB$ is singular if $A$ is singular. How can I show that?",
"Can not move polygons but only vertices of an object by bmesh!",
"Show that $\\cot \\frac{\\pi}{2m}\\cot \\frac{2\\pi}{2m}\\cot \\frac{3\\pi}{2m}...\\cot \\frac{(m-1)\\pi}{2m}=1$",
"What is the difference between public, protected, package-private and private in Java?",
"Why is the Earth so fat? I made a naive calculation of the height of Earth's equatorial bulge and found that it should be about 10km. The true height is about 20km. My question is: why is there this discrepancy? The calculation I did was to imagine placing a ball down on the spinning Earth. Wherever I place it, it shouldn't move. The gravitational potential per unit mass of the ball is $hg$, with $h$ the height above the pole-to-center distance of the Earth (call that $R$) and $g$ gravitational acceleration. Gravity wants to pull the ball towards the poles, away from the bulge. It is balanced by the centrifugal force, which has a potential $-\\omega^2R^2\\sin^2\\theta/2$ per unit mass, with $\\omega$ Earth's angular velocity and $\\theta$ the angle from the north pole. This comes taking what in an inertial frame would be the ball's kinetic energy and making it a potential in the accelerating frame. If the ball doesn't move, this potential must be constant, so $$U = hg - \\frac{(\\omega R \\sin\\theta)^2}{2} = \\textrm{const}$$ we might as well let the constant be zero and write $$h = \\frac{(\\omega R \\sin\\theta)^2}{2g}$$ For the Earth, $$R = 6.4*10^6m$$ $$\\omega = \\frac{2\\pi}{24\\ \\textrm{hours}}$$ $$g = 9.8\\ m/s^2$$ This gives 10.8 km when $\\theta = \\pi/2$, so the equatorial bulge should be roughly that large. , the Earth is 42.72 km wider in diameter at the equator than pole-to-pole, meaning the bulge is about twice as large as I expected. (Wikipedia cites diameter; I estimated radius.) Where is the extra bulge coming from? My simple calculation uses $g$ and $R$ as constants, but neither varies more than a percent or so. It's true the Earth does not have uniform density, but it's not clear to me how this should affect the calculation, so long as the density distribution is still spherically-symmetric (or nearly so). (Wikipedia also includes , without derivation, that agrees with mine.)",
"How to shut down the computer safely by pressing the power button? So this is pretty simple: when I press the power button whilst the machine is on, it comes up with a menu (of which one of the options is to shutdown) However, I just want it to just start shutting down once I press the power button without any further interaction! How do I accomplish this?",
"On September 29th, I created the tag for Today, while checking the tag description, I saw that the seems to be . Why is that? Why has the Community user \"stolen\" the spot as author of the tag?",
"Validation Error less than training error? I found two questions and about this issue but there is no obvious answer or explanation yet.I enforce the same problem where the validation error is less than training error in my Convolution Neural Network. What does that mean?",
"How to find max of amount of opportunity related to account? I have a below requirement : I need to find maximum amount on related opportunities and to display on account. Ex: suppose I have account A1 and A1 have 5 opportunities with amount o1=>100 o2=>500 o3=>300 o4=>1000 o5=>50 on my account i should have max_opportunity_amount =1000. I have written below trigger ,but I am not sure what to do further trigger maxOppAmountonAcc on Opportunity(after insert){ map<id,Opportunity> oppMap = new map<id,Opportunity> (); set<Id> oppId = new set<Id>(); for(Opportunity o : Trigger.new) { oppMap.put(o.accountId,o); oppId.add(o.id); } List<Account> accList = new List<Account>(); for(Account a : [Select id ,MaxOppAmount__c,(select id,max(amount) from opportunities) from Account where id in : oppMap.keyset()]) { } }",
"What points in the complex plane satisfy $|z|=arg(z)$.",
"How to edit command line in full screen editor in ZSH?",
"Let $a=p_1^{x_1}p_2^{x_2}\\cdots\\cdot p_q^{x_q}$ and $b=p_1^{y_1}p_2^{y_2}\\cdots p_r^{x_r}$ , say — Since gcd(a,b) is the largest common divisor of a and b and is divisible by any other common divisor of the two, GCD$(a,b)=p_1^{\\min(x_1,y_1)}p_2^{\\min (x_2,y_2)} \\cdots p_q^{\\min (x_q,y_q)}$ LCM$(a,b)= p_1^{\\max(x_1,y_1)}p_2^{\\max(x_2,y_2)}\\cdots p_r^{\\max (x_r,y_r)}$ I understand GCD(a,b) has to divide both $a,b$. Therefore the exponent of any prime factor $p_i$ in GCD has to be in both $a,b$ — therefore $p_i^{\\min(x_i, y_i)}$. But I'm muddled and anxious. Why does $\\min$ appear in GREATEST common divisor? Why does $\\max$ appear in LOWEST common multiple?",
"Show $\\text{Hom}_{Ab}(A,\\mathbb{Q}) = \\{0\\}$ for finite $A$ I have a finite abelian group $A$ and I have shown that $A\\otimes\\mathbb{Q} \\cong \\{0\\}$, the trivial group. Now I want to show that $\\text{Hom}_{\\textbf{Ab}}(A,\\mathbb{Q}) = \\{0\\}$, i.e we only have the trivial zero group homomorphism from $A$ to $\\mathbb{Q}$. The question I'm trying to solve is phrased in such a way that $\\text{Hom}_{\\textbf{Ab}}(A,\\mathbb{Q}) = \\{0\\}$ should fall out almost automagically once you have that the tensor product collapses but I'm really stuck on this even though some people I talked to said it was really easy. Some thoughts: I've tried to assume the existence of a nontrivial homorphism $A \\to \\mathbb{Q}$ to generate a contradiction but with no success. We have the Tensor-hom adjunction theorem stating that for abelian groups $A,B,C$ we have a natural bijection $$\\text{Hom}_{\\textbf{Ab}}(A\\otimes B,C) \\cong \\text{Hom}_{\\textbf{Ab}}(B ,\\text{Hom}_{Ab}(A,C))$$ and by plugging in our particular groups we get that: $$\\text{Hom}_{\\textbf{Ab}}(A\\otimes \\mathbb{Q},\\mathbb{Q})\\cong\\text{Hom}_{\\textbf{Ab}}(\\mathbb{Q} ,\\text{Hom}_{Ab}(A,\\mathbb{Q}))$$ Since $A\\otimes\\mathbb{Q} \\cong \\{0\\} \\implies \\text{Hom}_{\\textbf{Ab}}(\\mathbb{Q} ,\\text{Hom}_{Ab}(A,\\mathbb{Q})) = \\{0\\}$ so we only have the trivial morphism from $\\mathbb{Q} \\to \\text{Hom}_{Ab}(A,\\mathbb{Q})$ but I don't think this implies that $\\text{Hom}_{Ab}(A,\\mathbb{Q}) = \\{0\\}$ and I'm not sure if this reasoning helps me at all.",
"I'm having a problem with author display for a statute - the author is 'City and County of San Francisco' but the output (using the apalike.bst style file provided by Elsevier) gives the author as 'City and San Francisco', missing the 'County' in the authorname. Any suggestions?"
] |
medi_sts_stackexchange_dupe
|
Strip out harmful code but allow Iframe
|
How to allow certain html tags?
|
[
"How to run find -exec? I'd like to find the files in the current directory that contain the text \"chrome\". $ find . -exec grep chrome find: missing argument to `-exec' What am I doing wrong?",
"Are \\( and \\) preferable to dollar signs for math mode?",
"How do I allow HTTPS for Apache on localhost?",
"Why uniform closure $\\mathscr{B}$ of an algebra $\\mathscr{A}$ of bounded complex functions is uniformly closed? Let $\\mathscr{A}$ be an algebra of bounded complex functions. (Or if necessary, continuous and domain of functions is compact) Definition: $\\mathscr{B}$ is uniformly closed iff $f\\in\\mathscr{B}$ whenever $f_n\\in \\mathscr{B} (n=1,2,\\cdot)$ and $f_n\\rightarrow f$ uniformly. $\\mathscr{B}$ is the uniform closure of $\\mathscr{A}$ iff $\\mathscr{B}$ is the set of all functions which are limits of uniformly convergent sequences of members of $\\mathscr{A}$. ============ Let $\\mathscr{B}$ be a uniform closure of $\\mathscr{A}$. How do i prove that $\\mathscr{B}$ is uniformly closed in ZF? Does Stone-Weierstrass theorem require choice since it is critical to prove Stone-Weierstrass Theorem?",
"Let $\\alpha,\\beta,\\gamma$ be the roots of $x^3-3x^2+1 = 0$. Prove that $$\\alpha^n+\\beta^n+\\gamma^n \\equiv 4^n+5^n+(-6)^n \\pmod{17}$$ where $n$ is an integer. It sort of makes sense why they are congruent since we can say $x^3-3x^2+1 \\equiv (x-4)(x-5)(x+6) \\pmod{17}$, but since $\\alpha,\\beta,\\gamma$ aren't integers, how do we prove this?",
"If $f:\\mathbb{R}\\rightarrow \\mathbb{R}$ is differentiable and $\\lim_{x\\to \\infty } f^\\prime(x)=0$ show that $\\lim _{x\\to \\infty } (f(x+1)-f(x))=0$. Having some trouble proving this: If $f:\\mathbb{R}\\rightarrow \\mathbb{R}$ is differentiable and $\\lim_{x\\to \\infty } f^\\prime(x)=0$ show: $\\lim _{x\\to \\infty } (f(x+1)-f(x))=0$ Attempt: from $\\int \\lim _{x\\rightarrow \\infty } f^\\prime(x) \\mathrm{d}x=0$ we can say that $f^\\prime(x)=const$ would we then have to show that $\\lim _{x\\to \\infty } (f(x+1))$ is also a constant? From there if we show that both are equal then the difference is zero. I am on the right track? Thank you for the help.",
"32-bit vs. 64-bit systems",
"Salesforce lightning get current users username 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!",
"A user has asked which did not receive much attention, and thus the user deleted the post. After some time, the user asked the (with just slight changes to the title and a tag change), so that it could receive a bit more attention. The strange thing is that the question was not downvoted or poorly written, and yet the user deleted the original post. Now, since the original question was deleted, I could not mark the new one as a duplicate (it threw an error). My question is, how do we handle such questions? Just let them be as such or let the user know about it or is there another way to handle such situations?",
"How to add a Skype indicator?",
"Improving Review Queues - Design overview II: Changing review bans and other new features",
"Why align and equation environment do not tolerate empty lines?",
"The first and (the) second chapter(s) are difficult - which is correct?",
"Big floor symbols When I write \\lfloor\\dfrac{1}{2}\\rfloor the floors come out too short to cover the fraction. How can I lengthen the floor symbols?",
"Is there an MD5 Fixed Point where md5(x) == x?",
"I need help to calculate the Fourier transform of this funcion $$b(x) =\\frac{1}{x^2 +a^2}\\,,\\qquad a > 0$$ Thanks.",
"I seen many times how people describe how to's about LBP-2900, and 10-12 steps from start to end of how to download, unpack, build driver, fix driver, make it work... Could be there some .deb package with ready-to-go driver for Ubuntu? This printer is very popular...",
"Equals(=) vs. LIKE When using SQL, are there any benefits of using = in a WHERE clause instead of LIKE? Without any special operators, LIKE and = are the same, right?",
"In case of a syntax error, pdflatex usually (in \\errorstopmode) gets interactive and asks you what to do. I know I can press: X to terminate S to enter \\scrollmode (continue processing without stopping if further syntax errors arise, but stop for other errors) R to enter \\nonstopmode (continue processing without stopping if further errors arise) Q to enter \\batchmode (continue processing without stopping if further errors arise and suppress further output to the terminal) Apparently, only the latter three (SRQ) can be provided implicitly by the respecive \\...mode commands or the -interaction=...mode command line option. However, what I need is a mode that mimics the implicit pressing of X, that is, to make the pdflatex process terminate after the first error.",
"Why won't SparseArray let me store values with the head List?"
] |
medi_sts_stackexchange_dupe
|
Append subscript to variable name
|
How to replace subscript symbols
|
[
"Parse and Extract Attributes from JSON",
"How to put Json inside asynctask - Android",
"Dynamically reformatting man pages on terminal dimension changes One common workflow of mine is to open a manual page in a terminal, then another terminal in which to test things. The man page is formatted to the initial dimensions of the first terminal. When I now resize my windows (or have my WM do that for me automatically), there is either a gap to the right of the preformatted page, or lines wrap. At this point I usually q(uit) and !! (run again), which loses my position in the page. I assume the formatting process is quite CPU intensive, or maybe it stems from ancient times of fixed terminal sizes. The less pager dynamically reacts to terminal resize events, so it should be possible in theory. I tried perusing man pages, searching the Web, asking on IRC -- the whole lot -- but couldn't come up with anything. Can I trigger reformatting from within or outside of the man utility? Is there a version of the man utility that resizes the page dynamically? Is there way to customize some part of the formatting/display process to make it update on SIGWINCH?",
"I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\\s+(.*)\\s+J[0-9]{7}: The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?",
"Usually I don't mind about LaTeX's compilation speed, because a paper of less than 20 pages is compiled rather fast. However, I am working on a large document - A report with more than 80 pages. Compilation times are starting to slow me down. I saw the couple of answers here on this topic, but most of my graphics are external and I don't use Tikz. As a matter of fact, I'm not sure what's slowing the compilation down, other than the amount of text and required layout. What's your best speeding-tex-up trick, other than externalizing graphics and pre-compiling the preamble? How can I know what's slowing TeX down?",
"Should a \"thank you\" comment, for instance Thanks for your answer, be flagged as non-constructive? If a \"thank you\" comment is flagged as non-constructive what would the moderator reaction to this flag be? Would it be marked as helpful, or not?",
"Is there a way to opt out of Alexa rankings or prevent them from gathering data about my site? My competitor is using Alexa to see what I am doing. I need to get stop Alexa from including my sites in their rankings. How can I do so? Is it possible to deny access to any visitor with the Alexa toolbar and deny access to Alexa bot requests?",
"Meaning of $\\int\\mathop{}\\!\\mathrm{d}^4x$ What the following formula mean? $$\\int\\mathop{}\\!\\mathrm{d}^4x$$ I know that this $\\int f(x)\\mathop{}\\!\\mathrm{d}x$ is the integral of the function $f$ over the $x$ variable, but the following $\\int\\mathop{}\\!\\mathrm{d}^4x$ leave empty the argument and also have the $\\mathrm{d}$ elevated to the fourth power. What that mean? Update. In the Einstein-Hilbert action we have (note that I have understand that the other parts of the integral are relevant only after your answers, thus sorry.): $$S=\\frac{c^4}{16\\pi G}\\int\\mathop{}\\!\\mathrm{d}^4x \\, \\ R \\sqrt{-g}$$",
"I'm trying to find the longest consecutive set of composite numbers Hello and I'm quite new to Math SE. I am trying to find the largest consecutive sequence of composite numbers. The largest I know is: $$90, 91, 92, 93, 94, 95, 96$$ I can't make this series any longer because $97$ is prime unfortunately. I can however, see a certain relation, if suppose we take the numbers like (let $a_1, a_2, a_3,...,a_n$denote digits and not multiplication): $$a_1a_2a_3...a_n1,\\ a_1a_2a_3...a_n2,\\ a_1a_2a_3...a_n3,\\ a_1a_2a_3...a_n4,\\ a_1a_2a_3...a_n5,\\ a_1a_2a_3...a_n6,\\ a_1a_2a_3...a_n7,\\ a_1a_2a_3...a_n8,\\ a_1a_2a_3...a_n9,\\ a_1a_2a_3...(a_n+1)0$$ The entire list of consecutive natural numbers I showed above can be made composite if: The number formed by digits $a_1a_2a_3...a_n$ should be a multiple of 3 The numbers $a_1a_2a_3...a_n1$ and $a_1a_2a_3...a_n7$ should be composite numbers If I didn't clearly convey what I'm trying to say, I mean like, say I want the two numbers (eg: ($121$, $127$) or ($151$, $157$) or ($181$, $187$)) to be both composite. I'm still quite not equipped with enough knowledge to identify if a random large number is prime or not, so I believe you guys at Math SE can help me out.",
"Why $9$ & $11$ are special in divisibility tests using decimal digit sums? (casting out nines & elevens) I don't know if this is a well-known fact, but I have observed that every number, no matter how large, that is equally divided by $9$, will equal $9$ if you add all the numbers it is made from until there is $1$ digit. A quick example of what I mean: $9*99 = 891$ $8+9+1 = 18$ $1+8 = 9$ This works even with really long numbers like $4376331$ Why is that? This doesn't work with any other number. Similarly for $11$ and alternating digits sums.",
"How can I add a bookmark in my nautilus folder explorer",
"Is this a capacitor start motor and can I start it with a microwave capacitor I salvaged an old motor out of a air conditioner and I want to know if it's a capacitor start motor if I can start it with the capacitor I have and how to start it. I included pictures of the motor and capacitor btw i have never worked with capacitive start motors so i need details on exactly how to wire it up with out ruining it",
"Polygamma function series: $\\sum_{k=1}^{\\infty }\\left(\\Psi^{(1)}(k)\\right)^2$ Applying the , I found: $$S=\\displaystyle\\sum_{k=1}^{\\infty }\\left(\\Psi^{(1)}(k)\\right)^2\\lt\\dfrac{2}{3}\\pi^2$$ where $\\Psi^{(1)}(k)$ is the polygamma function. Is it known any sharper bound for the sum $S$? Thanks.",
"Regex for parsing directory and filename I'm trying to write a regex that will parse out the directory and filename of a fully qualified path using matching groups. so... /var/log/xyz/10032008.log would recognize group 1 to be \"/var/log/xyz\" and group 2 to be \"10032008.log\" Seems simple but I can't get the matching groups to work for the life of me. NOTE: As pointed out by some of the respondents this is probably not a good use of regular expressions. Generally I'd prefer to use the file API of the language I was using. What I'm actually trying to do is a little more complicated than this but would have been much more difficult to explain, so I chose a domain that everyone would be familiar with in order to most succinctly describe the root problem.",
"I have a Dell N5110 laptop with integrated Nvidia GeForce GT 525M and an Intel HD Graphics 3000 card; My problem is the default card is the Intel one, and it provides a very bad performance with Windows 8. So can I force to use the Nvidia one all the time including \"Desktop Windows Manager\" ?",
"How to prove that for all natural numbers, $4^n > n^3$? This is a problem set I have, it's not a homework but it's very important practice... Send me some hints please, I don't want an answer I need to get it by myself but I'm failing miserably... The problem is: Prove that for all natural numbers $n$, $4^n > n^3$",
"Who is the Lord, as referred to in the title? Frodo? Sauron? Someone else? Or is it more of an abstract title, not referring to a single person, like \"He who wields the One Ring\"?",
"If $f$ is continuous and $\\,f\\big(\\frac{1}2(x+y)\\big) \\le \\frac{1}{2}\\big(\\,f(x)+f(y)\\big)$, then $f$ is convex Let $\\,\\,f :\\mathbb R \\to \\mathbb R$ be a continuous function such that $$ f\\Big(\\dfrac{x+y}2\\Big) \\le \\dfrac{1}{2}\\big(\\,f(x)+f(y)\\big) ,\\,\\, \\text{for all}\\,\\, x,y \\in \\mathbb R, $$ then how do we prove that $f$ is convex that is $$ f\\big(tx+(1-t)y\\big)\\le tf(x)+(1-t)f(y) , \\forall x,y \\in \\mathbb R , t\\in (0,1)? $$ I can prove it for dyadic rational's $t=\\dfrac k {2^n}$ and then argue by continuity ; but I would like a more direct proof . Thanks in Advance",
"URLs are linked despite being inside a code span Markdown source: `http://google.com` - `http://google.com` - `http://google.com` Rendered result: http://google.com http://google.com http://google.com Note that the third code span is a link. Adding a newline before the list item makes the link disappear.",
"How long can I store a food in the pantry, refrigerator, or freezer? How do I know if a given food or ingredient I have is still good, or if I should discard it? How can I best preserve a food or ingredient? This broad question is intended as a \"general reference\" question to quickly answer many how long will food keep for? questions. Please feel free to edit this question to expand and clarify as needed."
] |
medi_sts_stackexchange_dupe
|
When hiding contents of spam answer, also hide or delete the comments
|
Destroying a spammer does not delete their comments
|
[
"Where can I find out about Stack Overflow history? I'd like to know how Stack Overflow and other sites started - which was first, who initiated it (OK, that's on the link below) and why, how the different sites evolved, how the rules evolved, etc. Where can I find such information? Of course, I know I can look at for a brief overview but I'm wondering if there is info on this site, particularly more detailed..",
"Save entire process for continuation after reboot",
"When, if ever, should voting override answer acceptance for answer sorting? The accepted answer always appears at the top of the list, regardless of sort order. This can be misleading if the question author accepted an invalid solution and a better solution was proposed later, and eventually got more votes. I have seen somewhat obscure questions where the accepted answer has a negative score and the next answer has 10 or more up-votes.",
"How to get the date in a batch file in a predictable format? In a batch file I need to extract a month, day, year from the date command. So I used the following, which essentially parses the Date command to extract its sub strings into a variable: set Day=%Date:~3,2% set Mth=%Date:~0,2% set Yr=%Date:~6,4% This is all great, but if I deploy this batch file to a machine with a different regional/country settings, it fails because month, day and year are in different locations. How can I extract month, day and year regardless of the date format?",
"Ubuntu 14.04 doesn' t boot after upgrade from 12.04 installed inside Windows 8.1 I have Ubuntu 12.04 installed like an app on windows 8.1 (Ubuntu 12.04 allow to be installed like an app in Windows 8.1 and it can be removed when you don't need it any more from Control Panel). Usually, to chose what os to boot when you start the laptop, you can choose between windows 8.1 and Ubuntu after windows logo appeared at start up and that was ok until I made this upgrade. Now when I try to choose Ubuntu the laptop try to boot it but, after that full colored screen is showed the screen go black and this messages appear: mount: mounting /dev/loop0/ on /root failed : Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn' t have requested /sbin/init No init found. Try passing init = bootarg. BusyBox v1.21.1 (Ubuntu 1:1:21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands (initramfs) _ I don' t know what to do after this screen appears. Please help !",
"Can an html element have multiple ids? I understand that an id must be unique within an HTML/XHTML page. My question is, for a given element, can I assign multiple ids to it? <div id=\"nested_element_123 task_123\"></div> I realize I have an easy solution with simply using a class. I'm just curious about using ids in this manner.",
"Split a string by spaces -- preserving quoted substrings -- in Python",
"How can I use asymmetric encryption, such as RSA, to encrypt an arbitrary length of plaintext? RSA is not designed to be used on long blocks of plaintext like a block cipher, but I need to use it to send a large (encrypted) message. How can I do this?",
"Task manager for Ubuntu",
"Why 32bits OSs can't address more than 3.2/3.2 gb of memory? Don't know if this is the right place to ask this question. I've been reading that 32bit OSs (like the Ubuntu i'm running right now) can't adress more than 3.2gb or 3.3gb of RAM memory. I remember for my old Computer Architecture course that the memory limitation was 2^32 \"pointers\" (don't remember the right word). I mean, the memory was represented like an array where the CPU can acces it directly, but up to its limit. If the CPU is 32 bit, then it can address 2^32 words, if it's 64 bits 2^64, etc. So, if what i said before is right, then, my OS should be able to address 2^32 = 4294967296 = 4Gb. I'm thinking maybe some sort of space is reserved to the particular use of the Kernel, cache, buffering or swapping. But don't have the correct answer. Can you give me a hint?",
"What is the speed of sound in space?",
"Teen fantasy book series about a world where people who showed creativity could learn magic, and were killed for it",
"Just installed Ubuntu for the first time... Is there any simple way to browse installed programs? On Mac there is the Applications top-level folder... here I see Desktop, Documents, Downloads etc but no Apps? That'd be a good idea, no? (is there some way to create this myself?) On Windows there is the Start menu... Here it seems like I have to click the 'Dash Home' and then I can see 'Recent Apps' ... I can search for them (I'd rather not) ...or I can click the ruler/pencil icon at the bottom and see 'Recent Apps' and click to expand 'Installed Apps' ...ok that's all of them - is it possible to get a straight list view instead of the hard-to-scan wrapped rows? Also, is there any way to get rid of the pointless random selection of 'Apps available for download' at the bottom?",
"Is it possible to dual boot two OS's at the same time?",
"Are these intended activities legal to do in the USA under the VWP? I'm a British citizen traveling to the USA next month with an ESTA to see my fiancee. I'm traveling there to plan our wedding, talk about a location to get married, and probably finalise a date and a booking with my fiancee (US citizen). This is the primary reason for my trip to the USA. Am I allowed to do this as a tourist? I would like to know for when the CBP officer asks me if this thing is allowed. Am I allowed to enter the USA, on a separate trip (probably later this year), for the sole purpose of marrying my fiancee, provided I can persuade the CBP officer I intend to leave at the end of my trip? My fiancee and I are moving to the UK next year.",
"Reading ODBC connection using QGIS? I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks. We have previously exported the data to CSV and used the QGIS Delimited Text Plugin to plot the locations. We would now like to be plot this data directly in QGIS by connecting to the MS Access db via an ODBC connection (as opposed to export to CSV). Can QGIS consume the data from the ODBC connection to plot the X-Y locations? Can it be \"live linked\" to the ODBC connection so that when a project is re-opened, the layer \"replots\" all old and newly added locations dynamically (as opposed to exporting to shapefile, which would create a snapshot in time)? Can you create tabular ODBC connections that can be joined to spatial tables within QGIS? You can do all of this in ArcGIS (\"Add XY Data\" tool), so it would be great if this capability existed in QGIS. I just cannot find anywhere that mentions its existence. I am not planning to move to a spatial database. As a GIS person myself, yes I know that it makes sense to move to a spatial database, and yes I have used PostGIS to manage this kind of data. But these are not options right now. The user is not a GIS person nor wants to be, and he manages his own database in MS Access and that will not change. I am and am pulling him kicking and screaming into the GIS world and want to make it easy as possible. He can live with exporting to CSV, I was just hoping there is a better solution USING ODBC FOR MS ACCESS and displaying the XY data in QGIS.",
"Springer llncs TOC not working I can't get the TOC to work. I remember it worked before, but there was something I did (unfortunately I can't remember what it was), and after that the TOC just stopped working. Here is a part from my document: \\documentclass[deutsch]{llncs} \\usepackage{graphicx} \\usepackage[labelformat=empty]{caption} \\usepackage{subcaption} \\captionsetup{compatibility=false} \\bibliographystyle{unsrt} \\pagestyle{headings} \\begin{document} \\sffamily \\begin{titlepage} %Some stuff here \\end{titlepage} \\thispagestyle{headings} \\tableofcontents \\newpage %more stuff here blablabla \\section{test} \\subsection{test2} \\end{document}",
"This is not a duplicate question because I am looking for an explanation directed to a general audience as to the mistakes (if any) in (reproduced below). (Numberphile is a YouTube channel devoted to pop-math and this particular video has garnered over 3m views.) By general audience, I mean the same sort of audience as the millions who watch Numberphile. (Which would mean, ideally, making little or no mention of things that a general audience will never have heard of - e.g. Riemann zeta functions, analytic continuations, Casimir forces; and avoiding tactics like appealing to the fact that physicists and other clever people use it in string theory, so therefore it must be correct.) Numberphile's Proof. The proof proceeds by evaluating each of the following: $S_1 = 1 - 1 + 1 - 1 + 1 - 1 + \\ldots$ $S_2 = 1 - 2 + 3 - 4 + \\ldots $ $S = 1 + 2 + 3 + 4 + \\ldots $ \"Now the first one is really easy to evaluate ... You stop this at any point. If you stop it at an odd point, you're going to get the answer $1$. If you stop it at an even point, you get the answer $0$. Clearly, that's obvious, right? ... So what number are we going to attach to this infinite sum? Do we stop at an odd or an even point? We don't know, so we take the average of the two. So the answer's a half.\" Next: $S_2 \\ \\ = 1 - 2 + 3 - 4 + \\cdots$ $S_2 \\ \\ = \\ \\ \\ \\ \\ \\ \\ 1 - 2 + 3 - 4 + \\cdots$ Adding the above two lines, we get: $2S_2 = 1 - 1 + 1 - 1 + \\cdots$ Therefore, $2S_2=S_1=\\frac{1}{2}$ and so $S_2=\\frac{1}{4}$. Finally, take \\begin{align} S - S_2 & = 1 + 2 + 3 + 4 + \\cdots \\\\ & - (1 - 2 + 3 - 4 + \\cdots) \\\\ & = 0 + 4 + 0 + 8 + \\cdots \\\\ & = 4 + 8 + 12 + \\cdots \\\\ & = 4S \\end{align} Hence $-S_2=3S$ or $-\\frac{1}{4}=3S$. And so $S=-\\frac{1}{12}$. $\\blacksquare$",
"permission denied BASH",
"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?"
] |
medi_sts_stackexchange_dupe
|
Ps4 controller problems/issues
|
PS4 Controller not connecting to PS4 and won't reset?
|
[
"Show that if $n$ is not divisible by $2$ or by $3$, then $n^2-1$ is divisible by $24$. I thought I would do the following ... As $n$ is not divisible by $2$ and $3$ then $$n=2k+1\\;\\text{or}\\\\n=3k+1\\;\\text{or}\\\\n=3k+2\\;\\;\\;\\;$$for some $n\\in\\mathbb{N}$. And then make induction over $k$ in each case.$$24\\mid (2k+1)^2-1\\;\\text{or}\\\\24\\mid (3k+1)^2-1\\;\\text{or}\\\\24\\mid (3k+2)^2-1\\;\\;\\;\\;$$This question is in a text of Euclidean Division I'm reviewing, and I wonder if there is a simpler, faster, or direct this way.",
"Why were the people of Rhun and Harad allied with Sauron? Did they join him out of fear, or did Sauron say he would give them something if they joined him? I know the men of Dunland were angry at Rohan; did Rhun and Harad have something against Gondor?",
"Endpoint of a line knowing slope, start and distance In a Cartesian system, I've got the slope, start point and distance of a line segment. What's the formula to find the endpoint?",
"Extract all the polygon coordinates from a SpatialPolygonsDataframe? I want to do something relatively simply but it seems to be very difficult to do, though I am very new to using R for spatial data so apologies if I've missed something obvious. I have a list containing 161 shapefiles of bird distributions in the world, they are each in the format of a SpatialPolygonsDataFrame. I also have world climate data in a raster stack format for 8 variables. Both sets of files are in the same projection (lat and long WGS84). I want to create new columns for the climate data with 1's where the species polygon overlaps with the climate data and 0 where it doesn't. I tried various functions to do this, quite a few initial options didn't work, the best option appeared to be: pnt.in.poly(XY coordinates of climate data points, XY coordinates of species polygon) I changed my raster of climate data into points to get the XY coordinates. I unified the polygons for each species shapefile and then used: species@polygons[[1]]@Polygons[[1]]@cords to get the coordinates for my species polygons as a matrix. However, I discovered that: species@polygons[[1]]@Polygons[[1]]@coords wasn't actually getting all the coordinates of the polygons only some of them. I tried using fortify from the ggplot package, and it gives me a dataframe with coordinates but some of them are for holes in the polygons. I ran that with the pnt.in.poly function excluding the holes but it took an hour to run and when I looked at the output maps after it matched for some of the range but not all of it- there were holes in the distribution where there shouldn't be holes. I also tried this method that I found somewhere else: lonlat <- lapply(slot(species, \"polygons\"), function(x) lapply(slot(x,\"Polygons\"), function(y) slot(y, \"coords\"))) which gives me a list with 436 items- but I'm still not sure how to get the coordinates into a matrix form that will work in pnt.in.poly. I'm sure this should be easier to do! Does anyone know a better way?",
"How to make a Snap application (ksnip) appear in \"open with other application\" context menu? For editing screengrabs, I prefer to use , since was no longer installable without hassles on Ubuntu 18.04 and 20.04 However ksnip is available as a Snap App on my 20.04 ○ → snap list | grep ksnip ksnip 1.8.0 265 latest/stable dporobic Unfortunately I have to start ksnip from the command line, then use the File-Open Dialog to pick a screengrab/PNG, then edit it in ksnip. This is should be easier. What I want is to use Nautilus File manager, then select the "Open with other Application" context menu item to select ksnip, and the have ksnip open the file I picked with nautilus. Nautilus Context Menu, selecting a PNG: "Select Application" Dialog: How can I achieve this? There is a "View all Applications" Button, but after clicking, ksnip does NOT appear in this list of apps. "Find new applications" does not work either. Maybe this is a duplicate, but I think we did not have the combination yet (Hack the dialog and Snap App) (Note to self: maybe Shutter is usable again. Development had stalled for a while, or it needed a lot of deprecated versions of gnome libs as dependencies) .",
"Before proposing reviewers, should I notify them? Some journals require the author to propose potential reviewers. Should I just propose reviewers and let the editor contact them? Or should I first contact the potential reviewers myself and ask if they agree?",
"If $\\omega \\in \\Omega^q(M)$, and $(\\omega|_{U})_p = 0$, is $\\omega_p = 0$? If I have a manifold $M$ and $\\omega \\in \\Omega^q(M)$, considered an open subset $U$ of $M$, and choose a point $p \\in M$, is it true that $(\\omega|_{U})_p=0 \\rightarrow \\omega_p=0$? With $\\omega|_{U}$ I mean the pull-back of $\\omega$ by the embedding $F:U\\to M$. The converse is obviously true, but this implication?",
"Is there a way to view the site without having to look at reputation information? I do not want to track my rep information or see anyone else's. I think that'll let me focus more on the questions themselves. Is anyone else interested in this feature? I don't see anything on Stack Overflow itself, but are there any add-ins or scripts that do this?",
"How can I typeset this accented, dotless i? See the rough sketch above. I am able to typeset the accented i shown in the middle (for which I used the \\v macro) and, obviously, the plain and simple i shown on the left also. However, I can't figure out how to typeset the one shown on the right. How can I do that?",
"How to merge two arrays in JavaScript and de-duplicate items",
"I want to open a file for reading, the C++ way. I need to be able to do it for: text files, which would involve some sort of read line function. binary files, which would provide a way to read raw data into a char* buffer.",
"In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically created by the compiler. What files can I safely delete?",
"JUnit Testing Exceptions",
"Finding $\\int_0^\\infty \\frac{\\cos(ax)-\\cos(bx)}{x}dx$ I am practicing calculus section of GRE Math Subject test, and I can't figure out a way to do the following integral: $$\\int_0^\\infty \\frac{\\cos (ax) - \\cos (bx)}{x}dx.$$ I absolutely have no clue how to do this. Can someone show me the solution explicitly? Thank you.",
"using underscore's “difference” method on arrays of objects",
"Rotate Geographic map",
"Why do the Localization of a Ring This question may be a bit vague, but neverthless, i would like to see an answer. Wikipedia tells me that: In abstract algebra, localization is a systematic method of adding multiplicative inverses to a ring. It is clear that for integral domains, we have the Field of Fractions, and we work on it. It's obvious that a Field has multiplicative inverses. Now if we consider any arbitrary ring $R$, by the definition of localization, it means that we are adding multiplicative inverses to $R$ thereby wanting $R$ to be a division ring or a field. My question, why is it so important to look at this concept of Localization. Or how would the theory look like if we never had the concept of Localization.",
"Is $\\operatorname{lcm}(a,\\gcd(b,c))=\\gcd(\\operatorname{lcm}(a,b),\\operatorname{lcm}(a,c))$",
"Central limit theorem and the law of large numbers I have a very beginner's question regarding the Central Limit Theorem (CLT): I am aware that the CLT states that a mean of i.i.d. random variables is approximately normal distributed (for $n \\to \\infty$, where $n$ is the index of the summands) or the standardized random variable would have a standard normal distribution. Now the Law of Large Number states roughly speaking that the mean of i.i.d random variables converges (in probability or almost surely) to their expected value. What I don't understand is: If, as the CLT states, the mean is approximately normally distributed, how then can it also converge to the expected value at the same time? Convergence would imply for me that with time the probability that the mean takes a value which is not the expected value is almost zero, hence the distribution would not really be a normal but almost zero everywhere except at the expected value. Any explanation is welcome.",
"This is a somewhat bizarre question. My objectives are to understand the language design decision and to identify the possibilities of reflection in C++. Why C++ language committee did not go towards implementing reflection in the language? Is reflection too difficult in a language that does not run on a virtual machine (like java)? If one were to implement reflection for C++, what will be the challenges? I guess the uses of reflection are well-known: editors can be more easily written, program code will be smaller, mocks can be generated for unit tests and so on. But it would be great if you could comment on uses of reflection too."
] |
medi_sts_stackexchange_dupe
|
Is it correct to place import not on top of file?
|
Should import statements always be at the top of a module?
|
[
"Table cells larger than they are meant to be I've created a map system for a game that runs on the principle of drawing the picture of the map from tiles. There are many reasons for this which I won't go into here but if you really want to know then I'm sure you can find out how to contact me ;) I have so you can see exactly where the problem lies and the source. The issue is the line between the top 2 tiles and the bottom 2 tiles, I can't figure out why it's gone like this and any help would be appreciated. In the source is a marker called \"stackoverflow\", if you search for \"stackoverflow\" when viewing source then it should take you to the table in question. I have also uploaded an .",
"How can I disable the \"no backup in x days\" from TimeMachine? (Updated answer choice for High Sierra. See the old answer if you are still on Yosemite) I'm running OS X Yosemite, and I want to disable the notifications from Time Machine. I rarely do a hard-drive backup because all of my essential files are in the cloud. I don't need to run timemachine as often as it suggests/warns/annoys me about. How do I disable the notifications? Time Machine is not in the Notifications preferences, and I don't want to stop using it entirely.",
"Which indefinite article should precede hour — a or an? an hour a hour Does the usage of an vs a depend on the pronunciation — a history, a hobby, but an hour, an honor?",
"Error System.CalloutException: Callout from scheduled Apex not supported i have created a schedulable class which has to trigger a batch job. The run method for the batch class will get list of data to process from a webservice callout. Now, i got the exception below. Any suggestions please. System.CalloutException: Callout from scheduled Apex not supported. global class scheduledDeltaBatchable implements Schedulable { global void execute(SchedulableContext sc) { ID batchprocessid = BatchUpsertSAPCustomerMasterBPSync.run(SAPServices.GetSAPCustomerMasterBPSync('Delta')); } }",
"Does DTIME(O(n)) = REGULAR? (I don't think that this is a good fit on cstheory, since I figure that this question already has a known answer. However, if you think that this would be a better fit there, please feel free to migrate it) It can easily be shown that REGULAR (the class of regular languages) is contained in DTIME(O(n)), because for any regular language L we can decide membership in that language in O(n) time by converting a DFA that decides L into a TM that decides L in a single pass over the input. However, is it also true that DTIME(O(n)) is contained in REGULAR; that is, that any language that can be decided in O(n) time by a single-tape TM is necessarily regular? I have no idea how to approach this problem, and every language I can think of in DTIME(O(n)) seems to be regular. Intuitively, this would make sense, since if you're only allowed to make finitely many passes over the input, you could only remember finitely many things about it, which it seems like you could simulate with a sufficiently large DFA. However, the fact that you can write to the input tape seems like it might complicate things. And no, this isn't a homework problem. I'm actually teaching a course that covers computability and complexity theory and thought it would be interesting to present the answer to this question in lecture. :-) Thanks!",
"Performance difference between dot notation versus method call in Objective-C",
"How do I export and import content types (including fields) between environments?",
"Fluent and Query Expression — Is there any benefit(s) of one over other? LINQ is one of the greatest improvements to .NET since generics and it saves me tons of time, and lines of code. However, the fluent syntax seems to come much more natural to me than the query expression syntax. var title = entries.Where(e => e.Approved) .OrderBy(e => e.Rating).Select(e => e.Title) .FirstOrDefault(); var query = (from e in entries where e.Approved orderby e.Rating select e.Title).FirstOrDefault(); Is there any difference between the two or is there any particular benefit of one over other?",
"Please tutor the usage of patchcmd and xpatch I understand that the package provides a command \\patchcommand that can be used to add material at the beginning and/or end of the replacement text of an existing macro. It works for macros with any number of normal arguments but has limitations for macros with optional arguments. was introduced to take care of the above limitations as well as provide some additional functionality. Now, when I try to comprehend the usage of the above packages by reading the user documentations (, ), I get the feeling that they move to implementation details a little too quickly compared to other package documentations. There are not enough explanations or examples. I also tried to grasp the concepts by reading the and more or less understood whatever is presented there. However, that is not enough. So, do you think we can ask for a complete tutorial on the usage of patchcmd and xpatch? Explaining the usage of the relevant commands like \\patchcmd, \\pretocmd and \\apptocmd as well as, \\xpatchcmd, \\xpretocmd and \\xapptocmd with sufficient examples should suffice.",
"How do I edit my profile? This is probably a noob question, but I forgot how to edit my profile. Can anyone help me? There is no visible button for me.",
"MathJax does not work on question title on Android app Although, the question is displayed correctly with MathJax when opened. App Version: 1.0.85 Device Manufacturer: Spreadtrum Device Model: Celkon A35K OS Version: 4.4.2 (eng.root.20140613.225402)",
"I can buy Dell Latitude E7270 through my employer. It will come with Windows, but I would like to install Ubuntu (most likely 14.04). This model does not appear on the list of certified hardware, however. Does anyone know whether I should anticipate any problems with his laptop? Thanks!",
"This issue came up when I got different records counts for what I thought were identical queries one using a not in where constraint and the other a left join. The table in the not in constraint had one null value (bad data) which caused that query to return a count of 0 records. I sort of understand why but I could use some help fully grasping the concept. To state it simply, why does query A return a result but B doesn't? A: select 'true' where 3 in (1, 2, 3, null) B: select 'true' where 3 not in (1, 2, null) This was on SQL Server 2005. I also found that calling set ansi_nulls off causes B to return a result.",
"Hyperref - Token not allowed Possible Duplicate: The following code: \\subsection{The classes $\\mathcal{L}(\\gamma)$} generates the errors: Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref) removing `math shift' on input line 1938. Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref) removing `\\gamma' on input line 1938. Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref) removing `math shift' on input line 1938. What do I have to do to keep \\gamma in the subsection, so that it is also listed in the table of contents?",
"Closure of $\\{\\frac{1}{n}\\}:=M$ In $\\mathbb{R}$ with standard topology the closure of the above set $M$ is $M \\cup 0$. I fail showing this by purely topological means. I.e. not using the fact that this holds in the reals as a metric space and deduce it for the induced topology. I assumed that there exist a closed subset $A$ containing $M$ but not 0. Hence, the complement of $A$ is an open subset containing 0. Does this already yield a contradiction or do I need a different approach? Could you help me on this?",
"Why is accuracy not the best measure for assessing classification models?",
"Programmatically create a user and assign a role I'm programmatically creating a user with the following code. $newUser = array( 'name' => $mail, 'pass' => 'password', // note: do not md5 the password 'mail' => $mail, 'status' => 1, 'init' => $mail, 'roles' => array(5) ); $user = user_save(null, $newUser); I have got a role with the role ID equal to 5; when I create the user, in the table \"users_roles\" there is only a row with the value 0 for the role ID, but if I print the user object with var_dump(), it looks like the roles are created. What am I doing wrong?",
"Pipe to multiple files in the shell I have an application which will produce a large amount of data which I do not wish to store onto the disk. The application mostly outputs data which I do not wish to use, but a set of useful information that must be split into separate files. For example, given the following output: JUNK JUNK JUNK JUNK A 1 JUNK B 5 C 1 JUNK I could run the application three times like so: ./app | grep A > A.out ./app | grep B > B.out ./app | grep C > C.out This would get me what I want, but it would take too long. I also don't want to dump all the outputs to a single file and parse through that. Is there any way to combine the three operations shown above in such a way that I only need to run the application once and still get three separate output files?",
"Download all PDF links in a web page? Do you know a good software to download all PDF links in a web page?? Operating system is Windows 7.",
"Compute $\\frac{1}{e}\\sum\\limits_{n=0}^{\\infty}\\frac{n^{k}}{n!}$ for $k=0, 1, 2 ... $ Using some matlab (I know it's cheating) I found that: $$k=0 => Result=1$$ $$k=1 => Result=1$$ $$k=2 => Result=2$$ $$k=3 => Result=5$$ $$k=4 => Result=15$$ $$k=5 => Result=52$$ $$k=6 => Result=203$$ This sequence is puzzling..."
] |
medi_sts_stackexchange_dupe
|
java difference between "ClassName className" and "ClassName className = new Class(property)
|
What is a NullPointerException, and how do I fix it?
|
[
"Moon photography Hi I am a photography hoobyist. At the moment I am using a Nikon D3100 with the standard kit lens (18-55mm). I am interested in taking photos of the moon. I am debating whether to buy a 55-200mm lens or a 55-300mm lens. Which one would be better? P.S I am on a tight budget and I am looking for a lens for personal use, not commercial. Would appreciate any answers! Thank you!",
"Why does the buffer take up whole screen? I am trying to create buffers around the Hurricane Sandy path I created in QGIS (points are lat/long). I have both points from each day she was tracted and the line I created from it with Points2One. When I go to make buffers around either the line or the points, the buffer takes up the whole screen. Its all just one color. I have made buffers before but from data I did not create. Right now all of my projections are set to WGS 84 EPSG 4326.",
"How far does a rogue move when dashing twice using Cunning Action? A rogue receives a bonus Cunning Action, and one option is to Dash. My understanding is a Dash allows a player to move up to twice his speed for his turn. If a rogue is using a regular action to Dash (hence, is already dashing) can he also use his cunning action as a bonus to Dash again — effectively moving 4 times normal speed in a turn?",
"Difference between systemctl and service commands systemd gives us the systemctl commands suite which is mostly used to enable services to start at boot time. We can also start, stop, reload, restart and check status of services with the help of systemctl. We can do, for example, sudo systemctl enable service_name, and service_name will automatically start at boot time. We can also disable services not to start at boot time. Is the only difference between the service and systemctl commands that systemctl can be used to enable the start of services at run time? Can we use systemctl on any service? What other significant differences are there?",
"Attack moving or Attack Canceling I watch streams sometimes and i see the high elo Ranged AD move between each shot. Do they gain anything with this? And if so whats a good way to practice it.",
"Prove: $\\lim\\limits_{n \\to \\infty} \\int_{0}^{\\sqrt n}(1-\\frac{x^2}{n})^ndx=\\int_{0}^{\\infty} e^{-x^2}dx$ I'd like your help with the following claim to prove: $$\\lim_{n \\to \\infty} \\int_{0}^{\\sqrt n}\\left(1-\\frac{x^2}{n}\\right)^ndx=\\int_{0}^{\\infty} e^{-x^2}dx.$$ I think I should use the claim: Let $a,b$ two real numbers and $\\{f_n\\}$ a sequence of continuous functions on $\\left[a,b\\right]$ which converges uniformly to $f$ on $[a,b]$. Then $$\\lim_{n\\to\\infty}\\int_a^bf_n(t)dt=\\int_a^bf(t)dt.$$ But for this, I must prove that $(1-\\frac{x^2}{n})^n$ uniformly converges to $e^{-x^2}$. How do I do that? One of the hardest and trickiest things to do is to prove this uniformly converges.. every function has its own way. I believe that the more examples I'll see the easiest it will be. Thanks again!",
"How to show $\\sum_{i=1}^{n} \\binom{i}{2}=\\binom{n+1}{3}$? Show that $\\,\\displaystyle\\sum_{i=1}^{n} \\binom{i}{2}=\\binom{n+1}{3}$. I'm thinking right now (though not getting anywhere with it) that I want to expand out the summation portion to $i!/2!(i-2)!$ and simplify from there? Not sure if that will help, not to mention if I put $1$ in for $i$ I get $1/-2$ which I don't think is right. Anyone care to shed some light on the subject? Thanks.",
"Are there any places to leave luggage in Brussels, for short and/or long periods of time?",
"Consecutive spoiler blocks (>!) are shown as blockquotes The markdown >! a >! b >! c Will be shown as a blockquote with ! in front of it: a b c Instead of a spoiler for 3 paragraphs (or 3 spoiler blocks, whatever).",
"What is the best way to give a C# auto-property an initial value?",
"Mac OS X 10.6 executable not found without full path I just installed Apache via MacPorts. It seems that my Mac was absolutely confused about which version of the Apache executables to run. After moving the Apache executables that ship with the Mac to a directory that is not listed in the PATH variable, trying to run the httpd built by MacPorts fails even though the correct directory (/opt/local/apache2/bin) is listed in the PATH variable. If I navigate to the directory /opt/local/apache2/bin and type the command httpd I still get the error message -bash: httpd: command not found If I type the command with the full path /opt/local/apache2/bin/httpd it works fine. I've run the command alias to see if something was clashing but the only thing listed is: alias wget='curl -O' How do I find what is intercepting the command and preventing the executable being found in the directory, even when I'm inside the same directory? By the way, the httpd file is executable: -rwxr-xr-x 1 root admin 442496 9 May 2012 httpd",
"Detect edits to add [SOLVED] or [RESOLVED] to the title and direct the user to add an answer Users often ask questions that they answer for themselves. Good for them. And good for us. Symptom The correct procedure seems to be: Write new answer to own question Wait two days Accept own answer The incorrect, but fairly popular, procedure seems to be: Edit the question to include the solution Put \"[SOLVED] or [RESOLVED]\" in the title Proposed solution Users should be warned when using the word \"solved\", delimited in any way, in a question title. This could be \"[SOLVED]\", \"(solved)\", or even \"Solved - \". I imagine this: The user tries to submit an edit that adds \"solved\" such that the word \"solved is delimited. The user is brought to a warning page. If the only edit to the question was appending new lines (such as adding an \"edit:\" paragraph), that edit is copied into a text box The page mentioned in 1 is shown as follows: $StackSite marks questions as answered when you accept an answer. You can accept an answer by clicking the green check mark next to that answer. There's no need to put \"SOLVED\" or \"RESOLVED\" in the title! Are you answering your own question? Create a proper answer to your question: Move your edit to a new answer. Write your answer. If nobody writes a more correct or thorough answer after two days, come back and accept your answer. By doing this, you remove your question from the Unanswered Questions list. You also allow other $StackSite users to vote your answer up. Thanks for helping out! TEXT BOX WITH EDITS GOES HERE, FOLLOWED BY \"POST YOUR ANSWER\" BUTTON Not answering your own question? Sorry for slowing you down. OVERVIEW OF EDIT, FOLLOWED BY \"SAVE EDITS\" BUTTON Discussion This would likely reduce the number of [RE]SOLVED questions that appear. However, it's unclear whether this should be a community moderation issue or a feature request issue. The increased engineering work required in building in the interstitial page is probably quite nontrivial, whereas this type of question makes up well under . Note: Google also provides a .",
"A list of inconveniences between quantum mechanics and (general) relativity? It is well known that quantum mechanics and (general) relativity do not fit well. I am wondering whether it is possible to make a list of contradictions or problems between them? E.g. relativity theory uses a space-time continuum, while quantum theory uses discrete states. I am not merely looking for a solution or rebuttal of such opposites, more for a survey of the field out of interest.",
"How do I remap the Caps Lock and Ctrl keys? I'd like to remap my keys such that Ctrl behaves as the Caps Lock key and vice-versa. Also, if possible I'd like the settings to be available only within the currently logged-in user. How can I achieve this? I'm a vim user, unlike the other people who use this machine, so I'd like those settings only for my account.",
"Basically I have a setup like the following: Array ( [0] => Array ( [0] => stdClass Object ( [nid] => 1 [title] => title1 [uid] => 1 [parent] => 0 [weight] => -15 [name] => name1 [value] => 0 ) [1] => stdClass Object ( [nid] => 2 [title] => title2 [uid] => 1 [parent] => 0 [weight] => -7 [name] => name2 [value] => 100 ) [2] => stdClass Object ( [nid] => 3 [title] => title3 [uid] => 2 [parent] => 0 [weight] => -1 [name] => name3 [value] => 0 ) [3] => stdClass Object ( [nid] => 4 [title] => title4 [uid] => 2 [parent] => 0 [weight] => 1 [name] => name4 [value] => 80 ) ) ) What I need is a way to sort all the arrays inside the parent array by the [value] key in the Object. I've been trying for about 2 days now with usort and different methods but I just can't seem to get my head around it. The [value] key will range anywhere from 0 to 100 and I need all of the arrays sorted in decreasing order (IE: 100 down to 0).",
"When are stopovers permitted on Japan Railways (JR) trains?",
"How to insert strings containing slashes with sed?",
"Proving the identity functions is continuous iff $\\tau_1\\supseteq\\tau_2$ Exercise: Let $\\tau_1$ and $\\tau_2$ be two topological spaces on a set $X$. Then $\\tau_1$ is said to be a finer topology than $\\tau_2$ if $\\tau_1\\supseteq\\tau_2$. Prove the identity function $f:(X,\\tau_1)\\to (X,\\tau_2)$ is continuous if and only if $\\tau_1$ is a finer topology than $\\tau_2$. Attempted proof: Let $A\\in\\tau_1$. If $f$ is continuous then $\\exists B\\in\\tau_2$ such $f(A)\\subset B\\implies A\\subset B$ for any $A\\in\\tau_1$ such that all open sets of $\\tau_1$ are open sets of $\\tau_2$ hence $\\tau_1\\supseteq \\tau_2$. If $\\tau_1$ is a finer topology than $\\tau_2$, for any $B\\in\\tau_2\\implies B\\in\\tau_1$ which implies that $f^{-1}(B)=B$, then $B\\in\\tau_1$ which proves $f$ to be continuous. Questions: Is my proof right? If not. What is wrong? What are alternatives? Thanks in advance!",
"An entire function whose real part is bounded must be constant. Greets This is exercise 15.d chapter 3 of Stein & Shakarchi's \"Complex Analysis\", they hint: \"Use the maximum modulus principle\", but I didn't see how to do the exercise with this hint rightaway, instead I knew how to do it with the Casorati-Weiestrass Theorem, here is my answer: Define $g(z)=f(1/z)$ for $z\\neq{0}$,then by the hypothesis we must have that for any $\\epsilon>0$ $g(D_{\\epsilon>0}(0)-\\{0\\})$ is not dense in $\\mathbb{C}$, then the singularity at $0$ of $g$ is not essential, this implies $f$ must be a polynomial, but if $f$ is a non-constant polynomial, it is easy to see that its real part must be unbounded, so $f$ must be constant. I would like to know an answer with the the maximum modulus principle. Thanks",
"How does the double strike mechanic interact with other mechanics like lifelink or trample? I understand that the double strike mechanic allows a creature to attack in both a first strike combat damage step and a normal combat damage step. It's clear that when a creature with no other abilities aside from double strike is blocked that even if the defender has lethal damage marked in the first strike step that the additional damage does not carry forward to the player. How does this view of double strike change with relation to trample and lifelink? I believe the correct interpretations are (not accounting for other effects or abilities) that 2 times the attacker's power is marked as damage on the defender. For trample this amount is reduced by the defender's toughness and additional damage carries forward as normal. Similarly for lifelink the active player gains life equal to 2 times the attacker's power. Thus a 10/10 trampling double striking life linker blocked by a 1/1 creature would deal 19 points of trample damage and the active player would gain 20 life. Is this interpretation correct?"
] |
medi_sts_stackexchange_dupe
|
! Missing $ inserted. error
|
How to make a standalone document with one equation?
|
[
"I'm running Fedora 25 and I need to take a few particular screen captures so I've read that shutter is a great tool for that. Sadly I am unable to use it for some reason. Whenever I try to take a screenshot this is the result:",
"Failed to resolve version for org.apache.maven.archetypes",
"For every generation of Excel I can remember (including 2010, which I'm using now), Excel's \"Auto Size Row\" features sometimes fails to actually auto size a row when the cell contains wrapped text. When it works properly, all the text is revealed and there is no additional space below the last line of text. When it fails, it adds extra space below the text. To make matters worse, what you see is not always what you get, i.e., text that appeared okay on screen gets cut off when it's printed. You also get different sizing depending on whether you are zoomed in/out or at actual size. Simple test case: Why is there a one-line gap after the text in cell A1 but not in A2? (To reproduce: set width of column A to 17.14 (125 pixels), text wrap on, and cell alignment top.) (I double-checked that I applied Auto Fit Row Height to both rows. Zoom level is 100%.) Is there any known remedy for this without resorting to manually adjusting the row heights (which is not practical for more than a handful of rows)?",
"How to dynamically load directive into page",
"Open local folder from link",
"Enumerate non-isomorphic graphs on n vertices In the following the graphs are assumed to be undirected and simple. 1.Enumerate the number of non-isomorphic graphs on $n$ vetrices where $n$ is fixed. Here are some ideas I had: The number of labeled graphs is $ 2^{\\frac{n(n-1)}{2}} $. So it is enough to find the number unlabeled graphs on $n$ vertices.I have no idea for this. 2.Enumerate the number of non-isomorphic graphs on $n$ vertices and $m$ edges where $n,m$ are fixed. Can we find a closed formula for each of this? Any help? Thank you!",
"Express partial derivatives of second order (and the Laplacian) in polar coordinates $z=f(x,y)$ where $x=rcosθ$ and $y=rsinθ$ Find $ \\frac{\\partial z}{\\partial x}$ and $ \\frac{\\partial^2 z}{\\partial x^2}$ I'm having big troubles with using chain rule, in particularly the second derivative. Spent 2 hours on this already. What I have... $ \\frac{\\partial z}{\\partial x}=\\frac{\\partial r}{\\partial x}\\frac{\\partial z}{\\partial r}+\\frac{\\partial z}{\\partial θ}\\frac{\\partial θ}{\\partial x}$. So I'm guessing that $\\frac{\\partial z}{\\partial r}$ and $\\frac{\\partial z}{\\partial θ}$ are unkown? And I will need to use them to differentiate again. Any help is really welcome. This is simply only part of a bigger question. Full Question:",
"How to prove $\\lim\\limits_{n \\to \\infty} (1+\\frac1n)^n = e$?",
"When is it correct to use the \"-wise\" suffix?",
"Proving the determinant of a tridiagonal matrix with $-1, 2, -1$ on diagonal. Let $A_n$ denote an $n \\times n$ tridiagonal matrix. $$A_n=\\begin{pmatrix}2 & -1 & & & 0 \\\\ -1 & 2 & -1 & & \\\\ & \\ddots & \\ddots & \\ddots & \\\\ & & -1 & 2 & -1 \\\\ 0 & & & -1 & 2 \\end{pmatrix} \\quad\\text{for }n \\ge 2$$ Set $D_n = \\det(A_n)$ Prove that $D_n = 2D_{n-1} - D_{n-2}$ for $n \\ge 4$.",
"I have two internet connection from two different ISP. ADSL on eth0 and 4G on wlan0. Is there any way that if one ISP fails, the other take over automatically without a physical router and by Host OS (Ubuntu 18.04)?",
"Word for a person who continually tries to teach you when it's not necessary I've experienced this way too many times, and the best example I can give is a person who treats you like you have no idea how to do X and who keeps teaching you how to do it. I feel handicapped. Take for example how to play a card game. You know how to play the game because you've played it 5 times. However, there is a person always insists on explaining the game to you - like you are always new to the game - when you don't actually need any help and you just want to think for yourself. Another example situation is doing a repetitive task which you already have experience with, and yet the person continually tries to 'teach' you when you don't need help/already know how to do it. It almost makes you mad because you really don't need help. As an example which recently happened to me: "Hey, do you remember how to start the wood chipper?" "Yes I do" "Okay, well, let me show you one more time" Again, is there a term for someone who does this?",
"pgAdmin 4: How to establish a connection through an SSH tunnel/interface in Windows I installed the latest pgAdmin 4 (v2.1) but I found out that (), for the moment, the only way to establish a connection through an SSH tunneling is using another outside process, an says: I setup a tunnel as follows: ssh -f dpage(at)hostname(dot)enterprisedb(dot)com -L 5999: hostname.enterprisedb.com:5432 -N (...) I was running on Mac, but the same procedure should work on Linux. On Windows, there's a tunnelling app in Putty iirc, but I don't know how to use it offhand. I have found a simple . The connection is established but it seems, when I try to connect through pgAdmin it fails or is refused (using 127.0.0.1:3306 or 127.0.0.1:5432 as the tunnel's destination). Why?",
"Copy and set-mark in Bash as in Emacs? I would like to be able to copy and paste text in the command line in Bash using the same keyboard bindings that Emacs uses by default (i.e. using C-space for set-mark, M-w to copy text, C-y, M-y to paste it, etc.). The says that Bash comes with some of these key bindings set up by default. For example, yanking (C-y) works by default on my terminal. However, I can't get the set-mark and copy commands to work, and they don't seem to be bound to any keys by default. Usually, the way a user can define her own key bindings is to add them to .inputrc. So I looked and found the following bash functions in the documentation that I presume can help me define the Emacs-like behavior that I want (i.e. set-mark with C-space and copy with M-w). copy-region-as-kill () Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound. and set-mark (C-@) Set the mark to the point. If a numeric argument is supplied, the mark is set to that position. If I understand correctly, the above means that copy-region-as-kill is not bound to any keyboard sequence by default, while set-mark is bound to C-@ by default. I tried C-@ on my terminal, but I don't think it runs set-mark because I don't see any text highlighted when I move my cursor. In any case, I tried adding keyboard bindings (M-w and C-) to the functions copy-region-as-kill and set-mark above in my .inputrc and then reloading it with C-x C-r, but this didn't work. I know that my other entries in .inputrc work because I have other user-defined keybindings defined in it. Is there anything I am doing wrong? Am I missing anything?",
"How can I produce a 'ring (or wheel) chart' like that on page 88 of the PGF manual? I really like the 'ring chart' or 'wheel chart' given as an example on page 88 of the PGF manual. It is like a pie chart, but with a label in the centre. Unfortunately, the manual doesn't give the source for that chart. Does anyone have an example? Thanks.",
"Why is the Sun approximated as a black body at ~ 5800 K? Apparently spectral solar radiation is approximated by a black body at 5800 K. The spectral black body distribution (Planck distribution) is shown below (from Incropera, Fundamentals of Heat and Mass Transfer), with different temperatures including solar radiation at 5800 K. The heat flux on an Earth surface perpendicular to sun rays (i.e., the solar constant), is roughly 1.36 kilowatts per square meter. Is this simply the integral of the above distribution? Why is the sun approximated as a black body at 5800 K? Does this mean that the surface of the sun which is emitting radiation has a temperature of 5800 K? That seems kind of low. Is solar radiation approximated as a black body at 5800 K only on Earth, or is it the same everywhere? Why don't atmospheric effects and scattering change measurements of the solar spectrum on Earth? EDIT: The solar constant is approximated by considering the Stefan-Boltzmann law (i.e., the integration of the spectral solar emission), the size of the sun, and the distance from the sun to Earth. A good derivation is shown here:",
"How to validate an email address in JavaScript",
"If $f(x)=x-\\int^{\\frac{\\pi}{2}}_0f(x)\\sin(x)dx$ find the explicit function for $f(x)$ in its simplest form",
"Assume that $Y_0,\\ldots , Y_n$ are independent random variables with the following identical distribution: $Y_i=1$ with propability $p$ and $Y_i=0$ with propability $1-p$. Also set $S_0=0$ and $S_n=Y_0+\\ldots + Y_n$. It's quite trivial that $(Y_n)_{n\\geq 0}$ is a Markov chain, and I managed to show that $(X_n)=(S_n)_{n\\geq 0}$ is also a Markov chain, by showing that $\\mathbb{P}(X_{n+1}=i_{n+1}\\,|\\,X_0=i_0,\\ldots,X_n=i_n)=\\mathbb{P}(X_{n+1}-X_n=i_{n+1}-X_n\\,|\\,X_0=i_0,\\ldots,X_n=i_n)=\\mathbb{P}(Y_{n+1}=i_{n+1}-X_n\\,|\\,X_0=i_0,\\ldots,X_n=i_n)=\\mathbb{P}(Y_{n+1}=i_{n+1}-i_n)=\\mathbb{P}(Y_{n+1}+i_n=i_{n+1})=\\mathbb{P}(X_{n+1}=i_{n+1}\\,|\\,X_n=i_n)$ However I am now running into the problem that I have to find whether or not $(X_n)=(S_0+\\ldots + S_n)_{n\\geq 0}$ is a Markov chain. I suspect that it isn't, but i'm having trouble finding a counterexample. I also need to find if $(X_n)=(S_n, S_0+\\ldots+S_n)$ is a Markov chain, but I think this actually might be one, since $X_n$ gives \"more information\" (so to speak) to $X_(n+1)$. Again, having trouble actually proving that. I appreciate any help, tips etc you can give me.",
"Combining with allowframebreaks in beamer"
] |
medi_sts_stackexchange_dupe
|
Papa Rudin exercise 2.8
|
Construction of a Borel set with positive but not full measure in each interval
|
[
"I have forgotten my ID proof and I'm doing an Indian domestic flight. Can I still fly? I am travelling from Delhi to Indore, a domestic flight. I forgot to take ID proof. Can I still fly?",
"System.Exception: Too many SOQL queries: 101",
"Prevent href=\"#\" link from changing the URL hash",
"headed or heading, started or starting? Consider: Two units are headed your way. Two units are heading your way. Don't get me started! Don't get me starting! Is there any difference in meaning? And I don't see why passive voice is used here. I would think they have similar meaning here. Help me to clarify!",
"How to make mesh lights work in Blender Eevee? The closest I can get to making mesh lights affect their environment in Blender Eevee is giving them an Emission material and turning on \"Bloom\". But this isn't emitting proper light, it just looks like it is, but it doesn't light the surroundings whatsoever. I would like to be able to light a scene with meshes without having to put point lamps everywhere just to make them emit light.",
"How do I prove that $$ a^3+b^3+c^3−3abc = 1 $$ if $ a = 1+\\frac{x^3}{3!}+\\frac{x^6}{6!}......$ , $b=x+\\frac{x^4}{4!}+\\frac{x^7}{7!}....$ , $c=\\frac{x^2}{2!}+\\frac{x^5}{5!}+\\frac{x^8}{8!}......$ ? I have tried the following :- I discovered that $a+b+c=e^x$ and that $a=\\frac{d(b)}{dx}$, $b=\\frac{d(c)}{dx}$, $c=\\frac{d(a)}{dx}$ . But I am unable to proceed further with these information.",
"home socket with DC voltage I'm wondering why, in a standard house, instead of using many low power AC-DC rectifier, there isn't a big (like 12V 20~50A) AC-DC rectifier which supplies some wall socket with a DC voltage? In the long run this should be less expensive, given the fact that AC to DC in one big apparatus is done better than in many low-quality transformers, right? Also, modern chip DC voltage regulators have efficiency of >90%, so smaller (or even larger) voltages are still efficient and possible. So we could use a 12V socket to charge a phone, desktop computer, laptop, radio etc... and still have an AC socket to move washing machine engine and other things that work better with an AC supply. Why isn't this done? edit: real question is: is it convenient, given a standard family (2 laptop, 1 desktop, 4 smarthpone, 1 big tv and some minor electonic) to do so?",
"Say for a game with irregular hotspots (say Risk, or a strategy game like Paradox's Hearts of Iron or Crusader Kings), how do you Define a non-rectangular hotspot of irregular shape (much like a territory on a map?), in code? What tool can you use to trace out the hotspot and import into your game? What is the algorithm for detecting if someone has clicked within such a hotspot?",
"Sending & Receiving SMS via WiFi Is there a way to send and receive SMS when a cellular signal is not available, but WiFi is? I'm often on-site at locations where the building has a strong WiFi (Internet) connection, but a simple cell signal is spotty at best.",
"I'm trying to compute the shadow of 3D objects on the ground. To do this I'm assuming parallel rays from Sun origin. Let's assume the Sun direction is given by azimuth $\\varphi$ and elevation $\\theta$ angles. So the direction unit vector is retrieved as: $$ \\hat{\\mathbf{s}} = \\mathbf{R}_y\\left(\\theta\\right)\\mathbf{R}_z\\left(\\varphi\\right)\\hat{\\boldsymbol{\\imath}}$$ where $\\mathbf{R}_{x/y/z}$ are the rotation matrices along the $x, y, z$ axes given by, for example, Euler-Rodrigues equation, and $\\hat{\\boldsymbol{\\imath}}$ is the unit vector along $x$-axis. A point on a ray-line has the equation: \\begin{equation} \\mathbf{r} = \\mathbf{r}_p + \\lambda\\hat{\\mathbf{s}} \\tag{1} \\end{equation} being $\\mathbf{r}_p$ a point on that line. A point on a general plane is given by the equation: \\begin{equation} \\left(\\mathbf{r} - \\mathbf{r_0}\\right)\\cdot \\hat{\\mathbf{n}} = 0 \\tag{2} \\end{equation} being $\\mathbf{r}_0$ a point on the plane and $\\hat{\\mathbf{n}}$ the unit vector normal to that plane. Ensuring the validity of both equations (1) and (2) allows to compute the $\\lambda$ multiplier and retrieve the position vector of the projected point (writing $\\tilde{\\mathbf{r}} = \\mathbf{r_p} - \\mathbf{r_o}$) \\begin{gather} \\lambda = - \\left(\\frac{\\tilde{\\mathbf{r}}\\cdot \\hat{\\mathbf{n}}} {\\hat{\\mathbf{s}}\\cdot\\hat{\\mathbf{n}}}\\right) \\\\ \\mathbf{r}_\\text{proj} = \\mathbf{r}_p - \\left(\\frac{\\tilde{\\mathbf{r}}\\cdot \\hat{\\mathbf{n}}} {\\hat{\\mathbf{s}}\\cdot\\hat{\\mathbf{n}}}\\right)\\hat{\\mathbf{s}} \\tag{3} \\end{gather} Applying eq. (3) to all the vertices of a mesh $\\left\\{\\mathbf{r}_{p_i}\\right\\}$ . A problem can be noted: $\\hat{\\mathbf{s}}\\cdot \\hat{\\mathbf{n}}$ can be zero (e.g. Sun is horizontal, i.e. the ray is ortogonal to the normal of plane). Are there some conceptual mistakes in my reasoning? Is there a way to rewrite the operation as a linear operator applied to the set of vertices position vectors? $$ \\left[\\mathbf{A}\\right]\\left\\{\\mathbf{r}_{p_i}\\right\\} = \\mathbf{r}_\\text{proj}$$",
"Why do statisticians say a non-significant result means \"you can't reject the null\" as opposed to accepting the null hypothesis?",
"Is there any software package to solve the linear regression with the objective of minimizing the L-infinity norm.",
"How to disable notifications for a single mailbox in Mail? When managing multiple mailboxes, is it possible to disable the notifications for certain mailboxes?",
"I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is in use. When I opened GParted in the Live CD, I realized that I could not resize the partition, because when I right-click it, the option \"resize/move\" is disabled. I tried to unmount it, to \"lazy\" unmount it (umount -l /dev/sda2) but it didn't work. A screenshot from GParted:",
"FTPS versus SFTP versus SCP",
"SharePoint People.aspx Page is Visible for All Users The SharePoint People.aspx page is visible for all users by default. Is there any way to restrict this page from certain readers?",
"Is there a way in Java to have a map where the type parameter of a value is tied to the type parameter of a key? What I want to write is something like the following: public class Foo { // This declaration won't compile - what should it be? private static Map<Class<T>, T> defaultValues; // These two methods are just fine public static <T> void setDefaultValue(Class<T> clazz, T value) { defaultValues.put(clazz, value); } public static <T> T getDefaultValue(Class<T> clazz) { return defaultValues.get(clazz); } } That is, I can store any default value against a Class object, provided the value's type matches that of the Class object. I don't see why this shouldn't be allowed since I can ensure when setting/getting values that the types are correct. EDIT: Thanks to cletus for his answer. I don't actually need the type parameters on the map itself since I can ensure consistency in the methods which get/set values, even if it means using some slightly ugly casts.",
"How to find manually installed packages? I installed a plain Ubuntu 10.10 on my computer and installed some software via apt-get. Last week I managed to break everything and just started from scratch, and I need to reinstall my software. Is there some way to create a list with all the packages that I have installed manually? So that it would give me a list like texlive, ... and not texlive, texlive-dep1, textlive-dep2, ... and all the standard packages removed? If I could somehow figure out which programs out of the regular install I have removed, that would be awesome too! Update 2015-05-23: I now use Ansible as configuration management on my systems. There I specify the packages to install. This serves the goal, installing all the programs on a fresh system, even better. So this question might be the entry into some light configuration management.",
"What items are mutually exclusive between worlds? As of 1.2, some features are mutually exclusive between worlds. In the case of ores at least, . However, a gives you the chance for a (and the upgraded Sweetheart Necklace) which does not seem to have an equivalent version in the Corruption. What items, if any, are truly mutually exclusive in function between worlds?",
"Why was Gotham City changed from a mostly fictional city to New York City in the Nolan trilogy? In Batman Begins, Gotham City has a futuristic/fictional and run down look: think of Oldtown, the trains built by the Wayne Corporation etc. In The Dark Knight Rises, Gotham City looks like plain old real world New York City — we don't see the trains anymore. Oldtown is just a standard poor neighborhood. Lots of the locations used in the movie are easily identified as real world NYC locations: the stock exchange or East River bridges for example. My question is: Why did Nolan change Gotham city from a shady fictional more cartoon-like town to plain old NYC? Edit: The examples from Batman Begins and The Dark Knight Rises were just for illustration; I didn't intend to limit the question to those two movies. Edit 2: I specifically want to know why Gotham City was changed from a cartoon-like city in Begins to an almost real-world NYC in The Dark Knight Rises (via not so cartoon-like but not yet real-world like Chicago in The Dark Knight Rises). Why it's NYC or Chicago is not so important for me. But why, e.g., were the trains which featured prominently in Begins gone in The Dark Knight Rises? There was only a very short in-universe time-span between the events of the two movies, yet Gotham changed drastically."
] |
medi_sts_stackexchange_dupe
|
how to find $|GL_2(F_p)|$
|
Order of general- and special linear groups over finite fields.
|
[
"Frequency Detection Circuit Design",
"How can I make a camera the active one? I have multiple cameras in a scene. What I want to do is to change which one is active. This way I can view the scene from different angles. How would I do this?",
"I just signed up, a day or two ago, and I've received a notification that there's something in my inbox. Unfortunately, my email client isn't able to show me a link to my Inbox, or the message, because of the format of the email. I normally use the email address that I gave when I signed up, just with MailWasher, which is intended to safely preview emails, as plain text, to decide whether or not to open them in a normal HTML email client. I would be nice if that email contained a link to my inbox, which could be shown in MailWasher. In order to collect that email in a normal email client, I'd also have to collect or delete all the other emails sent to that address. I'm not entirely clear what's been done in that email to stop MailWasher seeing the link. I can see a link to leave feedback, and one to unsubscribe, but not one to check my inbox. Sure, I can live without one, but those emails would be a lot more useful to me if I could just click a link to go to my Inbox.",
"Is it acceptable to say \"fed up OF\" - surely it should be \"fed up WITH\" or \"bored WITH something\" rather than \"bored OF something\"?",
"Your summary page shows \"N Edits to your posts\" for the selected time period but you really have to be looking for it. Could we add edits to the notification feed? You could put the reason for the edit (entered--or not--when the editor changes it) and just a link to the post.",
"Regression with only categorical variables",
"I have put together a map using the British OS Strategi data set which is pretty densely detailed. It is surveyed at 1:250,000 and so contains roads down to track level, rivers, villages, railway lines - you name it. There's a lot of data. When I try and export an image version of the map (at about 1m x 1m), I always get an 'Exception: bad allocation' error. This happens when I try to export as a raster image or PDF. I have tried printing to a PDF generator (CutePDF) but the same thing happens. The print spooler shows the file size at 1.6Gb. I am running QGIS on a dual core 2ghz Windows 8 system with 4Gb of RAM. Is it just a case of the file being too big? Is there anything I can do? Or is there an alternative, free GIS package that would do a similar job?",
"How to resolve \"Failed to download repository information\"? Whenever I try to install anything with the Ubuntu Software Center, the following error appears. Failed to download repository information Check your Internet connection. E:Unable to parse package file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index (1)",
"Is it possible to induce Mathematica to chop off parts of Graphics objects that exist outside of a Frame?",
"Removing clock from the lock-screen I'm using Ubuntu 18.04. I want to remove the digital clock from the lock screen because I just want to see a good wallpaper there, unobstructed. How do I go about this?",
"I just noticed . Hey! I'm there! But that's beside the point. The point is that Nick Craver is there too. Nick seems to like really long tag names, so his profile shows up like this: Akk! Diamonds everywhere! It seems that the page is optimized for only two lines of tags per user. One tag per line means three lines. Three lines means that Nick's reputation (tag) is cut in half. Let's not cut Nick's rep (tag) in half on the Users page, no?",
"Java Swing: Displaying images from within a Jar When running a Java app from eclipse my ImageIcon shows up just fine. But after creating a jar the path to the image obviously gets screwed up. Is there a way to extract an image from the jar at runtime so I can then open it up? Or, is there a better way to do this? I'd like to distribute a single jar file if possible.",
"If $A,B,C$ are matrices I am thinking how to show that $$ A(B + C) = AB + AC$$ Is possible to show without sums like $\\sum_i a_i, ..., \\sum_j b_j$? It seems if I do the proof with many indexes then is tedious and I don't learn much from it.",
"Is there a particle called a \"tachyon\" that can travel faster than light? If so, would Einstein's relativity be wrong? According to Einstein no particle can travel faster than light.",
"I am stuck in a question for Algebraic Structures: I need to prove: If given any ring $R$, for any $a$ in $R$ $a\\cdot a=0$ then $a+a=0$. (of course $+$, $*$ and $0$ regarding $R$) I didn't find any question regarding this question.",
"What do damage buffs affect? In Overwatch, there are several ways to buff the damage dealt by a hero: the alternate fire of Mercy's Caduceus Staff, Ana's Nano Boost, and Orisa's Supercharger. Are they all governed by the same rules? What can they affect, or not affect? This question exists to have a single reference point for the many, many questions that have been asked, instead of having to update each answer individually when game mechanics change",
"Sum over all non-evil numbers",
"How to access the grub boot menu in order to generate bootchart? I am running Ubuntu Gnome 15.04, and I want to generate a bootchart to help me diagnose some system problems. However in it says: So how do I access the grub boot menu in order to append this text? And just to be clear, how should the line look once I have appended the necessary text? Also, is grub already installed for I don't appear to have either or these packages: grub or grub2? OS Information: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid",
"How can I get this symbol without using bbold? A solution I saw somewhere suggested to use \\usepackage{bbold} $\\mathbb{1}$ which works well and I get what I want. However, now other symbols used to represent real numbers, natural numbers, etc look ugly. I'd like them to look (without using bbold) I'd like to only use that package to achieve that strange double one. Is there any way I can do that?",
"Properties of $\\liminf$ and $\\limsup$ of sum of sequences: $\\limsup s_n + \\liminf t_n \\leq \\limsup (s_n + t_n) \\leq \\limsup s_n + \\limsup t_n$ Let $\\{s_n\\}$ and $\\{t_n\\}$ be sequences. I've noticed this inequality in a few analysis textbooks that I have come across, so I've started to think this can't be a typo: $\\limsup\\limits_{n \\rightarrow \\infty} s_n + \\liminf\\limits_{n \\rightarrow \\infty} t_n \\leq \\limsup\\limits_{n \\rightarrow \\infty} (s_n + t_n) \\leq \\limsup\\limits_{n \\rightarrow \\infty} s_n + \\limsup\\limits_{n \\rightarrow \\infty} t_n$. I understand the right two-thirds of the equation, and can prove it. I'm stuck on the far-left third. I don't understand how that is true."
] |
medi_sts_stackexchange_dupe
|
Android layout-swXXdp for galaxy SII
|
Smallest Width for Galaxy S and Galaxy S2
|
[
"Why are \"baked\" and \"naked\" not pronounced the same?",
"Splitting a semicolon-separated string to a dictionary, in Python",
"What do \"watched tags\" and \"ignored tags\" do?",
"Prove that if a function $f: X\\to Y$ continuous then its graph is closed",
"Today, comparing processors is obviously not just looking at the frequency and the number of cores. When choosing a new PC, how do you compare processors? Is there some resource, like a site or something that does (not necessarily super-precise) processor comparisons? Thanks.",
"After upgrading from Ubuntu 13.04 server, the www pages won't display themselves. Error 403 Forbidden You don't have permission to access / on this server. I've changed access control saves from apache2.2 to apache2.4, but that didn't work. What else could I do?",
"A nasty integral of a rational function I'm having a hard time proving the following $$\\int_0^{\\infty} \\frac{x^8 - 4x^6 + 9x^4 - 5x^2 + 1}{x^{12} - 10 x^{10} + 37x^8 - 42x^6 + 26x^4 - 8x^2 + 1} \\, dx = \\frac{\\pi}{2}.$$ Mathematica has no problem evaluating it while I haven't the slightest idea how to approach it. Of course, I would like to prove it without the use of a computer. Is this an explicit form of a special function I fail to recognize?",
"How to test randomness (case in point - Shuffling) First off, this question is ripped out from question. I did it because I think this part is bigger than a sub-part of a longer question. If it offends, please pardon me. Assume that you have a algorithm that generates randomness. Now how do you test it? Or to be more direct - Assume you have an algorithm that shuffles a deck of cards, how do you test that it's a perfectly random algorithm? To add some theory to the problem - A deck of cards can be shuffled in 52! (52 factorial) different ways. Take a deck of cards, shuffle it by hand and write down the order of all cards. What is the probability that you would have gotten exactly that shuffle? Answer: 1 / 52!. What is the chance that you, after shuffling, will get A, K, Q, J ... of each suit in a sequence? Answer 1 / 52! So, just shuffling once and looking at the result will give you absolutely no information about your shuffling algorithms randomness. Twice and you have more information, Three even more... How would you black box test a shuffling algorithm for randomness?",
"Before I start, YES, I have done my own research - I know how annoying a repeat question is. Yet each answer is so specific to others... When I tried the beta 2.8 64 bit, it says \"Blender requires a driver with at least OpenGL 3.3 support. The program will now close.\" The question: I know that it is true that 2.8 requires OpenGL 3.3. But does my PC not have it, doesn't support it, or do I have it and blender won't detect it? I'm not sure what info to include or what to look for, so here's my PC's specs: Windows 10 (64 bit) Core - Intel Core i5-2400 CPU @ 3.10GHz RAM - 8GB (7.89GB usable) System type - 64-bit Operating System, x64-based processor Thanks! EDIT: Graphics properties:",
"Lat/Long co-ordinates are not plotting onto EPSG:3857 OSM basemap correctly Excuse me if this is a stupid question, but I've honestly tried to find the answer in a few threads here on SE, and I cannot seem to follow the suggested steps correctly. Project is in (WGS 84 / Pseudo-Mercator) BaseMap (OpenStreetMap) layer is set to EPSG:3857 Vector data has been imported from CSV, and has Lat/Long coordinates, set to EPSG:3857. The layer appears right in the middle of the map, around 0,0 obviously. Why is this, what am I doing wrong?",
"forecast using arima models I am trying to predict values using arima(0,1,1). After doing predict(mod,n.ahead=5) (in R) am getting the same value for all the predictions: 5947.681 5947.681 5947.681 5947.681 5947.681 Is it correct?",
"Just freeze an application (suspend the CPU, save its state to disk) and 'defrost' it when I want to use it 4 weeks later.",
"$\\gcd(a,b)\\!=\\!1\\!=\\!\\gcd(a,c)\\Rightarrow\\gcd(a,bc)\\!=\\!1$ [coprimes to $\\,a\\,$ are product closed] How do I go about proving this? If $\\gcd(a,b)=1$ and $\\gcd(a,c)=1$, then $\\gcd(a,bc)=1$. I'm very confused with gcd proofs.",
"Why exactly do sometimes universal covers, and sometimes central extensions feature in the application of a symmetry group to quantum physics?",
"How to format number with comma in apex",
"A post can be locked. What does it mean to lock a post? Who can lock a post? When should a post be locked?",
"What to do if a referee plagiarises the result after rejecting a paper?",
"Does an adjective or longer modifier apply to both nouns when they are joined with 'and' [or 'or']? Can you grab the blue shirts and socks? Is the above sentence stating that both the shirts and the socks are blue? Or only the shirts? At this stage, I am leaning towards the earlier (only the shirts) — though writing \"Can you grab the blue shirts and blue socks?\" seems redundant.",
"MySQL Error 1093 - Can't specify target table for update in FROM clause",
"Got a bunch of .mp4 videos (info shows H.264 Video + AAC Audio) that are chapters of a larger video. I'd like to merge them, but not sure which is the best way. I don't have Quicktime Pro, but I'll get it if that's the best way to do this. Edit: Just to clariify this is Mac OSX 10.6 I'm on."
] |
medi_sts_stackexchange_dupe
|
Is there a more granular cron-like scheduler? Instead of just by the minute, but at a certain second?
|
How to run scripts every 5 seconds?
|
[
"Requires installation of untrusted packages? I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error. I searched for hours for a solution to this problem, and finally came upon a suggestion that said to change servers for downloading updates from. I did this, and it gave me a 404 error when I clicked on \"Check\" in the Update Manager. I tried switching my server back to the main one (and after that, several other ones), but I am now still getting a 404 error: And the other error I get when downloading or updating: Edit: Output of cat /etc/apt/sources.list: deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties deb http://us.archive.ubuntu.com/ubuntu/ precise-security universe ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu precise partner deb-src http://archive.canonical.com/ubuntu precise partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software.",
"Is there a way to detect if a browser window is not currently active?",
"Kernel of injective group homomorphism If $\\phi$ is a homomorphism from the group $G$ with identity $e$ to the group $G'$ with identity $e'$, then $\\phi$ is injective if and only if $\\ker\\phi=$? I think the $Ker\\phi = \\{x\\in G:\\phi(x)=1\\}$ because you are looking at an identity then it is all reals $0$ does not work a because if $x=0, e'x=0$ but then i realize it is injective how does that affect the kernel?",
"Recursively delete empty directories in Windows I have a directory on my Windows 7 machine that has hundreds if not thousands of sub-directories. Some of them have files, some do not. I want to delete all the empty directories. Looking at the del and rmdir DOS command, it does not look like you can recursively do this without deleting all the files. Is there a way to do this from the command line?",
"I tried to open the door. I tried opening the door We can use both infinitive and gerund with verb \"try\" as used in above sentences. Does it change the meaning of the sentence if use gerund or infinitive?.(here i don't know if the meaning of sentences is changed.) The same confusion arise in these two sentences. 1.I stopped seeing him. 2. I stopped to see him.(But in case of these two sentence i know the meaning is changed but don't know exactly what the change is).",
"How to combine bold and \"code sample\" in Markdown?",
"Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?",
"How can I fix Print Composer errors due to huge file size?",
"Test to see when table is candidate for compression (row or page) Does anyone know a tool like this page where one can determine if a table is a good candidate for row or page compression. Also I am trying to understand the benefits of compression. I have been reading about it, but still have these questions. Will compression make more 8KB fit in the buffer cache? When does data become uncompressed i.e. in a select? will backups become faster? Is the reason that compression ads cpu overhead because e.g. inserts need to be compressed before the insert? Is there any good reason to compress tables without investigating how the tables is being used (i.e. static vs. volatile). A colleague has started to compress many tables (page). I don't know the analysis behind this decision. I know we sometimes have resource semaphore waits during some peak hours. I actually don't think he knows what he is doing. I can see that our sos scheduler yield waits have gone slightly up. I think the compression is causing more harm and it seems that maintenance tasks overshoot more now (e.g. backups, checkdb...).",
"Search [tag1] OR [tag2] Is there a way to search questions that are tagged with either tag1 or tag2? Actually, I would like the general filter, ([tag1] AND [tag2], ...) OR ([tag3] AND [tag4], ...) OR ... And even [tag1] AND ([tag2] OR [tag3]) I need that because I'm looking for interesting questions and I have to search for each tag separately.",
"Most incarnations of The Hulk I've seen or read about state that he is as strong as he needs, basically meaning that there is no limit to how strong he can get. Is there any canon regarding this? Have we seen the upper limit of the Hulk's strength?",
"The title kind of says it all. Is it possible to replace C# with C++ on a game using Unity?",
"Show that the set of all finite subsets of $\\mathbb{N}$ is countable.",
"How to delete a Test Class WITHOUT using eclipse I cannot install Eclipse, even if I wanted to. It is not approved software for my org. How can test classes be deleted from production, using deployments? There no 'active' checkbox when I am editing the classes in sandbox mode, so I can't just deactivate the test class, and i cant deploy a deleted class to prod... how the heck is this done? I dont want to use ANT or special software. SF must have a native way to achieve this. And if not... then I am very disappointed in humanity.",
"Jquery load() and PHP variables",
"I'm getting the following error message: System.QueryException: Didn't understand relationship 'AccountContactRelation' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names. Select Email, Id, (Select ContactId, AccountId From AccountContactRelation) From Contact In AccountContactRelation object there are two lookup fields for Account and for Contact. Please advise how to avoid such error message?",
"No notification (+15) for accepted answer",
"Spam iCloud Calendar Invitations",
"find() function in python2.7.5",
"The characteristic and minimal polynomial of a companion matrix of a monic polynomial $f \\in \\mathbb F\\left[x\\right]$ in $1$ variable $x$ over a field $\\mathbb F$ plays an important role in understanding the structure of finite dimensional $\\mathbb F[x]$-modules. It is an important fact that the characteristic polynomial and the minimal polynomial of $C(f)$ are both equal to $f$. This can be seen quite easily by induction on the degree of $f$. Does anyone know a different proof of this fact? I would love to see a graph theoretic proof or a non inductive algebraic proof, but I would be happy with anything that makes it seem like more than a coincidence!"
] |
medi_sts_stackexchange_dupe
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.