\documentclass{article}  \usepackage{linguex}   \begin{document}   \ex. Some Example French sentence \hfill(French)\\ This  is the gloss\\ `the interpretation'   \exg. Some Example French sentence \hfill(French)\\ This  is the gloss\\ `the interpretation'  \end{document}     The (French) in example 2 is supposed to flush to the right; just like the first example.   There seems to exist some kind of conflict with the exg command. Any help please

I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about the language it comes from, as I've seen in some texts, sort of like this:   Language (family, citation, etc.)      (1) example text          glosses        'translation'    gb4e is great at formatting the examples themselves, but I can't seem to get the label placed where I want it, that is, placed immediately before the example and without an indent. Here's some example code:  \documentclass{article} \usepackage{gb4e} \usepackage{lipsum}  \begin{document} \lipsum[2]  Hungarian (Finn-Ugric, \emph{reference})   \begin{exe}   \ex \gll    J\'anos h\'aza\\               John house.his\\       \glt    `John's house'   \end{exe}  \lipsum[3] \end{document}   If the label text is outside the exe environment, it's treated like a regular paragraph, but if I try to put it inside, it gives me an error. How can I make it look the way I want? I've looked at other packages that do numbered examples, but they don't seem to have solutions either, and they also don't have the same functionality as gb4e that I need.  Any help would be greatly appreciated.


I am British and married a Korean girl while living in Korea for many years. I returned to the UK this year and I'm just now starting a job, so once I have been earning the required amount for 6 months, we will be applying for her spousal visa.  But she came to visit me for 1 week recently and has since decided she wants to spend the next 6 months with me here on a visiting visa, after which she will return to Korea so we can apply for her spousal visa.  I am wondering if her coming back on a visiting visa and living with me would affect our spousal visa application later on? We really don't want to spend the next 6 months apart but we are worried about causing troubles for the spousal visa later on. Any help would be appreciated. Thanks

I'm a British citizen and recently got married in Japan to a Japanese woman. Eventually my visa ran out and I had to return to the UK, and the plan is for her to eventually move here.  Because it will be a while before I get a job, hold it for 6 months and be allowed to apply for a Spouse Visa, and because we can't stand the wait, she is coming over to visit for a few weeks. Since she's Japanese she should be visa-exempt for stays of up to 6 months.  I have heard that, if you have already applied for a Spouse Visa, it is unwise for a spouse to come to stay before it has been granted as it could jeopardise the application.  But is there any reason she shouldn't come to visit before we have even made the application? Will an Immigration Officer refuse her entry on the assumption that she'll probably try to overstay?


I have a discussion need to post about AngularJS 2.0 and people's opinion on js framework's future.  Where is the best place to post such discussion?  Thanks!

Stack Overflow doesn't really support questions that do not have a specific answer, such as "What are the features you would want in a programming language that are lacked by most programming languages?". Is there a Stack Exchange site or other external site specifically made for this?


Has anyone replicated the task recurrence functionality on a VF page? can give me some help thanks in advance.

Has anyone replicated the task recurrence functionality on a VF page? It looks like it uses javascript in an Activity.js file to do the showing/hiding of applicable fields based on the user selecting the frequency (Daily/Weekly/etc.) My VF override page doesn't seem to include this Activity.js file.  I was curious if anyone had a snippet of code that replicated this or perhaps knew of a VF component. I'm hesitant to try hack it too much to include Activity.js, rely on that, and just hope Salesforce never changes it.  My other alternative is to just replicate it all manually! :)


Let $T:V\to W$ be a linear map of finite-dimensional spaces.  Then $${\rm im}(T^{\textstyle*})=({\rm ker}\,T)^\perp\ .\tag{$*$}$$ I can prove this as follows: $${\rm ker}(T^{\textstyle*})=({\rm im}\,T)^\perp\tag{$**$}$$ is quite easy, and we know $T^{\textstyle*}{}^{\textstyle*}=T$ and $W^{\perp\perp}=W$, so $${\rm im}(T^{\textstyle*})=({\rm im}\,T^{\textstyle*})^{\perp\perp}=({\rm ker}\,T^{\textstyle*}{}^{\textstyle*})^\perp=({\rm ker}\,T)^\perp\ .$$ However, I would be interested in a "direct" proof of $(*)$.  It's fairly easy to show ${\rm LHS}\subseteq{\rm RHS}$.  For the converse I have tried obvious things but seem to be going round in circles.  Also, any insights as to why $(**)$ is harder than $(*)$ - if in fact it is :)  Edit.  To clarify, I am considering the adjoint defined in terms of an inner product, $$\langle\,T({\bf v})\mid{\bf w}\,\rangle   =\langle\,{\bf v}\mid T^{\textstyle*}({\bf w})\,\rangle\ .$$

How can I prove that, if $V$ is a finite-dimensional vector space with inner product and $T$ a linear operator in $V$, then the range of $T^*$ is the orthogonal complement of the null space of $T$?  I know what I must do (for a $v$ in the range of $T^*$, I have to show that $v\perp w$ for every $w$ in $\ker(T)$ and then do the opposite), but I don't know how to show that this inner product is zero.


I have a project to do assembler and simulator in c++ with virtual memory (of characters) 128KB  I just wondering how could I convert char to it's corresponding bits?  how can I reset the bits of char type?

How do you set, clear, and toggle a bit?


Could I pick up a human with a strong enough magnet?  Humans contain magnetic materials, such as iron.

There is iron in our blood, which is magnetic. Roughly how strong would a magnet have to be to induce a noticeable attraction? It would be nice to know this for several distances. Also, do electromagnets that strong exist?


I'm trying to implement flags from a image file, its fetched by curl so i cannot change the class. The class has a parenthesis in it, and as parenthesis are invalid operators(?) in css im unable to style it. Does anyone know how i can be able to add style to it?

What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid?  ~ ! @ $ % ^ & * ( ) + = , . / ' ; : " ? > < [ ] \ { } | ` #


I have a oxford dictionary mdf file.I want to install in ubuntu 16.4. How to install OALD9 on ubuntu 16.04.

I want a graphical (GUI) method to mount an ISO, is there any way to do so?


I just build a house and want to prevent players from destroying it. Spawn protection won't work cause it is away from spawn.

Is there a way to set an "Adventure Mode Boundary" in Minecraft?  I am trying to create this village where players can spawn in, and then set out to explore the world and build and do normal minecraft stuff. I don't want them to destroy this village, so I want them to be in adventure mode when they are in the village and then switch them to survival when they leave, and vice-versa. When they return to the village, they get switched back to adventure mode.  In other words, I want to set an "Adventure Mode Boundary" to protect buildings. I am working without mods. I am hoping there is an simple way using command blocks.


I have accidently installed ubuntu on my windows 8 64bit partition. I have only had one partition. Now i cannot go back. Can  you help me with a solution to go back to my windows 8?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


I have a alphanumeric list variable for example  a = ['dwe','fw4fe4f','gvfes','fw4f',44,'vwe4d','sv','vsed']   To print all, I use   for each in a:     print each   Now I want serial number also added to the each element. so that it can print like.  1.dwe 2.fw4fe4f 3.gvfes   & so on

How do I access the index in a for loop like the following?  ints = [8, 23, 45, 12, 78] for i in ints:     print('item #{} = {}'.format(???, i))   I want to get this output:  item #1 = 8 item #2 = 23 item #3 = 45 item #4 = 12 item #5 = 78   When I loop through it using a for loop, how do I access the loop index, from 1 to 5 in this case?


I know this question asked many times (e.g.  and  ) but those all are not solving my issue.  I am working on WFS_T .Below is my code      var transactWFS_polygon = function (p, f) {     switch (p) {         case 'insert':             node = formatWFS.writeTransaction([f], null, null, formatGML_polygon);             break;         case 'update':             node = formatWFS.writeTransaction(null, [f], null, formatGML_polygon);             break;         case 'delete':             node = formatWFS.writeTransaction(null, null, [f], formatGML_polygon);             break;     }     s = new XMLSerializer();     str = s.serializeToString(node);     alert(str);     $.ajax('http://xxx:8076/geoserver/xxxx/ows', {         type: 'POST',         dataType: 'xml',         processData: false,         contentType: 'text/xml',         data: str     }).done(); }   I am getting 403 forbidden error in Options.How to enable option in geoserver which is running in localhost.

I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer work with Jetty 9.2.13.  There are mentions that CORS support is already packaged with Jetty 9.2.13 in the jetty-servlets.jar.  The Jetty lib which is compiled with Geoserver contains a jetty-servlet-9.2.13.v20150730.jar in geoserver/lib but not jetty-servlets.9.2.13.v20150730.jar. Are these supposed to be the same jar with a different name?  It should be possible to enable CORS either in geoserver/etc/webdefault.xml or in geoserver/webapps/geoserver/WEB-INF/web.xml.  My understanding is that the webdefault.xml is applied first and the web.xml thereafter.  I have tried following filter in both xml. I haven't got as far as adding a filter mapping. Adding the filter alone will cause the Geoserver/Jetty service to not start proper.  <filter>     <filter-name>cross-origin</filter-name>     <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class> </filter>


In the most general sense, the Time Dependent Schrödinger Equation (TDSE) reads  $$\hat{H} \Psi = i \hbar ~{{\mathrm d} \over {\mathrm dt}}\Psi $$  Is it possible to get rid of the $i$ entirely? Does it need to be there?   Let me be clear on the type of answer I am looking for. I am aware that the spatial wave functions can be written entirely real (by a theorem, whose name i do not recall), and that complex constants can be chosen such that the the time dependent part cancels out.   What I am instead asking is, is it possible to get an equivalent TDSE that does not deal with imaginary numbers in any sense? Or is it impossible because the $i$ is required for Hermitian operators?

I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier?


Hidy ho all,  I have this old crappy smart phone, and I wanted to try and get another OS on it, and see if it ran better.  Its currently running Android 4.1.2, and (last time I checked) had an unlocked boot loader.  Mind you, this was years ago, and I can't even remember how to check nowadays.  If you don't want to look up the specs, I have some of them here: Alcatel Onetouch 5020n 512Mb of RAM 1.0 GHz Cortex-A9 (Dual Core processor) 4 GB of internal space (of which, 2 are available to the user)  If I read correctly, these are the minimum specs for the OS.  But again, my memory could be failing me.  So, simple enough question.  Can my phone run this operating system?  And, if so, where should one look for installing an new operating system on an old phone?

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


I need to write a code in java that goes through a multiple choice story, but I am having trouble getting my code to read the user input and have it continue the story. Hers the code I have written so far. (I think the line spacing in the code is correct if not I'm sorry it might have gotten messed up when I put my code here) import java.util.Scanner; class Main {   public static void main(String[] args) {     Scanner sc = new Scanner(System.in);            System.out.println("Wlelcome to survive The desert. Made by Thomas Reinhardt"); // The first choice for the user      System.out.println("You find your self stranded in the desert. you need to find food and water quickly. Right now you have two opptions:");     System.out.println("(A): Travle to what looks like an oasis in the didstance:");     System.out.println("(B): keep exploring to find something else");     String choice = sc.nextLine(); // evaluating the useres first choice  // if the user passes the first choice      if (choice == "A")         {         System.out.println("You find water and are able to survive the night");         System.out.println("");         // making the second choice          System.out.println("Its now the next day. you find your self felling hungry you need food.");          System.out.println("(C) stay at the oasis and wait for a food sorce to come");          System.out.println("(D) Go out and serch for some food");         String choiceTwo = sc.nextLine();          // evaluating the second input         // if the user fails the second choice         if (choiceTwo == "C")         {             System.out.println("You wait at the oasis for days no food source arives you evetualuly  starve to death");         }         //if the user passes the second choice         if (choiceTwo == "D")         {             System.out.println("You find a fresh kill and was able to salvage some meat. you now have food. ");             // setting up the third choice             System.out.println("Now that you are back at the oasis you need to find a way to get saved");             System.out.println("(E) you can stay at the oasis and create a SOS signal at it: ");             System.out.println("(F) Trava; twords what looks like a small town in the distance");             String choiceThree = sc.nextLine();             //evaluates the third choice             // if the user passes the third choice             if (choiceThree == "E" )             {                 System.out.println("You built the SOS signal and help has finaly arived and you were saved");             }             // if the user fails the third choice             if (choiceThree == "F")             {                 System.out.println("You walk twords what you thought was a town but it just keeps getting farther away. The town was a halusination you end up wandering forever and evetualy die");             }         }         }     // the user fails the first choice     if (choice == "B")       {         System.out.println("You wander for hours and find nothing you die of sarvation");        }     } }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I'm travel from Cairo to Rome and from Rome to Amsterdam to Canada two transits in Europe is that need a transit visa? Or any kind of Visa for just to be inside the two airports? I'm a permanent Resident of Canada and I travel with my Egyptian passport.

I am travelling form Delhi (DEL) to San Francisco (SFO), I have to make a connection flight in Vienna that would take me to Frankfurt (FRA). My flight to SFO is from FRA, I have one ticket for entire journey and the flights are operated by Lufthansa or its subsidiaries.  Do I need a transit visa? My flight arrives at Vienna international airport and leaves from the same, and for second leg it arrives at Frankfurt international airport.  I asked this question as an addendum to my  but was advised to make a new post.  I hold Indian passport and valid US visa.


I wonder if someone can recommend a method for gridding elevation data in QGIS, GRASS or similar?   The elevation data I have is collected along 1m spaced lines at approximately 1 reading per second. So far I've tried inverse distance weighted, bicubic spline, and triangulation methods for the elevation data but all these produce a striping effect in the direction which the data is collected. I am not entirely sure that the error is due to the methods of gridding/interpolation I have been using. However, in tandem with the elevation data I am collecting a series of magnetic measurements (higher density), and these show no linear striping.

I want to convert vector contours to a DEM. From other posts, I wanted to use the Grass r.surf.contours tool.  Initially, I converted the vector contour layer to a rasterized contours using the rasterize (vector to raster) tool. The contours rasterized well but there was 0 values between them.  I have tried the Grass plugin but it isn't giving me good results.  I suspect it is because of the 0 values.   How do I strip these out?


Here is my proof so far: Want to show there is a unique positive number $b$ such that $b^k = a$. Define the set $A = \{x>0: x^k>a\}$ of numbers too big to be $k$-th root. $A$ is nonempty as $x = (1+a)$ is in $A$ as is min $(1+a)$ which $>a$ By definition of set $A$ is bounded below by $0$ so greatest lower bound characterisation of completeness implies $b= \inf A$ must exist. For each natural number $n$, there exists an belonging to A such that $b \le a < b+1/n$. Past here I need help with writing out the working. I then have to show $(an)^k$ tends to $b^k$ to conclude $b^k\geq  a$ and I am particularly unsure of this step. I then have to show $b^k\geq  a$ by contradiction. I assume $b^k > a$then $0$ $<a/b^k< 1$ so may choose $d <b/k(1-a/b^k)$ I then have to achieve a contradiction by choosing $b-d$ belonging to $A$. This will show $b^k = a $and then I have to prove there are no other positive kth roots

If a real number $a>0$ has an $n$th root, then it is unique: If $x^n=a=y^n$ (with $x$ and $y$ also positive), then $x=y$, because  $$x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+\cdots+xy^{n-2}+y^{n-1}),$$  and the factor on the right is positive. This also shows that $x^n<y^n$ if and only if $x<y$.  Now consider the set  $$S=\{x\mid x>0,\;x^n<a\}.$$  This is non-empty: If $a\geq1$, then $(\tfrac12)^n<a$; and if $a<1$, then $a^n<a$.  It's bounded above: If $a\geq1$, then $a^n\geq a$, so $a\not\in S$, and for any $x>a$, it follows that $x^n>a^n\geq a$, so $x\not\in S$. And if $a<1$, then $1^n>a$, so $1\not\in S$, and likewise for any $x>1$.  Therefore, $S$ has a supremum $M>0$. How can we show that $M^n=a$?     suggest that it's easy, but I don't see it.  We could define $\sqrt[n]{a}=\exp(\tfrac1n\ln(a))$, but I don't want to rely on transcendental functions to construct this simple algebraic function. And I don't want to refer to the Intermediate Value Theorem or continuity.    If $M^n<a$, then there is some number between these (for example $\frac{M^n+a}{2}$); if this could be written in the form $x^n$, then $M^n<x^n<a$ would imply $M<x\in S$ and contradict the definition of supremum. But how can we find such $x$? Maybe write $x=M+\varepsilon$ and use the binomial expansion...  Similarly, if $M^n>a$, and something between them could be written in the form $N^n$, then $N$ would be a smaller bound on $S$ than $M$, contradicting the definition of supremum. How can we find such $N$?


Proof that $\lim{a_n}=L$ when $n$ goes to infinity, then $\{a_n\}$ its a Cauchy Sequence  I start with this hypothesis  $\displaystyle\lim_{n \to\infty}{a_n}=L \Leftrightarrow{\forall{\epsilon}>0}$  $\exists{N}\in{\mathbb{N}}$ such that  $\forall{n}>N \left |{a_n-L}\right |< \epsilon$  The same its true fot any $m>N,\left |{a_m-L}\right |=\left |{L-a_m}\right |< \epsilon$  I will sum the inequalities but I havent any idea how do it... Help me please!!!

Question: Consider a metric space $(X,d)$  1) Show that if $x$ is a convergent sequence in $(X,d)$, then it is a Cauchy sequence in $(X,d)$.  Suppose $(X,d)$ is complete. Let $f\colon X \to X$ be a contraction, i.e., there exits a $\beta\in(0,1)$ such that, for all $x,y \in X$, we have $d( f(x) , f(y) )\le \beta d(x,y)$. Let $x_0\in X$. Define the sequence $x$ inductively by the formula $x_n=f(x_{n-1})$ for $n\in\mathbb{N}$.  2) Show that $x$ is a Cauchy sequence, and therefore convergent.  3) Show that a limit point of $x$, say $\alpha$, is a fixed point of $f$, i.e., $\alpha=f(\alpha)$.  4)Show that $f$ has a unique fixed point.  My try for part 1:  If $x$ is a convergent sequence in $(X,d)$ then there exists $x_0 \in X$ and $M \in \mathbb{R}$ such that for all $x \in X$, $d(x,x_0) \le M$  This implies $|x-x_0| \le M$ . This proves it is Cauchy sequence.


I have installed Ubuntu 20.04 alongside Windows 10. My battery lasts for more than 3.30 hours in Windows but in Ubuntu it lasts only 1.30 hours.

This question is present as a matter of historical interest.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages.   What tricks or tips do people have for getting an extra hour or two out of their batteries?


Assume $ E \subset \mathbb{R}$ is nonempty and bounded above. Define $F:\{-x:x\in E\}$. Prove that F is nonempty and bounded below and that $\inf F = - \sup E$.   Here's my rough proof:  F is nonempty because $-1 \in F$. I know for bounded below we need $ \exists \beta \in E$ such that $ x \geq \beta \  \forall X \in F$.   Other than this I'm not sure how to proceed. Any help would be much appreciated!  I understand there have been similar arguments made for proving inf(A)=-sup(-A), but I'm very confused now because it seems like I need to prove inf(-A)=-sup(A)

Let $S\subset \mathbb{R}$ which is bounded below. Let $x\in S$ such   that $-x\in -S$. Prove $\inf(S)=-\sup(-S).$   By definition a lower bound on $S\subset \mathbb{R}$ is a number $a\in \mathbb{R}$ such that $s\ge a$ for each $s\in S$. Since $S$ is non-empty and is bounded below then there exists an infimum. How can I continue this proof?


There are some cases in which a new user will only post questions. Those will not be in the proper format. If we try to change the contents to the proper coding format and then click the update button, it will show "Edits must be at least 6 characters; is there something else to improve in this post?" message. So what shall I do for this?

I tried to update a jQuery code block that was missing a curly brace. The code is incorrect, but I cannot edit it since changes under 6 characters are not allowed (at least at my level of rep?).  I understand why you don't want to allow minor copy-editing, and I agree that's fine for textual descriptions and regular writing, but 1 character can make a big difference in code.


Take the following sentence with punctuation purposefully omitted:  Do we have an Italian restaurant right next to the Video Outpost "Too"  Video Outpost "Too" is a proper title, specifically the name of a store. In American English, we are taught that when ending a quote, if said quote is at the end of a sentence, the final punctuation goes inside of the ending quotation mark, such as in the example below.  He said, "today is a nice day."  However, does this rule still apply when the quotation marks are not part of a quote but are a stylistic choice on the part of the name? More specifically, which of the two forms below is correct or most correct?  Do we have an Italian restaurant right next to the Video Outpost "Too"? Do we have an Italian restaurant right next to the Video Outpost "Too?"  Forgive me if this is a duplicate. I've found questions regarding actual quotes, but nothing for this particular situation. Edit: I would appreciate answers for both the American and British conventions, if possible. I believe this question will be of help to a wider audience if both conventions are provided, assuming there are multiple conventions. Edit 2: As  noted, this is similar to the question of whether punctuation goes inside or outside of quotation marks, however the  only covers cases when the quotation marks are used as markers of a quotation. This specific question refers to quote marks that are part of a proper name and are not used as quotation marks.

I have been/am being taught that end punctuation should always go inside quotes. For example, you are supposed to write:     Marvin thought it was "awful."   The problem is I do not see how does this make sense. Intuitively, I always wrote:     Marvin thought it was "awful".   as that makes more logical sense — you want a quote to be an exact replication of what somebody else said, so why should you add punctuation inside?  I always thought it made more sense to not touch the quote and add anything after or before if it must be added.  So, why should I put end punctuation inside quotes?


Whenever I want to post a programming question, I'm tempted to post it on all four of the above SEs. What's the difference between them? The FAQs I find too skim.

There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.


Can I make a dual port USB HUB without a controller (parallel connection) it is only going to be used for a mouse and a keyboard. In other words will the Pc recognize them as 2 devices. Thanks

EDIT: @EugeneSh.  I ment how can I build a hub Double edit: Sorry everyone, I mentioned how can I build a USB hub...  I'm looking to build a very small USB Y splitter for my Nexus 7 2nd Gen so it has 2 USB ports. The reason why I'm not buying one from eBay (ect.) is because i don't want a cord and I want to build something like the "sugoi hub" mentioned below. I WAS going to buy a  but those things are nowhere to be found!  Anyways, do any of you guys have an easy wiring diagram for a (micro) USB 2.0 Y splitter?


I am writing someting in MS word and it underlines what I wrote in green which means it sees grammar mistake but i can not see it. Please help  The sentence is:  The larger the area, the more water to be drained.  What is wrong with this? if it is wrong can you write the correct sentence?

Is the following grammatically correct? My friend says the second sentence is grammatically incorrect, but couldn't explain why.     I have always been fascinated by statistics. The different ways in   which you could look at data and infer knowledge from it.


Show that there does not exist a function $f:\mathbb{Z}\to \{1,2,3\}$ satisfying $f(x)\neq f(y)$ for all $x,y\in \mathbb{Z}$ such that $|x-y|\in \{2,3,5\}$.  Proof: Suppose by contradiction that such function exists and denote it by $f(x)$. Let $f(0)=a, f(2)=b, f(5)=c$ and then $a\neq b, a\neq c, b\neq c$ and also $a,b,c\in \{1,2,3\}$ and WLOG we put that $a=1, b=2, c=3$.  Consider $f(3)$ and since $f(3)\neq 1, f(3)\neq 3$ then $f(3)=2$.  Similarly, considering $f(7)$ and since $f(7)\neq 2, f(7)\neq 3$ then $f(7)=1$.  Also $f(8)\neq f(3)=2, f(8)\neq f(5)=3$ then $f(8)=1$.    Also $f(6)\neq f(3)=2, f(6)\neq f(8)=1$ and hence $f(6)=3$.  Finally, examining $f(4)$ we see that $f(4)\neq f(2)=2$ and $f(4)\neq f(6)=3$ and so $f(4)=1$. But $f(4)\neq f(7)=1$ and here is a contradiction.  Is it suitable proof?

Show there does not exist a function $f:\mathbb{Z}\rightarrow \{1, 2, 3\}$ satisfying $f(x)\ne f(y)$ for all integers $x,y$ and $|x-y|\in\{2, 3, 5\}$.   This is taken from "Putnam and Beyond" and I cannot seem to understand why this cannot be true. I let $x$ be fixed and assigned $f(x)=1$, then assumed $f(y)=2, |x-y|=2.$ Then I proceeded to substitute $y-1$ and $y-3$ but did not get anywhere in finding a contradiction.  I am looking for comments about my approach and an explanation of the solution.


iCloud says "Password is wrong", but I think it's correct. How should I proceed?

iCloud says that my password is wrong - even though I know it's right.  Here's whats happened: Yesterday, I reset my iCloud password. Got the reset email, changed password. Tried to log in to the account, didn't accept it. I thought that maybe my finger had slipped typing in the password (twice). I called support, got the reset email.  Now, here's the really, really weird thing: I wanted to make sure I got the password right - so I typed my password into TextEdit, copied it into the reset fields and reset the password. After reseting it, I immediately went to icloud.com and tried to log in using the copied password from TextEdit. The passwords are the same. iCloud won't let me in.


I bought a new phone with Android 7.1.1 Nougat unlocked from Verizon. Since I bought it unlocked, I get a notification that says      No SIM found, Tap for more information.   It really irritates me because it takes up screen real-estate and I sometimes tap on it by accident. Is there any way to get rid of this notification? (Also the icon on the left side with a SIM card with a strike through it.) Thanks!

I recently changed to a newer phone and currently using my old android phone as a sort of "ipod". However, it always shows the message that there is no sim card. I know this is just an annoyance but is there anyway to disable it? I am rooted running a custom sense 4 rom on ICS. Is there anything I could flash to remove this message? Or disable the cellular radio completely?   Screenshot (click for larger variant)


Is it possible to have a section-wise Table of Contents in the article class?

How can one have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter?


If I wire a large amount of money from an online exchange to my bank account, will it get reported to the IRS? The money is coming from a Crypto trading exchange. Edit: this question is not related to the 2013 loan question answered below.

After researching online, I found many websites that said wire transfers are not reported to the IRS, but others said that they were reported. I just want to make sure that I do not have to pay taxes on a loan. I am planning on depositing this loan in a traditional brokerage account for investment purposes and I hope that the only time I need to pay taxes is when I sell the securities that I end up buying.   Are there any pitfalls that I should watch out for as far as taxes go by receiving a loan as a wire transfer? Also, how would I report capital gains on trades that I have made? Do I actually have to send every single trade I make to the government and show profits and losses on each trade?


Please tell me how to use the positive question form of passive voice of the tense- Present perfect Continuous Tense?  The Positive Answer form could be as "I have been being taught". (Here, I am the student). I want to make a question from this tense in passive form. Please help me.

Can the passive voice be used for sentences in the present perfect continuous?  I understand the present perfect and its passive voice (have/has built, has been built). However, the passive voice of present perfect continuous is unclear:   Active: They have been building this house for years. Passive: ???   I have seen suggestions of “This house has been being built for years,” but it sounds awkward and I don't recall anywhere else where two be verbs follow one another. Is this the right form to use?


Ok, so this is something completely stupid but this is something I simply never learned to do and its a hassle.  How do I specify a string that does not contain a sequence of other characters.  For example I want to match all lines that do NOT end in '.config'  I would think that I could just do  .*[^(\.config)]$   but this doesn't work (why not?)  I know I can do  .*[^\.][^c][^o][^n][^f][^i][^g]$   but please please please tell me that there is a better way

I know it's possible to match a word and then reverse the matches using other tools (e.g. grep -v). However, is it possible to match lines that do not contain a specific word, e.g. hede, using a regular expression?   Input:  hoho hihi haha hede   Code:  grep "<Regex for 'doesn't contain hede'>" input   Desired output:  hoho hihi haha


I'm in a multivariable calculus course and I quite struggle with proofs where to show that something is not a sub-manifold. As you can't use the pre-image theorem, can someone please explain a relative solid "method" to start such a proof.  For example for this sub-manifold M ={(x,y)∈ R^2 |xy=0}  Thank you very much in advance.

As a subset of $\mathbb{R}^2$ the equation $xy=0$ is the union of $x=0$ and $y=0$.  That is two lines. This is an algebraic variety. Why is this not a manifold?


I installed ubuntu-restricted-extras manually (after downloading its compressed packed and then using command, not online).  After installing the same, whenever I open Ubuntu-Software-Center, a pop-up appears showing:     "Items cannot be installed or removed until the package catalog is repaired. Do you want to repair it now?"   It is irritating me too much as it is preventing from downloading and installing other softwares.  Please, tell me how can I remove or uninstall ubuntu-restricted-extras because everything was fine before it and I really dont need such extras package.  Please  Thanks...

I'm new to Ubuntu, it looks like it is better than Windows. Last day I tried to install Kget (the download manager) but during the process my computer suddenly stopped working. So I had to switch it off. After I logged into Ubuntu again I can't install any program. The Ubuntu Software Center says:  Items cannot be installed or removed until package catalog is repaired. Do you want to repair it now?   After I clicked repair it says (after few seconds):  Package operation fails - The installation or removal of a software package failed   I've tried several times, but the same problem occurred. Can anyone tell me a solution for this problem?


My animation keeps rendering the video editor place not the animation area.  If someone could help me that would be great.

Blender is rendering an older version of my project, not the most recent one. I have made it using the Blender Render but it does not want to render in cycles either. A black and grey screen is rendered as if everything is transparent. Checked general camera, lighting and compute devises in case I messed something up but I can't find anything. All my textures and objects look normal, does anybody know what is wrong or what to check?  Ok added link:


I have never seen this problem before unfortunately, until I came across in a past paper.     Prove that a finite set has exactly one Hausdorff topology.   My approach was first to actually assume that there are two distinct topologies $\tau_1,\tau_2$ such that $(X,\tau_1),(X,\tau_2)$ are Hausdorff topologies. Then my aim is to somehow show that elements of each topologies are exactly the same for it to be Hausdorff but I am already stuck here and I don't have any other ideas to tackle this.  Does anyone have a solution to this?

It's these type of questions that I don't know what approach to even take. Which is stressful in an exam condition. My first thought was, well, why not assume there are at least two different topologies that are Hausdorff on $X$?  Say $\tau_1,\tau_2$ are distinct topologies on $X$ with the Hausdorff property. Say we pick some distinct $x,y \in X$ such that $\exists U_1,V_1 \in \tau_1$ that are open and disjoint, by Hausdorffness. We pick $x,y$ so that $U_1$ or $V_1$ is not open in $X$ with $\tau_2$. We can find such $x,y$ since we assume $\tau_1,\tau_2$ are different topologies therefore at least one subset in $X$ considered open in one is not in the other. By Hausdorffness of $\tau_2$ we can also find open disjoint sets $U_2,V_2 \in \tau_2$ such that $x \in U_2$ and $y \in V_2$.  Here's where I start running out of ideas  Perhaps take the intersection? $U_1 \cap U_2 \neq \phi$...$V_1 \cap V_2 \neq \phi$.  Then it stops. No idea what and how these will help me. At this point I am not sure if my approach was utterly pointless in the first place assuming two distinct Hausdorff topologies...or I'm kind of in the right direction but not seeing what properties to look at? I am trying to look for some contradiction but well, so far, nothing seems to be out of control, everything seems fine to have at least two different Hausdorff topologies on a finite set...so, why not? Can someone prove this...?


If $(a_n)$ is a decreasing sequence of strictly positive numbers and if $\sum{a_n}$ is convergent, show that $\lim{na_n}=0$  Since $(a_n)$ is decreasing and bounded below, by Monotonic Convergence Theorem, $(a_n)$ converges. So, there exists $N$ such that $|a_n-L|< \epsilon$   Since $\sum{a_n}$ is convergent, by the Divergence test, we have $\lim_n{a_n}=0$, which means there exists $N$ such that $|a_n-0|< \epsilon$  Then I get stuck at here.  I try to figure out the statement's meaning by inserting some examples, like $a_n=\dfrac{1}{n^2}$  Can anyone guide me on this question?

I'm studying for qualifying exams and ran into this problem.  Show that if $\{a_n\}$ is a nonincreasing sequence of positive real numbers such that $\sum_n a_n$ converges, then $\lim_{n \rightarrow \infty} n a_n = 0$.  Using the definition of the limit, this is equivalent to showing \begin{equation} \forall \varepsilon > 0 \; \exists n_0 \text{ such that } |n a_n| < \varepsilon \; \forall n > n_0 \end{equation} or \begin{equation} \forall \varepsilon > 0 \; \exists n_0 \text{ such that } a_n < \frac{\varepsilon}{n} \; \forall n > n_0 \end{equation} Basically, the terms must be bounded by the harmonic series. Thanks, I'm really stuck on this seemingly simple problem!


I have two date strings in DDMMYYYY format. say startdate="18/02/2013" and enddate ="26/02/2013".  How can I compare these dates. I want enddate to be greater than or equal to startdate Thanks for Your Time.

Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.


hello i try to restart apache2 with command service apache2 restart and it's give me this :  Restarting web server apache2                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1.  Set the 'ServerName' directive globally to suppress this message   "" Please i need help whit thsi !!!!!

When I restart my Apache server using the command  sudo /etc/init.d/apache2 restart   I get the following error:  Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName   Is the server using 127.0.1.1 instead of 127.0.0.1? What causes this error?


I'm a new D&D player (playing for a month exactly) and we're starting a new campaign at lvl 3. I undestand the basics of a wizard since I played a blaster Wiz on my first campaign, but I'm definately not an expert on building a more complex one.  Now I'm looking for a Wizard that can come up to a melee fight. I've searched and found Eldritch Knight, but I don't know how he applies in-game. My rolls are pretty good (compared to the last one) so I would love to not mess up this one. Since my race is Favored,   I've been considering to take Wiz 5, Fighter 1, and go for Eldritch Knight on the remaining levels.  Now I got some questions:  1 - When I get Fighter 1, I get proficiency with Light Armors, does it still punishes me on arcane failure %?  2 - I like the concept of using Scythes, is this an acceptable weapon or pure garbage?  3 - Is the Eldritch option good enough to not make me cry for my useless Wizard later?  4 - If there's not any good "melee" Wiz class in the game, what other prestige classes would you recommend to take a look? (feats and specialization would also be appreciated.  Thanks for the help!

What is the best class or classes in 3.5e to build a character that uses both a sword and either arcane magic or psionics which can be fluffed as arcane magic and focuses on fighting powerful individual creatures?    I have a foundness for those that can sling spell along with blade, like Dak'kon from Planescape: Torment.  So, given that, how do I make the best Gishy character I can?  Specifically, the group is looking for a character focused on delivering high damage or other debilitating effects to an individual target.  There is no need to balance sword and magic, though I would prefer to have the melee abilities remain at least relevant through at least mid-levels.  This question:  is related.  But I am specifically looking to optimize for high targeted damage output and have no need to balance between sword and spell if focusing on one is more effective.  I have considered the duskblade and that may be the best answer, but as I have limited experience with 3.5 I want to find out if I should use a pure duskblade, a duskblade which steps into other classes, or some other class I have not considered.  In this particular case, the characters will start at level 7, and equipment rules are liberal as long as the characters can afford it.  I'm not sure how long this will last so I am focused on the next few levels instead of trying to plan all the way out to 20.  It will be a party of 5.  Not all of the rest of the characters have been fully fleshed out, but we will have a cleric and a wizard.  The other two are more up in the air but they one is looking at various rogue classes and the other is looking at some sort of melee class, with this gishy rounding out the team.  The initial encounter is up in the air, but there is a definite fondness for gryphons.  We do know that we will be working up to dragon in relatively short order, which is a factor in wanting to focus on large damage output to individual creatures as opposed to being able to deal with numerous weaker creatures.  The setting is "modified Forgotten Realms".    I personally own absolutely no 3.5 books, but we have access to a fair bit and just about anything from WoTC is permitted.  I am new to 3.5, but I have a fair bit of roleplaying experience including AD&D.    Thematically, I envision the character as a generally honorable, but working as a monster hunter and mercenary.  I definitely favor swords though specifically which sword is flexible.  Dak'kon from Planescape would be an excellent example of what I would like to build, as would The Witcher.  Based on Kryan's excellent answer, it seems to be leading up to using duskblade and a specialist wizard to lead into Abjurant Champion.


I was very pleased to find the addition of a yellow duck to the stack overflow pages, that promised to help.  Unfortunately I told it that I would hate it not considering the impact my behaviour would have on the life of the duck: I made it cry.   Now I would like to bring it back to say sorry. But how do I do that?

I accidentally disabled Quack Overflow after asking it one question. How do I reenable it?


$X, Y$ and $Z$ are non-empty sets. $f : X \to Y$ and $g: Y \to Z$ are functions.   Prove that $f$ is surjective, if $g$ is injective and $g \circ f$ is surjective.  I'm aware of the surjective and injective definitions, but how would I prove that $f$ is surjective under the given conditions?

Let $f : A \to B$ and $g : B \to C$ be functions such that $g\circ f: A \to C$ is a surjection and $g$ is an injection , Then prove that $f$ is a surjection.  Since $g$ is a function $\forall y \in B$ we have $$g(y)=z \tag{1}$$ for some $z \in C$  Since $g\circ f$ is a surjection $\forall z \in C \exists x \in A$ such that $$g\circ f(x)=z$$ that is  $$g(f(x))=z \tag{2}$$  from $(1)$ and $(2)$ we have  $$g(y)=g(f(x))$$ and since $g$ is an injection we get  $$f(x)=y$$ so $f$ is surjective.  Is my proof correct?


Okay so my phone was stolen and is off locations off whatever can't track. But I do know who stole it and I do have his number is there a way to track his phone?

I realize this is a long shot, but my phone was lost or stolen a few hours ago.  At the time it was stolen, I didn't have any specific applications installed to track it or wipe the data. So... my bad. I'm hoping the fact that I have a pattern lock will at least prevent anyone from accessing my data.  My question is, do I have any options for tracking or data wipe after the fact? (I'm more interested in tracking.)  Note: I have read similar questions, but unless I'm mistaken, they all address the question in terms of preparation before losing the phone. I'm asking about fallback options after losing the phone.


I have the following table schema;  CREATE TABLE LOCKS (     lock_uid INTEGER NOT NULL,     file_uid VARCHAR2(32 char) NOT NULL UNIQUE,     owner VARCHAR2(255 char) NOT NULL,     expires DATE NOT NULL,     PRIMARY KEY (lock_uid),     FOREIGN KEY (owner) REFERENCES user(username) );   The table is responsible for recording file locks that users of my application might hold on files in the system. The unique constraint on the file_uid column will prevent more than one lock being held for any file.   I would like some advice on how to allow people to obtain a lock on a file when there is already a lock on the file, but it has expired (ie, expires < sysdate).  My initial thought is to use a trigger on insert so that if there are any file locks that have expired in the table, it will remove them before trying to insert the new lock. This will prevent the duplicate key constraint violation which would occur otherwise.  Can anyone think of a better way? Ideally I would enforce this purely via declarative constraints on the table but it doesn't seem possible.

I want to link two tables in such a way that for any given time period the relationship is one-to-one, but over time the relationship can change.  As an minimal example, suppose I want to list the leaders of various countries in a database that tracks many politicians, including those in positions other than 'leader'. I can create a table of politicians, and a table of countries, like so:  CREATE TABLE politician (   id integer unsigned NOT NULL,   name varchar(45) NOT NULL,   PRIMARY KEY (id) );  CREATE TABLE country (   id integer unsigned NOT NULL,   name varchar(45) NOT NULL,   PRIMARY KEY (id) );   Now, if every country had only a single leader forever, I could just link these with a table such as:  CREATE TABLE country_leader (   countryid integer unsigned NOT NULL,   leaderid integer unsigned NOT NULL,   PRIMARY KEY (countryid, leaderid),   KEY fk_countryleader_country_idx (countryid),   KEY fk_countryleader_politician_idx (leaderid),   CONSTRAINT fk_countryleader_country FOREIGN KEY (countryid) REFERENCES country (id) ON DELETE NO ACTION ON UPDATE NO ACTION,   CONSTRAINT fk_countryleader_politician FOREIGN KEY (leaderid) REFERENCES politician (id) ON DELETE NO ACTION ON UPDATE NO ACTION );   However, this situation obviously isn't the case, because existing leaders are sometimes re-elected (possibly even with some time between two different terms in office), and when they aren't then new leaders take over. So I think that a better link table would look something like this:  CREATE TABLE country_leader (   countryid integer unsigned NOT NULL,   leaderid integer unsigned NOT NULL,   termstart date NOT NULL,   termend date NOT NULL,   PRIMARY KEY (???),   CONSTRAINT ???,   .... );   So my question is, what is the best way to fill in the missing PK and constraint information in the junction table country_leader? Or should I be using a different approach to solve this problem?


I've been working on a retro game, and I was wondering whether I could change the Unity logo to make it fit the game's style (eg. pixelating the logo). I know how to do this, but my question is whether it is illegal, assuming I have a Plus, Pro, or Enterprise licence for Unity that allows me to edit this splash screen at all.

While using Unity I export an Android game as an APK. When the APK is run, the first thing that is displayed is the Unity splash screen. I worked out that I could replaced that image by opening the APK like a zip file, looking for the splash screen image  (App.apk/assests/bin/Data/splash.png) and replacing it with any image I wanted.  Is it legal to publish Unity-powered Android game apps with modified splash screens like this? I remember that some games on PS3, 360 and Wii have been created with Unity but don't display a Unity splash screen when run on their respective consoles.


A friend of mine owns a minecraft realms server and I can't join.   It says:Minecraft authetication servers are down for maintenance". But the weird thing is that some friends are on the server ,playing. Is that normal? Do I have to wait out?

When I try to play multiplayer I type in the only server I know, which the game says was right, then click Play and it loads. Then it says Can't connect to server: bad log in. How can I fix this?


Okay, I am typesetting something where there is snippets from something that is typewritten and something that is a medieval manuscript. Naturally, I think it would be funny to mimic those looks. Here's what I have so far:   \documentclass{memoir} \usepackage[T1]{fontenc} \usepackage{aurical} \usepackage{mdframed} \definecolor{light-gray}{gray}{0.95}  % The environments  %% Typewriter page \newenvironment{ttenv} {\begin{mdframed}[innerleftmargin=1.5cm,innerrightmargin=1.5cm,innertopmargin=2em,backgroundcolor=light-gray]\ttfamily} {\vspace{2em}\par\end{mdframed}}  %% Ancient manuscript \newenvironment{sigsand} {\begin{mdframed}[innerleftmargin=1.5cm,innerrightmargin=1.5cm,innertopmargin=1em,backgroundcolor=light-gray]\Fontauri} {\vspace{2em}\par\end{mdframed}}  \begin{document}  \begin{ttenv} This is the faux typewriter page! \end{ttenv}  \begin{sigsand} This is the faux ancient manuscript page! \end{sigsand}  \end{document}   The results are not horrible:     ... but I sure feel they could be better. My questions are:    How can I make the writing was a bit uneven, especially for the "manuscript"? - How can I make the pages appear less flat?  How can I make the edges of the "papers" a little jagged, especially for the "manuscript" one?   I'm open for ideas, also!

[See  for more on this topic, as well as better illustrations of the final product.]  I have a document with a lot of short excerpts from another book scattered through it.  Putting frames around them looks a little too 'clean'. How can I get a 'torn page' type effect, to make it look as if the excerpt has been physically torn out of a book?  (I've occasionally seen this done in printed books, although I can't find an example right now.)  I'm not wedded to a very specific look here --  gives plenty of examples. But just to give this some frame of reference, here are some of the nicer ones:          (The strong colouration in this second example is a probably a little too distracting for actual use, although it might be interesting as an option. It's more the edge effect I'm interested in.)    Edit (again): I tried typesetting my text according to the updated versions of the answers below. Here are the results:    Or with interpolated shading:


Unable to install vs code showing status-code=409 kind= snap-change-cnflict massage=snaop "code" has"install snap" change in progress, plz guide for complete installation !

I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example "vlc"):     unable to install "vlc": snap "vlc" has "install-snap" change in progress   I hope somebody can tell me what I've done wrong.


I know that to learn and to study work differently in non-continuous tenses. I learnt English doesn't mean I studied English. But what about the present? I hear people say "I learn English every day". Does it make sense? Or should it be "I study English every day"? Does the sentence with "learn" sound as if I learned all of the English language but forgot it during the night and learned it again the next day?

There is a picture of a boy who is in class. In the picture the teacher is dictating a text, and the boy is writing it down.  The children are asked to describe this picture in one sentence: (What's he doing?) - He is...  Which verb is correct here, learn or study? Or both are correct? (The children don't know the difference between these two words yet, but they know that "to learn" means 'to get knowledge or skill' and "school" is a place where they gain more knowledge.)      To learn – to gain knowledge or skill by studying, practicing, being   taught, or experiencing something.      To study – to read, memorize facts, attend school, etc., in order to   learn about a subject.


Does $\sum_{k=0}^\infty \frac{(2k)!}{(k!)^2}\cdot\frac{1}{4^k}$ converge or diverge. I tried to test this with the comparison test but I am stuck because I don't know if $(k!)^2 <(2k)!$ holds for all integers k.

I would like to check if the series $\sum_{m=0}^{\infty}  {2m\choose m} \frac{1}{4^{m}} $ converges or diverges. The ratio test is inconclusive. Any other way to proceed? Thanks.


(In Universe Answers Only)  If you notice in most of the Star Wars galaxy most Jedi carry only ONE lightsaber while some carry two. My question is really nitpicky but it makes me wonder: If lightsaber are so rare why do some Jedi carry two while others only carry 1? Wouldn't it be prudent to have "spare" on your belt?

While I've seen Ahsoko Tano, in The Clone Wars, fight with two lightsabers (one in each hand), this seems to be extremely rare for Jedi.  We've seen Sith do this frequently, like Asajj Ventress, with two lightsabers.  Darth Maul used a dual lightsaber against Qui-Gon Jinn and Obi-Wan Kenobi and then there's General Grievous, who uses multiple lightsabers with his multiple limbs.  But most Jedi use just one blade, and their lightsaber hilts tend to be simple, just a straight cylinder without much adornment, while Sith sometimes use curved grips or other more exotic stylings.  Is there a reason Jedi stick with the simplest lightsaber designs and why the vast majority (at least in the movies and in The Clone Wars series) use only a single lightsaber?


One could use -v to exclude a single word from a file, but I'm wondering why the regex pattern ?! is not working with grep/egrep.  I was searching for a pattern to exclude a single word from my search in a file in atom editor and found  link. The ?! works perfectly in atom. In bash I had to turn off histexpand with set +H first, otherwise you get -bash: !xxx: event not found as !pattern searches the history. After that I tried stuff like echo "no" | grep "^(?!yes).*", but grep does somehow not recognize the ?! pattern - why is that so?

I wrote a regular expression which works well in a certain program (grep, sed, awk, perl, python, ruby, ksh, bash, zsh, find, emacs, vi, vim, gedit, …). But when I use it in a different program (or on a different unix variant), it stops matching. Why?


This is an example from Linear Algebra Done Right by Axler:  Suppose that $U = \{(x, x, y, y) \in F^4 : x, y \in F\}$ and $W = \{(x, x, x, y) \in F^4 : x, y \in F\}$ Then $U + W = \{(x, x, y, z) \in F^4 : x, y, z \in F\}$  I don't understand how $U$ and $W$ sum to that. Can someone explain how this conclusion came about? Thank you!

Suppose that we have a vector space $V$ and the subspaces $U=\{(x,x,y,y)\in F^4:x,y\in F\}$ and $W=\{(x,x,x,y)\in F^4:x,y\in F\}$. Then how comes $$U+W=\{(x,x,y,z)\in F^4:x,y,z\in F\}?$$


I'm trying to sort a list of words alphabetically but without using sort(). Something like this: list = ['shrek', 'shark', 'ship']  Would have to look like this: newList = ['shark', 'ship', 'shrek']

What is the best way of creating an alphabetically sorted list in Python?


There is an idiom "говорящая фамилия" in Russian("speaking surname"). This means a last name that has a meaning. We could translate, for example, "Иван Кошкин" to "Ivan Cat". Is there a similar idiom in English?  A little bit of IT. My first problem is to come up with a name for a test method of the feature: I have an object class User   + name   + username   fill this object automatically. Faker guesses what data should be set in the property by its name. So the property "name" is filled with the value "Jhon"  and "username" is filled with the value "crazy-login-name". This feature is called "name guesser". I wanted to call the test "fill by speaking names", but it could be silly. I've got around this problem, but it is still interesting.

How to translate the Russian phrase 'говорящая фамилия'? It's literally translated as "speaking surname" and refers to last names that reflect the person's quality. For example, if a short man is named "John Little" the last name is a "speaking surname", in Russian terms. It (the adjective) can be used not only with surnames, with any names, basically (of inanimate things as well).


I have a binary classifier for a highly imbalanced multivariate time series.   I use an LSTM Network to predict the next time step and use the prediction error to decide whether a data point is an anomaly or not. In addition, I have the advantage of being able to train my Network on a data set that contains only negative cases.  I have a training and validation set for the network and a test set for the final classification. The positive class makes up ~1% of the test data (~20/2000). The use case where I have suffers from the chance of being abandoned if the network results in too many false positives. So it is more like finding a needle in a haystack.  My PR-AUC is stuck at around 0.05 to 0.10. I currently use the PR-Curve to select the threshold where the F1-Score is highest. The model with the highest PR-AUC returns a result which is somewhat close to what I want (5TP, 10 FP).  So what is a "good" PR-AUC score given a highly unbalanced data set? How can I interpret that?  Can I perform undersampling on the test data which I only use to make predictions and classify the observations based on the prediction error?

I've fitted my model and am trying to understand whether it's any good. I've calculated the recommended metrics to assess it ($R^2$/ AUC / accuracy / prediction error / etc) but do not know how to interpret them. In short, how do I tell if my model is any good based on the metric? Is an $R^2$ of 0.6 (for example) sufficient to let me proceed to draw inferences or base scientific/business decisions?     This question is intentionally broad, to cover a wide variety of situations that members frequently encounter; such questions could be closed as duplicates of this one. Edits to broaden the scope beyond the metrics mentioned here are welcome, as are additional answers - particularly those that offer insight about other classes of metrics.


I was making a map that will also go to the nether but it was in the lava so I dug up and I lost my portal, i'm near it but don't know where it is and also I didn't do spawn point.

No, actually I didn't, but that was a close call and I'm really curious how would one go about that one.  On my third or fourth visit to the Nether, I still didn't realize the risk, and didn't place marks that would help me get back to the origin (currently I like to use flint and iron to create big flaming arrows towards the exit, visible from afar.) I wandered past one hill, and then I couldn't locate the place I came from. I wisened up and started placing marks in form of torches, towers of netherrack with glowstones on top etc. The bunch of wood I had in my stash has proven invaluable as I ran out of steaks, and had to craft a bowl and start making mushroom soup. I realized the fastest way back would be to simply die, but since I had no clue where I was, that would mean losing my quite precious equipment, which cost me a lot of time and effort to gather and enchant, for that trip specifically. I also knew I had traveled rather far from the portal before starting placing marks, so the chances of finding it again by going in any random direction were rather slim.  By sheer luck I found one of the caverns I had explored before, and found my way back, but that was really a close call and I'd prefer to know any hints what to do in Nether if you're already lost (no Obsidian to build a new portal, not willing to die and forgot the direction to the exit.)


For every positive integer prove that$$n^7 -n$$ is divisible by 7  My turn : Let $$k^7 -k = 7m$$ Now i will try to prove that $$(k+1)^7 -(k+1) = 7p$$  $$(k+1)((k+1)^6 -1)$$ but i stopped here !  What should i do ?

I have to prove this : "$n^7-n$ is a multiple of 7". This is what I have done this so far :  $P(n):n^7-n$ On putting $n=1,$ $P(1):1^7-1=0$, which is a multiple of 7. So, $P(1)$ is true. Let $P(k)$ be a multiple of 7. So, $k^7-k$ is a multiple of 7. So, $k^7-k=7m$, where $m$ is any natural number. Let $P(k+1)$ be true, Hence, $(k+1)^7-(k+1)$ is a multiple of 7.  Now, how do I evaluate $(k+1)^7$ without using the binomial theorem ? Or is there some other way to do it ?


I'm going from Morocco to USA via Paris and I will have to change terminals and pick up and check in my luggage between flights. Do I need a transit visa in Paris even if I have a valid US visa?

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I have a report running in UNIX and creating a file named xxxx_ddmmyy_hhmm_zzzzzz.txt. I need to remove the zzzzzz from the file name.   How do I do it?

I have a directory full of images:  image0001.png image0002.png image0003.png ...   And I would like a one-liner to rename them to (say).  0001.png 0002.png 0003.png ...   How do I do this?


For the function $f(x) = |x| + x$, how can one prove that it is not differentiable at the point $x = 0$? Specifically, I wish to use the Definition of the Derivative   $$\lim_{\Delta x \to 0}\frac{f(x + \Delta x) - f(x)}{\Delta x}$$  to attain two non-equal limiting values by taking $\Delta x$ to be first positive, and then negative.  It was my original thought to rewrite $f(x)$ as   $$ f(x) = \begin{cases}  2x&\text{if}\, x\geq 0\\  0&\text{if}\, x < 0 \end{cases} $$  and then take the derivative for each separate case and show that they aren't equal, but I wish to use the above definition with both a positive and a negative $\Delta x$, and so the cases method would fall out of line with that.  Thank you.

Problem : Given $f(x) = x + |x|$ for what values of $x$ is $f$ differentiable?   For the sake of generality, let's assume that it is unknown to us that $|x|$ is not differentiable at $x = 0$  Attempted Solution :  Using the definition of differentiability, a function is differentiable over an interval $I$ $\text{iff}$  $$f'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}, \ \ \forall x\in I$$  Now implicitly this definition of differentiability requires $$\lim_{h\to 0^+} \frac{f(x+h)-f(x)}{h} = \lim_{h\to 0^-} \frac{f(x+h)-f(x)}{h}$$  Therefore $f$ will be differentiable only when  $$\lim_{h\to 0^+} \frac{(x + h + |x+h|)-(x + |x|)}{h} = \lim_{h\to 0^-} \frac{(x - h + |x-h|)-(x + |x|)}{h}$$  But it is unclear what to do next as $x$ is just arbitrary $$ \begin{equation} \begin{aligned} |x+h| &= \begin{cases}x+h & \text{if} & x \geq -h\\ -x-h & \text{if} & x < -h \end{cases} \\ &= \begin{cases}x+h & \text{if} & x \geq 0\\ -x-h & \text{if} & x < 0 \end{cases} \end{aligned} \end{equation}$$    A Wrong Solution :  We could take the derivative of $f$, (and evaluate the domain of the derivative $f'(x)$ to values for which it is defined), using the rules of differentiation, but we would get a wrong answer.  $$f'(x) = \frac{|x| + x}{|x|}$$ $$\implies f'(x) = \begin{cases} 2 & \text{if} & x \geq 0 \\ 0 & \text{if} & x < 0 \end{cases}$$  This implies the derivative $f'(0)$ exists, when it does not as per the definition of differentiability. Why is that so?    Questions:   How can a solution be found using the definition of differentiablity? Why does taking the derivative of $f$, $f'(x)$ and evaluating it's domain, not give the correct values of $x$ for which $f$ is differentiable?


Are the groups $(\Bbb Q^2,+)$ and $(\Bbb Q,+)$ isomorphic ?   I don't know how to proceed because I am getting all the structural  properties same.  Can I get some help?

Is easy to show that $\mathbb{R}$ is isomorphic to $\mathbb{R}^n$ as $\mathbb{Q}$-vector spaces and then $(\mathbb{R},+)$ is isomorphic to $(\mathbb{R}^n,+)$ as abelian groups. This result might suggest that we also have $(\mathbb{Q},+) \cong (\mathbb{Q}^n,+)$ as abelian groups, but a similar approach to this dosen't work.  How can I prove or disprove this?


I have a series of bus routes with the frequency/hour attached in QGIS.  The idea is to combine the frequencies on routes with more than one bus to have an overall bus frequency for the sections of road the buses share.  Is there a method to do this short of manually selecting routes?

I want to appropriate line segments that share the same geometry with a particular line width and labels based on the aggregated values of one field "GIS@BUS_5_Min".  My attribute table and polyline objects look as following, see image below   "BUSLINIE" means a bus line, "Overlap" means if the line has overlaps, i.e. it's geometry repeats.  Values of the field "GIS@BUS_5_Min" for these three objects has to be aggregated as one value and represented as a label sum("GIS@BUS_5_Min").  And the width of this line (selected in yellow) will be sum("GIS@BUS_5_Min")/100 = 19.10/100 = 0.1910  How can I achieve such output?  I assume it is possible with Layer Properties > Width > Data defined override > Edit..., but I do not know how to check the same geometry and how to sum the values of certain features with CASE WHEN condition THEN result END conditional function?  Dissolve function does not work in my case because I do not have any key-fields.    References:


My dad is travelling from Cayman Island to London Heathrow on may 6 arriving at terminal 5. He has a lay over for 26 hours and has a next flight going to Qatar, then Qatar to Philippines. I’ve read and research that the airside are not open 24 hrs so no matter what it takes he has step out & find somewhere to stay like hotels nearby the airport. To be able to do it he need to obtain a transit visa right? Can a transit visa be granted in the airport or at border control?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I want to set following HTML layout in my search form.
 <form>     <input class="sb-search-input" placeholder="Enter your search" type="search" value="" name="search" id="search">     <input class="sb-search-submit" type="submit" value="">     <img src="<?php echo $theme_path;?>/images/search_icon.png" alt=""> </form>     but when i render the form using module invoke i got all classes and divs that are associated with search block,i want the above HTML to be applied to my search block.

While nodes, comments, blocks and many other things in Drupal are themed using theme template files (like node.tpl.php), forms are a different story. There are no theme template files for forms. How can I get a particular form to use a custom theme template?


I withdrew money from my Roth IRA (let's say $5K in contributions and $6K in earnings) to buy a house, and then I didn't buy a house. Oops. How can I return or undo this withdrawal to avoid paying taxes and penalties at the end of the year?

I'm in the process of purchasing a home and I need to put 5% of the value down to be held in escrow until the deal closes. This money can then either be refunded back to myself or be rolled into the down-payment. I know that as a first time home buyer I can withdraw $10,000 without the 10% penalty, but the money has to be used within 180 days. In the event that the deal takes longer than expected (around 55 days from date of offer acceptance) or the deal falls through, how does the IRS treat the $10,000 that is still outstanding? Would it have to be immediately redeposited or could it be held in escrow until another deal goes through?


Why is it that the characters' faces do this at various points in the dialog and what is it meant to convey? I wonder if perhaps this is a Japanese culture or anime culture expression that I have not seen before?

Often in anime which features a character who wears glasses, when they take off their glasses, their eyes turn into a sort of puckered lip emoticon that looks like the number 3.    The meaning is fairly obvious, that the character looks drastically different or worse without their glasses on. But why is this icon used, specifically?


I am trying to create a thread for a specific task to run in another class. The thread is starting the task but when I try to stop the thread, it is not stopping. The thread continues till the loop. Could you please help me out.  Thread Class:  package com.development; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class ThreadExample extends JFrame {     MyThread mt;     Thread th;     ThreadExample(){                 JPanel p1 = new JPanel();         p1.setPreferredSize(new Dimension(400,400));         JButton b1 = new JButton("Start");         JButton b2 = new JButton("Stop");         b1.addActionListener(new ActionListener() {             @Override             public void actionPerformed(ActionEvent arg0) {                   mt = new MyThread();                   th = new Thread(mt);                  th.start();             }         });         b2.addActionListener(new ActionListener() {             @Override             public void actionPerformed(ActionEvent e) {                 th.interrupt();                            }         });         p1.add(b1);         p1.add(b2);         this.getContentPane().add(p1);         this.pack();         this.setVisible(true);     }     public static void main(String arg[]) {         ThreadExample mt = new ThreadExample();         mt.setVisible(true);     }     public class MyThread implements Runnable{         private volatile boolean runnable=true;         DisplayMsg dm = new DisplayMsg("Cycle");         @Override         public void run() {             while(!Thread.currentThread().isInterrupted()) {             // TODO Auto-generated method stub                dm.show();                              }             }     }     }   DisplayMsg class:  package com.development;  public class DisplayMsg {     private String dispMsg;      private boolean runnable;     DisplayMsg(String dispMsg){         this.dispMsg=dispMsg;     }     public void show() {         for(int t=0;t<100;t++) {                 try {             System.out.println(dispMsg + t);             Thread.sleep(1000);         } catch (InterruptedException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }         }     }    }

I'm in the process of writing a piece of code that connects to a server spawns a bunch of threads using that connection and does a bunch of "stuff".  There are certain instances where the connection fails and I need to stop everything and start from scratch with a new object.  I wanted to clean up after the object but calling thread.stop on the threads, but this method is seemingly deprecated.  What is the recommended alternative to doing this? Should I write my own cleanup and exit method for each of the threads? Set the thread to null? or something else?


I have read Help Center and immunity FAQ, but I still can't understand Community Wiki, I mean, isn't reputation the most important factor on this site, and by denying giving reputation to Community Wiki, it seems unfair. Why would SE create Community Wiki mode?

Some questions and answers are marked Community Wiki and are owned by a community wiki user:  (In fact, this very question is one of them)  Why have Community Wiki posts? How do Community Wiki posts work? How does a post become a Community Wiki post? How can the Community Wiki status be removed from a post? How can I find Community Wiki posts?


I read this great book a while ago and have not been able to find it since.  It's a space-opera novel involving a society in which a parasitic organism is planted in people who have died, reviving them but they're not the same once revived. I remember that on the back of the book it was advertised with a catchy quote "The dead are dying" because the parasite would eventually die itself as well so it didn't guarantee eternal life.  Not everyone got the parasite, you had to do something special to earn it. It also involved a female politician who was against the process because the life extension process was too heavy a burden on society. It also involved a war hero who underwent some horrendous torture as a POW. He and the politician hook up. The story also pulls in a woman warrior from an all-female society. This is probably enough information for anyone who has read this novel before and can remember the title or even the author would be enough.

While waiting to get onto a computer booked at the local library about 2 years ago, I picked up a sci-fi novel whose name and author I cannot recall and began reading.  Elements of the opening part of the book that I can recall.   A small squadron is trying to penetrate the defenses of an enemy power. It is mentioned they are traveling at an altitude of NN mm (which seemed odd at the time) They are swamped by autonomous flying defenders that hone in on the approaching craft and attack them (mostly by physically disassembling them in-flight). The pilots have a conversation in which it is revealed that this is not the first time they've attacked, and the defenses have improved over time. As each of the attacking craft are swamped the situation becomes more hopeless, until the last of the attackers is destroyed. It then turns out the pilots of the attack vehicles were at a far distant point, remotely operating micro/nano-machines..   That was mostly in the first chapter, as far as I read.  I'd guess it was written within the last 10 years (15 at the outside).  Can anyone identify this book & author?


I am a newbie to Ubuntu 18.04 LTS and I want to install Anbox. I am having trouble installing Anbox the way given in the current tutorials. my trouble is   $ sudo snap install --devmode --beta anbox error: snap "anbox" is not available on beta for this architecture (i386) but exists on other architectures (amd64).

I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from  . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic  Package Manager I can see that anbox-common & anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running   sudo snap install --edge --devmode anbox   and got this error:  error: cannot install "anbox": Get    https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list:    dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp    [::1]:54255->[::1]:53: read: connection refused   What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it.  ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux.


I use my bicycle in a typical urban commute setting. No extreme MTB, but it still accumulates some dust and grime.  How should I wash my bicycle?

I would like to wash my bike.   Which cautionary steps should I take?  Which parts of a Bike are water sensitive?  Which steps should I take after bike wash?


When I try to install updates from the update manager it says:  Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb   Size mismatch   I have tried several times and through terminal too but the size mismatch repeats itself there too. What is this size mismatch error?  I also tried sudo apt-get update and sudo apt-get upgrade, but the error comes again.  Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/x/xserver-xorg-video-intel/xserver-xorg-video-intel_2.15.901-1ubuntu2.1_i386.deb   Size mismatch   E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

After I installed Ubuntu , I cannot update any software with the error message "failed to download package files". After having googled, I have tried:   sudo apt-get update sudo apt-get upgrade changed to another sources   But I still got the same error message. And there is no problem with internet connection as i can connect to internet using Firefox in Ubuntu.  Any ideas?


How does the law of conservation of angular momentum apply to barrel rifling in firearms? I'm looking more for the effect it has on how the bullet flies.

I know the rifling in a gun or rifle puts a spin on the bullet along the axis of trajectory. Now I don’t understand exactly why does it make the trajectory more stable and allow for greater travel?


I have some quizzes for students. I want them to the the results immediately. I can configure it so that students can see there results immediately after submitting. However it would be good if it could give them the feedback after each question. How can I do this?    I would be happy to find a non-forms answer, as long as it is for google web-apps (as this is what we use at work).

I would like to use Google Forms to create a simple 5 question multiple choice quiz.  When the user has selected their answers and clicked Submit I would like to display immediate feedback on the same page. They should not be able to proceed until all of the answers are correct.  So let's say they answer 1 - 4 correct but 5 is incorrect, I'd like to display message along the lines of;     Are you sure? Try again.   Once they select the correct answer for number 5, they can then proceed to submit the form and the results are recorded as normal.  Basically, I don't want to record the results until all of the questions have been answered correctly.  Is this possible?


I have to prove this inequality.  $$\sqrt[n]{n} - 1 \lt \sqrt{\dfrac 2n} ~~\mbox{for}~~ n \gt 2$$  So far I reached this result:  $$n^{\dfrac {n+2}{n}} - n^{\dfrac {n+1}{n}} + n - n^{\dfrac {n+1}{n}} \lt 2$$

Prove that for any positive integer $n$,       $$n^{1/n}  < 1 + \sqrt{\frac{2}{n}}.$$   This due to Victor Linis, Eureka, Vol. 2, No. 2, February 1976, p. 29.   Hint:      Use the binomial theorem.


Possible Duplicate:          I'm running into a very annoying issue developing javascript for a UIWebView in an iPhone application.  If there is an error in the javascript, it silently fails and halts execution of the function it was running.  And some errors do not happen in a desktop browser, so all appears fine.  I then run it on an iPhone and get a massive failure as the function craps out half way through, and no idea why.  I then slowly and methodically comment out various lines of code until no catastrophic failures happen, in order to pinpoint the offending line of code.  This sucks.  So is there any way at all to get a UIWebView to log or report in anyway javascript errors?  They are obviously happening, I just don't know why or how, and it's making my life hard.

I need to have my iPhone Objective-C code catch Javascript errors in a UIWebView.  That includes uncaught exceptions, syntax errors when loading files, undefined variable references, etc.  This is for a development environment, so it doesn't need to be SDK-kosher.  In fact, it only really needs to work on the simulator.  I've already found used some of the hidden WebKit tricks to e.g. expose Obj-C objects to JS and to intercept alert popups, but this one is still eluding me.  [NOTE: after posting this I did find one way using a debugging delegate.  Is there a way with lower overhead, using the error console / web inspector?]


Ubuntu is my only OS. I recently downloaded many utilities for a lecture along with Visual Studio Code, and since then I have noticed unusual lag in my PC.   I cleared a lot of things using various tools like Bleach Bit and via terminal, yet, the lag still exists and opening applications is noticeably slower.      I have space in my /home partition, I do not know if it is possible to reallocate sizes; is it practical?  I cannot use the swap partition as then I will have to unmount other partitions which includes home and root.   Edit: after applying the following commands, here is the screenshot of

Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with  Install Now . Soon I got the following window.    Then I tried sudo apt-get clean as recommended. Nothing happened! Not even a window opened. Teach me deleting the temporary packages.   Deleting temporary files may not be highly helpful in case of further updates and installs for I don't have too much space left in my /. I wanna extend my / partition with the help of the unallocated space in my HD. The following is my Gparted window.       I got an answer . But it wasn't useful for me. I had two choices. But the answer wasn't working for both my chioces.  Choice 1: I may use the 4.25 GiB unallocated space to extend my /dev/sda10. To do so, I must need to move my linux-swap partition. But my Resize/Move option is disabled for the linux-swap partition. Choice 1 failed!   Choice 2: I may use the 14.35 GiB unallocated space instead. In this case I must move more than one partition. /dev/sda4  partition is the first on the list. Even that partition has the same problem. Resize/Move option is disabled. Choice 2 failed!  I am out of choices now.  What shall I do? Help me to extend my / with Gparted.


I was just wondering, when you put a straw in water and block the top, water doesn't get out from the bottom when you lift it up.   What about alcohol like Vodka ( ethanol )? I am trying to make a straw such that when you block the top, the alcohol actually does get out from the bottom. I just have no clue what diameter, shape, or modifications I should make into the straw in order to achieve this.   As i know the surface tension of Ethanol is 22.1 mN/m

When I put a finger on a straw with water in it, it wouldn't fall out of this straw. But is there maximum size (length and diameter) of this straw/pipe to get this effect and what causes this limit?


Monica: Is he not cute enough for you?      Rachel: No!      Monica: Does he not make enough money?      Rachel: No, I'm just....   The conversation is taken from Season 1 Episode 24 of the sitcom Friends.  Rachel is worried that she and Monica's brother Ross might not work out. Then Monica is asking why.  Both of Rachel's responses are No's. Judging from the context, it is obvious that Rachel thinks Ross is cute enough and does make enough money.  But, why does she answer with two No's instead of two Yes'es?  To me, No means no, he is not cute enough in the first answer and no, he does not make enough money in the second answer, which is absolutely NOT the intended interpretation.  No is more likely to mean "No, that's not my concern".  Am I correct? Anybody is equally confused as me?

I faced a problem to answer a negative question, for example, when someone asks you:      Don't you have any money?   It's a yes/no question but how should one answer the question without ambiguity?  When you answer "yes", does it mean "yes, I don't have any money"? or the other way "Yes, I do have money"? the questioner may think you are agreeing to the negative, that yes, you do not have any money.  I know it's better to answer with "on the contrary" but is it possible to answer yes or no?


How do I convert my blender file into OBJ format? Is there a specific software I need? Or is there a blender add on?

I use Blender to create my 3D models for my Android app that uses OpenGL ES. The default output format for a Wavefront file (.obj) is not compatible with my Wavefront file parser. How do I get Blender to output a Wavefront file that has the following elements:   All Verticies and Faces (faces as triangles, not quads) Texture coordinates (UV Mapped) Preprocessed Normals


I am in need of some help. Thanks to fellow user davids, I was able to get certain things working within SQL Server and am in need of some more help. Here is what I am trying to do:  UPDATE Table1 SET keyfield=(REPLACE(REPLACE(Column1,'http://*/folder/',''),'.avi','')) UPDATE Table2 SET keyfield=(REPLACE(REPLACE(Column2,'http://server2/folder/',''),'.mpg',''))   Can anyone help me out or point me in the right direction to get the wildcard to work? This particular column, the * is an IP Address and it will change all the time. Granted I will know the IP's ahead of time and can probably do it one by one, but I would prefer to have it automatically replace. Thanks in advance!

What is the best way to replace all '&lt' with &lt; in a given database column? Basically perform s/&lt[^;]/&lt;/gi  Notes:   must work in  2000 Must be repeatable (and not end up with &lt;;;;;;;;;;)


I tried by using $t^2$ = $tan\theta$ and then by inserting $t^4$ by $tan^2\theta$ in $\int_{0}^{1} \sqrt[]{1+t^4}dt$, I get $dt$ = $\frac{sec^2\theta\times d\theta}{2\times \sqrt[]{tan\theta}}$ &  $\sqrt[]{1+t^4}$ = $sec\theta$. Thus the integration becomes $\int_{0}^{\frac{\pi}{4}} \frac{sec^3 \theta \times d\theta}{2\times \sqrt{tan\theta}}$ What to do after this step? I have tried to do this which I have mistakenly written in the answer column. \begin{align} \int_{0}^{1}\sqrt{1+t^4}\,\mathrm{d}t &=\int_{0}^{1}\frac{1+t^4}{\sqrt{1+t^4}}\,\mathrm{d}t\\ &=\int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{1+t^4}}+\int_{0}^{1}\frac{t^4}{\sqrt{1+t^4}}\,\mathrm{d}t\\ &=\int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{1+t^4}}+\int_{0}^{1}t\cdot\frac{t^3}{\sqrt{1+t^4}}\,\mathrm{d}t\\ &=\int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{1+t^4}}+\left[\frac12t\sqrt{1+t^4}\right]_{0}^{1}-\frac12\int_{0}^{1}\sqrt{1+t^4}\,\mathrm{d}t\\ &=\int_{0}^{1}\frac{\mathrm{d}x}{\sqrt{1+x^4}}+\frac121\sqrt{1+1^4}-\frac12\int_{0}^{1}\sqrt{1+t^4}\,\mathrm{d}t\\ \implies \frac32\int_{0}^{1}\sqrt{1+t^4}\,\mathrm{d}t &=\frac{1}{2}\sqrt{1+1^4}+\int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{1+t^4}}\\ \implies \int_{0}^{1}\sqrt{1+t^4}\,\mathrm{d}t &=\frac{1}{3}\sqrt{1+1^4}+\frac23\int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{1+t^4}}.\\ \end{align}

$$ \int_{0}^{1}\sqrt{\,1 + x^{4}\,}\,\,\mathrm{d}x $$   I used substitution of tanx=z but it was not fruitful. Then i used $ (x-1/x)= z$ and $(x)^2-1/(x)^2=z $ but no helpful expression was derived. I also used property $\int_0^a f(a-x)=\int_0^a f(x) $ Please help me out


Let $k$ be an infinite field and $R:=k[x_1,...,x_n]$ the polynomial ring in $n$ indeterminates.  Why is the $k$-dimension of $U$ given by $\begin{pmatrix} n+m-1 \\ m\end{pmatrix}$, when $U$ is the subspace of $R$ defined by the $k$-span of those polynomials which are homogeneous of degree $m$ ?  Thanks for the help!

says that the number of different monomials of degree $M$ in $N$ variables is $$\frac{(M+N-1)!}{M!(N-1)!}\; .$$ Can anyone explain why this is true?


When using StyleCop, it recommends me to move my using statements inside the scope of my namespace (SA1200). However, if I follow that rule (which I've never heard of before), I get warning IDE0065, which suggests me to not put using statements into the namespace. So which of them is right and which of them is wrong? Or at least preferrable?

I have been running  over some C# code, and it keeps reporting that my using directives should be inside the namespace.  Is there a technical reason for putting the using directives inside instead of outside the namespace?


I need to prove the following equation  $$\lvert\lVert x\rVert-\lVert y\rVert\rvert \le \lVert x-y\rVert$$  How can I prove that? I used triangle inequality. But, get stuck.

I've seen the full proof of the Triangle Inequality  \begin{equation*} |x+y|\le|x|+|y|.  \end{equation*} However, I haven't seen the proof of the reverse triangle inequality:  \begin{equation*} ||x|-|y||\le|x-y|. \end{equation*} Would you please prove this using only the Triangle Inequality above?  Thank you very much.


What is technically the difference of a process that started in foreground and was manually put into background and a daemon? Do they have different properties?

What are the practical differences from a sysadmin point of view when deploying services on a unix based system?


In my registration form of my website, I have a field for email. It is like  <input type="email" name="email" size="25" maxlength="200" required pattern="^[A-Za-z0-9@.]+" required />   So, in this field, a person can only write the few characters which are not restricted.  But today someone tried to access my website and fulfilled his registration using some code like  ((selectsleep(25)))a--1   My question is, how can someone fill and submit these type of characters in that input field? Is there any lacking in my code? And second question is, how can I stop this type of characters to be submitted?

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I have made many loaves of bread, but I just got my starter done for my first Sour Dough loaf.  I’m following a recipe to the letter, and am now in the kneading phase, my question is that the dough is still quite sticky, it seems like it is working well between kneading, but is a bit difficult to handle. Can I give it a light dusting of flour before kneading to make handling a bit easier?

I've recently started a sourdough starter culture (using equal parts water and spelt flour) and have used it in a sourdough bread recipe I got from the . I've halved the recipe in the article so that I am using 500g Brad Flour, 150g Starter, 10g Salt.  After following the instructions, I've found the dough to be a bit sticky and unmanageable to the extent that I had to add a significant amount of flour in order to make the dough workable. The dough seemed to be rising perfectly well and I baked the loaf (which turned out a bit doughy)  Is the ratio given in the recipe OK or am I doing something wrong - how can I make the dough more manageable? (e.g. giving the dough more time to rise)


For example, we can say "important research ", "foundational research", "meaningful", "influential", "impactive", or "imperative". But those words are either far too common or too weak. What is a better choice?   I remember something like "se***m***ntic".

In a sentence, when talking about future, for a person with huge potential.     X has the potential for some ? research in Y field.   I was thinking   game changing revolutionary   but both of these do not convey the right meaning.  Is there some other word that will serve the purpose here?


I have Minecraft for the pc, and wish to join my friends server however it is not located on the same local network as my computer is.  how can I join this server without moving to my friends local area network?

Minecraft's got an "Open to LAN" feature, which can be used to set up a local server when two computers running Minecraft are on the same network. Some young relatives of mine use this to play together whenever they're in the same house, but they'd like to be able to play together from their respective residences.  A server is not optimal because it's a bit complex. I've tried using Tunngle to spoof that the computers are on the same connection to no avail.  How can I convince Minecraft's "Open to LAN" that their two separate computers are on the same network?


The following picture is taken from the book Visual Complex Analysis by Needham:    The author says that in the limit as $d\theta$ tends to zero, the black triangle is similar to the shaded triangle. I'm not sure what he means by black triangle and shaded triangle but I'm assuming the black triangle is the one with sides $dT$ and $Ld\theta$ and the shaded triangle is the the one with sides $L$ and $T$ and another side with length 1.   If so, why are they similar "in the limit"? How  can we know that the dark black area tends to $0$ fast enough comparatively to the light black area?  Also, assuming they are indeed similar, then the angle between $L$ and $T$ is $90º-\theta$ so the angle between $Ld\theta$ and $dT$ should be $\theta$, right? Then shouldn't $\frac{dT}{Ld\theta} = \frac{1}{L}$? But in the book it says $\frac{dT}{Ld\theta} = \frac{L}{1}$...

I was reading Needham's Visual Complex Analysis, and could not figure out how we get length $Ld\theta$ here:


Can I disable incognito mode in google chrome? We have Windows 8 home version. I was able to do it on an older computer, but can't find the answer for this newer version.

Search results for this question contain nothing but arguments for and against. Please take those up in another forum. I want to know is there an option, extension or hack to disable private browsing mode in each of the following browsers?   Apple Safari v?+ (Private Browsing) Google Chrome v1+ (Incognito Mode) Internet Explorer v8+ (InPrivate Browsing) Mozilla Firefox v3.5+ (Private Browsing)   OS-agnostic solutions preferred.  Depending on the use-case, alternate tools like traffic monitoring, OpenDNS or NetNanny might be valid, but they are not relevant to this question.


While I am training for my TOEFL exam using an Android mobile application, I found this question which seemed trivial to me but it turned out to be more complicated. Can somebody help me understand the grammar behind this answer because all what I could find using Google is what I already know:  Before a person may drive a car on a public highway, it is necessary that he _____ a driving test.  take (the right answer) is taking took takes (my answer)

Why is this sentence correct?     She suggested that he go to the cinema.   I would definitely use goes instead of go.