Equivalent proverb in English for falsely blaming other things for your lack of ability

There's a proverb in Hindi which literally translates to:      (He/she/You/they) doesn't know how to dance and falsely blames the   floor for being crooked/broken/skewed   What is an equivalent English proverb for this? Obviously, it need not be about dancing as long as the point is conveyed, which is:   the target doesn't have the skill/ability/knowledge for the dance. the floor is perfectly fine and it shouldn't be blamed.   EDIT: I've been forced to add this bit to convey that the idiom 'A bad workman blames his tools' doesn't fit in this context.   The workman blaming his tools would be like a dancer blaming his shoes. A dancer blaming the floor would be like the workman blaming the floor or something that disturbed him while working or even the weather. Hope that can convey the difference.


Hello I have to calculate the estimated variance between 3 samples  Here is an example         SP1  SP2   SP3 ni    20   30    46 Meani 67   56    90 Si^2  12.3 23.2  11.2   I know how to calculate the weighted average by doing :  67*21+56*20+90*46/(20+30+46)   But how to calculate the estimated weighted variance ?   I guess we should first calculate the corrected variance such as S^2 * (n/n-1) :  12.3*(20/19)=12.94737 23.2*(30/29)=24 11.2*(46/45)=11.44889   and then do as for mean   12.94737*20+24*30+11.44889*46/(20+30+46)   But I'm not sure it is correct.


My bounty expired with no answers, how can I raise the bounty?

I asked a question on Stack Overflow () but received no answers. I offered a bounty of 50 reputation but still received no answers. I would like to raise the bounty to 100, but can't figure out how. Can someone provide a way to do this?  I looked at the blog  provided by some answers to a similar question, but it doesn't detail exactly how to raise the bounty.   Could someone provide a simple approach to raising the bounty or tell me if it's not possible at all?


For a historic text, how can I typeset a lower case e above another vowel, like e over u?  The oldgerm package provides that, but only for its fonts like Fraktur:  \documentclass{article} \usepackage{oldgerm} \begin{document} \frakfamily *a *o *u       \end{document}   How do I get that in a modern font like Helvetica?


Is it safe to use a computer during a storm?

Is it safe to use a computer during a storm that might involve lightning discharges? I'm talking about normal every day usage like browsing the web and gaming, not stuff like installing OS or BIOS updates. I'm mainly worried about permanent damage to my computer hardware, but if there are any additional risks involved, those can be relevant as well.  In case it matters, my computer is plugged into a surge protector () and I live in a normal Belgian residential house with 1 upper floor and an attic.


Is it a restrictive or non-restrictive clause?

I wrote this sentence     In this paper, we aim to present an approach and a system to construct wrappers which are independent of the HTML structure of the page.   I know the difference of "which" and "that" as that is restrictive but which is not. However, in articles as I searched in Google I saw both usage.  Then I am confused if it is a restrictive or non-restrictive here, as I heard to avoid using which for restrictive clauses, and they may need a "the" article before the noun!?


Finding the sum of the coefficients of a polynomial.

I have been working on a problem "Find the sum of all the coefficients of the expansion of $P(x)=(x−2)^{100}$." Knowing that the polynomial is far too large to calculate, I tried to find a way to find each coefficient individually, but so far, I have been unsuccessful. Does anyone know what steps I have to take to calculate the sum of the coefficients?


Unable to dock TeamViewer in Ubuntu 18.04

In Ubuntu 18.04, I'm not able to dock TeamViewer. Even if I right click on the TeamViewer icon when opened, I can't see an option to make it favorite. How can I dock the teamviewer here permanently?


I made a bootable media drive using UNetBootin and then I plugged it into my PC. After that, I took a 32GB USB flash drive and connected it, as well. Then I booted into the bootable drive and selected "Try Ubuntu without installing" and from the desktop, I selected install Ubuntu, then while installing I selected the 32GB flash drive as the installation destination, is that alright or do I have to select the SATA HDD COMPULSORILY? Is it okay to install on a USB flash drive (I don't mind the slow speed.) I tried doing this on Zorin os and while installing aa error came up saying that the GRUB installation failed. What do I do?


How to combine data set to create unique combinations

First of all I don't have experience with Excel scripting, just basic formulas. I've seen  on SU but I'm not sure if that's exactly what I need or how to adapt it to my needs.  Here's what I'm trying:  I have a spreadsheet with 3 columns and 10 rows, each of them having unique values. For example:  Column A -------- White  Black  Blue  etc (until 10 items)  Column B -------- USA Canada  Mexico  etc (until 10 items)  Column C -------- English French  Spanish  etc (until 10 items)   So in total there are 30 elements. I would like to create a new table with those 3 Columns and 1000 rows, where each row would have a unique combination of those 3 elements (so 2 rows will never have the same 3 elements). Just for clarification, the order of the Columns has to be the same (A, B, C) and of course elements of one column always stay in that column.  Examples of resulting rows:  White | USA | English White | USA | French Black | USA | English Black | Canada | English ... up to 1000 combinations   Any help would be appreciated!  EDIT  The point of this question is: 1. Understand if the solution provided in the linked answer applies to my case 2. Know if there a re other ways of solving this that aren't scripting (formulas, excel tools, etc)


If $G$ has no proper subgroup, then $G$ is cyclic of prime order

This is something I'm supposed to be able to prove for an upcoming test, but I can't find anything to help me prove this in my notes or the chapter, which is on cosets and Lagrange's theorem. If all I start with is the group having no proper subsets, then that means any subset is the whole group. By Lagrange's theorem, that means the index is $1$, but that doesn't get me anywhere. Where do I start?


Why doesn`t list[:][0] get me the first row of the list?

For the following:  list=[[2, 3, 5], [7, 8, 9]]   Why does [list[0][0], list[1][0]] represent the first row ([2, 7]), but the command list[:][0] or list[0:2][0] returns the first column ([2, 3, 5])?  The way I see it list[:][0] should get all the possible values for the first parameter (that is 0 and 1) and 0 for the second, meaning it would return the first row. Instead what it does is return the first column and I can't understand why.


Why does changing values during iterating change values on multiple levels?

I've got a question about iteration in python. At the moment I am trying to build a very simple neural net, using the following (parts of the) code:  class neural_net:     def __init__(self, n_neurons, n_input):         self.n_neurons = n_neurons         self.n_input = n_input         self.input = []         self.weights = []         self.output = []       def generate_input(self):         input = [0.0,0.0,1.0]         self.input = input       def generate_random_weights(self):         weights = [[0] * self.n_input ] * (self.n_neurons)         for i in range(self.n_neurons):             for ii in range(self.n_input):                 weights[i][ii] =  round(random.random(), 1)         self.weights = weights   In the function generate_random_weights, i=0 and i=1 are always updates at the same time. The result is always something like the following when a print it, using print'weights:', self.weights:  weights: [[0.2, 0,1, 0,8], [0,2, 0,1, 0,8]]   The first and the second list are always the same: does anyone know why this happens?


If the mass of neutrino is not zero, why we cannot find right-handed neutrinos and left-handed anti-neutrinos?

I am learning P&S's Introduction of quantum field theory. My teacher said that if the mass of neutrino is exactly 0, then we should not observe any right-handed neutrinos and left-handed anti-neutrinos according to Weyl's theory. It is because $$ \left( i\gamma^\mu \partial_\mu - m \right) \psi = \left( \begin{array}{cc} -m &  i\left(\partial_0 + \vec\sigma \cdot \vec\nabla\right) \\ i\left(\partial_0 - \vec\sigma \cdot \vec\nabla\right) & -m \end{array} \right) \left( \begin{array}{c} \psi_L \\ \psi_R \end{array} \right) =0. $$  If we set m=0, then we will have:  \begin{align} i\left(\partial_0 - \vec\sigma \cdot \vec\nabla\right) \psi_L &= 0; \\ i\left(\partial_0 + \vec\sigma \cdot \vec\nabla\right) \psi_R &= 0. \end{align}  And if these formulas can describe neutrinos we must conclude that there are two types of neutrinos.  My confusions are:   It is known that the mass of neutrino is not 0, therefore there are chances (depending on the mass) to find right-handed neutrinos and left-handed anti-neutrinos. But we don't. If I accept that there are only these two types of neutrinos (right-handed anti-neutrinos and left-handed neutrinos), this property of neutrino causes the parity violation, so parity violation must relate to angular momentum and therefore spinor space. Am I write? Are there any reasons why neutrino is so weird that is has mass but still has helicity + Or - 1. This goes against with what I have learned that only when a particle  moves at the speed of light can its spin aligned with its momentum.


SFMC has rolled out a new feature of gmail annotation for promotion tab which requires an script to be added in email template. When i am trying to add that script to my email, SFMC strips out the script tag from email.   Link for gmail annotation for promotion tab   Is there any other way of having script tag in emails. One way that i am aware of is to have the script in Data extension as a value and then retrieve that value from DE via ampscript. Is there any other workaround for this.


Last Wednesday, my toilet experienced a small leak around the base. I monitored it for a few days and I didn't see the leak again. Today, the toilet leaked around the base again. This time, there was a lot of water on the floor. I cleaned up the area and have flushed several times since I noticed the leak and it's not leaking. What could this be?


Bone heat weighting failed to find solution!

I keep getting the "Bone heat weighting failed to find solution"-error when I try to parent a mesh to an armature.  I've deleted doubles, fixed normals, added and removed various modifiers. I'm pretty sure it's because the mesh is asymmetrical, but that's on purpose and it needs to be this way.  I've also tried all Parenting options; the only one that gives the error message is "With Automatic Weights", but the rest just deform the mesh (bones only move parts of the mesh and weight paint doesn't seem to be an option).  Is there some way to get around this?could anyone please link to a way to parent an asymmetrical mesh to an armature?  PLEASE HELP I´M DESPERATE!!


What is the Cartesian product of $n$ polygons?

How do we calculate the Cartesian product between $n$ polygons? Is it always a polytope? If so, can we say anything about its faces?  For example, $n$ squares: $\{S_1:[a_1, a_2] \times [b_1, b_2], \ldots, S_n:[a_k, a_{k+1}] \times [b_{k}, b_{k+1}]\}$ so, $S_1 \times \ldots \times S_n \in \mathcal{R}^n$ forms a $n-$dimensional box.


Automatically switching from battery to DC wall adapter on insertion

I have a project that runs off a 4S LIPO battery and I want to switch to 24V wall power when I plug in an DC wall adapter. I have two designs, an inexpensive one with discretes and one with an expensive LTC4412HV IC.   I simulated both and they seem to work fine. In terms of safety since the battery is a LIPO, is the discrete design okay? Is there anything I should add other than a fuse which I already have?  Edit: The reason I use a PFET instead of a schottky diode is because the diode consumes too much power and I want to maximize battery life.


How to move launcher bar to the bottom in 18.10

According to all the answers I've read, I just need to open a 'settings' menu in the top right-hand corner of my screen, but there isn't one in 18.10. (see screenshot) Where is this menu that I can change bar position to the bottom please?


Do neutrinos change speed in neutrino oscillations?

The process of neutrino oscillations is not very intuitive, hence a question. If an electron neutrino on its way from the sun turns into a tau neutrino, then for the energy to conserve, the speed would have to become slower. This however would change the momentum. For a single particle in an empty space, it seems impossible to change its rest mass without violating either energy or momentum conservation. Does this mean the rest mass of all neutrino flavors is the same or is there a better explanation from the standpoint of the physical sense?


Hi I was asked to write a program which launch an external program test the program. I wrote a python method in one file and imported it into another file and wrote test cases for it.  But I need to launch an external program.  Could someone please help me with what that is and how to do that?


How do i disable this stupid side panel of gedit, that somehow appeared? There is nothing in the settings or plugins. Tried rm -r -f ~/.config/gedit as well, with no success. I don't have big screen and i find it totally useless and eating up what little free space for editing documents i have. See Screenshot


Sum of a product with 2 binomial coefficients

What is the value of the folowing sum and why: $$\sum_{n=0}^k\binom{2n}{n}\cdot\binom{2(k-n)}{k-n}$$


Can I lay new ceramic tile over old linoleum tile?

I want to re-tile my laundry room. The existing linoleum tile is glued directly to the concrete slab with some sort of black adhesive.   I don't want to pull up the old tile. If I put down backerboard and lay ceramic penny tile over it, will I have problems with the new tile cracking?  Additional Info: The original linoleum tile is asbestos and that's why I don't want to pull it up unless it's absolutely necessary.


Every open ball in a metric space is an open set.

Theorem:Let $(X,d)$ be a metric space, $x \in X$ and $r >0$. Then the open ball $B(x,r)=\{y \in X :d(x,y) <r\}$ is an open set. Now if we consider X to be set of all integers under usual metric, then we can find the open balls using the usual metric but those open balls will not be open sets (according to definition: every point is an interior point.}. So how to justify this theorem?


How can a dnorm probability be larger than a corresponding cumulated pnorm probability

Using the probability distribution density functions dbinom, dnorm, etc. and  the corresponding cumulative probability functions pbinom and pnorm, I noticed that the dnorm density values could be smaller than the corresponding cumulative probability pnorm values. In the example below, the dnorm value for an x=5.2 is about 5 times larger (.005) than the corresponding pnorm value (.001). How can this be?  x <- seq(4, 10, .3) point_density <- round(dnorm(x, 6.8, .5),3) cumulated_probability <- round(pnorm(x, 6.8, .5),3) df <- data.frame(x=x, point_density, cumulated_probability) head(df,20)


Calculate investment's interest rate to break-even insurance cost

Let's say I want to buy a house that costs X, and that I have 20% of X to put as a down payment.  But I could put only 5% of X down and I would have to pay a 3.26% insurance premium on the mortgage amount because that's the law. So I would have an extra cost of X * 0.95 * 0.0326 but, on the other hand I would have 0.15 * X to invest and earn interest on.  The question is: How can I calculate how much the interest rate must be so that it will be more advantageous to put just the 5% down instead of putting 20% down?  Edit: To make it clearer, I am looking for the formula that finds what's the interest rate I would have to make on my investments to break-even with the insurance premium.  I forgot to mention something important, the insurance premium will be added to the mortgage balance.


I can't use my tellraw command with multiple {text:"_"} segments

I want to know what's wrong with this command:  /tellraw @p {text:"You have joined ",color:white,extra:[{text:"Breakfast Baker!",color:green,bold:true,{text:"Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, ",color:white,bold:false,{text:"Villager Ramsay, ",color:orange,{text:"and if you have the best breakfast, you ",color:white,bold:false,{text:"WIN!",color:gold,bold:true}}}}}]}   It says  invalid json: expected name at line 1 column 92   I don't know what's wrong... it's supposed to say     "You have joined Breakfast Baker! Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, Villager Ramsay, and if you have the best breakfast, you WIN!"   With different colors, bold and other flair. Can anyone help?


Someone seems to be playing with the Stackexchange Hot Question algorithm:    This question seems to be the coordinated work of about a dozen entirely new users (created today) to post a "question" that gets a high "hotness" score.  I don't know any Chinese and Google Translate is imperfect, but it seems to be entirely content-free (having only meta-content) and should only exist on their meta site (if there is a reason for it to exist at all).  The fact that all participating users seem to be entirely new and are up-voting is rather strange as well (and borders on cheating, in my book).


How to know if extglob is enabled in the current bash session?

I have a bash terminal open. I want to find out whether the option extglob is enabled or disabled in this session, before I change its value. How can I do this?


Phrase or idiom for funnelling efforts in wrong direction

What one phrase or idiom describes situations (see examples below), in which people funnel their efforts in the wrong direction?       A boy wants to have a cup of coffee, so he buys a notebook in a stationery store and starts writing 100 times on each page "A cup of coffee", hoping that he is going to get a cup of coffee in this way. However, he never bothers to go to the kitchen and see if he can simply prepare coffee for himself in the kitchen...        A band is going to have a concert tomorrow, but they are not ready yet – they still need to rehearse more. So, instead of rehearsing they simply try to re-arrange the chairs on which they are sitting, hoping that the proper arrangement of chairs will ensure their perfect performance on the next day.        A girl wants to learn how to swim. So she reads tons of books about swimming – how to build  swimming pools, biographies of famous swimmers – yet she never even tries swimming by herself...


analyzing Likert-scale data with mean and standard deviation

Is it appropriate to use the mean and standard deviation when analyzing likert-scale data.  I can't seem to get a solid answer to this question.


Full directory path instead of graphical navigation?

How can I navigate to a folder by writing it's full path?   /home/john/Desktop/Music instead of navigating to it from the base or from the Home folder?  Is there any program that turn this graphical search bar to a "path searching bar"-ish? Just like the one in Windows?  Graphical path:-


Bounty refund after question migrated from MSE to MSO - is this expected behavior?

Right before split, I  bounty on this question:      During split, above question has been moved to MSE, where bounty was rewarded.  Recently, question was . After migration, I discovered that my bounty was refunded.  Is this expected behavior? What would happen if later the question migrates back to MSE?      Not that I complain, :) just curious (FWIW I wouldn't mind if refund is rolled back either).


What is the difference between "Could I have this... " and "Can I have this... "?

I was thinking about the sentence "Could I Have This Kiss Forever" after listening the song "Could I Have This Kiss Forever" by Enrique Iglesias.  And I'm confused is this sentence gives a same meaning like "Can I Have This Kiss Forever". If not what is the difference between "Could I Have This Kiss Forever" and "Can I Have This Kiss Forever"?  Someone may think this question as a duplicate one, but I didn't find answer for my question by another question. Edit: At most questions about Could/Can they give some idea about Could/Can but not about the meaning difference of the above sentences.


Is the Careers site available on the Stack Exchange app?

How can I view all jobs available on the Careers site?  A few days back I got a job link in my Stack Exchange application feed, and it seems it is available in the application, but I am not able to figure out how to open that.


Classical trajectories that are not a minimum of the action

Are there physically realizable dynamical systems where the true trajectory is not a minumum action trajectory?  Formally, Lagrangian mechanics only requires that the trajectory be an extremum (or saddle point?), but all of the cases that I'm aware of, it is, in fact, a minimum.  Are the other possibilities relevant for modelling any physical systems?


So im trying to make a minecraft animation test with my world and i want really good lightning. The only problem is when i render in cycles none of my materials show up like they do in blender render.


Any way to override the and operator in Python?

I tried overriding __and__, but that is for the & operator, not and - the one that I want. Can I override and?


Problem: Consider two matrices $A, B \in \mathbb{R}^{3 \times 3}$. Suppose $A$ has three distinct real eigenvalues $\lambda_1, \lambda_2$ and $\lambda_3$ with respective eigenspaces $E_{\lambda_1}, E_{\lambda_2}$ and $E_{\lambda_3}$. Suppose furthermore that $B$ has two distinct real eigenvalues $\mu_1$ and $\mu_2$ with respective eigenspaces $E_{\mu_1} = \text{span}(E_{\lambda_1}, E_{\lambda_2})$ (the space spanned by $E_{\lambda_1}$ and $E_{\lambda_2}$) and $E_{\mu_2} = E_{\lambda_3}$.  1) Determine the eigenvalues and corresponding eigenspaces of $AB$.  2) Show that $AB = BA$.   Attempt at solution: I have no idea how to do this. I tried writing $\det(A - x \mathbb{I}_3) = (-1)^3 (x- \lambda_1) (x- \lambda_2) (x- \lambda_3)$ and then using the fact that $\det(AB) = \det(A) \det(B)$. But then I figured that the characteristic equation doesn't necessarily have to split like that ?


I'm having a problem with Java. Why does the following code return null?  public class TestClass {     public String top,top1,top2,top3,top4;      public TestClass(){         changeTop(top);         changeTop(top1);     }      public void printTop(){         System.out.println(top);     }      public void changeTop(String reference){         reference="lolly";     }  }   When I run the following:   TestClass x =   new TestClass(); x.printTop();   It also returns null. I don't understand it because i thought I was passing a reference to the ChangeTop. How can I fix this? I want to give the name of the parameter to a method to change it.


Can I use an ESTA of an expired Italian passport with my Brazilian passaport?

I'm going into a trip that I will just stop at Miami airport, but not going into USA borders. My Italian passport is expired, can I comprove my ESTA with my Brazilian passport or do I need to get a visa?  Thank you!


I got a problem I can't solve for in linear algebra. My task is to find if the product of 2 positive definite matrices is also positive definite? My intuition tells me it is not true but I cannot find a counterexample.  If my intuition was false, do this 2 matrices need to be symmetric to be true?  Thanks a lot for your help,


How do I write "something-based", where "something" is more than one word?

I want to write "unsupervised learning based method", where "based" is referring to unsupervised learning. That is, it's (unsupervised learning)-based method, not unsupervised (learning-based methog). How do I write this? Maybe "unsupervised-learning-based method"? Is there a way of paraphrasing it that sounds better?


Error Install ubuntu on lenovo notebook g510

I'm tried to install ubuntu desktop 14.04 on my notebook lenovo g510 (AMD radeon HD8570) but after installation finished when OS starting display following massagge: The system is running in low-graphics mode. Could someone please help me to solve this problem? Thank's in advance Maurizio


Why value does not change of string when i pass it to method

Sorry this look very childish question .But why my String value is not changing. my code is below  class Car{  public static void car(String name) { name="Bmw"; } }  public static void main(String[] args) {      String name="honda";  Car.car(name);  System.out.println(name);     }  out put:-honda   I know java is pass by value . so i was thinking that honda will become bmw. Please give explaination on this.Thanks in advance!


Biblatex Math using ieee-alphabetic style

Please consider the following MWE:  \documentclass{minimal}  \usepackage[backend=biber,bibstyle=ieee-alphabetic]{biblatex} \usepackage{hyperref}  \begin{filecontents}{bibliography.bib}   @book{tst,         author = {Smith, John},         title = {\(\pm\) On the run},         year = {2010}   } \end{filecontents}  \addbibresource{bibliography.bib} \nocite{*} \begin{document} \printbibliography \end{document}   I'm having trouble compiling the previous source. The Error messages state something about missing { while this is clearly not the case.  However, if I remove the bibstyle setting I can compile without any problems. Since I need to use this particular style this is not an options. Does someone know how to fix the math related issue?


I've read a lot of pages about jailing users and now I'm confused. I want to jail my users to their dirs on sftp and ssh access, so they could see only files in /home/. What solution I should use to do it in the best (and easiest as possible) way?  I'm new in linux and I still can't get it xD


RegEx for splitting the string by Space but ignoring spaces in quotes

I have a string,  String string = "sdeLING9497896,\"kifssd9497777 999_13\",Kfsheis9497896e,ersdG9497896,aseLING9497896   erunk15426 \nEsea4521  \"\nSdfes451 45264\" \"kiseliog949775 959_13\"";   I may have spaces, comma, tab or new line character in this string. My requirement is to split this string using space,comma,tab and new line but the spaces inside the double quoted strings should be excluded.   My sample code:  public class RegExTest {      public static void main(String[] args) {         Set<String> idSet = new HashSet<String>();         String string = "sdeLING9497896,\"kipliog9497777 999_13\",KIPLING9497896e,ersdG9497896,aseLING9497896   erunk15426 \nEsea4521 \"\nSdfes451 45264\"";         String ids[] = string.split(**"NEED A REGEX HERE"**);         for (String id : ids) {             if (id.trim().length() > 0) {                 idSet.add(id);             }         }         System.out.println(idSet);     } }   My expectation is: sdeLING9497896, kifssd9497777 999_13, KIPLING9497896e, ersdG9497896, aseLING9497896, erunk15426, Esea4521, Sdfes451 45264, kiseliog949775 959_13  Please guide me to solve this!


Good day   I was trying to insert date into database and used the same solutions    What I am facing now that after I used this solution, it show for me   Java.nullPointerException   Also I have tried ((JTextField) jDateChooser1.getDateEditor().getUiComponent()).getText() and it did not worked with me and says cannot convert date to string.   here is my codes :        import java.util.Date;     import java.sql.*;      String Sql="insert into rect (recName,phoneNo,position,DOB,gender,Mstatus,nationality,quali,major,Uni,email,EngCom,AraCom,status,Stage,IntDate,source,interviewer,RecEval,comments,Attach) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ";       try {             Class.forName("com.mysql.jdbc.Driver");           con = DriverManager.getConnection("jdbc:mysql://localhost:3306/hr","root","");            Date date = jDateChooser1.getDate();        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); String strDate = formatter.getDateInstance().format(date); java.sql.Date sqlDate = new java.sql.Date(date.getTime());           Date datex = jDateChooser2.getDate();          SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");          String intrDate = format.getDateInstance().format(datex);          java.sql.Date sqlDatex = new java.sql.Date(datex.getTime());             ps= con.prepareStatement(Sql);             ps.setString(1, jTextField18.getText());             ps.setString(2, jTextField1.getText());             ps.setString(3, jTextField2.getText());              ps.setDate(4,sqlDate);              if(jRadioButton1.isSelected()== true){              ps.setString(5, jRadioButton1.getText());              }               else {              ps.setString(5, jRadioButton2.getText());              }             ps.setString(6, (String) jComboBox1.getSelectedItem());             ps.setString(7, jTextField3.getText());             ps.setString(8, jTextField4.getText());             ps.setString(9, jTextField5.getText());             ps.setString(10, jTextField6.getText());             ps.setString(11, jTextField8.getText());             ps.setString(12, jTextField9.getText());             ps.setString(13, jTextField10.getText());             ps.setString(14, jTextField11.getText());             ps.setString(15, jTextField12.getText());            ps.setDate(16, sqlDatex);             ps.setString(17, jTextField14.getText());             ps.setString(18, jTextField15.getText());             ps.setString(19, jTextArea1.getText());             ps.setString(20, jTextArea2.getText());             ps.setString(21, jTextField19.getText());                        int i =ps.executeUpdate();             if (i>0)             {                     JOptionPane.showMessageDialog(null, "Data is Saved");             }             else {                     JOptionPane.showMessageDialog(null, "Data is not Saved");             }         }         catch (Exception e){         JOptionPane.showMessageDialog(this, e.getMessage());         JOptionPane.showMessageDialog(null, e);         }


I just installed plank and I would like to add a "Show Applications" shortcut on it and also disable the default Ubuntu dock. How do I go on about doing this?


In the movie RED, according to , when surrounded by FBI agents,       The terminally ill Joe pretends to be Frank, walks outside, and is  killed by sniper from the Vice President's personal hit squad.   I watched that scene again and did not find anywhere a hint about the shooter. Is this explained somewhere else?


Authenticate Radius user using pam and ssh

I am able to authenticate radius users using radius server+pam+ssh with creating local user with blank password in linux.  Is it possible to authenticate radius users without creating users in local machine with blank password?  /etc/pam.d/ssh file as below  #%PAM-1.0 auth    sufficient      pam_radius_auth.so debug auth    sufficient      pam_unix.so use_first_pass auth    required        pam_auth_status.so                 account sufficient      pam_unix.so  account required        pam_auth_status.so     session required        pam_unix.so


I have followed some tutorials and created a nice cartoon looking shoe. That shoe has three different objects(shoe itself, shoelaces and lace holes). I joined them together and everything was fine until i wanted to test rigging. when i added some bones for testing those laces and holes doesn't deform with the shoe. what might be the problem?  Without Rig:    With Rig:


Let $p_n$ denote the $n$'th prime number.  How would one go about proving that infinite products like: $$\prod_{k=1}^\infty1 - \frac{1}{(p_k)^2} = \frac{6}{\pi^2}$$  or  $$\prod_{k=1}^\infty\frac{{p_k}^2}{{p_k}^2 - 1} = \frac{\pi^2}{6}$$ are correct?  Is there any way to prove it except by exhaustion?


Does anyone know an example of a local homeomorphism from the open unit disc onto itself that is not a homeomorphism?

I am interested in an example of a local homeomorphism from the open unit disc D onto itself which is not a homeomorphism. Or, could one prove that any such map is a homeomorphism?


Showing that $\{(x, y) \in \mathbb{R}^2 \mid x< 0, y<0 \}$ is open

Let $A = \{(x, y) \in \mathbb{R}^2 \mid xy > 0 \}$. Show that $A$ is a open subset of the plane.  I have that $A = \{(x, y) \in \mathbb{R}^2 \mid x > 0,y>0 \} \cup \{(x, y) \in \mathbb{R}^2 \mid x< 0, y<0 \}$ Letting $(x,y) \in \{(x, y) \in \mathbb{R}^2 \mid x > 0,y>0 \}$ and $r=\min\{x,y\},$$B((x,y), r)$ I have that $$|x-x'| \leqslant \sqrt{(x-x')^2 + (y-y')^2} = d((x,y), (x',y')) \leqslant r < \frac{r}{2}$$ so $x' >\frac{r}2 >0.$ Similar reasoning can be done for $y'$. Which would show that $B((x,y),r) \subset \{(x, y) \in \mathbb{R}^2 \mid x > 0,y>0 \}$. How should I deal with the set $\{(x, y) \in \mathbb{R}^2 \mid x< 0, y<0 \}$? I cannot seem to show this... If I let $(x,y) \in \{(x, y) \in \mathbb{R}^2 \mid x< 0, y<0 \}$ and again $r = \min\{x,y\}$ and construct a ball $B((x,y), r)$ I can pick $(x',y') \in B((x,y), r)$, but I'm not sure how to proceed from here?


How to create a new point file containing selected points?

Using QGIS 2.16.3, I have uploaded a point dataset. Using the attribute table, I have made a selection of several points, and would like to create a new point layer containing only the selected points. I have consulted:    Problematically, my menu selection is somewhat different form the one here, and I can not choose 'Save selection as'. Is there any other way to choose the selection?


Noob - Aligning text left and right of image

im new to coding, ive been learning code for about 2 weeks now and ive made decent progress.. Ive decide to build a mock up site to put to use what im learning and its going well, except i cant seem to place an image and text side by side with the text at the bottom.  Im new so im not entirely sure how to go about asking or explaining lol sorry..  My image is inside my paragraph...   p class="text"    img class="image" src="#.jpg"   /p (had to remove tags, it wasnt showing)  My text is floated Right in CSS and my image is floated Left..  Ive tried numerous things like vertical align and different methods but nothing seems to work, is there anyone that has any ideas? tips? thanks


Can a cousin write a recommendation letter for graduate school?

I have a cousin who used to be a research engineer at MIT until recently, and now is the global manager of a company. While at MIT, he suggested that I should apply for graduate school there (I'm an undergrad in Mechanical Engineering in Brazil). He knows me pretty well and is encouraging me to try. I have a good GPA, 3.6/4 as of now, but could be 3.8/4 by the time I graduate. I also have published papers, some of which will be published in top journals.  Since he used to be part of the MIT community, would a recommendation letter from him be an advantage for me? Or, because he's family, the comittee could simply consider it biased?   PS: He was not from the mechanical engineering department.


why do magnetic field lines leave the north pole and enter the south pole?

suppose we have a bar magnet    |S_______________N| ... we can imagine it to be    |S-N-S-N-S-N-S-N|  So, why do we see the lines leave the north pole and enter the south pole externally?  What happens internally?


$x^4 -10x^2 +1 $ is irreducible over $\mathbb Q$

I have seen the thread  but this didn't really have a full solution.  Is it true that if it is reducible then it can be factored into a linear factor or quadratic factor in the form $x^2 - a$. Is $a$ in the rationals? And what exactly is a linear factor.  What I did was the following:  Let $y=x^2$. Then $y^2 - 10y +1=0 \iff y^2 -10y = -1$, add $25$ to both sides:  $$y^2 - 10y + 25 = -1 + 25 \iff  (y - 5)^2 = 24 \iff y = 5 \pm 2\sqrt6$$  So $x^2=5 \pm 2 \sqrt6= (\sqrt2 \pm \sqrt3 )^2$  So $x^4 -10x^2 +1 =(x^2 -(\sqrt2 + \sqrt3 )^2)(x^2 - (\sqrt2 - \sqrt3)^2)$  Then difference of two squares:  $ (x-(\sqrt2 + \sqrt3))(x+(\sqrt2 + \sqrt3))(x-(\sqrt2 - \sqrt3))(x+(\sqrt2 - \sqrt3))=0$  Expanding this out gives $x^4 -10x^2 +1 =0$ so we have found all the roots and we can confirm that they are the roots right? None of these roots are rational so it must be irreducible?  Please can you advise me on this method that I am using and not direct me to a theorem or any type of shortcut.   Thanks in advance.


Installation of commercial drivers fails

Upon trying to install "Software modem" or the "SmartLink modem daemon", a proprietary driver, I get the error      SystemError: E:Unable to correct problems, you have held broken packages." Is their anyway to fix this?


I am trying to set a master password from the terminal (using a shell script). I see the passwd function and the master.passwd function, however I don't see any documentation on either of these to set the master password (AFAIK, these set the user passwords only).  I am pulling my information from these sources:      My question is:  Can you use the passwd or master.passwd commands to set the master password? If so, can you please provide an example for how to accomplish this?


Variables accessed by a function within a class

Why does the val_n function return an older value of self.__n? Seems to me that if obj.__n has been updated to 3, calling self.val__n should return 3 and not 2.  class myClass:     def __init__(self,n=1):         self.__n=n     def val_n(self):         return self.__n  #create an instance, __n is 2 obj=myClass(2)  #update __n to 3 obj.__n=3  #verify obj.__n has changed from 2 to 3 print(obj.__n)  #why does this still return 2? print(obj.val_n())


How to pass multiple arguments into function

I'm trying to parse a json file, Suppose the function that is called takes in the json path from a variable called section1  def traverseJson(arg1):     #do stuff  section1 = json["section"]["section"][1]   To call the function I'd run:  traverseJson(section1)   How would I then pass in multiple arguments into the function? e.g  section2 = json["section"]["subsection"][0] section3 = json["section"]["subsection"][0]   A solution which does not predefine the number of arguments will be more suitable as the number of arguments can vary.


I am struggling to import a figure.SVG in Overleaf. I tried with \usepackage{svg}  but it doesn't work. I read a few times about Inkscape, however I work on Overleaf and I have no idea how to install Inkscape. Could someone give me some instructions. Thanks I try to reformulate my question. I draw a diagram on draw.io and inserted also some math-notations (Q_dot and subscripts). If I export the file as a .svg and inport it in my latex document the Math notations are gone! See on the screenshot  On top of that do I get the error "Viewer does not support full SVG 1.1" Is there a way to import .svgfiles without getting any losses in the math notation? I tried also to convert the .svginto a .pdfhowever do I get the same problem. how are figures with Math notations normally imported into a LaTeX file?


Merging results from SQL Query, where most values are the same

Sorry for the not-so-great title.  I'm triyng to merge together sets of results to provide a quick view of some data.  If I have this query:  SELECT      tblPriv.ID, tblGroups.Name AS 'Group', tblPriv.User, tblPriv.Role  FROM      tblPriv  INNER JOIN      tblGroups on tblPriv.ID = tblGroups.ID   which returns these results:  ID    GROUP    USER    ROLE --------------------------------- 1     Taxes    DAVE    Admin 1     Taxes    JOHN    Admin 1     Taxes    BOB     PowerUser 2     Catering RON     Admin 2     Catering JACK    PowerUser 2     Catering JIM     PowerUser   (where ID is relational to say, a group, stored in another table)  What I ideally want to do is get 1 record for a group:  ID    GROUP        ADMINS          POWERUSERS --------------------------------------------- 1     Taxes        DAVE; JOHN;     BOB 2     Catering     RON;            JACK; JIM;   I know the roles beforehand - they always stay the same, and new roles are not added, ever.  How would I go about doing this? (I will also include data from other relational tables)


I keep getting this error when I run my game so far

I have a tags script:  public class Tags {     //Tags     public static string PLAYER_TAG = "Player";     public static string PLATFORM_TAG = "Platform";      //Player Animation Tags     public static string ANIMATION_IDLE = "idle";     public static string WALK = "walk";     public static string ANIMATION_RUN = "run";     public static string ANIMATION_JUMP = "jump";     public static string ANIMATION_JUMP_FALL = "jumpFall";     public static string ANIMATION_LEDGE_FALL = "ledgeFall";     public static string ANIMATION_JUMP_LAND = "jumpLand";  }  Then I have my player animation script: using System.Collections; using System.Collections.Generic; using UnityEngine;  public class PlayerAnimation : MonoBehaviour {      [SerializeField]     private Animation anim;      void Awake () {         anim = GetComponent<Animation>();     }      public void DidJump () {         anim.Play(Tags.ANIMATION_JUMP);         anim.PlayQueued(Tags.ANIMATION_JUMP_FALL);     }      public void DidLand()     {         anim.Stop(Tags.ANIMATION_JUMP_FALL);         anim.Stop(Tags.ANIMATION_JUMP_LAND);         anim.Blend(Tags.ANIMATION_JUMP_LAND, 0);         anim.CrossFade(Tags.ANIMATION_RUN);     }      public void PlayerRun()     {         anim.Play(Tags.ANIMATION_RUN);     } }   When I run the game, the player doesn't run like he's supposed to and I get this error:  NullReferenceException: Object reference not set to an instance of an object PlayerMovement+<StartGame>c__Iterator0.MoveNext () (at Assets/Scripts/Player Scripts/PlayerMovement.cs:83) UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)   What am I doing wrong here?


I really love to take pictures from all kinds of cameras that I have exprienced with,I want to finally buy my first camera but i dont know which one is the best for me,any advice?


Page Navigation, goto page N, feature request

My feature request is for the page navigation buttons that are on many of the different pages.  I would like to see, aside from the usual page buttons, a small input box and a "goto" button so that you can skip directly to a particular page. For example on the Tags page, the page navigation buttons have: [1] [2] [3] [4] [5] ... [353] [next] I would love to see: [1] [2] [3] [4] [5] ... [353] [next]  [inputbox][goto] That way the user can jump around the pages much quicker than only being able to skip ahead 2 pages at a time. Edit - added: Alternatively you could just have the [goto] button and then when it is clicked, have a small popup appear with the input area and another [goto] button, you can see an example of it here: , just goto the bottom and click on the button with [2 pages] on it to see the popup appear.


I have two cases for allocation of memory using new operator.  class xx{     public: int x;              xx(){}              ~xx(){} }; class yy : public xx {     public: int y;              yy(){}              ~yy(){} }; int main(int argc, char *argv[]) {     yy *y1 = new yy();  //y1 constructor is called     //CASE-1     yy *y2 = y1;     //CASE-2                  yy *y3 = new (y1) yy();      return 0; }   In CASE-1 I am just allocating y1 memory to y2 without destroying y1(shallow copy). Here constructor will not be called.   In CASE-2 I am allocating y1 memory to y3 to the address destroying y1. Here constructor of y3 will be called. But destructor of y1 is not called. According to my understanding application has to take precautions for null value check while using  y1 and y2 in future code.  So basically I want to understand the scenarios where CASE-2 is useful as compared to CASE-1. Thanks in advance.


Why is $ 1^{\infty} \not= \lim_{t \to \infty} 1^t = 1$?  It seems like they're saying the same thing. After all, $1$ to the power of any positive integer is equal to $1$.  I suspect that I'm misunderstanding some fundamental concept and would appreciate it if someone could explain it to me.  Thank you.


How to report a bug of an unofficial package?

I've installed a game called Slingshot Portal (package name: portal-slingshot) using Ubuntu Software Center.  The game fails to start with the following error:  Failed to execute command "java -jar /opt/portal-slingshot/portal_slingshot_1.2.0.jar". Failed to execute child process "java" (No such file or directory)   Obviously, I don't have Java installed, and the package didn't have Java as a dependency. How do you report such cases?  I tried to run  ubuntu-bug portal-slingshot   But it exits with this message:  This is not an official Ubuntu package. Please remove any third party package and try again.   Please note that I'm not asking for instructions on how to install Java, I'm trying to report a broken third-party package that is available for download via the official Ubuntu Software Center and therefore should have proper dependencies.


Do I need to back up my files from Windows before installing Ubuntu dual boot?

I would of course assume the answer is no, however I wanted to confirm this is so, in case there could be a chance that I might lose some files on accident.


Significance of complex exponential representation of waves

I am starting to learn about the complex exponential form of waves and SHM and was wondering what the significance of the imaginary part is. I know this question has been asked many times in different ways, but I think my question here will be slightly different.  From what I have seen, we use the complex representation because of its convenience as many calculations are simplified (like integration, differentiation, wave superposition and enveloping etc) but we have to extract the real part to get the physical reporesentation. The complex part is useful for this also because it consists of the real and imaginary part which are orthogogonal and so when we apply linear operators such as derivatives we can take the real part before or after applying these. This is not so for non[linear operators, such as getting the power/energy/intensity of a wvae which all depend on the square of the amplitude; the real part must be taken before squaring.  I also know that there is some significance of the imaginary part in quantum mechanics as probabilities are found by multiplying the wavefunction with its complex conjugate, which does not give the same result as just squaring the real part.  So it seems to me that the complex representation can just encode extra information in a convenient way. From what I have read I have not seen there being any extra phsyical interpretation of the imaginary part. I was wondering if someone could clarify or add to this? Parhaps I am also missing something- some physical phenomena where the complex nature of waves becomes apparent and physical results cannot be explained simply from a real representation of waves (whether in quantum mechanics or not)?


What is difference between rolling, kinetic and static friction?

If there is a toy train on the floor moving linearly then would the friction acting be rolling or static?


How to update libavcodec on ubuntu 14.04?

On Ubuntu 14.04.5 I just upgraded firefox to version 50.0; now there is a message on some pages which reads:   libavcodec may be vulnerable or is not supported, and should be updated to play videos   So how can I update libavcodec?  A simple   sudo apt-get install libavcodec   gives the following output:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package libavcodec   So maybe I don't have libavcodec installed in the first place? So why do I get this message...?


How can I speed up internet in an apartment complex?

I have just moved into an apartment complex and it has terrible wifi speed.  If I'm using a wired connection it is pretty solid (2 ping with high 180's Mbps up/down) but the wireless is awful, I can barely even scroll through twitter without interruption.  Is there anything I can do to make my wireless faster?


Can't deep learning models now be said to be interpretable? Are nodes features?

For statistical and machine learning models, there are multiple levels of interpretability: 1) the algorithm as a whole, 2) parts of the algorithm in general 3) parts of the algorithm on particular inputs, and these three levels split into two parts each, one for training and one for function eval. The last two parts are much closer than to the first. I'm asking about #2, which usually leads to better understanding of #3). (if those are not what 'interpretability' means then what should I be thinking?)  As far as interpretability goes, logistic regression is one of the easiest to interpret. Why did this instance pass the threshold? Because that instance had this particular positive feature and it has a larger coefficient in the model. It's so obvious!  A neural network is  the classic example of a model that is difficult to interpret. What do all those coefficients mean? They all add up in such complicated crazy ways that it is hard to say what any particular coefficient is really doing.  But with all the deep neural nets coming out, it feels like things are becoming clearer. The DL models (for say vision) seem to capture things like edges or orientation in early layers, and in later layers it seems like some nodes are actually semantic (like the proverbial ). For example:    ()  This is a graphic () created by hand for presentation so I am very skeptical. But it is evidence that somebody thinks that is how it works.  Maybe in the past there just weren't enough layers for us to find recognizable features; the models were successful, just not easy to post-hoc analyze particular ones.  But maybe the graphic is just wishful thinking. Maybe NNs are truly inscrutable.  But the many graphics with their nodes labeled with pictures are also really compelling.    Do DL nodes really correspond to features?


Convert unicode escape sequence into chinease characters string

In python I'm having a unicode escape sequence that is originally a part of chinease text. I'm trying to display it properly (to convert into Unicode string). Searching SO I've tried several proposed ways but none of them work. Here's what I got:  import re import codecs import urllib  ESCAPE_SEQUENCE_RE = re.compile(r'''     ( \\U........      # 8-digit hex escapes     | \\u....          # 4-digit hex escapes     | \\x..            # 2-digit hex escapes     | \\[0-7]{1,3}     # Octal escapes     | \\N\{[^}]+\}     # Unicode characters by name     | \\[\\'"abfnrtv]  # Single-character escapes     )''', re.UNICODE | re.VERBOSE)  def decode_escapes(s):     def decode_match(match):         return codecs.decode(match.group(0), 'unicode-escape')      return ESCAPE_SEQUENCE_RE.sub(decode_match, s)   print(decode_escapes('\u6240\u8BF7\u6C42\u7684\u8FD4\u7A0B\u65E5'))   Trying to execute this code will fail with this error:  Traceback (most recent call last):   File "Test.py", line 21, in <module>     print(decode_escapes('\u6240\u8BF7\u6C42\u7684\u8FD4\u7A0B\u65E5'))   File "C:\Python27\lib\encodings\cp437.py", line 12, in encode     return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-6: character maps to <undefined>   Finally it should be like this:  所请求的返程日   Could you suggest what I can do to see correct string?


How to prove that $ \arctan x + 2 \arctan(\sqrt{1 + x^2} - x) = \frac{\pi}{2} $

I want to prove that: $$\arctan x + 2 \arctan(\sqrt{1 + x^2} - x) = \frac{\pi}{2}, \forall x \in \mathbb{R} $$  I know that $$ \arctan x + arctan \frac{1}{x} = \frac{\pi}{2} $$ But that doesn't seem to be helping. How should I proceed?


Upper triangular matrix with big zero in lower triangular?

I can represent an upper trapezoidal matrix say as shown below. I would like to replace all those zeros with a single big zero that spans across the low triangle rows and columns, and maybe also add a delimiter along the diagonal that clearly shows it is an upper diagonal matrix. How can I do that?  \newcommand\x{\XSolid} %\newcommand\x{\ding{53}} \begin{equation}   \left(     \begin{array}{*5{c}}     \x & \x & \x & \x & \x \\      0 & \x & \x & \x & \x \\      0 &  0 & \x & \x & \x \\      0 &  0 &  0 & \x & \x \\      0 &  0 &  0 &  0 & \x \\   \end{array}\right) \end{equation}   Separate question ... why the \x command I define outputs # rather than the intended cross symbol? It outputs the same symbol # no matter if I use \XSolid or \ding{53}  UPDATE: taking the answer as input, I ended doing this:  \newcommand\x{\times} \newcommand\bigzero{\makebox(0,0){\text{\huge0}}} \newcommand*{\bord}{\multicolumn{1}{c|}{}} \begin{equation}   \left(     \begin{array}{ccccc}     \x    & \x       & \x    & \x    & \x \\ \cline{1-1}     \bord & \x       & \x    & \x    & \x \\ \cline{2-2}           & \bord    & \x    & \x    & \x \\ \cline{3-3}           & \bigzero & \bord & \x    & \x \\ \cline{4-4}           &          &       & \bord & \x \\ \cline{5-5}   \end{array}\right) \end{equation}   which produces this:


Folder Permissions for new partition - can't move files

I'm using Ubuntu 14.04.  I used the install CD to repartition my HD by resizing /dev/sda1 and creating /dev/sda3 as a Primary Partition.  I named it "Media".  When I reboot from HD, when I try to move files from the home directory to the new partition, I get an error message  "Error while copying.  The folder “TV” cannot be copied because you do not have permissions to create it in the destination."  The new partition shows up in Gparted as locked, with mount point /media/ian/Media and Label Media.  I want to move my media files from the boot partition to a separate partition.  Any advice?


Is there way to colorize by RGB in GIMP?

There is a colorize tool in GIMP but it only provides HSV. Most of time I want to colorize with RGB so I'm using . Is there way to colorize with RGB only?


how to increase the ulimit limit in ubuntu 18?

I want to increase the ulimits and used the commands for it   ulimit -n 1024 ulimit -n 10000 bash: ulimit: open files: cannot modify limit: Operation not permitted   After lot of searching. I got a my links but By taking the reference of  link I just follow each and every command in the terminal but can't increase the ulimit in the system why and How will I do it Can anybody please explain this.


When I was in school I was fan of pop music as I grow up I found Rock more interesting. Later I found myself more in hiphop which end into trance,techno and electronic music in college days. Now I have job and I hear mostly classic and ambient music. It's like I been exploring music all my life and now at the age of 25 I enjoy all music genre.   My question is if music genre and age group are somehow related ? or it is just me.


How to use lineend in positive lookahead?

In the following example, I want to match line 1, 2 and 5.  -STARTxxx-END -STARTxxx- -STARTxxx#END -STARTxxx# -STARTxxx   Using regex: -START(?=(?:xxx[-$]))  In words: after the -START tag, there should be xxx, followed by either a dash - or the lineend $.  Question: why doesn't the last line produce a match? What am I missing when using the lineend $?


Make Wind Force Field Only Effect 1 Object's Emitted Particles

I want each wind force field to only effect the particles emitted by the closest 1 of the 2 planes. As the file is right now, each wind source effects both plane's emitted particles. I want the top wind source to only effect the top plane's emitted particles, and the bottom wind source to only effect the bottom plane's particles. Btw I'm not asking about how to turn the "Wind" off in "Field Weights" in the Particle tab. I already know about that, and the problem is that it turns off the particles' ability to interact with ALL wind. That's not what I'm asking. I need to know how to make the BOTTOM wind source only effect the BOTTOM plane's particles, and the TOP wind source to only effect the TOP plane's particles. Here are some pictures of what I'm talking about:   Also here's a link to the file:


How to create a Customized Ubuntu Server ISO?

I'd like to create a customized Ubuntu Server 12.04 ISO but couldn't find a clear approach on how to do it. I see that Ubuntu-builder is a very good app to create a customized Ubuntu Desktop, but what about Ubuntu Server?


Making ajax driven form with file upload

How can I easily implement "formData" in this ajax call?  HTML:  <form id="insertDocument" action="#" enctype="multipart/form-data">     <input type="file" id="file" name="file" />     <select name="type_d" id="type_d">         <option value="1">something</option>         <option value="2">something</option>         <option value="3">something</option>         <option value="3">something</option>         <option value="3">something</option>     </select>     <input type="text" name="description_d">     <input type="date" name="date_d">     <input type="date" name="valid_d">     <input type="submit" value="Upload document" id="insert_d"> </form>   jQuery:  $("#insert_d").click(function() {     event.preventDefault();     var data = $("#insertDocument").serialize();     $.ajax({         type: 'POST',         url: 'insertDocument.php',         data: data,         success: function(html){             console.log(html);         }     }); });   My problem is, that I need to post all the data - file and other inputs. Do I have to combine formData with serialize?


Let $E$ and $K$ be intermediate fields between field extension $L/F$. Prove that $[EK:F]\leq [E:F][K:F]$. My attempt: Let $A,B$ be the $F$-bases of $E,K$, respectively. I want to prove that $AB=\{ab|a\in A\wedge b\in B\}$ is a generating set of $EK$, but I don’t know how to get to it. Thanks in advance!


If $\int_0^1 f(x)dx$ exist but $\lim_{x\to 0}f(x)$ doesn't exist, does $\lim_{n\to \infty }\frac{1}{n}\sum_{k=1}^n f(k/n)=\int_0^1 f(x)dx$?

I was wondering for something : Let $f:]0,1]\to \mathbb R$ continuous. If $\displaystyle\lim_{x\to 0}f(x)$ exist, then indeed $$\int_0^1 f(x)dx=\lim_{n\to \infty }\frac{1}{n}\sum_{k=1}^n f\left(\frac{k}{n}\right).$$ Now, what happen if $\int_{0^+}^1f$ exist but not $\lim_{x\to 0}f(x)$ ? Do we still have $$\lim_{n\to \infty }\frac{1}{n}\sum_{k=1}^n f\left(\frac{k}{n}\right)\ \ ?$$  I'm thinking for example at $f(x)=\frac{1}{\sqrt x}$.


Tunneling a TCP/IP Connection through Remote Desktop Connection

There is a remote Windows server on a private network which I can connect to via Remote Desktop Connection.  I would like to be able to make TCP/IP connections from my computer to other computers on that server's network.  Remote Desktop Connection makes it possible to share printers, drives, and other local resources through the connection.  Is there any way to "tunnel" a TCP/IP connection via RDC?  I'd like something similar to the port-forwarding provided by SSH.  I don't see any way to do this via RDC, but I'm hoping the capability is there and I just don't know about it.


I failed to download respitory information

W:Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) , E:Some index files failed to download. They have been ignored, or old ones used instead.  I have included a picture below showing my issues as I don't know how to exactly explain it....    Should I be concerned and how do I fix it?  below is the contents of sources.list  # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.1)]/ precise main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team.  deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main ## DepÃ´t MultiSystem deb http://liveusb.info/multisystem/depot all main


I have extra gold from the alternate way of getting starting equipment. What should I do with the extra money?

I was using the alternate way to get equipment in Chapter 5 of the PHB (D&D 5e)  as a Fighter and rolled 160 GP, which I spent on Studded Leather Armor, a Longsword, the Explorer's Pack, a Crossbow Bolt Case, a Light Crossbow, 20 Crossbow Bolts, and a Dagger, and still have 61 GP to spend on equipment. I have no idea what to do with the extra money as I've bought all the equipment I want. I don't think the PHB addressed this and don't know what the rules say. What do the rules say on what to do with the extra money?


If our universe didn't exist before the big bang, the big bang can not have taken place in our universe, but in some external space. How does current physics explain this?


Will a change in reference frame produce light?

Let's say I have a charged particle in front of me. If I start spinning in place, the charged particle will appear accelerated to me from my reference frame. If the laws of physics pertaining to this scenario are valid in all reference frames, if I spin with with an appropriate angular velocity to bring the emitted waves into the visible light spectrum, will I see light? If there are many such particles, will the entire room light up for me and remain dark for a stationary observer next to me?


Can we say that $i = -\sqrt{-1}$ because $i^2 =- 1$?

It is defined as $i^2 = -1$ then we can say $i=\pm \sqrt{-1}$  Then is true that $i$ can be equal to $ -\sqrt{-1}$


Error while trying to store data from file to object array(Java)

I am trying to read in from a .txt file that has students' first names, last names and averages. I'm trying to read the data and store them in an array of objects, however, I am running into the following exception:   Exception in thread "main" java.lang.NullPointerException     at bubblesort.Bubblesort.readin(Bubblesort.java:34)     at bubblesort.Bubblesort.main(Bubblesort.java:49)   This is my code  package bubblesort; import java.io.*; import java.util.Scanner;   public class Bubblesort {  public class students{    public String name;    public String lastname;    public double average; }      public static students[]readin(students[] studentinfo){     String info = "src/Files/numname.txt";     int count = 0;     String catcher = null;     try {             File InputFile = new File(info); //createsa new file input             Scanner Input = new Scanner(InputFile);                for (;count<25;count++){                 studentinfo[count].name = Input.nextLine();                 studentinfo[count].lastname = Input.nextLine();                 studentinfo[count].average = Input.nextDouble();                 catcher=Input.nextLine();             }      }     catch(IOException ex){         System.out.println("Error reading in file");     }     return studentinfo; }      public static void main(String[] args) {         students[] studentinfo = new students[25];         readin(studentinfo);       }    }   If someone could please help me understand I would appreciate it a lot, thank you


Samsung Galaxy S6 - Camera specifications for tracking

I'm trying to use footage from my Samsung Galaxy S6 for tracking in Blender but I don't understand the camera settings. Focal length and sensor width confuses me.  I've used a sensor width of 5,8 mm and a focal length of 4,3 mm. I got those settings from the "Phone tester" app.  Average error of about 300.


My little one just turned 2 months old. When swinging in the swing or when I am rocking him he likes to be swinging fast and rocking fast...I don't mean normal fast he likes to go FAST! Is this normal and why do you think he might like this? He cries until I go fast and then settles right down. I am not sure why. He does seem to have colic and cries more than the average baby. Any one have this happen with their child??


What is the cheapest(less than 40 Euros) way to travel from Paris CDG to Brussels Midi?

I will be landing in Paris CDG on April 7th 19:50 and would like to go to Brussels Midi(Hotel is booked) the same night. TGV and Thalys are too expensive(around  80 euros). Considering I will collect my baggage at 22:00 if there are no delays, is there a cheapest way to Brussels immediately or shall I layover in Paris for the night of 7th April start to Brussels next morning 8th april.   Note:I will have to be in Brussels atmoium on 8th by 11:00am.


(CRON) (No MTA installed, discarding output) &&& pam_unix(cron:session): session closed for user roo


Every time the anonymous group targets a website, they are able to take it down.. even for large corporates / governments with professional.  I read (basic theory) about dealing with normal DDOS attack, with DDOS protection techniques.  But why do these techniques fail in case of Anonymous group attacks?  Is there any success stories about surviving through a really good organized DDOS attack?


A concept of the exterior derivative for functionals

The exterior derivative was introduced to me with the following axioms:   $df$  is the differential of  f  for smooth functions  f $d(df) = 0$ for any smooth function  f $d(α ∧ β) = dα ∧ β + (−1)^p (α ∧ dβ)$ where $α$ is a p-form   I wondered if it was possible to generalize the concept to arbitrary functionals. The problem is obvious: In the above formulation, we only deal with $p$-forms where $p$ has to be an integer. When dealing with arbitrary functionals, this can not be enough.  To clarify, the above definition of the ext. derivative is only suitable for functionals involving vector spaces with countable dimension. I am searching for a generalization where the vector space that is the domain of the functional might be uncountably dimensional. An example of such a functional is the $L^2$ norm:  $f \mapsto I(f) = \int_\Omega |f(x)|^2 dx$  I'm trying to define a meaningful exterior derivative $d I$.  Is it possible to define an outher derivate much in the same sense of above, that maintains most (all?) of the properties of the standard exterior derivative?


How to /testfor time with command block in 1.8? Screenshots would be nice, if possible.


When I tried to update apt's local package index, I am getting an error  % sudo apt-get update Ign http://dl.google.com stable InRelease ... lots or repositories ... Ign http://archive.ubuntu.com ..... Fetched 2,628 kB in 34s (75.7 kB/s) Ign http://archive.ubuntu.com trusty/universe Translation-en_NZ     Fetched 2,628 kB in 34s (75.7 kB/s)  W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead.   So trying to trace apt's flow of actions, I see  file: /etc/apt/sources.list.d/google-chrome.list contains  deb http://dl.google.com/linux/chrome/deb/ stable main   Im guessing this is what tells apt to try get fresh package lists from http://dl.google.com/linux/chrome/deb/.    Looking at the contents of the "failed "file: http://dl.google.com/linux/chrome/deb/dists/stable/Release hosted on googles repo server:   contains:  Origin: Google, Inc. Label: Google Suite: stable Codename: stable Version: 1.0 Date: Thu, 03 Mar 2016 22:43:39 +0000 Architectures: amd64 Components: main Description: Google chrome-linux repository. MD5Sum:  89704f9af9e6ccd87c192de11ba4c511 145 main/binary-amd64/Release  43ceb3a785b6dd436c53e9dbde008599 4164 main/binary-amd64/Packages  7ea2e6a029b4fedb4c1518f6465e577a 961 main/binary-amd64/Packages.gz  64235650d3cd442717b11560da225787 1197 main/binary-amd64/Packages.bz2 SHA1:  153199d8f866350b7853365a4adc95ee687603dd 145 main/binary-amd64/Release  02ca738529f7cc2effb3f4da95316726c15afd6f 4164 main/binary-amd64/Packages  8ecf917c5c7a93c9b3afb24a3b961d6bcd88bc33 961 main/binary-amd64/Packages.gz  b7756eaa63557380b74b15a379cb49f2d4dfc5b6 1197 main/binary-amd64/Packages.bz2    What is the purpose of this file? http://dl.google.com/linux/chrome/deb/dists/stable/Release How can I fix this error?    I will update this post if anyone needs anymore info


I’ve never used a clarifier when I brew. However a friend used one of those Mangrove Jack kit packs for his first time. I noticed it comes with a packet of beer clarifier. On inspection I noted this seems to be no more than gelatine(?). Essentially 5g (18oz) per 23L (6gal). Does that really work?


This is the classic usage of neither/nor:     I would neither hide nor run away.   But is the following construction grammatical? (More than two choices, no neither)     I wasn't going to play dead.   I wasn't going to hide.   Nor was I going to run away.


In the manual [1] on page 90, there are two charts shown. The upper one is of interest for me. (The cyclic with the percentages. It's like a loading bar.)  Could someone point me, how I could draw that? If there is the code somewhere in the manual, tell me. I wasn't able to find that.    [1a]  (old) [1b]  (actual)


2 instance of class , but seems they are the same

I am expecting obj1 and obj2 will have different deck.cards,  why they are the same, how do I make them 2 instance?  class deck:     cards ={}     def __init__(self, key, value):         self.cards[key]=value         return >>> obj1 = deck("a", "1") >>> obj2 = deck("b", "2") >>> print (obj1.cards, obj2.cards) {'a': '1', 'b': '2'} {'a': '1', 'b': '2'}


Series of binomial coefficients: $\sum\limits_{n=k}^{\infty}{\binom nk}x^n=\frac{x^k}{(1-x)^{k+1}}$

Any hint to prove this? I tried with properties of binomial coefficient but I can't get anything. $$\sum_{n=k}^{\infty}{{n}\choose{k}}x^n=\dfrac{x^k}{(1-x)^{k+1}}$$


I have php search using pdo method. But results doesn't show correctly in my application. My language is Persian and i think reason is utf8 and that should be in my pdo. Anyone can help?  if (isset($_POST['searchQuery'])) {      require_once('config.inc.php');      $search_query = $_POST['searchQuery'];     $sql = 'SELECT * from nmh where MATCH(company,name,family) AGAINST(:search_query)';     $statement = $connection->prepare($sql);     $statement->bindParam(':search_query', $search_query, PDO::PARAM_STR);     $statement->execute();     if ($statement->rowCount()) {         $row_all = $statement->fetchall(PDO::FETCH_ASSOC);         header('Content-type: application/json');         echo json_encode($row_all);     } elseif (!$statement->rowCount()) {         echo "no rows";     } }


I have a map a at the link below:    I added one of my GeoServer WMS layers to the map, now I try to add the attributes window pop up on click. I found to examples on the OpenLayers 3 homepage, but I cannot put together a working code...      Is there any chance to have a working sample somewhere?


Unable to upgrade 12.04 LTS to 12.10, failed to fetch error

W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources  404  Not Found [IP: 91.189.91.26 80] W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources  404  Not Found [IP: 91.189.91.26 80]   Also if I can directly upgrade to any other latest version, please suggest how I can do so.


$f(x+1)-f(x)=f'(x)$: prove $f(x)$ linear function

If I have a differentiable function $f:\mathbb{R}\to\mathbb{R}$ satisfies $f(x+1)-f(x)=f'(x)$ and $\lim_{x\to\infty}f'(x)=A$. Can I show $f(x)=ax+b$?


how can I show that this function is convex?

$x_1, x_2 > 0$  $f(x_1,x_2) = \frac{1}{x_1^3x_2}$  Is this function  convex?  I think it is because Hessian matrix is $$\begin{pmatrix} \frac{12}{x_1^5x_2} & \frac{3}{x_1^4x_2^2} \\ \frac{3}{x_1^4x_2^2} & \frac{2}{x_1^3x_2^3}\end{pmatrix}$$  How do i show that the matrix is positive? multiply it by vector a^T and a isn't working..  Thanks!  can i just say its positive cause every element is positive?


Create a custom template for displaying a custom content type - and Views in Drupal 7

I'm creating custom templates for my Drupal 7 site. There is a custom content type called flowers.   Which template file (.tpl.php) should I put under templates directory of my theme's folder for displaying a single flower-type node? Can I use the Views module to create different views (i.e displaying picture of a flower in a view & displaying species of the flower in another view) for displaying only a single flower-type node? So far I can create pages that displays list of flower-type nodes. I want to display just a single (perhaps providing it's node-id) flower-type node. How do I do that?  2.1. For displaying different types of views to display a single flower-type node, which template files (.tpl.php) should I edit?   Thanks in advance for caring :)


I recently read an abstract algebra textbook, "A first course in abstract algebra" by John Fraleigh. I am interested in continuing to do some more self studying. What is a good book for a second course in the subject for self studying? Thanks.


Transform a Google Spreadsheet table? Columns by rows

I need to transform this table    into this one, with de Services columns as rows:


i've just started studying Grease Pencil and did some basic animations. After some work i've noticed that all my strokes were painted with a semi transparent strength.      Can i change the strength of my strokes after i've drawed them? i'm sure is not a matter of material opacity.  edit: i've obtained what i'm looking for using the modifier Noise for grease pencil , but i'd like to make it permanent, moreover, when i click apply Blender Crashes    thank you.


How can i convert my Ubuntu 15.10 64 bit Vanilla Unity installation to Ubuntu GNOME Edition. Is it just installing Gnome Shell and uninstalling Unity. However i dont think this will be enough. Am I right, and if so, how can i convert to Ubuntu Gnome Edition?


Is the group of units of a finite ring cyclic?

The group of units of a finite field is cyclic.  Is it true that the group of units of a finite ring is also cyclic? If not, where does the ring structure prevents us from obtaining the result that is true for fields?


Is there a possibility to do reviews on a mobile phone?

I know the API and the smartphone App of Stack Exchange doesn't support everything that is possible on the webpage.  And I also know I can do reviews on my mobile using the webbrowser and the desktop version of the page.  Is there another way like a specific app or something for doing reviews on the go?


Is Alien aggression global or is it on a per-nest basis?

According to  about alien aggression, alien aggression can be lowered by:       they also become less hostile if an alien nest actually exists within   the borders of your city, eventually becoming friendly.   But that leaves me wondering if the aliens become friendly for that nest or city, or do the aliens become friendly globally.  Is alien aggression tracked globally in Beyond Earth?


Element click function not working on dynamic DIV and BUTTON added by jQuery

The code is working when adding a new block of element group as form-group class. However the dynamic elements button click function do not respond to $().click(). I can add more dynamic elements but only through the first group.
     Course:
         <input type="text"  class=" txSelCourse"   placeholder="Select course" autocomplete="off">

aa

        <button  class="add_btn">Add div row</button>


How can I formalize that the function $$f:\mathcal{P}(A)\to(A\to \{0,1\})$$ is bijective? It seems clear to me but I don't know how to write a proof. Thanks in advance.


QGIS 3 map viewing area not filling up window area

I just installed QGIS 3.2.1 from QGIS 2.18 on MacOS 10.3.6. When I open the new install, the map does not fill up the area in the app window (below).


'Save and Copy to all communities' resets profile picture if it's set to Gravatar

I recently updated my profile bio (from Arqade) and clicked 'Save and copy changes to all public communities'. This appears to have broken/reset my profile picture on all but Arqade. Note that I did not update my profile picture as part of my changes. Arqade:  Meta SE for comparison:  I haven't touched my profile picture in years. Is this a bug?  Update: It appears my profile pic across all communities has been set back to 'Identicon'. I went on to Stack Overflow and changed my profile picture back to 'Gravitar' and clicked 'Save and copy to all communities' again, but this did not update my profile picture anywhere but SO. (I did the same on Sustainability to be doubly sure). Update 2: This is a persistent bug - I had changed most of my SE communities back to my 'Robotnik' display pic over the past little while. Today I edited my profile again on Arqade, Clicked 'Save and copy' - and the display pic reverted back to identicon again across all sites. Update 3: I have re-uploaded my profile picture and the 'Save and copy' function worked. It appears that this is actually a bug to do with the old images from Gravatar.


My Swap space is currently set to 2 GB.  How do I increase it?  Also I'm running with an SSD and have 16GB of RAM.  What is the Max Memory I can set the swap file to?


How to make Google Sheet jump to today's column when opened?

I'm trying to adjust this code so that I can jump to today's date which are all across row 2 in my spreadsheet.  function onOpen() {  var ss = SpreadsheetApp.getActiveSpreadsheet();  var sheet = ss.getActiveSheet();  var range = sheet.getRange("A:A");  var values = range.getValues();    var day = 24*3600*1000;    var today = parseInt((new Date().setHours(0,0,0,0))/day);    var ssdate;   for (var i=0; i<values.length; i++) {    try {      ssdate = values[i][0].getTime()/day;    }    catch(e) {    }    if (ssdate && Math.floor(ssdate) == today) {      sheet.setActiveRange(range.offset(i,0,1,1));      break;    }      } }    is from Marshmallow  I tried changing sheet.getRange("A:A") to sheet.getRange("2:2") and sheet.getRange("C2:PB2") but neither work.


I have the following setup:  main.c:  extern void sol(); int main(){     sol(); }   sol.cc:  #include<iostream> using namespace std; void sol(){     cout<<"HW!!\n"; }   I compile to separate object files:  $gcc main.c -c $g++ sol.cc -c   But when I try to link them to a single executable,  $g++ main.o sol.o   I get: main.c:(.text+0x7): undefined reference to 'sol' , nm sol.o shows that there is 00000000 T _Z3solv , while nm main.o requires U sol. I found out that C++ renames functions to avoid same names of overloaded functions. Is there any way to tell compiler that sol.o contains renamed functions, or to compile sol.cc without renaming them?


How to prove that $B$ is uncontable if $A$ is uncontable, $A\subseteq B$?

Let $A$ be uncountable, $A\subseteq B.$ Prove that $B$ is uncountable.


Creating all possible line segments between all points using QGIS

I want to connect all points in a point feature with every possible line segment using QGIS. For example, how a pentagon has five points with ten line segments connecting them all to form a pentagram inside. Alternatively phrased: How do I make spokes when all the points are hubs? I don't care about the order, I just want every connection between two points as one line each. Is there a tool or script that can do this in QGIS? This topic () is the closest to what I want but the plugins are no longer supported.


I read in some good grammar book that "Above" and "over" can both mean "higher than": The example from the book  Can you see the helicopter above/over the palace?   Then below it was written that We prefer "above" when one thing is not directly over another The example from the book  We've got a little house above the lake  The question is is the helicopter in the first example directly over the palace or no if both "above" and "over" can be used?


$\sigma$-algebras on a countable set is generated by partitions of the set

Let $X$ be a countable set, show that every $\sigma$-algebra is generated by a partition of $X$.  I don't even know how to start. I 've been stuck on this problem for a long time. Any hints are welcomed.


How to diagnose connection timeouts when connecting to a WiFi hotspot

I am having difficulty troubleshooting this error message:    I don't get any indication any details about the failed connection attempt.   How can I diagnose such timeouts and resolve the connection issue?  I am aware of and have tried methods like rest your airport, reset the computer, delete profiles, down to install new operating system and , I'd like to know how to pick apart the connection process to know where the problem lies.  When I successfully connect, system information has excellent details:    However, without changing anything, at a later time, I will time out again when joining. Can I see the details of the process for the connection and find what is making it fail? What would it take to create or access a log file of the wifi connection process?


Unlocking Nexus One without pressing the power button

The power button on my Nexus One doesnt work smoothly any more, sometimes taking nearly half a dozen attempts before the unlock screen appears on the phone. I was wondering is there is any other way to invoke the unlock screen on my phone, apart from pressing the power button. I have Gingerbread 2.3.4 on my phone.


What's wrong with this javascript statement?

To the good people who downvoted because it's been asked before: my question was not about the implicit event parameter. I had no idea. The event parameter was the answer, not the question.      function myEventHandler() {   var eventSrcType=(event.srcElement) ? event.srcElement.type : 'type undefined';   alert(eventSrcType); }   The function gets called when the user clicks an image ("onclick"), e.g    <a href="javascript:void(0)" onclick="myEventHandler();">  Apparently there's something wrong with the assignment, because the alert is never executed. What's wrong here?  (I tried window.event, but Dreamweaver doesn't hint event as a member of window. Anyway, it doesn't work either)  edit All answers hint at the implicitly passed event. So I added that as the function's argument (calling without argument),  function myEventHandler(event) {   var eventSrcType=(event.srcElement) ? event.srcElement.type : 'type undefined';   alert(eventSrcType); }   But I still don't get an alert.  Passing this as argument shows "type undefined", but I expect the anchor type here.


I'm using the scrreprt package and I can't figure out how to use the "+" and the "&" symbol in the title of a subsection.  \documentclass[a4paper]{scrreprt} \usepackage{scrpage2} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \begin{document}     \section{Many supers}     Text     %Source of the problem     \subsection{Super+ & Hyper}     Text \end{document}   is what I'd use ideally, but that gives an error with a "misplaced alignment tab character"  I googled a lot and tried quite a lot of variations like:  \subsection{Super\+ \& Hyper} \subsection{Super\text{+ &} Hyper} \subsection{Super\[+ &\] Hyper}   and more - nothing I tried works. Especially the & poses a big problem. The + actually worked with   \text{+}   Does anyone have a solution?


What are the differences between "has" vs "has been"?

In past tense when is it better to use one over the other?  has been [verb] vs has [verb]  For example:      Your order has been shipped vs. Your order has shipped     Is there a difference between the two?


I dont understand how to solve this question:  I need to find a closed formula for :   $$\sum_{k=0}^n k\,5^k$$  Thanks a lot!


I´m stuck with the section $c)$ of the following Hartshorne´s exercise  I have just proved $a)$ and $b)$. I wonder if you can help me. Thank you for your time


C - returning several values from method

I want to return few values from method:  unsigned long long *operand1, *operand2; unsigned long long value1; int operation=0;   I was thinking about putting those datas in char array and then retrieve them byte after byte. Is this a good idea? How should I do this? Or could you suggest anything else?


How to display new object field in trigger error page?

I need to show the value of the fields of the objects being created on the error page. i tried to do it via add error but it doesn't output dynamic data trigger checktime on Appointment__c (before insert, before update) {     Time startDate;     Datetime endDate;     String Name;           //Fetch all appointment records to compare     List<Appointment__c> listOfAllAppointments = [SELECT Id,Appointment_Data__c,Appointment_Data_End__c,Doctor__c                                                   FROM Appointment__c];                                                        for(Appointment__c newAppointment : Trigger.new) {         for(Appointment__c appointment : listOfAllAppointments) {             if(appointment.Appointment_Data__c <= newAppointment.Appointment_Data_End__c                 && appointment.Appointment_Data_End__c >= newAppointment.Appointment_Data__c                 && appointment.Doctor__c == newAppointment.Doctor__c)              {                //  newAppointment.addError('Your Error Message'+newAppointment.Doctor__r.Name);                             newAppointment.Appointment_Data_End__c.addError('Bad');                 break;             }         }     }  }


I set same build types for debug and release,  buildTypes {     debug {         buildConfigField "String", "API_BASE_URL", "\"https://www.testUrl.com/api/\""         minifyEnabled true         shrinkResources true         proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'         signingConfig signingConfigs.release_key     }     release {         buildConfigField "String", "API_BASE_URL", "\"https://www.testUrl.com/api/\""         minifyEnabled true         shrinkResources true         proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'         signingConfig signingConfigs.release_key     } }   But If I build with the release, I got the below error.  Also, the server response is exactly same.  W/System.err: java.lang.NullPointerException: The mapper function returned a null value. W/System.err:     at b.a.e.b.b.a(Unknown Source) W/System.err:     at b.a.e.e.b.bs$a.onNext(Unknown Source) W/System.err:     at b.a.e.e.b.cm$a.onNext(Unknown Source) W/System.err:     at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(Unknown Source) W/System.err:     at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(Unknown Source) W/System.err:     at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(Unknown Source) W/System.err:     at b.a.l.subscribe(Unknown Source) W/System.err:     at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(Unknown Source) W/System.err:     at b.a.l.subscribe(Unknown Source) W/System.err:     at b.a.e.e.b.cm$a.a(Unknown Source) W/System.err:     at b.a.e.e.b.cm.subscribeActual(Unknown Source) W/System.err:     at b.a.l.subscribe(Unknown Source) W/System.err:     at b.a.e.e.b.bs.subscribeActual(Unknown Source) W/System.err:     at b.a.l.subscribe(Unknown Source) W/System.err:     at b.a.e.e.b.bw.subscribeActual(Unknown Source) W/System.err:     at b.a.l.subscribe(Unknown Source) W/System.err:     at b.a.e.e.b.dd$b.run(Unknown Source) W/System.err:     at b.a.s$a.run(Unknown Source) W/System.err:     at b.a.e.g.j.run(Unknown Source) W/System.err:     at b.a.e.g.j.call(Unknown Source) W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272) W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) W/System.err:     at java.lang.Thread.run(Thread.java:761)


Different Solution for $\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\sqrt{2}}}$

I Believe that I have the optimal solution, using the fact that:  $$\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\sqrt{2}}}=\int_{0}^{\pi/2}\frac{\cos(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}=\int_{0}^{\pi/2}\frac{\sin(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}$$  and the noticing that   $$\int_{0}^{\pi/2}\frac{\cos(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}+\int_{0}^{\pi/2}\frac{\sin(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}=\pi/2.$$  These together imply that the solution is $\pi/4$.  remark: the $\sqrt{2}$ is unimportant, for the more general $\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\alpha}}$,  my solution is invariant for any  $\alpha \in {\mathbb{R}^{+}}$.  However, had I been given  $$\int_{0}^{\pi/2}\frac{1}{1+\tan(x)}$$ I maybe would have actually attempted a solution by more standard methods, in order to find a closed expression for the integral. My method does not give a closed form, does anyone know a way to find one?  I was given a possible alternative route: Let $$F(\alpha)=\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\alpha}},$$  and to differentiate with respect to $\alpha$, yet I'm not sure why this is helpful or how that kind of method "goes."


How to convert a 3 column csv file into a table (or matrix)

I have an CSV input file format like this, with a nucleotide sequence in field 1, text in field 2, and an integer in field 4:  ATGC,CD3,56 ATGC,CD4,67 ATGC,IgD,126 ATGC,IgM,127 AGTC,CD3,67 AGTC,CD4,78 AGTC,IgD,102 AGTC,IgM,89 TCGA,CD3,334 TCGA,CD4,123 TCGA,IgD,456 TCGA,IgM,80 CGTA,CD3,54 CGTA,CD4,32 CGTA,IgD,82 CGTA,IgM,117   I opened this CSV file using Numbers in Mac it's display as 3 columns format, however, I want to convert it to the table(or Matrix) format (also a CSV file), making the first column, the nucleotide sequences, into a header, and want the result to also look like a table (or Matrix):       ATGC  AGTC  TCGA  CGTA CD3  56    67    334   54 CD4  67    78    123   32 IgD  126   102   456   82 IgM  127   89    80    117   Below is a section from my real input CSV file (sample input.txt):  AGAATAGTCTGATTCT,-,,38 AGAATAGTCTGATTCT,AnnexinV,,51 AGAATAGTCTGATTCT,CD127,,39 AGAATAGTCTGATTCT,CD138,,3 AGAATAGTCTGATTCT,CD14,,2 AGAATAGTCTGATTCT,CD16,,4 AGAATAGTCTGATTCT,CD19,,10 AGAATAGTCTGATTCT,CD20,,6 AGAATAGTCTGATTCT,CD24,,21 AGAATAGTCTGATTCT,CD25,,4 AGAATAGTCTGATTCT,CD27,,87 AGAATAGTCTGATTCT,CD3,,235 AGAATAGTCTGATTCT,CD34,,5 AGAATAGTCTGATTCT,CD38,,18 AGAATAGTCTGATTCT,CD4,,412 AGAATAGTCTGATTCT,CD43,,99 AGAATAGTCTGATTCT,CD5,,430 AGAATAGTCTGATTCT,CD56,,3 AGAATAGTCTGATTCT,CD8,,7 AGAATAGTCTGATTCT,IgD,,4 AGAATAGTCTGATTCT,IgM,,2 TGTGGTAGTTCGTCTC,-,,9 TGTGGTAGTTCGTCTC,AnnexinV,,42 TGTGGTAGTTCGTCTC,CD127,,6 TGTGGTAGTTCGTCTC,CD138,,4 TGTGGTAGTTCGTCTC,CD16,,40 TGTGGTAGTTCGTCTC,CD19,,7 TGTGGTAGTTCGTCTC,CD20,,2 TGTGGTAGTTCGTCTC,CD24,,24 TGTGGTAGTTCGTCTC,CD25,,2   How can I do this using Linux text formatting commands?


How to interpret this question? Triple integral over region.

Evaluate the triple integrals over the indicated region. $$\iiint_D (3+2xy)\,dV$$ over the solid hemispherical dome $D$ given by $x^2+y^2+z^2 \leq4$ and $z\geq0$. The surface $3+2xy$ is above and surrounding the hemisphere. What volume would such integration calculate? How do I interpret this question? What is going on here? Sure I could calculate a volume bounded by some x and y values but in this case $0\leq Z\leq2$ but the surface $3+2xy$ barely lies in that $Z$ interval. I am confused


I have two videos of different lengths   Video one: 12 minutes Video two: 6 minutes   I want to take audio of video one and the image of video two nd put them together.  Output video length = 6 minutes.  How can I do this with ffmpeg?


How to pipe bash completion suggestions?

I am trying to save bash completion suggestions to use them. So, I am trying to simulate two tabs and pipe the result to something else. I am looking for something like:      $ getCompletions git checkout     master     branch_1     otherBranch     $ getCompletions git checkout | grep '^ma'     master   I am trying to find a solution for an arbitrary command or at least just git.


How can I draw this graph in the pic via tikz.


I've a problem updating my Ubuntu pc. Every time I launch the command to update, the terminal return this:    15 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/79,3 MB of archives. After this operation, 324 MB of additional disk space will be used. Preconfiguring packages ... Setting up oracle-java8-installer (8u171-1~webupd8~0) ... Installing from local file /var/cache/oracle-jdk8-installer/jdk-8u171-linux-x64. tar.gz Removing outdated cached downloads... sha256sum mismatch jdk-8u171-linux-x64.tar.gz Oracle JDK 8 is NOT installed. dpkg: error processing package oracle-java8-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java8-installer E: Sub-process /usr/bin/dpkg returned an error code (1)   What can I do in order to solve this problem?


How to prove $\vdash\neg P\to (P\to Q)$?

I am trying to prove,  $$\vdash\neg P\to (P\to Q)$$  where $P$ and $Q$ are arbitrary but otherwise fixed formulas. The only axioms and rule of inference that I can use are,  $\color{crimson}{\text{Axiom 1.}}\  P\to (Q\to P)$ $\color{crimson}{\text{Axiom 2.}}\  (S\to (P\to Q))\to((S\to P)\to (S\to Q))$ $\color{crimson}{\text{Axiom 3.}}\  (\neg Q\to\neg P)\to(P\to Q)$ $\color{crimson}{\text{Rule of Inference.}}$ .  I know that in Angelo Margaris's book First Order Mathematical Logic there is a proof (page 53) but as I have mentioned , the dot notation seems very confusing and translating them to the nested parentheses notation seems very difficult to me. So, I am trying on my own to prove the result. Can anyone help?


How to specify that search should be between two dates in technical specification

I'm writing an integration manual that specifies how to use our WCF service for mobile messages and responses. The part in question needs to specify that the search results will be filtered between the start and end dates.  My aim is to make it clear that the time portion of the two dates will be discarded and the result will include everything from the start date to the end date. (In practice the code truncates the dates, adds one day to the end date, and returns the data that conforms to a query something like:  SELECT * FROM Table WHERE DateCreated >= @StartDate AND DateCreated < @EndDate)  But my paragraph looks verbose and clumsy. It doesn't feel right. I feel kind of like John Cleese telling the kids when to put their clothes onto a lower peg. How can I make this less verbose?  Or maybe I'm over-thinking this?     When searching for responses, the search is performed between the supplied dates, after truncating the time portion thereof. The results will include responses with a date-time greater than equal to the start date, and less than one day after the end date. So passing the same value for start and end date will retrieve all responses received on that date, for messages previously sent by that user.


How can I load my village back if I am not connected to google?

I was playing on my phone but my phone suddenly got reformatted. I cannot load my village as outlined in the answer to  because I was not connected to Google while playing, I was connected using my Facebook account instead.  Is there any way I can get it back?


How do I paint over unpaintable silicone?

So I stupidly used unpaintable silicone to seal my bedroom window... On the inside. How can I paint over this unpaintable silicone? (GE brand).


Filter diagrams with atlas coverage layer in QGIS

Please advise how I can hide diagrams outside of the coverage layer when using QGIS atlas function. I can do this for polygons,rasters etc without problem but whatever I do I cannot hide diagrams from other layers. Please see example below. Basically I do not want anything outside of the polygons..


What Grammatical name and Grammatical function is given to the part of sentence in parenthesis

Traders (who used to come early to the market) claimed he had probably had some place he sleeps