The standard text looks really ugly in GE, you lose ALL the format settings of your text and end up with a very low quality pixelated render text that doesn't support even a material for coloring, not even the fonts looks the same. So the solution is to "bake" your text transforming it in a mesh polygon object. whith the command (alt + c - Mesh from Text) But that way you lose the ability to update your text in game, for example using a "string text property"   I found that option in the text settings called "Object Font" witch allows you to pick objects and use them as characters. You just need to name your objects whith a common name. (eg.family-a , family-b and so on) and I got it to work right, I thought that this was the solution for my texts in game. So I started the process of making each character, and half way I come to test just to discover that it helped in nothing. it doesn't work in GE. I got only the ugly text from before and no signs of the polygon characters.  Some one in there knows how to get the "Object Font" to work in GE, or know other efficient methods for putting 3D text that you can update in game?

Within my game I have some cubes with text which render fine. In addition to the cubes I want to display some static text, e.g. the current score. The score text has the camera as parent and a copy rotation constraint on the camera. While this concept works fine in principle, the score text is displayed very pixelated. I already increased the font size to 50 and made the text smaller by scaling it down, but it still doesn't show nicely. The score text is about 11 Blender units away from the camera. If I move the score text further away, it displays better, but then the text interferes (collides) with the cubes. What could I do to improve the quality of this text? Download . Open the SSCCE in Blender 2.70. Hover your mouse over the 3D viewport. Press P to start game engine.


I have a lv3 Dragonborn Fighter, and I am still completing the sheet. I need to know the attack bonus for the Javelin of Lightning in order to use it. I usually just stick to what the DM says.

Is it Strength because it's a Thrown javelin (like a regular javelin), or Dexterity because of the wording of the descriptive text below? Specifically: 'make a ranged weapon attack' implies Dexterity to me.      This Javelin is a Magic Weapon. When you hurl it and speak its Command Word, it transforms into a bolt of lightning, forming a line 5 feet wide that extends out from you to a target within 120 feet. Each creature in the line excluding you and the target must make a DC 13 Dexterity saving throw, taking 4d6 lightning damage on a failed save, and half as much damage on a successful one. The Lightning Bolt turns back into a Javelin when it reaches the target. Make a ranged weapon Attack against the target. On a hit, the target takes damage from the Javelin plus 4d6 lightning damage.      The javelin's property can't be used again until the next dawn. In the meantime, the Javelin can still be used as a Magic Weapon.


If $x=9$, then can we write $\sqrt{x}=\pm3$ or only $\sqrt{x}=3$.   I am confused as square root always gives positive number.  But the irony is that if we have $a^2=9$, then we write $a=\pm3 \text {  where $a=\sqrt{a^2}$ }$

It is perhaps a bit embarrassing that while doing higher-level math, I have forgot some more fundamental concepts. I would like to ask whether the square root of a number includes both the positive and the negative square roots.  I know that for an equation $x^2 = 9$, the solution is $x = \pm 3$. But if simply given $\sqrt{9}$, does one assume that to mean only the positive root? And when simply talking about the square root of a number in general, would one be referring to both roots or just the positive one, when neither is specified?


I have been playing terraria (on my iPad) a lot lately and I got full shadow armor and full nightmare tools, but I can't figure out what to do next... I already beat the eater of worlds like 4 times and harvested 3 meteors but I can't figure out what to do next... So what is the next big step in the world of terraria?  Edit: Ok so I got into hard mode but what do I do now? I decided to farm the wall of flesh a couple times but I can't really figure out how to progress more...

Unfortunately, there is one thing that I do not know; I've broken all the crimson orbs I can find, I have a full set of Crimson armor and tools, but I don't know what to do next. I've beaten Skeletron, the eye of Cthuhulu, the brain of Cthuhulu, Goblin Army. I've maxed out my health, and I have quite a few useful offhand items.


I read that   when light strikes an object some of the frequencies of light are absorbed while others are reflected back  this is explained in more detail by physics classroom:  Visible Light Reflection and Transmission Reflection  light waves occur because the frequencies of the light waves do not match the natural frequencies of vibration of the objects. When light waves of these frequencies strike an object, the electrons in the atoms of the object begin vibrating. But instead of vibrating in resonance at a large amplitude, the electrons vibrate for brief periods of time with small amplitudes of vibration; then the energy is reemitted as a light wave.   My question is why is does'nt the atom re-emit the light wave in the direction it came ? why does it reemit ensuring ( angle of i=angle of  r)  Source =

The "equal angles" law of refection on a flat mirror is a macroscopic phenomenon. To put it in anthropomorphic terms, how do individual photons know the orientation of the mirror so as to bounce off in the correct direction?


I happended to see this on StackOverflow on page ,the attribtue of the picture is displayed.  System environment:   Operating System:Ubuntu 12.04   Browser:Version 31.0.1650.63 Ubuntu 12.04 (31.0.1650.63-0ubuntu0.12.04.1~20131204.1)

I have many times found CSS written on my screen besides images from Stack OverFlow.   It is associated with the advert from Rackspace  Here is a screenshot:


I am struggling to understand why a trailing linefeed is retained in only one of the following cases. See the script:  declare -a B  B[1]='foo' B[2]=$'foo\n' B[3]="$( echo 'foo' )" B[4]="$( echo -e 'foo\n' )" B[5]="$( printf '%s\n' 'foo' )" B[6]="$( cat <<END foo  END        )"  # Print each value. for RESULT in "${B[@]}" do         echo "[${RESULT}]" done   And the result when run:  [foo] [foo ] [foo] [foo] [foo] [foo]   I was expecting the first to lack a newline; the fourth and sixth to have two newlines each; and the others to have a single newline each. But instead, only the second has a newline.  What's going on, please?

Basically, this is the issue:  $ echo Hello"$(printf '\n')"World HelloWorld   What did I overlook ?


As I don't have access to a usb or CD, I have tried to frugal install ubuntu onto my HDD, using Unetbootin. Once turning on I find the dual boot menu to select the OS, and attempt to boot Ubuntu, with no avail. An error appears saying     Windows failed to start.A recent hardware or software problem might be   the case.   It then says File:      ubnldr.mbr status: 0xc00007B.   Does anyone know a solution?

I want to install Ubuntu on my laptop that doesn't have a CD-ROM drive and I have no spare USB disk. I've tried Wubi, but that doesn't seem to work (since it prompts me to have the CD in the drive, which I don't have).  How can I install Ubuntu, easily and in a fast way?  P.s: I want to dual boot it with Windows 7 (which was preinstalled).  Edit:   When extracting the ISO to a folder and running Wubi it does install, but when I reboot the computer, it doesn't show GRUB, nor can I choose if I want to boot Ubuntu or Windows 7. After trying for the third time today, wubi gives me an error: Permission denied   I'm the administrator on the PC.


Let's say that I have a feature called 'City' which takes 20 different values ( SF, LA, Boston ... ). Let's also say that I have a bunch of other features in my data and I would like to build a classification model ( to book vs. not booked model ). Let's also say that we know that customer behaves differently in each city. Therefore, instead of One-hot-encoding City in my training data and build a single classification model, would it be better if I build 20 different classification models, one for each city to capture booking probabilities better? What would be the difference between both approaches? Which one would you recommend?

I have customer data from 2 brands. The data structure are the same, but I expected the customer behaviour to be different in different brand.  So I could train 2 models, 1 for each brand, or I could train one model on both brands, but flag which brand the customers belongs to within the data.  So my question is, would training on both brands with flags be too much more work for the Machine Learning (I'm using neural network), and therefore be harder to achieve good accuracy than to have dedicated models for each brand?


$\frac{1}{9}=0.111\dots$  $9\times \frac{1}{9} = 0.999\dots$  $1=0.999\dots$  What is the problem here? Thanks for any help.

I'm told by smart people that $$0.999999999\ldots=1$$ and I believe them, but is there a proof that explains why this is?


I'm on my journey towards Ubuntu and Linux in general after 20 years of Windows. I'm still trying to understand the different concepts.   I've been reading a lot about the OS the last few weeks and gradually learning about all kind of features. Specially about the application management part. During some testing I've noticed a difference in the commands apt-get and just using apt. Using apt install package I get a nice little progress bar, apt-get install package on the other hand seems to be doing the same except the progress bar.   Can anyone verify or let me know if that's indeed the only difference or is there more than meets the eye?

I read about the new fancy progress bar which was added to apt 1.0 in  and how to enable it . However on running sudo apt-get update, I did not see the fancy progress bars. On reading the second link again, the solution explicitly requires you to use sudo apt update.  Hence my question is the difference between apt and apt-get. I thought they were one and the same.


Because it is not possible to change the display resolution on my guest Debian 9.4.0 amd-64 running on VirtualBox 5.2.8 on Windows 10 64-bitI tried to install the VBox-Additions from here:   What I did:   Add the .iso file of the GuestAdditions as CD-ROM in VirtualBox settings su apt-get update apt-get upgrade apt-get install build-essential module-assistant m-a prepare sh /media/cdrom/VBoxLinuxAdditions.run   What I get:   The file root/var/log/vboxadd-setup.log:    The screen is still not resizeable, please help.

I have been struggling to install VirtualBox Guest Additions in a Debian Virtual Machine (Debian 7, Debian 8 and Debian 9).


By Definition 9.1.1. in my textbook it says that a cardinal is an ordinal such that for every $\beta \in \kappa$ there is no one-to-one function $f:\kappa \rightarrow \beta$. I found out that $\omega^2$ is a limit ordinal, because it is not a successor ordinal. Next, do I have to show that there exists a one-to-one function $f:\omega^2 \rightarrow \omega$ by contradiction to show that it is not a cardinal? Or what do I do for my next step? Any help is appreciated (I have already looked around at the site for similar problems).

Maybe this is a trivial question. I see that every infinite cardinal is necessarily a limit ordinal, but is the converse true ?


I am adding some overlay images in the compositor. But when I add the images it appears to be transparent.  Why is my image appearing like this?

Is there a way to use nodes to combine two images if both the images have transparency (i.e. alpha channels)?


This might sound weird. I have a scene with alembic files. There are chunks in the timeline which do not need to be rendered. For example in a 200 frames timeline I want to skip say 20-51 and then 110-167. I cannot do this manually as I will be leaving my PC to render overnight and to save the render time I do not want to render the redundant parts. Is there a way to setup the file so that I render the parts I want from the timeline?

I’m making a little movie with using multiple computers. I can't use the network so I've divided the frames of the animation over the computers. Unfortunately now there are frames missing. What I'd like to do is using 1 machine to render all the missing frames. For example: 4-24-35-64-143 but ideally in such a way that I don't have to re-start blender multiple times. Is this possible somehow?


What, if anything, is the difference between   \usepackage{foo,bar}   and  \usepackage{foo} \usepackage{bar}

There are a few questions regarding the speed of loading packages together, but this question isn't necessarily about that.  I'm more interested in any tangible, persistent differences, such as package clashes and the like.    Is there any difference between loading packages one by one,  \usepackage{x} \usepackage{y} \usepackage{z}   as opposed to loading them 'all at the same time'?  \usepackage{x,y,z}   I know that some packages behave differently depending on the order in which they are loaded (xcolor is a prime example), but I suspect that as long as the order remains the same (x,y,z, not z,x,y, say), everything should work exactly the same.


The code of conduct announcement blog just went out, yet the link to the code of conduct page in it yields a 404 - page not found.  Seems like a bug.    This is on latest version of google chrome / windows 8.1

The  contains a link to the new code of conduct,  . As of 2018-08-07T05:27:38+00, . Also, I cannot find any other link to the conduct yet, neither in the help center, nor in the site navigation, which is a bummer, given that we're invited to read the new CoC:     Really, please, take a moment to read the new Code of Conduct now. It’s not long, it’s not wordy-and-legalese-y and in our long held tradition, we feel that it does a good job of assuming that the vast majority of folks that use our sites always have the best intentions at heart.    Is the code of conduct not yet published?  Edit: As mentioned in the comments,  announces the conduct and links to , so maybe it's not public yet?


I use Google Chrome and have specific settings for it and which apps I have downloaded for it. I use it with many of my computers (two laptops, desktop, phone, work desktop, etc.). I have a LOT of apps on my Google Chrome.  Now, my one laptop is slow and is only used for simple tasks like getting on the internet and surfing the web. When I open Chrome, it, of course, runs ALL the apps I downloaded and loads EVERYTHING. Just the very task of opening Chrome, takes a while, let alone opening multiple tabs. Now, this laptop is only being used for simple tasks and more than half the stuff I have downloaded on Chrome, I don't use on this laptop.  Is there anyway on Chrome to remove some of those apps ONLY on the Chrome browser on my slow laptop?  I would like of other computers that use Chrome, to continue syncing with whatever I do, but only have one computer that is "partially" synced.  I'm figuring that if I don't have as many apps running in the background, that it won't suck up much of the CPU, so I can do some other small tasks at a reasonable speed.

I use Chrome across 4 different workstations and I have my extensions synced across all of them.  The problem I have is that one of the extensions () works great if you've got an actual mouse, but on a trackpad on Ubuntu, it just gets in the way.  If I disable it on the Ubuntu machine, it gets disabled on all Chrome installations due to its .  Q: Can I selectively disable an extension on just a single machine?


I administer a PostGIS server that was originally intended for internal use. Then, along the way, we open up access to external institutions. Internally, I therefore created views according to the needs and users. Then for internal webmapping, mapserver allowed me to produce WFS and WMS flows. Now that we're opening up to the outside world, without much thought, we've started to share mostly WFS streams. Data is visualized using, mostly, GIS clients like QGis and Arcgis. Before continuing this deployment, I'll try to give you an update on the subject:  Apart from the technological question, what is better to distribute: views or WFS streams? Are some better than others? In which case? In short, I am interested in feedback or reflections more accomplished than mine.

I was trying  and  I was setting up Tomcat and all.   I suddenly had a question ... why do we need MapServer and GeoServer?   Can these servers pull data from the database layer as the user asks and only presenting what user has asked from the database?


My question is specifically for badges in a particular tag. I've heard that the rules have been changed.  How and when can one get bronze, silver and gold badges for a specific tag, say ? What are the new rules governing these badges?

Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a "(retired)" next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type.


new to coding, new to java and new to stack overflow.  It might be a silly question, but I'm having trouble creating an int array of size = HashMap.size();    int gt = HashMap.size(); // which is 50  int[] answer = new int[gt]; // Shouldn't it creates an int array of size 50?  int length = answer.length;             System.out.println(answer + " " + length); // is giving me something   like [I@15db9742 50   Any idea of what's going on? THANKS!

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


the question is find the value of x from $$p\vec{x} + (\vec{x}×\vec{a})=\vec{b}.$$ in this question can i do scalar product on both the sides of the equation like $$p\vec{x}·\vec{x}+\vec{x}·(\vec{x}×\vec{a})=\vec{x}·\vec{b}$$ and then $$ p\vec{x}·\vec{x}=\vec{x}·\vec{b}$$ $$p\vec{x}·\vec{x}-\vec{x}·\vec{b}=0$$ $$\vec{x}(p\vec{x}-\vec{b})=0$$ and then find the value of $$\vec{x}$$

I have been trying to solve for $\vec{r}$:  $\vec{a}\times \vec{r} + \lambda \vec{r} = \vec{c}$   And I thought of using a triple scalar product, I dot both sides with $\vec{a}$:  $\vec{a} \cdot (\vec{a}\times \vec{r}) + \lambda \vec{a} \cdot \vec{r} = \vec{a} \cdot \vec{c}$  And now since the triple scalar product is cyclic $\vec{a} \cdot (\vec{a}\times \vec{r}) = \vec{r} \cdot (\vec{a}\times \vec{a}) = 0$, so the main equation becomes:  $\lambda \vec{a} \cdot \vec{r} = \vec{a} \cdot \vec{c}$  And I do not know how to proceed from here. I cannot use the dot product again, $\vec{a}$ cannot be canceled out. I am not sure whether this approach is right in isolating the $\vec{r}$ but it seems closer to the answer.


I am trying to verify that there is a button on the page named Select. The Select button has a dynamic span id.  This is what firebug is showing me:  span id="dijit_form_Button_18" class="dijitReset dijitStretch dijitButtonContents" data-dojo-attach-point="titleNode,focusNode" role="button" aria-labelledby="dijit_form_Button_18_label" tabindex="0" aria-disabled="false" style="-moz-user-select: none;"   Here is my code:  Assert.assertEquals("button",driver.findElement(By.xpath("//span[.='Select']")).getAttribute("role"));

How to Handle Dynamic Changing IDs In XPath? for example :   //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1]   In this xpath id "3647323225296998740" is changing every time when reloading the page.   Is there any way to handle this type of situation in Selenium?


i just tried to solve this question, which is a small part of a bigger one.  Prove for all all $x \in \mathbb{R}: \exp(x-1) \geq x$  My first attempt was to simplify:  $$ e^{x-1} \geq x $$ $$ \Leftrightarrow \ln(e^{x-1}) \geq \ln(x) $$ $$ \Leftrightarrow x-1 \geq \ln(x) $$ $$ \Leftrightarrow x \geq \ln(x)+1 $$ $$ \Leftrightarrow e^x \geq e^{\ln(x)}+e^1 $$ $$ \Leftrightarrow e^x \geq x+e $$  My idea is that $e$ power $x$ is of course greater equal $x+e$. Is this correct  and if yes is it enough?

This is easy to prove for negative $x$ but what about positive $x$? Should I use MVT?


I had to create a new user profile on my Ubuntu 14.04 (Xubuntu) because I was getting so many errors in the original one it was impossible for me to work.   Since I work with Skype every day, I need to transfer the stored Skype conversations from the old user profile to the new one, but I don't know how to do that or even where I can find them.  I will be very thankful for precise explanations.

I'd like to convert my Skype chat history to a collection of text files for archival purposes.  Ideally, I'd like to have a command (e.g. script or app) so that I could do this on a regular basis.  Any one have any idea on how to go about doing this?


I was wondering what is the difference between the two lines.  char *ptr; ptr = malloc(10);   and this one.  char *ptr; ptr = (char *) malloc(10);   Are you like casting the memory returned by malloc?

In , someone suggested in a  that I should not cast the result of malloc. i.e., I should do this: int *sieve = malloc(sizeof(int) * length);  rather than: int *sieve = (int *) malloc(sizeof(int) * length);  Why would this be the case?


In the derivation of the Lie algebra in the first volume of Quantum Theory of Fileds by Weinberg, it is assumed that the operator $U(T(\theta)))$ in equation (2.2.17) is unitary, and the rhs of the expansion  \begin{equation} U(T(\theta)))=1+i\theta^a t_a +\frac{1}{2} \theta_b\theta_c t_{bc} + \dots \end{equation} requires $$t_{bc}=-\frac{1}{2}[t_b,t_c]_+.$$ If this is the case there is a redundancy somewhere. In fact, by symmetry $$ U(T(\theta))=1+i\theta_at_a+\frac{1}{2}\theta_a\theta_bt_{ab}+\dots\equiv 1+i\theta_at_a-\frac{1}{2}\theta_a\theta_bt_at_b+\dots $$ and it coincides with the second order expansion of $\exp\left(i\theta_at_a\right)$; the same argument would then hold at any order, obtaining $$U(T(\theta))=\exp\left(i\theta_at_a\right)$$ automatically.  However, according to eq. (2.2.26) of Weinberg's book, the expansion $$U(T(\theta))=\exp\left(i\theta_at_a\right)$$ holds only (if the group is just connected) for abelian groups.  This seems very sloppy and I think that Lie algebras relations could be obtained in a rigorous, self-consistent way only recurring to Differential Geometry methods.

On page 54 of Weinberg's QFT I, he says that an element $T(\theta)$ of a connected Lie group can be represented by a unitary operator $U(T(\theta))$ acting on the physical Hilbert space.  Near the identity, he says that  $$U(T(\theta)) = 1 + i\theta^a t_a + \frac{1}{2}\theta^a\theta^bt_{ab} + \ldots. \tag{2.2.17}$$  Weinberg then states that $t_a$, $t_{ab}$, ... are Hermitian.  I can see why $t_a$ must be by expanding to order $\mathcal{O}(\theta)$ and invoking unitarity.  However, expanding to $\mathcal{O}(\theta^2)$ gives  $$t_at_b = \frac{1}{2}(t_{ab} + t^\dagger_{ab})\tag{2},$$  so it seems the same reasoning cannot be used to show that $t_{ab}$ is Hermitian.  Why, then, is it?


My doubt: What is the main difference between a field and a vector space?  In my mind, a field is simply a collection of eveything that follows a certain property. And it also comes with some built-in operations that you can perform on its elements. For example, the field $\mathbb{R}$ is a collection every number that follows the property of being real. It comes with two operations -  Addition Multiplication  and of course their inverses (Subtraction and Division). Thus, $\mathbb{R}$ is a field  But in my mind, vector spaces also have the exact same definition :- A collection of elements that has a few built-in operations. So $\mathbb{R}$ is a vector-space then   Which of the above is true? Is it a field or a vector space? Also, what is $\mathbb{C}$ then? I read somewhere that is a vector space over $\mathbb{R}$. I also read that it is a field. Which one is correct?

In my opinion both are almost same. However there should be some differenes like any two elements can be multiplied in a field but it is not allowed in vector space as only scalar multiplication is allowed where scalars are from the field.  Could anyone give me atleast one counter- example where field and vector space are both same. Every field is a vector space but not every vectorspace is a field. I need an example for which a vector space is also a field.  Thanks in advance. (I'm not from mathematical background.)


# include <stdio.h> # include <stdlib.h>     int main(int argc, char *argv[]) {     int daytab[2][13];     int (*daytab)[13];     int *px;      return EXIT_SUCCESS; }   I am studying pointers and having difficulty reading the int (*daytab)[13] declaration. int *px is read as px is a pointer to a int.  How do you read int (*daytab)[13]?

Can someone explain what this means?  int (*data[2])[2];


I made a small java program with a Frame showing a small ImageIcon. I'm using IntelliJ to make my programs. When I click on "Run", it shows me the Frame with the picture. Then I made a JAR file out of it, and now it just shows me the Frame but not the Image. What can I do?

When running a Java app from eclipse my ImageIcon shows up just fine.  But after creating a jar the path to the image obviously gets screwed up.  Is there a way to extract an image from the jar at runtime so I can then open it up?  Or, is there a better way to do this?  I'd like to distribute a single jar file if possible.


A torus (a doughnut-shaped object) is formed by revolving the circle    $$x^2 + y^2 = a^2$$   about the vertical line $x = b$, where $0 < a < b$. Find its volume.   I have tried to create an integral that makes sense but I keep getting it wrong. We are learning shell method and disk method if that helps. I'm just stuck at where I should even start with this problem. Any help would be appreciated!

I am stuck on the following question:     Find the volume of the torus obtained by rotating the circle $(x-a)^2+y^2=b^2$, where $a>b$, around the y-axis.


I am new to Ubuntu. I want to ask if it is possible to use the same Windows shortcuts in Ubuntu. For example, when I type Alt+123 in Windows, I create a left curly brace.

in widows I used to open any txt editor - set Numlock active and while holding Alt using the number pad type 0169 and get the ascii copyright © - How do I get direct ascii access in Linux / Ubuntu Studio Using Mousepad or any txt editor?


I'm not certain if this is a bug or if this is just how Eevee works, but images I import as planes are acting very strangely. I'm trying to make a  mock-up room using them, but in the Eevee engine they're displaying oddly, the only way I can describe it is not displaying at the depth it's actually at? Using Cycles it displays everything properly, so I'll just use that for the time being, but this really threw me for a loop.  I tried updating to the most recent stable release (2.82 to 2.82a), tried re-opening the file, restarting, none of that fixed it. I appreciate any information, thank you.  (It may not look like it in the images, but in the Eevee screencaps both walls are actually intersecting and clipping with each other, along with the ground plane)

I have a weird problem with my viewport. As the images show, there are some very basic objects. But some textured objects are shown through other objects, although they should be hidden. It's obvious with the gravel – the object with grass texture should conceal a part of the object with gravel texture. On the other hand, the gravel goes some way under the plain white object, and is hidden by it, as expected.    I'm anything but a noob with Blender, but switched recently to 2.82. This problem happens with different objects and different materials, even with Cycles or Eevee. Could this be a graphical glitch? My PC isn't anything but bleeding edge, more kind of usable ol' buddy. Never had this behavior with 2.79b.  Thanks in advance.


Is there a faster way to swap viewports than to click the "current editor type for this area" button and find the thing we want and click it....?  I waste way too much time trying to find the thing I need, its not intuitive to me even after practice. I wanna quickswap the properties tab to the graph editor and back again....and to the uv editor and the node editor etc...  There hotkeys somewhere or a good addon?

I'm tired of pulling out windows to get the UV editor or pull down a menu in the screen sets. Is there a shortcut, with one key, to get my 3D view to UV editor/node editor?  I have not found a way to edit shortcuts that way.


I want to color a terrain according to how steep the slope is at each point. I've read . If I could generate a new surface that is the gradient of my terrain (such that height of the new surface corresponds to slope in the original), then I could create that height-based material and apply it to the the original terrain. Is this feasible? Is there a better way to create a slope-based material?

I have a terrain with two materials going into a Mix Shader, I want the fac input to be the slope of the terrain. Steep parts should be one color, flat part another.


Im trying to make my programm behave like others (e.g. Steam) do. If the program is minimized and you start the .exe of it again, it shouldnt start a second instance, but maximise the first one. I already archived that with a little use of the winapi (User32.dll) like this:  if (AlreadyRunning(ref secondProcess)) {     if(secondProcess != null)     {          //forces a minimize         ShowWindow(secondProcess.MainWindowHandle, 11);          //shows the window         ShowWindow(secondProcess.MainWindowHandle, 1);      }     //Stops the second instance     Process.GetCurrentProcess().Kill();  }   The problem I now have is, that my programm often runs with Visibillity = Visibility.Hidden on the MainWindow. When this is the case and the function^ gets called, nothing happens. I have no idea how to change the property from the outside.

Using C# and WPF under .NET (rather than  or console), what is the correct way to create an application that can only be run as a single instance?  I know it has something to do with some mythical thing called a mutex, rarely can I find someone that bothers to stop and explain what one of these are.  The code needs to also inform the already-running instance that the user tried to start a second one, and maybe also pass any command-line arguments if any existed.


Another problem has occurred. I just want to make a footnote on the caption of the figure, but it doesn't works. I can make a footnote just before \end{figure}, but it doesn't looks good. So can anyone of you please help me? I have tried a lot of different methods from the internet, but nothing has helped. So please help me.

Maybe this is an easy one, but I struggled with this now too long :)  I want to have a footnote in a caption of a figure, see the example.   \begin{figure}[!ht]   \caption{a figure caption\footnote{where i got it from}}   \label{somelabel}   \begin{center}        \pgfuseimage{...}   \end{center} \end{figure}   The compilation error reads as follows  ! Argument of \@caption has an extra }. <inserted text>              \par  l.192 ...i got it from}}   The actual tex code for my figure with the answer of Leo  \pgfdeclareimage[width=6cm]{aba.medcenter}{aba.medcenter}  \begin{figure}[!ht]   \begin{minipage}{\textwidth}     \caption[Medcenter Monthly Medication System]{Medcenter\textsuperscript\textregistered Monthly Medication System\footnote{Quelle Bild: http://www.amazon.com/dp/B000RZPL0M}}     \label{aba.medcenter}     \begin{center}       \pgfuseimage{aba.medcenter}     \end{center}   \end{minipage} \end{figure}   leads to the error  ! LaTeX Error: Command \itshape invalid in math mode.   in the same line. If I comment out the foot note, everything compiles fine. \textsuperscript\texttrademark isn't the problem, too.


How can I use greek letters for text in Blender 2.71 OSX? I need to use a lower case delta for a partial charge symbol in a chemistry reaction animation.

Blender has issues when dealing with non-English characters.   I can't enter Russian text in 3D objects. Blender displays folder and file names incorrectly if they are in Russian.   Is there a solution to these text-encoding problems?  UPDATE    Demonstration of only Bfont available:


On my installation of Ubuntu 14.04 in VirtualBox, the only screen resolution available is 640 x 480. I have tried the solutions suggested in , but none of them helped. All of the answers there are about installing the Guest additions, virtualbox-guest-dkms, but that doesn't make any difference on my system (Win7).

Environment: Lenovo T530 running Windows 7.  Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box.  Have installed all the updates from both Virtual Box and Ubuntu.  Problem: While in Ubuntu's desktop and other Ubuntu initiated programs, the window is reduced to about 3x4 inches showing in the middle of the rest of my regular Virtual Box window.  I am seeing only the upper right hand of the screen output of what I would normally see.  Please help.   I've seen    But, none of these answers works in 14.04.


I'm trying to get Doom-style 8 direction sprite rotation that changes its sprite depending on the camera and the forward vector of the entity just like this video here: .  I've searched around the internet for a solution and I have found some people that have been having the same issue but no one that really got it working like it should. I managed to figure out how to get the entity to change it's sprite depending on the camera view angle but I can't figure out how to account for the entity's own forward vector. I would assume you'll use the CrossProduct but I'm not sure...  Here is my code:  // Get the angles angles = entity->parms.axis.ToAngles();  // Compute the forward and normalize forward = angles.ToForward();  // Compute the direction and normalize direction = rg.renderView.origin - entity->parms.origin; direction.Normalize();  odVec3 point = forward.Cross(direction); (NOT USED)  // Compute the yaw angle yaw = RAD2DEG(odMath::ATan(direction.y, direction.x)); yaw = odMath::AngleNormalize360(yaw);           if (yaw >= 22.5f && yaw < 67.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_1");         else if (yaw >= 67.5f && yaw < 112.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_2");         else if (yaw >= 112.5f && yaw < 157.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_3");         else if (yaw >= 157.0f && yaw < 202.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_4");         else if (yaw >= 202.5f && yaw < 247.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_5");         else if (yaw >= 247.5f && yaw < 292.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_6");         else if (yaw >= 292.5f && yaw < 337.5f)             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_7");         else             entity->parms.skin = R_FindSkin("skins/sdk/rotation/angle_0");

I've started working on a demo for my 2.5D game. For a basic scene I figured I would just use the good old fashioned doom sprites textured to a double sided plane. Simple enough. But I've been scratching my head as to how to display the proper sprite animation relative to the player viewing the sprite...if that makes since.  For example suppose I have three players in the scene Players A, B, and C as such:    Player C should see player A as: Here's an example of what I think player A should look like from C's perspective:    While player B would see player A as follows:    My current idea is that for any given player, I will need to know the current direction of each other player, and where they are located/moving to relativly. From this, I could calculate which sprite image is required.  Is this correct? What improvements/optimizations could be made?  ** EDIT ** Total number of directions will be 8 as depicted below:    For each direction there are two sprites (to show walking movement, sprites for the right hand directions are mirrors of the left):    ** EDIT 2 ** Got this working and have a simple javascript/threejs example for anyone interested:


I do understand that the female has to prepare for possible fertilization and make sure that the egg is of the best quality, so they try to remove aged egga from the uterine. However why cant the body just simply get rid of the egg not the uterine lining?  Maybe like reabsorb the egg or pass them out as waste? I mean its extremely energy consuming etc and it would be an evolutionary disadvantage since many other mammals dont go through menses.

Why do human women have periods when most animals don't? It is known that the unfertilized egg needs to be shed from the uterus. But why shed the whole endometrium? Why didn't evolution put macrophages to work to simply digest the ovum and only the ovum, instead of the physiologically, energy-draining process of menstruation and accompanying blood loss? Also, are there any other purposes for menstruation, besides wiping out dead ova?      Sites I used for references:  1.  -                       Menstruation seems energy draining, in my perspective, given that 30-40 ml of blood is lost × 3-4 days × 12 months × 15 years on average - that is a lot of blood loss.  2. Also see this .    Related question: .   My question is different from this related question because there the OP is concerned about the survival advantage of the menstruation with respect to the predators. Here I've asked why menstruation and why not phagocytosis as the former to me seems to be highly energy consuming process. Also as the fellow post writer had earlier suggested though the two questions  seem to be one and the same, they are subtly different and aimed for two different audiences as I emphasise more on the physiological aspects of menstruation and the related question's OP needs clarification about survival advantage and other ecological aspects of menstruation.


I have a [Dell Inspiron][1] 15R 5520 laptop. Bluetooth is not working at all.  rfkill list all gives   0: hci0: Bluetooth      Soft blocked: no     Hard blocked: no  1: phy0: Wireless LAN      Soft blocked: no     Hard blocked: no  2: brcmwl-0: Wireless LAN      Soft blocked: no     Hard blocked: no   dmesg|grep -i bluetooth gives  [   13.644428] Bluetooth: Core ver 2.16 [   13.644445] Bluetooth: HCI device and connection manager initialized [   13.644453] Bluetooth: HCI socket layer initialized [   13.644455] Bluetooth: L2CAP socket layer initialized [   13.644461] Bluetooth: SCO socket layer initialized [   15.861363] Bluetooth: hci0 command 0x1003 tx timeout [   15.903443] Bluetooth: can't load firmware, may not work correctly [   17.332535] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [   17.332538] Bluetooth: BNEP filters: protocol multicast [   17.332544] Bluetooth: BNEP socket layer initialized [   17.393768] Bluetooth: RFCOMM TTY layer initialized [   17.393781] Bluetooth: RFCOMM socket layer initialized [   17.393783] Bluetooth: RFCOMM ver 1.11   hciconfig gives  hci0:   Type: BR/EDR  Bus: USB     BD Address: E0:06:E6:D5:DB:46  ACL MTU: 1021:8  SCO MTU: 64:1     UP RUNNING PSCAN ISCAN      RX bytes:687 acl:0 sco:0 events:56 errors:0     TX bytes:2024 acl:0 sco:0 commands:52 errors:0   I have visited the site  and according to it   lspci -vnn -d 14e4: gives  08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365]  (rev 01)     Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]     Flags: bus master, fast devsel, latency 0, IRQ 17     Memory at c1500000 (64-bit, non-prefetchable) [size=32K]     Capabilities: <access denied>         Kernel driver in use: wl   So I got my PCI-ID as 14e4:4365 which it says is not supported. The alternative is wl.  What should I do?  My Wi-Fi is working normally without any problems, but Bluetooth is not working.  sudo dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb gives following error  (Reading database ... 208543 files and directories currently installed.) Unpacking wireless-bcm43142-dkms (from wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb) ... Setting up wireless-bcm43142-dkms (6.20.55.19-1) ... Loading new wireless-bcm43142-6.20.55.19 DKMS files... Building only for 3.8.0-23-generic Building initial module for 3.8.0-23-generic Traceback (most recent call last):   File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>     import apport ImportError: No module named apport Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64) Consult /var/lib/dkms/wireless-bcm43142/6.20.55.19/build/make.log for more information.

Bluetooth is on but can't find or be found by any other devices.  Output of sudo service bluetooth status:  ● bluetooth.service - Bluetooth service    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)    Active: active (running) since ხუთ 2015-06-04 22:33:18 GET; 13min ago  Main PID: 26678 (bluetoothd)    CGroup: /system.slice/bluetooth.service            └─26678 /usr/sbin/bluetoothd -n  ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink ივნ 04 22:39:14 Rangoo bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled ივნ 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: Adapter /org/bluez/26678/hci0 has been enabled   Output of lsusb:  Bus 003 Device 005: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0   How can I fix it?


I am trying to read value of a variable from one file to another file, but I am not able to read only the value of variable. See sample script of two files. Most the forms gives information regarding access of variables  in another file. When i implement those methods I am not getting as what i am expecting.   file name: t1.py  print 'Hello' a=123 print 'welcome'   file name: t2.py  from t1 import a print 'Python' print a   When I run the above script output I am getting is   Python Hello Welcome 123   But I am expecting the output must be:  Python 123   Is there any way for getting only content of single variable in a big python script.

Given the following code, what does the if __name__ == "__main__": do?  # Threading example import time, thread  def myfunction(string, sleeptime, lock, *args):     while True:         lock.acquire()         time.sleep(sleeptime)         lock.release()         time.sleep(sleeptime)  if __name__ == "__main__":     lock = thread.allocate_lock()     thread.start_new_thread(myfunction, ("Thread #: 1", 2, lock))     thread.start_new_thread(myfunction, ("Thread #: 2", 2, lock))


On an embedded system with a very limited disk space I have the folder /var/cache/apt full with some 700MB of srcpkgcache.bin.* and a couple of large *.bin files.  Performing sudo apt-get clean did not make a visible difference.  Is it safe to manually delete these *.bin* files?

I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?


What is the difference between a geographic coordinate system and a projected coordinate system?

What's the difference between a projection and a datum?


Let $p, q$ be prime numbers and $n \in \mathbb{N}$ such that $p \nmid (n-1)$. If $p \mid (n^q - 1)$ then show that $q \mid (p-1)$.   Using Fermat's Theorem I got $n^{p-1} \equiv n^q \, (\text{mod}\, p)$. How do I get to $p \equiv 1 \, (\text{mod} \, q)$? Have I used Fermat's Theorem correctly or did I overlook some hypothesis?  A detailed proof would be much appreciated.

Let $p, q$ be prime numbers and $n ∈ \mathbb{N}$ such that $p \not\mid n- 1$.  If $p \mid n^q -1$ then show that $q \mid p-1$.   My ideas: I was thinking about the formula $$n^q -1 = (n-1)(n^{q-1} + n^{q-2} +\cdots+1),$$ but now here I do not know how to show that $q \mid p-1$.  Any hints or solution can be appreciated.


What terminal command tells the version of Ubuntu.

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?


When can three hours or three thousand pounds be considered singular and plural ?  e.g. Three hours ( is - are ) a long period to wait for you.  e.g. Three thousand pounds ( was - were ) collected for charity last week.

The word dozen is a collective noun, i.e., singular when we think of them as groups and plural when we think of the individuals acting within the whole. So we might say:     Talking about eggs: "A dozen is probably not enough."   Talking about a party with friends: "A dozen are coming over this afternoon."   So, a dozen roses would likely be considered singular (like a bouquet). We might say, "A dozen roses costs ten rupees," as per subject-verb agreement.   1) However, since we have six dozen, does the modification of the noun by a number change the subject to plural, resulting in cost? Or is it all moot because of the plural roses?  In American English, collective nouns tend to be singular while in British English they may be both. That said, I've seen the suggestion that cost be used, which would be straightforward to me if dozens (plural) were used. From an American perspective, I feel the subject should remain singular when modified by a number: "Three dozen is enough to feed an army," or "Two dozen pizzas is/are too much" (the be verb is interchangeable in the 2nd example).  2) Is sticking with singular in the case above purely my American usage side showing, or is it a shared phenomenon?   states:     When modified by a number, the plural is not inflected, that is, has no -s added.   3) (Main Question) Does this have any bearing on whether the subject is treated as a plural? That is, since a plural is not inflected, could the subject remain singular, or is this irrelevant?  Note this is , since that question is vague and about to be closed and my suggested edit, which is the basis of this question, was rejected.


I have been using Ubuntu 14.04 as my main OS for about two years now. I wonder what are the advantages of the new LTS version (i.e. 16.04) so I can decide whether I should upgrade or not.

I'm just wondering what I can look forward to in the next Ubuntu version.  In this case it's 16.04.  I also want to be able to speculate on what it's probably going to break and whether or not I should go through the hassle of writing some code that wont last more than a few months.  Where does one find an official feature list, or (as it appears to be) is there none?


Yesterday my teacher stated this statement that charge is relativistic invariant But he didn't explained this statement. So can anyone explain me this statement?

We have gravitational force between two massive particles and we have electromagnetic force between two charged particles. When special relativity suggests that mass is not an invariant quantity why we have electric charge as an invariant quantity ?


Problem states the $p(z)$ and $q(z)$ are complex polynomials with $deg(p)=m$ and  $deg(q)=n$. I need to show that   $\mid \frac {p(z)}{q(z)}\mid \leq R^{m-n}C$  when $\mid z \mid$ = $R$  I am tempted to use the triangle inequality to get the individual powers of $R$ but I am not sure if it will work because of the denominator   if $\mid a + b\mid \leq \mid a \mid + \mid b \mid$ then the inequality is reversed for the quotient

To prove there exist $M>0$ and $a_0>0$ such that for $|z|>a_0$, $$\left|\frac{p_n(z)}{q_m(z)}\right|\leq \frac{M}{|z|^{m-n}}$$ where $p_n$ and $q_m$ are the polynomials of degree $n$ and $m$ respectively with $n<m$.  I encountered this question in this .   According to the hint, it is enough to show that for large enough $R$ and for every $|z|>R$, we have $$\left|\frac{z-z_1}{z-z_2}\right|<M$$ In fact, $$\left|\frac{z-z_1}{z-z_2}\right|<\frac{|z-z_2|+|z_2-z_1|}{|z-z_2|}=1+\frac{|z_2-z_1|}{|z-z_2|}<M.$$


Quiz:     Validate a line in quotes. Return one (and only one) backreference   with the text. ie: quoted text from "quoted text". Note: a \ escapes   any char, so \" is a valid escape.   I know it's a common question and already been answered lots of times, but the problem is that no answer fits the correct for this quiz.  I started from simple (empty quotes are valid, should return null value in the backreference):  (?<=\s|^)"(.*?[^\\])?"(?=\s|$)      It shouldn't match "text"with quote". Only escaped quotes are allowed   inside the main (opening and closing) quotes. You could use [^"].   Tried with backreferencing  ((?<![\\])['"])((?:.(?!(?<![\\])\1))*.?)\1      You're using more than 1 group. Please only allow your pattern to set   one backreference.

How do I get the substring " It's big \"problem  " using a regular expression?  s = ' function(){  return " It\'s big \"problem  ";  }';


Let's assume we are playing a game. You have $100$ coins, you toss them and do not tell me the results. I can ask one yes/no question and after your answer I'll start guessing the coin results. For each correct result I'll get $1$ dollar and for each wrong guess I'll lose $1$ dollar. What is the best strategy for me to play the game? What is the average income of the strategy?   Edit: Here is a strategy with higher than $1$ dollar return. Ask whether number of heads are greater than or equal to tails. If the answer is yes guess all them to be heads otherwise guess all of them to be tails.

I was asked this question today in an interview and am still not sure of the answer. The question is as follows.   Part one:  Say I have flipped 100 coins already and they are hidden to you. Now I reveal these coins one by one and you are to guess if it is heads or tails before I reveal the coin. If you get it correct, you get $\$1$. If you get it incorrect, you get $\$0$. I will allow you to ask me one yes or no question about the sequence for free. What will it be to maximize your profit?  My approach for this part of the problem was to ask if there were more heads than tails. If they say yes, I will just guess all heads otherwise I just guess all tails. I know the expected value for this should be greater than 50 but is it possible to calculate the exact value for this? If so, how would you do it?   Part two: Same scenario as before but now I will charge for a question. I will allow you to ask me any amount of yes or no questions as I go through this process for $\$1$. What is your strategy to maximize your profit?  I was not sure about the answer to this part of the question. Would the best option be to guess randomly? I think the expected value of this should be 50. I am not sure about the expected value of part one but if it is greater than 51, I think I could also use that approach. Anyone have a good idea for this part?


So I made a robot character in blender and I want to use it in unity. However, whenever I export it and add it to unity the textures don't work. I've tried a lot of ways to fix it, but nothing seems to work. I could really use some help with this since I can't find anything that actually works online.

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


I have the following question:    I got two groups $X=\{1,2,3,4\}$ , $Y=\{1,2,3,4,5,6\}$  How many injective functions $f: X → Y$ consider next terms: for each $i \in X$ , $f(i) ≠ i$ .  The solution has to be via inclusion - exclusion principle.  Can anyone suggest an approach or an answer?  Thanks!

How many injective functions  $f:[1,...,m]\to{[1,...,n]}$ has no fixed point? $(m\le n)$  I thought about the next thing:  $f(x_1)\neq x_1$, Means i can choose for $x_1$ - (n-1) options,  But then, for $x_2$, there are two options:   If i choose $f(x_1)=x_2$ then for $x_2$ i still have (n-1) options. If i choose $f(x_1)\ne x_2$ then for $x_2$ i'll have (n-2) options.   So how can i take care of that? Or am i looking the question totally wrong?


I hope I am not wrong by asking a Kubuntu question.  Previously there was a desktop theme called Bare Naked.  It is my favorite, but no longer is available.  Is there a way to make the panel background invisible?  If so, how?  I installed a different version of Kubuntu.  Bare naked remained in the configuration apparently, because widgets I have on my desktop remain with invisible backgrounds.  But the panel background became opaque.  Thanks! :scratch:

It seems that panel shadow is somehow hardcoded in KDE 4 and devs do not have any plans to change it and/or make it customizable. So, what I'm actually asking is some kind of hack (if there is any) which will remove the shadow of the panel in KDE 4.x completely (but without need to disable all desktop effects in the process).  Possible application: When a user wants a completely transparent panel, no top/bottom borders at all, the shadow is completely out of place and destroys the experience.


Toward the end of The Last Jedi      Luke Skywalker gives Han Solo's dices to Leia (projection of them, actually).   Have we seen that item in previous episodes, especially in episodes IV-VI?

During the The Last Jedi Luke is shown boarding the Millennium Falcon and while he is in the cockpit he takes a golden charm (looks like dice tethered on a chain). I have never seen them before, but it seems they are recognizable enough to not be explained in the new film...  What exactly is this charm?


Recently I bought a Chinese made android phone. Specifications of the phone is given . The phone has mediatek mtk6577 processor. I been thinking to install different ROM in my device. But, I can not find source to download this ROM. Is it possible to install google stock rom in this phone and where can I find this rom? How do I know which rom is compatible with my device?  Any kind of help is appreciated. Thanks.

There are several reasons to be looking for a ROM:   Upgrading or downgrading your stock ROM Looking for firmware from a different region/language Flashing a custom ROM for different features, removing bloat, etc.   But where can one find ROMs in the first place?  What sites are likely to have the ROM I need?  ; please add to the wiki answer instead of posting separate answers.  See also:


Is it possible to output each chapter of a LaTeX document to a separate PDF? I have a document with 10 chapters and I would like to get 10 PDFs when I compile my document. Could someone help me on this?

My document structure has   one file with preamble (i.e. MainTex) and around 75 individual .tex files (i.e. Chapter_01, Chapter_02, ..., Chapter_75) representing each chapter.   I am using \include command to create a one big PDF file, the output is MainTex.pdf. Life is all good up to this point.   If I have to create individual PDF for each chapter then do I need to run 75 times with each chapter name and rename the PDF manually to match to chapter name. Because if I include only Chapter_01 and run it creates PDF named as MainTex.pdf.  Is there a way I can automate this workflow?


I know I can print out a site's certificate with OpenSSL like this:  openssl s_client -showcerts -connect sni.velox.ch:443   But on some sites it doesn't work because they rely on SNI.  Is there a way to send an SNI request via openssl?

When querying Sparkfun's CDN url using OpenSSL with the following command:  openssl s_client -showcerts -connect dlnmh9ip6v2uc.cloudfront.net:443  The common name returned in the certificate is *.sparkfun.com, which fails to verify, but if you load the host in Chrome, the common name shown is *.cloudfront.net  What is going on here?  This is causing a problem because the environment I am in proxies SSL via Squid SSL_Bump, which generates a certificate signed by my locally trusted CA for the domain. This works for all domains but the above, as the CN does not match as the new cert is generated using OpenSSL.  EDIT - I have verified the same occurs with OpenSSL on a server in a remote data centre that has a direct connection to the internet with no proxies or filtering involved.  EDIT - The issue is due to SNI, as accepted, but to fill out the information as to why it causes a problem with Squid and SSL_Bump:     This project will not support forwarding of SSL Server Name Indication   (SNI) information to the origin server and will make such support a   little more difficult. However, SNI forwarding has its own serious   challenges (beyond the scope of this document) that far outweigh the   added forwarding difficulties.   Taken from:


I've recently switched to Ubuntu from Windows so I'm not too familiar with how everything works.  I was doing some work on in my Google drive using Chrome. Had 1 video streaming and another playing using VLC player. Then all the windows froze. Sound was still playing, mouse would still move but it wouldn't turn into the pointing hand when I hovered over icons in the bar on the left or when I hovered over the close, maximise and minimise buttons. Keyboard shortcuts like alt+tab didn't work. I closed my laptop which suspended Linux and then reopened it. Even in the unlock screen, it was very slow and unresponsive.   At this point I decided that it would be best to reboot so I pressed the power button and it turned off. When turning the turn my laptop back on, grub opened and I selected to Ubuntu to boot and it leaves me on this screen shown in the below picture. I've rebooted a few times now and it always hangs on this screen.    Does anyone know what problem I'm having and also how to fix it?

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


This is my first question here. I'm not a LaTeX expert and I'm writing my theses now.  Anyway, I had to use multibib so that I can list my publications towards the beginning of the theses document and also still have the full bibliography at the end.   However, I ran into many problems that were fixed.  The only problem I'm having now is that I want to get rid of the title associated with the references I'm using to list my publications.  This is what I'm using now:  \usepackage{multibib} \newcites{nu}{I don't want this title}   I want to get rid of the title because the template I'm using already specifies a title for that section. How do I go about this?  I tried  \newcites{nu}{}   but that did not work and is giving me 'undefined control sequence errors' whenever i refer to nu such as in \nocitenu{w1,w2}...etc  I also tried to change the font color of the title to match the background and thus disappear, but that also did not work.   Any thoughts?

I use the  package to include more than one bibliography into my document:  \documentclass[a4paper,10pt,twoside]{article}  \usepackage[resetlabels]{multibib} \newcites{lit}{Literature}  \begin{document}  \bibliographystylelit{alpha} \bibliographylit{Literatur.bib}                   \nocitelit{*}  \end{document}   I want to include the references with \nocite but without the title "Literature". Normally I can change the title with \renewcommand{\refname}{New Title} (assuming the article class), but this is not working with multibib.


Recently, I have seen item names on servers and on this very website with odd characters preceding them. I was thinking "well, this changes everything!".  Can you make item name act like JSON text using this method? (i.e. any colour, bold, italic, obfuscated?)   Please list methods/preceders below.    Edit  What I am looking for is the colour of the item names, not sign block data or written books with coloured text. For example, when you go on a server, you often see items with coloured or obfuscated names.

I came across a map and when I was playing I found some coloured and bolded item names. I thought it isn't possible as at most you can only use the custom name tag to rename things! Is there a way to colour and bold item names in vanilla Minecraft? External programs are OK. Oh, and the wiki page of formatting codes doesn't really do much.


I have a question about Java:  I am trying to make a program that goes through files and checks something, but for that I need something to count the lines, does anyone knows a good method to do this?  I have never worked with files before so I dont really know something. Also I don't have code to show, because I don't know how to do it.

I use huge data files, sometimes I only need to know the number of lines in these files, usually I open them up and read them line by line until I reach the end of the file  I was wondering if there is a smarter way to do that


I have a Math problem in Java Script. Java Sript says that (104**13)%77 == (97**13)%77. But i don´t know why, when i copy and paste it in Python it doens´t say they are equal. Python says: (97**13)%77 = 69 and (104**13)%77 = 48.

Is this defined by the language? Is there a defined maximum? Is it different in different browsers?


Im flying to Texas, El Paso on the 15th of October 2014, this is on a visa waiver program.  I wish to fly to Arizona, Sky Harbor on the 17th of October 2014 for the day to say Hi to long distance friends and return to El Paso later in the day.  Question is;     Can I fly inside the USA with my Visa Waiver?

I want to know if I can travel with my passport within the US being in immigration process? I will be okay using only my passport ?


This is in with regards to the below post    The code works flawlessly. But do I remove the red frame boxes which cover the entries in table of content?  Sorry about the stupid question but I am new to latex and just trying to learn ...  MB

I know that I can use  to make cross-references and hyperlinks clickable.  That makes the clickable areas outlined in fluorescent green, however.  How can I make the green boxes go away?


This is a bit of an odd one.  Someone (Probably roommate), somehow, installed something onto my computer that opens a "unsavory" website in my default browser every 10~15 minutes. It's not browser related, as I tried uninstalling chrome and it simply followed me to IE. I've also checked my downloads folder, and I can't find any evidence someone downloaded something either. How can I tell what process is causing this to happen?  Thanks for any help

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


Can anybody advise a good ux design for representing a skill level (novice, competent, proficient, expert) for a professional service (for example, doctor, lawyer, interpreter and etc.) in a marketplace app. And how it can be made more useful for a customer (maybe add some discription because the customer is not aware of difference of the levels)?  Some clarification....  In all fields of man's activity a person passes through skill acquisition - A JOURNEY FROM NOVICE TO EXPERT - begins as a novice...and ends as an expert (if he is lucky). Let's take a dentist. At first, he is the novice and just learns at university…but he can do some simple work - for example, teeth cleaning. Then he can drill and then make a solution to fill a tooth. So at first he gains knowledge and some experience.  But as he is getting mature his knowledge and skills are getting better and better. Hence, his experience consists of tasks (or what he can do) and skill level of each task (or how good he is at). But at each stage of his skill journey he is able to provide his service...even he is a novice doctor he can find his patient or a patient can find him.  So how can we represent these skill levels (novice, competent, proficient and expert) in order to help (1) a customer to understand what this level means to make the right choice (with regard to price/quality) and (2) a service provider to differentiate himself (with regard to price/quality)?

Are there any guidelines out there as to what could be used to effectively convey competency at x, where x is a professional ability of some kind?  At the moment I'm dividing skills up by core and other but this is simply a text label. Have any of you UX gurus any suggestions for how best to do this? I flirted with the idea of a Venn diagram of sorts but it becomes unreadable very quickly.  Other things that have crossed my mind are sliders or ratings stars/thumbs ups but I don't know what best practice is and would love some guidance from the professionals in this arena.  The wireframe below represents my first efforts at using the tool so please be gentle ;-)         – Wireframes created with


Let $\phi : C([0,1]) \rightarrow \mathbb{R}$ be a surjective ring homomorphism. How would I prove that $\phi$ is the evaluation map $\phi(f) = f(x)$ for some $x \in [0,1]$?    I'm not even sure this conclusion is true. All I've done is started a proof by contradiction, assuming there is no such x, played around with quantifiers to determine that I need to show that $\forall x\in[0,1], \exists f\in C([0,1])$ such that $\phi(f) \neq f(x)$ leads to a contradiction. How do I go about finishing this?

This is something I've been trying to work out this evening.      Let $R$ be the ring of continuous real-valued functions on $[0,1]$ with pointwise addition and multiplication. For $t\in [0,1]$, the map $\phi_t\colon f\to f(t)$ is a ring homomorphism of $R$ to $\mathbb{R}$. I'm trying to show that every ring homomorphism of $R\to\mathbb{R}$ has this form.   Suppose otherwise, that there is some $\phi\neq\phi_t$, and thus there is some $f_t\in R$ such that $\phi(f_t)\neq \phi_t(f_t)=f_t(t)$. Define $g_t=f_t-\phi(f_t)1\in R$. Here $\phi(f_t)1$ is the constant function sending $[0,1]$ to $\phi(f_t)$. Then $g_t(t)\neq 0$. My first small question is why does $\phi(g_t)=0$? It seems only that $\phi(g_t)=\phi(f_t)-\phi(\phi(f_t)1)$.  I would like to conclude that there are only finitely many $t_i$ such that $g(x)=\sum g_{t_i}^2(x)\neq 0$ for all $x$. Then $g^{-1}=1/g(x)\in R$, but $\phi(g)=0$, contradicting the fact that homomorphisms map units to units. How can we be sure there are only finitely many $g_{t_i}$ such that the sum of their squares is never $0$? Thanks.


A.java  public Class A {          String a,b;         public static void setArray(String[] array)//This is where i want the array to come         {                array[0]=a;                array[1]=b         } }   B.java  public class B {          String[] arr1 = new String[2];         arr1[0]="hello";         arr1[2]="world";         public static void main(String[] args)               {                 A a = new A();                 a.setArray(arr1);//This is from where i send the array               } }   I am trying to send an array from one class to another class

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 was just offered a postdoc at 34 000 USD a year.  I am wondering whether this is an ok offer. Can someone give me feedback on this?

I understand that the salary of a postdoctoral fellow depends on the field, project, contract, and so forth, but I am curious how much is the normal range for a fellow. Someone told me that he prefer to continue postdoctoral fellowship, as he gets the same salary of assistant professorship with less official duties.  In my experience, the range of salary for a postdoctoral fellow is much less than an assistant professor, something between $25,000 - $50,000. In Europe, it is in the lower side, but it is usually higher in the US.  I am curious to know what is the actual rate, and is there a norm for estimating the salary of a postdoctoral fellow?  In other words, when looking at postdoctoral openings, how much is an excellent/good/normal deal?


I have this command that I run every 24 hours currently.  find /var/www/html/audio -daystart -maxdepth 1 -mtime +1 -type f -name "*.mp3" -exec rm -f {} \;   I would like to run it every 1 hour and delete files that are older than 1 hour. Is this correct:  find /var/www/html/audio -daystart -maxdepth 1 -mtime **+0.04** -type f -name "*.mp3" -exec rm -f {} \;   I am not sure of my use of the decimal number??  Thanks for any corrections.  EDIT  OR could I just use -mmin 60? Is this correct?  EDIT2  I tried your test, good thing you suggested it. I got an empty result. I want all files OLDER than 60mins to be deleted! How can I do this?? Does my command actually do this?

I'm writing a bash script that needs to delete old files.  It's currently implemented using :  find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete   This will delete of the files older than 1 day.  However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime?


Whenever I want to run a program (usually GUI) from terminal, but I want to keep it free for further use, I run the program like this:  ./Programs/androidstudio 2>/dev/null >/dev/null &   This just works. I was wondering if this is the right way to do it, or if there's a shortcut way.  P.S: I don't need to keep the program running when I close the terminal. I use guake and I always keep it open.

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a program from the terminal window, say, nm-applet:  nm-applet   When it's started, it occupies the foreground of the terminal window.  Is there any simple way to run the program in the background without needing to leave the terminal open or have it occupy the whole terminal?  On that note, I did find a way to run programs from the terminal and have it allow for other inputs, by appending an ampersand (&) to the command as such:  nm-applet &   But this isn't much use as any processes started in the terminal are killed once the terminal is closed.


Suppose that $X_{n} \rightarrow_{p} X$ and $f$ is continuous. Show that $f(X_{n}) \rightarrow_{p} f(X)$.  $X_{n} \rightarrow_{p} X$ means for all $\epsilon >0, \lim_{n \rightarrow \infty} \mathbb{P}[|X_{n}-X|\geq \epsilon]=0$   HINT: You can use the following sets $$B_{\delta}=\{x| \text{ exists } y \text{ with } |x-y|<\delta \text{ and } |f(x)-f(y)|\ge \epsilon \}, \{ |f(X_{n})-f(x)|\geq \epsilon \}, \{|X_{n}-X|\geq \epsilon \} \text{ and } \{x \in B_{\delta} \}$$  But I don't know how to use it

I am trying to show the following     Let $X_{n}$ be a sequence of random variables which converge in probability to $X$. Show if $f$ is a continuous function on $\Bbb R$, then $f(X_{n}) \to f(X)$ in probability.   I think if we know $f$ is uniform continuous, then this will be quite trivial. I try to proceed from this point by using compact exhaustion, but it didn't work. Could someone give me help on this?  Thanks in advance!


I've recently developed a piece of software that runs on top of lubuntu as a bootable maintenance tool. Can I legally sell my modified version of lubuntu and make a profit off of the operating system with my software preloaded onto it? I would be selling a download of the modified .iso or .img file with my software preinstalled for people to use.  I found  legal document, but it wasn't clear about this topic.   Does my software have to be open source for me to legally sell it?

What license does Ubuntu fall into (GPL, MIT, a mix)? Would it be legal to modify it and redistribute my modified version?


Please help how do I convert int to string. For example  int num = 9; Console.WriteLine(num.ToString("X"));   Will display     9   Expected Output:     9 = nine

Is there an efficient method of converting an integer into the written numbers, for example:  string Written = IntegerToWritten(21);   would return "Twenty One".  Is there any way of doing this that doesn't involve a massive look-up table?


Let $A$ be the $0\times 0$ matrix and let $\det(A)$ be its determinant. I am wondering if $\det(A)$ should be defined as $0$ or $1$.   If we use the definition that determinant of an $n\times n$ matrix $(a_{ij})$ be defined as $\displaystyle\sum(-1)^{\tau(j_1\cdots j_n)}a_{1j_1}\cdots a_{n{j_n}}$, where $\tau(j_1\cdots j_n)$ is the inversion number of the permutation $j_1\cdots j_n$, then since there is no term present, $\det(A)$ should be defined as $0$. If we expand the $1\times 1$ matrix $(1)$ along the first row, we obtain   $$1=\det(1)=1\cdot\det(A),$$ which implies that $\det(A)$ should be defined as $1$.  Which definition of the determinant of the $0\times 0$ matrix $A$, if any, makes more sense here?

I don't understand why the determinant of the 0x0 matrix equals 1.


When I read about nesting an interface inside of a class, the intention appears to be to encapsulate the abstract behavior of the interface through composition. However, to me it makes more sense to create the interface outside the class, then use a getter/setter and return an instance of the interface type. There must be a benefit that I'm not seeing. Is this simply a matter of "choice".

I have just found a static nested interface in our code-base.  class Foo {     public static interface Bar {         /* snip */     }     /* snip */ }   I have never seen this before. The original developer is out of reach. Therefore I have to ask SO:  What are the semantics behind a static interface? What would change, if I remove the static? Why would anyone do this?


I have two javascript arrays. I need to copy the array values from one another. I have used code like below.  javascript    let firstArr = [{name: "one"},{name: "two"}]; let secondArr = [...firstArr]; secondArr[0].name = "three"; console.log(firstArr) console.log(secondArr)     I have changed only "secondArr" values. But first array values are also changed. I have used the spread operator, so it will create a new memory then why the first array values are also changed?  Could you please anyone explain this. Thanks in advance.

...where each object also has references to other objects within the same array?  When I first came up with this problem I just though of something like   var clonedNodesArray = nodesArray.clone()   would exist and searched for info on how to clone objects in javascript. I did find a  on StackOverflow (answered by the very same @JohnResig) and he pointed out that with jQuery you could do  var clonedNodesArray = jQuery.extend({}, nodesArray);   to clone an object. I tried this though, this only copies the references of the objects in the array. So if I   nodesArray[0].value = "red" clonedNodesArray[0].value = "green"   the value of both nodesArray[0] and clonedNodesArray[0] will turn out to be "green". Then I tried  var clonedNodesArray = jQuery.extend(true, {}, nodesArray);   which deep copies an Object, but I got "too much recursion" and "control stack overflow" messages from both Firebug and Opera Dragonfly respectively.  How would you do it? Is this something that shouldn't even be done? Is there a reusable way of doing this in Javascript?


I have created a histogram plot with pgfplots as following      \begin{tikzpicture} \begin{axis}[small,ymin=0,title=\texttt{hist}] \addplot [ hist, fill=orange!75, draw=orange!50!black] table [y index=0] {FC.dat}; \end{axis} \end{tikzpicture} % \begin{tikzpicture} \begin{axis}[small,ymin=0, title=\texttt{hist=density}] \addplot [ hist=density, fill=orange!75, draw=orange!50!black] table [y index=0] {FC.dat}; \end{axis} \end{tikzpicture}   FC.dat is the file where the simulation results are stored. There is no specific function to fitting. So maybe connect the central point of each bar is a good idea.   I am wondering if there is any way to add a fitting line/envelop to the bar type histogram just as the one I found   Thank you for your help!

I know how to draw a density histogram using pgfplots from this answer: .  But how can I draw an estimate line on the histogram like this?    \documentclass{article} \usepackage{pgfplots} \begin{document} \pgfplotsset{     small,     every axis plot post/.style={         fill=orange!75,         draw=orange!50!black     },     trim axis left }  \begin{tikzpicture} \begin{axis}[ymin=0, title=\texttt{hist=density}] \addplot [hist=density] table [y index=0] {random.txt}; \end{axis} \end{tikzpicture} \end{document}


I am trying to check if a randomly generated value is inside one of several ranges I have. Those ranges go from 0 to 1, and whenever I try to use arange it doesn't find it. I tried to transform all the values to integers as well in order to use range, but it keeps missing the number.   The purpose of this snippet is to find which range the random number belongs to, in order to know to know what capacity the tank would have. For example, if the random number is 0.70, then the tank would have a capacity of 100 lt.  The simplest version I've tried is the following:  import random import numpy as np  tank_capacity = [20,30,50,75,100]  pbb = [0.01,0.10,0.25,0.30,0.25]  pbb_acum = [0,0.10,0.35,0.65,0.90]  dict_pbb_acum = dict(zip(tank_capacity,pbb_acum))  combinations = [tank_capacity[i: i + 2] for i in range(len(tank_capacity)-1)]  n = random.random() print(n)  if n >= 0.9:     print("found") else:     for item in combinations:         if n in np.arange(dict_pbb_acum[item[0]], dict_pbb_acum[item[1]],0.01):             print("found")         else:             print("not found")   Thanks in advance!

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I've got a MBP (mid-2012) that is currently running Mountain Lion and I would like to upgrade it to Mavericks.  Now that Yosemite is available, it seems that Mavericks is no longer available for download.  Is that correct?  Is there any way to download a Mavericks installer?

I think I would like to install Mavericks over Snow Leopard on my Intel Core 2 Duo MacBook Pro because I imagine it is more stable than Yosimite and I'm doing a lot of development on it, for which I want Port Tree (Fink in my case) packages to be available for items like Python, PostgreSQL, etc.  But Mavericks doesn't seem to be available on the App store anymore. Tried downloading from CNET, but all I seemed to be finding was an update.  I am tempted to just install Yosemite and would love to get some input.


I am using the following regular expression to validate an Indian phone number.   I want optional +88 or 01 before 11 digits of phone.   Here is what I am using:  string mobileNumber = "+8801000000000"; if (new Regex(@"^([01]|\+88)?\d{11}").IsMatch(mobileNumber)){     MessageBox.Show("Mobile number is valide", "All information is required", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } else{      MessageBox.Show("Mobile number is not valide", "All information is required", MessageBoxButtons.OK, MessageBoxIcon.Error); }   How can I do it?   UPDATE  If I write mobile no. preceding 01, for more than 11 digit it notify validation mgs(Not valid mobile no.!). Well I used, it fails when 13 digit. It alters validation mgs wrongly.  Here is my code:   <input type="text" placeholder="Enter bKash wallet number"    class="form-control" ng-model="BkashWalletNo" ng-disabled="AutoConfirmed"      name="BkashWalletNo" ng-pattern="/^(?:\+88|01)?\d{11}\r?$/" />
Not valid mobile no.!

I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it would handle international formats, but it must handle US formats, including the following:   1-234-567-8901 1-234-567-8901 x1234 1-234-567-8901 ext1234 1 (234) 567-8901 1.234.567.8901 1/234/567/8901 12345678901   I'll answer with my current attempt, but I'm hoping somebody has something better and/or more elegant.


i want to learn single variable calculus i completed schooling and i love calculus for now i am focusing on single variable calculus i tried many books like Calculus - "A Complete Course 7th ed - R. Adams, C. Essex (Pearson Canada, 2010) BBS" and Dawkins part one and two but they feel like pretty basic to me then i got to know about spivak that book is really tough i cant solve most of it and no solutions are available i learned all of calculus on my own we dont have good teachers here and i cant buy books because they are not available here i just download them from torrent if its available so i have a real problem here so what i want is a book that covers all of single variable calculus differential equation is not necessary i am thinking of learning it separately so what i want is a book that would contain fairly tough question and their solutions too if you could provide link to free digital copy it would be great.  so i am more interested in proofs and theorems but i must be able to do problems based on them to not the ones with direct application but little hard and not as hard as spivak's

I've already taken my calculus sequence and I'm interested in brushing up and staying sharp on the basics. So far, my calculus background is limited to single-variable calculus, which I applied in my physics sequence and engineering statistics. I learned a little bit of vector math in physics as well, but I'm not strong in it. My mathematical strengths lie in the discrete mathematics.  I'm particularly interested in studying for my IEEE Certified Software Development Associate exam - 10% of the exam is mathematics (calculus, differential equations, and statistics). Calculus is one of the mathematics knowledge areas that a software engineer should be competent in, so I'm looking for not only solidifying the courses that I've already taken, but moving forward with slightly more advanced topics, at an undergraduate mathematics level.  I'm currently using the textbook from my calculus sequence, but I'm interested to know what books other people used to learn calculus and if the book is potentially worth checking out.  What books are available to help me?


I have a script generating an index based on each file in a folder. All file names are a number with extension.   How can I modify my loop to process them in numeric order?  for file in xml/*.xml; do   ... done

I have a bunch of folders which are labelled in this way:   conf1  conf2  ...   But the order in the home directory is like   conf1  conf10  conf100  conf101  ...  conf2  conf20  conf200  conf201  ...   Because each folder contains a file named "distance.txt", I would like to be able to print the content of the distance.txt file, from each single folder, but in order, going from folder 1-->2-->3... to the final folder 272.   I tried several attempts, but every time the final file contains the all set of values in the wrong order; this is the piece of code I set:     ls -v | for d in ./*/;       do (cd "$d" && cat distance.txt >> /path/to/folder/d.txt          );      done   As you can see I tried to "order" the folders with the command  ls -v   and then to couple the cycle to iteratively save each file.  Can you kindly help me?


I have HP Pavilion 15 Notebook PC preinstalled with Windows 8. I installed ubuntu 14.04 (dual boot) , followed by an upgrade to Ubuntu 15.04. I also upgraded to Windows 10. Recently, due to some reasons, Windows OS directly loads without showing me the Grub menu and letting me select the OS I want to load. I have to press Esc key followed by F9 to see the boot options and select the OS from there. Is there any solution to this problem, without reinstalling Ubuntu?  I want to select the OS I want to load directly from the Grub Menu which should show up on system startup. None of the previous answers related to this question solved my problem.

I installed Ubuntu alongside Windows but I did not disable secure boot as someone told me it could cause problems with boot loader. So when installation finished and I rebooted, the system went straight into Windows. I went to Ubuntu IRC Support and they told me to turn off the secure boot and reinstall Ubuntu. I did that but my system still boot into windows.  This is a picture of partitions on my system:    This is my first Ubuntu install on my new laptop. I followed everdaylinux guide to install it and I used something else option.


Some pages of my website chevy-cars.com are showing the cache button on the right side of the links in google listing and some pages are not for a long time. The pages that are showing cache button are created in Wordpress and the pages that are not showing the cache button are created in laravel.  Showing cache:     site:chevy-cars.com  Not showing cache: site:chevy-cars.com/used-cars.  please help me out finding the reason.

I was looking today to see which version of a page Google had crawled and cached, but when I looked, I could no longer see the place where Google shows the cached content.   Is this a feature that googles still have in their SERP results? They still have  about how to access the feature.  I'm using the latest version of the Chrome browser on a Mac running Yosemite 10.10.5.  Below is a markup of where I used to see the cached dropdown.


The series below converges to a familiar analytic function in some open half plane. Which half plane and which function?  $$\sum\limits_{n=0}^\infty {\frac{z(z+1)\cdots(z+(n-1))}{n!}}=1+z+\frac12z(z+1)+\frac16z(z+1)(z+2)+\dots$$  In class we only cover that the power series converge in a circle of complex plane, so I do not have any clue about the series like this, any helpful hint or advice is welcome! Thanks in advance

For what complex values of $z$ does the following sum converge?  $$\sum_{k=0}^\infty {\frac{z(z-1)\cdots(z-k+1)}{k!}} $$  And how would you prove it?  Mathematica seems to suggest the sum converges as long as $\Re(z) \ge 0$, regardless of the imaginary part.  Is that right?


I have an app in /usr/local/AppDir/ called App.  I start this app from within the /usr/local/AppDir with the following command.  sudo ./App  How can I create a desktop shortcut that starts this app?

In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.  How can I create such launchers now?


How do you merge two points like the ones shown

I am attempting to create my first 3D character just for practice. Being one of my first 3d models I going through the learning curve needless to say. In doing so I find myself creating many extra vertices. Where we will say 10 vertices on a rounded shape are spaced out on the equator and on the other north pole end of the edges they are very close. The close end could all be one vertex. Is it possible to say merge all points to one point and delete the rest?


Ever since I bought my tablet, this has been the default action whenever I drag the home button up (this is a soft button: on screen). I do not want this functionality because I frequently drag it by accident whenever I play games. This will bring up Google Search and interrupt my game.  Screenshots:    When dragging homescreen, a half-circle with Google on top appears / Google Search brought up (click images for larger variants)  Again, how do I disable this behavior?  If it helps, I am using a Pipo U1 Pro tablet with the default OS (not rooted).

Galaxy Nexus running Android version 4.1.1.  After a recent update, it seems google has added a feature where you can place your finger on the bottom home buttons, and slide up, to open google search. This feature is extremely useful when I want to interrupt my game play to open a google search while running the streets of liberty city. I am wondering if anyone knows how to disable this wonderful feature.  Thanks.


Show that each number in the sequence $49,4489,444889,44448889$ is a perfect square.   My attempt is basically a common one.  $a_4=4444(10^4)+888(10)+9$  $=4(1111)(10^4)+8(111)(10)+9$  $=4(\frac{10^4-1}{9})(10^4)+8(\frac{10^3-1}{9})(10)+9$  $a_n=(\frac{10^n-1}{9})(10^n)+8(\frac{10^{n-1}-1}{9})(10)+9$  After some indices work, I managed to get $a_n=(\frac{2(10^n)+1}{3})^2$, which shows that each number in this sequence is a perfect square.   I'm basically has zero knowledge about number theory. Does any another way to solve this question? Thanks in advance.

Prove that in a sequence of numbers $49 , 4489 , 444889 , 44448889\ldots$ in which every number is made by inserting  $48$ in the middle of previous as indicated, each number is the square of an integer.


Let $p$ be a prime number. Prove that the polynomial $P(x) = x^{p−1} + 2x^{p−2} + 3x^{p−3} +···+ (p − 1)x + p$ is irreducible in $\mathbb Z[x].$ The Eisenstein-Schönemann theorem cannot be used to conclude anything at this stage. Is there some other method to prove this? This was a question that required only elementary mathematics i.e. fields etc. are not required.

This is a question from Putnam and Beyond, and I have a question about the proof. The question is:  Show $x^{p-1} + 2x^{p-2} + 3x^{p-3} + \dots + (p-1)x + p$ is irreducible over $\mathbb{Z}[X]$.  The proof first shows that the polynomial $P(x) = x^{p-1} + 2x^{p-2} + 3x^{p-3} + \dots + (p-1)x + p$ only has zeros of absolute value $> 1$. Then, it assumes it can be factored into two polynomials, namely, $P(X) = Q(X)R(X)$, and since $p = P(0) = Q(0)R(0)$, one of $Q(0), R(0) = \pm 1$, so WLOG $Q(0)$ has a zero of absolute value $> 1$ which contradicts the fact that $P(X)$ only has zeros of absolute value $> 1$. I don't see why $Q(0) = \pm 1$ means that it has a zero with absolute value greater than one. (The following is the proof in question.) "We will show that all the zeros of $P (x)$ have absolute value greater than $1$. Let $y$ be a complex zero of $P(x)$. Then $0 = (y − 1)P(y) = y^p + y^{p−1} + y^{p−2} +···+ y − p.$ Assuming $|y| ≤ 1$, we obtain $p = |y^p + y^{p−1}+ y^{p−2}+···+ y| ≤ \sum_{i=1}^p |y|^ i ≤  \sum_{i=1}^p 1 = p.$ This can happen only if the two inequalities are, in fact, equalities, in which case $y = 1$. But $P (1) > 0$, a contradiction that proves our claim. Next, let us assume that $P (x) = Q(x)R(x)$ with $Q(x)$ and $R(x)$ polynomials with integer coefficients of degree at least $1$. Then $p = P (0) = Q(0)R(0)$. Since both $Q(0)$ and $R(0)$ are integers, either $Q(0) = ±1$ or $R(0) = ±1$. Without loss of generality, we may assume $Q(0) = ±1$. This, however, is impossible, since all zeros of $Q(x)$, which are also zeros of $P (x)$, have absolute value greater than $1$. We conclude that $P(x)$ is irreducible."


I have a class in jQuery, I want to get the class of the element that has been clicked. (The element is in the same Class).  <!DOCTYPE html>   <title>Try jQuery 2.0.0 Online</title>

Superman

Hulk

Spiderman

Batman

      Heres a fiddle -

Is there any way to get the ID of the element that fires an event?  I'm thinking something like:    $(document).ready(function() {   $("a").click(function() {     var test = caller.id;     alert(test.val());   }); }); <script type="text/javascript" src="starterkit/jquery.js"></script>  <form class="item" id="aaa">   <input class="title"></input> </form> <form class="item" id="bbb">   <input class="title"></input> </form>     Except of course that the var test should contain the id "aaa", if the event is fired from the first form, and "bbb", if the event is fired from the second form.


To illustrate, multiple non-script tags works fine:  <element name="value"></element> <element name="value"></element>   But multiple script tags bugs the highlighter, see the pattern:  <script name="value"></script> <script name="value"></script>   and  <script name="value"></script> <script name="value"></script> <script name="value"></script>   and  <script name="value"></script> <script name="value"></script> <script name="value"></script> <script name="value"></script>   here's a real world example:  <!doctype html> <html lang="en">     <head>         <script type="text/javascript" src="http://example.com/one.js"></script>         <script type="text/javascript" src="http://example.com/two.js"></script>         <script type="text/javascript">             $(document).ready(function() {                 alert('waa');             });         </script>     </head>     <body></body> </html>   Look like a bug in some sort of XSS filter, if any.

I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange?


My son is an EU citizen but I am not.   A few months ago, I applied for a Schengen visa from the Danish Embassy as an EU Family Member and got my visa. We then traveled to Denmark together as planned. Now I am going to holiday in Oslo with my sister, but my son is poorly and he will stay here in the UK (where we live).  I have the multiple entry Schengen on my passport, but I am wondering will it be a problem to travel without my son. On the visa itself no restrictions are listed. His name is on the plane ticket though as I booked him for the flight, as well.

I have a Schengen visa (for five years) which states that I am a family member of an EEA national. I traveled, on this visa, with my spouse (UK citizen) to Croatia in May 2015 with no issues.   However, now I wish to travel to Hungary without my spouse for a week but I am not sure if I will be allowed entry this time around into the country without my spouse.   Do I have to produce any documents at the border since I am not traveling with my spouse?   I plan to take a copy of my marriage certificate and my partner's passport copy anyway.


I have a .py file running in the background, invoked with:  python file.py &   Now I try to stop it as using:  $ ps -fA | grep python root     31032     1  0 14:41 ?        00:00:00 python home/file.py $ kill -9 1   This does not work. I thought kill -9 was a sure fire way to shut down a process using its pid, but it seems weird that the pid for the .py file is 1 in the first place.   How do i stop this file?

How do I kill all processes running by my own non-root account?  I have some spinning smbd  processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill those spinning processes.   I don't have authority to restart services or reboot the machine.


I am trying to get the password hint from the password change field, I already tried to disable the auto complete with the code  autocomplete="new-password" // or autocomplete="off"   but this does not work, does anyone have an idea how to solve this problem?  Edit:  My problem is when I try to change the password, my password change screen, auto completion puts the old password as a new password, all standard means have been discarded, apparently google does not care what you want.

How do you disable autocomplete in the major browsers for a specific input (or form field)?


Is it physically possible to have one device, that will scan one object atom by atom and record it to some computer file and then send it to some other machine that could use this blueprint to rebuild that object? What are limitations of this?

Can't you just disassemble, not destroy our atoms and transport them to another teleporter via networking or telecoms?  This is my thinking of how to keep the same person, not an exact copy of him/her, alive when teleporting.  Please answer to tell me if it's possible or not.