Java Array String[] name or String name[]

I have a small question.  Is there any differences between:   - String[] name   and    String name[]


When I convert a PDF to plain text, the text is scrambled

When I convert a PDF created in MiKTeX to plain text, all diacritics are at the wrong place. I need to send my thesis to online antiplagiator checking page.  Example:     pr´ce a diskusia mˆˇu tvorit aj jednu y y y a oz samostatn´ ˇast a spoloˇne   How can I fix it?  Ok, here is some working example:  \documentclass[12pt, oneside]{book} \usepackage[T1]{fontenc} % <---- Like this? \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[slovak]{babel} \linespread{1.2}  \begin{document}      ľščťžýáíéäúôň %these are some misbehave characters  \end{document}


I am looking for a transparent screensaver. Or a way for there to be no screen saver, but instead of locking, it disables the mouse and most of the keyboard, until I hit an unlock key.


What happens to the second Marty at the end of Back to the Future?

In  (the original movie), Marty comes back from 1955 10 mins early to prevent Doc from being shot (which he fails at). He then rolls up to the Lone Pine Mall and sees himself hit 88 mph and shoot back to 1955 (again). Marty then carries on with this life as usual. What happens to the Marty that goes back to 1955 at the end of the film?  This obviously is a recursive problem where it would create another timeline and Marty would keep coming back 10 mins early to view another Marty zip back to 1955?


Connecting a MacBook Pro to a Windows ad hoc network

I'm trying to share my wired ethernet connection from my Windows 7 laptop with my MacBook Pro (running 10.6.5). I've just set it up to be an open network; no encryption. I'm pretty sure I set up the ad hoc network correctly, it's broadcasting, and I can connect to the network on the mac.   The catch is that the network shows up under the "Devices" part of the menu, rather than the main networks area. I can't browse to any websites, nor connect to the Windows box via samba. The IP assigned is a 169.254 one.  Is there some setting somewhere that I missed to get this to work correctly? Do I need to manually set this up some how? Here are my network settings:


Let $z$ be a complex number, and let $n$ be a positive integer such that $z^n = (z + 1)^n = 1$. Prove that $n$ is divisible by 6.    I feel like $|z|=1,$ but I don't know how to prove it.  Even if I found that, how would it help?  Solutions are greatly appreciated.  Thanks in advance!  *I believe there's multiple ways to solve this question.  And I would like to solve it using the one without much calculus.  I only know up to intermediate algebra.


While the time to wait makes sense when something is wrong with the content of the question, it makes no sense when more than five tags were used. I mean, no one will need 50 seconds to delete a few tags.   App version: 1.0.85


How do I sort a std::vector by the values of a different std::vector?

I have several std::vector, all of the same length. I want to sort one of these vectors, and apply the same transformation to all of the other vectors.  Is there a neat way of doing this? (preferably using the STL or Boost)?  Some of the vectors hold ints and some of them std::strings.  Pseudo code:  std::vector<int> Index = { 3, 1, 2 }; std::vector<std::string> Values = { "Third", "First", "Second" };  Transformation = sort(Index); Index is now { 1, 2, 3};  ... magic happens as Transformation is applied to Values ... Values are now { "First", "Second", "Third" };


I have a new 2TB external drive formatted as exFAT.. when I started copying data to it, I heard very mild clicks (I know more or less how a failing drive sounds and this was a lot more quiet) and then it stopped... It still happens occasionaly for a few seconds (every few hours or so), but I don't know if that's something newer WD drives just do or I should be worried.  So please tell me if any sound like this is a reason to return the drive? Should it not make any quiet clicks at all? I have a similar 1TB WD hdd and I haven't heard such sounds from it...  thank you! david


I want to switch a spare laptop I have from Windows 10 to Linux. I don't wish to keep windows on there at all and have nothing on there to back up. Can anyone point me towards a guide that shows me how to do this please? Thanks


My passport is slightly broken as in pic, everything else is intact. Is it considered as damaged passport? My first passport was water damaged and this is second and if it is considered as damage, will it give a bad remark?


How do I make a 2D character aim their gun toward the mouse?

is a perfect example of the shooting mechanic I'd like. The character aims perpetually toward the mouse. What's going on here?  From what I've read so far, you could separate the arm and rotate that. I've also noticed some people use a different sprite for each weapon.  How can I achieve this?


What Sci-Fi book (1987 or older) had Aliens conquer earth and made Humans their slaves?

I have been trying to recall the title of a book I read about 25 years ago (1987), I have tried to find it again a couple of times over the years without any luck.    The story takes place on earth, which has been invaded and conquered by aliens.  The humans have become servants or slaves.  One of the primary human characters is the human servant of an alien leader.  If I remember correctly, the aliens are much bigger than humans, I keep thinking of horses or elephants for some reason with regard to the aliens.  At the end, somehow the human slaves have forced the aliens to abandon their conquest of earth, but I don't remember exactly why.  I think it was something to do with simply refusing to be obedient, which the aliens could not comprehend, but I'm not sure about that.  I think the book ends with the alien leader (and the rest of the aliens) blasting off from earth in a rocket.  Does anyone recognize what book I'm referring to?  Thanks for any help!


My email is being sent to spam but not to inbox in code igniter

This code is working fine but mails are going to spam folder instead of inbox.   public function get_in_touch_always(){  $this->_Creating_get_in_touch_always();     if ($this->form_validation->run() === TRUE){         $data = array();         $data['name'] = $_POST['name'];         $data['email'] = $_POST['email'];         $data['phone'] = $_POST['mobile'];         $data['message'] = $_POST['message'];         //$data['charges'] = $_POST['charges'];         $data['upload_date'] = date("d M Y");         $data['upload_time'] =  date("h:i a");         if ($this->b->insert_in_touch_always($data)) {     $this->load->library('email');     $config['protocol']='smtp';     $config['smtp_host']='xxx.com';     $config['smtp_port']='465';     $config['smtp_timeout']='60';     $config['smtp_user']='xxx@yy.com';     $config['smtp_pass']='xxx';     $config['charset']='utf-8';     $config['newline']="\r\n";     $config['crlf']="\r\n";     $config['wordwrap'] = TRUE;     $config['mailtype'] = 'html';     $this->email->initialize('email',$config);     $this->email->from('xxx@yy.com', 'xxx');     $this->email->to('yyyy');     $this->email->bcc('zzz@gmail.com');            $this->email->subject('Notification Mail');     $this->email->message('Hie world');     if($this->email->send()){         echo "Sent";     }else{         echo "fail";     }     die();     echo "ok sent";     show_error($this->email->print_debugger());                                $this->outputData['error'] = 'Successfully Your Query is Created';         } else {             $this->outputData['error'] = 'Failed To Insert';         }     } else {         $this->outputData['error'] = validation_errors();     }     $this->load->view('thanku', $this->outputData); } }   Please let me know the solution for this. I am getting the mails but it is still going to spam folder. Is there anything to be added for this?


Kingoffice availability for ubuntu 12.04

Is there a free version of Kingoffice for Ubuntu 12.04?  If not, what are existing alternatives ?


Why would all the tests for normality reject the null hypothesis?

The Kolgomorov-Smirnov test, Shapiro test, etc.... all reject the hypothesis that a distribution is normal. Yet when I plot the normal quantiles and and histogram, the data is clearly normal. Maybe because the power of the tests are high?   The sample size is around 650. So shouldn't at least one of these tests fail to reject the null hypothesis?  Results:             Kolmogorov-Smirnov    D          0.05031          Pr > D       <0.010            Cramer-von Mises      W-Sq       0.30003          Pr > W-Sq    <0.005            Anderson-Darling      A-Sq       1.66965          Pr > A-Sq    <0.005            Chi-Square            Chi-Sq  3250.43596     18   Pr > Chi-Sq  <0.001


Did Voldemort love Bellatrix, after all?

Voldemort was said to have been incapable of love, in the Harry Potter series. His own birth was the result of a love potion that Merope had used on his father, Tom Riddle Senior. So, it is surprising that the Dark Lord had a child with Bellatrix willingly.  I remember reading his reaction when Bellatrix was killed by Molly Weasley.      "... Voldemort's fury at the fall of his last, best lieutenant exploded with the force of a bomb. Voldemort raised his wand and directed it at Molly Weasley."   So, did he love her?


Cannot remove page number when fancy header is used

The page number cant be removed, without removing both header and footer. But i want to keep header and footer and only remove page number  \documentclass[letterpaper, 10 pt, conference]{ieeeconf}    \IEEEoverridecommandlockouts                               \overrideIEEEmargins \usepackage{fancyhdr} \begin{document} \maketitle   \fancypagestyle{firstpage}{% Page style for first page    \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}     \fancyhead[C]{2020 IEEE International Conference on Convergence to Digital World – Quo Vadis (ICCDW 2020)}% Header   \fancyfoot[L]{978-1-7281-4635-5/20/\$31.00 ©2020 IEEE}% Footer }  \thispagestyle{firstpage} \end{document}


At uni, I learned that a set can't contain* itself years ago and this still bothers me to this day. I'm posing this question because I want to understand why this is. Obviously, what we call a set and what we don't isn't a mathematical fact but one made up by humans. So it was decided that it's a good idea to call a set what we call a set today, and only that.  When googling for reasons, I basically only came across Russell's paradox where from $ R = \{ x \mid x \not \in R \} $, you can follow that $ R \in R \iff R \not \in R $. I don't see a problem with this paradox existing.  To me, the definition of $R$ just doesn't make sense. That doesn't mean it's a good idea to not call anything that contains itself a set.  No computer scientist would say that you can't call something a Turing machine if it simulates itself, just because you can construct the halting problem from that. It's just that a machine that simulates itself and then returns the opposite of what its simulation returns doesn't make sense and neither does a machine which simulates itself and then goes to an infinite loop iff its simulation halted.  Plus, I think that there are useful "sets" which contain themselves. For example, the domain or codomain of the identity function. I have no idea how that even is defined as sets can't contains themselves. It would be great for my understanding if you answered that along the main part of this question.   * By "contain" I mean as an element, not as a subset.    Edit:   When I write "contains", I obviously mean as an element, not as a subset, as every set is a subset of itself. Plus, this should be really evident from the first formula. The answers below the question this question has been marked as a possible duplicate of don't answer my question. I want to know why sets aren't required to be properly defined as I don't think mandating that sets must not contain themselves doesn't solve the problem but only solves a few ones and creates now ones. I'd call a set properly defined if for each object, it can be decided whether it's in the set. As far as I can see, there is no implication to or from the definition where sets cannot contain themselves.


Hello I came across a math equation and I was wondering what did the "e" stand for?  the equation is : y=47931x-1E+0.8 Can someone please help me by showing what the E stands for and the answer for my equation.  I know that I need to sub in a point for x so the only thing stopping me from answering the question is what to do for the 1E+0.8 part.


Does C# allow omitting class parameter inside its methods?

While I was cleaning the code for my project, I stumbled upon a method within the class like following (simplified)  public static class HelperClass {    public static void DoStuff(this DifferentClassName obj) }   After performing a quick search, aside from definition, the search result gave me the following:  varname.DoStuff();   Obviously, I thought that it didn't have anything to do with the method in the class, so I commented out the class method so see if it would cause any errors. To my surprise, the line from search result was redded-out.   The snippet of the search result line is as following:  var varname = new DifferentClassName() {     //stuff inside }  varname.DoStuff(); //<==what about parameter??   I initially thought that it was because a new instance of class created, but shouldn't it still be a parameter inside the line in question? Can anyone please explain why these methods are tied to each other, while the parameter inside the method call was omitted?


Creating a bootable usb or cd with Windows from Ubuntu

I've searched quite a lot but yet didn't found any solution to burn a bootable usb flash or cd/dvd with Windows from Linux having an iso file with Windows. I've tried dd if= of= ... but when I tried to boot from that usb flash, it just didn't boot.  Is there a reliable solution?


How are private keys handed to users in Identity-based Encryption?

I'm using IBE in my applied-crypto project in primitive form. I saw many articles about IBE, but didn't find how user can get private key is generated by PKG after EXTRACT method.  So, my question: What is the best practice to hand private key to user after EXTRACT method?


Make moderators edit and close threads instead of deleting them

My idea is: if a thread has prohibited content, the thread should be edited (by removing all content and replacing with something like "moderator edit" on the title, content and tags) instead of deleting it. This applies to all types of prohibited or violating content.


Construction of a Borel set with positive but not full measure in each interval

I was wondering how one can construct a Borel set that doesn't have full measure on any interval of the real line but does have positive measure everywhere.   To be precise, if $\mu$ denotes Lebesgue measure, how would one construct a Borel set $A \subset \mathbb{R}$ such that $$0 < \mu(A \cap I) < \mu(I)$$ for every interval $I$ in $\mathbb{R}$?   Moreover, would such a set necessarily have to contain infinite measure?


Shortcuts using double quotes in combination with mathspec

Note: I cannot specificly tell which version of which of the two conflicting packages fixed the issue, but as of 2016 mathpec and polyglossia no longer show the issue.   Basically, I have encountered the same error as  and the workaround suggested by Andrey Vihrov reenables me to compile the document. The problem now is, that any shorthand defined by the ngerman-package (most notably the non-breaking hypen "~) has now been disabled, and I see combinations of american style closing quotes followed by a non-break space where a non-breaking hyphen should be.  Is there any way possible of keeping the shorthand definition, or redefining it to something else (something like \nbhy pops up to mind)?  I am using XeLaTeX as supplied by TeXLive.


Are websites ignoring locale or they are relying on IP?

I’m currently in Germany wonder why so many websites ignore my locale settings (in OS and browser) and are instead showing me content in German? Is it possible to turn this off? My locale is en-US.  Example:   Open browser google.com => Enter I get redirected to google.de


Making voltmeter accepting bipolar input voltage, using a microcontroller

I want to build a very simple voltmeter using ATMEGA328 ADC. I can successfully measure up to 20v (using a voltage divider), but the problem is, I don't understand how to measure the voltage properly, if negative and positive terminals are switched.   Only way I could think of is adding another ADC input which is responsible for measuring the 'inverted voltage'. The join both ADC inputs, but add diodes in between, so one channel works with (+-) and the other channel works with (-+) and then 'merge' the input from both channels using code. Then I should be able to measure things like sin wave for example (where polarities switch).   Is the concept correct or is there a better way to do this? Thanks!


In the triangle shown, $n$ is a positive integer, and $\angle A > \angle B > \angle C$. How many possible values of $n$ are there?      Two sides of an acute triangle are 8 and 15. How many possible lengths are there for the third side, if it is a positive integer?   Thanks!


Is there any way to trigger solar eclipses faster?

I just had a solar eclipse followed by a blood moon, but it’s been almost 46 nights since I beat the first mech boss, and the eclipse happened right after beating Plantera a second time.   Is there some kind of probability that defeating certain bosses triggers a solar eclipse?


Could not open file archive.ubuntu.com_ubuntu_dists_eoan-updates_restricted_cnf_Commands-amd64.xz

Greetings from Bangladesh. I am an intermediate user of Ubuntu OS. I am facing problem with apt update. I have searched online but could not find any answer to my problem so I am posting this question please help me.  Err:20 http://archive.ubuntu.com/ubuntu eoan-updates/restricted amd64 c-n-f Metadata   Could not open file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_eoan-updates_restricted_cnf_Commands-amd64.xz - open (13: Permission denied) [IP: 91.189.88.152 80] Ign:35 http://archive.ubuntu.com/ubuntu eoan-updates/multiverse amd64 c-n-f Metadata Err:37 http://archive.ubuntu.com/ubuntu eoan-backports/main amd64 c-n-f Metadata   Could not open file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_eoan-backports_main_cnf_Commands-amd64.xz - open (13: Permission denied) [IP: 91.189.88.152 80]   Reading package lists... Done E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/eoan-updates/restricted/cnf/Commands-amd64  Could not open file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_eoan-updates_restricted_cnf_Commands-amd64.xz - open (13: Permission denied) [IP: 91.189.88.152 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/eoan-backports/main/cnf/Commands-amd64  Could not open file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_eoan-backports_main_cnf_Commands-amd64.xz - open (13: Permission denied) [IP: 91.189.88.152 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   I have tried with         removing partial folder's content completely.   Cleaning apt by sudo apt clean   moving the lists to lists.old   then updating the apt      But without luck.


Non-Standard Attributes on HTML Tags. Good Thing? Bad Thing? Your Thoughts?

HTML (or maybe just XHTML?) is relatively strict when it comes to non-standard attributes on tags. If they aren't part of the spec, then your code is considered non-compliant.  Non-standard attributes can be fairly useful for passing along meta-data to Javascript however. For instance, if a link is suppose to show a popup, you can set the name of the popup in an attribute:  click me   Alternatively, you can store the title for the popup in a hidden element, like a span:        click me     Title for My Popup    I am torn however as to which should be a preferred method. The first method is more concise and, I'm guessing, doesn't screw with search engines and screen readers as much. Conversely, the second option makes storing large amounts of data easier and is thus, more versatile. It is also standards compliant.  I am curious what this communities thoughts are. How do you handle a situation like this? Does the simplicity of the first method outweigh the potential downsides (if there are any)?


I have an Object gameControl, which I'd like to recall when a Method reset is called and just re-create the Object, because there are a lot of references created in the gameControl Object to other classes.  What I've already tried to do is as following:  public void reset() {   gameControl = null;   gameControl = new GameControl(); }   and  public void reset() {   gameControl = new GameControl(); }   and  public void reset() {   gameControl = null;   System.gc();   gameControl = new GameControl(); }   reset is a function in Commands, Commands is called in Main and the object of GameControl is being created in Main().  Note that reset gets the GameControl object by reference.  Reset function is in an enumerator, so Syntax might be a little weird  RESET("reset") {     public void execute(MatchResult matcher, GameControl gameControl)             throws ArgException{         gameControl = null;         gameControl = new GameControl();     }   Expected result is when the new Object is created:  Object and Object reference values should be cleared.  Actual result:  Not sure if its the same object, but the reference values are still saved, so I think it is. For instance Two-Dimensional array is being created in gameControl and after the recreation, the object still exists with modified values.  Thanks in advance!


Share the results of graduation reviews with the community

One of the questions that is inevitably asked on every beta site at some point, often more than once, is a variation of "why haven't we graduated yet?" or "what do we need to do to graduate?".   The whole process around graduation is rather intransparent. I've been a moderator during the whole beta phase until graduation on one site, and I'm a moderator on another beta site that hasn't graduated yet. I've quite a bit more experience with the process than the average SE user, but I still can only guess why certain sites have not graduated yet and why some sites have.  What I know about the process is that in certain unknown intervals the SE community team evaluates a site and makes a decision on whether to graduate it or not. The general requirements are a minimum threshold of activity on the site, the absence of any severe quality issues, a sufficient amount of high-rep users to ensure moderation and a healthy growth trend in traffic.   The feedback from SE on graduation is currently rather minimal, unless someone explicitly asks, there is no feedback at all until graduation. There are exceptions like severe quality issues that jeopardize the existence of the site, but most of the time there is no feedback. Even if someone asks, the answer are often rather vague.  I think that more feedback on graduation would be very useful to the beta sites, and I'd like to propose the following idea on how SE could provide better feedback without too much additional effort.  The first point is that the schedule on when sites are evaluated should be public, or at least available to the moderators. The result of each evaluations should be communicated to the moderators. This doesn't have to be in any polished form, a very simple summary would already be helpful. Even a simple "no major quality problems, nice question volume but not enough high-rep users to moderate, traffic still a bit low" would be a large help. It shouldn't be more additional effort than whatever report is written internally anyway.  I'm proposing to communicate this to the moderators mainly to reduce the additional effort for SE. The internal communication can be less formal, and the moderators can then decide how to inform the community, if it makes sense (if there is no change compared to the last evaluation, that is probably not necessary).


Continuity in product, uniform, and box topologies

Consider the product, uniform, and box topologies. In which topologies is each of the following functions from $\mathbb{R}$ to $\mathbb{R^\omega}$ Continuous? $f(t)=(t, 2t, 3t,\ldots)$; $g(t)=(t,t,t,\ldots)$; $h(t)=(t,t/2,\ldots)$; $k(t)=(1,1,1,\ldots)$; Using this,  I see that $f,g,h$ are not continuous with respect to the box topology. I’m guessing $k$ is continuous since constant functions are always continuous irrespective of the topology but not really sure how to show this using the type of open set they used in the link above. I suspected most of the functions would be discontinuous since the box topology is a finer topology than the other $2$. What would the answer be in the product topology. In this topology infinitely many of the factors are the entire real numbers. Does that mean that all the functions will be continuous? I don’t really understand the uniform topology or what an open ball looks like in this case? What would the answer be here? Using this link


prove that if $a^n+1$ is prime then $a$ is even and $n=2^k$

i managed to show that $a$ is a even (suppose it is, and then show that $2|a^n+1$) for the second part, I understand it has something to do with fermat numbers but couldn't solve. please help


Android - How to validate url and add http://www

I want to validate url strings and add  if needed.  The url may be "google.com" or "google.co.in" so it is hard to relay on the end of the string.  How can i do it?


Search: a childrens' book in the 60s about a young boy who can travel between dimensions

I read a childrens' scifi book in the 60s about a young boy whose parents (I think) were scientists. I think they were working on interdimensional travel before he is born, and when he is born he is gifted. He finds that he is able to 'turn sideways' into another dimension of geometrical shapes and he becomes made up of geometrical shapes too, and travels through it.  I'm pretty sure he slips or turns into that dimension when other scientists are after him to study him.  The cover had a line drawing of a boy made up of geometrical shapes. Help? It's driving me nuts.


Fix Pagination Directory on a page set as Front Page/Main Page

I have a page named "calientes" with a complex loop that's working perfectly. This page is located at domain.com/calientes/. Now I need to use this page as the home page, so I went to "Settings -> Reading" and chose that page as static page.  The problem now is that the pagination no longer works. On the actual page it shows like domain.com/calientes/page/2 and it work perfectly! but now it shows as domain.com/page/2/ when i really want to go to domain.com/calientes/page/2  I didn't do any other changes, just chose that page as front page basically.   What can i do to made my pagination call domain.com/calientes/page/2?  This is my query on my page "Calientes" :   $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;  $args = array(   'posts_per_page' => 9,   'paged' => $paged,   'meta_query' => array(      array(        'key' => '_wti_like_count',        'value' => 10,        'compare' => '>=',        'type' => 'numeric'      )   ) );  $wp_query = new WP_Query(); $wp_query->query( $args );  if( have_posts() ) : ?>  <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>  <?php get_template_part( 'content', get_post_format() ); ?> <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?>  <?php twentytwelve_content_nav( 'nav-below' ); ?>


I am trying to write a value fetched from a hashmap into a file :  public writeToFile(HapshMap<String,String> , String fileName) {      File myFile = new File(filePath);       BufferedWriter bufferedWriter = null;     Writer writer = new FileWriter(myFile,false);     bufferedWriter = new BufferedWriter(writer);      String paramsValue = params.get("NAME");     bufferedWriter.write(paramsValue); }   In the above code , the key "NAME" is not there in the HashMap. And it is throwing NPE .Can anyone suggest what can be done and why is NPE getting thrown?


Does finishing the main storyline in Skyrim prevent other quests from being playable?

As the question asks, I'm curious to know if just straight up doing the main storyline of the game will prevent me from playing quests from other NPCs or dungeons or whatnot. I should say right now that I have NOT finished the game even once at all and I've only reached the Greybeards.   So without any spoilers will there be quests from people I cannot activate because they either died, ran away, got killed or even dungeons that perhaps get closed off/become inaccessible, etc?  If there are then which ones are they? So that I can finish those first before losing the opportunity to do so. I don't actually have an interest in replaying this game anytime soon after I'm done with my first play-through which is why I want to experience as much of it as I can in the first run.  EDIT:  So after reading the duplicate but not reading the spoilers on the linked duplicate, is it basically only once you've chosen a side on the war (i.e Imperials or Stormcloaks) that's the only "quest" that prevents the other side's quest from being accessible?  So if I go with imperials i can't do stormcloak quests (obviously) but I presume that's the only case where such an example would occur? No other quest outright cancels out another line of quest?


I saw a statement that $P(X\geq 2^{-n})\leq 2^nE X$ is true (for non-negative random variables X) in this question's answer:  but I am unsure of how this was reached.  I tried writing the probability as an expectation using the indicator function and then as an integral, but then the resulting integral compared to $2^nEX$ doesn't have a clear relationship that I can see.  So I have $\int_{2^-n}^{\infty}dp(X)$ vs. $\int_{0}^{\infty}2^nXdp(X)$, but am unsure how to proceed from there or if that is even the correct way to proceed.  Any help would be appreciated.  Edit: This is actually very similar to the duplicate marked question (), but I think it's worth leaving up since the duplicate question has the equations as a picture and therefore the search won't find it unless you indicate Markov's inequality, which other users (like I didn't) might not know about!


New reopen queue offers the same questions the next day

Yesterday a change to the reopen review queue, in which , went live on Server Fault.  Yesterday I went through about three dozen of them, since I hadn't seen the meta post about the change and having 83 posts suddenly appear in the reopen queue appeared to be some kind of fluke.  Today I started going through them and thought some of them looked awfully familiar. When I looked at the , I see that half or more of the questions I'm seeing today are the same as those I saw yesterday!  Though I was already suspicious when 83 posts got added to the queue again today...  Why do the same questions keep reappearing?


I'm having trouble figuring out how to create a graph like this in LaTeX. Any help would be greatly appreciated!


How can I determine which process owns a hotkey in Windows?

Given a hotkey, how can I find which program owns it?


Hi I can compute a Basic Loan Amortization Schedule, But now I'm trying to Calculate a Seasonal Loan Amortization Schedule . So for example A loan starts at January And Will go on for 3 years, with Monthly Payments. Interest is at 3% Annually and is compounded Annually. During the months of September, October, November, December It'll only accumulate Interest But no payments and principal. Principal is 100000. How Do I calculate Payments and interest.


I am trying to see that two permutations are conjugate exactly when they have the same cycle decomposition. I fail to see that     $$r(i_1,i_2,\dots,i_k)r^{−1}=(r(i_1),r(i_2),\dots,r(i_k))$$   for permutations $r$ in a set $X\ni \{i_p\}^k_0$   Any thoughts would be appreciated.  p.s. I ask this question in a new post as suggested by . Still, I believe it belongs to the above thread.


There doesn't appear to be any formatting links when I do a Facebook Wall post.  Is there any way to do formatting like HTML, markup, etc?


PhD application asking what other insitution I am applying to, how to answer?

I understand that schools are trying to gauge the chances of an offer being accepted by a potential candidate. Similarly to what has been described for job applications and other questions that a lower ranked program might not offer admission to someone who applied to just top schools.  How much should a candidate divulge about the other schools he/she is applying to? If applying to a top school will it decrease your chances if you are stating you are applying to another top school?  I find this kind of questions a bit intrusive and that might even compromise to some degree my application. Perhaps some people that have been in admission commitees can shed some light on the dynamics related to applicants that applied to several schools.


If $T^m$ is a contraction, has $T$ got a fixed point?

Let $(X,d)$ be a metric space and complete and $T: X\to X$ a mapping such that $T^m$ is a contraction. Show that $T$ has a unique fixed point.  It is clear that $T^m$ has a unique fixed point (Banach theorem) but, how can you use it to prove the existence of a fixed point of $T$?   Thank you.


Some preliminaries:   A matching in a bipartite graph with vertex set $X \cup Y$ is a subset $E_1$ of the edge set such that no vertex is incident with more than one edge in $E_1$  A complete matching in a bipartite graph is a matching such that every vertex in $X$ is incident with an edge in $E_1$.  A perfect matching in a graph $G$ (not necessarily bipartite) is a matching such that each vertex of $G$ is incident with one edge of the matching.  Theorem: A necessary and suﬃcient condition for there to be a complete matching from $X$ to $Y$ in $G$ is that $|Γ(A)|≥|A|$ for every $A ⊆ X$. Here $\Gamma(A)$ is used to denote the set of all neighbors of vertices in $A$.  Here's my proof. Can someone please verify it or improve it? I feel that it is a bit hand-waving and lacks much-needed rigor.     Show that a finite regular bipartite graph has a perfect matching   Let $X$ and $Y$ be the (disjoint) vertex sets of the bipartite graph. Let $A \subseteq X$. Then, there are $d|A|$ edges incident with a vertex in $A$. But then, $|\Gamma(A)| \geq |A|$. If that were not the case, then there would exist a vertex $v \in \Gamma(A)$ with $\operatorname{deg}(v) > d$.  So, there exists a complete matching between the vertex sets $X$ and $Y$ of the bipartite graph. Note that this matching is perfect, since $|X| = |Y|$.


How to disable "Look Up" context menu across macOS?

No matter which browser you use, there's always a Look Up menu when right-clicking any text inside the web browser.   I have disabled Lookup/Spotlight suggestions on right-clicking, via System Preferences, but on right-clicking any text in any browser, the Look Up menu still shows up with dictionary suggestions.  Is there anyway to disable this from the core. I have gone through other AskDifferent posts similar to mine, but none of them seems to have an answer!


How to add vertex on the center of a polyline object?

I've got an arcpy.Polyline() object and I have to insert a new vertex in it, which has to be placed on a center of a line. Right now I can calculate the center point coordinates but how to add it to an existing Polyline object in the right place of points order? The existing vertices order should not be changed, so the output line has to have previous vertices plus the new one somehere in the middle.  with arcpy.da.UpdateCursor(line_in,'SHAPE@') as uc:     for row in uc:         Midpoint = row[0].positionAlongLine(0.50,True).firstPoint            mid_p = arcpy.Point(Midpoint.X,Midpoint.Y)   ArcGIS 10.2 has no segmentAlongLine method so is it possible to update line's vertices here?    Due to the suggestion that this question has been already asked I would like to clarify that I don't need a new layer with points. The goal is to add a vertex to existing line.


LiDAR Feature extraction specifications/standards

I have vector data representing forests/trees/buildings that have been automatically extracted from LiDAR data.  I am looking for specification/guidance for LiDAR derived products, or any standard for defining these features.  For example, a forest is only a forest if it is larger than x square meters, or a tree is not a tree unless it is x meters tall, etc.  The automatic process has created detailed features, and as a result very large datasets.  I would like to find a standard definition so that I can thin the datasets.  Ideally, I would like to know if there are standards developed/adhered to by the USGS, USDA, NGA, NFS, etc.  Does anyone know of such standards/specifications?  Thanks in advance.  EDIT: Process is similar to .


Prove that $\sin x \cdot \sin (2x) \cdot \sin(3x) < \tfrac{9}{16}$ for all $x$

Prove that   $$ \sin (x) \cdot \sin (2x) \cdot \sin(3x) < \dfrac{9}{16} \quad \forall \ x \in \mathbb{R}$$      I thought about using derivatives, but it would be too lengthy.  Any help will be appreciated. Thanks.


Space-themed cartoon film seen on TV in the mid-80's with a pair of blobby telepathic aliens and relativistic aging

I'm looking for a cartoon space fantasy film that I saw on TV somewhere between 1985-1988. I think it was a one-off and not a series. I only have sketchy fragments and never got the whole story line, but it involved some form of space travel, quite a few people travelling onboard the vessel, with an old man of some importance who seemed to be comatose. They are trying to save him, I think, and there is some form of relativistic influence occurring, as whatever they are doing, or speed they are travelling at is influencing his age/rate of aging (it might even have been going backward in a parallel dimension). It was quite an intense, serious cartoon, but nevertheless absorbing. There were also a pair of blobby like sub-characters, pale in colour, with arms and legs who tended to drift about and could pick up the character of thought of those around, and may have been made of thought themselves. They had young child-like voices, somewhere around 8-10 years old or so, with UK-English accents. There was a certain electronic music theme that went with them too. That theme has popped up elsewhere, so I doubt it was scored specifically for this. It was aired in the daytime, somewhere mid-morning to early afternoon. The old man was white and had a white beard. The other adult characters spoke in English, and had as far as I remember mildly American- or UK- English accents.


For transcoding video I need to use ffmpeg. I have tried to install but I have faced with problems. Is anyone that can help  with this case or can anyone offer any weblink or guide where I can follow the steps for correct installation?


Collation for international characters (Spanish), php

I have ñ's and á's in the cells of my database. My collation is set to utf8, but on the website my characters are not displaying right.  Esperamos que disfrute del programa y aprenda bastantes consejos  �tiles para padres para mejorar el desarrollo de su hijo. Tambi�n  puede aprender de otras mam�s y ellas de usted. El Foro...   Displaying it via SELECT statement and then through php on the page. Let me know if you need more information. Perhaps this is a common problem?


How to log ALL queries made by users in SQL Server 2017 Standard?

Is there a possibility to do this? All queries and actions performed in any database need to be logged, because of in house compliance.   I need information (and/or source) if we need MS SQL 2017 Standard or Enterprise in order to ensure that the DB Admin's activities (run, modify, etc queries...) are logged and not only the activities performed by non-admin users.


Is there a way to make a word bold every time?

Is there a way to make a certain word bold every time in comes in the document?   Thanks.


"I had a choice between something AND/OR something else"

I have been scratching my head over this, as both sound like they could be correct, I just can't figure out which one is more so:     I had a choice between apples and oranges.   Or     I had a choice between apples or oranges.   I feel like the first is probably correct, but is the second wrong, or just not preferred?


How can I prove that $\sqrt{2}$ is irrational with the ideal $$\{n \in \mathbb{Z} \mid n\times \sqrt{2} \in \mathbb Z\}?$$


Bash variable substitution of variable followed by underscore

The variable BUILDNUMBER is set to value 230. I expect 230_ to be printed for the command echo $BUILDNUMBER_ but the output is empty as shown below.  # echo $BUILDNUMBER_  # echo $BUILDNUMBER 230


How do I copy a file from a remote system to local?

I'm on a virtual machine trying to copy a file from SSH to local system. Using Debian. I don't see the "Connect to" option. When I try to do it trough terminal, I enter  scp [myusername@remote.system]:[path to the file obtained using "find"]   and it just gives me options for scp usage like -c etc If I enter the above command and add Downloads, it says file name and 100%, size etc, but the Downloads folder is empty What am I doing wrong? Please help!


I am new in ubuntu . I downloded visual code in  .deb file. I when ı click anything happen


Huge paged pool probably caused by fltMgr.sys , what to do?

I found that my Windows machine was using over 95% of RAM constantly and it was often slow.  And I found that "Paged Pool" always used over 10GB RAM.  Here's 2 screenshots of task manager:      I followed the instructions in answer   and here's what I found:     Use poolmon to sort paged pool usage by bytes, the thing which uses around 12GB(I believe) has tag FMfn:    Find out which driver is using tag FMFn, looks like it's fltMgr.sys:    Find out what fltMgr.sys is, it's from microsoft:    Now I don't know what to do next. I'd appreciate some ideas.


I have a hood ventilation system that vents to the outside.  It has removable grease traps, as pictured below.  I've put them in the dishwasher, but the grease has polymerized onto them.  I'm looking for cleaning tips.


Later in the movies Harry Potter was able to just flick his wand and cast a spell but earlier they had to say the spell to and then flick their wand?

In Harry Potter the were able to just flick their wand and cast a spell does that mean all they had to do was think of what spell they wanted to cast in order to cast it?


I just found out that the company I work for offers 401K Roth. I am thinking of switching to 401K Roth soon. Right now I only have traditional retirement fund and no Roth. I think I have been contributing enough for my retirement but it is not diversified enough, eg traditional vs roth.  So far I have been contributing to Traditional 401K up to the yearly max amount of $18.5K.   I am aware of the tax consequences and I understand how each 401K affects taxes now and during withdrawal. I am interested in knowing other factors I am not aware of, for example mandatory withdrawal at about 70 years (for traditional 401K). Is this true for Roth 401K as well.   Is there anything else that I need to consider in making this decision?


Why isnt there an Ubuntu release name starting with C (and A)

Its Breezy Badger then Dapper Drake. Where are Clumsy Chameleon and Awesome Antelope?


Instagram not available among share suggestions in iOS 13

When I wish to share a Facebook post to Instagram on iPhone running iOS 13, Instagram does not appear among the Share Sheet suggestions, not even when I hit MORE...  I have seen numerous how-tos about hitting EDIT and toggling on the applications listed under Suggestions, but Instagram is not listed at all, although I have the app on my phone and use it all the time.  How can I add it to my Share options?


How to add a node in the middle of the line with tikz?

actually it's an easy question, but I could find an answer with Google or the included search on StackExchange ;)  How do I add in the middle of the line a node with Tikz? I want somethink like this:  -------------->      text   Normally I did it with an additional node at command. If I will resize the the arrow then I need to change the position of the node also.  ---------->    text   Which is not the best way for big things. I try to find something in the manual and didn't find an answer yet.   Thanks.  Best regards.


What Stack Exchange site to ask a math question on?

Which is the most appropriate site to ask for how to get an answer for a mathematics problem that I don't know the formula to?  E.g., a very, very simple example to demonstrate what type of problem I mean,  How would I go about getting the answer for 100 divided by 10?  Obviously the answer would be 100/10 = 10  Is there a site that would cater to these kind of questions?


Is there an app that makes it so that a pin is required to power-off the phone? Or, can someone explain to me how Find my iPhone works if is powered-off and can't be located?


Some very wise people here have just told me that  $\aleph_0 = \mathbb{N}$, i.e. that the cardinality of the set of natural numbers is just the set of natural numbers itself. Is this now the general consensus in mathematics, real analysis in particular? Or have I got completely the wrong end of the stick as usual?


Tag question: Two hours should be enough time, ________?

The complete sentence is:     Two hours should be enough time for passengers to travel from Taipei to Kaohsiung by high speed rail, isn't it?   Is it grammatically correct to use "isn't it" in the above sentence? If not, how would you revise it?


How can I absolutely and completely ban Windows 10 updates?

I know how to pause update to a certain date. But I want to completely ban updates. Whenever I update Windows, all sorts of problems happen. Sound stops working, microphone stops working, 2nd monitor stops working, display starts to look weird, etc and etc. I had to roll back the update already last time. Now it is sending me the notification to update again, and it will likely force me to update again. I want to completely eradicate updating. This  tells me to type gpedit.msc, but when I do, it simply says "Windows cannot find gpedit.msc. Make sure you typed the name correctly, and then try again". Why is that?


Recurrence formula for division of a sphere by n great circles

Find the recurrence relation satisfied by $R_n$, where $R_n$ is the number of regions into which the surface of a sphere is divided by n great circles (which are the intersections of the sphere and planes passing through the center of the sphere), if no three of the great circles go through the same point   From: Rosen Discrete Mathematics textbook  My attempt: I was unable to visualize these greater circles for values of $n \geq 4$. So, I launched GeoGebra and made the :     My initial planes were $x=y$, $x=-y$, and the $z=0$ plane. Now, I added a fourth yellow plane $y=z$. However, I still find it hard to understand how to calculate what number of new sections are formed. I am able to calculate the number of new sections in this specific case, but, I am unable to arrive at a general formula for the new number of sections, through recurrence.  I visited the following website -  - which happens to have a solution, where they mention the addition of $2(n-1)$ regions to the existing regions, after the addition of the $n$-th plane. However, I am unable to understand why exactly that is true.


Not long ago i posted a question about this and the solution was to add body as parent like this;  $("#registerF,body").on("change", "input,  select", function () {});   The #registerF element was dynamically loaded and adding body to it fixed the issue.  However I am facing the same problem now and adding body is not working.  I am working on a text editor that uses BBcode just like this one on StackOverflow.  Everything is working when I load that page. But when I load it dynamically it is not working and adding body is not working.  Here is the first fonction as an example:  $("#textEdit").on("focus", function () {     var text = document.getElementById('textEdit');     text.onkeyup = text.onkeypress = function () {         preview = this.value;         preview = bbToHtml(preview);         document.getElementById('editorPreview').innerHTML = preview;     } });       I try several thing like:  $("#textEdit, body").on("focus", function () {  $("body > #textEdit").on("focus", function () {   Nothing is working in this case. I wonder why it is not working for this but it work's for my form registerF element.  EDIT  I think that what causes the problem is the this statement.  Most of it is working but this part:  $(document).click('#textEdit,.editBout', function (e) {     //$("#editToolBar,.editBout").click(function (e) { <-------was     alert('clicked');   <------------get triggered even if i dont click     e.preventDefault();     e.stopPropagation();     console.log(this); <-----------------------------return #document     var style = ($(this).attr("data-style"));  <---- So this is not working   So instead of this i passed it the element:   var style = ($('#textEdit,.editBout').attr("data-style"));  <----Work but not dynamiccaly   So its working but still not working if i load in dynamically. the Click is not getting triggered.


How to make pdfsam work in (L)ubuntu 18.04?

I have the following versions of OpenJDK installed:  java-1.11.0-openjdk-amd64      1101       /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.8.0-openjdk-amd64       1081       /usr/lib/jvm/java-1.8.0-openjdk-amd64   I get the following error using PDFsam in Lubuntu 18.04:   INFO   [12:15:47]: Starting PDFsam INFO   [12:15:48]: Transparent windows not supported by the platform INFO   [12:15:48]: Configuring Sejda 3.2.38 INFO   [12:15:48]: Gestarted in 1 second INFO   [12:15:57]: 3.pdf loaded INFO   [12:15:57]: 4.pdf loaded INFO   [12:15:57]: 5.pdf loaded INFO   [12:15:58]: Starting task (org.sejda.impl.sambox.MergeTask@81b1817) execution. WARN   [12:15:59]: New fonts found, font cache will be re-built WARN   [12:15:59]: Building on-disk font cache, this may take a while ERROR  [12:15:59]: Unexpected error java.lang.NoClassDefFoundError: Could not initialize class org.sejda.sambox.pdmodel.font.PDType1Font at org.sejda.impl.sambox.util.FontUtils.<clinit>(FontUtils.java:74) at org.sejda.impl.sambox.component.PDDocumentHandler.close(PDDocumentHandler.java:231) at org.sejda.common.ComponentsUtility.nullSafeClose(ComponentsUtility.java:63) at org.sejda.common.ComponentsUtility.nullSafeCloseQuietly(ComponentsUtility.java:49) at org.sejda.impl.sambox.MergeTask.closeResources(MergeTask.java:232) at org.sejda.impl.sambox.MergeTask.after(MergeTask.java:237) at org.sejda.core.service.DefaultTaskExecutionService.actualExecution(DefaultTaskExecutionService.java:151) at org.sejda.core.service.DefaultTaskExecutionService.execute(DefaultTaskExecutionService.java:71) at org.sejda.core.service.DefaultTaskExecutionService.execute(DefaultTaskExecutionService.java:58) at org.pdfsam.task.TaskExecutionController.lambda$request$0(TaskExecutionController.java:87) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)


When and where does Attack on Titan take place?

Is the setting of "Attack on Titan" (Shingeki no kyojin) supposed to be Earth in the distant future and Titans suddenly appeared out of nowhere and devolved society to medieval level of technology? Or is this just a completely fictional setting?


$A \oplus B = A \oplus C$ imply $B = C$?

I don't quite yet understand how $\oplus$ (xor) works yet. I know that fundamentally in terms of truth tables it means only 1 value(p or q) can be true, but not both. But when it comes to solving problems with them or proving equalities I have no idea how to use $\oplus$.  For example: I'm trying to do a problem in which I have to prove or disprove with a counterexample whether or not $A \oplus B = A \oplus C$  implies $B = C$ is true.   I know that the venn diagram of $\oplus$ in this case includes the regions of A and B excluding the areas they overlap. And similarly it includes regions of A and C but not the areas they overlap. It would look something like this:    I feel the statement above would be true just by looking at the venn diagram since the area ABC is included in the $\oplus$, but I'm not sure if that's an adequate enough proof.  On the other hand, I could be completely wrong about my reasoning.    Also just for clarity's sake: Would $A\cup B = A \cup C$ and $A \cap B = A \cap C$ be proven in a similar way to show whether or not the conditions imply $B = C$? A counterexample/ proof of this would be appreciated as well.


Delete all files to which no corresponding file with another extension exists

My goal is to find a Linux command sequence, which deletes some files if a special condition is fulfilled:  All files with the extensions .cut or .cut.bak in the current directory shall be removed, IF there is no file having the same name, but extension .rec or .mpg in the current directory.  Background: I am developing a tool for a Linux-based PVR, that allows cutting of recorded programs. For each recording (extension .rec or .mpg) the segment markers are stored in a .cut-file with the same name. When some recording gets moved/renamed/deleted, then the corresponding cut-file remains orphaned and shall be deleted. I already have implemented the removing of those useless cut-files in C. But I am wondering, whether there may be a (simple) system based solution. In this case it could be run via 'system' and & in the background, which would make my application more responsive...  I already asked a similar question for the recursive case (browsing also into subdirectories), . There has been a (nearly) perfect answer by kos - but unfortunately it removes too many files, so it is not usable, and I was not able to figure it out... But the same idea can be used here, IF it is possible to parse and pipe the result of 'ls' linewise...


On a "1-D line", the point that minimizes the sum of the distances is the median, WHY?

There is a set A which contains some discrete points (1-dimension), for example {1, 3, 37, 59}. And I want to pick one point from A which can minimize the sum of distances between this point and others.  For this "1-D line", many people say the median is the right point, but could anybody give me a concrete proof on it?


Can I apply for a Schengen visa in the USA as an Indian citizen with an H1-B extension in process?

My H1-B visa is expiring May 31st, 2018 and my H1-B extension is still in process.   At this point, can I still apply for a Schengen visa in the USA (France Consulate - SFO)? Will I be required to have a valid US visa when applying in the USA? In addition, do I need to have an H1B visa stamp on my passport as well?  Additional thoughts/questions : 1. What if I book my flight tickets to/from India to France (Paris) with no mention of the USA? Will it help my case? 2. Do I need to book an appointment for the Schengen visa at the SFO France consulate? Are walk-ins allowed?


I know, that in Starbound you can set a "Home Planet", so when you go with the spaceship, you can always return to your home planet easyly.  But my question is about when you are in the planet.   Supose, whe you warp from the spaceship to the planet, you "land" on the coordinate X = 0.  then, you move, for example, to X = (+/-)1000. And you build a House, with your bed, and different stuff. Ok, you warp, to the Ship, and you come back, but you spawn again in X = 0.   So, the now that the "scenario" is explained, the question:  Exist any form to set you house as "warp point" when you come from the spaceship?


How to erase polygon from another in QGIS

I want to erase the pink polygon from the blue polygon. I've tried clip, difference, and symmetrical difference. Clip produces an empty polygon. Difference produces just another blue polygon.


Using network extender to connect to WiFi network that also requires user name

To connect to my university WiFi, eduroam, I need to type my user name and password into Windows' network configuration app (system tray, no web GUI). The WiFi signal is however weak from my current indoors location, and only strong enough on the balcony. I'd therefore like to place a repeater (extender) or antenna on the balcony, in order to have the same (unattenuated) signal strength indoors as well.  I have a TP-LINK TL-WA854RE repeater that unfortunately only provides, on its admin webpage, a place for me to type a password for the network I want to extend, but no user name. It's possible to change the network's security protocol (WEP, WPA/PSK etc), but eduroam actually uses EAP, a protocol that probably implies the existence of a user name in addition to a password.  There seems to be no firmware upgrade for this extender model, and TP Link's support suggests their product can not be used to extend public networks, only private ones where access to the router exists.  Is there any other way in which I can use this (or some other) network extender to boost this particular public WiFi network, in other words, to be able to also specify a user name?


Show that determinant of $\small\begin{pmatrix}2 & 2 & 8\\ 3& 2 & 3 \\ 4 & 5 & 6\end{pmatrix}$ is divisible by $19$

Using that the numbers $228, 323$  and $456$ are divisible by $19$. Show that the determinant of matrix $\begin{pmatrix}2 & 2 & 8\\ 3& 2 & 3 \\ 4 & 5 & 6\end{pmatrix}$ is divisible by $19$.


Bibliography is not showing 'publisher' for an entry. What is wrong here?

What is wrong with the following code? It is not printing the publisher name in 2nd bibliographic entry. What is wrong here? I am using TexStudio with MikConsole.  main file:  \documentclass[12pt, twoside]{report} \usepackage[utf8]{inputenc} \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm, bindingoffset=6mm]{geometry} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{lipsum}   \usepackage{mwe} \pagestyle{fancy} \usepackage{caption} \usepackage{subcaption} \usepackage{array} \usepackage{amsfonts} \usepackage[style=numeric, sorting=none]{biblatex} \addbibresource{ref.bib}  \begin{document}      test example        \nocite{*}     \printbibliography       \end{document}   ref.bib file:  @article{einstein,     author =       "Albert Einstein",     title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})     [{On} the electrodynamics of moving bodies]",     journal =      "Annalen der Physik",     volume =       "322",     number =       "10",     pages =        "891--921",     year =         "1905",     DOI =          "http://dx.doi.org/10.1002/andp.19053221004",     keywords =     "physics" }  @article{understandingPrivacy,     author      = "Solove Daniel J",     title       = "Understanding privacy",     publisher   = "Harvard University Press",     year        = "2008", }  @book{dirac,     title={The Principles of Quantum Mechanics},     author={Paul Adrien Maurice Dirac},     isbn={9780198520115},     series={International series of monographs on physics},     year={1981},     publisher={Clarendon Press},     keywords = {physics} }


Let a light incident on a prisom at right angle. I want to determine the minimum deviation angle.   I know a relation  $$ \frac{\cos i_1}{\cos r_1} = \frac{\sin i_1}{\sin r_1}$$  and minimum angle of deviation $$\delta_m = i_1 +i_2 -A$$ It can be seen that, $i_1$ is given but how to get $i_2$ and A. A is the prism angle. and $i_1 =90 $ and $i_2 $ is  the angle of the outgoing ray.


How do I apply three array modifiers to only one plane and have that plane be the same, editable, plane

This was basically the same as other questions I've asked, except it specifies the array modifier, as modifiers allows for control over the stages which other modifiers are used on an object. I'm changing the question, in the hopes of finding the solution I'm looking for. I'm as sorry as I can make myself feel, as a sociopath (a victim of sociopath characteristics), that I duplicated questions. I did it because I thought each question might be more specific or cover a slightly different area. Now that I've thought about it, I realise I can just edit the same question next time. Again, I'm sorry. If I could be, I'd be very sorry. My problem would be completely solved if I just learned how to do one more thing and that is use three array modifiers on the same stage of the mesh, so that all three array modifiers are arraying only 1 plane, instead of the first one arraying one plane, the second one arraying 4 planes and the third one arraying 1 plane. Is there an inbuilt feature or Python code or a plugin or a mod that does this? Also, if you know of a better way of finding out this information, please let me know. Thank you very much for any help. :)


Superscripts appear in various weird places in fractions

This is a weird phenomenon.  Consider the following code:  \documentclass{article} \begin{document}   $$Z^* \frac{Z^*}{Z^*}$$ \end{document}   It produces the following picture:    The asterisks appear in various places in comparison to the Z. This looks particularly bad in the denominator. Any idea what's behind this?


I have a basic circle with lets say 20 vertices. I then do a ctrl+right click to place a vertex somewhere outside the circle. I then select the vertex outside the circle, hold shift, select a vertex on the circle and hit f. And nothing happens. I can ctrl+right click around and shift select and f lines all day. But can't seem to get the vertex to join the circle with a line.


I'm new to VB.Net and would like to know what is the key difference between declaring a string as Dim stringVariable As String  and Dim otherStringVariable As String()  Thanks


Modulo C# is not producing expected value

I try to check whether 2 doubles are divisible, so I can conclude whether a given point is on a certain grid or not. I use the % operator, but I seem to do something wrong because the output is not what I expect. In this example I try to divide 5 by 0.2, the result should be 25.0, but the modulo operator doesn't show this to me. As can be seen in the image; double LUpDown.Value = 20 double nUpDown.Value = 100 double stepx = LUpDown.Value / double nUpDown.Value = 0.2 double xvalp = 5  then when I compute the % operator things go wrong; xvalp % stepx = 0.1999999999..... ??  I expect a 0 because 5/0.2 = 25.0


Gaussian curvature and mean curvature of an ellipsoid

I need help with this differential geometry problem dealing with Gaussian curvature and mean curvature     Given an ellipsoid with parametric representation $(a\cos u\cos v,  b\cos u \sin v, c\sin u)$ compute its Gaussian curvature and mean   curvature.      (Hint: Compute $E,F,G$ first and $L, M, N$ second then Weingarten map   (Shape operator). The Gaussian curvature and the mean curvature are   the determinant and the trace of the Weingarten map (Shape operator).


$$z=(1+i)^{1+i}$$  I'm having trouble with this one. I got as far as the below, but then I got stuck. Could someone give me a hint??  $$\ln(z)=(1+i)\ln(1+i)$$    After reading the hints + suggested answer:  $$z=(1+i)^{1+i}$$ $$z=e^{(1+i)ln(1+i)}$$ $$z=e^{(1+i)ln|1+i|+(arg(1+i)+2\pi k)i}$$ $$z=e^{ln(\sqrt{2})+\pi i/4+2\pi ik+iln(\sqrt{2})-\pi /4-2\pi k}$$  Is it ok to leave my final answer like this?


How to modify properties of a Matlab Object

I've created a MATLAB class, something like:  classdef myclass    properties       x_array = [];   end    methods     function increment(obj,value)        obj.x_array = [obj.x_array ; value);     end   end end   The problem is, the property x_array is never modified when I invoke the increment() function: ex:  >>s = myclass >>increment(s,5)  >>s.x_array ans = []   I did some research, and I reached a conclusion that this is because of MATLAB using Lazy Copy for objects, making my class inherit the HANDLE class should have solved this, but it didn't, does anybody know why this is happening? And if extending the handle class is indeen the solution, isn't this the right way to do it:  classdef myclass < handle   or are there any extra steps?


How to get comma separated values from multiple rows in SQL. From picture I want to get "type" column with comma separated values

I want to get comma separated values from multiple rows in SQL. From above picture I want to get type column with comma separated values.


email lands on spam, how can I get rid of that?

I attached an auto email sender with the file name sendemail.inc.php to be sending auto welcome once registered but it lands on spam. Is there any advise that can help?


SOQL query to get files names related to account

I want to get the names of all related files in the Account object. Below is my query: SELECT Name, (SELECT Id from Attachments) FROM Account WHERE Id= '0014K00000C6b7pQAB'  When I run the query, it does not display any results. How can I query the related files?


How can I create file shortcut (.lnk) to Windows 10 Start?  I mean the shortcut which opens that popup window which appears after click to START button on a keyboard.


Ubuntu 18.04.3 LTS : Disk space usage issue: looks full but can't find the problem

I have a problem with disk space usage on my server. I find 97% usage in dev/md3 but when I try to find which file or folder takes up space I can't find anything...  Filesystem      Size  Used Avail Use% Mounted on udev            7,8G     0  7,8G   0% /dev tmpfs           1,6G  9,0M  1,6G   1% /run /dev/md3         20G   18G  581M  97% / tmpfs           7,9G     0  7,9G   0% /dev/shm tmpfs           5,0M     0  5,0M   0% /run/lock tmpfs           7,9G     0  7,9G   0% /sys/fs/cgroup /dev/md2        487M  147M  311M  33% /boot /dev/md4        1,8T  311G  1,4T  19% /home   4,0K    ./srv 9,0M    ./run 8,0K    ./snap 4,0K    ./mnt 1,5G    ./usr 7,3M    ./etc 26M ./sbin 311G    ./home 260M    ./var 4,0K    ./opt 116K    ./root 4,0K    ./lib64 64K ./tmp 861M    ./lib 0   ./dev du: cannot access './proc/3718/task/3718/fd/4': No such file or directory du: cannot access './proc/3718/task/3718/fdinfo/4': No such file or directory du: cannot access './proc/3718/fd/3': No such file or directory du: cannot access './proc/3718/fdinfo/3': No such file or directory 0   ./proc 16K ./lost+found 4,0K    ./media 0   ./sys 145M    ./boot 15M ./bin 314G    .   Disk /dev/sda: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: A9EF77EC-EC51-403D-B07F-1A4832C18250  Device          Start        End    Sectors    Size Type /dev/sda1          40       2048       2009 1004,5K BIOS boot /dev/sda2        4096    1050623    1046528    511M Linux RAID /dev/sda3     1050624   42008575   40957952   19,5G Linux RAID /dev/sda4    42008576 3905972223 3863963648    1,8T Linux RAID /dev/sda5  3905972224 3907018751    1046528    511M Linux swap   Disk /dev/sdb: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 4441E7B0-2838-45FE-83DC-8B6DC3BB05B2  Device          Start        End    Sectors    Size Type /dev/sdb1          40       2048       2009 1004,5K BIOS boot /dev/sdb2        4096    1050623    1046528    511M Linux RAID /dev/sdb3     1050624   42008575   40957952   19,5G Linux RAID /dev/sdb4    42008576 3905972223 3863963648    1,8T Linux RAID /dev/sdb5  3905972224 3907018751    1046528    511M Linux swap   Disk /dev/md2: 511 MiB, 535756800 bytes, 1046400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes   Disk /dev/md4: 1,8 TiB, 1978349322240 bytes, 3863963520 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes   Disk /dev/md3: 19,5 GiB, 20970405888 bytes, 40957824 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes   /home seems to be the heaviest but it is located on a 1TO partition..  With this information I see that I have more or less 15GB which are counted as used but which do not appear anywhere.  How could I identify which files are taking up space and delete them to get free disk space on /dev/md3?


How to read mouse movement data using bash

Is there a library which can be used to read mouse movement and to pass certain hotkey combinations or trigger certain files on certain movements?  I want to make functions which will be able to respond on these mouse movements like for example a three touch finger drag should trigger window spread.


Aliens abduct mathematician, astronomer, woman

Bits I remember about this SF movie which probably originated in late 50s / early 60s:   Humans are flying in a light, general aviation, high winged, single engine aircraft. An alien in a flying saucer abducts the whole kit & kaboodle (plane & passengers). Takes them to a secret terrestrial base Eventually tells them that his computer is damaged and he needs their help to get back to his planet. He needs an astronomer for planetary masses & other information. He needs a mathematician to calculate trajectories and perform other calculations. He needs the woman as eye candy, lol They eventually make it back to the alien home planet which is under attack by its enemy. The attacking aliens are bombarding the original alien's home planet with meteors / asteroids.   That's about all I remember.


As a Graduate Mathematics student, my interest lies in Number theory. I am curious to know if Number theory has any connections or applications to physics. I have never even heard of any applications of Number theory to physics. I have heard Applications of linear algebra and analysis to many branches of physics, but not number theory.  Waiting forward in receiving interesting answers!


Is it possible to save hibernation state in linux?

I'm wondering if there is a command in Linux which lets you "hibernate" but without "shutting down" your computer. That way I could continue working but if I reboot it would return to its previous state.  As I understand, hibernation works by saving the RAM to swap disk so theoretically all the command has to do is copy the RAM to swap. I'm looking for something like this:  # swapon /dev/sda1 # hibernate-but-not-shutdown # swapoff /dev/sda1   Is such a thing possible?


a representation condition of Hilbert space

Let $H$ be a Hilbert space over $\mathbb{C}$. Let $\phi_{j} \in H$ and let $c_j$ be scalars. Prove that there exists a representation $$f=\sum_{j}c_{j}\langle f,\phi_{j}\rangle\phi_{j}, \forall f\in H$$ if and only if $$\|f\|^2=\sum_{j}c_{j}|\langle f,\phi_{j}\rangle|^2, \forall f\in H$$  My queries: For $\implies$: $\|f\|^2= \langle f,f \rangle = \sum_{i,j} c_{i} \overline{c_{j}} \langle f,\phi_{i} \rangle \overline{\langle f,\phi_{j} \rangle}\langle \phi_{i}, \phi_{j}\rangle$. It can not be simplified further due to $\phi_{j}$ are may not be orthogonal. Even if one assumes orthogonality it would become $\|f\|^2=\sum_{j}|c_{j}|^2|\langle f,\phi_{j}\rangle|^2\|\phi_{j}\|^2$ which is still not the desired form. Is there any way to apply the fact that the representation for $f$ is valid for  "all" $f$ in some way to deduce the desired equality?  For sufficiency I intend to apply the polarization identity to $\langle f,\phi_{j}\rangle$ then substitute it into the desired formula for $f$, but the polarization identity implied $\langle f,\phi_{j} \rangle =0$ which is not true in general, is there any point I have missed?


I have gparted on my Ubuntu system but when I try to add gpart to it, it says there is not installation candiadate

I have a corrupt file system that I am trying to repair with gparted. When I go to the "rescue" option in gparted, it says to install gpart. Shen I give the command sudo apt install gpart  it says there is no installation candidate and that the package is referred to by another package. How can I get gpart? I have booted from an Ubuntu image on a flash drive.


How do you calculate the determinant of this magic square?

Calculate the determinant of this magic square (which is from Albrecht   Dürer's Melancholia)      $$\begin{pmatrix} 16  &   3  &   2  &  13 \\   5  &  10  &  11  &   8   \\   9  &   6  &   7  &  12 \\   4  &  15  &  14  &   1   \end{pmatrix}$$   I'm very unsafe about the term "magic square" and I couldn't find much reliable information on the internet either about calculating their determinant.. : /  Wikipedia says: A magic square is a $n \times n$ square grid (where $n$ is the number of cells on each side) filled with distinct positive integers in the range $1,2,.., n^2$ such that each cell contains a different integer and the sum of the integers in each row, column and diagonal is equal [...].  All in all, I don't really see a difference between a normal square matrix and a magic square when it comes to calculate their determinants. Am I right?  If this is the case, I would just calculate the determinant of this magic square by using formula of Laplace choosing the first column of the magic square as pivot column. I did it on paper and I get $$\det =0$$  So basically my question is: When I got this magic square, can I consider it as a normal square matrix when it comes to calculating its determinant? Or do you calculate its determinant completely different?


How to investigate high kernel task memory usage?

I was using my MacBook Pro (with 16GB of RAM) as usual and out of blue I've this popup that:  Your system has run out of application memory. To avoid problems with your computer, quit any applications you are not using.   I've obviously closed few which I could, but it didn't help. After checking on memory, it seems kernel task ate 7GB and 22.36GB swap memory was used of total 23GB (which obviously was the case). However I've still 20GB of space free on my SDD.  Activity Monitor didn't help much whilst my OS X was heading to the destruction.    My top stats before my kernel freeze: Processes: 344 total, 2 running, 5 stuck, 337 sleeping, 2580 threads                                                                                19:23:56 Load Avg: 1.56, 1.62, 2.09  CPU usage: 3.51% user, 8.47% sys, 88.1% idle   SharedLibs: 46M resident, 0B data, 6572K linkedit. MemRegions: 757970 total, 2139M resident, 56M private, 907M shared. PhysMem: 9410M used (6198M wired), 556M unused. VM: 1155G vsize, 1311M framework vsize, 112872658(320) swapins, 122668389(0) swapouts. Networks: packets: 299419263/363G in, 142126838/14G out. Disks: 58970173/1079G read, 20012389/1120G written.  At the end my OS X frozen and I had to do hard reset, repair my SDD in recovery mode and fixing afterwards (recovering lost work, fixing application conflicts, checking my lost+found folder, Chrome/Terminal tabs gone, headache, etc.). My question is, how do I check on high memory usage of kernel task or how to properly deal with that kind of situation? I've tried to take Sample with Activity Monitor, but it's greyed out.  My MacBook Pro details: 2.3GHz Intel Core i7 (late 2013) with 16GB RAM. OS X: 10.9.5


Classifying functions that satisfy $|f(x)-f(y)| \leq M|x-y|^{\alpha}$

If $f: [0,1] \to \mathbb{R}$ is a (not necessarily continuous) function satisfying  $$ |f(x)-f(y)| \leq M|x-y|^{\alpha} $$  where $M$ and $\alpha$ are fixed real numbers and $\alpha > 1$. Classify all such functions $f$.


How to not get lost during bibliography research?

After a phd and a 1 year boring job in a private company, I finally found a postdoc position than looks very interesting to me. I am very excited to perform research again, but I would like to avoid the mistakes I did during my Ph.D. to be more efficient.  I would say that my main waste of time was that I was too disorganized.  Often I did measurements, forgot to write all the parameters, and had to do it again. I think I will now be ok on this point, with but if you have advices here, I will happily read them.  Then, my main problem and one of the things I felt very inefficient at, was bibliography research. For example, when I wanted to get information on a very precise topic, I searched through google scholar or science direct and found several articles. I tried to picked the most interesting ones, but then I often got lost in the different references cited by the article. I always felt that I had to read every of these references to get things perfectly clear and become confident on the topic. Of course this never worked, because there are usually many references and references in those references (would take ages to read them all) ... So I often ended reading only parts of all the articles cited by the main article, barely remembering what I have read.   Does someone have an efficient method to avoid getting lost in all the articles cited in one article, and all of their references ... and so on?


FFT: Getting 'request for member which is off non-class type' but has nothing to do with parentheses

I'm doing a test file for my Fourier transform algorithms.   Everything seems fine in my code, but I'm getting the 'request for member which is of non-class type as an error'...I've tried parentheses and such as recommended elsewhere, but nothing has worked.  I've already tried parentheses and checking the parameter types.  For Fourier Methods I do Cooley-Tukey(FFT) and Brute-Force(DFT)     Fourier test function (fourier_test.cpp):       void FOURIER_TEST(void){        //complex vectors which will be used as references       std::vector<complex<double>> cooley_ref;       std::vector<complex<double>> brute_ref;        //created cooley-tukey and brute force objects       Brute_force<double> brute();       Cooley_tukey<double> cooley();        brute.DFT(makeTimeVector, makeValueVector, &brute_ref);       cooley.FFT(makeTimeVector, makeValueVector,        &cooley_ref);   Brute Force Class:      template<typename T>     class Brute_force: public Fourier<T>     {       public:         Brute_force();         Brute_force(std::string file_name, double frequency_step, std::string output_name);          void DFT(std::vector<double>* index,           std::vector<double>* value, std::vector<complex<double>>& result);      };      #endif   Cooly Tukey Class:  template<typename T> class Cooley_tukey: public Fourier<T> { public: Cooley_tukey(); Cooley_tukey(std::string file_name, double frequency_step, std::string  output_name);  std::vector<complex<T>>& getData(void) {return data; }  void FFT(std::vector<T>* index, std::vector<T>* value,  std::vector<complex<T>>& result); private: std::vector<complex<T>> data; };  #endif


What Is the best way for a new player to get started?

I am new to the RPG world. How does one finds a group that is willing to work with new players? What's the best area to start in? Any advice would be great.


Any logs of if/when "at" jobs were executed?

I've setup a couple of "at" jobs to execute at specific times on CentOS 5. This morning I don't see these commands in the queue ("atq"), as expected, but I also don't see were can I check whether the daemon responsible to execute them did this on time or had any issues. Unfortunately I didn't log enough info from the scripts themselves. Any ideas?


Is it possible to "hack" a MacBook so as to be able to install macOS Mojave?

I know you can hack an iPhone, but is there a way to "hack" a Macbook? I have a late 2010 model that has been upgraded so it has the RAM, hard drive space etc... and it works beautifully, but I would really like to put Mojave on it. I am able to download the developer file, but then I got told by the iTunes Store for Mac that it is not compatible with this model.


How to cast java.util.date to java.sql.date?

Date date = new Date();     DateFormat dt = new SimpleDateFormat("yyyy-MM-dd");      try {          date = dt.parse("2014-03-14");      } catch (ParseException parseException) {      }     orderBean.setDate((java.sql.Date) date);   when I try to cast util.date to sql.date using above code an error occurs as below. I am using mysql data base to store a data. can anyone help me?  Mar 14, 2014 11:16:44 AM gui.salespot jButton1ActionPerformed SEVERE: null java.lang.ClassCastException: java.util.Date cannot be cast to java.sql.Date


Help me understand Support Vector Machines

I understand the basics of what a Support Vector Machines' aim is in terms of classifying an input set into several different classes, but what I don't understand is some of the nitty-gritty details. For starters, I'm a bit confused by the use of Slack Variables. What is their purpose?  I'm doing a classification problem where I've captured pressure readings from sensors I've placed on the insole of a shoe. A subject will sit, stand, and walk for a couple of minutes while pressure data is recorded. I want to train a classifier to be able to determine whether a person is sitting, standing or walking and be able to do that for any future test data. What classifier type do I need to try? What is the best way for me to train a classifier from the data I've captured? I have 1000 entries for sitting, standing and walking (3x1000=3000 total), and they all have the following feature vector form. (pressurefromsensor1, pressurefromsensor2, pressurefromsensor3, pressurefromsensor4)


I would like to know how to reset Ubuntu to default and if it resets my terminal.   I tried to put in a command to make it if I messed up my password it would tell me something sassy. I did that in the /etc/sudoers/ file, and I messed it up. I can't use any sudo command and I would like to reset my terminal, or my whole Ubuntu set up. I tried to initiate super-user with su and I put in my password correctly, as this is a private computer, and it told me su: Authentication Failure.  If you could please tell me how I could undo my mistake I would appreciate it. This is a new computer so Factory Reset would not delete anything important. I will provide anymore detail that you may request, if I know it. I am new to Ubuntu and Linux.


Where do you go to get an answer about why exactly a question was closed as off-topic?

My question was closed on the English Language & Usage site.   Where do I go to argue why it should not have been closed? I heard there is a meta for that. Yet, I could not find it.


I found two USB sticks on the ground. Now what?

As from the subject, I want to see what's inside. I am seriously interested in finding the owner if possible and returning them, but I am worried it could be an attempt at social engineering. I own a MacBook Pro Intel with  (Snow Leopard). It is a very important install.  What would you do in my situation if you want to see the content without risks? Any proposal is welcome.  I decided not to plug them in, and I brought them to the hotel reception. They will forward it to the police.


Independent increments in squared brownian motion

I'm trying to prove that the squared Brownian motion $(W_t^2)$ doesn't have independent increments, I tried using the covariance and it doesn't quite work, can anybody give me any pointer to how to prove this?


Google authenticator remove and install back in same phone(time corrention)

If i uninstall g.authenticator from my phone and then install it again i lose the tokens for the sites i have? Can anyone tell me about backup codes?those codes are only to access my google account again right? How can disable the ayth authentiacation in all the sites ,if cant access google authenticator


Proving if $d_0$ is the smallest positive integer in $S$ then $d_0 = \gcd(a,b)$

I would appreciate hints to this. I've done part (a) but am unconfident. Wondering how I could approach part (b)    Question's comment -- The aim of this question is to use the Division Algorithm and the definition of greatest common divisor (gcd) to show that $d_0 = \gcd(a,b)$.    Question:  Let $a,b$ be integers, not both zero, let $S$ be the set of integers defined by $$S = \{ ax + by | x,y \in \mathbb{Z}\}$$ and let $d_0$ be the smallest positive integer in the set $S$. Prove: a. If $s\in S$, then $d_0$ is a divisor of $s$. b. $d_0$ is a divisor of both $a$ and $b$. c. If $d$ is a divisor of both $a$ and $b$, then $d$ is a divisor of $d_0$. d. $d_0 =\gcd(a,b),$ and hence there exists integers $x,y$ such that $ax + by = \gcd(a,b)$.    Attempt:  Note I don't expect full (or any hints to the problem(s) as there are quite a bit, but I would just appreciate hints. a. Let $s \in S$. Then $s = d_0 q + r$ for some $q,r \in \mathbb{Z}$. By definition, $d_0 = ax_0 + by_0$ for some $x_0,y_0 \in \mathbb{Z}$. $s = ax_s + by_s$ for some $x_s,y_s \in \mathbb{Z}$. Hence, $$ax_s + by_s = q(ax_0 + by_0) + r\\ a(x_s - qx_0) + b(y_s - qy_0) = r.$$ Define $x_r:= x_s - qx_0 \in \mathbb{Z}$ and $y_r:= y_s - qy_0 \in \mathbb{Z}$. Then this shows that $r \in S$ which implies $d_0 | s$.


What kind of malware activates itself when a new user created on Windows 10

Today I have created a new user for my wife on my Windows 10 PC. And when I launched Google Chrome, it started with launchpage.org which is known as a kind of virus that is easy to remove via Regedit. However, next, I clicked the "show desktop icons" option on the settings page, instead of showing the dialog box to choose icons I would like to pin to the desktop, it opened the "Which app would you like to open with" menu which is way weird. I can't see any sign of these ridiculous things when I switch to my own account, it only shows itself on the new account. Any idea what can it be?


Concatenating To A Verbatim String Literal With Large Volume Of Text Breaking Into New Line

how do I concatenate a variable within a verbatim string literal with large volume of text breaking into newlines? I am using a stringbuilder to append all the string variables but   What I intend doing -   StringBuilder sbuilder = new StringBuilder(); variable y = something variable x = @"text"+ y + "              other text other text"; variable z = @"blablabla"; variable z2 = @"some other text"  sbuilder.Append(x); sbuilder.Append(z); sbuilder.Append(z2);  string html = sbuilder.ToString();   What I tried -   var variable = modelview.something;  string form = @"a whole lotta text "+variable+ "even more text";   I was getting syntax errors   Represents text as a series of Unicode characters.To browse the .NET framework source code for this type, see the Reference Source. Newline in constant


Windows 8.1 upgrade destroyed my Ubuntu machine

I had Win 8 and Ubuntu 12.04 peacefully coexisting on a Toshiba Portege Z935.  EFI mode, Grub2, secure boot off, had to use "recommended repair" on Boot-Repair tool to get the boot working after original Ubuntu install.  All happy for about 10 months until....  I foolishly accepted MS's suggestion to update Windows to 8.1.  After the upgrade, each boot brought me to a "grub rescue>" prompt.  Was able to do a lengthy workaround to get back to grub menu on each boot, but wanted it fixed.  So, I started messing around with Boot-Repair, repeatedly, until the box wouldn't boot at all (just get blacks screen with "Insert disk with command files" or some such).  Tried reinstalling Win 8, upgrade to 8.1, then reinstalling Ubuntu.  Same result - wouldn't boot at all.  Tried reinstalling 8 without upgrade to 8.1, same result.  Tried installing JUST Ubuntu.  Same result.  Finally, set box from UEFI to CSM, installed Ubuntu again.  Now it boots!  So, I'm guessing the UEFI is somehow hosed in the "firmware" by one or more of the actions above.  How to fix?  I'm out of ideas, and I want EFI back.  THANKS!!!


How do I change the command that a launcher item launches?

I'm not sure what commands are issued when trying to launch a program from the dash.  How can I determine this and modify the commands of these short cuts?  For example, I would like to change the command to launch skype from:  skype   to  LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype   I'm not sure which command is issued when I click on the icon in the dash and I'm not sure how I would change it.  Changing it using gnome menu editor does not seem to have any effect.


I'm currently trying to update an old machine at work, but the windows auto update seems to go nowhere.    Its just running like that, for days, and nothing happens. We are now in 2017, and it seems, with the 'Most recent check for updates' information, that my computer didn't have a ping back from Microsoft's servers since Dec. 2014.  If it can help, here is what is under Update History    Also, updating to Win10 would be the last resort option. We would like to keep the computer on Win8, not have to waste a day on setup.  So what can I do to force my computer to go get the updates?


How to Get the latest and oldest row from group by min/max in mysql

I have an app where I am selecting records with first and the last timestamp for that day. There are more than one rows that satisfies the criteria, I want only the latest for that specific day.   SELECT TIMESTAMP, COUNT(DISTINCT employee_id)      FROM attendance          WHERE Date(TIMESTAMP) BETWEEN STR_TO_DATE('01/04/2019', '%d/%m/%Y')                                    AND STR_TO_DATE('30/04/2019', '%d/%m/%Y')            AND TIME(TIMESTAMP) < '17:00'            AND employee_id=1111      GROUP BY DATE(TIMESTAMP);   The problem is that it doesn't return the last/latest records for those days.     Sample data


Is there any data loss during dual boot?

I am currently using ubuntu on my laptop......Now I  want to dual boot windows alongside ubuntu....I want to ask will I be loosing data that is currently present in ubuntu if I dual boot windows


How to expand the ext4 primary partition size in a VMware Player virtual disk?

I have a VMware Player virtual machine setup, running Ubuntu 10.04 as the a guest OS.  The VM was created on a 20GB virtual drive, with a single partition for working space. Finally I got to the point where I need to expand the size of the virtual drive. Resizing the drive itself, adding some 10GB, was easy via the VMware Player menus. I now need to resize the main partition itself (I prefer this over creating a separate partition and mounting it).  According to GParted, I now have the following partitions:    My question is, how can I increase the size of the Filesystem partition to include the free 10GB?  From information I found online, it looks like one limitation is the fact that he swap partition is immediately adjacent to the filesystem, so my understanding is that first thing would be to move that partition to the end of the volume. How can this be done?  Also, some sources suggest that the system should be booted from a LiveCD, so the filesystem is not the boot partition, and thus make it easier to resize. As mentioned above, I run a VM, so I am not sure how to boot it from a LiveCD. Any ideas?


Converting bandwidth: Bps-Bytes/s MBit-MB

When buying network hardware the specs usualy contain "Bits". Software usualy uses "Bytes".  What are the formulas for converting bandwidth measures?  Examples (assuming perfect conditions, ignoring side effects):   How mow many data (Megabytes per second) can I transfer on my 100 MBit network? What bandwidth (in KBit) does my ISP provide, when my torrent client shows an upstream of 300 KByte/s (and I am sure, the limit is from my ISP)?


Hey guys i am trying to loadbalace my website with ngix..I have seen many tutorial and i have found one..According to tutorial i have seen that i need to add  upstream myCloud{  server s1.domain.com;;   server 10.0.1.2;   server 10.0.1.3; }   those lines to my configuration file ..so  my question is that can i add a subdomain like something.domain.com to the server place ..Hope you guys can help me out


Question: Find  the value $$A=\lim_{x \rightarrow 0 }(\frac{(1+x)^{1/x} - e  + \frac{ex}{2}}{x^2})$$  I found the value $$A=\lim_{x \rightarrow 0 }(\frac{(1+x)^{1/x} - e  + \frac{ex}{2}}{x^2})=\lim_{x \rightarrow 0 }( \frac{e- e + ex/2}{x^2}) =0  $$ Is this correct ?


why Booleans slow my computer more than expected

Hi, I'm on a 3.2Ghz 6core AMD processor, 16Gb Ram, GTX 1050Ti vid card. Blender 2.91, via Steam ( so auto updates) usually works fine, so I'm suspicious of how i'm working. The mesh was a curve, converted to mesh, cleaned of excess Verts and extruded. The cylinders (holes 6mm/8mm/10mm) are the default 32 sided, I've changed the dimensions and applied transforms. Difference boolean calls on the 'Holes colection' which has the cylinders in it. a couple of arrays spread out the cylinders/holes which display as wire. it.. chuggs.. soo... slow.. is 32 sides on the cylinders considered excessive? should I get rid of the arrays and make instances of the cylinders? have i missed something obvious?


Are there any proofs that miracles are impossible?

Are there any logical proofs that miracles are impossible?  In this case I define a miracle as an interference with nature by a supernatural power.  [Edit: Possibly due to confusion about the difference between "rationality" and "logic" someone marked this question as a duplicate. If you look at the supposed duplicate question ("What should a rational person accept as a miracle?", you can see that this is a very different question.]


LaTeX command for double lower index summation

I would like to know what is the latex command to include a double lower index using sigma notation (i.e: second index lies underneath the first index)?  I tried typing:  \displaystyle\sum_{m,n=-\infty, \; (m,n)\neq (0,0)}^{\infty} \left[   \frac{1}{(z-2 m\omega_{1} - 2 n\omega_{2})^{2}}  -\frac{1}{   4(m\omega_{1} +   n\omega_{2})^{2}} \right]    I would appreciate the assistance. Thanks


I've been asked to help out with some work on an old VB6 application for a client. They have one PC with VB6 installed, but it is an old machine running Windows XP. They would like to transfer it to a new computer, but they've lost the original Visual Studio disks.  Would it possible to just copy over the necessary files to at least get the compiler and linker working? I realise it might be a bit more involved to get the full IDE operational, but if anyone could give us a head-start on whether this might be possible it would be very much appreciated.


What is the difference between a HMAC and a hash of data?

On a  it became apparent that there's a significant difference between an HMAC of input data and a hash of input data.   What exactly is the difference between an HMAC and a hash of a span of input data?


Prove that $\lim_{p\to \infty} \|u\|_p = \|u\|_{\infty}$

Let $(X,\mathcal{A}, \mu)$ be any measure space and let $u \in \bigcap_{p\in [1,\infty]} \mathcal{L}^p(\mu)$. Then $$\lim_{p\to \infty} \|u\|_p = \|u\|_{\infty}.$$  I have already proved the inequality $\|u\|_{\infty} \leq \liminf_{p\to \infty} \| u \|_p$, so I still need to prove $\limsup_{p\to \infty} \| u \|_p \leq \| u \|_{\infty}$.  Following a hint, I have proved that for any sequence $q_n \to \infty$ one has $$\|u\|_{p+q_n} \leq \|u\|_{\infty}^{q_n/(p+q_n)} \cdot \|u\|_p^{p/(p+q_n)}.$$  How can we conclude from this that $\limsup_{p\to \infty} \| u \|_p \leq \| u \|_{\infty}$?


Can someone tell me if the transfer function for this circuit is:  R2/[(w^2 * C^2 * R1) - jwC]  thanks


Prove $\sin(\pi/2)=1$ using Taylor series

Prove $\sin(\pi/2)=1$ using the Taylor series definition of $\sin x$,   $$\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots$$   It seems rather messy to substitute in $\pi/2$ for $x$. So we have  $$\sin(\pi/2)=\sum_{n=0}^{\infty} \frac{(-1)^n(\pi/2)^{2n+1}}{(2n+1)!}.$$  I'm not too sure where to go from here.  Any help would be appreciated! Thanks!


Is it bad for SEO to have a URL with nothing on it?

I have a WordPress site and for a very complicated reason I have to set some post type's template to empty file. Nothing.  Which means I have a URL on my site (let's say: example.com/postype/the-best-post/) which displays nothing (it doesn't only display nothing it's also really empty, like if you view the source, no code at all).  So is it bad for my site?  And if it is do i have another alternative that would make it alright (some way to say to Google robots.  I'm letting you know that this is a empty page and you have no reason to index it so don't punish me please?!)  Note: This is isn't a duplicate of webmasters.stackexchange.com/questions/106931/… because it's about pages with html, just with no content and this is about pages with no html at all.


Are vegetables poisonous if they have roots, are sprouting or are many weeks old?

Can I use sprouting vegetables? Are they poisonous?  When cooked, does the sprouting have an effect to foods taste?  Can I use my potatoes or carrots if they already has some roots...? How about when my onion is sprouting?


How to make SSD Drive bootable from a disk utilies restore

My mid-2009 mac book pro hard drive is dying so I bought an SSD to replace it.  I tried plugging in the ssd drive to the mac via a usb to sata connection and using SuperDuper to copy the contents (saw a video and it looked easy), but it took forever and I got a generic input output error.  Next I tried restoring from a time machine backup to the ssd drive.  picture an external hard drive with the time machine backup connected to my mac book via usb and my ssd drive connected to the mac book pro via usb. I went into Apple Disk Utilities and did a restore from the external hard drive to the ssd drive.  It took about 16 hours, but it completed.  So now I have 2 drives with the same information - at least I think.  I wanted the ssd drive to be bootable, but it's not.  Can someone explain what a restore really does and how I can make the ssd drive bootable so that I can replace the dying, old mac book hd.  Note: I want to make the ssd drive internal and not keep it as a bootable external drive.  Thanks!


du reports directory size as much smaller than the sum of its contents

I have a directory ~/D that I'd like to find the size of. using du -c ~/D/* gives 26880. However, if I run ls -l ~/D, then I can clearly see that the individual files add up to much more than 26880. In fact, if I inspect a single file, du get's that wrong as well. The last line of the output of du ~/D/* gives   256 /home/me/D/lastFile.bin   while the last line of ls -l ~/D is   -rw-r--r-- 1 me myGroup 3124 Aug 24 21:58 lastFile.bin   where 256 clearly does not equal 3124. What gives? Does it matter that these are binary files?  Edit: This is not a duplicate of a question regarding the difference between du and df; df does not seem to be able to offer me anything in this situation   Edit: stat -c %s ~/D/lastFile.bin agrees with the output of ls -l