What are the possible alternatives to maintain separate accounts for the 'Workplace' and 'Personal Productivity' sites?

I would like to unlink my  and  accounts from other Stack Exchange accounts. These accounts have some information to the incidents in my workplace and personal life which I would like to keep confidential to the group who knows my Stack Exchange ID and user name.   Many potential employers are also asking about my account name in Stack Exchange to assess my knowledge levels. I am happy to share my Stack Exchange,  and  accounts. At the same time I would like to keep my Workplace and Personnal Productivity accounts confidential as I see potential risk if they know incidents about my WorkPlace and Personal Productivity. Hence I would like to unlink these two accounts from other accounts. However, I learned from the post  that unlink is not possible.  Since unlinking is not possible, what are the possible alternatives to maintain separate accounts for Workplace and Personal Productivity?  Edits Based on answers: As per the answer of Knights who say Ni, I have tried to add more logins. How ever if I add login or remove login, this change is reflecting in all accounts. Hence as a result all of my accounts are linked to single login and single account.


I have a few questions, and I was hoping you could help me clear my mind😅   Would you say, “I was watching her dance,” or “I was watching her dancing”?  Would you say, “I was watching you sleep,” or “I was watching you sleeping?” Would you say, ”they were watching them argue, ” ”they were watching them arguing,” or “they watched them argue/arguing”?   And lastly, would you say, ”I’ve never heard you laugh before,” or ”I’ve never heard you laughing before?”    Thank you in advance :)


I am having line like this   gridTable = (targetGrid.DataSource as List<Proizvod>).ConvertToDataTable();   Now I want to change that code to pass List<T> based on targetGrid.DataSource type.  So if I assigned List<Proizvod> to targetGrid.DataSource above line should look like it is but if I passed List<Order> it should look like   gridTable = (targetGrid.DataSource as List<Order>).ConvertToDataTable();   I tried a lot of thing like   (targetGrid.DataSource as IList) (targetGrid.DataSource as IList<>) (targetGrid.DataSource as object)   passing Type datatype to my function and then using it like   (targetGrid.DataSource as List<datatype>)   and a lot of other things I found on internet and which I came up with but all of them didn't work.


Removing the multiple span tags present in the html content using c#

Please provide me the option to remove the multiple span tags present in the HTML content in c#  Eg - Welcometo C#  output - Welcome to C#


How to Send, Receive, and Print a File in Java?

So, I've seen several of posts like this on Stackoverflow, but I am completely confused here after taking resources from like 10 posts. And the fact that I'm relatively new to Java isn't really helping. So, my goal is to get a file, convert it to a byte array, send that, have the client put that into a byte array, and convert that byte array to a string.  So here's the relevant server code (this is in a try/catch just so you know):  System.out.println("Waiting for a client..."); // Start a server ServerSocket server = new ServerSocket(3210); // Listen for anyone at that port Socket socket = server.accept(); System.out.println("A client has connected!"); DataOutputStream outputStream = new DataOutputStream(new BufferedOutputStream(socket.getOutputStream())); // Get file File file = new File("history.txt"); // Convert file to byte array byte[] bytes = new byte[(int) file.length()]; // Send bytes outputStream.write(bytes); // Close everything down socket.close(); outputStream.close(); server.close();   If you read the comments, you get a basic idea of what I think is/should be done in the client and server. Here's the client (again, surrounded in a try/catch):  Socket socket = new Socket(desktopName, 3210); // Get stream DataInputStream inputStream = new DataInputStream(new BufferedInputStream(socket.getInputStream())); // Create a byte array byte[] bytes = new byte[1024 * 16]; // Convert byte array to string allMessagesTextBox.setText(new String(bytes)); inputStream.close(); socket.close();   And when that code is run in Eclipse, I get a java.lang.NullPointerException on the client on the line where it converts the byte array to string and prints it out. I've tried dozens of different techniques provided by websites and QA sites, but they all lead me to this error. Any ideas on what's wrong here, and how to fix it?


Describe all $p^{n}$ (in terms of congruence conditions of $p$ and $n$) for which $x^{2}+1$ irreducible over $\mathbb{F}_{p^{n}}$.

So I've said $x^{2}+1$ is reducible over $\mathbb{F}_{p^{n}} \iff \mathbb{F}_{p^{n}}$ contains a root $\alpha$. Hence if $\alpha$ is such a root then $\alpha^2 = -1$ so that $\alpha^4 =1$ and hence $|\alpha|=4$ in $\mathbb{F}^{\times}_{p^{n}}$ and hence $4\mid p^n -1 \implies p^n \equiv 1\bmod 4$. Hence if $p^{n}$ is congruent to $0,2,3$ mod $4$ then $x^{2}+1$ is irreducible over $\mathbb{F}_{p^{n}}$.  My problem is with $p^{n}$ congruent to $1$ mod $4$ being sufficient to conclude that $x^{2}+1$ is reducible. How can I show this?


force:inputField is not working in lightning experience

I am creating LSDS modal to create a Task so I have an attribute of "Task" in component and using  to bind the fields of Task. When I run lightning component using Lightning Application then it shows the task fields as Input but when I add my component in Lightning Experience by putting component on Home component then its showing Blank area not the fields as input.  <aura:attribute name="newTask" type="Task" description="new Task Object" default="{'sobjectType':'Task','TaskSubtype':'Task', 'Subject':'Call'}" access="GLOBAL"/>

Log A Call

                             Subject
                                  <force:inputField aura:id="subject" value="{!v.newTask.Subject}"/>

                     <force:inputField aura:id="subject" value="{!v.newTask.WhoId}"/>

                 <button class="slds-button slds-button--neutral" onclick="{!c.removecssAndSave}" style="height: 30px;">Save</button>                 <button class="slds-button slds-button--neutral" onclick="{!c.removecss}" style="height: 30px;">Close</button>


Can I use my Windows 7 license to install the latest Windows 10?

I have a retail Windows 7 Home Premium license and installation CDs. I'd like to do a fresh install of Windows 10 on an old PC that's currently running Windows 10. If I wipe the machine and reinstall from scratch, will I be able to install Windows 10 and activate with my Windows 7 license, or can I somehow get my activation key out of my existing Wicked 10 installation? Or is it better to just use "Reset this PC"?


Is there any way to access registry of a Windows back up?

The day before yesterday my hard drive has died (MBR could not be read; all attempts to recover it proved to be futile). All right, I was smart enough to back up all my data regularly (that included even system partition, just in case), so I did not loose any thing. So far so good. However, there is one thing that I may have lost. I am talking about tabs opened in Chrome (I belong to category of people who like to have a lot of tabs opened). It looks like there is a way to recover the tabs (the whole profile, actually, but I care about tabs only). It is described . It requires exporting/importing a specific registry key, though (copying the «User data» directory is not enough, I have tried). So here comes the question: can I access the registry of my Windows 7 backup?


Entity form presents all taxonomy terms instead of vocabulary

I create entity form and add entity reference taxonomy field, set it as select and specify options, but i get all terms instead of one vocabulary terms.  Any idea how to make it works?  here some code.  $taxonomyStorage = \Drupal::entityTypeManager()->getStorage('taxonomy_term'); $voc             = $taxonomyStorage->loadTree("my_vocabulary");  $array = [];  foreach ($terms as $term) {     $array[] = [         'tid' => $term->tid,         'name' => $term->name     ]; }  $fields['voc_type'] = BaseFieldDefinition::create('entity_reference')         ->setLabel(t('Voc Type'))         ->setDescription(t('Voc tag'))         ->setSetting('target_type', 'taxonomy_term')         ->setDisplayOptions('form', [             'type'    => 'select',             'options' => $array,             'weight'  => -6,         ])         ->setDisplayConfigurable('form', true);


How to remove kubuntu desktop environment and change to default unity desktop environment?

I am new to Ubuntu 14.04. I have installed KDE recently.I don't know how to uninstall/remove it.  It displays an error message and I want to switch back to default Unity Desktop Environment. How to change to default through terminal?  I want to definitely know because I could not open any application (including my files/folders) other than terminal (for which I know the shortcut). I want to switch back to Unity badly.  In the xsessions command in terminal it displays ubuntu.desktop and kubuntu-plasma.desktop; But when I try to remove it shows: no such package is there.


What tense should I use past simple or past continuous?

He_____ (ride) a horse when he was a child. She ______ (sing) in a school choir many years ago.


Whats the reaction that creates light when I open BreatheRight strips?

Darken a room. Pull open the sides of a BreatheRight nose strip (they work for me, though may be placebo effect). Notice the blue light coming from the separating adhesive.


No wifi adapter found!! Realtek RTL810xE with r8169 driver on HP Pavilion

I have tried many tutorials in the internet to solve this problem but still can't get wireless connection in my computer.


Changing particular text to Times New Roman

I am trying to recreate the Maple UI in a LaTeX document. Therefore I need certain text in my document to be in Times New Roman and I want the rest of the text in my document to remain as the default font. Any ideas as to how to do this?


Does materialism presuppose that a self is a bundle of mental states and perceptions?

The physicalist/materialist (going forward I'll use the two interchangeably) position on the mind body problem is the following:   Nothing exits besides the physical and therefore the mind is just a combination of the various states and configurations of the brain. The mind doesn't have any independent existence of the physical brain.    The bundle theory of self:   A person is just a collection of mental states and perceptions. the ego doesn't have any independent existence, it is just an illusion arising from the combination of mental states.    Stated this way, the definitions are strikingly parallel, and it seems that the second definition is just a logical extension of the first one, or a restatement of the same definition expect for moving up one level of description: Mental states are just combinations of neural signals and brain configurations, and the ego is just a combination of mental states.   On the other hand, trying to imagine an physicalist theory of the mind which also allowed for a central ego seems hard: It seems to me that it would require a part of the brain to map explicitly to the ego, or for mental states to be modular enough that there is a stable 'ego state' that persists (and plays a role analogous to the OS on a computer). Neither of these positions seem to be corroborated by neuroscience or psychology (as shown by split-brain brain and multiple personality patients).   My questions are:    Are bundle theories of self inevitable if one adopts the materialist position?  Has anyone provided a 'non-bundle' materialist theory of mind, and described how the ego can be both 'real' and physical?


I'm looking for a good resource (preferably a book) on . I am thorough with the basics (the mirror formula, lensmaker's formula, thin lens formula, etc). What I want is something that focuses specifically on various applications and extensions of these formulas to different situations. I would like a resource that supplements an introductory course in geometric optics while not venturing too much beyond the basic formulas.


I have a very simple thread in python:   threading.Thread(target=self.clock).start()   All I want to do is be able to delete the current one and make a new one (that will be set to 0 seconds), so it can start counting again, but no matter what I try I cannot stop the original thread from counting.


How may I test whether a document is being compiled by tex4ht?

Is there a way to programatically test whether the current document is being compiled by tex4ht?  What I am looking for is something like \iftexfourht, or perhaps some \@ifundefined{...}, in order to make \variable expand either to $#1$ or to \textit{#1} conditionally upon whether or not tex4ht is in charge.  \documentclass{article}  \newcommand \variable [1] {%  \iftexfourht   \textit{#1}%  \else   $#1$%  \fi }  \begin{document} Let's talk about \variable{x}. \end{document}


How do I make a gunslinger with a decent damage progression?

I am considering playing a Gunslinger when next we play Pathfinder (I am currently GMing a game, and we'll be switching off afterwards), and thumbing through the Ultimate Combat Playtest v. 2, and I'm wondering how best to keep my damage progression on a decent track. I've considered a couple of things, like taking the various feats which increase damage and critical threat range (seems most guns crit at x4), and enchanting my gun, but I was wondering if anyone had some other ideas on how to keep damage high.   There are a couple of things working against me:   Ammo is expensive: A single shot, if made by the Gunslinger costs a minimum of 1gp 1sp, and that's the kind of ammo which takes a standard action to reload (move if you have rapid reload). Alchemical rounds cost something like 6gp a piece. Guns are expensive: A single shot pistol is 1,000 gp (but the Gunslinger can make one for half). Ultimately I think I want a revolver so I can get up to 6 shots before having to reload. Guns don't add ability bonuses: Like crossbows, they do static damage. 1d8 for a pistol.   Things working for me:   Within one Range Increment, guns resolve against touch AC: Which means I will probably almost always hit. That's awesome, but doesn't help my damage. Aimed shots at level 7: These are kind of awesome, and can cause nifty status effects.   I don't really need powergaming levels of damage here, just want to keep a moderate level of damage.


Is every embedded submanifold globally a level set?

It's a well-known theorem (Corollary 8.10 in Lee Smooth) that given a smooth map of manifolds  $\phi:M\rightarrow N$ and a regular value $p\in N$ of $\phi$, the level set $\phi^{-1}(p)\subset M$ is a closed embedded submanifold. Is the converse true? That is, given an embedded submanifold $S\subset M$, is there necessarily a manifold $N$, smooth map $\phi:M\rightarrow N$, and regular value $p\in N$ of $\phi$ such that $S=\phi^{-1}(p)$?   Prop. 8.12 in Lee Smooth shows that this is true locally; specifically,     Let $S$ be a subset of a smooth $n$-manifold $M$. Then $S$ is an embedded $k$-submanifold of $M$ if and only if every point $p\in S$ has a neighborhood $U\subset M$ such that $U\cap S$ is a level set of a submersion $\phi:U\rightarrow\mathbb{R}^{n-k}$.   (and any level set of a submersion is of course the level set of a regular value). I feel like this is the kind of question where, if there is a counterexample, it probably is very simple, but I wasn't able to come up with one.


This question was found in a CSAT entrance exam for Cambridge computer science course, and I had a look at it but I'm not really sure where to start with it:  Given a sequence of zeros and ones of length $n$, let $L_n$ be the number of sequences that have no adjacent zeros. Give a recursive formula for $L_n$


I was trying to understand the usage for the word "current limiting resistor." Taking an example of a simple LED with a resistor in series, the way I understand this is we are trying to limit the amount of current entering into the LED. I'll start with two situation. Situation 1. LED connected to a bench power supply. The power supply is tuned at 3V at current output set to 2A. If I connect an LED to this power supply where Vf for led is 3V the LED draws the rated current and doesn't consume 2A. Situation 2. The power supply is at 5V and the max output current is set to 2A. Connecting an LED directly would burn because the Vs is more than Vf hence more current will flow through the LED burning it. Whereas as soon as I add resistor in series we are dropping the voltage and hence by that limiting the current. So with this understanding can we say that the current limiting resistor is not only current limiting but voltage dropping resistor? Therefore we can say that the resistor is primarily there to reduce the voltage fed to the LED and the current required by the circuit is the amount of total resistance i.e Series resistance and normal operation of LED resistance.


Why does Mac Yosemite open dozens and dozens of empty desktops?

On 10.10.2, several times a day, I hit F3 ("Mission Control"?) to see all my windows, in order to quickly navigate to one.  And I notice empty desktops keep getting created:   I know I can hold down the option key, to get the X on each of them to more easily delete them one at a time.  But this can still take a while.  I've seen it get as high as 112!  112 empty desktops?!  Why are they created in the first place? Is it some keystroke I don't realize I'm hitting? Do they not consume system resources?  Can new desktops just be permanently disabled, leaving me only ever with desktops which actually correspond to my screen and two external monitors? (I've frankly never understood the point of virtual desktops anyway.)


How to add supporting material link together with cited reference when using bibtex?

I am going to cite a research article which also has useful supporting data by authors in their website.   How can I add the link into Bibtex?  Or do I have to cite the supporting data link as an individual reference?


Is "one needs only" or "one need only" correct?

This questions concerns the singular or plural form of the word "need". It might concern the property of the word "need" under different circumstances, which consequently affects whether it can inflect normally. Under which circumstance is it considered a catenative verb and which auxiliary verb?  I found both "need" and "needs" have many search results in terms of the phrase "one need/needs only".  For example:     1.Should one have any doubts about this proposition, one need only look to the perplexing case of Army Specialist Michael New.       2.But one needs only look at Ronsard to realise how much Catullus influenced him.   One is singular, should not need be changed to "needs" as well? Can anyone help me with this problem?


Given a regular tetrahedron T of the edge length a. Extend all edges of T beyond all vertices by a. In this way, twelve new points are created.  What is the volume of the body spanned by these twelve points as in Figure A 591214 a, as a function of the volume V of the tetrahedron T?


Automatically resize high-resolution screenshots

On a modern Apple device with a high-resolution screen, if I take a screenshot of a window, this is what I get:    As you can see, when the image is displayed normally, it's too big.  Because my screen has two pixels per "point" (a @2x ratio), the  for me to display these is to use  <img src="[url]" width="[half of image width]">   Which produces this:    On my retina display, this is rendered at native resolution; on a non-retina display, it's appropriately downscaled so that it remains the correct size. Unfortunately, it requires manually checking the image width, dividing by 2, and typing in the HTML.  Can the image uploader do the hard work for us?   Nowadays, GitHub automatically enters the image width when dragging an image file to a comment field. They achieve it by reading the  from the PNG file, and appropriately interpreting that physical resolution.  Using  and  this is relatively simple to do. It would be great for Stack Exchange sites to do the same! (I imagine you can do this for pasted screenshots, too, although GitHub doesn't.)


Stack Exchange should stop using the Creative Commons logo

If I understand correctly, SE reproduces its user-produced content using a CC-BY-SA license with additional restrictions: namely, from point 3 of the ,  In the event that You post or otherwise use Subscriber Content outside of the Network or Services, with the exception of content entirely created by You, You agree that You will follow the attribution rules of the Creative Commons Attribution Share Alike license as follows: a.   You will ensure that any such use of Subscriber Content visually displays or otherwise indicates the source of the Subscriber Content as coming from the Stack Exchange Network. This requirement is satisfied with a discreet text blurb, or some other unobtrusive but clear visual indication. b.   You will ensure that any such Internet use of Subscriber Content includes a hyperlink directly to the original question on the source site on the Network (e.g., ) c.    You will ensure that any such use of Subscriber Content visually display or otherwise clearly indicate the author names for every question and answer so used. d. You will ensure that any such Internet use of Subscriber Content Hyperlink each author name directly back to his or her user profile page on the source site on the Network (e.g., ), directly to the Stack Exchange domain, in standard HTML (i.e. not through a Tinyurl or other such indirect hyperlink, form of obfuscation or redirection), without any “nofollow” command or any other such means of avoiding detection by search engines, and visible even with JavaScript disabled.  Although the wording "You will follow the attribution rules [...] as follows" is a bit misleading, these are indeed additional restrictions; for instance, CC-BY-SA says nothing about nofollow, and asks for hyperlinks only when reasonably practical (at least in the newer versions; the older ones did not specify anything. The TOS never specify a CC-BY-SA version number, and it contains links to both the 2.5 and 3.0 version). [EDIT: apparently now they have ]. Adding additional requirements is apparently frowned upon by the CC folks, and they  that you stop using their name and logo in that case:  Can I change the license terms or conditions? Yes—but if you change the terms and conditions of any Creative Commons license, you must no longer call, label, or describe the license as a “Creative Commons” or “CC” license, nor can you use the Creative Commons logos, buttons, or other trademarks in connection with the modified license or your materials.  My understanding is that Stack Exchange sites should stop using the CC name and logo outright. Is this correct?


Text color change for "Staff" and "Moderator" indicator

As per the , Employee profiles are marked with a "Staff" and "Moderator" indicator. The below screenshot was taken from the announcement post.        The below is the current screenshot taken from the user profile. The text color of "Staff" and "Moderator" were changed to black from white. Due to that change, it has less readability.         Can the text color be changed to white again?


Video orientation flag reset or disabling it on youtube

I've recorded a video on my smartphone (android-based).  I've been recording it in a landscape mode.  Then when I uploaded it on youtube - it somehow recognized the original orientation and made it to portrait mode.  I understand that I may use youtube editor feature and rotate it there - but I don't want to do that for 2 reasons:   It is another lossy conversion The video in a wrong orientation is of a lower resolution - 720p, whereas the original video is 1080p.   So what I would like to know from community either:   if it's possible to reset an orientation flag in the video (it was compressed using h264 in mkv with ffmpeg) or how to disable auto-rotating on youtube   ?  PS: yep, I tried to google on both questions


<input type="text" id="target" />   How to do it with jQuery?


Is it possible to reproduce this "comics" effect in Photoshop?

I’m looking for a way to reproduce a similar effect in Photoshop. Is there a filter that can produce this?


How can I get a list of available wireless networks on Linux?

I would like to get a list of the wireless networks available. Ideally this would be via some C call, but I don't mind if I have to kludge it with a system call. Even better if the required C call or program doesn't require some exotic 3rd party package.  The internet seems to suggest I use sudo iwlist <interface> scan which does seem to do the trick from the command line, but I'd rather not require root permissions. I only want to see the basics, not change anything.


Using "<" for input redirection of a file with commands that already handle files

Regularly, I have seen the following syntax:  awk 'stuff' <file sort <file   The thing is, I usually write:  awk 'stuff' file sort file   And things work perfectly. So if both syntaxes are roughly equivalent (or are they?), is there any benefit from using <file syntax ?  EDIT  Existing threads cover some of my interrogations (using < implies that the shell opens the file first and then passes it as standard input to the command), but I feel that some remain:   POSIX compliancy ? Is it to dissipate any ambiguity concerning the nature of file argument ? Is it specific to a certain type of shell ? Is it considered deprecated ? Performance-wise, is there a notable difference ? Any example where you would use one against the other is welcome.


What kind of road tyres should I go for winter commuting?

I currently have kevlar vittorio rubbino tyres on my road bike, but they don't have enough grip for the oncoming uk winter conditions. What level of tyre tread do I need for road commuting on uk winter roads and any recommendations welcome. I would still like to maintain a low weight and good rolling resistance.


Why these two sed patterns don't give the same output?

I'm trying to extract a couple of fields from each entry of a VCF file. Specifically I want the first and second field and the number after END= to be included. Here is one entry of the file:  1 234529926 AC=1;AF=0.00019968;AFR_AF=0.0008;AMR_AF=0;AN=5008;CIEND=0,500;CIPOS=-500,0;CS=DEL_union;EAS_AF=0;END=234549706;EUR_AF=0;MC=YL_CN_ACB_337;NS=2504;SAS_AF=0;SVTYPE=DEL 0|0   I tried the following to get the result I want:  sed 's|\([\d\s]*\)AC=.*;END=\([0-9]*\).*|\1\2|'   Results in:  1 234529926 234549706   Replacing [0-9] with \d should give the same result but it doesn't:  sed 's|\([\d\s]*\)AC=.*;END=\(\d*\).*|\1\2|'   Gives:  1 234529926   This doesn't make sense, since the [\d\s]*\ group at the beginning works just fine so it can't be the case that sed doesn't understand \d. Why is it so?


How to copy text from specific table  tag to clipboard?

Given this HTML:

     Copy This Text	     <button type="button">Copy</button>

     When the user clicks on that button, how can I copy the the text from first TD tag to clipboard?


Examples of Series that fail Ratio Test But Succeeds Root Test

I have  been practicing ratio test and root test and it came to my attention that indeed the ratio test is weaker than root test, I have been able to find only one example in the related links. I am aware that it is rare for such to happen but I hope someone could provide me with more examples of where ratio test fails and root tests succeeds.


show $\mathbf{A}^2\backslash\{(0,0)\}$ is not isomorphic to $\mathbf{A}^2$

If we have $\mathscr{O}(\mathbf{A}^2\backslash\{(0,0)\})=k[x,y]$, now how can we show that $\mathbf{A}^2\backslash\{(0,0)\}$ is not isomorphic to $\mathbf{A}^2$?


Ping request could not find host www.google.com. Please check the name and try a gain

I'm using Windows XP Professional Version 2002 Service Pack 3. I have issues with DNS (after affected by some malware). I cannot ping the sites, but I can browse using a web browser. I have tried the below methods:   net stop dnscache and net start dnscache netsh winsock reset all Changed static IP to dynamic and vice versa.   But nothing worked for me.   I know this is related with DNS, but I can ping DNS server. Where should I check next ?  Edit: Please see the result for ipconfig /all and nslookup google.com


I have the following code and variables, and I want to find what the variables a, a1, a2, b, b1, and b2 refer to after the code has been executed.  def do_something(a, b):     a.insert(0, "z")     b = ["z"] + b  a = ["a", "b", "c"] a1 = a a2 = a[:] b = ["a", "b", "c"] b1 = b b2 = b[:]  do_something(a, b)   My attempted solution is as follows:  a = ["z", "a", "b", "c"] a1 = ["a", "b", "c"] a2 = ["a", "b", "c"] b = ["z" "a", "b", "c"] b1 = ["a", "b", "c"] b2 = ["a", "b", "c"]   But the actual solution is:  a = ["z", "a", "b", "c"] a1 = ["z", "a", "b", "c"] a2 = ["a", "b", "c"] b = ["a", "b", "c"] b1 = ["a", "b", "c"] b2 = ["a", "b", "c"]   Can anyone walk me through my mistake?


Rubber is peeling off my Canon 60D grip; what glue should I use to fix it?

I take good care of my camera but a while back I started noticing that the rubber on the grip and all the other rubber parts that are made of a similar material are starting to peel off. It's starting to feel a bit strange in my hands and I would like to fix it. Is there a specific glue I should use?


I am learner in verilog with less knowledge and trying to develop more understanding.I wrote a simple verilog code and synthesize and implement it. I do not have understanding of Look up tables. When I saw design summary, It's giving like: Device Utilization Summary              Number of 4 input LUTs       24(Used)         9,312(Available )      1%(Utilization)  What does it means? as it mention available no of 4 input LUTs are 9,312. Is it Device specification?  Thanks


Let $a, b, c, d$ be positive real numbers, such that $a+b+c+d=4 $ prove : $\frac{4}{abcd} \geq \frac{a}{b}+\frac{b}{c}+\frac{c}{d}+\frac{d}{a}$  This is my attempt. I try to show that the last result is positive $4 \geq a^2cd +b^2 da+c^2ba+d^2bc$ $\Leftrightarrow$ $(*) 16>=4a^2cd +4b^2da+4c^2ba+4d^2bc$ $(a+b+c+d) ^2 =16 \Rightarrow (**) 16 = a^2+b^2 +c^2 +d^2 +2 (ab+cd+ac+ad+bc+bd)$ ($**and*$) $\Leftrightarrow$ $ a^2+b^2 +c^2 +d^2 +2(ab+cd+ac+ad+bc+bd)-4a^2cd +4b^2da+4c^2ba+4d^2bc>=0 $ $\Leftrightarrow$ $ (a-2acd)^2 +(b-bad) ^2 +(c-bac) ^2 +(d-bcd) ^2 +2(ab+cd+ac+ad+bc+bd) - 2(acd)^2 - 2 (abd) ^2 - 2(abc)^2 - 2(bcd)^2 \geq 0$


I recently installed Unity3d for Ubuntu with the .deb file I found , but on launch I am not able to connect to my account:, and I get this error:  Service not availabe, please try again later.     on the red stripe, after clicking theSign In button. I then launched Unity3d from a terminal, and I saw an error description that maybe is the cause to my problem:    I tried to reinstall libgcrypt20 and libgpg-error0 that seem to be the faulty packages but nothing worked.  I even redownloaded the .deb package, and checked both md5 sums, which turned out to be dentical, so I guess the problem is not the package itself.  What is wrong with it then?


Plural followed by singular - "have" or "has"?

I'm wondering which of the following is correct:     Guns are an invention that have had an enormous impact on African history.    or     Guns are an invention that has had an enormous impact on African history.   These sentences aren't actually being used in my report, but I decided to create them to save you from the grammatical horror of my actual run-on sentences.  Anyway, I know "have" is used for plural subjects and "has" is used for singular subjects (wrong term, I'm sure), but I'm unsure as to whether the subject is the plural "guns" or the singular "invention." Microsoft Word is suggesting the latter sentence. Is that correct?


Swapping Function (Fn) and Control (Ctrl) Keys on Lenovo ThinkPad W500

I'd like to swap the Fn and Ctrl keys on my ThinkPad W500 (like many others! See:  and )   Numerous folks indicate that Windows doesn't register the Fn key as a keypress but using , that gives the ASCII value of a keypress, I see the Fn key returning FF (perhaps FF in this case means 'not registered').  I also see that keys like Ctrl register with one ASCII code when pressed alone and another when pressed in combo with another key. Fn will only register when pressed alone, so Windows definitely isn't seeing the combo. This took a solution like AutoHotKey off the table. I ran  (which shows you the hardware scan codes of a keypress and the Fn key registerd as 57443).  Using this program I remapped Fn to the Ctrl key; this worked perfectly. However, I suspect that because of the issue in #1, the combo of, for example, Fn + C did not execute a copy.   Short of retraining my pinky I'm actually considering removing the keyboard and resoldering the connections to swap those keys.  I'd love to get some input as to the root technical issue(s) and possible solutions here.


Number of ordered pairs of integers $(x,y)$ satisfying the equation $x^2+6x+y^2=4$

Find the number of ordered pairs of integers $(x,y)$ satisfying the equation $x^2+6x+y^2=4.$   My attempt:  $x^2+6x+y^2=4$  $x^2+6x+9-9+y^2-4=0$  $(x+3)^2+y^2-13=0$  $(x+3)^2=13-y^2$  $x$ is required to be an integer. Therefore, let us consider $x$ as an integer.  Therefore $(x+3)$ is also an integer. Similarly $y$ is an integer. Now, the square of any integer is a non-negative integer and more specifically a perfect square.   Therefore, $(x+3)^2$ and is a perfect square  $\implies 13-y^2$ is a perfect square  $\implies y=-3,+3,-2,+2$ (By trial and error method)  For $y=-3, +3$, there are two values of $x$ which are $x=-1,-5$  For $y=-2,+2$, there are two values of $x$ which are  $x=0,-6$  Hence there are eight ordered pairs in total: $(-1,-3),(-5,-3),(-1,+3),(-5,+3),(0,-2),(-6,-2),(0,+2),(-6,+2)$.   Therefore the number of ordered pairs of integers satifying the equation $x^2+6x+y^2=4$ is $8$.  My problem:  Is my method correct? Is there any other method to solve this problem?


I want to take FCC  certification for my product which comes under "Part 15" (Unintentional Product). What tests are necessary for that?  Please suggest me some document so that I can refer it and take care of passing test on first attempt.


Create an Accept Migration voting mechanism for migrated questions

tl;dr - Let the target site vote on whether or not to accept a migrated question into its community in order to help enforce the Don't Migrate Crap idea.    Even with limited migration paths, quite often (that is, far too often) a question gets migrated to a site when it really should have just been closed on the original site.  We have the ™ (ie Don't Migrate Crap) yet it still happens wasting time for those in the target community, leading to confusion for the OP, a waste of clicks by those who stumble upon the question in the future, etc.  Occasionally a diamond mod on the source site will post a question to the potential target site's meta asking if that community wants a particular question or if should just be closed on the target site.  This is great, and I would love it to happen more often.  But, it's rare (at least in my experience).  What I propose is a mechanism for target communities to reject migrations before they are finalized.  The process would work something like this:   The community where the question is posted votes to migrate the question (no change from current functionality) A notice is presented to the target community (possibly similar to the pending edit notification) saying that another community wants to migrate a question to them Members of the target community review the pending migration and vote on whether or not to accept the migration If the migration is accepted it is completed as it is today. If the migration is rejected then the question stays on the original site and is closed as Off-Topic.  Or, even better, with an indication that the migration was rejected by the target community. 5 votes to accept or 5 votes to reject completes the voting (ie- first to 5 wins)   I would think that those with the Vote to Close privilege on the target community would be given this new Review Pending Migration privilege.  I also think that ALL migrations should be given this review, regardless of being migrated by 5 community members or by a diamond mod.  There would also be the question of whether or not migrated questions could then be closed on the target site, or at least whether or not they should be closed within X amount of time from being migrated.  I could go either way on this one.  Again, nothing about the migration mechanics would change with regards to any existing answers, votes, comments, etc.  That all stays the same.  This is just a proposal for a migration holding tank, if you will.  My hope is that this will lead to more scrutiny when migrating, especially if there is a notice on the original site saying a migration was rejected.  It should also help to reduce the gray area between some migration paths such as Stack Overflow <--> Programmers and Server Fault <--> Webmasters or Dba.


How can I make a switch statement more object oriented?

I am trying to refactor a switch statement that is like this:  private void Validate(DataTypeEnum dataType, string value, ...) {     switch(dataType)     {         case DataTypeEnum.Number:             var typedValue = int.Parse(value);             //Validation of typedValue             break;         case DataTypeEnum.Decimal:             var typedValue = Decimal.Parse(value);             //Validation of typedValue             break;         case DataTypeEnum.DateTime:             var typedValue = DateTime.Parse(value);             //Validation of typedValue             break;     } }   I would like to get rid of the switch statement and somehow replace it with a more object oriented construct. Any suggestions?  My ideal would be something like this:  private void Validate(DataTypeEnum dataType, string value, ...) {     Validate(value); } private void (Decimal value) {     //Validate } private void (DateTime value) {     //Validate }   Is there any elegant way to fix this?


i have a private method is ball.cs class in witch i want to modify a bool type from margins.cs class, but i get the Error   An object reference is required for the non-static field, method, or property 'PingPong.Margins.win'. Can someone help me with this?  this is the ball class code :  namespace PingPong {  public class Ball {       private PictureBox ball;      Random rand= new Random();      Player leftSidePlayer, rightSidePlayer;       int xSpeed, ySpeed;       public Ball(PictureBox aBall, Player leftSidePlayer, Player rightSidePlayer)      {              this.ball = aBall;          this.leftSidePlayer = leftSidePlayer;          this.rightSidePlayer = rightSidePlayer;          xSpeed = 1;          ySpeed = 2;          resetBall();      }        internal void processmove()      {          var bottom = Margins.bottomOfWorld - ball.Height;          DoMove();           if(ball.Location.Y >= bottom || ball.Location.Y <= Margins.topOfWorld)          {              ySpeed *= -1;          }           if (ball.Location.X <= Margins.leftOfWorld)          {             Score(leftSidePlayer);          }          else if (ball.Location.X >= Margins.rightOfWorld - ball.Width)           {              Score(rightSidePlayer);           }           if ((leftSidePlayer.paddle.Bounds.IntersectsWith(ball.Bounds)) || (rightSidePlayer.paddle.Bounds.IntersectsWith(ball.Bounds)))          {              xSpeed *= -1;              if ((ySpeed <= 6 && ySpeed >=-6) && (xSpeed <= 5 && xSpeed >=-5) )              {                  if(ySpeed < 0)                  {                      ySpeed -= 1;                  }else                  {                      ySpeed += 1;                  }                    if (xSpeed < 0)                  {                      xSpeed -= 1;                   }                  else                  {                      xSpeed += 1;                  }              }          }        }       private int DoMove()      {          var bottom = Margins.bottomOfWorld - ball.Height;          ball.Location = new Point(ball.Location.X + xSpeed, Math.Max(Margins.topOfWorld, Math.Min(bottom, ball.Location.Y + ySpeed)));          return bottom;      }       private void Score(Player winningPlayer)      {          winningPlayer.scoreNumber++;           if(winningPlayer.scoreNumber == 7)          {              if(winningPlayer == leftSidePlayer  )              {                  Margins.win = true;              }else if(winningPlayer == rightSidePlayer)              {                  Margins.win = false;              }            }            resetBall();      }       private void resetBall()      {          ball.Location = new Point((Margins.leftOfWorld + Margins.rightOfWorld) / 2, (Margins.bottomOfWorld + Margins.topOfWorld) / 2);          do          {              xSpeed = rand.Next(-3, 3);              ySpeed = rand.Next(-3, 3);          } while(Math.Abs(xSpeed) + Math.Abs(ySpeed) <= 3);      }  }   }  and this is the margins class code :  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms;  namespace PingPong {     public class Margins     {   //Marimea ferestrei 1000; 600         public const int topOfWorld = 0, bottomOfWorld = 560, leftOfWorld =0, rightOfWorld = 1000;         public bool? win = null;     } }   the error i get is in private void score when i use the margins.win = true and margins.win = false .


Crossreferencing included PDFs in the appendix for classicthesis + lyx

My appendix currently consists of 4 PDF's that I have manually included into the "Appendix" Part of my tex document created in Lyx (classicthesis v4.1). I would like to cross-reference these included PDF's in my text. I am currently adding labels above the pdfbookmark[] and \includepdf[] statements for each PDF I am including, but referencing these labels in-text only returns me to the "Appendix" level, and not the specific PDF when I compile my document and click on the in-text link. MVE below, showing 2 example included files:  \appendix \part{Appendix}  \label{SOP052} \pdfbookmark[1]{SOP052}{SOP052} \includepdf[pages=-]{"SOP052"}  \label{SOP054} \pdfbookmark[1]{SOP054}{SOP054} \includepdf[pages=-]{"SOP054"}  \cleardoublepage{} \include{Bibliography} \cleardoublepage{} \end{document}   How can I create labels that allow me to reference the PDF's, or do I need to reference the PDF bookmark? If so, how do I do it? Or am I missing something?


What happens if I'm forced to overstay in the U.S. because my flight is delayed or cancelled?

What generally happens if I am forced to overstay my legal stay in the USA because my flight gets delayed, cancelled, or diverted? Will I be banned from entering the USA? Will I still be able to use the Visa Waiver Program to enter? Some examples:  Amy entered the U.S. on a visitor visa. She was supposed to travel out of the USA on a flight that would leave one day before the date on her I-94. However, that flight was cancelled due to severe weather at her origin airport, and she was rebooked onto another flight that leaves one day after that date.  Beatrice is a Japanese national returning on the 90th day of her Visa Waiver Program, traveling back to Japan on , which diverted to LAX four hours after it departed.  Colleen also entered the U.S. on a visitor visa. She was scheduled to leave on a flight that would depart late at night on the last day of her I-94. However, that flight was delayed by a few minutes / one hour, which pushes the departure time into midnight, which technically means she's overstaying.    Note: Some of the foregoing is already covered in the answer to . However, that post is specific to the Visa Waiver Program, and editing it would change its meaning completely; I'm looking for a general answer for both VWP and those traveling on standard visas. This is also not a duplicate of , as that is specific to H-1B visas and the answer there may not apply to other visa types.


I am a Master 1 student studying dynamical systems. I am new to it. There's a problem, I have with invariant sets. Excuse me, I didn't know how to start the following question.  I have the following system of ODEs $$\begin{aligned} x_{1}' &= -\gamma_{1}x_{1} + (1-\alpha)\phi(x_{3})\\ x_{2}' &= -\gamma_{2}x_{2} + \alpha\phi(x_{3})\\ x_{3}' &= \gamma_{2}x_{2} - \phi(x_{3}) + u\end{aligned}$$ where $0 < \alpha < 1$ is a given parameter, $u > 0$ is a control input, $\gamma_{1},\gamma_{2}$ are positive constants and $$\phi(x_{3}) = k_{1} x_{3} e^{-k_{2} x_{3}}$$ with $k_{1}, k_{2} > 0$ are given constants. Show that the set of $x=(x_{1},x_{2},x_{3}) \in \Bbb R_{\geq 0}^3$ such that, $$\begin{aligned} (1-\alpha)\phi(x_{3}) &\leq \gamma_{1}x_{1} < u\\ \alpha\phi(x_{3}) &\leq \gamma_{2} x_{2}\\ \phi'(x_{3}) &< 0\end{aligned}$$ is an invariant set.  Attempted Solution:  Let $f_{1}=-\gamma_{1}x_{1} + (1-\alpha)\phi(x_{3})$, $f_{2}=-\gamma_{2}x_{2} + \alpha\phi(x_{3})$ and $f_{3}=\gamma_{2}x_{2} - \phi(x_{3})+u$ .\ We have $$ div (f)= \dfrac{\partial f_{1}}{\partial x_{1}}x'_{1}+\dfrac{\partial f_{2}}{\partial x_{2}}x'_{2}+\dfrac{\partial f_{3}}{\partial x_{3}}x'_{3}$$ I tried to evaluate $div(f)$ along the boundary of the set of interest: $$\begin{aligned} (1-\alpha)\phi(x_{3}) &= \gamma_{1}x_{1} = u\\ \alpha\phi(x_{3}) &=\gamma_{2} x_{2}\\ \phi'(x_{3})&=0\end{aligned}$$ And i got: $div(f)=0$.\  It means that there is a balanced set of outings and entries with respect to the vector fields. Please is the method correct? If yes, what can i deduce from the answer? Does if mean that the set is invariant? Thanks


In Windows XP Professional, is there a limit on the number of files that can be contained in a single folder?

I am running Windows XP Professional, service pack 3.  Right now I have 4,398 files in a single folder, and Windows XP seems to read it fine.  How many more files can I place in this same folder, either theoretically or practically?  Thanks for your time.


I was playing a server which consists of insane builds. I wanted to download these maps, but when I tried the world downloader mod, it does not work. Is there a solution to download it without using any mods?


What's a single word for a situation where a person swears a lot?

It is not a commonly used word.  It's not a medical condition, but it's a noun that describes a person or the condition of a person who abuses when he is angry and calms down. I think it starts with an m.


Is there a JavaScript alert that doesn't pause the script?

I'm looking for something like alert(), but that doesn't "pause" the script.  I want to display an alert and allow the next command, a form submit(), to continue. So the page will be changing after the alert is displayed, but it won't wait till the user has clicked OK.  Is there something like this or is it just one of those impossible things?


How to add progress bar to shell scripts

I'm new to shell scripts and i use the below code to run a spring boot, however i need to have a progress bar to show the progress of starting the application.  I have tried with echo "waiting to start" but need to have a progress bar to show.  cd /var/develop/eureka-discovery-services/target pwd java -jar eureka-discovery-services.jar & while ! nc -z localhost 5001 ; do echo "Waiting to start"    sleep 2 done  cd /cd /var/develop/api-services/target pwd java -jar api-services.jar & while ! nc -z localhost 6001 ; do echo "Waiting to start"    sleep 2 done echo "All services started Successfully !!!"


how to launch a download, it asks me which file to open with but i have no idea

I download a few items for my school work but cannot launch them. It keeps asking which program to I want to open with. It isnt like windows when it automatically knows.


How to enable usb debugging and install an apk to an android device with non-functioning display?

The display of my Xperia z3 is non-functioning(i.e. all I can see is a black screen) after an accidental damage due to water-insertion. But all other parts are working fine. The screen responses to touch, I can hear the touch sounds and I can click photographs as well with the camera key.  After connecting the phone with USB cable to my ubuntu laptop, I can browse through the internal storage files on the phone and locate the newly created image files as I click new photographs and take screen-shots. But I can't open any files(images/audio/videos) with errors like "couldn't load image" and "couldn't determine type of stream". However, I'm able to copy new files to the internal storage.  I want to install some screencasting application like vysor on my phone so that I can access it using my laptop. I know this can be done using adb commands but the problem here is that USB debugging is not enabled on my phone and hence I can't find it on the list of adb devices.  Is there any workaround for such situation?


Possible Duplicate:    I am using 10.04 LTS - Lucid Lynx. I shutdown the computer while a software update was running. Then after I restarted my computer and while the update manager was running, I got this error:  Could not download all repository indexes The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. GPG error: http://toolbelt.herokuapp.com ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520 Failed to fetch  http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/dists/**DISTRIBUTION**/main/binary-i386/Packages.gz 404  Not Found   I went through the answers to  and I tried this $ sudo launchpad-getkeys  Please wait... launchpad-getkeys is running an update so it can detect the missing GPG keys Trying to import all the missing keys gpg: requesting key 0F1B0520 from hkp server keyserver.ubuntu.com gpgkeys: key C927EBE00F1B0520 not found on keyserver gpg: no valid OpenPGP data found. gpg: Total number processed: 0 launchpad-getkeys has finished importing all missing GPG keys.  Try running sudo apt-get update - you shouldn't see any key  errors anymore  But when I run sudo apt-get update again, it again shows that the key was not found on the keyserver. How to solve this problem?


Is $\sqrt{a+b} \leq \sqrt{a} + \sqrt{b}$ when $a,b \geq 0 $ and $a,b \in \mathbb{R}$? I am convinced this must be true always but I can't prove it. Is this somehow related to the triangle inequality?


What other ways are there to make a Wizard more intelligent?

There are four ways I know of to get your intelligence increased as a Wizard:   Levelling to get stat bonus (Untyped, 5 by level 20)  (+2 to +6 enhancement bonus)  (+2 to +6 enhancement bonus, stacks with itself only)  (+1 to +5 Inherent, permanent, same as 'Wish')   This limits a wizard to a 'measly' maximum of 36 intelligence: base 18 + 2 (race) + 6 (headband or stones) + 5 (levels) + 5 (tome).  What other ways that will stack with these can a Wizard increase their intelligence?  Polymorphing (or race changing) is semi-acceptable, but this is not a ideal solution as a permanent bonus is preferred without changing race.


Density of a sequence in the unit interval

Let $\sqrt{a}$ be an irrational number for somepositive real number $a$. How can someone prove that the sequence $a_n$$=$$\{$$n$ $\sqrt{a}$$\}$ is dense in the  interval $[0,1]$? Can someone help me out with a hint? Thank you in advance!     we denote by $\{a\}$$=a-[a]$


I'm trying to see the order date in an ascending order for each customer and also how many order dates each customer has so I know how many times a customer has ordered.   I've tried order by date but that is just ordering the whole dates(ModifiedTimestamp) and not per each customer


overlap an unknown shapefile to another shapefile with known coordinate system

I am writing as I have two shapefiles, one with an undefined projection/ coordinate system and another shapefile with a defined one. When I add them in gis, one shapefile is shown in another place than the other one.   I am trying to project them together so one shapefile can overlay the other one; I go to ArcToolbox <- data management tools <-Project and Transformations <- Define Projection; As input I was adding the undefined shapefile and then I defined as output the projection as of my second shapefile; then I was using the Project option tool  to project the new saved shapefile, after adding the new saved shapefile, but unfortunately still nothing was happening. When I zoom to the two different layers, they are shown at totally different places.


Does a lower t-stat suggest better evidence for rejection?

Say I have these two models:  $y = \beta_0 +\beta_1x_1 + u$    $y = \beta_0 +\beta_1x_1 +\beta_2x_2 + u$  and the $p$ value for $H_0:\beta_1 = 0 $ with $\alpha = 10\%$ for both is less than 0.001, but the $t$ statistic in model 1 is less than the $t$ statistic in model 2.  Does this suggest that model 1 has better evidence for rejecting $H_0:\beta_1 = 0 $ ?  My suspicion is that it doesn't because the whole point of the $p$ value is to have the least level of significance at which at which the null would be rejected, and therefore the concept of "less" or "more" evidence for rejecting becomes meaningless.  Am I totally off or somewhat correct?  Thanks in advance for any help!


Run a Shell Script from the Directory it is in

I am relatively new to shell scripts. I am trying to create a script that can initiate grunt.js by launching the script in Finder (Mac). I want to be able to place this script anywhere and for it to just work by running the version of grunt in the folder the script is located.  How can I achieve this? I have looked for a few hours trying to find a solution but due to my lack of knowledge I am struggling.  Does anyone have a snippet that can CD to the directory the script is stored and run a command?


Difference between "at" and "in" when specifying location

I am used to saying "I am in India.". But somewhere I saw it said "I am at Puri (Oriisa)". I would like to know  the differences between "in" and "at" in the above two sentences.


Short story about space cadets and the core sentence “God bless you”

This an old story, starts with a space cadet starting at the academy, all the hard work getting through it, a lecture about the core sentence 'God bless you', the cadets qualifying and jetting off everywhere. It ends with one of the cadets coming back years later as the commodore, remembering everyone and most especially one of the staff members and saying 'God bless you'.


What tools do you use to manage writing co-authored papers?

What tools do you use to manage co-authored papers? This is similar to questions active  and . I assume tech has changed since then.  Co-authored projects I have been on have used Dropbox to share files or shared files through many emails. This does not seem particularly efficient.  Update: In my field, almost everyone uses MS Word.  I use Trello for solo-authored work. It has the option of inviting collaborators but I have not tried it. I am also interested in reproducible workflow and have some of my code on Github. I am exploring the Open Science framework, too, but have not used it to manage an entire co-authored project.


On what grounds does one determine the grammatical acceptability of a sentence fragment group?

I have seen some debate on EL&U about whether or not sentence fragments are acceptable to use, and under what circumstances.  I am not of the persuasion that they should be used, but if I must concede that they are permissible to use, I would like to know the rules that render them acceptable. For instance, it seems that most "acceptable" sentence fragment constructions function in a similar way to pronouns: they refer back to an antecedent.  With pronouns, the antecedent is a noun, and with sentence fragments, the antecedent is a subject-verb group.  Here is an example to clarify:  "The dog bit the child five times.  Every day."    While I would prefer to solve the issue by using a dash ("The dog bit the child five times – every day"), how would one who allows sentence fragments justify the construction?  What are general rules by which one can determine the acceptable construction of sentence fragments?  My intuition tells me that not even fragment-lovers would accept constructions such as "The dog bit the. Child five. Times every day." . . . on what grounds would such constructions not be acceptable?  To state it positively, on what grounds does one determine the grammatical acceptability of a sentence fragment group?  By "sentence fragment group" I am revealing a presupposition that a sentence fragment derives necessary contextual data from a nearby complete sentence.


I am using Ubuntu 18.04, ethernet cable is being not detected. Previously it worked fine. Here is the output of ifconfig.  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 13682  bytes 1147280 (1.1 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 13682  bytes 1147280 (1.1 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 172.16.xxxx  netmask 255.255.xxx  broadcast 172.1.xxxx         inet6 fe80::d0c: prefixlen 64  scopeid 0x20<link>         ether 48:e2:44:d0:xx:xx  txqueuelen 1000  (Ethernet)         RX packets 58110  bytes 14571654 (14.5 MB)         RX errors 0  dropped 2  overruns 0  frame 34695         TX packets 3998  bytes 610656 (610.6 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0         device interrupt 17


Prevent glob expansion in foo="*"; echo $foo

In Bash, when I do:  foo="*" echo $foo   It expands * to the contents of the current folder. How do I make sure it just prints a literal *?  The same, by the way, happens with a regular echo "$foo", it prints the contents of the current folder.


I would like if someone could provide or show me where I can find the proof that $\mathbb{Z} _n^*$ is cyclic when n is prime. In particular I'm after a simple proof that involves fermats little theorem. Would appreciate it best regards.


Make hot questions with multiple answers age away faster on smaller / subjective-ish sites

Due to extended exposure to wide SE network, hot questions tend to attract certain amount of low quality answers   . These answers would better be (and eventually are) removed, but on smaller / subjective-ish sites removal takes quite a lot of time due to . This slowdown in removal, coupled with the way how  depending on amount of answers causes hot questions stick in the list longer than it would be in case of timely removal. Suggest to  to account for amount of answers. This would unblock other  /  questions of the site and allow them to enter .  ##Diluting the brand No matter what their purpose  is, it isn't reasonable to ignore long-term educational impact hot questions make on  audience. Current approach suppresses questions having less answers - given limited capacity of the hot list, this is just another way to say that it indiscriminately favors questions having more answers. This sends strong signal to SE users on what kind content is welcome here. You may write and refer blog posts about  until hell freezes over, but everyday reality of seeing other kind filling the sidebar works totally against the idea of welcoming laser sharp questions having "single correct answer", no matter how you try. As observed in another discussion of related matters, this :  watching the 'hot network questions' leads me to think that several of the recent sites are gigantic broken windows of self-absorbed subjectivity... The questions are whiney, the answers are opinion, and the voting ... oh the voting.  I try to resist the 'reality TV' temptation to click on hot questions on these sites, but every so often I fail... For the sake of completeness, brand dilution may be less visible from outside of Stack Exchange, as web searches eventually correct artificially promoted  stuff and bring truly valuable / entertaining  content back to top, fixing the issue for visitors coming here from web searches. It's SE regulars, active askers and answerers, who take the hit of fake popularity conditioning coming from sidebar, it's them who get a long standing impression that asking questions to gain as much answers as possible is the way to go. ##"Protection" that makes a room for damage The very  that prevents list from being dominated by Stack Overflow, makes room for it to be dominated by questions from sites less capable of moderating highly exposed content. Think of SO regulars (making probably the largest audience of the hot list), what do they learn from it? No matter how good are SO questions that get into the list, vast majority of what is promoted there is not like that.  Yeah average SO user can't see SO questions that fail to get to the list but what they see instead are mostly questions from other sites, encouraging multiple answers. This teaches list audience that it's a norm, that system encourages that. They think wow this works so well at other site(s), let me try something similar at SO. Yeah their attempt will most likely fail  and their question will likely be voted down and closed, but, alas, this won't help next guy seeing the same skewed selection at the hot list.  No matter how you close, downvote, educate those who tries it at Stack Overflow, this won't stop new users from trying weird "hot-like questions" again and again and again - simply because that's the way promoted to them from the hot list - every day, day by day, week by week, month by month.


What's the deal with verbs ending in -ise/-ize?

This has confused me to no end. Often, I find myself unable to figure out how to spell a verb simply because of the -ise/-ize ending. I see verbs such as realise, strategize and other words such as these that all have one of these two endings and confuse me with how there hasn't been any sort of noticeable rule or pattern to figure out which spelling to use.  How do I tell if a word ends in -ise or -ize?


Circular duplicate links didn't used to be allowed, but I just did it:


What is the name of the tense "that she take"?

He advised that she take as many classes as possible.    I know this verb form has a name. I just forget what it is called.


Macbook Air failing to reconnect to network after sleep

I have a Mid-2011 13" Macbook Air running OS X 10.9.2 (the latest version). When I wake my Mac from sleep, sometimes, the Wifi will fail to find my network. The network icon will display the connecting symbol. The only way to stop that is to turn off wifi and turn it back on, where it will reconnect almost instantly.  A video I made showing my problem:


Is there a difference between float[] x and float x[]?

I noticed recently that I can declare an array in java by putting the square brackets either after the type OR after the array variable name.   float[] x float x[]   Are there any differences between these two, aside from the syntax?  As an aside, I stumbled upon a discovery that float[] x[] is actually initializing a two-dimensional array - at least according to Eclipse. Is that true?


Hitting probability of biased random walk on the integer line

Lets say we start at point 1.  Each successive point you have a, say, 2/3 chance of increasing your position by 1 and a 1/3 chance of decreasing your position by 1.  The walk ends when you reach 0.  The question, what is the probability that you will eventually reach 0?  Also, is there any generalization for different probabilities or different starting positions or different rules (say you increase 2 and decrease 1)?  NOTE: I have never taken a course that considered random walks.  So, if possible, could no prior knowledge of random walks be assumed?


Does modulating a laser source change its color?

Hopefully you guys can solve this hypothetical for me.  Suppose I have a laser which emits light at frequency $530\mathrm{THz}$ with a very narrow spectral width $1\mathrm{Hz}$.   From signal theory, as far as I understand, this represents a carrier which my eyes perceive as color green.  Now I modulate this laser with a fictional modulator with the the sine frequency of $100\mathrm{THz}$.  This means that on the spectrum diagram, I would see my "modulated signal" at the frequency of $630\mathrm{THz}$ and $430\mathrm{THz}$, ergo, red and blue for my eyes.   Would such a modulator create a blue and red laser from a green laser or actually a laser of any color for that matter?


What do we mean by the size of the universe?

Isn't it true that the concept of length exists only within the universe? Are we simply measuring the observable universe, that is to say, the spatial limits of our observation?


In the tense of present perfect, Are 'recent past' and 'hot news' the same?

In the tense of present perfect, I learned that "I have finished the work" means 'recent past' and "The man has died"means'hot news' Are 'recent past' and 'hot news' the same in meaning?


How can I make "Press any key to continue"

I'm making a script to install my theme, after it finished installing it will appear the changelog and there will be "Press any key to continue" so that after users read the changelog then press any key to continue


Why does Stack Overflow prevent new users from commenting?

Recently, I was told:  Welcome to Stack Overflow. You'll get the privilege to add comments when you get 50 reputation points. Until then, don't post comments as answers.  That "answer" got converted into a comment (by the responder or some automated process).  I wanted to make a simple comment in the first place anyway. Since comments are often less obtrusive than answers (and can sometimes be much more pertinent, like when pointing out errors in code or grammar or orthograph), why are new users allowed to answer but not to comment?  What is the reasoning behind this bizarre restriction?


Just wondering if anyone can explain why this works:  echo `cat <<EOF   {"branch":"foo","value":"bar"} EOF`   but this doesn't:  echo <<EOF   {"branch":"foo","value":"bar"} EOF   (the second snippet doesn't echo anything to stdout.)


Which is the correct? A universally or an universally?

Which is the correct option for below sentence?     Who doesn't know that he is ____ universally acclaimed writter?      1) a      2) an   Thanks in advance.


What techniques have been used to repeat geometry or other detail to the infinite horizon?

When I composed my     I would have liked to have the camera pitch up enough to show the horizon, except I didn't have enough geometry to extend the cobblestone street and the sidewalk all the way to infinity (mostly because that would require infinite stuff).  Even in that shot it is clear that I need to widen the "sidewalk" to cover up the "sky"box.    Contrast with     where the ray tracer can use the procedurally replicated geometry.   is a failed attempt at faking out the horizon, even with low detail.  It fails because lighting's interaction with the geometry gives it away.  Some techniques that prevent you from having to deal with infinity include   put the scene in a box (usually a room) put the scene in a canyon (which is just a box without a top so you can see the relatively featureless sky) route the road into a tunnel, or around a corner and hide the horizon with other geometry (which is really just a variant on the canyon). have no detail on the ground at all (flat color or gradient)   Those are all dodging the question of interest to me:  What techniques have people used in blender to fake various kinds of detail repeating into the distance (instead of just obstructing the view of infinity)?


What is "string[] args" in Main class for?

In C# the Main class has string[] args parameter.  What is that for and where does it get used?


I have looked in vain for a long time for a common sense explanation of the $c$ Squared part of Einstein's famous equation. No one on Youtube or anywhere else explains this part of the equation, even when they set out to explain the equation! Why multiply $c$, for example? Why not add it? Why is it there at all?


Complex Analysis: Showing analytic function is zero

How I can solve this problem:  Let $f: D \to D$ be an analytic function where $D$ is the unit open disc in $\mathbb C$. Suppose there is a positive number $\delta > 0$ such that ,  $$\lim_{z \to e^{iθ}} f(z)= 0; \qquad \forall \ |\theta| < \delta.$$   Show that $f \equiv 0$ on $D$.   Thanks  Note: An easier version of this  is an exercise problem from Stein and Shakarchi's Complex Analysis textbook which additionally assumes the holomorphic function converges uniformly to $0$ on the portion of the arc. See , , . The absence of this 'uniform' non-tangential limit on the portion of the arc makes it a slightly more difficult problem.


Let $G$ be a graph of minimum degree $k>1$. Show that $G$ has a cycle of length at least $k+1$.  How would I show this? I understand that a cycle is a sequence of non-repeated vertices and the degree of a graph is the number of neighbors the vertex has.


Can I put 3.4oz (100ml) of liquid in a larger bottle, when traveling in the US?

Is the restriction on the amount of liquid in the container, or the size of the container itself?  The  says:     Liquids, gels, aerosols, creams and pastes must be 3.4 ounces (100ml) or less per container   It sounds like it's on the amount of liquid, rather than the container itself.   I ask because I have a nice 4oz Nalgene travel container. What if I filled it half way up? That way, it's clearly less than 3oz, probably closer to 2oz.


unable to run ls -a in shell script file

This is my demo.sh file  #!/bin/bash if [[ $(ls -A) ]]; then echo "there are files" else echo "no files found" fi   but when i run this i get output as       demo.sh: 3: demo.sh: [[: not found     no files found   but there is some file on this directory


Which of the numerous WMD editors are used on Stack Overflow?  When I Google SO and WMD Editor there are several results linking to several different forks. What I've found so far are:   : Appears to not have been updated in 3 years, so guessing no. : Same as #1 : Was recently updated a few days ago : Hasn't been updated for a few months : Updated recently, but nothing related to WMD   Side note, most of the questions related to this topic, on MSO, date back to 2008-2010.  Some clarification would be great.


How can I quickly lose all my stuff to talk to the Pope?

When going for a walk, eventually you run into the Pope.  He asks that you:     Come see me when you have given away all of your posessions.   This is a problem since I have millions of dollars and beads.  How can I quickly get rid of all my things?


I want implement a function in c++ which returns the minimum of an array of any type. My code for now looks like this:  main.cpp:  #include <iostream> #include <bits/unique_ptr.h> #include "MathHelper.h"  using namespace std;  int main() {     std::array<int, 3> myarray = {10,20,30};     int i = MathHelper::minimum(myarray);     printf("%d\n", i);     return 0; }   MathHelper.h:  #ifndef OPTIMIERUNG_MATHHELPER_H #define OPTIMIERUNG_MATHHELPER_H   #include <stddef.h> #include <array>  class MathHelper { public:     template <typename T, size_t SIZE>      static T minimum(std::array<T, SIZE>& a);  };   #endif //OPTIMIERUNG_MATHHELPER_H   MathHelper.cpp:  #include "MathHelper.h"  template<typename T, size_t SIZE> T MathHelper::minimum(std::array<T, SIZE> &a) {     int minimum = a[0];     if(SIZE>0){         for(size_t i=1;i<SIZE;i++){             if(a[i] < minimum){                 minimum = a[i];             }         }     }     return minimum; }   executing this program results into following exception:  undefined reference to `int MathHelper::minimum<int, 3ul>(std::array<int, 3ul>&)'


Content Type Subscriber has its last run = N/A

I tried to publish some content types inside my site collection hub, but the content types were not published correctly, as they did not appear under custom content types at the other site collections. now i checked Content Type Subscriber status and it showed its last run =N/A as follow:-    Now i checked the "Content type publishing error log" under the site collection hub , but it did not show any errors .  and when i checked the Content Type hub job , i find that the web application is set to N/A, as follow, although the managed metadata is connected to the web application :-    so can anyone advice how i can fix this problem ?


How to reference the subsection number without the section number?

I would like to include just the subsection number of a subsection, without the section number.   I think this MWE summarizes what I am after. Is there an alternative to \ref?  \documentclass{article} \begin{document} \section{Section A} \section{Section B} \section{Section C} \subsection{Subsection 1} \subsection{Subsection 2} \label{subsec:Subsection} I would like "\ref{subsec:Subsection}" to just return "2". \end{document}


Avoid logging of certain missing files into the Apache2 error log

I'd like to avoid logging some missing files (that gives a 404) into the Apache2 error log.  I want to do this on an Eclipse update site for my plugin. Problem is that the Eclipse P2 code tries to access its metadata files like content.xml, content.jar, digest.zip and a few others, which are not available on my site. When P2 finds this out, it finally reaches for site.xml, which I provide. All in all, everything works fine ... but I have tons of lines like:  [Mon Jul 06 21:46:46 2009] [error] [client 195.91.79.90] File does not exist: ...htdocs/stable/content.jar   in my error.log file, which doesn't help me very much.  One solution that comes to my mind is to let Apache log through grep (via pipe-logging), but I am looking for a better solution.  I was thinking about tagging these requests with SetEnvIf directive, and skipping error log for tagged requests, but the ErrorLog directive doesn't support that.  Any other ideas?


Display custom popover on standard fields

I was wondering if there is a way to display a custom pop-over on the hover of a standard field in Salesforce lightning! I know with the overlay library one can display it on custom button clicks or hovers.  To be more specific, i wanted to display a custom pop-over on a field in the highlight panel. Any inputs on this is appreciated.  Thanks in advance.


Showing an inequality in the complex plane

Suppose $z,w$ lie in the unit disk. want to show $$ \Big| \frac{ w-z}{1- \overline{w}z} \Big| < 1 $$ try: Can I assume that $1 - \overline{w}z \neq 0 $? IF so, then I expand the inequality as follows: $$ |w - z | < |1 - \overline{w}{z}| \iff (w-z)(\overline{w}-\overline{z})< (1 - \overline{w}z)(1- w \overline{z}) \iff$$ $$ \iff |w| - z \overline{w} - \overline{z} w + |z| < 1 - w \overline{z} - \overline{w} z + |w||z| \iff |w| + |z| < 1 + |zw|$$ Hence, the problem reduces to show that $|w|  + |z| < 1 + |zw| $. I am stuck here. Perhaps this is not a right approach?


if someone could help me with my regex-problem, it would be aweful !   I have an EditText and the charakters which are allowed to be typed in are the following:  A-Z, Ä, Ö, Ü (only uppercases), and ß  I'm grateful for any help!


I am new to ubuntu. I connected ubuntu to my home network and it just stays at 0kBps or move around a little bit from 0 to 1kBps.  I tried at lot of solutions. None of them seems to work for me.  The weird part is whenever i try to open a webpage it takes 20-30 seconds before i could see a real development but speedtest.net open instantly and the speed test shows i have 2MBps connection.  I am using SYstem Monitor app from app store to check network speed. The time the test is running, speed jumps to 2MBps and then suddenly drops to 0 after the test is finished.  Please help guys.   sudo lshw -class network gives *-network                       description: Wireless interface        product: AR9285 Wireless Network Adapter (PCI-Express)        vendor: Qualcomm Atheros        physical id: 0        bus info: pci@0000:03:00.0        logical name: wlan0        version: 01        serial: 74:2f:68:b6:e4:5f        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=ath9k driverversion=3.16.0-50-generic firmware=N/A ip=192.168.1.106 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn        resources: irq:17 memory:ddc00000-ddc0ffff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:05:00.0        logical name: eth0        version: 06        serial: 54:04:a6:12:e6:9a        size: 10Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s        resources: irq:46 ioport:9000(size=256) memory:d2104000-d2104fff memory:d2100000-d2103fff


Why is the phase difference an "odd number of half-wavelengths" when two waves interfere destructively?

Excerpt from the Feynman Lectures, Volume III,  (emphasis mine):  At those places where the two waves arrive at the detector with a phase difference of π (where they are "out of phase") the resulting wave motion at the detector will be the difference of the two amplitudes. The waves “interfere destructively,” and we get a low value for the wave intensity. We expect such low values wherever the distance between hole 1 and the detector is different from the distance between hole 2 and the detector by an odd number of half-wavelengths. The low values of $I{_1}{_2}$ in Fig. 1–2 correspond to the places where the two waves interfere destructively.  Figure 1-2, where:  $I{_1}{_2}$ are the waves measured by the detector when both hole 1 and hole 2 let the source emit waves through them (i.e. no hole is sealed) $I{_1}$ is what waves gets emitted when hole 2 is sealed $I{_2}$ is what waves gets emitted when hole 1 is sealed   Why are the lowest values obtained when the distance between hole 1 and the detector is different from the distance between hole 2 and the detector by an odd number of half-wavelengths, specifically?


Intuition behind the Jacobi triple product

Jacobi's triple product identity states that:  $\displaystyle \sum_{n = -\infty}^{\infty}z^{n}q^{n^{2}} = \prod_{n = 1}^{\infty}(1 - q^{2n})(1 + zq^{2n - 1})(1 + z^{-1}q^{2n - 1})$  I've seen a messy proof of this, but I still don't have any feeling for why it should be true. Is there some intuition behind it? (Or at least some reasonably nice combinatorial argument...)


I reduced the equation:  $84x \equiv 68\mod 400$  $21x \equiv 17\mod 100$  $100 = 4 \times 21 + 16$  $21 = 1 \times 16 + 5$  $16 = 3 \times 5 + 1$  so we have...  $16 = 100 - 4 \times 21$  $5 = 21 - 1 \times 16$  $1 = 16 - 3 \times 5$  Now, I need the equation in the form of $21v + 100w = 1$ and I have to find v and w  $1=16-3 \times 5$  $=16-3(21-1 \times 16)$  $=16 - 3 \times 21 +3 \times 16$  $=100 - 4 \times 21 -3 \times 21 +3 \times 16$  At this point I don't know what to do. Please help.


Can I have an infinite ability score if I live long enough?

There are very rare magic items that increase your stat score by two, such as the Manual of Bodily Health. these items say once you use them they lose their magic until a century passes. I can't find anywhere stating that it cannot increase your score above a 20.  Is it possible that if my character has the Manual of Bodily Health and lives 1000 years, he could have a Constitution score of 40 with a +15 Con modifier and a +15 to each level in HP?


Duplicate sources.list entry Ubuntu 14.04

I'm trying to install one software but showing this error.


What's the proper way to use a variable with spaces in part of a shell script command?

How can I include spaces as part of a variable used in an svn command for RHEL bash scripting? Or if there's something else wrong with the following, please advise.  The SVN URL variable has no spaces, and this section is working:  svn checkout $svnUrl $checkoutDir --username $username --password $password --non-interactive --depth immediates --no-auth-cache   But the SVN update command that works when hard coded is not working as a variable:  updateSubProject="&& svn update --set-depth infinity --no-auth-cache --username $username --password $password --non-interactive" cd project-dir $updateSubProject cd ../another-project $updateSubProject


Windows 7 - Do you want to open this file? Terminate with extreme prejudice

Windows 7 asks me that question every time I go to do anything with a file I downloaded from the net. Is there a way to disable that annoying popup for all files, new and old, for all times, no exceptions? I have been clicking on that accursed box for decades, and I have never once clicked no. I do not want to see that popup again, ever. Not for files I just downloaded, not for files I downloaded long ago.  Near duplicate:   Edit ... The following has useful info:   Edit 2 ... After pouring over the links above, and links they point to, I have discovered how to stop the rot.  Watch this space.


Description list - How to put the definition on a new line?

I have the following LaTeX code:  \documentclass{article} \begin{document} \begin{description}  \item[foo] bar  \item[baz]  bang  \end{description}  \end{document}   and it produces the following PDF:    I want the definition of the item (in this case the "bar" and the "bang") to be on a separate line from the item (eg the "foo" and the "baz").  However this is part of a system that autogenerates documention, so I can't change the source code. I can put style things in the header of each documention, so I need some sort of LaTeX command that will make all definition list (in LaTeX speak, a "descripition list") go onto a new line.


Is the phrase “every X and every Y” singular or plural?

‘Every’ is considered singular, or so I have been told.  Every boy is happy.  However, what is correct when ‘every’ is used in both components of a compound subject?  Every boy and every girl is happy. Every boy and every girl are happy.  People on my end give unconvincing arguments for both. I find neither particularly appealing. Still, one of them must be correct. Which one, and why?


Snapping points to nearest points automatically in ArcMap?

In ArcMap, is it possible to automatically (through a tool) snap points in one point layer (A), to points in another point layer (B)?  I do not wish to snap the points to a line, nor do I wish to merge the points - I would like the end result to be a new layer (C) containing points from layer A that have been moved to match the nearest point in layer B.  If a separate layer cannot be created, but layer A is altered to match the locations of layer B, that is also fine.  I don't think a spatial join works for me, as far as I understand it, as I want the physical location of one of the point layers to move.    I also do not wish to merge the two sets of points, but keep them separate.


If photons going c have no local time or distance 'perception' why isn't the same true for us as we're going c relative to them?


Can't upgrade from Ubuntu 14.04 to 16.04 - dependency issue

When I try to upgrade I receive this message:  "Required depends is not installed. The required dependency 'apt(>=1.0.1ubuntu2.13) is not installed"    Can someone explain what this means.  Thanks


A Dedekind infinite set has a countably infinite proper subset

Set A is Dedekind infinite, i.e. there is a bijective function from A onto some proper subset B of A.  Please prove that A has a countably infinite proper subset.


Nikon D3300 DSLR newbie: Which circular polariser

I am a newbie at DSLR photography and still trying to get my head around the various filters one can buy. I currently have the default 18-55mm f/3.5-5.6 AF-P VR Lens and the Tamron 70-300mm Lens. I would like to buy a CP as I have heard that one can take good landscape shots with it, however I have no clue how to go about choosing one. There are some "popular" websites that are selling these for really cheap along with a UV filter, while dedicated photography shops are selling them at a much higher price. I would like a CP that I can use with both these lenses.  I would be grateful for any recommendations.


Clear localStorage on browser close but not on refresh

I am trying to find the closing event of the browser. whenever the browser is close I need to clear the local storage value. also the local storage value didn't clear when the browser/tab is refresh.   this is for javascript.  window.onbeforeunload = function (e) {       window.onunload = function () {         localStorage.removeItem('sessionTime');     }      return undefined; };   When I am using the above code "sessionTime" local storage value was clear when I refresh the tab/browser. I need to clear the local storage only when I close the browser.


Bibliography with BibLaTeX: Do not abbreviate first given (first) name and abbreviate all further given names

The first given name of an author or editor in my bibliography should be written out, but all further first names should be abbreviated (initials with a period -- and space if there are multiple first names/initials, see below). I am using style=authoryear with BibLaTeX (v. 2.7) and Biber (v. 1.7).  My bibliography looks like this:     Doe, John Arthur Kyle (2013). The secret life of John Doe.   It should look like this:     Doe, John A. K. (2013). The secret life of John Doe.   Minimal example:  example.tex  \documentclass{scrartcl}  \usepackage[ngerman]{babel} \usepackage[babel,german=quotes]{csquotes} \usepackage[backend=biber,style=authoryear]{biblatex} \bibliography{bibliography}  \begin{document}  \cite[123]{Doe} \printbibliography  \end{document}   bibliography.bib  @book{Doe,     title = {The secret life of John Doe},     author = {Doe, John Arthur Kyle},     year = {2013} }   (Worked with said versions of BibLaTeX and Biber, Texmaker (v. 4.0.3) and MiKTeX (v. 2.9.4813).)  I could not find a solution in biblatex.def and firstinits=true abbreviates all first names, including the first one.


Why in bash {{a,b}.{c,d}} expands to {a.c} {a.d} {b.c} {b.d}

In bash  echo {{a,b}.{c,d}}  expands to  {a.c} {a.d} {b.c} {b.d}  Though nothing is mentioned for brace expansion in bash manual for the type of input I have made   My question is why the output is not like this a.c  a.d  b.c  b.d


How to insert the content of a file into another file before a pattern (marker)?

File1 contents:  line1-file1      "1"  line2-file1      "2" line3-file1      "3"  line4-file1      "4"    File2 contents:  line1-file2     "25"   line2-file2     "24"   Pointer-file2   "23"   line4-file2     "22"  line5-file2     "21"   After the execution of perl/shell script, File2 content should become:  line1-file2     "25"   line2-file2     "24"  line1-file1      "1"  line2-file1      "2" line3-file1      "3"  line4-file1      "4"  Pointer-file2   "23"  line4-file2     "22"  line5-file2     "21"   i.e  paste the contents of File1 in File2 before the line that contains "Pointer".


I did search on the internet. but I couldn't still understand well how to use simple present for future. every grammar book says "simple present is used for events in the future which are 'timetabled, scheduled"   What does here timetable / schedule mean? What is the difference between present simple (when used for future) and present continuous (when used for future)?  For example, Difference between  the sentence     The sun rises at 6.00 tomorrow   and     The sun is rising at 6.00 tomorrow


How would you describe what the affine parameter is in layman's terms?

I've been trying to learn it from other sites, but I'm not well-versed enough in mathematics to understand.


Filling the area under a graph based on intersection with another graph

I'm trying to produce this:    But I can't get any further than this:    This is my code:  \documentclass{minimal} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{intersections} \pgfmathdeclarefunction{normal}{2}{%   \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% } \makeatletter \pgfmathdeclarefunction{erf}{1}{%   \begingroup     \pgfmathparse{#1 > 0 ? 1 : -1}%     \edef\sign{\pgfmathresult}%     \pgfmathparse{abs(#1)}%     \edef\x{\pgfmathresult}%     \pgfmathparse{1/(1+0.3275911*\x)}%     \edef\t{\pgfmathresult}%     \pgfmathparse{%       1 - (((((1.061405429*\t -1.453152027)*\t) + 1.421413741)*\t        -0.284496736)*\t + 0.254829592)*\t*exp(-(\x*\x))}%     \edef\y{\pgfmathresult}%     \pgfmathparse{(\sign)*\y}%     \pgfmath@smuggleone\pgfmathresult%   \endgroup } \makeatother \pgfmathdeclarefunction{skew}{3}{%         \pgfmathparse{(exp(-((x-#1)^2)/(2*(#2)^2))*((erf((#3*(x-#1))/(sqrt(2)*#2)))+1))/(sqrt(2*pi)*#2)}% } \begin{document} \begin{tikzpicture} \begin{axis}[       hide y axis,       axis lines*=center,        axis on top,       no markers,        domain=-1:24,        samples=100,       xlabel=\empty,        ylabel=\empty,       every axis x label/.style={at=(current axis.right of origin),anchor=west},       every axis y label/.style={at=(current axis.above origin),anchor=south},       height=5cm, width=12cm,       xmin = -1, xmax=24,       xtick=, ytick=\empty,       enlargelimits=false,        clip=false   ]   \addplot [name path=normal,very thick,cyan!85!black!50] {normal(14,3.416969)};   \addplot [name path=skew,very thick,red!85!black!50] {skew(1,4,10)};   \addplot [draw=green!70!black!20,very thick,fill=green!15!white!15,domain=-2:24] {min(normal(14,3.41696),skew(1,4,10))} \closedcycle; \draw [red, thick, name intersections={of={normal and skew}}] ({rel axis cs:0,0}-|intersection-1) -- ({rel axis cs:0,1}-|intersection-1); \end{axis} \end{tikzpicture} \end{document}   I have checked , but this example just uses a preset number for the domain of the area to be filled, while I intend to use the intersection (which I can't fill in under domain, e.g. domain:intersection-1:12 doesn't work so well).


On which SE site should I ask language independent programming questions?

Which SE site is the place to ask questions like "How do I avoid global variables?" . These questions are asking for different approaches to a problem which are not language specific and may be applied to all languages, The code used to describe the problem is usually pseudo code, and the problem looks "Too broad" or vague but it isn't actually. Here are some examples: How do I avoid global variables? How do I change the program flow within an infinite loop without breaking it? (with pseudo code, current and expected program flow provided)


Installing Mavericks on brand new Macbook with Yosemite?

I want to buy a new MacBook Pro. However, it simply MUST be able to have a different operating system to Yosemite installed, as I need it to work with some hardware which is no longer supported with Yosemite.  Would it be possible to downgrade a new Macbook?  Thanks


I have a residence permit for Norway. Can I travel to Switzerland without a passport?

I am an Indian citizen currently in Norway and I have a residence permit. I have to travel to Switzerland but I do not have my passport with me as it is gone to another embassy for visa stamping.  Can I travel to Switzerland without my passport? I am not sure what they will ask me at Zurich airport and also when I return to Oslo.


$x$ and $y$ are real numbers.  Given that $1<x^2-xy+y^2<2$, how can I show that $\frac 29<x^4+y^4<8$ ?  Then can I use that to prove that for any natural number $n>3$  $$x^{2^n}+y^{2^n}>\frac 2{3^{2^n}} \text{?}$$


Why my pc doesn't display the boot menu to choose an OS when I start the pc?

I originally had a Windows OS and I wanted to also have a Linux OS. So I added Ubuntu in dual boot with Windows. However, when I start my pc, it doesn't display the boot menu and goes on the Windows OS immediately. I tried to display the boot menu from Ubuntu : for that I edited the /etc/default/grub file by changing hidden to menu in the line GRUB_TIMEOUT_STYLE and then did sudo update-grubto save changes. But it didn't work. I tried to display the boot meny from Windows : for that I went to the bios and tried to configure the UEFI to start from Ubuntu in the boot order to make Grub first position but I cannot do that cause it don't show me Grub. How can I display the Grub menu to choose between Windows/Ubuntu when I start my pc ?  Ubuntu is on the partition number 9 of the image above. PS : Sorry for the image being in French. I think it's still understandable though.


I am 21 years old and I wish to invest my $15.000 of savings but don't know how to

I have been working for a while now and I realized that I have saved a moderated sum of money that I wish to invest and eventually make it grow.  But, it happens that I am new to investment. I currently have no debt what-so-ever, and I currently have got all my basic life needs satisfied.  How can I invest my money in a smart and responsible way?


I have selected the setting 'Automatic Login' from within the default Gnome 3 Ubuntu 17.10 control panel app, but it keeps resetting to 'off' after every restart and does not allow me to automatically login.  Any ideas?


Parent DIV Height to expand based on inner content

I'm trying to set the height of .background based on the number of .slice elements on the page. I know the inner elements being floated left doesn't help but I'm not sure how to solve this.  JSFiddle   HTML
                        Menu

   CSS  @import url(http://fonts.googleapis.com/css?family=Droid+Sans);   body {     background: #2980b9;     font-family: 'Droid Sans', sans-serif; }   #btn-nav {     position:absolute;     left:10px;     top:10px;     width:30px;     height:30px;     display:block;   z-index:1; }  #btn-nav:hover {   cursor:pointer; }  #btn-nav span:nth-child(2) {     top:10px; }  #btn-nav span:nth-child(3) {     top:20px; }  #btn-nav span {     height: 4px;     width: 30px;     background: white;     content: "";     text-indent: -999em;     display:inline-block;     position:absolute;     zoom: 1;     top:0px;     left:0px;     text-align:center;     -webkit-transition: top .3s cubic-bezier(0.165,.84,.44,1);   -webkit-transform: rotate(0deg); }   #btn-nav:hover > span, #btn-nav.open > span  {     top:10px; }  #btn-nav.open > span:nth-child(1) {   -webkit-animation: rotateAni .2s .1s forwards, expandAni .3s .3s forwards; }  #btn-nav.open > span:nth-child(2) {   -webkit-animation: rotateAni .2s .1s forwards, expandAni-2 .3s .3s forwards; }  #btn-nav.open > span:nth-child(3) {   -webkit-animation: rotateAni .2s .1s forwards, expandAni-3 .3s .3s forwards; }   @-webkit-keyframes rotateAni {   0% {-webkit-transform: rotate(0deg);}   100% {-webkit-transform: rotate(90deg);} }  @-webkit-keyframes expandAni {   0% {left:0;}   100% {left:-10px;} }  @-webkit-keyframes expandAni-2 {   0% {left:0;}   100% {left:0px;} }  @-webkit-keyframes expandAni-3 {   0% {left:0;}   100% {left:10px;} }   #main-nav {   position:fixed;   left:0;   top:0;   display:block;   width:100%;   height:100%;   z-index:-1; }   .slice {   width:25%;   height:30%;   min-height:30%;   float:left;   background:black;   opacity:0;   -webkit-transition: 1s; }  .background {   position:absolute;   left:0;   top:0;   width:100%;   height:100%;   z-index:-1; }


trouble with sublime text and /var/www/html

I installed ubuntu 14.04 with mysql and the rest of lamp. I created a file called test.php in sublime and when i try to save this file it says unable to safe file in var/www/html  I tried to chown user:user /var/www  but it didnt do anything  I know there are many similir threads to this 1 but id like you to answer it for me so i can understand what i need to do which is not the case with other posts/comments  I had lamp istalled before and i had no problems creating files andsaving them


How do I remove GNOME desktop compeletely after installing KDE?

I try to use KDE desktop a couple days, I think I like it and I don't wanna go back with GNOME. What will I do to remove it completely? I am using Ubuntu 20.04 by the way Thanks


I feel really ignorant in asking this question but I am really just don't understand how a compact set can be considered closed.      By definition of a compact set it means that given an open cover we can find a finite subcover the covers the topological space.    I think the word "open cover" is bothering me because if it is an open cover doesn't that mean it consists of open sets in the topology? If that is the case how can we have a "closed compact set"?   I know a topology can be defined with the notion of closed sets rather than open sets but I guess I am just really confused by this terminology. Please any explanation would be helpful to help clear up this confusion. Thank you!


Calculate the area of center square in the following figure:(the big square has a side length of 1 and each vertex of big square has been connected to the midpoint of opposite side)        answer choices  : $\color{blue}{\frac14 ,  \frac15 , \frac16 , \frac17 , \frac18}$      Please review and correct my solution: $$S_{BigSquare}=2S_{BigTriangle}+S_{Paralleogram} \Rightarrow$$ $$S_{Paralleogram}=\frac12 $$ Now let the side lentgh of center square be $x$ , then we have: $$S_{Paralleogram}=\frac12 =2\times Base\times x =2\times\frac{\sqrt5}{2}\times x \Rightarrow $$ $$x=\frac{\sqrt5}{10} \Rightarrow $$ $$S_{CenterSquare}=\frac{1}{20}$$ ???!!! Which is not among the choice!! What's wrong with my solution??!!!


I'm rather confused as to whether you say I have a practise amp or I have a practice amp when referring to an amplifier that you use to practise your guitar playing.  I understand that the verb form is -se, but I also wonder whether "practice amp" is correct as it's a compound noun.  Any help and clarification would be gratefully received.