I got a big text with a parenthesis and some text inside that needs parsing.  I successfully use this regex (\w+)\s*\:\s*(\(.*), to catch everything inside the parenthesis but the I need do another regex inside the result and this fails.  My code:  import re  txt = "COM: (ZZZ, Min: 2, Max: 114)\n" txt+= "TESTING : BBB" m = re.match(r'(\w+)\s*\:\s*(\(.*)', txt)  comm = str(m.group(2)).strip() print(comm) #  Output: (ZZZ, Min: 2, Max: 114)  trk = re.match(r"\bMin", comm) print(trk) # Output: None, should be "Min"   What am I doing wrong?


Was Zoidberg a competent doctor before the Yeti crushed his skull?

In "The Tip of the Zoidberg" we see a fairly well adjusted Zoidberg get his head crushed by the Yeti. Was the Yeti injury the cause of his incompetence?


How to stop apps from opening automatically when I plug things in

I do iOS development work, and I can't stand how iTunes and iPhoto automatically open when I plug in a device.  I don't want anything to ever open automatically when I plug something in.  How do I make it so?


How do bicycles manage to turn without falling. According to my intuition when the rider tilts the bike it should start falling down. In reality though bicycles manage to continue moving without falling because of their speed. Does speed generate a force that counter the weight?


How does a 8 bit computer or 'cpu' interpret numbers larger than 255?

Ok so I've searched for this but I can't seem to find Anything related to this.   What I do know is that if the number is bigger than 255 the computer uses a new memory block of 8 bits(1 byte) to store the big number..    So let's say I want the computer to add 255 + 7. That would give me 262 in base 10 but in binary it would have to be:     00 00 <--before   01 06 <--after   (this is in hexadecimal form btw)   How would the computer decode these 2 bytes back to base 10 form/decimal form if the computer can't add 6 and 256 because 255 is the highest number it can add to. How would the computer make this 2 byte answer/result appear as 262 on the screen?


Finite semigroups in Algebraic structure

Let S be a nonempty finite semigroup. Suppose that, for all a, b ∈ S, the equation ax = b has a solution and that the equation xa = b also has a solution. Show that S is a group


Find $ \lim_{x\to a^-}(x-a)\left\lfloor \frac{1}{x-a}\right\rfloor $

This problem is an updated version of  and I found it interesting for myself I would like no if the following limit exists or not. $$ \lim_{x\to a^-}(x-a)\left\lfloor \frac{1}{x-a}\right\rfloor $$ Here the interesting fact is that we have the singularity at $x =a$ which not the case  Any idea,?


How to deal with stubborn player who does not participate in missions?

One of the members of our group likes to choose characters with personal agendas or secret motives that prevent him from cooperating with the rest of the team.  He will sit out of missions entirely if he feels like they go against his character's motives.   This would be alright if he did not affect the other players, but that isn't always the case. Once during an important battle, he targeted a player character instead of fighting with us. (He tied this player up, making it impossible for them to do anything except try to escape on their turn. They were in a pretty sour mood because of this.) The GM did their best to make sure we weren't punished because of him, but everyone got pretty frustrated and we had to call the game. The players and the GM have talked with him about this, but he has made it clear that this is how he enjoys playing campaigns.   Is this something anyone has dealt with before? How should we deal with an overly stubborn player?


Why don't we have an isomorphism between $R[x]$ and $ R[[x]]$?

$R$ is a ring. Why don't we have an isomorphism  $$ R[x] \cong R[[x]]\ ? $$


Etiquette, rules, or advice on which site to pose a question? (Or, why are there so many StackExchange sites?)

Basically: I have a question I want to ask regarding using Apple's AppleScript/Objective-C bridge (Objective C wrapped in AppleScript, basically) to implement an HTML/WebKit-based pager (a drop-in for less, like vimpager) and a HTML-ized manpage writer, which should also be capable of rendering to PDF via pandoc/pdftex, etc.  Is this a:   Stack Overflow question? (C/Objective-C, APIs) Ask Different question? (AppleScript) Unix & Linux question? (implementing a pager which is a drop-in for a *nix utility) TeX question? (PDF rendering) All of the above?   Where and how should I ask this, in order to increase the likelihood of the "right person" seeing it?    Edit: I believe this question was too hastily closed as a duplicate.  While the best answer to this question is indeed identical to answer to the other:     Ask the question on the site you think is most applicable. If ... it does not get any answer,   ask a moderator to migrate the question, or alternatively, delete it and re-ask it.   The so-called "duplicate" in question asks     Is cross-posting permitted on multiple Stack Exchange sites if the question is on topic?   whereas this question asks,     Where and how should I ask this [ question that is on topic on multiple Stack Exchange sites? ]     That is to say, if two similar but materially different questions have identical answers, it does not necessarily follow that the questions are likewise the same.  Calling them duplicate questions does a disservice to both and the site in general I think.


2-Part Question:  1) What is the grammatical term for "to be" in the following statement? "This needs to be repaired."  2) Is it slang or an accepted trend that more and more the "to be" portion is dropped? Statement phrased as "This needs repaired."


How to display 2 excel sheets in 2 interconnected monitors by default without needing to manually move them?

I have 2 Excel sheets and 2 monitors that are interconnected. I want Book1 to display in one screen and Book2 to display on another instantly the moment I turn it on. However, when I turn them on, both files open in the same Excel instance, and when I use the "Shift + click new Excel in taskbar and open Book2" trick, both display at the same screen.  Now I have 2 questions.   How to open both books in separate instances the moment I double click their links? How to make the Excel documents to default so that Book1 displays at monitor 1 and Book2 display at monitor 2 when they open? Without the need to drag them.


Let $p(x) = x^3 + x + 1 \in \mathbb Z_2[x]$ and $E = \mathbb Z_2[x]/p(x)$. Factor $p(x)$ into linear factors in $E[x]$.

Let $p(x) = x^3 + x + 1 \in \mathbb{Z}_2[x]$ and $E = \mathbb{Z}_2[x]/p(x)$. Factor $p(x)$ into linear factors in $E[x]$.  Note that $p(t) = 0$, where $t = x + ⟨p(x)⟩$. You might also wish to show that $p(t^2) = 0$.  So far, I have that $E = \{a+bt+ct^2 : a,b,c \in \mathbb{Z}_2, t^3 = 1+t\}$ and I have shown that $p(t^2) = 0$. But I really do not know how to proceed from here.   I have in my notes that the solution is $p = [x + t][x + t^2][x + (t + t^2)] \in E[x]$ but I do not have any details on how this solution was obtained.   Any help would be appreciated.


Find the sum of the series $\sum_{n=1}^{\infty}(\sqrt{n+2}-2\sqrt{n+1}+\sqrt{n})$

I need to test the convergence and find the sum of the following series:  $\sum_{n=1}^{\infty}(\sqrt{n+2}-2\sqrt{n+1}+\sqrt{n})$  But i am not really sure what kind of series is this?  Since   $2\sqrt{n+1}>\sqrt{n}+\sqrt{n+2} \forall n \in \mathbb{N}$  It means that this is the series with all negative terms, what can i do with that kind of series? Can i use the same tests as for series with all positive terms (non-negative to be precise)? If that is true, then how can i use them?


Is the Disney series of Avengers: Earth's Mightiest Heroes canon to Avengers timeline?

Is the Disney animated series of The Avengers: Earth's Mightiest Heroes canon to the whole series?


How do I generate projectiles toward the mouse pointer?

I'm making a top-down space shooter where the player controls a ship and can aim and shoot using the mouse cursor. How can I fire bullets from the ship at the angle from the ship to the mouse cursor?


If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school? Is there a role with more responsibility?


Probability of mutually independent random variables

I have been doing an exam review and this is one of the problems I could not solve.  Let $X_1, X_2, ..., X_n$ be a sequence of mutually independent random variables. For each $i$ with $1 \leq i \leq n$,   the variable $X$, is equal to either $0$ or $n+1$ $E(X_i) = 1$   Determine $Pr(X_1+ X_2 + ... + X_n  \leq n)$


How do I identify the company that hosts my website when the hosting was set up by somebody else?

So me and my friend created and funded a website for a business venture. However due to some complications I no longer want to be part of the venture. My friend on the other hand will not remove my name from the website so I want to contact the host to force my friend to remove my name. The problem is my friend is the technical one and set things up so I have no idea who the host is, and every host finding tool has come up with nothing. I eventually used webhostinghero.com and they it said the domain is being hosted by 8 providers prntscr.com/nnb0he  I have two questions.   Is webhostinghero.com reliable? Is it possible to link multiple providers to one domain to mislead people? (I highly doubt my friend is willing to spend money on 8 hosting providers for one website so he must be using some service to protect the name of the host)


Is there any way to import Marmoset toolbag materials to Blender?

I have a problem, I want to import a model in a Marmoset Toolbag scene into Blender. MarmoSet can export models to FBX and it is working great, except the textures. In the Principled BSDF node the metallic slider is set to 1 and specular to 2, which makes it a mirror, but when I make it lower it  looks like PS2 textures. While the materials look beautiful in Marmoset.. Is there any way to change this? Or import a .tbmat file to see if that works, thanks for helping, here are screenshots of marmoset, blender and node editor. @Duarte Farrajota Ramos I dont get what you mean, I need to import Marmoset into Blender instead of other way around sorry if i dont understand


How long should I wait until the warning of new LTS release upgrade will appear on update-manager? After 5 days from the first point release (20.04.1) nothing appears... I enabled "notify me on new LTS"...


How do I add a description to newly created tags?

I've created a new tag for a popular programming library called . I would like to edit the description to provide some context when others are trying to use the tag. Is this possible?


The introduction of ‘smart’ ID cards, the use of biometrics,   and electronic road pricing represent major developments in   methods of surveillance. Only the malevolent could legitimately   object to these effective methods of crime control. Would that this   comforting view were true.   Would someone please explain this sentence and its structure? I've never seen it before; I hazard that would that = 'if only'. Even were it true, then the bolded sentence is just a subordinate clause (is this the right term?), and not a proper sentence?   Moreover, is this related to any kind of sentence structure in French? Such a connection may help me to learn this better.   Source: P128, Law, Raymond Wacks


If I were to forget to run nohup as described , would it be possible to keep a process alive after executing it. For example, I am running python program.py for the last 3 hours and forget to run the initial nohup command, could that process stay alive, or would I have to take the hit and start again?


Block of equations with only some being subequations

I'm trying to make a block of equations where the first two are standalone equations, and the second two are subequations, ie  X=XXXX (1)  X=XXXX (2)  X=XXXX (3a)  =XXXX (3b)  I'm using the amsmath package, with align and subequation, but I can't figure out how to do this without making a separate block for Eqs 1-2 and one for Eqs 3a-3b. That solution is unsatisfactory, because then there is a big vertical gap between the two blocks, and I want them to appear all as one.  Here's the code I have so far, in case it's unclear.  \begin{align} T(x) &= \frac{m}{2{k_{B}}} \left\langle \mathbf{\tilde{v}}{(\mathbf{x}_{i},t)}^{2} \right\rangle\\  \mathbf{u}(x) &= \left\langle \mathbf{v}_{i}(\mathbf{x}_{i},t) \right\rangle \end{align} \begin{subequations}  \begin{align} P_{xy}(x) &= \frac{1}{A} \left\langle \sum\limits_{i} {m \tilde{v}_{i,x} \tilde{v}_{i,y}} + \frac{1}{2} \sum\limits_{i} {\sum\limits_{j\ne i} {r_{ij,y} F_{ij,x}}} \right\rangle \\ \begin{split}  &=\frac{m}{A} \Bigg\langle \sum\limits_{i}{{{{\tilde{v}}}_{i,x}}{{{\tilde{v}}}_{i,y}}} + \frac{a^3\omega _{pd}^2}{4} \\  &\quad \times \sum\limits_{i}{\sum\limits_{j\ne i}{r_{ij,y}{\left\{ \frac{e^{(-{{r}_{ij}}/\lambda )}}{{{r}_{ij}}}\left( \frac{1}{r_{ij}}+\frac{1}{\lambda} \right) \right\}_{x}}}} \Bigg\rangle \end{split} \end{align} \end{subequations}   Any suggestions would be greatly appreciated!


Evaluate $\int x^3 \sqrt{4-x^2} dx$  Is my solution correct? In the book, some other (final)solution is given.


Today I have encountered a phrase:     If not for you, I would be poor.   I would think it is like "if there were not you", is it like that?  On the other hand, how would I say the following as the meaning would be different:     If not for you, whom do I cook the cake for?


What is the command with which you can directly view the permission bits of a directory?


Blackscreen after installing nvidia drivers

I am running into black screen problems after installing nvidia drivers in my notebook. I have a nvidia mobile 540 but everytime I try installing the driver, I boot to a black screen. Only the cursor shows.  My notebook has an intel onboard graphic and the nvidia. Without the drivers, it burns by watching videos.


Why doesn't "sudo su" in a shell script run the rest of the script as root?

A sample script can be as below:  #!/bin/bash sudo su ls /root   When using ./test.sh as the normal user, instead run ls as super user and exit, it switches to root; and when I logout, it executes ls /root as the normal user.  Can anybody tell me about the mechanism about it?


Repeat the same reference in footnote on different pages

I'm using BibLaTeX to handle my bibliography and I want a reference to be placed in a footnote on every page where I cite the same work and have the same number. Also I want to be able to cite the same work on one page several times. The latter could be done by using  from the Joseph Wright's blog. However, it puts a reference in a footnote only once.


Getting NullPointerException in a BankList Activity when sending data from MainActivity using intent in android

I am trying to pass an arraylist between two activities, but my app crashes at the second activity. Can someone help me solve in this problem... Here, I have two parts of my MainActivity from where sending arraylist to another Activity which is BankList Activity  Part 1:     Intent intent = new Intent(MainActivity.this, BankList.class);     intent.putStringArrayListExtra("BANKLIST",bankListArrayList);     startActivity(intent);  Part 2:     Result<ArrayList<Bank>> banklist = (Result<ArrayList<Bank>>)data;     if(banklist.getCode().equals("00")){         Toast.makeText(this,"list Banks success",Toast.LENGTH_SHORT).show();          bankListArrayList = new ArrayList<>();          for(Bank bank :banklist.getData()){             bank.getIin();             bank.getLogo();             bank.getName();             b             ankListArrayList.add(bank.toString());         }         Log.d("BANK_ARRAYLIST","BANK_ARRAYLIST"+bankListArrayList);         Toast.makeText(this,"BANK_ARRAYLIST"+bankListArrayList,Toast.LENGTH_SHORT).show();      }   My Second Activity (BankList)  public class BankList extends AppCompatActivity {      ListView bankList;     ArrayList<String> bankdataList;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_bank_list);          bankList = (ListView)findViewById(R.id.bankList);          Intent intent = getIntent();         intent.getStringArrayListExtra("BANKLIST");         bankdataList.add(intent.toString());         Toast.makeText(BankList.this,"bank list"+bankdataList,Toast.LENGTH_SHORT).show();          ArrayAdapter<String> itemsAdapter = new ArrayAdapter<String>(getApplicationContext(),R.layout.support_simple_spinner_dropdown_item, bankdataList);          bankList.setAdapter(itemsAdapter);     } }   And my Log is :-  11-09 12:58:01.548 1941-1941/com.example.rajdeeps.upi_integration E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.example.rajdeeps.upi_integration, PID: 1941     java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rajdeeps.upi_integration/com.example.rajdeeps.upi_integration.BankList}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.add(java.lang.Object)' on a null object reference         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659)         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2724)         at android.app.ActivityThread.-wrap12(ActivityThread.java)         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1473)         at android.os.Handler.dispatchMessage(Handler.java:102)         at android.os.Looper.loop(Looper.java:154)         at android.app.ActivityThread.main(ActivityThread.java:6123)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)      Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.add(java.lang.Object)' on a null object reference         at com.example.rajdeeps.upi_integration.BankList.onCreate(BankList.java:30)         at android.app.Activity.performCreate(Activity.java:6672)         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1140)         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2612)         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2724)          at android.app.ActivityThread.-wrap12(ActivityThread.java)          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1473)          at android.os.Handler.dispatchMessage(Handler.java:102)          at android.os.Looper.loop(Looper.java:154)          at android.app.ActivityThread.main(ActivityThread.java:6123)


I've launched a .cmd file from somewhere in my %PATH% How can I know the location of the file?

I can successfully run a .cmd file by typing its name (tsc in this case):  C:\Windows\system32>tsc --version Version 1.0.3.0   It instantly prints the result and terminates.  There is no tsc in C:\Windows\system32, so presumably it is being launched somewhere from a location specified in my %PATH%. I've searched through the drive and found a bunch of tsc.cmd files. How can I know, which of them is being launched?  Related, probably a duplicate:


Automatic reboot after ubuntu freeze? How Can I Do It?

how can i reboot automatically ubuntu when it freeze? *Some times it freezes when i do some things, and other times it freezes after several hours. *I searching if this problem is because some drivers. *I found some information about kernel panic, but i dont know if that will do the job. Thanks


Question in Title. Why does $\det(A^2)=\det(A)^2$? Old quiz answers gave this as a proof of why if matrix $A=A^2$, then $A=0$ or $1$.


Sum of the series $\frac{1}{2\cdot 4}+\frac{1\cdot3}{2\cdot4\cdot6}+\dots$

I am recently struck upon this question that asks to find the sum until infinite terms $$\frac{1}{2\cdot 4}+\frac{1\cdot3}{2\cdot4\cdot6}+\frac{1\cdot3\cdot5}{2\cdot4\cdot6\cdot8}+.....∞$$ I tried my best to get something telescoping or something useful, but I failed. I even made a recurrence as $t_n=t_{n-1}\frac{2n-1}{2n+2}$, but this question was expected to be done with simple logic of series (Also that the recurrence on solving gives a higher order charasteristic polynomial, which might be difficult to solve without calculator). So, thus I ended up being confused with this question. So, can anyone prode a small solution to this (might be easy) problem  .


Is it possible to do realtime noise-removal with PulseAudio, so the sound output that's coming out is smoother?


Pencil or edit icon for blog posts in sidebar?

There is a icon for the blog posts in the sidebar. Previously it was displayed with Meta Stack Exchange icon, but now it with pencil or edit icon.  Is this expected or a bug?  Screenshot for reference:


Show that a self-complementary graph contains an odd number of vertices with degree $(n-1)/2$

Does anyone know how to prove that a self-complementary graph contains an odd number of vertices with degree $(n-1)/2$?  Thanks for the help :D


Passing each parsed file name to next tool in ModelBuilder?

I cannot get the Parse Path tool to pass each file name to the next tool. In the example shown, the Raster to Ascii tool will take the first entry in the 'filename' variable list as part of the output name. But when it runs the next iteration, the Raster to Ascii tool uses some generic file naming convention. 'filename' is set as a precondition for the R2A tool.  Example: raster1.tif raster2.tif Run the Model in Batch mode, using tifs as parameters. 1st output = raster1_asc.txt 2nd output = RastTo_rast.txt <--- this is wrong.    Summary: Raster to Ascii tool sucessfully uses the filename variable as inline variable as part of the output file name. However, the the Raster to Ascii tool uses a generic naming convention for the following files (running Model as Batch).  Does anyone have an insight as to why this is happening?


Upgrade Ubuntu from 18.04.5 LTS to 20.04.1 LTS will erase my personal files?

Sorry for that beginner Q. If I upgrade my  Ubuntu from 18.04.5 LTS to 20.04.1 LTS it will erase my personal files and installed software? something else, I see there some problems with others after upgrading, it is right to upgrade now? what are the criteria that I decide to upgrade based on? Thank You,,


Have a new Dell Inspiron 15 with Ubuntu 14.14LTS but have massive technical problems

I've just bought a new Dell Inspiron 15 3000 series Laptop with Ubuntu 14.14LTS pre-installed but after a failed attempt at upgrading to Ubuntu v15.10 "Wily Warewolf", I had to do a factory reset which also failed and seems to have deleted the restore partition so my system now has no sound, internet or mouse functionality :(. I've found somewhere local that can repair it but would rather do it myself if possible so does anyone have any ideas on how I can fix this without having to pay someone to do it for me?   Also note that I rang Dell immediately after this problem occurred but was fobbed off with excuses as to why they wouldn't help me and was told that my warranty wouldn't cover this problem since it was software related and not an hardware issue :(. I'm completely new to Linux so am completely out of my depth with these issues.


Please help identify an old scifi movie about an Earth with scorching hot sun

Old movie where staying out in the sunlight causes death since it is too hot. The protagonist gets chained up outside during the day but somehow manages to survive. Wish I had more details on this, but it's been at least 15 years since I've seen it.


Can a default path be set globally for \input{...} akin to \graphicspath{...}?

For the graphicx package, we can use \graphicspath{...} so that we can directly use filenames in the argument of \includegraphics{...}. Can a similar thing be done for directly using filenames in \input{...}. I know of the method mentioned  but if this was the way to do it, then why does \graphicspath{...} exist?


How to enable .net framework after install the .net framework?

I am trying to install one program named TecDoc Catalog. I am using Lubuntu 17.10 whit installed 32 bit Wine, winetricks and configured  wineprefix(installed dotnet452).   When i try to run the Install.exe whit Wine it shows this error:     This application could not be started. You must enable the .NET   Framework from Windows Features dialog box (from Control Panel, choose   Programs, Turn Windows features on or off).      Do you want to view information about this issue?   If i click "yes" it leads me here:   In terminal the error looks like this:  fixme:ntdll:WinSqmIsOptedIn (): stub wine: cannot find L"C:\\windows\\system32\\fondue.exe"   I have installed .net framework(dotnet452),  i'm asking how to enable it? Please tell me how to do it by terminal.  Thanks!  tip: Before install dotnet452 the error was "This app require installed .net framework..." Now i need to enable it somehow.


I have just installed Ubuntu 14 on Virtualbox on my Macbook pro and I am facing some problems with its display. it seems that it is not properly scaled and i cant even access/change the display settings inside Ubuntu as the screen is partially trimmed. Anybody can guide me how to correct this problem?  thanks


My colliders keep going through one another?

So, I have some platform with colliders and a character with a collider (everything in 2D). The problem is, while there is some noticeable effects (a certain push back) when the colliders collide, they actually intersect each other and can go through each other.. How can I actually put a collider that doesn't let anything pass, it just stands there like a brick wall against anything?  By the way, any enlightenment on the inner workings of the colliders behavior will be appreciative as I cannot understand how this could even happen.       Bellow I have the images showing the inspector of both the character and platforms/wall respectively.  ]  Also: I'm moving the character using transform.position += Vector3.right * speed * Time.deltaTime;


Web map linked to database that shows one spatial location at a time

I have a simple database with a record for each research project that occured on a national forest. Each project area is associated with a polygon, and there are around 200 polygons that are piled within a relatively small area. I want to create a web map (using open source software) that has a very visible database/project description components where the user can select a project record and then I would like for the record to link to a map of the study location. I can't show all project locations at once because it's too confusing given how many are overlapping.   Any ideas on how to accomplish this?


Can you negate the Frightened condition by not looking at the source of your fear?

As the title says, if you cause a creature to be Frightened of you, as in the Frightened condition, but they can somehow manage to not see you, do they stop rolling with disadvantage to attacks/ability checks?  Below are scenarios to illustrate my question.  Scenarios:   If a creature is frightened of you, and they turn their back against you to hit someone else, would they no longer have disadvantage to attack rolls/ability checks? If a creature is frightened of you and they have Blindsight, can they close their eyes to stop seeing you, and hence stop rolling with disadvantage? If a creature has 60 ft of movement and is frightened of you, and there is a corner they can reach in 15 ft that will block you from sight, can they run to that corner to stop being frightened, then run back to attack without disadvantage? Assume they would not provoke OA to do this, although the OA is immaterial to the question.


Statistical significance of different models

I ran a specification with an outcome in $ terms, and a coefficient on a dummy variable was statistically significant. However, when I ran the exact same model with the outcome in log-dollar terms, the coefficient is not significant. Is this possible, or must there be a mistake?


SSH can't find id_rsa and id_rsa.pub files on Windows 10

id_rsa and id_rsa.pub are located in K:\Batch\mySSH, with script K:\Batch\mySSH\runme.cmd being called from Excel (via VBA), containing the following: pushd %~dp0   set home=%CD:~0,2%\Batch\mySSH   %home%\ssh -v -o LogLevel=Verbose user@11.111.111.11 "do something" popd   runme.cmd output: OpenSSH_for_Windows_8.1p1, LibreSSL 2.9.2  debug1: Connecting to 11.111.111.11 [11.111.111.11] port 22. debug1: Connection established. debug1: identity file C:\\Users\\johnDoe/.ssh/id_rsa type -1 ... debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory debug1: Will attempt key: C:\\Users\\johnDoe/.ssh/id_rsa ... debug1: Next authentication method: publickey debug1: Trying private key: C:\\Users\\johnDoe/.ssh/id_rsa    How do I ensure it looks for K:\Batch\mySSH\.ssh\id_rsa, instead of targeting C:\Users\johnDoe\.ssh?


Starting conjunctions and sentence fragments

We know that it is OK to start a sentence with a conjunction, but not OK to have incomplete sentences.  This seems to me like a contradiction. How can a sentence that starts with a conjunction be a complete sentence? By its nature, a conjunction links to a previous sentence. Therefore, a sentence that starts with a conjunction does not form a complete thought, and is therefore incomplete. Example guidelines:  Start sentences with a conjunction ():  There is nothing wrong with starting sentences with “and,” “but,” or other similar conjunctions. You may, however, encounter people who mistakenly believe that starting a sentence with a conjunction is an error, so consider your audience when deciding to structure your sentences this way.   Avoid incomplete sentences ():  No one escapes high school English without being penalized for writing the odd sentence fragment, but not everyone remembers what they are and how to fix them. Put simply, a sentence fragment is a clause that falls short of true sentencehood because it is missing one of three critical components: a subject, a verb, and a complete thought.     does not quite answer the question, since it doesn't resolve why it is fine to start a sentence with a conjunction even if conjunctions create a fragment.


Please confirm the duration of stay for B-1 /B-2 visas for the United States, for citizens of Nigeria. I have an invitation for a conference.


how to write the displayList method in linked lists correctly? shown below is my method but it gives a null pointer exception

this is my code. please tell me what is wrong here and how to correct it     public void displayList(){                   //displays items on the list    Node current = head;     while(current!=null){        current = current.next;        System.out.println(current);    }


Having three containers, how can I make two containers floating while the third container should occupy the rest of the height, and the second one has the height of the contents?


I am getting a NullPointerException error for my jtable when i try to insert data to the database

i am really new to java and netbeans... i want to send the data from jtable to database.after referring lot of codes i managed to come up with following code.  but when i run it , it gives me the error: java.lang.NullPointerException. i really can't find where the error is.  this is my code,  try{             int rows = jTable2.getRowCount();         //int cols = jTable2.getColumnCount();         String myUrl = "jdbc:mySql://localhost:3306/hospital";         Connection con = DriverManager.getConnection(myUrl,"root","");         con.setAutoCommit(false);           String query = "insert into invoice (In_id,Admission_A_id,Hospital_Charges,Doctor_Charges,Doctor_visit_charge,Medicine_charge,Food_charge,Total) values (?,?,?,?,?,?,?,?)";          PreparedStatement pst = con.prepareStatement(query);         for(int row=0; row<rows; row++){                  String st1 = jTable2.getValueAt(row, 0).toString();                 int HosCharge = Integer.parseInt(st1);                 String st2 = jTable2.getValueAt(row, 1).toString();                 int DocCharge = Integer.parseInt(st2);                 String st3 = jTable2.getValueAt(row, 2).toString();                 int DocVisitCharge = Integer.parseInt(st3);                 String st4 = jTable2.getValueAt(row, 3).toString();                 int MedCharge = Integer.parseInt(st4);                 String st5 = jTable2.getValueAt(row, 4).toString();                 int FoodCharge = Integer.parseInt(st5);                 String st6 = jTable2.getValueAt(row, 5).toString();                 int Total = Integer.parseInt(st6);                 pst.setInt(1,Integer.parseInt(tt1.getText()));             pst.setInt(2, Integer.parseInt(tt2.getText()));             pst.setInt(3,HosCharge);             pst.setInt(4,DocCharge);             pst.setInt(5, DocVisitCharge);             pst.setInt(6,MedCharge);             pst.setInt(7,FoodCharge);             pst.setInt(8,Total);              pst.addBatch();            }         pst.executeBatch();         con.commit();         con.close();       }      catch(Exception e){         e.printStackTrace();     }// TODO add your handling code here:   please help me to solve this.


Calculating the area of a polygon with equal sides inscribed in a circle with radius r.By dividing the polygon into congruent triangles with central angle, show that: $$A_{n} = \frac{1}{2}n r^2 \sin\left(\frac{2\pi}{n}\right),$$  How can I use Darboux sums to do so, could anyone give me a hint please?


Is there a way to avoid focus searching?

While using my camera in a relatively low light scenario I noticed some shots I missed because my camera was struggling to focus.  I use a Nikon D7100 and noticed that the AF assist light only came on when I was using full auto focus not just single point. The photos I did capture came out well and the camera could clearly handle the light even if the AF couldn't!  Does anyone have any tips for getting around this?


I have uploaded quite a few videos to YouTube. I'd like to download them all and move them to a different video sharing service. I don't necessarily have the original final files that I uploaded, so I'd like to get them out in the same format I uploaded them in. (Don't want to have to re-edit.)   How can I get my own videos from YouTube?


How to run Desktop Entry command as a root (Exec=path)

I'm tired to add XAMPP Desktop shortcut/Luncher in my ubuntu 18.04LTS. Exec path. sudo command not executed such as admin:// command got error to run the command. How do I create XAMPP desktop shortcut on Ubuntu 18.04LTS ?


The diagonalizable matrices are not dense in the square real matrices

Suppose that $n \ge 2$. How to prove that the set $\mathcal D \subset M_n(\mathbb R)$ of the diagonalizable real matrices is not dense in $M_n(\mathbb R)$?


Is the injective in set theory always the monomorphism in the category?

the definition of monomorphism as follows:  Suppose there is a very small category, which contains only two objects X and Y, where X and Y are both sets. There are only 3 morphisms in this category: idX, idY and f: X->Y. I think it should be legal to construct a category like this. From the set point of view, the mapping f form X to Y is not necessarily an injective. But from the perspective of category, since the morphism pointing to X is only idX, then f g1 = f g2 can lead to g1=g2. Because both g1 and g2 can only be idX. In other words, f is a monomorphism. Sorry for the very basic question. Is my understanding of the category accurate?


I plan to install Ubuntu soon on my PC. I currently use a TP-LINK TL-WN822N wireless adapter. I want to know if it will work without additional setup.


I'm writing a program that keeps track of team names and how many times that team has won a game based on user input. I need to allow for the user to input a String (for the team name) and an x to exit. I need to be able to compare a string and a character in a while loop (while (String != x)). So far I've tried:  char exitProgram = 'x'; String x = Character.toString(exitProgram); while (winningTeam != x)   as well as:  while (winningTeam.charAt(0) != 'x')   However, neither of these result in a while loop that exits when x is entered. I'm not sure if it's a problem with trying to turn a char into a String or if I'm doing something else wrong but I'm pretty sure it's something I'm not understanding with the comparison. Any help is appreciated.  Edit: This has been marked as a duplicate of   and while they're similar, I believe my question differs in needing to know how to compare a character to a string (i.e finding the correct character to string conversion) rather than just comparing two strings.


Must $k$-subalgebra of $k[x]$ be finitely generated?

Suppose $k$ is a field, $A$ is a $k$-subalgebra of the polynomial ring $k[x]$. Must $A$ be a finitely generated $k$-algebra?   Thanks.


How seriously does cable length affect USB 3.0 transfer speeds?

Recently I've been thinking of upgrading my computer with some USB 3.0 ports. However, the problem is my computer is some ways away from my desk so that would mean I would need a long cable, approximately 10ft or so.  My question is how badly does a long cable (10ft for example) impact the transfer rates of USB 3.0? At what point will the USB controller revert back to say, high speed mode as opposed to super speed mode? What have you guys experienced?  Thanks


I am unable to open in Files ->Devices ->139GB volume and 73GB volume

I am trying to open 139GB volume and 73GB volume in files. I am using UNUNTU 14.04. Why am I getting the following error:  Unable to access “139 GB Volume” Error mounting /dev/sda4 at /media/admin123/9CC66C3CC66C1932:  Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/admin123/9CC66C3CC66C1932"'  exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.


Check whether a file uses CRLF or LF to end lines

How to check whether lines in a text file end with CRLF or LF?


How To Delete Record From dba_audit_trail in Oracle 11gR2

I want to delete records older than one month from AUD$ table, but I have to do this on dba_audit_trail, because I have to do this job according dba_audit_trail's timestamp. I can't find any clear solution for it.  CREATE OR REPLACE PROCEDURE CU AS BEGIN    execute immediate 'delete from SYS.AUD$ where TIMESTAMP > SYSDATE - 30; END; /      BEGIN   DBMS_SCHEDULER.CREATE_JOB (    job_name           =>  'CLEANUP_AUDIT',    job_type           =>  'STORED_PROCEDURE',    job_action         =>  'BEGIN CU(); END;',    start_date         =>  'I will set it after.',    repeat_interval    =>  'I will set it after.',    enabled            =>  'TRUE',    comments           =>  'I will set it after.'); END; /   Or can I delete on dba_audit_trail directly?  Regards,


How to make case sensitivity not matter when inputting an answer?

so I'm learning programming and I understand variables, if else statements, cin and cout. So for a starter project I'm just creating a console application that asks the user questions, such as age, location etc. One of them I would like just a simple yes or no answer. I've managed to do this, but what the user inputs must be the same case as the word in the if statement. i.e. if statement contains "Yes" with a capital 'Y'. If the user inputs "yes" without a capital 'Y' then the program fails.  The if statement sees if it is a "Yes", if it is, provides positive feedback. If "No", then it provides negative feedback.  How can I make it no matter whether the answer is "YES", "yes" or even "YeS"?


Select an option from a ajax generated table row through jquery

I have a table and inside this table every row is generated using ajax. In every row there is a select tag with an id(selectTax). I want to make a js function that occur when this select selected. For this i am using   $("#selectTax").change(function(){   console.log("vikash"); });   But when i am clicking on this nothing happening. Help me soon please.


How would I show that $2^n - 1$ is a solution to the recurrence relation:

$a_n$ = 2$a_{n-1}$ + 1, with the initial conditions $a_0$ = 0, $a_1$ = 1    Apparently the solution is from the Tower of Hanoi problem, but having trouble coming with the this on my own.


Limit of summation $(r/n)^n$ as $n$ tends to infinity!

I have been trying to solve such sums for a while involving limits of summations but haven't got any luck on this one yet...    $$\lim_{n\to \infty} \sum_{r=0}^n (r/n)^n$$.  I first thought of finding a series greater than this one and hoping that would be zero, so that I can claim that the given question is also zero. I could have used integration if there was another n in the denominator. And possibly, I don't think there is any way to sum up the numerator.


Prove that the countable union of sets of cardinality $c$ again has cardinality $c$.

Where $c = 2^{\aleph_0}$.  I have no idea how to tackle this problem. Any help is greatly appreciated!


Cannot share folders on G Suite Google Drive

I just signed up for Google G Suite and created a company shared folder as instructed . However for some reason I cannot share the folders with anyone as shown here:    I'm 100% sure I got full share and access rights (after all I created those folders). Any ideas?


TSQL Script Execution Through Power shell, Special Characters Rendering Problem

We have a simple T-SQL script file (.sql), which we execute through Powershell. Everything works fine, except the script portion, where we are using some special characters as string (example: 'ô' ).   The same script works fine, if I just execute it through SQL Server Management Studio, but through Powershell it's not rendering these special characters properly.  Here how we access the script file to execute on all databases on instance  Add-PSSnapin SqlServerCmdletSnapin100 Add-PSSnapin SqlServerProviderSnapin100 invoke-Sqlcmd -InputFile "C:\DailyPatch\run.sql" | Out-File -filePath "C:\DailyPatch\dbname.txt"  $text=Get-Content C:\DailyPatch\dbname.txt $a = $text.length $a=$a-3  $logFile = 'C:\DailyPatch\dblog.txt'  for ($i=3 ; $i -le $a ;$i++) {        write-host $text[$i]     $error.clear()      Invoke-sqlcmd -inputfile "C:\DailyPatch\Script4AllDBs.sql"-database $text[$i]-OutputSqlErrors $true|Out-File -filePath "C:\DailyPatch\dbname.txt"      foreach ($rr in $error) {         $text[$i] >> $logFile         $rr >> $logFile     } }   How to set collation in Powershell to avoid such kind of issues?  ps. Unicode thing is already handled on script side  Added: Special characters are being changed to � (Replacement Character)


How to get data (question details) of a specific Stack Exchange site?

I am working on a data science project for which I need data (questions and corresponding tags) of a specific Stack Exchange site,  for example. From this  we know that SE data is publicly available, but I am not able to find a method to get data of a specific SE site. The things I've checked:  I've checked the table structure of questions  in the posts_questions table. I've checked the dataset  after downloading.  Did I miss anything? The only thing which I can think of is writing a query and use it in . Is it correct? If yes, then how, as we don't have questions and site relations in any of the tables.


How to reclass a raster with reclassify grid values in QGIS?

I'm new in QGIS and I'm trying to reclass a raster with reclassify grid values. I want to reclassify by table, however fixed table has only 3 rows and I need some more, but button to add is not activated.  Do you have any idea about how add more rows?


I have observed the following relation  $$\binom{n}{k}=\sum\limits_{i=0}^{k} \binom{n-i-1}{k-i}, \quad \frac{n}2\leq k \leq n-1$$  Numerical example with $n=5$ and $k=3$  $$\binom{\color{red}5}{\color{blueviolet}3}= \binom{\color{Magenta}4}{\color{blueviolet}3}+\binom{\color{blueviolet}3}{\color{Orange}2}+\binom{\color{Orange}2}{\color{YellowGreen}1}+\binom{\color{YellowGreen}1}{\color{Brown}0}$$  $$10\  \ \  = \  \ \ 4 \ \  \ +\ \  \ 3 \ \  \ +  \  \ \  2  \  \  \ \ + \ \ 1$$  Is this relation true? If yes, is there a name for it?  I´ve used identities like $\binom{n+1}{k+1} = \binom nk + \binom n{k+1}$ to show the relation above, but I failed. Does anyone have an idea how to manage it?  Thanks for taking time to read the question.


TLDR: Let responders request clarification rather than comment, 3: Profit.  Reading a short question just now, and my response is not an answer but a question asking for clarification.  Usually people ask for clarification in the comments, and the asker updates the question, leaving the comments either out of date, or removed etc etc.  So can I request a "Request clarification" feature where I can ask for a specific bit of information? This could be upvoted by others who also think this needs to be clarified, much as the equivalent comment would be.  Crucially, though, the asker could then respond to the clarification specifically, and anyone who had upvoted that request would be notified in their inbox.  Related: ,   A final thought is that a question could be put on hold until requests for clarification are answered, for questions that could be worthwhile but not without further information.


OpenLayers 3: Cross-Origin Request Blocked: The Same Origin Policy disallows

Using OpenLayers 3, I cannot get this message to go away:  Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://myserver:8085/geoserver/sf/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sf:view1&maxFeatures=1&outputFormat=JSON. This can be fixed by moving the resource to the same domain or enabling CORS.   This is the code:  // Ol3 only supports Projections "EPSG:4326" and "EPSG:3857". For every other projection you need proj4js         proj4.defs("EPSG:2236", "+proj=tmerc +lat_0=24.33333333333333 +lon_0=-81 +k=0.999941177 +x_0=200000.0001016002 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs");          // Leases Layer         var myLayer = new ol.layer.Vector({             source: new ol.source.GeoJSON({                 projection: 'EPSG:2236',                 url: 'http://myserver:8085/geoserver/sf/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sf:view1&maxFeatures=1&outputFormat=JSON',                 crossOrigin: null             })         });  // View         var view = new ol.View({             projection: 'EPSG:2236',             center: [0, 0],             zoom: 4         });          // Map         var map = new ol.Map({             target: 'map',             renderer: 'canvas',             layers: [myLayer],             view: view         });   I have tried setting the crossOrigin setting to:  crossOrigin: null crossOrigin: 'null' crossOrigin: 'anonymous'   I only see the zoom in/out control but the layer is not rendered.    I went with simon's option 3 below.  I enabled CORS in GeoServer by copying the necessary jetty-servlets jar files and enabling it in the \WEB-INF\web.xml:  <filter>     <filter-name>cross-origin</filter-name>     <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>     <init-param>         <param-name>allowedOrigins</param-name>         <param-value>*</param-value>     </init-param>     <init-param>         <param-name>allowedMethods</param-name>         <param-value>*</param-value>     </init-param>     <init-param>         <param-name>allowedHeaders</param-name>         <param-value>*</param-value>     </init-param> </filter> <filter-mapping>     <filter-name>cross-origin</filter-name>     <filter-pattern>/*</filter-pattern> </filter-mapping>   After I did that, I tested the page again and receive the same error:  Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://myserver:8085/geoserver/sf/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sf:view1&maxFeatures=1&outputFormat=JSON. This can be fixed by moving the resource to the same domain or enabling CORS.   Looks like I am still missing something.  Do I have to do anything from the OpenLayers Side?    I ended up getting rid of Jetty and uninstalling GeoServer completely.  The problem is when you install the geoserver windows installer, it installs a version of jetty that is 4 years old! (Jetty version 6.1.8)  Even though I had copied the jar files for CORS, it is only supported in Jetty 7+.    I found out that you can install a WAR file.  I decided to use Tomcat since that is what GeoServer is mostly tested on according to this note from the GeoServer website:  Note GeoServer has been mostly tested using Tomcat, and therefore these instructions may not work with other container applications.  These are the instructions for installing the WAR file:    This is a nice how-to video also:    After you complete the install, you then enable CORS:


Passing Filter Parameters to GeoServer WFS via URL?

I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request.  However, I would like to be able to get a subset of the results based on some of the property fields' contents.  So, while I can get all of the results using this url:    can I also limit the results to "Where field LIKE value" or "field = value"?  I've spent an hour trawling through the Geoserver/ECQL documentation and none of it clearly states "append the functions to your URL in this format". As a result, I'm not clear if it's possible to use url variables to perform these tasks, but some people seem to suggest that it is.  Can anyone help with a clear example of a working filter using GeoServer's WFS with URL parameters?


Run multiple commands automatically after opening command prompt

So I'm really new to this code thing. And i would like to know, how to automatically run commands when command prompt is open. So, what i usually do to run my application is that i open command prompt, the i go >cd desktop then >cd myapp, and then >node atv.js. But i have to do this everytime i need to run my application. Is there any simple way? or is there any way that in order to run those commands i just click on specific icon or folder. Thank you.


How to manage lost focus across a group of WinForms controls?

I'm trying to reliably detect when focus leaves a group of controls.  So if I tab or click between two controls in the group, that's considered not leaving, but as soon as I click on a control outside the group, it raises an event.  Here's how I'm currently doing it:  public class LeaveTracker {     private HashSet<Control> trackedControls = new HashSet<Control>();     public void Track(Control ctrl)     {         ctrl.Leave += Ctrl_Leave;         trackedControls.Add(ctrl);     }      private void Ctrl_Leave(object sender, EventArgs e)     {         foreach (var ctrl in trackedControls)             if (ctrl.ContainsFocus)                 return;         if (LeftControlGroup != null)             LeftControlGroup(this, EventArgs.Empty);     }     public event EventHandler LeftControlGroup; }   Sometimes it works perfectly, but occasionally it seems to stop raising events.  Is there a more reliable way to do this?


Launch a shell command with in a python script, wait for the termination and return to the script

I've a python script that has to launch a shell command for every file in a dir:  import os  files = os.listdir(".") for f in files:     os.execlp("myscript", "myscript", f)   This works fine for the first file, but after the "myscript" command has ended, the execution stops and does not come back to the python script.  How can I do? Do I have to fork() before calling os.execlp()?


Latex ((Missing number, treated as zero. ))

\begin{eqnarray*}   % \nonumber % Remove numbering (before each equation)     (a, b) &=& \{ x \in X | a < x < b \} \\     (a, b] &=& \{ x \in X | a < x \leq b \} \\     [a, b) &=& \{ x \in X | a \leq x < b\} \\     [a, b] &=& \{ x \in X | a \leq x \leq b \}.   \end{eqnarray*}   What's error?   Missing number, treated as zero. <to be read again>                     a l.281     [a, b]                  &=& \{ x \in X \mid a \leq x \leq b \}.


Any problems with installation of Ubuntu on Lenovo Legion Y530 (2019)

I bought a new Lenovo Legion Y530 a few months ago, and I'd like to install Ubuntu on it. I've read about many issues (e.g., WiFi is not properly working, HDMI issues, etc..). Is it worth it to install it ? Will I still face such issues ?  Thanks in advance.


Does battery life decreases when plugged in or overcharged?

My laptop is always plugged in when it is switched off and  i many times forget to remove the charger.


Hamburger menu icons - should they be on the left or right?

Hamburger menus (the three small horizontal bars: the new menu icon). Should they be on the right or left?  I'm only thinking of mobile and tablet applications.    The pattern I see the most is on the left side: Youtube app, Evernote app, and many more. However, I've seen the argument of the right being more user-friendly because when you're grabbing the phone with your right hand, it's easier to reach the menu.    What do you guys think? Should I go with the flow and implement the menu on the left side?


Is there a way to export (as a high-resolution image or vector file) the node setup of a given material? As I'm setting up some tutoring material I would prefer to avoid screenshots for material with approx. 15 nodes or more.


My question is this: everyone is always seen entering the Stargate from the side the kawoosh comes out. What if you entered the Stargate from the side opposite this? Would you be disintegrated, would you exit the Stargate on the other side, or would you exit the Stargate from the “normal” side-the side the kawoosh comes out?  My question is not the same as “What happens to objects that enter a Stargate from the destination side?”-I am asking about entering from the back side of the outgoing wormhole, not entering the incoming wormhole.


How to tell an ideal of integer polynomial ring is principal?

I understand that uni-variate polynomial rings with coefficients in a field only have principal ideals. For example, $\mathbb{C}[x]$. But how can I tell if an ideal of integer polynomial ring is principal, please? For example, a textbook claims that "the kernel of the map $\mathbb{Z[x]} \rightarrow \mathbb{Z[i]}$ sending $x \mapsto i$ is the principal ideal of $\mathbb{Z}[x]$ generated by $f=x^2+1$" without any justification. How to show this is true, please?


How to test whether report has been called with "draft" option

How can I test within a document, whether or not the initial  \documentclass[a4paper,11pt,twoside,fleqn,draft]{report}   includes the "draft" option? My naive attempt  \newif\ifmydraft \mydraftfalse \DeclareOption{draft}{\mydrafttrue}   does not work, and breaks a later \usepackage command.


Problem with the "sudo apt-get update" command

I'm a beginner when it comes to the Linux environment. I recently tried to install some extensions in Linux. I've entered some commands like:  sudo apt-get install gnome-tweak-tool   and then when I tried to update with:   sudo apt-get update   I received this message:  E: Type 'ME' is not known on line 2 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-precise.list   Each time when I want to update I receive this error. Does anyone have any ideas as to how I may correct this problem?


Is there a way to upgrade my lubuntu version to 20.04 and wipe the hard drive at the same time without using a dvd or usb?

I want to upgrade from Lubuntu 19.04 to 20.04 and I am curious if there is some way of doing this from the terminal while erasing all my old files at the same time. I think there's a term for upgrading an OS while wiping the hard drive but I can't remember it, so I haven't been able to find anything searching for pre-existing answers. I am not sure if this matters, but I originally downloaded Lubuntu 19.04 from lubuntu.net, not lubuntu.me. It's running on a chromebook with the original OS mostly removed. I have it set up so if anything goes wrong I can just reinstall chrome OS before overwriting it again. I don't have a cd/dvd drive, and I only have one usb stick, so I'd rather not go through the hassle of installing from usb.


Deep Learning Book - deriving sigmoid units for Bernoulli output

In the paragraph before equation 6.20, the book says:  "...If we begin with the assumption that the unnormalized log probabilities are linear in $y$ and $z$, we can exponentiate to obtain the unnormalized probabilities..."  With this assumption, we proceed to equation 6.20, and onwards to derive the sigmoid output unit.  My question is, why is assumption reasonable? The book seem to provide no justification.


I recently read the concept of semi-simplicity of a (not necessarily commutative) ring.  A ring $R$ is said to be semi-simple if $R$ as a left module over itself is a semi-simple module (This in turn means that each submodule (i.e, left ideal) of $R$ is a direct summand for $R$.)  I am grappling with the following question:     If $R$ is semi-simple, then so is the matrix ring $M_n(R)$.   It is a theorem that each left module of a semi-simple ring is a semi-simple module. Thus $M_n(R)$ is a semi-simple module of $R$. But this doesn't help me.  I need to show that each left ideal of $M_n(R)$ is a direct summand for $M_n(R)$. Is there a characterization  of the left ideals of $M_n(R)$ in terms of the left ideals of $R$?  Lastly, does the converse also hold?     If $M_n(R)$ is a semi-simple ring, then is $R$ necessarily a semi-simple ring?   Thanks.


c# use base type generic parameter type name in derived class

If I have a generic base class   class Base<T> { }   and I derive from it  class Derived : Base<SomeReallyLongConcreteTypeName>  {     // Can I use the type name T here rather than SomeReallyLongConcreteTypeName }    is it possible to use the base type generic type parameter name in the body of the derived class? In C++ I can add  using X = T;   into the base type and use X in the derived class but I don't think type aliases can do this in C# so is there another way?


For $n=1,2,3,\dots,$ and $|x| < 1$ I need to prove that $\frac{x}{1+nx^2}$ converges uniformly to zero function. How ?. For $|x| > 1$ it is easy.


Consecutive numbers with prime factorizations with at least one exponent greater than or equal to 1000

Let a positive integer n be called a super exponential number if its prime factorization contains at least one prime to a power of 1000 or larger. Prove or disprove the following statement: There exist two consecutive super exponential numbers.


I am new in field theory and i began studying it recently.  I have a question about a finite field extension  The basis of the extension $\mathbb{Q}$$(\sqrt{1+\sqrt{3}})$/$\mathbb{Q}$ is the set $\{1,\sqrt{1+\sqrt{3}},\sqrt{1+\sqrt{3}}^2,\sqrt{1+\sqrt{3}}^3\}$ becase of the monic polynomial $(x^2-1)^2-3=0$ ?  Or am i missing something?  Thank you in advance.


Does a deteriorated battery affect macbook performance when plugged in?

My early 2015 macbook pro battery has had the "service battery" warning for over a year now. I hit the 900 cycle mark before last summer, and now I'm at about 1000. The battery lasts for < 1 hour, but I rarely use it without plugging it in to the power nowadays. I'm going to get the battery changed sometime in the next couple of months -- it's difficult for me to be without my mac for an extended period of time at the moment. With that said, I've noticed that my macbook performance isn't as great as before. It seems slower and hotter even though I'm using it while plugged in to the power outlet. Does a deteriorated battery affect performance of the mac when it is plugged in to a power supply?


Help with Conic: Hyperbola's chord of contact

please help with this proof.  "Show that the tangents at the endpoints of a focal chord of the hyperbola $ \frac{x^2}{a^2} - \frac{y^2}{b^2} = 1 $ meet on the corresponding directrix."  This is a homework question with two part where the first part is to prove the converse of the above statement (namely prove that the chord of contact from a point on directrix is a focal chord)  For the first part I was able to utilize the following equation for chord of contact from a point $P(x_0, y_0)$  \begin{align} \frac{x_0 x}{a^2} - \frac{y_0 y}{b^2} = 1 \end{align}  Then substitute $x_0$ for $\pm \frac{a}{e} $ (x coordinate of directrix) and then show that $S(\pm ae, 0) $ (coordinate of focuses) satisfy the equation.  But it seem I could not use the same method to show the second part.  Please help. Thanks.


jquery is not working on ajax loaded content

$(document).ready(function(){     $(".click").on('click', function(){         var target = $(this).parent().children(".expand");         $(target).slideToggle();     }); });   HTML content loaded by AJAX:
...div with expand ....

...div with expand ....
   Can any one correct my code? Thanks in advance!


How can  data to  be converted?  TopoJSON files are often smaller than GeoJSON and the conversion allows you to incrementally simplify a dataset, if you wish.


Is removing an account and all its contents a way to safely delete the contents of a computer?

I have an old Ubuntu 14.04 computer and I want to give it away. I create a new administrator account and using this new account I deleted my old account and the entire content of this account. Is this a safe way to delete all the content of the computer ou Should I do an extra procedure?


Global setting of spacing between items in itemize environment for beamer

I'd like to modify the spacing between items in the itemize environment.   post shows how to modify a specific itemize environment (\addtolength{\itemsep}{0.5\baselineskip}).  However, I'd like to do it globally for the entire document.   post suggests the enumitem package.  However, I get an error in beamer when i use this package (just declaring it).  Any suggestions?  I'm currently using the addtolength method on all my itemize environments.  I'd like a global solution.  Thanks.


Have I written a blogpost or a blog post?  I've seen both forms used but am not sure which is the "correct" one, if there's any.


New Super Mario Bros. Wii (also known as NSMB and NSMB Wii) is a very complex game and I cannot find any of the cannons. Do I need to take a secret exit for them, or do I buy them with starcoins?


Is there anywhere to get help wording a question?

Suppose I have a question in my mind that I think is answerable but because I don't already know the answer, I'm not sure how to express in a way that makes it clear and definitively answerable. I suspect that someone more knowledgable than me would understand what I'm trying to get at though and could help me word the question properly.  Is there a good place to find this sort of help?


Show that $\int\left\lvert f_n\right\rvert\,d\lambda\to\int\left\lvert f\right\rvert\,d\lambda\implies\int\left\lvert f_n-f\right\rvert\,d\lambda\to0$

Let $\,f, f_n $ be Lebesgue integrable functions mapping reals to extended reals such that, almost everywhere, $\,f_n \to f $.   Show that $$\int\left\lvert\,f_n\right\rvert\,d\lambda\to\int\left\lvert \,f\right\rvert\,d\lambda\implies\int\left\lvert\,f_n - f\right\rvert\,d\lambda\to0$$   I have shown the converse by breaking absolute values down into the sum of positive and negative parts. I did not use the almost everywhere convergence condition, so I am expecting that to be important here. It makes me think of the DCT, but I cannot figure out how to use that since there is no (to me) obvious bound.


$I = [0,1]$ with euclidean topology. $f : I \rightarrow I^2 = I \times I$. If f is surjective then f is not injective

I have this problem which seems trivial, but I do not know how to get to the answer. I have the set $[0,1]$ with the Euclidean topology, and an arbitrary continuous function  $f : I \rightarrow I^2 = I \times I$. I need to prove that if it is surjective then it cannot be injective.   I tried to think to the problem in this way: if $f$ is surjective and also injective, than we would have a homeomorphism between $I$ and $I \times I$.  I wanted to say that one is compact and the other is not to reach a contradiction. However in my opinion they are both compact because product of compacts is compact as well, so I do not see why it would be a problem to have the injective property. Any tips?


Are infinities of uncountable sets same?

I know, in Mathematics all infinities are not same for example, cardinality of natural numbers and cardinality of real numbers are two different infinities. But I want to know, can two uncountable sets have two different infinities in terms of their size ?


(16.04) How to "detach" programs from terminal?

I'm not sure what how or why this happens but sometimes when I open programs through terminal the terminal continues to attach itself to the program. I can understand this for things like "sudo nautilus" but for regular programs this is extremely annoying.   I cannot detach terminal from program because if I ctrl+c then it closes the program and if I quit the terminal then the program closes as well.  Few questions:   Why does this happen? How do I manually activate/deactivate this function? How do I detach the terminal from the program?   If I am asking too much then I understand. In that case I don't even know how to google the answer so if you can point me to any resources that talks about this or give me the name of the function that is happening that that would be great.   Thanks.


Why does the classical path give the dominant contribution in the path integral?

Why is it that the classical path gives the dominant contribution in the quantum mechanical path integral? How do we understand this?


Why PDF-via-PS has heavier font than direct PDF?

I compile the same tex using two commands:  latexmk --pvc --pdfps ./main.tex   and  latexmk --pvc --pdf ./main.tex   Then view both pdf files using evince, at the same scale (170%). The result using --pdfps (on the left) has heavier font that the result using --pdf (on the right):    Do you know why?  Update: Here comes a minimal example:  $ cat main.tex \documentclass{article}   \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb}   \title{Compare}  \begin{document} \maketitle $$ a_\textit{ivanov} \wedge b_\mathit{sidorov} \rightarrow \text{petrov}^{2^{x}} $$  \end{document}   Running pdffonts gives:  $ pdffonts ./pdf.pdf name                                 type              encoding         emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- JADGUW+CMR17                         Type 1            Builtin          yes yes no       4  0 GFYLUX+CMR12                         Type 1            Builtin          yes yes no       5  0 IEHANU+CMMI10                        Type 1            Builtin          yes yes no       6  0 WLJBIP+CMTI7                         Type 1            Builtin          yes yes no       7  0 GHNOGE+CMSY10                        Type 1            Builtin          yes yes no       8  0 UWWUVN+CMR10                         Type 1            Builtin          yes yes no       9  0 RKDUWA+CMR7                          Type 1            Builtin          yes yes no      10  0 EUVFVQ+CMMI5                         Type 1            Builtin          yes yes no      11  0  $ pdffonts ./ps.pdf name                                 type              encoding         emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- RRWQTJ+CMMI5                         Type 1C           WinAnsi          yes yes no      22  0 EBFDMR+CMR7                          Type 1C           WinAnsi          yes yes no      20  0 AFJYHC+CMR10                         Type 1C           WinAnsi          yes yes no      18  0 ILWBCN+CMSY10                        Type 1C           Custom           yes yes no      16  0 OFQOVE+CMTI7                         Type 1C           WinAnsi          yes yes no      14  0 IEOASN+CMMI10                        Type 1C           WinAnsi          yes yes no      12  0 LWIAFV+CMR12                         Type 1C           WinAnsi          yes yes no      10  0 ZGILVG+CMR17                         Type 1C           WinAnsi          yes yes no       8  0   The --pdfps version uses Type 1C fonts, which may be the reason...


Would humans die of old age on an interstellar/intergalactic voyage?

It is often claimed that if we ever sent humans to colonize other stars, we would have to send them on generational ships. However, if the ship traveled at $99.9\cdots 9c$, wouldn't the passangers' time slow down, and make the travel time just, say, 1 year from their point of view?


Why not project the shield from Death Star 2 itself?

Death Star 2 is protected by a shield generated on the sanctuary moon of Endor.    This opens up a tactical risk of the shield generator being attacked on the ground.      If the shield was generated by the Death Star itself, that risk would be mitigated. Is there any practical or technical explanation (any level of canonicity, and fine if it's Star Wars tech mumbo jumbo) for why it has to be generated from the moon?


Find $E[|\frac{X}{Y}|]$ for $X,Y iid \sim Exp(\lambda)$

Find $E\left[|\dfrac{X}{Y}|\right]$, $E\left[\dfrac{|X|}{Y}\right]$ and $E\left[\dfrac{X}{|Y|}\right]$ for $X,Y iid \sim Exp(\lambda)$ Does this differ from solving $E\left[\dfrac{X}{Y}\right]$? I would solve $E\left[\dfrac{X}{Y}\right]$? by finding the density of Z and then finding the expectation of the random variable Z with this distribution.   Distribution of $Z = Y/X$.  If $X,Y$ are independent exponentials with rates $\lambda,\mu$, then $Y = ZX$ and one way to do it is \begin{align*} f_Z(z) &=\int_0^\infty  f_X(x)f_Y(zx)\left|\frac{dy}{dz}\right|dx\\ &= \int_0^\infty \lambda  e^{-\lambda x}\cdot \mu e^{-\mu zx}|x|\,dx\\ &= \int_0^\infty  \lambda\mu e^{-(\lambda +\mu z)x}|x|\,dx\\ &=  \frac{\lambda\mu}{(\lambda+\mu z)^2}. \end{align*}


Does Ubuntu have a command prompt like Windows and if so where do I find it to display the directory tree


Why is my java swap function not working?

I'm trying to make a swap function in java but why is this not working?  void swap(int a, int b) {    int temp = a;    a = b;    b = temp; }


"Insufficient storage" when trying to install new app

Every time I go to install a new app, I get the message "Insufficient storage", and an unable to install anything!  I am using Samsung GT19060 my internal memory is 8GB. I have not downloaded anything but anytime I try to download something it will tell me low memory space.


Is there a designated symbol for the negative sign in, say, -16?

I've been using -16 in my LaTeX code to write negative numbers.  But the problem with that, is in many displays and LaTeX rendering kits, it displays the - sign as extremely long and separated from all the other mathematical symbols (e.g. the 16).  Since I knew that LaTeX is an extremely thorough, powerful and complex language, I thought there definitely must be a way to pass this slightly annoying problem.  I don't really want my users looking at a mile-long negative sign.  Is there a way?  Example:


(I'll explain what I know first and then I'll ask the questions). Given a finite dimensional vector space $V$, it is often remarked that there is no "natural" isomorphism from $V$ to $V^*$ (I guess this means a basis independent isomorphism?). I understand that one typically constructs an isomorphism $V \to V^*$ by fixing a basis for $V$, call this $B = \{v_1, v_2, \ldots, v_n\}$, and then mapping $v_i \mapsto \delta_i$ where $\delta_i$ is the linear functional given by $\delta_i(v_i) = \delta_{ij}$. Here are my questions:  (1) Why is there no natural isomorphism $V \to V^*$?  (2) If $V$ is a finite dimensional inner product space, we can map each $v \mapsto \langle v, \cdot \rangle$. Is this not "natural"? (I know we can consider sesquilinear forms, but let's keep the discussion to this inner product for simplicity).


D70 FEE error with aperture ring set and locked

All my lenses which used to work fine on the D70 now give the fEE error. All are locked at the minimum aperture. I have tried cleaning the camera and lens rings, a hard reset, and pushing the DOF button multiple times. All lenses connect OK on D5100, and newer lenses for the D5100 connect OK on the older D70. Any ideas?


Can I Install Ubuntu with those hardwares

Just bought a new computer, don't know if I could install Ubuntu on it.  I heard that ASrock motherboard has no official driver support for linux.  Here is the build list.  PCPartPicker part list:    CPU: AMD - Threadripper 1950X 3.4 GHz 16-Core Processor  ($584.00 @ Amazon)  CPU Cooler: Noctua - NH-U14S TR4-SP3 82.52 CFM CPU Cooler  ($79.90 @ Amazon)  Motherboard: ASRock - X399 Taichi ATX TR4 Motherboard  ($279.89 @ OutletPC)  Memory: Corsair - Vengeance LPX 64 GB (4 x 16 GB) DDR4-3200 Memory  ($399.99 @ Newegg)  Storage: Western Digital - SN750 1 TB M.2-2280 Solid State Drive  ($229.99 @ Amazon)  Storage: Seagate - Barracuda 2 TB 3.5" 7200RPM Internal Hard Drive  ($58.44 @ OutletPC)  Video Card: Gigabyte - GeForce RTX 2080 Ti 11 GB AORUS Video Card (2-Way SLI)  ($1229.99 @ Newegg)  Video Card: Gigabyte - GeForce RTX 2080 Ti 11 GB AORUS Video Card (2-Way SLI)  ($1229.99 @ Newegg)  Case: Corsair - 780T ATX Full Tower Case  ($179.99 @ Amazon)  Power Supply: Corsair - 1600 W 80+ Titanium Certified Fully-Modular ATX Power Supply  ($339.99 @ Amazon)  Mouse: Logitech - G502 HERO Wired Optical Mouse  ($64.84 @ Amazon)


Migrate  from  to the top-level of close reasons?

I understand that close reasons are supposed to be as  to the OP, whilst simultaneously not overburdening the person suggesting the close with too much navigation through multiple close reason pages.  So at present to suggest moving to another site I click:      Close > Off-topic > Belongs on another site > pick site > Sharepoint!   BUT (!) frequently the list does not contain the site most suited to migrate to (how many questions get migrated to meta nowadays out of interest?). Is it really too much to ask that people asking/answering questions on this site click a button marked other at the bottom of the site list to be taken to a full list of sites? If this is too much, can the migrate option be moved to the top level of close reasons so that this extra step does not obfuscate the close issue? So the process would become:       Close >  Belongs on another site > Pick site > Other site > The right site   I personally find  it incredibly frustrating that sites such as Cross Validated are not on the list, despite having ~23k questions whilst both Database Administrators which has been running for 6 months longer than Cross Validated, has only ~ 15k questions and Sharepoint (?!) also has around 26k questions (but has also been active for 6 months longer). I believe the off-topic list could be more flexible and that would give the best directions to OPs about where their question belongs.  I think that as there is a certain barrier to entry to get anything out of the site (the ability to ask a well-formed question or the knowledge to answer it) that this increased flexibility would in no way make the site worse. I do admit I come from the data domain side of things (so Cross Validated would be very useful to have) and users from other disciplines may vehemently disagree with me, but I hope I have made a clear case for offering increased flexibility in the site migration options.


Missing Internet Connection Icon on my toolbar

I have no internet icons or buttons in the toolbar at the top of my screen.  I cannot figure out which Internet connections I am using because I don't have that icon/button and I cannot find it anywhere else.  Where are they hidden and how do I put them there?


I am trying to reproduce this:    So far I have:  \documentclass{memoir} \usepackage{tikz} \usepackage{chemfig} \usetikzlibrary{decorations.pathmorphing} \begin{document}  \chemfig{*5(5-1-2(-((-[:90,1,,,decorate,decoration=snake])-[:-90,1,,,decorate,decoration=snake]))-3-4*6(-6-7-8-9-5-)-)}  \end{document}   But the wavy line really doesn't look very good. Can someone think of a better way of doing that? Also, looking at the number 5 there is something strange going on there. What's wrong with that?


Related:   I've just come accross a question which I believe is ideal for code review. However it's already got an accepted answer.  I can't flag that it should go on code review, and I'm not sure flagging is the best approach.  Should I ignore or flag the question?  In general (assuming no accepted answers) how should I mark questions as suitable for CR?  The question in question is   EDIT 1  To me this is the definition of a proper code review question.   Its a beginner who is asking about best practice. It contains functional code.  There are several comments already which are off topic for SO about the use of instanceof and proper OO practices.   Code review could give better answers because more of the other information that is being freely offered is on topic there.  Infact the most upvoted answer pretty much is talking about practices. Not the accepted answer.


How is the passage of time handled in Pokemon?

I stopped following the Pokemon anime a while ago, but I know the series has had Ash go through many regions, including retreading at least one of them.  When Ash was about to get his eight badge, Misty mentioned that they'd been on the road for a year at that point.  I saw some recent episodes, and Ash looks nearly identical to when he first started as a trainer.  Normally I'd attribute that to cartoon sitcom logic, where the characters never age; but in a series with continuity and references to earlier seasons, this makes no sense.  What's the official word on a timeline for the Pokemon anime?


how to trim leading zeros from alphanumeric text in mysql function

What mysql functions are there (if any) to trim leading zeros from an alphanumeric text field?    Field with value "00345ABC" would need to return "345ABC".


How to remove Postgres from my installation?

I have ubuntu 9.10(karmic), and when I attempted to install a new program, the postgres was installed as a dependency of that program, no problem at all if the installation occurs with success, but there was an error, and the Postgres was not installed and the application is not working. I had tryed to update the Postgres and nothing, only the message "there was an error and your postgres can not be installed"  Now I want to remove completely the Postgres from my machine, how can I do that, I do not want to kill the process every boot. I just want to remove Postgres.  What is the command line?  Thanks people.


Count number of subsets of 3 elements either disjoint or whose intersection is a singleton

Suppose we have a set of $n$ elements. We want to know the maximum number of subsets of $3$ elements we can find of this set such that no two subsets have an intersection with $2$ or more elements.  The question arises from trying to count the number of subgroups isomorphic to $\mathbb{Z}_2\times\mathbb{Z}_2$ in a group with $n$ elements of order $2$ such that the product of any two such elements has also order $2$.


I'm asking about the , also known as the Wald interval.  Recall that $$\lim_{n \to \infty}{P_p \left( -z_{1-\frac{\alpha}{2}}\frac{\sigma}{\sqrt{n}}+\bar{X_n} \leq p \leq z_{1-\frac{\alpha}{2}}\frac{\sigma}{\sqrt{n}}+\bar{X_n} \right)} = 1-\alpha, $$ with $\sigma = \sqrt{p(1-p)}$.  Starting from the expression above, and the fact that for $\hat{p}=\dfrac{\sum X_i}{n},\ \hat{\sigma}=\sqrt{\hat{p}(1-\hat{p})}$  is consistent for $\sigma$ ($X_i \sim \rm Bin(1,p) )$, what argument can I use to show that  $$\left[-z_{1-\frac{\alpha}{2}}\frac{\hat{\sigma}}{\sqrt{n}}+\bar{X_n} ,\  z_{1-\frac{\alpha}{2}}\frac{\hat{\sigma}}{\sqrt{n}}+\bar{X_n}\right]$$ is a confidence interval?


Prove $e^{x+y}=e^{x}e^{y}$ by using Exponential Series

In order to show $e^{x+y}=e^{x}e^{y}$ by using Exponential Series, I got the following:   $$e^{x}e^{y}=\Big(\sum_{n=0}^{\infty}{x^n \over n!}\Big)\cdot \Big(\sum_{n=0}^{\infty}{y^n \over n!}\Big)=\sum_{n=0}^{\infty}\sum_{k=0}^n{x^ky^n \over {k!n!}}$$  But, where should I go next to get $e^{x+y}=\sum_{n=0}^{\infty}{(x+y)^n \over n!}$.  Thanks in advance.


Inequality based on triangle: $\frac{3}{2}\le\frac{a}{b+c}+\frac{b}{c+a}+\frac{c}{a+b}<2$

If $a,b,c$ are sides of a triangle, prove that ${3\over2 }\le {{a\over b+c}} + {{b\over c+a}}+{{c\over a+b}} \lt 2$ .


I'm playing Minecraft on Xbox 360 and I can't find the . I have tried every trick I can think of, including the xray glitch, and recreating the world in Creative mode to dig out the entire stronghold and the surrounding areas. I have found nothing and I am totally lost on where it could be.  The seed is 1833758535681455132


Three-Way ANOVA interpretation with significance in all combinations of factors!

I did the Three-Way ANOVA test and A, B, C, AB, B*C, A*C, A*B*C are all significant. Now,   What can I tell based on this results? Is it valid to say for example A*B is significant? Or the fact that A*B*C is significant, makes it wrong to say A*B is significant?  Should/Can I do Two-way ANOVA even though I have 3 factors?


would this be considered a 'methodology' or a 'method'?

Say I developed something called "Methodology for Establishing Remaining Life of Components". Basically, at work, we have components (or equipment). I wanted to develop a way to identify how much longer the components / equipment can last before they ware out and cannot be used.  It takes into account "the degree of damage currently in the component, the rate of future damage accumulation based on realistic operating scenarios, and the degree of damage required to cause failure." Taking these three into account, the remaining life of a component can be assessed. This is what I call "Methodology for Establishing Remaining Life of Components".   My question is, would this be considered a 'methodology for establishing remaining life of components' or just a 'method for establishing remaining life of components'? Or do you need more information to figure out if it is a method or methodology?   I cannot provide all the information for business purposes, but if additional  information is required to figure out if it is a method or methodology, I will provide it.


I am new to Linux. I am getting warning message every time saying my boot partition is having low memory. Following are the contents of my /boot.   ls /boot/ abi-4.10.0-28-generic         initrd.img-4.13.0-37-generic abi-4.10.0-40-generic         lost+found abi-4.10.0-42-generic         memtest86+.bin abi-4.13.0-26-generic         memtest86+.elf abi-4.13.0-32-generic         memtest86+_multiboot.bin abi-4.13.0-36-generic         retpoline-4.13.0-36-generic abi-4.13.0-37-generic         retpoline-4.13.0-37-generic config-4.10.0-28-generic      System.map-4.10.0-28-generic config-4.10.0-40-generic      System.map-4.10.0-40-generic config-4.10.0-42-generic      System.map-4.10.0-42-generic config-4.13.0-26-generic      System.map-4.13.0-26-generic config-4.13.0-32-generic      System.map-4.13.0-32-generic config-4.13.0-36-generic      System.map-4.13.0-36-generic config-4.13.0-37-generic      System.map-4.13.0-37-generic efi                           vmlinuz-4.10.0-28-generic grub                          vmlinuz-4.10.0-40-generic initrd.img-4.10.0-28-generic  vmlinuz-4.10.0-42-generic initrd.img-4.10.0-40-generic  vmlinuz-4.13.0-26-generic initrd.img-4.10.0-42-generic  vmlinuz-4.13.0-32-generic initrd.img-4.13.0-26-generic  vmlinuz-4.13.0-36-generic initrd.img-4.13.0-32-generic  vmlinuz-4.13.0-37-generic initrd.img-4.13.0-36-generic   Please advise how can I clean my /boot partition as I have no idea what these files do.  OS: Ubuntu 16.04


Is it possible to buy an airline ticket that has me returning to my country after a year being abroad? I can't seem to book a flight that far in advance online.


How to enable user shell theme extension in latest Ubuntu 17.10?

In the latest version of Ubuntu, which is Ubuntu 17.10 with default desktop environment of GNOME, Ubuntu has disabled user theme extension in gnome tweak tool. Because of that I can't change the theme of GNOME. How do I enable / install the user theme extension?


Argument about what is infinity mathematically

My brother argues that "infinity is a quantity,an infinite number". I argued back saying infinity is a concept, a quality rather than an actual quantity. My brother was saying that $\frac{5}{\infty} \to 0$, but I argued that infinity on its own cannot be placed in a math expression in this manner, rather it is usually a part of an operator like a limit because $x \to \infty$ means $x$ increases and increases continuously forever not to an "infinite quantity. Who is right?  Can infinity, under any circumstance, be considered a quantity, or is infinity just a property, a concept?  Edit: The possible duplicate does not answer the question as to whether infinity can be called a quantity, mathematically.


How do I recreate this color overlay layer effect in Photoshop?

I would like to use the overlay effect used on the screenshot(s) below.    I've tried experimenting with several Blending modes but keep missing the mark. I'm sure this has a very easy answer but I'm having trouble recreating the effect on my own.  Here are a few more images for further context:        Thanks in advance for your help.


I want to know the geometrical significance of Hessian Matrix. Please could anyone have any idea about it?


All philosophers are nerds. So, no squares are circles

Can the above argument be valid?  If it can, I want to know why, as far as I see, even though the conclusion (no squares are circles.) is true, it doesn't seem to be following the premises (not a fallacy?)


backgroundColor does not animate, but width does in jQuery

I want the color of my div.navBtn elements to change through an animation effect. It isn't working out and I don't know why.  $(document).ready(function() {   $("button").click(function()   {     $("div.navBtn").animate(     {       width:'+=10px',       backgroundColor: "#aa0000"     });   }); });   backgroundColor is what does the actual color changing but it does not work. Width +=10 works perfectly, backgroundColor does absolutely nothing. Is the syntax wrong or something??? I copied "backgroundColor: "#aa0000"" from another help posting here. Does anyone know what the problem is?


How do I project a Azimuthal Equidistant global map into a circle in QGIS?

I'm fairly new to QGIS/GIS stuff in general, so I apologize if this is too simple of a question, and I'm just bad at finding my answer.  I have a shapefile of all the countries in the globe . I'm needing to create two hemisphere maps (similar to ) in a azimuthal equidistant projection:  However, I need the western hemisphere to have most of Europe and the US and the Eastern projection to include Asia and Australia. Basically, the center of the map would be the middle of the Atlantic.  I narrowed down the problem to it's my proj language in the CRS, but I'm not sure how to pair the project to a circle.  Any insights for a newb?


How to set environment variable for SUMO_HOME (sumo-0.32.0) in Ubuntu 16.04 LTS

After installing sumo-0.32.0 on Ubuntu 16.04 LTS, I noticed that SUMO folder doesn't contain a bin directory!  The SUMO folder I checked is in the path: /usr/share/sumo Is this the right sumo home directory, and how to set its environment variable step by step?  I installed sumo as indicated by its web page using the following three commands:   sudo add-apt-repository ppa:sumo/stable  sudo apt-get update  sudo apt-get install sumo sumo-tools sumo-doc


What's the next item in the list after a pitchfork?

I don't have this one. What is it suppose to be and where can I find it?


okay so I am a beginner at java and I am implementing a class which stores an array and sorts it using bubble sort.  import java.io.*; public class Array {     private int array[];     private int n;     private BufferedReader br;     public Array() throws IOException     {         System.out.print("Enter the size of the array : ");         br=(new BufferedReader(new InputStreamReader(System.in)));         n = Integer.parseInt(br.readLine());         System.out.println("Enter "+ n +" integers");         for(int i=0;i<n;i++)         {              array[i]=Integer.parseInt(br.readLine());         }      }     public void showArray()     {         int i;         for (i=0; i<n;i++)         {             System.out.print(array[i]+"  ");         }     }     public void bubbleSort()     {         int max,last,i,j;         last = n;         for(i = 0; i<n ; i++)         {             max=0;             for(j=0; j<last; j++)             {                 max = (array[max]>array[j]) ? max : j ;              }             j = array[last];             array[last] = array[max];             array[max] = j;             last--;         }     }     public static void main(String [] args) throws IOException     {             Array a1 = new Array();             System.out.println("Unsorted Array : ");             a1.showArray();             System.out.println("Sorted Array : ");             a1.bubbleSort();             a1.showArray();     } }   so when I run it it gives the error :  shubham@shubham-Inspiron-3542:~$ java Array Enter the size of the array : 4 Enter 4 integers 11 9 7 16 4 Exception in thread "main" java.lang.NumberFormatException: For input string: "11 9 7 16 4"     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)     at java.lang.Integer.parseInt(Integer.java:580)     at java.lang.Integer.parseInt(Integer.java:615)     at Array.<init>(Array.java:16)     at Array.main(Array.java:48)   I am totally not getting what's the issue. What I can guess is there is some issue while parsing the input stream. edit: when I press Enter after an input I get this :  shubham@shubham-Inspiron-3542:~$ java Array Enter the size of the array : 5 Enter 5 integers 22 Exception in thread "main" java.lang.NullPointerException     at Array.<init>(Array.java:16)     at Array.main(Array.java:48)   edit 2: Splitting the input stream gets rid of NumberFormatException error but NullPointerException error is still there


After reading , xargs waits for receiving the stdin input before processing any of the input, such as splitting it into arguments.   How does xargs know when a stdin input ends, so that it can start processing it?  Is -E used for specifying the end of a stdin input?   Without it, how does xargs knows when it ends? Is there some timeout?


how to see original and --bind mountpoints

Lest say I mount a usb drive to /mnt and next I run this...  mount --bind /mnt /tmp/test.d   It's a successful bind, but now when I run lsblk only the bind point shows.  How can I get all bound and original mount points listed?  When I use findmnt, it shows both, but it doesn't tell me which one is the original mount point. How can I learn this?


Is visiting Singapore for attending a conference Business or Tourism?

I am flying to Singapore at the end of this month for attending a conference and am in the process of applying for the visa.    Do conferences fall under Business or Tourism?  What should I enter as the purpose of visit (I have currently entered "Conference ()")   I ask this because Business and Tourist Visas have difference document requirements.      Documents Required       For Business Visit (attending business negotiation/discussion)         Completed Form 14A (original) .     One recent passport-sized   colour photograph (to be pasted on the top right-hand corner of (Form   14A) which meets the following requirements:           Image must be taken within the last 3 months .   Photograph should be in colour, must be taken against a white                   background with a matt or semi-matt finish .   Image must show the full face and without headgear (headgear worn in                   accordance with religious or racial customs is acceptable but must not hide                    the facial features) .      Photocopy of the applicant's passport biodata page. Please ensure   that the passport is valid for at least 6 months from the date of   entry .    Completed Form V39A (Letter of Introduction for Visa   Application)¹ . 5) Computer printout of the Singapore registered   business entity’s detailed business profile (showing the names of all   the directors / shareholders) from the Instant Information Service,   Accounting and Corporate Regulatory Authority (ACRA) and printed   within the last 3 months.         ¹ Letter of Introduction (LOI) may be issued by a local contact in   Singapore. For visa applicants attending business negotiation /   discussion in Singapore, the local contact must be a Singapore   registered business entity . The person acting on behalf of the   business entity must be a Singapore Citizen / Singapore Permanent   Resident who is at least 21 years old . If you are not able to furnish   a LOI from a local contact, you may approach your Embassy to issue a   LOI to support your visa application.       For Social Visit (visiting families, friends, relatives and for tourism)         Completed Form 14A (original) .     One recent passport-sized   colour photograph (to be pasted on the top right-hand corner of (Form   14A) which meets the following requirements:         Image must be taken within the last 3 months .   Photograph should be in colour, must be taken against a white                   background with a matt or semi-matt finish.   Image must show the full face and without headgear (headgear worn in                   accordance with religious or racial customs is acceptable but must not hide                    the facial features).       Photocopy of the applicant's passport biodata page. Please ensure that the passport is   valid for at least 6 months from the date of entry.     Completed   Form V39A (Letter of Introduction for Visa Application)².     Local   contact's Singapore Identity Card (original and photocopy).         ² Letter of Introduction (LOI) may be issued by a local contact in   Singapore. Any Singapore Citizen or Singapore Permanent Resident who   is at least 21 years old can act as a local contact. If you are not   able to furnish a LOI from a local contact, you may approach your   Embassy to issue a LOI to support your visa application.


Prove that if $p$ and $q$ are distinct primes such that $pq\mid n^2$ then $pq\mid n$.  My Attempt:  Assume that $pq\nmid n$. If $pq\nmid n$, then $p\nmid n$ or $q\nmid n$. Without loss of generality, assume that $p\nmid n$.  If $p\nmid n$, then $pq\nmid n^2$.


I can kind of handwave or fanwank the origin of things like the exasperated faceplant or the vein popping out when a character is comedic-angry, and even the trope of Japanese flag fans coming out when people want to cheer on their comrades, but how did the sweatdrop come to characterize the feeling of sort of embarrassed contrition?     I can't come up with anything logical just based on speculation. Is this an outgrowth of the  tradition, with the  and  characters?


Label different parts of an equation by a square callout

I posted this  a long time ago, where I wanted to produce an equation like the second page of this . Now I return to it and I use the answer of this  as follows:  \documentclass{beamer} \usepackage{mathtools, tikz, lmodern, xparse} \usetikzlibrary{shapes.geometric, arrows, matrix, positioning, shapes.callouts, shadows} \tikzset{>=stealth}  \usepackage{amsmath} % For align environement \usepackage{color} % to define the next colors \definecolor{blue(munsell)}{rgb}{0.0, 0.5, 0.69}  \NewDocumentCommand{\mycallout}{r<> O{} m m m m m m}{% \tikz[remember picture, overlay] {\node[drop shadow, rounded corners, align=left, fill=#8!30, text width=#5, #2, draw,rectangle callout, anchor=pointer, callout relative pointer={(#6:#7cm)}] at (#3) {#4};} } \newcommand{\refbox}[3]{ \tikz[remember picture, baseline=(#1.base)]{           \node[fill=#3!30, anchor=base, rounded corners] (#1) {#2};} }  \begin{document} \begin{frame}{Quantum corrections to gauge interactions}  \begin{align*}       &F(\Phi)= \only<1,3>{\alpha} \only<2>{\refbox{rb1}{$\alpha$}{blue}} X+\only<1,2>{g(\Phi)}  \only<3>{\refbox{rb2}{$g(\Phi)$}{blue}}  \end{align*}  \only<2>{\mycallout<2>{rb1}{tree level}{2cm}{44-1}{1}{blue}}\only<3>{\mycallout<3>{rb2}{one-loop}{2cm}{50--44}{1}{blue}} \end{frame}  \end{document}   My question is: since I do not understand the above code I am wondering if this is the best way to write it?  Edit: A nice method is in the anwer of