Could you tell me what are the Data Extensions used by Web & Mobile Analytics where i cand find data collected from Javascript in website? I should retrieve data using firstly a SOAP UI Call, then a SQL query in a child Business Unit of MC Account.

We've implemented the Collect tracking code (not to be confused with Web Collect) accessible from Analytics Builder menu > Web & Mobile Analytics app > Configure Data Source (cog icon). Refer to screenshot below.  This works well; if we add this tracking code to a web page and view the web page, we immediately see the web page visit on the location tile (on the Web & Mobile Analytics Dashboard). I see that this feature operates similar to Google Analytics in that:  Predictive Intelligence monitors the behavior of your website traffic via a JavaScript installation. We collect page views, which will potentially give you:  Browser Type User Location Session Time and Length Page URL Page Title Referring Site   The question I have is, where is this data actually stored? We can see the data in chart format on the Web & Mobile Analytics Dashboard, but I can't figure out where to view and download this data.


I have been following a tutorial on YouTube that instructs how to create a wrecking ball that uses a rigid body to smash some cubes. In the video, the person who created the tutorial made an animated video of the wrecking ball. How do I do that? Please help with detailed instructions (in Blender 2.7)!

Yesterday I was working on a simple animation, an animated logo.   Here is an image of the progress:    I already have the animation working and everything is okay with the project, but I can't figure out how I can render the animation and turn it into an AVI format video.  How do I render an animation in Blender?


I've downloaded a .blend file recently and all of the interface elements look very small. Is there a way to quickly resize the buttons within the panels according to my personal settings?

Is there a way to open files without changing the UI layout?  Sometimes in older files the layout will be in the old 2.4x style, which can be annoying.  One way would seem to be appending everything in, but that gets tedious with having to do it over again and again for objects, materials, textures, etc.


I have python both python2.7.12 and python 3.5.2 on my Ubuntu 16.04  I'm trying to install panda as bellow:  $ sudo apt-get install python3-pip $ pip3 install pandas   And I got this message:  "Collecting pandas   Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas   I had also the same error message using this command sudo -H pip3 install pandas.

I'm trying to install pandas. When I do, it's automatically installing to the python installation for v 2.7.   How do I force pandas to install to the python 3.5 installation?


I will be applying for a UK visit visa on the second week of December and obviously I am on the process of gathering all the needed documents to get the visa approved.   I have gone through the list of requirements and paper works.   Talking about 6 months worth of bank statements.The bit I am a little worried about is my bank statement in July.  What I did was that I have saved cash manually since March 2017 and have done a bulk deposit of the money I have gathered for 5 months (March-July Manual Savings). Source of funds is from employment and the money sent by my husband monthly. I have the money transfer receipts.   Now, do I have to throughly explain via the application form of how I got the funds bulk deposited in July? Or do I just leave it as it is.    The bank account has regular money deposits from my employer which will coinside with my pay slips.   Your thoughts are much appreciated.

The UK Visas and Immigration Directorate publishes  that provides helpful tips that can result in successful visa applications. Section 2 of this guidance opens is entitled "other documents you may want to provide" (emphasis mine).  Section 2: other documents you may want to provide – all visitors This section provides guidance on the types of documents that you may want to provide to help us consider your application against the Immigration Rules. Previous travel documents/passports, which show previous travel. Financial documents showing that you have sufficient funds available.  These must clearly show that you have access to the funds, such as:  bank statements building society book proof of earnings such as a letter from employer confirming employment details (start date of employment, salary, role, company contact details) where a third party (who is either in the UK or will be legally in the UK at the time of your visit) is providing financial support to you e.g. a business, a friend or a relative, documents to show that they have sufficient resources to support you in addition to themselves and any dependant family should be provided   The first item is "bank statements" and this ties in with the , which says...  evidence that you can support yourself during your trip, eg bank statements or payslips from the last 6 months  (Note 'eg' is a Latin abbreviation meaning "for example"; this appears to be optional rather than a fixed requirement.) Question: How should someone interpret this such that the chances of success are maximized? How many statements should I submit? What are they looking for and what do my bank statements tell about me?


What is the word that is used to describe the oversimplification or non-academic discussion of a complex issue?   Typically, I'm looking for a word like pedantic, or puerile, except that the word covers the fact that the discussion is particularly non-academic. I know that such a word exists since I have used it before, but it has skipped my mind.

What expression could I use when giving non-detailed answers/explanations about how something works? Let's say I want to explain how a printer works without getting into too much detail, Would it be OK to say:   "At a very superficial level, a printer ...." "At a very high level, a printer ..."   I feel like there are more appropriate expressions to begin such type of sentence. Any help would be greatly appreciated.


I have created a jar file in java , the problem is when ever the system gets restart i need to manually run the jar file so i have decided to convert my jar file to a windows service . if anyone knows please help me out

I've just inherited a java application that needs to be installed as a service on XP and vista. It's been about 8 years since I've used windows in any form and I've never had to create a service, let alone from something like a java app (I've got a jar for the app and a single dependency jar - log4j).  What is the magic necessary to make this run as a service?  I've got the source, so code modifications, though preferably avoided, are possible.


I read something about uses-permission in android application , but I don't know what is "android.permission.INTERNET" , or why we need this.

When installing an application, the application lists permissions that it needs to perform its  functions.    I am creating this list of the the system defined permissions and a description of what they mean. It is a community wiki so if new permissions are added in the future they can be added to this list.


I´m looking for open source collaborative web mapping projects which allow vector editing, wms display and other features like comments, photo-uploads etc.  I´ve only found Ushahidi and Sahana so far, but I´m sure there must be others out there.  If anyone has heard of anything, please let us know.

I am looking at collecting spatial information from a range of stakeholders to identify opportunities within a landscape.  However, the data that we are collecting are not presently mapped and so we wish to use an interactive method to get this information onto a map.  Which online websites/methods would people recommend for circulating to a non-technical audience to try and get them to map what they know?    Where the emphasis is on ease of use by the stakeholder.


Here is my code from the main file (Airport.java) in java AirportMarker airSource = airports.get(source); AirportMarker airDest = airports.get(dest);  SimpleLinesMarker sl = new SimpleLinesMarker(route.getLocations(), route.getProperties());                  airSource.addRoute(sl); airDest.addRoute(sl);  and here is the class AirportMarker public static List<SimpleLinesMarker> routes;  public void addRoute(SimpleLinesMarker route) {      routes.add(route); };  and here is the error Unfolding Map v0.9.7 (UCSD edition) No OpenGL renderer. Using Java2DMapDisplay. Exception in thread "Animation Thread" java.lang.NullPointerException     at module6.AirportMarker.addRoute(AirportMarker.java:102)     at module6.AirportMap.setup(AirportMap.java:130)     at processing.core.PApplet.handleDraw(PApplet.java:2365)     at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:245)     at processing.core.PApplet.run(PApplet.java:2260)     at java.lang.Thread.run(Thread.java:748)   What is the error I am getting?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


$\frac{n}{1⋅2⋅3}+\frac{n-1}{2⋅3⋅4}+ \frac{n-2}{3⋅4⋅5}+...\text{(upto n terms)}$   Clearly, we can see that $$T_r=\frac{n-r+1}{r(r+1)(r+2)}$$  Now, somehow, we have to make this telescoping. But we do not have $n$ as a factor of the denominator, so we have to multiply the denominator by $n$ and after our manipulation, multiply the whole sum by $n$. But that too did not work.  PLease help

sum of series $\displaystyle \frac{n}{1\cdot 2 \cdot 3}+\frac{n-1}{2\cdot 3\cdot 4}+\frac{n-2}{3\cdot 4 \cdot 5}+\cdots \cdots n$ terms  assuming $\displaystyle S_{n} =\frac{n}{1\cdot 2 \cdot 3}+\frac{n-1}{2\cdot 3\cdot 4}+\frac{n-2}{3\cdot 4 \cdot 5}+\cdots +\frac{n-(n-1)}{n\cdot n+1 \cdot n+2}$  $\displaystyle S_{n} = \sum^{n-1}_{r=0}\frac{n-r}{(r+1)\cdot (r+2) \cdot (r+3)}$  wan, t be able to solve after that , could some help me with this


I'm trying to import a scene into blender using the Mac version of fSPY. I don't see anything in package contents or the download page to import to Blender itself so that I can import fSPY files. I've tried using the .dmg file, zipping it, zipping the windows file, digging through package contents for a .py file. Edit: The answer referenced does not help. I am on a Mac, the answers are for Windows and Linux. Zipped .dmg files do not install into the addons folder of Blender. Installing blender addons on a Mac usually requires a .py file that you manually drag over to the addons folder inside of package contents inside the blender application.

I am continuously trying to install FSPY, but according to the instructions on the Github, it is clearly mentioned that not to unzip it.  I tried it to import it as File>Import>fspy, but there is no option for FSPY... I also tried to install the zip file from Blender(Install Addon)   Then how can I install it? Any advice will be really appreciated!


In previous versions of Ubuntu I could get the computer to boot into console mode by setting the variable GRUB_CMDLINE_LINUX_DEFAULT to "text" in the file /etc/default/grub and run sudo update-grub. In Ubuntu 11.10, however, it has no effect - I am still presented with the LightDM login screen. Any clues?

Is it possible to disable X at boot time? I'm setting up a server so it would be nice if it wouldn't load the graphical interface every time I boot.


In calculating galaxies' rotation curve, it is assumed that masses outside the orbit has no contribution and masses inside the orbit can be deemed as if they were at the center, just like the case of shell theorem. But we know that shell theorem applies to spherically symmetric mass distribution only, and most galaxies are disks. So why can we still do this?

I am reading "The Essential Cosmic Perspective" by Jeffrey O. Bennett, Megan O. Donahue, Nicholas Schneider, Mark Voit. In Chapter 14, it is stated that an evidence of the presence of dark matter in our galaxy is that the rotational curve does not match that obtained from calculation. In the calculation, the following formula is used $$M_r=\frac{rv^2}{G}$$ where $M_r$ is the mass enclosed inside a radius $r$ from the galactic center.  My understanding is that the above equation is a result of the shell theorem. But we know that shell theorem applies to spherically symmetric mass distribution only, and most galaxies are disks. So why can we still do this?


I know that if $(a,n)=1,n>0$ and $a^{ϕ(n)}≡1\pmod n$, i.e, order of a $\bmod n$ is $ϕ(n)$,  then $a$ is called the primitive root modulo $n$.  I want to know what are the possible values of $n$, i.e, which integers can have primitive roots?   Is there any rule that only certain integers can have primitive roots?  I also realised that $n$ cannot be only prime, as $3^2≡1\pmod 4$, so that $n=4$ and $ϕ(4)=2$. Sorry for such a basic question, but any help would be appreciated :)

The primitive root theorem states that $U(n)$ is a cyclic group if and only if $n$ is $1, 2, 4, p^{k}, 2p^{k}$ where $p$ is an odd prime and $k$ is an integer greater than or equal to 1.  Can someone please prove this for me?  I was trying to prove this using the definition of group order, but that did not work.


Let $X$ be a Banach space. A projection $P$ is a continuous map $:P:X\to X$ such that $P^2=P$ The existence of a projection it's equivalent to the decomposition of $X= M \oplus N$ where $M,N$ are "closed" subspaces of $X$  in fact if $P$ exist then $M= Ker (P-I)$ and $N= Ker P$ (are clearly closed). And if there exist such a decomposition we can define $P(m+n)=m$ and prove that it's a projection.  I'm trying to prove that the identity operator on $c_0$ (i.e the space of sequence that converges to 0) does not have a continuous linear extension to $l^{\infty}$ except from the identity itself.   I may use that there exist no projection (remember that it's continuous) from $l^{\infty}$ to $c_0$  When we say that $ P:X\to X$ is a projection from $X$ to $Y\le X$ we mean that Image(P)=Y$  Clearly I want to show that the existence of such extension implies the existence of a continuous projection, but I'm a little stuck. Let me explain why: Let $P: l^{\infty} \to l^{\infty}$ such that $P$ be such continuous extension, such that $P\ne I$ i.e $Ker (P-I)$ it's a proper and closed subset of $l^{\infty}$. Clearly $ c_0 \subset Ker(P-I)$ but if it's a proper subset, then the function $P$ only defines a projection from $l^{\infty}$ to $Ker(P-I)$, and that's not a contradiction. Please help me to construct a projection to $c_0$ :(  This is not an exact duplicate of the other question, I have to use that result to prove this new one..... but needs a trick, I explained the reason....

How can I show that $c_{0}$ cannot be complemented in $\ell^{\infty}$? Complement in the following sense  $$c_{0}+V = \ell^{\infty}$$  And the projections are continuous.


I want to show that $\mid 2^{\mathbb{N}} \mid \neq \mid \mathbb{N} \mid$. I wanted to proceed by the Absurd assuming that there is a bijection $\phi : \mathbb{N} \longrightarrow 2^{\mathbb{N}} $ but I can't find the absurdity. The indication tells us to consider the set $\{ n \in \mathbb{N} \mid n \notin \phi(n) \}$ but I don't see how it is useful.

I would like to ask for a little help or a hint about a set theory exercise i am stuck in.     Let $f: \mathbb{N}\rightarrow \mathbb{P}(\mathbb{N})$, $\mathbb{P}(\mathbb{N})$ is the power set of the natural numbers, be a map. Consider the subset $A\subset \mathbb{N}$ defined by $A=\{ m\in \mathbb{N} \mid  m\notin f(m)\}$.   Assume that there is an integer $r\in \mathbb{N}$ such that $f(r)=A$.      (1) What happens if $r\in A$?   Here I think I get to a contradiction by the definition, because $r\in A=\left \{ r\in \mathbb{N}\mid r\notin f(r) \right \}$ but $f(r)=A$ by definition. So it's not surjective, thus there is no bijection.     (2) What happens if $r\notin A$?    Here I get again a contradiction, the same way like in the first question.     Is there a bijection between $\mathbb{N}$ and $\mathbb{P}(\mathbb{N})$?   I think the answer is no, because the function is not surjective.  Are my ideas correct? If you have a remark, I would be very happy if you can share it here. Thank you in advance! Have a nice day :)


I have a user table, email table and a relational email table. Some users have more than one email addresses.  When Use  select U.Id,U.Name,E.Name from RelationalEmail AS RE INNER JOIN Email AS E ON E.Id = RE.EmailId INNER JOIN User AS U ON U.Id=RE.userId   Of course, I get the result like this:  UserId    Name     Email 1         Olcay    abc@.com 1         Olcay    acc@.com 2         John     jhn@.com 2         John     hnJ@.com   But I don't want repeat of users,  I try to get a result like:  UserId    Name     Email       1         Olcay    abc@.com, acc@.com 2         John     jhn@.com, hnJ@.com   My Person Table:    UserId    Name           1         Olcay         2         John    My Email Table:  EmailId    Name    7         abc@.com    8         acc@.com    9         jhn@.com    10        hnJ@.com   My RelationalEmail Table:  Id   userId  EmailId   1      1     7   2      1     8   3      2     9   4      2     10   My teacher said I should do that with XPath. But I don't know XPath. I searched that but I couldn't find an answer for my question or I couldn't understand.  Thanks in advance

How do I get:  id       Name       Value 1          A          4 1          B          8 2          C          9   to  id          Column 1          A:4, B:8 2          C:9


I have filled some "ul"s directly in HTML e.g.  <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Kennzahl     </button>

volume

netSentiment

authors

   and had no trouble reading the selected value by   $('#measure li').on('click', function(){     $(this).text(); });   Then I have tried to get the chosen Value from a "ul" that I filled by JavaScript:  Something like  $('#projectId').append('
' + projects[i].name + '
');   The Select is filled with the "li"s. But when I select one, the result isn't caught by the same JavaScript I could use with the "li" directly filled in HTML.

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


In Jackson films, Gollum is dressed in loincloth.  What was his manner of dress (in Hobbit/LOTR timeframe) in the books?

This might sound like a weird question, but here goes anyway.  In the LotR and the Hobbit movies, Gollum is always shown with a piece of cloth hiding his private area. It seems dull to me that he would actually have the decency of putting up with that. A better explanation to me is that P.J. added this Tarzan-style clothing as to not scare off the audience.  In other words, is Gollum only 'dressed' in the movie (for clear purposes - who wants to see Gollum's privates?), or is he as well in the book(s)?


If $x$ & $y$ are natural numbers, and $56 x = 65 y$, prove that $x + y$ is divisible by $11$.  Solution)  $56$ and $65$ are relatively prime  So, $65∣x$ and $56∣y$  Let  $x = 65m$ and $y = 56n$  Then, $56x = 65y$  $56.65m = 65.56n$,  $m = n$   Thus, the solutions are of the form $x = 65k$,$y = 56k$ for integers $k$, and  $x+y = (65+56)k = 121k = 11(11k)$.  Thus, $x+y$ is even divisible by $11$

If $x$ and $y$ are natural numbers, and $56x = 65y$, prove that $x + y$ is divisible by $11$.  I tried  taking the $\gcd(56x,65y)$ using the Euclidean algorithm, but I got nowhere with it and do not know where to head.


I'm working with Java. I have a class with 2 constructors. The first constructor takes an int value as a parameter and sets an int variable as that value. The second constructor takes a string and prints it out. The idea is that when I call the first constructor from my main class, it sets an integer value. And when I call the second constructor in the main class, it takes the string representation of int variable of the first constructor and prints it out.  Here's how I made the constructors:  public class Test {    int val;     public Test(int x)    {       val = x;       return val; //I know this won't work. So I'm looking for an alternative    }     public Test(String y)    {       System.out.println("The value is " + y);    } }   And the main method (in a different class) looks like this:  public static void main(String [] args)     {         Test t1 = new Test(6);         Test t2 = new Test(String.valueOf(t1)); //This won't work because the first constructor can't return a value     }   So how exactly can I change the contents of the constructors so that I can pass val into the 2nd constructor?

Is it possible to call a constructor from another (within the same class, not from a subclass)? If yes how? And what could be the best way to call another constructor (if there are several ways to do it)?


My wife is Mexican whilst I am British. We recently married and she has a Spousal/Partner Visa (Leave to Remain)  I presumed that when returning from a holiday to Mexico, my wife would have to queue separately from me because she is from outside the EU, but upon talking to a work colleague, I'm told this may not be the case.  Does anyone know if my wife can join the same queue as me when we return to London Heathrow?

I'll be arriving at Heathrow in June 2015 with my current girlfriend for a holiday in the UK. I've been trying to find out which immigration queue to join at Heathrow Passport Control without much luck. I have a British passport, my girlfriend has a non-EU passport.     Should I join the EU queue and she the non-EU queue or should we both queue together (and if so, which of the queues should we join)?


I installed Ubuntu in my Laptop today and i accidentally deleted all the partitions and data along with it. Now my Computer is blank af. Is there any way i can recover my data?? Pleasee

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


I use my WordPress as open id to log in to Stack Exchange. My URL was like name.wordpress.com. I have upgraded it to use name.com. I can still log it, but now Stack Exchange thinks I am a new user.  How can I link/merge the two accounts?

I accidentally posted a question without being logged in. Is there a way to associate that question with my account?   For more information, visit "" in the .   a.k.a. How can you link a registered account to a cookie-based account? a.k.a. How do I merge an unregistered account with a registered account a.k.a. Merging users a.k.a. How do I associate anonymous questions I’ve asked with my registered account? a.k.a. Is there a way to claim an unregistered user? (in case anyone searches with those terms)


I would like to ask why this two approaches are different and returns two different set of values: The first one which is correct in my opinion return values from 0 to 8 and works on different threads (LINQPad code): void Main() {     var newTasks = Enumerable.Range(0, 9).Select(x => Task.Run(() => DoSomething(x)));      Task.WhenAll(newTasks); }      public int DoSomething(int value) {     return value; }  Second, which is not correct in my opinion which returns random values a specially 9 but also works on different threads. void Main() {     var tasks = new List<Task<int>>();          for (var index = 0; index < 9; index++)     {         var task = Task.Run(() => DoSomething(index));                  tasks.Add(task);     }          Task.WaitAll(tasks.ToArray()); }      public int DoSomething(int value) {     return value; }  Is it possible to modify the second one and get the result similar to first example? Thanks for your answers.

I met an interesting issue about C#. I have code like below.  List<Func<int>> actions = new List<Func<int>>();  int variable = 0; while (variable < 5) {     actions.Add(() => variable * 2);     ++ variable; }  foreach (var act in actions) {     Console.WriteLine(act.Invoke()); }   I expect it to output 0, 2, 4, 6, 8. However, it actually outputs five 10s.  It seems that it is due to all actions referring to one captured variable. As a result, when they get invoked, they all have same output.  Is there a way to work round this limit to have each action instance have its own captured variable?


I am trying the following statement and it throws an error:  DateTime.ParseExact("Wed, 06 May 2015 11:08:00 PDT", "ddd, dd MMM yyyy HH:mm:ss GMT", null)   I even tried this and it did not work:  DateTime.ParseExact("Wed, 06 May 2015 11:08:00 PDT", "R", null)

I'm trying to parse an international datetime string similar to:  24-okt-08 21:09:06 CEST   So far I've got something like:  CultureInfo culture = CultureInfo.CreateSpecificCulture("nl-BE"); DateTime dt = DateTime.ParseExact("24-okt-08 21:09:06 CEST",     "dd-MMM-yy HH:mm:ss ...", culture);   The problem is what should I use for the '...' in the format string? Looking at the  MSDN page doesn't seem to list a format string for parsing timezones in PST/CEST/GMT/UTC form.


As can be seen on the title, I got the "Failed to fetch... Hash Sum mismatch" Error. I have tried this method:   Deleting /var/lib/apt/lists/* does not work... Thinking, if I'm behind a proxy, I tried fixing "Hash Sum Mismatch" like this:   By Creating a file /etc/apt/apt.conf.d/99fixbadproxy with this content  Acquire::http::Pipeline-Depth 0;  Acquire::http::No-Cache true;  Acquire::BrokenProxy    true; I tried several other solutions provided on askubuntu however, it doesn't work.   Have a look at my error on the terminal.

When I check for updates, I get a "Failed To Download Repository Information" error.   This is what comes up under details:   W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources  Hash Sum mismatch,  E: Some index files failed to download. They have been ignored, or old ones used instead.


I'm writing a report using the IFAC style, but when making some sections and putting some images inside in the following way:   \section{Section 1}      \subsection{Subsection 1}      One thing and other    \begin{figure}[H]    \begin{center}    \includegraphics[width=8.4cm]{file1.png}     \caption{caption }     \label{fig:LM741}    \end{center}    \end{figure}   \subsection{Subsection 2}    after compiling it to PDF, instead of the images inside each subsection, it gets the list of sections/subsection and the whole bunch of images at the end. How to correct this?  P.S.: I have tried using sections and subsection.

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


Is this sentence grammatically correct: "She knew it was I, even from a half block away"?

I was taught at school that the following expression is not grammatically correct:  Who is there? It's me.  The correct one is:  Who is there? It's I.  Can you let me know which one is accurate?


I would like to have an align environment which is not automatically written in a new line. For example in the following code, the formulas should appear in the same line as the itemize-dot or the Proof. :  \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \begin{document}  \begin{itemize}     \item     \begin{align*}     x & = 0 \\     y & = 15     \end{align*} \end{itemize}  \begin{proof}     \begin{align*}     x & = 0 \\     y & = 15     \end{align*} \end{proof} \end{document}   I know that I could use $\displaystyle x=0$ for single lines but the align environment is clearly better when aligning more than one line of formulas. Does anybody have an idea?

Related (but not the same):         Earlier today I asked a question about aligning equations in an enumerate environment and got an answer that seemed to work for the example I gave, but it turns out I wasn't really specific enough for my problem.  I'm using align* environments, often as the only part of a list item. (If you're wondering why I'm not using more words to introduce the align*, these are mostly homework solutions where most of the work is algebra, etc.)  Here's my code and what it makes (above the middle line):  \begin{enumerate}   \item \begin{align*}     x^2 + y^2 &= x^2 + (iy)^2 \\               &= (x + iy) (x - iy)   \end{align*}   \item \begin{align*}     \frac{1}{n^2-4} &= \frac14 \frac{4}{(n-2)(n+2)} \\                     &= \frac14 \left( \frac{1}{n-2}-\frac{1}{n+2} \right)   \end{align*} \end{enumerate}     I'm trying to make the baseline of the first line of the align* environment the same as the number's baseline—I want the first line of the align* to have the same vertical position (centered horizontally in the same way) relative to its number as in the second half of my picture. (Side question: why is there so much space before the align* starts?)


I've always had trouble with this. In windows there is just a setup.exe file that I click on, but in Linux it seems that there is no such thing like that. I am trying to download filezilla right now, and I extracted it from the bz2 file, but I don't know how to install it now.

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?


As per the Harry Potter books (1-5) we know that Sirius Black was on the run from the Ministry of Magic for the supposed killings of twelve muggles and one wizard by the name of Peter Pettigrew. Many muggles declared that they have witnessed this, thus the Ministry of Magic have been trying to capture Black. Prior to Harry Potter and the Prisoner of Azkaban, Sirius was already on the run for twelve years. After then, he has either been hiding or at Number Twelve Grimmauld Place. In Harry Potter and the Order of the Phoenix, Black was executed by none other than Bellatrix Lestrange. Up to this point, the Ministry was after him.  Was the Black name ever vindicated before or after this incident?

In Prisoner of Azkaban, Professor Dumbledore explains to Harry why he cannot convince the ministry that Sirius is innocent.  Yet, in the beginning of Half-Blood Prince, the Minister of Magic admits to the Muggle Prime Minister that Sirius Black was innocent:     ‘Is Serious Black with – er – He Who Must Not Be Named?’      ‘Black? Black?’ said Fudge distractedly, turning his bowler rapidly in his fingers.  ‘Sirius Black, you mean? Merlin's beard, no. Black's dead. Turns out we were – er – mistaken about Black. He was innocent after all. And he wasn't in league with He Who Must Not Be Named either. […]’      – The Half-Blood Prince Chapter 1: The Other Minister   What has changed that has made them admit his innocence?  Sirius's body disappears in the fight in Order of the Phoenix, so there's no evidence left that he has fought there.  Pettigrew is still in hiding.  There's still only Harry and Hermione's word against Snape's story that would prove Sirius's innocence.


I compiled this code successfully in mikrocpro. But I can't get output in proteus.    This is the hex file link :            // LCD module connections       sbit LCD_RS at RD4_bit;       sbit LCD_EN at RD5_bit;       sbit LCD_D4 at RD0_bit;       sbit LCD_D5 at RD1_bit;       sbit LCD_D6 at RD2_bit;       sbit LCD_D7 at RD3_bit;       sbit LCD_RS_Direction at TRISD4_bit;       sbit LCD_EN_Direction at TRISD5_bit;       sbit LCD_D4_Direction at TRISD0_bit;       sbit LCD_D5_Direction at TRISD1_bit;       sbit LCD_D6_Direction at TRISD2_bit;       sbit LCD_D7_Direction at TRISD3_bit;       // End LCD module connections  void main()  {        char ch;       double m,a;       m=5.10;       a=exp(m);         TRISD = 0x00; // PORTD is output            Lcd_Init();                      // LCD display initialization           Lcd_Cmd(_LCD_CURSOR_OFF);        // LCD command (cursor off)           Lcd_Cmd(_LCD_CLEAR);             // LCD command (clear LCD)      while(1)     {           ch=sin(3.14/2.)+800/100;           Lcd_Chr(2,1,48+ch);           Delay_ms(1);     }  }

Can I use exponential (exp) math function in PIC16F877A code? For example like this:  double a,ans; a=5.7; ans=exp(0.5);


This is what I have done so far. Although the problem in this code is that in 6th line, after 9 it prints 10,11 and so on instead of starting again at 0,1... etc.

How do I generate a random int value in a specific range? I have tried the following, but those do not work: Attempt 1: randomNum = minimum + (int)(Math.random() * maximum);  Bug: randomNum can be bigger than maximum. Attempt 2: Random rn = new Random(); int n = maximum - minimum + 1; int i = rn.nextInt() % n; randomNum =  minimum + i;  Bug: randomNum can be smaller than minimum.


I am trying to prove that for any integer where $n \ge 1$, this is true:  $$ (1 + 2 + 3 + \cdots + (n-1) + n)^2 = 1^3 + 2^3 + 3^3 + \cdots + (n-1)^3 + n^3$$  I've done the base case and I am having problems in the step where I assume that the above is true and try to prove for $k = n + 1$.   I managed to get,  $$(1 + 2 + 3 + \cdots + (k-1) + k + (k+1))^2 = (1 + 2 + 3 + \cdots + (k-1) + k)^2 + (k + 1)^3$$  but I'm not quite sure what to do next as I haven't dealt with cases where both sides could sum up to an unknown integer.

How can I prove that     $$1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$$    for all $n \in \mathbb{N}$? I am looking for a proof using mathematical induction.  Thanks


I have a web app that launches from a shortcut on the desktop. I would like to have it spawn in a new instance of Chrome -- with its own pinnable task bar icon, etc. -- instead of grouped with the rest of my general web browsing activity. Is it possible to do this without running it in a different browser altogether? Maybe by using a shortcut to chrome.exe and starting it in a different folder? I checked the list of command switches  but it was not clear if any of those would accomplish what I'm looking for.


I am wondering why black body emission spectrum is continous. Assuming only quantum effects that is electrones falling to less energetic orbitals it should be discrete. Is the continous part emerging classically from oscilating charges?   @lionelbrits your answer is too high level for me. Let me rephrase my question. Let consider black body appproximation like a star. I understand why the ideal black body radiates continous spectrum (charged oscilators on springs). But I cannot connect this picture to the quantum view of atoms and how they emit radiation - that is through emitting photons with energy equal to the difference between two energy levels.  How this (discrete emission):    Can lead to that(continous spectrum)

The  (unlike the quantized emission seen from atomic spectra), is continuous over all frequencies.  Many objects approximate ideal blackbodies and have radiation curves very similar in shape and continuity to that of an ideal black-body (often minus some emission and absorption lines from the atoms in an object, such as radiation curves seen from stars).  I am wondering what exactly gives rise to a basically continuous black-body radiation curve in real objects? Since atomic energy states are quantized, it seems real life black-body curves would have some degree of measurable quantization to them (or perhaps the degree of quantization is so small the radiation curves look continuous).


the full command is % echo hello && $(echo "world"), where % is the shell prompt. why does this fail? I've noticed that the error is the same as if I had run the command substitution directly on bash as % $(echo "world")

I've been working a bash script to automate the process of opening and closing an LVM over LUKS external hard drive. However I continue to receive errors on line 28:   $(vgchange -a n ; cryptsetup luksClose vol)   The error I receive:  $ sudo ./encryption.sh -l Locking System.............. ./encryption.sh: line 28: 0: command not found System Locked!   Here is the rest of the code for reference:  if [ $1 = -u ] ; then     $(cryptsetup luksOpen /dev/sdb2 vol)     echo "Unlocking.................." | pv -qL 10     $(mount /dev/mapper/vol-lvroot /mnt ; mount /dev/mapper/vol-lvvar /mnt/var ; mount /dev/mapper/vol-lvhome /mnt/home ; mount /dev/sdb1 /mnt/boot)     echo "System Mounted!" | pv -qL 10 #   exit 0 fi  if [ $1 = -l ] ; then     $(umount /mnt/var ; umount /mnt/home ; umount /mnt/boot ; umount /mnt/)     echo "Locking System.............." | pv -qL 10     $(vgchange -a n ; cryptsetup luksClose vol)     echo "System Locked!" | pv -qL 10     exit 0 fi   Other information:   I receive no apparent error when running the command in question by itself interactively. I'm new to writing bash, so any recommendations and constructive criticism is appreciated. The process appears to complete successfully, but I don't understand the error or how to make them go away. Upon further research when running the troubled code alone in interactive mode it does provide output after being executed.   This is given after posting the troubled code interactively.   0 logical volume(s) in volume group "vol" now active


For example, given input string "this is a test" I want to create an array of strings with 4 elements: "this", "is", "a", and "test". I also want to be able to change these strings later.   Below is the code I have tried. This seems to put all the characters into the first string in the array.       char string[] = "this is a test string"; //sample input string     size_t sizee = sizeof(string) - 1; //size of sample input string     char arrayOfStrings[sizee][sizee]; //the array of strings      int m = 0; //[m][n]     int n = 0; //[m][n]     for(int i = 0; i<sizee; i++){             if(string[i] != " "){             arrayOfStrings[m][n] = string[i];             n++; //             }              else{             m++; //if space char, move to next string in the array             n = 0;             }     }

I have been trying to tokenize a string using SPACE as delimiter but it doesn't work. Does any one have suggestion on why it doesn't work?  Edit: tokenizing using:  strtok(string, " ");   The code is like the following  pch = strtok (str," "); while (pch != NULL) {   printf ("%s\n",pch);   pch = strtok (NULL, " "); }


I want to know if I used software raid on Linux for a non system disks (raid 5 as example),then I lost the system for any reason ! can I restore the data on the raid after a fresh installation ??

I've got ubuntu server on my "home server" with 5 software raid 0 partitions and one software raid 1. I have to reinstall OS. Is it possible to do that without losing existing partitions with data?


Two tables were created running an SQL script which created a lot of other tables in addition to the two we are concerned about. Many of them have foreign keys from other tables that were created by the script. How do I find if there are any foreign keys between two tables, say TableA and TableN? Is it possible to list these using an SQL script? I can manually check by using the MySQL Workbench reverse engineer option that generates an ER diagram but I would rather prefer doing it using a query.

In MySQL, how do I get a list of all foreign key constraints pointing to a particular table? a particular column? This is the same thing as , but for MySQL.


How can I use mod_rewrite to remove everything after the ?  (question mark) in a URL?  For instance:  http://127.0.0.1/ALL_FILES.php?test=1   after mod_rewrite:  http://127.0.0.1/ALL_FILES.php   For php this means that the $_GET super global will always be empty.

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


I am trying to create a function that will get the rotation of every object in the scene and I am getting stuck on this: bpy.data.object[i.name].rotation_eulers it returns values but for some reason they are not the values I expected.  I think that they are notated with eulers and after googling the topic I have come up with null.  What are eulers and how do I convert them to degrees?

I want to create a lamp in blender using python. I want to give the lamp some rotation. As per the  I can set the initial rotation using a tuple of numbers in the function call like this rotation=(0.0, 0.0, 0.0) this is the specifc documentation for the rotation parameter:  rotation: (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object  What units is this parameter specified with? It does not seem to be in degrees or radian.  When I try with my example code here where I use rotation=(0, 1, 0) to get 1 degree on the y axis. I end up getting 57.296 degrees after running the code.  import bpy  bpy.ops.object.lamp_add(type='AREA', view_align=False, location=(0, 0, 0), rotation=(0, 1, 0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))


./watchbog is using up 198% of my cpu processor and mem 52%. Solar is the user. I tried stopping solar service but of no use. Watchbog is still running and using up as much space.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


What is the integral of $$\int e^{ax}.sin(bx)dx$$ I used LIATE rule but even after that I am going round and round but not getting the answer.

Is there a general formula for finding the primitive of $$e^{ax}\sin(bx)?$$  I've done this manually with $a=9$ and $b=4$ using Euler's formulas. But it takes a bit of time. Is there a pattern here?


The movie was set in the 90s probably. It showed a group of people trying to infiltrate a city or a building which was surrounded by a huge wall. However, the walls were pockmarked with holes from which balls of fire shot out every few seconds/minutes, barely enough time to cross through. I remember that the protagonist successfully manages to infiltrate via them.

I once saw watch a sci-fi movie or an episode of a tv series (not sure) in which:   Every police officer was a judge, and hence could act by themselves on the streets. Each "judge" had a gun, which appended their DNA to the bullet. This was used later in investigations about a crime scene, and I think was confidential before the trial was held. Only a judge could use the gun, try to use it and you've been electrified. Also the guns had a self-destruction feature. The main villain was an ex-judge who purchased and activated a very old "killer robot" which was a residue of a long-ended war. When a judge was exiled, they were given a copy of the book of law, and sent outside the city to enlighten the people outside cities.   Can you help me find it?  PS: It was difficult to select a title


R is a ring and  is a left ideal of R.  Since R is a ring, it can also be considered as an R-module, therefore I is a submodule of R and the quotient R/I is an R-module.  I am trying to solve the following question: Show Ann(R/I) is a 2-sided ideal of R.  I have found a lot of similar questions online that prove Ann(M) is a 2-sided ideal where M is a submodule of an R-module. I was wondering if R/I is considered to be a submodule?

Let $R$ be a ring and let $M$ be an $R$-module. Define the annihilator of $M$ to be the following subset of $R$:  $Ann_R(M) =\{r\in R \mid rm = 0_M  \text{ for all } m\in M \}$  Prove that $Ann_R(M)$ is an ideal of $R$.  please help as much as you can a full answer is greatly appreciated   Thanks


I have a problem with my DNS records and cannot get an email to receive. MXtoolbox tells me DMARK is not set up but I added the records. It says I I have a problem with SMTP resolution.  Cloudflare Says "An MX record was not found for your root domain" and I have added one but still says I haven't  Can someone help figure this out? Below are screenshots of my setup  Cloudflare    Cpanel DNS    Cpanel MX Entry    MXtoolbox

I have a web server hosting multiple domains (centos + postfix + dovcot), one of my domain  its dns is hosted on cloudflare (ie. abcd.com), but when I use gmail to send email to a user@abcd.com, user@abcd.com will not be able to receive the email. Here is the MX record I set in cloudflare:  Type   Name   Value                                       TTL          Active mx     mail   handled by mail.abcd.com with priority10    Automatic      cname  mail   is an alias of abcd.com                     Automatic    grey cloud   Any knows how can I make the domain receive the emails?


Are $[0,1)\times [0,1)$ and $[0,1]\times [0,1)$ homeomorphic?   Not getting any idea how to start.

Show that $[0, 1)\times[0, 1)$ is homeomorphic to $[0, 1]\times[0, 1)$ but not to $[0, 1]\times[0, 1]$. When I sketch these spaces it this statement makes sense intuitively because $[0, 1]\times[0, 1]$ is closed and $[0, 1)\times[0, 1)$ and $[0, 1]\times[0, 1)$ are each "missing" part of their boundary which would make them closed. I also know, $[0, 1]\times[0, 1]$ is compact and compact spaces are not homeomorphic to non-compact spaces.   I am having trouble saying this explicitly, as is pretty obvious in the clumsiness of the wording above.


Studying for a qualifying exam and came across . This one has stumped me for some time. This question is related to :  $\begin{align*}\text{If $f$ and $g$ are entire and } [f(z)]^n+[g(z)]^n=1\text{ for $n>3$ then $f,g$ are constant}. \end{align*}$  The most I could deduce is that if $f$ were not constant then $[f(z)]^n$ is necessarily surjective as missing one value for $[f(z)]^n$ would force $n$ missed values for $f$. That's about as far as I could get.

Let $f$ and $g$ be entire functions such that $f^n+g^n=1$, where $n\geq 3$ is an integer. Prove that $f$ and $g$ are constant.  I suppose I should somehow prove that either $f$ or $g$ is bounded so that I can apply Liouville's Theorem, but I don't see how. I tried setting the derivative of the left hand side equal to zero and work with that but that did not seem to work.


I just got a Samsung Galaxy Note 3 and when I go into my settings then add an account and add a gmail account, it gives me an option to choose what I want to sync. I unchecked 'photos' and 'contacts' and everything else except for 'gmail' but it still auto sync'ed my photos and contacts (and my apps and app data, even though I told it not to). I then deleted the account and tried again but this time, I didn't check anything at all (not even gmail) and it did not sync anything, which is good. But I want to sync only my gmail, so then I went into the settings for my gmail account and checked only the 'sync gmail' box and it synced Everything again (app, app data, contacts, photos).. how do I make it still syncing everything? I just want to sync my inbox.

I just got a Samsung Galaxy Note 3 and when I go into my settings then add an account and add a gmail account, it gives me an option to choose what I want to sync. I unchecked 'photos' and 'contacts' and everything else except for 'gmail', but it still auto sync'ed my photos and contacts (and my apps and app data, even though I told it not to). I then deleted the account and tried again but this time, I didn't check anything at all (not even gmail) and it did not sync anything, which is good. But I want to sync only my mail, so then I went into the settings for my account and checked only the 'sync gmail' box and it synced everything again (app, app data, contacts, photos).  How do I make it stop syncing everything? I just want to sync my inbox.


In the  for duplicate answers, the links that show the duplicates are being escaped instead of rendered.

Oy!  links are broken, on Stack Overflow at least:        Nothing clickable here.  Markup: Duplicate answers: &lt;a href=&#39;/a/17872807&#39;&gt;17872807&lt;/a&gt;


If $x,y,z>0$ and $x+y+z=1.$ Then minimum value of $\displaystyle \frac{x}{2-x}+\frac{y}{2-y}+\frac{z}{2-z}$ is  What i try From Titu lema $$\frac{x^2}{2x-x^2}+\frac{y^2}{2y-y^2}+\frac{z^2}{2z-z^2}\geq \frac{(x+y+z)^2}{2(x+y+z)-(x^2+y^2+z^2)}=\frac{1}{2-(-1-2(\sum xy))}$$ How do i solve it help me please

Let $x,y,z>0$ and $x+y+z=1$, then find the least value of  $${{x}\over {2-x}}+{{y}\over {2-y}}+{{z}\over {2-z}}$$  I tried various ways of rearranging and using AM > GM inequality. But I couldn't get it. I am not good at inequalities. Please help me.  I wrote $x$ as $1-(y+z)$ and I took $x+y$ as $a$ and the others as $b$ and $c$. And I am trying.


So I stumbled upon this sentence:  ''Aside from a flexible vagina which is due to the pelvic muscles' elasticity [...]''  And I wonder, shouldn't there be ''because of''? Because it modifies the adjective ''flexible'', and for ''due to'' to be right shouldn't it have been ''the flexibility of vagina [...]'' ? But again, I know that ''due to'' must follow a form of ''to be'', which is present here.

Is it fine to use due to in place of because of ? How about the other way around? Are any of these sentences ungrammatical?   He was lost because of the storm. He was lost due to the storm. He lost his way due to the storm. He  lost his way because of the storm.


I want to use biblatex with the biber backend for my ieeetran paper. When I use the following commands:  \documentclass[conference]{IEEEtran} \usepackage[backend=biber, sorting=none, style=ieee, doi=false, isbn=false, url=false]{biblatex} \bibliography{biblio}  \begin{document} Abstract \cite{ibrahim_synchronous_2015} \printbibliography  \end{document}   The references look like follows:   When I use the original   \documentclass[conference]{IEEEtran} \usepackage{cite} \begin{document} Abstract \cite{ibrahim_synchronous_2015}  \bibliographystyle{ieeetran} % use IEEEtran.bst style \bibliography{IEEEabrv,biblio}  \end{document}   it looks like follows on the other hand:   You can see, that the version with biblatex is much mor spacious than the original one (second one). Are there any settings or other templates which make the references really look like the IEEEtran.bst style? The reason why I'm asking is, that I'm usally used to biblatex (with biber backend) and I don't always want to change the settings when I change between my documents.

The package biblatex-ieee provides a style for BibLaTeX which follows the guidelines of the IEEE (citations are numeric and unsorted). Unlike the IEEEtran.bst file, it provides only the bibliographic style, and not the text formatting of the bibliography section.  What happens is that  with  BibLaTeX the font size of the  References section is the same of the other regular sections. It should be smaller, instead.  In other words, if I use the BibTeX approach  \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,references}   I get both the proper bibliographic style and text formatting (smaller font size).    With the BibLaTeX approach instead, the font size is bigger:    Therefore, I have to format the bibliography text by myself, with something like  \usepackage[style=ieee]{biblatex} \addbibresource{references} [...]  \renewcommand*{\bibfont}{\footnotesize} \printbibliography   Which is the right fontsize (that is, the second argument for \renewcommand*) to be used with the IEEEtran class? (and, by the way, why cannot a  BibLaTeX syle specify the text formatting, too?)  As a reference:    asking for clarifications  stating which font sizes shall be used


Find a function $f(x)$ which is defined at every real number but is continuous at $0$ and is not continuous at every other number.   This was a bonus question for our Calculus 1 homework on limits a few months ago and no one could figure it out.

I do not know an example. Will ask question if in doubt of the proofs provided thank you!!


I am always puzzled by the notion "the age of our universe" because, correct me if I am mistaken, the universe is the entirety of the spacetime.  So how can we measure how much time has the entire spacetime has evolved if the spacetime has already included "all time"?   Allow me to use a bad analogy, it is as if, in the pre-relativity sense, asking what is the position of the entire space, if the space has already contained all the possible positions.  Such question only make sense if we imagine that the entire space is actually embedded in another, again allow me to  create my own term, "hyper-space" so that we can find the "position" of the entire spaces referencing such "hyperspace".   That's why I always wants to know what exactly do physicist/mathematicians mean what they use the notion "the age of our universe".

Many times I have read statements like, "the age of the universe is 14 billion years" . For example this wikipedia page .   Now, my question is, which observers' are these time intervals? According to whom 14 billion years?


I want to write a script which does save user information like name , contact number etc as a vCard in the form of a file . Is there any library for it ?

Know of any good libraries for this?  I did some searches and didn't come across anything.  Someone somewhere must have done this before, I hate to reinvent the wheel.


I just got a brand new laptop which has FreeDOS in it right now. It has 128 GB of SSD and 1 TB HDD. I want to install Ubuntu root to SSD (and swap if required), Ubuntu home to 500 GB of HDD and Windows to other 500 GB of HDD.  I started with Ubuntu and tried simply creating partitions for ex4 for Ubuntu and NTFS for Windows. When I try to install Ubuntu to root partition, it gives the warning NO EFI System Partition was Found.  Any suggestions to how to do it? I tried to create fat32 partition before root partition to use it as efi boot partition, but couldn't make it.  I can give any additional information you need if you comment.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


When i turn on the pc, this message shows: ubuntu clean,201066/30075648 files, 9628570/123498240 block and it stay block right there . Doesn't boot anymore. How can I fix it? I am newbie with Linux, this is my first Linux so.. I boot only on Linux, I don't use dual-boot.

dev/sda1: clean, 552599/6111232 files, 7119295/24414464 blocks   After I turn on my laptop this message appears. The system never boots, the message just stays there.


In Ubuntu 12.10 there was a nice app called . It has ability to add new mimetype, add recognition by content of file and new icon, all done by mouse clicking. Now assogiate disappears from repos. Other programs doesn't have that ability. How to do it by hand?  For example: I have a file test.lzx. This is a packed test file with  packer used mostly on Amiga. Gnome doesn't recognize it. If I test file with file command I see:  $ file test.lzx test.lzx: LZX compressed archive (Amiga)   Recognize that type of file by content is simple. At 0 offset (at the beginning of file) there is a LZX string:  $ hexdump -C test.lzx | head -n 1 00000000  4c 5a 58 00 0c 00 0a 04  00 00 07 00 00 c0 0d 00  |LZX.............|   In Assogiate I was able to add search string and offset where Gnome have to look for this string.   Now question: how to add manually new mime type and make Gnome recognize it by file content?  Answers at         are not related to my question.

I have a file that is formatted as a .doc, but Nautilus and LibreOffice insists that it is a .txt. Both precise and Ubuntu 12.10 are that way, but Google Docs can convert it (after playing with it).


I have this strange problem in Ubuntu LTS 18.04 I opened Ubuntu System Monitor and it looks like in the picture. I didn't do anything special ... just installing updates. I don't know which updates was...or the day that happened? I wanted to see the using space in system monitor...and I realized that it's mess. The same issue seems to have the calculator. Any ideas what could cause this ? The system is working fine...and didn't see this problem in other apps.

Recently, on my Ubuntu 18.04 I have noticed that at least on gnome-calculator and chromium browser the fonts are displayed as squares. I have followed instructions  and , the calculator is fixed, but the problem on chromium still exists when I open a dialog to search for a file.  Not sure if this happens on other applications as well, I haven't checked all my apps, but File managers nemo and nautilus are working fine.  Also, before few months ago, I have included some windows fonts for my libre office shown . I used the copy (cp) method, not the link (ln -s). But, was working fine until yesterday. Haven't done any major change or update, at least on my Linux partition (dual boot). But, I don't think that this has anything to do with that.  Any idea how can I fix this issue?  .


For any m $\ge$ 1. Prove that $$\sum_{j=0}^m\frac{1}{j+1}{m \choose j} = \frac{1}{m+1}(2^{m+1} -1 )$$  Attempt: I tried using subsets after rearranging the equation. Then even though the R.H.S gives the no of substes of n+1 excluding empty. I am unable to get a interpretation for L.H.S

I need to express $$1 + \frac {1}{2} \binom{n}{1} + \frac {1}{3} \binom{n}{2} + \dotsb  + \frac{1}{n + 1}\binom{n}{n}$$ in a simplified form.  So I used the identity $$(1+x)^n=1 + \binom{n}{1}x + \binom{n}{2}x^2 + \dotsb   + \binom{n}{n}x^n$$ Now on integrating both sides and putting $x=1$.  I am getting $$\frac{2^{n+1}}{n+1}$$ is equal to the given expression.But the answer in my book is  $$\frac{2^{n+1}-1}{n+1}.$$ Where does that -1 term in the numerator come from?


I can't upgrade through do-release-upgrade due to a slow internet connection, so I downloaded the iso file, and mounted it:  sudo mount -o ro ~/kubuntu-14.04-desktop-amd64.iso /media/emcdrom  It's mounted, ok, But there is no any autorun or *.sh's, so what I should do next?  p.s. i know, in old (10., 11.) distributives it will be done by kdesudo "sh /media/cdrom/cdromupgrade" command, but, like i already said - there is no cdromupgrade.sh or any other *.sh. Only wubi.exe and grub boot core.

I'm using Ubuntu 10.04 now and want to Upgrade to Ubuntu 11.04. The problem is my net connection is very slow and I can not do a network upgrade from the "Updates Manager".  So, is there a way that I can download the Ubuntu upgrade as an bootable CD image and upgrade from it?


I am using Samsung S2, due to my nephew attempting too many wrong patterns in my phone now it is locked and it is displaying "Too Many Patterns Attempted sign in to your Google account".  I want to know if I unlock it by using Google account, will it wipe out my all the data that is in my phone memory? If so, how can I unlock the phone without losing any data from my phone memory?

I have an Android device which is running Android 4.0.3 (or something like that).  My little brother decided to try and guess my lock screen pattern the other day, and ended up locking me out.   I have since been unable to log back in to the tablet using my Google Account details. I provided the correct login details, however it says they are incorrect. Could this be connected to the fact I have no internet connection?  I have no internet connection as the device is WiFi only, and the WiFi is currently turned off. I cannot turn it on, as I am locked out.  How can I log back into my tablet without wiping the user data?


Problem. Let $K$ and $L$ be subfields of a common field, both which contain a field $F$. Prove the following statements. (a) If $K = F(X)$ for some set $X \subset K$, then $KL = L(X)$. (b) $[KL:F] \leq [K:F][L:F]$. (c) If $K$ and $L$ are algebraic over $F$, then $KL$ is algebric over $F$. (d) Prove that the previous statement remains true when $``$algebraic$"$ is replaced by $``$normal$"$, $``$separable$"$, $``$purely inseparable$"$, or $``$Galois$"$.  For (a). If $K = F(X)$, since $F \subset L$ and $KL = K(L) = L(K)$ we should have $KL = L(X)$. For (b). I tried two different ways:  Take $\lbrace \alpha_{i} \rbrace$ a basis for $K$ and $\lbrace \beta_{j} \rbrace$ a basis for $L$. How to find a basis for $KL$ from these? The product generates $KL$? I still get a little confused with the $``$appearance$"$ of elements of $KL$ (maybe, this is a problem in (c)).  Write $[KL:F] = [KL:L][L:F]$ and try to show that $[KL:L] \leq [K:F]$. Intuitively this seems right, but I couldn't prove   For (c). Take $\alpha \in KL$, so exists $k_{1},...k_{n}; k'_{1},...,k'_{m};l_{1},...,l_{n};l'_{1},...,l'_{m}$ such that $$\alpha = \frac{k_{1}l_{1} + ... + k_{n}l_{n}}{k'_{1}l'_{1} + ... + k'_{m}l'_{m}}.$$ Since $k_{i}, k'_{j} \in K$ and $l_{i}, l'_{j} \in K$, they are algebraic, then $\alpha$ is algebraic, because the set of algebraics is a field. This make sense? For (d). I have not tried it yet. Since I have not resolved the previous ones, I do not think it makes sense to try to.  I think my difficulty in this problem is due to the fact that I have not understood very well how to explicitly say who the elements of $KL$. I would like any hint! Thanks for the advance.

When I'm self-studying  Parick Morandi's book Field and Galois Theory,I came across some problems,which I can't work out fully. Let $K$, $L$, be two extension fields of base field $F$. If  $K/F$ and $L/F$ are both Galois extension ,how to proof that their composite $KL$ is also Galois over $F$. And why we have the same conclusion when "Galois "is replaced by "normal","separable","purely inseparable",or "algebraic"? I worked on these problems and searched this website  for two days but could only proof the cases for "separable","purely inseparable",and "algebraic".I have no idea how to proof the "normal" and "Galois" cases. In addition ,why the degree inequality  holds for $$ [KL:F]\leq[K:F][L:F]$$ If you know how to proof these ,please tell me.I am here waiting for the answers.Thank you!


I just want to accomplish this:  TextView    TextView    TextView    TextView    EditText    EditText TextView    EditText    EditText TextView    EditText    EditText ..and so on  This has to be done dynamically.  I've implemented a test code in this way but i get error of java null pointer exception for addview(). This is my XML file:  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/sem_scores" >  <TextView     android:id="@+id/tvSemester"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignParentLeft="true"     android:layout_alignParentTop="true"     android:layout_marginLeft="21dp"     android:layout_marginTop="17dp"     android:text="Semester"     android:textAppearance="?android:attr/textAppearanceMedium" />  <TextView     android:id="@+id/tvCgpa"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignBaseline="@+id/tvSemester"     android:layout_alignBottom="@+id/tvSemester"     android:layout_marginRight="34dp"     android:layout_toLeftOf="@+id/tvCredits"     android:text="CGPA"     android:textAppearance="?android:attr/textAppearanceMedium" />  <TextView     android:id="@+id/tvCredits"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignBaseline="@+id/tvCgpa"     android:layout_alignBottom="@+id/tvCgpa"     android:layout_alignParentRight="true"     android:layout_marginRight="17dp"     android:text="Total credits"     android:textAppearance="?android:attr/textAppearanceMedium" />  <Button     android:id="@+id/button1"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignParentBottom="true"     android:layout_alignParentLeft="true"     android:layout_alignParentRight="true"     android:text="@string/next" />     And this is my class file:  public class SemScores extends Activity {  // public DataBaseHelper dbHelper=new DataBaseHelper(this); static int cur_sem; public RelativeLayout rl; @Override protected void onCreate(Bundle savedInstanceState) {     // TODO Auto-generated method stub     super.onCreate(savedInstanceState);     rl=(RelativeLayout)findViewById(R.id.sem_scores);     initialize();     setContentView(R.layout.sem_scores); }  void initialize() {     TextView[] tvArray=new TextView[8];     RelativeLayout.LayoutParams params=new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,ViewGroup.LayoutParams.WRAP_CONTENT);      cur_sem=DataBaseHelper.convertsem(MainActivity.cur_sem);     for(int i=0;i<cur_sem;i++)     {         tvArray[i]=new TextView(this);         tvArray[i].setId(i);         tvArray[i].setText("heloooo");          params.addRule(RelativeLayout.ALIGN_LEFT,R.id.tvSemester);          //I'll add other rules later this is just a test code         //params[i].addRule(RelativeLayout.BELOW);         rl.addView(tvArray[i],params);     } }   }  LogCat:  03-08 19:32:56.041: E/AndroidRuntime(30898): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.testlab.testing/com.testlab.testing.SemScores}: java.lang.NullPointerException     I'm getting a feeling like there's a simple error somewhere, just help me out. Thanks.  Update: Oh man, I feel pretty stupid now :D

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


i have encountered the following series on a Physics problem: \begin{equation} S = \sum_{n=1}^{\infty} \frac{1}{1-x^n} \end{equation}  I would like to know if there is any specific Function assigned to this series. Thanks for you attention.

The sum came up when I was trying to evaluate $\frac{1}{1}+\frac{1}{11}+\frac{1}{11}\cdots$  I rewrote the sum as, $S = 9 \ \displaystyle{\sum_{i=1}^n} \frac{1}{10^i-1}$  Wolfram gives an answer in terms of the digamma function.


I am translating something from German to English (my mother-in-law's war stories), and she wrote of having lived in various labor camps while she was in the custody of the Soviets after WW 2.  She writes of having lived "in einer Baracke", and the singular form for it in English is "barrack", but do we really ever use the singular form?  Despite my 8 years in the US Army where this word was used frequently, I never heard the singular form used.  My German-English dictionary says "hut, barrack", and the  says "A building or group of buildings used to house military personnel. Often used in the plural."  Well, always is not often, clearly.  The reason I am asking is because I am considering using the singular form (making her story into a book, you see) in order to keep somewhat of the flavor of the original account.  But is that a good idea, do you think?  It will be English speakers who will read this book, and I don't want them to think I spelled the word wrong.

In the online game , the following sentence is used:     Your barracks is finished. A good step towards world domination.   Shouldn’t it instead be:   Your barracks are finished.   or    Your barrack is finished.


When a script runs, commands in it may output some text to stdout/stderr. Bash itself may also output some text.  But if a few scripts are running at the same time, it is hard to identify where does an error come from.  So is it possible to insert a prefix to all output of the script? Something like:  #!/bin/bash prefix 'PREFIX' &2 echo "wrong!" >&2   Then:  $ ./script.sh PREFIXwrong!

I have explored almost    , to no avail.  Let me describe the problem in detail:  I run some unattended scripts and these can produce standard output and standard error lines, I want to capture them in their precise order as displayed by a terminal emulator and then add a prefix like "STDERR: " and "STDOUT: " to them.  I have tried using pipes and even epoll-based approach on them, to no avail. I think solution is in pty usage, although I am no master at that. I have also peeked into the source code of , but that has not been much productive.   Ideally I would use  instead of Bash to accomplish this, but I have not been able to. Seems like pipes automatically forbid keeping a correct lines order because of buffering.  Has somebody been able to do something similar? Or it is just impossible? I think that if a terminal emulator can do it, then it's not - maybe by creating a small C program handling the PTY(s) differently?  Ideally I would use asynchronous input to read these 2 streams (STDOUT and STDERR) and then re-print them second my needs, but order of input is crucial!  NOTE: I am aware of  but it does not work for me with Bash scripts and cannot be easily edited to add a prefix (since it basically wraps plenty of syscalls).  Update: added below two gists       (sub-second random delays can be added in the sample script I provided for a proof of consistent results)  Update: solution to this question would also solve , as @Gilles pointed out. However I have come to the conclusion that it's not possible to do what asked here and there. When using 2>&1 both streams are correctly merged at the pty/pipe level, but to use the streams separately and in correct order one should indeed use the approach of  that involves syscall hooking and can be seen as dirty in many ways.  I will be eager to update this question if somebody can disprove the above.


On my Drupal 8 site, when an anonymous user "A" visit this link: https://www.example.com/page-1?data=12345678, I want to store the data value in a session and save it later to the user account under field_user_data when this same user "A" login/signup to the site.  Note: The query data will be unique for every single user and will not be used twice ever.  I thought the best way to go is by using the data value in a session and use it later when the same anonymous user becomes authenticated on the site.  So on site load and when user "A" is using the site as anonymous, I am saving the data value in a session using:  // Get query values from url. $request_query = Request::createFromGlobals(); $data = $request_query->query->get('data');  // Save the "$data" in a session variable. $tempstore = \Drupal::service('user.private_tempstore')->get('my_module'); $tempstore->set('data', $data);   and later, in another php file but within the same module, when the anonymous user "A" authenticate to the site, I am saving the session value to his user account as shown below:  // Get 'data' Session value $tempstore = \Drupal::service('user.private_tempstore')->get('my_module'); $data = $tempstore->get('data');  // Set 'data' value to user account. $authenticated_user->set('field_user_data', $data);  // Save $authenticated_user->save();   The problem is $data session is shared between all users and not being unique per user while $data value must be unique for every single user.  What is wrong with my code ? Using cookies will be a better approach for my use case ?  Update #1:  Using above code to store sessions or using the method provided here , both are working as expected but in only one case (For authenticated users)  When an authenticated user visit https://www.example.com/page-1?data=12345678 (where 12345678 will be unique per user), both above methods are working as expected and the value 12345678 is indeed saved to the authenticated user account under field_user_data field.  However, when User "A" visit https://www.example.com/page-1?data=12345678 as anonymous user and then later decided to login/signup, both above methods are not working for me!  Note: For now I am using cookies by using setcookie('data', $data, 0, '/'); and $data = $request->cookies->get('data'); and it is working for both anonymous & authenticated users.  But I would really prefer to get it done using sessions !

I am working on a shop, and for the cart, i need to store items before payment.    $tempstore = \Drupal::service('user.private_tempstore')->get('boutique');   $tempstore->set('poids', $form_state->getValue('poids'));   I take a look on the user service for :      pivate_tempstore and shared_tempstore   But that work only for authenticates users.  What can I use for store data ? $_SESSION ? or Drupal 8 has a service for that ?


Every time I try to do some update (sudo apt-get update) it says:   Reading package lists ... ready W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages) W: You have to run apt-get update to correct these problems   sources.list:   ls /etc/apt/sources.list.d/ as requested:  milton@milton-HuronRiver-Platform:~$ ls /etc/apt/sources.list.d/ emesene-team-emesene-stable-precise.list precise-partner.list precise-partner.list.save upubuntu-com-chat-precise.list upubuntu-com-chat-precise.list.save

I keep getting this warning whenever I try to run sudo apt-get update.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   Below is the output from /etc/apt/sources.list file:  deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted  deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu precise-updates universe deb-src http://archive.ubuntu.com/ubuntu precise-updates universe  deb http://archive.ubuntu.com/ubuntu precise multiverse deb-src http://archive.ubuntu.com/ubuntu precise multiverse deb http://archive.ubuntu.com/ubuntu precise-updates multiverse deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse  deb http://archive.ubuntu.com/ubuntu precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted deb http://archive.ubuntu.com/ubuntu precise-security universe deb-src http://archive.ubuntu.com/ubuntu precise-security universe deb http://archive.ubuntu.com/ubuntu precise-security multiverse deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse   How do I fix it?


They interviewed several candidates who he thought had the experience and qualifications he required.   My test prep book says this should be "who" because of the subordinate clause's predicate:     They interviewed several candidates who he thought had the experience and qualifications he required.   I feel like it should be "whom" as it's the object of the main clause.     The interviewed several candidates whom he thought had the experience and qualifications he required.   Who's right?

From  page 48 of Law: A Very Short Introduction, by Raymond Wacks:     In other words, you owe a duty to persons whom it is foreseeable are likely to be harmed by your conduct.   To try to parse this, temporarily overlook 'it is foreseeable'. Then persons is the subject of the verb phrase are likely to be harmed. So , should the relative pronoun for persons be who instead? Is my parse wrong?   Are the (deleted) comments right: that this style predominates in law texts? If this is correct grammar, what is the general rule? Is it commonly used in other contexts?


this is a quite easy theorem which shouldn't be too hard to prove - I need it for some presentation; However I'm looking for the proof in the internet and can't find it - does anyone know where I can find the formal proof of it?

Let $F$ be a finite field. How do I prove that the order of $F$ is always of order $p^n$ where $p$ is prime?


I spilled less than half a cup of coke on the right side of the keyboard.    At first all the keys were working.  Then, when clicking "w" it types "2" and some other keys stopped working.  I dried every visible part that got coke on.  I didn't know what to do, having never experienced this, so I didn't know I had to turn it off. Instead it was on the entire time.  I tried to vacuum it and got some liquid out. Then the following hour it stopped working and today I sent it to service.   It is still under guarantee any chance that it can be fixed for free? If not could you tell me a possible price if it can even be fixed. What could be damaged and can I buy new parts?   I knew that I had to take out the battery but its really hard to open this laptop and I needed special instruments which I couldn't find at 12 am.

I have just dropped a half full latté on my company laptop and am not sure what to do.  Is there a way I can make sure that my laptop is usable again?  What steps must I go through to improve it's chances of survival?


Another thread on this site established that the photon has a gravitational field of its own. Then the photon must loose energy to the gravitational wave the photon makes when it travels through space, I assume? But I have never seen a calculation of the red shift due to this effect by mainstream astronomers. But prof. Jian-Miin Liu (Nanking University) has some interesting papers on this subject on the internet, using the GTR as his theoretical background. I would be very glad to hear of your views on this.

Due to the mass-energy equivalence, both matter and EM radiation bend spacetime, and both are capable of forming singularities (black hole, white hole/kugelblitz). In light of this, why do photons traveling from the most distant reaches of the observable universe not lose energy due to the gravitational radiation they must emit? Furthermore, mustn't cosmic rays (e.g. protons) slow down or stop as they lose energy through the same mechanism?


I have an hard disk with 4 primary partitions used to dual boot Ubuntu and Windows, but I have 300 GB of unallocated space.  How can I use it?

sda1 -> Windows XP  sda2 -> Windows 7 sda3 -> Data Partition   I have created 4 primary partitions, I have 7xx GB left, how can I create one more partition?


I have installed Mendeley Desktop () in my computer. It turns out that I can only run the program through the terminal, by sudo mendeleydesktop . If I try to run it from the dock, or even through the terminal without sudo, it doesn't run. It stars briefly (0.5 sec) but suddenly it closes.  When I try to run it in this last way, the next message is shown in the terminal:  /usr/bin/../../opt/mendeleydesktop/bin/install-mendeley-link-handler.sh: 56: /usr/bin/../../opt/mendeleydesktop/bin/install-mendeley-link-handler.sh: cannot create /home/jorge/.local/share/applications//mendeleydesktop.desktop: Permission denied QIODevice::setTextModeEnabled (QFile, "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2016-11-01.txt"): The device is not open QIODevice::write (QFile, "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2016-11-01.txt"): device not open QSslSocket: cannot resolve SSLv2_client_method QSslSocket: cannot resolve SSLv2_server_method Error in finalize query "attempt to write a readonly database" : "BEGIN EXCLUSIVE" Qt WebEngine Plugins directory not found. Trying fallback directory... Plugins as for example video codecs MAY NOT work. Error in finalize query "attempt to write a readonly database" : "BEGIN EXCLUSIVE" Error in open database "unable to open database file" : "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/www.mendeley.com/jbecerratg@alumnos.unex.es-5120/search-index.sqlite" Failed to open search index Error in prepare query "unable to open database file" : "SELECT value FROM UpdateTokens WHERE key = :key" Error in bind value "no statement prepared" Error in execute query "query not prepared" Error in step query "query not active" QObject::disconnect: Unexpected null parameter   It would be extremely helpful if you could tell me how to fix this. I would like to run the program by clicking in the icon.  Thanks in advance.

I've read  and am interested in this line:     You should never use normal sudo to start graphical applications as Root.   Why? What is the difference? Please provide a simple explanation, as I'm just a normal desktop user.


Sometimes checking of arguments in Python is necessary. e.g. I have a function which accepts either the address of other node in the network as the raw string address or class Node which encapsulates the other node's information.  I use type() function as in:      if type(n) == type(Node):         do this     elif type(n) == type(str)         do this   Is this a good way to do this?  Update 1: Python 3 has annotation for function parameters. These can be used for type checks using tool:

I need to know if a variable in Python is a string or a dict.  Is there anything wrong with the following code?  if type(x) == type(str()):     do_something_with_a_string(x) elif type(x) == type(dict()):     do_somethting_with_a_dict(x) else:     raise ValueError   Update: I accepted avisser's answer (though I will change my mind if someone explains why isinstance is preferred over type(x) is).  But thanks to nakedfanatic for reminding me that it's often cleaner to use a dict (as a case statement) than an if/elif/else series.  Let me elaborate on my use case.  If a variable is a string, I need to put it in a list.  If it's a dict, I need a list of the unique values.  Here's what I came up with:  def value_list(x):     cases = {str: lambda t: [t],              dict: lambda t: list(set(t.values()))}     try:         return cases[type(x)](x)     except KeyError:         return None   If isinstance is preferred, how would you write this value_list() function?


Mass m is rotating on a horizontal friction-less plane around a tiny hole. A massless string is connected to mass m and the other end of it is slowly pulled. Taking the center as our origin we see that there are no torques on the body so the angular momentum is conserved. When the body is at  the center the angular momentum will be zero since $r=0$ violating the conservation principle ? What have I incorrectly done?

I struggle to find a satisfying reason and formulation, why for a point mass,  that is fixed in a rotational system and the radius is changed (like pulling on a string with a small ball rotating around it), the speed of this point mass would increase due to the conservation of angular momentum.  that follows a trajectory with decreasing radius (like a Roller Coaster on a Spiral shaped rail), the speed of this point mass would not increase, since conservation of angular momentum is not applicable in this case. (I already started doubting, if it really does not increase).   The only reason I found so far is that in the second case, the rail acts as an external force to the mass, while in the first case the radius change is an internal change of the system that comes along with putting energy into the system by working against the centrifugal forces. While I expect this is a somewhat correct answer, I still find this is a little bit hand waving argument. I expect that I just miss a proper clean definition of external force vs internal force. I also constructed the following thought experiment for myself, that involves an external rail, but I would expect to react like the first case: When a point mass rotates on a circular stretchable rail and the radius of that rail would be changed by applying some force against the centrifugal force of the point mass, I'd also expect the velocity of the point mass increases, since some force applied over a distance (energy change) is involved. But I doubt that the applied force over a distance is the underlying fundamental reason and I expect that there is another more satisfying fundamental difference between the fixed predetermined trajectory and the thought experiment / the first case mentioned in the beginning.


I have visited a lot of Q/A and Forum sites similar to this one. Many of them however had spell check. I don't see it as a must fix for the site; however if an automated engine/plugin could check the spelling of questions and answers, it could be beneficial to the users and outsiders of this site.  People love spelling and grammar more than anything, as long as it makes sense.  For instance, if someone says           My fhate is with you, technology.          My fate is with you, technology.      This may be a crummy example, but one letter can change the way someone looks at a question. Without the fate below it, you would think  he meant to type hate, not fate.   Or how about some grammar and format differences.      I am having an issue and I need it fixed soon.      I AM HAVING AN ISSUE AND I NEED IT FIXED IMMEDIATLEY!   They're little things that won't affect it much. These can change the way people view, the user, the site, the community. People are going to want to figure out answers on a site they can trust. Without spell-check people will think this site is not trustworthy even though it is.   I am not saying you have to, but take it into consideration.  It's your fhate.

It would be nice to see a built-in spell checker into the main text-panel for posts. Every time I post here or Stack Overflow I quickly open up Gmail, paste my post there, and use its spell checker to make sure I didn't make any stupid mistakes. I know other services have these types of features, and it would be nice to see Stack Overflow have one as well.  Agree/disagree?  (BTW, I found two small mistakes for this short post.)  I know I made a comment about this on ChrisF's answer, but I thought that I should also mention it here in the question. I know there are many third-party tools to add spell checker functionality to Stack Overflow. But some (if not many) people out there do not have these tools. They are either at work (like me), or some other place where they using a machine that is not owned by them, or they aren't power users and just don't have these tools installed.  If Stack Exchange becomes used for other non-technical sites, then you will probably have to count on the fact that people are using  or something just as bad. That's why it would just be nice to have a built-in spelling tool. Again, it may not be worth it, but I think it would be interesting to discuss it at least.


I am trying to make Employment Distribution of map of a given area in ArcGIS. All the employment information is in this one point shapefile from Census. Different fields show different number of employment for different industries.   Now I want to use each field as population field input in Kernel Density tool. There are like 18 fields so I am wondering how I could use iterator or some other way to do it more efficiently.  The model I used is shown as below:    What shall I do to finish this job?  This was marked as duplicated by Mods, which I understand. But I am just wondering if this could be done merely in ModelBuilder.

I am unable to find any info on how to use ModelBuilder to run a certain spatial analysis function on each column in a table.  I have a table to sample locations and at each location there are a series of measures (e.g. temperature, flow rate, number of certain species).  For each of those attributes (columns in the table), I was to run the IDW function from the surface tools.  This would be easy if I had each attribute in a separate shp/feature class, but not very efficient.  I tried Iterate Feature Selection, but was unable to pass the field name as the Z value in the IDW function.  This is for ArcGIS 10.1 (Basic and Spatial Analyst license)


When I join my server "testing" is printed as expected but the npc is not spawned and does not attack me. Here is the plugin.yml:  main: com.megacrafting.MegaParty version: 1.0 name: Megaparty depend: [Citizens]   Here is the error:  [20:58:24 ERROR]: Could not pass event PlayerJoinEvent to Megaparty v1.0 org.bukkit.event.EventException: null         at     org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)  ~[spigot.jar:git-Spigot-b78586d-f3356f1]         at     org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-b78586d-f3356f1]     at   org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-b78586d-f3356f1]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:342) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:162) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:159) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:57) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:842) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-b78586d-f3356f1]     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-b78586d-f3356f1]     at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] Caused by: java.lang.NullPointerException     at com.megacrafting.MegaParty.onJoin(MegaParty.java:35) ~[?:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]     at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-b78586d-f3356f1]     ... 14 more   Here is the code:  package com.megacrafting; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.plugin.java.JavaPlugin;  import net.citizensnpcs.api.CitizensAPI; import net.citizensnpcs.api.npc.NPC; import net.citizensnpcs.api.npc.NPCRegistry;    public class MegaParty extends JavaPlugin implements Listener {  private NPCRegistry registry;    public void onEnable() {     NPCRegistry registry = CitizensAPI.getNPCRegistry();     getServer().getPluginManager().registerEvents(this, this);   }  @EventHandler    public void onJoin(PlayerJoinEvent event) {     Player p = event.getPlayer();     p.sendMessage("testing");     Location loc = p.getLocation();     NPC npc = registry.createNPC(EntityType.PLAYER, "keys9");     npc.spawn(loc);      npc.getNavigator().setTarget(p, true);      }  }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


What's the difference between "can't help but" and "can't help"  Consider two examples:    I can't help thinking about you. I can't help but think about you.   Do the two sentences mean same, or is there a difference?  I have no problem about understanding with first sentence, but I'm confused with the second sentence. Please explain with some examples.

Which of the following are grammatical?        I cannot help but think.     I cannot but think.     I cannot help thinking.        I was taught (1) is not correct. Is it true? Or are they all correct? Is there any other way(s) to express what the speaker is trying to say using the words "help" and "think" apart from the three ways I mentioned?


i got this code:  public class MatriceMap extends AbstractMatrix {  HashMap<Position,Integer> valeurs; public MatriceMap(int nbl, int nbc) {     super(nbl, nbc);     values = new HashMap<Position, Integer>(); } @Override public int getValue(int x, int y) {     Position p=new Position(x,y);     int m=valeurs.get(p);     return m; }   and i got an error with getValue method : java.lang.NullPointerException